ca-components 1.3.32 → 1.3.33

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 (244) hide show
  1. package/assets/scss/input-dropdown-test.scss +2030 -0
  2. package/esm2022/lib/ca-components.module.mjs +2 -2
  3. package/esm2022/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.mjs +3 -3
  4. package/esm2022/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.mjs +351 -0
  5. package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-basic-string.enum.mjs +6 -0
  6. package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-commands-string.enum.mjs +8 -0
  7. package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-layers-string.enum.mjs +6 -0
  8. package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-stop-types-string.enum.mjs +6 -0
  9. package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-type-string.enum.mjs +7 -0
  10. package/esm2022/lib/components/ca-input-address-dropdown-test/models/address-data.model.mjs +2 -0
  11. package/esm2022/lib/components/ca-input-address-dropdown-test/models/address-list.model.mjs +2 -0
  12. package/esm2022/lib/components/ca-input-address-dropdown-test/models/command-properties.model.mjs +2 -0
  13. package/esm2022/lib/components/ca-input-address-dropdown-test/models/commands-handler.model.mjs +2 -0
  14. package/esm2022/lib/components/ca-input-address-dropdown-test/models/input-address-commands-string.model.mjs +2 -0
  15. package/esm2022/lib/components/ca-input-address-dropdown-test/models/long-lat.model.mjs +2 -0
  16. package/esm2022/lib/components/ca-input-address-dropdown-test/models/sent-address-data.model.mjs +2 -0
  17. package/esm2022/lib/components/ca-input-address-dropdown-test/validators/ca-input-address-value.validations.mjs +11 -0
  18. package/esm2022/lib/components/ca-input-dropdown-test/animations/index.mjs +2 -0
  19. package/esm2022/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.mjs +11 -0
  20. package/esm2022/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.mjs +692 -0
  21. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.mjs +62 -0
  22. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.mjs +72 -0
  23. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.mjs +60 -0
  24. 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
  25. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.mjs +76 -0
  26. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.mjs +58 -0
  27. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.mjs +76 -0
  28. 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
  29. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +64 -0
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +60 -0
  36. 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
  37. 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
  38. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.mjs +58 -0
  39. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.mjs +62 -0
  40. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.mjs +63 -0
  41. 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
  42. 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
  43. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +77 -0
  44. package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.mjs +58 -0
  45. 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
  46. package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.mjs +6 -0
  47. package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.mjs +23 -0
  48. package/esm2022/lib/components/ca-input-dropdown-test/enums/index.mjs +3 -0
  49. package/esm2022/lib/components/ca-input-dropdown-test/models/index.mjs +4 -0
  50. package/esm2022/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.mjs +2 -0
  51. package/esm2022/lib/components/ca-input-dropdown-test/models/load-modal-status.model.mjs +2 -0
  52. package/esm2022/lib/components/ca-input-dropdown-test/models/status-order.model.mjs +2 -0
  53. package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.mjs +29 -0
  54. package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.mjs +73 -0
  55. package/esm2022/lib/components/ca-input-dropdown-test/pipes/index.mjs +10 -0
  56. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.mjs +27 -0
  57. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.mjs +22 -0
  58. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.mjs +18 -0
  59. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.mjs +27 -0
  60. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.mjs +25 -0
  61. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.mjs +23 -0
  62. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.mjs +25 -0
  63. package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.mjs +23 -0
  64. package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/index.mjs +2 -0
  65. package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.mjs +13 -0
  66. package/esm2022/lib/components/ca-input-test/base-classes/ca-input-event-manager.mjs +24 -0
  67. package/esm2022/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.mjs +66 -0
  68. package/esm2022/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.mjs +48 -0
  69. package/esm2022/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.mjs +63 -0
  70. package/esm2022/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +85 -0
  71. package/esm2022/lib/components/ca-input-test/config/ca-input.config.mjs +2 -0
  72. package/esm2022/lib/components/ca-input-test/config/index.mjs +2 -0
  73. package/esm2022/lib/components/ca-input-test/directives/caps-lock.directive.mjs +50 -0
  74. package/esm2022/lib/components/ca-input-test/directives/command-visible.directive.mjs +48 -0
  75. package/esm2022/lib/components/ca-input-test/directives/index.mjs +6 -0
  76. package/esm2022/lib/components/ca-input-test/directives/input-max-value.directive.mjs +53 -0
  77. package/esm2022/lib/components/ca-input-test/directives/min-max-value.directive.mjs +41 -0
  78. package/esm2022/lib/components/ca-input-test/directives/price_format.directive.mjs +41 -0
  79. package/esm2022/lib/components/ca-input-test/directives/restrict-input.directive.mjs +94 -0
  80. package/esm2022/lib/components/ca-input-test/enums/index.mjs +5 -0
  81. package/esm2022/lib/components/ca-input-test/enums/input-commands-action.enum.mjs +11 -0
  82. package/esm2022/lib/components/ca-input-test/enums/input-commands-type.enum.mjs +8 -0
  83. package/esm2022/lib/components/ca-input-test/enums/input-config-name-string.enum.mjs +9 -0
  84. package/esm2022/lib/components/ca-input-test/enums/input-string.enum.mjs +114 -0
  85. package/esm2022/lib/components/ca-input-test/enums/input-text-transform.enum.mjs +9 -0
  86. package/esm2022/lib/components/ca-input-test/input-test.component.mjs +273 -0
  87. package/esm2022/lib/components/ca-input-test/mixins/input-command.mixin.mjs +127 -0
  88. package/esm2022/lib/components/ca-input-test/mixins/input-helper.mixin.mjs +49 -0
  89. package/esm2022/lib/components/ca-input-test/mixins/restriction-pipe.mixin.mjs +34 -0
  90. package/esm2022/lib/components/ca-input-test/models/base.model.mjs +2 -0
  91. package/esm2022/lib/components/ca-input-test/models/command-click.model.mjs +2 -0
  92. package/esm2022/lib/components/ca-input-test/models/commands-event.model.mjs +2 -0
  93. package/esm2022/lib/components/ca-input-test/models/index.mjs +4 -0
  94. package/esm2022/lib/components/ca-input-test/models/label-color.model.mjs +2 -0
  95. package/esm2022/lib/components/ca-input-test/pipes/color-finder.pipe.mjs +62 -0
  96. package/esm2022/lib/components/ca-input-test/pipes/form-control.pipe.mjs +17 -0
  97. package/esm2022/lib/components/ca-input-test/pipes/index.mjs +20 -0
  98. package/esm2022/lib/components/ca-input-test/pipes/input-class.pipe.mjs +155 -0
  99. package/esm2022/lib/components/ca-input-test/pipes/input-clear-class.pipe.mjs +87 -0
  100. package/esm2022/lib/components/ca-input-test/pipes/input-container-class.pipe.mjs +58 -0
  101. package/esm2022/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.mjs +77 -0
  102. package/esm2022/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.mjs +61 -0
  103. package/esm2022/lib/components/ca-input-test/pipes/input-error.pipe.mjs +88 -0
  104. package/esm2022/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.mjs +37 -0
  105. package/esm2022/lib/components/ca-input-test/pipes/input-pattern.pipe.mjs +326 -0
  106. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.mjs +46 -0
  107. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.mjs +58 -0
  108. package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.mjs +45 -0
  109. package/esm2022/lib/components/ca-input-test/pipes/input-type.pipe.mjs +25 -0
  110. package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +38 -0
  111. package/esm2022/lib/components/ca-input-test/pipes/show-clear.pipe.mjs +22 -0
  112. package/esm2022/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.mjs +26 -0
  113. package/esm2022/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.mjs +27 -0
  114. package/esm2022/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.mjs +24 -0
  115. package/esm2022/lib/components/ca-input-test/pipes/show-valid-check.pipe.mjs +27 -0
  116. package/esm2022/lib/components/ca-input-test/utils/index.mjs +3 -0
  117. package/esm2022/lib/components/ca-input-test/utils/input-change-value.type.mjs +2 -0
  118. package/esm2022/lib/components/ca-input-test/utils/input-svg-routes.mjs +17 -0
  119. package/esm2022/public-api.mjs +4 -2
  120. package/fesm2022/ca-components.mjs +5967 -1451
  121. package/fesm2022/ca-components.mjs.map +1 -1
  122. package/lib/ca-components.module.d.ts +1 -1
  123. package/lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component.d.ts +74 -0
  124. package/lib/components/ca-input-address-dropdown-test/enums/input-address-basic-string.enum.d.ts +4 -0
  125. package/lib/components/ca-input-address-dropdown-test/enums/input-address-commands-string.enum.d.ts +6 -0
  126. package/lib/components/ca-input-address-dropdown-test/enums/input-address-layers-string.enum.d.ts +4 -0
  127. package/lib/components/ca-input-address-dropdown-test/enums/input-address-stop-types-string.enum.d.ts +4 -0
  128. package/lib/components/ca-input-address-dropdown-test/enums/input-address-type-string.enum.d.ts +5 -0
  129. package/lib/components/ca-input-address-dropdown-test/models/address-data.model.d.ts +10 -0
  130. package/lib/components/ca-input-address-dropdown-test/models/address-list.model.d.ts +5 -0
  131. package/lib/components/ca-input-address-dropdown-test/models/command-properties.model.d.ts +7 -0
  132. package/lib/components/ca-input-address-dropdown-test/models/commands-handler.model.d.ts +7 -0
  133. package/lib/components/ca-input-address-dropdown-test/models/input-address-commands-string.model.d.ts +1 -0
  134. package/lib/components/ca-input-address-dropdown-test/models/long-lat.model.d.ts +4 -0
  135. package/lib/components/ca-input-address-dropdown-test/models/sent-address-data.model.d.ts +6 -0
  136. package/lib/components/ca-input-address-dropdown-test/validators/ca-input-address-value.validations.d.ts +2 -0
  137. package/lib/components/ca-input-dropdown-test/animations/index.d.ts +1 -0
  138. package/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.d.ts +1 -0
  139. package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.d.ts +125 -0
  140. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.d.ts +20 -0
  141. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.d.ts +22 -0
  142. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.d.ts +19 -0
  143. 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
  144. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.d.ts +27 -0
  145. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.d.ts +18 -0
  146. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.d.ts +24 -0
  147. 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
  148. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.d.ts +18 -0
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.d.ts +20 -0
  155. 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
  156. 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
  157. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.d.ts +18 -0
  158. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.d.ts +20 -0
  159. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.d.ts +20 -0
  160. 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
  161. 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
  162. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.d.ts +22 -0
  163. package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.d.ts +18 -0
  164. 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
  165. package/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.d.ts +4 -0
  166. package/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.d.ts +21 -0
  167. package/lib/components/ca-input-dropdown-test/enums/index.d.ts +2 -0
  168. package/lib/components/ca-input-dropdown-test/models/index.d.ts +3 -0
  169. package/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.d.ts +95 -0
  170. package/lib/components/ca-input-dropdown-test/models/load-modal-status.model.d.ts +5 -0
  171. package/lib/components/ca-input-dropdown-test/models/status-order.model.d.ts +4 -0
  172. package/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.d.ts +7 -0
  173. package/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.d.ts +10 -0
  174. package/lib/components/ca-input-dropdown-test/pipes/index.d.ts +9 -0
  175. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.d.ts +11 -0
  176. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.d.ts +10 -0
  177. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.d.ts +9 -0
  178. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.d.ts +11 -0
  179. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.d.ts +10 -0
  180. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.d.ts +11 -0
  181. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.d.ts +10 -0
  182. package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.d.ts +11 -0
  183. package/lib/components/ca-input-dropdown-test/utils/svg-routes/index.d.ts +1 -0
  184. package/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.d.ts +12 -0
  185. package/lib/components/ca-input-test/base-classes/ca-input-event-manager.d.ts +16 -0
  186. package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.d.ts +20 -0
  187. package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.d.ts +16 -0
  188. package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.d.ts +20 -0
  189. package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +26 -0
  190. package/lib/components/ca-input-test/config/ca-input.config.d.ts +168 -0
  191. package/lib/components/ca-input-test/config/index.d.ts +1 -0
  192. package/lib/components/ca-input-test/directives/caps-lock.directive.d.ts +14 -0
  193. package/lib/components/ca-input-test/directives/index.d.ts +5 -0
  194. package/lib/components/ca-input-test/directives/input-max-value.directive.d.ts +12 -0
  195. package/lib/components/ca-input-test/directives/min-max-value.directive.d.ts +13 -0
  196. package/lib/components/ca-input-test/directives/price_format.directive.d.ts +11 -0
  197. package/lib/components/ca-input-test/directives/restrict-input.directive.d.ts +27 -0
  198. package/lib/components/ca-input-test/enums/index.d.ts +4 -0
  199. package/lib/components/ca-input-test/enums/input-commands-action.enum.d.ts +9 -0
  200. package/lib/components/ca-input-test/enums/input-commands-type.enum.d.ts +6 -0
  201. package/lib/components/ca-input-test/enums/input-config-name-string.enum.d.ts +7 -0
  202. package/lib/components/ca-input-test/enums/input-string.enum.d.ts +112 -0
  203. package/lib/components/ca-input-test/enums/input-text-transform.enum.d.ts +6 -0
  204. package/lib/components/{ca-input/input-test → ca-input-test}/input-test.component.d.ts +13 -12
  205. package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.d.ts +12 -0
  206. package/lib/components/ca-input-test/models/command-click.model.d.ts +5 -0
  207. package/lib/components/ca-input-test/models/commands-event.model.d.ts +5 -0
  208. package/lib/components/ca-input-test/models/index.d.ts +3 -0
  209. package/lib/components/ca-input-test/models/label-color.model.d.ts +11 -0
  210. package/lib/components/ca-input-test/pipes/color-finder.pipe.d.ts +7 -0
  211. package/lib/components/ca-input-test/pipes/form-control.pipe.d.ts +8 -0
  212. package/lib/components/ca-input-test/pipes/index.d.ts +19 -0
  213. package/lib/components/ca-input-test/pipes/input-class.pipe.d.ts +13 -0
  214. package/lib/components/ca-input-test/pipes/input-clear-class.pipe.d.ts +11 -0
  215. package/lib/components/ca-input-test/pipes/input-container-class.pipe.d.ts +11 -0
  216. package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.d.ts +11 -0
  217. package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.d.ts +11 -0
  218. package/lib/components/ca-input-test/pipes/input-error.pipe.d.ts +7 -0
  219. package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.d.ts +11 -0
  220. package/lib/components/ca-input-test/pipes/input-pattern.pipe.d.ts +38 -0
  221. package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.d.ts +11 -0
  222. package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.d.ts +12 -0
  223. package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.d.ts +11 -0
  224. package/lib/components/ca-input-test/pipes/input-type.pipe.d.ts +7 -0
  225. package/lib/components/ca-input-test/pipes/label-class.pipe.d.ts +10 -0
  226. package/lib/components/ca-input-test/pipes/show-clear.pipe.d.ts +8 -0
  227. package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.d.ts +8 -0
  228. package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.d.ts +9 -0
  229. package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.d.ts +9 -0
  230. package/lib/components/ca-input-test/pipes/show-valid-check.pipe.d.ts +9 -0
  231. package/lib/components/ca-input-test/utils/index.d.ts +2 -0
  232. package/lib/components/ca-input-test/utils/input-change-value.type.d.ts +1 -0
  233. package/lib/components/ca-input-test/utils/input-svg-routes.d.ts +16 -0
  234. package/package.json +1 -1
  235. package/public-api.d.ts +3 -1
  236. package/esm2022/lib/components/ca-input/directives/command-visible.directive.mjs +0 -48
  237. package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +0 -266
  238. package/esm2022/lib/components/ca-input/mixins/input-command.mixin.mjs +0 -127
  239. package/esm2022/lib/components/ca-input/mixins/input-helper.mixin.mjs +0 -49
  240. package/esm2022/lib/components/ca-input/models/base.model.mjs +0 -2
  241. /package/lib/components/{ca-input → ca-input-test}/directives/command-visible.directive.d.ts +0 -0
  242. /package/lib/components/{ca-input → ca-input-test}/mixins/input-command.mixin.d.ts +0 -0
  243. /package/lib/components/{ca-input → ca-input-test}/mixins/input-helper.mixin.d.ts +0 -0
  244. /package/lib/components/{ca-input → ca-input-test}/models/base.model.d.ts +0 -0
