ca-components 1.3.3 → 1.3.6

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.
Files changed (487) hide show
  1. package/assets/scss/background.scss +44 -0
  2. package/assets/scss/border-radius.scss +17 -0
  3. package/assets/scss/filters.scss +151 -0
  4. package/assets/scss/icons.scss +68 -4
  5. package/assets/scss/input-dropdown-test.scss +2030 -0
  6. package/assets/scss/mixins.scss +18 -0
  7. package/assets/scss/spacing.scss +59 -0
  8. package/assets/scss/styles.scss +22 -1
  9. package/assets/scss/text-selection.scss +43 -204
  10. package/assets/theme/variables.scss +1 -1
  11. package/esm2022/lib/ca-components.module.mjs +47 -5
  12. package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
  13. package/esm2022/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.mjs +6 -3
  14. package/esm2022/lib/components/ca-chart/ca-chart.component.mjs +16 -14
  15. package/esm2022/lib/components/ca-checkbox/ca-checkbox.component.mjs +134 -0
  16. package/esm2022/lib/components/ca-checkbox/interfaces/column-check-action.interface.mjs +2 -0
  17. package/esm2022/lib/components/ca-checkbox/interfaces/index.mjs +2 -0
  18. package/esm2022/lib/components/ca-checkbox/utils/svg-routes/checkbox-svg-routes.mjs +7 -0
  19. package/esm2022/lib/components/ca-checkbox/utils/svg-routes/index.mjs +2 -0
  20. package/esm2022/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.mjs +2 -2
  21. package/esm2022/lib/components/ca-comment/ca-comment.component.mjs +2 -2
  22. package/esm2022/lib/components/ca-comment/modals/comment-modal/comment-modal.component.mjs +3 -3
  23. package/esm2022/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.mjs +4 -4
  24. package/esm2022/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.mjs +3 -3
  25. package/esm2022/lib/components/ca-details-dropdown/ca-details-dropdown.component.mjs +2 -2
  26. package/esm2022/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.mjs +95 -24
  27. package/esm2022/lib/components/ca-dropdown-menu/enums/dropdown-menu.enum.mjs +19 -0
  28. package/esm2022/lib/components/ca-dropdown-menu/enums/index.mjs +2 -2
  29. package/esm2022/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-item.interface.mjs +2 -0
  30. package/esm2022/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-option-emit.interface.mjs +2 -0
  31. package/esm2022/lib/components/ca-dropdown-menu/interfaces/index.mjs +3 -0
  32. package/esm2022/lib/components/ca-dropdown-menu/pipes/dropdown-menu-placement-class.pipe.mjs +4 -4
  33. package/esm2022/lib/components/ca-dropdown-menu/pipes/group-item-checked-state.pipe.mjs +21 -0
  34. package/esm2022/lib/components/ca-dropdown-menu/pipes/index.mjs +2 -1
  35. package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +4 -4
  36. package/esm2022/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.mjs +3 -3
  37. package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +2 -2
  38. package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +2 -2
  39. package/esm2022/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.mjs +2 -2
  40. package/esm2022/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.mjs +2 -2
  41. package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +2 -2
  42. package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +4 -4
  43. package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +2 -2
  44. package/esm2022/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.mjs +2 -2
  45. package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +2 -2
  46. package/esm2022/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.mjs +2 -2
  47. package/esm2022/lib/components/ca-filters/pipes/index.mjs +7 -0
  48. package/esm2022/lib/components/ca-filters/utils/helpers/index.mjs +2 -1
  49. package/esm2022/lib/components/ca-filters/utils/helpers/time-filter.helper.mjs +117 -0
  50. package/esm2022/lib/components/ca-filters/utils/svg-routes/index.mjs +2 -0
  51. package/esm2022/lib/components/ca-input/ca-input.component.mjs +2 -2
  52. package/esm2022/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +3 -3
  53. package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +34 -34
  54. package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.mjs +6 -0
  55. package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +4 -4
  56. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +2 -2
  57. package/esm2022/lib/components/ca-input-dropdown-test/animations/index.mjs +2 -0
  58. package/esm2022/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.mjs +11 -0
  59. package/esm2022/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.mjs +692 -0
  60. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.mjs +62 -0
  61. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.mjs +72 -0
  62. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.mjs +60 -0
  63. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.mjs +62 -0
  64. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.mjs +76 -0
  65. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.mjs +58 -0
  66. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.mjs +76 -0
  67. package/esm2022/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.mjs +41 -0
  68. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +64 -0
  69. package/esm2022/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.mjs +38 -0
  70. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.mjs +62 -0
  71. package/esm2022/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.mjs +37 -0
  72. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.mjs +61 -0
  73. package/esm2022/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.mjs +49 -0
  74. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +60 -0
  75. package/esm2022/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.mjs +49 -0
  76. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +65 -0
  77. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.mjs +58 -0
  78. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.mjs +62 -0
  79. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.mjs +63 -0
  80. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.mjs +72 -0
  81. package/esm2022/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.mjs +56 -0
  82. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +77 -0
  83. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.mjs +58 -0
  84. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.mjs +62 -0
  85. package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.mjs +6 -0
  86. package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.mjs +23 -0
  87. package/esm2022/lib/components/ca-input-dropdown-test/enums/index.mjs +3 -0
  88. package/esm2022/lib/components/ca-input-dropdown-test/models/index.mjs +4 -0
  89. package/esm2022/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.mjs +2 -0
  90. package/esm2022/lib/components/ca-input-dropdown-test/models/load-modal-status.model.mjs +2 -0
  91. package/esm2022/lib/components/ca-input-dropdown-test/models/status-order.model.mjs +2 -0
  92. package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.mjs +29 -0
  93. package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.mjs +73 -0
  94. package/esm2022/lib/components/ca-input-dropdown-test/pipes/index.mjs +10 -0
  95. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.mjs +27 -0
  96. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.mjs +22 -0
  97. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.mjs +18 -0
  98. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.mjs +27 -0
  99. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.mjs +25 -0
  100. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.mjs +23 -0
  101. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.mjs +25 -0
  102. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.mjs +23 -0
  103. package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/index.mjs +2 -0
  104. package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.mjs +13 -0
  105. package/esm2022/lib/components/ca-input-note/ca-input-note.component.mjs +2 -2
  106. package/esm2022/lib/components/ca-input-test/base-classes/ca-input-event-manager.mjs +24 -0
  107. package/esm2022/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.mjs +66 -0
  108. package/esm2022/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.mjs +48 -0
  109. package/esm2022/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.mjs +63 -0
  110. package/esm2022/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +85 -0
  111. package/esm2022/lib/components/ca-input-test/config/ca-input.config.mjs +2 -0
  112. package/esm2022/lib/components/ca-input-test/config/index.mjs +2 -0
  113. package/esm2022/lib/components/ca-input-test/directives/caps-lock.directive.mjs +50 -0
  114. package/esm2022/lib/components/ca-input-test/directives/command-visible.directive.mjs +48 -0
  115. package/esm2022/lib/components/ca-input-test/directives/index.mjs +6 -0
  116. package/esm2022/lib/components/ca-input-test/directives/input-max-value.directive.mjs +53 -0
  117. package/esm2022/lib/components/ca-input-test/directives/min-max-value.directive.mjs +41 -0
  118. package/esm2022/lib/components/ca-input-test/directives/price_format.directive.mjs +41 -0
  119. package/esm2022/lib/components/ca-input-test/directives/restrict-input.directive.mjs +94 -0
  120. package/esm2022/lib/components/ca-input-test/enums/index.mjs +5 -0
  121. package/esm2022/lib/components/ca-input-test/enums/input-commands-action.enum.mjs +11 -0
  122. package/esm2022/lib/components/ca-input-test/enums/input-commands-type.enum.mjs +8 -0
  123. package/esm2022/lib/components/ca-input-test/enums/input-config-name-string.enum.mjs +9 -0
  124. package/esm2022/lib/components/ca-input-test/enums/input-string.enum.mjs +114 -0
  125. package/esm2022/lib/components/ca-input-test/enums/input-text-transform.enum.mjs +9 -0
  126. package/esm2022/lib/components/ca-input-test/input-test.component.mjs +273 -0
  127. package/esm2022/lib/components/ca-input-test/mixins/input-command.mixin.mjs +124 -0
  128. package/esm2022/lib/components/ca-input-test/mixins/input-helper.mixin.mjs +49 -0
  129. package/esm2022/lib/components/ca-input-test/mixins/restriction-pipe.mixin.mjs +34 -0
  130. package/esm2022/lib/components/ca-input-test/models/base.model.mjs +2 -0
  131. package/esm2022/lib/components/ca-input-test/models/command-click.model.mjs +2 -0
  132. package/esm2022/lib/components/ca-input-test/models/commands-event.model.mjs +2 -0
  133. package/esm2022/lib/components/ca-input-test/models/index.mjs +4 -0
  134. package/esm2022/lib/components/ca-input-test/models/label-color.model.mjs +2 -0
  135. package/esm2022/lib/components/ca-input-test/pipes/color-finder.pipe.mjs +62 -0
  136. package/esm2022/lib/components/ca-input-test/pipes/form-control.pipe.mjs +17 -0
  137. package/esm2022/lib/components/ca-input-test/pipes/index.mjs +20 -0
  138. package/esm2022/lib/components/ca-input-test/pipes/input-class.pipe.mjs +155 -0
  139. package/esm2022/lib/components/ca-input-test/pipes/input-clear-class.pipe.mjs +87 -0
  140. package/esm2022/lib/components/ca-input-test/pipes/input-container-class.pipe.mjs +58 -0
  141. package/esm2022/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.mjs +77 -0
  142. package/esm2022/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.mjs +61 -0
  143. package/esm2022/lib/components/ca-input-test/pipes/input-error.pipe.mjs +88 -0
  144. package/esm2022/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.mjs +37 -0
  145. package/esm2022/lib/components/ca-input-test/pipes/input-pattern.pipe.mjs +326 -0
  146. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.mjs +46 -0
  147. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.mjs +58 -0
  148. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.mjs +45 -0
  149. package/esm2022/lib/components/ca-input-test/pipes/input-type.pipe.mjs +25 -0
  150. package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +38 -0
  151. package/esm2022/lib/components/ca-input-test/pipes/show-clear.pipe.mjs +22 -0
  152. package/esm2022/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.mjs +26 -0
  153. package/esm2022/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.mjs +27 -0
  154. package/esm2022/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.mjs +24 -0
  155. package/esm2022/lib/components/ca-input-test/pipes/show-valid-check.pipe.mjs +27 -0
  156. package/esm2022/lib/components/ca-input-test/utils/index.mjs +3 -0
  157. package/esm2022/lib/components/ca-input-test/utils/input-change-value.type.mjs +2 -0
  158. package/esm2022/lib/components/ca-input-test/utils/input-svg-routes.mjs +17 -0
  159. package/esm2022/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.mjs +75 -0
  160. package/esm2022/lib/components/ca-last-fuel-price-progress/enums/index.mjs +2 -0
  161. package/esm2022/lib/components/ca-last-fuel-price-progress/enums/last-fuel-price-progress.enum.mjs +6 -0
  162. package/esm2022/lib/components/ca-last-fuel-price-progress/interfaces/index.mjs +3 -0
  163. package/esm2022/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-config.interface.mjs +2 -0
  164. package/esm2022/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-data.interface.mjs +2 -0
  165. package/esm2022/lib/components/ca-last-fuel-price-progress/utils/constants/index.mjs +2 -0
  166. package/esm2022/lib/components/ca-last-fuel-price-progress/utils/constants/last-fuel-price-progress.constants.mjs +10 -0
  167. package/esm2022/lib/components/ca-last-fuel-price-progress/utils/helpers/index.mjs +2 -0
  168. package/esm2022/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.mjs +25 -0
  169. package/esm2022/lib/components/ca-last-fuel-price-progress/utils/svg-routes/index.mjs +2 -0
  170. package/esm2022/lib/components/ca-last-fuel-price-progress/utils/svg-routes/last-fuel-price-progress-svg-routes.mjs +4 -0
  171. package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +3 -3
  172. package/esm2022/lib/components/ca-main-table/ca-main-table.component.mjs +5 -3
  173. package/esm2022/lib/components/ca-map/ca-map.component.mjs +2 -2
  174. package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +2 -2
  175. package/esm2022/lib/components/ca-modal/ca-modal.component.mjs +2 -2
  176. package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +3 -3
  177. package/esm2022/lib/components/ca-new-filter/ca-filter-dropdown.component.mjs +98 -0
  178. package/esm2022/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.mjs +142 -0
  179. package/esm2022/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.mjs +131 -0
  180. package/esm2022/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.mjs +131 -0
  181. package/esm2022/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.mjs +87 -0
  182. package/esm2022/lib/components/ca-new-filter/constant/index.mjs +2 -0
  183. package/esm2022/lib/components/ca-new-filter/enums/filter-dropdown-types.enum.mjs +15 -0
  184. package/esm2022/lib/components/ca-new-filter/enums/filter-sorting-key.enum.mjs +6 -0
  185. package/esm2022/lib/components/ca-new-filter/enums/filter-time.enum.mjs +37 -0
  186. package/esm2022/lib/components/ca-new-filter/enums/index.mjs +4 -0
  187. package/esm2022/lib/components/ca-new-filter/interface/country.interface.mjs +2 -0
  188. package/esm2022/lib/components/ca-new-filter/interface/filter-action.interface.mjs +2 -0
  189. package/esm2022/lib/components/ca-new-filter/interface/filter-dropdown-configuration.interface.mjs +2 -0
  190. package/esm2022/lib/components/ca-new-filter/interface/filter-dropdown-list.mjs +2 -0
  191. package/esm2022/lib/components/ca-new-filter/interface/index.mjs +7 -0
  192. package/esm2022/lib/components/ca-new-filter/interface/sorting-emmiter.interface.mjs +2 -0
  193. package/esm2022/lib/components/ca-new-filter/interface/time-options.interface.mjs +2 -0
  194. package/esm2022/lib/components/ca-new-filter/pipes/filter-search.pipe.mjs +31 -0
  195. package/esm2022/lib/components/ca-new-filter/types/filter-dropdown.types.mjs +2 -0
  196. package/esm2022/lib/components/ca-new-filter/types/filter-sorting-key.type.mjs +2 -0
  197. package/esm2022/lib/components/ca-new-filter/types/filter-time.types.mjs +2 -0
  198. package/esm2022/lib/components/ca-new-filter/types/index.mjs +4 -0
  199. package/esm2022/lib/components/ca-new-filter/utils/configs/filter-dropdown-fields.config.mjs +37 -0
  200. package/esm2022/lib/components/ca-new-filter/utils/configs/index.mjs +2 -0
  201. package/esm2022/lib/components/ca-new-filter/utils/helpers/index.mjs +2 -0
  202. package/esm2022/lib/components/ca-new-filter/utils/helpers/time-filter.helper.mjs +133 -0
  203. package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +2 -2
  204. package/esm2022/lib/components/ca-note/ca-note.component.mjs +2 -2
  205. package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +2 -2
  206. package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +3 -3
  207. package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +3 -3
  208. package/esm2022/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.mjs +3 -3
  209. package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +10 -9
  210. package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
  211. package/esm2022/lib/components/ca-period-content/enums/index.mjs +2 -1
  212. package/esm2022/lib/components/ca-period-content/enums/period-title-type.enum.mjs +9 -0
  213. package/esm2022/lib/components/ca-period-content/utils/constants/color-map.mjs +9 -8
  214. package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +3 -3
  215. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +3 -3
  216. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +3 -3
  217. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +3 -3
  218. package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +3 -3
  219. package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +2 -2
  220. package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +2 -2
  221. package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +2 -2
  222. package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +2 -2
  223. package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +2 -2
  224. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +3 -3
  225. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
  226. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.mjs +3 -3
  227. package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +3 -3
  228. package/esm2022/lib/components/ca-search-multiple-states/models/tab-data.model.mjs +1 -1
  229. package/esm2022/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.mjs +21 -8
  230. package/esm2022/lib/components/ca-sort-dropdown/types/index.mjs +2 -0
  231. package/esm2022/lib/components/ca-sort-dropdown/types/sort-directions.type.mjs +2 -0
  232. package/esm2022/lib/components/ca-sort-dropdown/utils/svg-routes/ca-sort-dropdown-svg-routes.mjs +3 -2
  233. package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +2 -2
  234. package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +3 -3
  235. package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +3 -3
  236. package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +3 -3
  237. package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
  238. package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +2 -2
  239. package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +3 -3
  240. package/esm2022/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.mjs +3 -3
  241. package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +2 -2
  242. package/esm2022/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.mjs +3 -3
  243. package/esm2022/lib/components/ca-vehicle-list/ca-vehicle-list.component.mjs +77 -0
  244. package/esm2022/lib/components/ca-vehicle-list/enums/index.mjs +2 -0
  245. package/esm2022/lib/components/ca-vehicle-list/enums/vehicle-list.enum.mjs +6 -0
  246. package/esm2022/lib/components/ca-vehicle-list/interfaces/index.mjs +3 -0
  247. package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.mjs +2 -0
  248. package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.mjs +2 -0
  249. package/esm2022/lib/components/ca-vehicle-list/models/index.mjs +2 -0
  250. package/esm2022/lib/components/ca-vehicle-list/models/vehicle-list.model.mjs +2 -0
  251. package/esm2022/lib/components/ca-vehicle-list/types/index.mjs +2 -0
  252. package/esm2022/lib/components/ca-vehicle-list/types/vehicle-list.type.mjs +2 -0
  253. package/esm2022/lib/components/ca-vehicle-list/utils/constants/index.mjs +2 -0
  254. package/esm2022/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.mjs +37 -0
  255. package/esm2022/lib/components/ca-vehicle-list/utils/svg-routes/index.mjs +2 -0
  256. package/esm2022/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.mjs +7 -0
  257. package/esm2022/lib/enums/dropdown-menu.enum.mjs +20 -0
  258. package/esm2022/lib/enums/index.mjs +2 -0
  259. package/esm2022/lib/enums/string-placeholder.enum.mjs +14 -0
  260. package/esm2022/lib/pipes/index.mjs +2 -1
  261. package/esm2022/lib/pipes/row-class.pipe.mjs +26 -0
  262. package/esm2022/lib/pipes/truck-trailer-color-finder.pipe.mjs +72 -0
  263. package/esm2022/lib/utils/constants/dropdown-menu-content.constants.mjs +26 -26
  264. package/esm2022/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.mjs +4 -4
  265. package/esm2022/lib/utils/helpers/dropdown-menu-content.helper.mjs +6 -6
  266. package/esm2022/public-api.mjs +17 -2
  267. package/fesm2022/ca-components.mjs +7028 -1512
  268. package/fesm2022/ca-components.mjs.map +1 -1
  269. package/lib/ca-components.module.d.ts +40 -33
  270. package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.d.ts +2 -1
  271. package/lib/components/ca-checkbox/ca-checkbox.component.d.ts +39 -0
  272. package/lib/components/ca-checkbox/interfaces/column-check-action.interface.d.ts +6 -0
  273. package/lib/components/ca-checkbox/interfaces/index.d.ts +1 -0
  274. package/lib/components/ca-checkbox/utils/svg-routes/checkbox-svg-routes.d.ts +6 -0
  275. package/lib/components/ca-checkbox/utils/svg-routes/index.d.ts +1 -0
  276. package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.d.ts +1 -1
  277. package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.d.ts +16 -7
  278. package/lib/components/ca-dropdown-menu/enums/{dropdown-menu-string.enum.d.ts → dropdown-menu.enum.d.ts} +5 -2
  279. package/lib/components/ca-dropdown-menu/enums/index.d.ts +1 -1
  280. package/lib/components/ca-dropdown-menu/{models/dropdown-menu-item.model.d.ts → interfaces/dropdown-menu-item.interface.d.ts} +7 -1
  281. package/lib/components/ca-dropdown-menu/{models/dropdown-menu-option-emit.model.d.ts → interfaces/dropdown-menu-option-emit.interface.d.ts} +1 -1
  282. package/lib/components/ca-dropdown-menu/interfaces/index.d.ts +2 -0
  283. package/lib/components/ca-dropdown-menu/pipes/group-item-checked-state.pipe.d.ts +8 -0
  284. package/lib/components/ca-dropdown-menu/pipes/index.d.ts +1 -0
  285. package/lib/components/ca-filters/pipes/index.d.ts +6 -0
  286. package/lib/components/ca-filters/utils/helpers/index.d.ts +1 -0
  287. package/lib/components/ca-filters/utils/{constants/time-filter.constants.d.ts → helpers/time-filter.helper.d.ts} +14 -2
  288. package/lib/components/ca-filters/utils/svg-routes/index.d.ts +1 -0
  289. package/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.d.ts +4 -0
  290. package/lib/components/ca-input-dropdown-test/animations/index.d.ts +1 -0
  291. package/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.d.ts +1 -0
  292. package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.d.ts +125 -0
  293. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.d.ts +20 -0
  294. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.d.ts +22 -0
  295. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.d.ts +19 -0
  296. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.d.ts +20 -0
  297. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.d.ts +27 -0
  298. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.d.ts +18 -0
  299. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.d.ts +24 -0
  300. 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.d.ts +10 -0
  301. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.d.ts +18 -0
  302. 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.d.ts +11 -0
  303. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.d.ts +18 -0
  304. 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.d.ts +11 -0
  305. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.d.ts +18 -0
  306. 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.d.ts +14 -0
  307. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.d.ts +20 -0
  308. 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.d.ts +14 -0
  309. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.d.ts +20 -0
  310. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.d.ts +18 -0
  311. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.d.ts +20 -0
  312. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.d.ts +20 -0
  313. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.d.ts +22 -0
  314. 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.d.ts +15 -0
  315. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.d.ts +22 -0
  316. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.d.ts +18 -0
  317. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.d.ts +20 -0
  318. package/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.d.ts +4 -0
  319. package/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.d.ts +21 -0
  320. package/lib/components/ca-input-dropdown-test/enums/index.d.ts +2 -0
  321. package/lib/components/ca-input-dropdown-test/models/index.d.ts +3 -0
  322. package/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.d.ts +95 -0
  323. package/lib/components/ca-input-dropdown-test/models/load-modal-status.model.d.ts +5 -0
  324. package/lib/components/ca-input-dropdown-test/models/status-order.model.d.ts +4 -0
  325. package/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.d.ts +7 -0
  326. package/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.d.ts +10 -0
  327. package/lib/components/ca-input-dropdown-test/pipes/index.d.ts +9 -0
  328. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.d.ts +11 -0
  329. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.d.ts +10 -0
  330. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.d.ts +9 -0
  331. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.d.ts +11 -0
  332. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.d.ts +10 -0
  333. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.d.ts +11 -0
  334. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.d.ts +10 -0
  335. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.d.ts +11 -0
  336. package/lib/components/ca-input-dropdown-test/utils/svg-routes/index.d.ts +1 -0
  337. package/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.d.ts +12 -0
  338. package/lib/components/ca-input-test/base-classes/ca-input-event-manager.d.ts +16 -0
  339. package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.d.ts +20 -0
  340. package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.d.ts +16 -0
  341. package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.d.ts +20 -0
  342. package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +26 -0
  343. package/lib/components/ca-input-test/config/ca-input.config.d.ts +168 -0
  344. package/lib/components/ca-input-test/config/index.d.ts +1 -0
  345. package/lib/components/ca-input-test/directives/caps-lock.directive.d.ts +14 -0
  346. package/lib/components/ca-input-test/directives/index.d.ts +5 -0
  347. package/lib/components/ca-input-test/directives/input-max-value.directive.d.ts +12 -0
  348. package/lib/components/ca-input-test/directives/min-max-value.directive.d.ts +13 -0
  349. package/lib/components/ca-input-test/directives/price_format.directive.d.ts +11 -0
  350. package/lib/components/ca-input-test/directives/restrict-input.directive.d.ts +27 -0
  351. package/lib/components/ca-input-test/enums/index.d.ts +4 -0
  352. package/lib/components/ca-input-test/enums/input-commands-action.enum.d.ts +9 -0
  353. package/lib/components/ca-input-test/enums/input-commands-type.enum.d.ts +6 -0
  354. package/lib/components/ca-input-test/enums/input-config-name-string.enum.d.ts +7 -0
  355. package/lib/components/ca-input-test/enums/input-string.enum.d.ts +112 -0
  356. package/lib/components/ca-input-test/enums/input-text-transform.enum.d.ts +6 -0
  357. package/lib/components/{ca-input/input-test → ca-input-test}/input-test.component.d.ts +13 -12
  358. package/lib/components/{ca-input → ca-input-test}/mixins/input-command.mixin.d.ts +1 -1
  359. package/lib/components/{ca-input → ca-input-test}/mixins/input-helper.mixin.d.ts +1 -1
  360. package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.d.ts +12 -0
  361. package/lib/components/ca-input-test/models/command-click.model.d.ts +5 -0
  362. package/lib/components/ca-input-test/models/commands-event.model.d.ts +5 -0
  363. package/lib/components/ca-input-test/models/index.d.ts +3 -0
  364. package/lib/components/ca-input-test/models/label-color.model.d.ts +11 -0
  365. package/lib/components/ca-input-test/pipes/color-finder.pipe.d.ts +7 -0
  366. package/lib/components/ca-input-test/pipes/form-control.pipe.d.ts +8 -0
  367. package/lib/components/ca-input-test/pipes/index.d.ts +19 -0
  368. package/lib/components/ca-input-test/pipes/input-class.pipe.d.ts +13 -0
  369. package/lib/components/ca-input-test/pipes/input-clear-class.pipe.d.ts +11 -0
  370. package/lib/components/ca-input-test/pipes/input-container-class.pipe.d.ts +11 -0
  371. package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.d.ts +11 -0
  372. package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.d.ts +11 -0
  373. package/lib/components/ca-input-test/pipes/input-error.pipe.d.ts +7 -0
  374. package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.d.ts +11 -0
  375. package/lib/components/ca-input-test/pipes/input-pattern.pipe.d.ts +38 -0
  376. package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.d.ts +11 -0
  377. package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.d.ts +12 -0
  378. package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.d.ts +11 -0
  379. package/lib/components/ca-input-test/pipes/input-type.pipe.d.ts +7 -0
  380. package/lib/components/ca-input-test/pipes/label-class.pipe.d.ts +10 -0
  381. package/lib/components/ca-input-test/pipes/show-clear.pipe.d.ts +8 -0
  382. package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.d.ts +8 -0
  383. package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.d.ts +9 -0
  384. package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.d.ts +9 -0
  385. package/lib/components/ca-input-test/pipes/show-valid-check.pipe.d.ts +9 -0
  386. package/lib/components/ca-input-test/utils/index.d.ts +2 -0
  387. package/lib/components/ca-input-test/utils/input-change-value.type.d.ts +1 -0
  388. package/lib/components/ca-input-test/utils/input-svg-routes.d.ts +16 -0
  389. package/lib/components/ca-last-fuel-price-progress/ca-last-fuel-price-progress.component.d.ts +18 -0
  390. package/lib/components/ca-last-fuel-price-progress/enums/index.d.ts +1 -0
  391. package/lib/components/ca-last-fuel-price-progress/enums/last-fuel-price-progress.enum.d.ts +4 -0
  392. package/lib/components/ca-last-fuel-price-progress/interfaces/index.d.ts +2 -0
  393. package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-config.interface.d.ts +9 -0
  394. package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-data.interface.d.ts +10 -0
  395. package/lib/components/ca-last-fuel-price-progress/utils/constants/index.d.ts +1 -0
  396. package/lib/components/ca-last-fuel-price-progress/utils/constants/last-fuel-price-progress.constants.d.ts +3 -0
  397. package/lib/components/ca-last-fuel-price-progress/utils/helpers/index.d.ts +1 -0
  398. package/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.d.ts +7 -0
  399. package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/index.d.ts +1 -0
  400. package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/last-fuel-price-progress-svg-routes.d.ts +3 -0
  401. package/lib/components/ca-new-filter/ca-filter-dropdown.component.d.ts +35 -0
  402. package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.d.ts +43 -0
  403. package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.d.ts +35 -0
  404. package/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.d.ts +43 -0
  405. package/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.d.ts +3 -0
  406. package/lib/components/ca-new-filter/constant/index.d.ts +1 -0
  407. package/lib/components/ca-new-filter/enums/filter-dropdown-types.enum.d.ts +13 -0
  408. package/lib/components/ca-new-filter/enums/filter-sorting-key.enum.d.ts +4 -0
  409. package/lib/components/ca-new-filter/enums/filter-time.enum.d.ts +35 -0
  410. package/lib/components/ca-new-filter/enums/index.d.ts +3 -0
  411. package/lib/components/ca-new-filter/interface/country.interface.d.ts +13 -0
  412. package/lib/components/ca-new-filter/interface/filter-action.interface.d.ts +18 -0
  413. package/lib/components/ca-new-filter/interface/filter-dropdown-configuration.interface.d.ts +13 -0
  414. package/lib/components/ca-new-filter/interface/filter-dropdown-list.d.ts +17 -0
  415. package/lib/components/ca-new-filter/interface/index.d.ts +6 -0
  416. package/lib/components/ca-new-filter/interface/sorting-emmiter.interface.d.ts +5 -0
  417. package/lib/components/ca-new-filter/interface/time-options.interface.d.ts +9 -0
  418. package/lib/components/ca-new-filter/pipes/filter-search.pipe.d.ts +8 -0
  419. package/lib/components/ca-new-filter/types/filter-dropdown.types.d.ts +2 -0
  420. package/lib/components/ca-new-filter/types/filter-sorting-key.type.d.ts +2 -0
  421. package/lib/components/ca-new-filter/types/filter-time.types.d.ts +2 -0
  422. package/lib/components/ca-new-filter/types/index.d.ts +3 -0
  423. package/lib/components/ca-new-filter/utils/configs/filter-dropdown-fields.config.d.ts +7 -0
  424. package/lib/components/ca-new-filter/utils/configs/index.d.ts +1 -0
  425. package/lib/components/ca-new-filter/utils/helpers/index.d.ts +1 -0
  426. package/lib/components/ca-new-filter/utils/helpers/time-filter.helper.d.ts +6 -0
  427. package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +7 -6
  428. package/lib/components/ca-period-content/enums/index.d.ts +1 -0
  429. package/lib/components/ca-period-content/enums/period-title-type.enum.d.ts +7 -0
  430. package/lib/components/ca-period-content/utils/constants/color-map.d.ts +2 -3
  431. package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.d.ts +3 -3
  432. package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.d.ts +2 -2
  433. package/lib/components/ca-search-multiple-states/models/tab-data.model.d.ts +11 -11
  434. package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.d.ts +12 -5
  435. package/lib/components/ca-sort-dropdown/types/index.d.ts +1 -0
  436. package/lib/components/ca-sort-dropdown/types/sort-directions.type.d.ts +5 -0
  437. package/lib/components/ca-sort-dropdown/utils/svg-routes/ca-sort-dropdown-svg-routes.d.ts +2 -1
  438. package/lib/components/ca-vehicle-list/ca-vehicle-list.component.d.ts +22 -0
  439. package/lib/components/ca-vehicle-list/enums/index.d.ts +1 -0
  440. package/lib/components/ca-vehicle-list/enums/vehicle-list.enum.d.ts +4 -0
  441. package/lib/components/ca-vehicle-list/interfaces/index.d.ts +2 -0
  442. package/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.d.ts +5 -0
  443. package/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.d.ts +7 -0
  444. package/lib/components/ca-vehicle-list/models/index.d.ts +1 -0
  445. package/lib/components/ca-vehicle-list/models/vehicle-list.model.d.ts +11 -0
  446. package/lib/components/ca-vehicle-list/types/index.d.ts +1 -0
  447. package/lib/components/ca-vehicle-list/types/vehicle-list.type.d.ts +2 -0
  448. package/lib/components/ca-vehicle-list/utils/constants/index.d.ts +1 -0
  449. package/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.d.ts +5 -0
  450. package/lib/components/ca-vehicle-list/utils/svg-routes/index.d.ts +1 -0
  451. package/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.d.ts +6 -0
  452. package/lib/enums/{dropdown-menu-string.enum.d.ts → dropdown-menu.enum.d.ts} +1 -1
  453. package/lib/enums/index.d.ts +1 -0
  454. package/lib/enums/string-placeholder.enum.d.ts +12 -0
  455. package/lib/pipes/index.d.ts +1 -0
  456. package/lib/pipes/row-class.pipe.d.ts +7 -0
  457. package/lib/pipes/truck-trailer-color-finder.pipe.d.ts +7 -0
  458. package/lib/utils/constants/dropdown-menu-content.constants.d.ts +3 -3
  459. package/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.d.ts +3 -3
  460. package/lib/utils/helpers/dropdown-menu-content.helper.d.ts +3 -3
  461. package/package.json +1 -1
  462. package/public-api.d.ts +16 -1
  463. package/src/assets/ca-components/svg/common/fuel.svg +4 -0
  464. package/src/assets/ca-components/svg/common/ic_arrow_desc.svg +3 -0
  465. package/src/assets/ca-components/svg/common/ic_carriera-logo-active.svg +4 -0
  466. package/src/assets/ca-components/svg/common/ic_carriera-logo-inactive.svg +4 -0
  467. package/src/assets/ca-components/svg/common/ic_columns.svg +8 -0
  468. package/src/assets/ca-components/svg/common/ic_disable.svg +3 -0
  469. package/src/assets/ca-components/svg/common/ic_owner-status.svg +7 -0
  470. package/esm2022/lib/components/ca-dropdown-menu/enums/dropdown-menu-string.enum.mjs +0 -14
  471. package/esm2022/lib/components/ca-dropdown-menu/models/dropdown-menu-item.model.mjs +0 -2
  472. package/esm2022/lib/components/ca-dropdown-menu/models/dropdown-menu-option-emit.model.mjs +0 -2
  473. package/esm2022/lib/components/ca-dropdown-menu/models/index.mjs +0 -3
  474. package/esm2022/lib/components/ca-filters/utils/constants/time-filter.constants.mjs +0 -102
  475. package/esm2022/lib/components/ca-input/directives/command-visible.directive.mjs +0 -48
  476. package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +0 -266
  477. package/esm2022/lib/components/ca-input/mixins/input-command.mixin.mjs +0 -127
  478. package/esm2022/lib/components/ca-input/mixins/input-helper.mixin.mjs +0 -49
  479. package/esm2022/lib/components/ca-input/models/base.model.mjs +0 -2
  480. package/esm2022/lib/components/ca-period-content/utils/constants/index.mjs +0 -3
  481. package/esm2022/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.mjs +0 -15
  482. package/esm2022/lib/enums/dropdown-menu-string.enum.mjs +0 -20
  483. package/lib/components/ca-dropdown-menu/models/index.d.ts +0 -2
  484. package/lib/components/ca-period-content/utils/constants/index.d.ts +0 -2
  485. package/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.d.ts +0 -10
  486. /package/lib/components/{ca-input → ca-input-test}/directives/command-visible.directive.d.ts +0 -0
  487. /package/lib/components/{ca-input → ca-input-test}/models/base.model.d.ts +0 -0
