react-native-exp-fig 0.1.10 → 0.1.11
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/README.md +1 -1
- package/lib/commonjs/common/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/agent/index.js +45 -0
- package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js +10 -14
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/arrow-left/index.js +11 -13
- package/lib/commonjs/common/icons-svg/arrow-left/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bed/index.js +47 -0
- package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bell/index.js +8 -10
- package/lib/commonjs/common/icons-svg/bell/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bluetooth/index.js +18 -24
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js +21 -27
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/calendar/index.js +20 -26
- package/lib/commonjs/common/icons-svg/calendar/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/call-bell/index.js +8 -10
- package/lib/commonjs/common/icons-svg/call-bell/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/camera-plus/index.js +19 -27
- package/lib/commonjs/common/icons-svg/camera-plus/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/car/index.js +37 -0
- package/lib/commonjs/common/icons-svg/car/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/chart-bar/index.js +8 -10
- package/lib/commonjs/common/icons-svg/chart-bar/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-box/index.js +11 -15
- package/lib/commonjs/common/icons-svg/check-box/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js +8 -12
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js +8 -12
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-circle/index.js +18 -20
- package/lib/commonjs/common/icons-svg/check-circle/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-outline/index.js +50 -0
- package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/closed/index.js +18 -24
- package/lib/commonjs/common/icons-svg/closed/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/coffee/index.js +50 -0
- package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +13 -5
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/credit-card/index.js +10 -12
- package/lib/commonjs/common/icons-svg/credit-card/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/currency/index.js +18 -24
- package/lib/commonjs/common/icons-svg/currency/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js +8 -10
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/ellipse/index.js +12 -16
- package/lib/commonjs/common/icons-svg/ellipse/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js +15 -21
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/eye/index.js +12 -17
- package/lib/commonjs/common/icons-svg/eye/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/eye-slash/index.js +10 -13
- package/lib/commonjs/common/icons-svg/eye-slash/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/file-text/index.js +17 -21
- package/lib/commonjs/common/icons-svg/file-text/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/files/index.js +8 -10
- package/lib/commonjs/common/icons-svg/files/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/gas-pump/index.js +19 -25
- package/lib/commonjs/common/icons-svg/gas-pump/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/gauge/index.js +18 -24
- package/lib/commonjs/common/icons-svg/gauge/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/gear/index.js +20 -26
- package/lib/commonjs/common/icons-svg/gear/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +150 -94
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/interface.d.js.map +1 -1
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js +8 -10
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/list/index.js +32 -38
- package/lib/commonjs/common/icons-svg/list/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/moon-stars/index.js +8 -10
- package/lib/commonjs/common/icons-svg/moon-stars/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/note-pincel/index.js +21 -27
- package/lib/commonjs/common/icons-svg/note-pincel/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/package/index.js +8 -10
- package/lib/commonjs/common/icons-svg/package/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/package-check/index.js +22 -26
- package/lib/commonjs/common/icons-svg/package-check/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/pencil/index.js +40 -0
- package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/plus/index.js +20 -28
- package/lib/commonjs/common/icons-svg/plus/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/recused/index.js +16 -18
- package/lib/commonjs/common/icons-svg/recused/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +47 -0
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js +17 -21
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js +27 -33
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js +15 -21
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/timer/index.js +18 -24
- package/lib/commonjs/common/icons-svg/timer/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/trophy/index.js +8 -10
- package/lib/commonjs/common/icons-svg/trophy/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck/index.js +17 -21
- package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck-activity/index.js +37 -0
- package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js +15 -21
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/wifi-high/index.js +22 -28
- package/lib/commonjs/common/icons-svg/wifi-high/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/wifi-x/index.js +28 -34
- package/lib/commonjs/common/icons-svg/wifi-x/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/x-circle/index.js +18 -24
- package/lib/commonjs/common/icons-svg/x-circle/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/index.js +120 -0
- package/lib/commonjs/components/activities-daily/index.js.map +1 -0
- package/lib/commonjs/components/activities-daily/interface.d.js +6 -0
- package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -0
- package/lib/commonjs/components/activities-progress/index.js +165 -0
- package/lib/commonjs/components/activities-progress/index.js.map +1 -0
- package/lib/commonjs/components/activities-progress/interface.d.js +6 -0
- package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -0
- package/lib/commonjs/components/avatar-profile/index.js +101 -0
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -0
- package/lib/commonjs/components/avatar-profile/interface.d.js +6 -0
- package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -0
- package/lib/commonjs/components/box/index.js +4 -6
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/box/interface.d.js.map +1 -1
- package/lib/commonjs/components/box/styles.js +1 -1
- package/lib/commonjs/components/box/styles.js.map +1 -1
- package/lib/commonjs/components/button/index.js +12 -20
- package/lib/commonjs/components/button/index.js.map +1 -1
- package/lib/commonjs/components/button/interface.d.js.map +1 -1
- package/lib/commonjs/components/button/styles.js +19 -16
- package/lib/commonjs/components/button/styles.js.map +1 -1
- package/lib/commonjs/components/capture-photo/index.js +47 -51
- package/lib/commonjs/components/capture-photo/index.js.map +1 -1
- package/lib/commonjs/components/capture-photo/interface.d.js.map +1 -1
- package/lib/commonjs/components/capture-photo/styles.js +1 -1
- package/lib/commonjs/components/capture-photo/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +121 -127
- 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-hours/index.js +51 -53
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +230 -229
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/index.js +77 -80
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/interface.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/styles.js +1 -1
- package/lib/commonjs/components/card-scheduled-journey/styles.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +157 -165
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/interface.d.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +77 -110
- 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 +85 -91
- 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 +56 -51
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/interface.d.js.map +1 -1
- package/lib/commonjs/components/filter-journey/index.js +4 -5
- package/lib/commonjs/components/filter-journey/index.js.map +1 -1
- package/lib/commonjs/components/filter-journey/interface.d.js.map +1 -1
- package/lib/commonjs/components/header-profile/index.js +84 -91
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/components/header-profile/interface.d.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +104 -0
- package/lib/commonjs/components/history-details/index.js.map +1 -0
- package/lib/commonjs/components/history-details/interface.d.js +6 -0
- package/lib/commonjs/components/history-details/interface.d.js.map +1 -0
- package/lib/commonjs/components/image-capture-with-remove/index.js +61 -61
- 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/input/index.js +100 -118
- package/lib/commonjs/components/input/index.js.map +1 -1
- package/lib/commonjs/components/input/interface.d.js.map +1 -1
- package/lib/commonjs/components/input/styles.js +1 -1
- package/lib/commonjs/components/input/styles.js.map +1 -1
- package/lib/commonjs/components/loading-details/index.js +117 -122
- package/lib/commonjs/components/loading-details/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/interface.d.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +70 -75
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/loading-progress/interface.d.js.map +1 -1
- package/lib/commonjs/components/menu-item/index.js +42 -44
- package/lib/commonjs/components/menu-item/index.js.map +1 -1
- package/lib/commonjs/components/menu-item/interface.d.js.map +1 -1
- package/lib/commonjs/components/menu-item/styles.js.map +1 -1
- package/lib/commonjs/components/no-data/index.js +15 -17
- package/lib/commonjs/components/no-data/index.js.map +1 -1
- package/lib/commonjs/components/no-data/interface.d.js.map +1 -1
- package/lib/commonjs/components/notification-loading/index.js +114 -123
- 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 +75 -0
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -0
- package/lib/commonjs/components/profile-menu-option/interface.d.js +6 -0
- package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -0
- package/lib/commonjs/components/scheduled-journey-indicators/index.js +47 -52
- package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/commonjs/components/scheduled-journey-indicators/interface.d.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/index.js +54 -64
- package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/interface.d.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/styles.js +62 -59
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js +2 -2
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +101 -112
- 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 +53 -50
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +6 -7
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/typography/interface.d.js.map +1 -1
- package/lib/commonjs/components/typography/styles.js +24 -21
- package/lib/commonjs/components/typography/styles.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +161 -176
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/interface.d.js.map +1 -1
- package/lib/commonjs/index.js +97 -56
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js +40 -0
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -0
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js +59 -0
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -0
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js +32 -0
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -0
- package/lib/commonjs/stories/box/box.stories.js +7 -8
- package/lib/commonjs/stories/box/box.stories.js.map +1 -1
- package/lib/commonjs/stories/button/button.stories.js +4 -5
- package/lib/commonjs/stories/button/button.stories.js.map +1 -1
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +3 -3
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -1
- package/lib/commonjs/stories/card-history/card-history.stories.js +3 -3
- package/lib/commonjs/stories/card-history/card-history.stories.js.map +1 -1
- package/lib/commonjs/stories/card-hours/card-hours.stories.js +6 -6
- package/lib/commonjs/stories/card-hours/card-hours.stories.js.map +1 -1
- package/lib/commonjs/stories/card-loading/card-loading.stories.js +5 -5
- package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js +3 -3
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -1
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +2 -2
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -1
- package/lib/commonjs/stories/check-box/check-box.stories.js +3 -5
- package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js +28 -7
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js +29 -7
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-journey/filter-journey.stories.js +5 -5
- package/lib/commonjs/stories/filter-journey/filter-journey.stories.js.map +1 -1
- package/lib/commonjs/stories/header-profile/header-profile.stories.js +2 -2
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/commonjs/stories/history-details/history-details.stories.js +37 -0
- package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -0
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js +14 -4
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/commonjs/stories/input/input.stories.js +10 -9
- package/lib/commonjs/stories/input/input.stories.js.map +1 -1
- package/lib/commonjs/stories/loading-details/loading-details.stories.js +2 -2
- package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -1
- package/lib/commonjs/stories/loading-progress/loading-progress.stories.js +2 -2
- package/lib/commonjs/stories/loading-progress/loading-progress.stories.js.map +1 -1
- package/lib/commonjs/stories/menu-item/menu-item.stories.js +3 -3
- package/lib/commonjs/stories/menu-item/menu-item.stories.js.map +1 -1
- package/lib/commonjs/stories/no-data/no-data.stories.js +2 -2
- package/lib/commonjs/stories/no-data/no-data.stories.js.map +1 -1
- package/lib/commonjs/stories/notification-loading/notification-loading.stories.js +18 -4
- 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 +68 -0
- package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -0
- package/lib/commonjs/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js +2 -2
- package/lib/commonjs/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js.map +1 -1
- package/lib/commonjs/stories/select-option/select-option.stories.js +3 -3
- package/lib/commonjs/stories/select-option/select-option.stories.js.map +1 -1
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js +24 -18
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/commonjs/stories/typography/typography.stories.js +3 -3
- package/lib/commonjs/stories/typography/typography.stories.js.map +1 -1
- package/lib/commonjs/stories/user-profile/user-profile.stories.js +2 -2
- package/lib/commonjs/stories/user-profile/user-profile.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/commonjs/styles/global/styles.js +49 -46
- package/lib/commonjs/styles/global/styles.js.map +1 -1
- package/lib/commonjs/styles/global/theme-provider.js +4 -6
- package/lib/commonjs/styles/global/theme-provider.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +6 -4
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/format-data/index.js +30 -9
- package/lib/commonjs/utils/format-data/index.js.map +1 -1
- package/lib/commonjs/utils/mutiply/index.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +13 -4
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/module/common/constants/index.js +0 -2
- package/lib/module/common/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/agent/index.js +37 -0
- package/lib/module/common/icons-svg/agent/index.js.map +1 -0
- package/lib/module/common/icons-svg/arrow-drop-down/index.js +11 -14
- package/lib/module/common/icons-svg/arrow-drop-down/index.js.map +1 -1
- package/lib/module/common/icons-svg/arrow-left/index.js +12 -15
- package/lib/module/common/icons-svg/arrow-left/index.js.map +1 -1
- package/lib/module/common/icons-svg/bed/index.js +39 -0
- package/lib/module/common/icons-svg/bed/index.js.map +1 -0
- package/lib/module/common/icons-svg/bell/index.js +9 -12
- package/lib/module/common/icons-svg/bell/index.js.map +1 -1
- package/lib/module/common/icons-svg/bluetooth/index.js +18 -26
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/module/common/icons-svg/bluetooth-connected/index.js +21 -29
- package/lib/module/common/icons-svg/bluetooth-connected/index.js.map +1 -1
- package/lib/module/common/icons-svg/calendar/index.js +21 -28
- package/lib/module/common/icons-svg/calendar/index.js.map +1 -1
- package/lib/module/common/icons-svg/call-bell/index.js +9 -12
- package/lib/module/common/icons-svg/call-bell/index.js.map +1 -1
- package/lib/module/common/icons-svg/camera-plus/index.js +20 -27
- package/lib/module/common/icons-svg/camera-plus/index.js.map +1 -1
- package/lib/module/common/icons-svg/car/index.js +29 -0
- package/lib/module/common/icons-svg/car/index.js.map +1 -0
- package/lib/module/common/icons-svg/chart-bar/index.js +9 -12
- package/lib/module/common/icons-svg/chart-bar/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-box/index.js +12 -15
- package/lib/module/common/icons-svg/check-box/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-box-fill/index.js +9 -12
- package/lib/module/common/icons-svg/check-box-fill/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-box-outline/index.js +9 -12
- package/lib/module/common/icons-svg/check-box-outline/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-circle/index.js +19 -22
- package/lib/module/common/icons-svg/check-circle/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-outline/index.js +43 -0
- package/lib/module/common/icons-svg/check-outline/index.js.map +1 -0
- package/lib/module/common/icons-svg/closed/index.js +19 -26
- package/lib/module/common/icons-svg/closed/index.js.map +1 -1
- package/lib/module/common/icons-svg/coffee/index.js +42 -0
- package/lib/module/common/icons-svg/coffee/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +13 -7
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/credit-card/index.js +11 -14
- package/lib/module/common/icons-svg/credit-card/index.js.map +1 -1
- package/lib/module/common/icons-svg/currency/index.js +19 -26
- package/lib/module/common/icons-svg/currency/index.js.map +1 -1
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js +9 -12
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js.map +1 -1
- package/lib/module/common/icons-svg/ellipse/index.js +13 -16
- package/lib/module/common/icons-svg/ellipse/index.js.map +1 -1
- package/lib/module/common/icons-svg/exclamation-circle/index.js +16 -23
- package/lib/module/common/icons-svg/exclamation-circle/index.js.map +1 -1
- package/lib/module/common/icons-svg/eye/index.js +13 -17
- package/lib/module/common/icons-svg/eye/index.js.map +1 -1
- package/lib/module/common/icons-svg/eye-slash/index.js +11 -15
- package/lib/module/common/icons-svg/eye-slash/index.js.map +1 -1
- package/lib/module/common/icons-svg/file-text/index.js +18 -21
- package/lib/module/common/icons-svg/file-text/index.js.map +1 -1
- package/lib/module/common/icons-svg/files/index.js +9 -12
- package/lib/module/common/icons-svg/files/index.js.map +1 -1
- package/lib/module/common/icons-svg/gas-pump/index.js +20 -27
- package/lib/module/common/icons-svg/gas-pump/index.js.map +1 -1
- package/lib/module/common/icons-svg/gauge/index.js +19 -26
- package/lib/module/common/icons-svg/gauge/index.js.map +1 -1
- package/lib/module/common/icons-svg/gear/index.js +21 -28
- package/lib/module/common/icons-svg/gear/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +150 -96
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/interface.d.js +0 -2
- package/lib/module/common/icons-svg/interface.d.js.map +1 -1
- package/lib/module/common/icons-svg/lifebuoy/index.js +9 -12
- package/lib/module/common/icons-svg/lifebuoy/index.js.map +1 -1
- package/lib/module/common/icons-svg/list/index.js +33 -40
- package/lib/module/common/icons-svg/list/index.js.map +1 -1
- package/lib/module/common/icons-svg/moon-stars/index.js +9 -12
- package/lib/module/common/icons-svg/moon-stars/index.js.map +1 -1
- package/lib/module/common/icons-svg/note-pincel/index.js +22 -29
- package/lib/module/common/icons-svg/note-pincel/index.js.map +1 -1
- package/lib/module/common/icons-svg/package/index.js +9 -12
- package/lib/module/common/icons-svg/package/index.js.map +1 -1
- package/lib/module/common/icons-svg/package-check/index.js +23 -26
- package/lib/module/common/icons-svg/package-check/index.js.map +1 -1
- package/lib/module/common/icons-svg/pencil/index.js +32 -0
- package/lib/module/common/icons-svg/pencil/index.js.map +1 -0
- package/lib/module/common/icons-svg/plus/index.js +21 -28
- package/lib/module/common/icons-svg/plus/index.js.map +1 -1
- package/lib/module/common/icons-svg/recused/index.js +17 -20
- package/lib/module/common/icons-svg/recused/index.js.map +1 -1
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +39 -0
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -0
- package/lib/module/common/icons-svg/shopping-cart/index.js +18 -21
- package/lib/module/common/icons-svg/shopping-cart/index.js.map +1 -1
- package/lib/module/common/icons-svg/steering-wheel/index.js +28 -35
- package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -1
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js +16 -23
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js.map +1 -1
- package/lib/module/common/icons-svg/timer/index.js +19 -26
- package/lib/module/common/icons-svg/timer/index.js.map +1 -1
- package/lib/module/common/icons-svg/trophy/index.js +9 -12
- package/lib/module/common/icons-svg/trophy/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck/index.js +18 -21
- package/lib/module/common/icons-svg/truck/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck-activity/index.js +29 -0
- package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -0
- package/lib/module/common/icons-svg/truck-trailer/index.js +16 -23
- package/lib/module/common/icons-svg/truck-trailer/index.js.map +1 -1
- package/lib/module/common/icons-svg/wifi-high/index.js +23 -30
- package/lib/module/common/icons-svg/wifi-high/index.js.map +1 -1
- package/lib/module/common/icons-svg/wifi-x/index.js +29 -36
- package/lib/module/common/icons-svg/wifi-x/index.js.map +1 -1
- package/lib/module/common/icons-svg/x-circle/index.js +19 -26
- package/lib/module/common/icons-svg/x-circle/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +113 -0
- package/lib/module/components/activities-daily/index.js.map +1 -0
- package/lib/module/components/activities-daily/interface.d.js +2 -0
- package/lib/module/components/activities-daily/interface.d.js.map +1 -0
- package/lib/module/components/activities-progress/index.js +158 -0
- package/lib/module/components/activities-progress/index.js.map +1 -0
- package/lib/module/components/activities-progress/interface.d.js +2 -0
- package/lib/module/components/activities-progress/interface.d.js.map +1 -0
- package/lib/module/components/avatar-profile/index.js +95 -0
- package/lib/module/components/avatar-profile/index.js.map +1 -0
- package/lib/module/components/avatar-profile/interface.d.js +2 -0
- package/lib/module/components/avatar-profile/interface.d.js.map +1 -0
- package/lib/module/components/box/index.js +4 -8
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/box/interface.d.js +0 -2
- package/lib/module/components/box/interface.d.js.map +1 -1
- package/lib/module/components/box/styles.js +1 -3
- package/lib/module/components/box/styles.js.map +1 -1
- package/lib/module/components/button/index.js +11 -16
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/button/interface.d.js +0 -2
- package/lib/module/components/button/interface.d.js.map +1 -1
- package/lib/module/components/button/styles.js +19 -18
- package/lib/module/components/button/styles.js.map +1 -1
- package/lib/module/components/capture-photo/index.js +45 -52
- package/lib/module/components/capture-photo/index.js.map +1 -1
- package/lib/module/components/capture-photo/interface.d.js +0 -2
- package/lib/module/components/capture-photo/interface.d.js.map +1 -1
- package/lib/module/components/capture-photo/styles.js +1 -3
- package/lib/module/components/capture-photo/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +119 -128
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-history/interface.d.js +0 -2
- package/lib/module/components/card-history/interface.d.js.map +1 -1
- package/lib/module/components/card-hours/index.js +52 -57
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-hours/interface.d.js +0 -2
- package/lib/module/components/card-hours/interface.d.js.map +1 -1
- package/lib/module/components/card-loading/index.js +228 -230
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-loading/interface.d.js +0 -2
- package/lib/module/components/card-loading/interface.d.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/index.js +75 -81
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/interface.js +0 -2
- package/lib/module/components/card-scheduled-journey/interface.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/styles.js +1 -3
- package/lib/module/components/card-scheduled-journey/styles.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +157 -167
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/card-work-session/interface.d.js +0 -2
- package/lib/module/components/card-work-session/interface.d.js.map +1 -1
- package/lib/module/components/check-box/index.js +75 -104
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/check-box/interface.d.js +0 -2
- package/lib/module/components/check-box/interface.d.js.map +1 -1
- package/lib/module/components/coil/index.js +85 -93
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/coil/interface.d.js +0 -2
- package/lib/module/components/coil/interface.d.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +58 -53
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/filter-date-selector/interface.d.js +0 -2
- package/lib/module/components/filter-date-selector/interface.d.js.map +1 -1
- package/lib/module/components/filter-journey/index.js +4 -7
- package/lib/module/components/filter-journey/index.js.map +1 -1
- package/lib/module/components/filter-journey/interface.d.js +0 -2
- package/lib/module/components/filter-journey/interface.d.js.map +1 -1
- package/lib/module/components/header-profile/index.js +82 -92
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/components/header-profile/interface.d.js +0 -2
- package/lib/module/components/header-profile/interface.d.js.map +1 -1
- package/lib/module/components/history-details/index.js +96 -0
- package/lib/module/components/history-details/index.js.map +1 -0
- package/lib/module/components/history-details/interface.d.js +2 -0
- package/lib/module/components/history-details/interface.d.js.map +1 -0
- package/lib/module/components/image-capture-with-remove/index.js +59 -62
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/interface.d.js +0 -2
- package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/module/components/input/index.js +97 -112
- package/lib/module/components/input/index.js.map +1 -1
- package/lib/module/components/input/interface.d.js +0 -2
- package/lib/module/components/input/interface.d.js.map +1 -1
- package/lib/module/components/input/styles.js +1 -3
- package/lib/module/components/input/styles.js.map +1 -1
- package/lib/module/components/loading-details/index.js +117 -124
- package/lib/module/components/loading-details/index.js.map +1 -1
- package/lib/module/components/loading-details/interface.d.js +0 -2
- package/lib/module/components/loading-details/interface.d.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +68 -76
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/loading-progress/interface.d.js +0 -2
- package/lib/module/components/loading-progress/interface.d.js.map +1 -1
- package/lib/module/components/menu-item/index.js +40 -45
- package/lib/module/components/menu-item/index.js.map +1 -1
- package/lib/module/components/menu-item/interface.d.js +0 -2
- package/lib/module/components/menu-item/interface.d.js.map +1 -1
- package/lib/module/components/menu-item/styles.js +1 -1
- package/lib/module/components/menu-item/styles.js.map +1 -1
- package/lib/module/components/no-data/index.js +16 -19
- package/lib/module/components/no-data/index.js.map +1 -1
- package/lib/module/components/no-data/interface.d.js +0 -2
- package/lib/module/components/no-data/interface.d.js.map +1 -1
- package/lib/module/components/notification-loading/index.js +114 -125
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/notification-loading/interface.d.js +0 -2
- package/lib/module/components/notification-loading/interface.d.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js +69 -0
- package/lib/module/components/profile-menu-option/index.js.map +1 -0
- package/lib/module/components/profile-menu-option/interface.d.js +2 -0
- package/lib/module/components/profile-menu-option/interface.d.js.map +1 -0
- package/lib/module/components/scheduled-journey-indicators/index.js +47 -54
- package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/module/components/scheduled-journey-indicators/interface.d.js +0 -2
- package/lib/module/components/scheduled-journey-indicators/interface.d.js.map +1 -1
- package/lib/module/components/selects/select-option/index.js +52 -65
- package/lib/module/components/selects/select-option/index.js.map +1 -1
- package/lib/module/components/selects/select-option/interface.d.js +0 -2
- package/lib/module/components/selects/select-option/interface.d.js.map +1 -1
- package/lib/module/components/selects/select-option/styles.js +62 -61
- package/lib/module/components/selects/select-option/styles.js.map +1 -1
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js +1 -3
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +99 -113
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/step-indicator/interface.d.js +0 -2
- package/lib/module/components/step-indicator/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +53 -52
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/components/typography/index.js +4 -8
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/typography/interface.d.js +0 -2
- package/lib/module/components/typography/interface.d.js.map +1 -1
- package/lib/module/components/typography/styles.js +24 -23
- package/lib/module/components/typography/styles.js.map +1 -1
- package/lib/module/components/user-profile/index.js +159 -177
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/components/user-profile/interface.d.js +0 -2
- package/lib/module/components/user-profile/interface.d.js.map +1 -1
- package/lib/module/index.js +35 -32
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/activities-daily/activities-daily.stories.js +34 -0
- package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -0
- package/lib/module/stories/activities-progress/activities-progress.stories.js +53 -0
- package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -0
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js +26 -0
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -0
- package/lib/module/stories/box/box.stories.js +6 -9
- package/lib/module/stories/box/box.stories.js.map +1 -1
- package/lib/module/stories/button/button.stories.js +3 -6
- package/lib/module/stories/button/button.stories.js.map +1 -1
- package/lib/module/stories/capture-photo/capture-photo.stories.js +2 -4
- package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -1
- package/lib/module/stories/card-history/card-history.stories.js +2 -4
- package/lib/module/stories/card-history/card-history.stories.js.map +1 -1
- package/lib/module/stories/card-hours/card-hours.stories.js +3 -5
- package/lib/module/stories/card-hours/card-hours.stories.js.map +1 -1
- package/lib/module/stories/card-loading/card-loading.stories.js +4 -6
- package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js +2 -4
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -1
- package/lib/module/stories/card-work-session/card-work-session.stories.js +1 -3
- package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -1
- package/lib/module/stories/check-box/check-box.stories.js +2 -6
- package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js +26 -7
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js +26 -6
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/module/stories/filter-journey/filter-journey.stories.js +4 -6
- package/lib/module/stories/filter-journey/filter-journey.stories.js.map +1 -1
- package/lib/module/stories/header-profile/header-profile.stories.js +1 -3
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -1
- package/lib/module/stories/history-details/history-details.stories.js +31 -0
- package/lib/module/stories/history-details/history-details.stories.js.map +1 -0
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js +12 -4
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/module/stories/input/input.stories.js +9 -10
- package/lib/module/stories/input/input.stories.js.map +1 -1
- package/lib/module/stories/loading-details/loading-details.stories.js +1 -3
- package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -1
- package/lib/module/stories/loading-progress/loading-progress.stories.js +1 -3
- package/lib/module/stories/loading-progress/loading-progress.stories.js.map +1 -1
- package/lib/module/stories/menu-item/menu-item.stories.js +2 -4
- package/lib/module/stories/menu-item/menu-item.stories.js.map +1 -1
- package/lib/module/stories/no-data/no-data.stories.js +1 -3
- package/lib/module/stories/no-data/no-data.stories.js.map +1 -1
- package/lib/module/stories/notification-loading/notification-loading.stories.js +16 -4
- 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 +62 -0
- package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -0
- package/lib/module/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js +1 -3
- package/lib/module/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.js.map +1 -1
- package/lib/module/stories/select-option/select-option.stories.js +2 -4
- package/lib/module/stories/select-option/select-option.stories.js.map +1 -1
- package/lib/module/stories/step-indicator/step-indicator.stories.js +23 -19
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/module/stories/typography/typography.stories.js +2 -4
- package/lib/module/stories/typography/typography.stories.js.map +1 -1
- package/lib/module/stories/user-profile/user-profile.stories.js +1 -3
- package/lib/module/stories/user-profile/user-profile.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js +0 -2
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/module/styles/global/styles.js +49 -48
- package/lib/module/styles/global/styles.js.map +1 -1
- package/lib/module/styles/global/theme-provider.js +4 -8
- package/lib/module/styles/global/theme-provider.js.map +1 -1
- package/lib/module/styles/theme/theme.js +6 -6
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/format-data/index.js +30 -10
- package/lib/module/utils/format-data/index.js.map +1 -1
- package/lib/module/utils/mutiply/index.js +0 -2
- package/lib/module/utils/mutiply/index.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +13 -7
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/typescript/example/src/App.d.ts +1 -0
- package/lib/typescript/{module/src → src}/common/constants/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/agent/index.d.ts +7 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/arrow-drop-down/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/arrow-left/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/bed/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/bell/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/bluetooth/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/bluetooth-connected/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/calendar/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/call-bell/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/camera-plus/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/car/index.d.ts +10 -0
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/chart-bar/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/check-box/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/check-box-fill/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/check-box-outline/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/check-circle/index.d.ts +0 -1
- package/lib/typescript/{module/src/common/icons-svg/check-box → src/common/icons-svg/check-outline}/index.d.ts +2 -3
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/closed/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/coffee/index.d.ts +10 -0
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/constants/index.d.ts +8 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/credit-card/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/currency/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/currency-circle-dollar/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/ellipse/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/exclamation-circle/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/eye/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/eye-slash/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/file-text/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/files/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/gas-pump/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/gauge/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/gear/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/lifebuoy/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/list/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/moon-stars/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/note-pincel/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/package/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/package-check/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/pencil/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/plus/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/recused/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/refresh-ccw-dot/index.d.ts +7 -0
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/shopping-cart/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/steering-wheel/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/steering-wheel-fill/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/timer/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/trophy/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/truck/index.d.ts +0 -1
- package/lib/typescript/src/common/icons-svg/truck-activity/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/common/icons-svg/truck-trailer/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/wifi-high/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/common/icons-svg/wifi-x/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/common/icons-svg/x-circle/index.d.ts +0 -1
- package/lib/typescript/src/components/activities-daily/index.d.ts +10 -0
- package/lib/typescript/src/components/activities-progress/index.d.ts +10 -0
- package/lib/typescript/src/components/avatar-profile/index.d.ts +4 -0
- package/lib/typescript/{module/src → src}/components/box/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/box/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/button/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/button/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/capture-photo/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/capture-photo/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-history/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/card-hours/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-loading/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-scheduled-journey/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/card-scheduled-journey/interface.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/card-scheduled-journey/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/card-work-session/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/check-box/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/coil/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/filter-date-selector/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/filter-journey/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/header-profile/index.d.ts +0 -1
- package/lib/typescript/src/components/history-details/index.d.ts +10 -0
- package/lib/typescript/{module/src → src}/components/image-capture-with-remove/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/input/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/input/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/loading-details/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/loading-progress/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/menu-item/index.d.ts +0 -1
- package/lib/typescript/src/components/menu-item/styles.d.ts +0 -0
- package/lib/typescript/{commonjs/src → src}/components/no-data/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/notification-loading/index.d.ts +0 -1
- package/lib/typescript/src/components/profile-menu-option/index.d.ts +4 -0
- package/lib/typescript/{commonjs/src → src}/components/scheduled-journey-indicators/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/selects/select-option/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/selects/select-option/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/step-indicator/helpers/get-icon-by-status.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/step-indicator/index.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/step-indicator/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/typography/index.d.ts +0 -1
- package/lib/typescript/{module/src → src}/components/typography/styles.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/components/user-profile/index.d.ts +0 -2
- package/lib/typescript/{commonjs/src → src}/index.d.ts +6 -2
- package/lib/typescript/src/stories/activities-daily/activities-daily.stories.d.ts +6 -0
- package/lib/typescript/src/stories/activities-progress/activities-progress.stories.d.ts +8 -0
- package/lib/typescript/src/stories/avatar-profile/avatar-profile.stories.d.ts +7 -0
- package/lib/typescript/{commonjs/src → src}/stories/box/box.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/button/button.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/capture-photo/capture-photo.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/card-history/card-history.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/card-hours/card-hours.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/card-loading/card-loading.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/card-work-session/card-work-session.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/check-box/check-box.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/coil/coil.stories.d.ts +2 -1
- package/lib/typescript/{module/src → src}/stories/filter-date-selector/filter-date-selector.stories.d.ts +1 -1
- package/lib/typescript/{module/src → src}/stories/filter-journey/filter-journey.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/header-profile/header-profile.stories.d.ts +0 -1
- package/lib/typescript/src/stories/history-details/history-details.stories.d.ts +6 -0
- package/lib/typescript/{commonjs/src → src}/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +1 -1
- package/lib/typescript/{commonjs/src → src}/stories/input/input.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/loading-details/loading-details.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/loading-progress/loading-progress.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/menu-item/menu-item.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/no-data/no-data.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/notification-loading/notification-loading.stories.d.ts +1 -1
- package/lib/typescript/src/stories/profile-menu-option/profile-menu-option.stories.d.ts +8 -0
- package/lib/typescript/{commonjs/src → src}/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/select-option/select-option.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/step-indicator/step-indicator.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/stories/typography/typography.stories.d.ts +0 -1
- package/lib/typescript/{commonjs/src → src}/stories/user-profile/user-profile.stories.d.ts +0 -1
- package/lib/typescript/{module/src → src}/styles/global/styles.d.ts +0 -1
- package/lib/typescript/{module/src → src}/styles/global/theme-provider.d.ts +2 -1
- package/lib/typescript/{module/src → src}/styles/theme/theme.d.ts +2 -1
- package/lib/typescript/{commonjs/src → src}/utils/format-data/index.d.ts +13 -3
- package/lib/typescript/{commonjs/src → src}/utils/mutiply/index.d.ts +0 -1
- package/lib/typescript/src/utils/status-color/return-color.d.ts +4 -0
- package/package.json +15 -2
- 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/pencil/index.tsx +32 -32
- package/src/common/icons-svg/truck-activity/index.tsx +29 -29
- package/src/components/activities-daily/interface.d.ts +22 -22
- 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/card-loading/index.tsx +278 -278
- package/src/components/coil/index.tsx +103 -103
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/history-details/index.tsx +100 -100
- package/src/components/history-details/interface.d.ts +18 -18
- package/src/components/image-capture-with-remove/index.tsx +89 -89
- package/src/components/image-capture-with-remove/interface.d.ts +25 -25
- package/src/components/notification-loading/index.tsx +155 -155
- 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/user-profile/index.tsx +204 -204
- 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-loading/card-loading.stories.tsx +85 -85
- package/src/stories/coil/coil.stories.tsx +98 -98
- 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/notification-loading/notification-loading.stories.tsx +88 -88
- package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
- package/src/styles/theme/theme.ts +170 -170
- package/src/utils/status-color/return-color.ts +23 -23
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +0 -5
- package/lib/typescript/commonjs/src/common/constants/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +0 -8
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-box/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/ellipse/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +0 -14
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/box/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +0 -24
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-history/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +0 -10
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-loading/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/interface.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +0 -12
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/check-box/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/coil/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/components/coil/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts +0 -15
- package/lib/typescript/commonjs/src/components/filter-date-selector/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/filter-journey/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts +0 -15
- package/lib/typescript/commonjs/src/components/image-capture-with-remove/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/input/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/input/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts +0 -11
- package/lib/typescript/commonjs/src/components/loading-details/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/loading-progress/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/menu-item/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/menu-item/styles.d.ts +0 -1
- package/lib/typescript/commonjs/src/components/menu-item/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/no-data/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/notification-loading/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/scheduled-journey-indicators/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +0 -64
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +0 -30
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +0 -10
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/card-history/card-history.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts +0 -9
- package/lib/typescript/commonjs/src/stories/card-loading/card-loading.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +0 -11
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/check-box/check-box.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/coil/coil.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/filter-journey/filter-journey.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/input/input.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/loading-details/loading-details.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/loading-progress/loading-progress.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/menu-item/menu-item.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts +0 -7
- package/lib/typescript/commonjs/src/stories/no-data/no-data.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/notification-loading/notification-loading.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +0 -16
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +0 -47
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +0 -150
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +0 -152
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/format-data/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/mutiply/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts +0 -4
- package/lib/typescript/commonjs/src/utils/status-color/return-color.d.ts.map +0 -1
- package/lib/typescript/module/package.json +0 -1
- package/lib/typescript/module/src/common/constants/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-box/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +0 -53
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts +0 -5
- package/lib/typescript/module/src/common/icons-svg/ellipse/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +0 -8
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +0 -8
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +0 -12
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +0 -11
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts.map +0 -1
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +0 -14
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/box/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/box/styles.d.ts +0 -13
- package/lib/typescript/module/src/components/box/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +0 -14
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +0 -12
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-history/index.d.ts +0 -15
- package/lib/typescript/module/src/components/card-history/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-loading/index.d.ts +0 -15
- package/lib/typescript/module/src/components/card-loading/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +0 -14
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts +0 -33
- package/lib/typescript/module/src/components/card-scheduled-journey/interface.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/check-box/index.d.ts +0 -14
- package/lib/typescript/module/src/components/check-box/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/coil/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/filter-date-selector/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/filter-journey/index.d.ts +0 -11
- package/lib/typescript/module/src/components/filter-journey/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/header-profile/index.d.ts +0 -14
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/image-capture-with-remove/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/input/index.d.ts +0 -15
- package/lib/typescript/module/src/components/input/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/input/styles.d.ts +0 -12
- package/lib/typescript/module/src/components/input/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/loading-details/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/loading-progress/index.d.ts +0 -15
- package/lib/typescript/module/src/components/loading-progress/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/menu-item/index.d.ts +0 -15
- package/lib/typescript/module/src/components/menu-item/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/menu-item/styles.d.ts +0 -1
- package/lib/typescript/module/src/components/menu-item/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/no-data/index.d.ts +0 -8
- package/lib/typescript/module/src/components/no-data/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/notification-loading/index.d.ts +0 -11
- package/lib/typescript/module/src/components/notification-loading/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts +0 -11
- package/lib/typescript/module/src/components/scheduled-journey-indicators/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +0 -14
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +0 -15
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +0 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +0 -14
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +0 -57
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +0 -14
- package/lib/typescript/module/src/components/typography/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts +0 -15
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -32
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +0 -9
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +0 -11
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-history/card-history.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-loading/card-loading.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts +0 -10
- package/lib/typescript/module/src/stories/check-box/check-box.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts +0 -10
- package/lib/typescript/module/src/stories/coil/coil.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/filter-date-selector/filter-date-selector.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/filter-journey/filter-journey.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +0 -11
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/image-capture-with-remove/image-capture-with-remove.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/input/input.stories.d.ts +0 -15
- package/lib/typescript/module/src/stories/input/input.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts +0 -7
- package/lib/typescript/module/src/stories/loading-details/loading-details.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts +0 -7
- package/lib/typescript/module/src/stories/loading-progress/loading-progress.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts +0 -9
- package/lib/typescript/module/src/stories/menu-item/menu-item.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/no-data/no-data.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts +0 -9
- package/lib/typescript/module/src/stories/notification-loading/notification-loading.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts +0 -10
- package/lib/typescript/module/src/stories/scheduled-journey-indicators/sheduled-journey-indicators.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +0 -7
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +0 -8
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +0 -1
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +0 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +0 -1
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/format-data/index.d.ts +0 -18
- package/lib/typescript/module/src/utils/format-data/index.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/mutiply/index.d.ts +0 -2
- package/lib/typescript/module/src/utils/mutiply/index.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts +0 -4
- package/lib/typescript/module/src/utils/status-color/return-color.d.ts.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
5
3
|
*/
|
|
6
4
|
import React from "react";
|
|
7
5
|
import { TouchableOpacity, ActivityIndicator, FlatList } from "react-native";
|
|
8
6
|
|
|
9
7
|
// components
|
|
10
|
-
import { Box } from "../box
|
|
11
|
-
import { Typography } from "../typography
|
|
8
|
+
import { Box } from "../box";
|
|
9
|
+
import { Typography } from "../typography";
|
|
12
10
|
|
|
13
11
|
// styles
|
|
14
|
-
import { theme } from "../../styles/theme/theme
|
|
12
|
+
import { theme } from "../../styles/theme/theme";
|
|
15
13
|
|
|
16
14
|
//typing
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
|
|
16
|
+
import { Icons } from "../../common/icons-svg";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* Componente FilterDateSelector para a interação do usuário com ui.
|
|
21
21
|
*/
|
|
22
22
|
const FilterDateSelector = ({
|
|
23
23
|
selectedDay,
|
|
@@ -31,58 +31,63 @@ const FilterDateSelector = ({
|
|
|
31
31
|
index
|
|
32
32
|
}) => {
|
|
33
33
|
const isSelected = selectedDay && selectedDay.date === day.date;
|
|
34
|
-
return /*#__PURE__*/
|
|
34
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
35
35
|
disabled: isSelected,
|
|
36
|
+
key: index,
|
|
36
37
|
activeOpacity: 0.7,
|
|
37
|
-
onPress: () => handleSelectedDay(day)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
38
|
+
onPress: () => handleSelectedDay(day)
|
|
39
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
40
|
+
testID: testID,
|
|
41
|
+
width: 65,
|
|
42
|
+
height: 75,
|
|
43
|
+
flexStyle: {
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
justifyContent: "center"
|
|
46
|
+
},
|
|
47
|
+
backgroundColor: isSelected ? theme.colors.blue[400] : theme.colors.gray[350],
|
|
48
|
+
borderStyled: {
|
|
49
|
+
borderRadius: theme.borderWidths.thick_large,
|
|
50
|
+
borderColor: isSelected ? theme.colors.blue[400] : theme.colors.gray[350],
|
|
51
|
+
borderWidth: theme.borderWidths.thin
|
|
52
|
+
},
|
|
53
|
+
marginStyle: {
|
|
54
|
+
marginRight: theme.margins["2xs"],
|
|
55
|
+
marginTop: theme.margins["2xs"]
|
|
56
|
+
}
|
|
57
|
+
}, isSelected && isLoading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
58
|
+
size: "small",
|
|
59
|
+
color: "white"
|
|
60
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null, day.date === "all" ? /*#__PURE__*/React.createElement(Icons, {
|
|
61
|
+
icon: "REFRESH_CCW_DOT",
|
|
62
|
+
color: theme.colors.neutral[25]
|
|
63
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, {
|
|
64
|
+
text: day.date === "all" ? "" : day.date.toString().padStart(2, "0"),
|
|
65
|
+
size: theme.fontSizes.lg,
|
|
66
|
+
color: theme.colors.neutral[25],
|
|
67
|
+
fontFamily: theme.fonts.inter_bold_700
|
|
68
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
69
|
+
text: day.date === "all" ? "Todos" : day.dayName.slice(0, 3),
|
|
70
|
+
size: theme.fontSizes.lg,
|
|
71
|
+
color: theme.colors.neutral[25],
|
|
72
|
+
fontFamily: theme.fonts.inter_bold_700,
|
|
73
|
+
marginBottom: day.date === "all" ? theme.margins["3xl"] : 0,
|
|
74
|
+
letterSpacing: "o_16"
|
|
75
|
+
})))));
|
|
74
76
|
};
|
|
75
77
|
const daySorted = days.sort((a, b) => new Date(b.fullDate).getTime() - new Date(a.fullDate).getTime());
|
|
76
|
-
|
|
78
|
+
|
|
79
|
+
// Adiciona a opção "Todos" no início da lista
|
|
80
|
+
const dataWithAllOption = [...daySorted];
|
|
81
|
+
return /*#__PURE__*/React.createElement(FlatList, {
|
|
77
82
|
horizontal: true,
|
|
78
|
-
data:
|
|
83
|
+
data: dataWithAllOption,
|
|
79
84
|
showsHorizontalScrollIndicator: false,
|
|
80
85
|
renderItem: renderDayBlock
|
|
81
86
|
});
|
|
82
87
|
};
|
|
83
88
|
|
|
84
|
-
/**
|
|
85
|
-
* EXPORTS
|
|
89
|
+
/**
|
|
90
|
+
* EXPORTS
|
|
86
91
|
*/
|
|
87
92
|
export { FilterDateSelector };
|
|
88
93
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","TouchableOpacity","ActivityIndicator","FlatList","Box","Typography","theme","
|
|
1
|
+
{"version":3,"names":["React","TouchableOpacity","ActivityIndicator","FlatList","Box","Typography","theme","Icons","FilterDateSelector","selectedDay","handleSelectedDay","days","isLoading","testID","renderDayBlock","item","day","index","isSelected","date","createElement","disabled","key","activeOpacity","onPress","width","height","flexStyle","alignItems","justifyContent","backgroundColor","colors","blue","gray","borderStyled","borderRadius","borderWidths","thick_large","borderColor","borderWidth","thin","marginStyle","marginRight","margins","marginTop","size","color","Fragment","icon","neutral","text","toString","padStart","fontSizes","lg","fontFamily","fonts","inter_bold_700","dayName","slice","marginBottom","letterSpacing","daySorted","sort","a","b","Date","fullDate","getTime","dataWithAllOption","horizontal","data","showsHorizontalScrollIndicator","renderItem"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity, ActivityIndicator, FlatList } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n//typing\r\nimport { IFilterDateSelector, ISelectedDay } from \"./interface\";\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n/**\r\n *\r\n * Componente FilterDateSelector para a interação do usuário com ui.\r\n */\r\nconst FilterDateSelector: React.FC<IFilterDateSelector> = ({\r\n selectedDay,\r\n handleSelectedDay,\r\n days,\r\n isLoading,\r\n testID,\r\n}) => {\r\n const renderDayBlock = ({ item: day, index }: { item: ISelectedDay; index: number }) => {\r\n const isSelected = selectedDay && selectedDay.date === day.date;\r\n return (\r\n <TouchableOpacity\r\n disabled={isSelected}\r\n key={index}\r\n activeOpacity={0.7}\r\n onPress={() => handleSelectedDay(day)}\r\n >\r\n <Box\r\n testID={testID}\r\n width={65}\r\n height={75}\r\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\" }}\r\n backgroundColor={isSelected ? theme.colors.blue[400] : theme.colors.gray[350]}\r\n borderStyled={{\r\n borderRadius: theme.borderWidths.thick_large,\r\n borderColor: isSelected ? theme.colors.blue[400] : theme.colors.gray[350],\r\n borderWidth: theme.borderWidths.thin,\r\n }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"2xs\"] }}\r\n >\r\n {isSelected && isLoading ? (\r\n <ActivityIndicator size=\"small\" color=\"white\" />\r\n ) : (\r\n <>\r\n {day.date === \"all\" ? (\r\n <Icons icon=\"REFRESH_CCW_DOT\" color={theme.colors.neutral[25]} />\r\n ) : (\r\n <>\r\n <Typography\r\n text={day.date === \"all\" ? \"\" : day.date.toString().padStart(2, \"0\")}\r\n size={theme.fontSizes.lg}\r\n color={theme.colors.neutral[25]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n />\r\n <Typography\r\n text={day.date === \"all\" ? \"Todos\" : day.dayName.slice(0, 3)}\r\n size={theme.fontSizes.lg}\r\n color={theme.colors.neutral[25]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n marginBottom={day.date === \"all\" ? theme.margins[\"3xl\"] : 0}\r\n letterSpacing=\"o_16\"\r\n />\r\n </>\r\n )}\r\n </>\r\n )}\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n };\r\n const daySorted = days.sort(\r\n (a, b) => new Date(b.fullDate).getTime() - new Date(a.fullDate).getTime()\r\n );\r\n\r\n // Adiciona a opção \"Todos\" no início da lista\r\n const dataWithAllOption = [...daySorted];\r\n\r\n return (\r\n <FlatList\r\n horizontal\r\n data={dataWithAllOption}\r\n showsHorizontalScrollIndicator={false}\r\n renderItem={renderDayBlock}\r\n />\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { FilterDateSelector };\r\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/*\n * IMPORTS\n */\nimport { TouchableOpacityProps } from \"react-native\";\n\n/**\n * INTERFACE\n */\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface ISelectedDay {\n date: string | number;\n dayName: string;\n fullDate: Date;\n}\n\ninterface IFilterDateSelector extends TouchableOpacityProps, IGlobalCss {\n /**\n * prop que mostra o dia selecionado\n */\n selectedDay: ISelectedDay;\n\n /**\n * função que seleciona a data\n */\n // eslint-disable-next-line no-unused-vars\n handleSelectedDay: (date: ISelectedDay) => {};\n\n /**\n * * Retorna as sete últimas datas dos dias\n */\n days: ISelectedDay[];\n\n /**\n * Retorna o loading do componente\n */\n isLoading: boolean;\n}\n\n/**\n * EXPORTS\n */\nexport type { IFilterDateSelector, ISelectedDay };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -7,26 +5,25 @@ import React from "react";
|
|
|
7
5
|
import { FlatList } from "react-native";
|
|
8
6
|
|
|
9
7
|
// components
|
|
10
|
-
import { Button } from "../button
|
|
8
|
+
import { Button } from "../button";
|
|
11
9
|
|
|
12
10
|
// typing
|
|
13
11
|
|
|
14
12
|
// styles
|
|
15
|
-
import { theme } from "../../styles/theme/theme
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { theme } from "../../styles/theme/theme";
|
|
17
14
|
const FilterJourney = ({
|
|
18
15
|
filters,
|
|
19
16
|
handleFilterSelect,
|
|
20
17
|
selectedFilter,
|
|
21
18
|
isLoading
|
|
22
19
|
}) => {
|
|
23
|
-
return /*#__PURE__*/
|
|
20
|
+
return /*#__PURE__*/React.createElement(FlatList, {
|
|
24
21
|
horizontal: true,
|
|
25
22
|
data: filters,
|
|
26
23
|
showsHorizontalScrollIndicator: false,
|
|
27
24
|
renderItem: ({
|
|
28
25
|
item
|
|
29
|
-
}) => /*#__PURE__*/
|
|
26
|
+
}) => /*#__PURE__*/React.createElement(Button, {
|
|
30
27
|
isLoading: isLoading || false,
|
|
31
28
|
disabled: isLoading,
|
|
32
29
|
paddingStyle: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","FlatList","Button","theme","
|
|
1
|
+
{"version":3,"names":["React","FlatList","Button","theme","FilterJourney","filters","handleFilterSelect","selectedFilter","isLoading","createElement","horizontal","data","showsHorizontalScrollIndicator","renderItem","item","disabled","paddingStyle","paddingLeft","paddings","sm","paddingRight","onPress","descricao","title","flexStyle","textAlign","alignItems","justifyContent","marginStyle","marginRight","margins","borderStyled","borderWidth","borderWidths","thin","borderColor","colors","blue","gray","borderRadius","thick_bold","backgroundColor","neutral","buttonTextStyle","color","fontFamily","fonts","inter_semi_bold_600","fontSize","fontSizes"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { FlatList } from \"react-native\";\n\n// components\nimport { Button } from \"../button\";\n\n// typing\nimport { IFilterJourneyProps } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst FilterJourney: React.FC<IFilterJourneyProps> = ({\n filters,\n handleFilterSelect,\n selectedFilter,\n isLoading,\n}) => {\n return (\n <FlatList\n horizontal\n data={filters}\n showsHorizontalScrollIndicator={false}\n renderItem={({ item }) => (\n <Button\n isLoading={isLoading || false}\n disabled={isLoading}\n paddingStyle={{ paddingLeft: theme.paddings.sm, paddingRight: theme.paddings.sm }}\n onPress={() => handleFilterSelect(item.descricao)}\n title={item.descricao}\n flexStyle={{ textAlign: \"center\", alignItems: \"center\", justifyContent: \"center\" }}\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor:\n selectedFilter === item.descricao ? theme.colors.blue[400] : theme.colors.gray[800],\n borderRadius: theme.borderWidths.thick_bold,\n }}\n backgroundColor={\n selectedFilter === item.descricao ? theme.colors.blue[400] : theme.colors.neutral[25]\n }\n buttonTextStyle={{\n color:\n selectedFilter === item.descricao ? theme.colors.neutral[25] : theme.colors.gray[800],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.sm,\n }}\n />\n )}\n />\n );\n};\n\n/**\n * EXPORTS\n */\nexport { FilterJourney };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;;AAEvC;AACA,SAASC,MAAM,QAAQ,WAAW;;AAElC;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,aAA4C,GAAGA,CAAC;EACpDC,OAAO;EACPC,kBAAkB;EAClBC,cAAc;EACdC;AACF,CAAC,KAAK;EACJ,oBACER,KAAA,CAAAS,aAAA,CAACR,QAAQ;IACPS,UAAU;IACVC,IAAI,EAAEN,OAAQ;IACdO,8BAA8B,EAAE,KAAM;IACtCC,UAAU,EAAEA,CAAC;MAAEC;IAAK,CAAC,kBACnBd,KAAA,CAAAS,aAAA,CAACP,MAAM;MACLM,SAAS,EAAEA,SAAS,IAAI,KAAM;MAC9BO,QAAQ,EAAEP,SAAU;MACpBQ,YAAY,EAAE;QAAEC,WAAW,EAAEd,KAAK,CAACe,QAAQ,CAACC,EAAE;QAAEC,YAAY,EAAEjB,KAAK,CAACe,QAAQ,CAACC;MAAG,CAAE;MAClFE,OAAO,EAAEA,CAAA,KAAMf,kBAAkB,CAACQ,IAAI,CAACQ,SAAS,CAAE;MAClDC,KAAK,EAAET,IAAI,CAACQ,SAAU;MACtBE,SAAS,EAAE;QAAEC,SAAS,EAAE,QAAQ;QAAEC,UAAU,EAAE,QAAQ;QAAEC,cAAc,EAAE;MAAS,CAAE;MACnFC,WAAW,EAAE;QAAEC,WAAW,EAAE1B,KAAK,CAAC2B,OAAO,CAAC,KAAK;MAAE,CAAE;MACnDC,YAAY,EAAE;QACZC,WAAW,EAAE7B,KAAK,CAAC8B,YAAY,CAACC,IAAI;QACpCC,WAAW,EACT5B,cAAc,KAAKO,IAAI,CAACQ,SAAS,GAAGnB,KAAK,CAACiC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC,GAAGlC,KAAK,CAACiC,MAAM,CAACE,IAAI,CAAC,GAAG,CAAC;QACrFC,YAAY,EAAEpC,KAAK,CAAC8B,YAAY,CAACO;MACnC,CAAE;MACFC,eAAe,EACblC,cAAc,KAAKO,IAAI,CAACQ,SAAS,GAAGnB,KAAK,CAACiC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC,GAAGlC,KAAK,CAACiC,MAAM,CAACM,OAAO,CAAC,EAAE,CACrF;MACDC,eAAe,EAAE;QACfC,KAAK,EACHrC,cAAc,KAAKO,IAAI,CAACQ,SAAS,GAAGnB,KAAK,CAACiC,MAAM,CAACM,OAAO,CAAC,EAAE,CAAC,GAAGvC,KAAK,CAACiC,MAAM,CAACE,IAAI,CAAC,GAAG,CAAC;QACvFO,UAAU,EAAE1C,KAAK,CAAC2C,KAAK,CAACC,mBAAmB;QAC3CC,QAAQ,EAAE7C,KAAK,CAAC8C,SAAS,CAAC9B;MAC5B;IAAE,CACH;EACD,CACH,CAAC;AAEN,CAAC;;AAED;AACA;AACA;AACA,SAASf,aAAa","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/*\n * IMPORTS\n */\nimport { ScrollViewProps } from \"react-native\";\n\n/**\n * INTERFACE\n */\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface IFilterJourneyProps extends ScrollViewProps, IGlobalCss {\n /**\n * props que traz os tipos disponíveis exemplos: pendente, finalizado\n */\n filters: { id: number; descricao: string }[];\n\n /**\n * function que pega o valor do filter\n */\n // eslint-disable-next-line no-unused-vars\n handleFilterSelect: (filter: string) => void;\n\n /**\n * props do selecionado o filter\n */\n selectedFilter: string;\n\n /**\n * props que indica o loading do button\n */\n isLoading?: boolean;\n}\n\n/**\n * EXPORTS\n */\nexport type { IFilterJourneyProps };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -7,21 +5,20 @@ import React from "react";
|
|
|
7
5
|
import { Dimensions, TouchableOpacity } from "react-native";
|
|
8
6
|
|
|
9
7
|
// components
|
|
10
|
-
import { Box } from "../box
|
|
11
|
-
import { Typography } from "../typography
|
|
8
|
+
import { Box } from "../box";
|
|
9
|
+
import { Typography } from "../typography";
|
|
12
10
|
|
|
13
11
|
// typings
|
|
14
12
|
|
|
15
13
|
// commons
|
|
16
|
-
import { Icons } from "../../common/icons-svg
|
|
14
|
+
import { Icons } from "../../common/icons-svg";
|
|
17
15
|
|
|
18
16
|
// styles
|
|
19
|
-
import { theme } from "../../styles/theme/theme
|
|
17
|
+
import { theme } from "../../styles/theme/theme";
|
|
20
18
|
|
|
21
19
|
/**
|
|
22
20
|
* Componente Header para a interação do usuário com ui.
|
|
23
21
|
*/
|
|
24
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
22
|
const Header = ({
|
|
26
23
|
title,
|
|
27
24
|
color,
|
|
@@ -35,104 +32,97 @@ const Header = ({
|
|
|
35
32
|
backgroundColor,
|
|
36
33
|
isBluetooth = false
|
|
37
34
|
}) => {
|
|
35
|
+
var _color$colorText;
|
|
38
36
|
const {
|
|
39
37
|
width: widthScreen
|
|
40
38
|
} = Dimensions.get("window");
|
|
41
39
|
const isMobile = widthScreen < 768;
|
|
42
|
-
return /*#__PURE__*/
|
|
40
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
43
41
|
testID: testID,
|
|
44
42
|
width: "100%",
|
|
45
43
|
height: 45,
|
|
46
|
-
backgroundColor: backgroundColor
|
|
44
|
+
backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : theme.colors.blue[400],
|
|
47
45
|
flexStyle: {
|
|
48
46
|
flexDirection: "row",
|
|
49
47
|
justifyContent: "space-between",
|
|
50
48
|
alignItems: "center"
|
|
49
|
+
}
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
51
|
+
width: "10%",
|
|
52
|
+
height: 45,
|
|
53
|
+
flexStyle: {
|
|
54
|
+
flexDirection: "column",
|
|
55
|
+
justifyContent: "center",
|
|
56
|
+
alignItems: "flex-start"
|
|
51
57
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
paddingStyle: {
|
|
61
|
-
paddingLeft: theme.paddings.md
|
|
62
|
-
},
|
|
63
|
-
children: arrow && title !== "Login" && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
64
|
-
disabled: !arrow,
|
|
65
|
-
onPress: handleNavigation,
|
|
66
|
-
style: {
|
|
67
|
-
width: 50,
|
|
68
|
-
height: 45,
|
|
69
|
-
flexDirection: "column",
|
|
70
|
-
alignItems: "flex-start",
|
|
71
|
-
justifyContent: "center"
|
|
72
|
-
},
|
|
73
|
-
children: title === "Controle de Jornada" || title === "Controle de Carregamento" ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
74
|
-
children: [/*#__PURE__*/_jsx(Icons, {
|
|
75
|
-
icon: "LIST",
|
|
76
|
-
color: "#fff"
|
|
77
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
78
|
-
marginStyle: {
|
|
79
|
-
marginBottom: 8
|
|
80
|
-
}
|
|
81
|
-
})]
|
|
82
|
-
}) : arrow && /*#__PURE__*/_jsx(Icons, {
|
|
83
|
-
icon: "ARROW_LEFT"
|
|
84
|
-
})
|
|
85
|
-
})
|
|
86
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
87
|
-
height: 45,
|
|
88
|
-
flexStyle: {
|
|
89
|
-
flexDirection: "row",
|
|
90
|
-
justifyContent: "center",
|
|
91
|
-
alignItems: "center",
|
|
92
|
-
flex: 0.9
|
|
93
|
-
},
|
|
94
|
-
children: /*#__PURE__*/_jsx(Typography, {
|
|
95
|
-
text: title ? title : "Login",
|
|
96
|
-
size: 15.4,
|
|
97
|
-
fontFamily: theme.fonts.inter_bold_700,
|
|
98
|
-
color: color?.colorText ?? theme.colors.neutral[25],
|
|
99
|
-
fontWeight: "700",
|
|
100
|
-
align: "center",
|
|
101
|
-
lineHeight: theme.fontSizes.lg,
|
|
102
|
-
letterSpacing: "regular",
|
|
103
|
-
marginLeft: theme.margins["2xl"]
|
|
104
|
-
})
|
|
105
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
106
|
-
marginStyle: {
|
|
107
|
-
marginRight: isMobile ? 10 : 60
|
|
108
|
-
},
|
|
109
|
-
borderStyled: {
|
|
110
|
-
borderRadius: 10
|
|
111
|
-
},
|
|
58
|
+
paddingStyle: {
|
|
59
|
+
paddingLeft: theme.paddings.md
|
|
60
|
+
}
|
|
61
|
+
}, arrow && title !== "Login" && /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
62
|
+
disabled: !arrow,
|
|
63
|
+
onPress: handleNavigation,
|
|
64
|
+
style: {
|
|
112
65
|
width: 50,
|
|
113
|
-
height:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
}
|
|
66
|
+
height: 45,
|
|
67
|
+
flexDirection: "column",
|
|
68
|
+
alignItems: "flex-start",
|
|
69
|
+
justifyContent: "center"
|
|
70
|
+
}
|
|
71
|
+
}, title === "Controle de Jornada" || title === "Controle de Carregamento" ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icons, {
|
|
72
|
+
icon: "LIST",
|
|
73
|
+
color: "#fff"
|
|
74
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
75
|
+
marginStyle: {
|
|
76
|
+
marginBottom: 8
|
|
77
|
+
}
|
|
78
|
+
})) : arrow && /*#__PURE__*/React.createElement(Icons, {
|
|
79
|
+
icon: "ARROW_LEFT"
|
|
80
|
+
}))), /*#__PURE__*/React.createElement(Box, {
|
|
81
|
+
height: 45,
|
|
82
|
+
flexStyle: {
|
|
83
|
+
flexDirection: "row",
|
|
84
|
+
justifyContent: "center",
|
|
85
|
+
alignItems: "center",
|
|
86
|
+
flex: 0.9
|
|
87
|
+
}
|
|
88
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
89
|
+
text: title ? title : "Login",
|
|
90
|
+
size: 15.4,
|
|
91
|
+
fontFamily: theme.fonts.inter_bold_700,
|
|
92
|
+
color: (_color$colorText = color === null || color === void 0 ? void 0 : color.colorText) !== null && _color$colorText !== void 0 ? _color$colorText : theme.colors.neutral[25],
|
|
93
|
+
fontWeight: "700",
|
|
94
|
+
align: "center",
|
|
95
|
+
lineHeight: theme.fontSizes.lg,
|
|
96
|
+
letterSpacing: "regular",
|
|
97
|
+
marginLeft: theme.margins["2xl"]
|
|
98
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
99
|
+
marginStyle: {
|
|
100
|
+
marginRight: isMobile ? 10 : 60
|
|
101
|
+
},
|
|
102
|
+
borderStyled: {
|
|
103
|
+
borderRadius: 10
|
|
104
|
+
},
|
|
105
|
+
width: 50,
|
|
106
|
+
height: 24
|
|
107
|
+
}, permission ? /*#__PURE__*/React.createElement(Box, {
|
|
108
|
+
marginStyle: {
|
|
109
|
+
marginTop: 2
|
|
110
|
+
}
|
|
111
|
+
}) : /*#__PURE__*/React.createElement(Box, {
|
|
112
|
+
marginStyle: {
|
|
113
|
+
marginTop: 2
|
|
114
|
+
},
|
|
115
|
+
flexStyle: {
|
|
116
|
+
flexDirection: "row",
|
|
117
|
+
justifyContent: "flex-end"
|
|
118
|
+
}
|
|
119
|
+
}, isBluetooth && /*#__PURE__*/React.createElement(Icons, {
|
|
120
|
+
icon: bluetoothIsConnected ? "BLUETOOTH_CONNECTED" : "BLUETOOTH",
|
|
121
|
+
color: bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]
|
|
122
|
+
}), /*#__PURE__*/React.createElement(Icons, {
|
|
123
|
+
icon: isInternetReachable ? "WIFI_HIGH" : "WIFI_X",
|
|
124
|
+
color: isInternetReachable ? theme.colors.orange[150] : theme.colors.red[800]
|
|
125
|
+
}))));
|
|
136
126
|
};
|
|
137
127
|
|
|
138
128
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Dimensions","TouchableOpacity","Box","Typography","Icons","theme","
|
|
1
|
+
{"version":3,"names":["React","Dimensions","TouchableOpacity","Box","Typography","Icons","theme","Header","title","color","testID","arrow","permission","bluetoothIsConnected","isInternetReachable","handleNavigation","backgroundColor","isBluetooth","_color$colorText","width","widthScreen","get","isMobile","createElement","height","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","paddingLeft","paddings","md","disabled","onPress","style","Fragment","icon","marginStyle","marginBottom","flex","text","size","fontFamily","fonts","inter_bold_700","colorText","neutral","fontWeight","align","lineHeight","fontSizes","lg","letterSpacing","marginLeft","margins","marginRight","borderStyled","borderRadius","marginTop","green","red","orange"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Dimensions, TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// typings\nimport { IHeaderProps } from \"./interface\";\n\n// commons\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n * Componente Header para a interação do usuário com ui.\n */\nconst Header: React.FC<IHeaderProps> = ({\n title,\n color,\n testID,\n arrow,\n // propsNav,\n permission,\n bluetoothIsConnected,\n isInternetReachable,\n handleNavigation,\n backgroundColor,\n isBluetooth = false,\n}) => {\n const { width: widthScreen } = Dimensions.get(\"window\");\n const isMobile = widthScreen < 768;\n\n return (\n <Box\n testID={testID}\n width={\"100%\"}\n height={45}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"space-between\", alignItems: \"center\" }}\n >\n <Box\n width={\"10%\"}\n height={45}\n flexStyle={{ flexDirection: \"column\", justifyContent: \"center\", alignItems: \"flex-start\" }}\n paddingStyle={{ paddingLeft: theme.paddings.md }}\n >\n {arrow && title !== \"Login\" && (\n <TouchableOpacity\n disabled={!arrow}\n onPress={handleNavigation}\n style={{\n width: 50,\n height: 45,\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"center\",\n }}\n >\n {title === \"Controle de Jornada\" || title === \"Controle de Carregamento\" ? (\n <>\n <Icons icon=\"LIST\" color=\"#fff\" />\n <Box marginStyle={{ marginBottom: 8 }} />\n </>\n ) : (\n arrow && <Icons icon=\"ARROW_LEFT\" />\n )}\n </TouchableOpacity>\n )}\n </Box>\n\n <Box\n height={45}\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n flex: 0.9,\n }}\n >\n <Typography\n text={title ? title : \"Login\"}\n size={15.4}\n fontFamily={theme.fonts.inter_bold_700}\n color={color?.colorText ?? theme.colors.neutral[25]}\n fontWeight=\"700\"\n align=\"center\"\n lineHeight={theme.fontSizes.lg}\n letterSpacing={\"regular\"}\n marginLeft={theme.margins[\"2xl\"]}\n />\n </Box>\n\n <Box\n marginStyle={{ marginRight: isMobile ? 10 : 60 }}\n borderStyled={{ borderRadius: 10 }}\n width={50}\n height={24}\n >\n {permission ? (\n <Box marginStyle={{ marginTop: 2 }} />\n ) : (\n <Box\n marginStyle={{ marginTop: 2 }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-end\" }}\n >\n {isBluetooth && (\n <Icons\n icon={bluetoothIsConnected ? \"BLUETOOTH_CONNECTED\" : \"BLUETOOTH\"}\n color={bluetoothIsConnected ? theme.colors.green[400] : theme.colors.red[900]}\n />\n )}\n <Icons\n icon={isInternetReachable ? \"WIFI_HIGH\" : \"WIFI_X\"}\n color={isInternetReachable ? theme.colors.orange[150] : theme.colors.red[800]}\n />\n </Box>\n )}\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { Header };\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
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 IHeaderProps extends ViewProps, IGlobalCss {\n title: string;\n\n /**\n * TestID para testes automático e identificação\n */\n testID?: string;\n\n /**\n * prop de navegação\n */\n propsNav?: any;\n\n /**\n * arrow para coloca o ícone da flecha ou lista\n */\n arrow: boolean;\n\n /**\n * permission boolean\n */\n permission: boolean;\n\n /**\n * isInternetReachable boolean que consta se está conectado a internet\n */\n isInternetReachable: boolean;\n\n /**\n * verifica se o bluetooth esta conectado\n */\n bluetoothIsConnected: boolean;\n\n /**\n * direciona para navegação correspondente\n */\n // eslint-disable-next-line no-unused-vars\n handleNavigation: (propsNav: any) => void;\n\n /**\n * verifica se precisa do bluetooth na aplicação\n */\n isBluetooth: boolean;\n}\n\n/**\n * EXPORTS\n */\nexport type { IHeaderProps };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
// components
|
|
7
|
+
import { Box } from "../box";
|
|
8
|
+
import { Typography } from "../typography";
|
|
9
|
+
|
|
10
|
+
// typings
|
|
11
|
+
|
|
12
|
+
// styles
|
|
13
|
+
import { theme } from "../../styles/theme/theme";
|
|
14
|
+
import { formatDate } from "../../utils/format-data";
|
|
15
|
+
const HistoryDetails = ({
|
|
16
|
+
numero = "01020304050607",
|
|
17
|
+
local = "Doca 1, Pátio 02 - Usimais (Ipatinga)",
|
|
18
|
+
date = "24/03/2025",
|
|
19
|
+
duracao = "00:30"
|
|
20
|
+
}) => {
|
|
21
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
22
|
+
width: "100%",
|
|
23
|
+
borderStyled: {
|
|
24
|
+
borderRadius: 8
|
|
25
|
+
},
|
|
26
|
+
backgroundColor: theme.colors.blue[400]
|
|
27
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
28
|
+
flexStyle: {
|
|
29
|
+
flexDirection: "column",
|
|
30
|
+
justifyContent: "flex-start",
|
|
31
|
+
alignItems: "flex-start"
|
|
32
|
+
},
|
|
33
|
+
paddingStyle: {
|
|
34
|
+
padding: theme.paddings.xs
|
|
35
|
+
}
|
|
36
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
37
|
+
text: `Carregamento - #${numero}`,
|
|
38
|
+
size: theme.fontSizes.sm,
|
|
39
|
+
fontFamily: theme.fonts.inter_semi_bold_600,
|
|
40
|
+
fontWeight: "600",
|
|
41
|
+
color: theme.colors.neutral[25],
|
|
42
|
+
lineHeight: theme.fontSizes.xl,
|
|
43
|
+
letterSpacing: "regular"
|
|
44
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
45
|
+
text: local,
|
|
46
|
+
color: theme.colors.neutral[25],
|
|
47
|
+
size: theme.fontSizes.xs,
|
|
48
|
+
lineHeight: theme.fontSizes.lg,
|
|
49
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
50
|
+
letterSpacing: "regular",
|
|
51
|
+
numberOfLines: 1
|
|
52
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
53
|
+
text: `Data carregamento: ${formatDate(new Date(date))}`,
|
|
54
|
+
color: theme.colors.neutral[25],
|
|
55
|
+
size: theme.fontSizes.xs,
|
|
56
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
57
|
+
lineHeight: theme.fontSizes.lg,
|
|
58
|
+
letterSpacing: "regular",
|
|
59
|
+
numberOfLines: 1
|
|
60
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
61
|
+
height: 1,
|
|
62
|
+
backgroundColor: theme.colors.gray[950]
|
|
63
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
64
|
+
flexStyle: {
|
|
65
|
+
flexDirection: "row",
|
|
66
|
+
justifyContent: "space-between",
|
|
67
|
+
alignItems: "center"
|
|
68
|
+
},
|
|
69
|
+
paddingStyle: {
|
|
70
|
+
padding: theme.paddings.xs
|
|
71
|
+
}
|
|
72
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
73
|
+
text: "DURAÇÃO:",
|
|
74
|
+
color: theme.colors.neutral[25],
|
|
75
|
+
size: 24,
|
|
76
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
77
|
+
fontWeight: "400",
|
|
78
|
+
lineHeight: theme.fontSizes["3xl"],
|
|
79
|
+
letterSpacing: "regular"
|
|
80
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
81
|
+
text: duracao,
|
|
82
|
+
color: theme.colors.neutral[25],
|
|
83
|
+
size: 26,
|
|
84
|
+
align: "left",
|
|
85
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
86
|
+
fontWeight: "500",
|
|
87
|
+
lineHeight: theme.fontSizes["3xl"],
|
|
88
|
+
letterSpacing: "regular"
|
|
89
|
+
})));
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* EXPORTS
|
|
94
|
+
*/
|
|
95
|
+
export { HistoryDetails };
|
|
96
|
+
//# sourceMappingURL=index.js.map
|