react-native-exp-fig 0.1.16 → 0.1.18
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 +4 -2
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/hourglass/index.js +4 -4
- package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/house/index.js +49 -0
- package/lib/commonjs/common/icons-svg/house/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +22 -8
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/island/index.js +34 -0
- package/lib/commonjs/common/icons-svg/island/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js +46 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js +47 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js +47 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +48 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js +46 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js +48 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +54 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js +45 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js +35 -0
- package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
- package/lib/commonjs/common/icons-svg/modal-activities/index.js +80 -0
- package/lib/commonjs/common/icons-svg/modal-activities/index.js.map +1 -0
- package/lib/commonjs/components/activities-progress/index.js +16 -14
- 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/card-history/index.js +20 -9
- 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/history-details/index.js +4 -4
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/menu-item/interface.d.js.map +1 -1
- package/lib/commonjs/components/modal-activities/data-activities/index.js +62 -0
- package/lib/commonjs/components/modal-activities/data-activities/index.js.map +1 -0
- package/lib/commonjs/components/modal-activities/index.js +30 -38
- package/lib/commonjs/components/modal-activities/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -1
- package/lib/commonjs/components/notification-loading/index.js +4 -4
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/styles.js +4 -4
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js +24 -14
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/commonjs/stories/card-history/card-history.stories.js +5 -2
- package/lib/commonjs/stories/card-history/card-history.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +21 -5
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/commonjs/utils/get-icon-by-property/index.js +85 -0
- package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +4 -2
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/hourglass/index.js +4 -4
- package/lib/module/common/icons-svg/hourglass/index.js.map +1 -1
- package/lib/module/common/icons-svg/house/index.js +41 -0
- package/lib/module/common/icons-svg/house/index.js.map +1 -0
- package/lib/module/common/icons-svg/index.js +22 -8
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/island/index.js +26 -0
- package/lib/module/common/icons-svg/island/index.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js +37 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js +38 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js +38 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +39 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js +37 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js +40 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +45 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js +36 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js +26 -0
- package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
- package/lib/module/common/icons-svg/modal-activities/index.js +75 -0
- package/lib/module/common/icons-svg/modal-activities/index.js.map +1 -0
- package/lib/module/components/activities-progress/index.js +15 -14
- 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/card-history/index.js +20 -9
- 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/history-details/index.js +4 -4
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/menu-item/interface.d.js.map +1 -1
- package/lib/module/components/modal-activities/data-activities/index.js +56 -0
- package/lib/module/components/modal-activities/data-activities/index.js.map +1 -0
- package/lib/module/components/modal-activities/index.js +29 -38
- package/lib/module/components/modal-activities/index.js.map +1 -1
- package/lib/module/components/modal-activities/interface.d.js.map +1 -1
- package/lib/module/components/notification-loading/index.js +4 -4
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +4 -4
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/activities-progress/activities-progress.stories.js +24 -14
- package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/module/stories/card-history/card-history.stories.js +5 -2
- package/lib/module/stories/card-history/card-history.stories.js.map +1 -1
- package/lib/module/stories/modal-activities/modal-activities.stories.js +20 -4
- package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/module/utils/get-icon-by-property/index.js +79 -0
- package/lib/module/utils/get-icon-by-property/index.js.map +1 -0
- package/lib/typescript/src/common/icons-svg/constants/index.d.ts +3 -1
- package/lib/typescript/src/common/icons-svg/house/index.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/island/index.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCallBell.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCoffee.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconGear.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHouse.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconMoonStars.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTimer.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTruck.d.ts +10 -0
- package/lib/typescript/src/common/icons-svg/modal-activities/index.d.ts +23 -0
- package/lib/typescript/src/components/modal-activities/data-activities/index.d.ts +19 -0
- package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +2 -1
- package/lib/typescript/src/utils/get-icon-by-property/index.d.ts +15 -0
- package/package.json +220 -221
- package/src/common/icons-svg/constants/index.ts +3 -1
- package/src/common/icons-svg/hourglass/index.tsx +28 -28
- package/src/common/icons-svg/house/index.tsx +41 -0
- package/src/common/icons-svg/index.tsx +14 -6
- package/src/common/icons-svg/island/index.tsx +25 -0
- package/src/common/icons-svg/modal-activities/SvgIconCallBell.tsx +37 -0
- package/src/common/icons-svg/modal-activities/SvgIconCoffee.tsx +38 -0
- package/src/common/icons-svg/modal-activities/SvgIconGear.tsx +38 -0
- package/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.tsx +38 -0
- package/src/common/icons-svg/modal-activities/SvgIconHouse.tsx +37 -0
- package/src/common/icons-svg/modal-activities/SvgIconMoonStars.tsx +39 -0
- package/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.tsx +48 -0
- package/src/common/icons-svg/modal-activities/SvgIconTimer.tsx +37 -0
- package/src/common/icons-svg/modal-activities/SvgIconTruck.tsx +28 -0
- package/src/common/icons-svg/modal-activities/index.tsx +53 -0
- package/src/components/activities-progress/index.tsx +169 -162
- package/src/components/activities-progress/interface.d.ts +61 -41
- package/src/components/button/styles.ts +34 -34
- package/src/components/card-history/index.tsx +28 -18
- package/src/components/card-history/interface.d.ts +5 -1
- package/src/components/card-loading/index.tsx +290 -290
- package/src/components/history-details/index.tsx +99 -99
- package/src/components/image-capture-with-remove/index.tsx +92 -92
- package/src/components/image-capture-with-remove/interface.d.ts +28 -28
- package/src/components/loading-progress/index.tsx +93 -93
- package/src/components/menu-item/interface.d.ts +1 -1
- package/src/components/modal-activities/data-activities/index.ts +65 -0
- package/src/components/modal-activities/index.tsx +137 -139
- package/src/components/modal-activities/interface.d.ts +32 -21
- package/src/components/notification-loading/index.tsx +162 -162
- package/src/components/step-indicator/styles.ts +68 -68
- package/src/index.ts +43 -43
- package/src/stories/activities-progress/activities-progress.stories.tsx +71 -61
- package/src/stories/card-history/card-history.stories.tsx +3 -0
- package/src/stories/modal-activities/modal-activities.stories.tsx +64 -46
- package/src/styles/global/interface.d.ts +146 -146
- package/src/styles/theme/theme.ts +171 -171
- package/src/utils/get-icon-by-property/index.tsx +53 -0
- package/src/utils/status-color/return-color.ts +34 -34
|
@@ -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","containerMain","exports"],"sources":["styles.ts"],"sourcesContent":["/**\
|
|
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":["/**\n * IMPORTS\n */\n\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { IStepIndicator } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst styles = (props: IStepIndicator) =>\n StyleSheet.create({\n containerIndicator: {\n width: \"100%\",\n height: 86,\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n // backgroundColor: theme.colors.gray[300],\n },\n containerBall: {\n width: 32,\n height: 32,\n backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: 16,\n },\n title: {\n color: props.titleColor ?? \"black\",\n textAlign: \"center\",\n lineHeight: 20,\n fontSize: theme.fontSizes[\"sm\"],\n fontWeight: \"500\",\n marginLeft: 8,\n },\n titleNumber: {\n color: props.titleNumberColor ?? theme.colors.neutral[25],\n textAlign: \"center\",\n lineHeight: 16,\n fontFamily: theme.fonts.inter_regular_400,\n fontSize: theme.fontSizes[\"xs\"],\n position: \"absolute\",\n },\n titleDescription: {\n color: props.textColorDescription ?? theme.colors.gray[700],\n textAlign: \"center\",\n lineHeight: 16,\n fontSize: theme.fontSizes[\"xs\"],\n fontFamily: theme.fonts.inter_regular_400,\n fontWeight: \"400\",\n marginLeft: 8,\n },\n containerMain: {\n width: \"100%\",\n height: 56,\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n marginLeft: 2,\n },\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":";;;;;;AAIA,IAAAA,YAAA,GAAAC,OAAA;AAMA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AC,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":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_box","require","_button","_stepIndicator","_typography","_input","_capturePhoto","_cardHours","_selectOption","_headerProfile","_scheduledJourneyIndicators","_cardScheduledJourney","_userProfile","_menuItem","_cardLoading","_cardWorkSession","_loadingProgress","_noData","_filterJourney","_coil","_filterDateSelector","_cardHistory","_notificationLoading","_checkBox","_imageCaptureWithRemove","_loadingDetails","_avatarProfile","_historyDetails","_activitiesDaily","_activitiesProgress","_profileMenuOption","_modalActivities","_mutiply","_formatData","_theme"],"sources":["index.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":["_box","require","_button","_stepIndicator","_typography","_input","_capturePhoto","_cardHours","_selectOption","_headerProfile","_scheduledJourneyIndicators","_cardScheduledJourney","_userProfile","_menuItem","_cardLoading","_cardWorkSession","_loadingProgress","_noData","_filterJourney","_coil","_filterDateSelector","_cardHistory","_notificationLoading","_checkBox","_imageCaptureWithRemove","_loadingDetails","_avatarProfile","_historyDetails","_activitiesDaily","_activitiesProgress","_profileMenuOption","_modalActivities","_mutiply","_formatData","_theme"],"sources":["index.ts"],"sourcesContent":["/**\n * EXPORTS\n */\n\n// Components\nexport { Box } from \"./components/box\";\nexport { Button } from \"./components/button\";\nexport { StepIndicator } from \"./components/step-indicator\";\nexport { Typography } from \"./components/typography\";\nexport { Input } from \"./components/input\";\nexport { CapturePhoto } from \"./components/capture-photo\";\nexport { CardHours } from \"./components/card-hours\";\nexport { SelectOption } from \"./components/selects/select-option\";\nexport { Header } from \"./components/header-profile\";\nexport { ScheduledJourneyIndicators } from \"./components/scheduled-journey-indicators\";\nexport { CardScheduledJourney } from \"./components/card-scheduled-journey\";\nexport { UserProfile } from \"./components/user-profile\";\nexport { MenuItem } from \"./components/menu-item\";\nexport { CardLoading } from \"./components/card-loading\";\nexport { CardWorkSession } from \"./components/card-work-session\";\nexport { LoadingProgress } from \"./components/loading-progress\";\nexport { NoData } from \"./components/no-data\";\nexport { FilterJourney } from \"./components/filter-journey\";\nexport { Coil } from \"./components/coil\";\nexport { FilterDateSelector } from \"./components/filter-date-selector\";\nexport { CardHistory } from \"./components/card-history\";\nexport { NotificationLoading } from \"./components/notification-loading\";\nexport { CheckBox } from \"./components/check-box\";\nexport { ImageCaptureWithRemove } from \"./components/image-capture-with-remove\";\nexport { LoadingDetails } from \"./components/loading-details\";\nexport { AvatarProfile } from \"./components/avatar-profile\";\nexport { HistoryDetails } from \"./components/history-details\";\nexport { ActivitiesDaily } from \"./components/activities-daily\";\nexport { ActivitiesProgress } from \"./components/activities-progress\";\nexport { ProfileMenuOption } from \"./components/profile-menu-option\";\nexport { ModalActivities } from \"./components/modal-activities\";\n\n// Utilities\nexport { multiply } from \"./utils/mutiply\";\nexport { formatDate, getLastSevenDays, formHoursMinute } from \"./utils/format-data\";\n\n// Styles\nexport { theme } from \"./styles/theme/theme\";\n"],"mappings":";;;;;;;;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A7B,OAAA;AACA,IAAA8B,gBAAA,GAAA9B,OAAA;AAGA,IAAA+B,QAAA,GAAA/B,OAAA;AACA,IAAAgC,WAAA,GAAAhC,OAAA;AAGA,IAAAiC,MAAA,GAAAjC,OAAA","ignoreList":[]}
|
|
@@ -9,10 +9,13 @@ const meta = {
|
|
|
9
9
|
title: "componente/ActivitiesProgress",
|
|
10
10
|
component: _activitiesProgress.ActivitiesProgress,
|
|
11
11
|
args: {
|
|
12
|
-
|
|
12
|
+
data_inicio: "11/05/2025",
|
|
13
13
|
duracao: "00:30",
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
data_inicio_horario: "17:20",
|
|
15
|
+
tipo_atividade: "trabalho",
|
|
16
|
+
titleLabel: "Operação com Veículo",
|
|
17
|
+
criado_ofiline: true,
|
|
18
|
+
referencia: "repouso_semanal"
|
|
16
19
|
},
|
|
17
20
|
parameters: {
|
|
18
21
|
notes: `
|
|
@@ -22,10 +25,13 @@ Este é um componente de progresso de atividades.
|
|
|
22
25
|
Você usa assim:
|
|
23
26
|
\`\`\`tsx
|
|
24
27
|
<ActivitiesProgress
|
|
25
|
-
|
|
28
|
+
data_inicio="11/05/2025"
|
|
26
29
|
duracao="00:30"
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
data_inicio_horario="17:20"
|
|
31
|
+
tipo_atividade="descanso"
|
|
32
|
+
titleLabel="Repouso Noturno"
|
|
33
|
+
criado_ofiline=true
|
|
34
|
+
referencia="repouso_semanal"
|
|
29
35
|
/>
|
|
30
36
|
\`\`\`
|
|
31
37
|
`
|
|
@@ -39,21 +45,25 @@ const ActivitiesProgressPadrao = exports.ActivitiesProgressPadrao = {
|
|
|
39
45
|
const ActivitiesProgressTrabalho = exports.ActivitiesProgressTrabalho = {
|
|
40
46
|
name: "activities-progress-trabalho",
|
|
41
47
|
args: {
|
|
42
|
-
|
|
48
|
+
data_inicio: "15/06/2023",
|
|
43
49
|
duracao: "01:45",
|
|
44
|
-
|
|
45
|
-
titleLabel: "
|
|
46
|
-
|
|
50
|
+
data_inicio_horario: "14:30",
|
|
51
|
+
titleLabel: "Em Carga",
|
|
52
|
+
tipo_atividade: "trabalho",
|
|
53
|
+
criado_ofiline: true,
|
|
54
|
+
referencia: "operacao_veiculo"
|
|
47
55
|
}
|
|
48
56
|
};
|
|
49
57
|
const ActivitiesProgressDescanso = exports.ActivitiesProgressDescanso = {
|
|
50
58
|
name: "activities-progress-descanso",
|
|
51
59
|
args: {
|
|
52
|
-
|
|
60
|
+
data_inicio: "20/07/2023",
|
|
53
61
|
duracao: "00:15",
|
|
54
|
-
|
|
55
|
-
titleLabel: "
|
|
56
|
-
|
|
62
|
+
data_inicio_horario: "12:00",
|
|
63
|
+
titleLabel: "Refeição",
|
|
64
|
+
tipo_atividade: "descanso",
|
|
65
|
+
criado_ofiline: false,
|
|
66
|
+
referencia: "refeicao"
|
|
57
67
|
}
|
|
58
68
|
};
|
|
59
69
|
//# sourceMappingURL=activities-progress.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_activitiesProgress","require","meta","title","component","ActivitiesProgress","args","
|
|
1
|
+
{"version":3,"names":["_activitiesProgress","require","meta","title","component","ActivitiesProgress","args","data_inicio","duracao","data_inicio_horario","tipo_atividade","titleLabel","criado_ofiline","referencia","parameters","notes","_default","exports","default","ActivitiesProgressPadrao","name","ActivitiesProgressTrabalho","ActivitiesProgressDescanso"],"sources":["activities-progress.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ActivitiesProgress } from \"../../components/activities-progress\";\r\n\r\nconst meta: Meta<typeof ActivitiesProgress> = {\r\n title: \"componente/ActivitiesProgress\",\r\n component: ActivitiesProgress,\r\n args: {\r\n data_inicio: \"11/05/2025\",\r\n duracao: \"00:30\",\r\n data_inicio_horario: \"17:20\",\r\n tipo_atividade: \"trabalho\",\r\n titleLabel: \"Operação com Veículo\",\r\n criado_ofiline: true,\r\n referencia: \"repouso_semanal\",\r\n },\r\n parameters: {\r\n notes: `\r\n# ActivitiesProgress\r\n\r\nEste é um componente de progresso de atividades.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ActivitiesProgress\r\n data_inicio=\"11/05/2025\"\r\n duracao=\"00:30\"\r\n data_inicio_horario=\"17:20\"\r\n tipo_atividade=\"descanso\"\r\n titleLabel=\"Repouso Noturno\"\r\n criado_ofiline=true\r\n referencia=\"repouso_semanal\"\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ActivitiesProgressPadrao: Story = {\r\n name: \"activities-progress-padrao\",\r\n args: {},\r\n};\r\n\r\nexport const ActivitiesProgressTrabalho: Story = {\r\n name: \"activities-progress-trabalho\",\r\n args: {\r\n data_inicio: \"15/06/2023\",\r\n duracao: \"01:45\",\r\n data_inicio_horario: \"14:30\",\r\n titleLabel: \"Em Carga\",\r\n tipo_atividade: \"trabalho\",\r\n criado_ofiline: true,\r\n referencia: \"operacao_veiculo\",\r\n },\r\n};\r\n\r\nexport const ActivitiesProgressDescanso: Story = {\r\n name: \"activities-progress-descanso\",\r\n args: {\r\n data_inicio: \"20/07/2023\",\r\n duracao: \"00:15\",\r\n data_inicio_horario: \"12:00\",\r\n titleLabel: \"Refeição\",\r\n tipo_atividade: \"descanso\",\r\n criado_ofiline: false,\r\n referencia: \"refeicao\",\r\n },\r\n};\r\n"],"mappings":";;;;;;AAEA,IAAAA,mBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEC,sCAAkB;EAC7BC,IAAI,EAAE;IACJC,WAAW,EAAE,YAAY;IACzBC,OAAO,EAAE,OAAO;IAChBC,mBAAmB,EAAE,OAAO;IAC5BC,cAAc,EAAE,UAAU;IAC1BC,UAAU,EAAE,sBAAsB;IAClCC,cAAc,EAAE,IAAI;IACpBC,UAAU,EAAE;EACd,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEahB,IAAI;AAIZ,MAAMiB,wBAA+B,GAAAF,OAAA,CAAAE,wBAAA,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCd,IAAI,EAAE,CAAC;AACT,CAAC;AAEM,MAAMe,0BAAiC,GAAAJ,OAAA,CAAAI,0BAAA,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCd,IAAI,EAAE;IACJC,WAAW,EAAE,YAAY;IACzBC,OAAO,EAAE,OAAO;IAChBC,mBAAmB,EAAE,OAAO;IAC5BE,UAAU,EAAE,UAAU;IACtBD,cAAc,EAAE,UAAU;IAC1BE,cAAc,EAAE,IAAI;IACpBC,UAAU,EAAE;EACd;AACF,CAAC;AAEM,MAAMS,0BAAiC,GAAAL,OAAA,CAAAK,0BAAA,GAAG;EAC/CF,IAAI,EAAE,8BAA8B;EACpCd,IAAI,EAAE;IACJC,WAAW,EAAE,YAAY;IACzBC,OAAO,EAAE,OAAO;IAChBC,mBAAmB,EAAE,OAAO;IAC5BE,UAAU,EAAE,UAAU;IACtBD,cAAc,EAAE,UAAU;IAC1BE,cAAc,EAAE,KAAK;IACrBC,UAAU,EAAE;EACd;AACF,CAAC","ignoreList":[]}
|
|
@@ -14,7 +14,8 @@ const meta = {
|
|
|
14
14
|
height: 90,
|
|
15
15
|
title: "Carregamento #01020304050607",
|
|
16
16
|
backgroundColor: _theme.theme.colors.blue[400],
|
|
17
|
-
handleNavigation: () => {}
|
|
17
|
+
handleNavigation: () => {},
|
|
18
|
+
status_carregamento: "Concluido"
|
|
18
19
|
},
|
|
19
20
|
parameters: {
|
|
20
21
|
notes: `
|
|
@@ -30,6 +31,7 @@ Você usa assim:
|
|
|
30
31
|
vehicle="EXP-0000"
|
|
31
32
|
prevision="12:37 10/03/2025"
|
|
32
33
|
handleNavigation={() => {}}
|
|
34
|
+
status={""}
|
|
33
35
|
/>
|
|
34
36
|
\`\`\`
|
|
35
37
|
`
|
|
@@ -44,7 +46,8 @@ const CardHistoryAprovado = exports.CardHistoryAprovado = {
|
|
|
44
46
|
local: "Doca 1, Patío 03 - Usiminas Ipatinga",
|
|
45
47
|
vehicle: "EXP-0000",
|
|
46
48
|
prevision: "12:37 10/03/2025",
|
|
47
|
-
handleNavigation: () => {}
|
|
49
|
+
handleNavigation: () => {},
|
|
50
|
+
status_carregamento: "red"
|
|
48
51
|
}
|
|
49
52
|
};
|
|
50
53
|
//# sourceMappingURL=card-history.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_cardHistory","require","_theme","meta","title","component","CardHistory","args","width","height","backgroundColor","theme","colors","blue","handleNavigation","parameters","notes","_default","exports","default","CardHistoryAprovado","name","local","vehicle","prevision"],"sources":["card-history.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { CardHistory } from \"../../components/card-history\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof CardHistory> = {\n title: \"componente/CardHistory\",\n component: CardHistory,\n args: {\n width: 120,\n height: 90,\n title: \"Carregamento #01020304050607\",\n backgroundColor: theme.colors.blue[400],\n handleNavigation: () => {},\n },\n parameters: {\n notes: `\n# CardHistory\n\nEste é um componente de CardHistory.\nVocê usa assim:\n\\`\\`\\`tsx\n <CardHistory\n width={\"100%\"}\n title=\"Carregamento #01020304050607\"\n local=\"Doca 1, Patío 03 - Usiminas Ipatinga\"\n vehicle=\"EXP-0000\"\n prevision=\"12:37 10/03/2025\"\n handleNavigation={() => {}}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CardHistoryAprovado: Story = {\n name: \"card-history\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n handleNavigation: () => {},\n },\n};\n"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEC,wBAAW;EACtBC,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,EAAE;IACVL,KAAK,EAAE,8BAA8B;IACrCM,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;
|
|
1
|
+
{"version":3,"names":["_cardHistory","require","_theme","meta","title","component","CardHistory","args","width","height","backgroundColor","theme","colors","blue","handleNavigation","status_carregamento","parameters","notes","_default","exports","default","CardHistoryAprovado","name","local","vehicle","prevision"],"sources":["card-history.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { CardHistory } from \"../../components/card-history\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof CardHistory> = {\r\n title: \"componente/CardHistory\",\r\n component: CardHistory,\r\n args: {\r\n width: 120,\r\n height: 90,\r\n title: \"Carregamento #01020304050607\",\r\n backgroundColor: theme.colors.blue[400],\r\n handleNavigation: () => {},\r\n status_carregamento: \"Concluido\",\r\n },\r\n parameters: {\r\n notes: `\r\n# CardHistory\r\n\r\nEste é um componente de CardHistory.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n <CardHistory\r\n width={\"100%\"}\r\n title=\"Carregamento #01020304050607\"\r\n local=\"Doca 1, Patío 03 - Usiminas Ipatinga\"\r\n vehicle=\"EXP-0000\"\r\n prevision=\"12:37 10/03/2025\"\r\n handleNavigation={() => {}}\r\n status={\"\"}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CardHistoryAprovado: Story = {\r\n name: \"card-history\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n handleNavigation: () => {},\r\n status_carregamento: \"red\",\r\n },\r\n};\r\n"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEC,wBAAW;EACtBC,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,EAAE;IACVL,KAAK,EAAE,8BAA8B;IACrCM,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,mBAAmB,EAAE;EACvB,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEajB,IAAI;AAIZ,MAAMkB,mBAA0B,GAAAF,OAAA,CAAAE,mBAAA,GAAG;EACxCC,IAAI,EAAE,cAAc;EACpBf,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbJ,KAAK,EAAE,8BAA8B;IACrCmB,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BX,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,mBAAmB,EAAE;EACvB;AACF,CAAC","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = exports.
|
|
6
|
+
exports.default = exports.DefaultWork = exports.DefaultRest = void 0;
|
|
7
7
|
var _modalActivities = require("../../components/modal-activities");
|
|
8
8
|
const meta = {
|
|
9
9
|
title: "componente/ModalActivities",
|
|
@@ -11,8 +11,9 @@ const meta = {
|
|
|
11
11
|
args: {
|
|
12
12
|
width: 120,
|
|
13
13
|
onClose: () => {},
|
|
14
|
+
activityType: "trabalho",
|
|
14
15
|
isLoading: false,
|
|
15
|
-
handleActivity: activity =>
|
|
16
|
+
handleActivity: activity => {
|
|
16
17
|
return activity;
|
|
17
18
|
}
|
|
18
19
|
},
|
|
@@ -25,6 +26,7 @@ Você usa assim:
|
|
|
25
26
|
\`\`\`tsx
|
|
26
27
|
<ModalActivities
|
|
27
28
|
{...args}
|
|
29
|
+
activityType={activity?.tipo || "trabalho"}
|
|
28
30
|
onClose={() => setIsVisible(false)}
|
|
29
31
|
handleActivity={handleActivity}
|
|
30
32
|
/>
|
|
@@ -33,11 +35,25 @@ Você usa assim:
|
|
|
33
35
|
}
|
|
34
36
|
};
|
|
35
37
|
var _default = exports.default = meta;
|
|
36
|
-
const
|
|
37
|
-
name: "modal-activities",
|
|
38
|
+
const DefaultWork = exports.DefaultWork = {
|
|
39
|
+
name: "modal-activities-work",
|
|
40
|
+
args: {
|
|
41
|
+
isLoading: false,
|
|
42
|
+
activityType: "trabalho",
|
|
43
|
+
onClose: () => {},
|
|
44
|
+
handleActivity: activity => () => {
|
|
45
|
+
return activity;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const DefaultRest = exports.DefaultRest = {
|
|
50
|
+
name: "modal-activities-rest",
|
|
38
51
|
args: {
|
|
39
|
-
width: 120,
|
|
40
52
|
isLoading: false,
|
|
53
|
+
activityType: "descanso",
|
|
54
|
+
style: {
|
|
55
|
+
marginLeft: 0
|
|
56
|
+
},
|
|
41
57
|
onClose: () => {},
|
|
42
58
|
handleActivity: activity => () => {
|
|
43
59
|
return activity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_modalActivities","require","meta","title","component","ModalActivities","args","width","onClose","isLoading","handleActivity","activity","parameters","notes","_default","exports","default","
|
|
1
|
+
{"version":3,"names":["_modalActivities","require","meta","title","component","ModalActivities","args","width","onClose","activityType","isLoading","handleActivity","activity","parameters","notes","_default","exports","default","DefaultWork","name","DefaultRest","style","marginLeft"],"sources":["modal-activities.stories.tsx"],"sourcesContent":["import { StoryObj, Meta } from \"@storybook/react\";\nimport { ModalActivities } from \"../../components/modal-activities\";\nimport { IActivity } from \"../../components/modal-activities/interface\";\n\nconst meta: Meta<typeof ModalActivities> = {\n title: \"componente/ModalActivities\",\n component: ModalActivities,\n args: {\n width: 120,\n onClose: () => {},\n activityType: \"trabalho\",\n isLoading: false,\n handleActivity: (activity: IActivity) => {\n return activity;\n },\n },\n parameters: {\n notes: `\n# MenuItem\n\nEste é um componente de MenuItem de menu.\nVocê usa assim:\n\\`\\`\\`tsx\n <ModalActivities\n {...args}\n activityType={activity?.tipo || \"trabalho\"}\n onClose={() => setIsVisible(false)}\n handleActivity={handleActivity}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const DefaultWork: Story = {\n name: \"modal-activities-work\",\n args: {\n isLoading: false,\n activityType: \"trabalho\",\n onClose: () => {},\n handleActivity: (activity: IActivity) => () => {\n return activity;\n },\n },\n};\n\nexport const DefaultRest: Story = {\n name: \"modal-activities-rest\",\n args: {\n isLoading: false,\n activityType: \"descanso\",\n style: {\n marginLeft: 0,\n },\n onClose: () => {},\n handleActivity: (activity: IActivity) => () => {\n return activity;\n },\n },\n};\n"],"mappings":";;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA;AAGA,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEC,gCAAe;EAC1BC,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE,KAAK;IAChBC,cAAc,EAAGC,QAAmB,IAAK;MACvC,OAAOA,QAAQ;IACjB;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaf,IAAI;AAIZ,MAAMgB,WAAkB,GAAAF,OAAA,CAAAE,WAAA,GAAG;EAChCC,IAAI,EAAE,uBAAuB;EAC7Bb,IAAI,EAAE;IACJI,SAAS,EAAE,KAAK;IAChBD,YAAY,EAAE,UAAU;IACxBD,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBG,cAAc,EAAGC,QAAmB,IAAK,MAAM;MAC7C,OAAOA,QAAQ;IACjB;EACF;AACF,CAAC;AAEM,MAAMQ,WAAkB,GAAAJ,OAAA,CAAAI,WAAA,GAAG;EAChCD,IAAI,EAAE,uBAAuB;EAC7Bb,IAAI,EAAE;IACJI,SAAS,EAAE,KAAK;IAChBD,YAAY,EAAE,UAAU;IACxBY,KAAK,EAAE;MACLC,UAAU,EAAE;IACd,CAAC;IACDd,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBG,cAAc,EAAGC,QAAmB,IAAK,MAAM;MAC7C,OAAOA,QAAQ;IACjB;EACF;AACF,CAAC","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 React from \"react\";\nimport { DimensionValue } from \"react-native\";\nimport { theme } from \"../theme/theme\";\n\nexport interface IGlobalCss {\n /**\n * A propriedade JSX que define um elemento ou componente filho.\n */\n children?: React.ReactNode;\n\n /**\n * TestID para testes automático e identificação\n */\n testID?: string;\n\n /**\n * A propriedade CSS abreviada border define a borda de um elemento. Ele define os valores de largura da borda, estilo da borda e cor da borda.\n */\n borderStyled?: {\n borderStyle?: \"solid\" | \"dotted\" | \"dashed\";\n\n borderRadius?: number | DimensionValue;\n borderTopRightRadius?: number | DimensionValue;\n borderTopLeftRadius?: number | DimensionValue;\n borderBottomRightRadius?: number | DimensionValue;\n borderBottomLeftRadius?: number | DimensionValue;\n\n borderWidth?: number | DimensionValue;\n borderLeftWidth?: number | DimensionValue;\n borderRightWidth?: number | DimensionValue;\n borderTopWidth?: number | DimensionValue;\n borderBottomWidth?: number | DimensionValue;\n\n borderColor?: string;\n borderBottomColor?: string;\n borderLeftColor?: string;\n borderRightColor?: string;\n borderTopColor?: string;\n };\n\n /**\n * Propriedades que define a orientação do button que é usada para representar uma página. Na maioria das vezes, esse valores corresponde ao posicionamento alvo da página impressa, se aplicável.\n */\n flexStyle?: {\n alignItems?: \"flex-start\" | \"flex-end\" | \"center\" | \"stretch\" | \"baseline\";\n alignSelf?: \"auto\" | \"flex-start\" | \"flex-end\" | \"center\" | \"stretch\" | \"baseline\";\n flex?: string | number;\n flexDirection?: \"column\" | \"column-reverse\" | \"row\" | \"row-reverse\";\n flexWrap?: \"nowrap\" | \"wrap\" | \"wrap-reverse\";\n textAlign?: \"auto\" | \"center\" | \"left\" | \"right\" | \"justify\";\n justifyContent?:\n | \"flex-start\"\n | \"flex-end\"\n | \"center\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\";\n };\n\n /**\n * A propriedade margin do CSS define a área de margem nos quatro lados do elemento. É uma abreviação que define todas as margens individuais de uma só vez: margin-top, margin-right (en-US), margin-bottom, e margin-left (en-US).\n */\n marginStyle?: {\n margin?: number | DimensionValue;\n marginLeft?: number | DimensionValue;\n marginRight?: number | DimensionValue;\n marginTop?: number | DimensionValue;\n marginBottom?: number | DimensionValue;\n };\n\n /**\n * A propriedade padding define uma a distância entre o conteúdo de um elemento e suas bordas. É um atalho que evita definir uma distância para cada lado separadamente (padding-top, padding-right, padding-bottom, padding-left).\n */\n paddingStyle?: {\n padding?: number | DimensionValue;\n paddingLeft?: number | DimensionValue;\n paddingRight?: number | DimensionValue;\n paddingTop?: number | DimensionValue;\n paddingBottom?: number | DimensionValue;\n };\n\n /**\n * A propriedade CSS height define a altura de um elemento. A altura de um elemento é a distância do topo da borda superior do elemento ao fundo da borda inferior.\n */\n height?: number | DimensionValue;\n\n /**\n * A propriedade CSS width define a largura de um elemento. A largura de um elemento é a distância do topo da borda esquerda do elemento ao fundo da borda direita.\n */\n width?: number | DimensionValue;\n\n /**\n * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..\n */\n backgroundColor?: string;\n\n /**\n * Propriedade texto que sera renderizado pro usuário final\n */\n text?: string;\n\n /**\n * A propriedade CSS color define o valor da cor de primeiro plano do texto e das decorações de texto de um elemento e define o valor currentcolor. currentcolor pode ser usado como um valor indireto em outras propriedades e é o padrão para outras propriedades de cores, como border-color.\n */\n color?: {\n colorSvg?: string;\n colorText?: string;\n colorTextBold?: string;\n colorTextData?: string;\n };\n\n /**\n * A propriedade abreviada CSS da fonte define todas as propriedades diferentes da fonte de um elemento. Alternativamente, ele define a fonte de um elemento como uma fonte do sistema.\n */\n fontStyle?: {\n font?: string;\n fontSize?: number;\n fontWeight?: \"100\" | \"300\" | \"400\" | \"500\" | \"600\" | \"700\" | \"800\" | \"900\" | \"bold\";\n fontFamily?: keyof typeof theme.fonts;\n letterSpacing?: keyof typeof theme.letterSpacing;\n lineHeight?: number;\n };\n\n /**\n * A propriedade CSS opacity define o nível de opacidade de um elemento. O valor da opacidade varia de 0 (totalmente transparente) a 1 (totalmente opaco).\n */\n disabled?: boolean;\n\n /**\n * A propriedade background do icon da cor.\n */\n backgroundColorIcon?: string;\n\n /**\n * props que indica o loading do button\n */\n isLoading?: boolean;\n}\n\n// /**\n// * EXPORTS\n// */\n// export { IGlobalCss };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getIconByProperty = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _iconsSvg = require("../../common/icons-svg");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
/**
|
|
11
|
+
* IMPORTS
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Function that will map property types to corresponding icons in SVG 🛠️.
|
|
16
|
+
* @param propertyType
|
|
17
|
+
* @param color
|
|
18
|
+
* @returns SVG
|
|
19
|
+
*/
|
|
20
|
+
const getIconByProperty = (propertyType, color) => {
|
|
21
|
+
switch (propertyType) {
|
|
22
|
+
case "operacao_veiculo":
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
24
|
+
color: color,
|
|
25
|
+
icon: "STEERING_WHEEL"
|
|
26
|
+
});
|
|
27
|
+
case "manutencao":
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
29
|
+
color: color,
|
|
30
|
+
icon: "GEAR"
|
|
31
|
+
});
|
|
32
|
+
case "aguardando_carga":
|
|
33
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
34
|
+
color: color,
|
|
35
|
+
icon: "TIMER"
|
|
36
|
+
});
|
|
37
|
+
case "disposicao_veiculo_parado":
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
39
|
+
color: color,
|
|
40
|
+
icon: "TRUCK"
|
|
41
|
+
});
|
|
42
|
+
case "aguardando_descarga":
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
44
|
+
color: color,
|
|
45
|
+
icon: "HOURGLASS"
|
|
46
|
+
});
|
|
47
|
+
case "descanso":
|
|
48
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
49
|
+
color: color,
|
|
50
|
+
icon: "COFFEE"
|
|
51
|
+
});
|
|
52
|
+
case "repouso_semanal":
|
|
53
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
54
|
+
color: color,
|
|
55
|
+
icon: "HOUSE"
|
|
56
|
+
});
|
|
57
|
+
case "repouso_noturno":
|
|
58
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
59
|
+
color: color,
|
|
60
|
+
icon: "MOON_STARS"
|
|
61
|
+
});
|
|
62
|
+
case "refeicao":
|
|
63
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
64
|
+
color: color,
|
|
65
|
+
icon: "CALL_BELL"
|
|
66
|
+
});
|
|
67
|
+
case "ferias":
|
|
68
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
69
|
+
color: color,
|
|
70
|
+
icon: "ISLAND"
|
|
71
|
+
});
|
|
72
|
+
default:
|
|
73
|
+
return /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
|
|
74
|
+
color: color,
|
|
75
|
+
icon: "STEERING_WHEEL"
|
|
76
|
+
});
|
|
77
|
+
// Retorna uma Svg default caso o tipo de propriedade não for reconhecido.
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* EXPORTS
|
|
83
|
+
*/
|
|
84
|
+
exports.getIconByProperty = getIconByProperty;
|
|
85
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_iconsSvg","e","__esModule","default","getIconByProperty","propertyType","color","createElement","Icons","icon","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport React from \"react\";\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n/**\r\n * Function that will map property types to corresponding icons in SVG 🛠️.\r\n * @param propertyType\r\n * @param color\r\n * @returns SVG\r\n */\r\nconst getIconByProperty: React.FC<any> = (propertyType: string, color?: string) => {\r\n switch (propertyType) {\r\n case \"operacao_veiculo\":\r\n return <Icons color={color} icon=\"STEERING_WHEEL\" />;\r\n\r\n case \"manutencao\":\r\n return <Icons color={color} icon=\"GEAR\" />;\r\n\r\n case \"aguardando_carga\":\r\n return <Icons color={color} icon=\"TIMER\" />;\r\n\r\n case \"disposicao_veiculo_parado\":\r\n return <Icons color={color} icon=\"TRUCK\" />;\r\n\r\n case \"aguardando_descarga\":\r\n return <Icons color={color} icon=\"HOURGLASS\" />;\r\n\r\n case \"descanso\":\r\n return <Icons color={color} icon=\"COFFEE\" />;\r\n\r\n case \"repouso_semanal\":\r\n return <Icons color={color} icon=\"HOUSE\" />;\r\n\r\n case \"repouso_noturno\":\r\n return <Icons color={color} icon=\"MOON_STARS\" />;\r\n\r\n case \"refeicao\":\r\n return <Icons color={color} icon=\"CALL_BELL\" />;\r\n\r\n case \"ferias\":\r\n return <Icons color={color} icon=\"ISLAND\" />;\r\n default:\r\n return <Icons color={color} icon=\"STEERING_WHEEL\" />; // Retorna uma Svg default caso o tipo de propriedade não for reconhecido.\r\n }\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { getIconByProperty };\r\n"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAA+C,SAAAD,uBAAAG,CAAA,WAAAA,CAAA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AACF,KAAK,EAAEA,KAAM;QAACG,IAAI,EAAC;MAAO,CAAE,CAAC;IAE7C,KAAK,iBAAiB;MACpB,oBAAOZ,MAAA,CAAAM,OAAA,CAAAI,aAAA,CAACP,SAAA,CAAAQ,KAAK;QAACF,KAAK,EAAEA,KAAM;QAACG,IAAI,EAAC;MAAY,CAAE,CAAC;IAElD,KAAK,UAAU;MACb,oBAAOZ,MAAA,CAAAM,OAAA,CAAAI,aAAA,CAACP,SAAA,CAAAQ,KAAK;QAACF,KAAK,EAAEA,KAAM;QAACG,IAAI,EAAC;MAAW,CAAE,CAAC;IAEjD,KAAK,QAAQ;MACX,oBAAOZ,MAAA,CAAAM,OAAA,CAAAI,aAAA,CAACP,SAAA,CAAAQ,KAAK;QAACF,KAAK,EAAEA,KAAM;QAACG,IAAI,EAAC;MAAQ,CAAE,CAAC;IAC9C;MACE,oBAAOZ,MAAA,CAAAM,OAAA,CAAAI,aAAA,CAACP,SAAA,CAAAQ,KAAK;QAACF,KAAK,EAAEA,KAAM;QAACG,IAAI,EAAC;MAAgB,CAAE,CAAC;IAAE;EAC1D;AACF,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAAN,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -37,7 +37,7 @@ const SVG_NAME = {
|
|
|
37
37
|
ARROW_DROP_DOWN: "arrow-drop-down",
|
|
38
38
|
CLOSED: "closed",
|
|
39
39
|
LOADING: "currency-circle-dollar",
|
|
40
|
-
|
|
40
|
+
ACTIVITY: "atividades",
|
|
41
41
|
HISTORY: "chart-bar",
|
|
42
42
|
BELL: "bell",
|
|
43
43
|
FILES: "files",
|
|
@@ -54,7 +54,9 @@ const SVG_NAME = {
|
|
|
54
54
|
CHECK_OUTLINE: "check-outline",
|
|
55
55
|
BED: "bed",
|
|
56
56
|
REFRESH_CCW_DOT: "refresh-ccw-dot",
|
|
57
|
-
HOURGLASS: "hourglass"
|
|
57
|
+
HOURGLASS: "hourglass",
|
|
58
|
+
HOUSE: "house",
|
|
59
|
+
ISLAND: "island"
|
|
58
60
|
};
|
|
59
61
|
|
|
60
62
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SVG_NAME","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","
|
|
1
|
+
{"version":3,"names":["SVG_NAME","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"],"sources":["index.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nconst SVG_NAME = {\r\n CAMERA_PLUS: \"camera-plus\",\r\n STEERING_WHEEL: \"steering-wheel\",\r\n CHECK_BOX_FILL: \"check-box-fill\",\r\n CHECK_BOX: \"check-box\",\r\n CHECK_BOX_OUTLINE: \"check-box-outline\",\r\n MOON_STARS: \"moon-stars\",\r\n CALL_BELL: \"call-bell\",\r\n STEERING_WHEEL_FILL: \"steering-wheel-fill\",\r\n TROPHY: \"trophy\",\r\n SHOPPING_CART: \"Pedido Realizado\",\r\n CREDIT_CARD: \"Pagamento Aprovado\",\r\n FILE_TEXT: \"Pedido Faturado\",\r\n TRUCK: \"Pedido Enviado\",\r\n PACKAGE_CHECK: \"Pedido Entregue\",\r\n PLUS: \"plus\",\r\n EYE_SLASH: \"eye-slash\",\r\n EYE: \"eye\",\r\n CALENDAR: \"calendar\",\r\n TIMER: \"timer\",\r\n GEAR: \"gear\",\r\n CURRENCY: \"currency\",\r\n GAUGE: \"gauge\",\r\n GAS_PUMP: \"gas-pump\",\r\n ARROW_LEFT: \"arrow-left\",\r\n BLUETOOTH: \"bluetooth\",\r\n BLUETOOTH_CONNECTED: \"bluetooth-connected\",\r\n LIST: \"list\",\r\n WIFI_X: \"wifi-x\",\r\n WIFI_HIGH: \"wifi-high\",\r\n NOTE_PINCEL: \"note-pincel\",\r\n CHECK_CIRCLE: \"check-circle\",\r\n ARROW_DROP_DOWN: \"arrow-drop-down\",\r\n CLOSED: \"closed\",\r\n LOADING: \"currency-circle-dollar\",\r\n ACTIVITY: \"atividades\",\r\n HISTORY: \"chart-bar\",\r\n BELL: \"bell\",\r\n FILES: \"files\",\r\n LIFEBUOY: \"lifebuoy\",\r\n RECUSED: \"recused\",\r\n EXCLAMATION_CIRCLE: \"exclamation-circle\",\r\n X_CIRCLE: \"x-circle\",\r\n ELLIPSE: \"ellipsis\",\r\n PENCIL: \"pencil\",\r\n CAR: \"car\",\r\n TRUCK_ACTIVITY: \"truck-activity\",\r\n COFFEE: \"coffee\",\r\n AGENT: \"agent\",\r\n CHECK_OUTLINE: \"check-outline\",\r\n BED: \"bed\",\r\n REFRESH_CCW_DOT: \"refresh-ccw-dot\",\r\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C,kBAAkB,EAAE,oBAAoB;EACxCC,QAAQ,EAAE,UAAU;EACpBC,OAAO,EAAE,UAAU;EACnBC,MAAM,EAAE,QAAQ;EAChBC,GAAG,EAAE,KAAK;EACVC,cAAc,EAAE,gBAAgB;EAChCC,MAAM,EAAE,QAAQ;EAChBC,KAAK,EAAE,OAAO;EACdC,aAAa,EAAE,eAAe;EAC9BC,GAAG,EAAE,KAAK;EACVC,eAAe,EAAE,iBAAiB;EAClCC,SAAS,EAAE,WAAW;EACtBC,KAAK,EAAE,OAAO;EACdC,MAAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;;AAEA,SAAStD,QAAQ","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import Svg, { Path } from "react-native-svg";
|
|
@@ -21,8 +21,8 @@ const SvgIconHourglass = ({
|
|
|
21
21
|
d: "M198 75.641V40a14.016 14.016 0 0 0-14-14H72a14.016 14.016 0 0 0-14 14v36a14.07 14.07 0 0 0 5.6 11.2L118 128l-54.4 40.8A14.07 14.07 0 0 0 58 180v36a14.016 14.016 0 0 0 14 14h112a14.016 14.016 0 0 0 14-14v-35.641a14.07 14.07 0 0 0-5.558-11.169L137.95 128l54.492-41.19A14.07 14.07 0 0 0 198 75.64M70 40a2.003 2.003 0 0 1 2-2h112a2.003 2.003 0 0 1 2 2v35.641a2.01 2.01 0 0 1-.794 1.596l-6.295 4.759H76.66L70.8 77.6A2.01 2.01 0 0 1 70 76Zm57.986 80.49L92.66 93.995h70.374ZM186 180.358V216a2.003 2.003 0 0 1-2 2H72a2.003 2.003 0 0 1-2-2v-36a2.01 2.01 0 0 1 .8-1.6L122 140v27.996a6 6 0 0 0 12 0v-27.94l51.206 38.707a2.01 2.01 0 0 1 .794 1.596"
|
|
22
22
|
}));
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* EXPORTS
|
|
24
|
+
/**
|
|
25
|
+
* EXPORTS
|
|
26
26
|
*/
|
|
27
27
|
export { SvgIconHourglass };
|
|
28
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","SvgIconHourglass","color","size","createElement","xmlns","width","height","viewBox","fill","d"],"sources":["index.tsx"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","SvgIconHourglass","color","size","createElement","xmlns","width","height","viewBox","fill","d"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport * as React from \"react\";\nimport Svg, { Path } from \"react-native-svg\";\n\n//typings\nimport { ISvgProps } from \"../interface\";\n\nconst SvgIconHourglass: React.FC<ISvgProps> = ({ color, size }) => (\n <Svg\n // @ts-ignore\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size ?? 25}\n height={size ?? 25}\n viewBox=\"0 0 256 256\"\n >\n <Path\n fill={color}\n d=\"M198 75.641V40a14.016 14.016 0 0 0-14-14H72a14.016 14.016 0 0 0-14 14v36a14.07 14.07 0 0 0 5.6 11.2L118 128l-54.4 40.8A14.07 14.07 0 0 0 58 180v36a14.016 14.016 0 0 0 14 14h112a14.016 14.016 0 0 0 14-14v-35.641a14.07 14.07 0 0 0-5.558-11.169L137.95 128l54.492-41.19A14.07 14.07 0 0 0 198 75.64M70 40a2.003 2.003 0 0 1 2-2h112a2.003 2.003 0 0 1 2 2v35.641a2.01 2.01 0 0 1-.794 1.596l-6.295 4.759H76.66L70.8 77.6A2.01 2.01 0 0 1 70 76Zm57.986 80.49L92.66 93.995h70.374ZM186 180.358V216a2.003 2.003 0 0 1-2 2H72a2.003 2.003 0 0 1-2-2v-36a2.01 2.01 0 0 1 .8-1.6L122 140v27.996a6 6 0 0 0 12 0v-27.94l51.206 38.707a2.01 2.01 0 0 1 .794 1.596\"\n ></Path>\n </Svg>\n);\n\n/**\n * EXPORTS\n */\nexport { SvgIconHourglass };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;;AAE5C;;AAGA,MAAMC,gBAAqC,GAAGA,CAAC;EAAEC,KAAK;EAAEC;AAAK,CAAC,kBAC5DL,KAAA,CAAAM,aAAA,CAACL;AACC;AAAA;EACAM,KAAK,EAAC,4BAA4B;EAClCC,KAAK,EAAEH,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,EAAG;EAClBI,MAAM,EAAEJ,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,EAAG;EACnBK,OAAO,EAAC;AAAa,gBAErBV,KAAA,CAAAM,aAAA,CAACJ,IAAI;EACHS,IAAI,EAAEP,KAAM;EACZQ,CAAC,EAAC;AAA6nB,CAC1nB,CACJ,CACN;;AAED;AACA;AACA;AACA,SAAST,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import React from "react";
|
|
6
|
+
import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
|
|
7
|
+
|
|
8
|
+
//typings
|
|
9
|
+
|
|
10
|
+
const SvgIconHouse = ({
|
|
11
|
+
color,
|
|
12
|
+
size
|
|
13
|
+
}) => /*#__PURE__*/React.createElement(Svg
|
|
14
|
+
//@ts-ignore
|
|
15
|
+
, {
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
width: size !== null && size !== void 0 ? size : 24,
|
|
18
|
+
height: size !== null && size !== void 0 ? size : 24,
|
|
19
|
+
fill: "none",
|
|
20
|
+
viewBox: "0 0 25 25"
|
|
21
|
+
}, /*#__PURE__*/React.createElement(G, {
|
|
22
|
+
clipPath: "url(#clip0_747_115)"
|
|
23
|
+
}, /*#__PURE__*/React.createElement(Path, {
|
|
24
|
+
stroke: color !== null && color !== void 0 ? color : "#050022",
|
|
25
|
+
strokeLinecap: "round",
|
|
26
|
+
strokeLinejoin: "round",
|
|
27
|
+
strokeWidth: "2",
|
|
28
|
+
d: "M14.75 20v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V20a.75.75 0 01-.75.75H5a.75.75 0 01-.75-.75v-8.668a.75.75 0 01.246-.555l7.5-7.082a.75.75 0 011.01 0l7.5 7.082a.75.75 0 01.245.555V20a.75.75 0 01-.75.75H15.5a.75.75 0 01-.75-.75z"
|
|
29
|
+
})), /*#__PURE__*/React.createElement(Defs, null, /*#__PURE__*/React.createElement(ClipPath, {
|
|
30
|
+
id: "clip0_747_115"
|
|
31
|
+
}, /*#__PURE__*/React.createElement(Path, {
|
|
32
|
+
fill: "#fff",
|
|
33
|
+
d: "M0 0H24V24H0z",
|
|
34
|
+
transform: "translate(.5 .5)"
|
|
35
|
+
}))));
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* EXPORTS
|
|
39
|
+
*/
|
|
40
|
+
export { SvgIconHouse };
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","Defs","G","ClipPath","SvgIconHouse","color","size","createElement","xmlns","width","height","fill","viewBox","clipPath","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","id","transform"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport React from \"react\";\r\n\r\nimport Svg, { Path, Defs, G, ClipPath } from \"react-native-svg\";\r\n\r\n//typings\r\nimport { ISvgProps } from \"../interface\";\r\n\r\nconst SvgIconHouse: React.FC<ISvgProps> = ({ color, size }) => (\r\n <Svg\r\n //@ts-ignore\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width={size ?? 24}\r\n height={size ?? 24}\r\n fill=\"none\"\r\n viewBox=\"0 0 25 25\"\r\n >\r\n <G clipPath=\"url(#clip0_747_115)\">\r\n <Path\r\n stroke={color ?? \"#050022\"}\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n strokeWidth=\"2\"\r\n d=\"M14.75 20v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V20a.75.75 0 01-.75.75H5a.75.75 0 01-.75-.75v-8.668a.75.75 0 01.246-.555l7.5-7.082a.75.75 0 011.01 0l7.5 7.082a.75.75 0 01.245.555V20a.75.75 0 01-.75.75H15.5a.75.75 0 01-.75-.75z\"\r\n ></Path>\r\n </G>\r\n <Defs>\r\n <ClipPath id=\"clip0_747_115\">\r\n <Path fill=\"#fff\" d=\"M0 0H24V24H0z\" transform=\"translate(.5 .5)\"></Path>\r\n </ClipPath>\r\n </Defs>\r\n </Svg>\r\n);\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { SvgIconHouse };\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,GAAG,IAAIC,IAAI,EAAEC,IAAI,EAAEC,CAAC,EAAEC,QAAQ,QAAQ,kBAAkB;;AAE/D;;AAGA,MAAMC,YAAiC,GAAGA,CAAC;EAAEC,KAAK;EAAEC;AAAK,CAAC,kBACxDR,KAAA,CAAAS,aAAA,CAACR;AACC;AAAA;EACAS,KAAK,EAAC,4BAA4B;EAClCC,KAAK,EAAEH,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,EAAG;EAClBI,MAAM,EAAEJ,IAAI,aAAJA,IAAI,cAAJA,IAAI,GAAI,EAAG;EACnBK,IAAI,EAAC,MAAM;EACXC,OAAO,EAAC;AAAW,gBAEnBd,KAAA,CAAAS,aAAA,CAACL,CAAC;EAACW,QAAQ,EAAC;AAAqB,gBAC/Bf,KAAA,CAAAS,aAAA,CAACP,IAAI;EACHc,MAAM,EAAET,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,SAAU;EAC3BU,aAAa,EAAC,OAAO;EACrBC,cAAc,EAAC,OAAO;EACtBC,WAAW,EAAC,GAAG;EACfC,CAAC,EAAC;AAA4O,CACzO,CACN,CAAC,eACJpB,KAAA,CAAAS,aAAA,CAACN,IAAI,qBACHH,KAAA,CAAAS,aAAA,CAACJ,QAAQ;EAACgB,EAAE,EAAC;AAAe,gBAC1BrB,KAAA,CAAAS,aAAA,CAACP,IAAI;EAACW,IAAI,EAAC,MAAM;EAACO,CAAC,EAAC,eAAe;EAACE,SAAS,EAAC;AAAkB,CAAO,CAC/D,CACN,CACH,CACN;;AAED;AACA;AACA;AACA,SAAShB,YAAY","ignoreList":[]}
|
|
@@ -35,9 +35,7 @@ import { SvgIconWiFiHigh } from "./wifi-high";
|
|
|
35
35
|
import { SvgIconWiFiX } from "./wifi-x";
|
|
36
36
|
import { SvgIconArrowDropDown } from "./arrow-drop-down";
|
|
37
37
|
import { SvgIconClosed } from "./closed";
|
|
38
|
-
import { SvgPackage } from "./package";
|
|
39
38
|
import { SvgChartBar } from "./chart-bar";
|
|
40
|
-
import { SvgTruckTrailer } from "./truck-trailer";
|
|
41
39
|
import { SvgIconBell } from "./bell";
|
|
42
40
|
import { SvgIconFiles } from "./files";
|
|
43
41
|
import { SvgIconLifebuoy } from "./lifebuoy";
|
|
@@ -56,11 +54,15 @@ import { SvgIconAgent } from "./agent";
|
|
|
56
54
|
import { SvgIconBed } from "./bed";
|
|
57
55
|
import { SvgIconRefreshCcwDot } from "./refresh-ccw-dot";
|
|
58
56
|
import { SvgIconHourglass } from "./hourglass";
|
|
57
|
+
import { SvgCurrencyCircleDollar } from "./currency-circle-dollar";
|
|
58
|
+
import { SvgPackage } from "./package";
|
|
59
|
+
import { SvgIconHouse } from "./house";
|
|
59
60
|
|
|
60
61
|
// typing
|
|
61
62
|
|
|
62
63
|
// styles
|
|
63
64
|
import { theme } from "../../styles/theme/theme";
|
|
65
|
+
import { SvgIconIsland } from "./island";
|
|
64
66
|
const Icons = ({
|
|
65
67
|
icon,
|
|
66
68
|
color,
|
|
@@ -357,6 +359,18 @@ const Icons = ({
|
|
|
357
359
|
size: size,
|
|
358
360
|
icon: "HOURGLASS"
|
|
359
361
|
});
|
|
362
|
+
case "HOUSE":
|
|
363
|
+
return /*#__PURE__*/React.createElement(SvgIconHouse, {
|
|
364
|
+
color: color,
|
|
365
|
+
size: size,
|
|
366
|
+
icon: "HOUSE"
|
|
367
|
+
});
|
|
368
|
+
case "ISLAND":
|
|
369
|
+
return /*#__PURE__*/React.createElement(SvgIconIsland, {
|
|
370
|
+
color: color,
|
|
371
|
+
size: size,
|
|
372
|
+
icon: "ISLAND"
|
|
373
|
+
});
|
|
360
374
|
default:
|
|
361
375
|
return /*#__PURE__*/React.createElement(SvgIconCameraPlus, {
|
|
362
376
|
color: color,
|
|
@@ -371,14 +385,14 @@ const IconsMenuItems = ({
|
|
|
371
385
|
size
|
|
372
386
|
}) => {
|
|
373
387
|
switch (icon) {
|
|
374
|
-
case "
|
|
375
|
-
return /*#__PURE__*/React.createElement(
|
|
388
|
+
case "ACTIVITY":
|
|
389
|
+
return /*#__PURE__*/React.createElement(SvgCurrencyCircleDollar, {
|
|
376
390
|
color: color,
|
|
377
391
|
size: size,
|
|
378
|
-
icon: "
|
|
392
|
+
icon: "ACTIVITY"
|
|
379
393
|
});
|
|
380
394
|
case "LOADING":
|
|
381
|
-
return /*#__PURE__*/React.createElement(
|
|
395
|
+
return /*#__PURE__*/React.createElement(SvgPackage, {
|
|
382
396
|
color: color,
|
|
383
397
|
size: size,
|
|
384
398
|
icon: "LOADING"
|
|
@@ -390,10 +404,10 @@ const IconsMenuItems = ({
|
|
|
390
404
|
icon: "HISTORY"
|
|
391
405
|
});
|
|
392
406
|
default:
|
|
393
|
-
return /*#__PURE__*/React.createElement(
|
|
407
|
+
return /*#__PURE__*/React.createElement(SvgCurrencyCircleDollar, {
|
|
394
408
|
color: color,
|
|
395
409
|
size: size,
|
|
396
|
-
icon: "
|
|
410
|
+
icon: "ACTIVITY"
|
|
397
411
|
});
|
|
398
412
|
}
|
|
399
413
|
};
|