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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Box","Typography","theme","formatDate","HistoryDetails","numero","local","date","duracao","createElement","width","borderStyled","borderRadius","backgroundColor","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","padding","paddings","xs","text","size","fontSizes","sm","fontFamily","fonts","inter_semi_bold_600","fontWeight","color","neutral","lineHeight","xl","letterSpacing","lg","inter_regular_400","numberOfLines","Date","height","gray","align","inter_medium_500"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// typings\r\nimport { IHistoryDetails } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\nimport { formatDate } from \"../../utils/format-data\";\r\n\r\nconst HistoryDetails: React.FC<IHistoryDetails> = ({\r\n numero = \"01020304050607\",\r\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date = \"24/03/2025\",\r\n duracao = \"00:30\",\r\n}) => {\r\n return (\r\n <Box width=\"100%\" borderStyled={{ borderRadius: 8 }} backgroundColor={theme.colors.blue[400]}>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"column\",\r\n justifyContent: \"flex-start\",\r\n alignItems: \"flex-start\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n >\r\n <Typography\r\n text={`Carregamento - #${numero}`}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n lineHeight={theme.fontSizes.xl}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={local}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n <Typography\r\n text={`Data carregamento: ${formatDate(new Date(date))}`}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n lineHeight={theme.fontSizes.lg}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n\r\n <Box height={1} backgroundColor={theme.colors.gray[950]} />\r\n\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n >\r\n <Typography\r\n text={\"DURAÇÃO:\"}\r\n color={theme.colors.neutral[25]}\r\n size={24}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.neutral[25]}\r\n size={26}\r\n align=\"left\"\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { HistoryDetails };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAChD,SAASC,UAAU,QAAQ,yBAAyB;AAEpD,MAAMC,cAAyC,GAAGA,CAAC;EACjDC,MAAM,GAAG,gBAAgB;EACzBC,KAAK,GAAG,uCAAuC;EAC/CC,IAAI,GAAG,YAAY;EACnBC,OAAO,GAAG;AACZ,CAAC,KAAK;EACJ,oBACET,KAAA,CAAAU,aAAA,CAACT,GAAG;IAACU,KAAK,EAAC,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AK,CAACe,gBAAiB;IACzCb,UAAU,EAAC,KAAK;IAChBG,UAAU,EAAEhC,KAAK,CAACwB,SAAS,CAAC,KAAK,CAAE;IACnCU,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAAShC,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\ntype IHistoryDetails = {\r\n /**número do carregamento */\r\n numero: string;\r\n /**local onde vai ser o carregamento */\r\n local: string;\r\n /**data de quando o carregamento vai ser realizado */\r\n date: string;\r\n /**duração para o carregamento */\r\n duracao: string;\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IHistoryDetails };\r\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,92 +1,89 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
5
3
|
*/
|
|
6
4
|
import React from "react";
|
|
7
5
|
import { Image, TouchableOpacity } from "react-native";
|
|
8
6
|
|
|
9
7
|
// components
|
|
10
|
-
import { Box } from "../box
|
|
8
|
+
import { Box } from "../box";
|
|
11
9
|
|
|
12
10
|
// comons / icons
|
|
13
|
-
import { Icons } from "../../common/icons-svg
|
|
11
|
+
import { Icons } from "../../common/icons-svg";
|
|
14
12
|
|
|
15
13
|
// typings
|
|
16
14
|
|
|
17
15
|
// styles
|
|
18
|
-
import { theme } from "../../styles/theme/theme
|
|
16
|
+
import { theme } from "../../styles/theme/theme";
|
|
17
|
+
|
|
18
|
+
// utils
|
|
19
|
+
import { getBorderColor } from "../../utils/status-color/return-color";
|
|
19
20
|
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* Componente ImageCaptureWithRemove para a interação do usuário com ui.
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Componente ImageCaptureWithRemove para a interação do usuário com ui.
|
|
23
24
|
*/
|
|
24
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
const ImageCaptureWithRemove = ({
|
|
26
26
|
width = 50,
|
|
27
27
|
height = 50,
|
|
28
28
|
foto = null,
|
|
29
29
|
handleTakePhoto,
|
|
30
|
-
onRemove
|
|
30
|
+
onRemove,
|
|
31
|
+
status
|
|
31
32
|
}) => {
|
|
32
|
-
|
|
33
|
+
const statusColor = status === "Cancelado" || status === "Pendente";
|
|
34
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
33
35
|
testID: "image-capture-touchable",
|
|
34
36
|
activeOpacity: 0.7,
|
|
35
37
|
style: {
|
|
36
38
|
position: "relative"
|
|
37
39
|
},
|
|
38
40
|
onPress: handleTakePhoto,
|
|
39
|
-
disabled: !!foto
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
icon: "PLUS",
|
|
82
|
-
color: theme.colors.blue[400]
|
|
83
|
-
})
|
|
84
|
-
})
|
|
85
|
-
});
|
|
41
|
+
disabled: !!foto
|
|
42
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
43
|
+
width: width,
|
|
44
|
+
height: height,
|
|
45
|
+
flexStyle: {
|
|
46
|
+
flexDirection: "row",
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
justifyContent: "center"
|
|
49
|
+
},
|
|
50
|
+
testID: "plus-icon-box",
|
|
51
|
+
borderStyled: {
|
|
52
|
+
borderWidth: statusColor ? theme.borderWidths.thick : theme.borderWidths.thin,
|
|
53
|
+
borderRadius: theme.fontSizes.md,
|
|
54
|
+
borderColor: statusColor ? getBorderColor(status) : theme.colors.blue[400]
|
|
55
|
+
}
|
|
56
|
+
}, foto ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Image, {
|
|
57
|
+
testID: "captured-image",
|
|
58
|
+
style: {
|
|
59
|
+
width: "100%",
|
|
60
|
+
height: "100%",
|
|
61
|
+
borderRadius: theme.fontSizes.md,
|
|
62
|
+
resizeMode: "cover"
|
|
63
|
+
},
|
|
64
|
+
source: {
|
|
65
|
+
uri: foto
|
|
66
|
+
}
|
|
67
|
+
}), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
68
|
+
testID: "remove-button",
|
|
69
|
+
style: {
|
|
70
|
+
position: "absolute",
|
|
71
|
+
top: 2,
|
|
72
|
+
right: 4
|
|
73
|
+
},
|
|
74
|
+
onPress: onRemove
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
76
|
+
icon: "X_CIRCLE",
|
|
77
|
+
color: theme.colors.red[400],
|
|
78
|
+
size: 18
|
|
79
|
+
}))) : /*#__PURE__*/React.createElement(Icons, {
|
|
80
|
+
icon: "PLUS",
|
|
81
|
+
color: theme.colors.blue[400]
|
|
82
|
+
})));
|
|
86
83
|
};
|
|
87
84
|
|
|
88
|
-
/**
|
|
89
|
-
* EXPORTS
|
|
85
|
+
/**
|
|
86
|
+
* EXPORTS
|
|
90
87
|
*/
|
|
91
88
|
export { ImageCaptureWithRemove };
|
|
92
89
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","TouchableOpacity","Box","Icons","theme","
|
|
1
|
+
{"version":3,"names":["React","Image","TouchableOpacity","Box","Icons","theme","getBorderColor","ImageCaptureWithRemove","width","height","foto","handleTakePhoto","onRemove","status","statusColor","createElement","testID","activeOpacity","style","position","onPress","disabled","flexStyle","flexDirection","alignItems","justifyContent","borderStyled","borderWidth","borderWidths","thick","thin","borderRadius","fontSizes","md","borderColor","colors","blue","Fragment","resizeMode","source","uri","top","right","icon","color","red","size"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { Image, TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\n\r\n// comons / icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// typings\r\nimport { IImageCaptureWithRemoveProps } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// utils\r\nimport { getBorderColor } from \"../../utils/status-color/return-color\";\r\n\r\n/**\r\n *\r\n * Componente ImageCaptureWithRemove para a interação do usuário com ui.\r\n */\r\nconst ImageCaptureWithRemove: React.FC<IImageCaptureWithRemoveProps> = ({\r\n width = 50,\r\n height = 50,\r\n foto = null,\r\n handleTakePhoto,\r\n onRemove,\r\n status,\r\n}: IImageCaptureWithRemoveProps) => {\r\n const statusColor = status === \"Cancelado\" || status === \"Pendente\";\r\n\r\n return (\r\n <TouchableOpacity\r\n testID=\"image-capture-touchable\"\r\n activeOpacity={0.7}\r\n style={{ position: \"relative\" }}\r\n onPress={handleTakePhoto}\r\n disabled={!!foto}\r\n >\r\n <Box\r\n width={width}\r\n height={height}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\r\n testID=\"plus-icon-box\"\r\n borderStyled={{\r\n borderWidth: statusColor ? theme.borderWidths.thick : theme.borderWidths.thin,\r\n borderRadius: theme.fontSizes.md,\r\n borderColor: statusColor ? getBorderColor(status) : theme.colors.blue[400],\r\n }}\r\n >\r\n {foto ? (\r\n <>\r\n <Image\r\n testID=\"captured-image\"\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n borderRadius: theme.fontSizes.md,\r\n resizeMode: \"cover\",\r\n }}\r\n source={{\r\n uri: foto,\r\n }}\r\n />\r\n\r\n <TouchableOpacity\r\n testID=\"remove-button\"\r\n style={{ position: \"absolute\", top: 2, right: 4 }}\r\n onPress={onRemove}\r\n >\r\n <Icons icon=\"X_CIRCLE\" color={theme.colors.red[400]} size={18} />\r\n </TouchableOpacity>\r\n </>\r\n ) : (\r\n <Icons icon=\"PLUS\" color={theme.colors.blue[400]} />\r\n )}\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ImageCaptureWithRemove };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,SAASC,GAAG,QAAQ,QAAQ;;AAE5B;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA,SAASC,cAAc,QAAQ,uCAAuC;;AAEtE;AACA;AACA;AACA;AACA,MAAMC,sBAA8D,GAAGA,CAAC;EACtEC,KAAK,GAAG,EAAE;EACVC,MAAM,GAAG,EAAE;EACXC,IAAI,GAAG,IAAI;EACXC,eAAe;EACfC,QAAQ;EACRC;AAC4B,CAAC,KAAK;EAClC,MAAMC,WAAW,GAAGD,MAAM,KAAK,WAAW,IAAIA,MAAM,KAAK,UAAU;EAEnE,oBACEb,KAAA,CAAAe,aAAA,CAACb,gBAAgB;IACfc,MAAM,EAAC,yBAAyB;IAChCC,aAAa,EAAE,GAAI;IACnBC,KAAK,EAAE;MAAEC,QAAQ,EAAE;IAAW,CAAE;IAChCC,OAAO,EAAET,eAAgB;IAC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;IAACC,IAAI,EAAE;EAAG,CAAE,CAChD,CAClB,CAAC,gBAEH9C,KAAA,CAAAe,aAAA,CAACX,KAAK;IAACuC,IAAI,EAAC,MAAM;IAACC,KAAK,EAAEvC,KAAK,CAAC8B,MAAM,CAACC,IAAI,CAAC,GAAG;EAAE,CAAE,CAElD,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AACA,SAAS7B,sBAAsB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\ntype IImageCaptureWithRemoveProps = {\r\n /**define o tamanho */\r\n width?: number;\r\n /**define o altura */\r\n height?: number;\r\n /**Imagem capturada */\r\n foto?: string | null;\r\n\r\n /**Remove a imagem capturada */\r\n onRemove: () => void;\r\n\r\n /**Captura a imagem */\r\n handleTakePhoto: () => void;\r\n\r\n /**Define o status das fotos */\r\n status?: \"Pendente\" | \"Concluido\" | \"Cancelado\" | \"Andamento\";\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IImageCaptureWithRemoveProps };\r\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
2
|
/**
|
|
4
3
|
* IMPORTS
|
|
5
4
|
*/
|
|
@@ -7,21 +6,20 @@ import React from "react";
|
|
|
7
6
|
import { Dimensions, TextInput, TouchableOpacity } from "react-native";
|
|
8
7
|
|
|
9
8
|
// components
|
|
10
|
-
import { Box } from "../box
|
|
11
|
-
import { Typography } from "../typography
|
|
12
|
-
import { Icons } from "../../common/icons-svg
|
|
9
|
+
import { Box } from "../box";
|
|
10
|
+
import { Typography } from "../typography";
|
|
11
|
+
import { Icons } from "../../common/icons-svg";
|
|
13
12
|
|
|
14
13
|
// typings
|
|
15
14
|
|
|
16
15
|
// styles
|
|
17
|
-
import { theme } from "../../styles/theme/theme
|
|
18
|
-
import { styles } from "./styles
|
|
16
|
+
import { theme } from "../../styles/theme/theme";
|
|
17
|
+
import { styles } from "./styles";
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
*
|
|
22
21
|
* Componente Input para a interação do usuário com ui.
|
|
23
22
|
*/
|
|
24
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
23
|
const Input = ({
|
|
26
24
|
name,
|
|
27
25
|
textLabel,
|
|
@@ -48,6 +46,7 @@ const Input = ({
|
|
|
48
46
|
secureTextEntry,
|
|
49
47
|
...props
|
|
50
48
|
}) => {
|
|
49
|
+
var _color$colorText, _append$appendText, _append$appendColor, _theme$colors$red$;
|
|
51
50
|
const styleProps = {
|
|
52
51
|
width,
|
|
53
52
|
backgroundColor,
|
|
@@ -82,114 +81,100 @@ const Input = ({
|
|
|
82
81
|
right: 35,
|
|
83
82
|
top: 65
|
|
84
83
|
};
|
|
85
|
-
return /*#__PURE__*/
|
|
84
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
86
85
|
paddingStyle: paddingStyle,
|
|
87
86
|
marginStyle: marginStyle,
|
|
88
87
|
style: {
|
|
89
88
|
position: "relative"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}), Boolean(messageError) && /*#__PURE__*/_jsx(Box, {
|
|
180
|
-
width: "100%",
|
|
181
|
-
backgroundColor: backgroundColor,
|
|
182
|
-
children: /*#__PURE__*/_jsx(Typography, {
|
|
183
|
-
text: messageError ?? "",
|
|
184
|
-
size: theme.fontSizes["sm"],
|
|
185
|
-
fontFamily: "inter_regular_400",
|
|
186
|
-
color: theme.colors.red[900] ?? "#9F0000",
|
|
187
|
-
lineHeight: 24,
|
|
188
|
-
letterSpacing: "regular",
|
|
189
|
-
marginTop: 2
|
|
190
|
-
})
|
|
191
|
-
})]
|
|
192
|
-
});
|
|
89
|
+
}
|
|
90
|
+
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Typography, {
|
|
91
|
+
size: theme.fontSizes.md,
|
|
92
|
+
text: String(textLabel),
|
|
93
|
+
color: (_color$colorText = color === null || color === void 0 ? void 0 : color.colorText) !== null && _color$colorText !== void 0 ? _color$colorText : theme.colors.gray[900]
|
|
94
|
+
}), /*#__PURE__*/React.createElement(TextInput
|
|
95
|
+
// @ts-ignore
|
|
96
|
+
, _extends({
|
|
97
|
+
style: [styles(styleProps).input, {
|
|
98
|
+
backgroundColor
|
|
99
|
+
}, style],
|
|
100
|
+
placeholder: placeholder,
|
|
101
|
+
secureTextEntry: secureTextEntry,
|
|
102
|
+
color: theme.colors.gray[900]
|
|
103
|
+
}, props))), append && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Typography, {
|
|
104
|
+
size: theme.fontSizes["lg"],
|
|
105
|
+
text: (_append$appendText = append.appendText) !== null && _append$appendText !== void 0 ? _append$appendText : "",
|
|
106
|
+
color: (_append$appendColor = append.appendColor) !== null && _append$appendColor !== void 0 ? _append$appendColor : "#000"
|
|
107
|
+
})), name === "label" && /*#__PURE__*/React.createElement(Box, {
|
|
108
|
+
backgroundColor: "transparent",
|
|
109
|
+
style: positionLabel
|
|
110
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
111
|
+
text: textLabelPlaceholder !== null && textLabelPlaceholder !== void 0 ? textLabelPlaceholder : "",
|
|
112
|
+
size: theme.fontSizes["sm"],
|
|
113
|
+
fontWeight: "400",
|
|
114
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
115
|
+
color: theme.colors.blue[500],
|
|
116
|
+
lineHeight: 24,
|
|
117
|
+
letterSpacing: "regular"
|
|
118
|
+
})), name === "password" || name === "senha" && /*#__PURE__*/React.createElement(Box, {
|
|
119
|
+
backgroundColor: "transparent",
|
|
120
|
+
style: positionIconPassword
|
|
121
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
122
|
+
activeOpacity: 0.7,
|
|
123
|
+
testID: "eye-icon",
|
|
124
|
+
onPress: handlePressIsVisiblyPassword
|
|
125
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
126
|
+
size: theme.fontSizes["3xl"],
|
|
127
|
+
color: theme.colors.blue[500],
|
|
128
|
+
icon: isVisiblyPassword ? "EYE" : "EYE_SLASH"
|
|
129
|
+
}))), name === "data" && /*#__PURE__*/React.createElement(Box, {
|
|
130
|
+
width: 40,
|
|
131
|
+
height: 70,
|
|
132
|
+
backgroundColor: "transparent",
|
|
133
|
+
style: positionIcon
|
|
134
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
135
|
+
testID: "CALENDAR",
|
|
136
|
+
size: theme.fontSizes["lg"],
|
|
137
|
+
color: theme.colors.gray[700],
|
|
138
|
+
icon: "CALENDAR"
|
|
139
|
+
})), name === "hours" && /*#__PURE__*/React.createElement(Box, {
|
|
140
|
+
width: 40,
|
|
141
|
+
height: 70,
|
|
142
|
+
backgroundColor: "transparent",
|
|
143
|
+
style: positionIcon
|
|
144
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
145
|
+
size: theme.fontSizes["lg"],
|
|
146
|
+
color: theme.colors.gray[700],
|
|
147
|
+
icon: "TIMER"
|
|
148
|
+
})), name === "litragem" && /*#__PURE__*/React.createElement(Box, {
|
|
149
|
+
width: 40,
|
|
150
|
+
height: 70,
|
|
151
|
+
backgroundColor: "transparent",
|
|
152
|
+
style: positionIcon
|
|
153
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
154
|
+
size: theme.fontSizes["lg"],
|
|
155
|
+
color: theme.colors.gray[700],
|
|
156
|
+
icon: "GAS_PUMP"
|
|
157
|
+
})), name === "value" && /*#__PURE__*/React.createElement(Box, {
|
|
158
|
+
width: 40,
|
|
159
|
+
height: 70,
|
|
160
|
+
backgroundColor: "transparent",
|
|
161
|
+
style: positionIcon
|
|
162
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
163
|
+
size: theme.fontSizes["lg"],
|
|
164
|
+
color: theme.colors.gray[700],
|
|
165
|
+
icon: "CURRENCY"
|
|
166
|
+
})), Boolean(messageError) && /*#__PURE__*/React.createElement(Box, {
|
|
167
|
+
width: "100%",
|
|
168
|
+
backgroundColor: backgroundColor
|
|
169
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
170
|
+
text: messageError !== null && messageError !== void 0 ? messageError : "",
|
|
171
|
+
size: theme.fontSizes["sm"],
|
|
172
|
+
fontFamily: "inter_regular_400",
|
|
173
|
+
color: (_theme$colors$red$ = theme.colors.red[900]) !== null && _theme$colors$red$ !== void 0 ? _theme$colors$red$ : "#9F0000",
|
|
174
|
+
lineHeight: 24,
|
|
175
|
+
letterSpacing: "regular",
|
|
176
|
+
marginTop: 2
|
|
177
|
+
})));
|
|
193
178
|
};
|
|
194
179
|
|
|
195
180
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Dimensions","TextInput","TouchableOpacity","Box","Typography","Icons","theme","styles","jsx","_jsx","jsxs","_jsxs","Input","name","textLabel","messageError","width","backgroundColor","marginStyle","paddingStyle","borderStyled","isVisiblyPassword","testID","opacity","children","fontStyle","style","flexStyle","handlePressIsVisiblyPassword","append","color","placeholder","textLabelPlaceholder","secureTextEntry","props","styleProps","widthScreen","get","isMobile","positionIcon","position","right","top","positionIconPassword","positionLabel","size","fontSizes","md","text","String","colorText","colors","gray","input","appendText","appendColor","fontWeight","fontFamily","fonts","inter_regular_400","blue","lineHeight","letterSpacing","activeOpacity","onPress","icon","height","Boolean","red","marginTop"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/input/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,SAAS,EAAEC,gBAAgB,QAAmB,cAAc;;AAEjF;AACA,SAASC,GAAG,QAAQ,iBAAQ;AAC5B,SAASC,UAAU,QAAQ,wBAAe;AAC1C,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;;AAGA;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAChD,SAASC,MAA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,CAAC,IAAI,CAAE;QAC5BW,UAAU,EAAC,mBAAmB;QAC9B3B,KAAK,EAAExB,KAAK,CAAC6C,MAAM,CAACiB,GAAG,CAAC,GAAG,CAAC,IAAI,SAAU;QAC1CP,UAAU,EAAE,EAAG;QACfC,aAAa,EAAE,SAAU;QACzBO,SAAS,EAAE;MAAE,CACd;IAAC,CACC,CACN;EAAA,CACE,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASzD,KAAK","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Dimensions","TextInput","TouchableOpacity","Box","Typography","Icons","theme","styles","Input","name","textLabel","messageError","width","backgroundColor","marginStyle","paddingStyle","borderStyled","isVisiblyPassword","testID","opacity","children","fontStyle","style","flexStyle","handlePressIsVisiblyPassword","append","color","placeholder","textLabelPlaceholder","secureTextEntry","props","_color$colorText","_append$appendText","_append$appendColor","_theme$colors$red$","styleProps","widthScreen","get","isMobile","positionIcon","position","right","top","positionIconPassword","positionLabel","createElement","size","fontSizes","md","text","String","colorText","colors","gray","_extends","input","appendText","appendColor","fontWeight","fontFamily","fonts","inter_regular_400","blue","lineHeight","letterSpacing","activeOpacity","onPress","icon","height","Boolean","red","marginTop"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Dimensions, TextInput, TouchableOpacity, ViewStyle } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { type IInputProps } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\nimport { styles } from \"./styles\";\n\n/**\n *\n * Componente Input para a interação do usuário com ui.\n */\nconst Input: React.FC<IInputProps> = ({\n name,\n textLabel,\n messageError,\n width,\n backgroundColor,\n marginStyle,\n paddingStyle,\n borderStyled,\n isVisiblyPassword, // password\n testID,\n opacity,\n children,\n fontStyle,\n style,\n flexStyle,\n handlePressIsVisiblyPassword, // password\n append,\n color,\n placeholder,\n textLabelPlaceholder,\n secureTextEntry,\n ...props\n}) => {\n const styleProps = {\n width,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n testID,\n opacity,\n children,\n fontStyle,\n color,\n style,\n name,\n } as IInputProps;\n\n const { width: widthScreen } = Dimensions.get(\"window\");\n const isMobile = widthScreen < 768;\n\n const positionIcon: ViewStyle = {\n position: \"absolute\",\n right: 15,\n top: isMobile ? 65 : 40,\n };\n const positionIconPassword: ViewStyle = {\n position: \"absolute\",\n right: isMobile ? 5 : 32,\n top: isMobile ? 65 : 38,\n };\n const positionLabel: ViewStyle = { position: \"absolute\", right: 35, top: 65 };\n\n return (\n <Box paddingStyle={paddingStyle} marginStyle={marginStyle} style={{ position: \"relative\" }}>\n <Box>\n <Typography\n size={theme.fontSizes.md}\n text={String(textLabel)}\n color={color?.colorText ?? theme.colors.gray[900]}\n />\n\n <TextInput\n // @ts-ignore\n style={[styles(styleProps).input, { backgroundColor }, style]}\n placeholder={placeholder}\n secureTextEntry={secureTextEntry}\n color={theme.colors.gray[900]}\n {...props}\n />\n </Box>\n {append && (\n <Box>\n <Typography\n size={theme.fontSizes[\"lg\"]}\n text={append.appendText ?? \"\"}\n color={append.appendColor ?? \"#000\"}\n />\n </Box>\n )}\n\n {name === \"label\" && (\n <Box backgroundColor={\"transparent\"} style={positionLabel}>\n <Typography\n text={textLabelPlaceholder ?? \"\"}\n size={theme.fontSizes[\"sm\"]}\n fontWeight=\"400\"\n fontFamily={theme.fonts.inter_regular_400}\n color={theme.colors.blue[500]}\n lineHeight={24}\n letterSpacing={\"regular\"}\n />\n </Box>\n )}\n\n {name === \"password\" ||\n (name === \"senha\" && (\n <Box backgroundColor={\"transparent\"} style={positionIconPassword}>\n <TouchableOpacity\n activeOpacity={0.7}\n testID=\"eye-icon\"\n onPress={handlePressIsVisiblyPassword}\n >\n <Icons\n size={theme.fontSizes[\"3xl\"]}\n color={theme.colors.blue[500]}\n icon={isVisiblyPassword ? \"EYE\" : \"EYE_SLASH\"}\n />\n </TouchableOpacity>\n </Box>\n ))}\n {name === \"data\" && (\n <Box width={40} height={70} backgroundColor={\"transparent\"} style={positionIcon}>\n <Icons\n testID=\"CALENDAR\"\n size={theme.fontSizes[\"lg\"]}\n color={theme.colors.gray[700]}\n icon={\"CALENDAR\"}\n />\n </Box>\n )}\n {name === \"hours\" && (\n <Box width={40} height={70} backgroundColor={\"transparent\"} style={positionIcon}>\n <Icons size={theme.fontSizes[\"lg\"]} color={theme.colors.gray[700]} icon={\"TIMER\"} />\n </Box>\n )}\n {name === \"litragem\" && (\n <Box width={40} height={70} backgroundColor={\"transparent\"} style={positionIcon}>\n <Icons size={theme.fontSizes[\"lg\"]} color={theme.colors.gray[700]} icon={\"GAS_PUMP\"} />\n </Box>\n )}\n {name === \"value\" && (\n <Box width={40} height={70} backgroundColor={\"transparent\"} style={positionIcon}>\n <Icons size={theme.fontSizes[\"lg\"]} color={theme.colors.gray[700]} icon={\"CURRENCY\"} />\n </Box>\n )}\n {Boolean(messageError) && (\n <Box width={\"100%\"} backgroundColor={backgroundColor}>\n <Typography\n text={messageError ?? \"\"}\n size={theme.fontSizes[\"sm\"]}\n fontFamily=\"inter_regular_400\"\n color={theme.colors.red[900] ?? \"#9F0000\"}\n lineHeight={24}\n letterSpacing={\"regular\"}\n marginTop={2}\n />\n </Box>\n )}\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { Input };\n"],"mappings":";AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,SAAS,EAAEC,gBAAgB,QAAmB,cAAc;;AAEjF;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAChD,SAASC,MAAM,QAAQ,UAAU;;AAEjC;AACA;AACA;AACA;AACA,MAAM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ACc,IAAI,EAAE;EAAW,CAAE,CACnF,CACN,EACAE,OAAO,CAAC1D,YAAY,CAAC,iBACpBZ,KAAA,CAAA8C,aAAA,CAAC1C,GAAG;IAACS,KAAK,EAAE,MAAO;IAACC,eAAe,EAAEA;EAAgB,gBACnDd,KAAA,CAAA8C,aAAA,CAACzC,UAAU;IACT6C,IAAI,EAAEtC,YAAY,aAAZA,YAAY,cAAZA,YAAY,GAAI,EAAG;IACzBmC,IAAI,EAAExC,KAAK,CAACyC,SAAS,CAAC,IAAI,CAAE;IAC5BY,UAAU,EAAC,mBAAmB;IAC9BjC,KAAK,GAAAQ,kBAAA,GAAE5B,KAAK,CAAC8C,MAAM,CAACkB,GAAG,CAAC,GAAG,CAAC,cAAApC,kBAAA,cAAAA,kBAAA,GAAI,SAAU;IAC1C6B,UAAU,EAAE,EAAG;IACfC,aAAa,EAAE,SAAU;IACzBO,SAAS,EAAE;EAAE,CACd,CACE,CAEJ,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAAS/D,KAAK","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { type TextInputProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface IInputProps extends TextInputProps, IGlobalCss {\n /**\n * Propriedade que define se o botão estará visivel ou não a senha.\n */\n handlePressIsVisiblyPassword?: () => void;\n isVisiblyPassword?: boolean;\n\n /**\n * Propriedade que define o nome que vem no input.\n */\n name: string;\n\n /**\n * Propriedade que define a label.\n */\n textLabel?: string;\n\n /**\n * Propriedade que define o placeholder dentro do input\n */\n textLabelPlaceholder?: string;\n\n /**\n * Propriedade que define a mensagem de erro.\n */\n messageError?: string;\n\n /**\n * A propriedade CSS de Shadow Box adiciona efeitos de sombra em torno da estrutura de um elemento. Você pode definir vários efeitos separados por vírgulas. Uma sombra de caixa é descrita por compensações x e y em relação ao elemento, borrão e raio espalhado e cor.\n */\n boxShadow?: string;\n\n /**\n * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).\n */\n opacity?: number;\n\n append?: {\n appendText?: string;\n appendColor?: string;\n };\n}\n\n/**\n * EXPORT\n */\nexport type { IInputProps };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* IMPORTS
|
|
5
3
|
*/
|
|
@@ -7,7 +5,7 @@ import { StyleSheet } from "react-native";
|
|
|
7
5
|
|
|
8
6
|
// typings
|
|
9
7
|
|
|
10
|
-
import { stylesGlobal } from "../../styles/global/styles
|
|
8
|
+
import { stylesGlobal } from "../../styles/global/styles";
|
|
11
9
|
|
|
12
10
|
/**
|
|
13
11
|
* Interface InputProps
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","input"],"
|
|
1
|
+
{"version":3,"names":["StyleSheet","stylesGlobal","styles","props","create","input"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { type IInputProps } from \"./interface\";\n\nimport { stylesGlobal } from \"../../styles/global/styles\";\n\n/**\n * Interface InputProps\n */\n\nconst styles = (props: IInputProps) =>\n StyleSheet.create({\n input: { ...stylesGlobal(props), ...props } as IInputProps,\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAGA,SAASC,YAAY,QAAQ,4BAA4B;;AAEzD;AACA;AACA;;AAEA,MAAMC,MAAM,GAAIC,KAAkB,IAChCH,UAAU,CAACI,MAAM,CAAC;EAChBC,KAAK,EAAE;IAAE,GAAGJ,YAAY,CAACE,KAAK,CAAC;IAAE,GAAGA;EAAM;AAC5C,CAAC,CAAC;;AAEJ;AACA;AACA;AACA,SAASD,MAAM","ignoreList":[]}
|