ca-components 2.1.152 → 2.1.161
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 +18 -1
- package/fesm2022/ca-components.mjs.map +1 -1
- package/index.d.ts +96 -96
- package/package.json +1 -1
- package/lib/animations/accordion-animation.ts +0 -41
- package/lib/animations/animation.ts +0 -33
- package/lib/animations/area-left-side.animation.ts +0 -44
- package/lib/animations/area-right-side.animation.ts +0 -43
- package/lib/animations/card-component.animation.ts +0 -78
- package/lib/animations/close-form.animation.ts +0 -34
- package/lib/animations/expand-search-button.animation.ts +0 -17
- package/lib/animations/fade-in.animation.ts +0 -15
- package/lib/animations/in-out.animation.ts +0 -87
- package/lib/animations/index.ts +0 -14
- package/lib/animations/puff-in-out.animation.ts +0 -40
- package/lib/animations/search-bar-button-opacity.animation.ts +0 -18
- package/lib/animations/search-input-expand.animation.ts +0 -18
- package/lib/animations/show.animation.ts +0 -36
- package/lib/animations/slide-in-out.animation.ts +0 -36
- package/lib/animations/state-header.animation.ts +0 -31
- package/lib/animations/tabs-modal.animation.ts +0 -121
- package/lib/ca-components.module.ts +0 -222
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.html +0 -227
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.scss +0 -398
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.spec.ts +0 -21
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.ts +0 -174
- package/lib/components/ca-activity-log-list/ca-activity-log-list.stories.ts +0 -29
- package/lib/components/ca-activity-log-list/config/activity-log-search-filter.config.ts +0 -18
- package/lib/components/ca-activity-log-list/config/index.ts +0 -1
- package/lib/components/ca-activity-log-list/enums/action-log-type-title-text.enum.ts +0 -5
- package/lib/components/ca-activity-log-list/enums/action-log-type.enum.ts +0 -7
- package/lib/components/ca-activity-log-list/enums/activity-entity-type.enum.ts +0 -4
- package/lib/components/ca-activity-log-list/enums/activity-log-utils.enum.ts +0 -4
- package/lib/components/ca-activity-log-list/enums/index.ts +0 -4
- package/lib/components/ca-activity-log-list/models/action-log.model.ts +0 -7
- package/lib/components/ca-activity-log-list/models/activity-log-item-description.model.ts +0 -5
- package/lib/components/ca-activity-log-list/models/activity-log-item.model.ts +0 -18
- package/lib/components/ca-activity-log-list/models/activity-log-list-data.model.ts +0 -7
- package/lib/components/ca-activity-log-list/models/company-user-avatar-file.model.ts +0 -9
- package/lib/components/ca-activity-log-list/models/company-user.model.ts +0 -10
- package/lib/components/ca-activity-log-list/models/entity-type-activity.model.ts +0 -4
- package/lib/components/ca-activity-log-list/models/index.ts +0 -7
- package/lib/components/ca-activity-log-list/utils/constants/activity-log-list-data.constants.ts +0 -537
- package/lib/components/ca-activity-log-list/utils/constants/index.ts +0 -1
- package/lib/components/ca-activity-log-list/utils/pipes/action-log-name-transform.pipe.ts +0 -11
- package/lib/components/ca-activity-log-list/utils/pipes/activity-log-date-transform.pipe.ts +0 -14
- package/lib/components/ca-activity-log-list/utils/pipes/company-user-name-transform.pipe.ts +0 -13
- package/lib/components/ca-activity-log-list/utils/pipes/index.ts +0 -4
- package/lib/components/ca-activity-log-list/utils/pipes/tab-title-transform.pipe.ts +0 -13
- package/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.html +0 -20
- 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 +0 -74
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.html +0 -18
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.scss +0 -0
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.ts +0 -56
- package/lib/components/ca-autoclose-popover/enums/autoclose-string.enum.ts +0 -3
- package/lib/components/ca-chart/ca-chart.component.html +0 -76
- package/lib/components/ca-chart/ca-chart.component.scss +0 -39
- package/lib/components/ca-chart/ca-chart.component.spec.ts +0 -21
- package/lib/components/ca-chart/ca-chart.component.ts +0 -912
- package/lib/components/ca-chart/ca-chart.stories.ts +0 -121
- package/lib/components/ca-chart/config/ca-base-chart-dataset.config.ts +0 -12
- package/lib/components/ca-chart/config/index.ts +0 -1
- package/lib/components/ca-chart/enums/chart-annotation-type.enum.ts +0 -8
- package/lib/components/ca-chart/enums/chart-annotation.enum.ts +0 -15
- package/lib/components/ca-chart/enums/chart-colors.enum.ts +0 -7
- package/lib/components/ca-chart/enums/chart-event-properties.enum.ts +0 -5
- package/lib/components/ca-chart/enums/chart-event-types.enum.ts +0 -3
- package/lib/components/ca-chart/enums/chart-font-properties.enum.ts +0 -4
- package/lib/components/ca-chart/enums/chart-images.enum.ts +0 -7
- package/lib/components/ca-chart/enums/chart-plugin-ids.enum.ts +0 -6
- package/lib/components/ca-chart/enums/cubic-interpolation-mode.enum.ts +0 -4
- package/lib/components/ca-chart/enums/e-chart-types.enum.ts +0 -5
- package/lib/components/ca-chart/enums/index.ts +0 -10
- package/lib/components/ca-chart/models/chart-annotation.model.ts +0 -15
- package/lib/components/ca-chart/models/chart-base-dataset.model.ts +0 -20
- package/lib/components/ca-chart/models/chart-boundaries.model.ts +0 -4
- package/lib/components/ca-chart/models/chart-center-label.model.ts +0 -11
- package/lib/components/ca-chart/models/chart-config.model.ts +0 -29
- package/lib/components/ca-chart/models/chart-data.model.ts +0 -6
- package/lib/components/ca-chart/models/chart-dataset-hover.model.ts +0 -5
- package/lib/components/ca-chart/models/chart-legend-config.model.ts +0 -7
- package/lib/components/ca-chart/models/chart-legend-property.model.ts +0 -10
- package/lib/components/ca-chart/models/chart-line-dataset.model.ts +0 -16
- package/lib/components/ca-chart/models/index.ts +0 -10
- package/lib/components/ca-chart/utils/constants/chart.constants.ts +0 -3
- package/lib/components/ca-chart/utils/constants/index.ts +0 -1
- package/lib/components/ca-chart/utils/guards/chart-type.guard.ts +0 -10
- package/lib/components/ca-chart/utils/guards/index.ts +0 -1
- package/lib/components/ca-chart/utils/helpers/chart.helper.ts +0 -294
- package/lib/components/ca-chart/utils/helpers/index.ts +0 -1
- package/lib/components/ca-chart/utils/svg-routes/chart-svg-routes.ts +0 -12
- package/lib/components/ca-chart/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-chart-manager/ca-chart-manager.component.html +0 -27
- package/lib/components/ca-chart-manager/ca-chart-manager.component.scss +0 -13
- package/lib/components/ca-chart-manager/ca-chart-manager.component.spec.ts +0 -21
- package/lib/components/ca-chart-manager/ca-chart-manager.component.ts +0 -131
- package/lib/components/ca-chart-manager/models/hover-state.model.ts +0 -7
- package/lib/components/ca-chart-manager/models/index.ts +0 -1
- package/lib/components/ca-chart-manager/services/chart-manager.service.ts +0 -21
- package/lib/components/ca-chart-manager/services/index.ts +0 -1
- package/lib/components/ca-checkbox/ca-checkbox.component.html +0 -207
- package/lib/components/ca-checkbox/ca-checkbox.component.scss +0 -417
- package/lib/components/ca-checkbox/ca-checkbox.component.spec.ts +0 -23
- package/lib/components/ca-checkbox/ca-checkbox.component.ts +0 -190
- package/lib/components/ca-checkbox/ca-checkbox.stories.ts +0 -87
- package/lib/components/ca-checkbox/interfaces/column-check-action.interface.ts +0 -6
- package/lib/components/ca-checkbox/interfaces/index.ts +0 -1
- package/lib/components/ca-checkbox/utils/svg-routes/checkbox-svg-routes.ts +0 -9
- package/lib/components/ca-checkbox/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.html +0 -83
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.scss +0 -17
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.spec.ts +0 -23
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-count.component.ts +0 -70
- package/lib/components/ca-checkbox-selected-count/ca-checkbox-selected-cpunt.component.stories.ts +0 -90
- package/lib/components/ca-checkbox-selected-count/pipes/checkbox-selected-count-class.pipe.ts +0 -27
- package/lib/components/ca-checkbox-selected-count/pipes/index.ts +0 -1
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.html +0 -41
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.scss +0 -64
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.stories.ts +0 -79
- package/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.ts +0 -81
- package/lib/components/ca-comment/ca-comment.component.html +0 -124
- package/lib/components/ca-comment/ca-comment.component.scss +0 -174
- package/lib/components/ca-comment/ca-comment.component.ts +0 -144
- package/lib/components/ca-comment/ca-comment.stories.ts +0 -133
- package/lib/components/ca-comment/directives/auto-resize.directive.ts +0 -41
- package/lib/components/ca-comment/directives/index.ts +0 -1
- package/lib/components/ca-comment/enums/index.ts +0 -1
- package/lib/components/ca-comment/enums/svg-icon.enum.ts +0 -6
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.html +0 -52
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.scss +0 -232
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.spec.ts +0 -21
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.ts +0 -46
- package/lib/components/ca-comment/modals/comment-modal/svg-routes/index.ts +0 -1
- package/lib/components/ca-comment/modals/comment-modal/svg-routes/modal.routes.ts +0 -4
- package/lib/components/ca-comment/models/ca-comment-config.model.ts +0 -11
- package/lib/components/ca-comment/models/ca-delete-comment.model.ts +0 -1
- package/lib/components/ca-comment/models/ca-save-comment.model.ts +0 -3
- package/lib/components/ca-comment/models/ca-update-comment.model.ts +0 -5
- package/lib/components/ca-comment/models/index.ts +0 -4
- package/lib/components/ca-comment/pipes/icon.pipe.ts +0 -18
- package/lib/components/ca-comment/pipes/index.ts +0 -1
- package/lib/components/ca-comment/services/index.ts +0 -1
- package/lib/components/ca-comment/services/modal.service.ts +0 -31
- package/lib/components/ca-comment/utils/constants/comment.constant.ts +0 -10
- package/lib/components/ca-comment/utils/constants/index.ts +0 -1
- package/lib/components/ca-comment/utils/index.ts +0 -1
- package/lib/components/ca-comments/ca-comments.component.html +0 -695
- package/lib/components/ca-comments/ca-comments.component.scss +0 -135
- package/lib/components/ca-comments/ca-comments.component.spec.ts +0 -23
- package/lib/components/ca-comments/ca-comments.component.ts +0 -257
- package/lib/components/ca-comments/ca-comments.stories.ts +0 -150
- package/lib/components/ca-comments/models/comment.interface.ts +0 -18
- package/lib/components/ca-comments/models/index.ts +0 -1
- package/lib/components/ca-comments/pipes/highlight-comment.pipe.ts +0 -51
- package/lib/components/ca-comments/pipes/highlight-single-string.pipe.ts +0 -26
- package/lib/components/ca-comments/pipes/index.ts +0 -4
- package/lib/components/ca-comments/pipes/is-current-user.pipe.ts +0 -24
- package/lib/components/ca-comments/pipes/sort-comments.pipe.ts +0 -35
- 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 +0 -78
- 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 +0 -49
- package/lib/components/ca-confirmation-modals/components/ca-deactive-modal/ca-deactive-modal.component.html +0 -76
- 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 +0 -58
- package/lib/components/ca-confirmation-modals/components/ca-delete-modal/ca-delete-modal.component.html +0 -74
- 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 +0 -48
- package/lib/components/ca-confirmation-modals/components/ca-move-modal/ca-move-modal.component.html +0 -78
- package/lib/components/ca-confirmation-modals/components/ca-move-modal/ca-move-modal.component.scss +0 -3
- package/lib/components/ca-confirmation-modals/components/ca-move-modal/ca-move-modal.component.ts +0 -49
- package/lib/components/ca-confirmation-modals/components/ca-reset-table-modal/ca-reset-table-modal.component.html +0 -74
- 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 +0 -48
- package/lib/components/ca-confirmation-modals/components/ca-void-modal/ca-void-modal.component.html +0 -74
- 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 +0 -48
- package/lib/components/ca-confirmation-modals/components/interfaces/file.interface.ts +0 -11
- package/lib/components/ca-confirmation-modals/components/interfaces/modal-data.interface.ts +0 -11
- package/lib/components/ca-confirmation-modals/interfaces/confirmation-modal-buttons.interface.ts +0 -7
- package/lib/components/ca-confirmation-modals/interfaces/index.ts +0 -1
- package/lib/components/ca-confirmation-modals/utils/constants/confirmation-modal-buttons.constants.ts +0 -28
- package/lib/components/ca-confirmation-modals/utils/constants/index.ts +0 -1
- package/lib/components/ca-contacts-card/ca-contacts-card.component.html +0 -200
- 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 +0 -23
- package/lib/components/ca-contacts-card/ca-contacts-card.component.stories.ts +0 -84
- package/lib/components/ca-contacts-card/ca-contacts-card.component.ts +0 -86
- package/lib/components/ca-contacts-card/interfaces/contact-department.interface.ts +0 -7
- package/lib/components/ca-contacts-card/interfaces/contact.interface.ts +0 -7
- package/lib/components/ca-contacts-card/interfaces/index.ts +0 -2
- package/lib/components/ca-custom-card/ca-custom-card.component.html +0 -164
- package/lib/components/ca-custom-card/ca-custom-card.component.scss +0 -187
- package/lib/components/ca-custom-card/ca-custom-card.component.stories.ts +0 -97
- package/lib/components/ca-custom-card/ca-custom-card.component.ts +0 -181
- package/lib/components/ca-custom-card/utils/animations/card-modal.animation.ts +0 -80
- package/lib/components/ca-custom-card/utils/animations/index.ts +0 -1
- package/lib/components/ca-custom-card/utils/enums/custom-card.enum.ts +0 -4
- package/lib/components/ca-custom-card/utils/enums/index.ts +0 -1
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.html +0 -158
- 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 +0 -24
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.ts +0 -298
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.html +0 -190
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-dates-main/ca-custom-datetime-pickers-calendar-dates-main.component.ts +0 -241
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.html +0 -23
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.ts +0 -61
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.html +0 -26
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.ts +0 -194
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.html +0 -66
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.ts +0 -158
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-left-string.enum.ts +0 -5
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-list-preview-string.enum.ts +0 -4
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-main-string.enum.ts +0 -5
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-scroll-type-string.enum.ts +0 -4
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-string.enum.ts +0 -6
- package/lib/components/ca-custom-datetime-pickers/enums/calendar-type-string.enum.ts +0 -3
- package/lib/components/ca-custom-datetime-pickers/models/scroll-change.model.ts +0 -6
- package/lib/components/ca-custom-datetime-pickers/models/scroll-type.model.ts +0 -8
- package/lib/components/ca-custom-datetime-pickers/pipes/calendar-months.pipe.ts +0 -23
- package/lib/components/ca-custom-datetime-pickers/services/calendar-datetime-picker.service.ts +0 -35
- package/lib/components/ca-custom-datetime-pickers/strategy/calendar-strategy.ts +0 -120
- package/lib/components/ca-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.ts +0 -48
- package/lib/components/ca-custom-datetime-pickers-test/ca-custom-datetime-pickers-test.component.html +0 -158
- 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 +0 -24
- package/lib/components/ca-custom-datetime-pickers-test/ca-custom-datetime-pickers-test.component.ts +0 -298
- 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 +0 -186
- 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 +0 -26
- 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 +0 -226
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.html +0 -22
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-days/ca-custom-datetime-pickers-calendar-days.component.ts +0 -61
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.html +0 -26
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-calendar-left/ca-custom-datetime-pickers-calendar-left.component.ts +0 -194
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.html +0 -66
- 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 +0 -26
- package/lib/components/ca-custom-datetime-pickers-test/components/ca-custom-datetime-pickers-date-calendars/ca-custom-datetime-pickers-date-calendars.component.ts +0 -158
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-left-string.enum.ts +0 -5
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-list-preview-string.enum.ts +0 -4
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-main-string.enum.ts +0 -5
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-scroll-type-string.enum.ts +0 -4
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-string.enum.ts +0 -6
- package/lib/components/ca-custom-datetime-pickers-test/enums/calendar-type-string.enum.ts +0 -3
- package/lib/components/ca-custom-datetime-pickers-test/models/scroll-change.model.ts +0 -6
- package/lib/components/ca-custom-datetime-pickers-test/models/scroll-type.model.ts +0 -8
- package/lib/components/ca-custom-datetime-pickers-test/pipes/calendar-months.pipe.ts +0 -23
- package/lib/components/ca-custom-datetime-pickers-test/services/calendar-datetime-picker.service.ts +0 -35
- package/lib/components/ca-custom-datetime-pickers-test/strategy/calendar-strategy.ts +0 -120
- package/lib/components/ca-custom-datetime-pickers-test/utils/constants/custom-datetime-pickers.constants.ts +0 -48
- package/lib/components/ca-custom-horizontal-scrollbar/ca-custom-horizontal-scrollbar.component.html +0 -20
- package/lib/components/ca-custom-horizontal-scrollbar/ca-custom-horizontal-scrollbar.component.scss +0 -11
- package/lib/components/ca-custom-horizontal-scrollbar/ca-custom-horizontal-scrollbar.component.ts +0 -23
- package/lib/components/ca-custom-horizontal-scrollbar/directives/scrollbar-sync.directive.ts +0 -200
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.html +0 -72
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.scss +0 -78
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.spec.ts +0 -23
- package/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.ts +0 -278
- package/lib/components/ca-custom-scrollbar/enums/event-type.enum.ts +0 -6
- package/lib/components/ca-custom-scrollbar/enums/index.ts +0 -2
- package/lib/components/ca-custom-scrollbar/enums/scroll-event-action.enum.ts +0 -4
- package/lib/components/ca-custom-scrollbar/models/index.ts +0 -2
- package/lib/components/ca-custom-scrollbar/models/scroll-bar-options.model.ts +0 -6
- package/lib/components/ca-custom-scrollbar/models/scroll-event.model.ts +0 -8
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.html +0 -77
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.scss +0 -357
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.ts +0 -132
- package/lib/components/ca-details-dropdown/models/detail-dropdown.model.ts +0 -17
- package/lib/components/ca-details-dropdown/utils/svg-routes/detail-dropdown-svg-routes.ts +0 -3
- package/lib/components/ca-details-title-card/ca-details-title-card.component.html +0 -98
- package/lib/components/ca-details-title-card/ca-details-title-card.component.scss +0 -153
- package/lib/components/ca-details-title-card/ca-details-title-card.component.stories.ts +0 -100
- package/lib/components/ca-details-title-card/ca-details-title-card.component.ts +0 -140
- package/lib/components/ca-details-title-card/interfaces/ca-details-title-card-config.interface.ts +0 -11
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.html +0 -289
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.scss +0 -334
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.spec.ts +0 -21
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.stories.ts +0 -162
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.ts +0 -287
- package/lib/components/ca-dropdown-menu/enums/dropdown-menu-item-type.enum.ts +0 -11
- package/lib/components/ca-dropdown-menu/enums/dropdown-menu.enum.ts +0 -25
- package/lib/components/ca-dropdown-menu/enums/index.ts +0 -2
- package/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-item.interface.ts +0 -22
- package/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-option-emit.interface.ts +0 -5
- package/lib/components/ca-dropdown-menu/interfaces/index.ts +0 -2
- package/lib/components/ca-dropdown-menu/pipes/dropdown-menu-placement-class.pipe.ts +0 -18
- package/lib/components/ca-dropdown-menu/pipes/group-item-checked-state.pipe.ts +0 -20
- package/lib/components/ca-dropdown-menu/pipes/index.ts +0 -2
- package/lib/components/ca-dropdown-menu/types/dropdown-menu-type.type.ts +0 -4
- package/lib/components/ca-dropdown-menu/types/index.ts +0 -1
- package/lib/components/ca-dropdown-menu/utils/constants/dropdown-menu.constants.ts +0 -228
- package/lib/components/ca-dropdown-menu/utils/constants/index.ts +0 -1
- package/lib/components/ca-dropdown-menu/utils/helpers/dropdown-menu.helper.ts +0 -16
- package/lib/components/ca-dropdown-menu/utils/helpers/index.ts +0 -1
- package/lib/components/ca-dropdown-menu/utils/svg-routes/dropdown-menu-svg-routes.ts +0 -10
- package/lib/components/ca-dropdown-menu/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.html +0 -365
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.scss +0 -36
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.ts +0 -236
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.stories.ts +0 -41
- package/lib/components/ca-factoring-dropdown/enums/factoring-form-control.enum.ts +0 -6
- package/lib/components/ca-factoring-dropdown/enums/factoring-pdf-format.enum.ts +0 -4
- package/lib/components/ca-factoring-dropdown/enums/factoring-pdf-organize.enum.ts +0 -4
- package/lib/components/ca-factoring-dropdown/enums/index.ts +0 -3
- package/lib/components/ca-factoring-dropdown/interfaces/factoring-checkbox-item.interface.ts +0 -5
- package/lib/components/ca-factoring-dropdown/interfaces/factoring-export-item.interface.ts +0 -14
- package/lib/components/ca-factoring-dropdown/interfaces/index.ts +0 -2
- package/lib/components/ca-factoring-dropdown/utils/constants/factoring-dropdown.constants.ts +0 -57
- package/lib/components/ca-factoring-dropdown/utils/constants/index.ts +0 -1
- package/lib/components/ca-files-count/ca-files-count.component.html +0 -38
- package/lib/components/ca-files-count/ca-files-count.component.scss +0 -1
- package/lib/components/ca-files-count/ca-files-count.component.spec.ts +0 -23
- package/lib/components/ca-files-count/ca-files-count.component.stories.ts +0 -37
- package/lib/components/ca-files-count/ca-files-count.component.ts +0 -50
- package/lib/components/ca-filters/ca-filter.component.html +0 -557
- package/lib/components/ca-filters/ca-filter.component.scss +0 -316
- package/lib/components/ca-filters/ca-filter.component.stories.ts +0 -420
- package/lib/components/ca-filters/ca-filter.component.ts +0 -572
- package/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.html +0 -162
- package/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.scss +0 -394
- package/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.ts +0 -299
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-broker-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-dispatcher-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-driver-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/ca-fuel-stop-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-dispatcher-filter/config/index.ts +0 -4
- package/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.html +0 -126
- package/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.scss +0 -371
- package/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.ts +0 -171
- package/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.html +0 -184
- package/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.scss +0 -397
- package/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.ts +0 -348
- package/lib/components/ca-filters/components/ca-state-filter/config/ca-state-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-state-filter/config/index.ts +0 -1
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.html +0 -137
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.scss +0 -212
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.ts +0 -225
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.html +0 -37
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.scss +0 -122
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.ts +0 -171
- package/lib/components/ca-filters/components/ca-time-filter-dropdown/ca-time-filter-dropdown.component.html +0 -33
- package/lib/components/ca-filters/components/ca-time-filter-dropdown/ca-time-filter-dropdown.component.scss +0 -114
- package/lib/components/ca-filters/components/ca-time-filter-dropdown/ca-time-filter-dropdown.component.ts +0 -198
- package/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.html +0 -127
- package/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.scss +0 -372
- package/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.ts +0 -242
- package/lib/components/ca-filters/components/ca-trailer-type-filter/config/ca-trailer-type-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-trailer-type-filter/config/index.ts +0 -1
- package/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.html +0 -125
- package/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.scss +0 -378
- package/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.ts +0 -236
- package/lib/components/ca-filters/components/ca-truck-type-filter/config/ca-truck-type-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-truck-type-filter/config/index.ts +0 -1
- package/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.html +0 -220
- package/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.scss +0 -597
- package/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.ts +0 -324
- package/lib/components/ca-filters/components/ca-user-filter/config/ca-user-filter.config.ts +0 -16
- package/lib/components/ca-filters/components/ca-user-filter/config/index.ts +0 -1
- package/lib/components/ca-filters/components/ca-user-filter/models/ca-user-data.model.ts +0 -10
- package/lib/components/ca-filters/components/ca-user-filter/models/ca-user-group.model.ts +0 -7
- package/lib/components/ca-filters/components/ca-user-filter/models/index.ts +0 -2
- package/lib/components/ca-filters/components/ca-user-filter/pipes/filter-selected-items.pipe.ts +0 -15
- package/lib/components/ca-filters/components/ca-user-filter/pipes/group-selection-state.pipe.ts +0 -19
- package/lib/components/ca-filters/components/ca-user-filter/pipes/index.ts +0 -3
- package/lib/components/ca-filters/components/ca-user-filter/pipes/selected-users.pipe.ts +0 -16
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.html +0 -22
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.scss +0 -355
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.ts +0 -181
- package/lib/components/ca-filters/enums/filter-actions-string.enum.ts +0 -6
- package/lib/components/ca-filters/enums/index.ts +0 -1
- package/lib/components/ca-filters/pipes/filter-conditions-clear.pipe.ts +0 -81
- package/lib/components/ca-filters/pipes/filter-conditions-set.pipe.ts +0 -106
- package/lib/components/ca-filters/pipes/filter-conditions-user-box.pipe.ts +0 -39
- package/lib/components/ca-filters/pipes/filter-popover-conditions.pipe.ts +0 -146
- package/lib/components/ca-filters/pipes/filter-trailer-color.pipe.ts +0 -37
- package/lib/components/ca-filters/pipes/filter-truck-color.pipe.ts +0 -32
- package/lib/components/ca-filters/pipes/index.ts +0 -6
- package/lib/components/ca-filters/utils/constants/directive.constants.ts +0 -1342
- package/lib/components/ca-filters/utils/constants/filter-config.constants.ts +0 -44
- package/lib/components/ca-filters/utils/constants/index.ts +0 -2
- package/lib/components/ca-filters/utils/constants/status-filter.constants.ts +0 -258
- package/lib/components/ca-filters/utils/helpers/filter.helper.ts +0 -277
- package/lib/components/ca-filters/utils/helpers/index.ts +0 -2
- package/lib/components/ca-filters/utils/helpers/time-filter.helper.ts +0 -118
- package/lib/components/ca-filters/utils/svg-routes/ca-filters-svg-routes.ts +0 -15
- package/lib/components/ca-filters/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-filters/validators/range.validator.ts +0 -23
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.html +0 -271
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.scss +0 -271
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.spec.ts +0 -23
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.ts +0 -248
- package/lib/components/ca-fleet-filter/ca-fleet-filter.stories.ts +0 -42
- package/lib/components/ca-fleet-filter/enums/fleet-filter-item-type.enum.ts +0 -4
- package/lib/components/ca-fleet-filter/enums/index.ts +0 -1
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-data.interface.ts +0 -10
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-item-emit.interface.ts +0 -6
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-trailer-type.interface.ts +0 -7
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-trailer.interface.ts +0 -8
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-truck-type.interface.ts +0 -6
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-truck.interface.ts +0 -8
- package/lib/components/ca-fleet-filter/interfaces/index.ts +0 -6
- package/lib/components/ca-fleet-filter/utils/constants/fleet-filter.constants.ts +0 -204
- package/lib/components/ca-fleet-filter/utils/constants/index.ts +0 -1
- package/lib/components/ca-fleet-filter/utils/helpers/fleet-filter.helper.ts +0 -56
- package/lib/components/ca-fleet-filter/utils/helpers/index.ts +0 -1
- package/lib/components/ca-fleet-filter/utils/pipes/index.ts +0 -1
- package/lib/components/ca-fleet-filter/utils/pipes/remove-svg-extension.pipe.ts +0 -11
- package/lib/components/ca-fleet-filter/utils/svg-routes/fleet-filter-svg-routes.ts +0 -7
- package/lib/components/ca-fleet-filter/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.html +0 -116
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.scss +0 -28
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.spec.ts +0 -23
- package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.ts +0 -62
- package/lib/components/ca-fuel-prices-range/interfaces/fuel-prices-range-config.interface.ts +0 -6
- package/lib/components/ca-fuel-prices-range/interfaces/index.ts +0 -1
- package/lib/components/ca-fuel-prices-range/pipes/fuel-prices-range.pipe.ts +0 -29
- package/lib/components/ca-fuel-prices-range/pipes/index.ts +0 -1
- package/lib/components/ca-fuel-prices-range/utils/constants/fuel-prices-range.constants.ts +0 -28
- package/lib/components/ca-fuel-prices-range/utils/constants/index.ts +0 -1
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.html +0 -2454
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.scss +0 -25
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.spec.ts +0 -21
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.component.ts +0 -184
- package/lib/components/ca-heatmap-usa/ca-heatmap-usa.stories.ts +0 -45
- package/lib/components/ca-heatmap-usa/constants/heatmap-usa.constants.ts +0 -721
- package/lib/components/ca-heatmap-usa/constants/index.ts +0 -1
- package/lib/components/ca-heatmap-usa/interfaces/index.ts +0 -3
- package/lib/components/ca-heatmap-usa/interfaces/map-list-item.interface.ts +0 -6
- package/lib/components/ca-heatmap-usa/interfaces/map-states.interface.ts +0 -10
- package/lib/components/ca-heatmap-usa/interfaces/top-list-by-state-item.interface.ts +0 -11
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.html +0 -59
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.scss +0 -84
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.component.ts +0 -118
- package/lib/components/ca-icon-dropdown/ca-icon-dropdown.stories.ts +0 -107
- package/lib/components/ca-icon-dropdown/enums/index.ts +0 -1
- package/lib/components/ca-icon-dropdown/enums/placement.enum.ts +0 -25
- package/lib/components/ca-icon-dropdown/interfaces/icon-drop-down-item.interface.ts +0 -5
- package/lib/components/ca-icon-dropdown/interfaces/icon-dropdown-config.interface.ts +0 -19
- package/lib/components/ca-icon-dropdown/interfaces/index.ts +0 -2
- package/lib/components/ca-icon-dropdown/utils/svg-routes/icon-dropdown-svg-routes.ts +0 -3
- package/lib/components/ca-icon-dropdown/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-input/base-classes/ca-input-base-helpres.ts +0 -343
- package/lib/components/ca-input/base-classes/ca-input-base.ts +0 -1394
- package/lib/components/ca-input/base-classes/ca-input-event-manager.ts +0 -32
- package/lib/components/ca-input/ca-input.component.html +0 -640
- package/lib/components/ca-input/ca-input.component.scss +0 -413
- package/lib/components/ca-input/ca-input.component.ts +0 -311
- package/lib/components/ca-input/ca-input.stories.ts +0 -416
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.html +0 -33
- 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 +0 -26
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.ts +0 -75
- package/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.html +0 -85
- 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 +0 -26
- package/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.ts +0 -46
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.html +0 -38
- 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 +0 -25
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.ts +0 -58
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.html +0 -50
- 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 +0 -25
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.ts +0 -79
- package/lib/components/ca-input/config/ca-input.config.ts +0 -192
- package/lib/components/ca-input/config/index.ts +0 -1
- package/lib/components/ca-input/custom-validators/email-custom.validator.ts +0 -9
- package/lib/components/ca-input/custom-validators/url-custom.validator.ts +0 -9
- package/lib/components/ca-input/directives/caps-lock.directive.ts +0 -44
- package/lib/components/ca-input/directives/command-visible.directive.ts +0 -44
- package/lib/components/ca-input/directives/index.ts +0 -5
- package/lib/components/ca-input/directives/input-max-value.directive.ts +0 -48
- package/lib/components/ca-input/directives/min-max-value.directive.ts +0 -37
- package/lib/components/ca-input/directives/price_format.directive.ts +0 -35
- package/lib/components/ca-input/directives/restrict-input.directive.ts +0 -129
- package/lib/components/ca-input/enums/index.ts +0 -4
- package/lib/components/ca-input/enums/input-commands-action.enum.ts +0 -9
- package/lib/components/ca-input/enums/input-commands-type.enum.ts +0 -7
- package/lib/components/ca-input/enums/input-config-name-string.enum.ts +0 -7
- package/lib/components/ca-input/enums/input-string.enum.ts +0 -115
- package/lib/components/ca-input/enums/input-text-transform.enum.ts +0 -6
- package/lib/components/ca-input/mixins/input-command.mixin.ts +0 -158
- package/lib/components/ca-input/mixins/input-helper.mixin.ts +0 -61
- package/lib/components/ca-input/mixins/input.mixin.ts +0 -19
- package/lib/components/ca-input/mixins/restriction-pipe.mixin.ts +0 -54
- package/lib/components/ca-input/models/base.model.ts +0 -24
- package/lib/components/ca-input/models/command-click.model.ts +0 -5
- package/lib/components/ca-input/models/commands-event.model.ts +0 -5
- package/lib/components/ca-input/models/index.ts +0 -3
- package/lib/components/ca-input/models/label-color.model.ts +0 -11
- package/lib/components/ca-input/pipes/color-finder.pipe.ts +0 -55
- package/lib/components/ca-input/pipes/form-control.pipe.ts +0 -12
- package/lib/components/ca-input/pipes/index.ts +0 -19
- package/lib/components/ca-input/pipes/input-class.pipe.ts +0 -197
- package/lib/components/ca-input/pipes/input-clear-class.pipe.ts +0 -104
- package/lib/components/ca-input/pipes/input-container-class.pipe.ts +0 -70
- package/lib/components/ca-input/pipes/input-datetime-picker-class.pipe.ts +0 -98
- package/lib/components/ca-input/pipes/input-dropdown-arrow-class.pipe.ts +0 -68
- package/lib/components/ca-input/pipes/input-error.pipe.ts +0 -78
- package/lib/components/ca-input/pipes/input-password-eye-class.pipe.ts +0 -43
- package/lib/components/ca-input/pipes/input-pattern.pipe.ts +0 -308
- package/lib/components/ca-input/pipes/input-placeholder-icon-right.pipe.ts +0 -54
- package/lib/components/ca-input/pipes/input-placeholder-icon.class.pipe.ts +0 -69
- package/lib/components/ca-input/pipes/input-placeholder-text-class.pipe.ts +0 -52
- package/lib/components/ca-input/pipes/input-type.pipe.ts +0 -18
- package/lib/components/ca-input/pipes/label-class.pipe.ts +0 -46
- package/lib/components/ca-input/pipes/show-clear.pipe.ts +0 -19
- package/lib/components/ca-input/pipes/show-dropdown-arrow.pipe.ts +0 -23
- package/lib/components/ca-input/pipes/show-invalid-danger-mark.pipe.ts +0 -31
- package/lib/components/ca-input/pipes/show-placeholder-text.pipe.ts +0 -27
- package/lib/components/ca-input/pipes/show-valid-check.pipe.ts +0 -30
- package/lib/components/ca-input/scss/ca-dropdown-input-image.scss +0 -109
- package/lib/components/ca-input/scss/ca-input.clear.scss +0 -360
- package/lib/components/ca-input/scss/ca-input.colors.scss +0 -287
- package/lib/components/ca-input/scss/ca-input.commands.scss +0 -187
- package/lib/components/ca-input/scss/ca-input.dangermark.scss +0 -17
- package/lib/components/ca-input/scss/ca-input.datepicker.scss +0 -153
- package/lib/components/ca-input/scss/ca-input.dropdown.scss +0 -124
- package/lib/components/ca-input/scss/ca-input.editlabel.scss +0 -42
- package/lib/components/ca-input/scss/ca-input.error.scss +0 -34
- package/lib/components/ca-input/scss/ca-input.input.scss +0 -838
- package/lib/components/ca-input/scss/ca-input.label.scss +0 -281
- package/lib/components/ca-input/scss/ca-input.labelcounter.scss +0 -21
- package/lib/components/ca-input/scss/ca-input.passwordcapslock.scss +0 -17
- package/lib/components/ca-input/scss/ca-input.passwordeye.scss +0 -138
- package/lib/components/ca-input/scss/ca-input.placeholderText.scss +0 -82
- package/lib/components/ca-input/scss/ca-input.placeholdericon-rightside.scss +0 -90
- package/lib/components/ca-input/scss/ca-input.placeholdericon.scss +0 -188
- package/lib/components/ca-input/scss/ca-input.requiredcheck.scss +0 -19
- package/lib/components/ca-input/scss/ca-input.spinner.scss +0 -5
- package/lib/components/ca-input/services/ca-input-validation.service.ts +0 -246
- package/lib/components/ca-input/services/index.ts +0 -1
- package/lib/components/ca-input/utils/constants/index.ts +0 -1
- package/lib/components/ca-input/utils/constants/input-constants.ts +0 -129
- package/lib/components/ca-input/utils/index.ts +0 -2
- package/lib/components/ca-input/utils/input-change-value.type.ts +0 -1
- package/lib/components/ca-input/utils/input-svg-routes.ts +0 -26
- package/lib/components/ca-input/versions/datetime/datetimepicker.directive.spec.ts +0 -8
- package/lib/components/ca-input/versions/datetime/datetimepicker.directive.ts +0 -9
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.html +0 -77
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.scss +0 -134
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.ts +0 -517
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.stories.ts +0 -290
- package/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.ts +0 -4
- package/lib/components/ca-input-address-dropdown/enums/input-address-commands-string.enum.ts +0 -6
- package/lib/components/ca-input-address-dropdown/enums/input-address-layers-string.enum.ts +0 -4
- package/lib/components/ca-input-address-dropdown/enums/input-address-stop-types-string.enum.ts +0 -4
- package/lib/components/ca-input-address-dropdown/enums/input-address-type-string.enum.ts +0 -5
- package/lib/components/ca-input-address-dropdown/models/address-data.model.ts +0 -14
- package/lib/components/ca-input-address-dropdown/models/address-list.model.ts +0 -6
- package/lib/components/ca-input-address-dropdown/models/command-properties.model.ts +0 -7
- package/lib/components/ca-input-address-dropdown/models/commands-handler.model.ts +0 -8
- package/lib/components/ca-input-address-dropdown/models/index.ts +0 -7
- package/lib/components/ca-input-address-dropdown/models/input-address-commands-string.model.ts +0 -5
- package/lib/components/ca-input-address-dropdown/models/long-lat.model.ts +0 -4
- package/lib/components/ca-input-address-dropdown/models/sent-address-data.model.ts +0 -7
- package/lib/components/ca-input-address-dropdown/validators/ca-input-address.regex-validations.ts +0 -12
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.html +0 -79
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.scss +0 -134
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.ts +0 -447
- package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.stories.ts +0 -183
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-basic-string.enum.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-commands-string.enum.ts +0 -6
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-layers-string.enum.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-stop-types-string.enum.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-type-string.enum.ts +0 -5
- package/lib/components/ca-input-address-dropdown-test/models/address-data.model.ts +0 -13
- package/lib/components/ca-input-address-dropdown-test/models/address-list.model.ts +0 -5
- package/lib/components/ca-input-address-dropdown-test/models/command-properties.model.ts +0 -7
- package/lib/components/ca-input-address-dropdown-test/models/commands-handler.model.ts +0 -8
- package/lib/components/ca-input-address-dropdown-test/models/input-address-commands-string.model.ts +0 -5
- package/lib/components/ca-input-address-dropdown-test/models/long-lat.model.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/models/sent-address-data.model.ts +0 -7
- package/lib/components/ca-input-address-dropdown-test/validators/ca-input-address-value.validations.ts +0 -14
- package/lib/components/ca-input-address-dropdown-test/validators/ca-input-address.regex-validations.ts +0 -12
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.html +0 -106
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.scss +0 -138
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.ts +0 -1193
- package/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.stories.ts +0 -231
- package/lib/components/ca-input-dropdown/animations/index.ts +0 -1
- package/lib/components/ca-input-dropdown/animations/input-dropdown.animation.ts +0 -24
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.html +0 -397
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.scss +0 -240
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.ts +0 -1468
- package/lib/components/ca-input-dropdown/ca-input-dropdown.stories.ts +0 -150
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.html +0 -23
- 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 +0 -45
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.html +0 -119
- 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 +0 -56
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.html +0 -31
- 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 +0 -44
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.html +0 -56
- 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 +0 -46
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.html +0 -86
- 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 +0 -61
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.html +0 -41
- 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 +0 -41
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.html +0 -65
- 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 +0 -57
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.html +0 -58
- 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 +0 -48
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.html +0 -69
- 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 +0 -41
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.html +0 -53
- 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 +0 -41
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.html +0 -54
- 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 +0 -46
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.html +0 -178
- 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 +0 -51
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.html +0 -23
- 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 +0 -41
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-parking/ca-input-dropdown-parking.component.html +0 -40
- 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 +0 -58
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.html +0 -84
- 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 +0 -48
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.html +0 -36
- 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 +0 -41
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.html +0 -113
- 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 +0 -58
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.html +0 -103
- 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 +0 -68
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.html +0 -34
- 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 +0 -40
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.html +0 -60
- 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 +0 -46
- package/lib/components/ca-input-dropdown/enums/dropdown-string.enum.ts +0 -4
- package/lib/components/ca-input-dropdown/enums/dropdown-template-type.enum.ts +0 -22
- package/lib/components/ca-input-dropdown/enums/index.ts +0 -2
- package/lib/components/ca-input-dropdown/models/index.ts +0 -3
- package/lib/components/ca-input-dropdown/models/input-dropdown-option.model.ts +0 -98
- package/lib/components/ca-input-dropdown/models/load-modal-status.model.ts +0 -5
- package/lib/components/ca-input-dropdown/models/status-order.model.ts +0 -4
- package/lib/components/ca-input-dropdown/pipes/dropdown-count.pipe.ts +0 -22
- package/lib/components/ca-input-dropdown/pipes/index.ts +0 -8
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-default-template-class.pipe.ts +0 -30
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-fuel-franchise-class.pipe.ts +0 -20
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-label-class.pipe.ts +0 -32
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-load-broker-container.pipe.ts +0 -27
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-multiselect-class.pipe.ts +0 -26
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-svgtext-template-container.pipe.ts +0 -27
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-svgtext-template-icon.pipe.ts +0 -24
- package/lib/components/ca-input-dropdown/utils/constants/index.ts +0 -1
- package/lib/components/ca-input-dropdown/utils/constants/input-dropdown.constants.ts +0 -206
- package/lib/components/ca-input-dropdown/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-input-dropdown/utils/svg-routes/input-dropdown-svg-routes.ts +0 -13
- package/lib/components/ca-input-dropdown-test/animations/index.ts +0 -1
- package/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.ts +0 -24
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.html +0 -835
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.scss +0 -276
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.ts +0 -897
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.stories.ts +0 -837
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.html +0 -26
- 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 +0 -66
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.html +0 -136
- 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 +0 -77
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.html +0 -32
- 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 +0 -67
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.html +0 -58
- 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 +0 -69
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.html +0 -77
- 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 +0 -83
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.html +0 -42
- 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 +0 -64
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.html +0 -63
- 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 +0 -73
- 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 +0 -49
- 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 +0 -33
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.html +0 -17
- 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 +0 -74
- 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 +0 -37
- 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 +0 -5
- 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 +0 -23
- 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 +0 -26
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.html +0 -47
- 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 +0 -68
- 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 +0 -56
- 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 +0 -27
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.html +0 -22
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.scss +0 -3
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.ts +0 -66
- 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 +0 -40
- 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 +0 -39
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.html +0 -32
- 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 +0 -68
- 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 +0 -166
- 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 +0 -38
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.html +0 -24
- 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 +0 -73
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.html +0 -24
- 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 +0 -64
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.html +0 -87
- 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 +0 -68
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.html +0 -38
- 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 +0 -68
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.html +0 -123
- 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 +0 -80
- 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 +0 -105
- 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 +0 -23
- 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 +0 -55
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.html +0 -19
- 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 +0 -91
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.html +0 -38
- 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 +0 -63
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.html +0 -63
- 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 +0 -61
- package/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.ts +0 -4
- package/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.ts +0 -21
- package/lib/components/ca-input-dropdown-test/enums/index.ts +0 -2
- package/lib/components/ca-input-dropdown-test/interfaces/index.ts +0 -1
- package/lib/components/ca-input-dropdown-test/interfaces/input-dropdown-option.interface.ts +0 -103
- package/lib/components/ca-input-dropdown-test/interfaces/selected-status.interface.ts +0 -5
- package/lib/components/ca-input-dropdown-test/interfaces/status-order.interface.ts +0 -4
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.ts +0 -25
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.ts +0 -107
- package/lib/components/ca-input-dropdown-test/pipes/index.ts +0 -9
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.ts +0 -38
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.ts +0 -22
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.ts +0 -28
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.ts +0 -37
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.ts +0 -28
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.ts +0 -31
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.ts +0 -29
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.ts +0 -28
- package/lib/components/ca-input-dropdown-test/types/index.ts +0 -1
- package/lib/components/ca-input-dropdown-test/types/input-dropdown-forms.type.ts +0 -9
- package/lib/components/ca-input-dropdown-test/types/select-dropdown-value.type.ts +0 -8
- package/lib/components/ca-input-dropdown-test/utils/constants/index.ts +0 -1
- package/lib/components/ca-input-dropdown-test/utils/constants/input-dropdown.constants.ts +0 -2948
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.ts +0 -13
- package/lib/components/ca-input-dropdown-test/validators/dropdown-empty-value.validator.ts +0 -11
- package/lib/components/ca-input-dropdown-test/validators/index.ts +0 -1
- package/lib/components/ca-input-note/ca-input-note.component.html +0 -91
- package/lib/components/ca-input-note/ca-input-note.component.scss +0 -171
- package/lib/components/ca-input-note/ca-input-note.component.spec.ts +0 -24
- package/lib/components/ca-input-note/ca-input-note.component.ts +0 -229
- package/lib/components/ca-input-note/ca-input-note.stories.ts +0 -64
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.html +0 -28
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.scss +0 -97
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.spec.ts +0 -24
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.ts +0 -43
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.stories.ts +0 -84
- package/lib/components/ca-input-test/base-classes/ca-input-base-helpres.ts +0 -343
- package/lib/components/ca-input-test/base-classes/ca-input-base.ts +0 -1394
- package/lib/components/ca-input-test/base-classes/ca-input-event-manager.ts +0 -32
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.html +0 -33
- 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 +0 -26
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.ts +0 -75
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.html +0 -85
- 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 +0 -26
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.ts +0 -46
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.html +0 -38
- 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 +0 -25
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.ts +0 -58
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.html +0 -56
- 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 +0 -25
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.ts +0 -79
- package/lib/components/ca-input-test/config/ca-input.config.ts +0 -196
- package/lib/components/ca-input-test/config/index.ts +0 -1
- package/lib/components/ca-input-test/custom-validators/email-custom.validator.ts +0 -9
- package/lib/components/ca-input-test/custom-validators/url-custom.validator.ts +0 -9
- package/lib/components/ca-input-test/directives/caps-lock.directive.ts +0 -44
- package/lib/components/ca-input-test/directives/command-visible.directive.ts +0 -44
- package/lib/components/ca-input-test/directives/index.ts +0 -5
- package/lib/components/ca-input-test/directives/input-max-value.directive.ts +0 -48
- package/lib/components/ca-input-test/directives/min-max-value.directive.ts +0 -37
- package/lib/components/ca-input-test/directives/price_format.directive.ts +0 -35
- package/lib/components/ca-input-test/directives/restrict-input.directive.ts +0 -134
- package/lib/components/ca-input-test/enums/index.ts +0 -4
- package/lib/components/ca-input-test/enums/input-commands-action.enum.ts +0 -9
- package/lib/components/ca-input-test/enums/input-commands-type.enum.ts +0 -7
- package/lib/components/ca-input-test/enums/input-config-name-string.enum.ts +0 -7
- package/lib/components/ca-input-test/enums/input-string.enum.ts +0 -115
- package/lib/components/ca-input-test/enums/input-text-transform.enum.ts +0 -6
- package/lib/components/ca-input-test/input-test.component.html +0 -352
- package/lib/components/ca-input-test/input-test.component.scss +0 -413
- package/lib/components/ca-input-test/input-test.component.spec.ts +0 -23
- package/lib/components/ca-input-test/input-test.component.ts +0 -401
- package/lib/components/ca-input-test/input-test.stories.ts +0 -838
- package/lib/components/ca-input-test/mixins/input-command.mixin.ts +0 -159
- package/lib/components/ca-input-test/mixins/input-helper.mixin.ts +0 -61
- package/lib/components/ca-input-test/mixins/input.mixin.ts +0 -19
- package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.ts +0 -54
- package/lib/components/ca-input-test/models/base.model.ts +0 -24
- package/lib/components/ca-input-test/models/command-click.model.ts +0 -5
- package/lib/components/ca-input-test/models/commands-event.model.ts +0 -5
- package/lib/components/ca-input-test/models/index.ts +0 -3
- package/lib/components/ca-input-test/models/label-color.model.ts +0 -11
- package/lib/components/ca-input-test/pipes/color-finder.pipe.ts +0 -55
- package/lib/components/ca-input-test/pipes/form-control.pipe.ts +0 -12
- package/lib/components/ca-input-test/pipes/index.ts +0 -19
- package/lib/components/ca-input-test/pipes/input-class.pipe.ts +0 -195
- package/lib/components/ca-input-test/pipes/input-clear-class.pipe.ts +0 -104
- package/lib/components/ca-input-test/pipes/input-container-class.pipe.ts +0 -68
- package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.ts +0 -90
- package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.ts +0 -68
- package/lib/components/ca-input-test/pipes/input-error.pipe.ts +0 -72
- package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.ts +0 -43
- package/lib/components/ca-input-test/pipes/input-pattern.pipe.ts +0 -308
- package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.ts +0 -56
- package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.ts +0 -69
- package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.ts +0 -53
- package/lib/components/ca-input-test/pipes/input-type.pipe.ts +0 -18
- package/lib/components/ca-input-test/pipes/label-class.pipe.ts +0 -54
- package/lib/components/ca-input-test/pipes/show-clear.pipe.ts +0 -20
- package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.ts +0 -24
- package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.ts +0 -31
- package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.ts +0 -27
- package/lib/components/ca-input-test/pipes/show-valid-check.pipe.ts +0 -31
- package/lib/components/ca-input-test/scss/ca-dropdown-input-image.scss +0 -109
- package/lib/components/ca-input-test/scss/ca-input.clear.scss +0 -360
- package/lib/components/ca-input-test/scss/ca-input.colors.scss +0 -287
- package/lib/components/ca-input-test/scss/ca-input.commands.scss +0 -187
- package/lib/components/ca-input-test/scss/ca-input.dangermark.scss +0 -17
- package/lib/components/ca-input-test/scss/ca-input.datepicker.scss +0 -153
- package/lib/components/ca-input-test/scss/ca-input.dropdown.scss +0 -124
- package/lib/components/ca-input-test/scss/ca-input.editlabel.scss +0 -42
- package/lib/components/ca-input-test/scss/ca-input.error.scss +0 -34
- package/lib/components/ca-input-test/scss/ca-input.input.scss +0 -837
- package/lib/components/ca-input-test/scss/ca-input.label.scss +0 -281
- package/lib/components/ca-input-test/scss/ca-input.labelcounter.scss +0 -21
- package/lib/components/ca-input-test/scss/ca-input.passwordcapslock.scss +0 -17
- package/lib/components/ca-input-test/scss/ca-input.passwordeye.scss +0 -138
- package/lib/components/ca-input-test/scss/ca-input.placeholderText.scss +0 -82
- package/lib/components/ca-input-test/scss/ca-input.placeholdericon-rightside.scss +0 -89
- package/lib/components/ca-input-test/scss/ca-input.placeholdericon.scss +0 -195
- package/lib/components/ca-input-test/scss/ca-input.requiredcheck.scss +0 -19
- package/lib/components/ca-input-test/scss/ca-input.spinner.scss +0 -5
- package/lib/components/ca-input-test/services/ca-input-validation.service.ts +0 -246
- package/lib/components/ca-input-test/services/index.ts +0 -1
- package/lib/components/ca-input-test/utils/constants/index.ts +0 -1
- package/lib/components/ca-input-test/utils/constants/input-constants.ts +0 -129
- package/lib/components/ca-input-test/utils/index.ts +0 -2
- package/lib/components/ca-input-test/utils/input-change-value.type.ts +0 -1
- package/lib/components/ca-input-test/utils/input-svg-routes.ts +0 -26
- package/lib/components/ca-input-test/versions/datetime/datetimepicker.directive.spec.ts +0 -8
- package/lib/components/ca-input-test/versions/datetime/datetimepicker.directive.ts +0 -9
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.html +0 -202
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.scss +0 -27
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-items-dropdown/ca-items-dropdown.component.ts +0 -102
- package/lib/components/ca-items-dropdown/interfaces/index.ts +0 -2
- package/lib/components/ca-items-dropdown/interfaces/items-dropdown-config.interface.ts +0 -7
- package/lib/components/ca-items-dropdown/interfaces/items-dropdown-list.interface.ts +0 -11
- package/lib/components/ca-items-dropdown/pipes/dropdown-width.pipe.ts +0 -13
- package/lib/components/ca-items-dropdown/pipes/index.ts +0 -2
- package/lib/components/ca-items-dropdown/pipes/pm-item.pipe.ts +0 -22
- package/lib/components/ca-items-dropdown/utils/helpers/index.ts +0 -1
- package/lib/components/ca-items-dropdown/utils/helpers/items-dropdown.helper.ts +0 -10
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.html +0 -111
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.scss +0 -127
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.spec.ts +0 -23
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.stories.ts +0 -71
- package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.ts +0 -123
- package/lib/components/ca-last-fuel-price-progress/enums/index.ts +0 -1
- package/lib/components/ca-last-fuel-price-progress/enums/last-fuel-price-progress.enum.ts +0 -4
- package/lib/components/ca-last-fuel-price-progress/interfaces/index.ts +0 -2
- package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-config.interface.ts +0 -10
- package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-data.interface.ts +0 -12
- package/lib/components/ca-last-fuel-price-progress/utils/constants/index.ts +0 -1
- package/lib/components/ca-last-fuel-price-progress/utils/constants/last-fuel-price-progress.constants.ts +0 -9
- package/lib/components/ca-last-fuel-price-progress/utils/helpers/index.ts +0 -1
- package/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.ts +0 -100
- package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/last-fuel-price-progress-svg-routes.ts +0 -4
- package/lib/components/ca-load-modal-progress-bar/ca-load-modal-progress-bar.component.html +0 -14
- package/lib/components/ca-load-modal-progress-bar/ca-load-modal-progress-bar.component.scss +0 -39
- package/lib/components/ca-load-modal-progress-bar/ca-load-modal-progress-bar.component.ts +0 -79
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.html +0 -383
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.scss +0 -60
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.spec.ts +0 -21
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.ts +0 -163
- package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.stories.ts +0 -740
- package/lib/components/ca-load-pickup-delivery/interfaces/index.ts +0 -1
- package/lib/components/ca-load-pickup-delivery/interfaces/load-pickup-delivery.interface.ts +0 -74
- package/lib/components/ca-load-pickup-delivery/types/index.ts +0 -1
- package/lib/components/ca-load-pickup-delivery/types/load-type.type.ts +0 -7
- package/lib/components/ca-load-status/ca-load-status.component.html +0 -90
- package/lib/components/ca-load-status/ca-load-status.component.scss +0 -323
- package/lib/components/ca-load-status/ca-load-status.component.ts +0 -92
- package/lib/components/ca-load-status/ca-load-status.stories.ts +0 -318
- package/lib/components/ca-load-status/constants/load-status.constants.ts +0 -18
- package/lib/components/ca-load-status/enums/load-status-background-colors.enum.ts +0 -17
- package/lib/components/ca-load-status/enums/load-status-icon-colors.enum.ts +0 -13
- package/lib/components/ca-load-status/enums/load-status-svg-colors.enum.ts +0 -13
- package/lib/components/ca-load-status/pipes/status-text.pipe.ts +0 -73
- package/lib/components/ca-load-status-log/ca-load-status-log.component.html +0 -100
- package/lib/components/ca-load-status-log/ca-load-status-log.component.scss +0 -20
- package/lib/components/ca-load-status-log/ca-load-status-log.component.stories.ts +0 -71
- package/lib/components/ca-load-status-log/ca-load-status-log.component.ts +0 -60
- package/lib/components/ca-load-status-string/ca-load-status-string.component.html +0 -62
- package/lib/components/ca-load-status-string/ca-load-status-string.component.scss +0 -97
- package/lib/components/ca-load-status-string/ca-load-status-string.component.ts +0 -53
- package/lib/components/ca-load-status-string/pipes/index.ts +0 -1
- package/lib/components/ca-load-status-string/pipes/load-status-string-class.pipe.ts +0 -31
- package/lib/components/ca-logo-change/ca-logo-change.component.html +0 -71
- package/lib/components/ca-logo-change/ca-logo-change.component.scss +0 -182
- package/lib/components/ca-logo-change/ca-logo-change.component.stories.ts +0 -59
- package/lib/components/ca-logo-change/ca-logo-change.component.ts +0 -150
- package/lib/components/ca-logo-change/enums/index.ts +0 -1
- package/lib/components/ca-logo-change/enums/logo-change.enum.ts +0 -8
- package/lib/components/ca-logo-change/pipes/index.ts +0 -1
- package/lib/components/ca-logo-change/pipes/logo-slider.pipe.ts +0 -11
- package/lib/components/ca-logo-change/utils/constants/index.ts +0 -1
- package/lib/components/ca-logo-change/utils/constants/logo-change.constants.ts +0 -20
- package/lib/components/ca-main-table/ca-main-table.component.html +0 -220
- package/lib/components/ca-main-table/ca-main-table.component.scss +0 -298
- package/lib/components/ca-main-table/ca-main-table.component.spec.ts +0 -23
- package/lib/components/ca-main-table/ca-main-table.component.ts +0 -131
- package/lib/components/ca-main-table/ca-main-table.stories.ts +0 -187
- package/lib/components/ca-main-table/models/main-table.model.ts +0 -24
- package/lib/components/ca-main-table/pipes/ca-main-table-hidden-rows/ca-main-table-hidden-rows.pipe.spec.ts +0 -8
- package/lib/components/ca-main-table/pipes/ca-main-table-hidden-rows/ca-main-table-hidden-rows.pipe.ts +0 -18
- package/lib/components/ca-map/ca-map.component.html +0 -190
- package/lib/components/ca-map/ca-map.component.scss +0 -451
- package/lib/components/ca-map/ca-map.component.ts +0 -825
- package/lib/components/ca-map/ca-map.stories.ts +0 -1594
- package/lib/components/ca-map/enums/google-map.enum.ts +0 -6
- package/lib/components/ca-map/enums/index.ts +0 -4
- package/lib/components/ca-map/enums/map-marker-stop-type.enum.ts +0 -13
- package/lib/components/ca-map/enums/map-marker-string.enum.ts +0 -27
- package/lib/components/ca-map/enums/toolbar-filter-string.enum.ts +0 -129
- package/lib/components/ca-map/models/index.ts +0 -1
- package/lib/components/ca-map/models/map.model.ts +0 -166
- package/lib/components/ca-map/utils/constants/index.ts +0 -4
- package/lib/components/ca-map/utils/constants/map-info-window-options.constants.ts +0 -6
- package/lib/components/ca-map/utils/constants/map-marker-icons.constants.ts +0 -121
- package/lib/components/ca-map/utils/constants/map-options.constants.ts +0 -178
- package/lib/components/ca-map/utils/constants/map.constants.ts +0 -437
- package/lib/components/ca-map/utils/helpers/index.ts +0 -2
- package/lib/components/ca-map/utils/helpers/map-marker-icon.helper.ts +0 -776
- package/lib/components/ca-map/utils/helpers/map.helper.ts +0 -192
- package/lib/components/ca-map/utils/services/index.ts +0 -1
- package/lib/components/ca-map/utils/services/map-marker-icon.service.ts +0 -312
- package/lib/components/ca-map/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-map/utils/svg-routes/map-svg-routes.ts +0 -19
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.html +0 -702
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.scss +0 -541
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.spec.ts +0 -21
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.ts +0 -178
- package/lib/components/ca-map-dropdown/enums/index.ts +0 -1
- package/lib/components/ca-map-dropdown/enums/map-dropdown-string.enum.ts +0 -20
- package/lib/components/ca-map-dropdown/models/index.ts +0 -1
- package/lib/components/ca-map-dropdown/models/map-dropdown-content.model.ts +0 -57
- package/lib/components/ca-map-dropdown/pipes/index.ts +0 -3
- package/lib/components/ca-map-dropdown/pipes/map-dropdown-cluster-content-type.pipe.ts +0 -16
- package/lib/components/ca-map-dropdown/pipes/map-dropdown-content-type.pipe.ts +0 -16
- package/lib/components/ca-map-dropdown/pipes/map-dropdown-value.pipe.ts +0 -33
- package/lib/components/ca-map-dropdown/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-map-dropdown/utils/svg-routes/map-dropdown-svg-routes.ts +0 -22
- package/lib/components/ca-map-list/ca-map-list.component.html +0 -74
- package/lib/components/ca-map-list/ca-map-list.component.scss +0 -34
- package/lib/components/ca-map-list/ca-map-list.component.spec.ts +0 -23
- package/lib/components/ca-map-list/ca-map-list.component.ts +0 -192
- package/lib/components/ca-map-list/utils/constants/index.ts +0 -1
- package/lib/components/ca-map-list/utils/constants/map-list.constants.ts +0 -11
- package/lib/components/ca-map-list-card/ca-map-list-card.component.html +0 -41
- 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 +0 -23
- package/lib/components/ca-map-list-card/ca-map-list-card.component.ts +0 -28
- package/lib/components/ca-modal/ca-modal.component.html +0 -59
- package/lib/components/ca-modal/ca-modal.component.scss +0 -345
- package/lib/components/ca-modal/ca-modal.component.spec.ts +0 -21
- package/lib/components/ca-modal/ca-modal.component.ts +0 -60
- package/lib/components/ca-modal-button/ca-modal-button.component.html +0 -68
- package/lib/components/ca-modal-button/ca-modal-button.component.scss +0 -396
- package/lib/components/ca-modal-button/ca-modal-button.component.spec.ts +0 -23
- package/lib/components/ca-modal-button/ca-modal-button.component.ts +0 -35
- package/lib/components/ca-modal-button/ca-modal-button.stories.ts +0 -255
- package/lib/components/ca-modal-button/enums/index.ts +0 -2
- package/lib/components/ca-modal-button/enums/modal-button-class-type.enum.ts +0 -15
- package/lib/components/ca-modal-button/enums/modal-button-size.enum.ts +0 -10
- package/lib/components/ca-modal-button/pipes/index.ts +0 -1
- package/lib/components/ca-modal-button/pipes/modal-button-class.pipe.ts +0 -22
- package/lib/components/ca-modal-items/ca-modal-items.component.html +0 -436
- package/lib/components/ca-modal-items/ca-modal-items.component.scss +0 -63
- package/lib/components/ca-modal-items/ca-modal-items.component.spec.ts +0 -23
- package/lib/components/ca-modal-items/ca-modal-items.component.ts +0 -137
- package/lib/components/ca-modal-items/directives/index.ts +0 -1
- package/lib/components/ca-modal-items/directives/scroll-shadow-border.directive.ts +0 -199
- package/lib/components/ca-modal-items/enums/index.ts +0 -1
- package/lib/components/ca-modal-items/enums/modal-items.enum.ts +0 -4
- package/lib/components/ca-modal-items/interfaces/index.ts +0 -2
- package/lib/components/ca-modal-items/interfaces/items-row-template.interface.ts +0 -8
- package/lib/components/ca-modal-items/interfaces/modal-items-config.interface.ts +0 -29
- package/lib/components/ca-modal-items/pipes/index.ts +0 -1
- package/lib/components/ca-modal-items/pipes/modal-items-header-class.pipe.ts +0 -34
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.html +0 -7
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.scss +0 -10
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.spec.ts +0 -23
- package/lib/components/ca-modal-spinner/ca-modal-spinner.component.ts +0 -10
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.html +0 -142
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.scss +0 -1
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.ts +0 -138
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.html +0 -232
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.scss +0 -9
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.ts +0 -215
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.html +0 -159
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.scss +0 -8
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.ts +0 -172
- 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 +0 -1
- package/lib/components/ca-new-filter/components/new-filter-base/new-filter-base.component.spec.ts +0 -23
- package/lib/components/ca-new-filter/components/new-filter-base/new-filter-base.component.ts +0 -40
- package/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.ts +0 -141
- package/lib/components/ca-new-filter/constant/index.ts +0 -1
- package/lib/components/ca-new-filter/enums/filter-dropdown-types.enum.ts +0 -18
- package/lib/components/ca-new-filter/enums/filter-sorting-key.enum.ts +0 -4
- package/lib/components/ca-new-filter/enums/filter-time.enum.ts +0 -35
- package/lib/components/ca-new-filter/enums/index.ts +0 -3
- package/lib/components/ca-new-filter/interface/country.interface.ts +0 -15
- package/lib/components/ca-new-filter/interface/filter-action.interface.ts +0 -27
- package/lib/components/ca-new-filter/interface/filter-dropdown-configuration.interface.ts +0 -15
- package/lib/components/ca-new-filter/interface/filter-dropdown-list.ts +0 -21
- package/lib/components/ca-new-filter/interface/index.ts +0 -6
- package/lib/components/ca-new-filter/interface/sorting-emmiter.interface.ts +0 -6
- package/lib/components/ca-new-filter/interface/time-options.interface.ts +0 -4
- package/lib/components/ca-new-filter/pipes/filter-search.pipe.spec.ts +0 -8
- package/lib/components/ca-new-filter/pipes/filter-search.pipe.ts +0 -30
- package/lib/components/ca-new-filter/types/filter-dropdown.types.ts +0 -15
- package/lib/components/ca-new-filter/types/filter-sorting-key.type.ts +0 -3
- package/lib/components/ca-new-filter/types/filter-time.types.ts +0 -3
- package/lib/components/ca-new-filter/types/index.ts +0 -3
- package/lib/components/ca-new-filter/utils/configs/filter-dropdown-fields.config.ts +0 -41
- package/lib/components/ca-new-filter/utils/configs/index.ts +0 -1
- package/lib/components/ca-new-filter/utils/helpers/index.ts +0 -1
- package/lib/components/ca-new-filter/utils/helpers/time-filter.helper.ts +0 -142
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.html +0 -54
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.scss +0 -188
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.ts +0 -84
- package/lib/components/ca-ngx-slider/enums/slider-template.enum.ts +0 -6
- package/lib/components/ca-note/ca-note.component.html +0 -138
- package/lib/components/ca-note/ca-note.component.scss +0 -445
- package/lib/components/ca-note/ca-note.component.stories.ts +0 -43
- package/lib/components/ca-note/ca-note.component.ts +0 -289
- package/lib/components/ca-note/utils/helper/copy-paste.helper.ts +0 -8
- package/lib/components/ca-note/utils/svg-routes/note-svg-routes.ts +0 -5
- package/lib/components/ca-note-container/ca-note-container.component.html +0 -137
- package/lib/components/ca-note-container/ca-note-container.component.scss +0 -333
- package/lib/components/ca-note-container/ca-note-container.component.spec.ts +0 -21
- package/lib/components/ca-note-container/ca-note-container.component.ts +0 -226
- package/lib/components/ca-note-container/enums/note-default-string.enum.ts +0 -9
- package/lib/components/ca-note-container/enums/note-selected-color.enum.ts +0 -4
- package/lib/components/ca-note-container/models/note-colors.model.ts +0 -4
- package/lib/components/ca-note-container/utils/constants/note-config.constant.ts +0 -65
- package/lib/components/ca-note-container/utils/svg-routes/note-container-svg-routes.ts +0 -8
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.html +0 -105
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.scss +0 -234
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.spec.ts +0 -26
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.ts +0 -70
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.stories.ts +0 -87
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.html +0 -18
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.scss +0 -24
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.spec.ts +0 -22
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.ts +0 -27
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.stories.ts +0 -47
- package/lib/components/ca-period-content/ca-period-content.component.html +0 -221
- package/lib/components/ca-period-content/ca-period-content.component.scss +0 -160
- package/lib/components/ca-period-content/ca-period-content.component.spec.ts +0 -21
- package/lib/components/ca-period-content/ca-period-content.component.ts +0 -90
- package/lib/components/ca-period-content/ca-period-content.stories.ts +0 -68
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.html +0 -19
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.scss +0 -30
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.spec.ts +0 -20
- package/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.ts +0 -14
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.html +0 -335
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.scss +0 -339
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.spec.ts +0 -21
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.ts +0 -194
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.html +0 -60
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.scss +0 -152
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.spec.ts +0 -21
- package/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.ts +0 -54
- package/lib/components/ca-period-content/components/index.ts +0 -3
- package/lib/components/ca-period-content/enums/index.ts +0 -2
- package/lib/components/ca-period-content/enums/payroll-type.enum.ts +0 -15
- package/lib/components/ca-period-content/enums/period-title-type.enum.ts +0 -7
- package/lib/components/ca-period-content/models/component-data.type.ts +0 -26
- package/lib/components/ca-period-content/models/driver-info.ts +0 -5
- package/lib/components/ca-period-content/models/driver-minimal-response.ts +0 -19
- package/lib/components/ca-period-content/models/driver-short-response.ts +0 -57
- package/lib/components/ca-period-content/models/extra-payments.ts +0 -28
- package/lib/components/ca-period-content/models/formatted-component-data.type.ts +0 -7
- package/lib/components/ca-period-content/models/formatted-period-data.ts +0 -16
- package/lib/components/ca-period-content/models/index.ts +0 -32
- package/lib/components/ca-period-content/models/miles-stop-payroll-response.ts +0 -23
- package/lib/components/ca-period-content/models/notification-model.ts +0 -5
- package/lib/components/ca-period-content/models/payment-sum.model.ts +0 -4
- package/lib/components/ca-period-content/models/payroll-bonus-minimal-response.ts +0 -6
- package/lib/components/ca-period-content/models/payroll-bonus-response.ts +0 -12
- package/lib/components/ca-period-content/models/payroll-commission-total-sum.ts +0 -7
- package/lib/components/ca-period-content/models/payroll-credit-minimal-response.ts +0 -6
- package/lib/components/ca-period-content/models/payroll-credit-response.ts +0 -18
- package/lib/components/ca-period-content/models/payroll-deadline-period.ts +0 -6
- package/lib/components/ca-period-content/models/payroll-deadline-short-response.ts +0 -6
- package/lib/components/ca-period-content/models/payroll-deduction-minimal-response.ts +0 -8
- package/lib/components/ca-period-content/models/payroll-deduction-response.ts +0 -22
- package/lib/components/ca-period-content/models/payroll-driver-commission-by-id-response.ts +0 -65
- package/lib/components/ca-period-content/models/payroll-driver-flat-rate-closed-by-id-response.ts +0 -34
- package/lib/components/ca-period-content/models/payroll-driver-mileage-response.ts +0 -43
- package/lib/components/ca-period-content/models/payroll-flat-rate-total-sum.ts +0 -7
- package/lib/components/ca-period-content/models/payroll-fuel-minimal-response.ts +0 -8
- package/lib/components/ca-period-content/models/payroll-load-minimal-response.ts +0 -18
- package/lib/components/ca-period-content/models/payroll-load-stop-minimal-response.ts +0 -6
- package/lib/components/ca-period-content/models/payroll-map-location.ts +0 -9
- package/lib/components/ca-period-content/models/payroll-owner-closed-response.ts +0 -35
- package/lib/components/ca-period-content/models/payroll-owner-response.ts +0 -34
- package/lib/components/ca-period-content/models/payroll-payment-response.ts +0 -10
- package/lib/components/ca-period-content/models/payroll-payments-minimal-response.ts +0 -6
- package/lib/components/ca-period-content/models/payroll-period-input.type.ts +0 -40
- package/lib/components/ca-period-content/models/payroll-report-tables.type.ts +0 -9
- package/lib/components/ca-period-content/models/payroll-report.type.ts +0 -55
- package/lib/components/ca-period-content/models/per-mile-model.ts +0 -5
- package/lib/components/ca-period-content/pipes/included_count.pipe.ts +0 -22
- package/lib/components/ca-period-content/pipes/payroll-status-class.pipe.ts +0 -27
- package/lib/components/ca-period-content/pipes/period_status.pipe.ts +0 -51
- package/lib/components/ca-period-content/utils/constants/color-map.ts +0 -9
- package/lib/components/ca-period-content/utils/constants/index.ts +0 -2
- package/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.ts +0 -15
- package/lib/components/ca-period-content/utils/helpers/index.ts +0 -1
- package/lib/components/ca-period-content/utils/helpers/payroll-period-content.helper.ts +0 -35
- package/lib/components/ca-period-content/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-period-content/utils/svg-routes/period-content.routes.ts +0 -20
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.html +0 -159
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.scss +0 -119
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.spec.ts +0 -21
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.ts +0 -101
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.stories.ts +0 -756
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.html +0 -129
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.scss +0 -110
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.spec.ts +0 -24
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.ts +0 -141
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.html +0 -184
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.scss +0 -135
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.spec.ts +0 -24
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.ts +0 -130
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.html +0 -372
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.scss +0 -264
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.spec.ts +0 -24
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.ts +0 -120
- package/lib/components/ca-pickup-delivery-block/models/adress-model.ts +0 -12
- package/lib/components/ca-pickup-delivery-block/models/animation-model.ts +0 -6
- package/lib/components/ca-pickup-delivery-block/models/broker-short-response.ts +0 -14
- package/lib/components/ca-pickup-delivery-block/models/companyUserShortResponse.model.ts +0 -9
- package/lib/components/ca-pickup-delivery-block/models/dispatch-grouped-load-response.mode.ts +0 -7
- package/lib/components/ca-pickup-delivery-block/models/dispatch-hos-response.model.ts +0 -10
- package/lib/components/ca-pickup-delivery-block/models/dispatch-response.model.ts +0 -37
- package/lib/components/ca-pickup-delivery-block/models/dispatch-status-response.model.ts +0 -7
- package/lib/components/ca-pickup-delivery-block/models/driver-dispatch.model.ts +0 -12
- package/lib/components/ca-pickup-delivery-block/models/enum-value.ts +0 -4
- package/lib/components/ca-pickup-delivery-block/models/index.ts +0 -15
- package/lib/components/ca-pickup-delivery-block/models/load-short-response.ts +0 -22
- package/lib/components/ca-pickup-delivery-block/models/load-stop-short-response.ts +0 -10
- package/lib/components/ca-pickup-delivery-block/models/parking-slot-short-response.model.ts +0 -13
- package/lib/components/ca-pickup-delivery-block/models/shipper-short-response.ts +0 -9
- package/lib/components/ca-pickup-delivery-block/models/status-types.enum.ts +0 -5
- package/lib/components/ca-pickup-delivery-block/utils/constants/animation-object-default.constants.ts +0 -8
- package/lib/components/ca-pickup-delivery-block/utils/constants/index.ts +0 -1
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/index.ts +0 -2
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/pickup-delivery-svg.routes.ts +0 -36
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/return-arrow.routes.ts +0 -4
- package/lib/components/ca-profile-image/ca-profile-image.component.html +0 -42
- package/lib/components/ca-profile-image/ca-profile-image.component.scss +0 -51
- package/lib/components/ca-profile-image/ca-profile-image.component.spec.ts +0 -24
- package/lib/components/ca-profile-image/ca-profile-image.component.ts +0 -89
- package/lib/components/ca-profile-image/ca-profile-image.stories.ts +0 -69
- package/lib/components/ca-progress-bar/ca-progress-bar.component.html +0 -404
- package/lib/components/ca-progress-bar/ca-progress-bar.component.scss +0 -202
- package/lib/components/ca-progress-bar/ca-progress-bar.component.stories.ts +0 -1539
- package/lib/components/ca-progress-bar/ca-progress-bar.component.ts +0 -242
- package/lib/components/ca-progress-bar/enums/index.ts +0 -1
- package/lib/components/ca-progress-bar/enums/progress-bar-string.enum.ts +0 -6
- package/lib/components/ca-progress-bar/interfaces/gps-heading-info.interface.ts +0 -6
- package/lib/components/ca-progress-bar/interfaces/gps-progress.interface.ts +0 -21
- package/lib/components/ca-progress-bar/interfaces/index.ts +0 -3
- package/lib/components/ca-progress-bar/interfaces/progress-bar-data.interface.ts +0 -19
- package/lib/components/ca-progress-bar/pipes/convert-minutes-to-hours.pipe.ts +0 -14
- package/lib/components/ca-progress-bar/pipes/index.ts +0 -1
- package/lib/components/ca-progress-bar/utils/constants/index.ts +0 -1
- package/lib/components/ca-progress-bar/utils/constants/progress-bar.constants.ts +0 -8
- package/lib/components/ca-progress-bar/utils/helpers/convert-minutes-to-hours.helper.ts +0 -9
- package/lib/components/ca-progress-bar/utils/helpers/index.ts +0 -1
- package/lib/components/ca-progress-bar/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-progress-bar/utils/svg-routes/progress-bar-svg-routes.ts +0 -3
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.html +0 -90
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.scss +0 -72
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.spec.ts +0 -23
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.stories.ts +0 -131
- package/lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component.ts +0 -49
- package/lib/components/ca-progress-bar-v2/interfaces/index.ts +0 -1
- package/lib/components/ca-progress-bar-v2/interfaces/progress-bar-color-config.interface.ts +0 -4
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.html +0 -103
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.scss +0 -65
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.stories.ts +0 -157
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.ts +0 -259
- package/lib/components/ca-progress-expiration/enums/index.ts +0 -1
- package/lib/components/ca-progress-expiration/enums/time-units.enum.ts +0 -6
- package/lib/components/ca-progress-expiration/helpers/hex-to-rgba.helper.ts +0 -18
- package/lib/components/ca-progress-expiration/helpers/index.ts +0 -2
- package/lib/components/ca-progress-expiration/helpers/progress-expiration.helper.ts +0 -64
- package/lib/components/ca-progress-expiration/models/index.ts +0 -7
- package/lib/components/ca-progress-expiration/models/progress-expiration-color-type.model.ts +0 -6
- package/lib/components/ca-progress-expiration/models/progress-expiration-color.model.ts +0 -4
- package/lib/components/ca-progress-expiration/models/progress-expiration-template.model.ts +0 -6
- package/lib/components/ca-progress-expiration/models/progress-expiration-theme.model.ts +0 -1
- package/lib/components/ca-progress-expiration/models/progress-expiration-title.model.ts +0 -5
- package/lib/components/ca-progress-expiration/models/progress-expiration-type.model.ts +0 -1
- package/lib/components/ca-progress-expiration/models/progress-expiration.model.ts +0 -14
- package/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-abs.pipe.ts +0 -12
- package/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-width.pipe.ts +0 -59
- package/lib/components/ca-progress-expiration/pipes/currency-format.pipe.ts +0 -14
- package/lib/components/ca-progress-expiration/pipes/index.ts +0 -4
- package/lib/components/ca-progress-expiration/pipes/time.pipe.ts +0 -33
- package/lib/components/ca-progress-expiration/utils/constants/index.ts +0 -1
- package/lib/components/ca-progress-expiration/utils/constants/progress-expiration.constant.ts +0 -54
- package/lib/components/ca-progress-expiration/utils/index.ts +0 -1
- package/lib/components/ca-range-slider/ca-range-slider.component.html +0 -46
- package/lib/components/ca-range-slider/ca-range-slider.component.scss +0 -28
- package/lib/components/ca-range-slider/ca-range-slider.component.spec.ts +0 -23
- package/lib/components/ca-range-slider/ca-range-slider.component.ts +0 -75
- package/lib/components/ca-range-slider/directives/index.ts +0 -1
- package/lib/components/ca-range-slider/directives/range-slider.directive.ts +0 -88
- package/lib/components/ca-range-slider/interfaces/index.ts +0 -1
- package/lib/components/ca-range-slider/interfaces/range-slider-config.interface.ts +0 -7
- package/lib/components/ca-rating-review/ca-rating-review.component.html +0 -271
- package/lib/components/ca-rating-review/ca-rating-review.component.scss +0 -279
- package/lib/components/ca-rating-review/ca-rating-review.component.spec.ts +0 -21
- package/lib/components/ca-rating-review/ca-rating-review.component.ts +0 -209
- package/lib/components/ca-rating-review/ca-rating-review.stories.ts +0 -224
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.html +0 -201
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.scss +0 -359
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.spec.ts +0 -21
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.ts +0 -175
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.html +0 -141
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.scss +0 -160
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.spec.ts +0 -21
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.ts +0 -126
- package/lib/components/ca-rating-review/enums/rating-reviews-type.enums.ts +0 -16
- package/lib/components/ca-rating-review/models/rating-review.model.ts +0 -12
- package/lib/components/ca-rating-review/utils/config/rating-review-search.config.ts +0 -16
- package/lib/components/ca-rating-review/utils/helpers/sort-data.helper.ts +0 -13
- package/lib/components/ca-rating-review/utils/pipe/filter-title.pipe.ts +0 -21
- package/lib/components/ca-rating-review/utils/svg-routes/ratings-reviews.routes.ts +0 -16
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.html +0 -46
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.scss +0 -10
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.spec.ts +0 -21
- package/lib/components/ca-right-side-panel/ca-right-side-panel.component.ts +0 -161
- package/lib/components/ca-right-side-panel/ca-right-side-panel.stories.ts +0 -47
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.html +0 -1214
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.scss +0 -307
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.spec.ts +0 -21
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.ts +0 -147
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.html +0 -180
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.scss +0 -282
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.spec.ts +0 -21
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.ts +0 -195
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.html +0 -238
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.scss +0 -143
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.spec.ts +0 -21
- package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.ts +0 -394
- package/lib/components/ca-right-side-panel/config/ca-right-side-panel.config.ts +0 -66
- package/lib/components/ca-right-side-panel/enums/activity-log-sort-type.enum.ts +0 -4
- package/lib/components/ca-right-side-panel/enums/company/bank-account-status.enum.ts +0 -6
- package/lib/components/ca-right-side-panel/enums/company/bank-card-types-string.enum.ts +0 -6
- package/lib/components/ca-right-side-panel/enums/company/fleet-type.enum.ts +0 -5
- package/lib/components/ca-right-side-panel/enums/company/preferred-load-type.enum.ts +0 -4
- package/lib/components/ca-right-side-panel/enums/company-font-size.enum.ts +0 -5
- package/lib/components/ca-right-side-panel/enums/company-info-title.enum.ts +0 -16
- package/lib/components/ca-right-side-panel/enums/filter-type.enum.ts +0 -6
- package/lib/components/ca-right-side-panel/enums/index.ts +0 -12
- package/lib/components/ca-right-side-panel/enums/modules-filter-item-label.enum.ts +0 -4
- package/lib/components/ca-right-side-panel/enums/right-side-panel-current-tab.enum.ts +0 -4
- package/lib/components/ca-right-side-panel/enums/selected-module.enum.ts +0 -13
- package/lib/components/ca-right-side-panel/enums/time-filter-type.enum.ts +0 -9
- package/lib/components/ca-right-side-panel/models/action-filter/action-filter-input-data.model.ts +0 -9
- package/lib/components/ca-right-side-panel/models/activity-log-filter-params.model.ts +0 -14
- package/lib/components/ca-right-side-panel/models/activity-log-filter.model.ts +0 -6
- package/lib/components/ca-right-side-panel/models/company/bank-account.model.ts +0 -15
- package/lib/components/ca-right-side-panel/models/company/bank-card.model.ts +0 -10
- package/lib/components/ca-right-side-panel/models/company/bank.model.ts +0 -7
- package/lib/components/ca-right-side-panel/models/company/company-additional-info.model.ts +0 -17
- package/lib/components/ca-right-side-panel/models/company/company-address.model.ts +0 -12
- package/lib/components/ca-right-side-panel/models/company/company-enum-value.model.ts +0 -4
- package/lib/components/ca-right-side-panel/models/company/company-navigation-data.model.ts +0 -5
- package/lib/components/ca-right-side-panel/models/company/company-payroll.model.ts +0 -23
- package/lib/components/ca-right-side-panel/models/company/company-short.model.ts +0 -11
- package/lib/components/ca-right-side-panel/models/company/company-user-short.model.ts +0 -10
- package/lib/components/ca-right-side-panel/models/company/company.model.ts +0 -52
- package/lib/components/ca-right-side-panel/models/company/department-contact.model.ts +0 -12
- package/lib/components/ca-right-side-panel/models/company/department.model.ts +0 -9
- package/lib/components/ca-right-side-panel/models/company/factoring-company.model.ts +0 -11
- package/lib/components/ca-right-side-panel/models/company/file-response.model.ts +0 -9
- package/lib/components/ca-right-side-panel/models/company/insurance-policy-addon.model.ts +0 -27
- package/lib/components/ca-right-side-panel/models/company/insurance-policy.model.ts +0 -15
- package/lib/components/ca-right-side-panel/models/company/per-mile.model.ts +0 -5
- package/lib/components/ca-right-side-panel/models/index.ts +0 -28
- package/lib/components/ca-right-side-panel/models/module-filter/module-filter-activity-log.model.ts +0 -6
- package/lib/components/ca-right-side-panel/models/module-filter/module-filter-input-data.model.ts +0 -7
- package/lib/components/ca-right-side-panel/models/navigation-item.model.ts +0 -9
- package/lib/components/ca-right-side-panel/models/time-filter/time-filter-event.model.ts +0 -8
- package/lib/components/ca-right-side-panel/models/user-filter/user-filter-avatar-file.model.ts +0 -9
- package/lib/components/ca-right-side-panel/models/user-filter/user-filter-data.model.ts +0 -9
- package/lib/components/ca-right-side-panel/models/user-filter/user-filter-input-data.model.ts +0 -9
- package/lib/components/ca-right-side-panel/utils/constants/activity-log-filter-data.constants.ts +0 -132
- package/lib/components/ca-right-side-panel/utils/constants/companies-side-panel-navigation.constants.ts +0 -730
- package/lib/components/ca-right-side-panel/utils/constants/index.ts +0 -2
- package/lib/components/ca-right-side-panel/utils/pipes/bank-card-types.pipe.ts +0 -20
- package/lib/components/ca-right-side-panel/utils/pipes/hide-account.pipe.ts +0 -59
- package/lib/components/ca-right-side-panel/utils/pipes/index.ts +0 -2
- package/lib/components/ca-right-side-panel/utils/svg-routes/index.ts +0 -2
- package/lib/components/ca-right-side-panel/utils/svg-routes/right-side-panel-top-bar-svg.routes.ts +0 -10
- package/lib/components/ca-right-side-panel/utils/svg-routes/side-panel-company-svg.routes.ts +0 -6
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.html +0 -176
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.scss +0 -373
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.spec.ts +0 -21
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.ts +0 -380
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.stories.ts +0 -180
- package/lib/components/ca-search-multiple-states/models/chips.model.ts +0 -6
- package/lib/components/ca-search-multiple-states/models/grid-column.model.ts +0 -23
- package/lib/components/ca-search-multiple-states/models/index.ts +0 -3
- package/lib/components/ca-search-multiple-states/models/tab-data.model.ts +0 -14
- package/lib/components/ca-search-multiple-states/utils/config/index.ts +0 -1
- package/lib/components/ca-search-multiple-states/utils/config/input-config.ts +0 -10
- package/lib/components/ca-search-multiple-states/utils/enums/chips-colors.enum.ts +0 -5
- package/lib/components/ca-search-multiple-states/utils/enums/index.ts +0 -3
- package/lib/components/ca-search-multiple-states/utils/enums/keyboard-event-commands.enum.ts +0 -3
- package/lib/components/ca-search-multiple-states/utils/enums/search-count.enum.ts +0 -6
- package/lib/components/ca-search-multiple-states/utils/pipes/chip-class.pipe.ts +0 -23
- package/lib/components/ca-search-multiple-states/utils/pipes/index.ts +0 -1
- package/lib/components/ca-search-multiple-states/utils/services/index.ts +0 -1
- package/lib/components/ca-search-multiple-states/utils/services/search-multiple-states.service.ts +0 -37
- package/lib/components/ca-search-multiple-states/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-search-multiple-states/utils/svg-routes/search-multiple-states.routes.ts +0 -8
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.html +0 -145
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.scss +0 -205
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.spec.ts +0 -22
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.ts +0 -276
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.stories.ts +0 -69
- package/lib/components/ca-search-multiple-states-2/enums/index.ts +0 -1
- package/lib/components/ca-search-multiple-states-2/enums/search-multiple-state-action.enum.ts +0 -3
- package/lib/components/ca-search-multiple-states-2/interfaces/index.ts +0 -1
- package/lib/components/ca-search-multiple-states-2/interfaces/search-query.interface.ts +0 -4
- package/lib/components/ca-search-multiple-states-2/util/index.ts +0 -1
- package/lib/components/ca-search-multiple-states-2/util/routes/multiple-search-state-svg.route.ts +0 -9
- package/lib/components/ca-selectable-column-table/ca-selectable-column-table.component.html +0 -70
- package/lib/components/ca-selectable-column-table/ca-selectable-column-table.component.scss +0 -96
- package/lib/components/ca-selectable-column-table/ca-selectable-column-table.component.ts +0 -72
- package/lib/components/ca-selectable-column-table/ca-selectable-columns-table.stories.ts +0 -53
- package/lib/components/ca-selectable-column-table/enums/ca-selectable-column-table.enum.ts +0 -3
- package/lib/components/ca-selectable-column-table/enums/index.ts +0 -1
- package/lib/components/ca-selectable-column-table/models/ca-selectable-column-table.model.ts +0 -6
- package/lib/components/ca-selectable-column-table/models/index.ts +0 -1
- package/lib/components/ca-selectable-column-table/utils/constants/ca-selectable-column-table.constants.ts +0 -50
- package/lib/components/ca-selectable-column-table/utils/constants/index.ts +0 -1
- package/lib/components/ca-show-more/ca-show-more.component.html +0 -19
- 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 +0 -23
- package/lib/components/ca-show-more/ca-show-more.component.ts +0 -27
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.html +0 -122
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.scss +0 -158
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.spec.ts +0 -21
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.ts +0 -137
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.stories.ts +0 -173
- package/lib/components/ca-sort-dropdown/enums/index.ts +0 -1
- package/lib/components/ca-sort-dropdown/enums/sort-dropdown.enum.ts +0 -11
- package/lib/components/ca-sort-dropdown/interfaces/index.ts +0 -1
- package/lib/components/ca-sort-dropdown/interfaces/sort-dropdown-action.interface.ts +0 -11
- package/lib/components/ca-sort-dropdown/models/index.ts +0 -1
- package/lib/components/ca-sort-dropdown/models/sort-column.model.ts +0 -8
- package/lib/components/ca-sort-dropdown/types/index.ts +0 -1
- package/lib/components/ca-sort-dropdown/types/sort-directions.type.ts +0 -6
- package/lib/components/ca-sort-dropdown/utils/svg-routes/ca-sort-dropdown-svg-routes.ts +0 -10
- package/lib/components/ca-sort-dropdown/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.html +0 -136
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.scss +0 -6
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.stories.ts +0 -103
- package/lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component.ts +0 -101
- package/lib/components/ca-spinner/ca-spinner.component.html +0 -13
- package/lib/components/ca-spinner/ca-spinner.component.scss +0 -63
- package/lib/components/ca-spinner/ca-spinner.component.spec.ts +0 -24
- package/lib/components/ca-spinner/ca-spinner.component.ts +0 -61
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.html +0 -70
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.scss +0 -10
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.stories.ts +0 -78
- package/lib/components/ca-status-change-dropdown/ca-status-change-dropdown.component.ts +0 -46
- package/lib/components/ca-tab-switch/ca-tab-switch.component.html +0 -33
- package/lib/components/ca-tab-switch/ca-tab-switch.component.scss +0 -381
- package/lib/components/ca-tab-switch/ca-tab-switch.component.ts +0 -213
- package/lib/components/ca-tab-switch/ca-tab-switch.stories.ts +0 -155
- package/lib/components/ca-tab-switch/models/hover-style.model.ts +0 -4
- package/lib/components/ca-tab-switch/models/tab-options.model.ts +0 -5
- package/lib/components/ca-tab-switch/utils/constants/tab-switch.constants.ts +0 -6
- package/lib/components/ca-table-card-view/ca-table-card-view.component.html +0 -255
- package/lib/components/ca-table-card-view/ca-table-card-view.component.scss +0 -73
- package/lib/components/ca-table-card-view/ca-table-card-view.component.spec.ts +0 -22
- package/lib/components/ca-table-card-view/ca-table-card-view.component.ts +0 -322
- package/lib/components/ca-table-card-view/ca-table-card-view.stories.ts +0 -79
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.html +0 -28
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.scss +0 -3
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.spec.ts +0 -23
- package/lib/components/ca-table-card-view/components/additional-components/ca-table-card-view-skeleton/ca-table-card-view-skeleton.component.ts +0 -25
- package/lib/components/ca-table-card-view/enums/index.ts +0 -2
- package/lib/components/ca-table-card-view/enums/table-card-general.enum.ts +0 -4
- package/lib/components/ca-table-card-view/enums/table-card-types.enum.ts +0 -4
- package/lib/components/ca-table-card-view/pipes/index.ts +0 -1
- package/lib/components/ca-table-card-view/pipes/is-card-flipped.pipe.ts +0 -11
- package/lib/components/ca-table-card-view/utils/helpers/index.ts +0 -2
- package/lib/components/ca-table-card-view/utils/helpers/table-card-skeleton.helper.ts +0 -94
- package/lib/components/ca-table-card-view/utils/helpers/table-card-view-helper.ts +0 -93
- package/lib/components/ca-table-card-view/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-table-card-view/utils/svg-routes/table-card-view-svg-routes.ts +0 -3
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.component.html +0 -312
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.component.scss +0 -195
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.component.ts +0 -131
- package/lib/components/ca-telematic-map-list/ca-telematic-map-list.stories.ts +0 -54
- package/lib/components/ca-telematic-map-list/config/ca-telematic-list.config.ts +0 -16
- package/lib/components/ca-telematic-map-list/config/index.ts +0 -1
- package/lib/components/ca-telematic-map-list/enums/ca-telematic-map-list.enum.ts +0 -4
- package/lib/components/ca-telematic-map-list/enums/index.ts +0 -1
- package/lib/components/ca-telematic-map-list/models/index.ts +0 -1
- package/lib/components/ca-telematic-map-list/models/telematic-truck.model.ts +0 -27
- package/lib/components/ca-telematic-map-list/pipes/index.ts +0 -2
- package/lib/components/ca-telematic-map-list/pipes/is-column-selected.pipe.ts +0 -18
- package/lib/components/ca-telematic-map-list/utils/constants/index.ts +0 -1
- package/lib/components/ca-telematic-map-list/utils/constants/telematic-map-list.constants.ts +0 -1782
- package/lib/components/ca-telematic-map-list/utils/svg-routes/ca-telematic-list-svg-routes.ts +0 -8
- package/lib/components/ca-telematic-map-list/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-toast-messages/ca-toast-messages-component.html +0 -47
- package/lib/components/ca-toast-messages/ca-toast-messages-component.scss +0 -41
- package/lib/components/ca-toast-messages/ca-toast-messages.component.ts +0 -127
- package/lib/components/ca-toast-messages/ca-toast-messages.stories.ts +0 -105
- package/lib/components/ca-toast-messages/enums/index.ts +0 -1
- package/lib/components/ca-toast-messages/enums/toast-type.enum.ts +0 -6
- package/lib/components/ca-toast-messages/pipes/index.ts +0 -2
- package/lib/components/ca-toast-messages/pipes/toast-background.pipe.ts +0 -28
- package/lib/components/ca-toast-messages/pipes/toast-stack.pipe.ts +0 -17
- package/lib/components/ca-todo/ca-todo-component.html +0 -35
- package/lib/components/ca-todo/ca-todo-component.scss +0 -62
- package/lib/components/ca-todo/ca-todo.component.ts +0 -109
- package/lib/components/ca-todo/ca-todo.stories.ts +0 -711
- package/lib/components/ca-todo/components/ca-todo-card.component.html +0 -313
- package/lib/components/ca-todo/components/ca-todo-card.component.scss +0 -223
- package/lib/components/ca-todo/components/ca-todo-card.component.spec.ts +0 -21
- package/lib/components/ca-todo/components/ca-todo-card.component.ts +0 -192
- package/lib/components/ca-todo/components/ca-todo-card.stories.ts +0 -378
- package/lib/components/ca-todo/config/column.config.ts +0 -24
- package/lib/components/ca-todo/config/index.ts +0 -1
- package/lib/components/ca-todo/enums/column.enum.ts +0 -5
- package/lib/components/ca-todo/enums/download-link.enum.ts +0 -5
- package/lib/components/ca-todo/enums/index.ts +0 -2
- package/lib/components/ca-todo/models/image-config.model.ts +0 -5
- package/lib/components/ca-todo/models/index.ts +0 -4
- package/lib/components/ca-todo/models/to-do-column.model.ts +0 -8
- package/lib/components/ca-todo/models/todo-card-config.model.ts +0 -10
- package/lib/components/ca-todo/models/todo-config.model.ts +0 -19
- package/lib/components/ca-todo/services/file-service.ts +0 -15
- package/lib/components/ca-todo/services/index.ts +0 -1
- package/lib/components/ca-todo/utils/index.ts +0 -1
- package/lib/components/ca-todo/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-todo/utils/svg-routes/todo.routes.ts +0 -8
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.html +0 -282
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.scss +0 -53
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.spec.ts +0 -23
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.ts +0 -197
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.stories.ts +0 -83
- package/lib/components/ca-toolbar-dropdown/interfaces/dropdown-item.interface.ts +0 -14
- package/lib/components/ca-toolbar-dropdown/interfaces/index.ts +0 -1
- package/lib/components/ca-toolbar-dropdown/pipes/filter-by-search-term.pipe.ts +0 -20
- package/lib/components/ca-toolbar-dropdown/pipes/index.ts +0 -2
- package/lib/components/ca-toolbar-dropdown/pipes/selected-item.pipe.ts +0 -16
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.html +0 -81
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.scss +0 -18
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.spec.ts +0 -23
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.ts +0 -152
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.stories.ts +0 -170
- package/lib/components/ca-toolbar-tab-switch/enums/index.ts +0 -1
- package/lib/components/ca-toolbar-tab-switch/enums/toolbar-variant.enum.ts +0 -4
- package/lib/components/ca-toolbar-tab-switch/interfaces/index.ts +0 -1
- package/lib/components/ca-toolbar-tab-switch/interfaces/toolbar-tabs.interface.ts +0 -6
- package/lib/components/ca-toolbar-tab-switch/pipes/toolbar-tabs-class-pipe.ts +0 -38
- package/lib/components/ca-toolbar-tab-switch/types/index.ts +0 -1
- package/lib/components/ca-toolbar-tab-switch/types/toolbar-variant.type.ts +0 -3
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.html +0 -85
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.scss +0 -105
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.spec.ts +0 -21
- package/lib/components/ca-tooltip-list/ca-tooltip-list.component.ts +0 -37
- package/lib/components/ca-tooltip-list/ca-tooltip-list.stories.ts +0 -117
- package/lib/components/ca-tooltip-list/models/index.ts +0 -2
- package/lib/components/ca-tooltip-list/models/tooltip-list-item.model.ts +0 -7
- package/lib/components/ca-tooltip-list/models/tooltip-list.model.ts +0 -8
- package/lib/components/ca-tooltip-list/utils/constants/ca-tooltip-list.constants.ts +0 -3
- package/lib/components/ca-tooltip-list/utils/constants/index.ts +0 -1
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.html +0 -238
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.scss +0 -137
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.spec.ts +0 -22
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.ts +0 -80
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.stories.ts +0 -134
- package/lib/components/ca-truck-trailer-progress-bar/models/progress-dropdown-data.model.ts +0 -10
- package/lib/components/ca-upload-files/ca-upload-files.component.html +0 -122
- package/lib/components/ca-upload-files/ca-upload-files.component.scss +0 -134
- package/lib/components/ca-upload-files/ca-upload-files.component.ts +0 -430
- package/lib/components/ca-upload-files/ca-upload-files.stories.ts +0 -499
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.html +0 -303
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.scss +0 -204
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.spec.ts +0 -21
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.ts +0 -410
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.stories.ts +0 -209
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/directives/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/directives/template.directive.ts +0 -10
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/file-dropzone-action.enum.ts +0 -6
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/file-dropzone-type.enum.ts +0 -6
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/file-upload-page.enum.ts +0 -26
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/index.ts +0 -4
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/enums/template-type.enum.ts +0 -7
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/helpers/file.helper.ts +0 -30
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/helpers/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/drop-background-event.interface.ts +0 -4
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/dropzone-config.interface.ts +0 -14
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/dropzone-option-config.interface.ts +0 -14
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/dropzone-settings.interface.ts +0 -10
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/file-config.interface.ts +0 -19
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/file-event.interface.ts +0 -9
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/interfaces/index.ts +0 -6
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/file-icons.constants.ts +0 -27
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/file-limit.constants.ts +0 -41
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/index.ts +0 -4
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/lottie-animation.constants.ts +0 -10
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/constants/mime-type.constants.ts +0 -33
- package/lib/components/ca-upload-files/components/ca-upload-dropzone/utils/svg-routes/dropzone-svg.routes.ts +0 -3
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.html +0 -412
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.scss +0 -1491
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.spec.ts +0 -21
- package/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.ts +0 -481
- package/lib/components/ca-upload-files/components/ca-upload-file/enums/document-action.enum.ts +0 -8
- package/lib/components/ca-upload-files/components/ca-upload-file/enums/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-file/interfaces/delete-action.interface.ts +0 -4
- package/lib/components/ca-upload-files/components/ca-upload-file/interfaces/file-action-event.interface.ts +0 -7
- package/lib/components/ca-upload-files/components/ca-upload-file/interfaces/index.ts +0 -2
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/byte-convert.pipe.ts +0 -18
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/file-name.pipe.ts +0 -17
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/index.ts +0 -5
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/mime-type-to-extension.pipe.ts +0 -14
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/ng-class.pipe.ts +0 -41
- package/lib/components/ca-upload-files/components/ca-upload-file/pipes/url-extension.pipe.ts +0 -18
- package/lib/components/ca-upload-files/components/ca-upload-file/services/document.service.ts +0 -14
- package/lib/components/ca-upload-files/components/ca-upload-file/services/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/config/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/config/upload-file-input.config.ts +0 -10
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-file/utils/svg-routes/upload-file.routes.ts +0 -9
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.html +0 -99
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.scss +0 -240
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.spec.ts +0 -21
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.ts +0 -190
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/enums/carousel-action.enum.ts +0 -4
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/enums/file-carousel-size.enum.ts +0 -8
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/enums/index.ts +0 -2
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/interfaces/files-carousel.interface.ts +0 -7
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/interfaces/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/constants/files-by-size.constant.ts +0 -19
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/constants/index.ts +0 -1
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/index.ts +0 -2
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/svg-routes/carousel-svg.routes.ts +0 -3
- package/lib/components/ca-upload-files/components/ca-upload-files-carousel/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-upload-files/enums/file-action.enum.ts +0 -5
- package/lib/components/ca-upload-files/enums/file-size.enum.ts +0 -7
- package/lib/components/ca-upload-files/enums/file-type.enum.ts +0 -6
- package/lib/components/ca-upload-files/enums/index.ts +0 -4
- package/lib/components/ca-upload-files/enums/review-state.enum.ts +0 -4
- package/lib/components/ca-upload-files/interfaces/document-review-input-event.interface.ts +0 -7
- package/lib/components/ca-upload-files/interfaces/file-option-config.interface.ts +0 -16
- package/lib/components/ca-upload-files/interfaces/index.ts +0 -5
- package/lib/components/ca-upload-files/interfaces/review-file-config.interface.ts +0 -10
- package/lib/components/ca-upload-files/interfaces/slider.interface.ts +0 -4
- package/lib/components/ca-upload-files/interfaces/upload-files-config.interface.ts +0 -46
- package/lib/components/ca-upload-files/pipes/index.ts +0 -2
- package/lib/components/ca-upload-files/pipes/map-file.pipe.ts +0 -17
- package/lib/components/ca-upload-files/pipes/upload-class.pipe.ts +0 -41
- package/lib/components/ca-upload-files/services/index.ts +0 -1
- package/lib/components/ca-upload-files/services/upload-file.service.ts +0 -34
- package/lib/components/ca-upload-files/utils/svg-routes/files-upload-svg-routes.ts +0 -6
- package/lib/components/ca-upload-files/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.html +0 -157
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.scss +0 -80
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.spec.ts +0 -22
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.stories.ts +0 -56
- package/lib/components/ca-vehicle-list/ca-vehicle-list.component.ts +0 -92
- package/lib/components/ca-vehicle-list/enums/index.ts +0 -1
- package/lib/components/ca-vehicle-list/enums/vehicle-list.enum.ts +0 -4
- package/lib/components/ca-vehicle-list/interfaces/index.ts +0 -2
- package/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.ts +0 -5
- package/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.ts +0 -9
- package/lib/components/ca-vehicle-list/models/index.ts +0 -1
- package/lib/components/ca-vehicle-list/models/vehicle-list.model.ts +0 -12
- package/lib/components/ca-vehicle-list/types/index.ts +0 -1
- package/lib/components/ca-vehicle-list/types/vehicle-list.type.ts +0 -5
- package/lib/components/ca-vehicle-list/utils/constants/index.ts +0 -1
- package/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.ts +0 -40
- package/lib/components/ca-vehicle-list/utils/svg-routes/index.ts +0 -1
- package/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.ts +0 -8
- package/lib/directives/description-items-text-count.directive.ts +0 -242
- package/lib/directives/hover-svg-directives.ts +0 -49
- package/lib/directives/index.ts +0 -3
- package/lib/directives/placeholder-directive.ts +0 -51
- package/lib/enums/animation-state.enum.ts +0 -4
- package/lib/enums/color.enum.ts +0 -9
- package/lib/enums/common-element.enum.ts +0 -8
- package/lib/enums/date-time-formats.enum.ts +0 -14
- package/lib/enums/dispatch-status.enum.ts +0 -24
- package/lib/enums/dropdown.enum.ts +0 -20
- package/lib/enums/filter-color.enum.ts +0 -14
- package/lib/enums/general-actions.enum.ts +0 -71
- package/lib/enums/gps-heading-direction.enum.ts +0 -10
- package/lib/enums/gps-motion-status.enum.ts +0 -7
- package/lib/enums/index.ts +0 -22
- package/lib/enums/load-filter.enum.ts +0 -25
- package/lib/enums/load-status.enum.ts +0 -58
- package/lib/enums/position.enum.ts +0 -10
- package/lib/enums/shared-string.enum.ts +0 -79
- package/lib/enums/string-placeholder.enum.ts +0 -20
- package/lib/enums/style-property.enum.ts +0 -4
- package/lib/enums/styling.enum.ts +0 -13
- package/lib/enums/thousand-separator-format.enum.ts +0 -5
- package/lib/enums/trailer-name.enum.ts +0 -18
- package/lib/enums/truck-name.enum.ts +0 -13
- package/lib/enums/unit.enum.ts +0 -30
- package/lib/interfaces/dropdown-menu/table-card-body-actions.interface.ts +0 -5
- package/lib/interfaces/gps-current-location/gps-current-location.interface.ts +0 -20
- package/lib/interfaces/index.ts +0 -5
- package/lib/interfaces/table/index.ts +0 -2
- package/lib/interfaces/table/sortOrder.ts +0 -7
- package/lib/interfaces/table/table-column.interface.ts +0 -25
- package/lib/interfaces/user/company-user.interface.ts +0 -10
- package/lib/interfaces/user/user-avatar-file.interface.ts +0 -9
- package/lib/interfaces/user/user.interface.ts +0 -14
- package/lib/models/address-entity.model.ts +0 -12
- package/lib/models/address-list-response.model.ts +0 -3
- package/lib/models/address-response.model.ts +0 -7
- package/lib/models/array-status.model.ts +0 -38
- package/lib/models/autocomplete-search-layer.model.ts +0 -32
- package/lib/models/bank-response.ts +0 -7
- package/lib/models/card-models/card-table-data.model.ts +0 -924
- package/lib/models/cdl-response.ts +0 -26
- package/lib/models/cdl-restriction-response.ts +0 -11
- package/lib/models/color-response.ts +0 -6
- package/lib/models/dashboard/custom-period-range.model.ts +0 -5
- package/lib/models/dashboard/dropdown-list-item.model.ts +0 -4
- package/lib/models/enumValue.ts +0 -4
- package/lib/models/file-response.ts +0 -9
- package/lib/models/filter-output-params.model.ts +0 -6
- package/lib/models/filter-output.model.ts +0 -6
- package/lib/models/highlight-text.model.ts +0 -4
- package/lib/models/index.ts +0 -8
- package/lib/models/load/load-possible-statuses-response.model.ts +0 -6
- package/lib/models/load/load-status-response.model.ts +0 -8
- package/lib/models/load-status-history-response.model.ts +0 -17
- package/lib/models/long-lat.model.ts +0 -4
- package/lib/models/mixin.model.ts +0 -1
- package/lib/models/note-active-options.model.ts +0 -6
- package/lib/models/owner-response.ts +0 -24
- package/lib/models/pMTrailerShortResponse.ts +0 -9
- package/lib/models/pMTruckShortResponse.ts +0 -9
- package/lib/models/payroll-list-summary.model.ts +0 -12
- package/lib/models/repairModalResponse.ts +0 -9
- package/lib/models/state-response.ts +0 -8
- package/lib/models/table-models/all-table-animation.model.ts +0 -15
- package/lib/models/table-models/table-body-color-label.model.ts +0 -11
- package/lib/models/tabs.model.ts +0 -6
- package/lib/models/time-filter.model.ts +0 -8
- package/lib/models/trailer-dispatch-modal-response.ts +0 -12
- package/lib/models/trailer-minimal-response.ts +0 -12
- package/lib/models/trailer-type-response.ts +0 -7
- package/lib/models/truck-dispatch-modal-response.ts +0 -19
- package/lib/models/truck-minimal-response.ts +0 -14
- package/lib/models/truck-response.ts +0 -0
- package/lib/models/truck-type-response.ts +0 -6
- package/lib/models/user-selected.model.ts +0 -8
- package/lib/pipes/ca-svg.pipe.ts +0 -33
- package/lib/pipes/date-from-backend.pipe.ts +0 -12
- package/lib/pipes/date-from-string.pipe.ts +0 -46
- package/lib/pipes/date-to-time-from-backend.pipe.ts +0 -15
- package/lib/pipes/date-wait-time.pipe.ts +0 -36
- package/lib/pipes/date.pipe.ts +0 -34
- package/lib/pipes/dispatch-status-color.pipe.ts +0 -80
- package/lib/pipes/dispatch-status-colors.pipe.ts +0 -60
- package/lib/pipes/dropdown-load-status-color.pipe.ts +0 -159
- package/lib/pipes/format-city-state.pipe.ts +0 -20
- package/lib/pipes/format-currency.pipe.ts +0 -46
- package/lib/pipes/format-duration.pipe.ts +0 -38
- package/lib/pipes/highlight-search.pipe.ts +0 -41
- package/lib/pipes/index.ts +0 -26
- package/lib/pipes/load-status-background-color.pipe.ts +0 -106
- package/lib/pipes/load-status-color.pipe.ts +0 -151
- package/lib/pipes/load-status-colors.pipe.ts +0 -109
- package/lib/pipes/n-formatter.pipe.ts +0 -41
- package/lib/pipes/name-initials.pipe.ts +0 -26
- package/lib/pipes/progress-bar-line.pipe.ts +0 -25
- package/lib/pipes/row-class.pipe.ts +0 -22
- package/lib/pipes/safe-html.pipe.ts +0 -16
- package/lib/pipes/table-highlight-search-text.pipe.ts +0 -56
- package/lib/pipes/thousand-formater.pipe.ts +0 -15
- package/lib/pipes/thousand-separator.pipe.ts +0 -19
- package/lib/pipes/thousand-to-short-format-pipe.ts +0 -16
- package/lib/pipes/to-lower-case.pipe.ts +0 -12
- package/lib/pipes/truck-trailer-color-finder.pipe.ts +0 -65
- package/lib/pipes/truncate-string.pipe.ts +0 -12
- package/lib/pipes/unit-position.pipe.ts +0 -20
- package/lib/pipes/user-initials.pipe.ts +0 -15
- package/lib/services/google-script.service.ts +0 -45
- package/lib/services/image-base64.service.ts +0 -20
- package/lib/services/truckassist-table.service.ts +0 -18
- package/lib/utils/animations/index.ts +0 -1
- package/lib/utils/animations/toggle-up-down.animation.ts +0 -23
- package/lib/utils/constants/dropdown-menu-content.constants.ts +0 -59
- package/lib/utils/constants/gps-location.constants.ts +0 -108
- package/lib/utils/constants/index.ts +0 -3
- package/lib/utils/constants/search-multiple-states.constant.ts +0 -7
- package/lib/utils/helpers/date-time.helper.ts +0 -22
- package/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.ts +0 -66
- package/lib/utils/helpers/dropdown-menu-content.helper.ts +0 -69
- package/lib/utils/helpers/file.helpers.ts +0 -14
- package/lib/utils/helpers/gps-location.helper.ts +0 -159
- package/lib/utils/helpers/index.ts +0 -7
- package/lib/utils/helpers/methods-calculations.helper.ts +0 -193
- package/lib/utils/helpers/user.helper.ts +0 -19
- package/lib/utils/helpers/uuid.helper.ts +0 -9
- package/lib/utils/svg-routes/index.ts +0 -1
- package/lib/utils/svg-routes/payroll-list-summary-svg-routes.ts +0 -4
- package/lib/utils/svg-routes/shared-svg.routes.ts +0 -91
|
@@ -1,1468 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectionStrategy,
|
|
3
|
-
ChangeDetectorRef,
|
|
4
|
-
Renderer2,
|
|
5
|
-
ViewEncapsulation,
|
|
6
|
-
} from '@angular/core';
|
|
7
|
-
import {
|
|
8
|
-
AfterViewInit,
|
|
9
|
-
Component,
|
|
10
|
-
EventEmitter,
|
|
11
|
-
Input,
|
|
12
|
-
OnChanges,
|
|
13
|
-
OnDestroy,
|
|
14
|
-
OnInit,
|
|
15
|
-
Output,
|
|
16
|
-
Self,
|
|
17
|
-
SimpleChanges,
|
|
18
|
-
ViewChild,
|
|
19
|
-
} from '@angular/core';
|
|
20
|
-
import { CommonModule } from '@angular/common';
|
|
21
|
-
|
|
22
|
-
import { debounceTime, skip, Subject, takeUntil } from 'rxjs';
|
|
23
|
-
|
|
24
|
-
// bootstrap
|
|
25
|
-
import {
|
|
26
|
-
NgbPopover,
|
|
27
|
-
NgbPopoverModule,
|
|
28
|
-
NgbModule,
|
|
29
|
-
} from '@ng-bootstrap/ng-bootstrap';
|
|
30
|
-
|
|
31
|
-
// animation
|
|
32
|
-
import { inputDropdownAnimation } from './animations';
|
|
33
|
-
|
|
34
|
-
// config
|
|
35
|
-
import { ICaInput } from '../ca-input/config';
|
|
36
|
-
|
|
37
|
-
// components
|
|
38
|
-
import { CaInputComponent } from '../ca-input/ca-input.component';
|
|
39
|
-
import { CaInputDropdownLoadBrokerComponent } from './components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component';
|
|
40
|
-
import { CaInputDropdownLoadDispatchesTtdComponent } from './components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component';
|
|
41
|
-
import { CaInputDropdownLoadDispatcherComponent } from './components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component';
|
|
42
|
-
import { CaInputDropdownSvgTemplateComponent } from './components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component';
|
|
43
|
-
import { CaInputDropdownSvgtextTemplateComponent } from './components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component';
|
|
44
|
-
import { CaInputDropdownSvgtextDispatchTemplateComponent } from './components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component';
|
|
45
|
-
import { CaInputDropdownGroupsComponent } from './components/ca-input-dropdown-groups/ca-input-dropdown-groups.component';
|
|
46
|
-
import { CaInputDropdownMultiselectComponent } from './components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component';
|
|
47
|
-
import { CaInputDropdownLabelsComponent } from './components/ca-input-dropdown-labels/ca-input-dropdown-labels.component';
|
|
48
|
-
import { CaInputDropdownLoadBrokerContactComponent } from './components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component';
|
|
49
|
-
import { CaInputDropdownLoadBrokerShipperComponent } from './components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component';
|
|
50
|
-
import { CaInputDropdownTextCounterComponent } from './components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component';
|
|
51
|
-
import { CaInputDropdownDoubleTextTemplateComponent } from './components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component';
|
|
52
|
-
import { CaInputDropdownTripleTextTemplateComponent } from './components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component';
|
|
53
|
-
import { CaInputDropdownDefaultTemplateComponent } from './components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component';
|
|
54
|
-
import { CaInputDropdownFuelFranchiseComponent } from './components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component';
|
|
55
|
-
import { CaInputDropdownDispatchComponent } from './components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component';
|
|
56
|
-
import { CaInputDropdownDetailsTemplateComponent } from './components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component';
|
|
57
|
-
import { CaInputDropdownPayrollTrucksComponent } from './components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component';
|
|
58
|
-
import { CaInputDropdownParkingComponent } from './components/ca-input-dropdown-parking/ca-input-dropdown-parking.component';
|
|
59
|
-
|
|
60
|
-
// pipes
|
|
61
|
-
import { FormControlPipe } from '../ca-input/pipes';
|
|
62
|
-
import { DropdownCountPipe, InputDropdownMultiselectClassPipe } from './pipes';
|
|
63
|
-
|
|
64
|
-
// modules
|
|
65
|
-
import { AngularSvgIconModule } from 'angular-svg-icon';
|
|
66
|
-
|
|
67
|
-
// directives
|
|
68
|
-
import {
|
|
69
|
-
ControlValueAccessor,
|
|
70
|
-
FormsModule,
|
|
71
|
-
NgControl,
|
|
72
|
-
ReactiveFormsModule,
|
|
73
|
-
} from '@angular/forms';
|
|
74
|
-
|
|
75
|
-
// models
|
|
76
|
-
import { CommandsEvent } from '../ca-input/models';
|
|
77
|
-
import { OptionModel } from './models/input-dropdown-option.model';
|
|
78
|
-
|
|
79
|
-
// services
|
|
80
|
-
import { ImageBase64Service } from '../../services/image-base64.service';
|
|
81
|
-
|
|
82
|
-
// svg routes
|
|
83
|
-
import { InputDropdownSvgRoutes } from './utils/svg-routes/input-dropdown-svg-routes';
|
|
84
|
-
|
|
85
|
-
// enums
|
|
86
|
-
import { DropdownStringEnum, DropdownTemplateTypeEnum } from './enums';
|
|
87
|
-
|
|
88
|
-
// helpers
|
|
89
|
-
import { uuidv4 } from '../../utils/helpers';
|
|
90
|
-
|
|
91
|
-
@Component({
|
|
92
|
-
selector: 'app-ca-input-dropdown',
|
|
93
|
-
templateUrl: './ca-input-dropdown.component.html',
|
|
94
|
-
styleUrls: ['./ca-input-dropdown.component.scss'],
|
|
95
|
-
encapsulation: ViewEncapsulation.None,
|
|
96
|
-
providers: [FormControlPipe],
|
|
97
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
98
|
-
animations: [inputDropdownAnimation('showHideDropdownOptions')],
|
|
99
|
-
imports: [
|
|
100
|
-
// Module
|
|
101
|
-
CommonModule,
|
|
102
|
-
FormsModule,
|
|
103
|
-
NgbPopoverModule,
|
|
104
|
-
ReactiveFormsModule,
|
|
105
|
-
NgbModule,
|
|
106
|
-
AngularSvgIconModule,
|
|
107
|
-
// Component
|
|
108
|
-
CaInputComponent,
|
|
109
|
-
CaInputDropdownSvgTemplateComponent,
|
|
110
|
-
CaInputDropdownSvgtextTemplateComponent,
|
|
111
|
-
CaInputDropdownSvgtextDispatchTemplateComponent,
|
|
112
|
-
CaInputDropdownGroupsComponent,
|
|
113
|
-
CaInputDropdownMultiselectComponent,
|
|
114
|
-
CaInputDropdownLabelsComponent,
|
|
115
|
-
CaInputDropdownLoadBrokerComponent,
|
|
116
|
-
CaInputDropdownLoadDispatchesTtdComponent,
|
|
117
|
-
CaInputDropdownLoadDispatcherComponent,
|
|
118
|
-
CaInputDropdownLoadBrokerContactComponent,
|
|
119
|
-
CaInputDropdownLoadBrokerShipperComponent,
|
|
120
|
-
CaInputDropdownTextCounterComponent,
|
|
121
|
-
CaInputDropdownDoubleTextTemplateComponent,
|
|
122
|
-
CaInputDropdownTripleTextTemplateComponent,
|
|
123
|
-
CaInputDropdownDefaultTemplateComponent,
|
|
124
|
-
CaInputDropdownFuelFranchiseComponent,
|
|
125
|
-
CaInputDropdownDispatchComponent,
|
|
126
|
-
CaInputDropdownDetailsTemplateComponent,
|
|
127
|
-
CaInputDropdownPayrollTrucksComponent,
|
|
128
|
-
CaInputDropdownParkingComponent,
|
|
129
|
-
// Pipes
|
|
130
|
-
FormControlPipe,
|
|
131
|
-
DropdownCountPipe,
|
|
132
|
-
InputDropdownMultiselectClassPipe,
|
|
133
|
-
]
|
|
134
|
-
})
|
|
135
|
-
export class CaInputDropdownComponent
|
|
136
|
-
implements OnInit, AfterViewInit, OnChanges, OnDestroy, ControlValueAccessor
|
|
137
|
-
{
|
|
138
|
-
@ViewChild('input') inputRef!: CaInputComponent;
|
|
139
|
-
@ViewChild('t2') public popoverRef!: NgbPopover;
|
|
140
|
-
|
|
141
|
-
// different templates for body rendering
|
|
142
|
-
public _template!: string;
|
|
143
|
-
_canAddNew: boolean = false;
|
|
144
|
-
@Input() set template(value: string) {
|
|
145
|
-
this._template = value;
|
|
146
|
-
if (value === 'details-template' && this.isDetailsPages) {
|
|
147
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
148
|
-
this.inputRef.setInputCursorAtTheEnd(
|
|
149
|
-
this.inputRef.input.nativeElement
|
|
150
|
-
);
|
|
151
|
-
const option = this._options.find((item) => item.active);
|
|
152
|
-
this._activeItem = option || null;
|
|
153
|
-
this.getSuperControl?.setValue(option?.name);
|
|
154
|
-
|
|
155
|
-
const timeout2 = setTimeout(() => {
|
|
156
|
-
this.popoverRef.open();
|
|
157
|
-
clearTimeout(timeout2);
|
|
158
|
-
}, 150);
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@Input() multiselectTemplate!: string;
|
|
164
|
-
@Input() inputConfig!: ICaInput;
|
|
165
|
-
@Input() set canAddNew(value: boolean) {
|
|
166
|
-
this._canAddNew = value;
|
|
167
|
-
} // ADD NEW item in options
|
|
168
|
-
@Input() canOpenModal!: boolean; // open modal with ADD NEW button
|
|
169
|
-
@Input() isAddressDropdown!: boolean; // only for address dropdown
|
|
170
|
-
|
|
171
|
-
// sort-template for different options
|
|
172
|
-
public _sort!: string;
|
|
173
|
-
@Input() set sort(value: string) {
|
|
174
|
-
this._sort = value;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// currently active item
|
|
178
|
-
public _activeItem!: OptionModel | null;
|
|
179
|
-
@Input() set activeItem(value: OptionModel | null) {
|
|
180
|
-
this.inputConfig = {
|
|
181
|
-
...this.inputConfig,
|
|
182
|
-
blackInput: true,
|
|
183
|
-
};
|
|
184
|
-
this._activeItem = value;
|
|
185
|
-
|
|
186
|
-
// With address
|
|
187
|
-
if (
|
|
188
|
-
this.inputConfig.name &&
|
|
189
|
-
this.inputConfig.name.toLowerCase().includes('address') &&
|
|
190
|
-
this._activeItem
|
|
191
|
-
) {
|
|
192
|
-
if (Object.keys(this._activeItem).length > 0) {
|
|
193
|
-
this.getSuperControl?.patchValue(
|
|
194
|
-
value?.address ? value?.address : null
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
if (!this.inputConfig.hideColorValidations) {
|
|
199
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
200
|
-
this.inputConfig = {
|
|
201
|
-
...this.inputConfig,
|
|
202
|
-
blackInput: false,
|
|
203
|
-
};
|
|
204
|
-
this.cdRef.detectChanges();
|
|
205
|
-
}, 150);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
// Without address
|
|
209
|
-
else {
|
|
210
|
-
if (this._activeItem) {
|
|
211
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
212
|
-
this.getSuperControl!.patchValue(
|
|
213
|
-
value?.number
|
|
214
|
-
? value?.number
|
|
215
|
-
: value?.name
|
|
216
|
-
? value?.name
|
|
217
|
-
: (value?.companyName ?? null)
|
|
218
|
-
);
|
|
219
|
-
|
|
220
|
-
if (!this.inputConfig.hideColorValidations) {
|
|
221
|
-
this.inputConfig = {
|
|
222
|
-
...this.inputConfig,
|
|
223
|
-
blackInput: false,
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
this.cdRef.detectChanges();
|
|
227
|
-
}, 150);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
@Input() activeItemColor!: OptionModel | null; // currently active color in dropdown
|
|
233
|
-
@Input() labelMode!: 'Label' | 'Color';
|
|
234
|
-
|
|
235
|
-
// when send SVG, please premmaped object: add 'folder' | 'subfolder'
|
|
236
|
-
public _options: OptionModel[] = [];
|
|
237
|
-
@Input() set options(values: OptionModel[]) {
|
|
238
|
-
if (values) this._options = [...values];
|
|
239
|
-
|
|
240
|
-
switch (this._sort) {
|
|
241
|
-
case 'active-drivers': {
|
|
242
|
-
this._options = values.sort(
|
|
243
|
-
(x, y) => Number(y.status) - Number(x.status)
|
|
244
|
-
);
|
|
245
|
-
|
|
246
|
-
this.originalOptions = [...this._options];
|
|
247
|
-
break;
|
|
248
|
-
}
|
|
249
|
-
default: {
|
|
250
|
-
setTimeout(() => {
|
|
251
|
-
if (
|
|
252
|
-
this._canAddNew &&
|
|
253
|
-
!this._options.find((item) => item.id === 7655)
|
|
254
|
-
) {
|
|
255
|
-
this._options.unshift({
|
|
256
|
-
id: 7655,
|
|
257
|
-
name: DropdownStringEnum.ADD_NEW,
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
this.originalOptions = this._options;
|
|
262
|
-
}, 100);
|
|
263
|
-
break;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// MultiSelect Selected Items From Backend
|
|
269
|
-
@Input() set preloadMultiselectItems(values: OptionModel[]) {
|
|
270
|
-
if (this.inputConfig.multiselectDropdown) {
|
|
271
|
-
if (!values) {
|
|
272
|
-
this.deleteAllMultiSelectItems(this.inputConfig.label);
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
if (values?.length) {
|
|
277
|
-
values.forEach((item) => {
|
|
278
|
-
this.onMultiselectSelect(item);
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
@Input() isDetailsPages!: boolean; // only for details pages
|
|
285
|
-
@Input() isIncorrectValue!: boolean; // applicant review option
|
|
286
|
-
|
|
287
|
-
@Output() selectedItem: EventEmitter<OptionModel | null> =
|
|
288
|
-
new EventEmitter<OptionModel | null>();
|
|
289
|
-
@Output() selectedItems: EventEmitter<OptionModel[] | null> =
|
|
290
|
-
new EventEmitter<OptionModel[] | null>();
|
|
291
|
-
@Output() selectedItemColor: EventEmitter<OptionModel | null> =
|
|
292
|
-
new EventEmitter<OptionModel | null>();
|
|
293
|
-
@Output() selectedLabelMode: EventEmitter<string> =
|
|
294
|
-
new EventEmitter<string>();
|
|
295
|
-
@Output() closeDropdown: EventEmitter<boolean> =
|
|
296
|
-
new EventEmitter<boolean>();
|
|
297
|
-
@Output() saveItem: EventEmitter<{
|
|
298
|
-
data: OptionModel | null;
|
|
299
|
-
action: string;
|
|
300
|
-
}> = new EventEmitter<{ data: OptionModel | null; action: string }>();
|
|
301
|
-
@Output() incorrectEvent: EventEmitter<boolean> =
|
|
302
|
-
new EventEmitter<boolean>();
|
|
303
|
-
@Output() placeholderIconEvent: EventEmitter<boolean> =
|
|
304
|
-
new EventEmitter<boolean>();
|
|
305
|
-
@Output('pagination') paginationEvent: EventEmitter<number> =
|
|
306
|
-
new EventEmitter<number>();
|
|
307
|
-
@Output('activeGroup') activeGroupEvent: EventEmitter<OptionModel> =
|
|
308
|
-
new EventEmitter<OptionModel>();
|
|
309
|
-
@Output('clearInputEvent') clearInputEvent: EventEmitter<boolean> =
|
|
310
|
-
new EventEmitter<boolean>();
|
|
311
|
-
|
|
312
|
-
// Copy of Options
|
|
313
|
-
public originalOptions: OptionModel[] = [];
|
|
314
|
-
|
|
315
|
-
// Pagination
|
|
316
|
-
public paginationNumber: number = 0;
|
|
317
|
-
|
|
318
|
-
// Multiselect dropdown options
|
|
319
|
-
public multiselectItems: OptionModel[] = [];
|
|
320
|
-
public isMultiSelectInputFocus: boolean = false;
|
|
321
|
-
public multiSelectLabel!: string | undefined;
|
|
322
|
-
public lastActiveMultiselectItem!: OptionModel | null;
|
|
323
|
-
|
|
324
|
-
// Add mode
|
|
325
|
-
public isInAddMode: boolean = false;
|
|
326
|
-
|
|
327
|
-
// Dropdown navigation with keyboard
|
|
328
|
-
private dropdownPosition: number = -1;
|
|
329
|
-
|
|
330
|
-
// Dropdown Cleartimeout
|
|
331
|
-
public clearTimeoutDropdown: string | number | ReturnType<typeof setTimeout> | undefined;
|
|
332
|
-
|
|
333
|
-
public hoveringIndex!: number;
|
|
334
|
-
public inputDropdownSvgRoutes = InputDropdownSvgRoutes;
|
|
335
|
-
public dropdownTemplateTypeEnum = DropdownTemplateTypeEnum;
|
|
336
|
-
|
|
337
|
-
public originalInputConfig!: ICaInput;
|
|
338
|
-
|
|
339
|
-
// Destroy
|
|
340
|
-
private destroy$ = new Subject<void>();
|
|
341
|
-
|
|
342
|
-
constructor(
|
|
343
|
-
@Self() public superControl: NgControl,
|
|
344
|
-
public imageBase64Service: ImageBase64Service,
|
|
345
|
-
private cdRef: ChangeDetectorRef,
|
|
346
|
-
private renderer: Renderer2
|
|
347
|
-
) {
|
|
348
|
-
this.superControl.valueAccessor = this;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
get getSuperControl() {
|
|
352
|
-
return this.superControl.control;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
writeValue(_: any): void {}
|
|
356
|
-
|
|
357
|
-
registerOnChange(_: any): void {}
|
|
358
|
-
|
|
359
|
-
registerOnTouched(_: any): void {}
|
|
360
|
-
|
|
361
|
-
ngOnInit(): void {
|
|
362
|
-
// Multiselect
|
|
363
|
-
if (this.inputConfig.multiselectDropdown) {
|
|
364
|
-
this.multiSelectLabel = this.inputConfig.label;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// Search
|
|
368
|
-
this.getSuperControl!.valueChanges.pipe(
|
|
369
|
-
debounceTime(50),
|
|
370
|
-
takeUntil(this.destroy$),
|
|
371
|
-
skip(1)
|
|
372
|
-
).subscribe((searchText) => {
|
|
373
|
-
if (this.labelMode === 'Color') {
|
|
374
|
-
return;
|
|
375
|
-
}
|
|
376
|
-
this.search(searchText);
|
|
377
|
-
});
|
|
378
|
-
|
|
379
|
-
this.originalInputConfig = structuredClone(this.inputConfig);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
ngOnChanges(changes: SimpleChanges) {
|
|
383
|
-
if (changes['options'] && changes['options'].currentValue) {
|
|
384
|
-
this.originalOptions = changes['options'].currentValue;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
ngAfterViewInit() {
|
|
389
|
-
if (this.inputConfig.autoFocus) {
|
|
390
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
391
|
-
this.popoverRef.open();
|
|
392
|
-
}, 450);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
public onScrollDropdown(event: EventTarget | null) {
|
|
397
|
-
const target = event as HTMLElement;
|
|
398
|
-
|
|
399
|
-
if (target.scrollTop + target.offsetHeight === target.scrollHeight) {
|
|
400
|
-
this.paginationNumber += 1;
|
|
401
|
-
|
|
402
|
-
this.paginationEvent.emit(this.paginationNumber);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
public onActiveItem(option: OptionModel, group?: any): void {
|
|
407
|
-
// Prevent user to pick franchise, without group
|
|
408
|
-
if (
|
|
409
|
-
this._template === 'fuel-franchise' &&
|
|
410
|
-
option?.isFranchise &&
|
|
411
|
-
!group
|
|
412
|
-
) {
|
|
413
|
-
return;
|
|
414
|
-
}
|
|
415
|
-
// Disable to picking banned or dnu user
|
|
416
|
-
if (option?.dnu || option?.ban) {
|
|
417
|
-
return;
|
|
418
|
-
}
|
|
419
|
-
// No Result
|
|
420
|
-
if (option.id === 7654 || option.id === 7656) {
|
|
421
|
-
return;
|
|
422
|
-
}
|
|
423
|
-
// ADD NEW
|
|
424
|
-
else if (option.id === 7655) {
|
|
425
|
-
// Open New Modal
|
|
426
|
-
if (this.canOpenModal) {
|
|
427
|
-
this.selectedItem.emit({ ...option, canOpenModal: true });
|
|
428
|
-
}
|
|
429
|
-
// Work with current modal
|
|
430
|
-
else {
|
|
431
|
-
// DropDown label
|
|
432
|
-
if (this.inputConfig.dropdownLabel) {
|
|
433
|
-
this.inputConfig.dropdownLabelNew = true;
|
|
434
|
-
this.inputRef.isEditInput = true;
|
|
435
|
-
this.selectedLabelMode.emit('Color');
|
|
436
|
-
this.inputConfig.commands!.active = true;
|
|
437
|
-
this.inputRef.setInputCursorAtTheEnd(
|
|
438
|
-
this.inputRef.input.nativeElement
|
|
439
|
-
);
|
|
440
|
-
this.selectedItem.emit(option);
|
|
441
|
-
}
|
|
442
|
-
// Normal Dropdown
|
|
443
|
-
else {
|
|
444
|
-
this.addNewConfig();
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
// Pick the item
|
|
449
|
-
else {
|
|
450
|
-
this.inputConfig.selectedDropdown = true;
|
|
451
|
-
// Dropdown labels option selected
|
|
452
|
-
if (this.inputConfig.dropdownLabel) {
|
|
453
|
-
if (this.labelMode === 'Label') {
|
|
454
|
-
this._activeItem = option;
|
|
455
|
-
this.getSuperControl?.setValue(option.name);
|
|
456
|
-
this._options = this.originalOptions;
|
|
457
|
-
this.selectedItem.emit(option);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
if (this.labelMode === 'Color') {
|
|
461
|
-
this.activeItemColor = option;
|
|
462
|
-
|
|
463
|
-
this.selectedItemColor.emit(this.activeItemColor);
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
// Normal Dropdown option selected
|
|
467
|
-
else {
|
|
468
|
-
this._activeItem = option;
|
|
469
|
-
|
|
470
|
-
this._options = this.originalOptions;
|
|
471
|
-
|
|
472
|
-
if (this.inputConfig.name !== 'RoutingAddress') {
|
|
473
|
-
this.getSuperControl?.patchValue(
|
|
474
|
-
option?.number ? option.number : option.name
|
|
475
|
-
);
|
|
476
|
-
|
|
477
|
-
if (this._template === 'fuel-franchise') {
|
|
478
|
-
this.getSuperControl!.patchValue(
|
|
479
|
-
group ? option.name : option.businessName
|
|
480
|
-
);
|
|
481
|
-
const { id } = option;
|
|
482
|
-
group
|
|
483
|
-
? this.selectedItem.emit({
|
|
484
|
-
...option,
|
|
485
|
-
...group,
|
|
486
|
-
storeId: id,
|
|
487
|
-
})
|
|
488
|
-
: this.selectedItem.emit(option);
|
|
489
|
-
} else {
|
|
490
|
-
group
|
|
491
|
-
? this.selectedItem.emit({
|
|
492
|
-
...option,
|
|
493
|
-
...group,
|
|
494
|
-
})
|
|
495
|
-
: this.selectedItem.emit(option);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
this.getSuperControl?.markAsDirty();
|
|
500
|
-
|
|
501
|
-
this.popoverRef.close();
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
if (this._template === 'fuel-franchise') {
|
|
505
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
506
|
-
this.popoverRef.close();
|
|
507
|
-
}, 100);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
public onActiveItemGroup(event: { option: OptionModel; group: any }) {
|
|
512
|
-
this.onActiveItem(event.option, event.group);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
public onClearSearch(): void {
|
|
516
|
-
this._options = this.originalOptions;
|
|
517
|
-
this._activeItem = null;
|
|
518
|
-
this.inputConfig.selectedDropdown = false;
|
|
519
|
-
this.getSuperControl?.patchValue(null);
|
|
520
|
-
this.inputConfig = {
|
|
521
|
-
...this.inputConfig,
|
|
522
|
-
placeholder: this.inputConfig.placeholderWithLabel
|
|
523
|
-
? this.originalInputConfig.placeholder
|
|
524
|
-
: '',
|
|
525
|
-
dropdownImageInput: null,
|
|
526
|
-
};
|
|
527
|
-
this.selectedItem.emit(null);
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
public clearDropdownLabel() {
|
|
531
|
-
this._activeItem = null;
|
|
532
|
-
this.activeItemColor = null;
|
|
533
|
-
this.selectedItem.emit(null);
|
|
534
|
-
this.selectedItemColor.emit(null);
|
|
535
|
-
this.selectedLabelMode.emit('Label');
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
public commandEvent(event: CommandsEvent) {
|
|
539
|
-
if (event.action === 'Edit Input') {
|
|
540
|
-
this.selectedLabelMode.emit('Color');
|
|
541
|
-
this.inputConfig.dropdownLabelNew = false;
|
|
542
|
-
}
|
|
543
|
-
if (event.action === 'Toggle Dropdown') {
|
|
544
|
-
this.popoverRef.toggle();
|
|
545
|
-
}
|
|
546
|
-
if (event.action === 'confirm' && event.mode === 'new') {
|
|
547
|
-
this.addNewItem();
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
if (event.action === 'confirm' && event.mode === 'edit') {
|
|
551
|
-
this.updateItem();
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
if (event.action === 'Placeholder Icon Event') {
|
|
555
|
-
this.placeholderIconEvent.emit(true);
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
if (event.action === 'cancel') {
|
|
559
|
-
this.saveItem.emit({
|
|
560
|
-
data: this._activeItem,
|
|
561
|
-
action: 'cancel',
|
|
562
|
-
});
|
|
563
|
-
this.selectedLabelMode.emit('Label');
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
public addNewItem(): void {
|
|
568
|
-
this._activeItem = {
|
|
569
|
-
id: parseInt(uuidv4()),
|
|
570
|
-
name: this.getSuperControl!.value,
|
|
571
|
-
};
|
|
572
|
-
this.inputConfig.commands!.active = false;
|
|
573
|
-
this.inputRef.isVisibleCommands = false;
|
|
574
|
-
this.inputRef.isFocusInput = false;
|
|
575
|
-
|
|
576
|
-
this.saveItem.emit({ data: this._activeItem, action: 'new' });
|
|
577
|
-
|
|
578
|
-
if (this.inputConfig.dropdownLabel) {
|
|
579
|
-
this.selectedLabelMode.emit('Label');
|
|
580
|
-
this.inputRef.isTouchedInput = true;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
public updateItem(): void {
|
|
585
|
-
if (this.inputConfig.dropdownLabel) {
|
|
586
|
-
this._activeItem = {
|
|
587
|
-
...this._activeItem,
|
|
588
|
-
name: this.getSuperControl?.value,
|
|
589
|
-
colorId: this.activeItemColor
|
|
590
|
-
? this.activeItemColor.id
|
|
591
|
-
: this._activeItem?.colorId,
|
|
592
|
-
color: this.activeItemColor
|
|
593
|
-
? this.activeItemColor.name
|
|
594
|
-
: this._activeItem?.color,
|
|
595
|
-
code: this.activeItemColor
|
|
596
|
-
? this.activeItemColor.code
|
|
597
|
-
: this._activeItem?.code,
|
|
598
|
-
};
|
|
599
|
-
|
|
600
|
-
this.selectedLabelMode.emit('Label');
|
|
601
|
-
} else {
|
|
602
|
-
this._activeItem = {
|
|
603
|
-
...this._activeItem,
|
|
604
|
-
name: this.getSuperControl?.value,
|
|
605
|
-
};
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
this.saveItem.emit({
|
|
609
|
-
data: this._activeItem,
|
|
610
|
-
action: 'edit',
|
|
611
|
-
});
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
public addNewConfig() {
|
|
615
|
-
this.inputConfig = {
|
|
616
|
-
...this.inputConfig,
|
|
617
|
-
commands: {
|
|
618
|
-
active: true,
|
|
619
|
-
type: 'confirm-cancel',
|
|
620
|
-
firstCommand: {
|
|
621
|
-
popup: {
|
|
622
|
-
name: 'Confirm',
|
|
623
|
-
backgroundColor: '#3074d3',
|
|
624
|
-
},
|
|
625
|
-
name: 'confirm',
|
|
626
|
-
svg: InputDropdownSvgRoutes.specConfirmSvg,
|
|
627
|
-
},
|
|
628
|
-
secondCommand: {
|
|
629
|
-
popup: {
|
|
630
|
-
name: 'Cancel',
|
|
631
|
-
backgroundColor: '#2f2f2f',
|
|
632
|
-
},
|
|
633
|
-
name: 'cancel',
|
|
634
|
-
svg: InputDropdownSvgRoutes.xClearSvg,
|
|
635
|
-
},
|
|
636
|
-
},
|
|
637
|
-
placeholder: '',
|
|
638
|
-
};
|
|
639
|
-
|
|
640
|
-
this.popoverRef.close();
|
|
641
|
-
|
|
642
|
-
this.isInAddMode = true;
|
|
643
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
644
|
-
this.isInAddMode = false;
|
|
645
|
-
}, 200);
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
public onIncorrectInput(event: boolean) {
|
|
649
|
-
this.incorrectEvent.emit(event);
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
public identity(index: number, item: OptionModel): number | undefined {
|
|
653
|
-
return item.id;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
public toggleNestedList(option: OptionModel): void {
|
|
657
|
-
if (option.open) {
|
|
658
|
-
option.open = false;
|
|
659
|
-
return;
|
|
660
|
-
}
|
|
661
|
-
this._options.filter((item) => (item.open = false));
|
|
662
|
-
|
|
663
|
-
option.open = !option.open;
|
|
664
|
-
|
|
665
|
-
if (option.open) {
|
|
666
|
-
this.activeGroupEvent.emit(option);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
public onBlurInput(event: boolean) {
|
|
671
|
-
this.closeDropdown.emit(event);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
public onClearInputEvent(event: boolean) {
|
|
675
|
-
this.clearInputEvent.emit(event);
|
|
676
|
-
|
|
677
|
-
if (event) {
|
|
678
|
-
this.popoverRef.close();
|
|
679
|
-
// label dropdown
|
|
680
|
-
if (this.inputConfig.dropdownLabel) {
|
|
681
|
-
this.clearDropdownLabel();
|
|
682
|
-
}
|
|
683
|
-
// normal dropdown
|
|
684
|
-
else {
|
|
685
|
-
this.onClearSearch();
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
public showHideDropdown(action: boolean) {
|
|
691
|
-
if (this.inputConfig.multiselectDropdown) {
|
|
692
|
-
this.isMultiSelectInputFocus = action;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
if (this.labelMode !== 'Color') {
|
|
696
|
-
// Focus Out
|
|
697
|
-
if (!action) {
|
|
698
|
-
if (this._template !== 'fuel-franchise') {
|
|
699
|
-
this.popoverRef.open();
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
// Prevent user to typing dummmy data if _activeItem doesn't exist
|
|
703
|
-
if (this._activeItem) {
|
|
704
|
-
this.getSuperControl!.setValue(this._activeItem.name);
|
|
705
|
-
} else {
|
|
706
|
-
const index = this.originalOptions.findIndex(
|
|
707
|
-
(item) => item.name === this.getSuperControl!.value
|
|
708
|
-
);
|
|
709
|
-
|
|
710
|
-
if (index === -1) {
|
|
711
|
-
this.onClearSearch();
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
if (this._template !== 'fuel-franchise') {
|
|
715
|
-
this.popoverRef.close();
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
// Focus In
|
|
719
|
-
else {
|
|
720
|
-
this.inputConfig = {
|
|
721
|
-
...this.inputConfig,
|
|
722
|
-
placeholder: this.getSuperControl!.value
|
|
723
|
-
? this.getSuperControl!.value
|
|
724
|
-
: this.inputConfig.placeholderWithLabel
|
|
725
|
-
? this.originalInputConfig.placeholder
|
|
726
|
-
: this._activeItem?.name,
|
|
727
|
-
};
|
|
728
|
-
|
|
729
|
-
this.getSuperControl!.setValue(null);
|
|
730
|
-
|
|
731
|
-
if (this.popoverRef) {
|
|
732
|
-
this.popoverRef.close();
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
if (this.isInAddMode) {
|
|
736
|
-
this.inputConfig = {
|
|
737
|
-
...this.inputConfig,
|
|
738
|
-
placeholder: '',
|
|
739
|
-
};
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
// Details pages
|
|
745
|
-
if (
|
|
746
|
-
this.inputConfig.customClass?.includes('details-pages') &&
|
|
747
|
-
!action
|
|
748
|
-
) {
|
|
749
|
-
this.selectedItem.emit(this._activeItem);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
public dropDownKeyNavigation({
|
|
754
|
-
keyCode,
|
|
755
|
-
data,
|
|
756
|
-
}: {
|
|
757
|
-
keyCode: number;
|
|
758
|
-
data: any;
|
|
759
|
-
}) {
|
|
760
|
-
// Navigate down
|
|
761
|
-
if (keyCode === 40) {
|
|
762
|
-
this.dropdownNavigation(1);
|
|
763
|
-
}
|
|
764
|
-
// Navigate up
|
|
765
|
-
if (keyCode === 38) {
|
|
766
|
-
this.dropdownNavigation(-1);
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
// Press Escape
|
|
770
|
-
if (keyCode === 27) {
|
|
771
|
-
if (this.inputConfig?.commands?.active) {
|
|
772
|
-
this.inputConfig.commands = undefined;
|
|
773
|
-
this.inputRef.isVisibleCommands = false;
|
|
774
|
-
this.inputRef.isFocusInput = false;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
if (this.inputConfig.dropdownLabel) {
|
|
778
|
-
this.getSuperControl?.setErrors(null);
|
|
779
|
-
this.inputConfig.dropdownLabelNew = false;
|
|
780
|
-
this.inputConfig.commands!.active = false;
|
|
781
|
-
if (!this.inputConfig.hideColorValidations) {
|
|
782
|
-
this.inputConfig.blackInput = false;
|
|
783
|
-
}
|
|
784
|
-
this.inputRef.isFocusInput = false;
|
|
785
|
-
this.inputRef.isEditInput = false;
|
|
786
|
-
this.inputRef.input.nativeElement.blur();
|
|
787
|
-
if (this.labelMode === 'Color') {
|
|
788
|
-
this.getSuperControl!.patchValue(null);
|
|
789
|
-
this.selectedLabelMode.emit('Label');
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
// Press 'enter'
|
|
794
|
-
if (keyCode === 13) {
|
|
795
|
-
let selectedItem = this.renderer.selectRootElement(
|
|
796
|
-
'.dropdown-option-hovered',
|
|
797
|
-
true
|
|
798
|
-
);
|
|
799
|
-
|
|
800
|
-
// // Open New Modal
|
|
801
|
-
if (this.canOpenModal && selectedItem.toLowerCase() === 'add new') {
|
|
802
|
-
this.selectedItem.emit({
|
|
803
|
-
id: 7655,
|
|
804
|
-
name: DropdownStringEnum.ADD_NEW,
|
|
805
|
-
canOpenModal: true,
|
|
806
|
-
});
|
|
807
|
-
} else {
|
|
808
|
-
if (this._options.length === 1 && !selectedItem) {
|
|
809
|
-
if (this._template === 'fuel-franchise') {
|
|
810
|
-
selectedItem = this._options[0]?.businessName
|
|
811
|
-
? this._options[0]?.businessName
|
|
812
|
-
: this._options[0]?.name || '';
|
|
813
|
-
} else {
|
|
814
|
-
selectedItem = this._options[0]?.number
|
|
815
|
-
? this._options[0]?.number.toString().trim()
|
|
816
|
-
: this._options[0].name?.toString().trim();
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
this.pickupElementWithKeyboard(selectedItem, data);
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
if (keyCode === 9) {
|
|
825
|
-
if (
|
|
826
|
-
this._options.length === 1 &&
|
|
827
|
-
this._options[0].id !== 7655 &&
|
|
828
|
-
this._options[0].id !== 7654
|
|
829
|
-
) {
|
|
830
|
-
let selectedItem = null;
|
|
831
|
-
|
|
832
|
-
if (this._template === 'fuel-franchise') {
|
|
833
|
-
selectedItem = this._options[0]?.businessName
|
|
834
|
-
? this._options[0]?.businessName
|
|
835
|
-
: this._options[0]?.name;
|
|
836
|
-
} else {
|
|
837
|
-
selectedItem = this._options[0]?.number
|
|
838
|
-
? this._options[0]?.number.toString().trim()
|
|
839
|
-
: this._options[0].name!.toString().trim();
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
this.pickupElementWithKeyboard(selectedItem, data);
|
|
843
|
-
} else {
|
|
844
|
-
this.popoverRef.open();
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
// ---------------------------------- Multiselect Dropdown ----------------------------------
|
|
850
|
-
public onMultiselectSelect(option: OptionModel): void {
|
|
851
|
-
this.isMultiSelectInputFocus = false;
|
|
852
|
-
this.inputConfig.label = undefined;
|
|
853
|
-
|
|
854
|
-
if (this.multiselectItems.some((item) => item.id === option.id)) {
|
|
855
|
-
return;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
this._options = this._options.map((item) => {
|
|
859
|
-
if (item.id === option.id) {
|
|
860
|
-
return {
|
|
861
|
-
...item,
|
|
862
|
-
active: true,
|
|
863
|
-
};
|
|
864
|
-
} else {
|
|
865
|
-
if (!item.active) {
|
|
866
|
-
return {
|
|
867
|
-
...item,
|
|
868
|
-
active: false,
|
|
869
|
-
};
|
|
870
|
-
} else {
|
|
871
|
-
return {
|
|
872
|
-
...item,
|
|
873
|
-
active: true,
|
|
874
|
-
};
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
});
|
|
878
|
-
|
|
879
|
-
this.multiselectItems = this._options.filter((item) => item.active);
|
|
880
|
-
|
|
881
|
-
this.selectedItems.emit(this.multiselectItems);
|
|
882
|
-
|
|
883
|
-
this._options = this._options.sort(
|
|
884
|
-
(x, y) => Number(y.active) - Number(x.active)
|
|
885
|
-
);
|
|
886
|
-
this.originalOptions = [...this._options];
|
|
887
|
-
|
|
888
|
-
this.lastActiveMultiselectItem = this._options
|
|
889
|
-
.filter((item) => item.active)
|
|
890
|
-
.slice(-1)[0];
|
|
891
|
-
|
|
892
|
-
if (this.inputRef) {
|
|
893
|
-
this.inputRef.isFocusInput = false;
|
|
894
|
-
this.inputRef.input.nativeElement.blur();
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
this.inputConfig = {
|
|
898
|
-
...this.inputConfig,
|
|
899
|
-
multiSelectDropdownActive: true,
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
public removeMultiSelectItem(index: number) {
|
|
904
|
-
this._options = this.originalOptions.map((item) => {
|
|
905
|
-
if (item.id === this.multiselectItems[index].id) {
|
|
906
|
-
return {
|
|
907
|
-
...this.multiselectItems[index],
|
|
908
|
-
active: false,
|
|
909
|
-
};
|
|
910
|
-
}
|
|
911
|
-
return item;
|
|
912
|
-
});
|
|
913
|
-
|
|
914
|
-
this._options = this._options.sort(
|
|
915
|
-
(x, y) => Number(y.active) - Number(x.active)
|
|
916
|
-
);
|
|
917
|
-
|
|
918
|
-
this.originalOptions = this._options;
|
|
919
|
-
this.multiselectItems.splice(index, 1);
|
|
920
|
-
|
|
921
|
-
if (!this.multiselectItems.length) {
|
|
922
|
-
this.inputConfig = {
|
|
923
|
-
...this.inputConfig,
|
|
924
|
-
multiSelectDropdownActive: undefined,
|
|
925
|
-
};
|
|
926
|
-
|
|
927
|
-
this.lastActiveMultiselectItem = null;
|
|
928
|
-
this.inputConfig.label = this.multiSelectLabel;
|
|
929
|
-
} else {
|
|
930
|
-
this.lastActiveMultiselectItem = this._options
|
|
931
|
-
.filter((item) => item.active)
|
|
932
|
-
.slice(-1)[0];
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
this.selectedItems.emit(
|
|
936
|
-
this.multiselectItems.map((item) => {
|
|
937
|
-
return { ...item };
|
|
938
|
-
})
|
|
939
|
-
);
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
public deleteAllMultiSelectItems(currentLabel?: string) {
|
|
943
|
-
this.multiselectItems = [];
|
|
944
|
-
this.inputConfig = {
|
|
945
|
-
...this.inputConfig,
|
|
946
|
-
multiSelectDropdownActive: undefined,
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
this.inputConfig.label = currentLabel
|
|
950
|
-
? currentLabel
|
|
951
|
-
: this.multiSelectLabel;
|
|
952
|
-
this._options = this._options.map((item) => {
|
|
953
|
-
return {
|
|
954
|
-
...item,
|
|
955
|
-
active: false,
|
|
956
|
-
};
|
|
957
|
-
});
|
|
958
|
-
this.originalOptions = this._options;
|
|
959
|
-
this.selectedItems.emit(null);
|
|
960
|
-
|
|
961
|
-
this.lastActiveMultiselectItem = null;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
public toggleMultiselectDropdown() {
|
|
965
|
-
if (this.inputConfig.isDisabled) {
|
|
966
|
-
return;
|
|
967
|
-
}
|
|
968
|
-
this.isMultiSelectInputFocus = !this.isMultiSelectInputFocus;
|
|
969
|
-
|
|
970
|
-
if (this.isMultiSelectInputFocus) {
|
|
971
|
-
this.inputRef.setInputCursorAtTheEnd(
|
|
972
|
-
this.inputRef.input.nativeElement
|
|
973
|
-
);
|
|
974
|
-
|
|
975
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
976
|
-
this.popoverRef.open();
|
|
977
|
-
}, 150);
|
|
978
|
-
} else {
|
|
979
|
-
this.inputRef.isFocusInput = false;
|
|
980
|
-
this.popoverRef.close();
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
// ---------------------------------- End ----------------------------------
|
|
984
|
-
|
|
985
|
-
private pickupElementWithKeyboard(
|
|
986
|
-
selectedItem: string | undefined,
|
|
987
|
-
data: any
|
|
988
|
-
) {
|
|
989
|
-
// Address Select
|
|
990
|
-
if (
|
|
991
|
-
(this.inputConfig.name == 'Address' ||
|
|
992
|
-
this.inputConfig.name == 'RoutingAddress') &&
|
|
993
|
-
(!selectedItem || selectedItem == '')
|
|
994
|
-
) {
|
|
995
|
-
selectedItem = this._options[0].name;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
// Input Dropdown Bank Name
|
|
999
|
-
if (
|
|
1000
|
-
!selectedItem &&
|
|
1001
|
-
this.inputConfig.name === 'Input Dropdown Bank Name'
|
|
1002
|
-
) {
|
|
1003
|
-
this.addNewItem();
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
// Input Dropdown Label
|
|
1007
|
-
if (!selectedItem && this.inputConfig.dropdownLabel) {
|
|
1008
|
-
this.commandEvent({
|
|
1009
|
-
data: this.getSuperControl!.value,
|
|
1010
|
-
action: 'confirm',
|
|
1011
|
-
mode: data.dropdownLabelNew ? 'new' : 'edit',
|
|
1012
|
-
});
|
|
1013
|
-
this.clearTimeoutDropdown = setTimeout(() => {
|
|
1014
|
-
this.getSuperControl!.setErrors(null);
|
|
1015
|
-
this.inputConfig.dropdownLabelNew = false;
|
|
1016
|
-
this.inputConfig.commands!.active = false;
|
|
1017
|
-
if (!this.inputConfig.hideColorValidations) {
|
|
1018
|
-
this.inputConfig.blackInput = false;
|
|
1019
|
-
}
|
|
1020
|
-
this.inputRef.isFocusInput = false;
|
|
1021
|
-
this.inputRef.isEditInput = false;
|
|
1022
|
-
this.inputRef.input.nativeElement.blur();
|
|
1023
|
-
}, 150);
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
// ADD NEW Option
|
|
1027
|
-
if (selectedItem === DropdownStringEnum.ADD_NEW) {
|
|
1028
|
-
this.addNewConfig();
|
|
1029
|
-
|
|
1030
|
-
if (this.inputConfig.dropdownLabel) {
|
|
1031
|
-
// DropDown label
|
|
1032
|
-
if (this.inputConfig.dropdownLabel) {
|
|
1033
|
-
this.inputConfig.dropdownLabelNew = true;
|
|
1034
|
-
this.inputRef.isEditInput = true;
|
|
1035
|
-
this.selectedLabelMode.emit('Color');
|
|
1036
|
-
this.inputConfig.commands!.active = true;
|
|
1037
|
-
this.inputRef.setInputCursorAtTheEnd(
|
|
1038
|
-
this.inputRef.input.nativeElement
|
|
1039
|
-
);
|
|
1040
|
-
this.inputConfig.blackInput = true;
|
|
1041
|
-
this.selectedItem.emit({
|
|
1042
|
-
id: 7655,
|
|
1043
|
-
name: DropdownStringEnum.ADD_NEW,
|
|
1044
|
-
});
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
selectedItem = undefined;
|
|
1048
|
-
}
|
|
1049
|
-
// Normal Pick Dropdown
|
|
1050
|
-
else {
|
|
1051
|
-
const existItem = this._options
|
|
1052
|
-
.map((item) => {
|
|
1053
|
-
// Address
|
|
1054
|
-
if (
|
|
1055
|
-
item.name &&
|
|
1056
|
-
(this.inputConfig.name == 'Address' ||
|
|
1057
|
-
this.inputConfig.name == 'RoutingAddress')
|
|
1058
|
-
) {
|
|
1059
|
-
return {
|
|
1060
|
-
id: item.id,
|
|
1061
|
-
name: item.name,
|
|
1062
|
-
address: item.address,
|
|
1063
|
-
longLat: item.longLat,
|
|
1064
|
-
};
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
// Load Dispatches TTD
|
|
1068
|
-
else if (
|
|
1069
|
-
[
|
|
1070
|
-
'load-dispatches-ttd',
|
|
1071
|
-
'load-broker',
|
|
1072
|
-
'load-shipper',
|
|
1073
|
-
].includes(this._template)
|
|
1074
|
-
) {
|
|
1075
|
-
return { ...item };
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
// Image (must be before type code, because color has same prop like other dropdown pop)
|
|
1079
|
-
else if (item.logoName) {
|
|
1080
|
-
return { ...item };
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
// Code
|
|
1084
|
-
else if (item.code && item.description) {
|
|
1085
|
-
return {
|
|
1086
|
-
id: item.id,
|
|
1087
|
-
name: item.code.concat(' - ', item.description),
|
|
1088
|
-
};
|
|
1089
|
-
}
|
|
1090
|
-
// Dropdown Labels
|
|
1091
|
-
else if (
|
|
1092
|
-
item?.dropLabel ||
|
|
1093
|
-
this.inputConfig.dropdownLabel
|
|
1094
|
-
) {
|
|
1095
|
-
return { ...item };
|
|
1096
|
-
}
|
|
1097
|
-
// Default
|
|
1098
|
-
else {
|
|
1099
|
-
if (item.name) {
|
|
1100
|
-
return {
|
|
1101
|
-
id: item.id,
|
|
1102
|
-
name: item.name,
|
|
1103
|
-
};
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
return { ...item };
|
|
1107
|
-
})
|
|
1108
|
-
.find((item) => {
|
|
1109
|
-
// Dropdown Label
|
|
1110
|
-
if (
|
|
1111
|
-
(item?.dropLabel || this.inputConfig.dropdownLabel) &&
|
|
1112
|
-
selectedItem!.substring(
|
|
1113
|
-
0,
|
|
1114
|
-
selectedItem!.lastIndexOf(' ')
|
|
1115
|
-
) === item?.name!.toLowerCase()
|
|
1116
|
-
) {
|
|
1117
|
-
return item;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
// Dropdown Load Dispatcher, Broker
|
|
1121
|
-
if (item?.name)
|
|
1122
|
-
if (
|
|
1123
|
-
[
|
|
1124
|
-
'load-broker',
|
|
1125
|
-
'load-dispatcher',
|
|
1126
|
-
'load-shipper',
|
|
1127
|
-
].includes(this._template) &&
|
|
1128
|
-
selectedItem
|
|
1129
|
-
?.toLowerCase()
|
|
1130
|
-
.includes(item?.name?.toLowerCase())
|
|
1131
|
-
) {
|
|
1132
|
-
return item;
|
|
1133
|
-
}
|
|
1134
|
-
// Dropdown Load Dispatches
|
|
1135
|
-
if (
|
|
1136
|
-
item?.trailer?.trailerNumber &&
|
|
1137
|
-
item?.truck?.truckNumber &&
|
|
1138
|
-
item?.driver?.firstName &&
|
|
1139
|
-
item?.driver?.lastName
|
|
1140
|
-
)
|
|
1141
|
-
if (
|
|
1142
|
-
this._template === 'load-dispatches-ttd' &&
|
|
1143
|
-
selectedItem
|
|
1144
|
-
?.toLowerCase()
|
|
1145
|
-
.includes(
|
|
1146
|
-
item?.trailer?.trailerNumber.toLowerCase()
|
|
1147
|
-
) &&
|
|
1148
|
-
selectedItem
|
|
1149
|
-
?.toLowerCase()
|
|
1150
|
-
.includes(
|
|
1151
|
-
item?.truck?.truckNumber.toLowerCase()
|
|
1152
|
-
) &&
|
|
1153
|
-
selectedItem
|
|
1154
|
-
?.toLowerCase()
|
|
1155
|
-
.includes(
|
|
1156
|
-
item?.driver?.firstName
|
|
1157
|
-
.concat(' ', item?.driver?.lastName)
|
|
1158
|
-
.toLowerCase()
|
|
1159
|
-
)
|
|
1160
|
-
) {
|
|
1161
|
-
return item;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
// Default
|
|
1165
|
-
if (
|
|
1166
|
-
!this.inputConfig.dropdownLabel &&
|
|
1167
|
-
this._template !== 'load-dispatches-ttd' &&
|
|
1168
|
-
selectedItem?.toLowerCase() ===
|
|
1169
|
-
item?.name!.toLowerCase()
|
|
1170
|
-
) {
|
|
1171
|
-
return item;
|
|
1172
|
-
}
|
|
1173
|
-
return item;
|
|
1174
|
-
}) as OptionModel;
|
|
1175
|
-
|
|
1176
|
-
// MultiSelect Dropdown
|
|
1177
|
-
if (this.inputConfig.multiselectDropdown) {
|
|
1178
|
-
this.onMultiselectSelect(existItem);
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
// Dropdown labels option selected
|
|
1182
|
-
if (this.inputConfig.dropdownLabel) {
|
|
1183
|
-
if (this.labelMode === 'Label') {
|
|
1184
|
-
this._activeItem = existItem || null;
|
|
1185
|
-
this.getSuperControl!.setValue(existItem!.name);
|
|
1186
|
-
this._options = this.originalOptions;
|
|
1187
|
-
this.selectedItem.emit(existItem);
|
|
1188
|
-
this.inputRef.isDropdownToggler = false;
|
|
1189
|
-
this.inputRef.isFocusInput = false;
|
|
1190
|
-
this.inputRef.input.nativeElement.blur();
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
if (this.labelMode === 'Color') {
|
|
1194
|
-
this.activeItemColor = existItem || null;
|
|
1195
|
-
|
|
1196
|
-
this.selectedItemColor.emit(this.activeItemColor);
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
// Normal
|
|
1200
|
-
else {
|
|
1201
|
-
this.getSuperControl!.setValue(existItem?.name);
|
|
1202
|
-
this.selectedItem.emit(existItem);
|
|
1203
|
-
this._activeItem = existItem || null;
|
|
1204
|
-
this.inputRef.isFocusInput = false;
|
|
1205
|
-
this.inputRef.input.nativeElement.blur();
|
|
1206
|
-
}
|
|
1207
|
-
this.popoverRef.close();
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
private search(searchText: string): void {
|
|
1212
|
-
// Single Dropdown
|
|
1213
|
-
if (
|
|
1214
|
-
![
|
|
1215
|
-
'groups',
|
|
1216
|
-
'load-broker-contact',
|
|
1217
|
-
'fuel-franchise',
|
|
1218
|
-
'load-dispatches-ttd',
|
|
1219
|
-
].includes(this._template)
|
|
1220
|
-
) {
|
|
1221
|
-
if (
|
|
1222
|
-
searchText?.length &&
|
|
1223
|
-
this.getSuperControl?.value &&
|
|
1224
|
-
this._activeItem?.name !== this.getSuperControl?.value
|
|
1225
|
-
) {
|
|
1226
|
-
this._options = this.originalOptions.filter((item) => {
|
|
1227
|
-
if (item.name === DropdownStringEnum.ADD_NEW) return true;
|
|
1228
|
-
return item.name
|
|
1229
|
-
? item.name
|
|
1230
|
-
.toLowerCase()
|
|
1231
|
-
.includes(searchText.toLowerCase())
|
|
1232
|
-
: item.code
|
|
1233
|
-
? item.code
|
|
1234
|
-
.concat(' - ', item.description!)
|
|
1235
|
-
.toLowerCase()
|
|
1236
|
-
.includes(searchText.toLowerCase())
|
|
1237
|
-
: searchText.toLowerCase();
|
|
1238
|
-
});
|
|
1239
|
-
|
|
1240
|
-
if (
|
|
1241
|
-
this._template !==
|
|
1242
|
-
this.dropdownTemplateTypeEnum
|
|
1243
|
-
.SVGTEXT_DISPATCH_TEMPLATE &&
|
|
1244
|
-
!this.isAddressDropdown
|
|
1245
|
-
) {
|
|
1246
|
-
if (!this._options.length) {
|
|
1247
|
-
this.getSuperControl!.setErrors({ invalid: true });
|
|
1248
|
-
this.inputConfig.isInvalidSearchInDropdown = true;
|
|
1249
|
-
} else {
|
|
1250
|
-
this.getSuperControl!.setErrors(null);
|
|
1251
|
-
this.inputConfig.isInvalidSearchInDropdown = false;
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
if (
|
|
1256
|
-
['truck', 'trailer'].includes(
|
|
1257
|
-
this.inputConfig?.dropdownImageInput?.template!
|
|
1258
|
-
)
|
|
1259
|
-
) {
|
|
1260
|
-
this.inputConfig = {
|
|
1261
|
-
...this.inputConfig,
|
|
1262
|
-
dropdownImageInput: {
|
|
1263
|
-
...this.inputConfig.dropdownImageInput!,
|
|
1264
|
-
remove: true,
|
|
1265
|
-
},
|
|
1266
|
-
};
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
const emptyOptionsWihAddNew =
|
|
1270
|
-
this._options.length === 1 &&
|
|
1271
|
-
this._options[0].name === DropdownStringEnum.ADD_NEW;
|
|
1272
|
-
|
|
1273
|
-
if (!this._options.length || emptyOptionsWihAddNew) {
|
|
1274
|
-
if (
|
|
1275
|
-
this._template === 'svgtext-dispatch-template' &&
|
|
1276
|
-
!this.inputConfig.isDispatchLocationDropdown &&
|
|
1277
|
-
!emptyOptionsWihAddNew
|
|
1278
|
-
) {
|
|
1279
|
-
this._options.push({
|
|
1280
|
-
id: 7655,
|
|
1281
|
-
name: DropdownStringEnum.ADD_NEW,
|
|
1282
|
-
});
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
this._options.push({
|
|
1286
|
-
id: 7654,
|
|
1287
|
-
name: DropdownStringEnum.NO_RESULTS,
|
|
1288
|
-
});
|
|
1289
|
-
this.inputConfig = {
|
|
1290
|
-
...this.inputConfig,
|
|
1291
|
-
hideAllItemsInInputDropdown: true,
|
|
1292
|
-
};
|
|
1293
|
-
if (
|
|
1294
|
-
(this.inputConfig.name === 'Address' ||
|
|
1295
|
-
this.inputConfig.name === 'RoutingAddress') &&
|
|
1296
|
-
this.inputRef.isFocusInput
|
|
1297
|
-
) {
|
|
1298
|
-
this.popoverRef?.open();
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
} else {
|
|
1302
|
-
this._options = this.originalOptions;
|
|
1303
|
-
if (
|
|
1304
|
-
['truck', 'trailer'].includes(
|
|
1305
|
-
this.inputConfig?.dropdownImageInput?.template!
|
|
1306
|
-
)
|
|
1307
|
-
) {
|
|
1308
|
-
this.inputConfig = {
|
|
1309
|
-
...this.inputConfig,
|
|
1310
|
-
dropdownImageInput: {
|
|
1311
|
-
...this.inputConfig?.dropdownImageInput!,
|
|
1312
|
-
remove: false,
|
|
1313
|
-
},
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
this.inputConfig = {
|
|
1318
|
-
...this.inputConfig,
|
|
1319
|
-
hideAllItemsInInputDropdown: false,
|
|
1320
|
-
};
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
// Group Dropdown Items
|
|
1324
|
-
else {
|
|
1325
|
-
if (
|
|
1326
|
-
searchText?.length &&
|
|
1327
|
-
this.getSuperControl?.value?.toLowerCase()
|
|
1328
|
-
) {
|
|
1329
|
-
if (this._template === 'groups') {
|
|
1330
|
-
this._options = this.originalOptions
|
|
1331
|
-
.map((element) => {
|
|
1332
|
-
const filteredGroups = element.groups!.filter(
|
|
1333
|
-
(subElement) =>
|
|
1334
|
-
subElement?.name
|
|
1335
|
-
?.toLowerCase()
|
|
1336
|
-
.includes(searchText.toLowerCase())
|
|
1337
|
-
);
|
|
1338
|
-
return {
|
|
1339
|
-
...element,
|
|
1340
|
-
groups: filteredGroups,
|
|
1341
|
-
items: filteredGroups,
|
|
1342
|
-
};
|
|
1343
|
-
})
|
|
1344
|
-
.filter((item) => item.groups.length);
|
|
1345
|
-
|
|
1346
|
-
if (!this._options.length) {
|
|
1347
|
-
this._options.push({
|
|
1348
|
-
items: [
|
|
1349
|
-
{
|
|
1350
|
-
id: 7654,
|
|
1351
|
-
name: DropdownStringEnum.NO_RESULTS,
|
|
1352
|
-
},
|
|
1353
|
-
],
|
|
1354
|
-
groups: [
|
|
1355
|
-
{
|
|
1356
|
-
id: 7654,
|
|
1357
|
-
name: DropdownStringEnum.NO_RESULTS,
|
|
1358
|
-
},
|
|
1359
|
-
],
|
|
1360
|
-
});
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
if (this._template === 'load-broker-contact') {
|
|
1365
|
-
this._options = this.originalOptions.map((element) => {
|
|
1366
|
-
return {
|
|
1367
|
-
...element,
|
|
1368
|
-
contacts: element?.contacts?.filter(
|
|
1369
|
-
(subElement) => {
|
|
1370
|
-
return subElement
|
|
1371
|
-
?.fullName!.toLowerCase()
|
|
1372
|
-
.includes(searchText?.toLowerCase());
|
|
1373
|
-
}
|
|
1374
|
-
),
|
|
1375
|
-
};
|
|
1376
|
-
});
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
if (this._template === 'fuel-franchise') {
|
|
1380
|
-
this._options = this.originalOptions.map((element) => {
|
|
1381
|
-
return {
|
|
1382
|
-
...element,
|
|
1383
|
-
stores: element?.stores?.filter((subElement) =>
|
|
1384
|
-
subElement
|
|
1385
|
-
.name!.toString()
|
|
1386
|
-
.toLowerCase()
|
|
1387
|
-
.includes(searchText.toLowerCase())
|
|
1388
|
-
),
|
|
1389
|
-
};
|
|
1390
|
-
});
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
if (this._template === 'load-dispatches-ttd') {
|
|
1394
|
-
this._options = this.originalOptions.filter((item) => {
|
|
1395
|
-
if (
|
|
1396
|
-
item.fullName
|
|
1397
|
-
?.toLowerCase()
|
|
1398
|
-
.includes(searchText.toLowerCase())
|
|
1399
|
-
) {
|
|
1400
|
-
return item;
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
return false;
|
|
1404
|
-
});
|
|
1405
|
-
|
|
1406
|
-
if (!this._options.length) {
|
|
1407
|
-
this._options.push({
|
|
1408
|
-
id: 7654,
|
|
1409
|
-
name: DropdownStringEnum.NO_RESULTS,
|
|
1410
|
-
});
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
} else {
|
|
1414
|
-
this._options = this.originalOptions;
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
/**
|
|
1420
|
-
* Navigate through dropdown with keyboard arrows
|
|
1421
|
-
*/
|
|
1422
|
-
private dropdownNavigation(step: number) {
|
|
1423
|
-
this.dropdownPosition += step;
|
|
1424
|
-
|
|
1425
|
-
if (this.dropdownPosition > this._options.length - 1) {
|
|
1426
|
-
this.dropdownPosition = 0;
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
if (this.dropdownPosition < 0) {
|
|
1430
|
-
this.dropdownPosition = this._options.length - 1;
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
let cssClass = 'dropdown-option-hovered';
|
|
1434
|
-
let dropdownContainer = this.renderer.selectRootElement(
|
|
1435
|
-
'.dropdown-options',
|
|
1436
|
-
true
|
|
1437
|
-
);
|
|
1438
|
-
|
|
1439
|
-
let dropdownOption = this.renderer.selectRootElement(
|
|
1440
|
-
'.dropdown-option',
|
|
1441
|
-
true
|
|
1442
|
-
);
|
|
1443
|
-
|
|
1444
|
-
let elOffset =
|
|
1445
|
-
dropdownOption.height()! * this.dropdownPosition +
|
|
1446
|
-
(this.dropdownPosition !== 0 ? this.dropdownPosition * 6 : 0);
|
|
1447
|
-
|
|
1448
|
-
let viewport =
|
|
1449
|
-
dropdownContainer.scrollTop()! + dropdownContainer.height()!;
|
|
1450
|
-
|
|
1451
|
-
if (
|
|
1452
|
-
elOffset < dropdownContainer.scrollTop()! ||
|
|
1453
|
-
elOffset + dropdownOption.height()! > viewport
|
|
1454
|
-
)
|
|
1455
|
-
dropdownContainer.scrollTop(elOffset);
|
|
1456
|
-
|
|
1457
|
-
dropdownOption
|
|
1458
|
-
.removeClass(cssClass)
|
|
1459
|
-
.eq(this.dropdownPosition)
|
|
1460
|
-
.addClass(cssClass);
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
ngOnDestroy(): void {
|
|
1464
|
-
this.destroy$.next();
|
|
1465
|
-
this.destroy$.complete();
|
|
1466
|
-
clearTimeout(this.clearTimeoutDropdown as ReturnType<typeof setTimeout>);
|
|
1467
|
-
}
|
|
1468
|
-
}
|