ngx-t-forms 2.0.36 → 3.0.0

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 (214) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs} +4 -4
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs} +4 -4
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs} +6 -6
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map} +1 -1
  7. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs} +6 -6
  8. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map} +1 -1
  9. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs} +4 -4
  10. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map} +1 -1
  11. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs} +4 -4
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map} +1 -1
  13. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs} +2 -2
  14. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map} +1 -1
  15. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs} +2 -2
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map} +1 -1
  19. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs} +2 -2
  20. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map} +1 -1
  21. package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs} +8 -8
  22. package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map} +1 -1
  23. package/fesm2022/{ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs → ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs} +8 -8
  24. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +1 -0
  25. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs} +4 -4
  26. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map} +1 -1
  27. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs} +4 -4
  28. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs} +4 -4
  30. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map} +1 -1
  31. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs} +4 -4
  32. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map} +1 -1
  33. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs} +5 -5
  34. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs} +5 -5
  36. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map} +1 -1
  37. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +1259 -0
  38. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +1 -0
  39. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +1996 -0
  40. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +1 -0
  41. package/fesm2022/{ngx-t-forms-editor-input-element.component-DYytkGYD.mjs → ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs} +157 -23
  42. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +1 -0
  43. package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs → ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs} +138 -15
  44. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +1 -0
  45. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs +539 -0
  46. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +1 -0
  47. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +585 -0
  48. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs} +7 -7
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map} +1 -1
  51. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs} +7 -7
  52. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map} +1 -1
  53. package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs} +2 -2
  54. package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map} +1 -1
  55. package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs → ngx-t-forms-form-json-view.component-r64GKVhI.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map → ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map} +1 -1
  59. package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs} +2 -2
  60. package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map} +1 -1
  61. package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs} +6 -6
  62. package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map} +1 -1
  63. package/fesm2022/{ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs → ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs} +10 -10
  64. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +1 -0
  65. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs} +11 -11
  66. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map} +1 -1
  67. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs} +13 -13
  68. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map} +1 -1
  69. package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs → ngx-t-forms-geo-location.component-D2fIbagr.mjs} +7 -7
  70. package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map → ngx-t-forms-geo-location.component-D2fIbagr.mjs.map} +1 -1
  71. package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs → ngx-t-forms-geo-location.component-DW2b5Zli.mjs} +7 -7
  72. package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs.map → ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs} +7 -7
  74. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map} +1 -1
  75. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs} +7 -7
  76. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map} +1 -1
  77. package/fesm2022/{ngx-t-forms-index-D-7ZX0w7.mjs → ngx-t-forms-index-6YIhS6cm.mjs} +2 -2
  78. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +1 -0
  79. package/fesm2022/{ngx-t-forms-index-DHloq32-.mjs → ngx-t-forms-index-BPNBX_ve.mjs} +2 -2
  80. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +1 -0
  81. package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs → ngx-t-forms-input-custom.component-DQOqy047.mjs} +2 -2
  82. package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map → ngx-t-forms-input-custom.component-DQOqy047.mjs.map} +1 -1
  83. package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs → ngx-t-forms-input-custom.component-Dcoze7U3.mjs} +2 -2
  84. package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs.map → ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map} +1 -1
  85. package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs → ngx-t-forms-input-editor.component-3fRj5swF.mjs} +8 -8
  86. package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map → ngx-t-forms-input-editor.component-3fRj5swF.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs → ngx-t-forms-input-editor.component-B6UKwV4i.mjs} +7 -7
  88. package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs.map → ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map} +1 -1
  89. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs} +2 -2
  90. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs} +2 -2
  92. package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map} +1 -1
  93. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +268 -0
  94. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +1 -0
  95. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs +167 -0
  96. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +1 -0
  97. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs} +4 -4
  98. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map} +1 -1
  99. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs} +4 -4
  100. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map} +1 -1
  101. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs} +4 -4
  102. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +1 -0
  103. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs} +4 -4
  104. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map} +1 -1
  105. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
  106. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
  107. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs} +3 -3
  108. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map} +1 -1
  109. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs} +7 -7
  110. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map} +1 -1
  111. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs} +7 -7
  112. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map} +1 -1
  113. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs} +3 -3
  114. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map} +1 -1
  115. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
  116. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map} +1 -1
  117. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs} +15 -15
  118. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map} +1 -1
  119. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs} +13 -13
  120. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map} +1 -1
  121. package/fesm2022/{ngx-t-forms-ngx-t-forms-CJGAj18J.mjs → ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs} +941 -155
  122. package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +1 -0
  123. package/fesm2022/{ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs → ngx-t-forms-ngx-t-forms-BefvSS-p.mjs} +1119 -234
  124. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +1 -0
  125. package/fesm2022/{ngx-t-forms-paginated-selection-table-DeY5vQti.mjs → ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs} +8 -8
  126. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +1 -0
  127. package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs} +8 -8
  128. package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map} +1 -1
  129. package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs} +2 -2
  130. package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map} +1 -1
  131. package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs} +2 -2
  132. package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map} +1 -1
  133. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs} +11 -11
  134. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map} +1 -1
  135. package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs} +11 -11
  136. package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map} +1 -1
  137. package/fesm2022/{ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs → ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs} +166 -72
  138. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +1 -0
  139. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs +446 -0
  140. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +1 -0
  141. package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs} +6 -6
  142. package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map} +1 -1
  143. package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs} +6 -6
  144. package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map} +1 -1
  145. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs} +5 -5
  146. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map} +1 -1
  147. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs} +5 -5
  148. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map} +1 -1
  149. package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs → ngx-t-forms-section-report.component-BYMcaRE5.mjs} +4 -4
  150. package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs.map → ngx-t-forms-section-report.component-BYMcaRE5.mjs.map} +1 -1
  151. package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs → ngx-t-forms-section-report.component-yGAjX7Gb.mjs} +4 -4
  152. package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs.map → ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map} +1 -1
  153. package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs} +8 -8
  154. package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map} +1 -1
  155. package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs} +8 -8
  156. package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map} +1 -1
  157. package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs} +6 -6
  158. package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map} +1 -1
  159. package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs} +6 -6
  160. package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map} +1 -1
  161. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +366 -0
  162. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +1 -0
  163. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs +263 -0
  164. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +1 -0
  165. package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs} +4 -4
  166. package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map} +1 -1
  167. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs} +4 -4
  168. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map} +1 -1
  169. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs} +4 -4
  170. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map} +1 -1
  171. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs} +4 -4
  172. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map} +1 -1
  173. package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs} +5 -5
  174. package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs.map → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map} +1 -1
  175. package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs → ngx-t-forms-validators-config.component-CoGSFor3.mjs} +5 -5
  176. package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map → ngx-t-forms-validators-config.component-CoGSFor3.mjs.map} +1 -1
  177. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs → ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs} +18 -18
  178. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +1 -0
  179. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs → ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs} +17 -17
  180. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map +1 -0
  181. package/fesm2022/ngx-t-forms.mjs +1 -1
  182. package/package.json +2 -2
  183. package/types/ngx-t-forms.d.ts +18 -12
  184. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +0 -1
  185. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +0 -1217
  186. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +0 -1
  187. package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs +0 -704
  188. package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map +0 -1
  189. package/fesm2022/ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map +0 -1
  190. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +0 -1
  191. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +0 -251
  192. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +0 -1
  193. package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs +0 -240
  194. package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map +0 -1
  195. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +0 -1
  197. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +0 -1
  198. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +0 -109
  199. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs +0 -66
  201. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +0 -1
  203. package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +0 -1
  204. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +0 -1
  205. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +0 -1
  206. package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs +0 -358
  207. package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map +0 -1
  208. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +0 -1
  209. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +0 -341
  210. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +0 -1
  211. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
  212. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
  213. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map +0 -1
  214. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +0 -1
