ngx-t-forms 2.0.34 → 2.0.36

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 (203) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs} +2 -2
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs.map → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map} +1 -1
  3. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs +261 -0
  4. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map +1 -0
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs} +3 -3
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs.map → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map} +1 -1
  7. package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs +225 -0
  8. package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map +1 -0
  9. package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs +1011 -0
  10. package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map +1 -0
  11. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs} +2 -2
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs.map → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map} +1 -1
  13. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs +136 -0
  14. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map +1 -0
  15. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs} +4 -4
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs.map → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs} +6 -6
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map} +1 -1
  19. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs +253 -0
  20. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map +1 -0
  21. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs +419 -0
  22. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +1 -0
  23. package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs} +8 -8
  24. package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs.map → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map} +1 -1
  25. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs} +2 -2
  26. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs.map → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map} +1 -1
  27. package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs +231 -0
  28. package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map +1 -0
  29. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs} +2 -2
  30. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs.map → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map} +1 -1
  31. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs +333 -0
  32. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map +1 -0
  33. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs +543 -0
  34. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map +1 -0
  35. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs +373 -0
  36. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map +1 -0
  37. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +1217 -0
  38. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +1 -0
  39. package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs → ngx-t-forms-document-picker.component-BNQ1a96s.mjs} +5 -5
  40. package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs.map → ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs} +3 -3
  42. package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs.map → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map} +1 -1
  43. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs +447 -0
  44. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +1 -0
  45. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +251 -0
  46. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +1 -0
  47. package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs → ngx-t-forms-editor-js-input.component-cxob42pE.mjs} +2 -2
  48. package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs.map → ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map} +1 -1
  49. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs} +6 -6
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs.map → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map} +1 -1
  51. package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs +447 -0
  52. package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map +1 -0
  53. package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs +163 -0
  54. package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map +1 -0
  55. package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs} +4 -4
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs.map → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs.map → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map} +1 -1
  59. package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs +28 -0
  60. package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map +1 -0
  61. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +291 -0
  62. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +1 -0
  63. package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs} +3 -3
  64. package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs.map → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map} +1 -1
  65. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs +936 -0
  66. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +1 -0
  67. package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs +389 -0
  68. package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map +1 -0
  69. package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +816 -0
  70. package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs} +11 -11
  72. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs.map → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs → ngx-t-forms-geo-location.component-ChmvJCGu.mjs} +2 -2
  74. package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs.map → ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map} +1 -1
  75. package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +329 -0
  76. package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +1 -0
  77. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs} +6 -6
  78. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs.map → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map} +1 -1
  79. package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +360 -0
  80. package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +1 -0
  81. package/fesm2022/{ngx-t-forms-index-D8TBBLAD.mjs → ngx-t-forms-index-D-7ZX0w7.mjs} +2 -2
  82. package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +2 -0
  84. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +1 -0
  85. package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +128 -0
  86. package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +1 -0
  87. package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs → ngx-t-forms-input-custom.component-pUshbxSM.mjs} +2 -2
  88. package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs.map → ngx-t-forms-input-custom.component-pUshbxSM.mjs.map} +1 -1
  89. package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +512 -0
  90. package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +1 -0
  91. package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs +190 -0
  92. package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs.map +1 -0
  93. package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs} +4 -4
  94. package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs.map → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map} +1 -1
  95. package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +132 -0
  96. package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map +1 -0
  97. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +109 -0
  98. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +1 -0
  99. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs} +4 -4
  100. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs.map → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map} +1 -1
  101. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +241 -0
  102. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +1 -0
  103. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +180 -0
  104. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +1 -0
  105. package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs} +6 -6
  106. package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs.map → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map} +1 -1
  107. package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +114 -0
  108. package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +1 -0
  109. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +69 -0
  110. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +1 -0
  111. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs} +4 -4
  112. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map} +1 -1
  113. package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +200 -0
  114. package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +1 -0
  115. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs} +2 -2
  116. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs.map → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map} +1 -1
  117. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +850 -0
  118. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +1 -0
  119. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +107 -0
  120. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +1 -0
  121. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs → ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs} +10 -10
  122. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map +1 -0
  123. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +1665 -0
  124. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map +1 -0
  125. package/fesm2022/{ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs → ngx-t-forms-ngx-t-forms-CJGAj18J.mjs} +2042 -179
  126. package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +1 -0
  127. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs +27352 -0
  128. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +1 -0
  129. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +1024 -0
  130. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +1 -0
  131. package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs} +5 -5
  132. package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs.map → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map} +1 -1
  133. package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +234 -0
  134. package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +1 -0
  135. package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs +203 -0
  136. package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map +1 -0
  137. package/fesm2022/{ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs → ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs} +9 -9
  138. package/fesm2022/ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map +1 -0
  139. package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +1126 -0
  140. package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +1 -0
  141. package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs} +4 -4
  142. package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs.map → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map} +1 -1
  143. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +545 -0
  144. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +1 -0
  145. package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +451 -0
  146. package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +1 -0
  147. package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs} +4 -4
  148. package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs.map → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map} +1 -1
  149. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +625 -0
  150. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +1 -0
  151. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs → ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs} +61 -15
  152. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map +1 -0
  153. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +72 -0
  154. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +1 -0
  155. package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs +248 -0
  156. package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +1 -0
  157. package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs → ngx-t-forms-section-report.component-mUpSxbaB.mjs} +4 -4
  158. package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs.map → ngx-t-forms-section-report.component-mUpSxbaB.mjs.map} +1 -1
  159. package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +408 -0
  160. package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +1 -0
  161. package/fesm2022/{ngx-t-forms-select-input-element.component-CStVMEhv.mjs → ngx-t-forms-select-input-element.component-c7IgHdXA.mjs} +5 -5
  162. package/fesm2022/ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map +1 -0
  163. package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +275 -0
  164. package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map +1 -0
  165. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs} +5 -5
  166. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs.map → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map} +1 -1
  167. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +341 -0
  168. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +1 -0
  169. package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs} +7 -7
  170. package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs.map → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map} +1 -1
  171. package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs} +2 -2
  172. package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs.map → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map} +1 -1
  173. package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs +233 -0
  174. package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +1 -0
  175. package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +305 -0
  176. package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +1 -0
  177. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs} +2 -2
  178. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs.map → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map} +1 -1
  179. package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs → ngx-t-forms-validators-config.component-DgIVRSvF.mjs} +6 -6
  180. package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs.map → ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map} +1 -1
  181. package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +1105 -0
  182. package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +1 -0
  183. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs} +9 -9
  184. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs.map → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map} +1 -1
  185. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +2923 -0
  186. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +1 -0
  187. package/fesm2022/ngx-t-forms.mjs +1 -1
  188. package/package.json +8 -2
  189. package/styles/_editor-mixins.scss +55 -0
  190. package/styles/_json-editor-syntax.scss +16 -0
  191. package/types/ngx-t-forms.d.ts +663 -12
  192. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs +0 -368
  193. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs.map +0 -1
  194. package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs +0 -389
  195. package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-index-D8TBBLAD.mjs.map +0 -1
  197. package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs +0 -193
  198. package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs.map +0 -1
  199. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs.map +0 -1
  201. package/fesm2022/ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs.map +0 -1
  203. package/fesm2022/ngx-t-forms-select-input-element.component-CStVMEhv.mjs.map +0 -1
