jornada-ui 0.4.10 → 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 +7 -6
- package/lib/commonjs/components/supply-error-card/index.js.map +1 -1
- 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 +12 -12
- package/lib/commonjs/stories/supply-error-card/supply-error-card.stories.js.map +1 -1
- 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 +7 -6
- package/lib/module/components/supply-error-card/index.js.map +1 -1
- 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 +12 -12
- package/lib/module/stories/supply-error-card/supply-error-card.stories.js.map +1 -1
- 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 +3 -8
- 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 +3 -8
- 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 +10 -6
- package/src/components/supply-error-card/interface.d.ts +3 -9
- 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 +12 -12
- package/src/stories/trip-details-card/trip-details-card.stories.tsx +38 -5
- package/src/styles/theme/theme.ts +1 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { Modal, View } from "react-native";
|
|
8
|
+
|
|
9
|
+
// components
|
|
10
|
+
import Box from "../../box/index.js";
|
|
11
|
+
import Typography from "../../typography/index.js";
|
|
12
|
+
import Button from "../../button/index.js";
|
|
13
|
+
import MaintenanceDescriptionInput from "../../maintenance-description-input/index.js";
|
|
14
|
+
|
|
15
|
+
// commons / svg
|
|
16
|
+
import { Icons } from "../../../common/icons-svg/index.js";
|
|
17
|
+
|
|
18
|
+
// typings
|
|
19
|
+
|
|
20
|
+
import { asBaseComponent } from "../../../@types/as-base-component.js";
|
|
21
|
+
|
|
22
|
+
// styles
|
|
23
|
+
import { theme } from "../../../styles/theme/theme.js";
|
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
|
+
const MAX_LEN = 150;
|
|
26
|
+
const ModalActivityReason = ({
|
|
27
|
+
visible,
|
|
28
|
+
onClose,
|
|
29
|
+
modalConfirm,
|
|
30
|
+
textTitle
|
|
31
|
+
}) => {
|
|
32
|
+
const [textInput, setTextInput] = React.useState("");
|
|
33
|
+
const messaError = textInput.length >= MAX_LEN ? `Limite máximo de ${MAX_LEN} caracteres atingido!` : "";
|
|
34
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
35
|
+
animationType: "fade",
|
|
36
|
+
transparent: true,
|
|
37
|
+
visible: visible,
|
|
38
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
39
|
+
style: {
|
|
40
|
+
flex: 1,
|
|
41
|
+
justifyContent: "center",
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
backgroundColor: theme.shadows.z1
|
|
44
|
+
},
|
|
45
|
+
children: /*#__PURE__*/_jsxs(Box, {
|
|
46
|
+
width: "90%",
|
|
47
|
+
backgroundColor: theme.colors.orange[500],
|
|
48
|
+
borderStyled: {
|
|
49
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
50
|
+
},
|
|
51
|
+
paddingStyle: {
|
|
52
|
+
paddingLeft: theme.paddings["2xs"],
|
|
53
|
+
paddingRight: theme.paddings["2xs"],
|
|
54
|
+
paddingTop: theme.paddings.sm,
|
|
55
|
+
paddingBottom: theme.paddings.sm
|
|
56
|
+
},
|
|
57
|
+
children: [/*#__PURE__*/_jsxs(Box, {
|
|
58
|
+
marginStyle: {
|
|
59
|
+
marginBottom: 10,
|
|
60
|
+
marginLeft: 4
|
|
61
|
+
},
|
|
62
|
+
flexStyle: {
|
|
63
|
+
flexDirection: "row",
|
|
64
|
+
alignItems: "center"
|
|
65
|
+
},
|
|
66
|
+
children: [/*#__PURE__*/_jsx(Icons, {
|
|
67
|
+
icon: "EXCLAMATION_TRIANGLE",
|
|
68
|
+
color: theme.colors.orange[500],
|
|
69
|
+
background: theme.colors.neutral[300],
|
|
70
|
+
size: 22
|
|
71
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
72
|
+
text: `${textTitle ?? "Motivo da exclusão"}`,
|
|
73
|
+
color: theme.colors.neutral[25],
|
|
74
|
+
marginLeft: theme.margins["2xs"],
|
|
75
|
+
fontFamily: theme.fonts.inter_bold_700,
|
|
76
|
+
size: theme.fontSizes.lg
|
|
77
|
+
})]
|
|
78
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
79
|
+
backgroundColor: theme.colors.neutral[300],
|
|
80
|
+
paddingStyle: {
|
|
81
|
+
padding: theme.paddings.xs
|
|
82
|
+
},
|
|
83
|
+
borderStyled: {
|
|
84
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
85
|
+
},
|
|
86
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
87
|
+
width: "100%",
|
|
88
|
+
children: /*#__PURE__*/_jsx(MaintenanceDescriptionInput, {
|
|
89
|
+
label: `${textTitle || "Motivo da exclusão"}`,
|
|
90
|
+
placeholderTextColor: theme.colors.gray[700],
|
|
91
|
+
placeholder: "Motivo da exclus\xE3o",
|
|
92
|
+
onChangeText: setTextInput,
|
|
93
|
+
error: messaError
|
|
94
|
+
})
|
|
95
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
96
|
+
marginStyle: {
|
|
97
|
+
marginTop: 4
|
|
98
|
+
},
|
|
99
|
+
flexStyle: {
|
|
100
|
+
flexDirection: "row",
|
|
101
|
+
justifyContent: "space-between"
|
|
102
|
+
},
|
|
103
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
104
|
+
title: "CANCELAR",
|
|
105
|
+
onPress: onClose,
|
|
106
|
+
width: "48%",
|
|
107
|
+
height: 40,
|
|
108
|
+
isLoading: false,
|
|
109
|
+
disabled: false,
|
|
110
|
+
backgroundColor: theme.colors.neutral[300],
|
|
111
|
+
buttonTextStyle: {
|
|
112
|
+
color: theme.colors.blue[100],
|
|
113
|
+
fontFamily: "Inter-Medium",
|
|
114
|
+
fontSize: theme.fontSizes.xs,
|
|
115
|
+
fontWeight: "500"
|
|
116
|
+
},
|
|
117
|
+
flexStyle: {
|
|
118
|
+
flexDirection: "row",
|
|
119
|
+
alignItems: "center",
|
|
120
|
+
justifyContent: "center",
|
|
121
|
+
textAlign: "center"
|
|
122
|
+
},
|
|
123
|
+
borderStyled: {
|
|
124
|
+
borderWidth: theme.borderWidths.thin,
|
|
125
|
+
borderColor: theme.colors.blue[100],
|
|
126
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
127
|
+
}
|
|
128
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
129
|
+
title: "CONFIRMAR",
|
|
130
|
+
onPress: () => {
|
|
131
|
+
modalConfirm(textInput);
|
|
132
|
+
onClose();
|
|
133
|
+
},
|
|
134
|
+
width: "48%",
|
|
135
|
+
height: 40,
|
|
136
|
+
isLoading: false,
|
|
137
|
+
disabled: false,
|
|
138
|
+
backgroundColor: theme.colors.blue[500],
|
|
139
|
+
buttonTextStyle: {
|
|
140
|
+
color: theme.colors.neutral[25],
|
|
141
|
+
fontFamily: "Inter-Medium",
|
|
142
|
+
fontSize: theme.fontSizes.xs,
|
|
143
|
+
fontWeight: "500"
|
|
144
|
+
},
|
|
145
|
+
flexStyle: {
|
|
146
|
+
flexDirection: "row",
|
|
147
|
+
alignItems: "center",
|
|
148
|
+
justifyContent: "center",
|
|
149
|
+
textAlign: "center"
|
|
150
|
+
},
|
|
151
|
+
borderStyled: {
|
|
152
|
+
borderWidth: theme.borderWidths.thin,
|
|
153
|
+
borderColor: theme.colors.blue[100],
|
|
154
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
155
|
+
}
|
|
156
|
+
})]
|
|
157
|
+
})]
|
|
158
|
+
})]
|
|
159
|
+
})
|
|
160
|
+
})
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
ModalActivityReason.displayName = "ModalActivityReason";
|
|
164
|
+
export default asBaseComponent(ModalActivityReason);
|
|
165
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Modal","View","Box","Typography","Button","MaintenanceDescriptionInput","Icons","asBaseComponent","theme","jsx","_jsx","jsxs","_jsxs","MAX_LEN","ModalActivityReason","visible","onClose","modalConfirm","textTitle","textInput","setTextInput","useState","messaError","length","animationType","transparent","children","style","flex","justifyContent","alignItems","backgroundColor","shadows","z1","width","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","marginLeft","flexStyle","flexDirection","icon","color","background","neutral","size","text","margins","fontFamily","fonts","inter_bold_700","fontSizes","lg","padding","xs","label","placeholderTextColor","gray","placeholder","onChangeText","error","marginTop","title","onPress","height","isLoading","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","displayName"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-activity-reason/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,IAAI,QAAQ,cAAc;;AAE1C;AACA,OAAOC,GAAG,MAAM,oBAAW;AAC3B,OAAOC,UAAU,MAAM,2BAAkB;AACzC,OAAOC,MAAM,MAAM,uBAAc;AACjC,OAAOC,2BAA2B,MAAM,8CAAqC;;AAE7E;AACA,SAASC,KAAK,QAAQ,oCAA2B;;AAEjD;;AAEA,SAASC,eAAe,QAAQ,sCAAmC;;AAEnE;AACA,SAASC,KAAK,QAAQ,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEpD,MAAMC,OAAO,GAAG,GAAG;AAEnB,MAAMC,mBAA6D,GAAGA,CAAC;EACrEC,OAAO;EACPC,OAAO;EACPC,YAAY;EACZC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGrB,KAAK,CAACsB,QAAQ,CAAC,EAAE,CAAC;EAEpD,MAAMC,UAAU,GACdH,SAAS,CAACI,MAAM,IAAIV,OAAO,GAAG,oBAAoBA,OAAO,uBAAuB,GAAG,EAAE;EAEvF,oBACEH,IAAA,CAACV,KAAK;IAACwB,aAAa,EAAC,MAAM;IAACC,WAAW;IAACV,OAAO,EAAEA,OAAQ;IAAAW,QAAA,eACvDhB,IAAA,CAACT,IAAI;MACH0B,KAAK,EAAE;QACLC,IAAI,EAAE,CAAC;QACPC,cAAc,EAAE,QAAQ;QACxBC,UAAU,EAAE,QAAQ;QACpBC,eAAe,EAAEvB,KAAK,CAACwB,OAAO,CAACC;MACjC,CAAE;MAAAP,QAAA,eAEFd,KAAA,CAACV,GAAG;QACFg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,CAAC+B,YAAY,CAACC;cACnC;YAAE,CACH,CAAC;UAAA,CACC,CAAC;QAAA,CACH,CAAC;MAAA,CACH;IAAC,CACF;EAAC,CACF,CAAC;AAEZ,CAAC;AAED1B,mBAAmB,CAACyE,WAAW,GAAG,qBAAqB;AAEvD,eAAehF,eAAe,CAACO,mBAAmB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-activity-reason/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
const OPTIONS = [{
|
|
7
|
+
label: "Disp com veículo parado",
|
|
8
|
+
value: "option1"
|
|
9
|
+
}, {
|
|
10
|
+
label: "Operação com veículo",
|
|
11
|
+
value: "option2"
|
|
12
|
+
}, {
|
|
13
|
+
label: "Em carga",
|
|
14
|
+
value: "option3"
|
|
15
|
+
}, {
|
|
16
|
+
label: "Em descarga",
|
|
17
|
+
value: "option4"
|
|
18
|
+
}];
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* EXPORTS
|
|
22
|
+
*/
|
|
23
|
+
export { OPTIONS };
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["OPTIONS","label","value"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/helpers/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA,MAAMA,OAAO,GAAG,CACd;EAAEC,KAAK,EAAE,yBAAyB;EAAEC,KAAK,EAAE;AAAU,CAAC,EACtD;EAAED,KAAK,EAAE,sBAAsB;EAAEC,KAAK,EAAE;AAAU,CAAC,EACnD;EAAED,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE;AAAU,CAAC,EACvC;EAAED,KAAK,EAAE,aAAa;EAAEC,KAAK,EAAE;AAAU,CAAC,CAClC;;AAEV;AACA;AACA;AACA,SAASF,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
import React, { useMemo, useState, useCallback } from "react";
|
|
7
|
+
import { Modal, View, Pressable } from "react-native";
|
|
8
|
+
|
|
9
|
+
// components
|
|
10
|
+
import Box from "../../box/index.js";
|
|
11
|
+
import Button from "../../button/index.js";
|
|
12
|
+
import Typography from "../../typography/index.js";
|
|
13
|
+
import ActivityFields from "../../selects/select-date-and-hours/index.js";
|
|
14
|
+
import SelectOption from "../../selects/select-option/index.js";
|
|
15
|
+
|
|
16
|
+
// commons
|
|
17
|
+
import { Icons } from "../../../common/icons-svg/index.js";
|
|
18
|
+
import { asBaseComponent } from "../../../@types/as-base-component.js";
|
|
19
|
+
|
|
20
|
+
// helpers
|
|
21
|
+
import { OPTIONS } from "./helpers/index.js";
|
|
22
|
+
|
|
23
|
+
// typings
|
|
24
|
+
|
|
25
|
+
// styles / theme
|
|
26
|
+
import { theme } from "../../../styles/theme/theme.js";
|
|
27
|
+
import { styles } from "./styles.js";
|
|
28
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
|
+
const ModalCreteActivitie = /*#__PURE__*/React.memo(({
|
|
30
|
+
visible,
|
|
31
|
+
onClose,
|
|
32
|
+
onPressConfirm,
|
|
33
|
+
textTitle
|
|
34
|
+
}) => {
|
|
35
|
+
const [dateAndHours, setDateAndHours] = useState({
|
|
36
|
+
date: "",
|
|
37
|
+
hours: "00:00"
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// estados controlados mínimos
|
|
41
|
+
const [selectedActivitie, setSelectedActivitie] = useState(OPTIONS[0]?.value ?? null);
|
|
42
|
+
|
|
43
|
+
// label do motivo derivada com memo
|
|
44
|
+
const activitieLabel = useMemo(() => OPTIONS.find(activitie => activitie.value === selectedActivitie)?.label ?? null, [selectedActivitie]);
|
|
45
|
+
|
|
46
|
+
// handlers estáveis
|
|
47
|
+
const handleChangeReason = useCallback(value => {
|
|
48
|
+
setSelectedActivitie(value);
|
|
49
|
+
}, []);
|
|
50
|
+
const handleCancel = useCallback(() => {
|
|
51
|
+
onClose?.();
|
|
52
|
+
}, [onClose]);
|
|
53
|
+
const handleConfirm = useCallback(() => {
|
|
54
|
+
onPressConfirm?.({
|
|
55
|
+
reasonValue: selectedActivitie,
|
|
56
|
+
label: activitieLabel,
|
|
57
|
+
dateAndHours: dateAndHours
|
|
58
|
+
});
|
|
59
|
+
onClose?.();
|
|
60
|
+
}, [onPressConfirm, onClose, activitieLabel, selectedActivitie, dateAndHours]);
|
|
61
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
62
|
+
animationType: "fade",
|
|
63
|
+
transparent: true,
|
|
64
|
+
visible: visible,
|
|
65
|
+
onRequestClose: handleCancel,
|
|
66
|
+
statusBarTranslucent: true,
|
|
67
|
+
children: /*#__PURE__*/_jsx(Pressable, {
|
|
68
|
+
style: styles.overlay,
|
|
69
|
+
onPress: handleCancel,
|
|
70
|
+
children: /*#__PURE__*/_jsxs(Box, {
|
|
71
|
+
width: "90%",
|
|
72
|
+
backgroundColor: theme.colors.orange[500],
|
|
73
|
+
borderStyled: {
|
|
74
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
75
|
+
},
|
|
76
|
+
paddingStyle: {
|
|
77
|
+
paddingLeft: theme.paddings["2xs"],
|
|
78
|
+
paddingRight: theme.paddings["2xs"],
|
|
79
|
+
paddingTop: theme.paddings.sm,
|
|
80
|
+
paddingBottom: theme.paddings.sm
|
|
81
|
+
},
|
|
82
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
83
|
+
style: styles.headerRow,
|
|
84
|
+
children: [/*#__PURE__*/_jsx(Icons, {
|
|
85
|
+
icon: "EXCLAMATION_TRIANGLE",
|
|
86
|
+
color: theme.colors.orange[500],
|
|
87
|
+
background: theme.colors.neutral[300],
|
|
88
|
+
size: 22
|
|
89
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
90
|
+
text: textTitle ?? "Incluir atividade",
|
|
91
|
+
color: theme.colors.neutral[25],
|
|
92
|
+
marginLeft: theme.margins["2xs"],
|
|
93
|
+
fontFamily: theme.fonts.inter_bold,
|
|
94
|
+
fontWeight: "700",
|
|
95
|
+
size: theme.fontSizes.lg
|
|
96
|
+
})]
|
|
97
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
98
|
+
backgroundColor: theme.colors.neutral[300],
|
|
99
|
+
paddingStyle: {
|
|
100
|
+
padding: theme.paddings.xs
|
|
101
|
+
},
|
|
102
|
+
borderStyled: {
|
|
103
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
104
|
+
},
|
|
105
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
106
|
+
text: "Preencha os dados da atividade que deseja incluir.",
|
|
107
|
+
color: theme.colors.black[100],
|
|
108
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
109
|
+
fontWeight: "400",
|
|
110
|
+
lineHeight: theme.lineHeight["2xl"],
|
|
111
|
+
size: theme.fontSizes.sm,
|
|
112
|
+
marginBottom: 16
|
|
113
|
+
}), /*#__PURE__*/_jsx(SelectOption, {
|
|
114
|
+
titleLabel: "Selecione um motivo",
|
|
115
|
+
sizeTitleLabel: 18,
|
|
116
|
+
dataOption: OPTIONS,
|
|
117
|
+
handleSelectDown: handleChangeReason,
|
|
118
|
+
backgroundColor: theme.colors.neutral[300]
|
|
119
|
+
}), /*#__PURE__*/_jsx(ActivityFields, {
|
|
120
|
+
disabled: false,
|
|
121
|
+
icon: "CALENDAR",
|
|
122
|
+
value: "09/09/2025",
|
|
123
|
+
onPressConfirm: value => setDateAndHours({
|
|
124
|
+
date: value,
|
|
125
|
+
hours: dateAndHours?.hours
|
|
126
|
+
})
|
|
127
|
+
}), /*#__PURE__*/_jsx(ActivityFields, {
|
|
128
|
+
disabled: false,
|
|
129
|
+
icon: "TIMER",
|
|
130
|
+
value: "00:00",
|
|
131
|
+
onPressConfirm: value => setDateAndHours({
|
|
132
|
+
date: dateAndHours?.date,
|
|
133
|
+
hours: value
|
|
134
|
+
})
|
|
135
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
136
|
+
style: styles.actions,
|
|
137
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
138
|
+
title: "CANCELAR",
|
|
139
|
+
onPress: handleCancel,
|
|
140
|
+
width: "48%",
|
|
141
|
+
height: 40,
|
|
142
|
+
isLoading: false,
|
|
143
|
+
disabled: false,
|
|
144
|
+
backgroundColor: theme.colors.neutral[300],
|
|
145
|
+
buttonTextStyle: {
|
|
146
|
+
color: theme.colors.blue[500],
|
|
147
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
148
|
+
fontSize: theme.fontSizes.xs,
|
|
149
|
+
fontWeight: "500"
|
|
150
|
+
},
|
|
151
|
+
flexStyle: {
|
|
152
|
+
flexDirection: "row",
|
|
153
|
+
alignItems: "center",
|
|
154
|
+
justifyContent: "center",
|
|
155
|
+
textAlign: "center"
|
|
156
|
+
},
|
|
157
|
+
borderStyled: {
|
|
158
|
+
borderWidth: theme.borderWidths.thin,
|
|
159
|
+
borderColor: theme.colors.blue[100],
|
|
160
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
161
|
+
}
|
|
162
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
163
|
+
title: "CONFIRMAR",
|
|
164
|
+
onPress: handleConfirm,
|
|
165
|
+
width: "48%",
|
|
166
|
+
height: 40,
|
|
167
|
+
isLoading: false,
|
|
168
|
+
disabled: false,
|
|
169
|
+
backgroundColor: theme.colors.blue[500],
|
|
170
|
+
buttonTextStyle: {
|
|
171
|
+
color: theme.colors.neutral[25],
|
|
172
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
173
|
+
fontSize: theme.fontSizes.xs,
|
|
174
|
+
fontWeight: "500"
|
|
175
|
+
},
|
|
176
|
+
flexStyle: {
|
|
177
|
+
flexDirection: "row",
|
|
178
|
+
alignItems: "center",
|
|
179
|
+
justifyContent: "center",
|
|
180
|
+
textAlign: "center"
|
|
181
|
+
},
|
|
182
|
+
borderStyled: {
|
|
183
|
+
borderWidth: theme.borderWidths.thin,
|
|
184
|
+
borderColor: theme.colors.blue[100],
|
|
185
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
186
|
+
}
|
|
187
|
+
})]
|
|
188
|
+
})]
|
|
189
|
+
})]
|
|
190
|
+
})
|
|
191
|
+
})
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
ModalCreteActivitie.displayName = "ModalCreteActivitie";
|
|
195
|
+
export default asBaseComponent(ModalCreteActivitie);
|
|
196
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemo","useState","useCallback","Modal","View","Pressable","Box","Button","Typography","ActivityFields","SelectOption","Icons","asBaseComponent","OPTIONS","theme","styles","jsx","_jsx","jsxs","_jsxs","ModalCreteActivitie","memo","visible","onClose","onPressConfirm","textTitle","dateAndHours","setDateAndHours","date","hours","selectedActivitie","setSelectedActivitie","value","activitieLabel","find","activitie","label","handleChangeReason","handleCancel","handleConfirm","reasonValue","animationType","transparent","onRequestClose","statusBarTranslucent","children","style","overlay","onPress","width","backgroundColor","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","headerRow","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"],"s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AACiD,IAAI;gBACpCC,WAAW,EAAE3F,KAAK,CAACqC,MAAM,CAAC4C,IAAI,CAAC,GAAG,CAAC;gBACnCzC,YAAY,EAAExC,KAAK,CAACyC,YAAY,CAACC;cACnC;YAAE,CACH,CAAC;UAAA,CACE,CAAC;QAAA,CACJ,CAAC;MAAA,CACH;IAAC,CACG;EAAC,CACP,CAAC;AAEZ,CACF,CAAC;AAEDpC,mBAAmB,CAACsF,WAAW,GAAG,qBAAqB;AACvD,eAAe9F,eAAe,CAACQ,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,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { StyleSheet } from "react-native";
|
|
8
|
+
import { theme } from "../../../styles/theme/theme.js";
|
|
9
|
+
const styles = StyleSheet.create({
|
|
10
|
+
overlay: {
|
|
11
|
+
flex: 1,
|
|
12
|
+
justifyContent: "center",
|
|
13
|
+
alignItems: "center",
|
|
14
|
+
backgroundColor: theme.shadows.z1
|
|
15
|
+
},
|
|
16
|
+
card: {
|
|
17
|
+
width: "90%"
|
|
18
|
+
},
|
|
19
|
+
headerRow: {
|
|
20
|
+
marginBottom: 10,
|
|
21
|
+
marginLeft: 4,
|
|
22
|
+
flexDirection: "row",
|
|
23
|
+
alignItems: "center"
|
|
24
|
+
},
|
|
25
|
+
content: {
|
|
26
|
+
padding: theme.paddings.xs
|
|
27
|
+
},
|
|
28
|
+
actions: {
|
|
29
|
+
marginTop: 16,
|
|
30
|
+
flexDirection: "row",
|
|
31
|
+
justifyContent: "space-between"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* EXPORTS
|
|
37
|
+
*/
|
|
38
|
+
export { styles };
|
|
39
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","theme","styles","create","overlay","flex","justifyContent","alignItems","backgroundColor","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":";;AAAA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,KAAK,QAAQ,gCAA6B;AAEnD,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EAC/BC,OAAO,EAAE;IACPC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAEP,KAAK,CAACQ,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;IAAET,UAAU,EAAE;EAAS,CAAC;EAC1FU,OAAO,EAAE;IAAEC,OAAO,EAAEjB,KAAK,CAACkB,QAAQ,CAACC;EAAG,CAAC;EACvCC,OAAO,EAAE;IAAEC,SAAS,EAAE,EAAE;IAAEN,aAAa,EAAE,KAAK;IAAEV,cAAc,EAAE;EAAgB;AAClF,CAAC,CAAC;;AAEF;AACA;AACA;AACA,SAASJ,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-exclude-activitie/index.ts"],"mappings":"","ignoreList":[]}
|