jornada-ui 0.2.4
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/LICENSE +20 -0
- package/README.md +33 -0
- package/lib/commonjs/@types/as-base-component.js +12 -0
- package/lib/commonjs/@types/as-base-component.js.map +1 -0
- package/lib/commonjs/assets/fonts/Inter-Black.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-ExtraLight.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Light.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Thin.ttf +0 -0
- package/lib/commonjs/common/constants/index.js +10 -0
- package/lib/commonjs/common/constants/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js +44 -0
- package/lib/commonjs/common/icons-svg/arrow-drop-down/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/arrow-left/index.js +42 -0
- package/lib/commonjs/common/icons-svg/arrow-left/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bell/index.js +35 -0
- package/lib/commonjs/common/icons-svg/bell/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bluetooth/index.js +53 -0
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js +56 -0
- package/lib/commonjs/common/icons-svg/bluetooth-connected/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/calendar/index.js +55 -0
- package/lib/commonjs/common/icons-svg/calendar/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/call-bell/index.js +39 -0
- package/lib/commonjs/common/icons-svg/call-bell/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/camera-plus/index.js +54 -0
- package/lib/commonjs/common/icons-svg/camera-plus/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/chart-bar/index.js +39 -0
- package/lib/commonjs/common/icons-svg/chart-bar/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js +43 -0
- package/lib/commonjs/common/icons-svg/check-box-fill/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js +42 -0
- package/lib/commonjs/common/icons-svg/check-box-outline/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/check-circle/index.js +50 -0
- package/lib/commonjs/common/icons-svg/check-circle/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/closed/index.js +56 -0
- package/lib/commonjs/common/icons-svg/closed/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/constants/index.js +58 -0
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/credit-card/index.js +44 -0
- package/lib/commonjs/common/icons-svg/credit-card/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/currency/index.js +53 -0
- package/lib/commonjs/common/icons-svg/currency/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js +39 -0
- package/lib/commonjs/common/icons-svg/currency-circle-dollar/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js +47 -0
- package/lib/commonjs/common/icons-svg/exclamation-circle/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/eye/index.js +43 -0
- package/lib/commonjs/common/icons-svg/eye/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/eye-slash/index.js +41 -0
- package/lib/commonjs/common/icons-svg/eye-slash/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/file-text/index.js +51 -0
- package/lib/commonjs/common/icons-svg/file-text/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/files/index.js +35 -0
- package/lib/commonjs/common/icons-svg/files/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/gas-pump/index.js +54 -0
- package/lib/commonjs/common/icons-svg/gas-pump/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/gauge/index.js +53 -0
- package/lib/commonjs/common/icons-svg/gauge/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/gear/index.js +54 -0
- package/lib/commonjs/common/icons-svg/gear/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +332 -0
- package/lib/commonjs/common/icons-svg/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/interface.d.js +6 -0
- package/lib/commonjs/common/icons-svg/interface.d.js.map +1 -0
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js +39 -0
- package/lib/commonjs/common/icons-svg/lifebuoy/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/list/index.js +67 -0
- package/lib/commonjs/common/icons-svg/list/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/moon-stars/index.js +39 -0
- package/lib/commonjs/common/icons-svg/moon-stars/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/note-pincel/index.js +56 -0
- package/lib/commonjs/common/icons-svg/note-pincel/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/package/index.js +39 -0
- package/lib/commonjs/common/icons-svg/package/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/package-check/index.js +56 -0
- package/lib/commonjs/common/icons-svg/package-check/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/plus/index.js +55 -0
- package/lib/commonjs/common/icons-svg/plus/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/recused/index.js +48 -0
- package/lib/commonjs/common/icons-svg/recused/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js +51 -0
- package/lib/commonjs/common/icons-svg/shopping-cart/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js +61 -0
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js +50 -0
- package/lib/commonjs/common/icons-svg/steering-wheel-fill/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/timer/index.js +53 -0
- package/lib/commonjs/common/icons-svg/timer/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/trophy/index.js +39 -0
- package/lib/commonjs/common/icons-svg/trophy/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/truck/index.js +51 -0
- package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js +50 -0
- package/lib/commonjs/common/icons-svg/truck-trailer/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/wifi-high/index.js +57 -0
- package/lib/commonjs/common/icons-svg/wifi-high/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/wifi-x/index.js +63 -0
- package/lib/commonjs/common/icons-svg/wifi-x/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/x-circle/index.js +56 -0
- package/lib/commonjs/common/icons-svg/x-circle/index.js.map +1 -0
- package/lib/commonjs/components/badge/index.js +34 -0
- package/lib/commonjs/components/badge/index.js.map +1 -0
- package/lib/commonjs/components/box/index.js +60 -0
- package/lib/commonjs/components/box/index.js.map +1 -0
- package/lib/commonjs/components/box/interface.d.js +6 -0
- package/lib/commonjs/components/box/interface.d.js.map +1 -0
- package/lib/commonjs/components/box/styles.js +28 -0
- package/lib/commonjs/components/box/styles.js.map +1 -0
- package/lib/commonjs/components/button/index.js +81 -0
- package/lib/commonjs/components/button/index.js.map +1 -0
- package/lib/commonjs/components/button/interface.d.js +6 -0
- package/lib/commonjs/components/button/interface.d.js.map +1 -0
- package/lib/commonjs/components/button/styles.js +41 -0
- package/lib/commonjs/components/button/styles.js.map +1 -0
- package/lib/commonjs/components/capture-photo/index.js +118 -0
- package/lib/commonjs/components/capture-photo/index.js.map +1 -0
- package/lib/commonjs/components/capture-photo/interface.d.js +6 -0
- package/lib/commonjs/components/capture-photo/interface.d.js.map +1 -0
- package/lib/commonjs/components/capture-photo/styles.js +29 -0
- package/lib/commonjs/components/capture-photo/styles.js.map +1 -0
- package/lib/commonjs/components/card-hours/index.js +121 -0
- package/lib/commonjs/components/card-hours/index.js.map +1 -0
- package/lib/commonjs/components/card-hours/interface.d.js +6 -0
- package/lib/commonjs/components/card-hours/interface.d.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js +136 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/interface.d.js +6 -0
- package/lib/commonjs/components/card-scheduled-journey/interface.d.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/styles.js +28 -0
- package/lib/commonjs/components/card-scheduled-journey/styles.js.map +1 -0
- package/lib/commonjs/components/card-work-session/index.js +184 -0
- package/lib/commonjs/components/card-work-session/index.js.map +1 -0
- package/lib/commonjs/components/card-work-session/interface.d.js +6 -0
- package/lib/commonjs/components/card-work-session/interface.d.js.map +1 -0
- package/lib/commonjs/components/header-profile/index.js +151 -0
- package/lib/commonjs/components/header-profile/index.js.map +1 -0
- package/lib/commonjs/components/header-profile/interface.d.js +6 -0
- package/lib/commonjs/components/header-profile/interface.d.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/index.js +113 -0
- package/lib/commonjs/components/selects/select-option/index.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/interface.d.js +6 -0
- package/lib/commonjs/components/selects/select-option/interface.d.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/styles.js +80 -0
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -0
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js +25 -0
- package/lib/commonjs/components/step-indicator/helpers/get-icon-by-status.js.map +1 -0
- package/lib/commonjs/components/step-indicator/index.js +160 -0
- package/lib/commonjs/components/step-indicator/index.js.map +1 -0
- package/lib/commonjs/components/step-indicator/interface.d.js +6 -0
- package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -0
- package/lib/commonjs/components/step-indicator/styles.js +70 -0
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -0
- package/lib/commonjs/components/typography/index.js +81 -0
- package/lib/commonjs/components/typography/index.js.map +1 -0
- package/lib/commonjs/components/typography/interface.d.js +6 -0
- package/lib/commonjs/components/typography/interface.d.js.map +1 -0
- package/lib/commonjs/components/typography/styles.js +38 -0
- package/lib/commonjs/components/typography/styles.js.map +1 -0
- package/lib/commonjs/components/user-profile/index.js +220 -0
- package/lib/commonjs/components/user-profile/index.js.map +1 -0
- package/lib/commonjs/components/user-profile/interface.d.js +6 -0
- package/lib/commonjs/components/user-profile/interface.d.js.map +1 -0
- package/lib/commonjs/index.js +105 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/stories/box/box.stories.js +115 -0
- package/lib/commonjs/stories/box/box.stories.js.map +1 -0
- package/lib/commonjs/stories/button/button.stories.js +207 -0
- package/lib/commonjs/stories/button/button.stories.js.map +1 -0
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +173 -0
- package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -0
- package/lib/commonjs/stories/card-hours/card-hours.stories.js +108 -0
- package/lib/commonjs/stories/card-hours/card-hours.stories.js.map +1 -0
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js +102 -0
- package/lib/commonjs/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -0
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +54 -0
- package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -0
- package/lib/commonjs/stories/header-profile/header-profile.stories.js +103 -0
- package/lib/commonjs/stories/header-profile/header-profile.stories.js.map +1 -0
- package/lib/commonjs/stories/select-option/select-option.stories.js +57 -0
- package/lib/commonjs/stories/select-option/select-option.stories.js.map +1 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js +106 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -0
- package/lib/commonjs/stories/typography/typography.stories.js +143 -0
- package/lib/commonjs/stories/typography/typography.stories.js.map +1 -0
- package/lib/commonjs/stories/user-profile/user-profile.stories.js +55 -0
- package/lib/commonjs/stories/user-profile/user-profile.stories.js.map +1 -0
- package/lib/commonjs/styles/global/interface.d.js +6 -0
- package/lib/commonjs/styles/global/interface.d.js.map +1 -0
- package/lib/commonjs/styles/global/styles.js +61 -0
- package/lib/commonjs/styles/global/styles.js.map +1 -0
- package/lib/commonjs/styles/global/theme-provider.js +30 -0
- package/lib/commonjs/styles/global/theme-provider.js.map +1 -0
- package/lib/commonjs/styles/theme/theme.js +167 -0
- package/lib/commonjs/styles/theme/theme.js.map +1 -0
- package/lib/commonjs/utils/format-date/index.js +40 -0
- package/lib/commonjs/utils/format-date/index.js.map +1 -0
- package/lib/module/@types/as-base-component.js +8 -0
- package/lib/module/@types/as-base-component.js.map +1 -0
- package/lib/module/assets/fonts/Inter-Black.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-ExtraLight.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Light.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Thin.ttf +0 -0
- package/lib/module/common/constants/index.js +7 -0
- package/lib/module/common/constants/index.js.map +1 -0
- package/lib/module/common/icons-svg/arrow-drop-down/index.js +35 -0
- package/lib/module/common/icons-svg/arrow-drop-down/index.js.map +1 -0
- package/lib/module/common/icons-svg/arrow-left/index.js +35 -0
- package/lib/module/common/icons-svg/arrow-left/index.js.map +1 -0
- package/lib/module/common/icons-svg/bell/index.js +28 -0
- package/lib/module/common/icons-svg/bell/index.js.map +1 -0
- package/lib/module/common/icons-svg/bluetooth/index.js +46 -0
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -0
- package/lib/module/common/icons-svg/bluetooth-connected/index.js +49 -0
- package/lib/module/common/icons-svg/bluetooth-connected/index.js.map +1 -0
- package/lib/module/common/icons-svg/calendar/index.js +48 -0
- package/lib/module/common/icons-svg/calendar/index.js.map +1 -0
- package/lib/module/common/icons-svg/call-bell/index.js +32 -0
- package/lib/module/common/icons-svg/call-bell/index.js.map +1 -0
- package/lib/module/common/icons-svg/camera-plus/index.js +47 -0
- package/lib/module/common/icons-svg/camera-plus/index.js.map +1 -0
- package/lib/module/common/icons-svg/chart-bar/index.js +32 -0
- package/lib/module/common/icons-svg/chart-bar/index.js.map +1 -0
- package/lib/module/common/icons-svg/check-box-fill/index.js +34 -0
- package/lib/module/common/icons-svg/check-box-fill/index.js.map +1 -0
- package/lib/module/common/icons-svg/check-box-outline/index.js +34 -0
- package/lib/module/common/icons-svg/check-box-outline/index.js.map +1 -0
- package/lib/module/common/icons-svg/check-circle/index.js +43 -0
- package/lib/module/common/icons-svg/check-circle/index.js.map +1 -0
- package/lib/module/common/icons-svg/closed/index.js +47 -0
- package/lib/module/common/icons-svg/closed/index.js.map +1 -0
- package/lib/module/common/icons-svg/constants/index.js +56 -0
- package/lib/module/common/icons-svg/constants/index.js.map +1 -0
- package/lib/module/common/icons-svg/credit-card/index.js +35 -0
- package/lib/module/common/icons-svg/credit-card/index.js.map +1 -0
- package/lib/module/common/icons-svg/currency/index.js +46 -0
- package/lib/module/common/icons-svg/currency/index.js.map +1 -0
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js +32 -0
- package/lib/module/common/icons-svg/currency-circle-dollar/index.js.map +1 -0
- package/lib/module/common/icons-svg/exclamation-circle/index.js +40 -0
- package/lib/module/common/icons-svg/exclamation-circle/index.js.map +1 -0
- package/lib/module/common/icons-svg/eye/index.js +36 -0
- package/lib/module/common/icons-svg/eye/index.js.map +1 -0
- package/lib/module/common/icons-svg/eye-slash/index.js +34 -0
- package/lib/module/common/icons-svg/eye-slash/index.js.map +1 -0
- package/lib/module/common/icons-svg/file-text/index.js +42 -0
- package/lib/module/common/icons-svg/file-text/index.js.map +1 -0
- package/lib/module/common/icons-svg/files/index.js +28 -0
- package/lib/module/common/icons-svg/files/index.js.map +1 -0
- package/lib/module/common/icons-svg/gas-pump/index.js +47 -0
- package/lib/module/common/icons-svg/gas-pump/index.js.map +1 -0
- package/lib/module/common/icons-svg/gauge/index.js +46 -0
- package/lib/module/common/icons-svg/gauge/index.js.map +1 -0
- package/lib/module/common/icons-svg/gear/index.js +47 -0
- package/lib/module/common/icons-svg/gear/index.js.map +1 -0
- package/lib/module/common/icons-svg/index.js +326 -0
- package/lib/module/common/icons-svg/index.js.map +1 -0
- package/lib/module/common/icons-svg/interface.d.js +4 -0
- package/lib/module/common/icons-svg/interface.d.js.map +1 -0
- package/lib/module/common/icons-svg/lifebuoy/index.js +32 -0
- package/lib/module/common/icons-svg/lifebuoy/index.js.map +1 -0
- package/lib/module/common/icons-svg/list/index.js +60 -0
- package/lib/module/common/icons-svg/list/index.js.map +1 -0
- package/lib/module/common/icons-svg/moon-stars/index.js +32 -0
- package/lib/module/common/icons-svg/moon-stars/index.js.map +1 -0
- package/lib/module/common/icons-svg/note-pincel/index.js +49 -0
- package/lib/module/common/icons-svg/note-pincel/index.js.map +1 -0
- package/lib/module/common/icons-svg/package/index.js +32 -0
- package/lib/module/common/icons-svg/package/index.js.map +1 -0
- package/lib/module/common/icons-svg/package-check/index.js +47 -0
- package/lib/module/common/icons-svg/package-check/index.js.map +1 -0
- package/lib/module/common/icons-svg/plus/index.js +48 -0
- package/lib/module/common/icons-svg/plus/index.js.map +1 -0
- package/lib/module/common/icons-svg/recused/index.js +41 -0
- package/lib/module/common/icons-svg/recused/index.js.map +1 -0
- package/lib/module/common/icons-svg/shopping-cart/index.js +42 -0
- package/lib/module/common/icons-svg/shopping-cart/index.js.map +1 -0
- package/lib/module/common/icons-svg/steering-wheel/index.js +54 -0
- package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -0
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js +43 -0
- package/lib/module/common/icons-svg/steering-wheel-fill/index.js.map +1 -0
- package/lib/module/common/icons-svg/timer/index.js +46 -0
- package/lib/module/common/icons-svg/timer/index.js.map +1 -0
- package/lib/module/common/icons-svg/trophy/index.js +32 -0
- package/lib/module/common/icons-svg/trophy/index.js.map +1 -0
- package/lib/module/common/icons-svg/truck/index.js +42 -0
- package/lib/module/common/icons-svg/truck/index.js.map +1 -0
- package/lib/module/common/icons-svg/truck-trailer/index.js +43 -0
- package/lib/module/common/icons-svg/truck-trailer/index.js.map +1 -0
- package/lib/module/common/icons-svg/wifi-high/index.js +50 -0
- package/lib/module/common/icons-svg/wifi-high/index.js.map +1 -0
- package/lib/module/common/icons-svg/wifi-x/index.js +56 -0
- package/lib/module/common/icons-svg/wifi-x/index.js.map +1 -0
- package/lib/module/common/icons-svg/x-circle/index.js +47 -0
- package/lib/module/common/icons-svg/x-circle/index.js.map +1 -0
- package/lib/module/components/badge/index.js +26 -0
- package/lib/module/components/badge/index.js.map +1 -0
- package/lib/module/components/box/index.js +52 -0
- package/lib/module/components/box/index.js.map +1 -0
- package/lib/module/components/box/interface.d.js +4 -0
- package/lib/module/components/box/interface.d.js.map +1 -0
- package/lib/module/components/box/styles.js +23 -0
- package/lib/module/components/box/styles.js.map +1 -0
- package/lib/module/components/button/index.js +73 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/button/interface.d.js +4 -0
- package/lib/module/components/button/interface.d.js.map +1 -0
- package/lib/module/components/button/styles.js +37 -0
- package/lib/module/components/button/styles.js.map +1 -0
- package/lib/module/components/capture-photo/index.js +109 -0
- package/lib/module/components/capture-photo/index.js.map +1 -0
- package/lib/module/components/capture-photo/interface.d.js +4 -0
- package/lib/module/components/capture-photo/interface.d.js.map +1 -0
- package/lib/module/components/capture-photo/styles.js +24 -0
- package/lib/module/components/capture-photo/styles.js.map +1 -0
- package/lib/module/components/card-hours/index.js +112 -0
- package/lib/module/components/card-hours/index.js.map +1 -0
- package/lib/module/components/card-hours/interface.d.js +4 -0
- package/lib/module/components/card-hours/interface.d.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/index.js +127 -0
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/interface.d.js +4 -0
- package/lib/module/components/card-scheduled-journey/interface.d.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/styles.js +23 -0
- package/lib/module/components/card-scheduled-journey/styles.js.map +1 -0
- package/lib/module/components/card-work-session/index.js +177 -0
- package/lib/module/components/card-work-session/index.js.map +1 -0
- package/lib/module/components/card-work-session/interface.d.js +4 -0
- package/lib/module/components/card-work-session/interface.d.js.map +1 -0
- package/lib/module/components/header-profile/index.js +142 -0
- package/lib/module/components/header-profile/index.js.map +1 -0
- package/lib/module/components/header-profile/interface.d.js +4 -0
- package/lib/module/components/header-profile/interface.d.js.map +1 -0
- package/lib/module/components/selects/select-option/index.js +106 -0
- package/lib/module/components/selects/select-option/index.js.map +1 -0
- package/lib/module/components/selects/select-option/interface.d.js +4 -0
- package/lib/module/components/selects/select-option/interface.d.js.map +1 -0
- package/lib/module/components/selects/select-option/styles.js +75 -0
- package/lib/module/components/selects/select-option/styles.js.map +1 -0
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js +21 -0
- package/lib/module/components/step-indicator/helpers/get-icon-by-status.js.map +1 -0
- package/lib/module/components/step-indicator/index.js +152 -0
- package/lib/module/components/step-indicator/index.js.map +1 -0
- package/lib/module/components/step-indicator/interface.d.js +4 -0
- package/lib/module/components/step-indicator/interface.d.js.map +1 -0
- package/lib/module/components/step-indicator/styles.js +66 -0
- package/lib/module/components/step-indicator/styles.js.map +1 -0
- package/lib/module/components/typography/index.js +74 -0
- package/lib/module/components/typography/index.js.map +1 -0
- package/lib/module/components/typography/interface.d.js +4 -0
- package/lib/module/components/typography/interface.d.js.map +1 -0
- package/lib/module/components/typography/styles.js +34 -0
- package/lib/module/components/typography/styles.js.map +1 -0
- package/lib/module/components/user-profile/index.js +211 -0
- package/lib/module/components/user-profile/index.js.map +1 -0
- package/lib/module/components/user-profile/interface.d.js +4 -0
- package/lib/module/components/user-profile/interface.d.js.map +1 -0
- package/lib/module/index.js +24 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/stories/box/box.stories.js +109 -0
- package/lib/module/stories/box/box.stories.js.map +1 -0
- package/lib/module/stories/button/button.stories.js +200 -0
- package/lib/module/stories/button/button.stories.js.map +1 -0
- package/lib/module/stories/capture-photo/capture-photo.stories.js +167 -0
- package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -0
- package/lib/module/stories/card-hours/card-hours.stories.js +102 -0
- package/lib/module/stories/card-hours/card-hours.stories.js.map +1 -0
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js +96 -0
- package/lib/module/stories/card-scheduled-journey/card-scheduled-journey.stories.js.map +1 -0
- package/lib/module/stories/card-work-session/card-work-session.stories.js +49 -0
- package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -0
- package/lib/module/stories/header-profile/header-profile.stories.js +97 -0
- package/lib/module/stories/header-profile/header-profile.stories.js.map +1 -0
- package/lib/module/stories/select-option/select-option.stories.js +51 -0
- package/lib/module/stories/select-option/select-option.stories.js.map +1 -0
- package/lib/module/stories/step-indicator/step-indicator.stories.js +100 -0
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -0
- package/lib/module/stories/typography/typography.stories.js +137 -0
- package/lib/module/stories/typography/typography.stories.js.map +1 -0
- package/lib/module/stories/user-profile/user-profile.stories.js +50 -0
- package/lib/module/stories/user-profile/user-profile.stories.js.map +1 -0
- package/lib/module/styles/global/interface.d.js +4 -0
- package/lib/module/styles/global/interface.d.js.map +1 -0
- package/lib/module/styles/global/styles.js +57 -0
- package/lib/module/styles/global/styles.js.map +1 -0
- package/lib/module/styles/global/theme-provider.js +21 -0
- package/lib/module/styles/global/theme-provider.js.map +1 -0
- package/lib/module/styles/theme/theme.js +163 -0
- package/lib/module/styles/theme/theme.js.map +1 -0
- package/lib/module/utils/format-date/index.js +37 -0
- package/lib/module/utils/format-date/index.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/@types/as-base-component.d.ts +3 -0
- package/lib/typescript/commonjs/src/@types/as-base-component.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/constants/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/common/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-drop-down/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/arrow-left/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bell/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth-connected/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/calendar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/call-bell/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/camera-plus/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/chart-bar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-fill/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-box-outline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/check-circle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/closed/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +51 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/credit-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/common/icons-svg/exclamation-circle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/eye-slash/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/file-text/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/common/icons-svg/files/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gas-pump/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gauge/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/gear/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts +12 -0
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/lifebuoy/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/list/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/moon-stars/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/note-pincel/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/package-check/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/plus/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/recused/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/shopping-cart/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/timer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trophy/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/truck-trailer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-high/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/wifi-x/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/common/icons-svg/x-circle/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/badge/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/components/badge/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/box/index.d.ts +74 -0
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/box/styles.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/box/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts +80 -0
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/button/styles.d.ts +24 -0
- package/lib/typescript/commonjs/src/components/button/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts +82 -0
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/capture-photo/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts +76 -0
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +68 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +77 -0
- package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts +70 -0
- package/lib/typescript/commonjs/src/components/header-profile/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +16 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +64 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +23 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +57 -0
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +32 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts +30 -0
- package/lib/typescript/commonjs/src/components/typography/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts +71 -0
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts +9 -0
- package/lib/typescript/commonjs/src/stories/box/box.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts +11 -0
- package/lib/typescript/commonjs/src/stories/button/button.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts +8 -0
- package/lib/typescript/commonjs/src/stories/card-hours/card-hours.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +11 -0
- package/lib/typescript/commonjs/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts +7 -0
- package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts +11 -0
- package/lib/typescript/commonjs/src/stories/header-profile/header-profile.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts +7 -0
- package/lib/typescript/commonjs/src/stories/select-option/select-option.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts +8 -0
- package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts +16 -0
- package/lib/typescript/commonjs/src/stories/typography/typography.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts +8 -0
- package/lib/typescript/commonjs/src/stories/user-profile/user-profile.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts +47 -0
- package/lib/typescript/commonjs/src/styles/global/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +152 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +151 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/format-date/index.d.ts +18 -0
- package/lib/typescript/commonjs/src/utils/format-date/index.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/@types/as-base-component.d.ts +3 -0
- package/lib/typescript/module/src/@types/as-base-component.d.ts.map +1 -0
- package/lib/typescript/module/src/common/constants/index.d.ts +5 -0
- package/lib/typescript/module/src/common/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-drop-down/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/arrow-left/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts +8 -0
- package/lib/typescript/module/src/common/icons-svg/bell/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/bluetooth-connected/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/calendar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/call-bell/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/camera-plus/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/chart-bar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-fill/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/check-box-outline/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/check-circle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/closed/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +51 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/credit-card/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/currency/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/currency-circle-dollar/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts +8 -0
- package/lib/typescript/module/src/common/icons-svg/exclamation-circle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/eye/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/eye-slash/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/file-text/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts +8 -0
- package/lib/typescript/module/src/common/icons-svg/files/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/gas-pump/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/gauge/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/gear/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/index.d.ts +12 -0
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/lifebuoy/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/list/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/moon-stars/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/note-pincel/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/package/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/package-check/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/plus/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/recused/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/shopping-cart/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/steering-wheel-fill/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/timer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/trophy/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/truck/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/truck-trailer/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-high/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/wifi-x/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts +14 -0
- package/lib/typescript/module/src/common/icons-svg/x-circle/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/badge/index.d.ts +20 -0
- package/lib/typescript/module/src/components/badge/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/box/index.d.ts +74 -0
- package/lib/typescript/module/src/components/box/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/box/styles.d.ts +15 -0
- package/lib/typescript/module/src/components/box/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/index.d.ts +80 -0
- package/lib/typescript/module/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/button/styles.d.ts +24 -0
- package/lib/typescript/module/src/components/button/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/capture-photo/index.d.ts +82 -0
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts +12 -0
- package/lib/typescript/module/src/components/capture-photo/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-hours/index.d.ts +76 -0
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +68 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts +12 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-work-session/index.d.ts +77 -0
- package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/header-profile/index.d.ts +70 -0
- package/lib/typescript/module/src/components/header-profile/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +16 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +64 -0
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/module/src/components/step-indicator/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +23 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +57 -0
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/typography/index.d.ts +32 -0
- package/lib/typescript/module/src/components/typography/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/typography/styles.d.ts +30 -0
- package/lib/typescript/module/src/components/typography/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/user-profile/index.d.ts +71 -0
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +18 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/box/box.stories.d.ts +9 -0
- package/lib/typescript/module/src/stories/box/box.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/button/button.stories.d.ts +11 -0
- package/lib/typescript/module/src/stories/button/button.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/capture-photo/capture-photo.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts +8 -0
- package/lib/typescript/module/src/stories/card-hours/card-hours.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts +11 -0
- package/lib/typescript/module/src/stories/card-scheduled-journey/card-scheduled-journey.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts +7 -0
- package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts +11 -0
- package/lib/typescript/module/src/stories/header-profile/header-profile.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts +7 -0
- package/lib/typescript/module/src/stories/select-option/select-option.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts +8 -0
- package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts +16 -0
- package/lib/typescript/module/src/stories/typography/typography.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts +8 -0
- package/lib/typescript/module/src/stories/user-profile/user-profile.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/global/styles.d.ts +47 -0
- package/lib/typescript/module/src/styles/global/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +152 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts +151 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/format-date/index.d.ts +18 -0
- package/lib/typescript/module/src/utils/format-date/index.d.ts.map +1 -0
- package/package.json +191 -0
- package/react-native.config.js +4 -0
- package/src/@types/as-base-component.ts +9 -0
- package/src/assets/fonts/Inter-Black.ttf +0 -0
- package/src/assets/fonts/Inter-Bold.ttf +0 -0
- package/src/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/src/assets/fonts/Inter-ExtraLight.ttf +0 -0
- package/src/assets/fonts/Inter-Light.ttf +0 -0
- package/src/assets/fonts/Inter-Medium.ttf +0 -0
- package/src/assets/fonts/Inter-Regular.ttf +0 -0
- package/src/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/src/assets/fonts/Inter-Thin.ttf +0 -0
- package/src/common/constants/index.ts +5 -0
- package/src/common/icons-svg/arrow-drop-down/index.tsx +28 -0
- package/src/common/icons-svg/arrow-left/index.tsx +32 -0
- package/src/common/icons-svg/bell/index.tsx +26 -0
- package/src/common/icons-svg/bluetooth/index.tsx +39 -0
- package/src/common/icons-svg/bluetooth-connected/index.tsx +43 -0
- package/src/common/icons-svg/calendar/index.tsx +40 -0
- package/src/common/icons-svg/call-bell/index.tsx +29 -0
- package/src/common/icons-svg/camera-plus/index.tsx +40 -0
- package/src/common/icons-svg/chart-bar/index.tsx +29 -0
- package/src/common/icons-svg/check-box-fill/index.tsx +30 -0
- package/src/common/icons-svg/check-box-outline/index.tsx +30 -0
- package/src/common/icons-svg/check-circle/index.tsx +40 -0
- package/src/common/icons-svg/closed/index.tsx +34 -0
- package/src/common/icons-svg/constants/index.ts +53 -0
- package/src/common/icons-svg/credit-card/index.tsx +32 -0
- package/src/common/icons-svg/currency/index.tsx +39 -0
- package/src/common/icons-svg/currency-circle-dollar/index.tsx +29 -0
- package/src/common/icons-svg/exclamation-circle/index.tsx +33 -0
- package/src/common/icons-svg/eye/index.tsx +31 -0
- package/src/common/icons-svg/eye-slash/index.tsx +31 -0
- package/src/common/icons-svg/file-text/index.tsx +39 -0
- package/src/common/icons-svg/files/index.tsx +26 -0
- package/src/common/icons-svg/gas-pump/index.tsx +39 -0
- package/src/common/icons-svg/gauge/index.tsx +39 -0
- package/src/common/icons-svg/gear/index.tsx +39 -0
- package/src/common/icons-svg/index.tsx +195 -0
- package/src/common/icons-svg/interface.d.ts +19 -0
- package/src/common/icons-svg/lifebuoy/index.tsx +29 -0
- package/src/common/icons-svg/list/index.tsx +58 -0
- package/src/common/icons-svg/moon-stars/index.tsx +29 -0
- package/src/common/icons-svg/note-pincel/index.tsx +40 -0
- package/src/common/icons-svg/package/index.tsx +29 -0
- package/src/common/icons-svg/package-check/index.tsx +45 -0
- package/src/common/icons-svg/plus/index.tsx +40 -0
- package/src/common/icons-svg/recused/index.tsx +33 -0
- package/src/common/icons-svg/shopping-cart/index.tsx +39 -0
- package/src/common/icons-svg/steering-wheel/index.tsx +49 -0
- package/src/common/icons-svg/steering-wheel-fill/index.tsx +36 -0
- package/src/common/icons-svg/timer/index.tsx +39 -0
- package/src/common/icons-svg/trophy/index.tsx +29 -0
- package/src/common/icons-svg/truck/index.tsx +39 -0
- package/src/common/icons-svg/truck-trailer/index.tsx +36 -0
- package/src/common/icons-svg/wifi-high/index.tsx +43 -0
- package/src/common/icons-svg/wifi-x/index.tsx +50 -0
- package/src/common/icons-svg/x-circle/index.tsx +40 -0
- package/src/components/box/index.tsx +53 -0
- package/src/components/box/interface.d.ts +147 -0
- package/src/components/box/styles.ts +24 -0
- package/src/components/button/index.tsx +75 -0
- package/src/components/button/interface.d.ts +153 -0
- package/src/components/button/styles.ts +35 -0
- package/src/components/capture-photo/index.tsx +133 -0
- package/src/components/capture-photo/interface.d.ts +160 -0
- package/src/components/capture-photo/styles.ts +26 -0
- package/src/components/card-hours/index.tsx +121 -0
- package/src/components/card-hours/interface.d.ts +153 -0
- package/src/components/card-scheduled-journey/index.tsx +138 -0
- package/src/components/card-scheduled-journey/interface.d.ts +140 -0
- package/src/components/card-scheduled-journey/styles.ts +26 -0
- package/src/components/card-work-session/index.tsx +172 -0
- package/src/components/card-work-session/interface.d.ts +150 -0
- package/src/components/header-profile/index.tsx +137 -0
- package/src/components/header-profile/interface.d.ts +143 -0
- package/src/components/selects/select-option/index.tsx +95 -0
- package/src/components/selects/select-option/interface.d.ts +25 -0
- package/src/components/selects/select-option/styles.ts +75 -0
- package/src/components/step-indicator/helpers/get-icon-by-status.tsx +20 -0
- package/src/components/step-indicator/index.tsx +170 -0
- package/src/components/step-indicator/interface.d.ts +36 -0
- package/src/components/step-indicator/styles.ts +66 -0
- package/src/components/typography/index.tsx +78 -0
- package/src/components/typography/interface.d.ts +102 -0
- package/src/components/typography/styles.ts +34 -0
- package/src/components/user-profile/index.tsx +217 -0
- package/src/components/user-profile/interface.d.ts +126 -0
- package/src/index.tsx +21 -0
- package/src/stories/box/box.stories.tsx +105 -0
- package/src/stories/button/button.stories.tsx +208 -0
- package/src/stories/capture-photo/capture-photo.stories.tsx +174 -0
- package/src/stories/card-hours/card-hours.stories.tsx +108 -0
- package/src/stories/card-scheduled-journey/card-scheduled-journey.stories.tsx +105 -0
- package/src/stories/card-work-session/card-work-session.stories.tsx +53 -0
- package/src/stories/header-profile/header-profile.stories.tsx +105 -0
- package/src/stories/select-option/select-option.stories.tsx +50 -0
- package/src/stories/step-indicator/step-indicator.stories.tsx +117 -0
- package/src/stories/typography/typography.stories.tsx +151 -0
- package/src/stories/user-profile/user-profile.stories.tsx +56 -0
- package/src/styles/global/interface.d.ts +131 -0
- package/src/styles/global/styles.ts +63 -0
- package/src/styles/global/theme-provider.tsx +15 -0
- package/src/styles/theme/theme.ts +167 -0
- package/src/utils/format-date/index.ts +40 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.styles = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _styles = require("../../styles/global/styles.js");
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// typings
|
|
14
|
+
|
|
15
|
+
// styles
|
|
16
|
+
|
|
17
|
+
const styles = props => _reactNative.StyleSheet.create({
|
|
18
|
+
boxStyle: {
|
|
19
|
+
...(0, _styles.stylesGlobal)(props),
|
|
20
|
+
...props
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* EXPORTS
|
|
26
|
+
*/
|
|
27
|
+
exports.styles = styles;
|
|
28
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_styles","styles","props","StyleSheet","create","boxStyle","stylesGlobal","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/box/styles.ts"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,OAAA,GAAAD,OAAA;AATA;AACA;AACA;;AAGA;;AAGA;;AAIA,MAAME,MAAM,GAAIC,KAAe,IAC7BC,uBAAU,CAACC,MAAM,CAAC;EAChBC,QAAQ,EAAE;IACR,GAAG,IAAAC,oBAAY,EAACJ,KAAK,CAAC;IACtB,GAAGA;EACL;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AAFAK,OAAA,CAAAN,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
10
|
+
var _styles = require("./styles.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
|
+
/**
|
|
15
|
+
* IMPORTS
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// typings
|
|
19
|
+
|
|
20
|
+
// styles
|
|
21
|
+
|
|
22
|
+
const Button = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
23
|
+
const {
|
|
24
|
+
title = "Button",
|
|
25
|
+
width,
|
|
26
|
+
height,
|
|
27
|
+
backgroundColor,
|
|
28
|
+
borderStyled,
|
|
29
|
+
flexStyle,
|
|
30
|
+
paddingStyle,
|
|
31
|
+
marginStyle,
|
|
32
|
+
testID,
|
|
33
|
+
opacity = 1,
|
|
34
|
+
children,
|
|
35
|
+
style,
|
|
36
|
+
fontStyle,
|
|
37
|
+
buttonTextStyle,
|
|
38
|
+
onPress,
|
|
39
|
+
isLoading,
|
|
40
|
+
...res
|
|
41
|
+
} = props;
|
|
42
|
+
const styleProps = {
|
|
43
|
+
testID,
|
|
44
|
+
width,
|
|
45
|
+
height,
|
|
46
|
+
opacity,
|
|
47
|
+
backgroundColor,
|
|
48
|
+
children,
|
|
49
|
+
borderStyled,
|
|
50
|
+
flexStyle,
|
|
51
|
+
paddingStyle,
|
|
52
|
+
marginStyle,
|
|
53
|
+
fontStyle,
|
|
54
|
+
buttonTextStyle,
|
|
55
|
+
isLoading,
|
|
56
|
+
style
|
|
57
|
+
};
|
|
58
|
+
Button.displayName = "Button";
|
|
59
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
60
|
+
ref: ref,
|
|
61
|
+
activeOpacity: 0.7,
|
|
62
|
+
testID: testID,
|
|
63
|
+
style: [(0, _styles.styles)(styleProps).buttonStyle, style],
|
|
64
|
+
onPress: onPress,
|
|
65
|
+
...res,
|
|
66
|
+
children: isLoading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
67
|
+
testID: "button-loading",
|
|
68
|
+
size: "small",
|
|
69
|
+
color: "white"
|
|
70
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
71
|
+
style: [(0, _styles.styles)(styleProps).buttonTextStyle],
|
|
72
|
+
children: title
|
|
73
|
+
})
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Componente Button para a interação da ui.
|
|
79
|
+
*/
|
|
80
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(Button);
|
|
81
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_asBaseComponent","_styles","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Button","forwardRef","props","ref","title","width","height","backgroundColor","borderStyled","flexStyle","paddingStyle","marginStyle","testID","opacity","children","style","fontStyle","buttonTextStyle","onPress","isLoading","res","styleProps","displayName","jsx","TouchableOpacity","activeOpacity","styles","buttonStyle","ActivityIndicator","size","color","Text","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/button/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,gBAAA,GAAAF,OAAA;AAIA,IAAAG,OAAA,GAAAH,OAAA;AAAkC,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAK,yBAAAC,CAAA,6BAAAC,OAAA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 -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/button/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.styles = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _styles = require("../../styles/global/styles.js");
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// typings
|
|
14
|
+
|
|
15
|
+
// styles
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Interface ButtonProps
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
const styles = props => _reactNative.StyleSheet.create({
|
|
22
|
+
buttonStyle: {
|
|
23
|
+
...(0, _styles.stylesGlobal)(props),
|
|
24
|
+
...props
|
|
25
|
+
},
|
|
26
|
+
buttonTextStyle: {
|
|
27
|
+
color: props.buttonTextStyle?.color ?? "black",
|
|
28
|
+
fontSize: props.buttonTextStyle?.fontSize ?? 14,
|
|
29
|
+
letterSpacing: props.buttonTextStyle?.letterSpacing ?? 0.5,
|
|
30
|
+
lineHeight: props.buttonTextStyle?.lineHeight ?? 24,
|
|
31
|
+
fontWeight: props.buttonTextStyle?.fontWeight,
|
|
32
|
+
fontFamily: props.buttonTextStyle?.fontFamily ?? "Inter-Medium",
|
|
33
|
+
textAlign: props.buttonTextStyle?.textAlign
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* EXPORTS
|
|
39
|
+
*/
|
|
40
|
+
exports.styles = styles;
|
|
41
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_styles","styles","props","StyleSheet","create","buttonStyle","stylesGlobal","buttonTextStyle","color","fontSize","letterSpacing","lineHeight","fontWeight","fontFamily","textAlign","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/button/styles.ts"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAOA,IAAAC,OAAA,GAAAD,OAAA;AAVA;AACA;AACA;;AAGA;;AAIA;;AAGA;AACA;AACA;;AAGA,MAAME,MAAM,GAAIC,KAAkB,IAChCC,uBAAU,CAACC,MAAM,CAAC;EAChBC,WAAW,EAAE;IAAE,GAAG,IAAAC,oBAAY,EAACJ,KAAK,CAAC;IAAE,GAAGA;EAAM,CAAe;EAC/DK,eAAe,EAAE;IACfC,KAAK,EAAEN,KAAK,CAACK,eAAe,EAAEC,KAAK,IAAI,OAAO;IAC9CC,QAAQ,EAAEP,KAAK,CAACK,eAAe,EAAEE,QAAQ,IAAI,EAAE;IAC/CC,aAAa,EAAER,KAAK,CAACK,eAAe,EAAEG,aAAa,IAAI,GAAG;IAC1DC,UAAU,EAAET,KAAK,CAACK,eAAe,EAAEI,UAAU,IAAI,EAAE;IACnDC,UAAU,EAAEV,KAAK,CAACK,eAAe,EAAEK,UAAU;IAC7CC,UAAU,EAAEX,KAAK,CAACK,eAAe,EAAEM,UAAU,IAAI,cAAc;IAC/DC,SAAS,EAAEZ,KAAK,CAACK,eAAe,EAAEO;EACpC;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AAFAC,OAAA,CAAAd,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = _interopRequireDefault(require("../typography/index.js"));
|
|
10
|
+
var _index2 = require("../../common/icons-svg/index.js");
|
|
11
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
12
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
13
|
+
var _styles = require("./styles.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
+
/**
|
|
19
|
+
* IMPORTS
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
// components
|
|
23
|
+
|
|
24
|
+
// icons / svg
|
|
25
|
+
|
|
26
|
+
// typings
|
|
27
|
+
|
|
28
|
+
// styles
|
|
29
|
+
|
|
30
|
+
const CapturePhoto = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
31
|
+
const {
|
|
32
|
+
imageComprovante,
|
|
33
|
+
takePhotoWithImagePicker,
|
|
34
|
+
testID,
|
|
35
|
+
width,
|
|
36
|
+
height,
|
|
37
|
+
marginStyle,
|
|
38
|
+
flexStyle,
|
|
39
|
+
title,
|
|
40
|
+
borderStyled,
|
|
41
|
+
color,
|
|
42
|
+
fontStyle,
|
|
43
|
+
opacity,
|
|
44
|
+
style,
|
|
45
|
+
smallText,
|
|
46
|
+
paddingStyle
|
|
47
|
+
} = props;
|
|
48
|
+
const styleProps = {
|
|
49
|
+
imageComprovante,
|
|
50
|
+
takePhotoWithImagePicker,
|
|
51
|
+
testID,
|
|
52
|
+
width,
|
|
53
|
+
height,
|
|
54
|
+
marginStyle,
|
|
55
|
+
flexStyle,
|
|
56
|
+
title,
|
|
57
|
+
borderStyled,
|
|
58
|
+
color,
|
|
59
|
+
fontStyle,
|
|
60
|
+
opacity,
|
|
61
|
+
smallText,
|
|
62
|
+
paddingStyle,
|
|
63
|
+
style
|
|
64
|
+
};
|
|
65
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
66
|
+
children: imageComprovante ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
67
|
+
ref: ref,
|
|
68
|
+
activeOpacity: 0.7,
|
|
69
|
+
onPress: takePhotoWithImagePicker,
|
|
70
|
+
testID: testID,
|
|
71
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
72
|
+
style: [{
|
|
73
|
+
width,
|
|
74
|
+
height,
|
|
75
|
+
borderWidth: Number(borderStyled?.borderWidth),
|
|
76
|
+
borderColor: borderStyled?.borderColor,
|
|
77
|
+
borderRadius: Number(borderStyled?.borderRadius)
|
|
78
|
+
}, (0, _styles.styles)(styleProps).capturePhoto],
|
|
79
|
+
source: {
|
|
80
|
+
uri: imageComprovante
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
84
|
+
ref: ref,
|
|
85
|
+
activeOpacity: 0.7,
|
|
86
|
+
style: [(0, _styles.styles)(styleProps).capturePhoto, style],
|
|
87
|
+
onPress: takePhotoWithImagePicker,
|
|
88
|
+
testID: testID,
|
|
89
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Icons, {
|
|
90
|
+
icon: "CAMERA_PLUS",
|
|
91
|
+
size: _theme.theme.fontSizes["2xl"] || 24,
|
|
92
|
+
color: color?.colorSvg
|
|
93
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
94
|
+
text: title.text || "Sem foto capturada.",
|
|
95
|
+
align: flexStyle?.textAlign === "left" || flexStyle?.textAlign === "right" ? flexStyle.textAlign : "center",
|
|
96
|
+
color: color?.colorText ? color.colorText : _theme.theme.colors.gray[875],
|
|
97
|
+
size: fontStyle?.fontSize ? fontStyle?.fontSize : _theme.theme.fontSizes.md,
|
|
98
|
+
fontFamily: fontStyle?.fontFamily ? fontStyle?.fontFamily : _theme.theme.fonts.inter_regular_400,
|
|
99
|
+
lineHeight: fontStyle?.lineHeight ? fontStyle?.lineHeight : _theme.theme.fontSizes["2xl"],
|
|
100
|
+
letterSpacing: fontStyle?.letterSpacing ? fontStyle?.letterSpacing : "regular"
|
|
101
|
+
}), smallText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
102
|
+
text: title.textSmallPhoto || "aqui vai o texto de baixo da foto",
|
|
103
|
+
align: flexStyle?.textAlign === "left" || flexStyle?.textAlign === "right" ? flexStyle.textAlign : "center",
|
|
104
|
+
color: color?.colorText ? color.colorText : _theme.theme.colors.gray[875],
|
|
105
|
+
size: fontStyle?.fontSize ? fontStyle?.fontSize : _theme.theme.fontSizes.sm,
|
|
106
|
+
fontFamily: fontStyle?.fontFamily ? fontStyle?.fontFamily : _theme.theme.fonts.inter_regular_400,
|
|
107
|
+
lineHeight: fontStyle?.lineHeight ? fontStyle?.lineHeight : _theme.theme.fontSizes.md,
|
|
108
|
+
letterSpacing: fontStyle?.letterSpacing ? fontStyle?.letterSpacing : "regular"
|
|
109
|
+
})]
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Componente CapturePhoto para a interação da ui.
|
|
116
|
+
*/
|
|
117
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(CapturePhoto);
|
|
118
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_asBaseComponent","_theme","_styles","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CapturePhoto","forwardRef","props","ref","imageComprovante","takePhotoWithImagePicker","testID","width","height","marginStyle","flexStyle","title","borderStyled","color","fontStyle","opacity","style","smallText","paddingStyle","styleProps","jsx","Fragment","children","TouchableOpacity","activeOpacity","onPress","Image","borderWidth","Number","borderColor","borderRadius","styles","capturePhoto","source","uri","jsxs","Icons","icon","size","theme","fontSizes","colorSvg","text","align","textAlign","colorText","colors","gray","fontSize","md","fontFamily","fonts","inter_regular_400","lineHeight","letterSpacing","textSmallPhoto","sm","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/capture-photo/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAGA,IAAAI,OAAA,GAAAJ,OAAA;AAGA,IAAAK,gBAAA,GAAAL,OAAA;AAIA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AAAkC,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAG,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,S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GACnB,QACL;QACD/B,KAAK,EAAEA,KAAK,EAAEgC,SAAS,GAAGhC,KAAK,CAACgC,SAAS,GAAGN,YAAK,CAACO,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;QACnET,IAAI,EAAExB,SAAS,EAAEkC,QAAQ,GAAGlC,SAAS,EAAEkC,QAAQ,GAAGT,YAAK,CAACC,SAAS,CAACgB,EAAG;QACrEN,UAAU,EACRpC,SAAS,EAAEoC,UAAU,GAAGpC,SAAS,EAAEoC,UAAU,GAAGX,YAAK,CAACY,KAAK,CAACC,iBAC7D;QACDC,UAAU,EAAEvC,SAAS,EAAEuC,UAAU,GAAGvC,SAAS,EAAEuC,UAAU,GAAGd,YAAK,CAACC,SAAS,CAACS,EAAG;QAC/EK,aAAa,EACXxC,SAAS,EAAEwC,aAAa,GAAGxC,SAAS,EAAEwC,aAAa,GAAI;MACxD,CACF,CACF;IAAA,CACe;EACnB,CACD,CAAC;AAEP,CAAC,CAAC;;AAEF;AACA;AACA;AAFA,IAAAG,QAAA,GAAAC,OAAA,CAAA5E,OAAA,GAGe,IAAA6E,gCAAe,EAAC3D,YAAY,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/capture-photo/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.styles = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _styles = require("../../styles/global/styles.js");
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// typing
|
|
14
|
+
|
|
15
|
+
// styles
|
|
16
|
+
|
|
17
|
+
const styles = props => _reactNative.StyleSheet.create({
|
|
18
|
+
capturePhoto: {
|
|
19
|
+
...(0, _styles.stylesGlobal)(props),
|
|
20
|
+
opacity: props.opacity,
|
|
21
|
+
...props
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* EXPORTS
|
|
27
|
+
*/
|
|
28
|
+
exports.styles = styles;
|
|
29
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_styles","styles","props","StyleSheet","create","capturePhoto","stylesGlobal","opacity","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/capture-photo/styles.ts"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAOA,IAAAC,OAAA,GAAAD,OAAA;AAVA;AACA;AACA;;AAGA;;AAIA;;AAIA,MAAME,MAAM,GAAIC,KAAwB,IACtCC,uBAAU,CAACC,MAAM,CAAC;EAChBC,YAAY,EAAE;IACZ,GAAG,IAAAC,oBAAY,EAACJ,KAAK,CAAC;IACtBK,OAAO,EAAEL,KAAK,CAACK,OAAO;IACtB,GAAGL;EACL;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AAFAM,OAAA,CAAAP,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _index = _interopRequireDefault(require("../box/index.js"));
|
|
9
|
+
var _index2 = _interopRequireDefault(require("../typography/index.js"));
|
|
10
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
11
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
/**
|
|
17
|
+
* IMPORTS
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
// components
|
|
21
|
+
|
|
22
|
+
// typing
|
|
23
|
+
|
|
24
|
+
// styles
|
|
25
|
+
|
|
26
|
+
const CardHours = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
27
|
+
const {
|
|
28
|
+
testID,
|
|
29
|
+
width,
|
|
30
|
+
height,
|
|
31
|
+
hoursWorked,
|
|
32
|
+
flexStyle,
|
|
33
|
+
marginStyle,
|
|
34
|
+
paddingStyle,
|
|
35
|
+
text,
|
|
36
|
+
color,
|
|
37
|
+
fontStyle,
|
|
38
|
+
borderStyled,
|
|
39
|
+
backgroundColor,
|
|
40
|
+
sizeHours,
|
|
41
|
+
sizeDescription,
|
|
42
|
+
handleFormatDataInDayMonthYearNotHours,
|
|
43
|
+
style
|
|
44
|
+
} = props;
|
|
45
|
+
const styleProps = {
|
|
46
|
+
testID,
|
|
47
|
+
width,
|
|
48
|
+
height,
|
|
49
|
+
marginStyle,
|
|
50
|
+
paddingStyle,
|
|
51
|
+
flexStyle,
|
|
52
|
+
text,
|
|
53
|
+
borderStyled,
|
|
54
|
+
color,
|
|
55
|
+
fontStyle,
|
|
56
|
+
backgroundColor,
|
|
57
|
+
sizeHours,
|
|
58
|
+
sizeDescription,
|
|
59
|
+
style
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
62
|
+
ref: ref,
|
|
63
|
+
testID: testID,
|
|
64
|
+
width: width ?? "100%",
|
|
65
|
+
height: height,
|
|
66
|
+
backgroundColor: backgroundColor ?? _theme.theme.colors.neutral[25],
|
|
67
|
+
borderStyled: {
|
|
68
|
+
borderWidth: borderStyled?.borderWidth ?? _theme.theme.borderWidths.thin,
|
|
69
|
+
borderColor: borderStyled?.borderColor ?? _theme.theme.colors.gray[400],
|
|
70
|
+
borderRadius: borderStyled?.borderRadius ?? _theme.theme.borderWidths.thick_medium
|
|
71
|
+
},
|
|
72
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
73
|
+
text: text ?? "Informe texto:",
|
|
74
|
+
size: Number(styleProps.fontStyle?.fontSize),
|
|
75
|
+
fontFamily: styleProps.fontStyle?.fontFamily,
|
|
76
|
+
color: color?.colorText ?? _theme.theme.colors.gray[700],
|
|
77
|
+
lineHeight: fontStyle?.lineHeight ?? _theme.theme.fontSizes.xl,
|
|
78
|
+
letterSpacing: "regular",
|
|
79
|
+
paddingTop: _theme.theme.paddings["2xs"],
|
|
80
|
+
paddingLeft: _theme.theme.paddings["2xs"]
|
|
81
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
82
|
+
flexStyle: {
|
|
83
|
+
flexDirection: "row",
|
|
84
|
+
alignItems: "flex-end",
|
|
85
|
+
justifyContent: "space-between"
|
|
86
|
+
},
|
|
87
|
+
paddingStyle: {
|
|
88
|
+
paddingLeft: _theme.theme.paddings["2xs"],
|
|
89
|
+
paddingRight: _theme.theme.paddings["2xs"]
|
|
90
|
+
},
|
|
91
|
+
backgroundColor: backgroundColor ?? _theme.theme.colors.neutral[25],
|
|
92
|
+
width: "100%",
|
|
93
|
+
borderStyled: {
|
|
94
|
+
borderBottomLeftRadius: borderStyled?.borderBottomLeftRadius ?? _theme.theme.borderWidths.thick_medium,
|
|
95
|
+
borderBottomRightRadius: borderStyled?.borderBottomRightRadius ?? _theme.theme.borderWidths.thick_medium
|
|
96
|
+
},
|
|
97
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
98
|
+
text: `${hoursWorked ?? "00:00 H"}`,
|
|
99
|
+
size: sizeHours ?? _theme.theme.fontSizes["3xl"],
|
|
100
|
+
fontFamily: _theme.theme.fonts.inter_bold ?? "inter_bold",
|
|
101
|
+
fontWeight: "700",
|
|
102
|
+
color: color?.colorTextBold ?? _theme.theme.colors.orange[150],
|
|
103
|
+
lineHeight: fontStyle?.lineHeight ?? _theme.theme.fontSizes["5xl"],
|
|
104
|
+
letterSpacing: "regular"
|
|
105
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
106
|
+
text: `Última atualização: ${handleFormatDataInDayMonthYearNotHours(new Date())}`,
|
|
107
|
+
size: sizeDescription ?? _theme.theme.fontSizes.xs,
|
|
108
|
+
fontFamily: "inter_light_300",
|
|
109
|
+
color: color?.colorTextData ?? _theme.theme.colors.gray[700],
|
|
110
|
+
lineHeight: fontStyle?.lineHeight ?? _theme.theme.fontSizes["xl"],
|
|
111
|
+
letterSpacing: "regular"
|
|
112
|
+
})]
|
|
113
|
+
})]
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Componente CardHours para a interação da ui.
|
|
119
|
+
*/
|
|
120
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(CardHours);
|
|
121
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_index","_interopRequireDefault","_index2","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CardHours","forwardRef","props","ref","testID","width","height","hoursWorked","flexStyle","marginStyle","paddingStyle","text","color","fontStyle","borderStyled","backgroundColor","sizeHours","sizeDescription","handleFormatDataInDayMonthYearNotHours","style","styleProps","jsxs","theme","colors","neutral","borderWidth","borderWidths","thin","borderColor","gray","borderRadius","thick_medium","children","jsx","size","Number","fontSize","fontFamily","colorText","lineHeight","fontSizes","xl","letterSpacing","paddingTop","paddings","paddingLeft","flexDirection","alignItems","justifyContent","paddingRight","borderBottomLeftRadius","borderBottomRightRadius","fonts","inter_bold","fontWeight","colorTextBold","orange","Date","xs","colorTextData","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/card-hours/index.tsx"],"mappings":";;;;;;AAEI,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGJ,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAD,sBAAA,CAAAF,OAAA;AAGA,IAAAI,gBAAA,GAAAJ,OAAA;AAIA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,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S,CAACkB,EAAG;QAC5CrB,UAAU,EAAE,iBAAkB;QAC9BzB,KAAK,EAAEA,KAAK,EAAE+C,aAAa,IAAIrC,YAAK,CAACC,MAAM,CAACM,IAAI,CAAC,GAAG,CAAE;QACtDU,UAAU,EAAE1B,SAAS,EAAE0B,UAAU,IAAIjB,YAAK,CAACkB,SAAS,CAAC,IAAI,CAAE;QAC3DE,aAAa,EAAE;MAAU,CAC1B,CAAC;IAAA,CACC,CAAC;EAAA,CACH,CAAC;AAEV,CAAC,CAAC;;AAEF;AACA;AACA;AAFA,IAAAkB,QAAA,GAAAC,OAAA,CAAA/E,OAAA,GAGe,IAAAgF,gCAAe,EAAC9D,SAAS,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/card-hours/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = _interopRequireDefault(require("../box/index.js"));
|
|
10
|
+
var _index2 = _interopRequireDefault(require("../typography/index.js"));
|
|
11
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
12
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
13
|
+
var _index3 = require("../../common/icons-svg/index.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
+
/**
|
|
19
|
+
* IMPORTS
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
// components
|
|
23
|
+
|
|
24
|
+
// typings
|
|
25
|
+
|
|
26
|
+
// styles
|
|
27
|
+
|
|
28
|
+
// icons / svg
|
|
29
|
+
|
|
30
|
+
const CardScheduledJourney = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
31
|
+
const {
|
|
32
|
+
title,
|
|
33
|
+
duracao,
|
|
34
|
+
color = {},
|
|
35
|
+
backgroundColor,
|
|
36
|
+
borderStyled,
|
|
37
|
+
paddingStyle,
|
|
38
|
+
marginStyle,
|
|
39
|
+
flexStyle,
|
|
40
|
+
style,
|
|
41
|
+
width,
|
|
42
|
+
widthChildren,
|
|
43
|
+
icon,
|
|
44
|
+
borderRight
|
|
45
|
+
} = props;
|
|
46
|
+
const {
|
|
47
|
+
width: widthScreen
|
|
48
|
+
} = _reactNative.Dimensions.get("window");
|
|
49
|
+
const isMobile = widthScreen < 768;
|
|
50
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
51
|
+
ref: ref,
|
|
52
|
+
style: style,
|
|
53
|
+
width: width,
|
|
54
|
+
height: 80,
|
|
55
|
+
backgroundColor: backgroundColor ?? _theme.theme.colors.neutral[25],
|
|
56
|
+
borderStyled: {
|
|
57
|
+
borderWidth: borderStyled?.borderWidth ?? _theme.theme.borderWidths.thin,
|
|
58
|
+
borderRadius: borderStyled?.borderRadius ?? _theme.theme.borderWidths.thin_bold,
|
|
59
|
+
borderColor: borderStyled?.borderColor ?? _theme.theme.colors.gray[700]
|
|
60
|
+
},
|
|
61
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
62
|
+
flexStyle: {
|
|
63
|
+
flexDirection: "row",
|
|
64
|
+
justifyContent: "space-between",
|
|
65
|
+
alignItems: "center"
|
|
66
|
+
},
|
|
67
|
+
width: widthChildren,
|
|
68
|
+
borderStyled: {
|
|
69
|
+
borderRadius: borderStyled?.borderRadius ?? _theme.theme.borderWidths.thick
|
|
70
|
+
},
|
|
71
|
+
paddingStyle: {
|
|
72
|
+
paddingLeft: paddingStyle?.paddingLeft ?? 8
|
|
73
|
+
},
|
|
74
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
75
|
+
width: 65,
|
|
76
|
+
height: 65,
|
|
77
|
+
backgroundColor: backgroundColor ?? _theme.theme.colors.neutral[25],
|
|
78
|
+
flexStyle: {
|
|
79
|
+
justifyContent: flexStyle?.justifyContent ?? "center",
|
|
80
|
+
alignItems: flexStyle?.alignItems ?? "center"
|
|
81
|
+
},
|
|
82
|
+
borderStyled: {
|
|
83
|
+
borderWidth: borderStyled?.borderWidth ?? _theme.theme.borderWidths.thin,
|
|
84
|
+
borderRadius: borderStyled?.borderRadius ?? _theme.theme.borderWidths.thick,
|
|
85
|
+
borderColor: borderStyled?.borderColor ?? _theme.theme.colors.gray[700]
|
|
86
|
+
},
|
|
87
|
+
children: icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
88
|
+
icon: icon,
|
|
89
|
+
size: _theme.theme.fontSizes["2xl"]
|
|
90
|
+
})
|
|
91
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
92
|
+
width: isMobile ? "73%" : "90%",
|
|
93
|
+
flexStyle: {
|
|
94
|
+
flexDirection: "column",
|
|
95
|
+
justifyContent: "space-between"
|
|
96
|
+
},
|
|
97
|
+
marginStyle: {
|
|
98
|
+
marginTop: marginStyle?.marginTop ?? -20
|
|
99
|
+
},
|
|
100
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
101
|
+
text: title,
|
|
102
|
+
size: _theme.theme.fontSizes.sm,
|
|
103
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
104
|
+
fontWeight: "700",
|
|
105
|
+
color: color.colorText ?? _theme.theme.colors.black[25],
|
|
106
|
+
lineHeight: _theme.theme.fontSizes.lg,
|
|
107
|
+
letterSpacing: "regular"
|
|
108
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
109
|
+
text: `Duração: ${duracao}`,
|
|
110
|
+
size: _theme.theme.fontSizes.xs,
|
|
111
|
+
fontWeight: "300",
|
|
112
|
+
fontFamily: _theme.theme.fonts.inter_light_300,
|
|
113
|
+
color: color.colorText ?? _theme.theme.colors.black[25],
|
|
114
|
+
lineHeight: _theme.theme.fontSizes.lg,
|
|
115
|
+
letterSpacing: "regular"
|
|
116
|
+
})]
|
|
117
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
118
|
+
width: 12,
|
|
119
|
+
height: 78,
|
|
120
|
+
backgroundColor: borderRight ?? _theme.theme.colors.green[400],
|
|
121
|
+
borderStyled: {
|
|
122
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
123
|
+
borderTopRightRadius: _theme.theme.borderWidths.thick,
|
|
124
|
+
borderBottomRightRadius: _theme.theme.borderWidths.thick,
|
|
125
|
+
borderColor: borderRight ?? _theme.theme.colors.green[400]
|
|
126
|
+
}
|
|
127
|
+
})]
|
|
128
|
+
})
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Componente CardScheduledJourney para a interação da ui.
|
|
134
|
+
*/
|
|
135
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(CardScheduledJourney);
|
|
136
|
+
//# sourceMappingURL=index.js.map
|