react-native-exp-fig 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/common/icons-svg/constants/index.js +6 -5
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +11 -4
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/scales/index.js +37 -0
- package/lib/commonjs/common/icons-svg/scales/index.js.map +1 -0
- package/lib/commonjs/components/card-loading/index.js +10 -31
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +1 -1
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/index.js +2 -2
- package/lib/commonjs/components/loading-details/index.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +6 -4
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +1 -1
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/commonjs/utils/types-activities/driver-loading.js +2 -0
- package/lib/commonjs/utils/types-activities/driver-loading.js.map +1 -0
- package/lib/commonjs/utils/types-activities/driver-normal.js +2 -0
- package/lib/commonjs/utils/types-activities/driver-normal.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +6 -5
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +11 -4
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/scales/index.js +31 -0
- package/lib/module/common/icons-svg/scales/index.js.map +1 -0
- package/lib/module/components/card-loading/index.js +10 -31
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/coil/index.js +1 -1
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/loading-details/index.js +2 -2
- package/lib/module/components/loading-details/index.js.map +1 -1
- package/lib/module/styles/theme/theme.js +6 -4
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +1 -1
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/module/utils/types-activities/driver-loading.js +2 -0
- package/lib/module/utils/types-activities/driver-loading.js.map +1 -0
- package/lib/module/utils/types-activities/driver-normal.js +2 -0
- package/lib/module/utils/types-activities/driver-normal.js.map +1 -0
- package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
- package/lib/typescript/src/common/icons-svg/scales/index.d.ts +10 -0
- package/lib/typescript/src/components/selects/select-date-and-hours/index.d.ts +1 -1
- package/lib/typescript/src/styles/global/theme-provider.d.ts +2 -0
- package/lib/typescript/src/styles/theme/theme.d.ts +2 -0
- package/lib/typescript/src/utils/types-activities/driver-loading.d.ts +0 -0
- package/lib/typescript/src/utils/types-activities/driver-normal.d.ts +0 -0
- package/package.json +1 -1
- package/src/common/icons-svg/constants/index.ts +68 -67
- package/src/common/icons-svg/index.tsx +282 -271
- package/src/common/icons-svg/scales/index.tsx +30 -0
- package/src/components/card-loading/index.tsx +7 -3
- package/src/components/coil/index.tsx +1 -1
- package/src/components/loading-details/index.tsx +2 -2
- package/src/styles/theme/theme.ts +191 -189
- package/src/utils/status-color/return-color.ts +1 -1
- package/src/utils/types-activities/driver-loading.ts +0 -0
- package/src/utils/types-activities/driver-normal.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","TouchableOpacity","Box","Typography","Icons","theme","getStatusTextColor","getStatusColor","CardLoading","width","title","local","vehicle","prevision","kg","qtdCoils","status","handleNavigation","testID","_theme$fontSizes$xl","_theme$fontSizes$md","_theme$fontSizes$md2","_theme$fontSizes$md3","_theme$fontSizes$md4","_theme$fontSizes$md5","_theme$fontSizes$md6","_theme$fontSizes$md7","_theme$fontSizes$md8","_theme$fontSizes$md9","_theme$fontSizes$md0","createElement","onPress","activeOpacity","backgroundColor","colors","blue","marginStyle","marginBottom","margins","md","paddingStyle","padding","paddings","borderStyled","borderWidth","borderWidths","thin","borderColor","borderRadius","thick_medium","flexStyle","flexDirection","justifyContent","alignItems","source","uri","style","flex","paddingLeft","text","ellipsizeMode","numberOfLines","color","neutral","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","lineHeight","xl","letterSpacing","xs","inter_regular_400","marginRight","icon","marginLeft","height","paddingRight"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Image, TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// comons / icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { ICardLoading } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\nimport {\n getStatusTextColor,\n getStatusColor,\n StatusType,\n} from \"../../utils/status-color/return-color\";\n\n/**\n *\n * Componente CardLoading para a interação do usuário com ui.\n */\nconst CardLoading: React.FC<ICardLoading> = ({\n width,\n title = \"Carregamento #01020304050607\",\n local = \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle = \"EXP-0000\",\n prevision = \"12:34 10/03/2025\",\n kg = 20,\n qtdCoils = 10,\n status = \"Pendente\",\n handleNavigation,\n testID,\n}: ICardLoading) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n testID={testID}\n width={width ?? \"100%\"}\n backgroundColor={theme.colors.blue[400]}\n marginStyle={{ marginBottom: theme.margins.md }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[400],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-start\", alignItems: \"center\" }}\n >\n <Box width={\"26%\"} borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}>\n <Image\n source={{\n uri: \"https://th.bing.com/th/id/OIP.Rr9_IUNo8J66QbvQkxzXtwHaEJ?w=276&h=180&c=7&r=0&o=5&pid=1.7\",\n }}\n style={{\n width: \"100%\",\n flex: 1,\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n </Box>\n\n <Box width={\"74%\"} paddingStyle={{ paddingLeft: theme.paddings[\"2xs\"] }}>\n <Typography\n text={title}\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.xl ?? 20}\n letterSpacing={\"regular\"}\n marginBottom={4}\n />\n\n <Typography\n text={local}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginBottom={4}\n />\n\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n marginStyle={{\n marginBottom: 4,\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginRight: 8,\n }}\n >\n <Icons icon={\"TIMER\"} size={theme.fontSizes[\"sm\"]} color={theme.colors.neutral[25]} />\n <Typography\n text={\"AUT\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={2}\n />\n </Box>\n\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginRight: 8,\n }}\n >\n <Icons icon={\"TIMER\"} size={theme.fontSizes[\"sm\"]} color={theme.colors.neutral[25]} />\n <Typography\n text={`${kg}KG`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={2}\n />\n </Box>\n\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n >\n <Icons icon={\"TIMER\"} size={theme.fontSizes[\"sm\"]} color={theme.colors.neutral[25]} />\n <Typography\n text={`${qtdCoils}QTD`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={2}\n />\n </Box>\n </Box>\n\n {/**DADOS DO VEÍCULOS */}\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n marginStyle={{\n marginBottom: 4,\n }}\n >\n <Typography\n text={\"Dados Veículo:\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={vehicle}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={4}\n />\n </Box>\n\n {/**PREVISÃO DO CARREGAMENTO */}\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginBottom: 8,\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={\"Previsão:\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={prevision}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={4}\n />\n </Box>\n </Box>\n\n {/**STATUS DO CARREGAMENTO */}\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginBottom: 4,\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n backgroundColor={getStatusColor(status as StatusType)}\n height={22}\n borderStyled={{\n borderWidth: 1,\n borderRadius: 11,\n borderColor: \"transparent\",\n }}\n paddingStyle={{ paddingLeft: 8, paddingRight: 8 }}\n >\n <Typography\n text={\"Status:\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={status}\n color={getStatusTextColor(status as StatusType)}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={4}\n />\n </Box>\n </Box>\n </Box>\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { CardLoading };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,OAAOC,GAAG,MAAM,QAAQ;AACxB,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAChD,SACEC,kBAAkB,EAClBC,cAAc,QAET,uCAAuC;;AAE9C;AACA;AACA;AACA;AACA,MAAMC,WAAmC,GAAGA,CAAC;EAC3CC,KAAK;EACLC,KAAK,GAAG,8BAA8B;EACtCC,KAAK,GAAG,sCAAsC;EA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ACb8C,KAAK,EAAExD,kBAAkB,CAACU,MAAoB,CAAE;IAChDgD,IAAI,EAAE3D,KAAK,CAAC4D,SAAS,CAACQ,EAAG;IACzBN,UAAU,EAAE9D,KAAK,CAAC+D,KAAK,CAACC,cAAe;IACvCC,UAAU,GAAAzC,oBAAA,GAAExB,KAAK,CAAC4D,SAAS,CAAC1B,EAAE,cAAAV,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrC2C,aAAa,EAAE,SAAU;IACzBK,UAAU,EAAE;EAAE,CACf,CACE,CACF,CACF,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AACA,SAASrE,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Image","TouchableOpacity","Box","Typography","Icons","theme","getStatusTextColor","getStatusColor","CardLoading","width","title","local","vehicle","prevision","kg","qtdCoils","status","handleNavigation","testID","_theme$fontSizes$xl","_theme$fontSizes$md","_theme$fontSizes$md2","_theme$fontSizes$md3","_theme$fontSizes$md4","_theme$fontSizes$md5","_theme$fontSizes$md6","_theme$fontSizes$md7","_theme$fontSizes$md8","_theme$fontSizes$md9","createElement","onPress","activeOpacity","backgroundColor","colors","blue","marginStyle","marginBottom","margins","md","paddingStyle","padding","paddings","borderStyled","borderWidth","borderWidths","thin","borderColor","borderRadius","thick_medium","flexStyle","flexDirection","justifyContent","alignItems","source","uri","style","flex","paddingLeft","text","ellipsizeMode","numberOfLines","color","neutral","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","lineHeight","xl","letterSpacing","xs","inter_regular_400","marginRight","icon","marginLeft","height","paddingRight"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Image, TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// comons / icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { ICardLoading } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\nimport {\n getStatusTextColor,\n getStatusColor,\n StatusType,\n} from \"../../utils/status-color/return-color\";\n\n/**\n *\n * Componente CardLoading para a interação do usuário com ui.\n */\nconst CardLoading: React.FC<ICardLoading> = ({\n width,\n title = \"Carregamento #01020304050607\",\n local = \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle = \"EXP-0000\",\n prevision = \"12:34 10/03/2025\",\n kg = 20,\n qtdCoils = 10,\n status = \"Pendente\",\n handleNavigation,\n testID,\n}: ICardLoading) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n testID={testID}\n width={width ?? \"100%\"}\n backgroundColor={theme.colors.blue[400]}\n marginStyle={{ marginBottom: theme.margins.md }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[400],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-start\", alignItems: \"center\" }}\n >\n <Box width={\"26%\"} borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}>\n <Image\n source={{\n uri: \"https://th.bing.com/th/id/OIP.Rr9_IUNo8J66QbvQkxzXtwHaEJ?w=276&h=180&c=7&r=0&o=5&pid=1.7\",\n }}\n style={{\n width: \"100%\",\n flex: 1,\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n </Box>\n\n <Box width={\"74%\"} paddingStyle={{ paddingLeft: theme.paddings[\"2xs\"] }}>\n <Typography\n text={title}\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.xl ?? 20}\n letterSpacing={\"regular\"}\n marginBottom={4}\n />\n\n <Typography\n text={local}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginBottom={4}\n />\n\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n marginStyle={{\n marginBottom: 4,\n }}\n >\n {/* <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginRight: 8,\n }}\n >\n <Icons icon={\"TIMER\"} size={theme.fontSizes[\"sm\"]} color={theme.colors.neutral[25]} />\n <Typography\n text={\"AUT\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={2}\n />\n </Box> */}\n\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginRight: 8,\n }}\n >\n <Icons\n icon={\"SCALES\"}\n size={theme.fontSizes[\"sm\"]}\n color={theme.colors.neutral[25]}\n />\n <Typography\n text={`${kg}KG`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={2}\n />\n </Box>\n\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n >\n <Icons icon={\"TIMER\"} size={theme.fontSizes[\"sm\"]} color={theme.colors.neutral[25]} />\n <Typography\n text={`${qtdCoils}QTD`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={2}\n />\n </Box>\n </Box>\n\n {/**DADOS DO VEÍCULOS */}\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n marginStyle={{\n marginBottom: 4,\n }}\n >\n <Typography\n text={\"Dados Veículo:\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={vehicle}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={4}\n />\n </Box>\n\n {/**PREVISÃO DO CARREGAMENTO */}\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginBottom: 8,\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={\"Previsão:\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={prevision}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={4}\n />\n </Box>\n </Box>\n\n {/**STATUS DO CARREGAMENTO */}\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n marginStyle={{\n marginBottom: 4,\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n }}\n backgroundColor={getStatusColor(status as StatusType)}\n height={22}\n borderStyled={{\n borderWidth: 1,\n borderRadius: 11,\n borderColor: \"transparent\",\n }}\n paddingStyle={{ paddingLeft: 8, paddingRight: 8 }}\n >\n <Typography\n text={\"Status:\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={status}\n color={getStatusTextColor(status as StatusType)}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n lineHeight={theme.fontSizes.md ?? 16}\n letterSpacing={\"regular\"}\n marginLeft={4}\n />\n </Box>\n </Box>\n </Box>\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { CardLoading };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,OAAOC,GAAG,MAAM,QAAQ;AACxB,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAChD,SACEC,kBAAkB,EAClBC,cAAc,QAET,uCAAuC;;AAE9C;AACA;AACA;AACA;AACA,MAAMC,WAAmC,GAAGA,CAAC;EAC3CC,KAAK;EACLC,KAAK,GAAG,8BAA8B;EACtCC,KAAK,GAAG,sCAAsC;EAC9CC,OAAO,GAAG,UAAU;EACpBC,SAAS,GAAG,kBAAkB;EAC9BC,EAAE,GAAG,EAAE;EACPC,QAAQ,GAAG,EAAE;EACbC,MAAM,GAAG,UAAU;EACnBC,gBAAgB;EAChBC;AACY,CAAC,KAAK;EAAA,IAAAC,mBAAA,EAAAC,mBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,oBAAA;EAClB,oBACE7B,KAAA,CAAA8B,aAAA,CAAC5B,gBAAgB;IAAC6B,OAAO,EAAEb,gBAAiB;IAACc,aAAa,EAAE;EAAI,gBAC9DhC,KAAA,CAAA8B,aAA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,CAACQ,EAAG;IACzBN,UAAU,EAAE7D,KAAK,CAAC8D,KAAK,CAACC,cAAe;IACvCC,UAAU,GAAAzC,oBAAA,GAAEvB,KAAK,CAAC2D,SAAS,CAAC1B,EAAE,cAAAV,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrC2C,aAAa,EAAE,SAAU;IACzBK,UAAU,EAAE;EAAE,CACf,CACE,CACF,CACF,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AACA,SAASpE,WAAW","ignoreList":[]}
|
|
@@ -97,7 +97,7 @@ const Coil = ({
|
|
|
97
97
|
background: backgroundColorIcon
|
|
98
98
|
}), status === "Concluido" && /*#__PURE__*/React.createElement(Icons, {
|
|
99
99
|
icon: "CHECK_CIRCLE",
|
|
100
|
-
size:
|
|
100
|
+
size: 40,
|
|
101
101
|
background: backgroundColorIcon
|
|
102
102
|
}), (status === "Pendente" || status === "Andamento") && /*#__PURE__*/React.createElement(Icons, {
|
|
103
103
|
icon: "EXCLAMATION_CIRCLE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","TouchableOpacity","Box","Typography","Icons","theme","Coil","description","handleNavigation","title","testID","status","backgroundColor","style","disabled","backgroundColorIcon","createElement","activeOpacity","onPress","width","flexStyle","flexDirection","alignItems","height","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","marginStyle","marginBottom","margins","md","elevation","justifyContent","icon","size","flexWrap","marginLeft","lg","text","fontSizes","fontFamily","fonts","inter_bold_700","color","neutral","letterSpacing","paddingTop","inter_semi_bold_600","background"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\nimport { ICoil } from \"./interface\";\n\nconst Coil: React.FC<ICoil> = ({\n description,\n handleNavigation,\n title,\n testID,\n status,\n backgroundColor,\n style,\n disabled,\n backgroundColorIcon,\n}) => {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={0.7}\n testID={testID}\n onPress={handleNavigation}\n >\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n height={70}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: backgroundColor ?? theme.colors.blue[400],\n }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n marginStyle={{ marginBottom: theme.margins.md }}\n style={[style, { elevation: 5 }]}\n >\n <Box\n width={\"80%\"}\n height={70}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-start\" }}\n >\n <Icons icon={\"LIFEBUOY\"} size={32} />\n\n <Box\n flexStyle={{ flexDirection: \"column\", flexWrap: \"wrap\" }}\n marginStyle={{ marginLeft: theme.margins.lg }}\n >\n <Typography\n text={title}\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_bold_700}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n paddingTop={theme.paddings.md}\n />\n <Typography\n text={description}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_semi_bold_600}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n\n <Box\n width={\"20%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-end\" }}\n height={70}\n >\n {status === \"Cancelado\" && (\n <Icons icon={\"RECUSED\"} size={32} background={backgroundColorIcon} />\n )}\n {status === \"Concluido\" && (\n <Icons icon={\"CHECK_CIRCLE\"} size={
|
|
1
|
+
{"version":3,"names":["React","TouchableOpacity","Box","Typography","Icons","theme","Coil","description","handleNavigation","title","testID","status","backgroundColor","style","disabled","backgroundColorIcon","createElement","activeOpacity","onPress","width","flexStyle","flexDirection","alignItems","height","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","marginStyle","marginBottom","margins","md","elevation","justifyContent","icon","size","flexWrap","marginLeft","lg","text","fontSizes","fontFamily","fonts","inter_bold_700","color","neutral","letterSpacing","paddingTop","inter_semi_bold_600","background"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\nimport { ICoil } from \"./interface\";\n\nconst Coil: React.FC<ICoil> = ({\n description,\n handleNavigation,\n title,\n testID,\n status,\n backgroundColor,\n style,\n disabled,\n backgroundColorIcon,\n}) => {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={0.7}\n testID={testID}\n onPress={handleNavigation}\n >\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n height={70}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: backgroundColor ?? theme.colors.blue[400],\n }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n marginStyle={{ marginBottom: theme.margins.md }}\n style={[style, { elevation: 5 }]}\n >\n <Box\n width={\"80%\"}\n height={70}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-start\" }}\n >\n <Icons icon={\"LIFEBUOY\"} size={32} />\n\n <Box\n flexStyle={{ flexDirection: \"column\", flexWrap: \"wrap\" }}\n marginStyle={{ marginLeft: theme.margins.lg }}\n >\n <Typography\n text={title}\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_bold_700}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n paddingTop={theme.paddings.md}\n />\n <Typography\n text={description}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_semi_bold_600}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n\n <Box\n width={\"20%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-end\" }}\n height={70}\n >\n {status === \"Cancelado\" && (\n <Icons icon={\"RECUSED\"} size={32} background={backgroundColorIcon} />\n )}\n {status === \"Concluido\" && (\n <Icons icon={\"CHECK_CIRCLE\"} size={40} background={backgroundColorIcon} />\n )}\n {(status === \"Pendente\" || status === \"Andamento\") && (\n <Icons icon={\"EXCLAMATION_CIRCLE\"} size={32} background={backgroundColorIcon} />\n )}\n </Box>\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { Coil };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,cAAc;;AAE/C;AACA,OAAOC,GAAG,MAAM,QAAQ;AACxB,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAIhD,MAAMC,IAAqB,GAAGA,CAAC;EAC7BC,WAAW;EACXC,gBAAgB;EAChBC,KAAK;EACLC,MAAM;EACNC,MAAM;EACNC,eAAe;EACfC,KAAK;EACLC,QAAQ;EACRC;AACF,CAAC,KAAK;EACJ,oBACEf,KAAA,CAAAgB,aAAA,CAACf,gBAAgB;IACfa,QAAQ,EAAEA,QAAS;IACnBG,aAAa,EAAE,GAAI;IACnBP,MAAM,EAAEA,MAAO;IACfQ,OAAO,EAAEV;EAAiB,gBAE1BR,KAAA,CAAAgB,aAAA,CAACd,GAAG;IACFiB,KAAK,EAAE,MAAO;IACdC,SAAS,EAAE;MAAEC,a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ACC,IAAI,EAAE,EAAG;IAACc,UAAU,EAAE1C;EAAoB,CAAE,CAE9E,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AACA,SAAST,IAAI","ignoreList":[]}
|
|
@@ -107,7 +107,7 @@ const LoadingDetails = ({
|
|
|
107
107
|
height: 40,
|
|
108
108
|
isLoading: isLoadingStart,
|
|
109
109
|
disabled: disabled,
|
|
110
|
-
backgroundColor: disabled ? theme.colors.
|
|
110
|
+
backgroundColor: disabled ? theme.colors.gray[900] : theme.colors.green[250],
|
|
111
111
|
flexStyle: {
|
|
112
112
|
flex: 1,
|
|
113
113
|
alignItems: "center",
|
|
@@ -122,7 +122,7 @@ const LoadingDetails = ({
|
|
|
122
122
|
},
|
|
123
123
|
borderStyled: {
|
|
124
124
|
borderWidth: theme.borderWidths.thin,
|
|
125
|
-
borderColor: disabled ? theme.colors.
|
|
125
|
+
borderColor: disabled ? theme.colors.gray[900] : theme.colors.green[250],
|
|
126
126
|
borderRadius: theme.fontSizes["2xl"]
|
|
127
127
|
}
|
|
128
128
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Box","Button","Typography","theme","LoadingDetails","numero","local","date","duracao","isLoadingStart","disabled","handleClickGoback","handleClickStart","createElement","width","borderStyled","borderRadius","style","shadowColor","colors","black","shadowOpacity","shadowOffset","height","shadowRadius","elevation","backgroundColor","blue","flexStyle","flexDirection","alignItems","justifyContent","paddingStyle","padding","paddings","md","text","size","fontSizes","sm","fontFamily","fonts","inter_bold","fontWeight","color","neutral","lineHeight","letterSpacing","xs","numberOfLines","align","gray","marginStyle","marginTop","margins","marginBottom","gap","testID","title","onPress","isLoading","green","flex","buttonTextStyle","inter_semi_bold_600","fontSize","textAlign","borderWidth","borderWidths","thin","borderColor","yellow"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport Box from \"../box\";\nimport { Button } from \"../button\";\nimport { Typography } from \"../typography\";\n\n// typings\nimport { ILoadingDetails } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst LoadingDetails: React.FC<ILoadingDetails> = ({\n numero = \"01020304050607\",\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date = \"24/03/2025\",\n duracao = \"00:00\",\n isLoadingStart = false,\n disabled,\n handleClickGoback,\n handleClickStart,\n}: ILoadingDetails) => {\n return (\n <Box\n width=\"100%\"\n borderStyled={{ borderRadius: 8 }}\n style={{\n shadowColor: theme.colors.black[10],\n shadowOpacity: 0.1,\n shadowOffset: { width: 0, height: 2 },\n shadowRadius: 4,\n elevation: 2,\n }}\n backgroundColor={theme.colors.blue[400]}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n paddingStyle={{ padding: theme.paddings.md }}\n >\n <Box\n width={\"78%\"}\n flexStyle={{\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n }}\n >\n <Typography\n text={`Carregamento - #${numero}`}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold}\n fontWeight=\"700\"\n color={theme.colors.neutral[25]}\n lineHeight={theme.fontSizes[\"lg\"]}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={local}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes[\"2xl\"]}\n letterSpacing={\"regular\"}\n numberOfLines={1}\n />\n <Typography\n text={`Data carregamento: ${date}`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes[\"2xl\"]}\n letterSpacing={\"regular\"}\n numberOfLines={1}\n />\n </Box>\n\n <Typography\n text={duracao}\n color={theme.colors.neutral[25]}\n size={24}\n align=\"left\"\n fontFamily=\"inter_bold\"\n fontWeight=\"700\"\n lineHeight={theme.fontSizes[\"3xl\"]}\n letterSpacing={\"regular\"}\n />\n </Box>\n\n <Box\n height={1}\n backgroundColor={theme.colors.gray[950]}\n marginStyle={{ marginTop: theme.margins.xs, marginBottom: theme.margins.xs }}\n />\n\n <Box style={{ flexDirection: \"row\", gap: 12, marginBottom: 8, padding: theme.paddings.md }}>\n <Button\n testID=\"iniciar-button\"\n title=\"INICIAR\"\n onPress={handleClickStart}\n height={40}\n isLoading={isLoadingStart}\n disabled={disabled}\n backgroundColor={disabled ? theme.colors.green[100] : theme.colors.green[250]}\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.md,\n fontWeight: \"600\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: disabled ? theme.colors.green[100] : theme.colors.green[250],\n borderRadius: theme.fontSizes[\"2xl\"],\n }}\n />\n\n <Button\n title=\"VOLTAR\"\n onPress={handleClickGoback}\n height={40}\n isLoading={false}\n disabled={isLoadingStart}\n backgroundColor={theme.colors.yellow[75]}\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.md,\n fontWeight: \"600\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.yellow[75],\n borderRadius: theme.fontSizes[\"2xl\"],\n }}\n />\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { LoadingDetails };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,OAAOC,GAAG,MAAM,QAAQ;AACxB,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,UAAU,QAAQ,eAAe;;AAE1C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAE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C,IAAI;MACpCC,WAAW,EAAE5D,QAAQ,GAAGP,KAAK,CAACgB,MAAM,CAAC0C,KAAK,CAAC,GAAG,CAAC,GAAG1D,KAAK,CAACgB,MAAM,CAAC0C,KAAK,CAAC,GAAG,CAAC;MACzE7C,YAAY,EAAEb,KAAK,CAACmC,SAAS,CAAC,KAAK;IACrC;EAAE,CACH,CAAC,eAEFvC,KAAA,CAAAc,aAAA,CAACZ,MAAM;IACLyD,KAAK,EAAC,QAAQ;IACdC,OAAO,EAAEhD,iBAAkB;IAC3BY,MAAM,EAAE,EAAG;IACXqC,SAAS,EAAE,KAAM;IACjBlD,QAAQ,EAAED,cAAe;IACzBiB,eAAe,EAAEvB,KAAK,CAACgB,MAAM,CAACoD,MAAM,CAAC,EAAE,CAAE;IACzC3C,SAAS,EAAE;MAAEkC,IAAI,EAAE,CAAC;MAAEhC,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IACvEgC,eAAe,EAAE;MACfnB,KAAK,EAAEzC,KAAK,CAACgB,MAAM,CAAC0B,OAAO,CAAC,EAAE,CAAC;MAC/BL,UAAU,EAAErC,KAAK,CAACsC,KAAK,CAACuB,mBAAmB;MAC3CC,QAAQ,EAAE9D,KAAK,CAACmC,SAAS,CAACH,EAAE;MAC5BQ,UAAU,EAAE,KAAK;MACjBuB,SAAS,EAAE;IACb,CAAE;IACFnD,YAAY,EAAE;MACZoD,WAAW,EAAEhE,KAAK,CAACiE,YAAY,CAACC,IAAI;MACpCC,WAAW,EAAEnE,KAAK,CAACgB,MAAM,CAACoD,MAAM,CAAC,EAAE,CAAC;MACpCvD,YAAY,EAAEb,KAAK,CAACmC,SAAS,CAAC,KAAK;IACrC;EAAE,CACH,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASlC,cAAc","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Box","Button","Typography","theme","LoadingDetails","numero","local","date","duracao","isLoadingStart","disabled","handleClickGoback","handleClickStart","createElement","width","borderStyled","borderRadius","style","shadowColor","colors","black","shadowOpacity","shadowOffset","height","shadowRadius","elevation","backgroundColor","blue","flexStyle","flexDirection","alignItems","justifyContent","paddingStyle","padding","paddings","md","text","size","fontSizes","sm","fontFamily","fonts","inter_bold","fontWeight","color","neutral","lineHeight","letterSpacing","xs","numberOfLines","align","gray","marginStyle","marginTop","margins","marginBottom","gap","testID","title","onPress","isLoading","green","flex","buttonTextStyle","inter_semi_bold_600","fontSize","textAlign","borderWidth","borderWidths","thin","borderColor","yellow"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport Box from \"../box\";\nimport { Button } from \"../button\";\nimport { Typography } from \"../typography\";\n\n// typings\nimport { ILoadingDetails } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst LoadingDetails: React.FC<ILoadingDetails> = ({\n numero = \"01020304050607\",\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date = \"24/03/2025\",\n duracao = \"00:00\",\n isLoadingStart = false,\n disabled,\n handleClickGoback,\n handleClickStart,\n}: ILoadingDetails) => {\n return (\n <Box\n width=\"100%\"\n borderStyled={{ borderRadius: 8 }}\n style={{\n shadowColor: theme.colors.black[10],\n shadowOpacity: 0.1,\n shadowOffset: { width: 0, height: 2 },\n shadowRadius: 4,\n elevation: 2,\n }}\n backgroundColor={theme.colors.blue[400]}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n paddingStyle={{ padding: theme.paddings.md }}\n >\n <Box\n width={\"78%\"}\n flexStyle={{\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n }}\n >\n <Typography\n text={`Carregamento - #${numero}`}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold}\n fontWeight=\"700\"\n color={theme.colors.neutral[25]}\n lineHeight={theme.fontSizes[\"lg\"]}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={local}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes[\"2xl\"]}\n letterSpacing={\"regular\"}\n numberOfLines={1}\n />\n <Typography\n text={`Data carregamento: ${date}`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes[\"2xl\"]}\n letterSpacing={\"regular\"}\n numberOfLines={1}\n />\n </Box>\n\n <Typography\n text={duracao}\n color={theme.colors.neutral[25]}\n size={24}\n align=\"left\"\n fontFamily=\"inter_bold\"\n fontWeight=\"700\"\n lineHeight={theme.fontSizes[\"3xl\"]}\n letterSpacing={\"regular\"}\n />\n </Box>\n\n <Box\n height={1}\n backgroundColor={theme.colors.gray[950]}\n marginStyle={{ marginTop: theme.margins.xs, marginBottom: theme.margins.xs }}\n />\n\n <Box style={{ flexDirection: \"row\", gap: 12, marginBottom: 8, padding: theme.paddings.md }}>\n <Button\n testID=\"iniciar-button\"\n title=\"INICIAR\"\n onPress={handleClickStart}\n height={40}\n isLoading={isLoadingStart}\n disabled={disabled}\n backgroundColor={disabled ? theme.colors.gray[900] : theme.colors.green[250]}\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.md,\n fontWeight: \"600\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: disabled ? theme.colors.gray[900] : theme.colors.green[250],\n borderRadius: theme.fontSizes[\"2xl\"],\n }}\n />\n\n <Button\n title=\"VOLTAR\"\n onPress={handleClickGoback}\n height={40}\n isLoading={false}\n disabled={isLoadingStart}\n backgroundColor={theme.colors.yellow[75]}\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.md,\n fontWeight: \"600\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.yellow[75],\n borderRadius: theme.fontSizes[\"2xl\"],\n }}\n />\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { LoadingDetails };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,OAAOC,GAAG,MAAM,QAAQ;AACxB,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,UAAU,QAAQ,eAAe;;AAE1C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,cAAyC,GAAGA,CAAC;EACjDC,MAAM,GAAG,gBAAgB;EACzBC,KAAK,GAAG,uCAAuC;EAC/CC,IAAI,GAAG,YAAY;EACnBC,OAAO,GAAG,OAAO;EACjBC,cAAc,GAAG,KAAK;EACtBC,QAAQ;EACRC,iBAAiB;EACjBC;AACe,CAAC,KAAK;EACrB,oBACEb,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAC,MAAM;IACZC,YAAY,EAAE;MAAEC,YAAY,EAAE;IAAE,CAAE;IAClCC,KAAK,EAAE;MACLC,WAAW,EAAEf,KAAK,CAACgB,MAAM,CAACC,KAAK,CAAC,EAAE,CAAC;MACnCC,aAAa,EAAE,GAAG;MAClBC,YAAY,EAAE;QAAER,KAAK,EAAE,CAAC;QAAES,MAAM,EAAE;MAAE,CAAC;MACrCC,YAAY,EAAE,CAAC;MACfC,SAAS,EAAE;IACb,CAAE;IACFC,eAAe,EAAEvB,KAAK,CAACgB,MAAM,CAACQ,IAAI,CAAC,GAAG;EAAE,gBAExC5B,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAE,MAAO;IACdc,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IA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AAU,EAAE,KAAK;MACjBuB,SAAS,EAAE;IACb,CAAE;IACFnD,YAAY,EAAE;MACZoD,WAAW,EAAEhE,KAAK,CAACiE,YAAY,CAACC,IAAI;MACpCC,WAAW,EAAEnE,KAAK,CAACgB,MAAM,CAACoD,MAAM,CAAC,EAAE,CAAC;MACpCvD,YAAY,EAAEb,KAAK,CAACmC,SAAS,CAAC,KAAK;IACrC;EAAE,CACH,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASlC,cAAc","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
const borderWidths = {
|
|
@@ -30,6 +30,7 @@ const colors = {
|
|
|
30
30
|
blue: {
|
|
31
31
|
25: "#1E1E1E",
|
|
32
32
|
50: "#1EA7fD",
|
|
33
|
+
80: "#007BFF",
|
|
33
34
|
100: "#051C3B",
|
|
34
35
|
150: "#2E41F2",
|
|
35
36
|
350: "#357FD6",
|
|
@@ -62,6 +63,7 @@ const colors = {
|
|
|
62
63
|
},
|
|
63
64
|
green: {
|
|
64
65
|
100: "#20AD4880",
|
|
66
|
+
150: "#00B37E",
|
|
65
67
|
200: "#25BA76",
|
|
66
68
|
250: "#20AD48",
|
|
67
69
|
400: "#49C63E",
|
|
@@ -165,8 +167,8 @@ const lineHeight = {
|
|
|
165
167
|
"8xl": 96,
|
|
166
168
|
"9xl": 128
|
|
167
169
|
};
|
|
168
|
-
/**
|
|
169
|
-
* EXPORTSS
|
|
170
|
+
/**
|
|
171
|
+
* EXPORTSS
|
|
170
172
|
*/
|
|
171
173
|
export const theme = {
|
|
172
174
|
borderWidths,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","lineHeight","theme"],"sources":["theme.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","lineHeight","theme"],"sources":["theme.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst borderWidths = {\n thin: 1,\n thin_medium: 2,\n thin_bold: 6,\n thick: 4,\n thick_medium: 8,\n thick_bold: 12,\n thick_large: 16,\n hairline: 999,\n};\n\nconst colors = {\n neutral: {\n 25: \"#FFFFFF\",\n 50: \"#E7EEFF\",\n 75: \"#E5E1F9\",\n 200: \"#C6C6C6\",\n 300: \"#F3F3F3\",\n 400: \"#F4F5F6\",\n },\n black: {\n 10: \"#000000\",\n 25: \"#1E1E1E\",\n 100: \"#393939\",\n 180: \"#35302B\",\n },\n blue: {\n 25: \"#1E1E1E\",\n 50: \"#1EA7fD\",\n 80: \"#007BFF\",\n 100: \"#051C3B\",\n 150: \"#2E41F2\",\n 350: \"#357FD6\",\n 375: \"#056CF2\",\n 400: \"#2D3748\",\n 400_50: \"#2D374880\",\n 500: \"#050022\",\n 525: \"#051C3B\",\n },\n red: {\n 400: \"#D23A1A\",\n 500: \"#C54239\",\n 600: \"#B3261E\",\n 800: \"#E72626\",\n 900: \"#9F0000\",\n },\n gray: {\n 300: \"#D9D9D9\",\n 350: \"#CDCDCD\",\n 400: \"#C6C6C6\",\n 500: \"#1c1c1e\",\n 600: \"#5E5E5E\",\n 700: \"#727272\",\n 800: \"#837676\",\n 850: \"#868686\",\n 875: \"#949494\",\n 900: \"#9B9B9B\",\n 925: \"#957c5f\",\n 950: \"#94a3b8\",\n },\n green: {\n 100: \"#20AD4880\",\n 150: \"#00B37E\",\n 200: \"#25BA76\",\n 250: \"#20AD48\",\n 400: \"#49C63E\",\n 500: \"#50C58F\",\n },\n orange: {\n 500: \"#FC5701\",\n 450: \"#FC6C2D\",\n 150: \"#FFA41C\",\n },\n yellow: {\n 100: \"#DFAE00\",\n 50: \"#F0CA4B\",\n 75: \"#F59E0B\",\n 90: \"#957C5F\",\n },\n};\n\nconst fonts = {\n inter_thin_100: \"Inter-Thin\",\n inter_extra_light_200: \"Inter-ExtraLight\",\n inter_light_300: \"Inter-Light\",\n inter_regular_400: \"Inter-Regular\",\n inter_medium_500: \"Inter-Medium\",\n inter_semi_bold_600: \"Inter-SemiBold\",\n inter_bold_700: \"Inter-Bold\",\n inter_extra_bold_800: \"Inter-ExtraBold\",\n inter_bold: \"Inter-Bold\",\n};\n\nconst fontSizes = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 32,\n \"4xl\": 38,\n \"5xl\": 50,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst margins = {\n \"1xs\": 6,\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst paddings = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst shadows = {\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\n};\n\nconst letterSpacing = {\n o_16: 0.16,\n regular: 0.5,\n medium: 0.75,\n strong: 1,\n};\n\nconst lineHeight = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n/**\n * EXPORTSS\n */\nexport const theme = {\n borderWidths,\n colors,\n fonts,\n fontSizes,\n margins,\n shadows,\n paddings,\n letterSpacing,\n lineHeight,\n};\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;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,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;AAED,MAAMC,UAAU,GAAG;EACjB,KAAK,EAAE,EAAE;EACTf,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AACD;AACA;AACA;AACA,OAAO,MAAMY,KAAK,GAAG;EACnB7C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI,aAAa;EACbK;AACF,CAAC","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@ function getStatusColor(status) {
|
|
|
11
11
|
Concluido: theme.colors.green[250],
|
|
12
12
|
Cancelado: theme.colors.red[900],
|
|
13
13
|
Pendente: theme.colors.yellow[75],
|
|
14
|
-
Andamento: theme.colors.
|
|
14
|
+
Andamento: theme.colors.green[150]
|
|
15
15
|
};
|
|
16
16
|
return statusColors[status];
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["theme","getBorderColor","status","borderColors","Cancelado","colors","red","Pendente","orange","getStatusColor","statusColors","Concluido","green","yellow","Andamento","getStatusTextColor","neutral"],"sources":["return-color.ts"],"sourcesContent":["import { theme } from \"../../styles/theme/theme\";\n\nexport type StatusType = \"Andamento\" | \"Cancelado\" | \"Pendente\" | \"Concluido\";\n\nfunction getBorderColor(status: string) {\n const borderColors = {\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.orange[450],\n };\n return borderColors[status as keyof typeof borderColors];\n}\nfunction getStatusColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.green[250],\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.yellow[75],\n Andamento: theme.colors.
|
|
1
|
+
{"version":3,"names":["theme","getBorderColor","status","borderColors","Cancelado","colors","red","Pendente","orange","getStatusColor","statusColors","Concluido","green","yellow","Andamento","getStatusTextColor","neutral"],"sources":["return-color.ts"],"sourcesContent":["import { theme } from \"../../styles/theme/theme\";\n\nexport type StatusType = \"Andamento\" | \"Cancelado\" | \"Pendente\" | \"Concluido\";\n\nfunction getBorderColor(status: string) {\n const borderColors = {\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.orange[450],\n };\n return borderColors[status as keyof typeof borderColors];\n}\nfunction getStatusColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.green[250],\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.yellow[75],\n Andamento: theme.colors.green[150],\n };\n\n return statusColors[status];\n}\n\nfunction getStatusTextColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.neutral[25],\n Cancelado: theme.colors.neutral[25],\n Pendente: theme.colors.neutral[50],\n Andamento: theme.colors.neutral[50],\n };\n\n return statusColors[status];\n}\n\nexport { getStatusColor, getBorderColor, getStatusTextColor };\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,0BAA0B;AAIhD,SAASC,cAAcA,CAACC,MAAc,EAAE;EACtC,MAAMC,YAAY,GAAG;IACnBC,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACG,MAAM,CAAC,GAAG;EACnC,CAAC;EACD,OAAOL,YAAY,CAACD,MAAM,CAA8B;AAC1D;AACA,SAASO,cAAcA,CAACP,MAAkB,EAAU;EAClD,MAAMQ,YAAwC,GAAG;IAC/CC,SAAS,EAAEX,KAAK,CAACK,MAAM,CAACO,KAAK,CAAC,GAAG,CAAC;IAClCR,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACQ,MAAM,CAAC,EAAE,CAAC;IACjCC,SAAS,EAAEd,KAAK,CAACK,MAAM,CAACO,KAAK,CAAC,GAAG;EACnC,CAAC;EAED,OAAOF,YAAY,CAACR,MAAM,CAAC;AAC7B;AAEA,SAASa,kBAAkBA,CAACb,MAAkB,EAAU;EACtD,MAAMQ,YAAwC,GAAG;IAC/CC,SAAS,EAAEX,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE,CAAC;IACnCZ,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE,CAAC;IACnCT,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE,CAAC;IAClCF,SAAS,EAAEd,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE;EACpC,CAAC;EAED,OAAON,YAAY,CAACR,MAAM,CAAC;AAC7B;AAEA,SAASO,cAAc,EAAER,cAAc,EAAEc,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["driver-loading.ts"],"sourcesContent":[""],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["driver-normal.ts"],"sourcesContent":[""],"mappings":"","ignoreList":[]}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
declare const _default: React.ComponentType<import("react-native").TouchableOpacityProps & {
|
|
6
6
|
value: any;
|
|
7
|
-
icon: "CAMERA_PLUS" | "STEERING_WHEEL" | "CHECK_BOX_FILL" | "CHECK_BOX" | "CHECK_BOX_OUTLINE" | "MOON_STARS" | "CALL_BELL" | "STEERING_WHEEL_FILL" | "TROPHY" | "SHOPPING_CART" | "CREDIT_CARD" | "FILE_TEXT" | "TRUCK" | "PACKAGE_CHECK" | "PLUS" | "EYE_SLASH" | "EYE" | "CALENDAR" | "TIMER" | "GEAR" | "CURRENCY" | "GAUGE" | "GAS_PUMP" | "ARROW_LEFT" | "BLUETOOTH" | "BLUETOOTH_CONNECTED" | "LIST" | "WIFI_X" | "WIFI_HIGH" | "NOTE_PINCEL" | "CHECK_CIRCLE" | "ARROW_DROP_DOWN" | "CLOSED" | "LOADING" | "ACTIVITY" | "HISTORY" | "BELL" | "FILES" | "LIFEBUOY" | "RECUSED" | "EXCLAMATION_CIRCLE" | "X_CIRCLE" | "ELLIPSE" | "PENCIL" | "CAR" | "TRUCK_ACTIVITY" | "COFFEE" | "AGENT" | "CHECK_OUTLINE" | "BED" | "REFRESH_CCW_DOT" | "HOURGLASS" | "HOUSE" | "ISLAND" | "EXCLAMATION_TRIANGLE";
|
|
7
|
+
icon: "CAMERA_PLUS" | "STEERING_WHEEL" | "CHECK_BOX_FILL" | "CHECK_BOX" | "CHECK_BOX_OUTLINE" | "MOON_STARS" | "CALL_BELL" | "STEERING_WHEEL_FILL" | "TROPHY" | "SHOPPING_CART" | "CREDIT_CARD" | "FILE_TEXT" | "TRUCK" | "PACKAGE_CHECK" | "PLUS" | "EYE_SLASH" | "EYE" | "CALENDAR" | "TIMER" | "GEAR" | "CURRENCY" | "GAUGE" | "GAS_PUMP" | "ARROW_LEFT" | "BLUETOOTH" | "BLUETOOTH_CONNECTED" | "LIST" | "WIFI_X" | "WIFI_HIGH" | "NOTE_PINCEL" | "CHECK_CIRCLE" | "ARROW_DROP_DOWN" | "CLOSED" | "LOADING" | "ACTIVITY" | "HISTORY" | "BELL" | "FILES" | "LIFEBUOY" | "RECUSED" | "EXCLAMATION_CIRCLE" | "X_CIRCLE" | "ELLIPSE" | "PENCIL" | "CAR" | "TRUCK_ACTIVITY" | "COFFEE" | "AGENT" | "CHECK_OUTLINE" | "BED" | "REFRESH_CCW_DOT" | "HOURGLASS" | "HOUSE" | "ISLAND" | "EXCLAMATION_TRIANGLE" | "SCALES";
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
textColor?: string | undefined;
|
|
10
10
|
onPressConfirm: (value: any) => void;
|
|
@@ -31,6 +31,7 @@ export declare const useTheme: () => {
|
|
|
31
31
|
blue: {
|
|
32
32
|
25: string;
|
|
33
33
|
50: string;
|
|
34
|
+
80: string;
|
|
34
35
|
100: string;
|
|
35
36
|
150: string;
|
|
36
37
|
350: string;
|
|
@@ -63,6 +64,7 @@ export declare const useTheme: () => {
|
|
|
63
64
|
};
|
|
64
65
|
green: {
|
|
65
66
|
100: string;
|
|
67
|
+
150: string;
|
|
66
68
|
200: string;
|
|
67
69
|
250: string;
|
|
68
70
|
400: string;
|
|
@@ -33,6 +33,7 @@ export declare const theme: {
|
|
|
33
33
|
blue: {
|
|
34
34
|
25: string;
|
|
35
35
|
50: string;
|
|
36
|
+
80: string;
|
|
36
37
|
100: string;
|
|
37
38
|
150: string;
|
|
38
39
|
350: string;
|
|
@@ -65,6 +66,7 @@ export declare const theme: {
|
|
|
65
66
|
};
|
|
66
67
|
green: {
|
|
67
68
|
100: string;
|
|
69
|
+
150: string;
|
|
68
70
|
200: string;
|
|
69
71
|
250: string;
|
|
70
72
|
400: string;
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
const SVG_NAME = {
|
|
6
|
-
CAMERA_PLUS: "camera-plus",
|
|
7
|
-
STEERING_WHEEL: "steering-wheel",
|
|
8
|
-
CHECK_BOX_FILL: "check-box-fill",
|
|
9
|
-
CHECK_BOX: "check-box",
|
|
10
|
-
CHECK_BOX_OUTLINE: "check-box-outline",
|
|
11
|
-
MOON_STARS: "moon-stars",
|
|
12
|
-
CALL_BELL: "call-bell",
|
|
13
|
-
STEERING_WHEEL_FILL: "steering-wheel-fill",
|
|
14
|
-
TROPHY: "trophy",
|
|
15
|
-
SHOPPING_CART: "Pedido Realizado",
|
|
16
|
-
CREDIT_CARD: "Pagamento Aprovado",
|
|
17
|
-
FILE_TEXT: "Pedido Faturado",
|
|
18
|
-
TRUCK: "Pedido Enviado",
|
|
19
|
-
PACKAGE_CHECK: "Pedido Entregue",
|
|
20
|
-
PLUS: "plus",
|
|
21
|
-
EYE_SLASH: "eye-slash",
|
|
22
|
-
EYE: "eye",
|
|
23
|
-
CALENDAR: "calendar",
|
|
24
|
-
TIMER: "timer",
|
|
25
|
-
GEAR: "gear",
|
|
26
|
-
CURRENCY: "currency",
|
|
27
|
-
GAUGE: "gauge",
|
|
28
|
-
GAS_PUMP: "gas-pump",
|
|
29
|
-
ARROW_LEFT: "arrow-left",
|
|
30
|
-
BLUETOOTH: "bluetooth",
|
|
31
|
-
BLUETOOTH_CONNECTED: "bluetooth-connected",
|
|
32
|
-
LIST: "list",
|
|
33
|
-
WIFI_X: "wifi-x",
|
|
34
|
-
WIFI_HIGH: "wifi-high",
|
|
35
|
-
NOTE_PINCEL: "note-pincel",
|
|
36
|
-
CHECK_CIRCLE: "check-circle",
|
|
37
|
-
ARROW_DROP_DOWN: "arrow-drop-down",
|
|
38
|
-
CLOSED: "closed",
|
|
39
|
-
LOADING: "currency-circle-dollar",
|
|
40
|
-
ACTIVITY: "atividades",
|
|
41
|
-
HISTORY: "chart-bar",
|
|
42
|
-
BELL: "bell",
|
|
43
|
-
FILES: "files",
|
|
44
|
-
LIFEBUOY: "lifebuoy",
|
|
45
|
-
RECUSED: "recused",
|
|
46
|
-
EXCLAMATION_CIRCLE: "exclamation-circle",
|
|
47
|
-
X_CIRCLE: "x-circle",
|
|
48
|
-
ELLIPSE: "ellipsis",
|
|
49
|
-
PENCIL: "pencil",
|
|
50
|
-
CAR: "car",
|
|
51
|
-
TRUCK_ACTIVITY: "truck-activity",
|
|
52
|
-
COFFEE: "coffee",
|
|
53
|
-
AGENT: "agent",
|
|
54
|
-
CHECK_OUTLINE: "check-outline",
|
|
55
|
-
BED: "bed",
|
|
56
|
-
REFRESH_CCW_DOT: "refresh-ccw-dot",
|
|
57
|
-
HOURGLASS: "hourglass",
|
|
58
|
-
HOUSE: "house",
|
|
59
|
-
ISLAND: "island",
|
|
60
|
-
EXCLAMATION_TRIANGLE: "exclamation-triangle",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const SVG_NAME = {
|
|
6
|
+
CAMERA_PLUS: "camera-plus",
|
|
7
|
+
STEERING_WHEEL: "steering-wheel",
|
|
8
|
+
CHECK_BOX_FILL: "check-box-fill",
|
|
9
|
+
CHECK_BOX: "check-box",
|
|
10
|
+
CHECK_BOX_OUTLINE: "check-box-outline",
|
|
11
|
+
MOON_STARS: "moon-stars",
|
|
12
|
+
CALL_BELL: "call-bell",
|
|
13
|
+
STEERING_WHEEL_FILL: "steering-wheel-fill",
|
|
14
|
+
TROPHY: "trophy",
|
|
15
|
+
SHOPPING_CART: "Pedido Realizado",
|
|
16
|
+
CREDIT_CARD: "Pagamento Aprovado",
|
|
17
|
+
FILE_TEXT: "Pedido Faturado",
|
|
18
|
+
TRUCK: "Pedido Enviado",
|
|
19
|
+
PACKAGE_CHECK: "Pedido Entregue",
|
|
20
|
+
PLUS: "plus",
|
|
21
|
+
EYE_SLASH: "eye-slash",
|
|
22
|
+
EYE: "eye",
|
|
23
|
+
CALENDAR: "calendar",
|
|
24
|
+
TIMER: "timer",
|
|
25
|
+
GEAR: "gear",
|
|
26
|
+
CURRENCY: "currency",
|
|
27
|
+
GAUGE: "gauge",
|
|
28
|
+
GAS_PUMP: "gas-pump",
|
|
29
|
+
ARROW_LEFT: "arrow-left",
|
|
30
|
+
BLUETOOTH: "bluetooth",
|
|
31
|
+
BLUETOOTH_CONNECTED: "bluetooth-connected",
|
|
32
|
+
LIST: "list",
|
|
33
|
+
WIFI_X: "wifi-x",
|
|
34
|
+
WIFI_HIGH: "wifi-high",
|
|
35
|
+
NOTE_PINCEL: "note-pincel",
|
|
36
|
+
CHECK_CIRCLE: "check-circle",
|
|
37
|
+
ARROW_DROP_DOWN: "arrow-drop-down",
|
|
38
|
+
CLOSED: "closed",
|
|
39
|
+
LOADING: "currency-circle-dollar",
|
|
40
|
+
ACTIVITY: "atividades",
|
|
41
|
+
HISTORY: "chart-bar",
|
|
42
|
+
BELL: "bell",
|
|
43
|
+
FILES: "files",
|
|
44
|
+
LIFEBUOY: "lifebuoy",
|
|
45
|
+
RECUSED: "recused",
|
|
46
|
+
EXCLAMATION_CIRCLE: "exclamation-circle",
|
|
47
|
+
X_CIRCLE: "x-circle",
|
|
48
|
+
ELLIPSE: "ellipsis",
|
|
49
|
+
PENCIL: "pencil",
|
|
50
|
+
CAR: "car",
|
|
51
|
+
TRUCK_ACTIVITY: "truck-activity",
|
|
52
|
+
COFFEE: "coffee",
|
|
53
|
+
AGENT: "agent",
|
|
54
|
+
CHECK_OUTLINE: "check-outline",
|
|
55
|
+
BED: "bed",
|
|
56
|
+
REFRESH_CCW_DOT: "refresh-ccw-dot",
|
|
57
|
+
HOURGLASS: "hourglass",
|
|
58
|
+
HOUSE: "house",
|
|
59
|
+
ISLAND: "island",
|
|
60
|
+
EXCLAMATION_TRIANGLE: "exclamation-triangle",
|
|
61
|
+
SCALES: "scales",
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* EXPORTS
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
export { SVG_NAME };
|