@@ -6,14 +6,14 @@ import * as i2$1 from '@angular/material/form-field';
6
6
  import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i3 from '@angular/material/icon';
8
8
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i1$1 from '@angular/material/button';
9
+ import * as i2$2 from '@angular/material/button';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import * as i5$1 from '@angular/material/tooltip';
12
12
  import { MatTooltipModule } from '@angular/material/tooltip';
13
13
  import * as i5 from '@angular/material/autocomplete';
14
14
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
15
15
  import { MatOptionModule } from '@angular/material/core';
16
- import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
16
+ import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
17
17
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
18
18
  import * as i2 from '@angular/material/input';
19
19
  import { MatInputModule } from '@angular/material/input';
@@ -237,7 +237,7 @@ class AutoCompleteInputElementComponent {
237
237
  i0.ɵɵproperty("formGroup", ctx.formGroup());
238
238
  i0.ɵɵadvance();
239
239
  i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
240
- } }, dependencies: [ReactiveFormsModule, i1.ɵNgNoValidate, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i1$1.MatIconButton, MatTooltipModule, i5$1.MatTooltip, MatAutocompleteModule, i5.MatAutocomplete, i8.MatOption, MatOptionModule,
240
+ } }, dependencies: [ReactiveFormsModule, i1.ɵNgNoValidate, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, i2$1.MatError, i2$1.MatPrefix, i2$1.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i2$2.MatIconButton, MatTooltipModule, i5$1.MatTooltip, MatAutocompleteModule, i5.MatAutocomplete, i8.MatOption, MatOptionModule,
241
241
  AutoCompletReactiveInputComponent,
242
242
  TFormInputStatusComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%!important}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
243
243
  }
@@ -258,4 +258,4 @@ class AutoCompleteInputElementComponent {
258
258
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AutoCompleteInputElementComponent, { className: "AutoCompleteInputElementComponent", filePath: "lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts", lineNumber: 32 }); })();
259
259
 
260
260
  export { AutoCompleteInputElementComponent };
