react-native-exp-fig 0.1.14 → 0.1.16
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/agent/index.js +2 -2
- package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bed/index.js +4 -4
- package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/car/index.js +4 -4
- package/lib/commonjs/common/icons-svg/car/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-outline/index.js +6 -6
- package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/coffee/index.js +4 -4
- package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/constants/index.js +2 -1
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/hourglass/index.js +36 -0
- package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +8 -1
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
- package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
- package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/index.js +4 -4
- package/lib/commonjs/components/activities-daily/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +4 -4
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
- package/lib/commonjs/components/button/styles.js +1 -1
- package/lib/commonjs/components/button/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +62 -12
- package/lib/commonjs/components/card-history/index.js.map +1 -1
- package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +21 -10
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +4 -4
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +6 -6
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +4 -4
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/coil/interface.d.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/index.js +7 -7
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +1 -2
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/index.js +11 -10
- package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +3 -1
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/index.js +155 -0
- package/lib/commonjs/components/modal-activities/index.js.map +1 -0
- package/lib/commonjs/components/modal-activities/interface.d.js +6 -0
- package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -0
- package/lib/commonjs/components/notification-loading/index.js +9 -2
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +6 -6
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/styles.js +9 -8
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +6 -6
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
- package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +47 -0
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -0
- package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +6 -5
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/format-data/index.js +11 -11
- package/lib/commonjs/utils/format-data/index.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +12 -2
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/module/common/icons-svg/agent/index.js +2 -2
- package/lib/module/common/icons-svg/agent/index.js.map +1 -1
- package/lib/module/common/icons-svg/bed/index.js +4 -4
- package/lib/module/common/icons-svg/bed/index.js.map +1 -1
- package/lib/module/common/icons-svg/car/index.js +4 -4
- package/lib/module/common/icons-svg/car/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-outline/index.js +6 -6
- package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
- package/lib/module/common/icons-svg/coffee/index.js +4 -4
- package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +2 -1
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/hourglass/index.js +28 -0
- package/lib/module/common/icons-svg/hourglass/index.js.map +1 -0
- 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/pencil/index.js +4 -4
- package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
- package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +4 -4
- package/lib/module/components/activities-daily/index.js.map +1 -1
- package/lib/module/components/activities-daily/interface.d.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +4 -4
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/activities-progress/interface.d.js.map +1 -1
- package/lib/module/components/avatar-profile/index.js.map +1 -1
- package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
- package/lib/module/components/button/styles.js +1 -1
- package/lib/module/components/button/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +62 -12
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-history/interface.d.js.map +1 -1
- package/lib/module/components/card-loading/index.js +22 -11
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +4 -4
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/check-box/index.js +6 -6
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/check-box/interface.d.js.map +1 -1
- package/lib/module/components/coil/index.js +4 -4
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/coil/interface.d.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +7 -7
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/history-details/index.js +1 -2
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/history-details/interface.d.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/index.js +11 -10
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +3 -1
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/modal-activities/index.js +148 -0
- package/lib/module/components/modal-activities/index.js.map +1 -0
- package/lib/module/components/modal-activities/interface.d.js +2 -0
- package/lib/module/components/modal-activities/interface.d.js.map +1 -0
- package/lib/module/components/notification-loading/index.js +9 -2
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/notification-loading/interface.d.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js.map +1 -1
- package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +6 -6
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/step-indicator/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +9 -8
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/components/user-profile/index.js +6 -6
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
- package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
- package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/module/stories/modal-activities/modal-activities.stories.js +41 -0
- package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -0
- package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/module/styles/theme/theme.js +6 -5
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/format-data/index.js +11 -11
- package/lib/module/utils/format-data/index.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +12 -3
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
- package/lib/typescript/src/common/icons-svg/hourglass/index.d.ts +10 -0
- package/lib/typescript/src/components/button/styles.d.ts +2 -3
- package/lib/typescript/src/components/modal-activities/index.d.ts +6 -0
- package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +6 -0
- package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/src/utils/status-color/return-color.d.ts +2 -1
- package/package.json +221 -221
- package/src/common/icons-svg/agent/index.tsx +40 -40
- package/src/common/icons-svg/bed/index.tsx +41 -41
- package/src/common/icons-svg/car/index.tsx +29 -29
- package/src/common/icons-svg/check-outline/index.tsx +42 -42
- package/src/common/icons-svg/coffee/index.tsx +43 -43
- package/src/common/icons-svg/constants/index.ts +1 -0
- package/src/common/icons-svg/hourglass/index.tsx +28 -0
- package/src/common/icons-svg/index.tsx +8 -4
- package/src/common/icons-svg/pencil/index.tsx +32 -32
- package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
- package/src/common/icons-svg/truck-activity/index.tsx +29 -29
- package/src/components/activities-daily/index.tsx +116 -116
- package/src/components/activities-daily/interface.d.ts +22 -22
- package/src/components/activities-progress/index.tsx +162 -162
- package/src/components/activities-progress/interface.d.ts +41 -41
- package/src/components/avatar-profile/index.tsx +95 -95
- package/src/components/avatar-profile/interface.d.ts +39 -39
- package/src/components/button/styles.ts +34 -34
- package/src/components/card-history/index.tsx +67 -5
- package/src/components/card-history/interface.d.ts +34 -28
- package/src/components/card-loading/index.tsx +16 -4
- package/src/components/card-work-session/index.tsx +187 -187
- package/src/components/check-box/index.tsx +94 -94
- package/src/components/check-box/interface.d.ts +31 -31
- package/src/components/coil/index.tsx +103 -103
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/filter-date-selector/index.tsx +101 -101
- package/src/components/history-details/index.tsx +1 -2
- package/src/components/history-details/interface.d.ts +18 -18
- package/src/components/image-capture-with-remove/index.tsx +11 -8
- package/src/components/image-capture-with-remove/interface.d.ts +6 -3
- package/src/components/loading-progress/index.tsx +93 -91
- package/src/components/modal-activities/index.tsx +139 -0
- package/src/components/modal-activities/interface.d.ts +21 -0
- package/src/components/notification-loading/index.tsx +9 -2
- package/src/components/notification-loading/interface.d.ts +35 -35
- package/src/components/profile-menu-option/index.tsx +65 -65
- package/src/components/profile-menu-option/interface.d.ts +42 -42
- package/src/components/step-indicator/index.tsx +164 -164
- package/src/components/step-indicator/interface.d.ts +34 -34
- package/src/components/step-indicator/styles.ts +68 -67
- package/src/components/user-profile/index.tsx +204 -204
- package/src/index.ts +1 -0
- package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
- package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
- package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
- package/src/stories/card-history/card-history.stories.tsx +50 -50
- package/src/stories/card-loading/card-loading.stories.tsx +85 -85
- package/src/stories/check-box/check-box.stories.tsx +81 -81
- package/src/stories/coil/coil.stories.tsx +98 -98
- package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
- package/src/stories/history-details/history-details.stories.tsx +36 -36
- package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
- package/src/stories/modal-activities/modal-activities.stories.tsx +46 -0
- package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
- package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
- package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
- package/src/styles/global/interface.d.ts +146 -141
- package/src/styles/theme/theme.ts +1 -0
- package/src/utils/format-data/index.ts +66 -66
- package/src/utils/status-color/return-color.ts +14 -3
|
@@ -26,7 +26,8 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
26
26
|
*/
|
|
27
27
|
const LoadingProgress = ({
|
|
28
28
|
textLoading,
|
|
29
|
-
handleClick
|
|
29
|
+
handleClick,
|
|
30
|
+
backgroundColor
|
|
30
31
|
}) => {
|
|
31
32
|
const truncatedText = textLoading.length > 15 ? textLoading.substring(0, 13) + "..." : textLoading;
|
|
32
33
|
return /*#__PURE__*/_react.default.createElement(_box.Box, null, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
@@ -38,6 +39,7 @@ const LoadingProgress = ({
|
|
|
38
39
|
paddingStyle: {
|
|
39
40
|
padding: _theme.theme.paddings["2xs"]
|
|
40
41
|
},
|
|
42
|
+
backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : _theme.theme.colors.neutral[25],
|
|
41
43
|
borderStyled: {
|
|
42
44
|
borderWidth: _theme.theme.borderWidths.thin,
|
|
43
45
|
borderRadius: _theme.theme.borderWidths.thick_large,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_button","_theme","e","__esModule","default","LoadingProgress","textLoading","handleClick","truncatedText","length","substring","createElement","Box","Typography","text","size","theme","fontSizes","lg","fontFamily","fonts","inter_medium_500","color","colors","gray","paddingStyle","padding","paddings","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_large","borderStyle","borderColor","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_button","_theme","e","__esModule","default","LoadingProgress","textLoading","handleClick","backgroundColor","truncatedText","length","substring","createElement","Box","Typography","text","size","theme","fontSizes","lg","fontFamily","fonts","inter_medium_500","color","colors","gray","paddingStyle","padding","paddings","neutral","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_large","borderStyle","borderColor","marginStyle","marginTop","margins","marginBottom","flexStyle","flexDirection","textAlign","md","inter_bold_700","blue","letterSpacing","alignItems","justifyContent","Button","title","onPress","isLoading","height","width","buttonTextStyle","fontSize","thick_medium","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// component\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\nimport { Button } from \"../button\";\n\n// typings\nimport { ILoadingProgress } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n *\n * Componente LoadingProgress para a interação do usuário com ui.\n */\nconst LoadingProgress: React.FC<ILoadingProgress> = ({\n textLoading,\n handleClick,\n backgroundColor,\n}: ILoadingProgress) => {\n const truncatedText =\n textLoading.length > 15 ? textLoading.substring(0, 13) + \"...\" : textLoading;\n return (\n <Box>\n <Typography\n text=\"Carregamento em Andamento\"\n size={theme.fontSizes.lg}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n />\n <Box\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n backgroundColor={backgroundColor ?? theme.colors.neutral[25]}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_large,\n borderStyle: \"dashed\",\n borderColor: theme.colors.neutral[200],\n }}\n marginStyle={{ marginTop: theme.margins[\"2xs\"], marginBottom: theme.margins[\"2xs\"] }}\n >\n <Box flexStyle={{ flexDirection: \"row\", textAlign: \"center\" }}>\n <Typography\n text={\"N° Carregamento: \"}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_bold_700}\n color={theme.colors.blue[400]}\n />\n\n <Typography\n text={truncatedText}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\", flexDirection: \"row\" }}\n marginStyle={{ marginTop: theme.margins[\"2xs\"] }}\n >\n <Button\n title={\"Visualizar\"}\n onPress={handleClick}\n backgroundColor={theme.colors.blue[400]}\n isLoading={false}\n height={32}\n width={\"75%\"}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_medium_500,\n fontSize: theme.fontSizes.lg,\n }}\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\", flexDirection: \"row\" }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n </Box>\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { LoadingProgress };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAMA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAGA;;A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AE,EAAG;IACXC,KAAK,EAAE,KAAM;IACbC,eAAe,EAAE;MACflC,KAAK,EAAEN,YAAK,CAACO,MAAM,CAACK,OAAO,CAAC,EAAE,CAAC;MAC/BT,UAAU,EAAEH,YAAK,CAACI,KAAK,CAACC,gBAAgB;MACxCoC,QAAQ,EAAEzC,YAAK,CAACC,SAAS,CAACC;IAC5B,CAAE;IACFuB,SAAS,EAAE;MAAEO,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE,QAAQ;MAAEP,aAAa,EAAE;IAAM,CAAE;IACpFb,YAAY,EAAE;MACZI,YAAY,EAAEjB,YAAK,CAACe,YAAY,CAAC2B;IACnC;EAAE,CACH,CACE,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAAvD,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ModalActivities = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _box = require("../box");
|
|
10
|
+
var _iconsSvg = require("../../common/icons-svg");
|
|
11
|
+
var _theme = require("../../styles/theme/theme");
|
|
12
|
+
var _typography = require("../typography");
|
|
13
|
+
var _button = require("../button");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
/**
|
|
16
|
+
* IMPORTS
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// components
|
|
20
|
+
|
|
21
|
+
// commons / icons
|
|
22
|
+
|
|
23
|
+
// styles
|
|
24
|
+
|
|
25
|
+
//typing
|
|
26
|
+
|
|
27
|
+
const ModalActivities = ({
|
|
28
|
+
onClose,
|
|
29
|
+
handleActivity,
|
|
30
|
+
isLoading
|
|
31
|
+
}) => {
|
|
32
|
+
const activities = [{
|
|
33
|
+
id: 1,
|
|
34
|
+
name: "Operação com Veículo",
|
|
35
|
+
icon: "STEERING_WHEEL"
|
|
36
|
+
}, {
|
|
37
|
+
id: 2,
|
|
38
|
+
name: "Em Carga",
|
|
39
|
+
icon: "HOURGLASS"
|
|
40
|
+
}, {
|
|
41
|
+
id: 3,
|
|
42
|
+
name: "Em Descarga",
|
|
43
|
+
icon: "HOURGLASS"
|
|
44
|
+
}, {
|
|
45
|
+
id: 4,
|
|
46
|
+
name: "Disposição com Veículo Parado",
|
|
47
|
+
icon: "TRUCK_ACTIVITY"
|
|
48
|
+
}];
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
50
|
+
animationType: "fade",
|
|
51
|
+
transparent: true,
|
|
52
|
+
onRequestClose: onClose
|
|
53
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
54
|
+
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
55
|
+
flexStyle: {
|
|
56
|
+
flex: 1,
|
|
57
|
+
justifyContent: "center",
|
|
58
|
+
alignItems: "center"
|
|
59
|
+
}
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
61
|
+
height: 320,
|
|
62
|
+
width: "92%",
|
|
63
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
64
|
+
borderStyled: {
|
|
65
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
66
|
+
borderWidth: _theme.theme.borderWidths.thick,
|
|
67
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
68
|
+
},
|
|
69
|
+
paddingStyle: {
|
|
70
|
+
padding: _theme.theme.paddings.md
|
|
71
|
+
}
|
|
72
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
73
|
+
width: "100%",
|
|
74
|
+
flexStyle: {
|
|
75
|
+
flexDirection: "row",
|
|
76
|
+
justifyContent: "space-between",
|
|
77
|
+
alignItems: "center"
|
|
78
|
+
}
|
|
79
|
+
}, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
80
|
+
text: "Atividades",
|
|
81
|
+
size: _theme.theme.fontSizes.md,
|
|
82
|
+
color: _theme.theme.colors.blue[500],
|
|
83
|
+
fontFamily: _theme.theme.fonts.inter_bold_700
|
|
84
|
+
// fontWeight={"700"}
|
|
85
|
+
,
|
|
86
|
+
lineHeight: _theme.theme.fontSizes.xl
|
|
87
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
88
|
+
activeOpacity: 0.7,
|
|
89
|
+
onPress: onClose,
|
|
90
|
+
style: {}
|
|
91
|
+
}, /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
92
|
+
color: _theme.theme.colors.blue[500],
|
|
93
|
+
icon: "CLOSED"
|
|
94
|
+
}))), /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
95
|
+
marginStyle: {
|
|
96
|
+
marginTop: _theme.theme.margins["2xl"]
|
|
97
|
+
}
|
|
98
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
|
|
99
|
+
data: activities,
|
|
100
|
+
numColumns: 3,
|
|
101
|
+
keyExtractor: item => item.id.toString(),
|
|
102
|
+
scrollEnabled: false,
|
|
103
|
+
renderItem: ({
|
|
104
|
+
item
|
|
105
|
+
}) => /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
106
|
+
style: {
|
|
107
|
+
alignItems: "center",
|
|
108
|
+
width: 110,
|
|
109
|
+
marginBottom: _theme.theme.margins["2xl"] // espaço entre as linhas
|
|
110
|
+
},
|
|
111
|
+
onPress: () => handleActivity(item.name)
|
|
112
|
+
}, /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
113
|
+
color: _theme.theme.colors.blue[500],
|
|
114
|
+
icon: item.icon
|
|
115
|
+
}), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
116
|
+
text: item.name,
|
|
117
|
+
size: _theme.theme.fontSizes.xs,
|
|
118
|
+
color: _theme.theme.colors.blue[500],
|
|
119
|
+
lineHeight: _theme.theme.fontSizes.md,
|
|
120
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
121
|
+
fontWeight: "500",
|
|
122
|
+
align: "center",
|
|
123
|
+
marginTop: 5
|
|
124
|
+
}))
|
|
125
|
+
})), /*#__PURE__*/_react.default.createElement(_button.Button, {
|
|
126
|
+
title: "Cancelar Atividade",
|
|
127
|
+
width: "100%",
|
|
128
|
+
height: 40,
|
|
129
|
+
activeOpacity: 0.7,
|
|
130
|
+
onPress: onClose,
|
|
131
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
132
|
+
buttonTextStyle: {
|
|
133
|
+
color: _theme.theme.colors.neutral[25],
|
|
134
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
135
|
+
fontSize: _theme.theme.fontSizes.md,
|
|
136
|
+
fontWeight: "500"
|
|
137
|
+
},
|
|
138
|
+
marginStyle: {
|
|
139
|
+
marginTop: _theme.theme.margins.sm
|
|
140
|
+
},
|
|
141
|
+
flexStyle: {
|
|
142
|
+
flexDirection: "row",
|
|
143
|
+
alignItems: "center",
|
|
144
|
+
justifyContent: "center"
|
|
145
|
+
},
|
|
146
|
+
borderStyled: {
|
|
147
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
148
|
+
borderColor: _theme.theme.colors.blue[500],
|
|
149
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
150
|
+
},
|
|
151
|
+
isLoading: isLoading !== null && isLoading !== void 0 ? isLoading : false
|
|
152
|
+
}))));
|
|
153
|
+
};
|
|
154
|
+
exports.ModalActivities = ModalActivities;
|
|
155
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_iconsSvg","_theme","_typography","_button","e","__esModule","default","ModalActivities","onClose","handleActivity","isLoading","activities","id","name","icon","createElement","Modal","animationType","transparent","onRequestClose","Box","backgroundColor","flexStyle","flex","justifyContent","alignItems","height","width","theme","colors","neutral","borderStyled","borderColor","blue","borderWidth","borderWidths","thick","borderRadius","thick_medium","paddingStyle","padding","paddings","md","flexDirection","Typography","text","size","fontSizes","color","fontFamily","fonts","inter_bold_700","lineHeight","xl","TouchableOpacity","activeOpacity","onPress","style","Icons","marginStyle","marginTop","margins","FlatList","data","numColumns","keyExtractor","item","toString","scrollEnabled","renderItem","marginBottom","xs","inter_medium_500","fontWeight","align","Button","title","buttonTextStyle","fontSize","sm","thin","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { Modal, TouchableOpacity, FlatList } from \"react-native\";\r\n\r\n// components\r\n\r\nimport { Box } from \"../box\";\r\n\r\n// commons / icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\nimport { Typography } from \"../typography\";\r\nimport { Button } from \"../button\";\r\n\r\n//typing\r\nimport { IModalActivities } from \"./interface\";\r\n\r\nexport const ModalActivities: React.FC<IModalActivities> = ({\r\n onClose,\r\n handleActivity,\r\n isLoading,\r\n}) => {\r\n const activities = [\r\n { id: 1, name: \"Operação com Veículo\", icon: \"STEERING_WHEEL\" },\r\n { id: 2, name: \"Em Carga\", icon: \"HOURGLASS\" },\r\n { id: 3, name: \"Em Descarga\", icon: \"HOURGLASS\" },\r\n { id: 4, name: \"Disposição com Veículo Parado\", icon: \"TRUCK_ACTIVITY\" },\r\n ];\r\n\r\n return (\r\n <Modal animationType=\"fade\" transparent={true} onRequestClose={onClose}>\r\n <Box\r\n backgroundColor={\"rgba(0, 0, 0, 0.7)\"}\r\n flexStyle={{ flex: 1, justifyContent: \"center\", alignItems: \"center\" }}\r\n >\r\n <Box\r\n height={320}\r\n width={\"92%\"}\r\n backgroundColor={theme.colors.neutral[25]}\r\n borderStyled={{\r\n borderColor: theme.colors.blue[500],\r\n borderWidth: theme.borderWidths.thick,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n paddingStyle={{\r\n padding: theme.paddings.md,\r\n }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text=\"Atividades\"\r\n size={theme.fontSizes.md}\r\n color={theme.colors.blue[500]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n // fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.xl}\r\n />\r\n\r\n <TouchableOpacity activeOpacity={0.7} onPress={onClose} style={{}}>\r\n <Icons color={theme.colors.blue[500]} icon=\"CLOSED\" />\r\n </TouchableOpacity>\r\n </Box>\r\n {/* as atividades */}\r\n <Box marginStyle={{ marginTop: theme.margins[\"2xl\"] }}>\r\n <FlatList\r\n data={activities}\r\n numColumns={3}\r\n keyExtractor={(item) => item.id.toString()}\r\n scrollEnabled={false}\r\n renderItem={({ item }) => (\r\n <TouchableOpacity\r\n style={{\r\n alignItems: \"center\",\r\n width: 110,\r\n marginBottom: theme.margins[\"2xl\"], // espaço entre as linhas\r\n }}\r\n onPress={() => handleActivity(item.name)}\r\n >\r\n <Icons\r\n color={theme.colors.blue[500]}\r\n icon={item.icon as \"STEERING_WHEEL\" | \"HOURGLASS\" | \"TRUCK_ACTIVITY\"}\r\n />\r\n <Typography\r\n text={item.name}\r\n size={theme.fontSizes.xs}\r\n color={theme.colors.blue[500]}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n align=\"center\"\r\n marginTop={5}\r\n />\r\n </TouchableOpacity>\r\n )}\r\n />\r\n </Box>\r\n\r\n <Button\r\n title={\"Cancelar Atividade\"}\r\n width=\"100%\"\r\n height={40}\r\n activeOpacity={0.7}\r\n onPress={onClose}\r\n backgroundColor={theme.colors.blue[500]}\r\n buttonTextStyle={{\r\n color: theme.colors.neutral[25],\r\n fontFamily: theme.fonts.inter_medium_500,\r\n fontSize: theme.fontSizes.md,\r\n fontWeight: \"500\",\r\n }}\r\n marginStyle={{ marginTop: theme.margins.sm }}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.blue[500],\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n isLoading={isLoading ?? false}\r\n />\r\n </Box>\r\n </Box>\r\n </Modal>\r\n );\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,IAAA,GAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAAmC,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAhBnC;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAKA;;AAGO,MAAMG,eAA2C,GAAGA,CAAC;EAC1DC,OAAO;EACPC,cAAc;EACdC;AACF,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAG,CACjB;IAAEC,EAAE,EAAE,CAAC;IAAEC,IAAI,EAAE,sBAAsB;IAAEC,IAAI,EAAE;EAAiB,CAAC,EAC/D;IAAEF,EAAE,EAAE,CAAC;IAAEC,IAAI,EAAE,UAAU;IAAEC,IAAI,EAAE;EAAY,CAAC,EAC9C;IAAEF,EAAE,EAAE,CAAC;IAAEC,IAAI,EAAE,aAAa;IAAEC,IAAI,EAAE;EAAY,CAAC,EACjD;IAAEF,EAAE,EAAE,CAAC;IAAEC,IAAI,EAAE,+BAA+B;IAAEC,IA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lB,UAAU,EAAE,QAAQ;MACpBD,cAAc,EAAE;IAClB,CAAE;IACFO,YAAY,EAAE;MACZG,WAAW,EAAEN,YAAK,CAACO,YAAY,CAAC6C,IAAI;MACpChD,WAAW,EAAEJ,YAAK,CAACC,MAAM,CAACI,IAAI,CAAC,GAAG,CAAC;MACnCI,YAAY,EAAET,YAAK,CAACO,YAAY,CAACG;IACnC,CAAE;IACF5B,SAAS,EAAEA,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI;EAAM,CAC/B,CACE,CACF,CACA,CAAC;AAEZ,CAAC;AAACuE,OAAA,CAAA1E,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { ModalProps } from \"react-native\";\r\n\r\n// typing\r\nimport { IGlobalCss } from \"../../styles/global/interface\";\r\n\r\ninterface IModalActivities extends ModalProps, IGlobalCss {\r\n /** função que fecha modal */\r\n onClose: () => void;\r\n\r\n /** função que manda atividade selecionada */\r\n // eslint-disable-next-line no-unused-vars\r\n handleActivity: (activity: string) => void;\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IModalActivities };\r\n"],"mappings":"","ignoreList":[]}
|
|
@@ -77,15 +77,17 @@ const NotificationLoading = ({
|
|
|
77
77
|
}, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
78
78
|
text: "Carregamento - ",
|
|
79
79
|
size: _theme.theme.fontSizes.sm,
|
|
80
|
-
lineHeight: _theme.theme.fontSizes.
|
|
80
|
+
lineHeight: _theme.theme.fontSizes.lg,
|
|
81
81
|
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
82
|
+
fontWeight: "600",
|
|
82
83
|
color: _theme.theme.colors.neutral[25],
|
|
83
84
|
letterSpacing: "regular"
|
|
84
85
|
}), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
85
86
|
text: title,
|
|
86
87
|
size: _theme.theme.fontSizes.xs,
|
|
87
|
-
lineHeight: _theme.theme.fontSizes.
|
|
88
|
+
lineHeight: _theme.theme.fontSizes.md,
|
|
88
89
|
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
90
|
+
fontWeight: "700",
|
|
89
91
|
color: _theme.theme.colors.neutral[25],
|
|
90
92
|
letterSpacing: "regular"
|
|
91
93
|
})), /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
@@ -104,6 +106,7 @@ const NotificationLoading = ({
|
|
|
104
106
|
size: _theme.theme.fontSizes.sm,
|
|
105
107
|
lineHeight: (_theme$fontSizes$lg = _theme.theme.fontSizes.lg) !== null && _theme$fontSizes$lg !== void 0 ? _theme$fontSizes$lg : 18,
|
|
106
108
|
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
109
|
+
fontWeight: "500",
|
|
107
110
|
color: _theme.theme.colors.neutral[25],
|
|
108
111
|
letterSpacing: "regular"
|
|
109
112
|
}), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
|
|
@@ -111,6 +114,7 @@ const NotificationLoading = ({
|
|
|
111
114
|
size: _theme.theme.fontSizes.sm,
|
|
112
115
|
lineHeight: (_theme$fontSizes$lg2 = _theme.theme.fontSizes.lg) !== null && _theme$fontSizes$lg2 !== void 0 ? _theme$fontSizes$lg2 : 18,
|
|
113
116
|
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
117
|
+
fontWeight: "500",
|
|
114
118
|
color: _theme.theme.colors.neutral[25],
|
|
115
119
|
letterSpacing: "regular"
|
|
116
120
|
})), /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
@@ -122,6 +126,8 @@ const NotificationLoading = ({
|
|
|
122
126
|
text: String(dataStart),
|
|
123
127
|
size: _theme.theme.fontSizes["2xs"],
|
|
124
128
|
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
129
|
+
fontWeight: "500",
|
|
130
|
+
lineHeight: _theme.theme.fontSizes.sm,
|
|
125
131
|
color: _theme.theme.colors.neutral[25],
|
|
126
132
|
letterSpacing: "regular",
|
|
127
133
|
marginRight: 8
|
|
@@ -133,6 +139,7 @@ const NotificationLoading = ({
|
|
|
133
139
|
text: notification,
|
|
134
140
|
size: _theme.theme.fontSizes["2xs"],
|
|
135
141
|
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
142
|
+
fontWeight: "500",
|
|
136
143
|
lineHeight: (_theme$fontSizes$sm = _theme.theme.fontSizes.sm) !== null && _theme$fontSizes$sm !== void 0 ? _theme$fontSizes$sm : 14,
|
|
137
144
|
color: _theme.theme.colors.neutral[25],
|
|
138
145
|
letterSpacing: "regular",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","_returnColor","e","__esModule","default","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","TouchableOpacity","activeOpacity","onPress","disabled","Box","width","flexStyle","flexDirection","alignItems","backgroundColor","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","Icons","icon","size","color","neutral","paddingLeft","Typography","text","fontSizes","sm","lineHeight","fontFamily","fonts","inter_semi_bold_600","letterSpacing","xs","inter_bold_700","justifyContent","lg","inter_medium_500","String","marginRight","getStatusColor","ellipsizeMode","numberOfLines","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nimport { INotificationLoading } from \"./interface\";\r\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\r\n\r\nconst NotificationLoading: React.FC<INotificationLoading> = ({\r\n handleNavigation,\r\n title,\r\n testID,\r\n statusNotify,\r\n date,\r\n notification,\r\n dataStart,\r\n style,\r\n readonly,\r\n}) => {\r\n return (\r\n <TouchableOpacity\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n disabled={readonly}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAG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4B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCU,aAAa,EAAE,SAAU;IACzBS,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA9D,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","_returnColor","e","__esModule","default","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","TouchableOpacity","activeOpacity","onPress","disabled","Box","width","flexStyle","flexDirection","alignItems","backgroundColor","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","Icons","icon","size","color","neutral","paddingLeft","Typography","text","fontSizes","sm","lineHeight","lg","fontFamily","fonts","inter_semi_bold_600","fontWeight","letterSpacing","xs","md","inter_bold_700","justifyContent","inter_medium_500","String","marginRight","getStatusColor","ellipsizeMode","numberOfLines","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nimport { INotificationLoading } from \"./interface\";\r\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\r\n\r\nconst NotificationLoading: React.FC<INotificationLoading> = ({\r\n handleNavigation,\r\n title,\r\n testID,\r\n statusNotify,\r\n date,\r\n notification,\r\n dataStart,\r\n style,\r\n readonly,\r\n}) => {\r\n return (\r\n <TouchableOpacity\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n disabled={readonly}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,O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,CAAE;IAC7BI,UAAU,EAAEzB,YAAK,CAAC0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAAnC,mBAAA,GAAEY,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAlC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC4B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCY,aAAa,EAAE,SAAU;IACzBS,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAAhE,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { ViewProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface INotificationLoading extends ViewProps, IGlobalCss {\n /**propriedade que indica o título do carregamento */\n title: string;\n\n /**propriedade que indica a data do carregamento */\n date: string | Date;\n\n /**função que faz a navegação da tela */\n handleNavigation: () => void;\n\n /**propriedade que indica a notificação */\n notification: string;\n\n /**propriedade que indica o status da notificação */\n statusNotify: string;\n\n /**propriedade que indica a data da notificação */\n dataStart: string | Date;\n\n /**propriedade que indica se a notificação está lida ou não */\n readonly?: boolean;\n}\n\n/**\n * EXPORTS\n */\nexport { INotificationLoading };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","TouchableOpacity","onPress","activeOpacity","Box","flexStyle","alignItems","flexDirection","justifyContent","width","theme","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","Icons","color","neutral","Typography","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","TouchableOpacity","onPress","activeOpacity","Box","flexStyle","alignItems","flexDirection","justifyContent","width","theme","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","Icons","color","neutral","Typography","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["import 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\n// typing\nimport { IProfileMenuOption } from \"./interface\";\n\nconst ProfileMenuOption: React.FC<IProfileMenuOption> = ({\n handleNavigation,\n icon,\n text,\n backgroundColor,\n colorIcon,\n}) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n flexStyle={{\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n width={\"100%\"}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: theme.colors.blue[400],\n }}\n marginStyle={{ marginBottom: theme.margins.xs }}\n >\n <Box flexStyle={{ alignItems: \"center\", flexDirection: \"row\" }}>\n <Icons icon={icon ?? \"AGENT\"} color={colorIcon ?? theme.colors.neutral[25]} />\n <Typography\n text={text}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n marginLeft={theme.margins.xs}\n />\n </Box>\n <Typography\n text=\"›\"\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n color={theme.colors.neutral[25]}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\nexport { ProfileMenuOption };\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AARjD;;AAIA;;AAGA;;AAGA;;AAGA,MAAMG,iBAA+C,GAAGA,CAAC;EACvDC,gBAAgB;EAChBC,IAAI;EACJC,IAAI;EACJC,eAAe;EACfC;AACF,CAAC,KAAK;EACJ,oBACEhB,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACd,YAAA,CAAAe,gBAAgB;IAACC,OAAO,EAAEP,gBAAiB;IAACQ,aAAa,EAAE;EAAI,gBAC9DpB,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACb,IAAA,CAAAiB,GAAG;IACFC,SAAS,EAAE;MACTC,UAAU,EAAE,QAAQ;MACpBC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE;IAClB,CAAE;IACFC,KAAK,EAAE,MAAO;IACdX,eAAe,EAAEA,eAAe,aAAfA,eAAe,cAAfA,eAAe,GAAIY,YAAK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AAwC,UAAU;IACT/B,IAAI,EAAC,QAAG;IACRgC,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACM,gBAAiB;IACzCJ,UAAU,EAAE,KAAM;IAClBT,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE;EAAE,CACjC,CACE,CACW,CAAC;AAEvB,CAAC;AAACa,OAAA,CAAA9C,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { TouchableOpacityProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\n// svg\nimport { SVG_NAME } from \"../../common/icons-svg/constants\";\n\ninterface IProfileMenuOption extends TouchableOpacityProps, IGlobalCss {\n /**\n * nome do ícone\n */\n icon: keyof typeof SVG_NAME;\n\n /**\n * Propriedade texto do menu\n */\n text: string;\n\n /**\n * função de navegação\n */\n handleNavigation: () => void;\n\n /**\n * cor de fundo\n */\n backgroundColor?: string;\n\n /**\n * cor do ícone\n */\n colorIcon?: string;\n}\n\n/**\n * EXPORTS\n */\nexport { IProfileMenuOption };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -11,16 +11,16 @@ var _styles = require("./styles");
|
|
|
11
11
|
var _iconsSvg = require("../../common/icons-svg");
|
|
12
12
|
var _formatData = require("../../utils/format-data");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
/**
|
|
15
|
-
* IMPORTS
|
|
14
|
+
/**
|
|
15
|
+
* IMPORTS
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
// typings
|
|
19
19
|
|
|
20
20
|
// styles
|
|
21
21
|
|
|
22
|
-
/**
|
|
23
|
-
* Componente StepIndicator para a interação da ui.
|
|
22
|
+
/**
|
|
23
|
+
* Componente StepIndicator para a interação da ui.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
const StepIndicator = ({
|
|
@@ -138,8 +138,8 @@ const StepIndicator = ({
|
|
|
138
138
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, handleRenderComponent(type));
|
|
139
139
|
};
|
|
140
140
|
|
|
141
|
-
/**
|
|
142
|
-
* EXPORTS
|
|
141
|
+
/**
|
|
142
|
+
* EXPORTS
|
|
143
143
|
*/
|
|
144
144
|
exports.StepIndicator = StepIndicator;
|
|
145
145
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_getIconByStatus","_styles","_iconsSvg","_formatData","e","__esModule","default","StepIndicator","data","type","backgroundColorBall","textColorDescription","titleColor","titleNumberColor","StepDefault","createElement","Fragment","length","map","history","index","View","testID","style","styles","containerIndicator","key","id","containerBall","width","height","marginTop","position","backgroundColor","Text","titleNumber","containerMain","title","descricao","data_inicio","titleDescription","data_fim","duracao_segundos","formHoursMinute","StepCustom","paddingHorizontal","display","flexDirection","step","indexCustom","getIconKeyByValue","borderRadius","alignItems","justifyContent","borderWidth","borderColor","Icons","icon","top","fontWeight","fontSize","lineHeight","textAlign","color","handleRenderComponent","stepType","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { View, Text } from \"react-native\";\r\n\r\nimport { getIconKeyByValue } from \"./helpers/get-icon-by-status\";\r\n\r\n// typings\r\nimport { IStepIndicator } from \"./interface\";\r\n\r\n// styles\r\nimport { styles } from \"./styles\";\r\nimport { Icons } from \"../../common/icons-svg\";\r\nimport { formHoursMinute } from \"../../utils/format-data\";\r\n\r\n/**\r\n * Componente StepIndicator para a interação da ui.\r\n */\r\n\r\nconst StepIndicator: React.FC<IStepIndicator> = ({\r\n data = [],\r\n type,\r\n backgroundColorBall,\r\n textColorDescription,\r\n titleColor,\r\n titleNumberColor,\r\n}) => {\r\n const StepDefault = () => {\r\n return (\r\n <>\r\n {data!.length > 0 &&\r\n data!.map((history, index) => (\r\n <View testID=\"step-indicator\" style={styles({}).containerIndicator} key={history.id}>\r\n <View style={styles({ backgroundColorBall }).containerBall}>\r\n {data!?.length > 1 && index < data!?.length - 1 && (\r\n <View\r\n style={{\r\n width: 2,\r\n height: 84,\r\n marginTop: 116,\r\n position: \"relative\",\r\n backgroundColor: \"#050022\",\r\n }}\r\n />\r\n )}\r\n <Text style={styles({ titleNumberColor }).titleNumber}>\r\n {data!?.length - index}\r\n </Text>\r\n </View>\r\n\r\n <View style={styles({}).containerMain}>\r\n <Text style={styles({ titleColor }).title}>{history?.descricao}</Text>\r\n\r\n {history?.data_inicio && (\r\n <Text style={styles({ textColorDescription }).titleDescription}>\r\n {`Inicio: ${history.data_inicio} ás ${history.data_fim}`}\r\n </Text>\r\n )}\r\n\r\n {history.duracao_segundos && (\r\n <Text style={styles({ textColorDescription }).titleDescription}>\r\n Duração: {formHoursMinute(history?.duracao_segundos as string)}\r\n </Text>\r\n )}\r\n </View>\r\n </View>\r\n ))}\r\n </>\r\n );\r\n };\r\n\r\n const StepCustom = () => {\r\n return (\r\n <View\r\n style={{\r\n width: \"100%\",\r\n height: 84,\r\n paddingHorizontal: 24,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n }}\r\n >\r\n {data.map((step, indexCustom) => {\r\n const descricao = getIconKeyByValue(step.descricao);\r\n\r\n return (\r\n <React.Fragment key={`step-${indexCustom}`}>\r\n <View\r\n style={{\r\n width: 45,\r\n height: 45,\r\n backgroundColor: indexCustom <= 3 ? \"orange\" : \"transparent\",\r\n borderRadius: 50,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n borderWidth: 1,\r\n borderColor: \"#fff\",\r\n }}\r\n >\r\n <View\r\n style={{\r\n width: 45,\r\n height: 45,\r\n backgroundColor: \"transparent\",\r\n borderRadius: 50,\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n }}\r\n >\r\n {descricao && <Icons icon={descricao} />}\r\n </View>\r\n <Text\r\n style={{\r\n position: \"absolute\",\r\n top: 56,\r\n fontWeight: \"600\",\r\n fontSize: 10,\r\n lineHeight: 14,\r\n textAlign: \"center\",\r\n color: \"#fff\",\r\n width: 75,\r\n }}\r\n >\r\n {step.descricao}\r\n </Text>\r\n </View>\r\n\r\n {data?.length > 1 && indexCustom < data?.length - 1 && (\r\n <View\r\n style={{\r\n width: 35,\r\n height: 2,\r\n marginTop: 24,\r\n position: \"relative\",\r\n backgroundColor: \"orange\",\r\n }}\r\n />\r\n )}\r\n </React.Fragment>\r\n );\r\n })}\r\n </View>\r\n );\r\n };\r\n\r\n const handleRenderComponent = (stepType: \"default\" | \"custom\") => {\r\n switch (stepType) {\r\n case \"default\":\r\n return <StepDefault />;\r\n case \"custom\":\r\n return <StepCustom />;\r\n default:\r\n return <View />;\r\n }\r\n };\r\n\r\n return <>{handleRenderComponent(type!)}</>;\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { StepIndicator };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,gBAAA,GAAAF,OAAA;AAMA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAA0D,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAd1D;AACA;AACA;;AAMA;;AAGA;;AAKA;AACA;AACA;;AAEA,MAAMG,aAAuC,GAAGA,CAAC;EAC/CC,IAAI,GAAG,EAAE;EACTC,IAAI;EACJC,mBAAmB;EACnBC,oBAAoB;EACpBC,UA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V,SACF,CACF,CAAC,EAEN,CAAA9B,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAES,MAAM,IAAG,CAAC,IAAIgC,WAAW,GAAG,CAAAzC,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAES,MAAM,IAAG,CAAC,iBACjDrB,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAAChB,YAAA,CAAAsB,IAAI;QACHE,KAAK,EAAE;UACLM,KAAK,EAAE,EAAE;UACTC,MAAM,EAAE,CAAC;UACTC,SAAS,EAAE,EAAE;UACbC,QAAQ,EAAE,UAAU;UACpBC,eAAe,EAAE;QACnB;MAAE,CACH,CAEW,CAAC;IAErB,CAAC,CACG,CAAC;EAEX,CAAC;EAED,MAAM+B,qBAAqB,GAAIC,QAA8B,IAAK;IAChE,QAAQA,QAAQ;MACd,KAAK,SAAS;QACZ,oBAAOrE,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACD,WAAW,MAAE,CAAC;MACxB,KAAK,QAAQ;QACX,oBAAOlB,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAAC6B,UAAU,MAAE,CAAC;MACvB;QACE,oBAAOhD,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAAChB,YAAA,CAAAsB,IAAI,MAAE,CAAC;IACnB;EACF,CAAC;EAED,oBAAOzB,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAAAnB,MAAA,CAAAU,OAAA,CAAAU,QAAA,QAAGgD,qBAAqB,CAACvD,IAAK,CAAI,CAAC;AAC5C,CAAC;;AAED;AACA;AACA;AAFAyD,OAAA,CAAA3D,aAAA,GAAAA,aAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_getIconByStatus","_styles","_iconsSvg","_formatData","e","__esModule","default","StepIndicator","data","type","backgroundColorBall","textColorDescription","titleColor","titleNumberColor","StepDefault","createElement","Fragment","length","map","history","index","View","testID","style","styles","containerIndicator","key","id","containerBall","width","height","marginTop","position","backgroundColor","Text","titleNumber","containerMain","title","descricao","data_inicio","titleDescription","data_fim","duracao_segundos","formHoursMinute","StepCustom","paddingHorizontal","display","flexDirection","step","indexCustom","getIconKeyByValue","borderRadius","alignItems","justifyContent","borderWidth","borderColor","Icons","icon","top","fontWeight","fontSize","lineHeight","textAlign","color","handleRenderComponent","stepType","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { View, Text } from \"react-native\";\n\nimport { getIconKeyByValue } from \"./helpers/get-icon-by-status\";\n\n// typings\nimport { IStepIndicator } from \"./interface\";\n\n// styles\nimport { styles } from \"./styles\";\nimport { Icons } from \"../../common/icons-svg\";\nimport { formHoursMinute } from \"../../utils/format-data\";\n\n/**\n * Componente StepIndicator para a interação da ui.\n */\n\nconst StepIndicator: React.FC<IStepIndicator> = ({\n data = [],\n type,\n backgroundColorBall,\n textColorDescription,\n titleColor,\n titleNumberColor,\n}) => {\n const StepDefault = () => {\n return (\n <>\n {data!.length > 0 &&\n data!.map((history, index) => (\n <View testID=\"step-indicator\" style={styles({}).containerIndicator} key={history.id}>\n <View style={styles({ backgroundColorBall }).containerBall}>\n {data!?.length > 1 && index < data!?.length - 1 && (\n <View\n style={{\n width: 2,\n height: 84,\n marginTop: 116,\n position: \"relative\",\n backgroundColor: \"#050022\",\n }}\n />\n )}\n <Text style={styles({ titleNumberColor }).titleNumber}>\n {data!?.length - index}\n </Text>\n </View>\n\n <View style={styles({}).containerMain}>\n <Text style={styles({ titleColor }).title}>{history?.descricao}</Text>\n\n {history?.data_inicio && (\n <Text style={styles({ textColorDescription }).titleDescription}>\n {`Inicio: ${history.data_inicio} ás ${history.data_fim}`}\n </Text>\n )}\n\n {history.duracao_segundos && (\n <Text style={styles({ textColorDescription }).titleDescription}>\n Duração: {formHoursMinute(history?.duracao_segundos as string)}\n </Text>\n )}\n </View>\n </View>\n ))}\n </>\n );\n };\n\n const StepCustom = () => {\n return (\n <View\n style={{\n width: \"100%\",\n height: 84,\n paddingHorizontal: 24,\n display: \"flex\",\n flexDirection: \"row\",\n }}\n >\n {data.map((step, indexCustom) => {\n const descricao = getIconKeyByValue(step.descricao);\n\n return (\n <React.Fragment key={`step-${indexCustom}`}>\n <View\n style={{\n width: 45,\n height: 45,\n backgroundColor: indexCustom <= 3 ? \"orange\" : \"transparent\",\n borderRadius: 50,\n alignItems: \"center\",\n justifyContent: \"center\",\n borderWidth: 1,\n borderColor: \"#fff\",\n }}\n >\n <View\n style={{\n width: 45,\n height: 45,\n backgroundColor: \"transparent\",\n borderRadius: 50,\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n {descricao && <Icons icon={descricao} />}\n </View>\n <Text\n style={{\n position: \"absolute\",\n top: 56,\n fontWeight: \"600\",\n fontSize: 10,\n lineHeight: 14,\n textAlign: \"center\",\n color: \"#fff\",\n width: 75,\n }}\n >\n {step.descricao}\n </Text>\n </View>\n\n {data?.length > 1 && indexCustom < data?.length - 1 && (\n <View\n style={{\n width: 35,\n height: 2,\n marginTop: 24,\n position: \"relative\",\n backgroundColor: \"orange\",\n }}\n />\n )}\n </React.Fragment>\n );\n })}\n </View>\n );\n };\n\n const handleRenderComponent = (stepType: \"default\" | \"custom\") => {\n switch (stepType) {\n case \"default\":\n return <StepDefault />;\n case \"custom\":\n return <StepCustom />;\n default:\n return <View />;\n }\n };\n\n return <>{handleRenderComponent(type!)}</>;\n};\n\n/**\n * EXPORTS\n */\nexport { StepIndicator };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,gBAAA,GAAAF,OAAA;AAMA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAA0D,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;A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ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\ntype IData = {\n id: number;\n duracao_segundos: string | number;\n data_inicio: string;\n data_fim: string;\n descricao: string;\n};\ninterface IStepIndicator {\n /**dados que vão ser renderizados */\n data?: IData[];\n\n /**tupo de renderização padrão ou customizada */\n type?: \"default\" | \"custom\";\n\n /**tamanho do step indicator */\n backgroundColorBall?: string;\n\n /**cor do texto */\n titleColor?: string;\n\n /**cor do numero do step indicator */\n titleNumberColor?: string;\n\n /**cor do texto da descrição */\n textColorDescription?: string;\n}\n/**\n * EXPORTS\n */\nexport { type IStepIndicator };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.styles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _theme = require("../../styles/theme/theme");
|
|
9
|
-
/**
|
|
10
|
-
* IMPORTS
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// typings
|
|
@@ -36,7 +36,7 @@ const styles = props => {
|
|
|
36
36
|
title: {
|
|
37
37
|
color: (_props$titleColor = props.titleColor) !== null && _props$titleColor !== void 0 ? _props$titleColor : "black",
|
|
38
38
|
textAlign: "center",
|
|
39
|
-
lineHeight:
|
|
39
|
+
lineHeight: 20,
|
|
40
40
|
fontSize: _theme.theme.fontSizes["sm"],
|
|
41
41
|
fontWeight: "500",
|
|
42
42
|
marginLeft: 8
|
|
@@ -44,7 +44,7 @@ const styles = props => {
|
|
|
44
44
|
titleNumber: {
|
|
45
45
|
color: (_props$titleNumberCol = props.titleNumberColor) !== null && _props$titleNumberCol !== void 0 ? _props$titleNumberCol : _theme.theme.colors.neutral[25],
|
|
46
46
|
textAlign: "center",
|
|
47
|
-
lineHeight:
|
|
47
|
+
lineHeight: 16,
|
|
48
48
|
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
49
49
|
fontSize: _theme.theme.fontSizes["xs"],
|
|
50
50
|
position: "absolute"
|
|
@@ -53,8 +53,9 @@ const styles = props => {
|
|
|
53
53
|
color: (_props$textColorDescr = props.textColorDescription) !== null && _props$textColorDescr !== void 0 ? _props$textColorDescr : _theme.theme.colors.gray[700],
|
|
54
54
|
textAlign: "center",
|
|
55
55
|
lineHeight: 16,
|
|
56
|
-
fontSize:
|
|
57
|
-
fontFamily: _theme.theme.fonts.
|
|
56
|
+
fontSize: _theme.theme.fontSizes["xs"],
|
|
57
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
58
|
+
fontWeight: "400",
|
|
58
59
|
marginLeft: 8
|
|
59
60
|
},
|
|
60
61
|
containerMain: {
|
|
@@ -67,8 +68,8 @@ const styles = props => {
|
|
|
67
68
|
});
|
|
68
69
|
};
|
|
69
70
|
|
|
70
|
-
/**
|
|
71
|
-
* EXPORTS
|
|
71
|
+
/**
|
|
72
|
+
* EXPORTS
|
|
72
73
|
*/
|
|
73
74
|
exports.styles = styles;
|
|
74
75
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_theme","styles","props","_props$backgroundColo","_props$titleColor","_props$titleNumberCol","_props$textColorDescr","StyleSheet","create","containerIndicator","width","height","flexDirection","justifyContent","containerBall","backgroundColor","backgroundColorBall","theme","colors","blue","alignItems","borderRadius","title","color","titleColor","textAlign","lineHeight","fontSize","fontSizes","fontWeight","marginLeft","titleNumber","titleNumberColor","neutral","fontFamily","fonts","inter_regular_400","position","titleDescription","textColorDescription","gray","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","styles","props","_props$backgroundColo","_props$titleColor","_props$titleNumberCol","_props$textColorDescr","StyleSheet","create","containerIndicator","width","height","flexDirection","justifyContent","containerBall","backgroundColor","backgroundColorBall","theme","colors","blue","alignItems","borderRadius","title","color","titleColor","textAlign","lineHeight","fontSize","fontSizes","fontWeight","marginLeft","titleNumber","titleNumberColor","neutral","fontFamily","fonts","inter_regular_400","position","titleDescription","textColorDescription","gray","containerMain","exports"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { IStepIndicator } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst styles = (props: IStepIndicator) =>\r\n StyleSheet.create({\r\n containerIndicator: {\r\n width: \"100%\",\r\n height: 86,\r\n flexDirection: \"row\",\r\n justifyContent: \"flex-start\",\r\n // backgroundColor: theme.colors.gray[300],\r\n },\r\n containerBall: {\r\n width: 32,\r\n height: 32,\r\n backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n borderRadius: 16,\r\n },\r\n title: {\r\n color: props.titleColor ?? \"black\",\r\n textAlign: \"center\",\r\n lineHeight: 20,\r\n fontSize: theme.fontSizes[\"sm\"],\r\n fontWeight: \"500\",\r\n marginLeft: 8,\r\n },\r\n titleNumber: {\r\n color: props.titleNumberColor ?? theme.colors.neutral[25],\r\n textAlign: \"center\",\r\n lineHeight: 16,\r\n fontFamily: theme.fonts.inter_regular_400,\r\n fontSize: theme.fontSizes[\"xs\"],\r\n position: \"absolute\",\r\n },\r\n titleDescription: {\r\n color: props.textColorDescription ?? theme.colors.gray[700],\r\n textAlign: \"center\",\r\n lineHeight: 16,\r\n fontSize: theme.fontSizes[\"xs\"],\r\n fontFamily: theme.fonts.inter_regular_400,\r\n fontWeight: \"400\",\r\n marginLeft: 8,\r\n },\r\n containerMain: {\r\n width: \"100%\",\r\n height: 56,\r\n flexDirection: \"column\",\r\n alignItems: \"flex-start\",\r\n marginLeft: 2,\r\n },\r\n });\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { styles };\r\n"],"mappings":";;;;;;AAIA,IAAAA,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EV,YAAK,CAACW,SAAS,CAAC,IAAI,CAAC;MAC/BS,QAAQ,EAAE;IACZ,CAAC;IACDC,gBAAgB,EAAE;MAChBf,KAAK,GAAAjB,qBAAA,GAAEJ,KAAK,CAACqC,oBAAoB,cAAAjC,qBAAA,cAAAA,qBAAA,GAAIW,YAAK,CAACC,MAAM,CAACsB,IAAI,CAAC,GAAG,CAAC;MAC3Df,SAAS,EAAE,QAAQ;MACnBC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAEV,YAAK,CAACW,SAAS,CAAC,IAAI,CAAC;MAC/BM,UAAU,EAAEjB,YAAK,CAACkB,KAAK,CAACC,iBAAiB;MACzCP,UAAU,EAAE,KAAK;MACjBC,UAAU,EAAE;IACd,CAAC;IACDW,aAAa,EAAE;MACb/B,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,EAAE;MACVC,aAAa,EAAE,QAAQ;MACvBQ,UAAU,EAAE,YAAY;MACxBU,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AAFAY,OAAA,CAAAzC,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -11,8 +11,8 @@ var _typography = require("../typography");
|
|
|
11
11
|
var _constants = require("../../common/constants");
|
|
12
12
|
var _theme = require("../../styles/theme/theme");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
/**
|
|
15
|
-
* IMPORTS
|
|
14
|
+
/**
|
|
15
|
+
* IMPORTS
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
// components
|
|
@@ -23,8 +23,8 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
23
23
|
|
|
24
24
|
// styles
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* Componente Header para a interação do usuário com ui.
|
|
26
|
+
/**
|
|
27
|
+
* Componente Header para a interação do usuário com ui.
|
|
28
28
|
*/
|
|
29
29
|
const UserProfile = ({
|
|
30
30
|
nome,
|
|
@@ -195,8 +195,8 @@ const UserProfile = ({
|
|
|
195
195
|
})));
|
|
196
196
|
};
|
|
197
197
|
|
|
198
|
-
/**
|
|
199
|
-
* EXPORTS
|
|
198
|
+
/**
|
|
199
|
+
* EXPORTS
|
|
200
200
|
*/
|
|
201
201
|
exports.UserProfile = UserProfile;
|
|
202
202
|
//# sourceMappingURL=index.js.map
|