ca-components 0.0.2 → 0.0.3
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/esm2022/assets/json/ca-table.json +59 -0
- package/esm2022/assets/json/ta-detail-dropdown.json +80 -0
- package/esm2022/lib/animation/in-out.animation.mjs +73 -0
- package/esm2022/lib/animations/accordion-animation.mjs +25 -0
- package/esm2022/lib/animations/animation.mjs +30 -0
- package/esm2022/lib/animations/close-form.animation.mjs +18 -0
- package/esm2022/lib/animations/expand-search-button.animation.mjs +17 -0
- package/esm2022/lib/animations/show.animation.mjs +20 -0
- package/esm2022/lib/animations/tabs-modal.animation.mjs +78 -0
- package/esm2022/lib/ca-components.module.mjs +117 -8
- package/esm2022/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.mjs +53 -0
- package/esm2022/lib/components/ca-details-dropdown/ca-details-dropdown.component.mjs +116 -0
- package/esm2022/lib/components/ca-details-dropdown/models/detail-dropdown.model.mjs +2 -0
- package/esm2022/lib/components/ca-details-dropdown/utils/svg-routes/detail-dropdown-svg-routes.mjs +4 -0
- package/esm2022/lib/components/ca-dropdown/ca-dropdown.component.mjs +37 -0
- package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +165 -0
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +541 -0
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/config/ca-money-filter.config.mjs +75 -0
- package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +191 -0
- package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +131 -0
- package/esm2022/lib/components/ca-filters/utils/constants/status-filter.constants.mjs +19 -0
- package/esm2022/lib/components/ca-filters/utils/constants/time-filter.constants.mjs +45 -0
- package/esm2022/lib/components/ca-filters/utils/svg-routes/ca-filters-svg-routes.mjs +7 -0
- package/esm2022/lib/components/ca-filters/utils/svg-routes/ca-money-filter-svg-routes.mjs +4 -0
- package/esm2022/lib/components/ca-input/ca-input.component.mjs +179 -0
- package/esm2022/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.mjs +55 -0
- package/esm2022/lib/components/ca-input/components/ca-input-password/ca-input-password.component.mjs +63 -0
- package/esm2022/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +52 -0
- package/esm2022/lib/components/ca-input/config/ca-input.config.mjs +2 -0
- package/esm2022/lib/components/ca-input/models/label-color.model.mjs +2 -0
- package/esm2022/lib/components/ca-input/pipes/input-class.pipe.mjs +89 -0
- package/esm2022/lib/components/ca-input/pipes/input-clear-class.pipe.mjs +76 -0
- package/esm2022/lib/components/ca-input/pipes/input-container-class.pipe.mjs +57 -0
- package/esm2022/lib/components/ca-input/pipes/input-error.pipe.mjs +85 -0
- package/esm2022/lib/components/ca-input/pipes/input-password-eye-class.pipe.mjs +37 -0
- package/esm2022/lib/components/ca-input/pipes/input-placeholder-icon.class.pipe.mjs +57 -0
- package/esm2022/lib/components/ca-input/pipes/input-type.pipe.mjs +25 -0
- package/esm2022/lib/components/ca-input/pipes/label-class.pipe.mjs +32 -0
- package/esm2022/lib/components/ca-input/pipes/show-clear.pipe.mjs +22 -0
- package/esm2022/lib/components/ca-input/pipes/show-invalid-danger-mark.pipe.mjs +27 -0
- package/esm2022/lib/components/ca-input/pipes/show-valid-check.pipe.mjs +27 -0
- package/esm2022/lib/components/ca-input/services/ca-input-state.service.mjs +92 -0
- package/esm2022/lib/components/ca-input/utils/input-svg-routes.mjs +9 -0
- package/esm2022/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.mjs +43 -0
- package/esm2022/lib/components/ca-map/ca-map.component.mjs +329 -0
- package/esm2022/lib/components/ca-map/enums/google-map.enum.mjs +6 -0
- package/esm2022/lib/components/ca-map/enums/toolbar-filter-string.enum.mjs +40 -0
- package/esm2022/lib/components/ca-map/models/map.model.mjs +2 -0
- package/esm2022/lib/components/ca-map/utils/helpers/map.helper.mjs +87 -0
- package/esm2022/lib/components/ca-map/utils/map-svg-routes/map-svg-routes.mjs +5 -0
- package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +57 -0
- package/esm2022/lib/components/ca-map-dropdown/utils/svg-routes/map-dropdown-svg-routes.mjs +19 -0
- package/esm2022/lib/components/ca-note/ca-note.component.mjs +238 -0
- package/esm2022/lib/components/ca-note/utils/helper/copy-paste.helper.mjs +8 -0
- package/esm2022/lib/components/ca-note/utils/svg-routes/note-svg-routes.mjs +6 -0
- package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +153 -0
- package/esm2022/lib/components/ca-note-container/enums/note-default-string.enum.mjs +11 -0
- package/esm2022/lib/components/ca-note-container/enums/note-selected-color.enum.mjs +6 -0
- package/esm2022/lib/components/ca-note-container/models/note-colors.model.mjs +2 -0
- package/esm2022/lib/components/ca-note-container/utils/constants/note-config.constant.mjs +61 -0
- package/esm2022/lib/components/ca-note-container/utils/svg-routes/note-container-svg-routes.mjs +9 -0
- package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +53 -0
- package/esm2022/lib/components/ca-payroll-list-summary-overview/utils/svg-routes/payroll-list-summary-svg-routes.mjs +5 -0
- package/esm2022/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.mjs +26 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +44 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +93 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +103 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +81 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/adress-model.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/animation-model.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/broker-short-response.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/dispatch-assigned-load-list-response.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/enum-value.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/load-short-response.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/load-stop-short-response.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/shipper-short-response.mjs +2 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/models/status-types.enum.mjs +7 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/utils/constants/animation-object-default.constants.mjs +8 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/utils/constants/pickup-delivery-block.constants.mjs +25 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/utils/helpers/pickup-delivery.helper.mjs +21 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/utils/svg-routes/options-icon.routes.mjs +5 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/utils/svg-routes/pickup-delivery-svg.routes.mjs +16 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/utils/svg-routes/return-arrow.routes.mjs +5 -0
- package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +5 -5
- package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +209 -0
- package/esm2022/lib/components/ca-progress-bar/models/gps-progress.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-bar/utils/constants/progress-bar.constants.mjs +8 -0
- package/esm2022/lib/components/ca-progress-bar/utils/svg-routes/progress-bar-svg-routes.mjs +4 -0
- package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +91 -0
- package/esm2022/lib/components/ca-search-multiple-states/utils/config/input-config.mjs +9 -0
- package/esm2022/lib/components/ca-search-multiple-states/utils/svg-routes/search-multiple-states.routes.mjs +7 -0
- package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +40 -0
- package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +97 -0
- package/esm2022/lib/components/ca-truck-trailer-progress-bar/models/progress-dropdown-data.model.mjs +2 -0
- package/esm2022/lib/constants/map.constant.mjs +436 -0
- package/esm2022/lib/directives/placeholder-directive.mjs +59 -0
- package/esm2022/lib/enums/load-filter-string.enum.mjs +23 -0
- package/esm2022/lib/enums/load-status.enum.mjs +58 -0
- package/esm2022/lib/models/array-status.model.mjs +2 -0
- package/esm2022/lib/models/card-models/card-table-data.model.mjs +2 -0
- package/esm2022/lib/models/color-response.mjs +2 -0
- package/esm2022/lib/models/dropdown.model.mjs +2 -0
- package/esm2022/lib/models/filter-output-params.model.mjs +2 -0
- package/esm2022/lib/models/filter-output.model.mjs +2 -0
- package/esm2022/lib/models/note-active-options.model.mjs +2 -0
- package/esm2022/lib/models/payroll-list-summary.model.mjs +2 -0
- package/esm2022/lib/models/table-models/table-body-color-label.model.mjs +2 -0
- package/esm2022/lib/models/time-filter.model.mjs +2 -0
- package/esm2022/lib/models/trailer-minimal-response.mjs +2 -0
- package/esm2022/lib/models/trailer-type-response.mjs +2 -0
- package/esm2022/lib/models/truck-minimal-response.mjs +2 -0
- package/esm2022/lib/models/truck-type-response.mjs +2 -0
- package/esm2022/lib/pipes/dropdown-load-status-color.pipe.mjs +164 -0
- package/esm2022/lib/pipes/format-currency.pipe.mjs +22 -0
- package/esm2022/lib/pipes/safe-html.pipe.mjs +18 -0
- package/esm2022/lib/pipes/ta-svg.pipe.mjs +30 -0
- package/esm2022/lib/pipes/thousand-separator.pipe.mjs +19 -0
- package/esm2022/lib/pipes/thousand-to-short-format-pipe.mjs +19 -0
- package/esm2022/lib/services/truckassist-table.service.mjs +20 -0
- package/esm2022/lib/utils/helpers/methods-calculations.helper.mjs +153 -0
- package/esm2022/public-api.mjs +21 -3
- package/fesm2022/ca-components.mjs +1866 -9
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/animation/in-out.animation.d.ts +1 -0
- package/lib/animations/accordion-animation.d.ts +1 -0
- package/lib/animations/animation.d.ts +4 -0
- package/lib/animations/close-form.animation.d.ts +1 -0
- package/lib/animations/expand-search-button.animation.d.ts +1 -0
- package/lib/animations/show.animation.d.ts +1 -0
- package/lib/animations/tabs-modal.animation.d.ts +1 -0
- package/lib/ca-components.module.d.ts +18 -1
- package/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.d.ts +19 -0
- package/lib/components/ca-details-dropdown/ca-details-dropdown.component.d.ts +35 -0
- package/lib/components/ca-details-dropdown/models/detail-dropdown.model.d.ts +19 -0
- package/lib/components/ca-details-dropdown/utils/svg-routes/detail-dropdown-svg-routes.d.ts +3 -0
- package/lib/components/ca-dropdown/ca-dropdown.component.d.ts +14 -0
- package/lib/components/ca-filters/ca-filter.component.d.ts +46 -0
- package/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.d.ts +78 -0
- package/lib/components/ca-filters/components/ca-money-filter/config/ca-money-filter.config.d.ts +11 -0
- package/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.d.ts +62 -0
- package/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.d.ts +33 -0
- package/lib/components/ca-filters/utils/constants/status-filter.constants.d.ts +9 -0
- package/lib/components/ca-filters/utils/constants/time-filter.constants.d.ts +8 -0
- package/lib/components/ca-filters/utils/svg-routes/ca-filters-svg-routes.d.ts +6 -0
- package/lib/components/ca-filters/utils/svg-routes/ca-money-filter-svg-routes.d.ts +3 -0
- package/lib/components/ca-input/ca-input.component.d.ts +46 -0
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.d.ts +19 -0
- package/lib/components/ca-input/components/ca-input-password/ca-input-password.component.d.ts +20 -0
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +16 -0
- package/lib/components/ca-input/config/ca-input.config.d.ts +136 -0
- package/lib/components/ca-input/models/label-color.model.d.ts +11 -0
- package/lib/components/ca-input/pipes/input-class.pipe.d.ts +13 -0
- package/lib/components/ca-input/pipes/input-clear-class.pipe.d.ts +11 -0
- package/lib/components/ca-input/pipes/input-container-class.pipe.d.ts +11 -0
- package/lib/components/ca-input/pipes/input-error.pipe.d.ts +7 -0
- package/lib/components/ca-input/pipes/input-password-eye-class.pipe.d.ts +11 -0
- package/lib/components/ca-input/pipes/input-placeholder-icon.class.pipe.d.ts +12 -0
- package/lib/components/ca-input/pipes/input-type.pipe.d.ts +7 -0
- package/lib/components/ca-input/pipes/label-class.pipe.d.ts +10 -0
- package/lib/components/ca-input/pipes/show-clear.pipe.d.ts +8 -0
- package/lib/components/ca-input/pipes/show-invalid-danger-mark.pipe.d.ts +9 -0
- package/lib/components/ca-input/pipes/show-valid-check.pipe.d.ts +9 -0
- package/lib/components/ca-input/services/ca-input-state.service.d.ts +24 -0
- package/lib/components/ca-input/utils/input-svg-routes.d.ts +8 -0
- package/lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component.d.ts +21 -0
- package/lib/components/ca-map/ca-map.component.d.ts +56 -0
- package/lib/components/ca-map/enums/google-map.enum.d.ts +4 -0
- package/lib/components/ca-map/enums/toolbar-filter-string.enum.d.ts +33 -0
- package/lib/components/ca-map/models/map.model.d.ts +74 -0
- package/lib/components/ca-map/utils/helpers/map.helper.d.ts +9 -0
- package/lib/components/ca-map/utils/map-svg-routes/map-svg-routes.d.ts +4 -0
- package/lib/components/ca-map-dropdown/ca-map-dropdown.component.d.ts +43 -0
- package/lib/components/ca-map-dropdown/utils/svg-routes/map-dropdown-svg-routes.d.ts +18 -0
- package/lib/components/ca-note/ca-note.component.d.ts +56 -0
- package/lib/components/ca-note/utils/helper/copy-paste.helper.d.ts +3 -0
- package/lib/components/ca-note/utils/svg-routes/note-svg-routes.d.ts +5 -0
- package/lib/components/ca-note-container/ca-note-container.component.d.ts +38 -0
- package/lib/components/ca-note-container/enums/note-default-string.enum.d.ts +9 -0
- package/lib/components/ca-note-container/enums/note-selected-color.enum.d.ts +4 -0
- package/lib/components/ca-note-container/models/note-colors.model.d.ts +4 -0
- package/lib/components/ca-note-container/utils/constants/note-config.constant.d.ts +7 -0
- package/lib/components/ca-note-container/utils/svg-routes/note-container-svg-routes.d.ts +8 -0
- package/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.d.ts +20 -0
- package/lib/components/ca-payroll-list-summary-overview/utils/svg-routes/payroll-list-summary-svg-routes.d.ts +4 -0
- package/lib/components/ca-payroll-list-summary-overview-table/ca-payroll-list-summary-overview-table.component.d.ts +20 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.d.ts +19 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.d.ts +30 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.d.ts +30 -0
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.d.ts +23 -0
- package/lib/components/ca-pickup-delivery-block/models/adress-model.d.ts +12 -0
- package/lib/components/ca-pickup-delivery-block/models/animation-model.d.ts +7 -0
- package/lib/components/ca-pickup-delivery-block/models/broker-short-response.d.ts +13 -0
- package/lib/components/ca-pickup-delivery-block/models/dispatch-assigned-load-list-response.d.ts +6 -0
- package/lib/components/ca-pickup-delivery-block/models/enum-value.d.ts +4 -0
- package/lib/components/ca-pickup-delivery-block/models/load-short-response.d.ts +18 -0
- package/lib/components/ca-pickup-delivery-block/models/load-stop-short-response.d.ts +9 -0
- package/lib/components/ca-pickup-delivery-block/models/shipper-short-response.d.ts +8 -0
- package/lib/components/ca-pickup-delivery-block/models/status-types.enum.d.ts +5 -0
- package/lib/components/ca-pickup-delivery-block/utils/constants/animation-object-default.constants.d.ts +4 -0
- package/lib/components/ca-pickup-delivery-block/utils/constants/pickup-delivery-block.constants.d.ts +14 -0
- package/lib/components/ca-pickup-delivery-block/utils/helpers/pickup-delivery.helper.d.ts +9 -0
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/options-icon.routes.d.ts +4 -0
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/pickup-delivery-svg.routes.d.ts +15 -0
- package/lib/components/ca-pickup-delivery-block/utils/svg-routes/return-arrow.routes.d.ts +4 -0
- package/lib/components/ca-profile-image/ca-profile-image.component.d.ts +1 -1
- package/lib/components/ca-progress-bar/ca-progress-bar.component.d.ts +115 -0
- package/lib/components/ca-progress-bar/models/gps-progress.model.d.ts +8 -0
- package/lib/components/ca-progress-bar/utils/constants/progress-bar.constants.d.ts +7 -0
- package/lib/components/ca-progress-bar/utils/svg-routes/progress-bar-svg-routes.d.ts +3 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.d.ts +24 -0
- package/lib/components/ca-search-multiple-states/utils/config/input-config.d.ts +2 -0
- package/lib/components/ca-search-multiple-states/utils/svg-routes/search-multiple-states.routes.d.ts +6 -0
- package/lib/components/ca-spinner/ca-spinner.component.d.ts +15 -0
- package/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.d.ts +23 -0
- package/lib/components/ca-truck-trailer-progress-bar/models/progress-dropdown-data.model.d.ts +5 -0
- package/lib/constants/map.constant.d.ts +39 -0
- package/lib/directives/placeholder-directive.d.ts +15 -0
- package/lib/enums/load-filter-string.enum.d.ts +16 -0
- package/lib/enums/load-status.enum.d.ts +56 -0
- package/lib/models/array-status.model.d.ts +24 -0
- package/lib/models/card-models/card-table-data.model.d.ts +837 -0
- package/lib/models/color-response.d.ts +6 -0
- package/lib/models/dropdown.model.d.ts +4 -0
- package/lib/models/filter-output-params.model.d.ts +5 -0
- package/lib/models/filter-output.model.d.ts +6 -0
- package/lib/models/note-active-options.model.d.ts +6 -0
- package/lib/models/payroll-list-summary.model.d.ts +12 -0
- package/lib/models/table-models/table-body-color-label.model.d.ts +11 -0
- package/lib/models/time-filter.model.d.ts +7 -0
- package/lib/models/trailer-minimal-response.d.ts +11 -0
- package/lib/models/trailer-type-response.d.ts +7 -0
- package/lib/models/truck-minimal-response.d.ts +13 -0
- package/lib/models/truck-type-response.d.ts +6 -0
- package/lib/pipes/dropdown-load-status-color.pipe.d.ts +10 -0
- package/lib/pipes/format-currency.pipe.d.ts +7 -0
- package/lib/pipes/safe-html.pipe.d.ts +10 -0
- package/lib/pipes/ta-svg.pipe.d.ts +7 -0
- package/lib/pipes/thousand-separator.pipe.d.ts +7 -0
- package/lib/pipes/thousand-to-short-format-pipe.d.ts +7 -0
- package/lib/services/truckassist-table.service.d.ts +7 -0
- package/lib/utils/helpers/methods-calculations.helper.d.ts +15 -0
- package/package.json +1 -1
- package/public-api.d.ts +20 -2
- package/src/assets/global_style/styles.scss +45 -0
- package/src/assets/json/ca-dropdown.json +12 -0
- package/src/assets/json/ca-payroll-list-summary.json +71 -0
- package/src/assets/json/ca-table.json +59 -0
- package/src/assets/json/ta-detail-dropdown.json +80 -0
- package/src/assets/json/truck-trailer-progress-bar.json +1453 -0
- package/src/assets/json/usa-states.json +54 -0
- package/src/assets/kml/timezones.kml +1608 -0
- package/src/assets/kml/toll-roads/California.kml +55 -0
- package/src/assets/kml/toll-roads/Texas.kml +5079 -0
- package/src/assets/kml/toll-roads/florida.kml +2092 -0
- package/src/assets/lottie/ta-lottie-spinner/18px/black.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/18px/blueDark.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/18px/blueLight.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/18px/gray.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/18px/white.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/32px/black.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/32px/blueLight.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/32px/dark.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/32px/gray.json +1 -0
- package/src/assets/lottie/ta-lottie-spinner/32px/white.json +1 -0
- package/src/assets/scss/font-family.scss +2 -0
- package/src/assets/scss/font-weight.scss +36 -0
- package/src/assets/scss/popover.scss +112 -0
- package/src/assets/svg/common/calendar/arrow-left.svg +3 -0
- package/src/assets/svg/common/ic_confirm.svg +3 -0
- package/src/assets/svg/common/ic_search.svg +3 -0
- package/src/assets/svg/common/payroll-down-arrow.svg +3 -0
- package/src/assets/svg/common/payroll-up-arrow.svg +3 -0
- package/src/assets/svg/common/sortArrow_filter.svg +3 -0
- package/src/assets/svg/input/ic_confirm.svg +3 -0
- package/src/assets/svg/input/ic_danger.svg +3 -0
- package/src/assets/svg/input/ic_eye-hidden.svg +6 -0
- package/src/assets/svg/input/ic_eye-visible.svg +6 -0
- package/src/assets/svg/input/ic_password.svg +6 -0
- package/src/assets/svg/input/ic_remove_input.svg +7 -0
- package/src/assets/svg/input/ic_x.svg +4 -0
- package/src/assets/svg/map/18px_tooltip.svg +3 -0
- package/src/assets/svg/map/accident_calender.svg +3 -0
- package/src/assets/svg/map/accident_hazmat.svg +3 -0
- package/src/assets/svg/map/accident_injury.svg +3 -0
- package/src/assets/svg/map/accident_towing.svg +3 -0
- package/src/assets/svg/map/accident_vechile.svg +3 -0
- package/src/assets/svg/map/address.svg +3 -0
- package/src/assets/svg/map/arrow_corner_top.svg +3 -0
- package/src/assets/svg/map/calender_last_used.svg +3 -0
- package/src/assets/svg/map/check.svg +3 -0
- package/src/assets/svg/map/cluster_marker_4.svg +32 -0
- package/src/assets/svg/map/cluster_marker_6.svg +32 -0
- package/src/assets/svg/map/details_options.svg +10 -0
- package/src/assets/svg/map/details_options_2.svg +3 -0
- package/src/assets/svg/map/dislike.svg +3 -0
- package/src/assets/svg/map/email.svg +3 -0
- package/src/assets/svg/map/extended_stop_ignition.svg +11 -0
- package/src/assets/svg/map/gps-location.svg +4 -0
- package/src/assets/svg/map/gps_extended_status.svg +4 -0
- package/src/assets/svg/map/gps_full.svg +7 -0
- package/src/assets/svg/map/gps_parking_status.svg +4 -0
- package/src/assets/svg/map/gps_short_status.svg +4 -0
- package/src/assets/svg/map/gps_trailer_extended.svg +11 -0
- package/src/assets/svg/map/gps_trailer_moving.svg +16 -0
- package/src/assets/svg/map/gps_trailer_parking.svg +11 -0
- package/src/assets/svg/map/gps_trailer_short_stop.svg +11 -0
- package/src/assets/svg/map/ic_marker_office.svg +18 -0
- package/src/assets/svg/map/ic_pulse_circle.svg +1 -0
- package/src/assets/svg/map/like.svg +3 -0
- package/src/assets/svg/map/marker.svg +27 -0
- package/src/assets/svg/map/marker_2.svg +27 -0
- package/src/assets/svg/map/marker_3.svg +27 -0
- package/src/assets/svg/map/marker_4.svg +27 -0
- package/src/assets/svg/map/marker_5.svg +27 -0
- package/src/assets/svg/map/marker_cluster.svg +32 -0
- package/src/assets/svg/map/marker_cluster_2.svg +32 -0
- package/src/assets/svg/map/marker_dot.svg +18 -0
- package/src/assets/svg/map/marker_dot_2.svg +18 -0
- package/src/assets/svg/map/mask_group.svg +546 -0
- package/src/assets/svg/map/no_gps_status.svg +8 -0
- package/src/assets/svg/map/oss.svg +3 -0
- package/src/assets/svg/map/parking_ignition.svg +11 -0
- package/src/assets/svg/map/parking_trailer_ignition.svg +11 -0
- package/src/assets/svg/map/phone.svg +3 -0
- package/src/assets/svg/map/progress-marker-checked.svg +20 -0
- package/src/assets/svg/map/progress-marker-pickup-checked.svg +20 -0
- package/src/assets/svg/map/progress-marker-pickup.svg +20 -0
- package/src/assets/svg/map/progress_marker-pin-dark.svg +20 -0
- package/src/assets/svg/map/progress_marker.svg +20 -0
- package/src/assets/svg/map/progress_marker_reached.svg +20 -0
- package/src/assets/svg/map/review.svg +3 -0
- package/src/assets/svg/map/routing_marker.svg +19 -0
- package/src/assets/svg/map/short_stop_ignition.svg +11 -0
- package/src/assets/svg/map/short_stop_trailer_ignition.svg +16 -0
- package/src/assets/svg/map/telematic_marker.svg +19 -0
- package/src/assets/svg/map/telematic_marker_1.svg +19 -0
- package/src/assets/svg/map/telematic_marker_2.svg +18 -0
- package/src/assets/svg/map/unitView_marker.svg +20 -0
- package/src/assets/svg/note/Itallic.svg +3 -0
- package/src/assets/svg/note/Note.svg +3 -0
- package/src/assets/svg/note/Underline.svg +3 -0
- package/src/assets/svg/note/arrow.svg +3 -0
- package/src/assets/svg/note/bold.svg +3 -0
- package/src/assets/svg/note/color-picker-inverse.svg +10 -0
- package/src/assets/svg/note/note-empty-dark.svg +3 -0
- package/src/assets/svg/note/note-empty.svg +3 -0
- package/src/assets/svg/note/note-filled.svg +3 -0
- package/src/assets/svg/note/tick.svg +3 -0
- package/src/assets/svg/pickup-delivery/Miles.svg +3 -0
- package/src/assets/svg/pickup-delivery/Options.svg +3 -0
- package/src/assets/svg/pickup-delivery/arrowLeft.svg +10 -0
- package/src/assets/svg/pickup-delivery/arrowLeftHover.svg +10 -0
- package/src/assets/svg/pickup-delivery/arrowRight.svg +3 -0
- package/src/assets/svg/pickup-delivery/detailsOptions.svg +3 -0
- package/src/assets/svg/pickup-delivery/leftArrow.svg +3 -0
- package/src/assets/svg/pickup-delivery/mailIcon.svg +3 -0
- package/src/assets/svg/pickup-delivery/mapOptionsDark.svg +11 -0
- package/src/assets/svg/pickup-delivery/optionsVertical.svg +10 -0
- package/src/assets/svg/pickup-delivery/phoneIcon.svg +3 -0
- package/src/assets/svg/pickup-delivery/userIcon.svg +3 -0
- package/src/assets/svg/pickup-delivery/vector.svg +3 -0
- package/src/assets/svg/popup/Delete.svg +4 -0
- package/src/assets/svg/popup/Information.svg +3 -0
- package/src/assets/svg/popup/Minus.svg +3 -0
- package/src/assets/svg/popup/Print.svg +3 -0
- package/src/assets/svg/popup/Share.svg +3 -0
- package/src/assets/svg/popup/close-business-icon.svg +6 -0
- package/src/assets/svg/popup/delete-hover-new.svg +9 -0
- package/src/assets/svg/popup/edit-hover.svg +10 -0
- package/src/assets/svg/popup/ic_broker-user.svg +1 -0
- package/src/assets/svg/popup/ic_info.svg +6 -0
- package/src/assets/svg/popup/ic_print.svg +1 -0
- package/src/assets/svg/popup/resize-arrow.svg +1 -0
- package/src/assets/svg/popup/review-pen.svg +6 -0
- package/src/assets/svg/popup/share-icon.svg +6 -0
- package/src/assets/svg/popup/trash.svg +4 -0
- package/src/assets/svg/search-multiple-states/add.svg +4 -0
- package/src/assets/svg/search-multiple-states/clear-search.svg +4 -0
- package/src/assets/svg/search-multiple-states/focused-search-button.svg +3 -0
- package/src/assets/svg/search-multiple-states/search-button.svg +3 -0
- package/src/assets/svg/truckassist-table/x.svg +1 -0
- package/src/assets/theme/main.scss +193 -0
- package/src/assets/theme/variables.scss +361 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export interface IMultipleInput {
|
|
2
|
+
id?: any;
|
|
3
|
+
value: string | number;
|
|
4
|
+
second_value?: string | number;
|
|
5
|
+
logoName?: string;
|
|
6
|
+
isImg?: boolean;
|
|
7
|
+
isSvg?: boolean;
|
|
8
|
+
folder?: string;
|
|
9
|
+
subFolder?: string;
|
|
10
|
+
logoType?: string;
|
|
11
|
+
isOwner?: boolean;
|
|
12
|
+
isProgressBar?: boolean;
|
|
13
|
+
isCounter?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ICaInput {
|
|
16
|
+
id?: any;
|
|
17
|
+
name: string;
|
|
18
|
+
type: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
labelInInput?: boolean;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
placeholderIcon?: string;
|
|
23
|
+
placeholderIconRightSide?: string;
|
|
24
|
+
placeholderIconFolllowTextOnRightSide?: string;
|
|
25
|
+
placeholderIconColor?: string;
|
|
26
|
+
placeholderText?: string;
|
|
27
|
+
placeholderInsteadOfLabel?: boolean;
|
|
28
|
+
inputCursorOnRightSide?: boolean;
|
|
29
|
+
isRequired?: boolean;
|
|
30
|
+
isDisabled: boolean;
|
|
31
|
+
pattern?: string;
|
|
32
|
+
autocomplete?: string;
|
|
33
|
+
showCount?: boolean;
|
|
34
|
+
minLength?: number;
|
|
35
|
+
maxLength?: number;
|
|
36
|
+
min?: number;
|
|
37
|
+
max?: number;
|
|
38
|
+
step?: any;
|
|
39
|
+
mask?: string;
|
|
40
|
+
textTransform?: 'capitalize' | 'uppercase' | 'lowercase';
|
|
41
|
+
textAlign?: string | 'center';
|
|
42
|
+
blackInput?: boolean;
|
|
43
|
+
blueInput?: boolean;
|
|
44
|
+
incorrectInput?: boolean;
|
|
45
|
+
dangerMark?: boolean;
|
|
46
|
+
autoFocus?: boolean;
|
|
47
|
+
hideClear?: boolean;
|
|
48
|
+
hideRequiredCheck?: boolean;
|
|
49
|
+
hideErrorMessage?: boolean;
|
|
50
|
+
hideDangerMark?: boolean;
|
|
51
|
+
hideDropdownArrow?: boolean;
|
|
52
|
+
removeInput?: boolean;
|
|
53
|
+
readOnly?: boolean;
|
|
54
|
+
thousandSeparator?: boolean;
|
|
55
|
+
priceSeparator?: boolean;
|
|
56
|
+
priceSeparatorLimitation?: number;
|
|
57
|
+
loadingSpinner?: {
|
|
58
|
+
size?: string;
|
|
59
|
+
color?: string;
|
|
60
|
+
isLoading?: boolean;
|
|
61
|
+
};
|
|
62
|
+
addressFlag?: string;
|
|
63
|
+
customClass?: string;
|
|
64
|
+
isIconInput?: boolean;
|
|
65
|
+
isValidIcon?: boolean;
|
|
66
|
+
inputIcon?: string;
|
|
67
|
+
multipleInputValues?: {
|
|
68
|
+
options: IMultipleInput[];
|
|
69
|
+
customClass: string;
|
|
70
|
+
};
|
|
71
|
+
multipleLabel?: {
|
|
72
|
+
labels: string[];
|
|
73
|
+
customClass: string;
|
|
74
|
+
};
|
|
75
|
+
isInputBackgroundRemoved?: boolean;
|
|
76
|
+
isBlueText?: boolean;
|
|
77
|
+
commands?: {
|
|
78
|
+
active?: boolean;
|
|
79
|
+
type?: string;
|
|
80
|
+
firstCommand?: {
|
|
81
|
+
popup?: {
|
|
82
|
+
name?: string;
|
|
83
|
+
backgroundColor?: string;
|
|
84
|
+
};
|
|
85
|
+
name?: string;
|
|
86
|
+
svg?: string;
|
|
87
|
+
};
|
|
88
|
+
secondCommand?: {
|
|
89
|
+
popup?: {
|
|
90
|
+
name?: string;
|
|
91
|
+
backgroundColor?: string;
|
|
92
|
+
};
|
|
93
|
+
name?: string;
|
|
94
|
+
svg?: string;
|
|
95
|
+
};
|
|
96
|
+
thirdCommand?: {
|
|
97
|
+
popup?: {
|
|
98
|
+
name?: string;
|
|
99
|
+
backgroundColor?: string;
|
|
100
|
+
};
|
|
101
|
+
name?: string;
|
|
102
|
+
svg?: string;
|
|
103
|
+
};
|
|
104
|
+
setTimeout?: number;
|
|
105
|
+
blueCommands?: boolean;
|
|
106
|
+
};
|
|
107
|
+
defaultValue?: string;
|
|
108
|
+
isDropdown?: boolean;
|
|
109
|
+
dropdownWidthClass?: string;
|
|
110
|
+
dropdownImageInput?: {
|
|
111
|
+
withText: boolean;
|
|
112
|
+
svg: boolean;
|
|
113
|
+
image: boolean;
|
|
114
|
+
url: string;
|
|
115
|
+
nameInitialsInsteadUrl?: string;
|
|
116
|
+
template?: string;
|
|
117
|
+
color?: string;
|
|
118
|
+
class?: string;
|
|
119
|
+
remove?: boolean;
|
|
120
|
+
};
|
|
121
|
+
isInvalidSearchInDropdown?: boolean;
|
|
122
|
+
selectedDropdown?: boolean;
|
|
123
|
+
mergeDropdownBodyWithInput?: boolean;
|
|
124
|
+
hideAllItemsInInputDropdown?: boolean;
|
|
125
|
+
dropdownLabel?: boolean;
|
|
126
|
+
dropdownLabelNew?: boolean;
|
|
127
|
+
multiselectDropdown?: boolean;
|
|
128
|
+
multiSelectDropdownActive?: boolean;
|
|
129
|
+
multiSelectItemRange?: boolean;
|
|
130
|
+
isFromDate?: boolean;
|
|
131
|
+
hideColorValidations?: boolean;
|
|
132
|
+
expiredDateInvalid?: boolean;
|
|
133
|
+
fixedPlacholder?: string;
|
|
134
|
+
statusStyle?: boolean;
|
|
135
|
+
isIconHidden?: boolean;
|
|
136
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, input: {
|
|
7
|
+
value: string;
|
|
8
|
+
}, isVisibleCommands: boolean, value: string): {
|
|
9
|
+
[key: string]: boolean | undefined | number | null | string;
|
|
10
|
+
};
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputClassPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputClassPipe, "inputClass", true>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputClearClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, incorrectValue: boolean, selectedDropdownLabelColor: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputClearClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputClearClassPipe, "inputClearClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputContainerClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined | null | string;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputContainerClassPipe, "inputContainerClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputErrorPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, inputName?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputErrorPipe, "inputError", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputPasswordEyeClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordEyeClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPasswordEyeClassPipe, "inputPasswordEyeClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import { LabelColor } from "@shared/components/ca-input/models/label-color.model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputPlaceholderIconClassPipe implements PipeTransform {
|
|
7
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, selectedDropdownLabelColor: LabelColor, isTouchedInput: boolean, value: string): {
|
|
8
|
+
[key: string]: boolean | undefined;
|
|
9
|
+
};
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconClassPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconClassPipe, "inputPlaceholderIconClass", true>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputTypePipe implements PipeTransform {
|
|
4
|
+
transform(type: string, value: boolean): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTypePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputTypePipe, "inputType", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '@shared/components/ca-input/config/ca-input.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LabelClassPipe implements PipeTransform {
|
|
5
|
+
transform(value: string, isFocusInput: boolean, inputConfig: ICaInput): {
|
|
6
|
+
[key: string]: boolean | null | undefined | string | number;
|
|
7
|
+
};
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelClassPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LabelClassPipe, "labelClass", true>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShowClearPipe implements PipeTransform {
|
|
5
|
+
transform(inputConfig: ICaInput): boolean | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowClearPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowClearPipe, "showClear", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShowInvalidDangerMarkPipe implements PipeTransform {
|
|
6
|
+
transform(inputConfig: ICaInput, getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, value: string): boolean | undefined;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowInvalidDangerMarkPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowInvalidDangerMarkPipe, "showInvalidDangerMark", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "@shared/components/ca-input/config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShowValidCheckPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, value: string): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowValidCheckPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowValidCheckPipe, "showValidCheck", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { ICaInput } from '@shared/components/ca-input/config/ca-input.config';
|
|
4
|
+
import { NgControl } from "@angular/forms";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputStateService {
|
|
7
|
+
private isFocusInputSubject;
|
|
8
|
+
isFocusInput$: Observable<boolean>;
|
|
9
|
+
private isTouchedInputSubject;
|
|
10
|
+
isTouchedInput$: Observable<boolean>;
|
|
11
|
+
private inputConfig;
|
|
12
|
+
private input;
|
|
13
|
+
private superControl;
|
|
14
|
+
constructor();
|
|
15
|
+
setisFocusInput(value: boolean): void;
|
|
16
|
+
setisTouchedInput(value: boolean): void;
|
|
17
|
+
setInputElementRef(input: ElementRef): void;
|
|
18
|
+
setSuperControl(superControl: NgControl): void;
|
|
19
|
+
setInputConfig(config: ICaInput): void;
|
|
20
|
+
clearInput(event: Event): void;
|
|
21
|
+
transformText(event: Event): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputStateService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InputStateService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface RadioButton {
|
|
4
|
+
id: number;
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
name: string;
|
|
8
|
+
checked: boolean;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class CaInputRadiobuttonsComponent {
|
|
12
|
+
buttons: RadioButton[] | null;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
displayRequiredNote?: boolean;
|
|
15
|
+
changedValue: EventEmitter<RadioButton[]>;
|
|
16
|
+
onChange(button: RadioButton): void;
|
|
17
|
+
identity(index: number, item: any): string;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputRadiobuttonsComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputRadiobuttonsComponent, "app-ca-input-radiobuttons", never, { "buttons": { "alias": "buttons"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "displayRequiredNote": { "alias": "displayRequiredNote"; "required": false; }; }, { "changedValue": "changedValue"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/// <reference types="google.maps" />
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, QueryList, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { GoogleMap, MapInfoWindow, MapMarker } from '@angular/google-maps';
|
|
4
|
+
import { IMapMarkers } from '@shared/components/ca-map/models/map.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CaMapComponent {
|
|
7
|
+
cd: ChangeDetectorRef;
|
|
8
|
+
constructor(cd: ChangeDetectorRef);
|
|
9
|
+
data: any;
|
|
10
|
+
markerClick: EventEmitter<google.maps.MapMouseEvent>;
|
|
11
|
+
maps: GoogleMap;
|
|
12
|
+
marker: QueryList<MapMarker>;
|
|
13
|
+
infoWindowsView: QueryList<MapInfoWindow>;
|
|
14
|
+
markerRouting: QueryList<MapMarker>;
|
|
15
|
+
infoWindowsViewRouting: QueryList<MapInfoWindow>;
|
|
16
|
+
currentlyOpenWindow: MapInfoWindow | null;
|
|
17
|
+
currentlyOpenWindowIndex: number | null;
|
|
18
|
+
currentlyOpenWindowRouting: MapInfoWindow | null;
|
|
19
|
+
currentlyOpenWindowIndexRouting: number | null;
|
|
20
|
+
showLabel: boolean;
|
|
21
|
+
previousIconUrl: string;
|
|
22
|
+
focusedIcon: number;
|
|
23
|
+
previousIconUrlRouting: string;
|
|
24
|
+
focusedIconRouting: number;
|
|
25
|
+
private directionService;
|
|
26
|
+
directionsRenderers: google.maps.DirectionsRenderer[];
|
|
27
|
+
initialIcons: {
|
|
28
|
+
url: string;
|
|
29
|
+
labelOrigin: google.maps.Point | null;
|
|
30
|
+
}[];
|
|
31
|
+
initialMarkerIcons: {
|
|
32
|
+
url: string;
|
|
33
|
+
labelOrigin: google.maps.Point | null;
|
|
34
|
+
}[];
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
+
storeInitialIconForMarker(): void;
|
|
38
|
+
storeInitialIconForRoutingMarker(): void;
|
|
39
|
+
onMarkerClick(i: number, event: google.maps.MapMouseEvent, markeritem: IMapMarkers): void;
|
|
40
|
+
setDirectionsOnMap(): void;
|
|
41
|
+
calculateAndDisplayRoute(): void;
|
|
42
|
+
onRoutingMarkerClick(i: number, event: google.maps.MapMouseEvent, markeritem: IMapMarkers): void;
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
resetMarkersIcons(): void;
|
|
45
|
+
resetRoutingMarkers(): void;
|
|
46
|
+
onMapReady(): {
|
|
47
|
+
fillColor?: string;
|
|
48
|
+
strokeColor?: string;
|
|
49
|
+
strokeWeight?: number;
|
|
50
|
+
fillOpacity?: number;
|
|
51
|
+
} | void;
|
|
52
|
+
identity(index: number): number;
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaMapComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaMapComponent, "app-ca-map", never, { "data": { "alias": "data"; "required": false; }; }, { "markerClick": "markerClick"; }, never, never, true, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare enum ToolbarFilterStringEnum {
|
|
2
|
+
DEPARTMENT_FILTER = "departmentFilter",
|
|
3
|
+
STATUS_FILTER = "statusFilter",
|
|
4
|
+
PM_FILTER = "pmFilter",
|
|
5
|
+
CATEGORY_FUEL_FILTER = "categoryFuelFilter",
|
|
6
|
+
CATEGORY_REPAIR_FILTER = "categoryRepairFilter",
|
|
7
|
+
TRUCK_FILTER = "truckFilter",
|
|
8
|
+
TRAILER_FILTER = "trailerFilter",
|
|
9
|
+
FUEL_STOP_FILTER = "fuelStopFilter",
|
|
10
|
+
BROKER_FILTER = "brokerFilter",
|
|
11
|
+
DRIVER_FILTER = "driverFilter",
|
|
12
|
+
TRUCK_TYPE_FILTER = "truckTypeFilter",
|
|
13
|
+
TRAILER_TYPE_FILTER = "trailerTypeFilter",
|
|
14
|
+
USER_FILTER = "userFilter",
|
|
15
|
+
STATE_FILTER = "stateFilter",
|
|
16
|
+
LABEL_FILTER = "labelFilter",
|
|
17
|
+
TIME_FILTER = "timeFilter",
|
|
18
|
+
INJURY_FILTER = "injuryFilter",
|
|
19
|
+
FATALITY_FILTER = "fatalityFilter",
|
|
20
|
+
VIOLATION_FILTER = "violationFilter",
|
|
21
|
+
LOCATION_FILTER = "locationFilter",
|
|
22
|
+
MONEY_FILTER = "moneyFilter",
|
|
23
|
+
MILES_FILTER = "milesFilter",
|
|
24
|
+
PAY_FILTER = "payFilter",
|
|
25
|
+
CANADA = "canada",
|
|
26
|
+
CANADA_2 = "Canada",
|
|
27
|
+
EMPTY_STRING_PLACEHOLDER = "",
|
|
28
|
+
ACTIVE = "active",
|
|
29
|
+
PENDING_STATUS = "pendingStatus",
|
|
30
|
+
ALL = "all",
|
|
31
|
+
MIN_VALUE = "0",
|
|
32
|
+
MAX_VALUE = "5,000"
|
|
33
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export interface IRoutePath {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
}
|
|
5
|
+
export interface IMapStories {
|
|
6
|
+
data: {
|
|
7
|
+
center: IRoutePath;
|
|
8
|
+
mapZoom: number;
|
|
9
|
+
markers?: IMapMarkers[];
|
|
10
|
+
clustermarkers?: IMapMarkers[];
|
|
11
|
+
routingMarkers?: IMapMarkers[];
|
|
12
|
+
mapOptions: IMapOptions;
|
|
13
|
+
routePath?: IMapRoutePath[];
|
|
14
|
+
isAccidentMap?: boolean;
|
|
15
|
+
stateBoundariesUrl?: {
|
|
16
|
+
url: string;
|
|
17
|
+
};
|
|
18
|
+
view?: string;
|
|
19
|
+
isUnitViewStops?: boolean;
|
|
20
|
+
isDriverMiles?: boolean;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface IMapOptions {
|
|
24
|
+
mapOptions: {
|
|
25
|
+
restriction: {
|
|
26
|
+
latLngBounds: {
|
|
27
|
+
north: number;
|
|
28
|
+
south: number;
|
|
29
|
+
east: number;
|
|
30
|
+
west: number;
|
|
31
|
+
};
|
|
32
|
+
strictBounds: boolean;
|
|
33
|
+
};
|
|
34
|
+
streetViewControl: boolean;
|
|
35
|
+
styles: IMapStyles[];
|
|
36
|
+
keyboardShortcuts: boolean;
|
|
37
|
+
panControl: boolean;
|
|
38
|
+
gestureHandling: string;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface IMapStyles {
|
|
42
|
+
elementType: string;
|
|
43
|
+
stylers: IMapColor[];
|
|
44
|
+
}
|
|
45
|
+
export interface IMapColor {
|
|
46
|
+
color: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IMapMarkers {
|
|
49
|
+
position: IRoutePath;
|
|
50
|
+
icon?: IMapMarkersIcon;
|
|
51
|
+
infoWindowContent?: string;
|
|
52
|
+
label?: IMarkerLabel;
|
|
53
|
+
labelOrigin?: {
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export interface IMapMarkersIcon {
|
|
59
|
+
url: string;
|
|
60
|
+
labelOrigin?: {
|
|
61
|
+
x: number;
|
|
62
|
+
y: number;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export interface IMarkerLabel {
|
|
66
|
+
text: string;
|
|
67
|
+
fontSize?: string;
|
|
68
|
+
color?: string;
|
|
69
|
+
fontWeight?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface IMapRoutePath {
|
|
72
|
+
path: IRoutePath[];
|
|
73
|
+
strokeColor: string;
|
|
74
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class MapHelper {
|
|
2
|
+
static getIconForUnitViewStops: (color: string, id: number | string) => string;
|
|
3
|
+
static getIconForDriveMiles: (color: string, id: number | string) => string;
|
|
4
|
+
static getLocationIcon(color: string): string;
|
|
5
|
+
static getFillColorForState(stateDensity: number, View: string): {
|
|
6
|
+
fillColor: string;
|
|
7
|
+
fillOpacity: number;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { MapDropdownSvgRoutes } from "@shared/components/ca-map-dropdown/utils/svg-routes/map-dropdown-svg-routes";
|
|
3
|
+
import { DropDownData, IDropDownActions } from "@shared/components/ca-details-dropdown/models/detail-dropdown.model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CaMapDropdownComponent {
|
|
6
|
+
isAccidentMap: boolean;
|
|
7
|
+
bodyActions: EventEmitter<IDropDownActions>;
|
|
8
|
+
isPopupShown: boolean;
|
|
9
|
+
isHidden: boolean;
|
|
10
|
+
isDropdownActive: boolean;
|
|
11
|
+
data: ({
|
|
12
|
+
id: number;
|
|
13
|
+
hasBorder: boolean;
|
|
14
|
+
mutedStyle: boolean;
|
|
15
|
+
name: string;
|
|
16
|
+
svgClass: string;
|
|
17
|
+
svgStyle: {
|
|
18
|
+
height: number;
|
|
19
|
+
width: number;
|
|
20
|
+
};
|
|
21
|
+
svgUrl: string;
|
|
22
|
+
title: string;
|
|
23
|
+
} | {
|
|
24
|
+
id: number;
|
|
25
|
+
mutedStyle: boolean;
|
|
26
|
+
name: string;
|
|
27
|
+
svgClass: string;
|
|
28
|
+
svgStyle: {
|
|
29
|
+
height: number;
|
|
30
|
+
width: number;
|
|
31
|
+
};
|
|
32
|
+
svgUrl: string;
|
|
33
|
+
title: string;
|
|
34
|
+
hasBorder?: undefined;
|
|
35
|
+
})[];
|
|
36
|
+
item: DropDownData;
|
|
37
|
+
openSideMenu(): void;
|
|
38
|
+
showHiddenData(): void;
|
|
39
|
+
callBodyAction(action: IDropDownActions): void;
|
|
40
|
+
getSvgPath(propertyName: keyof typeof MapDropdownSvgRoutes): string;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaMapDropdownComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaMapDropdownComponent, "app-ca-map-dropdown", never, { "isAccidentMap": { "alias": "isAccidentMap"; "required": false; }; }, { "bodyActions": "bodyActions"; }, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class MapDropdownSvgRoutes {
|
|
2
|
+
static likeRoute: string;
|
|
3
|
+
static dislikeRoute: string;
|
|
4
|
+
static reviewRoute: string;
|
|
5
|
+
static phoneRoute: string;
|
|
6
|
+
static emailRoute: string;
|
|
7
|
+
static addressRoute: string;
|
|
8
|
+
static cornerDownArrowRoute: string;
|
|
9
|
+
static calenderRoute: string;
|
|
10
|
+
static calenderTwoRoute: string;
|
|
11
|
+
static cornerTopArrowRoute: string;
|
|
12
|
+
static vechileRoute: string;
|
|
13
|
+
static injuryRoute: string;
|
|
14
|
+
static hazmatRoute: string;
|
|
15
|
+
static towingRoute: string;
|
|
16
|
+
static accidentCalenderRoute: string;
|
|
17
|
+
static ossRoute: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from "@angular/core";
|
|
2
|
+
import { NgbPopover } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import { NoteActiveOptions } from "@shared/models/note-active-options.model";
|
|
4
|
+
import { CaNoteContainerComponent } from "@shared/components/ca-note-container/ca-note-container.component";
|
|
5
|
+
import { NoteSvgRoutes } from "@shared/components/ca-note/utils/svg-routes/note-svg-routes";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CaNoteComponent {
|
|
8
|
+
saveNoteValue: EventEmitter<any>;
|
|
9
|
+
parking: boolean;
|
|
10
|
+
dispatchIndex: number;
|
|
11
|
+
type: string;
|
|
12
|
+
parentWidth: string;
|
|
13
|
+
openedAll: boolean;
|
|
14
|
+
isDispatch: boolean;
|
|
15
|
+
set noteWidth(value: number);
|
|
16
|
+
main_editor: ElementRef;
|
|
17
|
+
note_popover: ElementRef;
|
|
18
|
+
noteContainer: CaNoteContainerComponent;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
_note: string;
|
|
21
|
+
_noteWidth: number;
|
|
22
|
+
_parentWidth: number;
|
|
23
|
+
noteIcon: string;
|
|
24
|
+
showCollorPattern: boolean;
|
|
25
|
+
buttonsExpanded: boolean;
|
|
26
|
+
activeOptions: NoteActiveOptions;
|
|
27
|
+
selectedPaternColor: string;
|
|
28
|
+
isExpanded: boolean;
|
|
29
|
+
noteOpened: boolean;
|
|
30
|
+
value: string;
|
|
31
|
+
private lastTypeTime;
|
|
32
|
+
leaveThisOpened: boolean;
|
|
33
|
+
selectionTaken: Selection;
|
|
34
|
+
range: Range;
|
|
35
|
+
isFocused: boolean;
|
|
36
|
+
private preventClosing;
|
|
37
|
+
savingNote: boolean;
|
|
38
|
+
savedValue: string;
|
|
39
|
+
private destroy$;
|
|
40
|
+
ngAfterViewInit(): void;
|
|
41
|
+
checkFocus(event: Event): void;
|
|
42
|
+
toggleNote(data: string, t2: NgbPopover): void;
|
|
43
|
+
prepareForTextRange(): void;
|
|
44
|
+
preventMouseDown(ev: Event): void;
|
|
45
|
+
valueChange(event: Event | string, deleteAll?: boolean): void;
|
|
46
|
+
saveNote(autoSave?: boolean, deleteAll?: boolean): void;
|
|
47
|
+
private closeNote;
|
|
48
|
+
popoverClosed(): void;
|
|
49
|
+
onPaste(event: ClipboardEvent): void;
|
|
50
|
+
private transferNoteData;
|
|
51
|
+
private checkNoteImage;
|
|
52
|
+
getSvgPath(propertyName: keyof typeof NoteSvgRoutes): string;
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaNoteComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaNoteComponent, "app-ca-note", never, { "parking": { "alias": "parking"; "required": false; }; "dispatchIndex": { "alias": "dispatchIndex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "parentWidth": { "alias": "parentWidth"; "required": false; }; "openedAll": { "alias": "openedAll"; "required": false; }; "isDispatch": { "alias": "isDispatch"; "required": false; }; "noteWidth": { "alias": "noteWidth"; "required": false; }; }, { "saveNoteValue": "saveNoteValue"; }, never, never, true, never>;
|
|
56
|
+
}
|