261
- //# sourceMappingURL=ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map
261
+ //# sourceMappingURL=ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ElementRef,\r\n OnInit,\r\n ViewEncapsulation,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { debounceTime, Subject } from 'rxjs';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-auto-complet-reactive-input',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-auto-complet-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }],\r\n templateUrl: './auto-complet-reactive-input.component.html',\r\n styleUrl: './auto-complet-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class AutoCompletReactiveInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n readonly auto = input.required<MatAutocomplete>();\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #debounceTime = 300;\r\n readonly #valueSubject = new Subject<Event>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true })!,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n ngOnInit(): void {\r\n this.#valueSubject\r\n .pipe(\r\n debounceTime(this.#debounceTime),\r\n takeUntilDestroyed(this.#destroyRef),\r\n )\r\n .subscribe(event => {\r\n const target = event.target as HTMLInputElement | null;\r\n this.value = target?.value ?? '';\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n });\r\n }\r\n\r\n protected onInputChange($event: Event): void {\r\n this.#valueSubject.next($event);\r\n }\r\n}\r\n","<input [readonly]=\"inputConfig().readonly || inputConfig().disabled\" [pattern]=\"inputConfig().pattern || ''\"\r\n [required]=\"!!inputConfig().required\" [attr.maxlength]=\"inputConfig().maxLength\"\r\n [attr.minlength]=\"inputConfig().minLength\"\r\n [type]=\"inputConfig().type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [value]=\"value\"\r\n\r\n [min]=\"inputConfig().min\" [max]=\"inputConfig().max\" autocomplete=\"on\"\r\n [matAutocomplete]=\"auto()\"\r\n matInput />\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatOptionModule } from '@angular/material/core';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { AutoCompletReactiveInputComponent } from './core/auto-complet-reactive-input/auto-complet-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive auto-complete control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-auto-complete-input-element',\r\n templateUrl: './auto-complete-input-element.component.html',\r\n styleUrl: './auto-complete-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatAutocompleteModule,\r\n MatOptionModule,\r\n AutoCompletReactiveInputComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class AutoCompleteInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n // Internal `any[]` mirrors the legacy getter shape; the upstream\r\n // `matOptions.options` is a (FormInputBasicOptionInterface | DynamicObjectInterface)[]\r\n // union that resolves to `{ id; value; label }` at runtime. Phase 4 will tighten.\r\n protected readonly options = computed<any[]>(\r\n () => this.inputConfig().matOptions?.options ?? [],\r\n );\r\n}\r\n"],"names":["i2","i4","i5","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,MAAM,EAAE,CAAC;CACV;AAmBK,MAAO,iCAAkC,SAAQ,eAAuC,CAAA;AAC5F,IAAA,IAAa,KAAK,GAAA;AAChB,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK;IACpB;AACA,IAAA,IAAa,gBAAgB,GAAA;AAC3B,QAAA,OAAO,IAAI;IACb;AAKS,IAAA,WAAW;AACX,IAAA,aAAa;AACb,IAAA,aAAa;AAEtB,IAAA,WAAA,GAAA;QACE,KAAK,CACH,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAE,EAClD,MAAM,CAAC,UAAU,CAAC,EAClB,iBAAiB,CAClB;AAZM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAmB;AACxC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,iFAAoB;AAEhD,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;QAChC,IAAA,CAAA,aAAa,GAAG,GAAG;AACnB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,OAAO,EAAS;IAQ7C;IAEA,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC;AACF,aAAA,IAAI,CACH,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,EAChC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC;aAErC,SAAS,CAAC,KAAK,IAAG;AACjB,YAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAAiC;YACtD,IAAI,CAAC,KAAK,GAAG,MAAM,EAAE,KAAK,IAAI,EAAE;AAChC,YAAA,IAAI,C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AAAA,IAAA,CAAA,SAAA,EAAAA,IAAA,CAAA,SAAA,EAClB,aAAa,EAAA,EAAA,CAAA,OAAA,EACb,eAAe,EAAAC,IAAA,CAAA,aAAA,EACf,gBAAgB,EAAAC,IAAA,CAAA,UAAA,EAChB,qBAAqB,EAAAC,EAAA,CAAA,eAAA,EAAAC,EAAA,CAAA,SAAA,EACrB,eAAe;YACf,iCAAiC;YACjC,yBAAyB,CAAA,EAAA,MAAA,EAAA,CAAA,qPAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAGhB,iCAAiC,EAAA,CAAA;cAjB7C,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,EAAA,eAAA,EAG1B,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;oBACP,mBAAmB;oBACnB,kBAAkB;oBAClB,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,qBAAqB;oBACrB,eAAe;oBACf,iCAAiC;oBACjC,yBAAyB;AAC1B,iBAAA,EAAA,QAAA,EAAA,yhFAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEU,iCAAiC,EAAA,EAAA,SAAA,EAAA,mCAAA,EAAA,QAAA,EAAA,2GAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ElementRef,\r\n OnInit,\r\n ViewEncapsulation,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { debounceTime, Subject } from 'rxjs';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-auto-complet-reactive-input',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-auto-complet-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }],\r\n templateUrl: './auto-complet-reactive-input.component.html',\r\n styleUrl: './auto-complet-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class AutoCompletReactiveInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n readonly auto = input.required<MatAutocomplete>();\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #debounceTime = 300;\r\n readonly #valueSubject = new Subject<Event>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true })!,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n ngOnInit(): void {\r\n this.#valueSubject\r\n .pipe(\r\n debounceTime(this.#debounceTime),\r\n takeUntilDestroyed(this.#destroyRef),\r\n )\r\n .subscribe(event => {\r\n const target = event.target as HTMLInputElement | null;\r\n this.value = target?.value ?? '';\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n });\r\n }\r\n\r\n protected onInputChange($event: Event): void {\r\n this.#valueSubject.next($event);\r\n }\r\n}\r\n","<input [readonly]=\"inputConfig().readonly || inputConfig().disabled\" [pattern]=\"inputConfig().pattern || ''\"\r\n [required]=\"!!inputConfig().required\" [attr.maxlength]=\"inputConfig().maxLength\"\r\n [attr.minlength]=\"inputConfig().minLength\"\r\n [type]=\"inputConfig().type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [value]=\"value\"\r\n\r\n [min]=\"inputConfig().min\" [max]=\"inputConfig().max\" autocomplete=\"on\"\r\n [matAutocomplete]=\"auto()\"\r\n matInput />\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatOptionModule } from '@angular/material/core';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { AutoCompletReactiveInputComponent } from './core/auto-complet-reactive-input/auto-complet-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive auto-complete control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-auto-complete-input-element',\r\n templateUrl: './auto-complete-input-element.component.html',\r\n styleUrl: './auto-complete-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatAutocompleteModule,\r\n MatOptionModule,\r\n AutoCompletReactiveInputComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class AutoCompleteInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n // Internal `any[]` mirrors the legacy getter shape; the upstream\r\n // `matOptions.options` is a (FormInputBasicOptionInterface | DynamicObjectInterface)[]\r\n // union that resolves to `{ id; value; label }` at runtime. Phase 4 will tighten.\r\n protected readonly options = computed<any[]>(\r\n () => this.inputConfig().matOptions?.options ?? [],\r\n );\r\n}\r\n"],"names":["i2","i4","i5","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,MAAM,EAAE,CAAC;CACV;AAmBK,MAAO,iCAAkC,SAAQ,eAAuC,CAAA;AAC5F,IAAA,IAAa,KAAK,GAAA;AAChB,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK;IACpB;AACA,IAAA,IAAa,gBAAgB,GAAA;AAC3B,QAAA,OAAO,IAAI;I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A,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,EAAA,eAAA,EAG1B,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;oBACP,mBAAmB;oBACnB,kBAAkB;oBAClB,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,qBAAqB;oBACrB,eAAe;oBACf,iCAAiC;oBACjC,yBAAyB;AAC1B,iBAAA,EAAA,QAAA,EAAA,yhFAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEU,iCAAiC,EAAA,EAAA,SAAA,EAAA,mCAAA,EAAA,QAAA,EAAA,2GAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -6,14 +6,14 @@ import * as i2$1 from '@angular/material/form-field';
6
6
  import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i3 from '@angular/material/icon';
