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
|
@@ -19,11 +19,16 @@ import { Icons } from "../../common/icons-svg/index.js";
|
|
|
19
19
|
import { asBaseComponent } from "../../@types/as-base-component.js";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
21
21
|
const TripDetailsCard = ({
|
|
22
|
+
dataRegistro,
|
|
23
|
+
numeroCte,
|
|
22
24
|
origem,
|
|
23
25
|
destino,
|
|
24
26
|
proximoCarregamento,
|
|
25
27
|
peso,
|
|
26
|
-
baseCalculo
|
|
28
|
+
baseCalculo,
|
|
29
|
+
corBarra,
|
|
30
|
+
kmCarregado,
|
|
31
|
+
kmVazio
|
|
27
32
|
}) => {
|
|
28
33
|
const [expanded, setExpanded] = useState(false);
|
|
29
34
|
useEffect(() => {
|
|
@@ -49,7 +54,7 @@ const TripDetailsCard = ({
|
|
|
49
54
|
children: [/*#__PURE__*/_jsx(View, {
|
|
50
55
|
style: {
|
|
51
56
|
width: 15,
|
|
52
|
-
backgroundColor: theme.colors.orange[150],
|
|
57
|
+
backgroundColor: corBarra ?? theme.colors.orange[150],
|
|
53
58
|
borderTopLeftRadius: theme.borderWidths.thick_medium,
|
|
54
59
|
borderBottomLeftRadius: theme.borderWidths.thick_medium
|
|
55
60
|
}
|
|
@@ -92,15 +97,15 @@ const TripDetailsCard = ({
|
|
|
92
97
|
justifyContent: "flex-start"
|
|
93
98
|
},
|
|
94
99
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
95
|
-
text: "
|
|
100
|
+
text: "Número CTE: ",
|
|
96
101
|
color: theme.colors.black[25],
|
|
97
102
|
fontFamily: theme.fonts.inter_medium_500,
|
|
98
103
|
size: theme.fontSizes.sm
|
|
99
104
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
100
|
-
text: `${
|
|
105
|
+
text: `${numeroCte || "Não informado"}`,
|
|
101
106
|
color: theme.colors.gray[700],
|
|
102
107
|
fontFamily: theme.fonts.inter_regular_400,
|
|
103
|
-
size: theme.fontSizes.
|
|
108
|
+
size: theme.fontSizes.xs
|
|
104
109
|
})]
|
|
105
110
|
}), /*#__PURE__*/_jsxs(Box, {
|
|
106
111
|
marginStyle: {
|
|
@@ -111,15 +116,53 @@ const TripDetailsCard = ({
|
|
|
111
116
|
justifyContent: "flex-start"
|
|
112
117
|
},
|
|
113
118
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
114
|
-
text: "
|
|
119
|
+
text: "Data carregamento: ",
|
|
115
120
|
color: theme.colors.black[25],
|
|
116
121
|
fontFamily: theme.fonts.inter_medium_500,
|
|
117
122
|
size: theme.fontSizes.sm
|
|
118
123
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
119
|
-
text: `${
|
|
124
|
+
text: `${dataRegistro || "Não informado"}`,
|
|
120
125
|
color: theme.colors.gray[700],
|
|
121
126
|
fontFamily: theme.fonts.inter_regular_400,
|
|
127
|
+
size: theme.fontSizes.xs
|
|
128
|
+
})]
|
|
129
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
130
|
+
marginStyle: {
|
|
131
|
+
marginTop: theme.margins["1xs"]
|
|
132
|
+
},
|
|
133
|
+
flexStyle: {
|
|
134
|
+
flexDirection: "row",
|
|
135
|
+
justifyContent: "flex-start"
|
|
136
|
+
},
|
|
137
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
138
|
+
text: "Origem: ",
|
|
139
|
+
color: theme.colors.black[25],
|
|
140
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
122
141
|
size: theme.fontSizes.sm
|
|
142
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
143
|
+
text: `${origem || "Não informado"}`,
|
|
144
|
+
color: theme.colors.gray[700],
|
|
145
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
146
|
+
size: theme.fontSizes.xs
|
|
147
|
+
})]
|
|
148
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
149
|
+
marginStyle: {
|
|
150
|
+
marginTop: theme.margins["1xs"]
|
|
151
|
+
},
|
|
152
|
+
flexStyle: {
|
|
153
|
+
flexDirection: "row",
|
|
154
|
+
justifyContent: "flex-start"
|
|
155
|
+
},
|
|
156
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
157
|
+
text: "Destino: ",
|
|
158
|
+
color: theme.colors.black[25],
|
|
159
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
160
|
+
size: theme.fontSizes.xs
|
|
161
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
162
|
+
text: `${destino || "Não informado"}`,
|
|
163
|
+
color: theme.colors.gray[700],
|
|
164
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
165
|
+
size: theme.fontSizes.xs
|
|
123
166
|
})]
|
|
124
167
|
}), /*#__PURE__*/_jsxs(Box, {
|
|
125
168
|
marginStyle: {
|
|
@@ -133,12 +176,12 @@ const TripDetailsCard = ({
|
|
|
133
176
|
text: "Pr\xF3ximo carregamento: ",
|
|
134
177
|
color: theme.colors.black[25],
|
|
135
178
|
fontFamily: theme.fonts.inter_medium_500,
|
|
136
|
-
size: theme.fontSizes.
|
|
179
|
+
size: theme.fontSizes.xs
|
|
137
180
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
138
181
|
text: `${proximoCarregamento || "Não informado"}`,
|
|
139
182
|
color: theme.colors.gray[700],
|
|
140
183
|
fontFamily: theme.fonts.inter_regular_400,
|
|
141
|
-
size: theme.fontSizes.
|
|
184
|
+
size: theme.fontSizes.xs
|
|
142
185
|
})]
|
|
143
186
|
}), /*#__PURE__*/_jsxs(Box, {
|
|
144
187
|
marginStyle: {
|
|
@@ -152,12 +195,50 @@ const TripDetailsCard = ({
|
|
|
152
195
|
text: "Peso: ",
|
|
153
196
|
color: theme.colors.black[25],
|
|
154
197
|
fontFamily: theme.fonts.inter_medium_500,
|
|
155
|
-
size: theme.fontSizes.
|
|
198
|
+
size: theme.fontSizes.xs
|
|
156
199
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
157
200
|
text: `${formatPeso(peso) || "Não informado"}`,
|
|
158
201
|
color: theme.colors.gray[700],
|
|
159
202
|
fontFamily: theme.fonts.inter_regular_400,
|
|
160
|
-
size: theme.fontSizes.
|
|
203
|
+
size: theme.fontSizes.xs
|
|
204
|
+
})]
|
|
205
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
206
|
+
marginStyle: {
|
|
207
|
+
marginTop: theme.margins["1xs"]
|
|
208
|
+
},
|
|
209
|
+
flexStyle: {
|
|
210
|
+
flexDirection: "row",
|
|
211
|
+
justifyContent: "flex-start"
|
|
212
|
+
},
|
|
213
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
214
|
+
text: "Km carregado: ",
|
|
215
|
+
color: theme.colors.black[25],
|
|
216
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
217
|
+
size: theme.fontSizes.xs
|
|
218
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
219
|
+
text: `${kmCarregado || "Não informado"}`,
|
|
220
|
+
color: theme.colors.gray[700],
|
|
221
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
222
|
+
size: theme.fontSizes.xs
|
|
223
|
+
})]
|
|
224
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
225
|
+
marginStyle: {
|
|
226
|
+
marginTop: theme.margins["1xs"]
|
|
227
|
+
},
|
|
228
|
+
flexStyle: {
|
|
229
|
+
flexDirection: "row",
|
|
230
|
+
justifyContent: "flex-start"
|
|
231
|
+
},
|
|
232
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
233
|
+
text: "Km vazio: ",
|
|
234
|
+
color: theme.colors.black[25],
|
|
235
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
236
|
+
size: theme.fontSizes.xs
|
|
237
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
238
|
+
text: `${kmVazio || "Não informado"}`,
|
|
239
|
+
color: theme.colors.gray[700],
|
|
240
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
241
|
+
size: theme.fontSizes.xs
|
|
161
242
|
})]
|
|
162
243
|
}), /*#__PURE__*/_jsxs(Box, {
|
|
163
244
|
marginStyle: {
|
|
@@ -171,12 +252,12 @@ const TripDetailsCard = ({
|
|
|
171
252
|
text: "Base para c\xE1lculo do PRO: ",
|
|
172
253
|
color: theme.colors.black[25],
|
|
173
254
|
fontFamily: theme.fonts.inter_medium_500,
|
|
174
|
-
size: theme.fontSizes.
|
|
255
|
+
size: theme.fontSizes.xs
|
|
175
256
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
176
257
|
text: `${formatBase(baseCalculo) || "Não informado"}`,
|
|
177
258
|
color: theme.colors.gray[700],
|
|
178
259
|
fontFamily: theme.fonts.inter_regular_400,
|
|
179
|
-
size: theme.fontSizes.
|
|
260
|
+
size: theme.fontSizes.xs
|
|
180
261
|
})]
|
|
181
262
|
})]
|
|
182
263
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","View","TouchableOpacity","LayoutAnimation","UIManager","Platform","Box","Typography","theme","Icons","asBaseComponent","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","TripDetailsCard","origem","destino","proximoCarregamento","peso","baseCalculo","expanded","setExpanded","OS","setLayoutAnimationEnabledExperimental","toggleExpand","configureNext","Presets","easeInEaseOut","prev","formatPeso","v","undefined","toLocaleString","formatBase","width","flexStyle","flexDirection","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","children","style","orange","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","onPress","activeOpacity","accessibilityRole","accessibilityLabel","justifyContent","alignItems","text","color","black","fontFamily","fonts","inter_bold","size","fontSizes","md","icon","gray","marginStyle","marginTop","margins","inter_medium_500","sm","inter_regular_400","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/trip-details-card/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,eAAe,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,cAAc;;AAE3F;AACA,OAAOC,GAAG,MAAM,+BAAsB;AACtC,OAAOC,UAAU,MAAM,sCAA6B;;AAEpD;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAChD,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAEjE,MAAMC,eAA2C,GAAGA,CAAC;EACnDC,MAAM;EACNC,OAAO;EACPC,mBAAmB;EACnBC,IAAI;EACJC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","View","TouchableOpacity","LayoutAnimation","UIManager","Platform","Box","Typography","theme","Icons","asBaseComponent","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","TripDetailsCard","dataRegistro","numeroCte","origem","destino","proximoCarregamento","peso","baseCalculo","corBarra","kmCarregado","kmVazio","expanded","setExpanded","OS","setLayoutAnimationEnabledExperimental","toggleExpand","configureNext","Presets","easeInEaseOut","prev","formatPeso","v","undefined","toLocaleString","formatBase","width","flexStyle","flexDirection","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","children","style","orange","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","onPress","activeOpacity","accessibilityRole","accessibilityLabel","justifyContent","alignItems","text","color","black","fontFamily","fonts","inter_bold","size","fontSizes","md","icon","gray","marginStyle","marginTop","margins","inter_medium_500","sm","inter_regular_400","xs","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/trip-details-card/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,eAAe,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,cAAc;;AAE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AC+D,KAAK,CAACY,iBAAkB;YAC1CV,IAAI,EAAEjE,KAAK,CAACkE,SAAS,CAACU;UAAG,CAC1B,CAAC;QAAA,CACC,CAAC,eAENtE,KAAA,CAACR,GAAG;UACFwE,WAAW,EAAE;YAAEC,SAAS,EAAEvE,KAAK,CAACwE,OAAO,CAAC,KAAK;UAAE,CAAE;UACjDrC,SAAS,EAAE;YAAEC,aAAa,EAAE,KAAK;YAAEqB,cAAc,EAAE;UAAa,CAAE;UAAAb,QAAA,gBAElExC,IAAA,CAACL,UAAU;YACT4D,IAAI,EAAC,+BAA4B;YACjCC,KAAK,EAAE5D,KAAK,CAACsC,MAAM,CAACuB,KAAK,CAAC,EAAE,CAAE;YAC9BC,UAAU,EAAE9D,KAAK,CAAC+D,KAAK,CAACU,gBAAiB;YACzCR,IAAI,EAAEjE,KAAK,CAACkE,SAAS,CAACU;UAAG,CAC1B,CAAC,eACFxE,IAAA,CAACL,UAAU;YACT4D,IAAI,EAAE,GAAG1B,UAAU,CAACjB,WAAW,CAAC,IAAI,eAAe,EAAG;YACtD4C,KAAK,EAAE5D,KAAK,CAACsC,MAAM,CAAC+B,IAAI,CAAC,GAAG,CAAE;YAC9BP,UAAU,EAAE9D,KAAK,CAAC+D,KAAK,CAACY,iBAAkB;YAC1CV,IAAI,EAAEjE,KAAK,CAACkE,SAAS,CAACU;UAAG,CAC1B,CAAC;QAAA,CACC,CAAC;MAAA,CACN,CACH;IAAA,CACE,CAAC;EAAA,CACH,CAAC;AAEV,CAAC;AAEDnE,eAAe,CAACoE,WAAW,GAAG,iBAAiB;AAC/C,eAAe3E,eAAe,CAACO,eAAe,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* IMPORTS
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
5
|
*/
|
|
6
6
|
import React, { forwardRef } from "react";
|
|
7
7
|
import { Text } from "react-native";
|
|
@@ -21,7 +21,7 @@ const Typography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
21
21
|
lineHeight = 24,
|
|
22
22
|
align = "left",
|
|
23
23
|
textDecoration,
|
|
24
|
-
fontWeight
|
|
24
|
+
fontWeight,
|
|
25
25
|
fontFamily,
|
|
26
26
|
margin,
|
|
27
27
|
marginLeft,
|
|
@@ -67,8 +67,8 @@ const Typography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
67
67
|
});
|
|
68
68
|
Typography.displayName = "Text";
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* Componente Typography para a interação da ui.
|
|
70
|
+
/**
|
|
71
|
+
* Componente Typography para a interação da ui.
|
|
72
72
|
*/
|
|
73
73
|
export default asBaseComponent(Typography);
|
|
74
74
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","Text","asBaseComponent","styles","jsx","_jsx","Typography","props","ref","text","color","size","lineHeight","align","textDecoration","fontWeight","fontFamily","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","numberOfLines","ellipsizeMode","data","style","children","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/typography/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlC,MAAMC,UAAU,gBAAGN,UAAU,CAAsB,CAACO,KAAK,EAAEC,GAAG,KAAyB;EACrF;EACA,MAAM;IACJC,IAAI,GAAG,WAAW;IAClBC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,EAAE;IACTC,UAAU,GAAG,EAAE;IACfC,KAAK,GAAG,MAAM;IACdC,cAAc;IACdC,UAAU
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Text","asBaseComponent","styles","jsx","_jsx","Typography","props","ref","text","color","size","lineHeight","align","textDecoration","fontWeight","fontFamily","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","numberOfLines","ellipsizeMode","data","style","children","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/typography/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlC,MAAMC,UAAU,gBAAGN,UAAU,CAAsB,CAACO,KAAK,EAAEC,GAAG,KAAyB;EACrF;EACA,MAAM;IACJC,IAAI,GAAG,WAAW;IAClBC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,EAAE;IACTC,UAAU,GAAG,EAAE;IACfC,KAAK,GAAG,MAAM;IACdC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC,aAAa;IACbC,aAAa;IACbC;EACF,CAAC,GAAGrB,KAAK;;EAET;EACA,MAAMsB,IAAI,GAAG;IACXnB,KAAK;IACLC,IAAI;IACJC,UAAU;IACVC,KAAK;IACLC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC;EACF,CAAmB;EAEnB,oBACErB,IAAA,CAACJ,IAAI;IACHO,GAAG,EAAEA,GAAI;IACTmB,aAAa,EAAEA,aAAc;IAC7BC,aAAa,EAAEA,aAAc;IAC7BE,KAAK,EAAE3B,MAAM,CAAC0B,IAAI,CAAC,CAACpB,IAAK;IAAAsB,QAAA,EAExBtB;EAAI,CACD,CAAC;AAEX,CAAC,CAAC;AAEFH,UAAU,CAAC0B,WAAW,GAAG,MAAM;;AAE/B;AACA;AACA;AACA,eAAe9B,eAAe,CAACI,UAAU,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -42,6 +42,13 @@ export { default as BottomMessageConexion } from "./components/bottom-message-co
|
|
|
42
42
|
export { default as ToastMessage } from "./components/toast-message/index.js";
|
|
43
43
|
export { default as ModalTypeActivities } from "./components/modal-type-activities/index.js";
|
|
44
44
|
export { default as ResumeRaking } from "./components/resume-raking/index.js";
|
|
45
|
+
export { default as ListSupplies } from "./components/list-supplies/index.js";
|
|
46
|
+
export { default as ListDevices } from "./components/list-devices/index.js";
|
|
47
|
+
export { default as ModalActivityReason } from "./components/modals/modal-activity-reason/index.js";
|
|
48
|
+
export { default as ModalJourneyRectification } from "./components/modals/modal-journey-rectification/index.js";
|
|
49
|
+
export { default as ModalCreteActivitie } from "./components/modals/modal-create-activitie/index.js";
|
|
50
|
+
export { default as ModalToConfirmations } from "./components/modals/modal-to-confimations/index.js";
|
|
51
|
+
export { default as ActivityTimeline } from "./components/activity-step/index.js";
|
|
45
52
|
|
|
46
53
|
// adicionar o storybook + teste
|
|
47
54
|
export { default as WeeklyHoursBalance } from "./components/weekly-hours-balance/index.js";
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","Box","Button","CapturePhoto","CardHours","CardScheduledJourney","CardWorkSession","StepIndicator","SelectOption","Typography","UserProfile","HeaderNavigation","ActivitiesDaily","ActivitiesProgress","InputField","UserJourneyCardWork","CardReport","BalanceWash","ToggleFuel","HistoryActivitiesCard","SelectWeek","WeeklyTable","CardMaintenance","ModalMaintenance","LoadingCircle","ConfirmWithdrawModal","MonthlySummaryTable","CardWithDrawCoil","CoilRemovalCode","SupplyErrorCard","MaintenanceDescriptionInput","TripDetailsCard","TruckNotFound","TravelHistory","BottomMessageConexion","ToastMessage","ModalTypeActivities","ResumeRaking","WeeklyHoursBalance","formatDate","theme"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":";;AAAA;AACA;AACA;;AAEA;AACA,SAASA,OAAO,IAAIC,GAAG,QAAQ,2BAAkB;AACjD,SAASD,OAAO,IAAIE,MAAM,QAAQ,8BAAqB;AACvD,SAASF,OAAO,IAAIG,YAAY,QAAQ,qCAA4B;AACpE,SAASH,OAAO,IAAII,SAAS,QAAQ,kCAAyB;AAC9D,SAASJ,OAAO,IAAIK,oBAAoB,QAAQ,8CAAqC;AACrF,SAASL,OAAO,IAAIM,eAAe,QAAQ,yCAAgC;AAC3E,SAASN,OAAO,IAAIO,aAAa,QAAQ,sCAA6B;AACtE,SAASP,OAAO,IAAIQ,YAAY,QAAQ,6CAAoC;AAC5E,SAASR,OAAO,IAAIS,UAAU,QAAQ,kCAAyB;AAC/D,SAAST,OAAO,IAAIU,WAAW,QAAQ,oCAA2B;AAClE,SAASV,OAAO,IAAIW,gBAAgB,QAAQ,sCAA6B;AACzE,SAASX,OAAO,IAAIY,eAAe,QAAQ,wCAA+B;AAC1E,SAASZ,OAAO,IAAIa,kBAAkB,QAAQ,2CAAkC;AAChF,SAASb,OAAO,IAAIc,UAAU,QAAQ,6BAAoB;AAC1D,SAASd,OAAO,IAAIe,mBAAmB,QAAQ,8CAAqC;AACpF,SAASf,OAAO,IAAIgB,UAAU,QAAQ,mCAA0B;AAChE,SAAShB,OAAO,IAAIiB,WAAW,QAAQ,oCAA2B;AAClE,SAASjB,OAAO,IAAIkB,UAAU,QAAQ,mCAA0B;AAChE,SAASlB,OAAO,IAAImB,qBAAqB,QAAQ,+CAAsC;AACvF,SAASnB,OAAO,IAAIoB,UAAU,QAAQ,wCAA+B;AACrE,SAASpB,OAAO,IAAIqB,WAAW,QAAQ,oCAA2B;AAClE,SAASrB,OAAO,IAAIsB,eAAe,QAAQ,wCAA+B;AAC1E,SAAStB,OAAO,IAAIuB,gBAAgB,QAAQ,yCAAgC;AAC5E,SAASvB,OAAO,IAAIwB,aAAa,QAAQ,sCAA6B;AACtE,SAASxB,OAAO,IAAIyB,oBAAoB,QAAQ,8CAAqC;AACrF,SAASzB,OAAO,IAAI0B,mBAAmB,QAAQ,6CAAoC;AACnF,SAAS1B,OAAO,IAAI2B,gBAAgB,QAAQ,2CAAkC;AAC9E,SAAS3B,OAAO,IAAI4B,eAAe,QAAQ,yCAAgC;AAC3E,SAAS5B,OAAO,IAAI6B,eAAe,QAAQ,yCAAgC;AAC3E,SAAS7B,OAAO,IAAI8B,2BAA2B,QAAQ,qDAA4C;AACnG,SAAS9B,OAAO,IAAI+B,eAAe,QAAQ,yCAAgC;AAC3E,SAAS/B,OAAO,IAAIgC,aAAa,QAAQ,uCAA8B;AACvE,SAAShC,OAAO,IAAIiC,aAAa,QAAQ,sCAA6B;AACtE,SAASjC,OAAO,IAAIkC,qBAAqB,QAAQ,+CAAsC;AACvF,SAASlC,OAAO,IAAImC,YAAY,QAAQ,qCAA4B;AACpE,SAASnC,OAAO,IAAIoC,mBAAmB,QAAQ,6CAAoC;AACnF,SAASpC,OAAO,IAAIqC,YAAY,QAAQ,qCAA4B
|
|
1
|
+
{"version":3,"names":["default","Box","Button","CapturePhoto","CardHours","CardScheduledJourney","CardWorkSession","StepIndicator","SelectOption","Typography","UserProfile","HeaderNavigation","ActivitiesDaily","ActivitiesProgress","InputField","UserJourneyCardWork","CardReport","BalanceWash","ToggleFuel","HistoryActivitiesCard","SelectWeek","WeeklyTable","CardMaintenance","ModalMaintenance","LoadingCircle","ConfirmWithdrawModal","MonthlySummaryTable","CardWithDrawCoil","CoilRemovalCode","SupplyErrorCard","MaintenanceDescriptionInput","TripDetailsCard","TruckNotFound","TravelHistory","BottomMessageConexion","ToastMessage","ModalTypeActivities","ResumeRaking","ListSupplies","ListDevices","ModalActivityReason","ModalJourneyRectification","ModalCreteActivitie","ModalToConfirmations","ActivityTimeline","WeeklyHoursBalance","formatDate","theme"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":";;AAAA;AACA;AACA;;AAEA;AACA,SAASA,OAAO,IAAIC,GAAG,QAAQ,2BAAkB;AACjD,SAASD,OAAO,IAAIE,MAAM,QAAQ,8BAAqB;AACvD,SAASF,OAAO,IAAIG,YAAY,QAAQ,qCAA4B;AACpE,SAASH,OAAO,IAAII,SAAS,QAAQ,kCAAyB;AAC9D,SAASJ,OAAO,IAAIK,oBAAoB,QAAQ,8CAAqC;AACrF,SAASL,OAAO,IAAIM,eAAe,QAAQ,yCAAgC;AAC3E,SAASN,OAAO,IAAIO,aAAa,QAAQ,sCAA6B;AACtE,SAASP,OAAO,IAAIQ,YAAY,QAAQ,6CAAoC;AAC5E,SAASR,OAAO,IAAIS,UAAU,QAAQ,kCAAyB;AAC/D,SAAST,OAAO,IAAIU,WAAW,QAAQ,oCAA2B;AAClE,SAASV,OAAO,IAAIW,gBAAgB,QAAQ,sCAA6B;AACzE,SAASX,OAAO,IAAIY,eAAe,QAAQ,wCAA+B;AAC1E,SAASZ,OAAO,IAAIa,kBAAkB,QAAQ,2CAAkC;AAChF,SAASb,OAAO,IAAIc,UAAU,QAAQ,6BAAoB;AAC1D,SAASd,OAAO,IAAIe,mBAAmB,QAAQ,8CAAqC;AACpF,SAASf,OAAO,IAAIgB,UAAU,QAAQ,mCAA0B;AAChE,SAAShB,OAAO,IAAIiB,WAAW,QAAQ,oCAA2B;AAClE,SAASjB,OAAO,IAAIkB,UAAU,QAAQ,mCAA0B;AAChE,SAASlB,OAAO,IAAImB,qBAAqB,QAAQ,+CAAsC;AACvF,SAASnB,OAAO,IAAIoB,UAAU,QAAQ,wCAA+B;AACrE,SAASpB,OAAO,IAAIqB,WAAW,QAAQ,oCAA2B;AAClE,SAASrB,OAAO,IAAIsB,eAAe,QAAQ,wCAA+B;AAC1E,SAAStB,OAAO,IAAIuB,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AQ,yBAAsB","ignoreList":[]}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { View } from "react-native";
|
|
8
|
+
|
|
9
|
+
// components
|
|
10
|
+
import ListDevices from "../../components/list-devices/index.js";
|
|
11
|
+
|
|
12
|
+
// styles
|
|
13
|
+
import { theme } from "../../styles/theme/theme.js";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "componente/ListDevices",
|
|
17
|
+
component: ListDevices,
|
|
18
|
+
parameters: {
|
|
19
|
+
docs: {
|
|
20
|
+
description: {
|
|
21
|
+
component: `
|
|
22
|
+
### ListDevices
|
|
23
|
+
|
|
24
|
+
Exibe uma lista de dispositivos Bluetooth. **Não há mudança visual** ao clicar/selecionar.
|
|
25
|
+
A seleção é apenas lógica (armazenada via \`onSelect\` e/ou \`selectedId/defaultSelectedId\`).
|
|
26
|
+
|
|
27
|
+
**Props**
|
|
28
|
+
- \`data: { id: number; nameDevice: string; macDevice?: string }\`[]
|
|
29
|
+
- \`titleColor?: string\`
|
|
30
|
+
- \`textColorDescription?: string\`
|
|
31
|
+
- \`selectedId?: number | null\` (controlado, sem efeito visual)
|
|
32
|
+
- \`defaultSelectedId?: number | null\` (não-controlado)
|
|
33
|
+
- \`onSelect?: (device) => void\`
|
|
34
|
+
- \`disabled?: boolean\`
|
|
35
|
+
`
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
argTypes: {
|
|
40
|
+
titleColor: {
|
|
41
|
+
control: "color",
|
|
42
|
+
description: "Cor do título (nameDevice)"
|
|
43
|
+
},
|
|
44
|
+
textColorDescription: {
|
|
45
|
+
control: "color",
|
|
46
|
+
description: "Cor da descrição (MAC)"
|
|
47
|
+
},
|
|
48
|
+
selectedId: {
|
|
49
|
+
control: "number",
|
|
50
|
+
description: "ID selecionado (controlado)"
|
|
51
|
+
},
|
|
52
|
+
defaultSelectedId: {
|
|
53
|
+
control: "number",
|
|
54
|
+
description: "ID inicial (não-controlado)"
|
|
55
|
+
},
|
|
56
|
+
disabled: {
|
|
57
|
+
control: "boolean",
|
|
58
|
+
description: "Desabilita interação"
|
|
59
|
+
},
|
|
60
|
+
onSelect: {
|
|
61
|
+
action: "onSelect",
|
|
62
|
+
description: "Callback ao selecionar"
|
|
63
|
+
},
|
|
64
|
+
data: {
|
|
65
|
+
control: "object",
|
|
66
|
+
description: "Itens da lista"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
decorators: [Story => /*#__PURE__*/_jsx(View, {
|
|
70
|
+
style: {
|
|
71
|
+
padding: 16,
|
|
72
|
+
backgroundColor: theme.colors.neutral[400]
|
|
73
|
+
},
|
|
74
|
+
children: /*#__PURE__*/_jsx(Story, {})
|
|
75
|
+
})]
|
|
76
|
+
};
|
|
77
|
+
export default meta;
|
|
78
|
+
const sampleData = [{
|
|
79
|
+
id: 1,
|
|
80
|
+
nameDevice: "Dispositivo X",
|
|
81
|
+
macDevice: "AA:BB:CC:DD:EE:01"
|
|
82
|
+
}, {
|
|
83
|
+
id: 2,
|
|
84
|
+
nameDevice: "Celular Y Exemplo",
|
|
85
|
+
macDevice: "AA:BB:CC:DD:EE:02"
|
|
86
|
+
}, {
|
|
87
|
+
id: 3,
|
|
88
|
+
nameDevice: "Celular A Exemplo",
|
|
89
|
+
macDevice: "AA:BB:CC:DD:EE:03"
|
|
90
|
+
}, {
|
|
91
|
+
id: 4,
|
|
92
|
+
nameDevice: "Celular B Exemplo",
|
|
93
|
+
macDevice: "AA:BB:CC:DD:EE:04"
|
|
94
|
+
}];
|
|
95
|
+
export const NaoControlado = {
|
|
96
|
+
name: "Não-controlado (memória interna, sem visual)",
|
|
97
|
+
args: {
|
|
98
|
+
data: sampleData,
|
|
99
|
+
defaultSelectedId: 2
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
export const Controlado = {
|
|
103
|
+
name: "Controlado (selectedId + onSelect, sem visual)",
|
|
104
|
+
args: {
|
|
105
|
+
data: sampleData
|
|
106
|
+
},
|
|
107
|
+
render: (args = {}) => {
|
|
108
|
+
const [selectedId, setSelectedId] = React.useState(1);
|
|
109
|
+
return /*#__PURE__*/_jsx(ListDevices, {
|
|
110
|
+
...args,
|
|
111
|
+
selectedId: selectedId,
|
|
112
|
+
onSelect: device => {
|
|
113
|
+
setSelectedId(device.id);
|
|
114
|
+
args.onSelect?.(device);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
/** Sem seleção inicial, apenas demonstrativo */
|
|
121
|
+
export const Basico = {
|
|
122
|
+
name: "Básico (sem seleção inicial)",
|
|
123
|
+
args: {
|
|
124
|
+
data: sampleData,
|
|
125
|
+
titleColor: theme.colors.black[25],
|
|
126
|
+
textColorDescription: theme.colors.gray[700]
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/** Interação desabilitada */
|
|
131
|
+
export const Desabilitado = {
|
|
132
|
+
name: "Desabilitado",
|
|
133
|
+
args: {
|
|
134
|
+
data: sampleData,
|
|
135
|
+
disabled: true,
|
|
136
|
+
titleColor: theme.colors.black[25],
|
|
137
|
+
textColorDescription: theme.colors.gray[700]
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=list-devices.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","ListDevices","theme","jsx","_jsx","meta","title","component","parameters","docs","description","argTypes","titleColor","control","textColorDescription","selectedId","defaultSelectedId","disabled","onSelect","action","data","decorators","Story","style","padding","backgroundColor","colors","neutral","children","sampleData","id","nameDevice","macDevice","NaoControlado","name","args","Controlado","render","setSelectedId","useState","device","Basico","black","gray","Desabilitado"],"sourceRoot":"..\\..\\..\\..\\src","sources":["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,IAAI,EAAES,UAAU;IAChBjB,UAAU,EAAEV,KAAK,CAACwB,MAAM,CAACgB,KAAK,CAAC,EAAE,CAAC;IAClC5B,oBAAoB,EAAEZ,KAAK,CAACwB,MAAM,CAACiB,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC;;AAED;AACA,OAAO,MAAMC,YAAmB,GAAG;EACjCV,IAAI,EAAE,cAAc;EACpBC,IAAI,EAAE;IACJf,IAAI,EAAES,UAAU;IAChBZ,QAAQ,EAAE,IAAI;IACdL,UAAU,EAAEV,KAAK,CAACwB,MAAM,CAACgB,KAAK,CAAC,EAAE,CAAC;IAClC5B,oBAAoB,EAAEZ,KAAK,CAACwB,MAAM,CAACiB,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import ListSupplies from "../../components/list-supplies/index.js";
|
|
9
|
+
const meta = {
|
|
10
|
+
title: "componente/ListSupplies",
|
|
11
|
+
component: ListSupplies,
|
|
12
|
+
args: {
|
|
13
|
+
dataRegistro: "11/03/2025 às 14:53:27",
|
|
14
|
+
namePosto: "POSTO TRES GARCAS LTDA",
|
|
15
|
+
litragem: 100,
|
|
16
|
+
valor: 450.75
|
|
17
|
+
},
|
|
18
|
+
parameters: {
|
|
19
|
+
notes: `
|
|
20
|
+
# ListSupplies
|
|
21
|
+
Card visual para exibir uma lavagem de cavalo registrada.
|
|
22
|
+
### Como usar:
|
|
23
|
+
\`\`\`tsx
|
|
24
|
+
<ListSupplies
|
|
25
|
+
dataRegistro="11/03/2025 às 14:53:27"
|
|
26
|
+
namePosto= "POSTO TRES GARCAS LTDA"
|
|
27
|
+
litragem= {100}
|
|
28
|
+
valor= {450.75}
|
|
29
|
+
corBarra="#2ECC71"
|
|
30
|
+
/>
|
|
31
|
+
\`\`\`
|
|
32
|
+
`,
|
|
33
|
+
docs: {
|
|
34
|
+
description: {
|
|
35
|
+
component: `
|
|
36
|
+
### list-supplies
|
|
37
|
+
|
|
38
|
+
Componente de **list-supplies** para visualizar os abastecimentos realizados.
|
|
39
|
+
|
|
40
|
+
- \`corBarra\`: define sa cor da barra lateral, pode ser utilizada para diferenciar utilização em atualizações futuras
|
|
41
|
+
- \`imagemUrl\`Pode ser passada por parâmetro, caso não seja passada, o componente não exibirá a imagem
|
|
42
|
+
- \`dataRegistro\`: campo obrigatório, deve ser passado por parâmetro a data e hora do registro
|
|
43
|
+
- \`namePosto\`: campo obrigatório, deve ser passado por parâmetro o nome do posto
|
|
44
|
+
- \`litragem\`: campo obrigatório, deve ser passado por parâmetro a litragem abastecida
|
|
45
|
+
- \`valor\`: campo opcional, pode ser passado por parâmetro o valor total do abastecimento
|
|
46
|
+
- \`Todos os outros campos\`: podem ser definids e mostrados de maneira dinâmica, passando os valores por parâmetro
|
|
47
|
+
`
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export default meta;
|
|
53
|
+
export const Padrao = {
|
|
54
|
+
name: "list-supplies",
|
|
55
|
+
args: {
|
|
56
|
+
dataRegistro: "11/03/2025 às 14:53:27",
|
|
57
|
+
namePosto: "POSTO TRES GARCAS LTDA",
|
|
58
|
+
litragem: 100,
|
|
59
|
+
valor: 450.75,
|
|
60
|
+
imagemUrl: "https://placehold.co/300x300"
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=list-supplies.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ListSupplies","meta","title","component","args","dataRegistro","namePosto","litragem","valor","parameters","notes","docs","description","Padrao","name","imagemUrl"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/list-supplies/list-supplies.stories.tsx"],"mappings":";;AAAA;AACA;AACA;;AAGA;AACA,OAAOA,YAAY,MAAM,yCAAgC;AAEzD,MAAMC,IAA+B,GAAG;EACtCC,KAAK,EAAE,yBAAyB;EAChCC,SAAS,EAAEH,YAAY;EACvBI,IAAI,EAAE;IACJC,YAAY,EAAE,wBAAwB;IACtCC,SAAS,EAAE,wBAAwB;IACnCC,QAAQ,EAAE,GAAG;IACbC,KAAK,EAAE;EACT,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;IACDC,IAAI,EAAE;MACFC,WAAW,EAAE;QACTT,SAAS,EAAE;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF;AACF,CAAC;AAED,eAAeF,IAAI;AAInB,OAAO,MAAMY,MAAa,GAAG;EAC3BC,IAAI,EAAE,eAAe;EACrBV,IAAI,EAAE;IACJC,YAAY,EAAE,wBAAwB;IACtCC,SAAS,EAAE,wBAAwB;IACnCC,QAAQ,EAAE,GAAG;IACbC,KAAK,EAAE,MAAM;IACbO,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import ModalActivityReason from "../../components/modals/modal-activity-reason/index.js";
|
|
9
|
+
const meta = {
|
|
10
|
+
title: "Componente/ModalActivityReason",
|
|
11
|
+
component: ModalActivityReason,
|
|
12
|
+
args: {
|
|
13
|
+
visible: false,
|
|
14
|
+
onClose: () => {},
|
|
15
|
+
modalConfirm: () => {}
|
|
16
|
+
},
|
|
17
|
+
parameters: {
|
|
18
|
+
docs: {
|
|
19
|
+
description: {
|
|
20
|
+
component: `
|
|
21
|
+
### ModalActivityReason
|
|
22
|
+
Este componente exibe um modal para fazer a exclusão de uma atividade.
|
|
23
|
+
## Uso
|
|
24
|
+
\`\`\`tsx
|
|
25
|
+
<ModalActivityReason
|
|
26
|
+
visible={boolean}
|
|
27
|
+
onClose={function}
|
|
28
|
+
modalConfirm={function}
|
|
29
|
+
textTitle={string} (opcional)
|
|
30
|
+
/>
|
|
31
|
+
Componente de **modal-activity-reason** para exibir um modal solicitando o motivo de exclusão ou outra ação crítica.
|
|
32
|
+
|
|
33
|
+
- \`visible\`: define a visibilidade do modal, controlando se deve estar aberto ou fechado
|
|
34
|
+
- \`onClose\`: função obrigatória, chamada ao cancelar ou fechar o modal
|
|
35
|
+
- \`modalConfirm\`: função obrigatória, chamada ao confirmar a ação (retorna \`true\` por padrão)
|
|
36
|
+
- \`textTitle\`: campo opcional, permite personalizar o título exibido no cabeçalho do modal
|
|
37
|
+
- \`MaintenanceDescriptionInput\`: campo de texto exibido no corpo do modal para o usuário inserir a justificativa
|
|
38
|
+
- \`Botões\`: dois botões de ação — **CANCELAR** e **CONFIRMAR**
|
|
39
|
+
- **CANCELAR**: fecha o modal sem executar ação
|
|
40
|
+
- **CONFIRMAR**: chama \`modalConfirm(true)\` e em seguida \`onClose()\`
|
|
41
|
+
|
|
42
|
+
> Caso \`textTitle\` não seja passado, o modal exibirá "Motivo da exclusão" como título padrão.
|
|
43
|
+
`
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export default meta;
|
|
49
|
+
export const Default = {
|
|
50
|
+
name: "modal-activity-reason",
|
|
51
|
+
args: {
|
|
52
|
+
visible: true,
|
|
53
|
+
onClose: () => {},
|
|
54
|
+
modalConfirm: () => {}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=modal-activity-reason.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ModalActivityReason","meta","title","component","args","visible","onClose","modalConfirm","parameters","docs","description","Default","name"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/modal-activity-reason/modal-activity-reason.stories.tsx"],"mappings":";;AAAA;AACA;AACA;;AAGA;AACA,OAAOA,mBAAmB,MAAM,wDAA+C;AAE/E,MAAMC,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEH,mBAAmB;EAC9BI,IAAI,EAAE;IACJC,OAAO,EAAE,KAAK;IACdC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB,CAAC;EACDC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXP,SAAS,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF;AACF,CAAC;AAED,eAAeF,IAAI;AAInB,OAAO,MAAMU,OAAc,GAAG;EAC5BC,IAAI,EAAE,uBAAuB;EAC7BR,IAAI,EAAE;IACJC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* IMPORTS
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import ModalJourneyRectification from "../../components/modals/modal-journey-rectification/index.js";
|
|
9
|
+
const meta = {
|
|
10
|
+
title: "Componente/ModalJourneyRectification",
|
|
11
|
+
component: ModalJourneyRectification,
|
|
12
|
+
args: {
|
|
13
|
+
visible: false,
|
|
14
|
+
onClose: () => {},
|
|
15
|
+
modalConfirm: () => {}
|
|
16
|
+
},
|
|
17
|
+
parameters: {
|
|
18
|
+
docs: {
|
|
19
|
+
description: {
|
|
20
|
+
component: `
|
|
21
|
+
### ModalJourneyRectification
|
|
22
|
+
Este componente exibe um modal para fazer a exclusão de uma atividade.
|
|
23
|
+
## Uso
|
|
24
|
+
\`\`\`tsx
|
|
25
|
+
<ModalJourneyRectification
|
|
26
|
+
visible={boolean}
|
|
27
|
+
onClose={function}
|
|
28
|
+
modalConfirm={function}
|
|
29
|
+
textTitle={string} (opcional)
|
|
30
|
+
/>
|
|
31
|
+
Componente de **modal-journey-rectification** para exibir um modal solicitando o motivo de exclusão ou outra ação crítica.
|
|
32
|
+
|
|
33
|
+
- \`visible\`: define a visibilidade do modal, controlando se deve estar aberto ou fechado
|
|
34
|
+
- \`onClose\`: função obrigatória, chamada ao cancelar ou fechar o modal
|
|
35
|
+
- \`modalConfirm\`: função obrigatória, chamada ao confirmar a ação (retorna \`true\` por padrão)
|
|
36
|
+
- \`textTitle\`: campo opcional, permite personalizar o título exibido no cabeçalho do modal
|
|
37
|
+
- \`MaintenanceDescriptionInput\`: campo de texto exibido no corpo do modal para o usuário inserir a justificativa
|
|
38
|
+
- \`Botões\`: dois botões de ação — **CANCELAR** e **CONFIRMAR**
|
|
39
|
+
- **CANCELAR**: fecha o modal sem executar ação
|
|
40
|
+
- **CONFIRMAR**: chama \`modalConfirm(true)\` e em seguida \`onClose()\`
|
|
41
|
+
|
|
42
|
+
> Caso \`textTitle\` não seja passado, o modal exibirá "Motivo da exclusão" como título padrão.
|
|
43
|
+
`
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export default meta;
|
|
49
|
+
export const Default = {
|
|
50
|
+
name: "modal-journey-rectification",
|
|
51
|
+
args: {
|
|
52
|
+
visible: true,
|
|
53
|
+
onClose: () => {},
|
|
54
|
+
modalConfirm: () => {}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=modal-journey-rectification.stories.js.map
|
package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ModalJourneyRectification","meta","title","component","args","visible","onClose","modalConfirm","parameters","docs","description","Default","name"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"mappings":";;AAAA;AACA;AACA;;AAGA;AACA,OAAOA,yBAAyB,MAAM,8DAAqD;AAE3F,MAAMC,IAA4C,GAAG;EACnDC,KAAK,EAAE,sCAAsC;EAC7CC,SAAS,EAAEH,yBAAyB;EACpCI,IAAI,EAAE;IACJC,OAAO,EAAE,KAAK;IACdC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB,CAAC;EACDC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXP,SAAS,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF;AACF,CAAC;AAED,eAAeF,IAAI;AAInB,OAAO,MAAMU,OAAc,GAAG;EAC5BC,IAAI,EAAE,6BAA6B;EACnCR,IAAI,EAAE;IACJC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB;AACF,CAAC","ignoreList":[]}
|