@@ -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';
@@ -0,0 +1,11 @@
1
+ export interface LabelColor {
2
+ code?: string;
3
+ color?: string;
4
+ createdAt?: string;
5
+ hoverCode?: string;
6
+ name?: string;
7
+ updatedAt?: string;
8
+ colorId?: number;
9
+ count?: number;
10
+ id?: number;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ColorFinderPipe implements PipeTransform {
4
+ transform(id: number, type: string, isTooltip?: boolean): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorFinderPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ColorFinderPipe, "colorFinder", true>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { AbstractControl, UntypedFormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormControlPipe implements PipeTransform {
5
+ transform(value: AbstractControl): UntypedFormControl;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormControlPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormControlPipe, "formControl", true>;
8
+ }
@@ -0,0 +1,19 @@
1
+ export * from './color-finder.pipe';
2
+ export * from './form-control.pipe';
3
+ export * from './input-class.pipe';
4
+ export * from './input-clear-class.pipe';
5
+ export * from './input-container-class.pipe';
6
+ export * from './input-datetime-picker-class.pipe';
7
+ export * from './input-dropdown-arrow-class.pipe';
8
+ export * from './input-error.pipe';
9
+ export * from './input-password-eye-class.pipe';
10
+ export * from './input-placeholder-icon.class.pipe';
11
+ export * from './input-type.pipe';
12
+ export * from './label-class.pipe';
13
+ export * from './show-clear.pipe';
14
+ export * from './show-dropdown-arrow.pipe';
15
+ export * from './show-invalid-danger-mark.pipe';
16
+ export * from './show-valid-check.pipe';
17
+ export * from './input-placeholder-icon-right.pipe';
18
+ export * from './input-placeholder-text-class.pipe';
19
+ export * from './show-placeholder-text.pipe';
@@ -0,0 +1,13 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { ICaInput } from '../config/ca-input.config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputClassPipe implements PipeTransform {
6
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, input: {
7
+ value: string;
8
+ }, isVisibleCommands: boolean, value: string | number, superControlInvalid: boolean | undefined, superControlTouched: boolean | undefined, isDropdownToggler: boolean, isEditInput: boolean, template: string): {
9
+ [key: string]: boolean | undefined | number | null | string;
10
+ };
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputClassPipe, never>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputClassPipe, "inputClass", true>;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { ICaInput } from '../config/ca-input.config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputClearClassPipe implements PipeTransform {
6
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, incorrectValue: boolean, selectedDropdownLabelColor: boolean, template: string, value: string): {
7
+ [key: string]: boolean | undefined;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputClearClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputClearClassPipe, "inputClearClass", true>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { ICaInput } from '../config/ca-input.config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputContainerClassPipe implements PipeTransform {
6
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, value: string): {
7
+ [key: string]: boolean | undefined | null | string;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputContainerClassPipe, "inputContainerClass", true>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config/ca-input.config';
3
+ import { AbstractControl } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputDatetimePickerClassPipe implements PipeTransform {
6
+ transform(isFocusInput: boolean | undefined, isVisibleCommands: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: Partial<ICaInput>, isTouchedInput: boolean | undefined, value: string): {
7
+ [key: string]: boolean | undefined | number;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDatetimePickerClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputDatetimePickerClassPipe, "inputDatetimePickerClass", true>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { ICaInput } from '../config/ca-input.config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputDropdownArrowClassPipe implements PipeTransform {
6
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
7
+ [key: string]: boolean | undefined;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDropdownArrowClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputDropdownArrowClassPipe, "inputDropdownArrowClass", true>;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InputErrorPipe implements PipeTransform {
4
+ transform(value: any, inputName?: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputErrorPipe, "inputError", true>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import { AbstractControl } from "@angular/forms";
3
+ import { ICaInput } from "../config/ca-input.config";
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputPasswordEyeClassPipe implements PipeTransform {
6
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
7
+ [key: string]: boolean;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordEyeClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputPasswordEyeClassPipe, "inputPasswordEyeClass", true>;
11
+ }