8
8
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i1$1 from '@angular/material/button';
9
+ import * as i2$2 from '@angular/material/button';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import * as i5$1 from '@angular/material/tooltip';
12
12
  import { MatTooltipModule } from '@angular/material/tooltip';
13
13
  import * as i5 from '@angular/material/autocomplete';
14
14
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
15
15
  import { MatOptionModule } from '@angular/material/core';
16
- import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
16
+ import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs';
17
17
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
18
18
  import * as i2 from '@angular/material/input';
19
19
  import { MatInputModule } from '@angular/material/input';
@@ -83,7 +83,7 @@ class AutoCompleteInputElementComponent {
83
83
  this.options = computed(() => this.inputConfig().matOptions?.options ?? [], ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
84
84
  }
85
85
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: AutoCompleteInputElementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
86
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: AutoCompleteInputElementComponent, isStandalone: true, selector: "lib-auto-complete-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i5.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "component", type: AutoCompletReactiveInputComponent, selector: "lib-auto-complet-reactive-input", inputs: ["auto", "inputConfig"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
86
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: AutoCompleteInputElementComponent, isStandalone: true, selector: "lib-auto-complete-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i5.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "component", type: AutoCompletReactiveInputComponent, selector: "lib-auto-complet-reactive-input", inputs: ["auto", "inputConfig"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
87
87
  }
88
88
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: AutoCompleteInputElementComponent, decorators: [{
89
89
  type: Component,
@@ -101,4 +101,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
101
101
  }], propDecorators: { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], reload: [{ type: i0.Output, args: ["reload"] }] } });
102
102
 
103
103
  export { AutoCompleteInputElementComponent };