@@ -0,0 +1,360 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, ElementRef, input, viewChild, computed, PLATFORM_ID, ChangeDetectionStrategy, Component, output } from '@angular/core';
3
+ import * as i1$1 from '@angular/forms';
4
+ import { NgControl, ReactiveFormsModule } from '@angular/forms';
5
+ import * as i2 from '@angular/material/form-field';
6
+ import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
7
+ import * as i3 from '@angular/material/icon';
8
+ import { MatIconModule } from '@angular/material/icon';
9
+ import * as i1 from '@angular/material/button';
10
+ import { MatButtonModule } from '@angular/material/button';
11
+ import * as i5 from '@angular/material/tooltip';
12
+ import { MatTooltipModule } from '@angular/material/tooltip';
13
+ import { B as BaseCustomInput, q as getInputErrorMessage, u as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
14
+ import { isPlatformBrowser } from '@angular/common';
15
+ import * as i8 from '@angular/material/toolbar';
16
+ import { MatToolbarModule } from '@angular/material/toolbar';
17
+
18
+ // Image capture
19
+ async function setupDevices(cameraCallback) {
20
+ // SSR guard (Trap 14): free helper has no DI context. Returning `undefined`
21
+ // matches the existing "no media device" branch — caller contract preserved.
22
+ if (typeof navigator === 'undefined')
23
+ return undefined;
24
+ if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
25
+ try {
26
+ const stream = await navigator.mediaDevices.getUserMedia({
27
+ video: true,
28
+ });
29
+ if (stream) {
30
+ cameraCallback(stream);
31
+ return stream;
32
+ }
33
+ else {
34
+ return 'You have no output video device';
35
+ }
36
+ }
37
+ catch (e) {
38
+ return e;
39
+ }
40
+ }
41
+ return undefined;
42
+ }
43
+ function fileUploaderValidator(control) {
44
+ // Implement your validation logic here
45
+ const file = control.value;
46
+ // Example validation: Check if file is provided
47
+ if (!file || !file.base64) {
48
+ return { requiredFile: 'You must upload a file.' };
49
+ }
50
+ // Add more validation logic as needed
51
+ // ...
52
+ return null; // Return null if no validation errors
53
+ }
54
+
55
+ const _c0 = ["video"];
56
+ const _c1 = ["canvas"];
57
+ function CameraCaptureComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
58
+ const _r1 = i0.ɵɵgetCurrentView();
59
+ i0.ɵɵelementStart(0, "button", 9);
60
+ i0.ɵɵlistener("click", function CameraCaptureComponent_Conditional_11_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.stopVideo()); });
61
+ i0.ɵɵelementStart(1, "mat-icon");
62
+ i0.ɵɵtext(2, " stop ");
63
+ i0.ɵɵelementEnd()();
64
+ } }
65
+ const customInputConfig = {
66
+ controlType: 'app-camera-capture',
67
+ nextId: 0,
68
+ };
69
+ class CameraCaptureComponent extends BaseCustomInput {
70
+ #platformId;
71
+ constructor() {
72
+ super(inject(NgControl, { optional: true, self: true }), inject(ElementRef), customInputConfig);
73
+ this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
74
+ this.video = viewChild.required('video');
75
+ this.canvas = viewChild.required('canvas');
76
+ /**
77
+ * True when the descriptor marks the field `readonly` or `disabled`. Blocks the
78
+ * capture/recapture actions so the camera honours the same `readonly || disabled`
79
+ * contract as the reference text input.
80
+ */
81
+ this.isReadOnly = computed(() => {
82
+ const cfg = this.inputConfig();
83
+ return !!cfg?.readonly || !!cfg?.disabled;
84
+ }, ...(ngDevMode ? [{ debugName: "isReadOnly" }] : /* istanbul ignore next */ []));
85
+ this.WIDTH = 640;
86
+ this.HEIGHT = 480;
87
+ this.captures = [];
88
+ this.isCaptured = false;
89
+ this.videoMode = false;
90
+ this.#platformId = inject(PLATFORM_ID);
91
+ this.setup = (stream) => {
92
+ if (!isPlatformBrowser(this.#platformId))
93
+ return;
94
+ const videoEl = this.video()?.nativeElement;
95
+ if (!videoEl)
96
+ return;
97
+ try {
98
+ videoEl.srcObject = stream;
99
+ void videoEl.play();
100
+ }
101
+ catch {
102
+ // Ignored: play() may reject if the element is detached or autoplay is blocked.
103
+ }
104
+ };
105
+ }
106
+ get empty() {
107
+ return !this.value;
108
+ }
109
+ get shouldLabelFloat() {
110
+ return this.focused || !this.empty;
111
+ }
112
+ recapture() {
113
+ if (this.isReadOnly())
114
+ return;
115
+ if (!isPlatformBrowser(this.#platformId))
116
+ return;
117
+ const videoEl = this.video()?.nativeElement;
118
+ if (!videoEl)
119
+ return;
120
+ videoEl.srcObject = null;
121
+ this.isCaptured = false;
122
+ setupDevices(this.setup);
123
+ this.value = null;
124
+ this.stateChanges.next();
125
+ }
126
+ touch() {
127
+ this.markAsTouched();
128
+ }
129
+ capture() {
130
+ if (this.isReadOnly())
131
+ return;
132
+ if (!isPlatformBrowser(this.#platformId))
133
+ return;
134
+ const videoEl = this.video()?.nativeElement;
135
+ const canvasEl = this.canvas()?.nativeElement;
136
+ if (!videoEl || !canvasEl)
137
+ return;
138
+ this.touch();
139
+ this.drawImageToCanvas(videoEl);
140
+ const fileType = this.inputConfig()?.fileType;
141
+ this.value = {
142
+ fileName: new Date(),
143
+ type: fileType,
144
+ base64: canvasEl.toDataURL('image/png'),
145
+ };
146
+ this.captures.push(canvasEl.toDataURL('image/png'));
147
+ this.isCaptured = true;
148
+ this.stopVideo();
149
+ this.onChange(this.value);
150
+ this.stateChanges.next();
151
+ }
152
+ stopVideo() {
153
+ if (!isPlatformBrowser(this.#platformId))
154
+ return;
155
+ const videoEl = this.video()?.nativeElement;
156
+ const src = videoEl?.srcObject;
157
+ if (src && src instanceof MediaStream) {
158
+ src.getTracks().forEach(track => track.stop());
159
+ }
160
+ }
161
+ drawImageToCanvas(image) {
162
+ if (!isPlatformBrowser(this.#platformId))
163
+ return;
164
+ const canvasEl = this.canvas()?.nativeElement;
165
+ const ctx = canvasEl?.getContext('2d');
166
+ if (!ctx)
167
+ return;
168
+ ctx.drawImage(image, 0, 0, this.WIDTH, this.HEIGHT);
169
+ }
170
+ static { this.ɵfac = function CameraCaptureComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CameraCaptureComponent)(); }; }
171
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CameraCaptureComponent, selectors: [["lib-camera-capture"]], viewQuery: function CameraCaptureComponent_Query(rf, ctx) { if (rf & 1) {
172
+ i0.ɵɵviewQuerySignal(ctx.video, _c0, 5)(ctx.canvas, _c1, 5);
173
+ } if (rf & 2) {
174
+ i0.ɵɵqueryAdvance(2);
175
+ } }, inputs: { inputConfig: [1, "inputConfig"] }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: CameraCaptureComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 11, consts: [["video", ""], ["canvas", ""], [1, "video-container"], ["id", "video", "autoplay", "", 2, "margin", "auto", 3, "width", "height"], ["id", "canvas", 3, "width", "height"], [2, "background", "none"], [1, "spacer"], ["mat-icon-button", "", 3, "click", "disabled", "color"], ["mat-icon-button", ""], ["mat-icon-button", "", 3, "click"]], template: function CameraCaptureComponent_Template(rf, ctx) { if (rf & 1) {
176
+ i0.ɵɵelement(0, "br");
177
+ i0.ɵɵelementStart(1, "div", 2);
178
+ i0.ɵɵelement(2, "video", 3, 0)(4, "canvas", 4, 1);
179
+ i0.ɵɵelementEnd();
180
+ i0.ɵɵelementStart(6, "mat-toolbar", 5);
181
+ i0.ɵɵelement(7, "span", 6);
182
+ i0.ɵɵelementStart(8, "button", 7);
183
+ i0.ɵɵlistener("click", function CameraCaptureComponent_Template_button_click_8_listener() { return ctx.isCaptured ? ctx.recapture() : ctx.capture(); });
184
+ i0.ɵɵelementStart(9, "mat-icon");
185
+ i0.ɵɵtext(10, " photo_camera ");
186
+ i0.ɵɵelementEnd()();
187
+ i0.ɵɵconditionalCreate(11, CameraCaptureComponent_Conditional_11_Template, 3, 0, "button", 8);
188
+ i0.ɵɵelement(12, "span", 6);
189
+ i0.ɵɵelementEnd();
190
+ } if (rf & 2) {
191
+ i0.ɵɵadvance(2);
192
+ i0.ɵɵstyleProp("display", !ctx.isCaptured ? "block" : "none");
193
+ i0.ɵɵproperty("width", ctx.WIDTH)("height", ctx.HEIGHT);
194
+ i0.ɵɵadvance(2);
195
+ i0.ɵɵstyleProp("display", ctx.isCaptured ? "block" : "none");
196
+ i0.ɵɵproperty("width", ctx.WIDTH)("height", ctx.HEIGHT);
197
+ i0.ɵɵadvance(4);
198
+ i0.ɵɵproperty("disabled", ctx.isReadOnly())("color", ctx.isCaptured ? "primary" : "warn");
199
+ i0.ɵɵadvance(3);
200
+ i0.ɵɵconditional(!ctx.isCaptured ? 11 : -1);
201
+ } }, dependencies: [MatIconModule, i3.MatIcon, MatToolbarModule, i8.MatToolbar, MatButtonModule, i1.MatIconButton], encapsulation: 2, changeDetection: 0 }); }
202
+ }
203
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CameraCaptureComponent, [{
204
+ type: Component,
205
+ args: [{ selector: 'lib-camera-capture', imports: [MatIconModule, MatToolbarModule, MatButtonModule], providers: [{ provide: MatFormFieldControl, useExisting: CameraCaptureComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<br>\r\n<div class=\"video-container\">\r\n <video\r\n style=\"margin: auto;\"\r\n [style.display]=\"!isCaptured ? 'block' : 'none'\"\r\n #video\r\n id=\"video\"\r\n [width]=\"WIDTH\"\r\n [height]=\"HEIGHT\"\r\n autoplay\r\n ></video>\r\n <canvas\r\n [style.display]=\"isCaptured ? 'block' : 'none'\"\r\n #canvas\r\n id=\"canvas\"\r\n [width]=\"WIDTH\"\r\n [height]=\"HEIGHT\"\r\n ></canvas>\r\n</div>\r\n<mat-toolbar style=\"background: none;\">\r\n <span class=\"spacer\"></span>\r\n <button (click)=\"isCaptured ? recapture() : capture()\" [disabled]=\"isReadOnly()\" [color]=\"isCaptured?'primary':'warn'\" mat-icon-button>\r\n <mat-icon>\r\n photo_camera\r\n </mat-icon>\r\n\r\n </button>\r\n @if (!isCaptured) {\r\n <button (click)=\"stopVideo()\" mat-icon-button>\r\n <mat-icon>\r\n stop\r\n </mat-icon>\r\n\r\n </button>\r\n }\r\n <span class=\"spacer\"></span>\r\n</mat-toolbar>\r\n" }]
206
+ }], () => [], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], video: [{ type: i0.ViewChild, args: ['video', { isSignal: true }] }], canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }] }); })();
207
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CameraCaptureComponent, { className: "CameraCaptureComponent", filePath: "lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.ts", lineNumber: 36 }); })();
208
+
209
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
210
+ i0.ɵɵelementStart(0, "mat-hint", 4);
211
+ i0.ɵɵtext(1);
212
+ i0.ɵɵelementEnd();
213
+ } if (rf & 2) {
214
+ const inputConfig_r1 = i0.ɵɵnextContext();
215
+ i0.ɵɵadvance();
216
+ i0.ɵɵtextInterpolate1(" ", inputConfig_r1.temporaryHint || inputConfig_r1.hintLabel, " ");
217
+ } }
218
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_6_Template(rf, ctx) { if (rf & 1) {
219
+ i0.ɵɵelementStart(0, "mat-error", 5);
220
+ i0.ɵɵtext(1);
221
+ i0.ɵɵelementEnd();
222
+ } if (rf & 2) {
223
+ const ctx_r1 = i0.ɵɵnextContext(2);
224
+ i0.ɵɵadvance();
225
+ i0.ɵɵtextInterpolate(ctx_r1.errorMessage());
226
+ } }
227
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
228
+ const _r3 = i0.ɵɵgetCurrentView();
229
+ i0.ɵɵelementStart(0, "button", 12);
230
+ i0.ɵɵlistener("click", function ImageCaptureInputElementComponent_Conditional_1_Conditional_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const inputConfig_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(inputConfig_r1.canReload.emit()); });
231
+ i0.ɵɵelementStart(1, "mat-icon", 13);
232
+ i0.ɵɵtext(2, "sync");
233
+ i0.ɵɵelementEnd()();
234
+ } }
235
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
236
+ i0.ɵɵelementStart(0, "mat-icon", 7);
237
+ i0.ɵɵtext(1);
238
+ i0.ɵɵelementEnd();
239
+ } if (rf & 2) {
240
+ const inputConfig_r1 = i0.ɵɵnextContext();
241
+ i0.ɵɵadvance();
242
+ i0.ɵɵtextInterpolate(inputConfig_r1.prefixIcon);
243
+ } }
244
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
245
+ i0.ɵɵelementStart(0, "mat-icon", 8);
246
+ i0.ɵɵtext(1);
247
+ i0.ɵɵelementEnd();
248
+ } if (rf & 2) {
249
+ const inputConfig_r1 = i0.ɵɵnextContext();
250
+ i0.ɵɵadvance();
251
+ i0.ɵɵtextInterpolate(inputConfig_r1.suffixIcon);
252
+ } }
253
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
254
+ i0.ɵɵelementStart(0, "span", 9);
255
+ i0.ɵɵtext(1);
256
+ i0.ɵɵelementEnd();
257
+ } if (rf & 2) {
258
+ const inputConfig_r1 = i0.ɵɵnextContext();
259
+ i0.ɵɵadvance();
260
+ i0.ɵɵtextInterpolate(inputConfig_r1.prefixText);
261
+ } }
262
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
263
+ i0.ɵɵelementStart(0, "span", 10);
264
+ i0.ɵɵtext(1);
265
+ i0.ɵɵelementEnd();
266
+ } if (rf & 2) {
267
+ const inputConfig_r1 = i0.ɵɵnextContext();
268
+ i0.ɵɵadvance();
269
+ i0.ɵɵtextInterpolate(inputConfig_r1.suffixText);
270
+ } }
271
+ function ImageCaptureInputElementComponent_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
272
+ i0.ɵɵelementStart(0, "mat-hint", 11);
273
+ i0.ɵɵtext(1);
274
+ i0.ɵɵelementEnd();
275
+ } if (rf & 2) {
276
+ let tmp_3_0;
277
+ const inputConfig_r1 = i0.ɵɵnextContext();
278
+ const ctx_r1 = i0.ɵɵnextContext();
279
+ i0.ɵɵadvance();
280
+ i0.ɵɵtextInterpolate1(" ", (((tmp_3_0 = ctx_r1.formGroup().controls[inputConfig_r1.id]) == null ? null : tmp_3_0.value == null ? null : tmp_3_0.value.length) || 0) + "/" + inputConfig_r1.maxLength, " ");
281
+ } }
282
+ function ImageCaptureInputElementComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
283
+ i0.ɵɵelementStart(0, "mat-form-field", 1)(1, "mat-label");
284
+ i0.ɵɵtext(2);
285
+ i0.ɵɵelement(3, "lib-t-form-input-status", 2);
286
+ i0.ɵɵelementEnd();
287
+ i0.ɵɵelement(4, "lib-camera-capture", 3);
288
+ i0.ɵɵconditionalCreate(5, ImageCaptureInputElementComponent_Conditional_1_Conditional_5_Template, 2, 1, "mat-hint", 4);
289
+ i0.ɵɵconditionalCreate(6, ImageCaptureInputElementComponent_Conditional_1_Conditional_6_Template, 2, 1, "mat-error", 5);
290
+ i0.ɵɵconditionalCreate(7, ImageCaptureInputElementComponent_Conditional_1_Conditional_7_Template, 3, 0, "button", 6);
291
+ i0.ɵɵconditionalCreate(8, ImageCaptureInputElementComponent_Conditional_1_Conditional_8_Template, 2, 1, "mat-icon", 7);
292
+ i0.ɵɵconditionalCreate(9, ImageCaptureInputElementComponent_Conditional_1_Conditional_9_Template, 2, 1, "mat-icon", 8);
293
+ i0.ɵɵconditionalCreate(10, ImageCaptureInputElementComponent_Conditional_1_Conditional_10_Template, 2, 1, "span", 9);
294
+ i0.ɵɵconditionalCreate(11, ImageCaptureInputElementComponent_Conditional_1_Conditional_11_Template, 2, 1, "span", 10);
295
+ i0.ɵɵconditionalCreate(12, ImageCaptureInputElementComponent_Conditional_1_Conditional_12_Template, 2, 1, "mat-hint", 11);
296
+ i0.ɵɵelementEnd();
297
+ } if (rf & 2) {
298
+ const inputConfig_r1 = ctx;
299
+ const ctx_r1 = i0.ɵɵnextContext();
300
+ i0.ɵɵproperty("appearance", inputConfig_r1.appearance || "fill");
301
+ i0.ɵɵadvance(2);
302
+ i0.ɵɵtextInterpolate1(" ", inputConfig_r1.label, " ");
303
+ i0.ɵɵadvance();
304
+ i0.ɵɵproperty("inputConfig", inputConfig_r1);
305
+ i0.ɵɵadvance();
306
+ i0.ɵɵproperty("required", inputConfig_r1.required)("inputConfig", inputConfig_r1)("formControlName", inputConfig_r1.id);
307
+ i0.ɵɵadvance();
308
+ i0.ɵɵconditional(inputConfig_r1.hintLabel || inputConfig_r1.temporaryHint ? 5 : -1);
309
+ i0.ɵɵadvance();
310
+ i0.ɵɵconditional(!!ctx_r1.errorMessage() ? 6 : -1);
311
+ i0.ɵɵadvance();
312
+ i0.ɵɵconditional((inputConfig_r1.canReload == null ? null : inputConfig_r1.canReload.canReload) ? 7 : -1);
313
+ i0.ɵɵadvance();
314
+ i0.ɵɵconditional(inputConfig_r1.prefixIcon ? 8 : -1);
315
+ i0.ɵɵadvance();
316
+ i0.ɵɵconditional(inputConfig_r1.suffixIcon && inputConfig_r1.id !== "password" ? 9 : -1);
317
+ i0.ɵɵadvance();
318
+ i0.ɵɵconditional(inputConfig_r1.prefixText ? 10 : -1);
319
+ i0.ɵɵadvance();
320
+ i0.ɵɵconditional(inputConfig_r1.suffixText ? 11 : -1);
321
+ i0.ɵɵadvance();
322
+ i0.ɵɵconditional(inputConfig_r1.maxLength && ctx_r1.formGroup() ? 12 : -1);
323
+ } }
324
+ /** Wraps the camera-capture control inside a `mat-form-field`. */
325
+ class ImageCaptureInputElementComponent {
326
+ constructor() {
327
+ this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
328
+ this.formGroup = input.required(...(ngDevMode ? [{ debugName: "formGroup" }] : /* istanbul ignore next */ []));
329
+ this.reload = output();
330
+ this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
331
+ }
332
+ static { this.ɵfac = function ImageCaptureInputElementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ImageCaptureInputElementComponent)(); }; }
333
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ImageCaptureInputElementComponent, selectors: [["lib-image-capture-input-element"]], inputs: { inputConfig: [1, "inputConfig"], formGroup: [1, "formGroup"] }, outputs: { reload: "reload" }, decls: 2, vars: 2, consts: [[3, "formGroup"], ["subscriptSizing", "dynamic", 3, "appearance"], [3, "inputConfig"], [3, "required", "inputConfig", "formControlName"], [1, "inputHint"], ["matTooltipClass", "errorToolTip", 1, "oneLineTextEllipsis"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px"], ["matPrefix", ""], ["matSuffix", ""], ["matPrefix", "", 2, "top", "0"], ["matSuffix", "", 2, "padding-left", "5px"], ["align", "end"], ["mat-icon-button", "", "matTooltip", "Click to refresh this field.", "matSuffix", "", 1, "input-sync-button", 2, "margin-right", "4px", 3, "click"], [2, "color", "var(--mat-sys-primary)"]], template: function ImageCaptureInputElementComponent_Template(rf, ctx) { if (rf & 1) {
334
+ i0.ɵɵelementContainerStart(0, 0);
335
+ i0.ɵɵconditionalCreate(1, ImageCaptureInputElementComponent_Conditional_1_Template, 13, 14, "mat-form-field", 1);
336
+ i0.ɵɵelementContainerEnd();
337
+ } if (rf & 2) {
338
+ let tmp_1_0;
339
+ i0.ɵɵproperty("formGroup", ctx.formGroup());
340
+ i0.ɵɵadvance();
341
+ i0.ɵɵconditional((tmp_1_0 = ctx.inputConfig()) ? 1 : -1, tmp_1_0);
342
+ } }, dependencies: [ReactiveFormsModule, i1$1.NgControlStatus, i1$1.NgControlStatusGroup, i1$1.RequiredValidator, i1$1.FormGroupDirective, i1$1.FormControlName, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, i2.MatError, i2.MatPrefix, i2.MatSuffix, MatIconModule, i3.MatIcon, MatButtonModule, i1.MatIconButton, MatTooltipModule, i5.MatTooltip, TFormInputStatusComponent,
343
+ CameraCaptureComponent], 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 }); }
344
+ }
345
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImageCaptureInputElementComponent, [{
346
+ type: Component,
347
+ args: [{ selector: 'lib-image-capture-input-element', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
348
+ ReactiveFormsModule,
349
+ MatFormFieldModule,
350
+ MatIconModule,
351
+ MatButtonModule,
352
+ MatTooltipModule,
353
+ TFormInputStatusComponent,
354
+ CameraCaptureComponent,
355
+ ], template: "<ng-container [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-camera-capture\r\n [required]=\"inputConfig.required\"\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-camera-capture>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\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.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 (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</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"] }]
356
+ }], null, { 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"] }] }); })();
357
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ImageCaptureInputElementComponent, { className: "ImageCaptureInputElementComponent", filePath: "lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.ts", lineNumber: 28 }); })();
358
+
359
+ export { ImageCaptureInputElementComponent };
360
+ //# sourceMappingURL=ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/camera-functions.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.ts"],"sourcesContent":["// Image capture\r\n\r\nimport { AbstractControl, ValidationErrors } from \"@angular/forms\";\r\nimport { FileUploadInputValueInterface } from \"ngx-t-forms-types\";\r\n\r\n\r\nexport async function setupDevices(\r\n cameraCallback: (stream: MediaStream) => void\r\n): Promise<MediaStream | string | unknown | undefined> {\r\n // SSR guard (Trap 14): free helper has no DI context. Returning `undefined`\r\n // matches the existing \"no media device\" branch — caller contract preserved.\r\n if (typeof navigator === 'undefined') return undefined;\r\n\r\n if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {\r\n try {\r\n const stream = await navigator.mediaDevices.getUserMedia({\r\n video: true,\r\n });\r\n if (stream) {\r\n cameraCallback(stream);\r\n return stream;\r\n } else {\r\n return 'You have no output video device';\r\n }\r\n } catch (e) {\r\n return e;\r\n }\r\n }\r\n return undefined;\r\n}\r\n\r\n\r\nexport function fileUploaderValidator(control: AbstractControl): ValidationErrors | null {\r\n // Implement your validation logic here\r\n const file: FileUploadInputValueInterface= control.value;\r\n\r\n // Example validation: Check if file is provided\r\n if (!file || !file.base64) {\r\n return { requiredFile: 'You must upload a file.' };\r\n }\r\n\r\n // Add more validation logic as needed\r\n // ...\r\n\r\n return null; // Return null if no validation errors\r\n}","<br>\r\n<div class=\"video-container\">\r\n <video\r\n style=\"margin: auto;\"\r\n [style.display]=\"!isCaptured ? 'block' : 'none'\"\r\n #video\r\n id=\"video\"\r\n [width]=\"WIDTH\"\r\n [height]=\"HEIGHT\"\r\n autoplay\r\n ></video>\r\n <canvas\r\n [style.display]=\"isCaptured ? 'block' : 'none'\"\r\n #canvas\r\n id=\"canvas\"\r\n [width]=\"WIDTH\"\r\n [height]=\"HEIGHT\"\r\n ></canvas>\r\n</div>\r\n<mat-toolbar style=\"background: none;\">\r\n <span class=\"spacer\"></span>\r\n <button (click)=\"isCaptured ? recapture() : capture()\" [disabled]=\"isReadOnly()\" [color]=\"isCaptured?'primary':'warn'\" mat-icon-button>\r\n <mat-icon>\r\n photo_camera\r\n </mat-icon>\r\n\r\n </button>\r\n @if (!isCaptured) {\r\n <button (click)=\"stopVideo()\" mat-icon-button>\r\n <mat-icon>\r\n stop\r\n </mat-icon>\r\n\r\n </button>\r\n }\r\n <span class=\"spacer\"></span>\r\n</mat-toolbar>\r\n","import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n PLATFORM_ID,\r\n computed,\r\n inject,\r\n input,\r\n viewChild,\r\n} from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatButtonModule } from '@angular/material/button';\r\n\r\nimport { FileUploadInputValueInterface, IFileUploadInput, ITowerStepColumn } from 'ngx-t-forms-types';\r\n\r\nimport { setupDevices } from '../../../file-upload-input-element/core/file-uploader/camera-functions';\r\nimport { BaseCustomInput, BaseCustomInputConfig } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'app-camera-capture',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-camera-capture',\r\n templateUrl: './camera-capture.component.html',\r\n styleUrls: ['./camera-capture.component.scss'],\r\n imports: [MatIconModule, MatToolbarModule, MatButtonModule],\r\n providers: [{ provide: MatFormFieldControl, useExisting: CameraCaptureComponent }],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class CameraCaptureComponent extends BaseCustomInput<FileUploadInputValueInterface | object | null> {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n protected readonly video = viewChild.required<ElementRef<HTMLVideoElement>>('video');\r\n protected readonly canvas = viewChild.required<ElementRef<HTMLCanvasElement>>('canvas');\r\n\r\n /**\r\n * True when the descriptor marks the field `readonly` or `disabled`. Blocks the\r\n * capture/recapture actions so the camera honours the same `readonly || disabled`\r\n * contract as the reference text input.\r\n */\r\n protected readonly isReadOnly = computed<boolean>(() => {\r\n const cfg = this.inputConfig();\r\n return !!cfg?.readonly || !!cfg?.disabled;\r\n });\r\n\r\n protected readonly WIDTH = 640;\r\n protected readonly HEIGHT = 480;\r\n protected captures: string[] = [];\r\n protected isCaptured = false;\r\n protected videoMode = false;\r\n\r\n readonly #platformId = inject(PLATFORM_ID);\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { optional: true, self: true }) as NgControl,\r\n inject<ElementRef<HTMLElement>>(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n override get empty(): boolean {\r\n return !this.value;\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n protected recapture(): void {\r\n if (this.isReadOnly()) return;\r\n if (!isPlatformBrowser(this.#platformId)) return;\r\n const videoEl = this.video()?.nativeElement;\r\n if (!videoEl) return;\r\n videoEl.srcObject = null;\r\n this.isCaptured = false;\r\n setupDevices(this.setup);\r\n this.value = null;\r\n this.stateChanges.next();\r\n }\r\n\r\n protected readonly setup = (stream: MediaStream): void => {\r\n if (!isPlatformBrowser(this.#platformId)) return;\r\n const videoEl = this.video()?.nativeElement;\r\n if (!videoEl) return;\r\n try {\r\n videoEl.srcObject = stream;\r\n void videoEl.play();\r\n } catch {\r\n // Ignored: play() may reject if the element is detached or autoplay is blocked.\r\n }\r\n };\r\n\r\n protected touch(): void {\r\n this.markAsTouched();\r\n }\r\n\r\n protected capture(): void {\r\n if (this.isReadOnly()) return;\r\n if (!isPlatformBrowser(this.#platformId)) return;\r\n const videoEl = this.video()?.nativeElement;\r\n const canvasEl = this.canvas()?.nativeElement;\r\n if (!videoEl || !canvasEl) return;\r\n\r\n this.touch();\r\n this.drawImageToCanvas(videoEl);\r\n const fileType = (this.inputConfig() as IFileUploadInput | undefined)?.fileType;\r\n this.value = {\r\n fileName: new Date(),\r\n type: fileType,\r\n base64: canvasEl.toDataURL('image/png'),\r\n };\r\n\r\n this.captures.push(canvasEl.toDataURL('image/png'));\r\n this.isCaptured = true;\r\n this.stopVideo();\r\n this.onChange(this.value);\r\n this.stateChanges.next();\r\n }\r\n\r\n protected stopVideo(): void {\r\n if (!isPlatformBrowser(this.#platformId)) return;\r\n const videoEl = this.video()?.nativeElement;\r\n const src = videoEl?.srcObject;\r\n if (src && src instanceof MediaStream) {\r\n src.getTracks().forEach(track => track.stop());\r\n }\r\n }\r\n\r\n private drawImageToCanvas(image: HTMLVideoElement): void {\r\n if (!isPlatformBrowser(this.#platformId)) return;\r\n const canvasEl = this.canvas()?.nativeElement;\r\n const ctx = canvasEl?.getContext('2d');\r\n if (!ctx) return;\r\n ctx.drawImage(image, 0, 0, this.WIDTH, this.HEIGHT);\r\n }\r\n}\r\n","<ng-container [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-camera-capture\r\n [required]=\"inputConfig.required\"\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n ></lib-camera-capture>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\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.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 (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</ng-container>\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 type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { CameraCaptureComponent } from './core/camera-capture/camera-capture.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\n\r\n/** Wraps the camera-capture control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-image-capture-input-element',\r\n templateUrl: './image-capture-input-element.component.html',\r\n styleUrl: './image-capture-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 TFormInputStatusComponent,\r\n CameraCaptureComponent,\r\n ],\r\n})\r\nexport class ImageCaptureInputElementComponent {\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"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAMO,eAAe,YAAY,CAChC,cAA6C,EAAA;;;IAI7C,IAAI,OAAO,SAAS,KAAK,WAAW;AAAE,QAAA,OAAO,SAAS;IAEtD,IAAI,SAAS,CAAC,YAAY,IAAI,SAAS,CAAC,YAAY,CAAC,YAAY,EAAE;AACjE,QAAA,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,YAAY,CAAC,YAAY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AAAG,EAAA,CAAA,aAAA,EACf,gBAAgB,EAAA,EAAA,CAAA,UAAA,EAChB,yBAAyB;YACzB,sBAAsB,CAAA,EAAA,MAAA,EAAA,CAAA,qPAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAGb,iCAAiC,EAAA,CAAA;cAf7C,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,yBAAyB;oBACzB,sBAAsB;AACvB,iBAAA,EAAA,QAAA,EAAA,ksEAAA,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,2 +1,2 @@
1
- export { v as DialogTemplateComponent, w as FormBuilderComponent, x as FormsComponent, M as MscoaFormInputComponent, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, y as TFormInputComponent, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, z as getSignatureImage, t as testAgainstItem } from './ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs';
2
- //# sourceMappingURL=ngx-t-forms-index-D8TBBLAD.mjs.map
1
+ export { v as DialogTemplateComponent, w as FormBuilderComponent, x as FormsComponent, M as MscoaFormInputComponent, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, y as TFormInputComponent, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, z as getSignatureImage, t as testAgainstItem } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
2
+ //# sourceMappingURL=ngx-t-forms-index-D-7ZX0w7.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-index-D-7ZX0w7.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { v as DialogTemplateComponent, w as FormBuilderComponent, x as FormsComponent, M as MscoaFormInputComponent, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, y as TFormInputComponent, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, z as getSignatureImage, t as testAgainstItem } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
2
+ //# sourceMappingURL=ngx-t-forms-index-DHloq32-.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-index-DHloq32-.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,128 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, DestroyRef, viewChild, forwardRef, ViewEncapsulation, ChangeDetectionStrategy, Component, Optional, Self, Input } from '@angular/core';
3
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import { MatFormFieldControl } from '@angular/material/form-field';
5
+ import * as i2 from '@angular/material/input';
6
+ import { MatInputModule } from '@angular/material/input';
7
+ import { Subject, debounceTime } from 'rxjs';
8
+ import { B as BaseCustomInput } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
9
+ import * as i1 from '@angular/forms';
10
+
11
+ const _c0 = ["inputEl"];
12
+ function InputCustomComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
13
+ const _r1 = i0.ɵɵgetCurrentView();
14
+ i0.ɵɵelementStart(0, "input", 2, 0);
15
+ i0.ɵɵlistener("blur", function InputCustomComponent_Conditional_0_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onInputBlur($event)); })("input", function InputCustomComponent_Conditional_0_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onInputChange($event)); });
16
+ i0.ɵɵelementEnd();
17
+ } if (rf & 2) {
18
+ const ctx_r1 = i0.ɵɵnextContext();
19
+ i0.ɵɵproperty("readonly", ctx_r1.inputConfig.readonly || ctx_r1.inputConfig.disabled)("pattern", ctx_r1.inputConfig.pattern || "")("required", ctx_r1.inputConfig.required)("type", ctx_r1.inputConfig.type || "text")("autocomplete", ctx_r1.inputConfig.autocomplete)("min", ctx_r1.inputConfig.min)("max", ctx_r1.inputConfig.max);
20
+ i0.ɵɵattribute("maxlength", ctx_r1.inputConfig.maxLength)("minlength", ctx_r1.inputConfig.minLength);
21
+ } }
22
+ const customInputConfig = {
23
+ controlType: 'lib-input-custom',
24
+ nextId: 0,
25
+ };
26
+ class InputCustomComponent extends BaseCustomInput {
27
+ #destroyRef;
28
+ #debounceTimeMs;
29
+ #valueSubject;
30
+ constructor(ngControl, elementRef) {
31
+ super(ngControl, elementRef, customInputConfig);
32
+ this.#destroyRef = inject(DestroyRef);
33
+ this.#debounceTimeMs = 300;
34
+ this.#valueSubject = new Subject();
35
+ // The native input is left uncontrolled while the user types: binding the
36
+ // (debounced, therefore lagging) model to `[value]` made Angular overwrite the
37
+ // DOM mid-keystroke and drop characters during fast typing. We instead push the
38
+ // model to the DOM only on external writes (writeValue) — never while typing.
39
+ // TS `private` (not ES `#private`): Angular signal queries cannot sit on an ES-private field.
40
+ this.inputEl = viewChild('inputEl', ...(ngDevMode ? [{ debugName: "inputEl" }] : /* istanbul ignore next */ []));
41
+ }
42
+ get empty() {
43
+ const n = this.value;
44
+ // Check for null, undefined, or empty string, but allow 0
45
+ return n === null || n === undefined || n === '';
46
+ }
47
+ get shouldLabelFloat() {
48
+ return true;
49
+ }
50
+ ngOnInit() {
51
+ this.#valueSubject
52
+ .pipe(debounceTime(this.#debounceTimeMs), takeUntilDestroyed(this.#destroyRef))
53
+ .subscribe((next) => {
54
+ // The base `value` setter guards on equality and fires onChange + stateChanges.
55
+ // Only the (heavier) form propagation + validation is debounced — never the display.
56
+ this.value = next;
57
+ });
58
+ }
59
+ ngAfterViewInit() {
60
+ // Reflect any value the form set before the view existed (initial bind / patch).
61
+ this.#syncInputFromModel();
62
+ }
63
+ writeValue(value) {
64
+ super.writeValue(value);
65
+ // External model change (patchValue / reset) — push it to the DOM. This never
66
+ // runs in response to the user's own typing, so it can't clobber the cursor.
67
+ this.#syncInputFromModel();
68
+ }
69
+ onInputChange($event) {
70
+ const next = $event.target?.value ?? '';
71
+ this.#valueSubject.next(next);
72
+ }
73
+ #syncInputFromModel() {
74
+ const el = this.inputEl()?.nativeElement;
75
+ if (!el) {
76
+ return;
77
+ }
78
+ const v = this.value;
79
+ el.value = v === null || v === undefined ? '' : String(v);
80
+ }
81
+ onInputBlur($event) {
82
+ this.touched = true; // Mark as touched on blur
83
+ this.onTouched();
84
+ this.blur.emit($event);
85
+ }
86
+ static { this.ɵfac = function InputCustomComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InputCustomComponent)(i0.ɵɵdirectiveInject(i1.NgControl, 10), i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
87
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputCustomComponent, selectors: [["lib-input-custom"]], viewQuery: function InputCustomComponent_Query(rf, ctx) { if (rf & 1) {
88
+ i0.ɵɵviewQuerySignal(ctx.inputEl, _c0, 5);
89
+ } if (rf & 2) {
90
+ i0.ɵɵqueryAdvance();
91
+ } }, hostVars: 3, hostBindings: function InputCustomComponent_HostBindings(rf, ctx) { if (rf & 2) {
92
+ i0.ɵɵdomProperty("id", ctx.id);
93
+ i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
94
+ } }, inputs: { inputConfig: "inputConfig" }, features: [i0.ɵɵProvidersFeature([
95
+ {
96
+ provide: MatFormFieldControl,
97
+ //:Note
98
+ useExisting: forwardRef(() => InputCustomComponent),
99
+ },
100
+ ]), i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["inputEl", ""], ["matInput", "", 3, "readonly", "pattern", "required", "type", "autocomplete", "min", "max"], ["matInput", "", 3, "blur", "input", "readonly", "pattern", "required", "type", "autocomplete", "min", "max"]], template: function InputCustomComponent_Template(rf, ctx) { if (rf & 1) {
101
+ i0.ɵɵconditionalCreate(0, InputCustomComponent_Conditional_0_Template, 2, 9, "input", 1);
102
+ } if (rf & 2) {
103
+ i0.ɵɵconditional(ctx.inputConfig ? 0 : -1);
104
+ } }, dependencies: [MatInputModule, i2.MatInput], encapsulation: 2, changeDetection: 0 }); }
105
+ }
106
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputCustomComponent, [{
107
+ type: Component,
108
+ args: [{ selector: 'lib-input-custom', imports: [MatInputModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
109
+ '[class.floating]': 'shouldLabelFloat',
110
+ '[id]': 'id',
111
+ }, providers: [
112
+ {
113
+ provide: MatFormFieldControl,
114
+ //:Note
115
+ useExisting: forwardRef(() => InputCustomComponent),
116
+ },
117
+ ], template: "@if (inputConfig) {\r\n <input matInput\r\n #inputEl\r\n [readonly]=\"inputConfig.readonly || inputConfig.disabled\"\r\n (blur)=\"onInputBlur($event)\"\r\n [pattern]=\"inputConfig.pattern || ''\"\r\n [required]=\"inputConfig.required\"\r\n [attr.maxlength]=\"inputConfig.maxLength\"\r\n [type]=\"inputConfig.type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [attr.minlength]=\"inputConfig.minLength\"\r\n [autocomplete]=\"inputConfig.autocomplete\"\r\n [min]=\"inputConfig.min\"\r\n [max]=\"inputConfig.max\" />\r\n}\r\n" }]
118
+ }], () => [{ type: i1.NgControl, decorators: [{
119
+ type: Optional
120
+ }, {
121
+ type: Self
122
+ }] }, { type: i0.ElementRef }], { inputConfig: [{
123
+ type: Input
124
+ }], inputEl: [{ type: i0.ViewChild, args: ['inputEl', { isSignal: true }] }] }); })();
125
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputCustomComponent, { className: "InputCustomComponent", filePath: "lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.ts", lineNumber: 52 }); })();
126
+
127
+ export { InputCustomComponent };
128
+ //# sourceMappingURL=ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-input-custom.component-Cv6jfrPf.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.ts"],"sourcesContent":["@if (inputConfig) {\r\n <input matInput\r\n #inputEl\r\n [readonly]=\"inputConfig.readonly || inputConfig.disabled\"\r\n (blur)=\"onInputBlur($event)\"\r\n [pattern]=\"inputConfig.pattern || ''\"\r\n [required]=\"inputConfig.required\"\r\n [attr.maxlength]=\"inputConfig.maxLength\"\r\n [type]=\"inputConfig.type || 'text'\"\r\n (input)=\"onInputChange($event)\"\r\n [attr.minlength]=\"inputConfig.minLength\"\r\n [autocomplete]=\"inputConfig.autocomplete\"\r\n [min]=\"inputConfig.min\"\r\n [max]=\"inputConfig.max\" />\r\n}\r\n","import {\r\n AfterViewInit,\r\n ChangeDetectionStrategy,\r\n Component,\r\n DestroyRef,\r\n ElementRef,\r\n Input,\r\n OnInit,\r\n Optional,\r\n Self,\r\n ViewEncapsulation,\r\n forwardRef,\r\n inject,\r\n viewChild,\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { Subject, debounceTime } from 'rxjs';\r\n\r\nimport {\r\n BaseCustomInput,\r\n BaseCustomInputConfig,\r\n} from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-input-custom',\r\n nextId: 0,\r\n};\r\n\r\n@Component({\r\n selector: 'lib-input-custom',\r\n imports: [MatInputModule],\r\n templateUrl: './input-custom.component.html',\r\n styleUrl: './input-custom.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [\r\n {\r\n provide: MatFormFieldControl,\r\n //:Note\r\n useExisting: forwardRef(() => InputCustomComponent),\r\n },\r\n ],\r\n})\r\nexport class InputCustomComponent\r\n extends BaseCustomInput<string | number | Date>\r\n implements OnInit, AfterViewInit\r\n{\r\n // Kept as @Input() because BaseCustomInput exposes `required`/`disabled`/`placeholder`\r\n // as setter-backed @Input()s tied to MatFormFieldControl `stateChanges`. Keeping\r\n // `inputConfig` as a classic @Input keeps the imperative-setter ergonomic consistent\r\n // with the base class and avoids mixing signal + setter inputs on one component.\r\n @Input() inputConfig!: ITowerStepColumn;\r\n\r\n readonly #destroyRef = inject(DestroyRef);\r\n readonly #debounceTimeMs = 300;\r\n readonly #valueSubject = new Subject<string>();\r\n\r\n // The native input is left uncontrolled while the user types: binding the\r\n // (debounced, therefore lagging) model to `[value]` made Angular overwrite the\r\n // DOM mid-keystroke and drop characters during fast typing. We instead push the\r\n // model to the DOM only on external writes (writeValue) — never while typing.\r\n // TS `private` (not ES `#private`): Angular signal queries cannot sit on an ES-private field.\r\n private readonly inputEl = viewChild<ElementRef<HTMLInputElement>>('inputEl');\r\n\r\n constructor(\r\n @Optional() @Self() ngControl: NgControl,\r\n elementRef: ElementRef<HTMLElement>,\r\n ) {\r\n super(ngControl, elementRef, customInputConfig);\r\n }\r\n\r\n override get empty(): boolean {\r\n const n = this.value;\r\n // Check for null, undefined, or empty string, but allow 0\r\n return n === null || n === undefined || n === '';\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.#valueSubject\r\n .pipe(debounceTime(this.#debounceTimeMs), takeUntilDestroyed(this.#destroyRef))\r\n .subscribe((next) => {\r\n // The base `value` setter guards on equality and fires onChange + stateChanges.\r\n // Only the (heavier) form propagation + validation is debounced — never the display.\r\n this.value = next;\r\n });\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n // Reflect any value the form set before the view existed (initial bind / patch).\r\n this.#syncInputFromModel();\r\n }\r\n\r\n override writeValue(value: string | number | Date): void {\r\n super.writeValue(value);\r\n // External model change (patchValue / reset) — push it to the DOM. This never\r\n // runs in response to the user's own typing, so it can't clobber the cursor.\r\n this.#syncInputFromModel();\r\n }\r\n\r\n protected onInputChange($event: Event): void {\r\n const next = ($event.target as HTMLInputElement | null)?.value ?? '';\r\n this.#valueSubject.next(next);\r\n }\r\n\r\n #syncInputFromModel(): void {\r\n const el = this.inputEl()?.nativeElement;\r\n if (!el) {\r\n return;\r\n }\r\n const v = this.value;\r\n el.value = v === null || v === undefined ? '' : String(v);\r\n }\r\n\r\n protected onInputBlur($event: FocusEvent): void {\r\n this.touched = true; // Mark as touched on blur\r\n this.onTouched();\r\n this.blur.emit($event);\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;IACE,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,CAAA,CAY4B;AAJ1B,IALA,EAAA,CAAA,UAAA,CAAA,MAAA,EAAA,SAAA,iEAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAQ,MAAA,CAAA,WAAA,CAAA,MAAA,CAAmB,CAAA,CAAA,CA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import { MatFormFieldControl } from '@angular/material/form-field';
5
5
  import * as i2 from '@angular/material/input';
6
6
  import { MatInputModule } from '@angular/material/input';
7
7
  import { Subject, debounceTime } from 'rxjs';
8
- import { B as BaseCustomInput } from './ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs';
8
+ import { B as BaseCustomInput } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
9
9
  import * as i1 from '@angular/forms';
10
10
 
11
11
  const customInputConfig = {
@@ -102,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
102
102
  }], inputEl: [{ type: i0.ViewChild, args: ['inputEl', { isSignal: true }] }] } });
103
103
 
104
104
  export { InputCustomComponent };
105
- //# sourceMappingURL=ngx-t-forms-input-custom.component-B855cSGR.mjs.map
105
+ //# sourceMappingURL=ngx-t-forms-input-custom.component-pUshbxSM.mjs.map