jornada-ui 0.4.11 → 0.4.13
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/coil-removel-code/index.js +4 -3
- package/lib/commonjs/components/coil-removel-code/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 +104 -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 +26 -9
- 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/step-indicator/index.js +54 -40
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/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 +102 -22
- 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/step-indicator/step-indicator.stories.js +1 -0
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
- 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/commonjs/utils/text-limit/index.js +37 -0
- package/lib/commonjs/utils/text-limit/index.js.map +1 -0
- 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/coil-removel-code/index.js +4 -3
- package/lib/module/components/coil-removel-code/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 +100 -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 +26 -9
- 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/step-indicator/index.js +55 -41
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/step-indicator/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 +105 -24
- 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/step-indicator/step-indicator.stories.js +1 -0
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
- 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/module/utils/text-limit/index.js +32 -0
- package/lib/module/utils/text-limit/index.js.map +1 -0
- 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/coil-removel-code/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/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/step-indicator/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/step-indicator/step-indicator.stories.d.ts.map +1 -1
- 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/commonjs/src/utils/text-limit/index.d.ts +14 -0
- package/lib/typescript/commonjs/src/utils/text-limit/index.d.ts.map +1 -0
- 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/coil-removel-code/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/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/styles.d.ts +2 -2
- package/lib/typescript/module/src/components/step-indicator/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/step-indicator/step-indicator.stories.d.ts.map +1 -1
- 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/lib/typescript/module/src/utils/text-limit/index.d.ts +14 -0
- package/lib/typescript/module/src/utils/text-limit/index.d.ts.map +1 -0
- 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/coil-removel-code/index.tsx +8 -3
- package/src/components/coil-removel-code/interface.d.ts +14 -13
- 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 +103 -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 +124 -94
- package/src/components/selects/select-option/interface.d.ts +1 -1
- package/src/components/selects/select-option/styles.ts +74 -75
- package/src/components/step-indicator/index.tsx +56 -36
- package/src/components/step-indicator/interface.d.ts +14 -3
- package/src/components/step-indicator/styles.ts +2 -2
- 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 +267 -193
- 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/step-indicator/step-indicator.stories.tsx +1 -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
- package/src/utils/text-limit/index.ts +28 -0
package/lib/commonjs/index.js
CHANGED
|
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "ActivitiesProgress", {
|
|
|
15
15
|
return _index11.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "ActivityTimeline", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _index42.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
18
24
|
Object.defineProperty(exports, "BalanceWash", {
|
|
19
25
|
enumerable: true,
|
|
20
26
|
get: function () {
|
|
@@ -111,6 +117,18 @@ Object.defineProperty(exports, "InputField", {
|
|
|
111
117
|
return _index12.default;
|
|
112
118
|
}
|
|
113
119
|
});
|
|
120
|
+
Object.defineProperty(exports, "ListDevices", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _index37.default;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "ListSupplies", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () {
|
|
129
|
+
return _index36.default;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
114
132
|
Object.defineProperty(exports, "LoadingCircle", {
|
|
115
133
|
enumerable: true,
|
|
116
134
|
get: function () {
|
|
@@ -123,12 +141,36 @@ Object.defineProperty(exports, "MaintenanceDescriptionInput", {
|
|
|
123
141
|
return _index28.default;
|
|
124
142
|
}
|
|
125
143
|
});
|
|
144
|
+
Object.defineProperty(exports, "ModalActivityReason", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () {
|
|
147
|
+
return _index38.default;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "ModalCreteActivitie", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () {
|
|
153
|
+
return _index40.default;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "ModalJourneyRectification", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () {
|
|
159
|
+
return _index39.default;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
126
162
|
Object.defineProperty(exports, "ModalMaintenance", {
|
|
127
163
|
enumerable: true,
|
|
128
164
|
get: function () {
|
|
129
165
|
return _index21.default;
|
|
130
166
|
}
|
|
131
167
|
});
|
|
168
|
+
Object.defineProperty(exports, "ModalToConfirmations", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () {
|
|
171
|
+
return _index41.default;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
132
174
|
Object.defineProperty(exports, "ModalTypeActivities", {
|
|
133
175
|
enumerable: true,
|
|
134
176
|
get: function () {
|
|
@@ -222,7 +264,7 @@ Object.defineProperty(exports, "UserProfile", {
|
|
|
222
264
|
Object.defineProperty(exports, "WeeklyHoursBalance", {
|
|
223
265
|
enumerable: true,
|
|
224
266
|
get: function () {
|
|
225
|
-
return
|
|
267
|
+
return _index43.default;
|
|
226
268
|
}
|
|
227
269
|
});
|
|
228
270
|
Object.defineProperty(exports, "WeeklyTable", {
|
|
@@ -234,7 +276,7 @@ Object.defineProperty(exports, "WeeklyTable", {
|
|
|
234
276
|
Object.defineProperty(exports, "formatDate", {
|
|
235
277
|
enumerable: true,
|
|
236
278
|
get: function () {
|
|
237
|
-
return
|
|
279
|
+
return _index44.formatDate;
|
|
238
280
|
}
|
|
239
281
|
});
|
|
240
282
|
Object.defineProperty(exports, "theme", {
|
|
@@ -280,8 +322,15 @@ var _index32 = _interopRequireDefault(require("./components/bottom-message-conex
|
|
|
280
322
|
var _index33 = _interopRequireDefault(require("./components/toast-message/index.js"));
|
|
281
323
|
var _index34 = _interopRequireDefault(require("./components/modal-type-activities/index.js"));
|
|
282
324
|
var _index35 = _interopRequireDefault(require("./components/resume-raking/index.js"));
|
|
283
|
-
var _index36 = _interopRequireDefault(require("./components/
|
|
284
|
-
var _index37 = require("./
|
|
325
|
+
var _index36 = _interopRequireDefault(require("./components/list-supplies/index.js"));
|
|
326
|
+
var _index37 = _interopRequireDefault(require("./components/list-devices/index.js"));
|
|
327
|
+
var _index38 = _interopRequireDefault(require("./components/modals/modal-activity-reason/index.js"));
|
|
328
|
+
var _index39 = _interopRequireDefault(require("./components/modals/modal-journey-rectification/index.js"));
|
|
329
|
+
var _index40 = _interopRequireDefault(require("./components/modals/modal-create-activitie/index.js"));
|
|
330
|
+
var _index41 = _interopRequireDefault(require("./components/modals/modal-to-confimations/index.js"));
|
|
331
|
+
var _index42 = _interopRequireDefault(require("./components/activity-step/index.js"));
|
|
332
|
+
var _index43 = _interopRequireDefault(require("./components/weekly-hours-balance/index.js"));
|
|
333
|
+
var _index44 = require("./utils/format-date/index.js");
|
|
285
334
|
var _theme = require("./styles/theme/theme.js");
|
|
286
335
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
287
336
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","_index2","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index0","_index1","_index10","_index11","_index12","_index13","_index14","_index15","_index16","_index17","_index18","_index19","_index20","_index21","_index22","_index23","_index24","_index25","_index26","_index27","_index28","_index29","_index30","_index31","_index32","_index33","_index34","_index35","_index36","_index37","_theme","e","__esModule","default"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_index2","_index3","_index4","_index5","_index6","_index7","_index8","_index9","_index0","_index1","_index10","_index11","_index12","_index13","_index14","_index15","_index16","_index17","_index18","_index19","_index20","_index21","_index22","_index23","_index24","_index25","_index26","_index27","_index28","_index29","_index30","_index31","_index32","_index33","_index34","_index35","_index36","_index37","_index38","_index39","_index40","_index41","_index42","_index43","_index44","_theme","e","__esModule","default"],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,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;AACA,IAAAM,OAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,OAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,OAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,QAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,QAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,QAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,QAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,QAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA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AAC,OAAA;AACA,IAAA0C,QAAA,GAAA3C,sBAAA,CAAAC,OAAA;AACA,IAAA2C,QAAA,GAAA5C,sBAAA,CAAAC,OAAA;AAGA,IAAA4C,QAAA,GAAA7C,sBAAA,CAAAC,OAAA;AAGA,IAAA6C,QAAA,GAAA7C,OAAA;AAGA,IAAA8C,MAAA,GAAA9C,OAAA;AAA6C,SAAAD,uBAAAgD,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.NaoControlado = exports.Desabilitado = exports.Controlado = exports.Basico = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _index = _interopRequireDefault(require("../../components/list-devices/index.js"));
|
|
10
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
/**
|
|
14
|
+
* IMPORTS
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// components
|
|
18
|
+
|
|
19
|
+
// styles
|
|
20
|
+
|
|
21
|
+
const meta = {
|
|
22
|
+
title: "componente/ListDevices",
|
|
23
|
+
component: _index.default,
|
|
24
|
+
parameters: {
|
|
25
|
+
docs: {
|
|
26
|
+
description: {
|
|
27
|
+
component: `
|
|
28
|
+
### ListDevices
|
|
29
|
+
|
|
30
|
+
Exibe uma lista de dispositivos Bluetooth. **Não há mudança visual** ao clicar/selecionar.
|
|
31
|
+
A seleção é apenas lógica (armazenada via \`onSelect\` e/ou \`selectedId/defaultSelectedId\`).
|
|
32
|
+
|
|
33
|
+
**Props**
|
|
34
|
+
- \`data: { id: number; nameDevice: string; macDevice?: string }\`[]
|
|
35
|
+
- \`titleColor?: string\`
|
|
36
|
+
- \`textColorDescription?: string\`
|
|
37
|
+
- \`selectedId?: number | null\` (controlado, sem efeito visual)
|
|
38
|
+
- \`defaultSelectedId?: number | null\` (não-controlado)
|
|
39
|
+
- \`onSelect?: (device) => void\`
|
|
40
|
+
- \`disabled?: boolean\`
|
|
41
|
+
`
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
argTypes: {
|
|
46
|
+
titleColor: {
|
|
47
|
+
control: "color",
|
|
48
|
+
description: "Cor do título (nameDevice)"
|
|
49
|
+
},
|
|
50
|
+
textColorDescription: {
|
|
51
|
+
control: "color",
|
|
52
|
+
description: "Cor da descrição (MAC)"
|
|
53
|
+
},
|
|
54
|
+
selectedId: {
|
|
55
|
+
control: "number",
|
|
56
|
+
description: "ID selecionado (controlado)"
|
|
57
|
+
},
|
|
58
|
+
defaultSelectedId: {
|
|
59
|
+
control: "number",
|
|
60
|
+
description: "ID inicial (não-controlado)"
|
|
61
|
+
},
|
|
62
|
+
disabled: {
|
|
63
|
+
control: "boolean",
|
|
64
|
+
description: "Desabilita interação"
|
|
65
|
+
},
|
|
66
|
+
onSelect: {
|
|
67
|
+
action: "onSelect",
|
|
68
|
+
description: "Callback ao selecionar"
|
|
69
|
+
},
|
|
70
|
+
data: {
|
|
71
|
+
control: "object",
|
|
72
|
+
description: "Itens da lista"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
decorators: [Story => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
76
|
+
style: {
|
|
77
|
+
padding: 16,
|
|
78
|
+
backgroundColor: _theme.theme.colors.neutral[400]
|
|
79
|
+
},
|
|
80
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Story, {})
|
|
81
|
+
})]
|
|
82
|
+
};
|
|
83
|
+
var _default = exports.default = meta;
|
|
84
|
+
const sampleData = [{
|
|
85
|
+
id: 1,
|
|
86
|
+
nameDevice: "Dispositivo X",
|
|
87
|
+
macDevice: "AA:BB:CC:DD:EE:01"
|
|
88
|
+
}, {
|
|
89
|
+
id: 2,
|
|
90
|
+
nameDevice: "Celular Y Exemplo",
|
|
91
|
+
macDevice: "AA:BB:CC:DD:EE:02"
|
|
92
|
+
}, {
|
|
93
|
+
id: 3,
|
|
94
|
+
nameDevice: "Celular A Exemplo",
|
|
95
|
+
macDevice: "AA:BB:CC:DD:EE:03"
|
|
96
|
+
}, {
|
|
97
|
+
id: 4,
|
|
98
|
+
nameDevice: "Celular B Exemplo",
|
|
99
|
+
macDevice: "AA:BB:CC:DD:EE:04"
|
|
100
|
+
}];
|
|
101
|
+
const NaoControlado = exports.NaoControlado = {
|
|
102
|
+
name: "Não-controlado (memória interna, sem visual)",
|
|
103
|
+
args: {
|
|
104
|
+
data: sampleData,
|
|
105
|
+
defaultSelectedId: 2
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
const Controlado = exports.Controlado = {
|
|
109
|
+
name: "Controlado (selectedId + onSelect, sem visual)",
|
|
110
|
+
args: {
|
|
111
|
+
data: sampleData
|
|
112
|
+
},
|
|
113
|
+
render: (args = {}) => {
|
|
114
|
+
const [selectedId, setSelectedId] = _react.default.useState(1);
|
|
115
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
116
|
+
...args,
|
|
117
|
+
selectedId: selectedId,
|
|
118
|
+
onSelect: device => {
|
|
119
|
+
setSelectedId(device.id);
|
|
120
|
+
args.onSelect?.(device);
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/** Sem seleção inicial, apenas demonstrativo */
|
|
127
|
+
const Basico = exports.Basico = {
|
|
128
|
+
name: "Básico (sem seleção inicial)",
|
|
129
|
+
args: {
|
|
130
|
+
data: sampleData,
|
|
131
|
+
titleColor: _theme.theme.colors.black[25],
|
|
132
|
+
textColorDescription: _theme.theme.colors.gray[700]
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/** Interação desabilitada */
|
|
137
|
+
const Desabilitado = exports.Desabilitado = {
|
|
138
|
+
name: "Desabilitado",
|
|
139
|
+
args: {
|
|
140
|
+
data: sampleData,
|
|
141
|
+
disabled: true,
|
|
142
|
+
titleColor: _theme.theme.colors.black[25],
|
|
143
|
+
textColorDescription: _theme.theme.colors.gray[700]
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
//# sourceMappingURL=list-devices.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_index","_theme","_jsxRuntime","e","__esModule","default","meta","title","component","ListDevices","parameters","docs","description","argTypes","titleColor","control","textColorDescription","selectedId","defaultSelectedId","disabled","onSelect","action","data","decorators","Story","jsx","View","style","padding","backgroundColor","theme","colors","neutral","children","_default","exports","sampleData","id","nameDevice","macDevice","NaoControlado","name","args","Controlado","render","setSelectedId","React","useState","device","Basico","black","gray","Desabilitado"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/list-devices/list-devices.stories.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAGA,IAAAG,MAAA,GAAAH,OAAA;AAAiD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAXjD;AACA;AACA;;AAKA;;AAGA;;AAGA,MAAMG,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEC,cAAW;EACtBC,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,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;EAC7C;AACF,CAAC;;AAED;AACO,MAAMC,YAAmB,GAAAjB,OAAA,CAAAiB,YAAA,GAAG;EACjCX,IAAI,EAAE,cAAc;EACpBC,IAAI,EAAE;IACJpB,IAAI,EAAEc,UAAU;IAChBjB,QAAQ,EAAE,IAAI;IACdL,UAAU,EAAEgB,YAAK,CAACC,MAAM,CAACmB,KAAK,CAAC,EAAE,CAAC;IAClClC,oBAAoB,EAAEc,YAAK,CAACC,MAAM,CAACoB,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Padrao = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/list-supplies/index.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// components
|
|
14
|
+
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "componente/ListSupplies",
|
|
17
|
+
component: _index.default,
|
|
18
|
+
args: {
|
|
19
|
+
dataRegistro: "11/03/2025 às 14:53:27",
|
|
20
|
+
namePosto: "POSTO TRES GARCAS LTDA",
|
|
21
|
+
litragem: 100,
|
|
22
|
+
valor: 450.75
|
|
23
|
+
},
|
|
24
|
+
parameters: {
|
|
25
|
+
notes: `
|
|
26
|
+
# ListSupplies
|
|
27
|
+
Card visual para exibir uma lavagem de cavalo registrada.
|
|
28
|
+
### Como usar:
|
|
29
|
+
\`\`\`tsx
|
|
30
|
+
<ListSupplies
|
|
31
|
+
dataRegistro="11/03/2025 às 14:53:27"
|
|
32
|
+
namePosto= "POSTO TRES GARCAS LTDA"
|
|
33
|
+
litragem= {100}
|
|
34
|
+
valor= {450.75}
|
|
35
|
+
corBarra="#2ECC71"
|
|
36
|
+
/>
|
|
37
|
+
\`\`\`
|
|
38
|
+
`,
|
|
39
|
+
docs: {
|
|
40
|
+
description: {
|
|
41
|
+
component: `
|
|
42
|
+
### list-supplies
|
|
43
|
+
|
|
44
|
+
Componente de **list-supplies** para visualizar os abastecimentos realizados.
|
|
45
|
+
|
|
46
|
+
- \`corBarra\`: define sa cor da barra lateral, pode ser utilizada para diferenciar utilização em atualizações futuras
|
|
47
|
+
- \`imagemUrl\`Pode ser passada por parâmetro, caso não seja passada, o componente não exibirá a imagem
|
|
48
|
+
- \`dataRegistro\`: campo obrigatório, deve ser passado por parâmetro a data e hora do registro
|
|
49
|
+
- \`namePosto\`: campo obrigatório, deve ser passado por parâmetro o nome do posto
|
|
50
|
+
- \`litragem\`: campo obrigatório, deve ser passado por parâmetro a litragem abastecida
|
|
51
|
+
- \`valor\`: campo opcional, pode ser passado por parâmetro o valor total do abastecimento
|
|
52
|
+
- \`Todos os outros campos\`: podem ser definids e mostrados de maneira dinâmica, passando os valores por parâmetro
|
|
53
|
+
`
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var _default = exports.default = meta;
|
|
59
|
+
const Padrao = exports.Padrao = {
|
|
60
|
+
name: "list-supplies",
|
|
61
|
+
args: {
|
|
62
|
+
dataRegistro: "11/03/2025 às 14:53:27",
|
|
63
|
+
namePosto: "POSTO TRES GARCAS LTDA",
|
|
64
|
+
litragem: 100,
|
|
65
|
+
valor: 450.75,
|
|
66
|
+
imagemUrl: "https://placehold.co/300x300"
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=list-supplies.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","ListSupplies","args","dataRegistro","namePosto","litragem","valor","parameters","notes","docs","description","_default","exports","Padrao","name","imagemUrl"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/list-supplies/list-supplies.stories.tsx"],"mappings":";;;;;;AAMA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0D,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAN1D;AACA;AACA;;AAGA;;AAGA,MAAMG,IAA+B,GAAG;EACtCC,KAAK,EAAE,yBAAyB;EAChCC,SAAS,EAAEC,cAAY;EACvBC,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;QACTV,SAAS,EAAE;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF;AACF,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,CAAAf,OAAA,GAEaC,IAAI;AAIZ,MAAMe,MAAa,GAAAD,OAAA,CAAAC,MAAA,GAAG;EAC3BC,IAAI,EAAE,eAAe;EACrBZ,IAAI,EAAE;IACJC,YAAY,EAAE,wBAAwB;IACtCC,SAAS,EAAE,wBAAwB;IACnCC,QAAQ,EAAE,GAAG;IACbC,KAAK,EAAE,MAAM;IACbS,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Default = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/modals/modal-activity-reason/index.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// components
|
|
14
|
+
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "Componente/ModalActivityReason",
|
|
17
|
+
component: _index.default,
|
|
18
|
+
args: {
|
|
19
|
+
visible: false,
|
|
20
|
+
onClose: () => {},
|
|
21
|
+
modalConfirm: () => {}
|
|
22
|
+
},
|
|
23
|
+
parameters: {
|
|
24
|
+
docs: {
|
|
25
|
+
description: {
|
|
26
|
+
component: `
|
|
27
|
+
### ModalActivityReason
|
|
28
|
+
Este componente exibe um modal para fazer a exclusão de uma atividade.
|
|
29
|
+
## Uso
|
|
30
|
+
\`\`\`tsx
|
|
31
|
+
<ModalActivityReason
|
|
32
|
+
visible={boolean}
|
|
33
|
+
onClose={function}
|
|
34
|
+
modalConfirm={function}
|
|
35
|
+
textTitle={string} (opcional)
|
|
36
|
+
/>
|
|
37
|
+
Componente de **modal-activity-reason** para exibir um modal solicitando o motivo de exclusão ou outra ação crítica.
|
|
38
|
+
|
|
39
|
+
- \`visible\`: define a visibilidade do modal, controlando se deve estar aberto ou fechado
|
|
40
|
+
- \`onClose\`: função obrigatória, chamada ao cancelar ou fechar o modal
|
|
41
|
+
- \`modalConfirm\`: função obrigatória, chamada ao confirmar a ação (retorna \`true\` por padrão)
|
|
42
|
+
- \`textTitle\`: campo opcional, permite personalizar o título exibido no cabeçalho do modal
|
|
43
|
+
- \`MaintenanceDescriptionInput\`: campo de texto exibido no corpo do modal para o usuário inserir a justificativa
|
|
44
|
+
- \`Botões\`: dois botões de ação — **CANCELAR** e **CONFIRMAR**
|
|
45
|
+
- **CANCELAR**: fecha o modal sem executar ação
|
|
46
|
+
- **CONFIRMAR**: chama \`modalConfirm(true)\` e em seguida \`onClose()\`
|
|
47
|
+
|
|
48
|
+
> Caso \`textTitle\` não seja passado, o modal exibirá "Motivo da exclusão" como título padrão.
|
|
49
|
+
`
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var _default = exports.default = meta;
|
|
55
|
+
const Default = exports.Default = {
|
|
56
|
+
name: "modal-activity-reason",
|
|
57
|
+
args: {
|
|
58
|
+
visible: true,
|
|
59
|
+
onClose: () => {},
|
|
60
|
+
modalConfirm: () => {}
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=modal-activity-reason.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","ModalActivityReason","args","visible","onClose","modalConfirm","parameters","docs","description","_default","exports","Default","name"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/modal-activity-reason/modal-activity-reason.stories.tsx"],"mappings":";;;;;;AAMA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAgF,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AANhF;AACA;AACA;;AAGA;;AAGA,MAAMG,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEC,cAAmB;EAC9BC,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;QACXR,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;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,IAAI;AAIZ,MAAMa,OAAc,GAAAD,OAAA,CAAAC,OAAA,GAAG;EAC5BC,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB;AACF,CAAC","ignoreList":[]}
|
package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Default = void 0;
|
|
7
|
+
var _index = _interopRequireDefault(require("../../components/modals/modal-journey-rectification/index.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// components
|
|
14
|
+
|
|
15
|
+
const meta = {
|
|
16
|
+
title: "Componente/ModalJourneyRectification",
|
|
17
|
+
component: _index.default,
|
|
18
|
+
args: {
|
|
19
|
+
visible: false,
|
|
20
|
+
onClose: () => {},
|
|
21
|
+
modalConfirm: () => {}
|
|
22
|
+
},
|
|
23
|
+
parameters: {
|
|
24
|
+
docs: {
|
|
25
|
+
description: {
|
|
26
|
+
component: `
|
|
27
|
+
### ModalJourneyRectification
|
|
28
|
+
Este componente exibe um modal para fazer a exclusão de uma atividade.
|
|
29
|
+
## Uso
|
|
30
|
+
\`\`\`tsx
|
|
31
|
+
<ModalJourneyRectification
|
|
32
|
+
visible={boolean}
|
|
33
|
+
onClose={function}
|
|
34
|
+
modalConfirm={function}
|
|
35
|
+
textTitle={string} (opcional)
|
|
36
|
+
/>
|
|
37
|
+
Componente de **modal-journey-rectification** para exibir um modal solicitando o motivo de exclusão ou outra ação crítica.
|
|
38
|
+
|
|
39
|
+
- \`visible\`: define a visibilidade do modal, controlando se deve estar aberto ou fechado
|
|
40
|
+
- \`onClose\`: função obrigatória, chamada ao cancelar ou fechar o modal
|
|
41
|
+
- \`modalConfirm\`: função obrigatória, chamada ao confirmar a ação (retorna \`true\` por padrão)
|
|
42
|
+
- \`textTitle\`: campo opcional, permite personalizar o título exibido no cabeçalho do modal
|
|
43
|
+
- \`MaintenanceDescriptionInput\`: campo de texto exibido no corpo do modal para o usuário inserir a justificativa
|
|
44
|
+
- \`Botões\`: dois botões de ação — **CANCELAR** e **CONFIRMAR**
|
|
45
|
+
- **CANCELAR**: fecha o modal sem executar ação
|
|
46
|
+
- **CONFIRMAR**: chama \`modalConfirm(true)\` e em seguida \`onClose()\`
|
|
47
|
+
|
|
48
|
+
> Caso \`textTitle\` não seja passado, o modal exibirá "Motivo da exclusão" como título padrão.
|
|
49
|
+
`
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var _default = exports.default = meta;
|
|
55
|
+
const Default = exports.Default = {
|
|
56
|
+
name: "modal-journey-rectification",
|
|
57
|
+
args: {
|
|
58
|
+
visible: true,
|
|
59
|
+
onClose: () => {},
|
|
60
|
+
modalConfirm: () => {}
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=modal-journey-rectification.stories.js.map
|
package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","ModalJourneyRectification","args","visible","onClose","modalConfirm","parameters","docs","description","_default","exports","Default","name"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"mappings":";;;;;;AAMA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA4F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAN5F;AACA;AACA;;AAGA;;AAGA,MAAMG,IAA4C,GAAG;EACnDC,KAAK,EAAE,sCAAsC;EAC7CC,SAAS,EAAEC,cAAyB;EACpCC,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;QACXR,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;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,IAAI;AAIZ,MAAMa,OAAc,GAAAD,OAAA,CAAAC,OAAA,GAAG;EAC5BC,IAAI,EAAE,6BAA6B;EACnCV,IAAI,EAAE;IACJC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,YAAY,EAAEA,CAAA,KAAM,CAAC;EACvB;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","StepIndicator","args","data","titleColor","theme","colors","neutral","titleNumberColor","parameters","notes","_default","exports","dataMock","id","titleLabel","data_inicio","data_fim","description","dataMockCustom","StepIndicatorDefault","name","type","backgroundColorBall","blue","textColorDescription","gray","StepIndicationCustom","orange"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/step-indicator/step-indicator.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,G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ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","_theme","e","__esModule","default","meta","title","component","StepIndicator","args","data","titleColor","theme","colors","neutral","titleNumberColor","parameters","notes","_default","exports","dataMock","id","titleLabel","data_inicio","data_fim","description","dataMockCustom","StepIndicatorDefault","name","type","backgroundColorBall","blue","textColorDescription","gray","StepIndicationCustom","orange"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/step-indicator/step-indicator.stories.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJjD;;AAGA;;AAGA,MAAMG,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,cAAyB;EACpCC,IAAI,EAAE;IACJC,IAAI,EAAE,EAAE;IACRC,UAAU,EAAEC,YAAK,CAACC,MAAM,CAACC,OAAO,CAAC,EAAE,CAAC;IACpCC,gBAAgB,EAAEH,YAAK,CAACC,MAAM,CAACC,OAAO,CAAC,EAAE;EAC3C,CAAC;EACDE,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAf,OAAA,GAEaC,IAAI;AAInB,MAAMe,QAAQ,GAAG,CACf;EACEC,EAAE,EAAE,CAAC;EACLC,UAAU,EAAE,iBAAiB;EAC7BC,WAAW,EAAE,kBAAkB;EAC/BC,QAAQ,EAAE,kBAAkB;EAC5BC,WAAW,EAAE;AACf,CAAC,EACD;EACEJ,EAAE,EAAE,CAAC;EACLC,UAAU,EAAE,UAAU;EACtBC,WAAW,EAAE,kBAAkB;EAC/BC,QAAQ,EAAE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AC;AAEM,MAAMoB,oBAA2B,GAAAf,OAAA,CAAAe,oBAAA,GAAG;EACzCN,IAAI,EAAE,uBAAuB;EAC7BnB,IAAI,EAAE;IACJC,IAAI,EAAEgB,cAAc;IACpBG,IAAI,EAAE,QAAQ;IACdC,mBAAmB,EAAElB,YAAK,CAACC,MAAM,CAACsB,MAAM,CAAC,GAAG,CAAC;IAC7CxB,UAAU,EAAEC,YAAK,CAACC,MAAM,CAACkB,IAAI,CAAC,GAAG,CAAC;IAClCC,oBAAoB,EAAEpB,YAAK,CAACC,MAAM,CAACoB,IAAI,CAAC,GAAG,CAAC;IAC5ClB,gBAAgB,EAAEH,YAAK,CAACC,MAAM,CAACC,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.SupplyErrorCardNotMessage = exports.Default = void 0;
|
|
7
7
|
var _index = _interopRequireDefault(require("../../components/supply-error-card/index.js"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
/**
|
|
10
|
-
* IMPORTS
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// component
|
|
@@ -16,7 +16,6 @@ const meta = {
|
|
|
16
16
|
title: "componente/TripDetailsCard",
|
|
17
17
|
component: _index.default,
|
|
18
18
|
args: {
|
|
19
|
-
dataRegistro: "11/03/2025 às 14:53:27",
|
|
20
19
|
origem: "TIMÓTEO - MG",
|
|
21
20
|
destino: "CAMPINAS - SP",
|
|
22
21
|
proximoCarregamento: "CONTAGEM - MG"
|
|
@@ -28,24 +27,58 @@ Card visual para exibir uma lavagem de cavalo registrada.
|
|
|
28
27
|
### Como usar:
|
|
29
28
|
\`\`\`tsx
|
|
30
29
|
<TripDetailsCard
|
|
30
|
+
dataRegistro: "11/03/2025 às 14:53:27",
|
|
31
|
+
origem= "TIMÓTEO - MG",
|
|
32
|
+
destino= "CAMPINAS - SP",
|
|
31
33
|
numero={1}
|
|
32
|
-
dataRegistro="11/03/2025 às 14:53:27"
|
|
33
34
|
cavalo="RGA6B87"
|
|
35
|
+
peso= 25000,
|
|
36
|
+
baseCalculo= 3500,
|
|
34
37
|
corBarra="#2ECC71"
|
|
38
|
+
numeroCte= {12034}
|
|
39
|
+
kmCarregado= {100}
|
|
40
|
+
kmVazio= {200}
|
|
35
41
|
/>
|
|
36
42
|
\`\`\`
|
|
37
|
-
|
|
43
|
+
`,
|
|
44
|
+
docs: {
|
|
45
|
+
description: {
|
|
46
|
+
component: `
|
|
47
|
+
### TripDetailsCard
|
|
48
|
+
|
|
49
|
+
Componente de **trip-details-card** para visualizar os detalhes de uma viagem.
|
|
50
|
+
|
|
51
|
+
- \`corBarra\`: define a cor da barra lateral, útil para diferenciar ou categorizar viagens
|
|
52
|
+
- \`dataRegistro\`: campo obrigatório, deve ser passado por parâmetro a data e hora do carregamento
|
|
53
|
+
- \`numeroCte\`: campo obrigatório, representa o número do CTE associado à viagem
|
|
54
|
+
- \`origem\`: campo obrigatório, local de origem do carregamento
|
|
55
|
+
- \`destino\`: campo obrigatório, local de destino do carregamento
|
|
56
|
+
- \`proximoCarregamento\`: campo opcional, indica o próximo ponto de carregamento
|
|
57
|
+
- \`peso\`: campo opcional, peso da carga em quilogramas
|
|
58
|
+
- \`kmCarregado\`: campo opcional, quilometragem percorrida carregado
|
|
59
|
+
- \`kmVazio\`: campo opcional, quilometragem percorrida vazio
|
|
60
|
+
- \`baseCalculo\`: campo opcional, valor base usado para cálculo do PRO
|
|
61
|
+
- \`Interação\`: o componente possui um botão de expansão, que mostra ou oculta os detalhes da viagem ao ser clicado
|
|
62
|
+
`
|
|
63
|
+
}
|
|
64
|
+
}
|
|
38
65
|
}
|
|
39
66
|
};
|
|
40
67
|
var _default = exports.default = meta;
|
|
41
68
|
const Padrao = exports.Padrao = {
|
|
42
|
-
name: "card
|
|
69
|
+
name: "trip-details-card",
|
|
43
70
|
args: {
|
|
44
|
-
numero: 1,
|
|
45
71
|
dataRegistro: "11/03/2025 às 14:53:27",
|
|
72
|
+
origem: "TIMÓTEO - MG",
|
|
73
|
+
destino: "CAMPINAS - SP",
|
|
74
|
+
numero: 1,
|
|
46
75
|
cavalo: "RGA6B87",
|
|
76
|
+
peso: 25000,
|
|
77
|
+
baseCalculo: 3500,
|
|
47
78
|
corBarra: "#2ECC71",
|
|
48
|
-
|
|
79
|
+
numeroCte: 12034,
|
|
80
|
+
kmCarregado: 100,
|
|
81
|
+
kmVazio: 200
|
|
49
82
|
}
|
|
50
83
|
};
|
|
51
84
|
//# sourceMappingURL=trip-details-card.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","TripDetailsCard","args","
|
|
1
|
+
{"version":3,"names":["_index","_interopRequireDefault","require","e","__esModule","default","meta","title","component","TripDetailsCard","args","origem","destino","proximoCarregamento","parameters","notes","docs","description","_default","exports","Padrao","name","dataRegistro","numero","cavalo","peso","baseCalculo","corBarra","numeroCte","kmCarregado","kmVazio"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/trip-details-card/trip-details-card.stories.tsx"],"mappings":";;;;;;AAMA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAiE,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AANjE;AACA;AACA;;AAGA;;AAGA,MAAMG,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEC,cAAe;EAC1BC,IAAI,EAAE;IACJC,MAAM,EAAE,cAAc;IACtBC,OAAO,EAAE,eAAe;IACxBC,mBAAmB,EAAE;EACvB,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;IACGC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXT,SAAS,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF;AACF,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAAd,OAAA,GAEaC,IAAI;AAIZ,MAAMc,MAAa,GAAAD,OAAA,CAAAC,MAAA,GAAG;EAC3BC,IAAI,EAAE,mBAAmB;EACzBX,IAAI,EAAE;IACJY,YAAY,EAAE,wBAAwB;IACtCX,MAAM,EAAE,cAAc;IACtBC,OAAO,EAAE,eAAe;IACxBW,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE,SAAS;IACjBC,IAAI,EAAE,KAAK;IACXC,WAAW,EAAE,IAAI;IACjBC,QAAQ,EAAE,SAAS;IACnBC,SAAS,EAAE,KAAK;IAChBC,WAAW,EAAE,GAAG;IAChBC,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","lineHeight","theme","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/theme/theme.ts"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd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AAkB;EACzCC,eAAe,EAAE,aAAa;EAC9BC,iBAAiB,EAAE,eAAe;EAClCC,gBAAgB,EAAE,cAAc;EAChCC,mBAAmB,EAAE,gBAAgB;EACrCC,cAAc,EAAE,YAAY;EAC5BC,oBAAoB,EAAE,iBAAiB;EACvCC,UAAU,EAAE;AACd,CAAC;AAED,MAAMC,SAAS,GAAG;EAChB,KAAK,EAAE,EAAE;EACTC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAMC,OAAO,GAAG;
|
|
1
|
+
{"version":3,"names":["colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","fn","paddings","borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","lineHeight","theme","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/theme/theme.ts"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;I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