ca-components 2.1.142 → 2.1.151
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/fesm2022/ca-components.mjs +45 -21
- package/fesm2022/ca-components.mjs.map +1 -1
- package/index.d.ts +435 -5
- package/lib/animations/accordion-animation.ts +41 -0
- package/lib/animations/animation.ts +33 -0
- package/lib/animations/area-left-side.animation.ts +44 -0
- package/lib/animations/area-right-side.animation.ts +43 -0
- package/lib/animations/card-component.animation.ts +78 -0
- package/lib/animations/close-form.animation.ts +34 -0
- package/lib/animations/expand-search-button.animation.ts +17 -0
- package/lib/animations/fade-in.animation.ts +15 -0
- package/lib/animations/in-out.animation.ts +87 -0
- package/lib/animations/index.ts +14 -0
- package/lib/animations/puff-in-out.animation.ts +40 -0
- package/lib/animations/search-bar-button-opacity.animation.ts +18 -0
- package/lib/animations/search-input-expand.animation.ts +18 -0
- package/lib/animations/show.animation.ts +36 -0
- package/lib/animations/slide-in-out.animation.ts +36 -0
- package/lib/animations/state-header.animation.ts +31 -0
- package/lib/animations/tabs-modal.animation.ts +121 -0
- package/lib/ca-components.module.ts +222 -0
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.html +227 -0
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.scss +398 -0
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.spec.ts +21 -0
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.ts +174 -0
- package/lib/components/ca-activity-log-list/ca-activity-log-list.stories.ts +29 -0
- package/lib/components/ca-activity-log-list/config/activity-log-search-filter.config.ts +18 -0
- package/lib/components/ca-activity-log-list/config/index.ts +1 -0
- package/lib/components/ca-activity-log-list/enums/action-log-type-title-text.enum.ts +5 -0
- package/lib/components/ca-activity-log-list/enums/action-log-type.enum.ts +7 -0
- package/lib/components/ca-activity-log-list/enums/activity-entity-type.enum.ts +4 -0
- package/lib/components/ca-activity-log-list/enums/activity-log-utils.enum.ts +4 -0
- package/lib/components/ca-activity-log-list/enums/index.ts +4 -0
- package/lib/components/ca-activity-log-list/models/action-log.model.ts +7 -0
- package/lib/components/ca-activity-log-list/models/activity-log-item-description.model.ts +5 -0
- package/lib/components/ca-activity-log-list/models/activity-log-item.model.ts +18 -0
- package/lib/components/ca-activity-log-list/models/activity-log-list-data.model.ts +7 -0
- package/lib/components/ca-activity-log-list/models/company-user-avatar-file.model.ts +9 -0
- package/lib/components/ca-activity-log-list/models/company-user.model.ts +10 -0
- package/lib/components/ca-activity-log-list/models/entity-type-activity.model.ts +4 -0
- package/lib/components/ca-activity-log-list/models/index.ts +7 -0
- package/lib/components/ca-activity-log-list/utils/constants/activity-log-list-data.constants.ts +537 -0
- package/lib/components/ca-activity-log-list/utils/constants/index.ts +1 -0
- package/lib/components/ca-activity-log-list/utils/pipes/action-log-name-transform.pipe.ts +11 -0
- package/lib/components/ca-activity-log-list/utils/pipes/activity-log-date-transform.pipe.ts +14 -0
- package/lib/components/ca-activity-log-list/utils/pipes/company-user-name-transform.pipe.ts +13 -0
- package/lib/components/ca-activity-log-list/utils/pipes/index.ts +4 -0
- package/lib/components/ca-activity-log-list/utils/pipes/tab-title-transform.pipe.ts +13 -0
- package/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.html +20 -0
- package/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.scss +0 -0
- package/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.ts +74 -0
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.html +18 -0
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.scss +0 -0
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.ts +56 -0
- package/lib/components/ca-autoclose-popover/enums/autoclose-string.enum.ts +3 -0
- package/lib/components/ca-chart/ca-chart.component.html +76 -0
- package/lib/components/ca-chart/ca-chart.component.scss +39 -0
- package/lib/components/ca-chart/ca-chart.component.spec.ts +21 -0
- package/lib/components/ca-chart/ca-chart.component.ts +912 -0
- package/lib/components/ca-chart/ca-chart.stories.ts +121 -0
- package/lib/components/ca-chart/config/ca-base-chart-dataset.config.ts +12 -0
- package/lib/components/ca-chart/config/index.ts +1 -0
- package/lib/components/ca-chart/enums/chart-annotation-type.enum.ts +8 -0
- package/lib/components/ca-chart/enums/chart-annotation.enum.ts +15 -0
- package/lib/components/ca-chart/enums/chart-colors.enum.ts +7 -0
- package/lib/components/ca-chart/enums/chart-event-properties.enum.ts +5 -0
- package/lib/components/ca-chart/enums/chart-event-types.enum.ts +3 -0
- package/lib/components/ca-chart/enums/chart-font-properties.enum.ts +4 -0
- package/lib/components/ca-chart/enums/chart-images.enum.ts +7 -0
- package/lib/components/ca-chart/enums/chart-plugin-ids.enum.ts +6 -0
- package/lib/components/ca-chart/enums/cubic-interpolation-mode.enum.ts +4 -0
- package/lib/components/ca-chart/enums/e-chart-types.enum.ts +5 -0
- package/lib/components/ca-chart/enums/index.ts +10 -0
- package/lib/components/ca-chart/models/chart-annotation.model.ts +15 -0
- package/lib/components/ca-chart/models/chart-base-dataset.model.ts +20 -0
- package/lib/components/ca-chart/models/chart-boundaries.model.ts +4 -0
- package/lib/components/ca-chart/models/chart-center-label.model.ts +11 -0
- package/lib/components/ca-chart/models/chart-config.model.ts +29 -0
- package/lib/components/ca-chart/models/chart-data.model.ts +6 -0
- package/lib/components/ca-chart/models/chart-dataset-hover.model.ts +5 -0
- package/lib/components/ca-chart/models/chart-legend-config.model.ts +7 -0
- package/lib/components/ca-chart/models/chart-legend-property.model.ts +10 -0
- package/lib/components/ca-chart/models/chart-line-dataset.model.ts +16 -0
- package/lib/components/ca-chart/models/index.ts +10 -0
- package/lib/components/ca-chart/utils/constants/chart.constants.ts +3 -0
- package/lib/components/ca-chart/utils/constants/index.ts +1 -0
- package/lib/components/ca-chart/utils/guards/chart-type.guard.ts +10 -0
- package/lib/components/ca-chart/utils/guards/index.ts +1 -0
- package/lib/components/ca-chart/utils/helpers/chart.helper.ts +294 -0
- package/lib/components/ca-chart/utils/helpers/index.ts +1 -0
- package/lib/components/ca-chart/utils/svg-routes/chart-svg-routes.ts +12 -0
- package/lib/components/ca-chart/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-chart-manager/ca-chart-manager.component.html +27 -0
- package/lib/components/ca-chart-manager/ca-chart-manager.component.scss +13 -0
- package/lib/components/ca-chart-manager/ca-chart-manager.component.spec.ts +21 -0
- package/lib/components/ca-chart-manager/ca-chart-manager.component.ts +131 -0
- package/lib/components/ca-chart-manager/models/hover-state.model.ts +7 -0
- package/lib/components/ca-chart-manager/models/index.ts +1 -0
- package/lib/components/ca-chart-manager/services/chart-manager.service.ts +21 -0
- package/lib/components/ca-chart-manager/services/index.ts +1 -0
- package/lib/components/ca-checkbox/ca-checkbox.component.html +207 -0
- package/lib/components/ca-checkbox/ca-checkbox.component.scss +417 -0
- package/lib/components/ca-checkbox/ca-checkbox.component.spec.ts +23 -0
- package/lib/components/ca-checkbox/ca-checkbox.component.ts +190 -0
- package/lib/components/ca-checkbox/ca-checkbox.stories.ts +87 -0
- package/lib/components/ca-checkbox/interfaces/column-check-action.interface.ts +6 -0
- package/lib/components/ca-checkbox/interfaces/index.ts +1 -0
- package/lib/components/ca-checkbox/utils/svg-routes/checkbox-svg-routes.ts +9 -0
- package/lib/components/ca-checkbox/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.html +83 -0
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.scss +17 -0
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.spec.ts +23 -0
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.ts +70 -0
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-cpunt.component.stories.ts +90 -0
- package/lib/components/ca-checkbox-selected-count/pipes/checkbox-selected-count-class.pipe.ts +27 -0
- package/lib/components/ca-checkbox-selected-count/pipes/index.ts +1 -0
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.html +41 -0
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.scss +64 -0
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.stories.ts +79 -0
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.ts +81 -0
- package/lib/components/ca-comment/ca-comment.component.html +124 -0
- package/lib/components/ca-comment/ca-comment.component.scss +174 -0
- package/lib/components/ca-comment/ca-comment.component.ts +144 -0
- package/lib/components/ca-comment/ca-comment.stories.ts +133 -0
- package/lib/components/ca-comment/directives/auto-resize.directive.ts +41 -0
- package/lib/components/ca-comment/directives/index.ts +1 -0
- package/lib/components/ca-comment/enums/index.ts +1 -0
- package/lib/components/ca-comment/enums/svg-icon.enum.ts +6 -0
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.html +52 -0
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.scss +232 -0
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.spec.ts +21 -0
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.ts +46 -0
- package/lib/components/ca-comment/modals/comment-modal/svg-routes/index.ts +1 -0
- package/lib/components/ca-comment/modals/comment-modal/svg-routes/modal.routes.ts +4 -0
- package/lib/components/ca-comment/models/ca-comment-config.model.ts +11 -0
- package/lib/components/ca-comment/models/ca-delete-comment.model.ts +1 -0
- package/lib/components/ca-comment/models/ca-save-comment.model.ts +3 -0
- package/lib/components/ca-comment/models/ca-update-comment.model.ts +5 -0
- package/lib/components/ca-comment/models/index.ts +4 -0
- package/lib/components/ca-comment/pipes/icon.pipe.ts +18 -0
- package/lib/components/ca-comment/pipes/index.ts +1 -0
- package/lib/components/ca-comment/services/index.ts +1 -0
- package/lib/components/ca-comment/services/modal.service.ts +31 -0
- package/lib/components/ca-comment/utils/constants/comment.constant.ts +10 -0
- package/lib/components/ca-comment/utils/constants/index.ts +1 -0
- package/lib/components/ca-comment/utils/index.ts +1 -0
- package/lib/components/ca-comments/ca-comments.component.html +695 -0
- package/lib/components/ca-comments/ca-comments.component.scss +135 -0
- package/lib/components/ca-comments/ca-comments.component.spec.ts +23 -0
- package/lib/components/ca-comments/ca-comments.component.ts +257 -0
- package/lib/components/ca-comments/ca-comments.stories.ts +150 -0
- package/lib/components/ca-comments/models/comment.interface.ts +18 -0
- package/lib/components/ca-comments/models/index.ts +1 -0
- package/lib/components/ca-comments/pipes/highlight-comment.pipe.ts +51 -0
- package/lib/components/ca-comments/pipes/highlight-single-string.pipe.ts +26 -0
- package/lib/components/ca-comments/pipes/index.ts +4 -0
- package/lib/components/ca-comments/pipes/is-current-user.pipe.ts +24 -0
- package/lib/components/ca-comments/pipes/sort-comments.pipe.ts +35 -0
- package/lib/components/ca-comments/utils/helpers/index.ts +0 -0
- package/lib/components/ca-confirmation-modals/components/ca-activate-modal/ca-active-modal.component.html +78 -0
- package/lib/components/ca-confirmation-modals/components/ca-activate-modal/ca-active-modal.component.scss +0 -0
- package/lib/components/ca-confirmation-modals/components/ca-activate-modal/ca-active-modal.component.ts +49 -0
- package/lib/components/ca-confirmation-modals/components/ca-deactive-modal/ca-deactive-modal.component.html +76 -0
- package/lib/components/ca-confirmation-modals/components/ca-deactive-modal/ca-deactive-modal.component.scss +0 -0
- package/lib/components/ca-confirmation-modals/components/ca-deactive-modal/ca-deactive-modal.component.ts +58 -0
- package/lib/components/ca-confirmation-modals/components/ca-delete-modal/ca-delete-modal.component.html +74 -0
- package/lib/components/ca-confirmation-modals/components/ca-delete-modal/ca-delete-modal.component.scss +0 -0
- package/lib/components/ca-confirmation-modals/components/ca-delete-modal/ca-delete-modal.component.ts +48 -0
- package/lib/components/ca-confirmation-modals/components/ca-move-modal/ca-move-modal.component.html +78 -0
- package/lib/components/ca-confirmation-modals/components/ca-move-modal/ca-move-modal.component.scss +3 -0
- package/lib/components/ca-confirmation-modals/components/ca-move-modal/ca-move-modal.component.ts +49 -0
- package/lib/components/ca-confirmation-modals/components/ca-reset-table-modal/ca-reset-table-modal.component.html +74 -0
- package/lib/components/ca-confirmation-modals/components/ca-reset-table-modal/ca-reset-table-modal.component.scss +0 -0
- package/lib/components/ca-confirmation-modals/components/ca-reset-table-modal/ca-reset-table-modal.component.ts +48 -0
- package/lib/components/ca-confirmation-modals/components/ca-void-modal/ca-void-modal.component.html +74 -0
- package/lib/components/ca-confirmation-modals/components/ca-void-modal/ca-void-modal.component.scss +0 -0
- package/lib/components/ca-confirmation-modals/components/ca-void-modal/ca-void-modal.component.ts +48 -0
- package/lib/components/ca-confirmation-modals/components/interfaces/file.interface.ts +11 -0
- package/lib/components/ca-confirmation-modals/components/interfaces/modal-data.interface.ts +11 -0
- package/lib/components/ca-confirmation-modals/interfaces/confirmation-modal-buttons.interface.ts +7 -0
- package/lib/components/ca-confirmation-modals/interfaces/index.ts +1 -0
- package/lib/components/ca-confirmation-modals/utils/constants/confirmation-modal-buttons.constants.ts +28 -0
- package/lib/components/ca-confirmation-modals/utils/constants/index.ts +1 -0
- package/lib/components/ca-contacts-card/ca-contacts-card.component.html +200 -0
- package/lib/components/ca-contacts-card/ca-contacts-card.component.scss +0 -0
- package/lib/components/ca-contacts-card/ca-contacts-card.component.spec.ts +23 -0
- package/lib/components/ca-contacts-card/ca-contacts-card.component.stories.ts +84 -0
- package/lib/components/ca-contacts-card/ca-contacts-card.component.ts +86 -0
- package/lib/components/ca-contacts-card/interfaces/contact-department.interface.ts +7 -0
- package/lib/components/ca-contacts-card/interfaces/contact.interface.ts +7 -0
- package/lib/components/ca-contacts-card/interfaces/index.ts +2 -0
- package/lib/components/ca-custom-card/ca-custom-card.component.html +164 -0
- package/lib/components/ca-custom-card/ca-custom-card.component.scss +187 -0
- package/lib/components/ca-custom-card/ca-custom-card.component.stories.ts +97 -0
- package/lib/components/ca-custom-card/ca-custom-card.component.ts +181 -0
- package/lib/components/ca-custom-card/utils/animations/card-modal.animation.ts +80 -0
- package/lib/components/ca-custom-card/utils/animations/index.ts +1 -0
- package/lib/components/ca-custom-card/utils/enums/custom-card.enum.ts +4 -0
- package/lib/components/ca-custom-card/utils/enums/index.ts +1 -0
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.html +158 -0
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.spec.ts +24 -0
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.ts +298 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.html +190 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.ts +241 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.html +23 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.ts +61 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.html +26 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.ts +194 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.html +66 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.ts +158 -0
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-left-string.enum.ts +5 -0
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-list-preview-string.enum.ts +4 -0
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-main-string.enum.ts +5 -0
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-scroll-type-string.enum.ts +4 -0
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-string.enum.ts +6 -0
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-type-string.enum.ts +3 -0
- package/lib/components/ca-custom-datetime-pickers/models/scroll-change.model.ts +6 -0
- package/lib/components/ca-custom-datetime-pickers/models/scroll-type.model.ts +8 -0
- package/lib/components/ca-custom-datetime-pickers/pipes/calendar-months.pipe.ts +23 -0
- package/lib/components/ca-custom-datetime-pickers/services/calendar-datetime-picker.service.ts +35 -0
- package/lib/components/ca-custom-datetime-pickers/strategy/calendar-strategy.ts +120 -0
- package/lib/components/ca-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.ts +48 -0
- package/lib/components/ca-custom-datetime-pickers-test/ca-custom-datetime-pickers-test.component.html +158 -0
- package/lib/components/ca-custom-datetime-pickers-test/ca-custom-datetime-pickers-test.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers-test/ca-custom-datetime-pickers-test.component.spec.ts +24 -0
- package/lib/components/ca-custom-datetime-pickers-test/ca-custom-datetime-pickers-test.component.ts +298 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.html +186 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.ts +226 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.html +22 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.ts +61 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.html +26 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.ts +194 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.html +66 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.scss +0 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.spec.ts +26 -0
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.ts +158 -0
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-left-string.enum.ts +5 -0
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-list-preview-string.enum.ts +4 -0
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-main-string.enum.ts +5 -0
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-scroll-type-string.enum.ts +4 -0
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-string.enum.ts +6 -0
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-type-string.enum.ts +3 -0
- package/lib/components/ca-custom-datetime-pickers-test/models/scroll-change.model.ts +6 -0
- package/lib/components/ca-custom-datetime-pickers-test/models/scroll-type.model.ts +8 -0
- package/lib/components/ca-custom-datetime-pickers-test/pipes/calendar-months.pipe.ts +23 -0
- package/lib/components/ca-custom-datetime-pickers-test/services/calendar-datetime-picker.service.ts +35 -0
- package/lib/components/ca-custom-datetime-pickers-test/strategy/calendar-strategy.ts +120 -0
- package/lib/components/ca-custom-datetime-pickers-test/utils/constants/custom-datetime-pickers.constants.ts +48 -0
- package/lib/components/ca-custom-horizontal-scrollbar/ca-custom-horizontal-scrollbar.component.html +20 -0
- package/lib/components/ca-custom-horizontal-scrollbar/ca-custom-horizontal-scrollbar.component.scss +11 -0
- package/lib/components/ca-custom-horizontal-scrollbar/ca-custom-horizontal-scrollbar.component.ts +23 -0
- package/lib/components/ca-custom-horizontal-scrollbar/directives/scrollbar-sync.directive.ts +200 -0
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.html +72 -0
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.scss +78 -0
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.spec.ts +23 -0
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.ts +278 -0
- package/lib/components/ca-custom-scrollbar/enums/event-type.enum.ts +6 -0
- package/lib/components/ca-custom-scrollbar/enums/index.ts +2 -0
- package/lib/components/ca-custom-scrollbar/enums/scroll-event-action.enum.ts +4 -0
- package/lib/components/ca-custom-scrollbar/models/index.ts +2 -0
- package/lib/components/ca-custom-scrollbar/models/scroll-bar-options.model.ts +6 -0
- package/lib/components/ca-custom-scrollbar/models/scroll-event.model.ts +8 -0
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.html +77 -0
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.scss +357 -0
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.ts +132 -0
- package/lib/components/ca-details-dropdown/models/detail-dropdown.model.ts +17 -0
- package/lib/components/ca-details-dropdown/utils/svg-routes/detail-dropdown-svg-routes.ts +3 -0
- package/lib/components/ca-details-title-card/ca-details-title-card.component.html +98 -0
- package/lib/components/ca-details-title-card/ca-details-title-card.component.scss +153 -0
- package/lib/components/ca-details-title-card/ca-details-title-card.component.stories.ts +100 -0
- package/lib/components/ca-details-title-card/ca-details-title-card.component.ts +140 -0
- package/lib/components/ca-details-title-card/interfaces/ca-details-title-card-config.interface.ts +11 -0
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.html +289 -0
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.scss +334 -0
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.spec.ts +21 -0
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.stories.ts +162 -0
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.ts +287 -0
- package/lib/components/ca-dropdown-menu/enums/dropdown-menu-item-type.enum.ts +11 -0
- package/lib/components/ca-dropdown-menu/enums/dropdown-menu.enum.ts +25 -0
- package/lib/components/ca-dropdown-menu/enums/index.ts +2 -0
- package/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-item.interface.ts +22 -0
- package/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-option-emit.interface.ts +5 -0
- package/lib/components/ca-dropdown-menu/interfaces/index.ts +2 -0
- package/lib/components/ca-dropdown-menu/pipes/dropdown-menu-placement-class.pipe.ts +18 -0
- package/lib/components/ca-dropdown-menu/pipes/group-item-checked-state.pipe.ts +20 -0
- package/lib/components/ca-dropdown-menu/pipes/index.ts +2 -0
- package/lib/components/ca-dropdown-menu/types/dropdown-menu-type.type.ts +4 -0
- package/lib/components/ca-dropdown-menu/types/index.ts +1 -0
- package/lib/components/ca-dropdown-menu/utils/constants/dropdown-menu.constants.ts +228 -0
- package/lib/components/ca-dropdown-menu/utils/constants/index.ts +1 -0
- package/lib/components/ca-dropdown-menu/utils/helpers/dropdown-menu.helper.ts +16 -0
- package/lib/components/ca-dropdown-menu/utils/helpers/index.ts +1 -0
- package/lib/components/ca-dropdown-menu/utils/svg-routes/dropdown-menu-svg-routes.ts +10 -0
- package/lib/components/ca-dropdown-menu/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.html +365 -0
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.scss +36 -0
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.ts +236 -0
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.stories.ts +41 -0
- package/lib/components/ca-factoring-dropdown/enums/factoring-form-control.enum.ts +6 -0
- package/lib/components/ca-factoring-dropdown/enums/factoring-pdf-format.enum.ts +4 -0
- package/lib/components/ca-factoring-dropdown/enums/factoring-pdf-organize.enum.ts +4 -0
- package/lib/components/ca-factoring-dropdown/enums/index.ts +3 -0
- package/lib/components/ca-factoring-dropdown/interfaces/factoring-checkbox-item.interface.ts +5 -0
- package/lib/components/ca-factoring-dropdown/interfaces/factoring-export-item.interface.ts +14 -0
- package/lib/components/ca-factoring-dropdown/interfaces/index.ts +2 -0
- package/lib/components/ca-factoring-dropdown/utils/constants/factoring-dropdown.constants.ts +57 -0
- package/lib/components/ca-factoring-dropdown/utils/constants/index.ts +1 -0
- package/lib/components/ca-files-count/ca-files-count.component.html +38 -0
- package/lib/components/ca-files-count/ca-files-count.component.scss +1 -0
- package/lib/components/ca-files-count/ca-files-count.component.spec.ts +23 -0
- package/lib/components/ca-files-count/ca-files-count.component.stories.ts +37 -0
- package/lib/components/ca-files-count/ca-files-count.component.ts +50 -0
- package/lib/components/ca-filters/ca-filter.component.html +557 -0
- package/lib/components/ca-filters/ca-filter.component.scss +316 -0
- package/lib/components/ca-filters/ca-filter.component.stories.ts +420 -0
- package/lib/components/ca-filters/ca-filter.component.ts +572 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.html +162 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.scss +394 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.ts +299 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-broker-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-dispatcher-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-driver-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-fuel-stop-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/index.ts +4 -0
- package/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.html +126 -0
- package/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.scss +371 -0
- package/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.ts +171 -0
- package/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.html +184 -0
- package/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.scss +397 -0
- package/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.ts +348 -0
- package/lib/components/ca-filters/components/ca-state-filter/config/ca-state-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-state-filter/config/index.ts +1 -0
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.html +137 -0
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.scss +212 -0
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.ts +225 -0
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.html +37 -0
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.scss +122 -0
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.ts +171 -0
- package/lib/components/ca-filters/components/ca-time-filter-dropdown/ca-time-filter-dropdown.component.html +33 -0
- package/lib/components/ca-filters/components/ca-time-filter-dropdown/ca-time-filter-dropdown.component.scss +114 -0
- package/lib/components/ca-filters/components/ca-time-filter-dropdown/ca-time-filter-dropdown.component.ts +198 -0
- package/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.html +127 -0
- package/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.scss +372 -0
- package/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.ts +242 -0
- package/lib/components/ca-filters/components/ca-trailer-type-filter/config/ca-trailer-type-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-trailer-type-filter/config/index.ts +1 -0
- package/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.html +125 -0
- package/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.scss +378 -0
- package/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.ts +236 -0
- package/lib/components/ca-filters/components/ca-truck-type-filter/config/ca-truck-type-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-truck-type-filter/config/index.ts +1 -0
- package/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.html +220 -0
- package/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.scss +597 -0
- package/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.ts +324 -0
- package/lib/components/ca-filters/components/ca-user-filter/config/ca-user-filter.config.ts +16 -0
- package/lib/components/ca-filters/components/ca-user-filter/config/index.ts +1 -0
- package/lib/components/ca-filters/components/ca-user-filter/models/ca-user-data.model.ts +10 -0
- package/lib/components/ca-filters/components/ca-user-filter/models/ca-user-group.model.ts +7 -0
- package/lib/components/ca-filters/components/ca-user-filter/models/index.ts +2 -0
- package/lib/components/ca-filters/components/ca-user-filter/pipes/filter-selected-items.pipe.ts +15 -0
- package/lib/components/ca-filters/components/ca-user-filter/pipes/group-selection-state.pipe.ts +19 -0
- package/lib/components/ca-filters/components/ca-user-filter/pipes/index.ts +3 -0
- package/lib/components/ca-filters/components/ca-user-filter/pipes/selected-users.pipe.ts +16 -0
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.html +22 -0
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.scss +355 -0
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.ts +181 -0
- package/lib/components/ca-filters/enums/filter-actions-string.enum.ts +6 -0
- package/lib/components/ca-filters/enums/index.ts +1 -0
- package/lib/components/ca-filters/pipes/filter-conditions-clear.pipe.ts +81 -0
- package/lib/components/ca-filters/pipes/filter-conditions-set.pipe.ts +106 -0
- package/lib/components/ca-filters/pipes/filter-conditions-user-box.pipe.ts +39 -0
- package/lib/components/ca-filters/pipes/filter-popover-conditions.pipe.ts +146 -0
- package/lib/components/ca-filters/pipes/filter-trailer-color.pipe.ts +37 -0
- package/lib/components/ca-filters/pipes/filter-truck-color.pipe.ts +32 -0
- package/lib/components/ca-filters/pipes/index.ts +6 -0
- package/lib/components/ca-filters/utils/constants/directive.constants.ts +1342 -0
- package/lib/components/ca-filters/utils/constants/filter-config.constants.ts +44 -0
- package/lib/components/ca-filters/utils/constants/index.ts +2 -0
- package/lib/components/ca-filters/utils/constants/status-filter.constants.ts +258 -0
- package/lib/components/ca-filters/utils/helpers/filter.helper.ts +277 -0
- package/lib/components/ca-filters/utils/helpers/index.ts +2 -0
- package/lib/components/ca-filters/utils/helpers/time-filter.helper.ts +118 -0
- package/lib/components/ca-filters/utils/svg-routes/ca-filters-svg-routes.ts +15 -0
- package/lib/components/ca-filters/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-filters/validators/range.validator.ts +23 -0
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.html +271 -0
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.scss +271 -0
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.spec.ts +23 -0
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.ts +248 -0
- package/lib/components/ca-fleet-filter/ca-fleet-filter.stories.ts +42 -0
- package/lib/components/ca-fleet-filter/enums/fleet-filter-item-type.enum.ts +4 -0
- package/lib/components/ca-fleet-filter/enums/index.ts +1 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-data.interface.ts +10 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-item-emit.interface.ts +6 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-trailer-type.interface.ts +7 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-trailer.interface.ts +8 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-truck-type.interface.ts +6 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-truck.interface.ts +8 -0
- package/lib/components/ca-fleet-filter/interfaces/index.ts +6 -0
- package/lib/components/ca-fleet-filter/utils/constants/fleet-filter.constants.ts +204 -0
- package/lib/components/ca-fleet-filter/utils/constants/index.ts +1 -0
- package/lib/components/ca-fleet-filter/utils/helpers/fleet-filter.helper.ts +56 -0
- package/lib/components/ca-fleet-filter/utils/helpers/index.ts +1 -0
- package/lib/components/ca-fleet-filter/utils/pipes/index.ts +1 -0
- package/lib/components/ca-fleet-filter/utils/pipes/remove-svg-extension.pipe.ts +11 -0
- package/lib/components/ca-fleet-filter/utils/svg-routes/fleet-filter-svg-routes.ts +7 -0
- package/lib/components/ca-fleet-filter/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.html +116 -0
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.scss +28 -0
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.spec.ts +23 -0
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.ts +62 -0
- package/lib/components/ca-fuel-prices-range/interfaces/fuel-prices-range-config.interface.ts +6 -0
- package/lib/components/ca-fuel-prices-range/interfaces/index.ts +1 -0
- package/lib/components/ca-fuel-prices-range/pipes/fuel-prices-range.pipe.ts +29 -0
- package/lib/components/ca-fuel-prices-range/pipes/index.ts +1 -0
- package/lib/components/ca-fuel-prices-range/utils/constants/fuel-prices-range.constants.ts +28 -0
- package/lib/components/ca-fuel-prices-range/utils/constants/index.ts +1 -0
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.html +2454 -0
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.scss +25 -0
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.spec.ts +21 -0
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.ts +184 -0
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.stories.ts +45 -0
- package/lib/components/ca-heatmap-usa/constants/heatmap-usa.constants.ts +721 -0
- package/lib/components/ca-heatmap-usa/constants/index.ts +1 -0
- package/lib/components/ca-heatmap-usa/interfaces/index.ts +3 -0
- package/lib/components/ca-heatmap-usa/interfaces/map-list-item.interface.ts +6 -0
- package/lib/components/ca-heatmap-usa/interfaces/map-states.interface.ts +10 -0
- package/lib/components/ca-heatmap-usa/interfaces/top-list-by-state-item.interface.ts +11 -0
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.html +59 -0
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.scss +84 -0
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.ts +118 -0
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.stories.ts +107 -0
- package/lib/components/ca-icon-dropdown/enums/index.ts +1 -0
- package/lib/components/ca-icon-dropdown/enums/placement.enum.ts +25 -0
- package/lib/components/ca-icon-dropdown/interfaces/icon-drop-down-item.interface.ts +5 -0
- package/lib/components/ca-icon-dropdown/interfaces/icon-dropdown-config.interface.ts +19 -0
- package/lib/components/ca-icon-dropdown/interfaces/index.ts +2 -0
- package/lib/components/ca-icon-dropdown/utils/svg-routes/icon-dropdown-svg-routes.ts +3 -0
- package/lib/components/ca-icon-dropdown/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-input/base-classes/ca-input-base-helpres.ts +343 -0
- package/lib/components/ca-input/base-classes/ca-input-base.ts +1394 -0
- package/lib/components/ca-input/base-classes/ca-input-event-manager.ts +32 -0
- package/lib/components/ca-input/ca-input.component.html +640 -0
- package/lib/components/ca-input/ca-input.component.scss +413 -0
- package/lib/components/ca-input/ca-input.component.ts +311 -0
- package/lib/components/ca-input/ca-input.stories.ts +416 -0
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.html +33 -0
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.scss +0 -0
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.spec.ts +26 -0
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.ts +75 -0
- package/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.html +85 -0
- package/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.scss +0 -0
- package/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.spec.ts +26 -0
- package/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.ts +46 -0
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.html +38 -0
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.scss +0 -0
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.spec.ts +25 -0
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.ts +58 -0
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.html +50 -0
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.scss +0 -0
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.spec.ts +25 -0
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.ts +79 -0
- package/lib/components/ca-input/config/ca-input.config.ts +192 -0
- package/lib/components/ca-input/config/index.ts +1 -0
- package/lib/components/ca-input/custom-validators/email-custom.validator.ts +9 -0
- package/lib/components/ca-input/custom-validators/url-custom.validator.ts +9 -0
- package/lib/components/ca-input/directives/caps-lock.directive.ts +44 -0
- package/lib/components/ca-input/directives/command-visible.directive.ts +44 -0
- package/lib/components/ca-input/directives/index.ts +5 -0
- package/lib/components/ca-input/directives/input-max-value.directive.ts +48 -0
- package/lib/components/ca-input/directives/min-max-value.directive.ts +37 -0
- package/lib/components/ca-input/directives/price_format.directive.ts +35 -0
- package/lib/components/ca-input/directives/restrict-input.directive.ts +129 -0
- package/lib/components/ca-input/enums/index.ts +4 -0
- package/lib/components/ca-input/enums/input-commands-action.enum.ts +9 -0
- package/lib/components/ca-input/enums/input-commands-type.enum.ts +7 -0
- package/lib/components/ca-input/enums/input-config-name-string.enum.ts +7 -0
- package/lib/components/ca-input/enums/input-string.enum.ts +115 -0
- package/lib/components/ca-input/enums/input-text-transform.enum.ts +6 -0
- package/lib/components/ca-input/mixins/input-command.mixin.ts +158 -0
- package/lib/components/ca-input/mixins/input-helper.mixin.ts +61 -0
- package/lib/components/ca-input/mixins/input.mixin.ts +19 -0
- package/lib/components/ca-input/mixins/restriction-pipe.mixin.ts +54 -0
- package/lib/components/ca-input/models/base.model.ts +24 -0
- package/lib/components/ca-input/models/command-click.model.ts +5 -0
- package/lib/components/ca-input/models/commands-event.model.ts +5 -0
- package/lib/components/ca-input/models/index.ts +3 -0
- package/lib/components/ca-input/models/label-color.model.ts +11 -0
- package/lib/components/ca-input/pipes/color-finder.pipe.ts +55 -0
- package/lib/components/ca-input/pipes/form-control.pipe.ts +12 -0
- package/lib/components/ca-input/pipes/index.ts +19 -0
- package/lib/components/ca-input/pipes/input-class.pipe.ts +197 -0
- package/lib/components/ca-input/pipes/input-clear-class.pipe.ts +104 -0
- package/lib/components/ca-input/pipes/input-container-class.pipe.ts +70 -0
- package/lib/components/ca-input/pipes/input-datetime-picker-class.pipe.ts +98 -0
- package/lib/components/ca-input/pipes/input-dropdown-arrow-class.pipe.ts +68 -0
- package/lib/components/ca-input/pipes/input-error.pipe.ts +78 -0
- package/lib/components/ca-input/pipes/input-password-eye-class.pipe.ts +43 -0
- package/lib/components/ca-input/pipes/input-pattern.pipe.ts +308 -0
- package/lib/components/ca-input/pipes/input-placeholder-icon-right.pipe.ts +54 -0
- package/lib/components/ca-input/pipes/input-placeholder-icon.class.pipe.ts +69 -0
- package/lib/components/ca-input/pipes/input-placeholder-text-class.pipe.ts +52 -0
- package/lib/components/ca-input/pipes/input-type.pipe.ts +18 -0
- package/lib/components/ca-input/pipes/label-class.pipe.ts +46 -0
- package/lib/components/ca-input/pipes/show-clear.pipe.ts +19 -0
- package/lib/components/ca-input/pipes/show-dropdown-arrow.pipe.ts +23 -0
- package/lib/components/ca-input/pipes/show-invalid-danger-mark.pipe.ts +31 -0
- package/lib/components/ca-input/pipes/show-placeholder-text.pipe.ts +27 -0
- package/lib/components/ca-input/pipes/show-valid-check.pipe.ts +30 -0
- package/lib/components/ca-input/scss/ca-dropdown-input-image.scss +109 -0
- package/lib/components/ca-input/scss/ca-input.clear.scss +360 -0
- package/lib/components/ca-input/scss/ca-input.colors.scss +287 -0
- package/lib/components/ca-input/scss/ca-input.commands.scss +187 -0
- package/lib/components/ca-input/scss/ca-input.dangermark.scss +17 -0
- package/lib/components/ca-input/scss/ca-input.datepicker.scss +153 -0
- package/lib/components/ca-input/scss/ca-input.dropdown.scss +124 -0
- package/lib/components/ca-input/scss/ca-input.editlabel.scss +42 -0
- package/lib/components/ca-input/scss/ca-input.error.scss +34 -0
- package/lib/components/ca-input/scss/ca-input.input.scss +838 -0
- package/lib/components/ca-input/scss/ca-input.label.scss +281 -0
- package/lib/components/ca-input/scss/ca-input.labelcounter.scss +21 -0
- package/lib/components/ca-input/scss/ca-input.passwordcapslock.scss +17 -0
- package/lib/components/ca-input/scss/ca-input.passwordeye.scss +138 -0
- package/lib/components/ca-input/scss/ca-input.placeholderText.scss +82 -0
- package/lib/components/ca-input/scss/ca-input.placeholdericon-rightside.scss +90 -0
- package/lib/components/ca-input/scss/ca-input.placeholdericon.scss +188 -0
- package/lib/components/ca-input/scss/ca-input.requiredcheck.scss +19 -0
- package/lib/components/ca-input/scss/ca-input.spinner.scss +5 -0
- package/lib/components/ca-input/services/ca-input-validation.service.ts +246 -0
- package/lib/components/ca-input/services/index.ts +1 -0
- package/lib/components/ca-input/utils/constants/index.ts +1 -0
- package/lib/components/ca-input/utils/constants/input-constants.ts +129 -0
- package/lib/components/ca-input/utils/index.ts +2 -0
- package/lib/components/ca-input/utils/input-change-value.type.ts +1 -0
- package/lib/components/ca-input/utils/input-svg-routes.ts +26 -0
- package/lib/components/ca-input/versions/datetime/datetimepicker.directive.spec.ts +8 -0
- package/lib/components/ca-input/versions/datetime/datetimepicker.directive.ts +9 -0
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.html +77 -0
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.scss +134 -0
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.ts +517 -0
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.stories.ts +290 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.ts +4 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-commands-string.enum.ts +6 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-layers-string.enum.ts +4 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-stop-types-string.enum.ts +4 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-type-string.enum.ts +5 -0
- package/lib/components/ca-input-address-dropdown/models/address-data.model.ts +14 -0
- package/lib/components/ca-input-address-dropdown/models/address-list.model.ts +6 -0
- package/lib/components/ca-input-address-dropdown/models/command-properties.model.ts +7 -0
- package/lib/components/ca-input-address-dropdown/models/commands-handler.model.ts +8 -0
- package/lib/components/ca-input-address-dropdown/models/index.ts +7 -0
- package/lib/components/ca-input-address-dropdown/models/input-address-commands-string.model.ts +5 -0
- package/lib/components/ca-input-address-dropdown/models/long-lat.model.ts +4 -0
- package/lib/components/ca-input-address-dropdown/models/sent-address-data.model.ts +7 -0
- package/lib/components/ca-input-address-dropdown/validators/ca-input-address.regex-validations.ts +12 -0
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.html +79 -0
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.scss +134 -0
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.ts +447 -0
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.stories.ts +183 -0
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-basic-string.enum.ts +4 -0
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-commands-string.enum.ts +6 -0
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-layers-string.enum.ts +4 -0
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-stop-types-string.enum.ts +4 -0
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-type-string.enum.ts +5 -0
- package/lib/components/ca-input-address-dropdown-test/models/address-data.model.ts +13 -0
- package/lib/components/ca-input-address-dropdown-test/models/address-list.model.ts +5 -0
- package/lib/components/ca-input-address-dropdown-test/models/command-properties.model.ts +7 -0
- package/lib/components/ca-input-address-dropdown-test/models/commands-handler.model.ts +8 -0
- package/lib/components/ca-input-address-dropdown-test/models/input-address-commands-string.model.ts +5 -0
- package/lib/components/ca-input-address-dropdown-test/models/long-lat.model.ts +4 -0
- package/lib/components/ca-input-address-dropdown-test/models/sent-address-data.model.ts +7 -0
- package/lib/components/ca-input-address-dropdown-test/validators/ca-input-address-value.validations.ts +14 -0
- package/lib/components/ca-input-address-dropdown-test/validators/ca-input-address.regex-validations.ts +12 -0
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.html +106 -0
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.scss +138 -0
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.ts +1193 -0
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.stories.ts +231 -0
- package/lib/components/ca-input-dropdown/animations/index.ts +1 -0
- package/lib/components/ca-input-dropdown/animations/input-dropdown.animation.ts +24 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.html +397 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.scss +240 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.ts +1468 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.stories.ts +150 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.html +23 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.ts +45 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.html +119 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.ts +56 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.html +31 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.ts +44 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.html +56 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.ts +46 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.html +86 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.ts +61 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.html +41 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.ts +41 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.html +65 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.ts +57 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.html +58 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.ts +48 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.html +69 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.ts +41 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.html +53 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.ts +41 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.html +54 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.ts +46 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.html +178 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.ts +51 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.html +23 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.ts +41 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-parking/ca-input-dropdown-parking.component.html +40 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-parking/ca-input-dropdown-parking.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-parking/ca-input-dropdown-parking.component.ts +58 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.html +84 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.ts +48 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.html +36 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.ts +41 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.html +113 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.ts +58 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.html +103 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.ts +68 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.html +34 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.ts +40 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.html +60 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.ts +46 -0
- package/lib/components/ca-input-dropdown/enums/dropdown-string.enum.ts +4 -0
- package/lib/components/ca-input-dropdown/enums/dropdown-template-type.enum.ts +22 -0
- package/lib/components/ca-input-dropdown/enums/index.ts +2 -0
- package/lib/components/ca-input-dropdown/models/index.ts +3 -0
- package/lib/components/ca-input-dropdown/models/input-dropdown-option.model.ts +98 -0
- package/lib/components/ca-input-dropdown/models/load-modal-status.model.ts +5 -0
- package/lib/components/ca-input-dropdown/models/status-order.model.ts +4 -0
- package/lib/components/ca-input-dropdown/pipes/dropdown-count.pipe.ts +22 -0
- package/lib/components/ca-input-dropdown/pipes/index.ts +8 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-default-template-class.pipe.ts +30 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-fuel-franchise-class.pipe.ts +20 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-label-class.pipe.ts +32 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-load-broker-container.pipe.ts +27 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-multiselect-class.pipe.ts +26 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-svgtext-template-container.pipe.ts +27 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-svgtext-template-icon.pipe.ts +24 -0
- package/lib/components/ca-input-dropdown/utils/constants/index.ts +1 -0
- package/lib/components/ca-input-dropdown/utils/constants/input-dropdown.constants.ts +206 -0
- package/lib/components/ca-input-dropdown/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-input-dropdown/utils/svg-routes/input-dropdown-svg-routes.ts +13 -0
- package/lib/components/ca-input-dropdown-test/animations/index.ts +1 -0
- package/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.ts +24 -0
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.html +835 -0
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.scss +276 -0
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.ts +897 -0
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.stories.ts +837 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.html +26 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.ts +66 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.html +136 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.ts +77 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.html +32 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.ts +67 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.html +58 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.ts +69 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.html +77 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.ts +83 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.html +42 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.ts +64 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.html +63 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.ts +73 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.html +49 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.ts +33 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.html +17 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.ts +74 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.html +37 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.scss +5 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.spec.ts +23 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.ts +26 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.html +47 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.ts +68 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.html +56 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.ts +27 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.html +22 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.scss +3 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.ts +66 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.html +40 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.ts +39 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.html +32 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.ts +68 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.html +166 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.ts +38 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.html +24 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.ts +73 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.html +24 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.ts +64 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.html +87 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.ts +68 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.html +38 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.ts +68 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.html +123 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.ts +80 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.css +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.html +105 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.spec.ts +23 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.ts +55 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.html +19 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.ts +91 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.html +38 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.ts +63 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.html +63 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.scss +0 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.ts +61 -0
- package/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.ts +4 -0
- package/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.ts +21 -0
- package/lib/components/ca-input-dropdown-test/enums/index.ts +2 -0
- package/lib/components/ca-input-dropdown-test/interfaces/index.ts +1 -0
- package/lib/components/ca-input-dropdown-test/interfaces/input-dropdown-option.interface.ts +103 -0
- package/lib/components/ca-input-dropdown-test/interfaces/selected-status.interface.ts +5 -0
- package/lib/components/ca-input-dropdown-test/interfaces/status-order.interface.ts +4 -0
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.ts +25 -0
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.ts +107 -0
- package/lib/components/ca-input-dropdown-test/pipes/index.ts +9 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.ts +38 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.ts +22 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.ts +28 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.ts +37 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.ts +28 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.ts +31 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.ts +29 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.ts +28 -0
- package/lib/components/ca-input-dropdown-test/types/index.ts +1 -0
- package/lib/components/ca-input-dropdown-test/types/input-dropdown-forms.type.ts +9 -0
- package/lib/components/ca-input-dropdown-test/types/select-dropdown-value.type.ts +8 -0
- package/lib/components/ca-input-dropdown-test/utils/constants/index.ts +1 -0
- package/lib/components/ca-input-dropdown-test/utils/constants/input-dropdown.constants.ts +2948 -0
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.ts +13 -0
- package/lib/components/ca-input-dropdown-test/validators/dropdown-empty-value.validator.ts +11 -0
- package/lib/components/ca-input-dropdown-test/validators/index.ts +1 -0
- package/lib/components/ca-input-note/ca-input-note.component.html +91 -0
- package/lib/components/ca-input-note/ca-input-note.component.scss +171 -0
- package/lib/components/ca-input-note/ca-input-note.component.spec.ts +24 -0
- package/lib/components/ca-input-note/ca-input-note.component.ts +229 -0
- package/lib/components/ca-input-note/ca-input-note.stories.ts +64 -0
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.html +28 -0
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.scss +97 -0
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.spec.ts +24 -0
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.ts +43 -0
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.stories.ts +84 -0
- package/lib/components/ca-input-test/base-classes/ca-input-base-helpres.ts +343 -0
- package/lib/components/ca-input-test/base-classes/ca-input-base.ts +1394 -0
- package/lib/components/ca-input-test/base-classes/ca-input-event-manager.ts +32 -0
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.html +33 -0
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.scss +0 -0
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.spec.ts +26 -0
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.ts +75 -0
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.html +85 -0
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.scss +0 -0
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.spec.ts +26 -0
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.ts +46 -0
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.html +38 -0
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.scss +0 -0
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.spec.ts +25 -0
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.ts +58 -0
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.html +56 -0
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.scss +0 -0
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.spec.ts +25 -0
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.ts +79 -0
- package/lib/components/ca-input-test/config/ca-input.config.ts +196 -0
- package/lib/components/ca-input-test/config/index.ts +1 -0
- package/lib/components/ca-input-test/custom-validators/email-custom.validator.ts +9 -0
- package/lib/components/ca-input-test/custom-validators/url-custom.validator.ts +9 -0
- package/lib/components/ca-input-test/directives/caps-lock.directive.ts +44 -0
- package/lib/components/ca-input-test/directives/command-visible.directive.ts +44 -0
- package/lib/components/ca-input-test/directives/index.ts +5 -0
- package/lib/components/ca-input-test/directives/input-max-value.directive.ts +48 -0
- package/lib/components/ca-input-test/directives/min-max-value.directive.ts +37 -0
- package/lib/components/ca-input-test/directives/price_format.directive.ts +35 -0
- package/lib/components/ca-input-test/directives/restrict-input.directive.ts +134 -0
- package/lib/components/ca-input-test/enums/index.ts +4 -0
- package/lib/components/ca-input-test/enums/input-commands-action.enum.ts +9 -0
- package/lib/components/ca-input-test/enums/input-commands-type.enum.ts +7 -0
- package/lib/components/ca-input-test/enums/input-config-name-string.enum.ts +7 -0
- package/lib/components/ca-input-test/enums/input-string.enum.ts +115 -0
- package/lib/components/ca-input-test/enums/input-text-transform.enum.ts +6 -0
- package/lib/components/ca-input-test/input-test.component.html +352 -0
- package/lib/components/ca-input-test/input-test.component.scss +413 -0
- package/lib/components/ca-input-test/input-test.component.spec.ts +23 -0
- package/lib/components/ca-input-test/input-test.component.ts +401 -0
- package/lib/components/ca-input-test/input-test.stories.ts +838 -0
- package/lib/components/ca-input-test/mixins/input-command.mixin.ts +159 -0
- package/lib/components/ca-input-test/mixins/input-helper.mixin.ts +61 -0
- package/lib/components/ca-input-test/mixins/input.mixin.ts +19 -0
- package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.ts +54 -0
- package/lib/components/ca-input-test/models/base.model.ts +24 -0
- package/lib/components/ca-input-test/models/command-click.model.ts +5 -0
- package/lib/components/ca-input-test/models/commands-event.model.ts +5 -0
- package/lib/components/ca-input-test/models/index.ts +3 -0
- package/lib/components/ca-input-test/models/label-color.model.ts +11 -0
- package/lib/components/ca-input-test/pipes/color-finder.pipe.ts +55 -0
- package/lib/components/ca-input-test/pipes/form-control.pipe.ts +12 -0
- package/lib/components/ca-input-test/pipes/index.ts +19 -0
- package/lib/components/ca-input-test/pipes/input-class.pipe.ts +195 -0
- package/lib/components/ca-input-test/pipes/input-clear-class.pipe.ts +104 -0
- package/lib/components/ca-input-test/pipes/input-container-class.pipe.ts +68 -0
- package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.ts +90 -0
- package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.ts +68 -0
- package/lib/components/ca-input-test/pipes/input-error.pipe.ts +72 -0
- package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.ts +43 -0
- package/lib/components/ca-input-test/pipes/input-pattern.pipe.ts +308 -0
- package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.ts +56 -0
- package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.ts +69 -0
- package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.ts +53 -0
- package/lib/components/ca-input-test/pipes/input-type.pipe.ts +18 -0
- package/lib/components/ca-input-test/pipes/label-class.pipe.ts +54 -0
- package/lib/components/ca-input-test/pipes/show-clear.pipe.ts +20 -0
- package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.ts +24 -0
- package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.ts +31 -0
- package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.ts +27 -0
- package/lib/components/ca-input-test/pipes/show-valid-check.pipe.ts +31 -0
- package/lib/components/ca-input-test/scss/ca-dropdown-input-image.scss +109 -0
- package/lib/components/ca-input-test/scss/ca-input.clear.scss +360 -0
- package/lib/components/ca-input-test/scss/ca-input.colors.scss +287 -0
- package/lib/components/ca-input-test/scss/ca-input.commands.scss +187 -0
- package/lib/components/ca-input-test/scss/ca-input.dangermark.scss +17 -0
- package/lib/components/ca-input-test/scss/ca-input.datepicker.scss +153 -0
- package/lib/components/ca-input-test/scss/ca-input.dropdown.scss +124 -0
- package/lib/components/ca-input-test/scss/ca-input.editlabel.scss +42 -0
- package/lib/components/ca-input-test/scss/ca-input.error.scss +34 -0
- package/lib/components/ca-input-test/scss/ca-input.input.scss +837 -0
- package/lib/components/ca-input-test/scss/ca-input.label.scss +281 -0
- package/lib/components/ca-input-test/scss/ca-input.labelcounter.scss +21 -0
- package/lib/components/ca-input-test/scss/ca-input.passwordcapslock.scss +17 -0
- package/lib/components/ca-input-test/scss/ca-input.passwordeye.scss +138 -0
- package/lib/components/ca-input-test/scss/ca-input.placeholderText.scss +82 -0
- package/lib/components/ca-input-test/scss/ca-input.placeholdericon-rightside.scss +89 -0
- package/lib/components/ca-input-test/scss/ca-input.placeholdericon.scss +195 -0
- package/lib/components/ca-input-test/scss/ca-input.requiredcheck.scss +19 -0
- package/lib/components/ca-input-test/scss/ca-input.spinner.scss +5 -0
- package/lib/components/ca-input-test/services/ca-input-validation.service.ts +246 -0
- package/lib/components/ca-input-test/services/index.ts +1 -0
- package/lib/components/ca-input-test/utils/constants/index.ts +1 -0
- package/lib/components/ca-input-test/utils/constants/input-constants.ts +129 -0
- package/lib/components/ca-input-test/utils/index.ts +2 -0
- package/lib/components/ca-input-test/utils/input-change-value.type.ts +1 -0
- package/lib/components/ca-input-test/utils/input-svg-routes.ts +26 -0
- package/lib/components/ca-input-test/versions/datetime/datetimepicker.directive.spec.ts +8 -0
- package/lib/components/ca-input-test/versions/datetime/datetimepicker.directive.ts +9 -0
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.html +202 -0
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.scss +27 -0
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.ts +102 -0
- package/lib/components/ca-items-dropdown/interfaces/index.ts +2 -0
- package/lib/components/ca-items-dropdown/interfaces/items-dropdown-config.interface.ts +7 -0
- package/lib/components/ca-items-dropdown/interfaces/items-dropdown-list.interface.ts +11 -0
- package/lib/components/ca-items-dropdown/pipes/dropdown-width.pipe.ts +13 -0
- package/lib/components/ca-items-dropdown/pipes/index.ts +2 -0
- package/lib/components/ca-items-dropdown/pipes/pm-item.pipe.ts +22 -0
- package/lib/components/ca-items-dropdown/utils/helpers/index.ts +1 -0
- package/lib/components/ca-items-dropdown/utils/helpers/items-dropdown.helper.ts +10 -0
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.html +111 -0
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.scss +127 -0
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.spec.ts +23 -0
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.stories.ts +71 -0
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.ts +123 -0
- package/lib/components/ca-last-fuel-price-progress/enums/index.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/enums/last-fuel-price-progress.enum.ts +4 -0
- package/lib/components/ca-last-fuel-price-progress/interfaces/index.ts +2 -0
- package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-config.interface.ts +10 -0
- package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-data.interface.ts +12 -0
- package/lib/components/ca-last-fuel-price-progress/utils/constants/index.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/utils/constants/last-fuel-price-progress.constants.ts +9 -0
- package/lib/components/ca-last-fuel-price-progress/utils/helpers/index.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.ts +100 -0
- package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/last-fuel-price-progress-svg-routes.ts +4 -0
- package/lib/components/ca-load-modal-progress-bar/ca-load-modal-progress-bar.component.html +14 -0
- package/lib/components/ca-load-modal-progress-bar/ca-load-modal-progress-bar.component.scss +39 -0
- package/lib/components/ca-load-modal-progress-bar/ca-load-modal-progress-bar.component.ts +79 -0
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.html +383 -0
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.scss +60 -0
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.spec.ts +21 -0
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.ts +163 -0
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.stories.ts +740 -0
- package/lib/components/ca-load-pickup-delivery/interfaces/index.ts +1 -0
- package/lib/components/ca-load-pickup-delivery/interfaces/load-pickup-delivery.interface.ts +74 -0
- package/lib/components/ca-load-pickup-delivery/types/index.ts +1 -0
- package/lib/components/ca-load-pickup-delivery/types/load-type.type.ts +7 -0
- package/lib/components/ca-load-status/ca-load-status.component.html +90 -0
- package/lib/components/ca-load-status/ca-load-status.component.scss +323 -0
- package/lib/components/ca-load-status/ca-load-status.component.ts +92 -0
- package/lib/components/ca-load-status/ca-load-status.stories.ts +318 -0
- package/lib/components/ca-load-status/constants/load-status.constants.ts +18 -0
- package/lib/components/ca-load-status/enums/load-status-background-colors.enum.ts +17 -0
- package/lib/components/ca-load-status/enums/load-status-icon-colors.enum.ts +13 -0
- package/lib/components/ca-load-status/enums/load-status-svg-colors.enum.ts +13 -0
- package/lib/components/ca-load-status/pipes/status-text.pipe.ts +73 -0
- package/lib/components/ca-load-status-log/ca-load-status-log.component.html +100 -0
- package/lib/components/ca-load-status-log/ca-load-status-log.component.scss +20 -0
- package/lib/components/ca-load-status-log/ca-load-status-log.component.stories.ts +71 -0
- package/lib/components/ca-load-status-log/ca-load-status-log.component.ts +60 -0
- package/lib/components/ca-load-status-string/ca-load-status-string.component.html +62 -0
- package/lib/components/ca-load-status-string/ca-load-status-string.component.scss +97 -0
- package/lib/components/ca-load-status-string/ca-load-status-string.component.ts +53 -0
- package/lib/components/ca-load-status-string/pipes/index.ts +1 -0
- package/lib/components/ca-load-status-string/pipes/load-status-string-class.pipe.ts +31 -0
- package/lib/components/ca-logo-change/ca-logo-change.component.html +71 -0
- package/lib/components/ca-logo-change/ca-logo-change.component.scss +182 -0
- package/lib/components/ca-logo-change/ca-logo-change.component.stories.ts +59 -0
- package/lib/components/ca-logo-change/ca-logo-change.component.ts +150 -0
- package/lib/components/ca-logo-change/enums/index.ts +1 -0
- package/lib/components/ca-logo-change/enums/logo-change.enum.ts +8 -0
- package/lib/components/ca-logo-change/pipes/index.ts +1 -0
- package/lib/components/ca-logo-change/pipes/logo-slider.pipe.ts +11 -0
- package/lib/components/ca-logo-change/utils/constants/index.ts +1 -0
- package/lib/components/ca-logo-change/utils/constants/logo-change.constants.ts +20 -0
- package/lib/components/ca-main-table/ca-main-table.component.html +220 -0
- package/lib/components/ca-main-table/ca-main-table.component.scss +298 -0
- package/lib/components/ca-main-table/ca-main-table.component.spec.ts +23 -0
- package/lib/components/ca-main-table/ca-main-table.component.ts +131 -0
- package/lib/components/ca-main-table/ca-main-table.stories.ts +187 -0
- package/lib/components/ca-main-table/models/main-table.model.ts +24 -0
- package/lib/components/ca-main-table/pipes/ca-main-table-hidden-rows/ca-main-table-hidden-rows.pipe.spec.ts +8 -0
- package/lib/components/ca-main-table/pipes/ca-main-table-hidden-rows/ca-main-table-hidden-rows.pipe.ts +18 -0
- package/lib/components/ca-map/ca-map.component.html +190 -0
- package/lib/components/ca-map/ca-map.component.scss +451 -0
- package/lib/components/ca-map/ca-map.component.ts +825 -0
- package/lib/components/ca-map/ca-map.stories.ts +1594 -0
- package/lib/components/ca-map/enums/google-map.enum.ts +6 -0
- package/lib/components/ca-map/enums/index.ts +4 -0
- package/lib/components/ca-map/enums/map-marker-stop-type.enum.ts +13 -0
- package/lib/components/ca-map/enums/map-marker-string.enum.ts +27 -0
- package/lib/components/ca-map/enums/toolbar-filter-string.enum.ts +129 -0
- package/lib/components/ca-map/models/index.ts +1 -0
- package/lib/components/ca-map/models/map.model.ts +166 -0
- package/lib/components/ca-map/utils/constants/index.ts +4 -0
- package/lib/components/ca-map/utils/constants/map-info-window-options.constants.ts +6 -0
- package/lib/components/ca-map/utils/constants/map-marker-icons.constants.ts +121 -0
- package/lib/components/ca-map/utils/constants/map-options.constants.ts +178 -0
- package/lib/components/ca-map/utils/constants/map.constants.ts +437 -0
- package/lib/components/ca-map/utils/helpers/index.ts +2 -0
- package/lib/components/ca-map/utils/helpers/map-marker-icon.helper.ts +776 -0
- package/lib/components/ca-map/utils/helpers/map.helper.ts +192 -0
- package/lib/components/ca-map/utils/services/index.ts +1 -0
- package/lib/components/ca-map/utils/services/map-marker-icon.service.ts +312 -0
- package/lib/components/ca-map/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-map/utils/svg-routes/map-svg-routes.ts +19 -0
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.html +702 -0
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.scss +541 -0
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.spec.ts +21 -0
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.ts +178 -0
- package/lib/components/ca-map-dropdown/enums/index.ts +1 -0
- package/lib/components/ca-map-dropdown/enums/map-dropdown-string.enum.ts +20 -0
- package/lib/components/ca-map-dropdown/models/index.ts +1 -0
- package/lib/components/ca-map-dropdown/models/map-dropdown-content.model.ts +57 -0
- package/lib/components/ca-map-dropdown/pipes/index.ts +3 -0
- package/lib/components/ca-map-dropdown/pipes/map-dropdown-cluster-content-type.pipe.ts +16 -0
- package/lib/components/ca-map-dropdown/pipes/map-dropdown-content-type.pipe.ts +16 -0
- package/lib/components/ca-map-dropdown/pipes/map-dropdown-value.pipe.ts +33 -0
- package/lib/components/ca-map-dropdown/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-map-dropdown/utils/svg-routes/map-dropdown-svg-routes.ts +22 -0
- package/lib/components/ca-map-list/ca-map-list.component.html +74 -0
- package/lib/components/ca-map-list/ca-map-list.component.scss +34 -0
- package/lib/components/ca-map-list/ca-map-list.component.spec.ts +23 -0
- package/lib/components/ca-map-list/ca-map-list.component.ts +192 -0
- package/lib/components/ca-map-list/utils/constants/index.ts +1 -0
- package/lib/components/ca-map-list/utils/constants/map-list.constants.ts +11 -0
- package/lib/components/ca-map-list-card/ca-map-list-card.component.html +41 -0
- package/lib/components/ca-map-list-card/ca-map-list-card.component.scss +0 -0
- package/lib/components/ca-map-list-card/ca-map-list-card.component.spec.ts +23 -0
- package/lib/components/ca-map-list-card/ca-map-list-card.component.ts +28 -0
- package/lib/components/ca-modal/ca-modal.component.html +59 -0
- package/lib/components/ca-modal/ca-modal.component.scss +345 -0
- package/lib/components/ca-modal/ca-modal.component.spec.ts +21 -0
- package/lib/components/ca-modal/ca-modal.component.ts +60 -0
- package/lib/components/ca-modal-button/ca-modal-button.component.html +68 -0
- package/lib/components/ca-modal-button/ca-modal-button.component.scss +396 -0
- package/lib/components/ca-modal-button/ca-modal-button.component.spec.ts +23 -0
- package/lib/components/ca-modal-button/ca-modal-button.component.ts +35 -0
- package/lib/components/ca-modal-button/ca-modal-button.stories.ts +255 -0
- package/lib/components/ca-modal-button/enums/index.ts +2 -0
- package/lib/components/ca-modal-button/enums/modal-button-class-type.enum.ts +15 -0
- package/lib/components/ca-modal-button/enums/modal-button-size.enum.ts +10 -0
- package/lib/components/ca-modal-button/pipes/index.ts +1 -0
- package/lib/components/ca-modal-button/pipes/modal-button-class.pipe.ts +22 -0
- package/lib/components/ca-modal-items/ca-modal-items.component.html +436 -0
- package/lib/components/ca-modal-items/ca-modal-items.component.scss +63 -0
- package/lib/components/ca-modal-items/ca-modal-items.component.spec.ts +23 -0
- package/lib/components/ca-modal-items/ca-modal-items.component.ts +137 -0
- package/lib/components/ca-modal-items/directives/index.ts +1 -0
- package/lib/components/ca-modal-items/directives/scroll-shadow-border.directive.ts +199 -0
- package/lib/components/ca-modal-items/enums/index.ts +1 -0
- package/lib/components/ca-modal-items/enums/modal-items.enum.ts +4 -0
- package/lib/components/ca-modal-items/interfaces/index.ts +2 -0
- package/lib/components/ca-modal-items/interfaces/items-row-template.interface.ts +8 -0
- package/lib/components/ca-modal-items/interfaces/modal-items-config.interface.ts +29 -0
- package/lib/components/ca-modal-items/pipes/index.ts +1 -0
- package/lib/components/ca-modal-items/pipes/modal-items-header-class.pipe.ts +34 -0
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.html +7 -0
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.scss +10 -0
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.spec.ts +23 -0
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.ts +10 -0
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.html +142 -0
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.scss +1 -0
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.ts +138 -0
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.html +232 -0
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.scss +9 -0
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.ts +215 -0
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.html +159 -0
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.scss +8 -0
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.ts +172 -0
- package/lib/components/ca-new-filter/components/new-filter-base/new-filter-base.component.css +0 -0
- package/lib/components/ca-new-filter/components/new-filter-base/new-filter-base.component.html +1 -0
- package/lib/components/ca-new-filter/components/new-filter-base/new-filter-base.component.spec.ts +23 -0
- package/lib/components/ca-new-filter/components/new-filter-base/new-filter-base.component.ts +40 -0
- package/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.ts +141 -0
- package/lib/components/ca-new-filter/constant/index.ts +1 -0
- package/lib/components/ca-new-filter/enums/filter-dropdown-types.enum.ts +18 -0
- package/lib/components/ca-new-filter/enums/filter-sorting-key.enum.ts +4 -0
- package/lib/components/ca-new-filter/enums/filter-time.enum.ts +35 -0
- package/lib/components/ca-new-filter/enums/index.ts +3 -0
- package/lib/components/ca-new-filter/interface/country.interface.ts +15 -0
- package/lib/components/ca-new-filter/interface/filter-action.interface.ts +27 -0
- package/lib/components/ca-new-filter/interface/filter-dropdown-configuration.interface.ts +15 -0
- package/lib/components/ca-new-filter/interface/filter-dropdown-list.ts +21 -0
- package/lib/components/ca-new-filter/interface/index.ts +6 -0
- package/lib/components/ca-new-filter/interface/sorting-emmiter.interface.ts +6 -0
- package/lib/components/ca-new-filter/interface/time-options.interface.ts +4 -0
- package/lib/components/ca-new-filter/pipes/filter-search.pipe.spec.ts +8 -0
- package/lib/components/ca-new-filter/pipes/filter-search.pipe.ts +30 -0
- package/lib/components/ca-new-filter/types/filter-dropdown.types.ts +15 -0
- package/lib/components/ca-new-filter/types/filter-sorting-key.type.ts +3 -0
- package/lib/components/ca-new-filter/types/filter-time.types.ts +3 -0
- package/lib/components/ca-new-filter/types/index.ts +3 -0
- package/lib/components/ca-new-filter/utils/configs/filter-dropdown-fields.config.ts +41 -0
- package/lib/components/ca-new-filter/utils/configs/index.ts +1 -0
- package/lib/components/ca-new-filter/utils/helpers/index.ts +1 -0
- package/lib/components/ca-new-filter/utils/helpers/time-filter.helper.ts +142 -0
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.html +54 -0
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.scss +188 -0
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.ts +84 -0
- package/lib/components/ca-ngx-slider/enums/slider-template.enum.ts +6 -0
- package/lib/components/ca-note/ca-note.component.html +138 -0
- package/lib/components/ca-note/ca-note.component.scss +445 -0
- package/lib/components/ca-note/ca-note.component.stories.ts +43 -0
- package/lib/components/ca-note/ca-note.component.ts +289 -0
- package/lib/components/ca-note/utils/helper/copy-paste.helper.ts +8 -0
- package/lib/components/ca-note/utils/svg-routes/note-svg-routes.ts +5 -0
- package/lib/components/ca-note-container/ca-note-container.component.html +137 -0
- package/lib/components/ca-note-container/ca-note-container.component.scss +333 -0
- package/lib/components/ca-note-container/ca-note-container.component.spec.ts +21 -0
- package/lib/components/ca-note-container/ca-note-container.component.ts +226 -0
- package/lib/components/ca-note-container/enums/note-default-string.enum.ts +9 -0
- package/lib/components/ca-note-container/enums/note-selected-color.enum.ts +4 -0
- package/lib/components/ca-note-container/models/note-colors.model.ts +4 -0
- package/lib/components/ca-note-container/utils/constants/note-config.constant.ts +65 -0
- package/lib/components/ca-note-container/utils/svg-routes/note-container-svg-routes.ts +8 -0
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.html +105 -0
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.scss +234 -0
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.spec.ts +26 -0
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.ts +70 -0
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.stories.ts +87 -0
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.html +18 -0
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.scss +24 -0
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.spec.ts +22 -0
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.ts +27 -0
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.stories.ts +47 -0
- package/lib/components/ca-period-content/ca-period-content.component.html +221 -0
- package/lib/components/ca-period-content/ca-period-content.component.scss +160 -0
- package/lib/components/ca-period-content/ca-period-content.component.spec.ts +21 -0
- package/lib/components/ca-period-content/ca-period-content.component.ts +90 -0
- package/lib/components/ca-period-content/ca-period-content.stories.ts +68 -0
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.html +19 -0
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.scss +30 -0
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.spec.ts +20 -0
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.ts +14 -0
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.html +335 -0
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.scss +339 -0
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.spec.ts +21 -0
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.ts +194 -0
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.html +60 -0
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.scss +152 -0
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.spec.ts +21 -0
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.ts +54 -0
- package/lib/components/ca-period-content/components/index.ts +3 -0
- package/lib/components/ca-period-content/enums/index.ts +2 -0
- package/lib/components/ca-period-content/enums/payroll-type.enum.ts +15 -0
- package/lib/components/ca-period-content/enums/period-title-type.enum.ts +7 -0
- package/lib/components/ca-period-content/models/component-data.type.ts +26 -0
- package/lib/components/ca-period-content/models/driver-info.ts +5 -0
- package/lib/components/ca-period-content/models/driver-minimal-response.ts +19 -0
- package/lib/components/ca-period-content/models/driver-short-response.ts +57 -0
- package/lib/components/ca-period-content/models/extra-payments.ts +28 -0
- package/lib/components/ca-period-content/models/formatted-component-data.type.ts +7 -0
- package/lib/components/ca-period-content/models/formatted-period-data.ts +16 -0
- package/lib/components/ca-period-content/models/index.ts +32 -0
- package/lib/components/ca-period-content/models/miles-stop-payroll-response.ts +23 -0
- package/lib/components/ca-period-content/models/notification-model.ts +5 -0
- package/lib/components/ca-period-content/models/payment-sum.model.ts +4 -0
- package/lib/components/ca-period-content/models/payroll-bonus-minimal-response.ts +6 -0
- package/lib/components/ca-period-content/models/payroll-bonus-response.ts +12 -0
- package/lib/components/ca-period-content/models/payroll-commission-total-sum.ts +7 -0
- package/lib/components/ca-period-content/models/payroll-credit-minimal-response.ts +6 -0
- package/lib/components/ca-period-content/models/payroll-credit-response.ts +18 -0
- package/lib/components/ca-period-content/models/payroll-deadline-period.ts +6 -0
- package/lib/components/ca-period-content/models/payroll-deadline-short-response.ts +6 -0
- package/lib/components/ca-period-content/models/payroll-deduction-minimal-response.ts +8 -0
- package/lib/components/ca-period-content/models/payroll-deduction-response.ts +22 -0
- package/lib/components/ca-period-content/models/payroll-driver-commission-by-id-response.ts +65 -0
- package/lib/components/ca-period-content/models/payroll-driver-flat-rate-closed-by-id-response.ts +34 -0
- package/lib/components/ca-period-content/models/payroll-driver-mileage-response.ts +43 -0
- package/lib/components/ca-period-content/models/payroll-flat-rate-total-sum.ts +7 -0
- package/lib/components/ca-period-content/models/payroll-fuel-minimal-response.ts +8 -0
- package/lib/components/ca-period-content/models/payroll-load-minimal-response.ts +18 -0
- package/lib/components/ca-period-content/models/payroll-load-stop-minimal-response.ts +6 -0
- package/lib/components/ca-period-content/models/payroll-map-location.ts +9 -0
- package/lib/components/ca-period-content/models/payroll-owner-closed-response.ts +35 -0
- package/lib/components/ca-period-content/models/payroll-owner-response.ts +34 -0
- package/lib/components/ca-period-content/models/payroll-payment-response.ts +10 -0
- package/lib/components/ca-period-content/models/payroll-payments-minimal-response.ts +6 -0
- package/lib/components/ca-period-content/models/payroll-period-input.type.ts +40 -0
- package/lib/components/ca-period-content/models/payroll-report-tables.type.ts +9 -0
- package/lib/components/ca-period-content/models/payroll-report.type.ts +55 -0
- package/lib/components/ca-period-content/models/per-mile-model.ts +5 -0
- package/lib/components/ca-period-content/pipes/included_count.pipe.ts +22 -0
- package/lib/components/ca-period-content/pipes/payroll-status-class.pipe.ts +27 -0
- package/lib/components/ca-period-content/pipes/period_status.pipe.ts +51 -0
- package/lib/components/ca-period-content/utils/constants/color-map.ts +9 -0
- package/lib/components/ca-period-content/utils/constants/index.ts +2 -0
- package/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.ts +15 -0
- package/lib/components/ca-period-content/utils/helpers/index.ts +1 -0
- package/lib/components/ca-period-content/utils/helpers/payroll-period-content.helper.ts +35 -0
- package/lib/components/ca-period-content/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-period-content/utils/svg-routes/period-content.routes.ts +20 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.html +159 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.scss +119 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.spec.ts +21 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.ts +101 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.stories.ts +756 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.html +129 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.scss +110 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.spec.ts +24 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.ts +141 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.html +184 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.scss +135 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.spec.ts +24 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.ts +130 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.html +372 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.scss +264 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.spec.ts +24 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.ts +120 -0
- package/lib/components/ca-pickup-delivery-block/models/adress-model.ts +12 -0
- package/lib/components/ca-pickup-delivery-block/models/animation-model.ts +6 -0
- package/lib/components/ca-pickup-delivery-block/models/broker-short-response.ts +14 -0
- package/lib/components/ca-pickup-delivery-block/models/companyUserShortResponse.model.ts +9 -0
- package/lib/components/ca-pickup-delivery-block/models/dispatch-grouped-load-response.mode.ts +7 -0
- package/lib/components/ca-pickup-delivery-block/models/dispatch-hos-response.model.ts +10 -0
- package/lib/components/ca-pickup-delivery-block/models/dispatch-response.model.ts +37 -0
- package/lib/components/ca-pickup-delivery-block/models/dispatch-status-response.model.ts +7 -0
- package/lib/components/ca-pickup-delivery-block/models/driver-dispatch.model.ts +12 -0
- package/lib/components/ca-pickup-delivery-block/models/enum-value.ts +4 -0
- package/lib/components/ca-pickup-delivery-block/models/index.ts +15 -0
- package/lib/components/ca-pickup-delivery-block/models/load-short-response.ts +22 -0
- package/lib/components/ca-pickup-delivery-block/models/load-stop-short-response.ts +10 -0
- package/lib/components/ca-pickup-delivery-block/models/parking-slot-short-response.model.ts +13 -0
- package/lib/components/ca-pickup-delivery-block/models/shipper-short-response.ts +9 -0
- package/lib/components/ca-pickup-delivery-block/models/status-types.enum.ts +5 -0
- package/lib/components/ca-pickup-delivery-block/utils/constants/animation-object-default.constants.ts +8 -0
- package/lib/components/ca-pickup-delivery-block/utils/constants/index.ts +1 -0
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/index.ts +2 -0
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/pickup-delivery-svg.routes.ts +36 -0
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/return-arrow.routes.ts +4 -0
- package/lib/components/ca-profile-image/ca-profile-image.component.html +42 -0
- package/lib/components/ca-profile-image/ca-profile-image.component.scss +51 -0
- package/lib/components/ca-profile-image/ca-profile-image.component.spec.ts +24 -0
- package/lib/components/ca-profile-image/ca-profile-image.component.ts +89 -0
- package/lib/components/ca-profile-image/ca-profile-image.stories.ts +69 -0
- package/lib/components/ca-progress-bar/ca-progress-bar.component.html +404 -0
- package/lib/components/ca-progress-bar/ca-progress-bar.component.scss +202 -0
- package/lib/components/ca-progress-bar/ca-progress-bar.component.stories.ts +1539 -0
- package/lib/components/ca-progress-bar/ca-progress-bar.component.ts +242 -0
- package/lib/components/ca-progress-bar/enums/index.ts +1 -0
- package/lib/components/ca-progress-bar/enums/progress-bar-string.enum.ts +6 -0
- package/lib/components/ca-progress-bar/interfaces/gps-heading-info.interface.ts +6 -0
- package/lib/components/ca-progress-bar/interfaces/gps-progress.interface.ts +21 -0
- package/lib/components/ca-progress-bar/interfaces/index.ts +3 -0
- package/lib/components/ca-progress-bar/interfaces/progress-bar-data.interface.ts +19 -0
- package/lib/components/ca-progress-bar/pipes/convert-minutes-to-hours.pipe.ts +14 -0
- package/lib/components/ca-progress-bar/pipes/index.ts +1 -0
- package/lib/components/ca-progress-bar/utils/constants/index.ts +1 -0
- package/lib/components/ca-progress-bar/utils/constants/progress-bar.constants.ts +8 -0
- package/lib/components/ca-progress-bar/utils/helpers/convert-minutes-to-hours.helper.ts +9 -0
- package/lib/components/ca-progress-bar/utils/helpers/index.ts +1 -0
- package/lib/components/ca-progress-bar/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-progress-bar/utils/svg-routes/progress-bar-svg-routes.ts +3 -0
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.html +90 -0
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.scss +72 -0
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.spec.ts +23 -0
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.stories.ts +131 -0
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.ts +49 -0
- package/lib/components/ca-progress-bar-v2/interfaces/index.ts +1 -0
- package/lib/components/ca-progress-bar-v2/interfaces/progress-bar-color-config.interface.ts +4 -0
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.html +103 -0
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.scss +65 -0
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.stories.ts +157 -0
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.ts +259 -0
- package/lib/components/ca-progress-expiration/enums/index.ts +1 -0
- package/lib/components/ca-progress-expiration/enums/time-units.enum.ts +6 -0
- package/lib/components/ca-progress-expiration/helpers/hex-to-rgba.helper.ts +18 -0
- package/lib/components/ca-progress-expiration/helpers/index.ts +2 -0
- package/lib/components/ca-progress-expiration/helpers/progress-expiration.helper.ts +64 -0
- package/lib/components/ca-progress-expiration/models/index.ts +7 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-color-type.model.ts +6 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-color.model.ts +4 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-template.model.ts +6 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-theme.model.ts +1 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-title.model.ts +5 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-type.model.ts +1 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration.model.ts +14 -0
- package/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-abs.pipe.ts +12 -0
- package/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-width.pipe.ts +59 -0
- package/lib/components/ca-progress-expiration/pipes/currency-format.pipe.ts +14 -0
- package/lib/components/ca-progress-expiration/pipes/index.ts +4 -0
- package/lib/components/ca-progress-expiration/pipes/time.pipe.ts +33 -0
- package/lib/components/ca-progress-expiration/utils/constants/index.ts +1 -0
- package/lib/components/ca-progress-expiration/utils/constants/progress-expiration.constant.ts +54 -0
- package/lib/components/ca-progress-expiration/utils/index.ts +1 -0
- package/lib/components/ca-range-slider/ca-range-slider.component.html +46 -0
- package/lib/components/ca-range-slider/ca-range-slider.component.scss +28 -0
- package/lib/components/ca-range-slider/ca-range-slider.component.spec.ts +23 -0
- package/lib/components/ca-range-slider/ca-range-slider.component.ts +75 -0
- package/lib/components/ca-range-slider/directives/index.ts +1 -0
- package/lib/components/ca-range-slider/directives/range-slider.directive.ts +88 -0
- package/lib/components/ca-range-slider/interfaces/index.ts +1 -0
- package/lib/components/ca-range-slider/interfaces/range-slider-config.interface.ts +7 -0
- package/lib/components/ca-rating-review/ca-rating-review.component.html +271 -0
- package/lib/components/ca-rating-review/ca-rating-review.component.scss +279 -0
- package/lib/components/ca-rating-review/ca-rating-review.component.spec.ts +21 -0
- package/lib/components/ca-rating-review/ca-rating-review.component.ts +209 -0
- package/lib/components/ca-rating-review/ca-rating-review.stories.ts +224 -0
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.html +201 -0
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.scss +359 -0
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.spec.ts +21 -0
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.ts +175 -0
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.html +141 -0
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.scss +160 -0
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.spec.ts +21 -0
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.ts +126 -0
- package/lib/components/ca-rating-review/enums/rating-reviews-type.enums.ts +16 -0
- package/lib/components/ca-rating-review/models/rating-review.model.ts +12 -0
- package/lib/components/ca-rating-review/utils/config/rating-review-search.config.ts +16 -0
- package/lib/components/ca-rating-review/utils/helpers/sort-data.helper.ts +13 -0
- package/lib/components/ca-rating-review/utils/pipe/filter-title.pipe.ts +21 -0
- package/lib/components/ca-rating-review/utils/svg-routes/ratings-reviews.routes.ts +16 -0
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.html +46 -0
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.scss +10 -0
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.spec.ts +21 -0
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.ts +161 -0
- package/lib/components/ca-right-side-panel/ca-right-side-panel.stories.ts +47 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.html +1214 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.scss +307 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.spec.ts +21 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.ts +147 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.html +180 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.scss +282 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.spec.ts +21 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.ts +195 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.html +238 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.scss +143 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.spec.ts +21 -0
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.ts +394 -0
- package/lib/components/ca-right-side-panel/config/ca-right-side-panel.config.ts +66 -0
- package/lib/components/ca-right-side-panel/enums/activity-log-sort-type.enum.ts +4 -0
- package/lib/components/ca-right-side-panel/enums/company/bank-account-status.enum.ts +6 -0
- package/lib/components/ca-right-side-panel/enums/company/bank-card-types-string.enum.ts +6 -0
- package/lib/components/ca-right-side-panel/enums/company/fleet-type.enum.ts +5 -0
- package/lib/components/ca-right-side-panel/enums/company/preferred-load-type.enum.ts +4 -0
- package/lib/components/ca-right-side-panel/enums/company-font-size.enum.ts +5 -0
- package/lib/components/ca-right-side-panel/enums/company-info-title.enum.ts +16 -0
- package/lib/components/ca-right-side-panel/enums/filter-type.enum.ts +6 -0
- package/lib/components/ca-right-side-panel/enums/index.ts +12 -0
- package/lib/components/ca-right-side-panel/enums/modules-filter-item-label.enum.ts +4 -0
- package/lib/components/ca-right-side-panel/enums/right-side-panel-current-tab.enum.ts +4 -0
- package/lib/components/ca-right-side-panel/enums/selected-module.enum.ts +13 -0
- package/lib/components/ca-right-side-panel/enums/time-filter-type.enum.ts +9 -0
- package/lib/components/ca-right-side-panel/models/action-filter/action-filter-input-data.model.ts +9 -0
- package/lib/components/ca-right-side-panel/models/activity-log-filter-params.model.ts +14 -0
- package/lib/components/ca-right-side-panel/models/activity-log-filter.model.ts +6 -0
- package/lib/components/ca-right-side-panel/models/company/bank-account.model.ts +15 -0
- package/lib/components/ca-right-side-panel/models/company/bank-card.model.ts +10 -0
- package/lib/components/ca-right-side-panel/models/company/bank.model.ts +7 -0
- package/lib/components/ca-right-side-panel/models/company/company-additional-info.model.ts +17 -0
- package/lib/components/ca-right-side-panel/models/company/company-address.model.ts +12 -0
- package/lib/components/ca-right-side-panel/models/company/company-enum-value.model.ts +4 -0
- package/lib/components/ca-right-side-panel/models/company/company-navigation-data.model.ts +5 -0
- package/lib/components/ca-right-side-panel/models/company/company-payroll.model.ts +23 -0
- package/lib/components/ca-right-side-panel/models/company/company-short.model.ts +11 -0
- package/lib/components/ca-right-side-panel/models/company/company-user-short.model.ts +10 -0
- package/lib/components/ca-right-side-panel/models/company/company.model.ts +52 -0
- package/lib/components/ca-right-side-panel/models/company/department-contact.model.ts +12 -0
- package/lib/components/ca-right-side-panel/models/company/department.model.ts +9 -0
- package/lib/components/ca-right-side-panel/models/company/factoring-company.model.ts +11 -0
- package/lib/components/ca-right-side-panel/models/company/file-response.model.ts +9 -0
- package/lib/components/ca-right-side-panel/models/company/insurance-policy-addon.model.ts +27 -0
- package/lib/components/ca-right-side-panel/models/company/insurance-policy.model.ts +15 -0
- package/lib/components/ca-right-side-panel/models/company/per-mile.model.ts +5 -0
- package/lib/components/ca-right-side-panel/models/index.ts +28 -0
- package/lib/components/ca-right-side-panel/models/module-filter/module-filter-activity-log.model.ts +6 -0
- package/lib/components/ca-right-side-panel/models/module-filter/module-filter-input-data.model.ts +7 -0
- package/lib/components/ca-right-side-panel/models/navigation-item.model.ts +9 -0
- package/lib/components/ca-right-side-panel/models/time-filter/time-filter-event.model.ts +8 -0
- package/lib/components/ca-right-side-panel/models/user-filter/user-filter-avatar-file.model.ts +9 -0
- package/lib/components/ca-right-side-panel/models/user-filter/user-filter-data.model.ts +9 -0
- package/lib/components/ca-right-side-panel/models/user-filter/user-filter-input-data.model.ts +9 -0
- package/lib/components/ca-right-side-panel/utils/constants/activity-log-filter-data.constants.ts +132 -0
- package/lib/components/ca-right-side-panel/utils/constants/companies-side-panel-navigation.constants.ts +730 -0
- package/lib/components/ca-right-side-panel/utils/constants/index.ts +2 -0
- package/lib/components/ca-right-side-panel/utils/pipes/bank-card-types.pipe.ts +20 -0
- package/lib/components/ca-right-side-panel/utils/pipes/hide-account.pipe.ts +59 -0
- package/lib/components/ca-right-side-panel/utils/pipes/index.ts +2 -0
- package/lib/components/ca-right-side-panel/utils/svg-routes/index.ts +2 -0
- package/lib/components/ca-right-side-panel/utils/svg-routes/right-side-panel-top-bar-svg.routes.ts +10 -0
- package/lib/components/ca-right-side-panel/utils/svg-routes/side-panel-company-svg.routes.ts +6 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.html +176 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.scss +373 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.spec.ts +21 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.ts +380 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.stories.ts +180 -0
- package/lib/components/ca-search-multiple-states/models/chips.model.ts +6 -0
- package/lib/components/ca-search-multiple-states/models/grid-column.model.ts +23 -0
- package/lib/components/ca-search-multiple-states/models/index.ts +3 -0
- package/lib/components/ca-search-multiple-states/models/tab-data.model.ts +14 -0
- package/lib/components/ca-search-multiple-states/utils/config/index.ts +1 -0
- package/lib/components/ca-search-multiple-states/utils/config/input-config.ts +10 -0
- package/lib/components/ca-search-multiple-states/utils/enums/chips-colors.enum.ts +5 -0
- package/lib/components/ca-search-multiple-states/utils/enums/index.ts +3 -0
- package/lib/components/ca-search-multiple-states/utils/enums/keyboard-event-commands.enum.ts +3 -0
- package/lib/components/ca-search-multiple-states/utils/enums/search-count.enum.ts +6 -0
- package/lib/components/ca-search-multiple-states/utils/pipes/chip-class.pipe.ts +23 -0
- package/lib/components/ca-search-multiple-states/utils/pipes/index.ts +1 -0
- package/lib/components/ca-search-multiple-states/utils/services/index.ts +1 -0
- package/lib/components/ca-search-multiple-states/utils/services/search-multiple-states.service.ts +37 -0
- package/lib/components/ca-search-multiple-states/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-search-multiple-states/utils/svg-routes/search-multiple-states.routes.ts +8 -0
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.html +145 -0
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.scss +205 -0
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.spec.ts +22 -0
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.ts +276 -0
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.stories.ts +69 -0
- package/lib/components/ca-search-multiple-states-2/enums/index.ts +1 -0
- package/lib/components/ca-search-multiple-states-2/enums/search-multiple-state-action.enum.ts +3 -0
- package/lib/components/ca-search-multiple-states-2/interfaces/index.ts +1 -0
- package/lib/components/ca-search-multiple-states-2/interfaces/search-query.interface.ts +4 -0
- package/lib/components/ca-search-multiple-states-2/util/index.ts +1 -0
- package/lib/components/ca-search-multiple-states-2/util/routes/multiple-search-state-svg.route.ts +9 -0
- package/lib/components/ca-selectable-column-table/ca-selectable-column-table.component.html +70 -0
- package/lib/components/ca-selectable-column-table/ca-selectable-column-table.component.scss +96 -0
- package/lib/components/ca-selectable-column-table/ca-selectable-column-table.component.ts +72 -0
- package/lib/components/ca-selectable-column-table/ca-selectable-columns-table.stories.ts +53 -0
- package/lib/components/ca-selectable-column-table/enums/ca-selectable-column-table.enum.ts +3 -0
- package/lib/components/ca-selectable-column-table/enums/index.ts +1 -0
- package/lib/components/ca-selectable-column-table/models/ca-selectable-column-table.model.ts +6 -0
- package/lib/components/ca-selectable-column-table/models/index.ts +1 -0
- package/lib/components/ca-selectable-column-table/utils/constants/ca-selectable-column-table.constants.ts +50 -0
- package/lib/components/ca-selectable-column-table/utils/constants/index.ts +1 -0
- package/lib/components/ca-show-more/ca-show-more.component.html +19 -0
- package/lib/components/ca-show-more/ca-show-more.component.scss +0 -0
- package/lib/components/ca-show-more/ca-show-more.component.spec.ts +23 -0
- package/lib/components/ca-show-more/ca-show-more.component.ts +27 -0
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.html +122 -0
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.scss +158 -0
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.spec.ts +21 -0
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.ts +137 -0
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.stories.ts +173 -0
- package/lib/components/ca-sort-dropdown/enums/index.ts +1 -0
- package/lib/components/ca-sort-dropdown/enums/sort-dropdown.enum.ts +11 -0
- package/lib/components/ca-sort-dropdown/interfaces/index.ts +1 -0
- package/lib/components/ca-sort-dropdown/interfaces/sort-dropdown-action.interface.ts +11 -0
- package/lib/components/ca-sort-dropdown/models/index.ts +1 -0
- package/lib/components/ca-sort-dropdown/models/sort-column.model.ts +8 -0
- package/lib/components/ca-sort-dropdown/types/index.ts +1 -0
- package/lib/components/ca-sort-dropdown/types/sort-directions.type.ts +6 -0
- package/lib/components/ca-sort-dropdown/utils/svg-routes/ca-sort-dropdown-svg-routes.ts +10 -0
- package/lib/components/ca-sort-dropdown/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.html +136 -0
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.scss +6 -0
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.stories.ts +103 -0
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.ts +101 -0
- package/lib/components/ca-spinner/ca-spinner.component.html +13 -0
- package/lib/components/ca-spinner/ca-spinner.component.scss +63 -0
- package/lib/components/ca-spinner/ca-spinner.component.spec.ts +24 -0
- package/lib/components/ca-spinner/ca-spinner.component.ts +61 -0
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.html +70 -0
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.scss +10 -0
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.stories.ts +78 -0
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.ts +46 -0
- package/lib/components/ca-tab-switch/ca-tab-switch.component.html +33 -0
- package/lib/components/ca-tab-switch/ca-tab-switch.component.scss +381 -0
- package/lib/components/ca-tab-switch/ca-tab-switch.component.ts +213 -0
- package/lib/components/ca-tab-switch/ca-tab-switch.stories.ts +155 -0
- package/lib/components/ca-tab-switch/models/hover-style.model.ts +4 -0
- package/lib/components/ca-tab-switch/models/tab-options.model.ts +5 -0
- package/lib/components/ca-tab-switch/utils/constants/tab-switch.constants.ts +6 -0
- package/lib/components/ca-table-card-view/ca-table-card-view.component.html +255 -0
- package/lib/components/ca-table-card-view/ca-table-card-view.component.scss +73 -0
- package/lib/components/ca-table-card-view/ca-table-card-view.component.spec.ts +22 -0
- package/lib/components/ca-table-card-view/ca-table-card-view.component.ts +322 -0
- package/lib/components/ca-table-card-view/ca-table-card-view.stories.ts +79 -0
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.html +28 -0
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.scss +3 -0
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.spec.ts +23 -0
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.ts +25 -0
- package/lib/components/ca-table-card-view/enums/index.ts +2 -0
- package/lib/components/ca-table-card-view/enums/table-card-general.enum.ts +4 -0
- package/lib/components/ca-table-card-view/enums/table-card-types.enum.ts +4 -0
- package/lib/components/ca-table-card-view/pipes/index.ts +1 -0
- package/lib/components/ca-table-card-view/pipes/is-card-flipped.pipe.ts +11 -0
- package/lib/components/ca-table-card-view/utils/helpers/index.ts +2 -0
- package/lib/components/ca-table-card-view/utils/helpers/table-card-skeleton.helper.ts +94 -0
- package/lib/components/ca-table-card-view/utils/helpers/table-card-view-helper.ts +93 -0
- package/lib/components/ca-table-card-view/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-table-card-view/utils/svg-routes/table-card-view-svg-routes.ts +3 -0
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.component.html +312 -0
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.component.scss +195 -0
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.component.ts +131 -0
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.stories.ts +54 -0
- package/lib/components/ca-telematic-map-list/config/ca-telematic-list.config.ts +16 -0
- package/lib/components/ca-telematic-map-list/config/index.ts +1 -0
- package/lib/components/ca-telematic-map-list/enums/ca-telematic-map-list.enum.ts +4 -0
- package/lib/components/ca-telematic-map-list/enums/index.ts +1 -0
- package/lib/components/ca-telematic-map-list/models/index.ts +1 -0
- package/lib/components/ca-telematic-map-list/models/telematic-truck.model.ts +27 -0
- package/lib/components/ca-telematic-map-list/pipes/index.ts +2 -0
- package/lib/components/ca-telematic-map-list/pipes/is-column-selected.pipe.ts +18 -0
- package/lib/components/ca-telematic-map-list/utils/constants/index.ts +1 -0
- package/lib/components/ca-telematic-map-list/utils/constants/telematic-map-list.constants.ts +1782 -0
- package/lib/components/ca-telematic-map-list/utils/svg-routes/ca-telematic-list-svg-routes.ts +8 -0
- package/lib/components/ca-telematic-map-list/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-toast-messages/ca-toast-messages-component.html +47 -0
- package/lib/components/ca-toast-messages/ca-toast-messages-component.scss +41 -0
- package/lib/components/ca-toast-messages/ca-toast-messages.component.ts +127 -0
- package/lib/components/ca-toast-messages/ca-toast-messages.stories.ts +105 -0
- package/lib/components/ca-toast-messages/enums/index.ts +1 -0
- package/lib/components/ca-toast-messages/enums/toast-type.enum.ts +6 -0
- package/lib/components/ca-toast-messages/pipes/index.ts +2 -0
- package/lib/components/ca-toast-messages/pipes/toast-background.pipe.ts +28 -0
- package/lib/components/ca-toast-messages/pipes/toast-stack.pipe.ts +17 -0
- package/lib/components/ca-todo/ca-todo-component.html +35 -0
- package/lib/components/ca-todo/ca-todo-component.scss +62 -0
- package/lib/components/ca-todo/ca-todo.component.ts +109 -0
- package/lib/components/ca-todo/ca-todo.stories.ts +711 -0
- package/lib/components/ca-todo/components/ca-todo-card.component.html +313 -0
- package/lib/components/ca-todo/components/ca-todo-card.component.scss +223 -0
- package/lib/components/ca-todo/components/ca-todo-card.component.spec.ts +21 -0
- package/lib/components/ca-todo/components/ca-todo-card.component.ts +192 -0
- package/lib/components/ca-todo/components/ca-todo-card.stories.ts +378 -0
- package/lib/components/ca-todo/config/column.config.ts +24 -0
- package/lib/components/ca-todo/config/index.ts +1 -0
- package/lib/components/ca-todo/enums/column.enum.ts +5 -0
- package/lib/components/ca-todo/enums/download-link.enum.ts +5 -0
- package/lib/components/ca-todo/enums/index.ts +2 -0
- package/lib/components/ca-todo/models/image-config.model.ts +5 -0
- package/lib/components/ca-todo/models/index.ts +4 -0
- package/lib/components/ca-todo/models/to-do-column.model.ts +8 -0
- package/lib/components/ca-todo/models/todo-card-config.model.ts +10 -0
- package/lib/components/ca-todo/models/todo-config.model.ts +19 -0
- package/lib/components/ca-todo/services/file-service.ts +15 -0
- package/lib/components/ca-todo/services/index.ts +1 -0
- package/lib/components/ca-todo/utils/index.ts +1 -0
- package/lib/components/ca-todo/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-todo/utils/svg-routes/todo.routes.ts +8 -0
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.html +282 -0
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.scss +53 -0
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.spec.ts +23 -0
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.ts +197 -0
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.stories.ts +83 -0
- package/lib/components/ca-toolbar-dropdown/interfaces/dropdown-item.interface.ts +14 -0
- package/lib/components/ca-toolbar-dropdown/interfaces/index.ts +1 -0
- package/lib/components/ca-toolbar-dropdown/pipes/filter-by-search-term.pipe.ts +20 -0
- package/lib/components/ca-toolbar-dropdown/pipes/index.ts +2 -0
- package/lib/components/ca-toolbar-dropdown/pipes/selected-item.pipe.ts +16 -0
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.html +81 -0
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.scss +18 -0
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.spec.ts +23 -0
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.ts +152 -0
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.stories.ts +170 -0
- package/lib/components/ca-toolbar-tab-switch/enums/index.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/enums/toolbar-variant.enum.ts +4 -0
- package/lib/components/ca-toolbar-tab-switch/interfaces/index.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/interfaces/toolbar-tabs.interface.ts +6 -0
- package/lib/components/ca-toolbar-tab-switch/pipes/toolbar-tabs-class-pipe.ts +38 -0
- package/lib/components/ca-toolbar-tab-switch/types/index.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/types/toolbar-variant.type.ts +3 -0
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.html +85 -0
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.scss +105 -0
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.spec.ts +21 -0
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.ts +37 -0
- package/lib/components/ca-tooltip-list/ca-tooltip-list.stories.ts +117 -0
- package/lib/components/ca-tooltip-list/models/index.ts +2 -0
- package/lib/components/ca-tooltip-list/models/tooltip-list-item.model.ts +7 -0
- package/lib/components/ca-tooltip-list/models/tooltip-list.model.ts +8 -0
- package/lib/components/ca-tooltip-list/utils/constants/ca-tooltip-list.constants.ts +3 -0
- package/lib/components/ca-tooltip-list/utils/constants/index.ts +1 -0
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.html +238 -0
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.scss +137 -0
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.spec.ts +22 -0
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.ts +80 -0
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.stories.ts +134 -0
- package/lib/components/ca-truck-trailer-progress-bar/models/progress-dropdown-data.model.ts +10 -0
- package/lib/components/ca-upload-files/ca-upload-files.component.html +122 -0
- package/lib/components/ca-upload-files/ca-upload-files.component.scss +134 -0
- package/lib/components/ca-upload-files/ca-upload-files.component.ts +430 -0
- package/lib/components/ca-upload-files/ca-upload-files.stories.ts +499 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.html +303 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.scss +204 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.spec.ts +21 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.ts +410 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.stories.ts +209 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/directives/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/directives/template.directive.ts +10 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/file-dropzone-action.enum.ts +6 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/file-dropzone-type.enum.ts +6 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/file-upload-page.enum.ts +26 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/index.ts +4 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/template-type.enum.ts +7 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/helpers/file.helper.ts +30 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/helpers/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/drop-background-event.interface.ts +4 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/dropzone-config.interface.ts +14 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/dropzone-option-config.interface.ts +14 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/dropzone-settings.interface.ts +10 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/file-config.interface.ts +19 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/file-event.interface.ts +9 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/index.ts +6 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/file-icons.constants.ts +27 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/file-limit.constants.ts +41 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/index.ts +4 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/lottie-animation.constants.ts +10 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/mime-type.constants.ts +33 -0
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/svg-routes/dropzone-svg.routes.ts +3 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.html +412 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.scss +1491 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.spec.ts +21 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.ts +481 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/enums/document-action.enum.ts +8 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/enums/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/interfaces/delete-action.interface.ts +4 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/interfaces/file-action-event.interface.ts +7 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/interfaces/index.ts +2 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/byte-convert.pipe.ts +18 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/file-name.pipe.ts +17 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/index.ts +5 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/mime-type-to-extension.pipe.ts +14 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/ng-class.pipe.ts +41 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/url-extension.pipe.ts +18 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/services/document.service.ts +14 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/services/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/config/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/config/upload-file-input.config.ts +10 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/svg-routes/upload-file.routes.ts +9 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.html +99 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.scss +240 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.spec.ts +21 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.ts +190 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/enums/carousel-action.enum.ts +4 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/enums/file-carousel-size.enum.ts +8 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/enums/index.ts +2 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/interfaces/files-carousel.interface.ts +7 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/interfaces/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/constants/files-by-size.constant.ts +19 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/constants/index.ts +1 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/index.ts +2 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/svg-routes/carousel-svg.routes.ts +3 -0
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-upload-files/enums/file-action.enum.ts +5 -0
- package/lib/components/ca-upload-files/enums/file-size.enum.ts +7 -0
- package/lib/components/ca-upload-files/enums/file-type.enum.ts +6 -0
- package/lib/components/ca-upload-files/enums/index.ts +4 -0
- package/lib/components/ca-upload-files/enums/review-state.enum.ts +4 -0
- package/lib/components/ca-upload-files/interfaces/document-review-input-event.interface.ts +7 -0
- package/lib/components/ca-upload-files/interfaces/file-option-config.interface.ts +16 -0
- package/lib/components/ca-upload-files/interfaces/index.ts +5 -0
- package/lib/components/ca-upload-files/interfaces/review-file-config.interface.ts +10 -0
- package/lib/components/ca-upload-files/interfaces/slider.interface.ts +4 -0
- package/lib/components/ca-upload-files/interfaces/upload-files-config.interface.ts +46 -0
- package/lib/components/ca-upload-files/pipes/index.ts +2 -0
- package/lib/components/ca-upload-files/pipes/map-file.pipe.ts +17 -0
- package/lib/components/ca-upload-files/pipes/upload-class.pipe.ts +41 -0
- package/lib/components/ca-upload-files/services/index.ts +1 -0
- package/lib/components/ca-upload-files/services/upload-file.service.ts +34 -0
- package/lib/components/ca-upload-files/utils/svg-routes/files-upload-svg-routes.ts +6 -0
- package/lib/components/ca-upload-files/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.html +157 -0
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.scss +80 -0
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.spec.ts +22 -0
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.stories.ts +56 -0
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.ts +92 -0
- package/lib/components/ca-vehicle-list/enums/index.ts +1 -0
- package/lib/components/ca-vehicle-list/enums/vehicle-list.enum.ts +4 -0
- package/lib/components/ca-vehicle-list/interfaces/index.ts +2 -0
- package/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.ts +5 -0
- package/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.ts +9 -0
- package/lib/components/ca-vehicle-list/models/index.ts +1 -0
- package/lib/components/ca-vehicle-list/models/vehicle-list.model.ts +12 -0
- package/lib/components/ca-vehicle-list/types/index.ts +1 -0
- package/lib/components/ca-vehicle-list/types/vehicle-list.type.ts +5 -0
- package/lib/components/ca-vehicle-list/utils/constants/index.ts +1 -0
- package/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.ts +40 -0
- package/lib/components/ca-vehicle-list/utils/svg-routes/index.ts +1 -0
- package/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.ts +8 -0
- package/lib/directives/description-items-text-count.directive.ts +242 -0
- package/lib/directives/hover-svg-directives.ts +49 -0
- package/lib/directives/index.ts +3 -0
- package/lib/directives/placeholder-directive.ts +51 -0
- package/lib/enums/animation-state.enum.ts +4 -0
- package/lib/enums/color.enum.ts +9 -0
- package/lib/enums/common-element.enum.ts +8 -0
- package/lib/enums/date-time-formats.enum.ts +14 -0
- package/lib/enums/dispatch-status.enum.ts +24 -0
- package/lib/enums/dropdown.enum.ts +20 -0
- package/lib/enums/filter-color.enum.ts +14 -0
- package/lib/enums/general-actions.enum.ts +71 -0
- package/lib/enums/gps-heading-direction.enum.ts +10 -0
- package/lib/enums/gps-motion-status.enum.ts +7 -0
- package/lib/enums/index.ts +22 -0
- package/lib/enums/load-filter.enum.ts +25 -0
- package/lib/enums/load-status.enum.ts +58 -0
- package/lib/enums/position.enum.ts +10 -0
- package/lib/enums/shared-string.enum.ts +79 -0
- package/lib/enums/string-placeholder.enum.ts +20 -0
- package/lib/enums/style-property.enum.ts +4 -0
- package/lib/enums/styling.enum.ts +13 -0
- package/lib/enums/thousand-separator-format.enum.ts +5 -0
- package/lib/enums/trailer-name.enum.ts +18 -0
- package/lib/enums/truck-name.enum.ts +13 -0
- package/lib/enums/unit.enum.ts +30 -0
- package/lib/interfaces/dropdown-menu/table-card-body-actions.interface.ts +5 -0
- package/lib/interfaces/gps-current-location/gps-current-location.interface.ts +20 -0
- package/lib/interfaces/index.ts +5 -0
- package/lib/interfaces/table/index.ts +2 -0
- package/lib/interfaces/table/sortOrder.ts +7 -0
- package/lib/interfaces/table/table-column.interface.ts +25 -0
- package/lib/interfaces/user/company-user.interface.ts +10 -0
- package/lib/interfaces/user/user-avatar-file.interface.ts +9 -0
- package/lib/interfaces/user/user.interface.ts +14 -0
- package/lib/models/address-entity.model.ts +12 -0
- package/lib/models/address-list-response.model.ts +3 -0
- package/lib/models/address-response.model.ts +7 -0
- package/lib/models/array-status.model.ts +38 -0
- package/lib/models/autocomplete-search-layer.model.ts +32 -0
- package/lib/models/bank-response.ts +7 -0
- package/lib/models/card-models/card-table-data.model.ts +924 -0
- package/lib/models/cdl-response.ts +26 -0
- package/lib/models/cdl-restriction-response.ts +11 -0
- package/lib/models/color-response.ts +6 -0
- package/lib/models/dashboard/custom-period-range.model.ts +5 -0
- package/lib/models/dashboard/dropdown-list-item.model.ts +4 -0
- package/lib/models/enumValue.ts +4 -0
- package/lib/models/file-response.ts +9 -0
- package/lib/models/filter-output-params.model.ts +6 -0
- package/lib/models/filter-output.model.ts +6 -0
- package/lib/models/highlight-text.model.ts +4 -0
- package/lib/models/index.ts +8 -0
- package/lib/models/load/load-possible-statuses-response.model.ts +6 -0
- package/lib/models/load/load-status-response.model.ts +8 -0
- package/lib/models/load-status-history-response.model.ts +17 -0
- package/lib/models/long-lat.model.ts +4 -0
- package/lib/models/mixin.model.ts +1 -0
- package/lib/models/note-active-options.model.ts +6 -0
- package/lib/models/owner-response.ts +24 -0
- package/lib/models/pMTrailerShortResponse.ts +9 -0
- package/lib/models/pMTruckShortResponse.ts +9 -0
- package/lib/models/payroll-list-summary.model.ts +12 -0
- package/lib/models/repairModalResponse.ts +9 -0
- package/lib/models/state-response.ts +8 -0
- package/lib/models/table-models/all-table-animation.model.ts +15 -0
- package/lib/models/table-models/table-body-color-label.model.ts +11 -0
- package/lib/models/tabs.model.ts +6 -0
- package/lib/models/time-filter.model.ts +8 -0
- package/lib/models/trailer-dispatch-modal-response.ts +12 -0
- package/lib/models/trailer-minimal-response.ts +12 -0
- package/lib/models/trailer-type-response.ts +7 -0
- package/lib/models/truck-dispatch-modal-response.ts +19 -0
- package/lib/models/truck-minimal-response.ts +14 -0
- package/lib/models/truck-response.ts +0 -0
- package/lib/models/truck-type-response.ts +6 -0
- package/lib/models/user-selected.model.ts +8 -0
- package/lib/pipes/ca-svg.pipe.ts +33 -0
- package/lib/pipes/date-from-backend.pipe.ts +12 -0
- package/lib/pipes/date-from-string.pipe.ts +46 -0
- package/lib/pipes/date-to-time-from-backend.pipe.ts +15 -0
- package/lib/pipes/date-wait-time.pipe.ts +36 -0
- package/lib/pipes/date.pipe.ts +34 -0
- package/lib/pipes/dispatch-status-color.pipe.ts +80 -0
- package/lib/pipes/dispatch-status-colors.pipe.ts +60 -0
- package/lib/pipes/dropdown-load-status-color.pipe.ts +159 -0
- package/lib/pipes/format-city-state.pipe.ts +20 -0
- package/lib/pipes/format-currency.pipe.ts +46 -0
- package/lib/pipes/format-duration.pipe.ts +38 -0
- package/lib/pipes/highlight-search.pipe.ts +41 -0
- package/lib/pipes/index.ts +26 -0
- package/lib/pipes/load-status-background-color.pipe.ts +106 -0
- package/lib/pipes/load-status-color.pipe.ts +151 -0
- package/lib/pipes/load-status-colors.pipe.ts +109 -0
- package/lib/pipes/n-formatter.pipe.ts +41 -0
- package/lib/pipes/name-initials.pipe.ts +26 -0
- package/lib/pipes/progress-bar-line.pipe.ts +25 -0
- package/lib/pipes/row-class.pipe.ts +22 -0
- package/lib/pipes/safe-html.pipe.ts +16 -0
- package/lib/pipes/table-highlight-search-text.pipe.ts +56 -0
- package/lib/pipes/thousand-formater.pipe.ts +15 -0
- package/lib/pipes/thousand-separator.pipe.ts +19 -0
- package/lib/pipes/thousand-to-short-format-pipe.ts +16 -0
- package/lib/pipes/to-lower-case.pipe.ts +12 -0
- package/lib/pipes/truck-trailer-color-finder.pipe.ts +65 -0
- package/lib/pipes/truncate-string.pipe.ts +12 -0
- package/lib/pipes/unit-position.pipe.ts +20 -0
- package/lib/pipes/user-initials.pipe.ts +15 -0
- package/lib/services/google-script.service.ts +45 -0
- package/lib/services/image-base64.service.ts +20 -0
- package/lib/services/truckassist-table.service.ts +18 -0
- package/lib/utils/animations/index.ts +1 -0
- package/lib/utils/animations/toggle-up-down.animation.ts +23 -0
- package/lib/utils/constants/dropdown-menu-content.constants.ts +59 -0
- package/lib/utils/constants/gps-location.constants.ts +108 -0
- package/lib/utils/constants/index.ts +3 -0
- package/lib/utils/constants/search-multiple-states.constant.ts +7 -0
- package/lib/utils/helpers/date-time.helper.ts +22 -0
- package/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.ts +66 -0
- package/lib/utils/helpers/dropdown-menu-content.helper.ts +69 -0
- package/lib/utils/helpers/file.helpers.ts +14 -0
- package/lib/utils/helpers/gps-location.helper.ts +159 -0
- package/lib/utils/helpers/index.ts +7 -0
- package/lib/utils/helpers/methods-calculations.helper.ts +193 -0
- package/lib/utils/helpers/user.helper.ts +19 -0
- package/lib/utils/helpers/uuid.helper.ts +9 -0
- package/lib/utils/svg-routes/index.ts +1 -0
- package/lib/utils/svg-routes/payroll-list-summary-svg-routes.ts +4 -0
- package/lib/utils/svg-routes/shared-svg.routes.ts +91 -0
- package/package.json +1 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { eGpsHeadingDirection, eGpsMotionStatus } from '../../enums';
|
|
2
|
+
|
|
3
|
+
export class GpsLocationConstants {
|
|
4
|
+
static GPS_DEVICE_COLORS: Record<eGpsMotionStatus, string> = {
|
|
5
|
+
[eGpsMotionStatus.MOVING]: '#6692F1',
|
|
6
|
+
[eGpsMotionStatus.SHORT_STOP]: '#FAB15C',
|
|
7
|
+
[eGpsMotionStatus.EXTENDED_STOP]: '#E66767',
|
|
8
|
+
[eGpsMotionStatus.PARKING]: '#919191',
|
|
9
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: '#91919133',
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
static GPS_DEVICE_HOVER_COLORS: Record<eGpsMotionStatus, string> = {
|
|
13
|
+
[eGpsMotionStatus.MOVING]: '#3B73ED',
|
|
14
|
+
[eGpsMotionStatus.SHORT_STOP]: '#F89B2E',
|
|
15
|
+
[eGpsMotionStatus.EXTENDED_STOP]: '#DF3C3C',
|
|
16
|
+
[eGpsMotionStatus.PARKING]: '#6C6C6C',
|
|
17
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: '#91919133',
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
static GPS_SVG_CLASSES: Record<
|
|
21
|
+
eGpsMotionStatus,
|
|
22
|
+
{ fill: string; hover: string }
|
|
23
|
+
> = {
|
|
24
|
+
[eGpsMotionStatus.MOVING]: { fill: 'blue-8', hover: 'blue-14' },
|
|
25
|
+
[eGpsMotionStatus.SHORT_STOP]: { fill: 'yellow-1', hover: 'yellow-5' },
|
|
26
|
+
[eGpsMotionStatus.EXTENDED_STOP]: { fill: 'red-10', hover: 'red-11' },
|
|
27
|
+
[eGpsMotionStatus.PARKING]: { fill: 'muted', hover: 'bw6-2' },
|
|
28
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: { fill: 'dark-2', hover: 'dark-2' },
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
static GPS_SVG_FILL_COLORS: Record<eGpsMotionStatus, string> = {
|
|
32
|
+
[eGpsMotionStatus.MOVING]: '#6692F1',
|
|
33
|
+
[eGpsMotionStatus.SHORT_STOP]: '#FAB15C',
|
|
34
|
+
[eGpsMotionStatus.EXTENDED_STOP]: '#E66767',
|
|
35
|
+
[eGpsMotionStatus.PARKING]: '#AAAAAA',
|
|
36
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: '#6C6C6C',
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
static GPS_TITLES: Record<eGpsMotionStatus, string> = {
|
|
40
|
+
[eGpsMotionStatus.MOVING]: 'MOVING',
|
|
41
|
+
[eGpsMotionStatus.SHORT_STOP]: 'SHORT STOP',
|
|
42
|
+
[eGpsMotionStatus.EXTENDED_STOP]: 'EXTENDED STOP',
|
|
43
|
+
[eGpsMotionStatus.PARKING]: 'PARKING',
|
|
44
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: 'NO GPS DEVICE',
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
static GPS_TITLE_COLOR_CLASSES: Record<eGpsMotionStatus, string> = {
|
|
48
|
+
[eGpsMotionStatus.MOVING]: 'text-color-blue-14',
|
|
49
|
+
[eGpsMotionStatus.SHORT_STOP]: 'text-color-yellow-4',
|
|
50
|
+
[eGpsMotionStatus.EXTENDED_STOP]: 'text-color-red-11',
|
|
51
|
+
[eGpsMotionStatus.PARKING]: 'text-color-muted',
|
|
52
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: 'text-color-light-grey-2',
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
static GPS_TITLE_DROPDOWN_COLOR_CLASSES: Record<eGpsMotionStatus, string> =
|
|
56
|
+
{
|
|
57
|
+
[eGpsMotionStatus.MOVING]: 'text-color-blue-19',
|
|
58
|
+
[eGpsMotionStatus.SHORT_STOP]: 'text-color-yellow-5',
|
|
59
|
+
[eGpsMotionStatus.EXTENDED_STOP]: 'text-color-red-13',
|
|
60
|
+
[eGpsMotionStatus.PARKING]: 'text-color-muted',
|
|
61
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: 'text-color-light-grey-2',
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
static GPS_HEADING_ROTATION_ANGLE: Record<eGpsHeadingDirection, number> = {
|
|
65
|
+
[eGpsHeadingDirection.N]: 0,
|
|
66
|
+
[eGpsHeadingDirection.NE]: 45,
|
|
67
|
+
[eGpsHeadingDirection.E]: 90,
|
|
68
|
+
[eGpsHeadingDirection.SE]: 135,
|
|
69
|
+
[eGpsHeadingDirection.S]: 180,
|
|
70
|
+
[eGpsHeadingDirection.SW]: 225,
|
|
71
|
+
[eGpsHeadingDirection.W]: 270,
|
|
72
|
+
[eGpsHeadingDirection.NW]: 315,
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
static GPS_MOTION_TEXT: Record<
|
|
76
|
+
eGpsMotionStatus,
|
|
77
|
+
{ text: string; textColorClass: string }
|
|
78
|
+
> = {
|
|
79
|
+
[eGpsMotionStatus.MOVING]: {
|
|
80
|
+
text: 'Driving',
|
|
81
|
+
textColorClass: 'text-color-blue-14',
|
|
82
|
+
},
|
|
83
|
+
[eGpsMotionStatus.SHORT_STOP]: {
|
|
84
|
+
text: 'Short Stop',
|
|
85
|
+
textColorClass: 'text-color-yellow-5',
|
|
86
|
+
},
|
|
87
|
+
[eGpsMotionStatus.EXTENDED_STOP]: {
|
|
88
|
+
text: 'Extended Stop',
|
|
89
|
+
textColorClass: 'text-color-red-11',
|
|
90
|
+
},
|
|
91
|
+
[eGpsMotionStatus.PARKING]: {
|
|
92
|
+
text: 'Parking',
|
|
93
|
+
textColorClass: 'text-color-bw6-2',
|
|
94
|
+
},
|
|
95
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: {
|
|
96
|
+
text: 'No GPS Device',
|
|
97
|
+
textColorClass: 'text-color-muted',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
static GPS_IGNITION_SVG_CLASSES: Record<eGpsMotionStatus, string> = {
|
|
102
|
+
[eGpsMotionStatus.MOVING]: 'svg-fill-blue-8',
|
|
103
|
+
[eGpsMotionStatus.SHORT_STOP]: 'svg-fill-yellow-1',
|
|
104
|
+
[eGpsMotionStatus.EXTENDED_STOP]: 'svg-fill-red-10',
|
|
105
|
+
[eGpsMotionStatus.PARKING]: 'svg-fill-muted',
|
|
106
|
+
[eGpsMotionStatus.NO_GPS_DEVICE]: 'svg-fill-light-grey-6',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import moment from 'moment';
|
|
2
|
+
|
|
3
|
+
// enums
|
|
4
|
+
import { eDateTimeFormats, eSharedString } from '../../enums';
|
|
5
|
+
|
|
6
|
+
export class DateTimeHelper {
|
|
7
|
+
public static sortByCreatedAt<T extends { createdAt?: string | Date }>(
|
|
8
|
+
data: T[],
|
|
9
|
+
sortDirection: eSharedString.ASC | eSharedString.DSC,
|
|
10
|
+
dateFormat: string = eDateTimeFormats.MM_DD_YY_HH_MM_A
|
|
11
|
+
): T[] {
|
|
12
|
+
return [...data].sort((a, b) => {
|
|
13
|
+
if (!a?.createdAt || !b?.createdAt) return 0;
|
|
14
|
+
const dateA = moment(a.createdAt, dateFormat).valueOf();
|
|
15
|
+
const dateB = moment(b.createdAt, dateFormat).valueOf();
|
|
16
|
+
|
|
17
|
+
return sortDirection === eSharedString.ASC
|
|
18
|
+
? dateA - dateB
|
|
19
|
+
: dateB - dateA;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// constants
|
|
2
|
+
import { DropdownMenuContentConstants } from '../../utils/constants';
|
|
3
|
+
|
|
4
|
+
// enums
|
|
5
|
+
import { eDropdownMenu } from '../../enums';
|
|
6
|
+
import { StatusTypeEnum } from '../../components/ca-pickup-delivery-block/models';
|
|
7
|
+
|
|
8
|
+
// models
|
|
9
|
+
import { IDropdownMenuItem } from '../../components/ca-dropdown-menu/interfaces';
|
|
10
|
+
|
|
11
|
+
export class DropdownMenuContentConditionalItemsHelper {
|
|
12
|
+
// conditional items
|
|
13
|
+
static getConditionalItems(
|
|
14
|
+
requestedItemTitles: string[],
|
|
15
|
+
isSharedConditionalItems: boolean,
|
|
16
|
+
modifiers?: Partial<IDropdownMenuItem>[]
|
|
17
|
+
): IDropdownMenuItem[] {
|
|
18
|
+
const dropdownMenuItems = isSharedConditionalItems
|
|
19
|
+
? DropdownMenuContentConstants.DROPDOWN_MENU_SHARED_ITEMS
|
|
20
|
+
: DropdownMenuContentConstants.DROPDOWN_MENU_CONDITIONAL_ITEMS;
|
|
21
|
+
|
|
22
|
+
// if no specific items are requested, return all items
|
|
23
|
+
const requestedItems =
|
|
24
|
+
Array.isArray(requestedItemTitles) && !requestedItemTitles.length
|
|
25
|
+
? Object.values(dropdownMenuItems)
|
|
26
|
+
: requestedItemTitles.map((title) => dropdownMenuItems[title]);
|
|
27
|
+
|
|
28
|
+
// map requested item - optional modifiers
|
|
29
|
+
const mapDropdownMenuItems = () => {
|
|
30
|
+
return requestedItems.map((item) => {
|
|
31
|
+
const modifier = modifiers?.find(
|
|
32
|
+
(modifier) => modifier.title === item.title
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
return modifier ? { ...item, ...modifier } : item;
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return mapDropdownMenuItems();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// modifier items
|
|
43
|
+
// dispatchboard - pickup delivery component
|
|
44
|
+
static getPickupDeliveryModifierItems(
|
|
45
|
+
loadStatus: string,
|
|
46
|
+
isAllDispatchBoardsSelected: boolean
|
|
47
|
+
): Partial<IDropdownMenuItem>[] {
|
|
48
|
+
return [
|
|
49
|
+
{
|
|
50
|
+
title: eDropdownMenu.EDIT,
|
|
51
|
+
hasBorder: loadStatus !== StatusTypeEnum.PENDING,
|
|
52
|
+
isDisabled: isAllDispatchBoardsSelected,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
title: eDropdownMenu.UNASSIGN,
|
|
56
|
+
isDisabled: isAllDispatchBoardsSelected,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
title: eDropdownMenu.DELETE,
|
|
60
|
+
isDisabled:
|
|
61
|
+
isAllDispatchBoardsSelected ||
|
|
62
|
+
loadStatus !== StatusTypeEnum.PENDING,
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { DropdownMenuContentConditionalItemsHelper } from '../../utils/helpers';
|
|
2
|
+
|
|
3
|
+
// enums
|
|
4
|
+
import { StatusTypeEnum } from '../../components/ca-pickup-delivery-block/models';
|
|
5
|
+
import { eDropdownMenu } from '../../enums';
|
|
6
|
+
|
|
7
|
+
// models
|
|
8
|
+
import { IDropdownMenuItem } from '../../components/ca-dropdown-menu/interfaces';
|
|
9
|
+
|
|
10
|
+
export class DropdownMenuContentHelper {
|
|
11
|
+
// payroll - period content payment component
|
|
12
|
+
static getPayrollDropdownContent(
|
|
13
|
+
isOpenPayroll: boolean
|
|
14
|
+
): IDropdownMenuItem[] {
|
|
15
|
+
// requested items
|
|
16
|
+
const requestedSharedItems = isOpenPayroll
|
|
17
|
+
? []
|
|
18
|
+
: [
|
|
19
|
+
eDropdownMenu.VIEW_DETAILS,
|
|
20
|
+
eDropdownMenu.SHARE,
|
|
21
|
+
eDropdownMenu.PRINT,
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
// items
|
|
25
|
+
const sharedItems =
|
|
26
|
+
DropdownMenuContentConditionalItemsHelper.getConditionalItems(
|
|
27
|
+
requestedSharedItems,
|
|
28
|
+
true
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
return [...sharedItems];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// dispatchboard - pickup delivery component
|
|
35
|
+
static getPickupDeliveryDropdownContent(
|
|
36
|
+
loadStatus: string,
|
|
37
|
+
isAllDispatchBoardsSelected: boolean
|
|
38
|
+
): IDropdownMenuItem[] {
|
|
39
|
+
const modifierItems =
|
|
40
|
+
DropdownMenuContentConditionalItemsHelper.getPickupDeliveryModifierItems(
|
|
41
|
+
loadStatus,
|
|
42
|
+
isAllDispatchBoardsSelected
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
const sharedItems =
|
|
46
|
+
DropdownMenuContentConditionalItemsHelper.getConditionalItems(
|
|
47
|
+
[],
|
|
48
|
+
true,
|
|
49
|
+
modifierItems
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
if (loadStatus === StatusTypeEnum.PENDING) {
|
|
53
|
+
const conditionalItems =
|
|
54
|
+
DropdownMenuContentConditionalItemsHelper.getConditionalItems(
|
|
55
|
+
[eDropdownMenu.UNASSIGN],
|
|
56
|
+
false,
|
|
57
|
+
modifierItems
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
return [
|
|
61
|
+
sharedItems[0],
|
|
62
|
+
...conditionalItems,
|
|
63
|
+
...sharedItems.slice(1),
|
|
64
|
+
];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return [...sharedItems];
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class FileHelpers {
|
|
2
|
+
static base64ToFile(base64: string, filename: string): File {
|
|
3
|
+
const arr = base64.split(',');
|
|
4
|
+
const match = arr[0].match(/:(.*?);/);
|
|
5
|
+
const mime = match ? match[1] : '';
|
|
6
|
+
const binaryString = atob(arr[1]);
|
|
7
|
+
let length = binaryString.length;
|
|
8
|
+
const u8arr = new Uint8Array(length);
|
|
9
|
+
|
|
10
|
+
while (length--) u8arr[length] = binaryString.charCodeAt(length);
|
|
11
|
+
|
|
12
|
+
return new File([u8arr], filename, { type: mime });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// Enums
|
|
2
|
+
import {
|
|
3
|
+
eGpsHeadingDirection,
|
|
4
|
+
eGpsMotionStatus,
|
|
5
|
+
eSharedString,
|
|
6
|
+
eStringPlaceholder,
|
|
7
|
+
} from '../../enums';
|
|
8
|
+
|
|
9
|
+
// Constants
|
|
10
|
+
import { GpsLocationConstants } from '../constants';
|
|
11
|
+
|
|
12
|
+
export class GpsLocationHelper {
|
|
13
|
+
static getGpsIcon = (
|
|
14
|
+
motionStatus: eGpsMotionStatus,
|
|
15
|
+
headingDirection: eGpsHeadingDirection,
|
|
16
|
+
isIgnition?: boolean
|
|
17
|
+
): string => {
|
|
18
|
+
const svgInnerContent = GpsLocationHelper.getGpsSvgInnerContent(
|
|
19
|
+
motionStatus,
|
|
20
|
+
headingDirection,
|
|
21
|
+
isIgnition
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
const svg = GpsLocationHelper.getGpsSvg(
|
|
25
|
+
motionStatus,
|
|
26
|
+
svgInnerContent
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
return svg;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
static getGpsCurrentLocationIcon = (
|
|
33
|
+
motionStatus: eGpsMotionStatus
|
|
34
|
+
): string => {
|
|
35
|
+
if (motionStatus === eGpsMotionStatus.NO_GPS_DEVICE)
|
|
36
|
+
return eStringPlaceholder.EMPTY;
|
|
37
|
+
|
|
38
|
+
const classes = GpsLocationHelper.getGpsSvgClasses(motionStatus);
|
|
39
|
+
|
|
40
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
|
|
41
|
+
<rect class="${classes}" width="10" height="10" rx="5" fill="#6692F1"/>
|
|
42
|
+
<rect x="3" y="3" width="4" height="4" rx="2" fill="white"/>
|
|
43
|
+
</svg>`;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
static getGpsSvg = (
|
|
47
|
+
motionStatus: eGpsMotionStatus,
|
|
48
|
+
innerSvgContent: string
|
|
49
|
+
): string => {
|
|
50
|
+
const classes = GpsLocationHelper.getGpsSvgClasses(motionStatus);
|
|
51
|
+
|
|
52
|
+
return `<svg class="gps-svg" width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
53
|
+
<rect class="${classes}" width="22" height="22" rx="11" />
|
|
54
|
+
${innerSvgContent}
|
|
55
|
+
</svg>`;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
static getGpsSvgClasses = (motionStatus: eGpsMotionStatus): string => {
|
|
59
|
+
const svgClassesString =
|
|
60
|
+
GpsLocationConstants.GPS_SVG_CLASSES[motionStatus];
|
|
61
|
+
|
|
62
|
+
return `svg-rect-fill-${svgClassesString.fill} svg-rect-hover-${svgClassesString.hover}`;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
static getGpsSvgInnerContent = (
|
|
66
|
+
motionStatus: eGpsMotionStatus,
|
|
67
|
+
headingDirection: eGpsHeadingDirection,
|
|
68
|
+
isIgnition?: boolean
|
|
69
|
+
): string => {
|
|
70
|
+
let svgContent: string = eStringPlaceholder.EMPTY;
|
|
71
|
+
|
|
72
|
+
switch (motionStatus) {
|
|
73
|
+
case eGpsMotionStatus.NO_GPS_DEVICE:
|
|
74
|
+
svgContent = GpsLocationHelper.getNoGpsDeviceIconPath();
|
|
75
|
+
break;
|
|
76
|
+
case eGpsMotionStatus.MOVING:
|
|
77
|
+
svgContent =
|
|
78
|
+
GpsLocationHelper.getMovingIconPath(headingDirection);
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
svgContent =
|
|
82
|
+
GpsLocationHelper.getStoppedIconPath(isIgnition);
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return svgContent;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
static getGpsTitle = (
|
|
90
|
+
motionStatus: eGpsMotionStatus,
|
|
91
|
+
headingDirection?: eGpsHeadingDirection,
|
|
92
|
+
isIgnition?: boolean
|
|
93
|
+
): string => {
|
|
94
|
+
let gpsTitle =
|
|
95
|
+
GpsLocationConstants.GPS_TITLES[motionStatus] ??
|
|
96
|
+
eStringPlaceholder.EMPTY;
|
|
97
|
+
|
|
98
|
+
if (motionStatus === eGpsMotionStatus.MOVING && headingDirection) {
|
|
99
|
+
gpsTitle += `${eStringPlaceholder.DASH_WITH_SPACES} ${headingDirection}`;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
const isStopStatus = [
|
|
103
|
+
eGpsMotionStatus.SHORT_STOP,
|
|
104
|
+
eGpsMotionStatus.EXTENDED_STOP,
|
|
105
|
+
eGpsMotionStatus.PARKING,
|
|
106
|
+
].includes(motionStatus);
|
|
107
|
+
|
|
108
|
+
if (isStopStatus && isIgnition) {
|
|
109
|
+
gpsTitle += `${eStringPlaceholder.DASH_WITH_SPACES} ${eSharedString.IGNITION}`;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return gpsTitle;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
static getGpsTitleColorClass = (
|
|
116
|
+
motionStatus: eGpsMotionStatus,
|
|
117
|
+
isDarkMode?: boolean
|
|
118
|
+
): string => {
|
|
119
|
+
const colorClasses = isDarkMode
|
|
120
|
+
? GpsLocationConstants.GPS_TITLE_DROPDOWN_COLOR_CLASSES
|
|
121
|
+
: GpsLocationConstants.GPS_TITLE_COLOR_CLASSES;
|
|
122
|
+
|
|
123
|
+
return colorClasses[motionStatus] ?? eStringPlaceholder.EMPTY;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
static getMovingIconPath = (
|
|
127
|
+
headingDirection: eGpsHeadingDirection
|
|
128
|
+
): string => {
|
|
129
|
+
const rotationDeg =
|
|
130
|
+
GpsLocationConstants.GPS_HEADING_ROTATION_ANGLE[
|
|
131
|
+
headingDirection
|
|
132
|
+
];
|
|
133
|
+
|
|
134
|
+
return `<g transform="rotate(${rotationDeg ?? 0}, 11, 11)">
|
|
135
|
+
<path d="M10.4961 5.31177L6.13156 13.9689C6.0747 14.081 6.05676 14.2089 6.08055 14.3324C6.10435 14.4558 6.16852 14.5678 6.26298 14.6508C6.35744 14.7338 6.47681 14.783 6.6023 14.7906C6.72779 14.7983 6.85227 14.764 6.95613 14.6932L10.3641 12.3789C10.5521 12.2512 10.7741 12.1829 11.0014 12.1829C11.2287 12.1829 11.4507 12.2512 11.6387 12.3789L15.0501 14.6932C15.154 14.764 15.2785 14.7983 15.404 14.7906C15.5294 14.783 15.6488 14.7338 15.7433 14.6508C15.8377 14.5678 15.9019 14.4558 15.9257 14.3324C15.9495 14.2089 15.9316 14.081 15.8747 13.9689L11.5084 5.31177C11.4611 5.21802 11.3887 5.13923 11.2993 5.08419C11.2098 5.02914 11.1069 5 11.0018 5C10.8968 5 10.7939 5.02914 10.7044 5.08419C10.615 5.13923 10.5426 5.21802 10.4953 5.31177" fill="white"/>
|
|
136
|
+
</g>`;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
static getStoppedIconPath = (isIgnition?: boolean): string => {
|
|
140
|
+
return isIgnition
|
|
141
|
+
? `<g clip-path="url(#clip0_46471_37062)">
|
|
142
|
+
<path d="M16.3939 10.2833V13.3699C16.4085 13.5689 16.3928 13.769 16.3473 13.9633C16.2937 14.1475 16.1949 14.3154 16.0598 14.4516C15.9247 14.5879 15.7577 14.6881 15.5739 14.7433C15.335 14.7922 15.0905 14.8079 14.8473 14.7899C14.7465 14.7899 14.6498 14.7499 14.5786 14.6786C14.5073 14.6074 14.4673 14.5107 14.4673 14.4099V13.2666H13.3139V13.7833C13.3131 13.8346 13.3086 13.8859 13.3006 13.9366C13.274 14.1243 13.179 14.2956 13.0338 14.4174C12.8885 14.5392 12.7034 14.6031 12.5139 14.5966H9.82725C9.62347 14.5976 9.42374 14.5396 9.2522 14.4296C9.08066 14.3196 8.94465 14.1622 8.86059 13.9766H8.24725C8.06109 13.9654 7.88536 13.8868 7.75288 13.7556C7.62039 13.6243 7.54019 13.4493 7.52725 13.2633V12.5166H6.75392C6.75392 12.8966 6.76059 13.2699 6.75392 13.6566C6.75409 13.7259 6.73482 13.7939 6.69828 13.8528C6.66175 13.9118 6.60943 13.9593 6.54725 13.9899C6.43014 14.0331 6.30424 14.0468 6.18059 14.0299C6.0618 14.0457 5.94099 14.0343 5.82725 13.9966C5.76181 13.9663 5.70602 13.9185 5.66602 13.8585C5.62602 13.7985 5.60338 13.7286 5.60059 13.6566V10.2366C5.60278 10.1399 5.64084 10.0474 5.70736 9.97722C5.77389 9.907 5.86414 9.86401 5.96059 9.85659C6.10725 9.84993 6.25392 9.84993 6.40059 9.85659C6.49703 9.86401 6.58728 9.907 6.65381 9.97722C6.72033 10.0474 6.75839 10.1399 6.76059 10.2366V11.3766H7.52725C7.52725 10.8499 7.52059 10.3299 7.52725 9.80993C7.54129 9.62427 7.62184 9.44991 7.7541 9.31887C7.88637 9.18783 8.06147 9.1089 8.24725 9.09659C8.78059 9.08993 9.31392 9.09659 9.84059 9.09659V8.34326H8.29392C8.19211 8.34089 8.09514 8.29939 8.02313 8.22738C7.95112 8.15538 7.90962 8.0584 7.90725 7.95659V7.93659C7.90408 7.78521 7.91076 7.63378 7.92725 7.48326H7.92059C7.94618 7.39848 7.99954 7.32477 8.07209 7.27398C8.14464 7.22319 8.23217 7.19829 8.32059 7.20326H12.5333C12.6058 7.20414 12.6766 7.22519 12.7378 7.26405C12.799 7.3029 12.8482 7.35803 12.8799 7.42326C12.9131 7.51266 12.9268 7.60814 12.9199 7.70326C12.9199 7.80326 12.9199 7.90326 12.9133 8.00993C12.9015 8.1023 12.8564 8.1872 12.7864 8.2486C12.7164 8.31001 12.6264 8.34367 12.5333 8.34326H10.9999V9.09659H12.5133C12.717 9.09042 12.915 9.16452 13.0646 9.30293C13.2143 9.44134 13.3036 9.63299 13.3133 9.83659V10.6166H14.4666V9.47659C14.4669 9.40051 14.49 9.32626 14.5327 9.26332C14.5754 9.20039 14.636 9.15162 14.7066 9.12326C14.7914 9.10128 14.8791 9.09229 14.9666 9.09659C15.1451 9.08754 15.324 9.09872 15.4999 9.12993C15.669 9.16798 15.8274 9.24341 15.9636 9.3507C16.0997 9.45799 16.2101 9.5944 16.2866 9.74993C16.3621 9.91733 16.3992 10.0997 16.3939 10.2833Z" fill="white"/>
|
|
143
|
+
</g>
|
|
144
|
+
<defs>
|
|
145
|
+
<clipPath id="clip0_46471_37062">
|
|
146
|
+
<rect width="12" height="12" fill="white" transform="translate(5 5)"/>
|
|
147
|
+
</clipPath>
|
|
148
|
+
</defs>`
|
|
149
|
+
: `<rect x="6" y="6" width="10" height="10" rx="5" fill="white"/>`;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
static getNoGpsDeviceIconPath = (): string => {
|
|
153
|
+
return `<path d="M6.29726 11.0553L7.38313 9.9719L8.34258 10.9314L7.25525 12.016C6.92911 12.386 6.75624 12.8663 6.77183 13.3593C6.78742 13.8522 6.99031 14.3207 7.33919 14.6693C7.68806 15.018 8.15669 15.2205 8.64965 15.2357C9.14262 15.251 9.62286 15.0777 9.99259 14.7513L11.0784 13.6672L12.0352 14.624L10.9493 15.71C10.6448 16.0196 10.282 16.2658 9.88195 16.4345C9.48185 16.6032 9.05231 16.691 8.61811 16.6928C8.1839 16.6947 7.75363 16.6106 7.35211 16.4453C6.95058 16.28 6.58575 16.0369 6.27865 15.7299C5.97155 15.423 5.72827 15.0583 5.56284 14.6568C5.3974 14.2553 5.31308 13.8251 5.31475 13.3909C5.31642 12.9567 5.40403 12.5271 5.57255 12.127C5.74106 11.7268 5.98714 11.3639 6.29659 11.0593L6.29726 11.0553Z" fill="#919191" fill-opacity="0.4"/>
|
|
154
|
+
<path d="M12.6313 10.0404L10.1766 7.58565C10.3314 7.54823 10.4906 7.5299 10.6506 7.53134C11.1954 7.53187 11.718 7.7475 12.1046 8.13134C12.4776 8.50419 12.6882 9.00928 12.6906 9.53667C12.6927 9.70681 12.6727 9.87612 12.6313 10.0404Z" fill="#919191" fill-opacity="0.4"/>
|
|
155
|
+
<path d="M14.6251 12.0342L13.6703 11.0793L14.7486 10.0027C15.1012 9.64929 15.304 9.1736 15.3148 8.67452C15.3256 8.17544 15.1437 7.6914 14.8068 7.32305C14.4698 6.9547 14.0039 6.73041 13.5058 6.69681C13.0078 6.66322 12.5159 6.82291 12.1326 7.14267L11.9786 7.268L11.7999 7.17667C11.5821 7.0725 11.344 7.01742 11.1026 7.01534L11.0793 7.01534L10.9533 7.02067C10.9019 7.02362 10.8509 7.01074 10.8071 6.98378C10.7633 6.95682 10.7288 6.91708 10.7083 6.86991C10.6878 6.82274 10.6823 6.77042 10.6925 6.72001C10.7027 6.6696 10.7281 6.62353 10.7653 6.588L11.0506 6.302C11.3562 5.99655 11.719 5.75428 12.1183 5.58904C12.5175 5.42379 12.9454 5.33881 13.3775 5.33893C13.8096 5.33906 14.2375 5.42429 14.6366 5.58976C15.0358 5.75523 15.3985 5.99771 15.7039 6.30334C16.0094 6.60897 16.2516 6.97177 16.4169 7.37102C16.5821 7.77028 16.6671 8.19818 16.667 8.63028C16.6669 9.06238 16.5816 9.49023 16.4162 9.88939C16.2507 10.2886 16.0082 10.6512 15.7026 10.9567L14.6251 12.0342Z" fill="#919191" fill-opacity="0.4"/>
|
|
156
|
+
<path d="M9.27782 11.8666L10.2332 12.822L9.79592 13.2573C9.66738 13.3779 9.49684 13.4435 9.32064 13.4402C9.14443 13.4368 8.9765 13.3648 8.85263 13.2394C8.72875 13.1141 8.65873 12.9453 8.65747 12.7691C8.65622 12.5929 8.72384 12.4231 8.84592 12.296L9.27782 11.8666Z" fill="#919191" fill-opacity="0.4"/>
|
|
157
|
+
<path d="M15.972 15.0031C16.0892 14.8859 16.0892 14.6959 15.972 14.5788L7.64962 6.25636C7.53246 6.1392 7.34251 6.1392 7.22536 6.25636L6.25743 7.22428C6.14027 7.34144 6.14027 7.53139 6.25743 7.64855L14.5799 15.971C14.697 16.0881 14.887 16.0881 15.0041 15.971L15.972 15.0031Z" fill="#919191" fill-opacity="0.4"/>`;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './dropdown-menu-content.helper';
|
|
2
|
+
export * from './dropdown-menu-content-conditional-items.helper';
|
|
3
|
+
export * from './methods-calculations.helper';
|
|
4
|
+
export * from './uuid.helper';
|
|
5
|
+
export * from './user.helper';
|
|
6
|
+
export * from './date-time.helper';
|
|
7
|
+
export * from './gps-location.helper';
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { AbstractControl } from '@angular/forms';
|
|
2
|
+
|
|
3
|
+
import moment from 'moment';
|
|
4
|
+
|
|
5
|
+
// enums
|
|
6
|
+
import { eUnit } from '../../enums';
|
|
7
|
+
|
|
8
|
+
export class MethodsCalculationsHelper {
|
|
9
|
+
//------------------------------- Calculating Parking Slots -------------------------------
|
|
10
|
+
static calculateParkingSlot = (
|
|
11
|
+
value: string,
|
|
12
|
+
formControl: AbstractControl
|
|
13
|
+
) => {
|
|
14
|
+
// First check if value exist
|
|
15
|
+
if (!value) {
|
|
16
|
+
return 0;
|
|
17
|
+
}
|
|
18
|
+
let arrayStops: any[] = value.split(',');
|
|
19
|
+
// Second check if arrayStops has ',' or ''
|
|
20
|
+
if (arrayStops.includes(',') || arrayStops.includes('')) {
|
|
21
|
+
arrayStops.pop();
|
|
22
|
+
formControl.patchValue(value.substring(0, value.lastIndexOf(',')));
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
return arrayStops
|
|
26
|
+
.map((item: string) => {
|
|
27
|
+
// Third check if value has '-'
|
|
28
|
+
if (item.includes('-')) {
|
|
29
|
+
const doubleValues: string[] = item.split('-');
|
|
30
|
+
// Fourth check lentgh of doubleValues after splitting by -, must be 2
|
|
31
|
+
if (doubleValues.length > 2) {
|
|
32
|
+
arrayStops.pop();
|
|
33
|
+
formControl.patchValue(
|
|
34
|
+
value.substring(0, value.lastIndexOf(','))
|
|
35
|
+
);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const foundSameElements: boolean = arrayStops.some(
|
|
39
|
+
(array1) => doubleValues.includes(array1)
|
|
40
|
+
);
|
|
41
|
+
// Fifth check if values exist, denided, delete, return
|
|
42
|
+
if (foundSameElements) {
|
|
43
|
+
arrayStops.pop();
|
|
44
|
+
formControl.patchValue(
|
|
45
|
+
value.substring(0, value.lastIndexOf(','))
|
|
46
|
+
);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
// Sixth check if second value > first value
|
|
50
|
+
if (!doubleValues.includes('')) {
|
|
51
|
+
if (
|
|
52
|
+
parseInt(doubleValues[1]) >
|
|
53
|
+
parseInt(doubleValues[0])
|
|
54
|
+
) {
|
|
55
|
+
// Seventh check if value in range
|
|
56
|
+
arrayStops.forEach((item) => {
|
|
57
|
+
if (
|
|
58
|
+
parseInt(item) >
|
|
59
|
+
parseInt(doubleValues[0]) &&
|
|
60
|
+
parseInt(item) < parseInt(doubleValues[1])
|
|
61
|
+
) {
|
|
62
|
+
arrayStops.pop();
|
|
63
|
+
formControl.patchValue(
|
|
64
|
+
value.substring(
|
|
65
|
+
0,
|
|
66
|
+
value.lastIndexOf(',')
|
|
67
|
+
)
|
|
68
|
+
);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
return (
|
|
73
|
+
parseInt(doubleValues[1]) -
|
|
74
|
+
parseInt(doubleValues[0])
|
|
75
|
+
);
|
|
76
|
+
} else {
|
|
77
|
+
arrayStops.pop();
|
|
78
|
+
formControl.patchValue(
|
|
79
|
+
value.substring(0, value.lastIndexOf(','))
|
|
80
|
+
);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
} else {
|
|
84
|
+
arrayStops.pop();
|
|
85
|
+
formControl.patchValue(
|
|
86
|
+
value.substring(0, value.lastIndexOf(','))
|
|
87
|
+
);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
} else {
|
|
91
|
+
// Eight chech has array duplicate items
|
|
92
|
+
if (arrayStops.length !== new Set(arrayStops).size) {
|
|
93
|
+
arrayStops = [...new Set(arrayStops)];
|
|
94
|
+
formControl.patchValue(arrayStops.join(','));
|
|
95
|
+
return;
|
|
96
|
+
} else {
|
|
97
|
+
return 1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
.reduce((accumulator, item) => {
|
|
102
|
+
return (accumulator! += item!);
|
|
103
|
+
}, 0);
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
//------------------------------- DATE TO BACKEND -------------------------------
|
|
107
|
+
static convertDateToBackend = (date: string) => {
|
|
108
|
+
return moment(new Date(date)).toISOString(true);
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
//------------------------------- DATE FROM BACKEND -------------------------------
|
|
112
|
+
static convertDateFromBackend = (date: string) => {
|
|
113
|
+
return moment.utc(date).local().format('MM/DD/YY');
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
//------------------------------- TIME FROM DATE FROM BACKEND -------------------------------
|
|
117
|
+
static convertDateToTimeFromBackend = (
|
|
118
|
+
date: string,
|
|
119
|
+
show_am_ap?: boolean
|
|
120
|
+
) => {
|
|
121
|
+
if (!date) {
|
|
122
|
+
return null;
|
|
123
|
+
}
|
|
124
|
+
return moment
|
|
125
|
+
.utc(date)
|
|
126
|
+
.local()
|
|
127
|
+
.format(show_am_ap ? 'HH:mm A' : 'HH:mm:SS');
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
//------------------------------- TIME FROM BACKEND -------------------------------
|
|
131
|
+
static convertTimeFromBackend = (time: string) => {
|
|
132
|
+
return moment(time, 'HH:mm:SS A').toDate();
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
//------------------------------- DATE FROM BACKEND TO TIME -------------------------------
|
|
136
|
+
static convertDateFromBackendToTime = (date: string) => {
|
|
137
|
+
return moment(new Date(date)).format('LT');
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
static combineDateAndTimeToBackend = (date: string, time: string) => {
|
|
141
|
+
if (!time) {
|
|
142
|
+
return moment(new Date(date)).toISOString(true);
|
|
143
|
+
}
|
|
144
|
+
return moment(new Date(date + ' ' + time)).toISOString(true);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
//------------------------------- DATE FROM BACKEND TO DATE AND TIME -------------------------------
|
|
148
|
+
static convertDateFromBackendToDateAndTime = (date: Date | string) => {
|
|
149
|
+
return moment(new Date(date)).format('MM/DD/YY, hh:mm A');
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
//------------------------------- Convert thousand separator in number -------------------------------
|
|
153
|
+
static convertThousanSepInNumber = (value: string) => {
|
|
154
|
+
if (value) return parseFloat(value.toString().replace(/,/g, ''));
|
|
155
|
+
else return 0;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
//------------------------------- Convert number in thousand separator -------------------------------
|
|
159
|
+
static convertNumberInThousandSep = (value: number) => {
|
|
160
|
+
if (value)
|
|
161
|
+
return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
162
|
+
else return 0;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
//------------------------------- Convert number to short format (1.000 to 1K, 1.000.000 to 1M) -------------------------------
|
|
166
|
+
static convertThousandToShortFormat = (value: number) => {
|
|
167
|
+
if (value)
|
|
168
|
+
return new Intl.NumberFormat(undefined, {
|
|
169
|
+
//@ts-ignore
|
|
170
|
+
notation: 'compact',
|
|
171
|
+
compactDisplay: 'short',
|
|
172
|
+
}).format(value);
|
|
173
|
+
else return '0';
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
//------------------------------- SPECIFIC PRICE CONVERTORS -------------------------------
|
|
177
|
+
static convertNumberWithCurrencyFormatterToBackend = (
|
|
178
|
+
value: number,
|
|
179
|
+
hasDollar: boolean = false
|
|
180
|
+
) => {
|
|
181
|
+
const formatedValue = value.toLocaleString('en-US', {
|
|
182
|
+
style: 'currency',
|
|
183
|
+
currency: 'USD',
|
|
184
|
+
minimumFractionDigits: 2,
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
if (formatedValue.includes(eUnit.DOLLAR_SIGN) && !hasDollar) {
|
|
188
|
+
return formatedValue.slice(1);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
return formatedValue;
|
|
192
|
+
};
|
|
193
|
+
}
|