104
- //# sourceMappingURL=ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map
104
+ //# sourceMappingURL=ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ElementRef,\r\n OnInit,\r\n ViewEncapsulation,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { debounceTime, Subject } from 'rxjs';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-auto-complet-reactive-input',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-auto-complet-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }],\r\n templateUrl: './auto-complet-reactive-input.component.html',\r\n styleUrl: './auto-complet-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class AutoCompletReactiveInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n readonly auto = input.required<MatAutocomplete>();\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #debounceTime = 300;\r\n readonly #valueSubject = new Subject<Event>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true })!,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n ngOnInit(): void {\r\n this.#valueSubject\r\n .pipe(\r\n debounceTime(this.#debounceTime),\r\n takeUntilDestroyed(this.#destroyRef),\r\n )\r\n .subscribe(event => {\r\n const target = event.target as HTMLInputElement | null;\r\n this.value = target?.value ?? '';\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n });\r\n }\r\n\r\n protected onInputChange($event: Event): void {\r\n this.#valueSubject.next($event);\r\n }\r\n}\r\n","<input [readonly]=\"inputConfig().readonly || inputConfig().disabled\" [pattern]=\"inputConfig().pattern || ''\"\r\n [required]=\"!!inputConfig().required\" [attr.maxlength]=\"inputConfig().maxLength\"\r\n [attr.minlength]=\"inputConfig().minLength\"\r\n [type]=\"inputConfig().type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [value]=\"value\"\r\n\r\n [min]=\"inputConfig().min\" [max]=\"inputConfig().max\" autocomplete=\"on\"\r\n [matAutocomplete]=\"auto()\"\r\n matInput />\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatOptionModule } from '@angular/material/core';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { AutoCompletReactiveInputComponent } from './core/auto-complet-reactive-input/auto-complet-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive auto-complete control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-auto-complete-input-element',\r\n templateUrl: './auto-complete-input-element.component.html',\r\n styleUrl: './auto-complete-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatAutocompleteModule,\r\n MatOptionModule,\r\n AutoCompletReactiveInputComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class AutoCompleteInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n // Internal `any[]` mirrors the legacy getter shape; the upstream\r\n // `matOptions.options` is a (FormInputBasicOptionInterface | DynamicObjectInterface)[]\r\n // union that resolves to `{ id; value; label }` at runtime. Phase 4 will tighten.\r\n protected readonly options = computed<any[]>(\r\n () => this.inputConfig().matOptions?.options ?? [],\r\n );\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n"],"names":["i4","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,MAAM,EAAE,CAAC;CACV;AAmBK,MAAO,iCAAkC,SAAQ,eAAuC,CAAA;AAC5F,IAAA,IAAa,KAAK,GAAA;AAChB,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK;IACp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,uBAAA,EAAA,wBAAA,EAAA,kBAAA,EAAA,YAAA,EAAA,eAAA,EAAA,OAAA,EAAA,8BAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,QAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,IAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACrB,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACf,iCAAiC,6GACjC,yBAAyB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAGhB,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAjB7C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,EAAA,eAAA,EAG1B,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC;wBACP,mBAAmB;wBACnB,kBAAkB;wBAClB,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,qBAAqB;wBACrB,eAAe;wBACf,iCAAiC;wBACjC,yBAAyB;AAC1B,qBAAA,EAAA,QAAA,EAAA,yhFAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ElementRef,\r\n OnInit,\r\n ViewEncapsulation,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { debounceTime, Subject } from 'rxjs';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-auto-complet-reactive-input',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-auto-complet-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [{ provide: MatFormFieldControl, useExisting: AutoCompletReactiveInputComponent }],\r\n templateUrl: './auto-complet-reactive-input.component.html',\r\n styleUrl: './auto-complet-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class AutoCompletReactiveInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n readonly auto = input.required<MatAutocomplete>();\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #debounceTime = 300;\r\n readonly #valueSubject = new Subject<Event>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true })!,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n ngOnInit(): void {\r\n this.#valueSubject\r\n .pipe(\r\n debounceTime(this.#debounceTime),\r\n takeUntilDestroyed(this.#destroyRef),\r\n )\r\n .subscribe(event => {\r\n const target = event.target as HTMLInputElement | null;\r\n this.value = target?.value ?? '';\r\n this.stateChanges.next();\r\n this.onChange(this.value);\r\n });\r\n }\r\n\r\n protected onInputChange($event: Event): void {\r\n this.#valueSubject.next($event);\r\n }\r\n}\r\n","<input [readonly]=\"inputConfig().readonly || inputConfig().disabled\" [pattern]=\"inputConfig().pattern || ''\"\r\n [required]=\"!!inputConfig().required\" [attr.maxlength]=\"inputConfig().maxLength\"\r\n [attr.minlength]=\"inputConfig().minLength\"\r\n [type]=\"inputConfig().type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [value]=\"value\"\r\n\r\n [min]=\"inputConfig().min\" [max]=\"inputConfig().max\" autocomplete=\"on\"\r\n [matAutocomplete]=\"auto()\"\r\n matInput />\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatOptionModule } from '@angular/material/core';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { AutoCompletReactiveInputComponent } from './core/auto-complet-reactive-input/auto-complet-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps a reactive auto-complete control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-auto-complete-input-element',\r\n templateUrl: './auto-complete-input-element.component.html',\r\n styleUrl: './auto-complete-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatAutocompleteModule,\r\n MatOptionModule,\r\n AutoCompletReactiveInputComponent,\r\n TFormInputStatusComponent,\r\n ],\r\n})\r\nexport class AutoCompleteInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n // Internal `any[]` mirrors the legacy getter shape; the upstream\r\n // `matOptions.options` is a (FormInputBasicOptionInterface | DynamicObjectInterface)[]\r\n // union that resolves to `{ id; value; label }` at runtime. Phase 4 will tighten.\r\n protected readonly options = computed<any[]>(\r\n () => this.inputConfig().matOptions?.options ?? [],\r\n );\r\n}\r\n","<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-auto-complet-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [required]=\"inputConfig.required\"\r\n [formControlName]=\"inputConfig.id\"\r\n [auto]=\"auto\"\r\n ></lib-auto-complet-reactive-input>\r\n\r\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\">\r\n @for (option of options(); track option.id) {\r\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n"],"names":["i4","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAA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AA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
@@ -1,19 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, output, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1$1 from '@angular/forms';
3
+ import * as i1 from '@angular/forms';
4
4
  import { ReactiveFormsModule } from '@angular/forms';
5
5
  import * as i2 from '@angular/material/form-field';
6
6
  import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import { MatInputModule } from '@angular/material/input';
8
8
  import * as i3 from '@angular/material/icon';
9
9
  import { MatIconModule } from '@angular/material/icon';
10
- import * as i1 from '@angular/material/button';
10
+ import * as i2$1 from '@angular/material/button';
11
11
  import { MatButtonModule } from '@angular/material/button';
12
12
  import * as i5 from '@angular/material/tooltip';
13
13
  import { MatTooltipModule } from '@angular/material/tooltip';
14
- import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
14
+ import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
15
15
  import { InputPipeTypes } from 'ngx-t-forms-types';
16
- import { InputCustomComponent } from './ngx-t-forms-input-custom.component-Cv6jfrPf.mjs';
16
+ import { InputCustomComponent } from './ngx-t-forms-input-custom.component-DQOqy047.mjs';
17
17
 
18
18
  function BasicInputInputElementComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
19
19
  i0.ɵɵelementStart(0, "span", 3);
@@ -203,7 +203,7 @@ class BasicInputInputElementComponent {
203
203
  i0.ɵɵadvance();
204
204
  i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
205
205
  } }, dependencies: [MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatInputModule,
206
- MatIconModule, i3.MatIcon, MatButtonModule, i1.MatIconButton, MatTooltipModule, i5.MatTooltip, ReactiveFormsModule, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, TFormInputStatusComponent,
206
+ MatIconModule, i3.MatIcon, MatButtonModule, i2$1.MatIconButton, MatTooltipModule, i5.MatTooltip, ReactiveFormsModule, i1.NgControlStatus, i1.NgControlStatusGroup, i1.RequiredValidator, i1.FormGroupDirective, i1.FormControlName, TFormInputStatusComponent,
207
207
  InputCustomComponent], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%!important}mat-form-field[_ngcontent-%COMP%] .input-sync-button[_ngcontent-%COMP%]{display:none}mat-form-field[_ngcontent-%COMP%]:hover .input-sync-button[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
208
208
  }
