jornada-ui 0.4.10 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -31
- package/lib/commonjs/common/icons-svg/bluetooth/index.js +45 -27
- package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/constants/index.js +7 -5
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/index.js +19 -4
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/plus-container/index.js +42 -0
- package/lib/commonjs/common/icons-svg/plus-container/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/trash/index.js +41 -0
- package/lib/commonjs/common/icons-svg/trash/index.js.map +1 -0
- package/lib/commonjs/components/activity-step/components/activite-row/index.js +137 -0
- package/lib/commonjs/components/activity-step/components/activite-row/index.js.map +1 -0
- package/lib/commonjs/components/activity-step/index.js +77 -0
- package/lib/commonjs/components/activity-step/index.js.map +1 -0
- package/lib/commonjs/components/activity-step/interface.js +6 -0
- package/lib/commonjs/components/activity-step/interface.js.map +1 -0
- package/lib/commonjs/components/activity-step/styles.js +86 -0
- package/lib/commonjs/components/activity-step/styles.js.map +1 -0
- package/lib/commonjs/components/card-scheduled-journey/index.js +8 -6
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/commonjs/components/inputs/input-date-time/index.js +136 -0
- package/lib/commonjs/components/inputs/input-date-time/index.js.map +1 -0
- package/lib/commonjs/components/inputs/input-date-time/interface.d.js +2 -0
- package/lib/commonjs/components/inputs/input-date-time/interface.d.js.map +1 -0
- package/lib/commonjs/components/inputs/input-date-time/styles.js +66 -0
- package/lib/commonjs/components/inputs/input-date-time/styles.js.map +1 -0
- package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js +25 -0
- package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
- package/lib/commonjs/components/list-devices/index.js +97 -0
- package/lib/commonjs/components/list-devices/index.js.map +1 -0
- package/lib/commonjs/components/list-devices/interface.d.js +2 -0
- package/lib/commonjs/components/list-devices/interface.d.js.map +1 -0
- package/lib/commonjs/components/list-devices/styles.js +60 -0
- package/lib/commonjs/components/list-devices/styles.js.map +1 -0
- package/lib/commonjs/components/list-supplies/index.js +171 -0
- package/lib/commonjs/components/list-supplies/index.js.map +1 -0
- package/lib/commonjs/components/list-supplies/interface.d.js +2 -0
- package/lib/commonjs/components/list-supplies/interface.d.js.map +1 -0
- package/lib/commonjs/components/maintenance-description-input/index.js +3 -0
- package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
- package/lib/commonjs/components/maintenance-description-input/styles.js +1 -1
- package/lib/commonjs/components/maintenance-description-input/styles.js.map +1 -1
- package/lib/commonjs/components/modals/modal-activity-reason/index.js +170 -0
- package/lib/commonjs/components/modals/modal-activity-reason/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js +2 -0
- package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js +27 -0
- package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/index.js +203 -0
- package/lib/commonjs/components/modals/modal-create-activitie/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/interface.js +2 -0
- package/lib/commonjs/components/modals/modal-create-activitie/interface.js.map +1 -0
- package/lib/commonjs/components/modals/modal-create-activitie/styles.js +42 -0
- package/lib/commonjs/components/modals/modal-create-activitie/styles.js.map +1 -0
- package/lib/commonjs/components/modals/modal-exclude-activitie/index.js +2 -0
- package/lib/commonjs/components/modals/modal-exclude-activitie/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/index.js +242 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js +2 -0
- package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
- package/lib/commonjs/components/modals/modal-to-confimations/index.js +182 -0
- package/lib/commonjs/components/modals/modal-to-confimations/index.js.map +1 -0
- package/lib/commonjs/components/modals/modal-to-confimations/interface.js +2 -0
- package/lib/commonjs/components/modals/modal-to-confimations/interface.js.map +1 -0
- package/lib/commonjs/components/selects/select-date-and-hours/index.js +80 -0
- package/lib/commonjs/components/selects/select-date-and-hours/index.js.map +1 -0
- package/lib/commonjs/components/selects/select-date-and-hours/interface.js +6 -0
- package/lib/commonjs/components/selects/select-date-and-hours/interface.js.map +1 -0
- package/lib/commonjs/components/selects/select-date-and-hours/styles.js +34 -0
- package/lib/commonjs/components/selects/select-date-and-hours/styles.js.map +1 -0
- package/lib/commonjs/components/selects/select-option/index.js +4 -2
- package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
- package/lib/commonjs/components/selects/select-option/styles.js +6 -7
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
- package/lib/commonjs/components/supply-error-card/index.js +7 -6
- package/lib/commonjs/components/supply-error-card/index.js.map +1 -1
- package/lib/commonjs/components/toast-message/index.js +8 -7
- package/lib/commonjs/components/toast-message/index.js.map +1 -1
- package/lib/commonjs/components/travel-history/index.js +7 -7
- package/lib/commonjs/components/travel-history/index.js.map +1 -1
- package/lib/commonjs/components/trip-details-card/index.js +94 -13
- package/lib/commonjs/components/trip-details-card/index.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +5 -5
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/index.js +53 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/list-devices/list-devices.stories.js +146 -0
- package/lib/commonjs/stories/list-devices/list-devices.stories.js.map +1 -0
- package/lib/commonjs/stories/list-supplies/list-supplies.stories.js +69 -0
- package/lib/commonjs/stories/list-supplies/list-supplies.stories.js.map +1 -0
- package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js +63 -0
- package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
- package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js +63 -0
- package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
- package/lib/commonjs/stories/supply-error-card/supply-error-card.stories.js +12 -12
- package/lib/commonjs/stories/supply-error-card/supply-error-card.stories.js.map +1 -1
- package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js +39 -6
- package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +1 -0
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/module/common/icons-svg/bluetooth/index.js +45 -27
- package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +7 -5
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/index.js +19 -4
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/plus-container/index.js +36 -0
- package/lib/module/common/icons-svg/plus-container/index.js.map +1 -0
- package/lib/module/common/icons-svg/trash/index.js +34 -0
- package/lib/module/common/icons-svg/trash/index.js.map +1 -0
- package/lib/module/components/activity-step/components/activite-row/index.js +134 -0
- package/lib/module/components/activity-step/components/activite-row/index.js.map +1 -0
- package/lib/module/components/activity-step/index.js +73 -0
- package/lib/module/components/activity-step/index.js.map +1 -0
- package/lib/module/components/activity-step/interface.js +4 -0
- package/lib/module/components/activity-step/interface.js.map +1 -0
- package/lib/module/components/activity-step/styles.js +83 -0
- package/lib/module/components/activity-step/styles.js.map +1 -0
- package/lib/module/components/card-scheduled-journey/index.js +8 -6
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/module/components/inputs/input-date-time/index.js +130 -0
- package/lib/module/components/inputs/input-date-time/index.js.map +1 -0
- package/lib/module/components/inputs/input-date-time/interface.d.js +2 -0
- package/lib/module/components/inputs/input-date-time/interface.d.js.map +1 -0
- package/lib/module/components/inputs/input-date-time/styles.js +62 -0
- package/lib/module/components/inputs/input-date-time/styles.js.map +1 -0
- package/lib/module/components/list-devices/helpers/get-icon-by-status.js +21 -0
- package/lib/module/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
- package/lib/module/components/list-devices/index.js +93 -0
- package/lib/module/components/list-devices/index.js.map +1 -0
- package/lib/module/components/list-devices/interface.d.js +2 -0
- package/lib/module/components/list-devices/interface.d.js.map +1 -0
- package/lib/module/components/list-devices/styles.js +56 -0
- package/lib/module/components/list-devices/styles.js.map +1 -0
- package/lib/module/components/list-supplies/index.js +165 -0
- package/lib/module/components/list-supplies/index.js.map +1 -0
- package/lib/module/components/list-supplies/interface.d.js +2 -0
- package/lib/module/components/list-supplies/interface.d.js.map +1 -0
- package/lib/module/components/maintenance-description-input/index.js +3 -0
- package/lib/module/components/maintenance-description-input/index.js.map +1 -1
- package/lib/module/components/maintenance-description-input/styles.js +1 -1
- package/lib/module/components/maintenance-description-input/styles.js.map +1 -1
- package/lib/module/components/modals/modal-activity-reason/index.js +165 -0
- package/lib/module/components/modals/modal-activity-reason/index.js.map +1 -0
- package/lib/module/components/modals/modal-activity-reason/interface.d.js +2 -0
- package/lib/module/components/modals/modal-activity-reason/interface.d.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/helpers/index.js +24 -0
- package/lib/module/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/index.js +196 -0
- package/lib/module/components/modals/modal-create-activitie/index.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/interface.js +2 -0
- package/lib/module/components/modals/modal-create-activitie/interface.js.map +1 -0
- package/lib/module/components/modals/modal-create-activitie/styles.js +39 -0
- package/lib/module/components/modals/modal-create-activitie/styles.js.map +1 -0
- package/lib/module/components/modals/modal-exclude-activitie/index.js +2 -0
- package/lib/module/components/modals/modal-exclude-activitie/index.js.map +1 -0
- package/lib/module/components/modals/modal-journey-rectification/index.js +236 -0
- package/lib/module/components/modals/modal-journey-rectification/index.js.map +1 -0
- package/lib/module/components/modals/modal-journey-rectification/interface.d.js +2 -0
- package/lib/module/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
- package/lib/module/components/modals/modal-to-confimations/index.js +179 -0
- package/lib/module/components/modals/modal-to-confimations/index.js.map +1 -0
- package/lib/module/components/modals/modal-to-confimations/interface.js +2 -0
- package/lib/module/components/modals/modal-to-confimations/interface.js.map +1 -0
- package/lib/module/components/selects/select-date-and-hours/index.js +74 -0
- package/lib/module/components/selects/select-date-and-hours/index.js.map +1 -0
- package/lib/module/components/selects/select-date-and-hours/interface.js +4 -0
- package/lib/module/components/selects/select-date-and-hours/interface.js.map +1 -0
- package/lib/module/components/selects/select-date-and-hours/styles.js +31 -0
- package/lib/module/components/selects/select-date-and-hours/styles.js.map +1 -0
- package/lib/module/components/selects/select-option/index.js +4 -2
- package/lib/module/components/selects/select-option/index.js.map +1 -1
- package/lib/module/components/selects/select-option/styles.js +6 -7
- package/lib/module/components/selects/select-option/styles.js.map +1 -1
- package/lib/module/components/supply-error-card/index.js +7 -6
- package/lib/module/components/supply-error-card/index.js.map +1 -1
- package/lib/module/components/toast-message/index.js +8 -7
- package/lib/module/components/toast-message/index.js.map +1 -1
- package/lib/module/components/travel-history/index.js +7 -7
- package/lib/module/components/travel-history/index.js.map +1 -1
- package/lib/module/components/trip-details-card/index.js +94 -13
- package/lib/module/components/trip-details-card/index.js.map +1 -1
- package/lib/module/components/typography/index.js +5 -5
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/index.js +7 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/list-devices/list-devices.stories.js +140 -0
- package/lib/module/stories/list-devices/list-devices.stories.js.map +1 -0
- package/lib/module/stories/list-supplies/list-supplies.stories.js +63 -0
- package/lib/module/stories/list-supplies/list-supplies.stories.js.map +1 -0
- package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js +57 -0
- package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
- package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js +57 -0
- package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
- package/lib/module/stories/supply-error-card/supply-error-card.stories.js +12 -12
- package/lib/module/stories/supply-error-card/supply-error-card.stories.js.map +1 -1
- package/lib/module/stories/trip-details-card/trip-details-card.stories.js +39 -6
- package/lib/module/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
- package/lib/module/styles/theme/theme.js +1 -0
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +5 -1
- package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/index.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/activity-step/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts +40 -0
- package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts +75 -0
- package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts +59 -0
- package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-devices/index.d.ts +11 -0
- package/lib/typescript/commonjs/src/components/list-devices/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts +57 -0
- package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
- package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +0 -1
- package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/supply-error-card/index.d.ts +3 -8
- package/lib/typescript/commonjs/src/components/supply-error-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/trip-details-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +7 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts +22 -0
- package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
- package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +5 -1
- package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +2 -0
- package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
- package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
- package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts +11 -0
- package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts +11 -0
- package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/index.d.ts +17 -0
- package/lib/typescript/module/src/components/activity-step/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/interface.d.ts +40 -0
- package/lib/typescript/module/src/components/activity-step/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/activity-step/styles.d.ts +75 -0
- package/lib/typescript/module/src/components/activity-step/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +2 -1
- package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts +8 -0
- package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts +59 -0
- package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
- package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-devices/index.d.ts +11 -0
- package/lib/typescript/module/src/components/list-devices/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-devices/styles.d.ts +57 -0
- package/lib/typescript/module/src/components/list-devices/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list-supplies/index.d.ts +8 -0
- package/lib/typescript/module/src/components/list-supplies/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
- package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
- package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts +8 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
- package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts +13 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
- package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts +1 -0
- package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +0 -1
- package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
- package/lib/typescript/module/src/components/supply-error-card/index.d.ts +3 -8
- package/lib/typescript/module/src/components/supply-error-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/trip-details-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +7 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts +22 -0
- package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
- package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
- package/lib/typescript/module/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/common/icons-svg/bluetooth/index.tsx +51 -24
- package/src/common/icons-svg/constants/index.ts +67 -65
- package/src/common/icons-svg/index.tsx +289 -280
- package/src/common/icons-svg/plus-container/index.tsx +32 -0
- package/src/common/icons-svg/trash/index.tsx +31 -0
- package/src/components/activity-step/components/activite-row/index.tsx +141 -0
- package/src/components/activity-step/index.tsx +73 -0
- package/src/components/activity-step/interface.ts +54 -0
- package/src/components/activity-step/styles.ts +72 -0
- package/src/components/card-scheduled-journey/index.tsx +140 -138
- package/src/components/card-scheduled-journey/interface.d.ts +145 -140
- package/src/components/inputs/input-date-time/index.tsx +133 -0
- package/src/components/inputs/input-date-time/interface.d.ts +25 -0
- package/src/components/inputs/input-date-time/styles.ts +63 -0
- package/src/components/list-devices/helpers/get-icon-by-status.tsx +20 -0
- package/src/components/list-devices/index.tsx +102 -0
- package/src/components/list-devices/interface.d.ts +36 -0
- package/src/components/list-devices/styles.ts +68 -0
- package/src/components/list-supplies/index.tsx +153 -0
- package/src/components/list-supplies/interface.d.ts +9 -0
- package/src/components/maintenance-description-input/index.tsx +1 -0
- package/src/components/maintenance-description-input/styles.ts +1 -1
- package/src/components/modals/modal-activity-reason/index.tsx +168 -0
- package/src/components/modals/modal-activity-reason/interface.d.ts +9 -0
- package/src/components/modals/modal-create-activitie/helpers/index.ts +14 -0
- package/src/components/modals/modal-create-activitie/index.tsx +210 -0
- package/src/components/modals/modal-create-activitie/interface.ts +22 -0
- package/src/components/modals/modal-create-activitie/styles.ts +24 -0
- package/src/components/modals/modal-exclude-activitie/index.ts +0 -0
- package/src/components/modals/modal-journey-rectification/index.tsx +236 -0
- package/src/components/modals/modal-journey-rectification/interface.d.ts +10 -0
- package/src/components/modals/modal-to-confimations/index.tsx +182 -0
- package/src/components/modals/modal-to-confimations/interface.ts +36 -0
- package/src/components/selects/select-date-and-hours/index.tsx +70 -0
- package/src/components/selects/select-date-and-hours/interface.ts +31 -0
- package/src/components/selects/select-date-and-hours/styles.ts +24 -0
- package/src/components/selects/select-option/index.tsx +2 -1
- package/src/components/selects/select-option/interface.d.ts +1 -1
- package/src/components/selects/select-option/styles.ts +74 -75
- package/src/components/supply-error-card/index.tsx +10 -6
- package/src/components/supply-error-card/interface.d.ts +3 -9
- package/src/components/toast-message/index.tsx +75 -74
- package/src/components/travel-history/index.tsx +7 -7
- package/src/components/trip-details-card/index.tsx +89 -12
- package/src/components/trip-details-card/interface.d.ts +4 -1
- package/src/components/typography/index.tsx +78 -78
- package/src/index.tsx +7 -0
- package/src/stories/list-devices/list-devices.stories.tsx +114 -0
- package/src/stories/list-supplies/list-supplies.stories.tsx +66 -0
- package/src/stories/modal-activity-reason/modal-activity-reason.stories.tsx +60 -0
- package/src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx +60 -0
- package/src/stories/supply-error-card/supply-error-card.stories.tsx +12 -12
- package/src/stories/trip-details-card/trip-details-card.stories.tsx +38 -5
- package/src/styles/theme/theme.ts +1 -0
|
@@ -0,0 +1,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":["stories/list-devices/list-devices.stories.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,OAAOC,WAAW,MAAM,wCAA+B;;AAEvD;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEjD,MAAMC,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEN,WAAW;EACtBO,UAAU,EAAE;IACVC,IAAI,EAAE;MACJC,WAAW,EAAE;QACXH,SAAS,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACM;IACF;EACF,CAAC;EAEDI,QAAQ,EAAE;IACRC,UAAU,EAAE;MAAEC,OAAO,EAAE,OAAO;MAAEH,WAAW,EAAE;IAA6B,CAAC;IAC3EI,oBAAoB,EAAE;MAAED,OAAO,EAAE,OAAO;MAAEH,WAAW,EAAE;IAAyB,CAAC;IACjFK,UAAU,EAAE;MAAEF,OAAO,EAAE,QAAQ;MAAEH,WAAW,EAAE;IAA8B,CAAC;IAC7EM,iBAAiB,EAAE;MAAEH,OAAO,EAAE,QAAQ;MAAEH,WAAW,EAAE;IAA8B,CAAC;IACpFO,QAAQ,EAAE;MAAEJ,OAAO,EAAE,SAAS;MAAEH,WAAW,EAAE;IAAuB,CAAC;IACrEQ,QAAQ,EAAE;MAAEC,MAAM,EAAE,UAAU;MAAET,WAAW,EAAE;IAAyB,CAAC;IACvEU,IAAI,EAAE;MAAEP,OAAO,EAAE,QAAQ;MAAEH,WAAW,EAAE;IAAiB;EAC3D,CAAC;EACDW,UAAU,EAAE,CACTC,KAAK,iBACJlB,IAAA,CAACJ,IAAI;IAACuB,KAAK,EAAE;MAAEC,OAAO,EAAE,EAAE;MAAEC,eAAe,EAAEvB,KAAK,CAACwB,MAAM,CAACC,OAAO,CAAC,GAAG;IAAE,CAAE;IAAAC,QAAA,eACvExB,IAAA,CAACkB,KAAK,IAAE;EAAC,CACL,CACP;AAEL,CAAC;AACD,eAAejB,IAAI;AAInB,MAAMwB,UAAU,GAAG,CACjB;EAAEC,EAAE,EAAE,CAAC;EAAEC,UAAU,EAAE,eAAe;EAAEC,SAAS,EAAE;AAAoB,CAAC,EACtE;EAAEF,EAAE,EAAE,CAAC;EAAEC,UAAU,EAAE,mBAAmB;EAAEC,SAAS,EAAE;AAAoB,CAAC,EAC1E;EAAEF,EAAE,EAAE,CAAC;EAAEC,UAAU,EAAE,mBAAmB;EAAEC,SAAS,EAAE;AAAoB,CAAC,EAC1E;EAAEF,EAAE,EAAE,CAAC;EAAEC,UAAU,EAAE,mBAAmB;EAAEC,SAAS,EAAE;AAAoB,CAAC,CAC3E;AAED,OAAO,MAAMC,aAAa,GAAG;EAC3BC,IAAI,EAAE,8CAA8C;EACpDC,IAAI,EAAE;IACJf,IAAI,EAAES,UAAU;IAChBb,iBAAiB,EAAE;EACrB;AACF,CAAC;AAED,OAAO,MAAMoB,UAAiB,GAAG;EAC/BF,IAAI,EAAE,gDAAgD;EACtDC,IAAI,EAAE;IAAEf,IAAI,EAAES;EAAW,CAAC;EAC1BQ,MAAM,EAAEA,CAACF,IAA8C,GAAG,CAAC,CAAC,KAAK;IAC/D,MAAM,CAACpB,UAAU,EAAEuB,aAAa,CAAC,GAAGvC,KAAK,CAACwC,QAAQ,CAAgB,CAAC,CAAC;IAEpE,oBACEnC,IAAA,CAACH,WAAW;MAAA,GACNkC,IAAI;MACRpB,UAAU,EAAEA,UAAW;MACvBG,QAAQ,EAAGsB,MAAM,IAAK;QACpBF,aAAa,CAACE,MAAM,CAACV,EAAE,CAAC;QACxBK,IAAI,CAACjB,QAAQ,GAAGsB,MAAM,CAAC;MACzB;IAAE,CACH,CAAC;EAEN;AACF,CAAC;;AAGD;AACA,OAAO,MAAMC,MAAa,GAAG;EAC3BP,IAAI,EAAE,8BAA8B;EACpCC,IAAI,EAAE;IACJf,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":[]}
|
|
@@ -10,19 +10,19 @@ const meta = {
|
|
|
10
10
|
title: "componente/SupplyErrorCard",
|
|
11
11
|
component: SupplyErrorCard,
|
|
12
12
|
args: {
|
|
13
|
-
|
|
13
|
+
errors: [{
|
|
14
14
|
id: 101,
|
|
15
|
-
|
|
15
|
+
descricacao: "Erro ao sincronizar abastecimento #101. Clique para corrigir."
|
|
16
16
|
}, {
|
|
17
17
|
id: 203,
|
|
18
|
-
|
|
18
|
+
descricacao: "Valor inválido no abastecimento #203."
|
|
19
19
|
}, {
|
|
20
20
|
id: 310,
|
|
21
|
-
|
|
21
|
+
descricacao: "Imagem do comprovante ausente no abastecimento #310."
|
|
22
22
|
}]
|
|
23
23
|
},
|
|
24
24
|
argTypes: {
|
|
25
|
-
|
|
25
|
+
errors: {
|
|
26
26
|
description: "Lista de mensagens de erro/exceção relacionadas a abastecimentos.",
|
|
27
27
|
control: "object",
|
|
28
28
|
table: {
|
|
@@ -41,13 +41,13 @@ Ao **clicar**, expande e mostra a lista completa. O ícone alterna entre *chevro
|
|
|
41
41
|
|
|
42
42
|
## Uso básico
|
|
43
43
|
\`\`\`tsx
|
|
44
|
-
const
|
|
45
|
-
{ id: 101,
|
|
46
|
-
{ id: 203,
|
|
47
|
-
{ id: 310,
|
|
44
|
+
const errors = [
|
|
45
|
+
{ id: 101, descricao: "Erro ao sincronizar abastecimento #101. Clique para corrigir." },
|
|
46
|
+
{ id: 203, descricao: "Valor inválido no abastecimento #203." },
|
|
47
|
+
{ id: 310, descricao: "Imagem do comprovante ausente no abastecimento #310." },
|
|
48
48
|
];
|
|
49
49
|
|
|
50
|
-
<SupplyErrorCard
|
|
50
|
+
<SupplyErrorCard errors={mensagens} />
|
|
51
51
|
\`\`\`
|
|
52
52
|
|
|
53
53
|
## Dicas
|
|
@@ -60,7 +60,7 @@ export default meta;
|
|
|
60
60
|
export const Default = {
|
|
61
61
|
name: "supply-error-card-default",
|
|
62
62
|
args: {
|
|
63
|
-
|
|
63
|
+
errors: [{
|
|
64
64
|
id: 101,
|
|
65
65
|
mensagem: "Erro ao sincronizar abastecimento #101. Clique para corrigir."
|
|
66
66
|
}, {
|
|
@@ -75,7 +75,7 @@ export const Default = {
|
|
|
75
75
|
export const SupplyErrorCardNotMessage = {
|
|
76
76
|
name: "supply-error-card",
|
|
77
77
|
args: {
|
|
78
|
-
|
|
78
|
+
errors: []
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
//# sourceMappingURL=supply-error-card.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SupplyErrorCard","meta","title","component","args","
|
|
1
|
+
{"version":3,"names":["SupplyErrorCard","meta","title","component","args","errors","id","descricacao","argTypes","description","control","table","type","summary","parameters","notes","Default","name","mensagem","SupplyErrorCardNotMessage"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/supply-error-card/supply-error-card.stories.tsx"],"mappings":";;AAAA;AACA;AACA;;AAIA;AACA,OAAOA,eAAe,MAAM,6CAAoC;AAEhE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAA2B;EACtCI,IAAI,EAAE;IACJC,MAAM,EAAE,CACN;MAAEC,EAAE,EAAE,GAAG;MAAEC,WAAW,EAAE;IAAgE,CAAC,EACzF;MAAED,EAAE,EAAE,GAAG;MAAEC,WAAW,EAAE;IAAwC,CAAC,EACjE;MAAED,EAAE,EAAE,GAAG;MAAEC,WAAW,EAAE;IAAuD,CAAC;EAEpF,CAAC;EACDC,QAAQ,EAAE;IACRH,MAAM,EAAE;MACNI,WAAW,EAAE,mEAAmE;MAChFC,OAAO,EAAE,QAAQ;MACjBC,KAAK,EAAE;QACLC,IAAI,EAAE;UAAEC,OAAO,EAAE;QAA0C;MAC7D;IACF;EACF,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;AACA;EACE;AACF,CAAC;AAED,eAAed,IAAI;AAInB,OAAO,MAAMe,OAAc,GAAG;EAC5BC,IAAI,EAAE,2BAA2B;EACjCb,IAAI,EAAE;IACJC,MAAM,EAAE,CACN;MAAEC,EAAE,EAAE,GAAG;MAAEY,QAAQ,EAAE;IAAgE,CAAC,EACtF;MAAEZ,EAAE,EAAE,GAAG;MAAEY,QAAQ,EAAE;IAAwC,CAAC,EAC9D;MAAEZ,EAAE,EAAE,GAAG;MAAEY,QAAQ,EAAE;IAAuD,CAAC;EAEjF;AACF,CAAC;AAED,OAAO,MAAMC,yBAAgC,GAAG;EAC9CF,IAAI,EAAE,mBAAmB;EACzBb,IAAI,EAAE;IAAEC,MAAM,EAAE;EAAG;AACrB,CAAC","ignoreList":[]}
|
|
@@ -10,7 +10,6 @@ const meta = {
|
|
|
10
10
|
title: "componente/TripDetailsCard",
|
|
11
11
|
component: TripDetailsCard,
|
|
12
12
|
args: {
|
|
13
|
-
dataRegistro: "11/03/2025 às 14:53:27",
|
|
14
13
|
origem: "TIMÓTEO - MG",
|
|
15
14
|
destino: "CAMPINAS - SP",
|
|
16
15
|
proximoCarregamento: "CONTAGEM - MG"
|
|
@@ -22,24 +21,58 @@ Card visual para exibir uma lavagem de cavalo registrada.
|
|
|
22
21
|
### Como usar:
|
|
23
22
|
\`\`\`tsx
|
|
24
23
|
<TripDetailsCard
|
|
24
|
+
dataRegistro: "11/03/2025 às 14:53:27",
|
|
25
|
+
origem= "TIMÓTEO - MG",
|
|
26
|
+
destino= "CAMPINAS - SP",
|
|
25
27
|
numero={1}
|
|
26
|
-
dataRegistro="11/03/2025 às 14:53:27"
|
|
27
28
|
cavalo="RGA6B87"
|
|
29
|
+
peso= 25000,
|
|
30
|
+
baseCalculo= 3500,
|
|
28
31
|
corBarra="#2ECC71"
|
|
32
|
+
numeroCte= {12034}
|
|
33
|
+
kmCarregado= {100}
|
|
34
|
+
kmVazio= {200}
|
|
29
35
|
/>
|
|
30
36
|
\`\`\`
|
|
31
|
-
|
|
37
|
+
`,
|
|
38
|
+
docs: {
|
|
39
|
+
description: {
|
|
40
|
+
component: `
|
|
41
|
+
### TripDetailsCard
|
|
42
|
+
|
|
43
|
+
Componente de **trip-details-card** para visualizar os detalhes de uma viagem.
|
|
44
|
+
|
|
45
|
+
- \`corBarra\`: define a cor da barra lateral, útil para diferenciar ou categorizar viagens
|
|
46
|
+
- \`dataRegistro\`: campo obrigatório, deve ser passado por parâmetro a data e hora do carregamento
|
|
47
|
+
- \`numeroCte\`: campo obrigatório, representa o número do CTE associado à viagem
|
|
48
|
+
- \`origem\`: campo obrigatório, local de origem do carregamento
|
|
49
|
+
- \`destino\`: campo obrigatório, local de destino do carregamento
|
|
50
|
+
- \`proximoCarregamento\`: campo opcional, indica o próximo ponto de carregamento
|
|
51
|
+
- \`peso\`: campo opcional, peso da carga em quilogramas
|
|
52
|
+
- \`kmCarregado\`: campo opcional, quilometragem percorrida carregado
|
|
53
|
+
- \`kmVazio\`: campo opcional, quilometragem percorrida vazio
|
|
54
|
+
- \`baseCalculo\`: campo opcional, valor base usado para cálculo do PRO
|
|
55
|
+
- \`Interação\`: o componente possui um botão de expansão, que mostra ou oculta os detalhes da viagem ao ser clicado
|
|
56
|
+
`
|
|
57
|
+
}
|
|
58
|
+
}
|
|
32
59
|
}
|
|
33
60
|
};
|
|
34
61
|
export default meta;
|
|
35
62
|
export const Padrao = {
|
|
36
|
-
name: "card
|
|
63
|
+
name: "trip-details-card",
|
|
37
64
|
args: {
|
|
38
|
-
numero: 1,
|
|
39
65
|
dataRegistro: "11/03/2025 às 14:53:27",
|
|
66
|
+
origem: "TIMÓTEO - MG",
|
|
67
|
+
destino: "CAMPINAS - SP",
|
|
68
|
+
numero: 1,
|
|
40
69
|
cavalo: "RGA6B87",
|
|
70
|
+
peso: 25000,
|
|
71
|
+
baseCalculo: 3500,
|
|
41
72
|
corBarra: "#2ECC71",
|
|
42
|
-
|
|
73
|
+
numeroCte: 12034,
|
|
74
|
+
kmCarregado: 100,
|
|
75
|
+
kmVazio: 200
|
|
43
76
|
}
|
|
44
77
|
};
|
|
45
78
|
//# sourceMappingURL=trip-details-card.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TripDetailsCard","meta","title","component","args","
|
|
1
|
+
{"version":3,"names":["TripDetailsCard","meta","title","component","args","origem","destino","proximoCarregamento","parameters","notes","docs","description","Padrao","name","dataRegistro","numero","cavalo","peso","baseCalculo","corBarra","numeroCte","kmCarregado","kmVazio"],"sourceRoot":"..\\..\\..\\..\\src","sources":["stories/trip-details-card/trip-details-card.stories.tsx"],"mappings":";;AAAA;AACA;AACA;;AAGA;AACA,OAAOA,eAAe,MAAM,6CAAoC;AAEhE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAAe;EAC1BI,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;QACXR,SAAS,EAAE;AACnB;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,MAAMW,MAAa,GAAG;EAC3BC,IAAI,EAAE,mBAAmB;EACzBT,IAAI,EAAE;IACJU,YAAY,EAAE,wBAAwB;IACtCT,MAAM,EAAE,cAAc;IACtBC,OAAO,EAAE,eAAe;IACxBS,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"],"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;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,GAAG,EAAE;IACH,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,MAAM,EAAE;IACN,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,MAAM,EAAE;IACN,GAAG,EAAE,SAAS;IAAE;IAChB,GAAG,EAAE,SAAS;IACd,EAAE,EAAE,SAAS;IACb,EAAE,EAAE;EACN;AACF,CAAC;AAED,MAAMC,KAAK,GAAG;EACZC,cAAc,EAAE,YAAY;EAC5BC,qBAAqB,EAAE,kBAAkB;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"],"sourceRoot":"..\\..\\..\\..\\src","sources":["styles/theme/theme.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { type ISvgProps } from "../interface";
|
|
6
|
-
|
|
6
|
+
interface ISvgIconBluetoothProps extends ISvgProps {
|
|
7
|
+
background?: string;
|
|
8
|
+
padding?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const SvgIconBluetooth: React.FC<ISvgIconBluetoothProps>;
|
|
7
11
|
/**
|
|
8
12
|
* EXPORTS
|
|
9
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/bluetooth/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/bluetooth/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,UAAU,sBAAuB,SAAQ,SAAS;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6CtD,CAAC;AAEF;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -16,6 +16,7 @@ declare const SVG_NAME: {
|
|
|
16
16
|
TRUCK: string;
|
|
17
17
|
PACKAGE_CHECK: string;
|
|
18
18
|
PLUS: string;
|
|
19
|
+
PLUS_CONTAINER: string;
|
|
19
20
|
EYE_SLASH: string;
|
|
20
21
|
EYE: string;
|
|
21
22
|
CALENDAR: string;
|
|
@@ -56,6 +57,7 @@ declare const SVG_NAME: {
|
|
|
56
57
|
ISLAND: string;
|
|
57
58
|
CHEVRON_DOWN: string;
|
|
58
59
|
CHEVRON_UP: string;
|
|
60
|
+
TRASH: string;
|
|
59
61
|
};
|
|
60
62
|
/**
|
|
61
63
|
* EXPORTS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/constants/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/constants/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDb,CAAC;AACF;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/common/icons-svg/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAwD1B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/common/icons-svg/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAwD1B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAU7C,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsM9B,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAavC,CAAC;AAEF;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { type ISvgProps } from "../interface";
|
|
6
|
+
declare const SvgIconPlusContainer: React.FC<ISvgProps>;
|
|
7
|
+
/**
|
|
8
|
+
* EXPORTS
|
|
9
|
+
*/
|
|
10
|
+
export { SvgIconPlusContainer };
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/plus-container/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiB7C,CAAC;AAEF;;GAEG;AACH,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/common/icons-svg/trash/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgBzC,CAAC;AAEF;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import type { IActivitieRowProps } from "../../interface";
|
|
6
|
+
/**
|
|
7
|
+
* EXPORTS
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: React.ComponentType<IActivitieRowProps<any> & React.RefAttributes<any>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/activity-step/components/activite-row/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAkC,MAAM,OAAO,CAAC;AAWvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AA0H1D;;GAEG;;AACH,wBAA6C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
/**
|
|
6
|
+
* EXPORTS
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: React.ComponentType<import("react-native").TouchableOpacityProps & {
|
|
9
|
+
data: any[];
|
|
10
|
+
onAdd: any;
|
|
11
|
+
onEdit: any;
|
|
12
|
+
onDelete: any;
|
|
13
|
+
showIndexBadge?: boolean;
|
|
14
|
+
testID?: string;
|
|
15
|
+
} & React.RefAttributes<any>>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/activity-step/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAkC,MAAM,OAAO,CAAC;AAkEvD;;GAEG;;;;;;;;;AACH,wBAAiD"}
|