ca-components 1.3.35 → 1.3.37

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 (220) hide show
  1. package/assets/scss/icons.scss +29 -4
  2. package/assets/scss/input-dropdown-test.scss +2030 -0
  3. package/assets/scss/text-selection.scss +0 -14
  4. package/esm2022/lib/ca-components.module.mjs +8 -2
  5. package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
  6. package/esm2022/lib/components/ca-chart/ca-chart.component.mjs +5 -4
  7. package/esm2022/lib/components/ca-checkbox/ca-checkbox.component.mjs +2 -2
  8. package/esm2022/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.mjs +2 -2
  9. package/esm2022/lib/components/ca-comment/ca-comment.component.mjs +2 -2
  10. package/esm2022/lib/components/ca-comment/modals/comment-modal/comment-modal.component.mjs +3 -3
  11. package/esm2022/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.mjs +3 -3
  12. package/esm2022/lib/components/ca-details-dropdown/ca-details-dropdown.component.mjs +2 -2
  13. package/esm2022/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.mjs +3 -3
  14. package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +2 -2
  15. package/esm2022/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.mjs +2 -2
  16. package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +2 -2
  17. package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +2 -2
  18. package/esm2022/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.mjs +2 -2
  19. package/esm2022/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.mjs +2 -2
  20. package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +2 -2
  21. package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +3 -3
  22. package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +2 -2
  23. package/esm2022/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.mjs +2 -2
  24. package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +2 -2
  25. package/esm2022/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.mjs +2 -2
  26. package/esm2022/lib/components/ca-input/ca-input.component.mjs +2 -2
  27. package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +2 -2
  28. package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +2 -2
  29. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +2 -2
  30. package/esm2022/lib/components/ca-input-note/ca-input-note.component.mjs +2 -2
  31. package/esm2022/lib/components/ca-input-test/base-classes/ca-input-event-manager.mjs +24 -0
  32. package/esm2022/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.mjs +66 -0
  33. package/esm2022/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.mjs +48 -0
  34. package/esm2022/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.mjs +63 -0
  35. package/esm2022/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +85 -0
  36. package/esm2022/lib/components/ca-input-test/config/ca-input.config.mjs +2 -0
  37. package/esm2022/lib/components/ca-input-test/config/index.mjs +2 -0
  38. package/esm2022/lib/components/ca-input-test/directives/caps-lock.directive.mjs +50 -0
  39. package/esm2022/lib/components/ca-input-test/directives/command-visible.directive.mjs +48 -0
  40. package/esm2022/lib/components/ca-input-test/directives/index.mjs +6 -0
  41. package/esm2022/lib/components/ca-input-test/directives/input-max-value.directive.mjs +53 -0
  42. package/esm2022/lib/components/ca-input-test/directives/min-max-value.directive.mjs +41 -0
  43. package/esm2022/lib/components/ca-input-test/directives/price_format.directive.mjs +41 -0
  44. package/esm2022/lib/components/ca-input-test/directives/restrict-input.directive.mjs +94 -0
  45. package/esm2022/lib/components/ca-input-test/enums/index.mjs +5 -0
  46. package/esm2022/lib/components/ca-input-test/enums/input-commands-action.enum.mjs +11 -0
  47. package/esm2022/lib/components/ca-input-test/enums/input-commands-type.enum.mjs +8 -0
  48. package/esm2022/lib/components/ca-input-test/enums/input-config-name-string.enum.mjs +9 -0
  49. package/esm2022/lib/components/ca-input-test/enums/input-string.enum.mjs +114 -0
  50. package/esm2022/lib/components/ca-input-test/enums/input-text-transform.enum.mjs +9 -0
  51. package/esm2022/lib/components/ca-input-test/input-test.component.mjs +273 -0
  52. package/esm2022/lib/components/ca-input-test/mixins/input-command.mixin.mjs +124 -0
  53. package/esm2022/lib/components/ca-input-test/mixins/input-helper.mixin.mjs +49 -0
  54. package/esm2022/lib/components/ca-input-test/mixins/restriction-pipe.mixin.mjs +34 -0
  55. package/esm2022/lib/components/ca-input-test/models/base.model.mjs +2 -0
  56. package/esm2022/lib/components/ca-input-test/models/command-click.model.mjs +2 -0
  57. package/esm2022/lib/components/ca-input-test/models/commands-event.model.mjs +2 -0
  58. package/esm2022/lib/components/ca-input-test/models/index.mjs +4 -0
  59. package/esm2022/lib/components/ca-input-test/models/label-color.model.mjs +2 -0
  60. package/esm2022/lib/components/ca-input-test/pipes/color-finder.pipe.mjs +62 -0
  61. package/esm2022/lib/components/ca-input-test/pipes/form-control.pipe.mjs +17 -0
  62. package/esm2022/lib/components/ca-input-test/pipes/index.mjs +20 -0
  63. package/esm2022/lib/components/ca-input-test/pipes/input-class.pipe.mjs +155 -0
  64. package/esm2022/lib/components/ca-input-test/pipes/input-clear-class.pipe.mjs +87 -0
  65. package/esm2022/lib/components/ca-input-test/pipes/input-container-class.pipe.mjs +58 -0
  66. package/esm2022/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.mjs +77 -0
  67. package/esm2022/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.mjs +61 -0
  68. package/esm2022/lib/components/ca-input-test/pipes/input-error.pipe.mjs +88 -0
  69. package/esm2022/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.mjs +37 -0
  70. package/esm2022/lib/components/ca-input-test/pipes/input-pattern.pipe.mjs +326 -0
  71. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.mjs +46 -0
  72. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.mjs +58 -0
  73. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.mjs +45 -0
  74. package/esm2022/lib/components/ca-input-test/pipes/input-type.pipe.mjs +25 -0
  75. package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +38 -0
  76. package/esm2022/lib/components/ca-input-test/pipes/show-clear.pipe.mjs +22 -0
  77. package/esm2022/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.mjs +26 -0
  78. package/esm2022/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.mjs +27 -0
  79. package/esm2022/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.mjs +24 -0
  80. package/esm2022/lib/components/ca-input-test/pipes/show-valid-check.pipe.mjs +27 -0
  81. package/esm2022/lib/components/ca-input-test/utils/index.mjs +3 -0
  82. package/esm2022/lib/components/ca-input-test/utils/input-change-value.type.mjs +2 -0
  83. package/esm2022/lib/components/ca-input-test/utils/input-svg-routes.mjs +17 -0
  84. package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +3 -3
  85. package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +2 -2
  86. package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +3 -3
  87. package/esm2022/lib/components/ca-new-filter/ca-filter-dropdown.component.mjs +3 -3
  88. package/esm2022/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.mjs +3 -3
  89. package/esm2022/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.mjs +3 -3
  90. package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +2 -2
  91. package/esm2022/lib/components/ca-note/ca-note.component.mjs +2 -2
  92. package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +2 -2
  93. package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +2 -2
  94. package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +2 -2
  95. package/esm2022/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.mjs +3 -3
  96. package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +2 -2
  97. package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
  98. package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +3 -3
  99. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +3 -3
  100. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +3 -3
  101. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +3 -3
  102. package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +3 -3
  103. package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +2 -2
  104. package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +2 -2
  105. package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +2 -2
  106. package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +2 -2
  107. package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +2 -2
  108. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +3 -3
  109. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
  110. 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
  111. package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +2 -2
  112. package/esm2022/lib/components/ca-search-multiple-states/models/tab-data.model.mjs +1 -1
  113. package/esm2022/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.mjs +2 -2
  114. package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +2 -2
  115. package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +3 -3
  116. package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +3 -3
  117. package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +3 -3
  118. package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
  119. package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +2 -2
  120. package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +3 -3
  121. package/esm2022/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.mjs +3 -3
  122. package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +2 -2
  123. package/esm2022/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.mjs +3 -3
  124. package/esm2022/lib/components/ca-vehicle-list/ca-vehicle-list.component.mjs +75 -0
  125. package/esm2022/lib/components/ca-vehicle-list/enums/index.mjs +2 -0
  126. package/esm2022/lib/components/ca-vehicle-list/enums/vehicle-list.enum.mjs +6 -0
  127. package/esm2022/lib/components/ca-vehicle-list/interfaces/index.mjs +3 -0
  128. package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.mjs +2 -0
  129. package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.mjs +2 -0
  130. package/esm2022/lib/components/ca-vehicle-list/models/index.mjs +2 -0
  131. package/esm2022/lib/components/ca-vehicle-list/models/vehicle-list.model.mjs +2 -0
  132. package/esm2022/lib/components/ca-vehicle-list/types/index.mjs +2 -0
  133. package/esm2022/lib/components/ca-vehicle-list/types/vehicle-list.type.mjs +2 -0
  134. package/esm2022/lib/components/ca-vehicle-list/utils/constants/index.mjs +2 -0
  135. package/esm2022/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.mjs +4 -0
  136. package/esm2022/lib/components/ca-vehicle-list/utils/svg-routes/index.mjs +2 -0
  137. package/esm2022/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.mjs +7 -0
  138. package/esm2022/lib/pipes/index.mjs +2 -1
  139. package/esm2022/lib/pipes/truck-trailer-color-finder.pipe.mjs +72 -0
  140. package/esm2022/public-api.mjs +7 -2
  141. package/fesm2022/ca-components.mjs +2618 -513
  142. package/fesm2022/ca-components.mjs.map +1 -1
  143. package/lib/ca-components.module.d.ts +4 -3
  144. package/lib/components/ca-input-test/base-classes/ca-input-event-manager.d.ts +16 -0
  145. package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.d.ts +20 -0
  146. package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.d.ts +16 -0
  147. package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.d.ts +20 -0
  148. package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +26 -0
  149. package/lib/components/ca-input-test/config/ca-input.config.d.ts +168 -0
  150. package/lib/components/ca-input-test/config/index.d.ts +1 -0
  151. package/lib/components/ca-input-test/directives/caps-lock.directive.d.ts +14 -0
  152. package/lib/components/ca-input-test/directives/index.d.ts +5 -0
  153. package/lib/components/ca-input-test/directives/input-max-value.directive.d.ts +12 -0
  154. package/lib/components/ca-input-test/directives/min-max-value.directive.d.ts +13 -0
  155. package/lib/components/ca-input-test/directives/price_format.directive.d.ts +11 -0
  156. package/lib/components/ca-input-test/directives/restrict-input.directive.d.ts +27 -0
  157. package/lib/components/ca-input-test/enums/index.d.ts +4 -0
  158. package/lib/components/ca-input-test/enums/input-commands-action.enum.d.ts +9 -0
  159. package/lib/components/ca-input-test/enums/input-commands-type.enum.d.ts +6 -0
  160. package/lib/components/ca-input-test/enums/input-config-name-string.enum.d.ts +7 -0
  161. package/lib/components/ca-input-test/enums/input-string.enum.d.ts +112 -0
  162. package/lib/components/ca-input-test/enums/input-text-transform.enum.d.ts +6 -0
  163. package/lib/components/{ca-input/input-test → ca-input-test}/input-test.component.d.ts +13 -12
  164. package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.d.ts +12 -0
  165. package/lib/components/ca-input-test/models/command-click.model.d.ts +5 -0
  166. package/lib/components/ca-input-test/models/commands-event.model.d.ts +5 -0
  167. package/lib/components/ca-input-test/models/index.d.ts +3 -0
  168. package/lib/components/ca-input-test/models/label-color.model.d.ts +11 -0
  169. package/lib/components/ca-input-test/pipes/color-finder.pipe.d.ts +7 -0
  170. package/lib/components/ca-input-test/pipes/form-control.pipe.d.ts +8 -0
  171. package/lib/components/ca-input-test/pipes/index.d.ts +19 -0
  172. package/lib/components/ca-input-test/pipes/input-class.pipe.d.ts +13 -0
  173. package/lib/components/ca-input-test/pipes/input-clear-class.pipe.d.ts +11 -0
  174. package/lib/components/ca-input-test/pipes/input-container-class.pipe.d.ts +11 -0
  175. package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.d.ts +11 -0
  176. package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.d.ts +11 -0
  177. package/lib/components/ca-input-test/pipes/input-error.pipe.d.ts +7 -0
  178. package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.d.ts +11 -0
  179. package/lib/components/ca-input-test/pipes/input-pattern.pipe.d.ts +38 -0
  180. package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.d.ts +11 -0
  181. package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.d.ts +12 -0
  182. package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.d.ts +11 -0
  183. package/lib/components/ca-input-test/pipes/input-type.pipe.d.ts +7 -0
  184. package/lib/components/ca-input-test/pipes/label-class.pipe.d.ts +10 -0
  185. package/lib/components/ca-input-test/pipes/show-clear.pipe.d.ts +8 -0
  186. package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.d.ts +8 -0
  187. package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.d.ts +9 -0
  188. package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.d.ts +9 -0
  189. package/lib/components/ca-input-test/pipes/show-valid-check.pipe.d.ts +9 -0
  190. package/lib/components/ca-input-test/utils/index.d.ts +2 -0
  191. package/lib/components/ca-input-test/utils/input-change-value.type.d.ts +1 -0
  192. package/lib/components/ca-input-test/utils/input-svg-routes.d.ts +16 -0
  193. package/lib/components/ca-vehicle-list/ca-vehicle-list.component.d.ts +20 -0
  194. package/lib/components/ca-vehicle-list/enums/index.d.ts +1 -0
  195. package/lib/components/ca-vehicle-list/enums/vehicle-list.enum.d.ts +4 -0
  196. package/lib/components/ca-vehicle-list/interfaces/index.d.ts +2 -0
  197. package/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.d.ts +5 -0
  198. package/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.d.ts +7 -0
  199. package/lib/components/ca-vehicle-list/models/index.d.ts +1 -0
  200. package/lib/components/ca-vehicle-list/models/vehicle-list.model.d.ts +11 -0
  201. package/lib/components/ca-vehicle-list/types/index.d.ts +1 -0
  202. package/lib/components/ca-vehicle-list/types/vehicle-list.type.d.ts +2 -0
  203. package/lib/components/ca-vehicle-list/utils/constants/index.d.ts +1 -0
  204. package/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.d.ts +3 -0
  205. package/lib/components/ca-vehicle-list/utils/svg-routes/index.d.ts +1 -0
  206. package/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.d.ts +6 -0
  207. package/lib/pipes/index.d.ts +1 -0
  208. package/lib/pipes/truck-trailer-color-finder.pipe.d.ts +7 -0
  209. package/package.json +1 -1
  210. package/public-api.d.ts +6 -1
  211. package/src/assets/ca-components/svg/common/fuel.svg +4 -0
  212. package/esm2022/lib/components/ca-input/directives/command-visible.directive.mjs +0 -48
  213. package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +0 -266
  214. package/esm2022/lib/components/ca-input/mixins/input-command.mixin.mjs +0 -127
  215. package/esm2022/lib/components/ca-input/mixins/input-helper.mixin.mjs +0 -49
  216. package/esm2022/lib/components/ca-input/models/base.model.mjs +0 -2
  217. /package/lib/components/{ca-input → ca-input-test}/directives/command-visible.directive.d.ts +0 -0
  218. /package/lib/components/{ca-input → ca-input-test}/mixins/input-command.mixin.d.ts +0 -0
  219. /package/lib/components/{ca-input → ca-input-test}/mixins/input-helper.mixin.d.ts +0 -0
  220. /package/lib/components/{ca-input → ca-input-test}/models/base.model.d.ts +0 -0