209
209
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BasicInputInputElementComponent, [{
@@ -222,4 +222,4 @@ class BasicInputInputElementComponent {
222
222
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicInputInputElementComponent, { className: "BasicInputInputElementComponent", filePath: "lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts", lineNumber: 31 }); })();
223
223
 
224
224
  export { BasicInputInputElementComponent };
225
- //# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map
225
+ //# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts"],"sourcesContent":["<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\r\n <mat-form-field [appearance]=\"inputConfig().appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig().label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig()\"></lib-t-form-input-status>\r\n </mat-label>\r\n @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig().canReload?.emit()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\r\n @if (inputConfig().prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig().prefixText }}</span>\r\n }\r\n @if (inputConfig().suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig().suffixText }}</span>\r\n }\r\n\r\n <!-- Character Count Hint -->\r\n @if (inputConfig().maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig().id]?.value?.length || 0) + '/' + inputConfig().maxLength }}\r\n </mat-hint>\r\n }\r\n\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'strong';\r\n } else if (mediumPassword.test(value)) {\r\n return 'medium';\r\n } else {\r\n return 'weak';\r\n }\r\n\r\n }\r\n}\r\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;IAQI,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAA8E;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAqB;IAAA,EAAA,CAAA,YAAA,EAAO;;;IAA5B,EAAA,CAAA,SAAA,EAAqB;IAArB,EAAA,CAAA,kBAAA,CAAA,EAAA,EAAA,MAAA,CAAA,cAAA,EAAA,EAAA,GAAA,CAAqB;;;IAOnG,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,WAAA,EAAA,CAAA,CAAsE;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAkB;IAAA,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yB;YACrC,EAAA,CAAA,SAAA,EAuGC;YAvGD,EAAA,CAAA,aAAA,CAAA,CAAA,OAAA,GAAA,GAAA,CAAA,WAAA,EAAA,IAAA,CAAA,GAAA,CAAA,CAAA,EAAA,OAAA,CAuGC;ACvFC,QAAA,CAAA,CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,kBAAkB,qFAClB,cAAc;AACd,YAAA,aAAa,cACb,eAAe,EAAAA,EAAA,CAAA,aAAA,EACf,gBAAgB,EAAAC,EAAA,CAAA,UAAA,EAChB,mBAAmB,0HACnB,yBAAyB;YACzB,oBAAoB,CAAA,EAAA,MAAA,EAAA,CAAA,qPAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAMX,+BAA+B,EAAA,CAAA;cAhB3C,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAAA,OAAA,EAChC;oBACP,kBAAkB;oBAClB,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,mBAAmB;oBACnB,yBAAyB;oBACzB,oBAAoB;iBACrB,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6mIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEpC,+BAA+B,EAAA,EAAA,SAAA,EAAA,iCAAA,EAAA,QAAA,EAAA,uGAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts"],"sourcesContent":["<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\r\n <mat-form-field [appearance]=\"inputConfig().appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig().label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig()\"></lib-t-form-input-status>\r\n </mat-label>\r\n @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig().canReload?.emit()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\r\n @if (inputConfig().prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig().prefixText }}</span>\r\n }\r\n @if (inputConfig().suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig().suffixText }}</span>\r\n }\r\n\r\n <!-- Character Count Hint -->\r\n @if (inputConfig().maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig().id]?.value?.length || 0) + '/' + inputConfig().maxLength }}\r\n </mat-hint>\r\n }\r\n\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\r\n","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'strong';\r\n } else if (mediumPassword.test(value)) {\r\n return 'medium';\r\n } else {\r\n return 'weak';\r\n }\r\n\r\n }\r\n}\r\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;IAQI,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAA8E;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAqB;IAAA,EAAA,CAAA,YAAA,EAAO;;;IAA5B,EAAA,CAAA,SAAA,EAAqB;IAArB,EAAA,CAAA,kBAAA,CAAA,EAAA,EAAA,MAAA,CAAA,cAAA,EAAA,EAAA,GAAA,CAAqB;;;IAOnG,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,WAAA,EAAA,CAAA,CAAsE;IAAA,EAAA,CAAA,MAA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GAAA,CAAA,SAAA,EAAA,CAAyB;YACrC,EAAA,CAAA,SAAA,EAuGC;YAvGD,EAAA,CAAA,aAAA,CAAA,CAAA,OAAA,GAAA,GAAA,CAAA,WAAA,EAAA,IAAA,CAAA,GAAA,CAAA,CAAA,EAAA,OAAA,CAuGC;ACvFC,QAAA,CAAA,CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,kBAAkB,qFAClB,cAAc;AACd,YAAA,aAAa,cACb,eAAe,EAAAA,IAAA,CAAA,aAAA,EACf,gBAAgB,EAAAC,EAAA,CAAA,UAAA,EAChB,mBAAmB,gHACnB,yBAAyB;YACzB,oBAAoB,CAAA,EAAA,MAAA,EAAA,CAAA,qPAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAMX,+BAA+B,EAAA,CAAA;cAhB3C,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAAA,OAAA,EAChC;oBACP,kBAAkB;oBAClB,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,gBAAgB;oBAChB,mBAAmB;oBACnB,yBAAyB;oBACzB,oBAAoB;iBACrB,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6mIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;kFAEpC,+BAA+B,EAAA,EAAA,SAAA,EAAA,iCAAA,EAAA,QAAA,EAAA,uGAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -1,19 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, output, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1$1 from '@angular/forms';
3
+ import * as i1 from '@angular/forms';
4
4
  import { ReactiveFormsModule } from '@angular/forms';
