jornada-ui 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -31
- package/lib/commonjs/common/icons-svg/bluetooth/index.js +45 -27
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/constants/index.js +7 -5
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +19 -4
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/plus-container/index.js +42 -0
- package/lib/commonjs/common/icons-svg/plus-container/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/trash/index.js +41 -0
- package/lib/commonjs/common/icons-svg/trash/index.js.map +1 -0
- package/lib/commonjs/components/activity-step/components/activite-row/index.js +137 -0
- package/lib/commonjs/components/activity-step/components/activite-row/index.js.map +1 -0
- package/lib/commonjs/components/activity-step/index.js +77 -0
- package/lib/commonjs/components/activity-step/index.js.map +1 -0
- package/lib/commonjs/components/activity-step/interface.js +6 -0
- package/lib/commonjs/components/activity-step/interface.js.map +1 -0
- package/lib/commonjs/components/activity-step/styles.js +86 -0
- package/lib/commonjs/components/activity-step/styles.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js +8 -6
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/commonjs/components/inputs/input-date-time/index.js +136 -0
- package/lib/commonjs/components/inputs/input-date-time/index.js.map +1 -0
- package/lib/commonjs/components/inputs/input-date-time/interface.d.js +2 -0
- package/lib/commonjs/components/inputs/input-date-time/interface.d.js.map +1 -0
- package/lib/commonjs/components/inputs/input-date-time/styles.js +66 -0
- package/lib/commonjs/components/inputs/input-date-time/styles.js.map +1 -0
- package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js +25 -0
- package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
- package/lib/commonjs/components/list-devices/index.js +97 -0
- package/lib/commonjs/components/list-devices/index.js.map +1 -0
- package/lib/commonjs/components/list-devices/interface.d.js +2 -0
- package/lib/commonjs/components/list-devices/interface.d.js.map +1 -0
- package/lib/commonjs/components/list-devices/styles.js +60 -0
- package/lib/commonjs/components/list-devices/styles.js.map +1 -0
- package/lib/commonjs/components/list-supplies/index.js +171 -0
- package/lib/commonjs/components/list-supplies/index.js.map +1 -0
- package/lib/commonjs/components/list-supplies/interface.d.js +2 -0
- package/lib/commonjs/components/list-supplies/interface.d.js.map +1 -0
- package/lib/commonjs/components/maintenance-description-input/index.js +3 -0
- package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
- package/lib/commonjs/components/maintenance-description-input/styles.js +1 -1
- package/lib/commonjs/components/maintenance-description-input/styles.js.map +1 -1
- package/lib/commonjs/components/modals/modal-activity-reason/index.js +170 -0
- package/lib/commonjs/components/modals/modal-activity-reason/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js +2 -0
- package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js +27 -0
- package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/index.js +203 -0
- package/lib/commonjs/components/modals/modal-create-activitie/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/interface.js +2 -0
- package/lib/commonjs/components/modals/modal-create-activitie/interface.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/styles.js +42 -0
- package/lib/commonjs/components/modals/modal-create-activitie/styles.js.map +1 -0
- package/lib/commonjs/components/modals/modal-exclude-activitie/index.js +2 -0
- package/lib/commonjs/components/modals/modal-exclude-activitie/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/index.js +242 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js +2 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
- package/lib/commonjs/components/modals/modal-to-confimations/index.js +182 -0
- package/lib/commonjs/components/modals/modal-to-confimations/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-to-confimations/interface.js +2 -0
- package/lib/commonjs/components/modals/modal-to-confimations/interface.js.map +1 -0
- package/lib/commonjs/components/selects/select-date-and-hours/index.js +80 -0
- package/lib/commonjs/components/selects/select-date-and-hours/index.js.map +1 -0
- package/lib/commonjs/components/selects/select-date-and-hours/interface.js +6 -0
- package/lib/commonjs/components/selects/select-date-and-hours/interface.js.map +1 -0
- package/lib/commonjs/components/selects/select-date-and-hours/styles.js +34 -0
- package/lib/commonjs/components/selects/select-date-and-hours/styles.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/index.js +4 -2
- package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/styles.js +6 -7
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
- package/lib/commonjs/components/supply-error-card/index.js +6 -6
- package/lib/commonjs/components/toast-message/index.js +8 -7
- package/lib/commonjs/components/toast-message/index.js.map +1 -1
- package/lib/commonjs/components/travel-history/index.js +7 -7
- package/lib/commonjs/components/travel-history/index.js.map +1 -1
- package/lib/commonjs/components/trip-details-card/index.js +94 -13
- package/lib/commonjs/components/trip-details-card/index.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +5 -5
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/index.js +53 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/list-devices/list-devices.stories.js +146 -0
- package/lib/commonjs/stories/list-devices/list-devices.stories.js.map +1 -0
- package/lib/commonjs/stories/list-supplies/list-supplies.stories.js +69 -0
- package/lib/commonjs/stories/list-supplies/list-supplies.stories.js.map +1 -0
- package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js +63 -0
- package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
- package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js +63 -0
- package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
- package/lib/commonjs/stories/supply-error-card/supply-error-card.stories.js +2 -2
- package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js +39 -6
- package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +1 -0
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/module/common/icons-svg/bluetooth/index.js +45 -27
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +7 -5
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +19 -4
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/plus-container/index.js +36 -0
- package/lib/module/common/icons-svg/plus-container/index.js.map +1 -0
- package/lib/module/common/icons-svg/trash/index.js +34 -0
- package/lib/module/common/icons-svg/trash/index.js.map +1 -0
- package/lib/module/components/activity-step/components/activite-row/index.js +134 -0
- package/lib/module/components/activity-step/components/activite-row/index.js.map +1 -0
- package/lib/module/components/activity-step/index.js +73 -0
- package/lib/module/components/activity-step/index.js.map +1 -0
- package/lib/module/components/activity-step/interface.js +4 -0
- package/lib/module/components/activity-step/interface.js.map +1 -0
- package/lib/module/components/activity-step/styles.js +83 -0
- package/lib/module/components/activity-step/styles.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/index.js +8 -6
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/module/components/inputs/input-date-time/index.js +130 -0
- package/lib/module/components/inputs/input-date-time/index.js.map +1 -0
- package/lib/module/components/inputs/input-date-time/interface.d.js +2 -0
- package/lib/module/components/inputs/input-date-time/interface.d.js.map +1 -0
- package/lib/module/components/inputs/input-date-time/styles.js +62 -0
- package/lib/module/components/inputs/input-date-time/styles.js.map +1 -0
- package/lib/module/components/list-devices/helpers/get-icon-by-status.js +21 -0
- package/lib/module/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
- package/lib/module/components/list-devices/index.js +93 -0
- package/lib/module/components/list-devices/index.js.map +1 -0
- package/lib/module/components/list-devices/interface.d.js +2 -0
- package/lib/module/components/list-devices/interface.d.js.map +1 -0
- package/lib/module/components/list-devices/styles.js +56 -0
- package/lib/module/components/list-devices/styles.js.map +1 -0
- package/lib/module/components/list-supplies/index.js +165 -0
- package/lib/module/components/list-supplies/index.js.map +1 -0
- package/lib/module/components/list-supplies/interface.d.js +2 -0
- package/lib/module/components/list-supplies/interface.d.js.map +1 -0
- package/lib/module/components/maintenance-description-input/index.js +3 -0
- package/lib/module/components/maintenance-description-input/index.js.map +1 -1
- package/lib/module/components/maintenance-description-input/styles.js +1 -1
- package/lib/module/components/maintenance-description-input/styles.js.map +1 -1
- package/lib/module/components/modals/modal-activity-reason/index.js +165 -0
- package/lib/module/components/modals/modal-activity-reason/index.js.map +1 -0
- package/lib/module/components/modals/modal-activity-reason/interface.d.js +2 -0
- package/lib/module/components/modals/modal-activity-reason/interface.d.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/helpers/index.js +24 -0
- package/lib/module/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/index.js +196 -0
- package/lib/module/components/modals/modal-create-activitie/index.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/interface.js +2 -0
- package/lib/module/components/modals/modal-create-activitie/interface.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/styles.js +39 -0
- package/lib/module/components/modals/modal-create-activitie/styles.js.map +1 -0
- package/lib/module/components/modals/modal-exclude-activitie/index.js +2 -0
- package/lib/module/components/modals/modal-exclude-activitie/index.js.map +1 -0
- package/lib/module/components/modals/modal-journey-rectification/index.js +236 -0
- package/lib/module/components/modals/modal-journey-rectification/index.js.map +1 -0
- package/lib/module/components/modals/modal-journey-rectification/interface.d.js +2 -0
- package/lib/module/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
- package/lib/module/components/modals/modal-to-confimations/index.js +179 -0
- package/lib/module/components/modals/modal-to-confimations/index.js.map +1 -0
- package/lib/module/components/modals/modal-to-confimations/interface.js +2 -0
- package/lib/module/components/modals/modal-to-confimations/interface.js.map +1 -0
- package/lib/module/components/selects/select-date-and-hours/index.js +74 -0
- package/lib/module/components/selects/select-date-and-hours/index.js.map +1 -0
- package/lib/module/components/selects/select-date-and-hours/interface.js +4 -0
- package/lib/module/components/selects/select-date-and-hours/interface.js.map +1 -0
- package/lib/module/components/selects/select-date-and-hours/styles.js +31 -0
- package/lib/module/components/selects/select-date-and-hours/styles.js.map +1 -0
- package/lib/module/components/selects/select-option/index.js +4 -2
- package/lib/module/components/selects/select-option/index.js.map +1 -1
- package/lib/module/components/selects/select-option/styles.js +6 -7
- package/lib/module/components/selects/select-option/styles.js.map +1 -1
- package/lib/module/components/supply-error-card/index.js +6 -6
- package/lib/module/components/toast-message/index.js +8 -7
- package/lib/module/components/toast-message/index.js.map +1 -1
- package/lib/module/components/travel-history/index.js +7 -7
- package/lib/module/components/travel-history/index.js.map +1 -1
- package/lib/module/components/trip-details-card/index.js +94 -13
- package/lib/module/components/trip-details-card/index.js.map +1 -1
- package/lib/module/components/typography/index.js +5 -5
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/index.js +7 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/list-devices/list-devices.stories.js +140 -0
- package/lib/module/stories/list-devices/list-devices.stories.js.map +1 -0
- package/lib/module/stories/list-supplies/list-supplies.stories.js +63 -0
- package/lib/module/stories/list-supplies/list-supplies.stories.js.map +1 -0
- package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js +57 -0
- package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
- package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js +57 -0
- package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
- package/lib/module/stories/supply-error-card/supply-error-card.stories.js +2 -2
- package/lib/module/stories/trip-details-card/trip-details-card.stories.js +39 -6
- package/lib/module/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
- package/lib/module/styles/theme/theme.js +1 -0
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +5 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/index.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/activity-step/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts +40 -0
- package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts +75 -0
- package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts +59 -0
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-devices/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/list-devices/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts +57 -0
- package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +0 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/supply-error-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/trip-details-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts +22 -0
- package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +5 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +2 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts +11 -0
- package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/index.d.ts +17 -0
- package/lib/typescript/module/src/components/activity-step/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/interface.d.ts +40 -0
- package/lib/typescript/module/src/components/activity-step/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/styles.d.ts +75 -0
- package/lib/typescript/module/src/components/activity-step/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +2 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts +8 -0
- package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts +59 -0
- package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-devices/index.d.ts +11 -0
- package/lib/typescript/module/src/components/list-devices/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-devices/styles.d.ts +57 -0
- package/lib/typescript/module/src/components/list-devices/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-supplies/index.d.ts +8 -0
- package/lib/typescript/module/src/components/list-supplies/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
- package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts +13 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +0 -1
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/supply-error-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/trip-details-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +7 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts +22 -0
- package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/common/icons-svg/bluetooth/index.tsx +51 -24
- package/src/common/icons-svg/constants/index.ts +67 -65
- package/src/common/icons-svg/index.tsx +289 -280
- package/src/common/icons-svg/plus-container/index.tsx +32 -0
- package/src/common/icons-svg/trash/index.tsx +31 -0
- package/src/components/activity-step/components/activite-row/index.tsx +141 -0
- package/src/components/activity-step/index.tsx +73 -0
- package/src/components/activity-step/interface.ts +54 -0
- package/src/components/activity-step/styles.ts +72 -0
- package/src/components/card-scheduled-journey/index.tsx +140 -138
- package/src/components/card-scheduled-journey/interface.d.ts +145 -140
- package/src/components/inputs/input-date-time/index.tsx +133 -0
- package/src/components/inputs/input-date-time/interface.d.ts +25 -0
- package/src/components/inputs/input-date-time/styles.ts +63 -0
- package/src/components/list-devices/helpers/get-icon-by-status.tsx +20 -0
- package/src/components/list-devices/index.tsx +102 -0
- package/src/components/list-devices/interface.d.ts +36 -0
- package/src/components/list-devices/styles.ts +68 -0
- package/src/components/list-supplies/index.tsx +153 -0
- package/src/components/list-supplies/interface.d.ts +9 -0
- package/src/components/maintenance-description-input/index.tsx +1 -0
- package/src/components/maintenance-description-input/styles.ts +1 -1
- package/src/components/modals/modal-activity-reason/index.tsx +168 -0
- package/src/components/modals/modal-activity-reason/interface.d.ts +9 -0
- package/src/components/modals/modal-create-activitie/helpers/index.ts +14 -0
- package/src/components/modals/modal-create-activitie/index.tsx +210 -0
- package/src/components/modals/modal-create-activitie/interface.ts +22 -0
- package/src/components/modals/modal-create-activitie/styles.ts +24 -0
- package/src/components/modals/modal-exclude-activitie/index.ts +0 -0
- package/src/components/modals/modal-journey-rectification/index.tsx +236 -0
- package/src/components/modals/modal-journey-rectification/interface.d.ts +10 -0
- package/src/components/modals/modal-to-confimations/index.tsx +182 -0
- package/src/components/modals/modal-to-confimations/interface.ts +36 -0
- package/src/components/selects/select-date-and-hours/index.tsx +70 -0
- package/src/components/selects/select-date-and-hours/interface.ts +31 -0
- package/src/components/selects/select-date-and-hours/styles.ts +24 -0
- package/src/components/selects/select-option/index.tsx +2 -1
- package/src/components/selects/select-option/interface.d.ts +1 -1
- package/src/components/selects/select-option/styles.ts +74 -75
- package/src/components/supply-error-card/index.tsx +109 -109
- package/src/components/supply-error-card/interface.d.ts +133 -133
- package/src/components/toast-message/index.tsx +75 -74
- package/src/components/travel-history/index.tsx +7 -7
- package/src/components/trip-details-card/index.tsx +89 -12
- package/src/components/trip-details-card/interface.d.ts +4 -1
- package/src/components/typography/index.tsx +78 -78
- package/src/index.tsx +7 -0
- package/src/stories/list-devices/list-devices.stories.tsx +114 -0
- package/src/stories/list-supplies/list-supplies.stories.tsx +66 -0
- package/src/stories/modal-activity-reason/modal-activity-reason.stories.tsx +60 -0
- package/src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx +60 -0
- package/src/stories/supply-error-card/supply-error-card.stories.tsx +72 -72
- package/src/stories/trip-details-card/trip-details-card.stories.tsx +38 -5
- package/src/styles/theme/theme.ts +1 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = _interopRequireDefault(require("../../box/index.js"));
|
|
10
|
+
var _index2 = _interopRequireDefault(require("../../button/index.js"));
|
|
11
|
+
var _index3 = _interopRequireDefault(require("../../typography/index.js"));
|
|
12
|
+
var _index4 = require("../../../common/icons-svg/index.js");
|
|
13
|
+
var _asBaseComponent = require("../../../@types/as-base-component.js");
|
|
14
|
+
var _theme = require("../../../styles/theme/theme.js");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
/**
|
|
18
|
+
* IMPORTS
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
// components
|
|
22
|
+
|
|
23
|
+
// commons / svg
|
|
24
|
+
|
|
25
|
+
// typings
|
|
26
|
+
|
|
27
|
+
// styles
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Componente ModalToConfirmations para a interação da ui.
|
|
31
|
+
*/const ModalToConfirmations = ({
|
|
32
|
+
visible,
|
|
33
|
+
onClose,
|
|
34
|
+
onPressConfirm,
|
|
35
|
+
textTitle,
|
|
36
|
+
text1,
|
|
37
|
+
text2,
|
|
38
|
+
titleButtonCancel,
|
|
39
|
+
titleButtonConfirm,
|
|
40
|
+
backgroundColor
|
|
41
|
+
}) => {
|
|
42
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
43
|
+
animationType: "fade",
|
|
44
|
+
transparent: true,
|
|
45
|
+
visible: visible,
|
|
46
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
47
|
+
style: {
|
|
48
|
+
flex: 1,
|
|
49
|
+
justifyContent: "center",
|
|
50
|
+
alignItems: "center",
|
|
51
|
+
backgroundColor: _theme.theme.shadows.z1
|
|
52
|
+
},
|
|
53
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
54
|
+
width: "90%",
|
|
55
|
+
backgroundColor: _theme.theme.colors.orange[500],
|
|
56
|
+
borderStyled: {
|
|
57
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
58
|
+
},
|
|
59
|
+
paddingStyle: {
|
|
60
|
+
paddingLeft: _theme.theme.paddings["2xs"],
|
|
61
|
+
paddingRight: _theme.theme.paddings["2xs"],
|
|
62
|
+
paddingTop: _theme.theme.paddings.sm,
|
|
63
|
+
paddingBottom: _theme.theme.paddings.sm
|
|
64
|
+
},
|
|
65
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
66
|
+
marginStyle: {
|
|
67
|
+
marginBottom: 10,
|
|
68
|
+
marginLeft: 4
|
|
69
|
+
},
|
|
70
|
+
flexStyle: {
|
|
71
|
+
flexDirection: "row",
|
|
72
|
+
alignItems: "center"
|
|
73
|
+
},
|
|
74
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Icons, {
|
|
75
|
+
icon: "EXCLAMATION_TRIANGLE",
|
|
76
|
+
color: _theme.theme.colors.orange[500],
|
|
77
|
+
background: _theme.theme.colors.neutral[300],
|
|
78
|
+
size: 22
|
|
79
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
80
|
+
text: `${textTitle ?? "TITULO NÃO INFORMADO"}`,
|
|
81
|
+
color: _theme.theme.colors.neutral[25],
|
|
82
|
+
marginLeft: _theme.theme.margins["2xs"],
|
|
83
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
84
|
+
size: _theme.theme.fontSizes.lg
|
|
85
|
+
})]
|
|
86
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
87
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
88
|
+
paddingStyle: {
|
|
89
|
+
padding: _theme.theme.paddings.xs
|
|
90
|
+
},
|
|
91
|
+
borderStyled: {
|
|
92
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
93
|
+
},
|
|
94
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
95
|
+
flexStyle: {
|
|
96
|
+
flexDirection: "row",
|
|
97
|
+
alignItems: "center"
|
|
98
|
+
},
|
|
99
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
100
|
+
style: {
|
|
101
|
+
color: _theme.theme.colors.orange[150],
|
|
102
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
103
|
+
marginBottom: text2 ? 16 : 8
|
|
104
|
+
},
|
|
105
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
106
|
+
text: `${text1} `,
|
|
107
|
+
size: _theme.theme.fontSizes.sm,
|
|
108
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
109
|
+
fontWeight: "400",
|
|
110
|
+
color: _theme.theme.colors.black[180],
|
|
111
|
+
lineHeight: 24,
|
|
112
|
+
letterSpacing: "regular"
|
|
113
|
+
}), text2 ?? "Alterar?"]
|
|
114
|
+
})
|
|
115
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
116
|
+
flexStyle: {
|
|
117
|
+
flexDirection: "row",
|
|
118
|
+
justifyContent: "space-between"
|
|
119
|
+
},
|
|
120
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
121
|
+
title: titleButtonCancel ?? "CANCELAR",
|
|
122
|
+
onPress: onClose,
|
|
123
|
+
width: text2 ? "48%" : "100%",
|
|
124
|
+
height: 40,
|
|
125
|
+
isLoading: false,
|
|
126
|
+
disabled: false,
|
|
127
|
+
backgroundColor: backgroundColor ?? _theme.theme.colors.neutral[300],
|
|
128
|
+
buttonTextStyle: {
|
|
129
|
+
color: backgroundColor ? _theme.theme.colors.neutral[25] : _theme.theme.colors.blue[100],
|
|
130
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
131
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
132
|
+
fontWeight: "500"
|
|
133
|
+
},
|
|
134
|
+
flexStyle: {
|
|
135
|
+
flexDirection: "row",
|
|
136
|
+
alignItems: "center",
|
|
137
|
+
justifyContent: "center",
|
|
138
|
+
textAlign: "center"
|
|
139
|
+
},
|
|
140
|
+
borderStyled: {
|
|
141
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
142
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
143
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
144
|
+
}
|
|
145
|
+
}), text2 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
146
|
+
title: titleButtonConfirm ?? "CONFIRMAR",
|
|
147
|
+
onPress: () => {
|
|
148
|
+
onPressConfirm();
|
|
149
|
+
onClose();
|
|
150
|
+
},
|
|
151
|
+
width: "48%",
|
|
152
|
+
height: 40,
|
|
153
|
+
isLoading: false,
|
|
154
|
+
disabled: false,
|
|
155
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
156
|
+
buttonTextStyle: {
|
|
157
|
+
color: _theme.theme.colors.neutral[25],
|
|
158
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
159
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
160
|
+
fontWeight: "500"
|
|
161
|
+
},
|
|
162
|
+
flexStyle: {
|
|
163
|
+
flexDirection: "row",
|
|
164
|
+
alignItems: "center",
|
|
165
|
+
justifyContent: "center",
|
|
166
|
+
textAlign: "center"
|
|
167
|
+
},
|
|
168
|
+
borderStyled: {
|
|
169
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
170
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
171
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
172
|
+
}
|
|
173
|
+
})]
|
|
174
|
+
})]
|
|
175
|
+
})]
|
|
176
|
+
})
|
|
177
|
+
})
|
|
178
|
+
});
|
|
179
|
+
};
|
|
180
|
+
ModalToConfirmations.displayName = "ModalToConfirmations";
|
|
181
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ModalToConfirmations);
|
|
182
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_index","_index2","_index3","_index4","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","ModalToConfirmations","visible","onClose","onPressConfirm","textTitle","text1","text2","titleButtonCancel","titleButtonConfirm","backgroundColor","jsx","Modal","animationType","transparent","children","View","style","flex","justifyContent","alignItems","theme","shadows","z1","jsxs","width","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","marginLeft","flexStyle","flexDirection","Icons","icon","color","background","neutral","size","text","margins","fontFamily","fonts","inter_bold_700","fontSizes","lg","padding","xs","Text","inter_semi_bold_600","inter_regular_400","fontWeight","black","lineHeight","letterSpacing","title","onPress","height","isLoading","disabled","buttonTextStyle","blue","inter_medium_500","fontSize","textAlign","borderWidth","thin","borderColor","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-to-confimations/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,OAAA,GAAAL,sBAAA,CAAAC,OAAA;AAGA,IAAAK,OAAA,GAAAL,OAAA;AAIA,IAAAM,gBAAA,GAAAN,OAAA;AAGA,IAAAO,MAAA,GAAAP,OAAA;AA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AC/BI,UAAU,EAAE/B,YAAK,CAACgC,KAAK,CAACoB,gBAAgB;gBACxCC,QAAQ,EAAErD,YAAK,CAACkC,SAAS,CAACG,EAAE;gBAC5BI,UAAU,EAAE;cACd,CAAE;cACFpB,SAAS,EAAE;gBACTC,aAAa,EAAE,KAAK;gBACpBvB,UAAU,EAAE,QAAQ;gBACpBD,cAAc,EAAE,QAAQ;gBACxBwD,SAAS,EAAE;cACb,CAAE;cACF/C,YAAY,EAAE;gBACZgD,WAAW,EAAEvD,YAAK,CAACS,YAAY,CAAC+C,IAAI;gBACpCC,WAAW,EAAEzD,YAAK,CAACK,MAAM,CAAC8C,IAAI,CAAC,GAAG,CAAC;gBACnC3C,YAAY,EAAER,YAAK,CAACS,YAAY,CAACC;cACnC;YAAE,CACH,CACF;UAAA,CACE,CAAC;QAAA,CACH,CAAC;MAAA,CACH;IAAC,CACF;EAAC,CACF,CAAC;AAEZ,CAAC;AAED9B,oBAAoB,CAAC8E,WAAW,GAAG,sBAAsB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAjF,OAAA,GAE3C,IAAAkF,gCAAe,EAACjF,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-to-confimations/interface.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 _index3 = require("../../../common/icons-svg/index.js");
|
|
12
|
+
var _asBaseComponent = require("../../../@types/as-base-component.js");
|
|
13
|
+
var _theme = require("../../../styles/theme/theme.js");
|
|
14
|
+
var _styles = require("./styles.js");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
+
/**
|
|
19
|
+
* IMPORTS
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
// seus componentes
|
|
23
|
+
|
|
24
|
+
// commons / svg
|
|
25
|
+
|
|
26
|
+
// typings
|
|
27
|
+
|
|
28
|
+
// styles
|
|
29
|
+
|
|
30
|
+
const ActivityFields = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
31
|
+
value,
|
|
32
|
+
icon,
|
|
33
|
+
onPressConfirm,
|
|
34
|
+
disabled = false
|
|
35
|
+
}, ref) => {
|
|
36
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
37
|
+
ref: ref,
|
|
38
|
+
activeOpacity: 0.7,
|
|
39
|
+
style: [_styles.styles.field, {
|
|
40
|
+
borderColor: _theme.theme.colors.gray[700],
|
|
41
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
42
|
+
opacity: disabled ? 0.7 : 1
|
|
43
|
+
}],
|
|
44
|
+
onPress: () => onPressConfirm(value),
|
|
45
|
+
disabled: disabled,
|
|
46
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
47
|
+
style: _styles.styles.row,
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
49
|
+
width: "10%",
|
|
50
|
+
height: 45,
|
|
51
|
+
flexStyle: {
|
|
52
|
+
alignItems: "center",
|
|
53
|
+
justifyContent: "center"
|
|
54
|
+
},
|
|
55
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
56
|
+
icon: icon ? icon : "CALENDAR",
|
|
57
|
+
color: _theme.theme.colors.black[100],
|
|
58
|
+
size: 18
|
|
59
|
+
})
|
|
60
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
61
|
+
width: "90%",
|
|
62
|
+
height: 45,
|
|
63
|
+
flexStyle: {
|
|
64
|
+
alignItems: "center",
|
|
65
|
+
justifyContent: "center"
|
|
66
|
+
},
|
|
67
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
68
|
+
text: String(value),
|
|
69
|
+
color: _theme.theme.colors.blue[500],
|
|
70
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
71
|
+
size: _theme.theme.fontSizes.md,
|
|
72
|
+
marginRight: 44
|
|
73
|
+
})
|
|
74
|
+
})]
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
ActivityFields.displayName = "ActivityFields";
|
|
79
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ActivityFields);
|
|
80
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_index3","_asBaseComponent","_theme","_styles","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ActivityFields","forwardRef","value","icon","onPressConfirm","disabled","ref","jsx","TouchableOpacity","activeOpacity","style","styles","field","borderColor","theme","colors","gray","backgroundColor","neutral","opacity","onPress","children","jsxs","View","row","width","height","flexStyle","alignItems","justifyContent","Icons","color","black","size","text","String","blue","fontFamily","fonts","inter_medium_500","fontSizes","md","marginRight","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/selects/select-date-and-hours/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AAGA,IAAAK,OAAA,GAAAL,OAAA;AAIA,IAAAM,gBAAA,GAAAN,OAAA;AAGA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAAkC,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAG,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAf,uBAAA,YAAAA,CAAAW,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAAK,GAAA,CAAAZ,CAAA,GAAAO,CAAA,CAAAM,GAAA,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components/selects/select-date-and-hours/interface.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* IMPORTS
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
const styles = exports.styles = _reactNative.StyleSheet.create({
|
|
13
|
+
field: {
|
|
14
|
+
width: "100%",
|
|
15
|
+
height: 45,
|
|
16
|
+
borderRadius: 12,
|
|
17
|
+
borderWidth: 1,
|
|
18
|
+
paddingHorizontal: 12,
|
|
19
|
+
justifyContent: "center",
|
|
20
|
+
marginTop: 10,
|
|
21
|
+
marginBottom: 16
|
|
22
|
+
},
|
|
23
|
+
row: {
|
|
24
|
+
flexDirection: "row",
|
|
25
|
+
alignItems: "center",
|
|
26
|
+
gap: 8,
|
|
27
|
+
justifyContent: "space-around"
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* EXPORTS
|
|
33
|
+
*/
|
|
34
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","styles","exports","StyleSheet","create","field","width","height","borderRadius","borderWidth","paddingHorizontal","justifyContent","marginTop","marginBottom","row","flexDirection","alignItems","gap"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/selects/select-date-and-hours/styles.ts"],"mappings":";;;;;;AAIA,IAAAA,YAAA,GAAAC,OAAA;AAJA;AACA;AACA;;AAIA,MAAMC,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EAC/BC,KAAK,EAAE;IACLC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAE,CAAC;IACdC,iBAAiB,EAAE,EAAE;IACrBC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE,EAAE;IACbC,YAAY,EAAE;EAChB,CAAC;EACDC,GAAG,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,UAAU,EAAE,QAAQ;IAAEC,GAAG,EAAE,CAAC;IAAEN,cAAc,EAAE;EAAe;AAC5F,CAAC,CAAC;;AAEF;AACA;AACA","ignoreList":[]}
|
|
@@ -28,7 +28,8 @@ const SelectOption = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
|
28
28
|
handleSelectDown,
|
|
29
29
|
titleLabel,
|
|
30
30
|
sizeTitleLabel,
|
|
31
|
-
colortitleLabel
|
|
31
|
+
colortitleLabel,
|
|
32
|
+
backgroundColor
|
|
32
33
|
} = props;
|
|
33
34
|
const [selectedValue, setSelectedValue] = (0, _react.useState)(dataOption[0]?.value || "");
|
|
34
35
|
const [modalVisible, setModalVisible] = (0, _react.useState)(false);
|
|
@@ -42,7 +43,8 @@ const SelectOption = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
|
42
43
|
handleSelectDown,
|
|
43
44
|
titleLabel,
|
|
44
45
|
sizeTitleLabel,
|
|
45
|
-
colortitleLabel
|
|
46
|
+
colortitleLabel,
|
|
47
|
+
backgroundColor
|
|
46
48
|
};
|
|
47
49
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
48
50
|
ref: ref,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_asBaseComponent","_styles","_theme","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SelectOption","forwardRef","props","ref","dataOption","handleSelectDown","titleLabel","sizeTitleLabel","colortitleLabel","selectedValue","setSelectedValue","useState","value","modalVisible","setModalVisible","handleSelect","styleProps","jsxs","View","style","styles","container","children","Text","label","TouchableOpacity","testID","selectBox","onPress","jsx","selectedText","find","item","Icons","size","theme","fontSizes","color","colors","blue","icon","Modal","visible","transparent","animationType","modalOverlay","modalContainer","width","alignItems","FlatList","data","keyExtractor","renderItem","option","optionText","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/selects/select-option/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAGA,IAAAG,gBAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAoD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,wBAAAQ,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAV,uBAAA,YAAAA,CAAAQ,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAfpD;AACA;AACA;;AAIA;;AAGA;;AAIA;;AAIA,MAAMkB,YAAY,gBAAG,IAAAC,iBAAU,EAA4B,CAACC,KAAK,EAAEC,GAAG,KAAyB;EAC7F,MAAM;IAAEC,UAAU;IAAEC,gBAAgB;IAAEC,UAAU;IAAEC,cAAc;IAAEC;EAAgB,CAAC,
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_asBaseComponent","_styles","_theme","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SelectOption","forwardRef","props","ref","dataOption","handleSelectDown","titleLabel","sizeTitleLabel","colortitleLabel","backgroundColor","selectedValue","setSelectedValue","useState","value","modalVisible","setModalVisible","handleSelect","styleProps","jsxs","View","style","styles","container","children","Text","label","TouchableOpacity","testID","selectBox","onPress","jsx","selectedText","find","item","Icons","size","theme","fontSizes","color","colors","blue","icon","Modal","visible","transparent","animationType","modalOverlay","modalContainer","width","alignItems","FlatList","data","keyExtractor","renderItem","option","optionText","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/selects/select-option/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAGA,IAAAG,gBAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAoD,IAAAM,WAAA,GAAAN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,YAAK,CAACG,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;gBAC9BC,IAAI,EAAE;cAAS,CAChB;YAAC,CACc;UAAC,CACf,CAAC,eACP,IAAA7D,WAAA,CAAAkD,GAAA,EAACvD,YAAA,CAAA2E,QAAQ;YACPC,IAAI,EAAE/C,UAAU,IAAI,EAAG;YACvBgD,YAAY,EAAGnB,IAAI,IAAKA,IAAI,CAACpB,KAAM;YACnCwC,UAAU,EAAEA,CAAC;cAAEpB;YAAK,CAAC,kBACnB,IAAArD,WAAA,CAAAkD,GAAA,EAACvD,YAAA,CAAAmD,gBAAgB;cACfN,KAAK,EAAE,IAAAC,cAAM,EAACJ,UAAU,CAAC,CAACqC,MAAO;cACjCzB,OAAO,EAAEA,CAAA,KAAMb,YAAY,CAACiB,IAAI,CAACpB,KAAK,CAAE;cAAAU,QAAA,eAExC,IAAA3C,WAAA,CAAAkD,GAAA,EAACvD,YAAA,CAAAiD,IAAI;gBAACJ,KAAK,EAAE,IAAAC,cAAM,EAACJ,UAAU,CAAC,CAACsC,UAAW;gBAAAhC,QAAA,EAAEU,IAAI,CAACR;cAAK,CAAO;YAAC,CAC/C;UAClB,CACH,CAAC;QAAA,CACE;MAAC,CACH;IAAC,CACF,CAAC;EAAA,CACJ,CAAC;AAEX,CAAC,CAAC;;AAEF;AACA;AACA;AAFA,IAAA+B,QAAA,GAAAC,OAAA,CAAAlE,OAAA,GAGe,IAAAmE,gCAAe,EAAC1D,YAAY,CAAC","ignoreList":[]}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.styles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _theme = require("../../../styles/theme/theme.js");
|
|
9
|
-
/**
|
|
10
|
-
* IMPORTS
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// typings
|
|
@@ -34,7 +34,7 @@ const styles = props => _reactNative.StyleSheet.create({
|
|
|
34
34
|
borderWidth: 1,
|
|
35
35
|
borderColor: _theme.theme.colors.gray[700],
|
|
36
36
|
borderRadius: 10,
|
|
37
|
-
backgroundColor: _theme.theme.colors.neutral[25],
|
|
37
|
+
backgroundColor: props.backgroundColor ?? _theme.theme.colors.neutral[25],
|
|
38
38
|
paddingHorizontal: 10
|
|
39
39
|
},
|
|
40
40
|
selectedText: {
|
|
@@ -52,8 +52,7 @@ const styles = props => _reactNative.StyleSheet.create({
|
|
|
52
52
|
width: "100%",
|
|
53
53
|
backgroundColor: _theme.theme.colors.neutral[25],
|
|
54
54
|
borderRadius: 10,
|
|
55
|
-
padding: 15
|
|
56
|
-
alignItems: "center"
|
|
55
|
+
padding: 15
|
|
57
56
|
},
|
|
58
57
|
option: {
|
|
59
58
|
width: "100%",
|
|
@@ -73,8 +72,8 @@ const styles = props => _reactNative.StyleSheet.create({
|
|
|
73
72
|
}
|
|
74
73
|
});
|
|
75
74
|
|
|
76
|
-
/**
|
|
77
|
-
* EXPORTS
|
|
75
|
+
/**
|
|
76
|
+
* EXPORTS
|
|
78
77
|
*/
|
|
79
78
|
exports.styles = styles;
|
|
80
79
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_theme","styles","props","StyleSheet","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","option","borderBottomWidth","borderBottomColor","optionText","closeButtonText","exports"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/selects/select-option/styles.ts"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AATA;AACA;AACA;;AAGA;;AAGA;;AAGA,MAAME,MAAM,GAAIC,KAA2B,IACzCC,uBAAU,CAACC,MAAM,CAAC;EAChBC,SAAS,EAAE;IACTC,KAAK,EAAE,MAAM;IACbC,YAAY,EAAE;EAChB,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAEP,KAAK,CAACQ,cAAc,IAAI,EAAE;IACpCC,UAAU,EAAE,MAAM;IAClBC,KAAK,EAAEV,KAAK,CAACW,eAAe,IAAIC,YAAK,CAACC,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;IACvDT,YAAY,EAAE;EAChB,CAAC;EACDU,SAAS,EAAE;IACTC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,eAAe;IAC/Bd,KAAK,EAAE,MAAM;IACbe,MAAM,EAAE,EAAE;IACVC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAET,YAAK,CAACC,MAAM,CAACS,IAAI,CAAC,GAAG,CAAC;IACnCC,YAAY,EAAE,EAAE;IAChBC,eAAe,
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","styles","props","StyleSheet","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","option","borderBottomWidth","borderBottomColor","optionText","closeButtonText","exports"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/selects/select-option/styles.ts"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AATA;AACA;AACA;;AAGA;;AAGA;;AAGA,MAAME,MAAM,GAAIC,KAA2B,IACzCC,uBAAU,CAACC,MAAM,CAAC;EAChBC,SAAS,EAAE;IACTC,KAAK,EAAE,MAAM;IACbC,YAAY,EAAE;EAChB,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAEP,KAAK,CAACQ,cAAc,IAAI,EAA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CAAC,GAAG,CAAC;IAC9BL,UAAU,EAAE;EACd,CAAC;EACD2B,eAAe,EAAE;IACf1B,KAAK,EAAEE,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;IAC/BhB,UAAU,EAAE;EACd;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AAFA4B,OAAA,CAAAtC,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -14,8 +14,8 @@ var _theme = require("../../styles/theme/theme.js");
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
17
|
-
/**
|
|
18
|
-
* IMPORTS
|
|
17
|
+
/**
|
|
18
|
+
* IMPORTS
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
// componentes
|
|
@@ -26,8 +26,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
26
26
|
|
|
27
27
|
// styles / theme
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* Componente SupplyErrorCard para a interação da ui.
|
|
29
|
+
/**
|
|
30
|
+
* Componente SupplyErrorCard para a interação da ui.
|
|
31
31
|
*/const SupplyErrorCard = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
32
32
|
const {
|
|
33
33
|
backgroundColor,
|
|
@@ -111,8 +111,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
111
111
|
});
|
|
112
112
|
SupplyErrorCard.displayName = "SupplyErrorCard";
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* EXPORTS
|
|
114
|
+
/**
|
|
115
|
+
* EXPORTS
|
|
116
116
|
*/
|
|
117
117
|
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(SupplyErrorCard);
|
|
118
118
|
//# sourceMappingURL=index.js.map
|
|
@@ -13,16 +13,16 @@ var _theme = require("../../styles/theme/theme.js");
|
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
-
/**
|
|
17
|
-
* IMPORTS
|
|
16
|
+
/**
|
|
17
|
+
* IMPORTS
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
// components
|
|
21
21
|
|
|
22
22
|
// typings
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* Componente ToastMessage para a exibição de mensagens de conexão.
|
|
24
|
+
/**
|
|
25
|
+
* Componente ToastMessage para a exibição de mensagens de conexão.
|
|
26
26
|
*/const ToastMessage = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
27
27
|
text1,
|
|
28
28
|
text2,
|
|
@@ -62,15 +62,16 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
62
62
|
color: "black25",
|
|
63
63
|
size: _theme.theme.fontSizes.xs,
|
|
64
64
|
lineHeight: _theme.theme.lineHeight["2xl"],
|
|
65
|
-
letterSpacing: "regular"
|
|
65
|
+
letterSpacing: "regular",
|
|
66
|
+
marginBottom: 4
|
|
66
67
|
})]
|
|
67
68
|
})]
|
|
68
69
|
});
|
|
69
70
|
});
|
|
70
71
|
ToastMessage.displayName = "ToastMessage";
|
|
71
72
|
|
|
72
|
-
/**
|
|
73
|
-
* EXPORT
|
|
73
|
+
/**
|
|
74
|
+
* EXPORT
|
|
74
75
|
*/
|
|
75
76
|
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ToastMessage);
|
|
76
77
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_asBaseComponent","_styles","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ToastMessage","forwardRef","text1","text2","options","ref","borderColor","useMemo","map","success","theme","colors","green","alert","blue","error","red","jsxs","View","style","styles","wrapperToash","children","jsx","wrapperBorder","testID","borderCustom","backgroundColor","wrapperText","text","String","fontFamily","fonts","inter_medium_500","color","size","fontSizes","xs","lineHeight","letterSpacing","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/toast-message/index.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAIA,IAAAI,gBAAA,GAAAJ,OAAA;AAEA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAAiD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,C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AAU,EAAE5B,YAAK,CAAC4B,UAAU,CAAC,KAAK,CAAE;QACpCC,aAAa,EAAE;MAAU,CAC1B,CACF,EAEA,CAAC,CAACpC,KAAK,iBACN,IAAAvB,WAAA,CAAA2C,GAAA,EAAChD,MAAA,CAAAQ,OAAU;QACT8C,IAAI,EAAEC,MAAM,CAAC3B,KAAK,CAAE;QACpB4B,UAAU,EAAC,mBAAmB;QAC9BG,KAAK,EAAE,SAAU;QACjBC,IAAI,EAAEzB,YAAK,CAAC0B,SAAS,CAACC,EAAG;QACzBC,UAAU,EAAE5B,YAAK,CAAC4B,UAAU,CAAC,KAAK,CAAE;QACpCC,aAAa,EAAE;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_asBaseComponent","_styles","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ToastMessage","forwardRef","text1","text2","options","ref","borderColor","useMemo","map","success","theme","colors","green","alert","blue","error","red","jsxs","View","style","styles","wrapperToash","children","jsx","wrapperBorder","testID","borderCustom","backgroundColor","wrapperText","text","String","fontFamily","fonts","inter_medium_500","color","size","fontSizes","xs","lineHeight","letterSpacing","marginBottom","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/toast-message/index.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAIA,IAAAI,gBAAA,GAAAJ,OAAA;AAEA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAAiD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA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C,aAAa,EAAE;MAAU,CAC1B,CACF,EAEA,CAAC,CAACpC,KAAK,iBACN,IAAAvB,WAAA,CAAA2C,GAAA,EAAChD,MAAA,CAAAQ,OAAU;QACT8C,IAAI,EAAEC,MAAM,CAAC3B,KAAK,CAAE;QACpB4B,UAAU,EAAC,mBAAmB;QAC9BG,KAAK,EAAE,SAAU;QACjBC,IAAI,EAAEzB,YAAK,CAAC0B,SAAS,CAACC,EAAG;QACzBC,UAAU,EAAE5B,YAAK,CAAC4B,UAAU,CAAC,KAAK,CAAE;QACpCC,aAAa,EAAE,SAAU;QACzBC,YAAY,EAAE;MAAE,CACjB,CACF;IAAA,CACG,CAAC;EAAA,CACH,CAAC;AAEX,CACF,CAAC;AAEDxC,YAAY,CAACyC,WAAW,GAAG,cAAc;;AAEzC;AACA;AACA;AAFA,IAAAC,QAAA,GAAAC,OAAA,CAAA5D,OAAA,GAGe,IAAA6D,gCAAe,EAAC5C,YAAY,CAAC","ignoreList":[]}
|
|
@@ -220,7 +220,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
220
220
|
text: `${status ?? "ABERTA"}`,
|
|
221
221
|
size: _theme.theme.fontSizes.xs,
|
|
222
222
|
color: backgroundColor ?? _theme.theme.colors.black[180],
|
|
223
|
-
fontFamily: _theme.theme.fonts.
|
|
223
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600
|
|
224
224
|
})]
|
|
225
225
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
226
226
|
width: "84%",
|
|
@@ -232,15 +232,15 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
232
232
|
style: {
|
|
233
233
|
flexShrink: 1
|
|
234
234
|
},
|
|
235
|
-
text: `
|
|
235
|
+
text: `Próxima viagem: `,
|
|
236
236
|
size: _theme.theme.fontSizes.sm,
|
|
237
237
|
color: _theme.theme.colors.black[10],
|
|
238
238
|
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
239
239
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
240
|
-
text: `${
|
|
240
|
+
text: `${nextTrip ?? "Não especificado"}`,
|
|
241
241
|
size: _theme.theme.fontSizes.xs,
|
|
242
242
|
color: backgroundColor ?? _theme.theme.colors.black[180],
|
|
243
|
-
fontFamily: _theme.theme.fonts.
|
|
243
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600
|
|
244
244
|
})]
|
|
245
245
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
246
246
|
width: "84%",
|
|
@@ -252,15 +252,15 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
252
252
|
style: {
|
|
253
253
|
flexShrink: 1
|
|
254
254
|
},
|
|
255
|
-
text: `
|
|
255
|
+
text: `Abastecimentos: `,
|
|
256
256
|
size: _theme.theme.fontSizes.sm,
|
|
257
257
|
color: _theme.theme.colors.black[10],
|
|
258
258
|
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
259
259
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
260
|
-
text: `${
|
|
260
|
+
text: `${supply ?? "0"}`,
|
|
261
261
|
size: _theme.theme.fontSizes.xs,
|
|
262
262
|
color: backgroundColor ?? _theme.theme.colors.black[180],
|
|
263
|
-
fontFamily: _theme.theme.fonts.
|
|
263
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600
|
|
264
264
|
})]
|
|
265
265
|
})]
|
|
266
266
|
})
|