@@ -40,10 +40,11 @@ import * as i38 from "./components/ca-upload-files/ca-upload-files.component";
40
40
  import * as i39 from "./components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component";
41
41
  import * as i40 from "./components/ca-progress-range/ca-progress-range.component";
42
42
  import * as i41 from "./components/ca-tooltip-list/ca-tooltip-list.component";
43
- import * as i42 from "./components/ca-input/input-test/input-test.component";
44
- import * as i43 from "./components/ca-checkbox/ca-checkbox.component";
43
+ import * as i42 from "./components/ca-input-test/input-test.component";
44
+ import * as i43 from "./components/ca-vehicle-list/ca-vehicle-list.component";
45
+ import * as i44 from "./components/ca-checkbox/ca-checkbox.component";
45
46
  export declare class CaComponentsLibModule {
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<CaComponentsLibModule, never>;
47
- static ɵmod: i0.ɵɵNgModuleDeclaration<CaComponentsLibModule, never, [typeof i1.CommonModule, typeof i2.CaProfileImageComponent, typeof i3.CaRatingReviewComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i6.CaFilterComponent, typeof i7.CaFilterDropdownComponent, typeof i8.CaFilterStateDropdownComponent, typeof i9.CaFilterTimeDropdownComponent, typeof i10.CaFilterListDropdownComponent, typeof i11.CaInputComponent, typeof i12.CaInputDatetimePickerComponent, typeof i13.CaInputRadiobuttonsComponent, typeof i14.CaInputDropdownComponent, typeof i15.CaMapComponent, typeof i16.CaMapDropdownComponent, typeof i17.CaNoteComponent, typeof i18.CaNoteContainerComponent, typeof i19.CaPayrollListSummaryOverviewComponent, typeof i20.CaPayrollListSummaryOverviewTableComponent, typeof i21.PickupDeliveryBlockComponent, typeof i22.ProgressBarComponent, typeof i23.CaSearchMultipleStatesComponent, typeof i24.CaSpinnerComponent, typeof i25.CaTodoComponent, typeof i26.CaTruckTrailerProgresBarComponent, typeof i27.CaPeriodContentComponent, typeof i28.CaInputNoteComponent, typeof i29.CaInputAddressDropdownComponent, typeof i30.CaMainTableComponent, typeof i31.CaActivityLogListComponent, typeof i32.CaRightSidePanelMenuComponent, typeof i33.CaRightSidePanelTopBarComponent, typeof i34.CaRightSidePanelComponent, typeof i35.CaChartComponent, typeof i36.CaChartManagerComponent, typeof i37.CaDropdownMenuComponent, typeof i38.CaUploadFilesComponent, typeof i39.CaRightSidePanelCompanyComponent, typeof i40.CaProgressRangeComponent, typeof i41.CaTooltipListComponent, typeof i42.InputTestComponent, typeof i43.CaCheckboxComponent], [typeof i2.CaProfileImageComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i3.CaRatingReviewComponent, typeof i6.CaFilterComponent, typeof i7.CaFilterDropdownComponent, typeof i8.CaFilterStateDropdownComponent, typeof i9.CaFilterTimeDropdownComponent, typeof i10.CaFilterListDropdownComponent, typeof i11.CaInputComponent, typeof i12.CaInputDatetimePickerComponent, typeof i13.CaInputRadiobuttonsComponent, typeof i14.CaInputDropdownComponent, typeof i15.CaMapComponent, typeof i16.CaMapDropdownComponent, typeof i17.CaNoteComponent, typeof i18.CaNoteContainerComponent, typeof i19.CaPayrollListSummaryOverviewComponent, typeof i20.CaPayrollListSummaryOverviewTableComponent, typeof i21.PickupDeliveryBlockComponent, typeof i22.ProgressBarComponent, typeof i23.CaSearchMultipleStatesComponent, typeof i24.CaSpinnerComponent, typeof i26.CaTruckTrailerProgresBarComponent, typeof i27.CaPeriodContentComponent, typeof i28.CaInputNoteComponent, typeof i30.CaMainTableComponent, typeof i31.CaActivityLogListComponent, typeof i32.CaRightSidePanelMenuComponent, typeof i33.CaRightSidePanelTopBarComponent, typeof i34.CaRightSidePanelComponent, typeof i35.CaChartComponent, typeof i36.CaChartManagerComponent, typeof i37.CaDropdownMenuComponent, typeof i38.CaUploadFilesComponent, typeof i39.CaRightSidePanelCompanyComponent, typeof i40.CaProgressRangeComponent, typeof i41.CaTooltipListComponent, typeof i29.CaInputAddressDropdownComponent, typeof i42.InputTestComponent, typeof i43.CaCheckboxComponent]>;
48
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CaComponentsLibModule, never, [typeof i1.CommonModule, typeof i2.CaProfileImageComponent, typeof i3.CaRatingReviewComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i6.CaFilterComponent, typeof i7.CaFilterDropdownComponent, typeof i8.CaFilterStateDropdownComponent, typeof i9.CaFilterTimeDropdownComponent, typeof i10.CaFilterListDropdownComponent, typeof i11.CaInputComponent, typeof i12.CaInputDatetimePickerComponent, typeof i13.CaInputRadiobuttonsComponent, typeof i14.CaInputDropdownComponent, typeof i15.CaMapComponent, typeof i16.CaMapDropdownComponent, typeof i17.CaNoteComponent, typeof i18.CaNoteContainerComponent, typeof i19.CaPayrollListSummaryOverviewComponent, typeof i20.CaPayrollListSummaryOverviewTableComponent, typeof i21.PickupDeliveryBlockComponent, typeof i22.ProgressBarComponent, typeof i23.CaSearchMultipleStatesComponent, typeof i24.CaSpinnerComponent, typeof i25.CaTodoComponent, typeof i26.CaTruckTrailerProgresBarComponent, typeof i27.CaPeriodContentComponent, typeof i28.CaInputNoteComponent, typeof i29.CaInputAddressDropdownComponent, typeof i30.CaMainTableComponent, typeof i31.CaActivityLogListComponent, typeof i32.CaRightSidePanelMenuComponent, typeof i33.CaRightSidePanelTopBarComponent, typeof i34.CaRightSidePanelComponent, typeof i35.CaChartComponent, typeof i36.CaChartManagerComponent, typeof i37.CaDropdownMenuComponent, typeof i38.CaUploadFilesComponent, typeof i39.CaRightSidePanelCompanyComponent, typeof i40.CaProgressRangeComponent, typeof i41.CaTooltipListComponent, typeof i42.InputTestComponent, typeof i43.CaVehicleListComponent, typeof i44.CaCheckboxComponent], [typeof i2.CaProfileImageComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i3.CaRatingReviewComponent, typeof i6.CaFilterComponent, typeof i7.CaFilterDropdownComponent, typeof i8.CaFilterStateDropdownComponent, typeof i9.CaFilterTimeDropdownComponent, typeof i10.CaFilterListDropdownComponent, typeof i11.CaInputComponent, typeof i12.CaInputDatetimePickerComponent, typeof i13.CaInputRadiobuttonsComponent, typeof i14.CaInputDropdownComponent, typeof i15.CaMapComponent, typeof i16.CaMapDropdownComponent, typeof i17.CaNoteComponent, typeof i18.CaNoteContainerComponent, typeof i19.CaPayrollListSummaryOverviewComponent, typeof i20.CaPayrollListSummaryOverviewTableComponent, typeof i21.PickupDeliveryBlockComponent, typeof i22.ProgressBarComponent, typeof i23.CaSearchMultipleStatesComponent, typeof i24.CaSpinnerComponent, typeof i26.CaTruckTrailerProgresBarComponent, typeof i27.CaPeriodContentComponent, typeof i28.CaInputNoteComponent, typeof i30.CaMainTableComponent, typeof i31.CaActivityLogListComponent, typeof i32.CaRightSidePanelMenuComponent, typeof i33.CaRightSidePanelTopBarComponent, typeof i34.CaRightSidePanelComponent, typeof i35.CaChartComponent, typeof i36.CaChartManagerComponent, typeof i37.CaDropdownMenuComponent, typeof i38.CaUploadFilesComponent, typeof i39.CaRightSidePanelCompanyComponent, typeof i40.CaProgressRangeComponent, typeof i41.CaTooltipListComponent, typeof i29.CaInputAddressDropdownComponent, typeof i42.InputTestComponent, typeof i43.CaVehicleListComponent, typeof i44.CaCheckboxComponent]>;
48
49
  static ɵinj: i0.ɵɵInjectorDeclaration<CaComponentsLibModule>;
49
50
  }
