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 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/list-devices/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
const styles = (props = {}) => _reactNative.StyleSheet.create({
|
|
10
|
+
containerIndicator: {
|
|
11
|
+
width: "100%",
|
|
12
|
+
flexDirection: "row",
|
|
13
|
+
justifyContent: "flex-start",
|
|
14
|
+
alignItems: "center",
|
|
15
|
+
marginTop: 8,
|
|
16
|
+
paddingVertical: 8,
|
|
17
|
+
paddingHorizontal: 8,
|
|
18
|
+
opacity: props.disabled ? 0.6 : 1
|
|
19
|
+
},
|
|
20
|
+
containerIndicatorSelected: {
|
|
21
|
+
backgroundColor: _theme.theme.colors.green[250],
|
|
22
|
+
borderRadius: 30
|
|
23
|
+
},
|
|
24
|
+
separator: {
|
|
25
|
+
borderBottomWidth: 1,
|
|
26
|
+
borderBottomColor: props.isSelected ? "transparent" : _theme.theme.colors.gray[700]
|
|
27
|
+
},
|
|
28
|
+
title: {
|
|
29
|
+
color: props.titleColor ?? _theme.theme.colors.black[10],
|
|
30
|
+
textAlign: "center",
|
|
31
|
+
lineHeight: 20,
|
|
32
|
+
fontSize: _theme.theme.fontSizes.sm,
|
|
33
|
+
fontWeight: "500",
|
|
34
|
+
marginLeft: _theme.theme.margins.xs
|
|
35
|
+
},
|
|
36
|
+
titleSelected: {
|
|
37
|
+
color: _theme.theme.colors.neutral[25],
|
|
38
|
+
fontWeight: "600"
|
|
39
|
+
},
|
|
40
|
+
titleDescription: {
|
|
41
|
+
color: props.textColorDescription ?? _theme.theme.colors.gray[600],
|
|
42
|
+
textAlign: "center",
|
|
43
|
+
lineHeight: 16,
|
|
44
|
+
fontSize: 18,
|
|
45
|
+
fontFamily: _theme.theme.fonts.inter_light_300,
|
|
46
|
+
marginLeft: _theme.theme.margins.xs
|
|
47
|
+
},
|
|
48
|
+
descSelected: {
|
|
49
|
+
color: _theme.theme.colors.neutral[25]
|
|
50
|
+
},
|
|
51
|
+
containerMain: {
|
|
52
|
+
width: "100%",
|
|
53
|
+
flexDirection: "column",
|
|
54
|
+
alignItems: "flex-start",
|
|
55
|
+
marginLeft: 2,
|
|
56
|
+
justifyContent: "center"
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
exports.styles = styles;
|
|
60
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","styles","props","StyleSheet","create","containerIndicator","width","flexDirection","justifyContent","alignItems","marginTop","paddingVertical","paddingHorizontal","opacity","disabled","containerIndicatorSelected","backgroundColor","theme","colors","green","borderRadius","separator","borderBottomWidth","borderBottomColor","isSelected","gray","title","color","titleColor","black","textAlign","lineHeight","fontSize","fontSizes","sm","fontWeight","marginLeft","margins","xs","titleSelected","neutral","titleDescription","textColorDescription","fontFamily","fonts","inter_light_300","descSelected","containerMain","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/list-devices/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAIA,MAAME,MAAM,GAAGA,CAACC,KAAoC,GAAG,CAAC,CAAC,KACvDC,uBAAU,CAACC,MAAM,CAAC;EAChBC,kBAAkB,EAAE;IAClBC,KAAK,EAAE,MAAM;IACbC,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,YAAY;IAC5BC,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,CAAC;IACZC,eAAe,EAAE,CAAC;IAClBC,iBAAiB,EAAE,CAAC;IACpBC,OAAO,EAAEX,KAAK,CAACY,QAAQ,GAAG,GAAG,GAAG;EAClC,CAAC;EAEDC,0BAA0B,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,cAAc,EAAE;EAClB;AACF,CAAC,CAAC;AAACwC,OAAA,CAAA/C,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -0,0 +1,171 @@
|
|
|
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("../../components/box/index.js"));
|
|
10
|
+
var _index2 = _interopRequireDefault(require("../../components/typography/index.js"));
|
|
11
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
12
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
+
/**
|
|
17
|
+
* IMPORTS
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
// components
|
|
21
|
+
|
|
22
|
+
// style
|
|
23
|
+
|
|
24
|
+
// typings
|
|
25
|
+
|
|
26
|
+
const ListSupplies = ({
|
|
27
|
+
dataRegistro,
|
|
28
|
+
namePosto,
|
|
29
|
+
litragem,
|
|
30
|
+
valor,
|
|
31
|
+
imagemUrl,
|
|
32
|
+
corBarra
|
|
33
|
+
}) => {
|
|
34
|
+
(0, _react.useEffect)(() => {
|
|
35
|
+
if (_reactNative.Platform.OS === "android" && _reactNative.UIManager.setLayoutAnimationEnabledExperimental) {
|
|
36
|
+
_reactNative.UIManager.setLayoutAnimationEnabledExperimental(true);
|
|
37
|
+
}
|
|
38
|
+
}, []);
|
|
39
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
40
|
+
width: "100%",
|
|
41
|
+
flexStyle: {
|
|
42
|
+
flexDirection: "row"
|
|
43
|
+
},
|
|
44
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
45
|
+
borderStyled: {
|
|
46
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
47
|
+
},
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
49
|
+
style: {
|
|
50
|
+
width: 15,
|
|
51
|
+
backgroundColor: corBarra ?? _theme.theme.colors.blue[375],
|
|
52
|
+
borderTopLeftRadius: _theme.theme.borderWidths.thick_medium,
|
|
53
|
+
borderBottomLeftRadius: _theme.theme.borderWidths.thick_medium
|
|
54
|
+
}
|
|
55
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
56
|
+
flexStyle: {
|
|
57
|
+
flex: 1
|
|
58
|
+
},
|
|
59
|
+
paddingStyle: {
|
|
60
|
+
padding: _theme.theme.paddings["2xs"]
|
|
61
|
+
},
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
63
|
+
marginStyle: {
|
|
64
|
+
marginBottom: _theme.theme.margins.fn
|
|
65
|
+
},
|
|
66
|
+
flexStyle: {
|
|
67
|
+
flexDirection: "row",
|
|
68
|
+
justifyContent: "flex-start"
|
|
69
|
+
},
|
|
70
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
71
|
+
text: `${namePosto || "Não informado"}`,
|
|
72
|
+
color: _theme.theme.colors.black[25],
|
|
73
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
74
|
+
size: _theme.theme.fontSizes.sm
|
|
75
|
+
})
|
|
76
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
77
|
+
marginStyle: {
|
|
78
|
+
marginBottom: _theme.theme.margins.fn
|
|
79
|
+
},
|
|
80
|
+
flexStyle: {
|
|
81
|
+
flexDirection: "row",
|
|
82
|
+
justifyContent: "flex-start"
|
|
83
|
+
},
|
|
84
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
85
|
+
text: "Litragem: ",
|
|
86
|
+
color: _theme.theme.colors.black[25],
|
|
87
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
88
|
+
size: _theme.theme.fontSizes.sm
|
|
89
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
90
|
+
flexStyle: {
|
|
91
|
+
flexDirection: "row",
|
|
92
|
+
justifyContent: "flex-start"
|
|
93
|
+
},
|
|
94
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
95
|
+
text: `${litragem || "Não informado"}`,
|
|
96
|
+
color: _theme.theme.colors.black[25],
|
|
97
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
98
|
+
size: _theme.theme.fontSizes.sm
|
|
99
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
100
|
+
text: ` LT`,
|
|
101
|
+
color: _theme.theme.colors.red[400],
|
|
102
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
103
|
+
size: _theme.theme.fontSizes.sm
|
|
104
|
+
})]
|
|
105
|
+
})]
|
|
106
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
107
|
+
marginStyle: {
|
|
108
|
+
marginBottom: _theme.theme.margins.fn
|
|
109
|
+
},
|
|
110
|
+
flexStyle: {
|
|
111
|
+
flexDirection: "row",
|
|
112
|
+
justifyContent: "flex-start"
|
|
113
|
+
},
|
|
114
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
115
|
+
text: "Valor: ",
|
|
116
|
+
color: _theme.theme.colors.black[25],
|
|
117
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
118
|
+
size: _theme.theme.fontSizes.sm
|
|
119
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
120
|
+
text: `R$ ${valor || "Não informado"}`,
|
|
121
|
+
color: _theme.theme.colors.gray[700],
|
|
122
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
123
|
+
size: _theme.theme.fontSizes.sm
|
|
124
|
+
})]
|
|
125
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
126
|
+
marginStyle: {
|
|
127
|
+
marginBottom: _theme.theme.margins.fn
|
|
128
|
+
},
|
|
129
|
+
flexStyle: {
|
|
130
|
+
flexDirection: "row",
|
|
131
|
+
justifyContent: "flex-start"
|
|
132
|
+
},
|
|
133
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
134
|
+
text: "Data: ",
|
|
135
|
+
color: _theme.theme.colors.black[25],
|
|
136
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
137
|
+
size: _theme.theme.fontSizes.sm
|
|
138
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
139
|
+
text: `${dataRegistro || "Não informado"}`,
|
|
140
|
+
color: _theme.theme.colors.gray[700],
|
|
141
|
+
fontFamily: _theme.theme.fonts.inter_regular_400,
|
|
142
|
+
size: _theme.theme.fontSizes.sm
|
|
143
|
+
})]
|
|
144
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
145
|
+
borderStyled: {
|
|
146
|
+
borderWidth: 1,
|
|
147
|
+
borderColor: _theme.theme.colors.black[25],
|
|
148
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
149
|
+
},
|
|
150
|
+
flexStyle: {
|
|
151
|
+
justifyContent: "center",
|
|
152
|
+
alignItems: "center"
|
|
153
|
+
},
|
|
154
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
155
|
+
source: {
|
|
156
|
+
uri: imagemUrl ?? "https://placehold.co/300x300"
|
|
157
|
+
},
|
|
158
|
+
style: {
|
|
159
|
+
width: "100%",
|
|
160
|
+
height: 139,
|
|
161
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
162
|
+
},
|
|
163
|
+
resizeMode: "cover"
|
|
164
|
+
})
|
|
165
|
+
})]
|
|
166
|
+
})]
|
|
167
|
+
});
|
|
168
|
+
};
|
|
169
|
+
ListSupplies.displayName = "ListSupplies";
|
|
170
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ListSupplies);
|
|
171
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_theme","_asBaseComponent","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ListSupplies","dataRegistro","namePosto","litragem","valor","imagemUrl","corBarra","useEffect","Platform","OS","UIManager","setLayoutAnimationEnabledExperimental","jsxs","width","flexStyle","flexDirection","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","children","jsx","View","style","blue","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","marginStyle","marginBottom","margins","fn","justifyContent","text","color","black","fontFamily","fonts","inter_medium_500","size","fontSizes","sm","inter_regular_400","red","gray","borderWidth","borderColor","alignItems","Image","source","uri","height","resizeMode","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/list-supplies/index.tsx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ACdC,WAAW,EAAEpC,YAAK,CAACC,MAAM,CAACwB,KAAK,CAAC,EAAE,CAAC;UACnCrB,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;QACnC,CAAE;QACFT,SAAS,EAAE;UACTyB,cAAc,EAAE,QAAQ;UACxBe,UAAU,EAAE;QACd,CAAE;QAAA9B,QAAA,eAEF,IAAA5C,WAAA,CAAA6C,GAAA,EAACnD,YAAA,CAAAiF,KAAK;UACJC,MAAM,EAAE;YAAEC,GAAG,EAAEpD,SAAS,IAAI;UAA+B,CAAE;UAC7DsB,KAAK,EAAE;YACLd,KAAK,EAAE,MAAM;YACb6C,MAAM,EAAE,GAAG;YACXrC,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;UACnC,CAAE;UACFoC,UAAU,EAAC;QAAO,CACnB;MAAC,CACC,CAAC;IAAA,CACP,CAAC;EAAA,CACH,CAAC;AAEV,CAAC;AAED3D,YAAY,CAAC4D,WAAW,GAAG,cAAc;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA/E,OAAA,GAC3B,IAAAgF,gCAAe,EAAC/D,YAAY,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/list-supplies/interface.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -54,6 +54,9 @@ const MaintenanceDescriptionInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
54
54
|
flexDirection: "row",
|
|
55
55
|
justifyContent: error ? "space-between" : "flex-end"
|
|
56
56
|
},
|
|
57
|
+
marginStyle: {
|
|
58
|
+
marginBottom: 16
|
|
59
|
+
},
|
|
57
60
|
children: [error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
58
61
|
style: _styles.stylesInput.errorText,
|
|
59
62
|
children: error
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_asBaseComponent","_styles","_index","_interopRequireDefault","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","MAX_LENGTH","MaintenanceDescriptionInput","forwardRef","label","onChangeText","error","props","ref","text","setText","useState","handleChangeText","value","sliced","slice","jsxs","View","children","jsx","Text","style","stylesInput","inputWrapper","TextInput","multiline","input","placeholderTextColor","maxLength","flexStyle","flexDirection","justifyContent","errorText","charCount","length","_default","exports","asBaseComponent","React","memo"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,gBAAA,GAAAF,OAAA;AAGA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,sBAAA,CAAAL,OAAA;AAAyB,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAK,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAQ,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAAK,GAAA,CAAAZ,CAAA,GAAA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;MAACI,KAAK,EAAEC,mBAAW,CAACC,YAAa;MAAAL,QAAA,eACpC,IAAArC,WAAA,CAAAsC,GAAA,EAAC3C,YAAA,CAAAgD,SAAS;QACRhB,GAAG,EAAEA,GAAI;QACTiB,SAAS;QACTJ,KAAK,EAAEC,mBAAW,CAACI,KAAM;QACzBC,oBAAoB,EAAC,MAAM;QAC3BC,SAAS,EAAE3B,UAAW;QACtBY,KAAK,EAAEJ,IAAK;QACZJ,YAAY,EAAEO,gBAAiB;QAAA,GAC3BL;MAAK,CACV;IAAC,CACE,CAAC,eAEP,IAAA1B,WAAA,CAAAmC,IAAA,EAACrC,MAAA,CAAAK,OAAG;MACF6C,SAAS,EAAE;QAAEC,aAAa,EAAE,KAAK;QAAEC,cAAc,EAAEzB,KAAK,GAAG,eAAe,GAAG;MAAW,CAAE;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_asBaseComponent","_styles","_index","_interopRequireDefault","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","MAX_LENGTH","MaintenanceDescriptionInput","forwardRef","label","onChangeText","error","props","ref","text","setText","useState","handleChangeText","value","sliced","slice","jsxs","View","children","jsx","Text","style","stylesInput","inputWrapper","TextInput","multiline","input","placeholderTextColor","maxLength","flexStyle","flexDirection","justifyContent","marginStyle","marginBottom","errorText","charCount","length","_default","exports","asBaseComponent","React","memo"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,gBAAA,GAAAF,OAAA;AAGA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,sBAAA,CAAAL,OAAA;AAAyB,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAK,uBAAAE,CA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AAA4C,IAAI;QAACC,KAAK,EAAEC,mBAAW,CAACY,SAAU;QAAAhB,QAAA,EAAEZ;MAAK,CAAO,CAAC,eAC5D,IAAAzB,WAAA,CAAAsC,GAAA,EAAC3C,YAAA,CAAA4C,IAAI;QAACC,KAAK,EAAEC,mBAAW,CAACa,SAAU;QAAAjB,QAAA,EAAE,GAAGT,IAAI,CAAC2B,MAAM,IAAInC,UAAU;MAAE,CAAO,CAAC;IAAA,CACxE,CAAC;EAAA,CACF,CAAC;AAEX,CACF,CAAC;AAAC,IAAAoC,QAAA,GAAAC,OAAA,CAAAtD,OAAA,GAEa,IAAAuD,gCAAe,eAACC,cAAK,CAACC,IAAI,CAACvC,2BAA2B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -8,7 +8,7 @@ var _reactNative = require("react-native");
|
|
|
8
8
|
var _theme = require("../../styles/theme/theme.js");
|
|
9
9
|
const stylesInput = exports.stylesInput = _reactNative.StyleSheet.create({
|
|
10
10
|
label: {
|
|
11
|
-
fontFamily: _theme.theme.fonts.
|
|
11
|
+
fontFamily: _theme.theme.fonts.inter_medium_500,
|
|
12
12
|
fontSize: _theme.theme.fontSizes.md,
|
|
13
13
|
color: _theme.theme.colors.black[100],
|
|
14
14
|
marginBottom: _theme.theme.margins["1xs"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_theme","stylesInput","exports","StyleSheet","create","label","fontFamily","theme","fonts","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","stylesInput","exports","StyleSheet","create","label","fontFamily","theme","fonts","inter_medium_500","fontSize","fontSizes","md","color","colors","black","marginBottom","margins","fontWeight","inputWrapper","borderColor","gray","borderWidth","borderWidths","thin","borderRadius","thick","input","inter_regular_400","sm","padding","paddings","textAlignVertical","minHeight","charCount","alignSelf","marginTop","errorText","red"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,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5B,QAAQ,EAAEH,YAAK,CAACI,SAAS,CAACkB,EAAE;IAC5BO,SAAS,EAAE7B,YAAK,CAACU,OAAO,CAAC,KAAK;EAChC;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = _interopRequireDefault(require("../../box/index.js"));
|
|
10
|
+
var _index2 = _interopRequireDefault(require("../../typography/index.js"));
|
|
11
|
+
var _index3 = _interopRequireDefault(require("../../button/index.js"));
|
|
12
|
+
var _index4 = _interopRequireDefault(require("../../maintenance-description-input/index.js"));
|
|
13
|
+
var _index5 = require("../../../common/icons-svg/index.js");
|
|
14
|
+
var _asBaseComponent = require("../../../@types/as-base-component.js");
|
|
15
|
+
var _theme = require("../../../styles/theme/theme.js");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
/**
|
|
19
|
+
* IMPORTS
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
// components
|
|
23
|
+
|
|
24
|
+
// commons / svg
|
|
25
|
+
|
|
26
|
+
// typings
|
|
27
|
+
|
|
28
|
+
// styles
|
|
29
|
+
|
|
30
|
+
const MAX_LEN = 150;
|
|
31
|
+
const ModalActivityReason = ({
|
|
32
|
+
visible,
|
|
33
|
+
onClose,
|
|
34
|
+
modalConfirm,
|
|
35
|
+
textTitle
|
|
36
|
+
}) => {
|
|
37
|
+
const [textInput, setTextInput] = _react.default.useState("");
|
|
38
|
+
const messaError = textInput.length >= MAX_LEN ? `Limite máximo de ${MAX_LEN} caracteres atingido!` : "";
|
|
39
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
40
|
+
animationType: "fade",
|
|
41
|
+
transparent: true,
|
|
42
|
+
visible: visible,
|
|
43
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
44
|
+
style: {
|
|
45
|
+
flex: 1,
|
|
46
|
+
justifyContent: "center",
|
|
47
|
+
alignItems: "center",
|
|
48
|
+
backgroundColor: _theme.theme.shadows.z1
|
|
49
|
+
},
|
|
50
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
51
|
+
width: "90%",
|
|
52
|
+
backgroundColor: _theme.theme.colors.orange[500],
|
|
53
|
+
borderStyled: {
|
|
54
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
55
|
+
},
|
|
56
|
+
paddingStyle: {
|
|
57
|
+
paddingLeft: _theme.theme.paddings["2xs"],
|
|
58
|
+
paddingRight: _theme.theme.paddings["2xs"],
|
|
59
|
+
paddingTop: _theme.theme.paddings.sm,
|
|
60
|
+
paddingBottom: _theme.theme.paddings.sm
|
|
61
|
+
},
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
63
|
+
marginStyle: {
|
|
64
|
+
marginBottom: 10,
|
|
65
|
+
marginLeft: 4
|
|
66
|
+
},
|
|
67
|
+
flexStyle: {
|
|
68
|
+
flexDirection: "row",
|
|
69
|
+
alignItems: "center"
|
|
70
|
+
},
|
|
71
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Icons, {
|
|
72
|
+
icon: "EXCLAMATION_TRIANGLE",
|
|
73
|
+
color: _theme.theme.colors.orange[500],
|
|
74
|
+
background: _theme.theme.colors.neutral[300],
|
|
75
|
+
size: 22
|
|
76
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
77
|
+
text: `${textTitle ?? "Motivo da exclusão"}`,
|
|
78
|
+
color: _theme.theme.colors.neutral[25],
|
|
79
|
+
marginLeft: _theme.theme.margins["2xs"],
|
|
80
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
81
|
+
size: _theme.theme.fontSizes.lg
|
|
82
|
+
})]
|
|
83
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
84
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
85
|
+
paddingStyle: {
|
|
86
|
+
padding: _theme.theme.paddings.xs
|
|
87
|
+
},
|
|
88
|
+
borderStyled: {
|
|
89
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
90
|
+
},
|
|
91
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
92
|
+
width: "100%",
|
|
93
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.default, {
|
|
94
|
+
label: `${textTitle || "Motivo da exclusão"}`,
|
|
95
|
+
placeholderTextColor: _theme.theme.colors.gray[700],
|
|
96
|
+
placeholder: "Motivo da exclus\xE3o",
|
|
97
|
+
onChangeText: setTextInput,
|
|
98
|
+
error: messaError
|
|
99
|
+
})
|
|
100
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
101
|
+
marginStyle: {
|
|
102
|
+
marginTop: 4
|
|
103
|
+
},
|
|
104
|
+
flexStyle: {
|
|
105
|
+
flexDirection: "row",
|
|
106
|
+
justifyContent: "space-between"
|
|
107
|
+
},
|
|
108
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
109
|
+
title: "CANCELAR",
|
|
110
|
+
onPress: onClose,
|
|
111
|
+
width: "48%",
|
|
112
|
+
height: 40,
|
|
113
|
+
isLoading: false,
|
|
114
|
+
disabled: false,
|
|
115
|
+
backgroundColor: _theme.theme.colors.neutral[300],
|
|
116
|
+
buttonTextStyle: {
|
|
117
|
+
color: _theme.theme.colors.blue[100],
|
|
118
|
+
fontFamily: "Inter-Medium",
|
|
119
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
120
|
+
fontWeight: "500"
|
|
121
|
+
},
|
|
122
|
+
flexStyle: {
|
|
123
|
+
flexDirection: "row",
|
|
124
|
+
alignItems: "center",
|
|
125
|
+
justifyContent: "center",
|
|
126
|
+
textAlign: "center"
|
|
127
|
+
},
|
|
128
|
+
borderStyled: {
|
|
129
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
130
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
131
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
132
|
+
}
|
|
133
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.default, {
|
|
134
|
+
title: "CONFIRMAR",
|
|
135
|
+
onPress: () => {
|
|
136
|
+
modalConfirm(textInput);
|
|
137
|
+
onClose();
|
|
138
|
+
},
|
|
139
|
+
width: "48%",
|
|
140
|
+
height: 40,
|
|
141
|
+
isLoading: false,
|
|
142
|
+
disabled: false,
|
|
143
|
+
backgroundColor: _theme.theme.colors.blue[500],
|
|
144
|
+
buttonTextStyle: {
|
|
145
|
+
color: _theme.theme.colors.neutral[25],
|
|
146
|
+
fontFamily: "Inter-Medium",
|
|
147
|
+
fontSize: _theme.theme.fontSizes.xs,
|
|
148
|
+
fontWeight: "500"
|
|
149
|
+
},
|
|
150
|
+
flexStyle: {
|
|
151
|
+
flexDirection: "row",
|
|
152
|
+
alignItems: "center",
|
|
153
|
+
justifyContent: "center",
|
|
154
|
+
textAlign: "center"
|
|
155
|
+
},
|
|
156
|
+
borderStyled: {
|
|
157
|
+
borderWidth: _theme.theme.borderWidths.thin,
|
|
158
|
+
borderColor: _theme.theme.colors.blue[100],
|
|
159
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
160
|
+
}
|
|
161
|
+
})]
|
|
162
|
+
})]
|
|
163
|
+
})]
|
|
164
|
+
})
|
|
165
|
+
})
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
ModalActivityReason.displayName = "ModalActivityReason";
|
|
169
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ModalActivityReason);
|
|
170
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_index","_index2","_index3","_index4","_index5","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","MAX_LEN","ModalActivityReason","visible","onClose","modalConfirm","textTitle","textInput","setTextInput","React","useState","messaError","length","jsx","Modal","animationType","transparent","children","View","style","flex","justifyContent","alignItems","backgroundColor","theme","shadows","z1","jsxs","width","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","marginLeft","flexStyle","flexDirection","Icons","icon","color","background","neutral","size","text","margins","fontFamily","fonts","inter_bold_700","fontSizes","lg","padding","xs","label","placeholderTextColor","gray","placeholder","onChangeText","error","marginTop","title","onPress","height","isLoading","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-activity-reason/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,OAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,OAAA,GAAAN,sBAAA,CAAAC,OAAA;AAGA,IAAAM,OAAA,GAAAN,OAAA;AAIA,IAAAO,gBAAA,GAAAP,OAAA;AAGA,IAAAQ,MAAA,GAAAR,OAAA;AAAoD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,uBAAAW,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,O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;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAApF,OAAA,GAEzC,IAAAqF,gCAAe,EAACnF,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,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.OPTIONS = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* IMPORTS
|
|
9
|
+
*/
|
|
10
|
+
const OPTIONS = exports.OPTIONS = [{
|
|
11
|
+
label: "Disp com veículo parado",
|
|
12
|
+
value: "option1"
|
|
13
|
+
}, {
|
|
14
|
+
label: "Operação com veículo",
|
|
15
|
+
value: "option2"
|
|
16
|
+
}, {
|
|
17
|
+
label: "Em carga",
|
|
18
|
+
value: "option3"
|
|
19
|
+
}, {
|
|
20
|
+
label: "Em descarga",
|
|
21
|
+
value: "option4"
|
|
22
|
+
}];
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* EXPORTS
|
|
26
|
+
*/
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["OPTIONS","exports","label","value"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/helpers/index.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,CACd;EAAEE,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","ignoreList":[]}
|