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,203 @@
|
|
|
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("../../button/index.js"));
|
|
11
|
+
var _index3 = _interopRequireDefault(require("../../typography/index.js"));
|
|
12
|
+
var _index4 = _interopRequireDefault(require("../../selects/select-date-and-hours/index.js"));
|
|
13
|
+
var _index5 = _interopRequireDefault(require("../../selects/select-option/index.js"));
|
|
14
|
+
var _index6 = require("../../../common/icons-svg/index.js");
|
|
15
|
+
var _asBaseComponent = require("../../../@types/as-base-component.js");
|
|
16
|
+
var _index7 = require("./helpers/index.js");
|
|
17
|
+
var _theme = require("../../../styles/theme/theme.js");
|
|
18
|
+
var _styles = require("./styles.js");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
|
+
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); }
|
|
22
|
+
/**
|
|
23
|
+
* IMPORTS
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
// components
|
|
27
|
+
|
|
28
|
+
// commons
|
|
29
|
+
|
|
30
|
+
// helpers
|
|
31
|
+
|
|
32
|
+
// typings
|
|
33
|
+
|
|
34
|
+
// styles / theme
|
|
35
|
+
|
|
36
|
+
const ModalCreteActivitie = /*#__PURE__*/_react.default.memo(({
|
|
37
|
+
visible,
|
|
38
|
+
onClose,
|
|
39
|
+
onPressConfirm,
|
|
40
|
+
textTitle
|
|
41
|
+
}) => {
|
|
42
|
+
const [dateAndHours, setDateAndHours] = (0, _react.useState)({
|
|
43
|
+
date: "",
|
|
44
|
+
hours: "00:00"
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// estados controlados mínimos
|
|
48
|
+
const [selectedActivitie, setSelectedActivitie] = (0, _react.useState)(_index7.OPTIONS[0]?.value ?? null);
|
|
49
|
+
|
|
50
|
+
// label do motivo derivada com memo
|
|
51
|
+
const activitieLabel = (0, _react.useMemo)(() => _index7.OPTIONS.find(activitie => activitie.value === selectedActivitie)?.label ?? null, [selectedActivitie]);
|
|
52
|
+
|
|
53
|
+
// handlers estáveis
|
|
54
|
+
const handleChangeReason = (0, _react.useCallback)(value => {
|
|
55
|
+
setSelectedActivitie(value);
|
|
56
|
+
}, []);
|
|
57
|
+
const handleCancel = (0, _react.useCallback)(() => {
|
|
58
|
+
onClose?.();
|
|
59
|
+
}, [onClose]);
|
|
60
|
+
const handleConfirm = (0, _react.useCallback)(() => {
|
|
61
|
+
onPressConfirm?.({
|
|
62
|
+
reasonValue: selectedActivitie,
|
|
63
|
+
label: activitieLabel,
|
|
64
|
+
dateAndHours: dateAndHours
|
|
65
|
+
});
|
|
66
|
+
onClose?.();
|
|
67
|
+
}, [onPressConfirm, onClose, activitieLabel, selectedActivitie, dateAndHours]);
|
|
68
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
69
|
+
animationType: "fade",
|
|
70
|
+
transparent: true,
|
|
71
|
+
visible: visible,
|
|
72
|
+
onRequestClose: handleCancel,
|
|
73
|
+
statusBarTranslucent: true,
|
|
74
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
75
|
+
style: _styles.styles.overlay,
|
|
76
|
+
onPress: handleCancel,
|
|
77
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
78
|
+
width: "90%",
|
|
79
|
+
backgroundColor: _theme.theme.colors.orange[500],
|
|
80
|
+
borderStyled: {
|
|
81
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
82
|
+
},
|
|
83
|
+
paddingStyle: {
|
|
84
|
+
paddingLeft: _theme.theme.paddings["2xs"],
|
|
85
|
+
paddingRight: _theme.theme.paddings["2xs"],
|
|
86
|
+
paddingTop: _theme.theme.paddings.sm,
|
|
87
|
+
paddingBottom: _theme.theme.paddings.sm
|
|
88
|
+
},
|
|
89
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
90
|
+
style: _styles.styles.headerRow,
|
|
91
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index6.Icons, {
|
|
92
|
+
icon: "EXCLAMATION_TRIANGLE",
|
|
93
|
+
color: _theme.theme.colors.orange[500],
|
|
94
|
+
background: _theme.theme.colors.neutral[300],
|
|
95
|
+
size: 22
|
|
96
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
97
|
+
text: textTitle ?? "Incluir atividade",
|
|
98
|
+
color: _theme.theme.colors.neutral[25],
|
|
99
|
+
marginLeft: _theme.theme.margins["2xs"],
|
|
100
|
+
fontFamily: _theme.theme.fonts.inter_bold,
|
|
101
|
+
fontWeight: "700",
|
|
102
|
+
size: _theme.theme.fontSizes.lg
|
|
103
|
+
})]
|
|
104
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
105
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
106
|
+
paddingStyle: {
|
|
107
|
+
padding: _theme.theme.paddings.xs
|
|
108
|
+
},
|
|
109
|
+
borderStyled: {
|
|
110
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
111
|
+
},
|
|
112
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
113
|
+
text: "Preencha os dados da atividade que deseja incluir.",
|
|
114
|
+
color: _theme.theme.colors.black[100],
|
|
115
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
116
|
+
fontWeight: "400",
|
|
117
|
+
lineHeight: _theme.theme.lineHeight["2xl"],
|
|
118
|
+
size: _theme.theme.fontSizes.sm,
|
|
119
|
+
marginBottom: 16
|
|
120
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.default, {
|
|
121
|
+
titleLabel: "Selecione um motivo",
|
|
122
|
+
sizeTitleLabel: 18,
|
|
123
|
+
dataOption: _index7.OPTIONS,
|
|
124
|
+
handleSelectDown: handleChangeReason,
|
|
125
|
+
backgroundColor: _theme.theme.colors.neutral[300]
|
|
126
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.default, {
|
|
127
|
+
disabled: false,
|
|
128
|
+
icon: "CALENDAR",
|
|
129
|
+
value: "09/09/2025",
|
|
130
|
+
onPressConfirm: value => setDateAndHours({
|
|
131
|
+
date: value,
|
|
132
|
+
hours: dateAndHours?.hours
|
|
133
|
+
})
|
|
134
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.default, {
|
|
135
|
+
disabled: false,
|
|
136
|
+
icon: "TIMER",
|
|
137
|
+
value: "00:00",
|
|
138
|
+
onPressConfirm: value => setDateAndHours({
|
|
139
|
+
date: dateAndHours?.date,
|
|
140
|
+
hours: value
|
|
141
|
+
})
|
|
142
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
143
|
+
style: _styles.styles.actions,
|
|
144
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
145
|
+
title: "CANCELAR",
|
|
146
|
+
onPress: handleCancel,
|
|
147
|
+
width: "48%",
|
|
148
|
+
height: 40,
|
|
149
|
+
isLoading: false,
|
|
150
|
+
disabled: false,
|
|
151
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
152
|
+
buttonTextStyle: {
|
|
153
|
+
color: _theme.theme.colors.blue[500],
|
|
154
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
155
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
156
|
+
fontWeight: "500"
|
|
157
|
+
},
|
|
158
|
+
flexStyle: {
|
|
159
|
+
flexDirection: "row",
|
|
160
|
+
alignItems: "center",
|
|
161
|
+
justifyContent: "center",
|
|
162
|
+
textAlign: "center"
|
|
163
|
+
},
|
|
164
|
+
borderStyled: {
|
|
165
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
166
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
167
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
168
|
+
}
|
|
169
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
170
|
+
title: "CONFIRMAR",
|
|
171
|
+
onPress: handleConfirm,
|
|
172
|
+
width: "48%",
|
|
173
|
+
height: 40,
|
|
174
|
+
isLoading: false,
|
|
175
|
+
disabled: false,
|
|
176
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
177
|
+
buttonTextStyle: {
|
|
178
|
+
color: _theme.theme.colors.neutral[25],
|
|
179
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
180
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
181
|
+
fontWeight: "500"
|
|
182
|
+
},
|
|
183
|
+
flexStyle: {
|
|
184
|
+
flexDirection: "row",
|
|
185
|
+
alignItems: "center",
|
|
186
|
+
justifyContent: "center",
|
|
187
|
+
textAlign: "center"
|
|
188
|
+
},
|
|
189
|
+
borderStyled: {
|
|
190
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
191
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
192
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
193
|
+
}
|
|
194
|
+
})]
|
|
195
|
+
})]
|
|
196
|
+
})]
|
|
197
|
+
})
|
|
198
|
+
})
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
ModalCreteActivitie.displayName = "ModalCreteActivitie";
|
|
202
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ModalCreteActivitie);
|
|
203
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_index3","_index4","_index5","_index6","_asBaseComponent","_index7","_theme","_styles","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ModalCreteActivitie","React","memo","visible","onClose","onPressConfirm","textTitle","dateAndHours","setDateAndHours","useState","date","hours","selectedActivitie","setSelectedActivitie","OPTIONS","value","activitieLabel","useMemo","find","activitie","label","handleChangeReason","useCallback","handleCancel","handleConfirm","reasonValue","jsx","Modal","animationType","transparent","onRequestClose","statusBarTranslucent","children","Pressable","style","styles","overlay","onPress","jsxs","width","backgroundColor","theme","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","View","headerRow","Icons","icon","color","background","neutral","size","text","marginLeft","margins","fontFamily","fonts","inter_bold","fontWeight","fontSizes","lg","padding","xs","black","inter_regular_400","lineHeight","marginBottom","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","disabled","actions","title","height","isLoading","buttonTextStyle","blue","inter_medium_500","fontSize","flexStyle","flexDirection","alignItems","justifyContent","textAlign","borderWidth","thin","borderColor","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,C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AE,QAAQ;gBACxBC,SAAS,EAAE;cACb,CAAE;cACFnD,YAAY,EAAE;gBACZoD,WAAW,EAAEvD,YAAK,CAACK,YAAY,CAACmD,IAAI;gBACpCC,WAAW,EAAEzD,YAAK,CAACC,MAAM,CAAC8C,IAAI,CAAC,GAAG,CAAC;gBACnC3C,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;cACnC;YAAE,CACH,CAAC;UAAA,CACE,CAAC;QAAA,CACJ,CAAC;MAAA,CACH;IAAC,CACG;EAAC,CACP,CAAC;AAEZ,CACF,CAAC;AAED/C,mBAAmB,CAACmG,WAAW,GAAG,qBAAqB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAtH,OAAA,GACzC,IAAAuH,gCAAe,EAACtG,mBAAmB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/interface.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 _theme = require("../../../styles/theme/theme.js");
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
const styles = exports.styles = _reactNative.StyleSheet.create({
|
|
14
|
+
overlay: {
|
|
15
|
+
flex: 1,
|
|
16
|
+
justifyContent: "center",
|
|
17
|
+
alignItems: "center",
|
|
18
|
+
backgroundColor: _theme.theme.shadows.z1
|
|
19
|
+
},
|
|
20
|
+
card: {
|
|
21
|
+
width: "90%"
|
|
22
|
+
},
|
|
23
|
+
headerRow: {
|
|
24
|
+
marginBottom: 10,
|
|
25
|
+
marginLeft: 4,
|
|
26
|
+
flexDirection: "row",
|
|
27
|
+
alignItems: "center"
|
|
28
|
+
},
|
|
29
|
+
content: {
|
|
30
|
+
padding: _theme.theme.paddings.xs
|
|
31
|
+
},
|
|
32
|
+
actions: {
|
|
33
|
+
marginTop: 16,
|
|
34
|
+
flexDirection: "row",
|
|
35
|
+
justifyContent: "space-between"
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* EXPORTS
|
|
41
|
+
*/
|
|
42
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","styles","exports","StyleSheet","create","overlay","flex","justifyContent","alignItems","backgroundColor","theme","shadows","z1","card","width","headerRow","marginBottom","marginLeft","flexDirection","content","padding","paddings","xs","actions","marginTop"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/styles.ts"],"mappings":";;;;;;AAIA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AALA;AACA;AACA;;AAKA,MAAME,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,uBAAU,CAACC,MAAM,CAAC;EAC/BC,OAAO,EAAE;IACPC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAEC,YAAK,CAACC,OAAO,CAACC;EACjC,CAAC;EACDC,IAAI,EAAE;IAAEC,KAAK,EAAE;EAAM,CAAC;EACtBC,SAAS,EAAE;IAAEC,YAAY,EAAE,EAAE;IAAEC,UAAU,EAAE,CAAC;IAAEC,aAAa,EAAE,KAAK;IAAEV,UAAU,EAAE;EAAS,CAAC;EAC1FW,OAAO,EAAE;IAAEC,OAAO,EAAEV,YAAK,CAACW,QAAQ,CAACC;EAAG,CAAC;EACvCC,OAAO,EAAE;IAAEC,SAAS,EAAE,EAAE;IAAEN,aAAa,EAAE,KAAK;IAAEX,cAAc,EAAE;EAAgB;AAClF,CAAC,CAAC;;AAEF;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-exclude-activitie/index.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,242 @@
|
|
|
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 = _interopRequireDefault(require("../../button/index.js"));
|
|
12
|
+
var _index4 = _interopRequireDefault(require("../../selects/select-option/index.js"));
|
|
13
|
+
var _index5 = _interopRequireDefault(require("../../inputs/input-date-time/index.js"));
|
|
14
|
+
var _index6 = require("../../../common/icons-svg/index.js");
|
|
15
|
+
var _asBaseComponent = require("../../../@types/as-base-component.js");
|
|
16
|
+
var _theme = require("../../../styles/theme/theme.js");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
|
+
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); }
|
|
20
|
+
/**
|
|
21
|
+
* IMPORTS
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
// components
|
|
25
|
+
|
|
26
|
+
// commons / svg
|
|
27
|
+
|
|
28
|
+
// typings
|
|
29
|
+
|
|
30
|
+
// styles
|
|
31
|
+
|
|
32
|
+
const options = [{
|
|
33
|
+
label: "Disp com veículo parado",
|
|
34
|
+
value: "option1"
|
|
35
|
+
}, {
|
|
36
|
+
label: "Operação com veículo",
|
|
37
|
+
value: "option2"
|
|
38
|
+
}, {
|
|
39
|
+
label: "Em carga",
|
|
40
|
+
value: "option3"
|
|
41
|
+
}, {
|
|
42
|
+
label: "Em descarga",
|
|
43
|
+
value: "option4"
|
|
44
|
+
}];
|
|
45
|
+
const ModalJourneyRectification = ({
|
|
46
|
+
visible,
|
|
47
|
+
onClose,
|
|
48
|
+
modalConfirm,
|
|
49
|
+
textTitle
|
|
50
|
+
}) => {
|
|
51
|
+
const [isLoading] = _react.default.useState(false);
|
|
52
|
+
|
|
53
|
+
// *** DEFAULTS: já começa com um motivo, data e hora atuais
|
|
54
|
+
const defaultReason = options[0]?.value ?? null;
|
|
55
|
+
const [selectedReason, setSelectedReason] = (0, _react.useState)(defaultReason); // ***
|
|
56
|
+
const [selectedDate, setSelectedDate] = (0, _react.useState)(new Date()); // ***
|
|
57
|
+
const [selectedTime, setSelectedTime] = (0, _react.useState)(new Date()); // ***
|
|
58
|
+
|
|
59
|
+
// helpers de formatação
|
|
60
|
+
const fmtDate = d => `${String(d.getDate()).padStart(2, "0")}/${String(d.getMonth() + 1).padStart(2, "0")}/${d.getFullYear()}`;
|
|
61
|
+
const fmtTime = d => `${String(d.getHours()).padStart(2, "0")}:${String(d.getMinutes()).padStart(2, "0")}`;
|
|
62
|
+
|
|
63
|
+
// junta data + hora
|
|
64
|
+
const mergeDateTime = (date, time) => {
|
|
65
|
+
if (!date) return null;
|
|
66
|
+
const out = new Date(date);
|
|
67
|
+
if (time) {
|
|
68
|
+
out.setHours(time.getHours());
|
|
69
|
+
out.setMinutes(time.getMinutes());
|
|
70
|
+
out.setSeconds(0);
|
|
71
|
+
out.setMilliseconds(0);
|
|
72
|
+
}
|
|
73
|
+
return out;
|
|
74
|
+
};
|
|
75
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
76
|
+
animationType: "fade",
|
|
77
|
+
transparent: true,
|
|
78
|
+
visible: visible,
|
|
79
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
80
|
+
style: {
|
|
81
|
+
flex: 1,
|
|
82
|
+
justifyContent: "center",
|
|
83
|
+
alignItems: "center",
|
|
84
|
+
backgroundColor: "rgba(0,0,0,0.6)"
|
|
85
|
+
},
|
|
86
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
87
|
+
width: "90%",
|
|
88
|
+
backgroundColor: _theme.theme.colors.orange[500],
|
|
89
|
+
borderStyled: {
|
|
90
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
91
|
+
},
|
|
92
|
+
paddingStyle: {
|
|
93
|
+
paddingLeft: _theme.theme.paddings["2xs"],
|
|
94
|
+
paddingRight: _theme.theme.paddings["2xs"],
|
|
95
|
+
paddingTop: _theme.theme.paddings.sm,
|
|
96
|
+
paddingBottom: _theme.theme.paddings.sm
|
|
97
|
+
},
|
|
98
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
99
|
+
marginStyle: {
|
|
100
|
+
marginBottom: 10,
|
|
101
|
+
marginLeft: 4
|
|
102
|
+
},
|
|
103
|
+
flexStyle: {
|
|
104
|
+
flexDirection: "row",
|
|
105
|
+
alignItems: "center"
|
|
106
|
+
},
|
|
107
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index6.Icons, {
|
|
108
|
+
icon: "EXCLAMATION_TRIANGLE",
|
|
109
|
+
color: _theme.theme.colors.orange[500],
|
|
110
|
+
background: _theme.theme.colors.neutral[300],
|
|
111
|
+
size: 22
|
|
112
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
113
|
+
text: `${textTitle ?? "Incluir atividade"}`,
|
|
114
|
+
color: _theme.theme.colors.neutral[25],
|
|
115
|
+
marginLeft: _theme.theme.margins["2xs"],
|
|
116
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
117
|
+
size: _theme.theme.fontSizes.lg
|
|
118
|
+
})]
|
|
119
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
120
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
121
|
+
paddingStyle: {
|
|
122
|
+
padding: _theme.theme.paddings.xs
|
|
123
|
+
},
|
|
124
|
+
borderStyled: {
|
|
125
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
126
|
+
},
|
|
127
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
128
|
+
text: "Confirme as alterações antes de salvar.",
|
|
129
|
+
color: _theme.theme.colors.black[25],
|
|
130
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
131
|
+
size: _theme.theme.fontSizes.md,
|
|
132
|
+
marginBottom: 16
|
|
133
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.default, {
|
|
134
|
+
titleLabel: "Selecione atividade",
|
|
135
|
+
sizeTitleLabel: 18,
|
|
136
|
+
dataOption: options
|
|
137
|
+
// Onde o motivo é RECEBIDO: aqui no callback
|
|
138
|
+
,
|
|
139
|
+
handleSelectDown: value => setSelectedReason(value) // ***
|
|
140
|
+
,
|
|
141
|
+
backgroundColor: _theme.theme.colors.neutral[300]
|
|
142
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.default, {
|
|
143
|
+
mode: "date",
|
|
144
|
+
titleLabel: "Data"
|
|
145
|
+
// Onde a data é RECEBIDA: no onChange abaixo
|
|
146
|
+
,
|
|
147
|
+
value: selectedDate // *** controlado
|
|
148
|
+
,
|
|
149
|
+
onChange: d => setSelectedDate(d) // ***
|
|
150
|
+
,
|
|
151
|
+
backgroundColor: "#f5f5f5",
|
|
152
|
+
colortitleLabel: "#333"
|
|
153
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.default, {
|
|
154
|
+
mode: "time",
|
|
155
|
+
titleLabel: "Hor\xE1rio"
|
|
156
|
+
// Onde a hora é RECEBIDA: no onChange abaixo
|
|
157
|
+
,
|
|
158
|
+
value: selectedTime // *** controlado
|
|
159
|
+
,
|
|
160
|
+
onChange: d => setSelectedTime(d) // ***
|
|
161
|
+
,
|
|
162
|
+
backgroundColor: "#f5f5f5",
|
|
163
|
+
colortitleLabel: "#333"
|
|
164
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
165
|
+
marginStyle: {
|
|
166
|
+
marginTop: 4
|
|
167
|
+
},
|
|
168
|
+
flexStyle: {
|
|
169
|
+
flexDirection: "row",
|
|
170
|
+
justifyContent: "space-between"
|
|
171
|
+
},
|
|
172
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
173
|
+
title: "CANCELAR",
|
|
174
|
+
onPress: onClose,
|
|
175
|
+
width: "48%",
|
|
176
|
+
height: 40,
|
|
177
|
+
isLoading: isLoading,
|
|
178
|
+
disabled: isLoading,
|
|
179
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
180
|
+
buttonTextStyle: {
|
|
181
|
+
color: _theme.theme.colors.blue[100],
|
|
182
|
+
fontFamily: "Inter-Medium",
|
|
183
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
184
|
+
fontWeight: "500"
|
|
185
|
+
},
|
|
186
|
+
flexStyle: {
|
|
187
|
+
flexDirection: "row",
|
|
188
|
+
alignItems: "center",
|
|
189
|
+
justifyContent: "center",
|
|
190
|
+
textAlign: "center"
|
|
191
|
+
},
|
|
192
|
+
borderStyled: {
|
|
193
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
194
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
195
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
196
|
+
}
|
|
197
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
198
|
+
title: "CONFIRMAR",
|
|
199
|
+
onPress: () => {
|
|
200
|
+
const merged = mergeDateTime(selectedDate, selectedTime);
|
|
201
|
+
const payload = {
|
|
202
|
+
reasonValue: selectedReason,
|
|
203
|
+
reasonLabel: options.find(o => o.value === selectedReason)?.label ?? null,
|
|
204
|
+
date: selectedDate ? fmtDate(selectedDate) : null,
|
|
205
|
+
time: selectedTime ? fmtTime(selectedTime) : null,
|
|
206
|
+
dateTimeISO: merged ? merged.toISOString() : null
|
|
207
|
+
};
|
|
208
|
+
modalConfirm(payload);
|
|
209
|
+
onClose();
|
|
210
|
+
},
|
|
211
|
+
width: "48%",
|
|
212
|
+
height: 40,
|
|
213
|
+
isLoading: isLoading,
|
|
214
|
+
disabled: isLoading,
|
|
215
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
216
|
+
buttonTextStyle: {
|
|
217
|
+
color: _theme.theme.colors.neutral[25],
|
|
218
|
+
fontFamily: "Inter-Medium",
|
|
219
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
220
|
+
fontWeight: "500"
|
|
221
|
+
},
|
|
222
|
+
flexStyle: {
|
|
223
|
+
flexDirection: "row",
|
|
224
|
+
alignItems: "center",
|
|
225
|
+
justifyContent: "center",
|
|
226
|
+
textAlign: "center"
|
|
227
|
+
},
|
|
228
|
+
borderStyled: {
|
|
229
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
230
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
231
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
232
|
+
}
|
|
233
|
+
})]
|
|
234
|
+
})]
|
|
235
|
+
})]
|
|
236
|
+
})
|
|
237
|
+
})
|
|
238
|
+
});
|
|
239
|
+
};
|
|
240
|
+
ModalJourneyRectification.displayName = "ModalJourneyRectification";
|
|
241
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ModalJourneyRectification);
|
|
242
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_index3","_index4","_index5","_index6","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","options","label","value","ModalJourneyRectification","visible","onClose","modalConfirm","textTitle","isLoading","React","useState","defaultReason","selectedReason","setSelectedReason","selectedDate","setSelectedDate","Date","selectedTime","setSelectedTime","fmtDate","d","String","getDate","padStart","getMonth","getFullYear","fmtTime","getHours","getMinutes","mergeDateTime","date","time","out","setHours","setMinutes","setSeconds","setMilliseconds","jsx","Modal","animationType","transparent","children","View","style","flex","justifyContent","alignItems","backgroundColor","jsxs","width","theme","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","black","inter_regular_400","md","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","mode","onChange","colortitleLabel","marginTop","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","merged","payload","reasonValue","reasonLabel","find","dateTimeISO","toISOString","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-journey-rectification/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;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mB,UAAU,EAAE;cACd,CAAE;cACFnC,SAAS,EAAE;gBACTC,aAAa,EAAE,KAAK;gBACpBtB,UAAU,EAAE,QAAQ;gBACpBD,cAAc,EAAE,QAAQ;gBACxB0D,SAAS,EAAE;cACb,CAAE;cACFlD,YAAY,EAAE;gBACZmD,WAAW,EAAEtD,YAAK,CAACK,YAAY,CAACkD,IAAI;gBACpCC,WAAW,EAAExD,YAAK,CAACC,MAAM,CAACiD,IAAI,CAAC,GAAG,CAAC;gBACnC9C,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;cACnC;YAAE,CACH,CAAC;UAAA,CACC,CAAC;QAAA,CACH,CAAC;MAAA,CACH;IAAC,CACF;EAAC,CACF,CAAC;AAEZ,CAAC;AAEDrD,yBAAyB,CAAC+G,WAAW,GAAG,2BAA2B;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAArI,OAAA,GAErD,IAAAsI,gCAAe,EAAClH,yBAAyB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-journey-rectification/interface.d.ts"],"mappings":"","ignoreList":[]}
|