@@ -0,0 +1,16 @@
1
+ import { Observable } from 'rxjs';
2
+ import { EventEmitter } from '@angular/core';
3
+ export declare class EventInputManager<T> {
4
+ private eventEmitter;
5
+ private stateSubject;
6
+ state$: Observable<T | null>;
7
+ constructor(initialValue: T | null, eventEmitter: EventEmitter<T>);
8
+ /**
9
+ * Update the value and emit the event.
10
+ */
11
+ next(newValue: T): void;
12
+ /**
13
+ * Get the current value.
14
+ */
15
+ get value(): T | null;
16
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { ICaInput } from '../../config';
4
+ import { LabelColor } from '../../models';
5
+ import { InputSvgRoutes } from '../../utils';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CaInputClearComponent {
8
+ inputConfig: ICaInput;
9
+ getSuperControl: AbstractControl<any, any> | null;
10
+ isFocusInput: boolean;
11
+ incorrectValue: boolean;
12
+ selectedDropdownLabelColor: LabelColor | null;
13
+ template: string;
14
+ clearInputClick: EventEmitter<Event>;
15
+ constructor();
16
+ clearInput(event: Event): void;
17
+ getSvgPath(propertyName: keyof typeof InputSvgRoutes): string;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaInputClearComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputClearComponent, "app-ca-input-clear", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "isFocusInput": { "alias": "isFocusInput"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, { "clearInputClick": "clearInputClick"; }, never, never, true, never>;
20
+ }
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { ICaInput } from "../../config";
3
+ import { CommandClick } from "../../models";
4
+ import { InputCommandsType } from "../../enums";
5
+ import * as i0 from "@angular/core";
6
+ export declare class CaInputCommandsComponent {
7
+ inputConfig: ICaInput;
8
+ isFocusInput: boolean;
9
+ isVisibleCommands: boolean;
10
+ onCommandsClick: EventEmitter<CommandClick>;
11
+ inputCommandsType: typeof InputCommandsType;
12
+ constructor();
13
+ onCommands(event: Event, type: string, action: string): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaInputCommandsComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputCommandsComponent, "app-ca-input-commands", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "isFocusInput": { "alias": "isFocusInput"; "required": false; }; "isVisibleCommands": { "alias": "isVisibleCommands"; "required": false; }; }, { "onCommandsClick": "onCommandsClick"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter, OnInit } from "@angular/core";
2
+ import { AbstractControl } from "@angular/forms";
3
+ import { InputSvgRoutes } from "../../utils";
4
+ import { ICaInput } from "../../config";
5
+ import * as i0 from "@angular/core";
6
+ export declare class CaInputPasswordComponent implements OnInit {
7
+ inputConfig: ICaInput;
8
+ getSuperControl: AbstractControl<any, any> | null;
9
+ isFocusInput: boolean;
10
+ isTouchedInput: boolean;
11
+ isCapsLockOn: boolean;
12
+ isTogglePassword: boolean;
13
+ onTogglePasswordClick: EventEmitter<Event>;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ onTogglePassword(event: Event): void;
17
+ getSvgPath(propertyName: keyof typeof InputSvgRoutes): string;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaInputPasswordComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputPasswordComponent, "app-ca-input-password", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "isFocusInput": { "alias": "isFocusInput"; "required": false; }; "isTouchedInput": { "alias": "isTouchedInput"; "required": false; }; "isCapsLockOn": { "alias": "isCapsLockOn"; "required": false; }; "isTogglePassword": { "alias": "isTogglePassword"; "required": false; }; }, { "onTogglePasswordClick": "onTogglePasswordClick"; }, never, never, true, never>;
20
+ }
@@ -0,0 +1,26 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { ICaInput } from '../../config/ca-input.config';
4
+ import { LabelColor } from '../../models/label-color.model';
5
+ import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CaInputPlaceholderIconComponent {
8
+ inputConfig: ICaInput;
9
+ getSuperControl: AbstractControl<any, any> | null;
10
+ isFocusInput: boolean;
11
+ isTouchedInput: boolean;
12
+ selectedDropdownLabelColor: LabelColor | null;
13
+ isEditInput: boolean;
14
+ dateTimePopover: TemplateRef<any>;
15
+ onPopoverShownEmitter: EventEmitter<boolean>;
16
+ onPopoverHiddenEmitter: EventEmitter<boolean>;
17
+ onPlaceholderIconEventEmitter: EventEmitter<Event>;
18
+ t2: NgbPopover;
19
+ ngbMainPopover: NgbPopover;
20
+ constructor();
21
+ onPopoverShown(): void;
22
+ onPopoverHidden(): void;
23
+ onPlaceholderIconEvent(event: Event): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaInputPlaceholderIconComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputPlaceholderIconComponent, "app-ca-input-placeholder-icon", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "isFocusInput": { "alias": "isFocusInput"; "required": false; }; "isTouchedInput": { "alias": "isTouchedInput"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "isEditInput": { "alias": "isEditInput"; "required": false; }; "dateTimePopover": { "alias": "dateTimePopover"; "required": false; }; }, { "onPopoverShownEmitter": "onPopoverShownEmitter"; "onPopoverHiddenEmitter": "onPopoverHiddenEmitter"; "onPlaceholderIconEventEmitter": "onPlaceholderIconEventEmitter"; }, never, never, true, never>;
26
+ }
@@ -0,0 +1,168 @@
1
+ export interface IMultipleInput {
2
+ id?: number;
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 ICaInputDateTimePicker {
16
+ name: string;
17
+ isIconHidden?: boolean;
18
+ customClass?: string;
19
+ isDisabled?: boolean;
20
+ isFutureDateDisabled?: boolean;
21
+ expiredDateInvalid?: boolean;
22
+ isFromDate?: boolean;
23
+ }
24
+ export interface ICaInputWithDropdown {
25
+ withText: boolean;
26
+ svg: boolean;
27
+ image: boolean;
28
+ iconsPath?: string;
29
+ activeItemIconKey?: string;
30
+ url?: string;
31
+ nameInitialsInsteadUrl?: string;
32
+ template?: string;
33
+ color?: string;
34
+ class?: string;
35
+ remove?: boolean;
36
+ }
37
+ export interface ICaInput {
38
+ id?: number | string;
39
+ name: string;
40
+ type: string;
41
+ label?: string;
42
+ labelInInput?: boolean;
43
+ placeholder?: string;
44
+ placeholderIcon?: string;
45
+ placeholderIconRightSide?: string;
46
+ isPlaceHolderIconRightSideDynamicColor?: boolean;
47
+ placeholderIconFolllowTextOnRightSide?: string;
48
+ placeholderIconColor?: string;
49
+ placeholderText?: string;
50
+ placeholderInsteadOfLabel?: boolean;
51
+ inputCursorOnRightSide?: boolean;
52
+ isRequired?: boolean;
53
+ isDisabled?: boolean;
54
+ pattern?: string;
55
+ autocomplete?: string;
56
+ showCount?: boolean;
57
+ minLength?: number;
58
+ maxLength?: number;
59
+ minValue?: number;
60
+ maxValue?: number;
61
+ min?: number;
62
+ max?: number;
63
+ step?: number;
64
+ mask?: string;
65
+ textTransform?: 'capitalize' | 'uppercase' | 'lowercase' | 'capitalizedcase';
66
+ textAlign?: string | 'center';
67
+ blackInput?: boolean;
68
+ blueInput?: boolean;
69
+ incorrectInput?: boolean;
70
+ dangerMark?: boolean;
71
+ autoFocus?: boolean;
72
+ hideClear?: boolean;
73
+ hideRequiredCheck?: boolean;
74
+ hideErrorMessage?: boolean;
75
+ hideDangerMark?: boolean;
76
+ hideDropdownArrow?: boolean;
77
+ requiredLabel?: boolean;
78
+ errorInsideInput?: boolean;
79
+ removeInput?: boolean;
80
+ readOnly?: boolean;
81
+ thousandSeparator?: boolean;
82
+ priceSeparator?: boolean;
83
+ priceSeparatorLimitation?: number;
84
+ loadingSpinner?: {
85
+ size?: string;
86
+ color?: string;
87
+ isLoading?: boolean;
88
+ };
89
+ addressFlag?: string;
90
+ customClass?: string;
91
+ isIconInput?: boolean;
92
+ isValidIcon?: boolean;
93
+ inputIcon?: string;
94
+ multipleInputValues?: {
95
+ options: IMultipleInput[];
96
+ customClass: string;
97
+ };
98
+ multipleLabel?: {
99
+ labels: string[];
100
+ searchLabels?: string[];
101
+ customClass: string;
102
+ };
103
+ isInputBackgroundRemoved?: boolean;
104
+ isBlueText?: boolean;
105
+ commands?: {
106
+ active?: boolean;
107
+ type?: string;
108
+ firstCommand?: {
109
+ popup?: {
110
+ name?: string;
111
+ backgroundColor?: string;
112
+ };
113
+ name?: string;
114
+ svg?: string;
115
+ };
116
+ secondCommand?: {
117
+ popup?: {
118
+ name?: string;
119
+ backgroundColor?: string;
120
+ };
121
+ name?: string;
122
+ svg?: string;
123
+ };
124
+ thirdCommand?: {
125
+ popup?: {
126
+ name?: string;
127
+ backgroundColor?: string;
128
+ };
129
+ name?: string;
130
+ svg?: string;
131
+ };
132
+ setTimeout?: number;
133
+ blueCommands?: boolean;
134
+ };
135
+ defaultValue?: string;
136
+ isDropdown?: boolean;
137
+ isAddress?: boolean;
138
+ searchinGroupIndex?: string;
139
+ dropdownWidthClass?: string;
140
+ dropdownImageInput?: ICaInputWithDropdown | null;
141
+ isInvalidSearchInDropdown?: boolean;
142
+ selectedDropdown?: boolean;
143
+ mergeDropdownBodyWithInput?: boolean;
144
+ hideAllItemsInInputDropdown?: boolean;
145
+ isBlueDropdown?: boolean;
146
+ isItemSelected?: boolean;
147
+ isDisplayingCustomPeriodRange?: boolean;
148
+ isUsingCustomPeriodRange?: boolean;
149
+ isDispatchLocationDropdown?: boolean;
150
+ dropdownLabel?: boolean;
151
+ dropdownLabelNew?: boolean;
152
+ multiselectDropdown?: boolean;
153
+ multiSelectDropdownActive?: boolean;
154
+ multiSelectItemRange?: boolean;
155
+ isFromDate?: boolean;
156
+ hideColorValidations?: boolean;
157
+ expiredDateInvalid?: boolean;
158
+ isFutureDateDisabled?: boolean;
159
+ fixedPlacholder?: string;
160
+ statusStyle?: boolean;
161
+ isIconHidden?: boolean;
162
+ isRemovedIconMovedOnLeft?: boolean;
163
+ removeLeadingZero?: boolean;
164
+ negativeLeadingZero?: boolean;
165
+ isHoverRow?: boolean;
166
+ minutesGapFive?: boolean;
167
+ updateAsTouchedOnEdit?: boolean;
168
+ }
@@ -0,0 +1 @@
1
+ export * from './ca-input.config';
@@ -0,0 +1,14 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CapsLockDirective {
4
+ private el;
5
+ capsLockStatus: EventEmitter<boolean>;
6
+ private capsLockDetected;
7
+ constructor(el: ElementRef);
8
+ onKeyDown(event: KeyboardEvent): void;
9
+ onKeyUP(event: KeyboardEvent): void;
10
+ onFocus(): void;
11
+ onBlur(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CapsLockDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CapsLockDirective, "[appCapsLock]", never, {}, { "capsLockStatus": "capsLockStatus"; }, never, never, true, never>;
14
+ }
@@ -0,0 +1,5 @@
1
+ export * from './min-max-value.directive';
2
+ export * from './caps-lock.directive';
3
+ export * from './input-max-value.directive';
4
+ export * from './price_format.directive';
5
+ export * from './restrict-input.directive';
@@ -0,0 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MaxValueDirective {
4
+ private el;
5
+ appMaxValue?: number;
6
+ constructor(el: ElementRef);
7
+ onInput(event: Event): void;
8
+ onBlur(event: Event): void;
9
+ private formatNumber;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaxValueDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValueDirective, "[appMaxValue]", never, { "appMaxValue": { "alias": "appMaxValue"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ThousandSeparatorPipe } from '../../../pipes/thousand-separator.pipe';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MinMaxValueDirective {
5
+ private el;
6
+ private thousandSeparatorPipe;
7
+ minValue: number;
8
+ maxValue: number;
9
+ constructor(el: ElementRef, thousandSeparatorPipe: ThousandSeparatorPipe);
10
+ onKeyPress(event: KeyboardEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MinMaxValueDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinMaxValueDirective, "[appMinMaxValue]", never, { "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PriceFormatDirective {
4
+ private el;
5
+ constructor(el: ElementRef);
6
+ priceSeparator?: boolean;
7
+ onInput(event: Event): void;
8
+ private formatWithCommas;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<PriceFormatDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PriceFormatDirective, "[priceFormat]", never, { "priceSeparator": { "alias": "priceSeparator"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,27 @@
1
+ import { ElementRef, Injector } from '@angular/core';
2
+ import { ICaInput } from '../config';
3
+ import { InputTransformStringEnum } from '../enums/input-text-transform.enum';
4
+ import * as i0 from "@angular/core";
5
+ declare const RestrictInputDirective_base: {
6
+ new (...args: any[]): {
7
+ checkRangeRegex(value: string): boolean;
8
+ getTextTransformation(value: string, textTransform: InputTransformStringEnum | undefined): string | undefined;
9
+ restrictInput: ICaInput;
10
+ };
11
+ } & {
12
+ new (): {
13
+ restrictInput: ICaInput;
14
+ };
15
+ };
16
+ export declare class RestrictInputDirective extends RestrictInputDirective_base {
17
+ private el;
18
+ private injector;
19
+ restrictInput: ICaInput;
20
+ private inputPatternPipe;
21
+ private lastValidInputValue;
22
+ constructor(el: ElementRef, injector: Injector);
23
+ onInput(event: InputEvent): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<RestrictInputDirective, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RestrictInputDirective, "[restrictInput]", never, { "restrictInput": { "alias": "restrictInput"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
27
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from './input-commands-action.enum';
2
+ export * from './input-commands-type.enum';
3
+ export * from './input-config-name-string.enum';
4
+ export * from './input-string.enum';
@@ -0,0 +1,9 @@
1
+ export declare enum InputCommandsAction {
2
+ DECREMENT = "decrement",
3
+ INCREMENT = "increment",
4
+ RESET = "reset",
5
+ CONFIRM = "confirm",
6
+ CANCEL = "cancel",
7
+ MINUS = "minus",
8
+ PLUS = "plus"
9
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum InputCommandsType {
2
+ PM_INCREMENT_DECREMENT = "pm-increment-decrement",
3
+ INCREMENT_DECREMENT = "increment-decrement",
4
+ CONFIRM_CANCEL = "confirm-cancel",
5
+ MONTHS = "months"
6
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum InputConfigNameStringEnum {
2
+ DATE_PICKER = "datepicker",
3
+ TIME_PICKER = "timepicker",
4
+ DATE_PICKER_BANK_CARD = "datepickerBankCard",
5
+ INPUT_DROPDOWN_BANK_NAME = "Input Dropdown Bank Name",
6
+ ADDRESS = "Address"
7
+ }
@@ -0,0 +1,112 @@
1
+ export declare enum InputStringEnum {
2
+ PHONE = "phone",
3
+ CAPITALIZE = "capitalize",
4
+ UPPERCASE = "uppercase",
5
+ CAPITALIZED_CASE = "capitalizedcase",
6
+ YEAR = "year",
7
+ MONTHS = "months",
8
+ AXLES = "axles",
9
+ FULL_NAME = "full name",
10
+ EMAIL = "email",
11
+ INVOICE = "invoice",
12
+ ADDRESS = "address",
13
+ PERSONS = "persons",
14
+ VEHICLES = "vehicles",
15
+ PRICE_SEPARATOR = "price-separator",
16
+ BUSINESS_NAME = "business name",
17
+ SHOP_NAME = "shop name",
18
+ FUEL_STOP = "fuel stop",
19
+ PRODUCER_NAME = "producer name",
20
+ TERMINAL_NAME = "terminal name",
21
+ EIN = "ein",
22
+ MC_FF = "mc/ff",
23
+ PHONE_EXTENSION = "phone-extension",
24
+ ACCOUNT_BANK = "account-bank",
25
+ ROUTING_BANK = "routing-bank",
26
+ SSN = "ssn",
27
+ FUEL_CARD = "fuel-card",
28
+ EMPTY_WEIGHT = "empty-weight",
29
+ CREDIT_LIMIT = "credit limit",
30
+ PO_BOX = "po box",
31
+ PRICE = "price",
32
+ TRAILER_VOLUME = "trailer-volume",
33
+ REPAIR_ODOMETER = "repair-odometer",
34
+ USDOT = "usdot",
35
+ IRP = "irp",
36
+ STARTING = "starting",
37
+ CUSTOMER_PAY_TERM = "customer pay term",
38
+ CUSTOMER_CREDIT = "customer credit",
39
+ DEFAULT_BASE = "default base",
40
+ EACH_OCCURRENCE = "each occurrence",
41
+ DAMAGE = "damage",
42
+ PERSONAL_ADVER_INJ = "personal-adver-inj",
43
+ MEDICAL_EXPENSES = "medical expenses",
44
+ BODILY_INJURY = "bodily injury",
45
+ GENERAL_AGGREGATE = "general aggregate",
46
+ PRODUCTS_COMP_OP_AGG = "products-comp-op-agg",
47
+ COMBINED_SINGLE_LIMIT = "combined-single-limit",
48
+ SINGLE_CONVEYANCE = "single-conveyance",
49
+ DEDUCTABLE = "deductable",
50
+ COMPREH_COLLISION = "compreh-collision",
51
+ TRAILER_VALUE_INSURANCE_POLICY = "trailer-value-insurance-policy",
52
+ RENT = "rent",
53
+ SALARY = "salary",
54
+ MILEAGE = "mileage",
55
+ EMPTY_WEIGHT_SPACE = "empty weight",
56
+ QTY = "qty",
57
+ PURCHASE_PRICE = "purchase price",
58
+ FUEL_TANK_SIZE = "fuel tank size",
59
+ DEVICE_NO = "device no",
60
+ WEIGHT = "weight",
61
+ FUEL_PER_MILES = "fuel per miles",
62
+ FUEL_PRICE_MAP = "fuel price map",
63
+ AMOUNT = "amount",
64
+ BOL_NO = "bol no.",
65
+ SEAL_NO = "seal no.",
66
+ PICKUP_NO = "pickup no.",
67
+ CODE = "code",
68
+ MULTI_FROM_FIRST_FROM = "multifromfirstfrom",
69
+ MULTI_FROM_FIRST_TO = "multifromfirstto",
70
+ MULTI_FORM_SECOND_FROM = "multiformsecondfrom",
71
+ MULTI_FORM_SECOND_TO = "multiformsecondto",
72
+ MULTI_FORM_THIRD_FROM = "multiformthirdfrom",
73
+ MULTI_FORM_THIRD_TO = "multiformthirdto",
74
+ ADDRESS_UNIT = "address-unit",
75
+ DEPARTMENT = "department",
76
+ VEHICLE_UNIT = "vehicle-unit",
77
+ FIRST_NAME = "first name",
78
+ LAST_NAME = "last name",
79
+ BANK_NAME = "bank name",
80
+ VIN_NUMBER = "vin-number",
81
+ INSURANCE_POLICY = "insurance-policy",
82
+ IFTA = "ifta",
83
+ TRUCK_TRAILER_MODEL = "truck-trailer-model",
84
+ LICENSE_PLATE = "license plate",
85
+ DESCRIPTION = "description",
86
+ ALLOW_ALL = "allow all",
87
+ DBA_NAME = "dba name",
88
+ PER_MILE = "per mile",
89
+ PER_STOP = "per stop",
90
+ FLAT_RATE = "flat rate",
91
+ PER_LOAD = "per load",
92
+ RELATIONSHIP = "relationship",
93
+ SCAC = "scac",
94
+ EMERGENCY_NAME = "emergency name",
95
+ FULL_CONTACT_NAME = "full contact name",
96
+ FUEL_STORE = "fuel-store",
97
+ HOS = "hos",
98
+ FULL_PARKING_SLOT = "full parking slot",
99
+ PARKING_SLOT = "parking slot",
100
+ CDL_NUMBER = "cdl-number",
101
+ USERNAME = "username",
102
+ NICKNAME = "nickname",
103
+ PASSWORD = "password",
104
+ TOLL_VALIDATION = "tollvalidation",
105
+ PREFIX = "prefix",
106
+ SUFFIX = "suffix",
107
+ PARKING_NAME = "parking name",
108
+ FILE_NAME = "file name",
109
+ INSURER_NAME = "insurer name",
110
+ OFFICE_NAME = "office name",
111
+ INPUT_DROPDOWN_LABEL = "input dropdown label"
112
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum InputTransformStringEnum {
2
+ CAPITALIZE = "capitalize",
3
+ UPPERCASE = "uppercase",
4
+ CAPITALIZED_CASE = "capitalizedcase",
5
+ LOWERCASE = "lowercase"
6
+ }
@@ -1,14 +1,14 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { ICaInput } from '../config';
4
- import { InputChangeValue, InputSvgRoutes } from '../utils';
5
- import { CommandsEvent, LabelColor } from '../models';
6
- import { InputCommandsType, InputStringEnum } from '../enums';
7
- import { DropdownTemplateTypeEnum } from '../../ca-input-dropdown/enums';
8
- import { ThousandSeparatorPipe } from '../../../pipes';
2
+ import { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { ICaInput } from './config';
4
+ import { InputChangeValue, InputSvgRoutes } from './utils';
5
+ import { CommandsEvent, LabelColor } from './models';
6
+ import { InputCommandsType, InputStringEnum } from './enums';
7
+ import { DropdownTemplateTypeEnum } from '../ca-input-dropdown/enums';
8
+ import { ThousandSeparatorPipe } from '../../pipes';
9
9
  import { NgxMaskService } from 'ngx-mask';
10
- import { EventInputManager } from '../base-classes/ca-input-event-manager';
11
- import { OptionModel } from '../../ca-input-dropdown/models';
10
+ import { EventInputManager } from './base-classes/ca-input-event-manager';
11
+ import { OptionModel } from '../ca-input-dropdown/models';
12
12
  import * as i0 from "@angular/core";
13
13
  declare class InputBase {
14
14
  inputElement: ElementRef;
@@ -34,7 +34,7 @@ declare const InputTestComponent_base: {
34
34
  cancelCommand(): void;
35
35
  confirmCommand(): void;
36
36
  handlePmIncrementDecrement(action: string): void;
37
- decrementIncrementDecrementPmValue(value: number, action: import("../enums").InputCommandsAction): number;
37
+ decrementIncrementDecrementPmValue(value: number, action: import("./enums").InputCommandsAction): number;
38
38
  resetPmValue(): void;
39
39
  inputElement: ElementRef;
40
40
  _inputConfig: ICaInput;
@@ -81,6 +81,7 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
81
81
  _inputConfig: ICaInput;
82
82
  inputSvgRoutes: typeof InputSvgRoutes;
83
83
  inputElement: ElementRef;
84
+ parentControl: AbstractControl<any, any> | null;
84
85
  selectedDropdownLabelColor: LabelColor | null;
85
86
  template: string;
86
87
  incorrectValue: boolean;
@@ -107,7 +108,7 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
107
108
  get inputConfig(): ICaInput;
108
109
  constructor(ngControl: NgControl, chdet: ChangeDetectorRef, maskApplier: NgxMaskService, thousandSeparatorPipe: ThousandSeparatorPipe);
109
110
  ngAfterViewInit(): void;
110
- get control(): import("@angular/forms").AbstractControl<any, any> | null;
111
+ get control(): AbstractControl<any, any> | null;
111
112
  registerOnChange(fn: any): void;
112
113
  registerOnTouched(fn: () => void): void;
113
114
  writeValue(obj: InputChangeValue): void;
@@ -124,6 +125,6 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
124
125
  identify(index: number): number;
125
126
  handleKeyDown(event: KeyboardEvent): void;
126
127
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null, null]>;
127
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "parentControl": { "alias": "parentControl"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
128
129
  }
129
130
  export {};
@@ -0,0 +1,12 @@
1
+ import { Constructor } from '../../../models/mixin.model';
2
+ import { ICaInput } from '../config/ca-input.config';
3
+ import { InputTransformStringEnum } from '../enums/input-text-transform.enum';
4
+ export declare function RestrictionPipeMixin<T extends Constructor<{
5
+ restrictInput: ICaInput;
6
+ }>>(Base: T): {
7
+ new (...args: any[]): {
8
+ checkRangeRegex(value: string): boolean;
9
+ getTextTransformation(value: string, textTransform: InputTransformStringEnum | undefined): string | undefined;
10
+ restrictInput: ICaInput;
11
+ };
12
+ } & T;
@@ -0,0 +1,5 @@
1
+ export interface CommandClick {
2
+ event: Event;
3
+ type: string;
4
+ action: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface CommandsEvent {
2
+ data?: string | number;
3
+ action?: string;
4
+ mode?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ export * from './command-click.model';
2
+ export * from './commands-event.model';
3
+ export * from './label-color.model';