@@ -0,0 +1,87 @@
1
+ import { Pipe } from '@angular/core';
2
+ // enums
3
+ import { DropdownTemplateTypeEnum } from '../../ca-input-dropdown/enums';
4
+ import * as i0 from "@angular/core";
5
+ export class InputClearClassPipe {
6
+ transform(getSuperControl, isFocusInput, inputConfig, incorrectValue, selectedDropdownLabelColor, template, value) {
7
+ return {
8
+ focus: isFocusInput &&
9
+ getSuperControl?.value &&
10
+ !(inputConfig.blackInput && inputConfig.isDropdown),
11
+ 'valid-focus-in': (getSuperControl?.value &&
12
+ getSuperControl?.valid &&
13
+ isFocusInput &&
14
+ !inputConfig.customClass?.includes('repair-shop-open-hour') &&
15
+ !inputConfig.blackInput &&
16
+ !inputConfig.dropdownImageInput?.url &&
17
+ !inputConfig.isInvalidSearchInDropdown &&
18
+ !inputConfig.mergeDropdownBodyWithInput &&
19
+ !inputConfig.isDisabled) ||
20
+ (inputConfig.multipleInputValues?.options.length &&
21
+ isFocusInput &&
22
+ !inputConfig.isInvalidSearchInDropdown &&
23
+ !inputConfig.blackInput &&
24
+ !inputConfig.mergeDropdownBodyWithInput &&
25
+ !inputConfig.isDisabled &&
26
+ !inputConfig.dropdownLabel &&
27
+ template === DropdownTemplateTypeEnum.PAYROLL_TRUCKS),
28
+ 'valid-focus-out': getSuperControl?.value &&
29
+ getSuperControl?.valid &&
30
+ !isFocusInput &&
31
+ !inputConfig.customClass?.includes('repair-shop-open-hour') &&
32
+ !inputConfig.blackInput &&
33
+ !inputConfig.isDisabled,
34
+ 'invalid-focus-in': (getSuperControl?.value &&
35
+ getSuperControl?.invalid &&
36
+ isFocusInput &&
37
+ !inputConfig.mergeDropdownBodyWithInput &&
38
+ !inputConfig.blackInput &&
39
+ !inputConfig.isDisabled) ||
40
+ (inputConfig.isInvalidSearchInDropdown &&
41
+ inputConfig.isDropdown &&
42
+ isFocusInput &&
43
+ getSuperControl?.value &&
44
+ !inputConfig.mergeDropdownBodyWithInput &&
45
+ !inputConfig.blackInput &&
46
+ !inputConfig.isDisabled),
47
+ 'invalid-focus-out': getSuperControl?.value &&
48
+ getSuperControl?.invalid &&
49
+ !isFocusInput &&
50
+ !inputConfig.isDropdown &&
51
+ !inputConfig.blackInput &&
52
+ !(!inputConfig.dropdownImageInput?.withText &&
53
+ inputConfig.dropdownImageInput?.url) &&
54
+ !inputConfig.isDisabled,
55
+ 'incorrect-input': inputConfig.incorrectInput && getSuperControl?.value,
56
+ 'incorrect-input-on': inputConfig.incorrectInput && getSuperControl?.value && incorrectValue,
57
+ hidden: getSuperControl?.value && isFocusInput && inputConfig.dropdownLabel,
58
+ 'dropdown-on': (getSuperControl?.value &&
59
+ inputConfig.isDropdown &&
60
+ !inputConfig.isDisabled &&
61
+ !inputConfig.blackInput &&
62
+ !inputConfig.multiSelectDropdownActive &&
63
+ !inputConfig.mergeDropdownBodyWithInput) ||
64
+ (inputConfig.dropdownImageInput?.url &&
65
+ !inputConfig.isDisabled &&
66
+ !inputConfig.blackInput &&
67
+ !inputConfig.multiSelectDropdownActive &&
68
+ !inputConfig.mergeDropdownBodyWithInput) ||
69
+ (!inputConfig.blackInput && selectedDropdownLabelColor) ||
70
+ (inputConfig.dropdownImageInput?.url &&
71
+ !inputConfig.blackInput &&
72
+ !inputConfig.mergeDropdownBodyWithInput) ||
73
+ template === DropdownTemplateTypeEnum.PAYROLL_TRUCKS,
74
+ 'trash-can-svg': inputConfig.removeInput,
75
+ };
76
+ }
77
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputClearClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
78
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputClearClassPipe, isStandalone: true, name: "inputClearClass" }); }
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputClearClassPipe, decorators: [{
81
+ type: Pipe,
82
+ args: [{
83
+ name: 'inputClearClass',
84
+ standalone: true,
85
+ }]
86
+ }] });
87
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY2xlYXItY2xhc3MucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0LXRlc3QvcGlwZXMvaW5wdXQtY2xlYXItY2xhc3MucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVB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biAgICAgICAgICAhaW5wdXRDb25maWcuZHJvcGRvd25MYWJlbCAmJlxuICAgICAgICAgIHRlbXBsYXRlID09PSBEcm9wZG93blRlbXBsYXRlVHlwZUVudW0uUEFZUk9MTF9UUlVDS1MpLFxuICAgICAgJ3ZhbGlkLWZvY3VzLW91dCc6XG4gICAgICAgIGdldFN1cGVyQ29udHJvbD8udmFsdWUgJiZcbiAgICAgICAgZ2V0U3VwZXJDb250cm9sPy52YWxpZCAmJlxuICAgICAgICAhaXNGb2N1c0lucHV0ICYmXG4gICAgICAgICFpbnB1dENvbmZpZy5jdXN0b21DbGFzcz8uaW5jbHVkZXMoJ3JlcGFpci1zaG9wLW9wZW4taG91cicpICYmXG4gICAgICAgICFpbnB1dENvbmZpZy5ibGFja0lucHV0ICYmXG4gICAgICAgICFpbnB1dENvbmZpZy5pc0Rpc2FibGVkLFxuICAgICAgJ2ludmFsaWQtZm9jdXMtaW4nOlxuICAgICAgICAoZ2V0U3VwZXJDb250cm9sPy52YWx1ZSAmJlxuICAgICAgICAgIGdldFN1cGVyQ29udHJvbD8uaW52YWxpZCAmJlxuICAgICAgICAgIGlzRm9jdXNJbnB1dCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5tZXJnZURyb3Bkb3duQm9keVdpdGhJbnB1dCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5ibGFja0lucHV0ICYmXG4gICAgICAgICAgIWlucHV0Q29uZmlnLmlzRGlzYWJsZWQpIHx8XG4gICAgICAgIChpbnB1dENvbmZpZy5pc0ludmFsaWRTZWFyY2hJbkRyb3Bkb3duICYmXG4gICAgICAgICAgaW5wdXRDb25maWcuaXNEcm9wZG93biAmJlxuICAgICAgICAgIGlzRm9jdXNJbnB1dCAmJlxuICAgICAgICAgIGdldFN1cGVyQ29udHJvbD8udmFsdWUgJiZcbiAgICAgICAgICAhaW5wdXRDb25maWcubWVyZ2VEcm9wZG93bkJvZHlXaXRoSW5wdXQgJiZcbiAgICAgICAgICAhaW5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JiZcbiAgICAgICAgICAhaW5wdXRDb25maWcuYmxhY2tJbnB1dCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5tdWx0aVNlbGVjdERyb3Bkb3duQWN0aXZlICYmXG4gICAgICAgICAgIWlucHV0Q29uZmlnLm1lcmdlRHJvcGRvd25Cb2R5V2l0aElucHV0KSB8fFxuICAgICAgICAoaW5wdXRDb25maWcuZHJvcGRvd25JbWFnZUlucHV0Py51cmwgJiZcbiAgICAgICAgICAhaW5wdXRDb25maWcuaXNEaXNhYmxlZCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5ibGFja0lucHV0ICYmXG4gICAgICAgICAgIWlucHV0Q29uZmlnLm11bHRpU2VsZWN0RHJvcGRvd25BY3RpdmUgJiZcbiAgICAgICAgICAhaW5wdXRDb25maWcubWVyZ2VEcm9wZG93bkJvZHlXaXRoSW5wdXQpIHx8XG4gICAgICAgICghaW5wdXRDb25maWcuYmxhY2tJbnB1dCAmJiBzZWxlY3RlZERyb3Bkb3duTGFiZWxDb2xvcikgfHxcbiAgICAgICAgKGlucHV0Q29uZmlnLmRyb3Bkb3duSW1hZ2VJbnB1dD8udXJsICYmXG4gICAgICAgICAgIWlucHV0Q29uZmlnLmJsYWNrSW5wdXQgJiZcbiAgICAgICAgICAhaW5wdXRDb25maWcubWVyZ2VEcm9wZG93bkJvZHlXaXRoSW5wdXQpIHx8XG4gICAgICAgIHRlbXBsYXRlID09PSBEcm9wZG93blRlbXBsYXRlVHlwZUVudW0uUEFZUk9MTF9UUlVDS1MsXG4gICAgICAndHJhc2gtY2FuLXN2Zyc6IGlucHV0Q29uZmlnLnJlbW92ZUlucHV0LFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,58 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class InputContainerClassPipe {
4
+ transform(getSuperControl, isFocusInput, isTouchedInput, inputConfig, value) {
5
+ return {
6
+ 'custom-empty-hover': !isFocusInput,
7
+ 'custom-filled-hover': value && !isFocusInput && !inputConfig.dropdownLabel,
8
+ 'invalid-filled-focus-out': value &&
9
+ getSuperControl?.invalid &&
10
+ (isTouchedInput || getSuperControl?.touched) &&
11
+ !isFocusInput &&
12
+ !inputConfig.hideClear &&
13
+ !inputConfig.blackInput &&
14
+ !inputConfig.isDisabled,
15
+ 'invalid-empty-focus-out': !value &&
16
+ getSuperControl?.invalid &&
17
+ (isTouchedInput || getSuperControl?.touched) &&
18
+ !isFocusInput &&
19
+ !inputConfig.hideClear &&
20
+ !inputConfig.blackInput &&
21
+ !inputConfig.isDisabled &&
22
+ !inputConfig.dropdownLabel,
23
+ 'invalid-focus-in': value &&
24
+ getSuperControl?.invalid &&
25
+ isFocusInput &&
26
+ !inputConfig.hideClear &&
27
+ !inputConfig.blackInput &&
28
+ !inputConfig.isDisabled,
29
+ 'valid-focus-in': value &&
30
+ getSuperControl?.valid &&
31
+ isFocusInput &&
32
+ !inputConfig.hideClear &&
33
+ !inputConfig.blackInput &&
34
+ !inputConfig.isDisabled,
35
+ 'valid-focus-out': value &&
36
+ getSuperControl?.valid &&
37
+ !isFocusInput &&
38
+ !inputConfig.blackInput &&
39
+ !inputConfig.isDisabled,
40
+ 'inactive-empty': inputConfig.isDisabled && !value,
41
+ 'inactive-filled': inputConfig.isDisabled && value,
42
+ 'input-remove-trash-can': inputConfig.removeInput,
43
+ 'input-remove-background': inputConfig.isInputBackgroundRemoved,
44
+ 'input-blue-text': inputConfig.isBlueText,
45
+ 'required-label-table': inputConfig.requiredLabel,
46
+ };
47
+ }
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputContainerClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
49
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputContainerClassPipe, isStandalone: true, name: "inputContainerClass" }); }
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputContainerClassPipe, decorators: [{
52
+ type: Pipe,
53
+ args: [{
54
+ name: 'inputContainerClass',
55
+ standalone: true,
56
+ }]
57
+ }] });
58
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29udGFpbmVyLWNsYXNzLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1pbnB1dC10ZXN0L3BpcGVzL2lucHV0LWNvbnRhaW5lci1jbGFzcy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQVFwRCxNQUFNLE9BQU8sdUJBQXVCO0lBQ2xDLFNBQVMsQ0FDUCxlQUFpRCxFQUNqRCxZQUFxQixFQUNyQixjQUF1QixFQUN2QixXQUFxQixFQUNyQixLQUFhO1FBRWIsT0FBTztZQUNMLG9CQUFvQixFQUFFLENBQUMsWUFBWTtZQUNuQyxxQkFBcUIsRUFDbkIsS0FBSyxJQUFJLENBQUMsWUFBWSxJQUFJLENBQUMsV0FBVyxDQUFDLGFBQWE7WUFDdEQsMEJBQTBCLEVBQ3hCLEtBQUs7Z0JBQ0wsZUFBZSxFQUFFLE9BQU87Z0JBQ3hCLENBQUMsY0FBYyxJQUFJLGVBQWUsRUFBRSxPQUFPLENBQUM7Z0JBQzVDLENBQUMsWUFBWTtnQkFDYixDQUFDLFdBQVcsQ0FBQyxTQUFTO2dCQUN0QixDQUFDLFdBQVcsQ0FBQyxVQUFVO2dCQUN2QixDQUFDLFdBQVcsQ0FBQyxVQUFVO1lBQ3pCLHlCQUF5QixFQUN2QixDQUFDLEtBQUs7Z0JB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Zy5pc0Rpc2FibGVkLFxuICAgICAgJ3ZhbGlkLWZvY3VzLWluJzpcbiAgICAgICAgdmFsdWUgJiZcbiAgICAgICAgZ2V0U3VwZXJDb250cm9sPy52YWxpZCAmJlxuICAgICAgICBpc0ZvY3VzSW5wdXQgJiZcbiAgICAgICAgIWlucHV0Q29uZmlnLmhpZGVDbGVhciAmJlxuICAgICAgICAhaW5wdXRDb25maWcuYmxhY2tJbnB1dCAmJlxuICAgICAgICAhaW5wdXRDb25maWcuaXNEaXNhYmxlZCxcbiAgICAgICd2YWxpZC1mb2N1cy1vdXQnOlxuICAgICAgICB2YWx1ZSAmJlxuICAgICAgICBnZXRTdXBlckNvbnRyb2w/LnZhbGlkICYmXG4gICAgICAgICFpc0ZvY3VzSW5wdXQgJiZcbiAgICAgICAgIWlucHV0Q29uZmlnLmJsYWNrSW5wdXQgJiZcbiAgICAgICAgIWlucHV0Q29uZmlnLmlzRGlzYWJsZWQsXG4gICAgICAnaW5hY3RpdmUtZW1wdHknOiBpbnB1dENvbmZpZy5pc0Rpc2FibGVkICYmICF2YWx1ZSxcbiAgICAgICdpbmFjdGl2ZS1maWxsZWQnOiBpbnB1dENvbmZpZy5pc0Rpc2FibGVkICYmIHZhbHVlLFxuICAgICAgJ2lucHV0LXJlbW92ZS10cmFzaC1jYW4nOiBpbnB1dENvbmZpZy5yZW1vdmVJbnB1dCxcbiAgICAgICdpbnB1dC1yZW1vdmUtYmFja2dyb3VuZCc6IGlucHV0Q29uZmlnLmlzSW5wdXRCYWNrZ3JvdW5kUmVtb3ZlZCxcbiAgICAgICdpbnB1dC1ibHVlLXRleHQnOiBpbnB1dENvbmZpZy5pc0JsdWVUZXh0LFxuICAgICAgJ3JlcXVpcmVkLWxhYmVsLXRhYmxlJzogaW5wdXRDb25maWcucmVxdWlyZWRMYWJlbCxcbiAgICB9O1xuICB9XG59XG4iXX0=
@@ -0,0 +1,77 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class InputDatetimePickerClassPipe {
4
+ transform(isFocusInput, isVisibleCommands, getSuperControl, inputConfig, isTouchedInput, value) {
5
+ return {
6
+ focus: isFocusInput,
7
+ 'valid-focus-in': (getSuperControl?.value &&
8
+ getSuperControl?.valid &&
9
+ isFocusInput &&
10
+ !isVisibleCommands &&
11
+ !inputConfig.dropdownImageInput?.url &&
12
+ !inputConfig.blackInput &&
13
+ !inputConfig.isDisabled) ||
14
+ (inputConfig.multipleInputValues?.options?.length &&
15
+ isFocusInput &&
16
+ !inputConfig.isInvalidSearchInDropdown &&
17
+ !inputConfig.isDisabled),
18
+ 'valid-focus-out-filled': (((getSuperControl?.value &&
19
+ getSuperControl?.valid &&
20
+ !isFocusInput &&
21
+ !inputConfig.isDisabled &&
22
+ !isVisibleCommands &&
23
+ !inputConfig.blackInput &&
24
+ !inputConfig.isDisabled) ||
25
+ (!isFocusInput && inputConfig.dropdownImageInput?.url)) &&
26
+ !inputConfig.blackInput &&
27
+ !inputConfig.isDisabled) ||
28
+ (inputConfig.dropdownLabel &&
29
+ getSuperControl?.value &&
30
+ getSuperControl?.valid &&
31
+ !isFocusInput &&
32
+ !inputConfig.isDisabled) ||
33
+ (inputConfig.multipleInputValues?.options?.length && !isFocusInput),
34
+ 'invalid-focus-in': getSuperControl?.invalid &&
35
+ getSuperControl?.value &&
36
+ isFocusInput &&
37
+ !inputConfig.blackInput &&
38
+ !(inputConfig.dropdownImageInput?.url ||
39
+ inputConfig.dropdownImageInput?.nameInitialsInsteadUrl) &&
40
+ !inputConfig.isDisabled,
41
+ 'invalid-focus-out-filled': ((getSuperControl?.value &&
42
+ getSuperControl?.invalid &&
43
+ !isFocusInput &&
44
+ !inputConfig.isDisabled &&
45
+ !inputConfig.blackInput) ||
46
+ (!inputConfig.dropdownImageInput?.url &&
47
+ (isTouchedInput || getSuperControl?.touched) &&
48
+ getSuperControl?.invalid &&
49
+ !isFocusInput &&
50
+ !inputConfig.isDisabled)) &&
51
+ !inputConfig.blackInput,
52
+ 'invalid-focus-out-empty': !isFocusInput &&
53
+ !getSuperControl?.value &&
54
+ getSuperControl?.invalid &&
55
+ (isTouchedInput || getSuperControl?.touched) &&
56
+ inputConfig.multipleLabel?.labels?.length &&
57
+ !inputConfig.multipleInputValues?.options?.length &&
58
+ !inputConfig.isDisabled,
59
+ dark: inputConfig.customClass === 'datetimeclass dark',
60
+ 'time-picker-opacity': inputConfig.customClass === 'time-picker-opacity',
61
+ 'dispatch-history-default-color': inputConfig.customClass === 'time-picker-opacity' &&
62
+ inputConfig.hideDropdownArrow && !isFocusInput,
63
+ 'dispatch-history-row-hover': inputConfig.customClass === 'time-picker-opacity' &&
64
+ inputConfig.isHoverRow && inputConfig.hideDropdownArrow && !isFocusInput,
65
+ };
66
+ }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputDatetimePickerClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
68
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputDatetimePickerClassPipe, isStandalone: true, name: "inputDatetimePickerClass" }); }
69
+ }
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputDatetimePickerClassPipe, decorators: [{
71
+ type: Pipe,
72
+ args: [{
73
+ name: 'inputDatetimePickerClass',
74
+ standalone: true,
75
+ }]
76
+ }] });
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZGF0ZXRpbWUtcGlja2VyLWNsYXNzLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1pbnB1dC10ZXN0L3BpcGVzL2lucHV0LWRhdGV0aW1lLXBpY2tlci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AmJiAhaXNGb2N1c0lucHV0LFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,61 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class InputDropdownArrowClassPipe {
4
+ transform(getSuperControl, isFocusInput, inputConfig, isTouchedInput, value) {
5
+ return {
6
+ focus: isFocusInput,
7
+ 'valid-focus-in': (!inputConfig.dropdownLabel &&
8
+ (getSuperControl?.value || inputConfig.placeholder) &&
9
+ getSuperControl?.valid &&
10
+ isFocusInput &&
11
+ !inputConfig.isDisabled &&
12
+ !inputConfig.isInvalidSearchInDropdown) ||
13
+ ((inputConfig.dropdownImageInput?.url ||
14
+ inputConfig.dropdownImageInput?.nameInitialsInsteadUrl ||
15
+ inputConfig.placeholder) &&
16
+ isFocusInput &&
17
+ !inputConfig.isInvalidSearchInDropdown &&
18
+ !inputConfig.isDisabled),
19
+ 'valid-focus-out': (getSuperControl?.value &&
20
+ getSuperControl?.valid &&
21
+ !isFocusInput &&
22
+ !inputConfig.isDisabled) ||
23
+ (!inputConfig.dropdownImageInput?.withText &&
24
+ inputConfig.dropdownImageInput?.url &&
25
+ !isFocusInput &&
26
+ !inputConfig.isDisabled),
27
+ 'invalid-focus-in': (getSuperControl?.value &&
28
+ getSuperControl?.invalid &&
29
+ isFocusInput &&
30
+ !inputConfig.isDisabled) ||
31
+ (isFocusInput &&
32
+ getSuperControl?.value &&
33
+ inputConfig.isInvalidSearchInDropdown &&
34
+ inputConfig.isDropdown &&
35
+ !inputConfig.blackInput &&
36
+ !inputConfig.mergeDropdownBodyWithInput &&
37
+ !inputConfig.isDisabled),
38
+ 'invalid-focus-out': !getSuperControl?.value &&
39
+ getSuperControl?.invalid &&
40
+ (isTouchedInput || getSuperControl?.touched) &&
41
+ !isFocusInput &&
42
+ !inputConfig.isDisabled,
43
+ 'invalid-search-in-dropdown-focus-in': inputConfig.isInvalidSearchInDropdown &&
44
+ inputConfig.isDropdown &&
45
+ isFocusInput &&
46
+ getSuperControl?.value &&
47
+ getSuperControl?.invalid &&
48
+ !inputConfig.isDisabled,
49
+ };
50
+ }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputDropdownArrowClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
52
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputDropdownArrowClassPipe, isStandalone: true, name: "inputDropdownArrowClass" }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputDropdownArrowClassPipe, decorators: [{
55
+ type: Pipe,
56
+ args: [{
57
+ name: 'inputDropdownArrowClass',
58
+ standalone: true,
59
+ }]
60
+ }] });
61
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZHJvcGRvd24tYXJyb3ctY2xhc3MucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0LXRlc3QvcGlwZXMvaW5wdXQtZHJvcGRvd24tYXJyb3ctY2xhc3MucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFRcEQsTUFBTSxPQUFPLDJCQUEyQjtJQUN0QyxTQUFTLENBQ1AsZUFBaUQsRUFDakQsWUFBcUIsRUFDckIsV0FBcUIsRUFDckIsY0FBdUIsRUFDdkIsS0FBYTtRQUViLE9BQU87WUFDTCxLQUFLLEVBQUUsWUFBWTtZQUNuQixnQkFBZ0IsRUFDZCxDQUFDLENBQUMsV0FBVyxDQUFDLGFBQWE7Z0J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FsaWQtZm9jdXMtb3V0JzpcbiAgICAgICAgKGdldFN1cGVyQ29udHJvbD8udmFsdWUgJiZcbiAgICAgICAgICBnZXRTdXBlckNvbnRyb2w/LnZhbGlkICYmXG4gICAgICAgICAgIWlzRm9jdXNJbnB1dCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5pc0Rpc2FibGVkKSB8fFxuICAgICAgICAoIWlucHV0Q29uZmlnLmRyb3Bkb3duSW1hZ2VJbnB1dD8ud2l0aFRleHQgJiZcbiAgICAgICAgICBpbnB1dENvbmZpZy5kcm9wZG93bkltYWdlSW5wdXQ/LnVybCAmJlxuICAgICAgICAgICFpc0ZvY3VzSW5wdXQgJiZcbiAgICAgICAgICAhaW5wdXRDb25maWcuaXNEaXNhYmxlZCksXG4gICAgICAnaW52YWxpZC1mb2N1cy1pbic6XG4gICAgICAgIChnZXRTdXBlckNvbnRyb2w/LnZhbHVlICYmXG4gICAgICAgICAgZ2V0U3VwZXJDb250cm9sPy5pbnZhbGlkICYmXG4gICAgICAgICAgaXNGb2N1c0lucHV0ICYmXG4gICAgICAgICAgIWlucHV0Q29uZmlnLmlzRGlzYWJsZWQpIHx8XG4gICAgICAgIChpc0ZvY3VzSW5wdXQgJiZcbiAgICAgICAgICBnZXRTdXBlckNvbnRyb2w/LnZhbHVlICYmXG4gICAgICAgICAgaW5wdXRDb25maWcuaXNJbnZhbGlkU2VhcmNoSW5Ecm9wZG93biAmJlxuICAgICAgICAgIGlucHV0Q29uZmlnLmlzRHJvcGRvd24gJiZcbiAgICAgICAgICAhaW5wdXRDb25maWcuYmxhY2tJbnB1dCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5tZXJnZURyb3Bkb3duQm9keVdpdGhJbnB1dCAmJlxuICAgICAgICAgICFpbnB1dENvbmZpZy5pc0Rpc2FibGVkKSxcbiAgICAgICdpbnZhbGlkLWZvY3VzLW91dCc6XG4gICAgICAgICFnZXRTdXBlckNvbnRyb2w/LnZhbHVlICYmXG4gICAgICAgIGdldFN1cGVyQ29udHJvbD8uaW52YWxpZCAmJlxuICAgICAgICAoaXNUb3VjaGVkSW5wdXQgfHwgZ2V0U3VwZXJDb250cm9sPy50b3VjaGVkKSAmJlxuICAgICAgICAhaXNGb2N1c0lucHV0ICYmXG4gICAgICAgICFpbnB1dENvbmZpZy5pc0Rpc2FibGVkLFxuICAgICAgJ2ludmFsaWQtc2VhcmNoLWluLWRyb3Bkb3duLWZvY3VzLWluJzpcbiAgICAgICAgaW5wdXRDb25maWcuaXNJbnZhbGlkU2VhcmNoSW5Ecm9wZG93biAmJlxuICAgICAgICBpbnB1dENvbmZpZy5pc0Ryb3Bkb3duICYmXG4gICAgICAgIGlzRm9jdXNJbnB1dCAmJlxuICAgICAgICBnZXRTdXBlckNvbnRyb2w/LnZhbHVlICYmXG4gICAgICAgIGdldFN1cGVyQ29udHJvbD8uaW52YWxpZCAmJlxuICAgICAgICAhaW5wdXRDb25maWcuaXNEaXNhYmxlZCxcbiAgICB9O1xuICB9XG59XG4iXX0=
@@ -0,0 +1,88 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class InputErrorPipe {
4
+ transform(value, inputName) {
5
+ let errorMessageValue = '';
6
+ if (value !== null) {
7
+ if (value['required']) {
8
+ errorMessageValue = 'Required';
9
+ }
10
+ else if (value['invalid']) {
11
+ errorMessageValue = 'Invalid';
12
+ }
13
+ else if (value['minlength']) {
14
+ errorMessageValue = `${value['minlength'].requiredLength} Characters Min`;
15
+ }
16
+ else if (value['maxlength']) {
17
+ errorMessageValue = `${value['maxlength'].requiredLength} Characters Max`;
18
+ }
19
+ else if (value['min']) {
20
+ errorMessageValue = `${value['min']} Is Minimum Value`;
21
+ }
22
+ else if (value['max']) {
23
+ errorMessageValue = `${value['max']} Is Maximum Value`;
24
+ }
25
+ else if (value['passwordDontMatch']) {
26
+ errorMessageValue = "Passwords don't match.";
27
+ }
28
+ else if (value['fuelStore']) {
29
+ errorMessageValue = 'Store already added.';
30
+ }
31
+ else if (value['fuelStoreCommonMessage']) {
32
+ errorMessageValue = 'Already in use by other fuel stop.';
33
+ }
34
+ else if (value['pattern']?.requiredPattern) {
35
+ switch (inputName?.toLowerCase()) {
36
+ case 'phone': {
37
+ errorMessageValue = 'Invalid';
38
+ break;
39
+ }
40
+ case 'ssn': {
41
+ errorMessageValue = 'Invalid';
42
+ break;
43
+ }
44
+ case 'ein': {
45
+ errorMessageValue = 'Invalid';
46
+ break;
47
+ }
48
+ default: {
49
+ errorMessageValue = `Invalid`;
50
+ break;
51
+ }
52
+ }
53
+ }
54
+ else if (value['userDoesntExist']) {
55
+ errorMessageValue = "This user doesn't exist";
56
+ }
57
+ else if (value['userAlreadyRegistered']) {
58
+ errorMessageValue = 'This user is already registered';
59
+ }
60
+ else if (value['wrongPassword']) {
61
+ errorMessageValue = 'Wrong password, try again';
62
+ }
63
+ else if (value['einAlreadyExist'] ||
64
+ value['phoneAlreadyExist'] ||
65
+ value['emailAlreadyExist'] ||
66
+ value['ssnAlreadyExist']) {
67
+ errorMessageValue = 'Already in use';
68
+ }
69
+ else if (value['incorrectVinNumber']) {
70
+ errorMessageValue = '13 or 17 characters';
71
+ }
72
+ else {
73
+ errorMessageValue = `Invalid`;
74
+ }
75
+ }
76
+ return errorMessageValue;
77
+ }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputErrorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
79
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputErrorPipe, isStandalone: true, name: "inputError" }); }
80
+ }
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputErrorPipe, decorators: [{
82
+ type: Pipe,
83
+ args: [{
84
+ name: 'inputError',
85
+ standalone: true,
86
+ }]
87
+ }] });
88
+ //# sourceMappingURL=data:application/json;base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ICAgICAgIGNhc2UgJ3Nzbic6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGVycm9yTWVzc2FnZVZhbHVlID0gJ0ludmFsaWQnO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnZWluJzoge1xuICAgICAgICAgICAgICAgICAgICAgICAgZXJyb3JNZXNzYWdlVmFsdWUgPSAnSW52YWxpZCc7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBkZWZhdWx0OiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBlcnJvck1lc3NhZ2VWYWx1ZSA9IGBJbnZhbGlkYDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIGlmICh2YWx1ZVsndXNlckRvZXNudEV4aXN0J10pIHtcbiAgICAgICAgICAgICAgICBlcnJvck1lc3NhZ2VWYWx1ZSA9IFwiVGhpcyB1c2VyIGRvZXNuJ3QgZXhpc3RcIjtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodmFsdWVbJ3VzZXJBbHJlYWR5UmVnaXN0ZXJlZCddKSB7XG4gICAgICAgICAgICAgICAgZXJyb3JNZXNzYWdlVmFsdWUgPSAnVGhpcyB1c2VyIGlzIGFscmVhZHkgcmVnaXN0ZXJlZCc7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHZhbHVlWyd3cm9uZ1Bhc3N3b3JkJ10pIHtcbiAgICAgICAgICAgICAgICBlcnJvck1lc3NhZ2VWYWx1ZSA9ICdXcm9uZyBwYXNzd29yZCwgdHJ5IGFnYWluJztcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICAgICAgdmFsdWVbJ2VpbkFscmVhZHlFeGlzdCddIHx8XG4gICAgICAgICAgICAgICAgdmFsdWVbJ3Bob25lQWxyZWFkeUV4aXN0J10gfHxcbiAgICAgICAgICAgICAgICB2YWx1ZVsnZW1haWxBbHJlYWR5RXhpc3QnXSB8fFxuICAgICAgICAgICAgICAgIHZhbHVlWydzc25BbHJlYWR5RXhpc3QnXVxuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgZXJyb3JNZXNzYWdlVmFsdWUgPSAnQWxyZWFkeSBpbiB1c2UnO1xuICAgICAgICAgICAgfSBlbHNlIGlmICh2YWx1ZVsnaW5jb3JyZWN0VmluTnVtYmVyJ10pIHtcbiAgICAgICAgICAgICAgICBlcnJvck1lc3NhZ2VWYWx1ZSA9ICcxMyBvciAxNyBjaGFyYWN0ZXJzJztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgZXJyb3JNZXNzYWdlVmFsdWUgPSBgSW52YWxpZGA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGVycm9yTWVzc2FnZVZhbHVlO1xuICAgIH1cbn1cbiJdfQ==
@@ -0,0 +1,37 @@
1
+ import { Pipe } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export class InputPasswordEyeClassPipe {
4
+ transform(getSuperControl, isFocusInput, inputConfig, isTouchedInput, value) {
5
+ return {
6
+ visible: getSuperControl?.value,
7
+ inactive: inputConfig.isDisabled,
8
+ "valid-focus-out": getSuperControl?.value &&
9
+ getSuperControl?.valid &&
10
+ !isFocusInput &&
11
+ !inputConfig.isDisabled,
12
+ "valid-focus-in": getSuperControl?.value &&
13
+ getSuperControl?.valid &&
14
+ isFocusInput &&
15
+ !inputConfig.isDisabled,
16
+ "invalid-focus-out": getSuperControl?.value &&
17
+ getSuperControl?.invalid &&
18
+ !inputConfig.isDisabled &&
19
+ (isTouchedInput || getSuperControl?.touched) &&
20
+ !isFocusInput,
21
+ "invalid-focus-in": getSuperControl?.value &&
22
+ getSuperControl?.invalid &&
23
+ isFocusInput &&
24
+ !inputConfig.isDisabled,
25
+ };
26
+ }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPasswordEyeClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
28
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputPasswordEyeClassPipe, isStandalone: true, name: "inputPasswordEyeClass" }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPasswordEyeClassPipe, decorators: [{
31
+ type: Pipe,
32
+ args: [{
33
+ name: "inputPasswordEyeClass",
34
+ standalone: true,
35
+ }]
36
+ }] });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGFzc3dvcmQtZXllLWNsYXNzLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1pbnB1dC10ZXN0L3BpcGVzL2lucHV0LXBhc3N3b3JkLWV5ZS1jbGFzcy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQVFwRCxNQUFNLE9BQU8seUJBQXlCO0lBQ3BDLFNBQVMsQ0FDUCxlQUFpRCxFQUNqRCxZQUFxQixFQUNyQixXQUFxQixFQUNyQixjQUF1QixFQUN2QixLQUFhO1FBRWIsT0FBTztZQUNMLE9BQU8sRUFBRSxlQUFlLEVBQUUsS0FBSztZQUMvQixRQUFRLEVBQUUsV0FBVyxDQUFDLFVBQVc7WUFDakMsaUJBQWlCLEVBQ2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