You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pressablebuttonstyle.json 19 KiB

1
  1. {"metadata":{"title":"PressableButtonStyle","role":"symbol","roleHeading":"Structure","externalID":"s:7Fueling20PressableButtonStyleV","symbolKind":"struct","navigatorTitle":[{"kind":"identifier","text":"PressableButtonStyle"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"PressableButtonStyle"}],"modules":[{"name":"Fueling"}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"attribute","text":"@"},{"preciseIdentifier":"s:ScM","text":"MainActor","kind":"attribute"},{"kind":"text","text":" "},{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"PressableButtonStyle"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"kind":"symbol","relationshipsSections":[{"title":"Conforms To","type":"conformsTo","identifiers":["doc:\/\/rpm.com.production.Scanner\/s8SendableP","doc:\/\/rpm.com.production.Scanner\/7SwiftUI11ButtonStyleP"],"kind":"relationships"}],"seeAlsoSections":[{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NonTaggedView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/HeaderView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewUI","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ColorResource","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper"],"generated":true,"title":"Views","anchor":"Views"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/pressablebuttonstyle"]}],"topicSections":[{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/init(colorScheme:backgroundColor:foregroundColor:webSocketIsConnected:dynamicColor:)"],"anchor":"Initializers","title":"Initializers","generated":true},{"generated":true,"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/backgroundColor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/colorScheme","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/dynamicColor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/foregroundColor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/webSocketIsConnected"],"anchor":"Instance-Properties","title":"Instance Properties"},{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/makeBody(configuration:)"],"generated":true,"anchor":"Instance-Methods","title":"Instance Methods"}],"references":{"doc://rpm.com.production.Scanner/s8SendableP":{"type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/s8SendableP","title":"Swift.Sendable"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2":{"kind":"symbol","abstract":[{"type":"codeVoice","code":"ScanView2"},{"text":" is a SwiftUI view that manages the UI for scanning and displaying tank information.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"ScanView2"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ScanView2"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2","role":"symbol","type":"topic","title":"ScanView2","url":"\/documentation\/fueling\/scanview2"},"doc://rpm.com.production.Scanner/7SwiftUI11ButtonStyleP":{"type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/7SwiftUI11ButtonStyleP","title":"SwiftUI.ButtonStyle"},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/colorScheme":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"colorScheme","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI11ColorSchemeO","text":"ColorScheme"}],"abstract":[],"role":"symbol","url":"\/documentation\/fueling\/pressablebuttonstyle\/colorscheme","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/colorScheme","type":"topic","title":"colorScheme","kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView_Previews":{"url":"\/documentation\/fueling\/saddletankview_previews","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView_Previews","title":"SaddleTankView_Previews","abstract":[],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SaddleTankView_Previews"}],"navigatorTitle":[{"text":"SaddleTankView_Previews","kind":"identifier"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/ColorResource":{"abstract":[{"text":"A color resource.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ColorResource","kind":"identifier"}],"title":"ColorResource","type":"topic","url":"\/documentation\/fueling\/colorresource","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"ColorResource"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ColorResource"},"doc://rpm.com.production.Scanner/documentation/Fueling/NonTaggedView":{"abstract":[{"text":"A view that handles the scenario when the machine being fueled is not tagged.","type":"text"},{"type":"text","text":" "},{"text":"Allows the user to take a picture and provide asset information.","type":"text"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NonTaggedView","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"NonTaggedView","kind":"identifier"}],"title":"NonTaggedView","url":"\/documentation\/fueling\/nontaggedview","navigatorTitle":[{"kind":"identifier","text":"NonTaggedView"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView":{"kind":"symbol","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SaddleTankView"}],"navigatorTitle":[{"kind":"identifier","text":"SaddleTankView"}],"abstract":[{"type":"text","text":"A view that displays information about the saddle tank, including its type, fuel level, and capacity."}],"url":"\/documentation\/fueling\/saddletankview","title":"SaddleTankView","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView"},"doc://rpm.com.production.Scanner/documentation/Fueling/HeaderView":{"type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/HeaderView","url":"\/documentation\/fueling\/headerview","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"HeaderView","kind":"identifier"}],"abstract":[],"navigatorTitle":[{"text":"HeaderView","kind":"identifier"}],"title":"HeaderView"},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/webSocketIsConnected":{"kind":"symbol","title":"webSocketIsConnected","url":"\/documentation\/fueling\/pressablebuttonstyle\/websocketisconnected","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/webSocketIsConnected","abstract":[],"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"webSocketIsConnected"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView":{"type":"topic","role":"symbol","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView","url":"\/documentation\/fueling\/contentview","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentView","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ContentView"}],"title":"ContentView","kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/backgroundColor":{"title":"backgroundColor","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"backgroundColor"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5ColorV"}],"url":"\/documentation\/fueling\/pressablebuttonstyle\/backgroundcolor","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/backgroundColor","role":"symbol","type":"topic","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker":{"title":"ImagePicker","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","abstract":[{"text":"A view for picking images using the system’s image picker.","type":"text"}],"url":"\/documentation\/fueling\/imagepicker","type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ImagePicker","kind":"identifier"}],"navigatorTitle":[{"text":"ImagePicker","kind":"identifier"}],"kind":"symbol","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/LoginView_Previews":{"url":"\/documentation\/fueling\/loginview_previews","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView_Previews","title":"LoginView_Previews","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"LoginView_Previews"}],"navigatorTitle":[{"text":"LoginView_Previews","kind":"identifier"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/dynamicColor":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/dynamicColor","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"dynamicColor"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI5ColorV","text":"Color","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic","url":"\/documentation\/fueling\/pressablebuttonstyle\/dynamiccolor","title":"dynamicColor","kind":"symbol","role":"symbol","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/LoginView":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"LoginView","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"LoginView"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView","type":"topic","url":"\/documentation\/fueling\/loginview","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"A SwiftUI view for handling user login with username and password."}],"title":"LoginView"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingView":{"navigatorTitle":[{"kind":"identifier","text":"FuelingView"}],"title":"FuelingView","kind":"symbol","url":"\/documentation\/fueling\/fuelingview","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"FuelingView","kind":"identifier"}],"type":"topic","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingView"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew_Previews":{"role":"symbol","title":"FuelingAPIVIew_Previews","type":"topic","navigatorTitle":[{"text":"FuelingAPIVIew_Previews","kind":"identifier"}],"url":"\/documentation\/fueling\/fuelingapiview_previews","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"FuelingAPIVIew_Previews","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew_Previews","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/init(colorScheme:backgroundColor:foregroundColor:webSocketIsConnected:dynamicColor:)":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"colorScheme"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Environment","preciseIdentifier":"s:7SwiftUI11EnvironmentV"},{"kind":"text","text":"<"},{"text":"ColorScheme","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI11ColorSchemeO"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"backgroundColor"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5ColorV"},{"text":", ","kind":"text"},{"text":"foregroundColor","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5ColorV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"webSocketIsConnected"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":"?, ","kind":"text"},{"text":"dynamicColor","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5ColorV","text":"Color"},{"kind":"text","text":"?)"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/init(colorScheme:backgroundColor:foregroundColor:webSocketIsConnected:dynamicColor:)","type":"topic","kind":"symbol","title":"init(colorScheme:backgroundColor:foregroundColor:webSocketIsConnected:dynamicColor:)","abstract":[],"url":"\/documentation\/fueling\/pressablebuttonstyle\/init(colorscheme:backgroundcolor:foregroundcolor:websocketisconnected:dynamiccolor:)","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/foregroundColor":{"title":"foregroundColor","kind":"symbol","role":"symbol","url":"\/documentation\/fueling\/pressablebuttonstyle\/foregroundcolor","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/foregroundColor","type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"foregroundColor","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Color","preciseIdentifier":"s:7SwiftUI5ColorV"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle/makeBody(configuration:)":{"type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"makeBody","kind":"identifier"},{"text":"(","kind":"text"},{"text":"configuration","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI11ButtonStyleP13Configurationa","text":"Configuration","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"title":"makeBody(configuration:)","url":"\/documentation\/fueling\/pressablebuttonstyle\/makebody(configuration:)","kind":"symbol","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle\/makeBody(configuration:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle":{"url":"\/documentation\/fueling\/pressablebuttonstyle","title":"PressableButtonStyle","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"PressableButtonStyle","kind":"identifier"}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"PressableButtonStyle"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView_Previews":{"url":"\/documentation\/fueling\/contentview_previews","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView_Previews","title":"ContentView_Previews","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentView_Previews","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ContentView_Previews"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/PDFViewWrapper":{"role":"symbol","navigatorTitle":[{"text":"PDFViewWrapper","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper","kind":"symbol","url":"\/documentation\/fueling\/pdfviewwrapper","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PDFViewWrapper"}],"type":"topic","title":"PDFViewWrapper","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/PDFViewUI":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewUI","kind":"symbol","type":"topic","title":"PDFViewUI","abstract":[],"url":"\/documentation\/fueling\/pdfviewui","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PDFViewUI","kind":"identifier"}],"navigatorTitle":[{"text":"PDFViewUI","kind":"identifier"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","kind":"symbol","title":"FuelingAPIVIew","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"FuelingAPIVIew"}],"navigatorTitle":[{"kind":"identifier","text":"FuelingAPIVIew"}],"abstract":[{"type":"text","text":"A view that displays and manages fueling data, allowing the user to send data to the server."}],"url":"\/documentation\/fueling\/fuelingapiview","type":"topic"}}}