ca-components 1.3.32 → 1.3.331

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 +124 -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 +5966 -1453
  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,38 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InputPatternPipe implements PipeTransform {
5
+ transform(inputName: string, inputConfig: ICaInput): {
6
+ regex: RegExp;
7
+ restrictMultipeDots: boolean;
8
+ isDecimalAndDotOnly: boolean;
9
+ restrictConsecutiveSpaces?: undefined;
10
+ restrictConsecutiveDots?: undefined;
11
+ } | {
12
+ regex: RegExp;
13
+ isDecimalAndDotOnly: boolean;
14
+ restrictMultipeDots?: undefined;
15
+ restrictConsecutiveSpaces?: undefined;
16
+ restrictConsecutiveDots?: undefined;
17
+ } | {
18
+ regex: RegExp;
19
+ restrictConsecutiveSpaces: boolean;
20
+ restrictConsecutiveDots: boolean;
21
+ restrictMultipeDots: boolean;
22
+ isDecimalAndDotOnly?: undefined;
23
+ } | {
24
+ regex: RegExp;
25
+ restrictMultipeDots?: undefined;
26
+ isDecimalAndDotOnly?: undefined;
27
+ restrictConsecutiveSpaces?: undefined;
28
+ restrictConsecutiveDots?: undefined;
29
+ } | {
30
+ regex: RegExp;
31
+ restrictConsecutiveSpaces: boolean;
32
+ restrictConsecutiveDots: boolean;
33
+ restrictMultipeDots: boolean;
34
+ isDecimalAndDotOnly: boolean;
35
+ };
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPatternPipe, never>;
37
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputPatternPipe, "inputPattern", true>;
38
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config';
3
+ import { AbstractControl } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputPlaceholderIconRightClassPipe implements PipeTransform {
6
+ transform(isFocusInput: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
7
+ [key: string]: boolean | undefined;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconRightClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconRightClassPipe, "inputPlaceholderIconRightClass", true>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { PipeTransform } 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 * as i0 from "@angular/core";
6
+ export declare class InputPlaceholderIconClassPipe implements PipeTransform {
7
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, selectedDropdownLabelColor: LabelColor | null, isTouchedInput: boolean, isEditInput: boolean, value: string): {
8
+ [key: string]: boolean | undefined;
9
+ };
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconClassPipe, never>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconClassPipe, "inputPlaceholderIconClass", true>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config';
3
+ import { AbstractControl } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputPlaceholderTextClassPipe implements PipeTransform {
6
+ transform(isFocusInput: boolean, isTouchedInput: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: ICaInput, isVisibleCommands: boolean, value: string): {
7
+ [key: string]: boolean | undefined;
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderTextClassPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderTextClassPipe, "inputPlaceholderTextClass", true>;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InputTypePipe implements PipeTransform {
4
+ transform(type: string, value: boolean): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTypePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputTypePipe, "inputType", true>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config/ca-input.config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LabelClassPipe implements PipeTransform {
5
+ transform(value: string | number, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, superControlInvalid?: boolean, superControlTouched?: boolean): {
6
+ [key: string]: boolean | null | undefined | string | number;
7
+ };
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<LabelClassPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<LabelClassPipe, "labelClass", true>;
10
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import { ICaInput } from "../config/ca-input.config";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ShowClearPipe implements PipeTransform {
5
+ transform(inputConfig: ICaInput): boolean | undefined;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowClearPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShowClearPipe, "showClear", true>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config/ca-input.config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ShowDropdownArrowPipe implements PipeTransform {
5
+ transform(inputConfig: ICaInput): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowDropdownArrowPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShowDropdownArrowPipe, "showDropdownArrow", true>;
8
+ }
@@ -0,0 +1,9 @@
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 ShowInvalidDangerMarkPipe implements PipeTransform {
6
+ transform(inputConfig: ICaInput, getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, value: string): boolean | undefined;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowInvalidDangerMarkPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShowInvalidDangerMarkPipe, "showInvalidDangerMark", true>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ICaInput } from '../config/ca-input.config';
3
+ import { AbstractControl } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ShowPlaceholderTextPipe implements PipeTransform {
6
+ transform(inputConfig: ICaInput, getSuperControl: AbstractControl<any, any> | null, isVisibleCommands: boolean, value: string): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowPlaceholderTextPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShowPlaceholderTextPipe, "showPlaceholderText", true>;
9
+ }
@@ -0,0 +1,9 @@
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 ShowValidCheckPipe implements PipeTransform {
6
+ transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, value: string): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowValidCheckPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<ShowValidCheckPipe, "showValidCheck", true>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './input-svg-routes';
2
+ export * from './input-change-value.type';
@@ -0,0 +1 @@
1
+ export type InputChangeValue = string | number | Date;
@@ -0,0 +1,16 @@
1
+ export declare class InputSvgRoutes {
2
+ static removeInputSvg: string;
3
+ static xClearSvg: string;
4
+ static xClearCommonSvg: string;
5
+ static confirmSvg: string;
6
+ static dangerSvg: string;
7
+ static eyeVisibleSvg: string;
8
+ static eyeHiddenSvg: string;
9
+ static decrementSvg: string;
10
+ static incrementSvg: string;
11
+ static inputPenSvg: string;
12
+ static inputDropdownArrowSvg: string;
13
+ static dynamicLabelSvg: string;
14
+ static dynamicFocusLabelSvg: string;
15
+ static ownerBadgeBlueSvg: string;
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.3.32",
3
+ "version": "1.3.331",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",
package/public-api.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './lib/components/ca-details-dropdown/ca-details-dropdown.componen
5
5
  export * from './lib/components/ca-filters/ca-filter.component';
6
6
  export * from './lib/components/ca-input/ca-input.component';
7
7
  export * from './lib/components/ca-input-dropdown/ca-input-dropdown.component';
8
+ export * from './lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component';
8
9
  export * from './lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component';
9
10
  export * from './lib/components/ca-map/ca-map.component';
10
11
  export * from './lib/components/ca-map-dropdown/ca-map-dropdown.component';
@@ -53,10 +54,11 @@ export * from './lib/components/ca-sort-dropdown/ca-sort-dropdown.component';
53
54
  export * from './lib/components/ca-sort-dropdown/models';
54
55
  export * from './lib/components/ca-sort-dropdown/enums';
55
56
  export * from './lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component';
57
+ export * from './lib/components/ca-input-address-dropdown-test/ca-input-address-dropdown-test.component';
56
58
  export * from './lib/components/ca-modal-button/ca-modal-button.component';
57
59
  export * from './lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component';
58
60
  export * from './lib/components/ca-chart-manager/ca-chart-manager.component';
59
61
  export * from './lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component';
60
62
  export * from './lib/components/ca-map/utils/services';
61
- export * from './lib/components/ca-input/input-test/input-test.component';
63
+ export * from './lib/components/ca-input-test/input-test.component';
62
64
  export * from './lib/components/ca-modal-button/enums';
@@ -1,48 +0,0 @@
1
- import { Directive, EventEmitter, HostListener, Input, Output, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CommandVisibleDirective {
4
- constructor(el) {
5
- this.el = el;
6
- this.commandVisible = new EventEmitter(); // ✅ Emit true/false
7
- }
8
- onKeyDown(event) {
9
- if ((event.key === 'Tab' && event.shiftKey) || event.key === 'Tab') {
10
- this.emitCommandVisible(false);
11
- }
12
- }
13
- onWindowBlur() {
14
- this.emitCommandVisible(false);
15
- }
16
- onFocus() {
17
- // Show commands on focus
18
- this.emitCommandVisible(true);
19
- }
20
- emitCommandVisible(status) {
21
- if (this.restrictInput.commands) {
22
- this.commandVisible.emit(status);
23
- }
24
- }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommandVisibleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CommandVisibleDirective, isStandalone: true, selector: "[commandVisible]", inputs: { restrictInput: "restrictInput" }, outputs: { commandVisible: "commandVisible" }, host: { listeners: { "keydown": "onKeyDown($event)", "blur": "onWindowBlur()", "focus": "onFocus()" } }, ngImport: i0 }); }
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommandVisibleDirective, decorators: [{
29
- type: Directive,
30
- args: [{
31
- selector: '[commandVisible]',
32
- standalone: true,
33
- }]
34
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { commandVisible: [{
35
- type: Output
36
- }], restrictInput: [{
37
- type: Input
38
- }], onKeyDown: [{
39
- type: HostListener,
40
- args: ['keydown', ['$event']]
41
- }], onWindowBlur: [{
42
- type: HostListener,
43
- args: ['blur']
44
- }], onFocus: [{
45
- type: HostListener,
46
- args: ['focus']
47
- }] } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC12aXNpYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0L2RpcmVjdGl2ZXMvY29tbWFuZC12aXNpYmxlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUVULFlBQVksRUFDWixZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sR0FDVCxNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLHVCQUF1QjtJQUloQyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQUh4QixtQkFBYyxHQUFHLElBQUksWUFBWSxFQUFXLENBQUMsQ0FBQyxvQkFBb0I7SUFHdkMsQ0FBQztJQUd0QyxTQUFTLENBQUMsS0FBb0I7UUFDMUIsSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLEtBQUssS0FBSyxJQUFJLEtBQUssQ0FBQyxRQUFRLENBQUMsSUFBSSxLQUFLLENBQUMsR0FBRyxLQUFLLEtBQUssRUFBRSxDQUFDO1lBQ2pFLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNuQyxDQUFDO0lBQ0wsQ0FBQztJQUdELFlBQVk7UUFDUixJQUFJLENBQUMsa0JBQWtCLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDbkMsQ0FBQztJQUdELE9BQU87UUFDSCx5QkFBeUI7UUFDekIsSUFBSSxDQUFDLGtCQUFrQixDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ2xDLENBQUM7SUFFTyxrQkFBa0IsQ0FBQyxNQUFlO1FBQ3RDLElBQUksSUFBSSxDQUFDLGFBQWEsQ0FBQyxRQUFRLEVBQUUsQ0FBQztZQUM5QixJQUFJLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUNyQyxDQUFDO0lBQ0wsQ0FBQzsrR0E1QlEsdUJBQXVCO21HQUF2Qix1QkFBdUI7OzRGQUF2Qix1QkFBdUI7a0JBSm5DLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLGtCQUFrQjtvQkFDNUIsVUFBVSxFQUFFLElBQUk7aUJBQ25COytFQUVhLGNBQWM7c0JBQXZCLE1BQU07Z0JBQ0UsYUFBYTtzQkFBckIsS0FBSztnQkFLTixTQUFTO3NCQURSLFlBQVk7dUJBQUMsU0FBUyxFQUFFLENBQUMsUUFBUSxDQUFDO2dCQVFuQyxZQUFZO3NCQURYLFlBQVk7dUJBQUMsTUFBTTtnQkFNcEIsT0FBTztzQkFETixZQUFZO3VCQUFDLE9BQU8iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICAgIERpcmVjdGl2ZSxcbiAgICBFbGVtZW50UmVmLFxuICAgIEV2ZW50RW1pdHRlcixcbiAgICBIb3N0TGlzdGVuZXIsXG4gICAgSW5wdXQsXG4gICAgT3V0cHV0LFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IElDYUlucHV0IH0gZnJvbSAnLi4vY29uZmlnJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbY29tbWFuZFZpc2libGVdJyxcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBDb21tYW5kVmlzaWJsZURpcmVjdGl2ZSB7XG4gICAgQE91dHB1dCgpIGNvbW1hbmRWaXNpYmxlID0gbmV3IEV2ZW50RW1pdHRlcjxib29sZWFuPigpOyAvLyDinIUgRW1pdCB0cnVlL2ZhbHNlXG4gICAgQElucHV0KCkgcmVzdHJpY3RJbnB1dCE6IElDYUlucHV0O1xuXG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikge31cblxuICAgIEBIb3N0TGlzdGVuZXIoJ2tleWRvd24nLCBbJyRldmVudCddKVxuICAgIG9uS2V5RG93bihldmVudDogS2V5Ym9hcmRFdmVudCkge1xuICAgICAgICBpZiAoKGV2ZW50LmtleSA9PT0gJ1RhYicgJiYgZXZlbnQuc2hpZnRLZXkpIHx8IGV2ZW50LmtleSA9PT0gJ1RhYicpIHtcbiAgICAgICAgICAgIHRoaXMuZW1pdENvbW1hbmRWaXNpYmxlKGZhbHNlKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBIb3N0TGlzdGVuZXIoJ2JsdXInKVxuICAgIG9uV2luZG93Qmx1cigpIHtcbiAgICAgICAgdGhpcy5lbWl0Q29tbWFuZFZpc2libGUoZmFsc2UpO1xuICAgIH1cblxuICAgIEBIb3N0TGlzdGVuZXIoJ2ZvY3VzJylcbiAgICBvbkZvY3VzKCkge1xuICAgICAgICAvLyBTaG93IGNvbW1hbmRzIG9uIGZvY3VzXG4gICAgICAgIHRoaXMuZW1pdENvbW1hbmRWaXNpYmxlKHRydWUpO1xuICAgIH1cblxuICAgIHByaXZhdGUgZW1pdENvbW1hbmRWaXNpYmxlKHN0YXR1czogYm9vbGVhbikge1xuICAgICAgICBpZiAodGhpcy5yZXN0cmljdElucHV0LmNvbW1hbmRzKSB7XG4gICAgICAgICAgICB0aGlzLmNvbW1hbmRWaXNpYmxlLmVtaXQoc3RhdHVzKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==