5
5
  import * as i2 from '@angular/material/form-field';
6
6
  import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import { MatInputModule } from '@angular/material/input';
8
8
  import * as i3 from '@angular/material/icon';
9
9
  import { MatIconModule } from '@angular/material/icon';
10
- import * as i1 from '@angular/material/button';
10
+ import * as i2$1 from '@angular/material/button';
11
11
  import { MatButtonModule } from '@angular/material/button';
12
12
  import * as i5 from '@angular/material/tooltip';
13
13
  import { MatTooltipModule } from '@angular/material/tooltip';
14
- import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
14
+ import { q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs';
15
15
  import { InputPipeTypes } from 'ngx-t-forms-types';
16
- import { InputCustomComponent } from './ngx-t-forms-input-custom.component-pUshbxSM.mjs';
16
+ import { InputCustomComponent } from './ngx-t-forms-input-custom.component-Dcoze7U3.mjs';
17
17
 
18
18
  class BasicInputInputElementComponent {
19
19
  constructor() {
@@ -65,7 +65,7 @@ class BasicInputInputElementComponent {
65
65
  }
66
66
  }
67
67
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: BasicInputInputElementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
68
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: BasicInputInputElementComponent, isStandalone: true, selector: "lib-basic-input-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\r\n <mat-form-field [appearance]=\"inputConfig().appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig().label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig()\"></lib-t-form-input-status>\r\n </mat-label>\r\n @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig().canReload?.emit()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\r\n @if (inputConfig().prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig().prefixText }}</span>\r\n }\r\n @if (inputConfig().suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig().suffixText }}</span>\r\n }\r\n\r\n <!-- Character Count Hint -->\r\n @if (inputConfig().maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig().id]?.value?.length || 0) + '/' + inputConfig().maxLength }}\r\n </mat-hint>\r\n }\r\n\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: InputCustomComponent, selector: "lib-input-custom", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: BasicInputInputElementComponent, isStandalone: true, selector: "lib-basic-input-input-element", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\r\n <mat-form-field [appearance]=\"inputConfig().appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig().label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig()\"></lib-t-form-input-status>\r\n </mat-label>\r\n @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig().canReload?.emit()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\r\n @if (inputConfig().prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig().prefixText }}</span>\r\n }\r\n @if (inputConfig().suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig().suffixText }}</span>\r\n }\r\n\r\n <!-- Character Count Hint -->\r\n @if (inputConfig().maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig().id]?.value?.length || 0) + '/' + inputConfig().maxLength }}\r\n </mat-hint>\r\n }\r\n\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\r\n", styles: ["mat-form-field{width:100%!important}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: InputCustomComponent, selector: "lib-input-custom", inputs: ["inputConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
69
69
  }
70
70
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: BasicInputInputElementComponent, decorators: [{
71
71
  type: Component,
@@ -82,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
82
82
  }], propDecorators: { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], reload: [{ type: i0.Output, args: ["reload"] }] } });
83
83
 
84
84
  export { BasicInputInputElementComponent };
