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
|
@@ -1,280 +1,289 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
|
|
6
|
-
// commons / svg
|
|
7
|
-
import { SvgIconSteeringWheel } from "./steering-wheel";
|
|
8
|
-
import { SvgIconCheckBoxFill } from "./check-box-fill";
|
|
9
|
-
import { SvgIconCheckBoxOutline } from "./check-box-outline";
|
|
10
|
-
import { SvgIconCameraPlus } from "./camera-plus";
|
|
11
|
-
import { SvgIconMoonStars } from "./moon-stars";
|
|
12
|
-
import { SvgIconCallBell } from "./call-bell";
|
|
13
|
-
import { SvgIconSteeringWheelFill } from "./steering-wheel-fill";
|
|
14
|
-
import { SvgIconTrophy } from "./trophy";
|
|
15
|
-
import { IconShoppingCart } from "./shopping-cart";
|
|
16
|
-
import { IconCreditCard } from "./credit-card";
|
|
17
|
-
import { IconFileText } from "./file-text";
|
|
18
|
-
import { IconTruck } from "./truck";
|
|
19
|
-
import { IconPackageCheck } from "./package-check";
|
|
20
|
-
import { SvgIconEyeSlash } from "./eye-slash";
|
|
21
|
-
import { SvgIconCalendar } from "./calendar";
|
|
22
|
-
import { SvgIconCurrency } from "./currency";
|
|
23
|
-
import { SvgIconEye } from "./eye";
|
|
24
|
-
import { SvgIconGasPump } from "./gas-pump";
|
|
25
|
-
import { SvgIconGauge } from "./gauge";
|
|
26
|
-
import { SvgIconGear } from "./gear";
|
|
27
|
-
import { SvgIconTimer } from "./timer";
|
|
28
|
-
import { SvgIconNotePencil } from "./note-pincel";
|
|
29
|
-
import { SvgIconCheckCircle } from "./check-circle";
|
|
30
|
-
import { SvgIconArrowLeft } from "./arrow-left";
|
|
31
|
-
import { SvgIconBluetooth } from "./bluetooth";
|
|
32
|
-
import { SvgIconBluetoothConnected } from "./bluetooth-connected";
|
|
33
|
-
import { SvgIconList } from "./list";
|
|
34
|
-
import { SvgIconWiFiHigh } from "./wifi-high";
|
|
35
|
-
import { SvgIconWiFiX } from "./wifi-x";
|
|
36
|
-
import { SvgIconArrowDropDown } from "./arrow-drop-down";
|
|
37
|
-
import { SvgIconClosed } from "./closed";
|
|
38
|
-
import { SvgPackage } from "./package";
|
|
39
|
-
import { SvgChartBar } from "./chart-bar";
|
|
40
|
-
import { SvgTruckTrailer } from "./truck-trailer";
|
|
41
|
-
import { SvgIconBell } from "./bell";
|
|
42
|
-
import { SvgIconBed } from "./bed";
|
|
43
|
-
import { SvgIconFiles } from "./files";
|
|
44
|
-
import { SvgIconLifebuoy } from "./lifebuoy";
|
|
45
|
-
import { SvgIconRecused } from "./recused";
|
|
46
|
-
import { SvgIconExclamationCircle } from "./exclamation-circle";
|
|
47
|
-
import { SvgIconPlus } from "./plus";
|
|
48
|
-
import { SvgIconXCirle } from "./x-circle";
|
|
49
|
-
import { SvgIconCheckOutline } from "./check-outline";
|
|
50
|
-
import { SvgIconTruckActivity } from "./truck-activity";
|
|
51
|
-
import { SvgIconCar } from "./car";
|
|
52
|
-
import { SvgIconCoffee } from "./coffee";
|
|
53
|
-
import { SvgIconWarningTriangle } from "./exclamation-triangle";
|
|
54
|
-
import { IconChevronDown } from "./chevron-down";
|
|
55
|
-
import IconChevronUp from "./chevron-up";
|
|
56
|
-
import { ArrowChevronUp } from "./arrow-chevron-up";
|
|
57
|
-
import { ArrowChevronDown } from "./arrow-chevron-down";
|
|
58
|
-
|
|
59
|
-
// typing
|
|
60
|
-
import { type ISvgProps } from "./interface";
|
|
61
|
-
|
|
62
|
-
// styles
|
|
63
|
-
import { theme } from "../../styles/theme/theme";
|
|
64
|
-
import { SvgIconHouse } from "./house";
|
|
65
|
-
import { SvgIconHourglass } from "./hourglass";
|
|
66
|
-
import { SvgIconIsland } from "./island";
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
case "
|
|
264
|
-
return <
|
|
265
|
-
|
|
266
|
-
return <
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
// commons / svg
|
|
7
|
+
import { SvgIconSteeringWheel } from "./steering-wheel";
|
|
8
|
+
import { SvgIconCheckBoxFill } from "./check-box-fill";
|
|
9
|
+
import { SvgIconCheckBoxOutline } from "./check-box-outline";
|
|
10
|
+
import { SvgIconCameraPlus } from "./camera-plus";
|
|
11
|
+
import { SvgIconMoonStars } from "./moon-stars";
|
|
12
|
+
import { SvgIconCallBell } from "./call-bell";
|
|
13
|
+
import { SvgIconSteeringWheelFill } from "./steering-wheel-fill";
|
|
14
|
+
import { SvgIconTrophy } from "./trophy";
|
|
15
|
+
import { IconShoppingCart } from "./shopping-cart";
|
|
16
|
+
import { IconCreditCard } from "./credit-card";
|
|
17
|
+
import { IconFileText } from "./file-text";
|
|
18
|
+
import { IconTruck } from "./truck";
|
|
19
|
+
import { IconPackageCheck } from "./package-check";
|
|
20
|
+
import { SvgIconEyeSlash } from "./eye-slash";
|
|
21
|
+
import { SvgIconCalendar } from "./calendar";
|
|
22
|
+
import { SvgIconCurrency } from "./currency";
|
|
23
|
+
import { SvgIconEye } from "./eye";
|
|
24
|
+
import { SvgIconGasPump } from "./gas-pump";
|
|
25
|
+
import { SvgIconGauge } from "./gauge";
|
|
26
|
+
import { SvgIconGear } from "./gear";
|
|
27
|
+
import { SvgIconTimer } from "./timer";
|
|
28
|
+
import { SvgIconNotePencil } from "./note-pincel";
|
|
29
|
+
import { SvgIconCheckCircle } from "./check-circle";
|
|
30
|
+
import { SvgIconArrowLeft } from "./arrow-left";
|
|
31
|
+
import { SvgIconBluetooth } from "./bluetooth";
|
|
32
|
+
import { SvgIconBluetoothConnected } from "./bluetooth-connected";
|
|
33
|
+
import { SvgIconList } from "./list";
|
|
34
|
+
import { SvgIconWiFiHigh } from "./wifi-high";
|
|
35
|
+
import { SvgIconWiFiX } from "./wifi-x";
|
|
36
|
+
import { SvgIconArrowDropDown } from "./arrow-drop-down";
|
|
37
|
+
import { SvgIconClosed } from "./closed";
|
|
38
|
+
import { SvgPackage } from "./package";
|
|
39
|
+
import { SvgChartBar } from "./chart-bar";
|
|
40
|
+
import { SvgTruckTrailer } from "./truck-trailer";
|
|
41
|
+
import { SvgIconBell } from "./bell";
|
|
42
|
+
import { SvgIconBed } from "./bed";
|
|
43
|
+
import { SvgIconFiles } from "./files";
|
|
44
|
+
import { SvgIconLifebuoy } from "./lifebuoy";
|
|
45
|
+
import { SvgIconRecused } from "./recused";
|
|
46
|
+
import { SvgIconExclamationCircle } from "./exclamation-circle";
|
|
47
|
+
import { SvgIconPlus } from "./plus";
|
|
48
|
+
import { SvgIconXCirle } from "./x-circle";
|
|
49
|
+
import { SvgIconCheckOutline } from "./check-outline";
|
|
50
|
+
import { SvgIconTruckActivity } from "./truck-activity";
|
|
51
|
+
import { SvgIconCar } from "./car";
|
|
52
|
+
import { SvgIconCoffee } from "./coffee";
|
|
53
|
+
import { SvgIconWarningTriangle } from "./exclamation-triangle";
|
|
54
|
+
import { IconChevronDown } from "./chevron-down";
|
|
55
|
+
import IconChevronUp from "./chevron-up";
|
|
56
|
+
import { ArrowChevronUp } from "./arrow-chevron-up";
|
|
57
|
+
import { ArrowChevronDown } from "./arrow-chevron-down";
|
|
58
|
+
|
|
59
|
+
// typing
|
|
60
|
+
import { type ISvgProps } from "./interface";
|
|
61
|
+
|
|
62
|
+
// styles
|
|
63
|
+
import { theme } from "../../styles/theme/theme";
|
|
64
|
+
import { SvgIconHouse } from "./house";
|
|
65
|
+
import { SvgIconHourglass } from "./hourglass";
|
|
66
|
+
import { SvgIconIsland } from "./island";
|
|
67
|
+
import { SvgIconPlusContainer } from "./plus-container";
|
|
68
|
+
import { SvgIconPlusTrash } from "./trash";
|
|
69
|
+
|
|
70
|
+
const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
|
|
71
|
+
switch (icon) {
|
|
72
|
+
case "STEERING_WHEEL":
|
|
73
|
+
return <SvgIconSteeringWheel icon="STEERING_WHEEL" color={color} size={size} />;
|
|
74
|
+
|
|
75
|
+
case "CHEVRON_DOWN":
|
|
76
|
+
return (
|
|
77
|
+
<IconChevronDown
|
|
78
|
+
color={color ?? theme.colors.gray[700]}
|
|
79
|
+
size={size ?? 20}
|
|
80
|
+
background={background}
|
|
81
|
+
/>
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
case "CHEVRON_UP":
|
|
85
|
+
return (
|
|
86
|
+
<IconChevronUp
|
|
87
|
+
color={color ?? theme.colors.gray[700]}
|
|
88
|
+
size={size ?? 20}
|
|
89
|
+
background={background}
|
|
90
|
+
/>
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
case "CHECK_BOX_FILL":
|
|
94
|
+
return <SvgIconCheckBoxFill icon="CHECK_BOX_FILL" color={color} size={size} />;
|
|
95
|
+
|
|
96
|
+
case "CHECK_OUTLINE":
|
|
97
|
+
return <SvgIconCheckOutline icon="CHECK_OUTLINE" color={color} size={size} />;
|
|
98
|
+
|
|
99
|
+
case "CHECK_BOX_OUTLINE":
|
|
100
|
+
return <SvgIconCheckBoxOutline icon="CHECK_BOX_OUTLINE" color={color} size={size} />;
|
|
101
|
+
|
|
102
|
+
case "CAMERA_PLUS":
|
|
103
|
+
return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
|
|
104
|
+
|
|
105
|
+
case "MOON_STARS":
|
|
106
|
+
return <SvgIconMoonStars color={color} size={size} icon={"MOON_STARS"} />;
|
|
107
|
+
|
|
108
|
+
case "CALL_BELL":
|
|
109
|
+
return <SvgIconCallBell color={color} size={size} icon={"CALL_BELL"} />;
|
|
110
|
+
|
|
111
|
+
case "STEERING_WHEEL_FILL":
|
|
112
|
+
return <SvgIconSteeringWheelFill color={color} size={size} icon={"STEERING_WHEEL_FILL"} />;
|
|
113
|
+
|
|
114
|
+
case "TROPHY":
|
|
115
|
+
return <SvgIconTrophy color={theme.colors.orange[150]} size={size} icon={"TROPHY"} />;
|
|
116
|
+
|
|
117
|
+
case "SHOPPING_CART":
|
|
118
|
+
return <IconShoppingCart icon={"SHOPPING_CART"} />;
|
|
119
|
+
|
|
120
|
+
case "CREDIT_CARD":
|
|
121
|
+
return <IconCreditCard icon={"CREDIT_CARD"} />;
|
|
122
|
+
|
|
123
|
+
case "FILE_TEXT":
|
|
124
|
+
return <IconFileText icon={"FILE_TEXT"} />;
|
|
125
|
+
|
|
126
|
+
case "TRUCK":
|
|
127
|
+
return <IconTruck color={color} size={size} icon={"TRUCK"} />;
|
|
128
|
+
|
|
129
|
+
case "PACKAGE_CHECK":
|
|
130
|
+
return <IconPackageCheck icon={"PACKAGE_CHECK"} />;
|
|
131
|
+
|
|
132
|
+
case "EYE_SLASH":
|
|
133
|
+
return <SvgIconEyeSlash color={color} size={size} icon={"EYE_SLASH"} />;
|
|
134
|
+
|
|
135
|
+
case "EYE":
|
|
136
|
+
return <SvgIconEye color={color} size={size} icon={"EYE"} />;
|
|
137
|
+
|
|
138
|
+
case "CALENDAR":
|
|
139
|
+
return <SvgIconCalendar color={color} size={size} icon={"CALENDAR"} />;
|
|
140
|
+
|
|
141
|
+
case "TIMER":
|
|
142
|
+
return <SvgIconTimer color={color} size={size} icon={"TIMER"} />;
|
|
143
|
+
|
|
144
|
+
case "GEAR":
|
|
145
|
+
return <SvgIconGear color={color} size={size} icon={"GEAR"} />;
|
|
146
|
+
|
|
147
|
+
case "CURRENCY":
|
|
148
|
+
return <SvgIconCurrency color={color} size={size} icon={"CURRENCY"} />;
|
|
149
|
+
|
|
150
|
+
case "GAUGE":
|
|
151
|
+
return <SvgIconGauge color={color} size={size} icon={"GAUGE"} />;
|
|
152
|
+
|
|
153
|
+
case "GAS_PUMP":
|
|
154
|
+
return <SvgIconGasPump color={color} size={size} icon={"GAS_PUMP"} />;
|
|
155
|
+
|
|
156
|
+
case "ARROW_LEFT":
|
|
157
|
+
return <SvgIconArrowLeft color={color} size={size} icon={"ARROW_LEFT"} />;
|
|
158
|
+
|
|
159
|
+
case "ARROW_CHEVRON_UP":
|
|
160
|
+
return <ArrowChevronUp color={color} size={size} icon={"ARROW_CHEVRON_UP"} />;
|
|
161
|
+
|
|
162
|
+
case "ARROW_CHEVRON_DOWN":
|
|
163
|
+
return <ArrowChevronDown color={color} size={size} icon={"ARROW_CHEVRON_DOWN"} />;
|
|
164
|
+
|
|
165
|
+
case "BLUETOOTH":
|
|
166
|
+
return (
|
|
167
|
+
<SvgIconBluetooth background={background} color={color} size={size} icon={"BLUETOOTH"} />
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
case "BLUETOOTH_CONNECTED":
|
|
171
|
+
return <SvgIconBluetoothConnected color={color} size={size} icon={"BLUETOOTH_CONNECTED"} />;
|
|
172
|
+
|
|
173
|
+
case "LIST":
|
|
174
|
+
return <SvgIconList color={color} size={size} icon={"LIST"} />;
|
|
175
|
+
|
|
176
|
+
case "WIFI_HIGH":
|
|
177
|
+
return <SvgIconWiFiHigh color={color} size={size} icon={"WIFI_HIGH"} />;
|
|
178
|
+
|
|
179
|
+
case "WIFI_X":
|
|
180
|
+
return <SvgIconWiFiX color={color} size={size} icon={"WIFI_X"} />;
|
|
181
|
+
|
|
182
|
+
case "NOTE_PINCEL":
|
|
183
|
+
return <SvgIconNotePencil color={color} size={size} icon={"NOTE_PINCEL"} />;
|
|
184
|
+
|
|
185
|
+
case "CHECK_CIRCLE":
|
|
186
|
+
return (
|
|
187
|
+
<SvgIconCheckCircle
|
|
188
|
+
color={color}
|
|
189
|
+
background={background}
|
|
190
|
+
size={size}
|
|
191
|
+
icon={"CHECK_CIRCLE"}
|
|
192
|
+
/>
|
|
193
|
+
);
|
|
194
|
+
|
|
195
|
+
case "ARROW_DROP_DOWN":
|
|
196
|
+
return <SvgIconArrowDropDown color={color} size={size} icon={"ARROW_DROP_DOWN"} />;
|
|
197
|
+
|
|
198
|
+
case "CLOSED":
|
|
199
|
+
return <SvgIconClosed color={color} size={size} icon={"CLOSED"} />;
|
|
200
|
+
|
|
201
|
+
case "BELL":
|
|
202
|
+
return <SvgIconBell color={color} size={size} icon={"BELL"} />;
|
|
203
|
+
|
|
204
|
+
case "BED":
|
|
205
|
+
return <SvgIconBed color={color} size={size} icon={"BED"} />;
|
|
206
|
+
|
|
207
|
+
case "FILES":
|
|
208
|
+
return <SvgIconFiles color={color} size={size} icon={"FILES"} />;
|
|
209
|
+
|
|
210
|
+
case "LIFEBUOY":
|
|
211
|
+
return <SvgIconLifebuoy color={color} size={size} icon={"LIFEBUOY"} />;
|
|
212
|
+
|
|
213
|
+
case "RECUSED":
|
|
214
|
+
return <SvgIconRecused color={color} size={size} icon={"RECUSED"} />;
|
|
215
|
+
|
|
216
|
+
case "EXCLAMATION_CIRCLE":
|
|
217
|
+
return (
|
|
218
|
+
<SvgIconExclamationCircle
|
|
219
|
+
background={background}
|
|
220
|
+
color={color}
|
|
221
|
+
size={size}
|
|
222
|
+
icon={"EXCLAMATION_CIRCLE"}
|
|
223
|
+
/>
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
case "EXCLAMATION_TRIANGLE":
|
|
227
|
+
return <SvgIconWarningTriangle color={color} size={size} icon={"EXCLAMATION_TRIANGLE"} />;
|
|
228
|
+
|
|
229
|
+
case "PLUS":
|
|
230
|
+
return <SvgIconPlus color={color} size={size} icon={"PLUS"} />;
|
|
231
|
+
|
|
232
|
+
case "X_CIRCLE":
|
|
233
|
+
return <SvgIconXCirle color={color} size={size} icon={"X_CIRCLE"} />;
|
|
234
|
+
|
|
235
|
+
case "CAR":
|
|
236
|
+
return <SvgIconCar color={color} size={size} icon={"CAR"} />;
|
|
237
|
+
|
|
238
|
+
case "HOUSE":
|
|
239
|
+
return <SvgIconHouse color={color} size={size} icon={"HOUSE"} />;
|
|
240
|
+
|
|
241
|
+
case "HOURGLASS":
|
|
242
|
+
return <SvgIconHourglass color={color} size={size} icon={"HOURGLASS"} />;
|
|
243
|
+
|
|
244
|
+
case "ISLAND":
|
|
245
|
+
return <SvgIconIsland color={color} size={size} icon={"ISLAND"} />;
|
|
246
|
+
|
|
247
|
+
case "TRUCK_ACTIVITY":
|
|
248
|
+
return (
|
|
249
|
+
<SvgIconTruckActivity
|
|
250
|
+
color={color}
|
|
251
|
+
size={size}
|
|
252
|
+
background={background}
|
|
253
|
+
icon={"TRUCK_ACTIVITY"}
|
|
254
|
+
/>
|
|
255
|
+
);
|
|
256
|
+
|
|
257
|
+
case "COFFEE":
|
|
258
|
+
return <SvgIconCoffee color={color} size={size} icon={"COFFEE"} />;
|
|
259
|
+
|
|
260
|
+
case "PLUS_CONTAINER":
|
|
261
|
+
return <SvgIconPlusContainer color={color} size={size} icon="PLUS_CONTAINER" />;
|
|
262
|
+
|
|
263
|
+
case "TRASH":
|
|
264
|
+
return <SvgIconPlusTrash color={color} size={size} icon="TRASH" />;
|
|
265
|
+
default:
|
|
266
|
+
return <SvgIconCameraPlus color={color} size={size} icon={"CAMERA_PLUS"} />;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
const IconsMenuItems: React.FC<ISvgProps> = ({ icon, color, size }) => {
|
|
271
|
+
switch (icon) {
|
|
272
|
+
case "COIL":
|
|
273
|
+
return <SvgPackage color={color} size={size} icon={"COIL"} />;
|
|
274
|
+
case "LOADING":
|
|
275
|
+
return <SvgTruckTrailer color={color} size={size} icon={"LOADING"} />;
|
|
276
|
+
|
|
277
|
+
case "HISTORY":
|
|
278
|
+
return <SvgChartBar color={color} size={size} icon={"HISTORY"} />;
|
|
279
|
+
|
|
280
|
+
default:
|
|
281
|
+
return <SvgPackage color={color} size={size} icon={"COIL"} />;
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* EXPORTS
|
|
287
|
+
*/
|
|
288
|
+
|
|
289
|
+
export { Icons, IconsMenuItems };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import Svg, { Path } from "react-native-svg";
|
|
6
|
+
|
|
7
|
+
//typings
|
|
8
|
+
import { type ISvgProps } from "../interface";
|
|
9
|
+
|
|
10
|
+
const SvgIconPlusContainer: React.FC<ISvgProps> = ({ color, size, ...res }) => (
|
|
11
|
+
<Svg
|
|
12
|
+
//@ts-ignore
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width={size ?? 18}
|
|
15
|
+
height={size ? size - 2 : 16}
|
|
16
|
+
fill="none"
|
|
17
|
+
viewBox={`0 0 ${size ?? "18"} ${size ?? "16"}`}
|
|
18
|
+
{...res}
|
|
19
|
+
>
|
|
20
|
+
<Path
|
|
21
|
+
fill={color ?? "#050022"}
|
|
22
|
+
fillRule="evenodd"
|
|
23
|
+
d="M16.348 13.625c0 .516-.476.938-1.062.938H2.536c-.587 0-1.063-.422-1.063-.938V2.375c0-.516.476-.937 1.063-.937h12.75c.586 0 1.062.421 1.062.937zM15.286.5H2.536C1.362.5.41 1.34.41 2.375v11.25c0 1.036.951 1.875 2.125 1.875h12.75c1.173 0 2.125-.84 2.125-1.875V2.375C17.41 1.339 16.459.5 15.286.5m-3.188 7.031H9.442V5.188c0-.258-.238-.47-.531-.47s-.532.212-.532.47V7.53H5.723c-.293 0-.531.211-.531.469s.238.469.531.469H8.38v2.344c0 .257.238.468.532.468.293 0 .531-.21.531-.469V8.47h2.656c.293 0 .531-.211.531-.469s-.237-.469-.53-.469"
|
|
24
|
+
clipRule="evenodd"
|
|
25
|
+
></Path>
|
|
26
|
+
</Svg>
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* EXPORTS
|
|
31
|
+
*/
|
|
32
|
+
export { SvgIconPlusContainer };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import Svg, { Path } from "react-native-svg";
|
|
6
|
+
|
|
7
|
+
// typings
|
|
8
|
+
import { type ISvgProps } from "../interface";
|
|
9
|
+
|
|
10
|
+
const SvgIconPlusTrash: React.FC<ISvgProps> = ({ color, size }) => (
|
|
11
|
+
<Svg
|
|
12
|
+
//@ts-ignore
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width={size ? size - 2 : 16}
|
|
15
|
+
height={size}
|
|
16
|
+
fill="none"
|
|
17
|
+
viewBox="0 0 16 18"
|
|
18
|
+
>
|
|
19
|
+
<Path
|
|
20
|
+
stroke={color ?? "9F0000"}
|
|
21
|
+
strokeLinecap="round"
|
|
22
|
+
strokeLinejoin="round"
|
|
23
|
+
d="m2.59 3.5.733 11.012c.065.964.097 1.447.305 1.812.184.322.46.58.794.742.378.184.862.184 1.828.184h3.678c.967 0 1.45 0 1.829-.183.333-.162.61-.42.793-.743.209-.366.24-.848.305-1.812L13.59 3.5m1.834 0H.756m3.667 0 .248-.744c.24-.722.36-1.082.583-1.349.197-.235.45-.417.736-.53C6.313.75 6.693.75 7.454.75h1.271c.76 0 1.14 0 1.464.127.286.113.538.295.735.53.223.267.344.627.584 1.349l.248.744m-5.5 3.667v6.416m3.667-6.416v6.416"
|
|
24
|
+
></Path>
|
|
25
|
+
</Svg>
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* EXPORTS
|
|
30
|
+
*/
|
|
31
|
+
export { SvgIconPlusTrash };
|