85
- //# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map
85
+ //# sourceMappingURL=ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'strong';\r\n } else if (mediumPassword.test(value)) {\r\n return 'medium';\r\n } else {\r\n return 'weak';\r\n }\r\n\r\n }\r\n}\r\n","<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\r\n <mat-form-field [appearance]=\"inputConfig().appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig().label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig()\"></lib-t-form-input-status>\r\n </mat-label>\r\n @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig().canReload?.emit()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\r\n @if (inputConfig().prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig().prefixText }}</span>\r\n }\r\n @if (inputConfig().suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig().suffixText }}</span>\r\n }\r\n\r\n <!-- Character Count Hint -->\r\n @if (inputConfig().maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig().id]?.value?.length || 0) + '/' + inputConfig().maxLength }}\r\n </mat-hint>\r\n }\r\n\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\r\n"],"names":["i1","i2","i4","i5"],"mappings":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AAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACnB,yBAAyB,6FACzB,oBAAoB,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAMX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAhB3C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAAA,OAAA,EAChC;wBACP,kBAAkB;wBAClB,cAAc;wBACd,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,yBAAyB;wBACzB,oBAAoB;qBACrB,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6mIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { InputPipeTypes, ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { InputCustomComponent } from './core/input-custom/input-custom.component';\r\n\r\n@Component({\r\n selector: 'lib-basic-input-input-element',\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n ReactiveFormsModule,\r\n TFormInputStatusComponent,\r\n InputCustomComponent,\r\n ],\r\n templateUrl: './basic-input-input-element.component.html',\r\n styleUrl: './basic-input-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class BasicInputInputElementComponent {\r\n\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n\r\n readonly reload = output<void>();\r\n\r\n protected readonly formControl = computed(\r\n () => this.formGroup().controls[this.inputConfig().id] as FormControl<unknown>,\r\n );\r\n\r\n protected readonly errorMessage = computed(\r\n () => getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n protected readonly hasError = computed(() => {\r\n // Correctly access the control within the form group\r\n const control = this.formGroup().get(this.inputConfig().id);\r\n return control?.invalid && (control?.touched || control?.dirty);\r\n });\r\n\r\n protected readonly currencyPrefix = computed(() => {\r\n const hasPipe = this.inputConfig().pipe?.pipeType === InputPipeTypes.Currency;\r\n if (!hasPipe) return undefined;\r\n return this.inputConfig().pipe?.param;\r\n });\r\n\r\n protected passwordStrengthColor(formControlName: string) {\r\n const form = this.formGroup();\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'var(--ion-color-success)';\r\n } else if (mediumPassword.test(value)) {\r\n return 'var(--ion-color-warning)';\r\n } else {\r\n return 'var(--ion-color-danger)';\r\n }\r\n }\r\n\r\n protected checkPasswordStrength(formControlName: string) {\r\n const form = this.formGroup();\r\n\r\n const value: string = form?.value[formControlName];\r\n let strongPassword = new RegExp(\r\n '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})'\r\n );\r\n let mediumPassword = new RegExp(\r\n '((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{6,}))|((?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])(?=.{8,}))'\r\n );\r\n if (strongPassword.test(value)) {\r\n return 'strong';\r\n } else if (mediumPassword.test(value)) {\r\n return 'medium';\r\n } else {\r\n return 'weak';\r\n }\r\n\r\n }\r\n}\r\n","<ng-container [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as classInput) {\r\n <mat-form-field [appearance]=\"inputConfig().appearance || 'fill'\" subscriptSizing=\"dynamic\">\r\n <mat-label>\r\n {{ inputConfig().label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig()\"></lib-t-form-input-status>\r\n </mat-label>\r\n @if(currencyPrefix()){\r\n <span style=\"color: var(--mat-sys-primary);padding-right: 4px;\" matTextPrefix>{{currencyPrefix()}} </span>\r\n }\r\n\r\n <lib-input-custom [inputConfig]=\"inputConfig()\" [required]=\"inputConfig().required\"\r\n [formControlName]=\"inputConfig().id\"></lib-input-custom>\r\n\r\n @if(errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{errorMessage()}}</mat-error>\r\n }\r\n <!-- [type]=\"this.inputConfig.showPassword ? 'text' : this.inputConfig.type||'text'\"-->\r\n <!-- @if(classInput.canRefresh){\r\n <button\r\n (click)=\"classInput.refresh()\"\r\n style=\" min-width: 1%;\"\r\n [matTooltip]=\"'Click to refresh this field. This will update any calculated values, fetch latest data from services, or reload available options'\"\r\n color=\"primary\" matSuffix mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n </button>\r\n } -->\r\n\r\n\r\n @if(inputConfig().hintLabel || classInput.temporaryHint ){\r\n <mat-hint class=\"inputHint\">\r\n {{ classInput.temporaryHint || inputConfig().hintLabel}}\r\n </mat-hint>\r\n }\r\n @if(inputConfig().canReload?.canReload){\r\n <button mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig().canReload?.emit()\" matSuffix>\r\n <mat-icon\r\n style=\"color:var(--mat-sys-primary)\"\r\n >sync</mat-icon>\r\n </button>\r\n }\r\n\r\n\r\n <!-- Prefix Icon -->\r\n @if (inputConfig().prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig().prefixIcon }}</mat-icon>\r\n }\r\n\r\n <!-- Suffix Icon or Password Visibility Toggle -->\r\n <!-- <ng-container *ngIf=\"inputConfig.suffixIcon\">\r\n <mat-icon *ngIf=\"inputConfig.id !== 'password'\" matSuffix>{{ inputConfig.suffixIcon\r\n }}</mat-icon>\r\n <button *ngIf=\"inputConfig.id === 'password'\" (click)=\"classInput.togglePasswordVisibility()\"\r\n mat-icon-button matSuffix>\r\n <mat-icon>{{ classInput.showPassword ? 'remove_red_eye' : 'eye_off' }}</mat-icon>\r\n </button>\r\n </ng-container> -->\r\n\r\n <!-- Prefix & Suffix Text -->\r\n @if (inputConfig().prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig().prefixText }}</span>\r\n }\r\n @if (inputConfig().suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig().suffixText }}</span>\r\n }\r\n\r\n <!-- Character Count Hint -->\r\n @if (inputConfig().maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig().id]?.value?.length || 0) + '/' + inputConfig().maxLength }}\r\n </mat-hint>\r\n }\r\n\r\n <!-- Password Strength Hint -->\r\n @if (inputConfig().type === 'password') {\r\n <mat-hint [style.color]=\"passwordStrengthColor(inputConfig().id)\"\r\n matTooltip=\"The password should be at least 8 characters long. Have at least one uppercase letter, one lowercase, one digit, one special character.\"\r\n align=\"end\">\r\n {{ checkPasswordStrength(inputConfig().id) }} password\r\n </mat-hint>\r\n }\r\n <!-- @if(inputConfig?.canReload){\r\n <mat-hint align=\"end\">\r\n\r\n <button click=\" canReload.emit()\" style=\" height: 28px;\r\n width: 28px;\r\n padding: 0px;\r\n font-size: 1em;\" [matTooltip]=\"'Reload ' + inputConfig.label +' resources'\" mat-icon-button>\r\n <mat-icon>\r\n sync\r\n </mat-icon>\r\n\r\n </button>\r\n </mat-hint>\r\n\r\n\r\n } -->\r\n </mat-form-field>\r\n }\r\n\r\n\r\n\r\n\r\n</ng-container>\r\n"],"names":["i1","i2","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;MA8Ba,+BAA+B,CAAA;AAhB5C,IAAA,WAAA,GAAA;AAkBW,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,iFAAoB;AAChD,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,+EAAa;QAEvC,IAAA,CAAA,MAAM,GAAG,MAAM,EAAQ;QAEb,IAAA,CAAA,WAAW,GAAG,QAAQ,CACvC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,CAAyB,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,aAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAC/E;AAEkB,QAAA,IAAA,CAAA,YAAY,GAAG,QAAQ,CACxC,MAAM,oBAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,mFACjE;AAEkB,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;;AAE1C,YAAA,MAAM,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