ngx-t-forms 2.0.35 → 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 (188) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-hDWV_H2E.mjs → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs} +2 -2
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-hDWV_H2E.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-BDWHCfgN.mjs → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs} +3 -3
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-BDWHCfgN.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-C_jwUGqr.mjs → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs} +2 -2
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-C_jwUGqr.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-BIoML988.mjs → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs} +2 -2
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BIoML988.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-D2tkeGrw.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-D2tkeGrw.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-DHNyMfu5.mjs → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs} +6 -6
  24. package/fesm2022/{ngx-t-forms-data-source-picker.component-DHNyMfu5.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-DJnHqSfk.mjs → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs} +2 -2
  26. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DJnHqSfk.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-Iw5Sou7u.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-Iw5Sou7u.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-zM7mpZxt.mjs → ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs} +3 -3
  36. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-zM7mpZxt.mjs.map → ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map} +1 -1
  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-j7-XiDnt.mjs → ngx-t-forms-document-picker.component-BNQ1a96s.mjs} +2 -2
  40. package/fesm2022/{ngx-t-forms-document-picker.component-j7-XiDnt.mjs.map → ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-editor-input-element.component-CjY8h93n.mjs → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs} +3 -3
  42. package/fesm2022/{ngx-t-forms-editor-input-element.component-CjY8h93n.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-CB8iaZ8o.mjs → ngx-t-forms-editor-js-input.component-cxob42pE.mjs} +2 -2
  48. package/fesm2022/{ngx-t-forms-editor-js-input.component-CB8iaZ8o.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-C8a1gMMz.mjs → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs} +2 -2
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-C8a1gMMz.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-vPJ9YksN.mjs → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-vPJ9YksN.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-DxvnpZdR.mjs → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-DxvnpZdR.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-section-stepper.component-DqShhIBK.mjs +936 -0
  64. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +1 -0
  65. package/fesm2022/{ngx-t-forms-form-section-stepper.component-_cQl_olU.mjs → ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs} +4 -4
  66. package/fesm2022/{ngx-t-forms-form-section-stepper.component-_cQl_olU.mjs.map → ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map} +1 -1
  67. package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +816 -0
  68. package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +1 -0
  69. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BaBBPuXH.mjs → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs} +4 -4
  70. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BaBBPuXH.mjs.map → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map} +1 -1
  71. package/fesm2022/{ngx-t-forms-geo-location.component-BPqEkYIg.mjs → ngx-t-forms-geo-location.component-ChmvJCGu.mjs} +2 -2
  72. package/fesm2022/{ngx-t-forms-geo-location.component-BPqEkYIg.mjs.map → ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map} +1 -1
  73. package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +329 -0
  74. package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +1 -0
  75. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-CZojZh_T.mjs → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs} +2 -2
  76. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-CZojZh_T.mjs.map → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map} +1 -1
  77. package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +360 -0
  78. package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +1 -0
  79. package/fesm2022/{ngx-t-forms-index-BI5sb1Lx.mjs → ngx-t-forms-index-D-7ZX0w7.mjs} +2 -2
  80. package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +1 -0
  81. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +2 -0
  82. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +128 -0
  84. package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +1 -0
  85. package/fesm2022/{ngx-t-forms-input-custom.component-C-gshpIM.mjs → ngx-t-forms-input-custom.component-pUshbxSM.mjs} +2 -2
  86. package/fesm2022/{ngx-t-forms-input-custom.component-C-gshpIM.mjs.map → ngx-t-forms-input-custom.component-pUshbxSM.mjs.map} +1 -1
  87. package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +512 -0
  88. package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +1 -0
  89. package/fesm2022/{ngx-t-forms-input-editor.component-CfaTar-x.mjs → ngx-t-forms-input-editor.component-CxXMETLl.mjs} +3 -3
  90. package/fesm2022/{ngx-t-forms-input-editor.component-CfaTar-x.mjs.map → ngx-t-forms-input-editor.component-CxXMETLl.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-map-mat-options-keys-B8ubWvEz.mjs → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs} +2 -2
  92. package/fesm2022/{ngx-t-forms-map-mat-options-keys-B8ubWvEz.mjs.map → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map} +1 -1
  93. package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +132 -0
  94. package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map +1 -0
  95. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +109 -0
  96. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +1 -0
  97. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CT3wnaz8.mjs → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs} +2 -2
  98. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CT3wnaz8.mjs.map → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map} +1 -1
  99. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +241 -0
  100. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +1 -0
  101. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +180 -0
  102. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +1 -0
  103. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CSQ_Qtef.mjs → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs} +2 -2
  104. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CSQ_Qtef.mjs.map → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map} +1 -1
  105. package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +114 -0
  106. package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +1 -0
  107. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +69 -0
  108. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +1 -0
  109. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-Ovz5PFIe.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs} +2 -2
  110. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-Ovz5PFIe.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map} +1 -1
  111. package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +200 -0
  112. package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +1 -0
  113. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-ByR5fNu5.mjs → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs} +2 -2
  114. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-ByR5fNu5.mjs.map → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map} +1 -1
  115. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +850 -0
  116. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +1 -0
  117. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +107 -0
  118. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +1 -0
  119. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-DtXYH3Gb.mjs → ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs} +4 -4
  120. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-DtXYH3Gb.mjs.map → ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map} +1 -1
  121. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +1665 -0
  122. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map +1 -0
  123. package/fesm2022/{ngx-t-forms-ngx-t-forms-CW8jN83w.mjs → ngx-t-forms-ngx-t-forms-CJGAj18J.mjs} +919 -129
  124. package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +1 -0
  125. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs +27352 -0
  126. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +1 -0
  127. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +1024 -0
  128. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +1 -0
  129. package/fesm2022/{ngx-t-forms-paginated-selection-table-CWepPKmn.mjs → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs} +2 -2
  130. package/fesm2022/{ngx-t-forms-paginated-selection-table-CWepPKmn.mjs.map → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map} +1 -1
  131. package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +234 -0
  132. package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +1 -0
  133. package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs +203 -0
  134. package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map +1 -0
  135. package/fesm2022/{ngx-t-forms-pipeline-generator.component-1EuDUOtI.mjs → ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs} +3 -3
  136. package/fesm2022/{ngx-t-forms-pipeline-generator.component-1EuDUOtI.mjs.map → ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map} +1 -1
  137. package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +1126 -0
  138. package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +1 -0
  139. package/fesm2022/{ngx-t-forms-record-list-manager.component-C-qKvSVR.mjs → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs} +2 -2
  140. package/fesm2022/{ngx-t-forms-record-list-manager.component-C-qKvSVR.mjs.map → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map} +1 -1
  141. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +545 -0
  142. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +1 -0
  143. package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +451 -0
  144. package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +1 -0
  145. package/fesm2022/{ngx-t-forms-required-inputs.component-D5M9c-1i.mjs → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs} +2 -2
  146. package/fesm2022/{ngx-t-forms-required-inputs.component-D5M9c-1i.mjs.map → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map} +1 -1
  147. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +625 -0
  148. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +1 -0
  149. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CCz3c0X_.mjs → ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs} +59 -13
  150. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map +1 -0
  151. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +72 -0
  152. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +1 -0
  153. package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs +248 -0
  154. package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +1 -0
  155. package/fesm2022/{ngx-t-forms-section-report.component-BypN3AWY.mjs → ngx-t-forms-section-report.component-mUpSxbaB.mjs} +2 -2
  156. package/fesm2022/{ngx-t-forms-section-report.component-BypN3AWY.mjs.map → ngx-t-forms-section-report.component-mUpSxbaB.mjs.map} +1 -1
  157. package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +408 -0
  158. package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +1 -0
  159. package/fesm2022/{ngx-t-forms-select-input-element.component-DNBZVxhD.mjs → ngx-t-forms-select-input-element.component-c7IgHdXA.mjs} +2 -2
  160. package/fesm2022/{ngx-t-forms-select-input-element.component-DNBZVxhD.mjs.map → ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map} +1 -1
  161. package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +275 -0
  162. package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map +1 -0
  163. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BSmmQQo3.mjs → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs} +2 -2
  164. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BSmmQQo3.mjs.map → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map} +1 -1
  165. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +341 -0
  166. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +1 -0
  167. package/fesm2022/{ngx-t-forms-textarea-input-element.component-BEcNjLGC.mjs → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs} +2 -2
  168. package/fesm2022/{ngx-t-forms-textarea-input-element.component-BEcNjLGC.mjs.map → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map} +1 -1
  169. package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs +233 -0
  170. package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +1 -0
  171. package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +305 -0
  172. package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +1 -0
  173. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cn_VOOEu.mjs → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs} +2 -2
  174. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cn_VOOEu.mjs.map → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map} +1 -1
  175. package/fesm2022/{ngx-t-forms-validators-config.component-DdKLxOr9.mjs → ngx-t-forms-validators-config.component-DgIVRSvF.mjs} +2 -2
  176. package/fesm2022/{ngx-t-forms-validators-config.component-DdKLxOr9.mjs.map → ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map} +1 -1
  177. package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +1105 -0
  178. package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +1 -0
  179. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-DB4arTNG.mjs → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs} +3 -3
  180. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-DB4arTNG.mjs.map → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map} +1 -1
  181. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +2923 -0
  182. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +1 -0
  183. package/fesm2022/ngx-t-forms.mjs +1 -1
  184. package/package.json +2 -2
  185. package/styles/_json-editor-syntax.scss +16 -0
  186. package/fesm2022/ngx-t-forms-index-BI5sb1Lx.mjs.map +0 -1
  187. package/fesm2022/ngx-t-forms-ngx-t-forms-CW8jN83w.mjs.map +0 -1
  188. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CCz3c0X_.mjs.map +0 -1
@@ -0,0 +1,163 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import * as i3 from '@angular/material/icon';
4
+ import { MatIconModule } from '@angular/material/icon';
5
+ import * as i6 from '@angular/material/list';
6
+ import { MatListModule } from '@angular/material/list';
7
+ import * as i7 from '@angular/material/core';
8
+ import { MatRippleModule } from '@angular/material/core';
9
+ import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
10
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
11
+
12
+ const _forTrack0 = ($index, $item) => $item.id;
13
+ function FormInputSelectorComponent_Conditional_0_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementStart(0, "span");
15
+ i0.ɵɵtext(1, "Sub-item");
16
+ i0.ɵɵelementEnd();
17
+ } }
18
+ function FormInputSelectorComponent_Conditional_0_For_2_Conditional_7_Template(rf, ctx) { if (rf & 1) {
19
+ i0.ɵɵelementStart(0, "span");
20
+ i0.ɵɵtext(1);
21
+ i0.ɵɵelementEnd();
22
+ } if (rf & 2) {
23
+ const option_r2 = i0.ɵɵnextContext().$implicit;
24
+ i0.ɵɵadvance();
25
+ i0.ɵɵtextInterpolate(option_r2.dataType);
26
+ } }
27
+ function FormInputSelectorComponent_Conditional_0_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
28
+ i0.ɵɵelementStart(0, "span", 7);
29
+ i0.ɵɵtext(1, "Selected");
30
+ i0.ɵɵelementEnd();
31
+ } }
32
+ function FormInputSelectorComponent_Conditional_0_For_2_Template(rf, ctx) { if (rf & 1) {
33
+ const _r1 = i0.ɵɵgetCurrentView();
34
+ i0.ɵɵelementStart(0, "mat-list-item", 3);
35
+ i0.ɵɵlistener("click", function FormInputSelectorComponent_Conditional_0_For_2_Template_mat_list_item_click_0_listener() { const option_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.select(option_r2.id)); });
36
+ i0.ɵɵelementStart(1, "mat-icon", 4);
37
+ i0.ɵɵtext(2);
38
+ i0.ɵɵelementEnd();
39
+ i0.ɵɵelementStart(3, "span", 5);
40
+ i0.ɵɵtext(4);
41
+ i0.ɵɵelementEnd();
42
+ i0.ɵɵelementStart(5, "span", 6);
43
+ i0.ɵɵconditionalCreate(6, FormInputSelectorComponent_Conditional_0_For_2_Conditional_6_Template, 2, 0, "span");
44
+ i0.ɵɵconditionalCreate(7, FormInputSelectorComponent_Conditional_0_For_2_Conditional_7_Template, 2, 1, "span");
45
+ i0.ɵɵconditionalCreate(8, FormInputSelectorComponent_Conditional_0_For_2_Conditional_8_Template, 2, 0, "span", 7);
46
+ i0.ɵɵelementEnd();
47
+ i0.ɵɵelementStart(9, "mat-icon", 8);
48
+ i0.ɵɵtext(10);
49
+ i0.ɵɵelementEnd()();
50
+ } if (rf & 2) {
51
+ const option_r2 = ctx.$implicit;
52
+ const ctx_r2 = i0.ɵɵnextContext(2);
53
+ i0.ɵɵproperty("disabled", ctx_r2.disabled())("activated", option_r2.selected);
54
+ i0.ɵɵattribute("aria-selected", option_r2.selected)("aria-label", option_r2.ariaLabel);
55
+ i0.ɵɵadvance(2);
56
+ i0.ɵɵtextInterpolate1(" ", option_r2.icon, " ");
57
+ i0.ɵɵadvance(2);
58
+ i0.ɵɵtextInterpolate(option_r2.label);
59
+ i0.ɵɵadvance(2);
60
+ i0.ɵɵconditional(option_r2.isSubItem ? 6 : -1);
61
+ i0.ɵɵadvance();
62
+ i0.ɵɵconditional(option_r2.dataType ? 7 : -1);
63
+ i0.ɵɵadvance();
64
+ i0.ɵɵconditional(option_r2.selected ? 8 : -1);
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵclassProp("lib-form-input-selector__indicator--on", option_r2.selected);
67
+ i0.ɵɵadvance();
68
+ i0.ɵɵtextInterpolate1(" ", option_r2.selected ? "check_circle" : "radio_button_unchecked", " ");
69
+ } }
70
+ function FormInputSelectorComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
71
+ i0.ɵɵelementStart(0, "mat-nav-list", 0);
72
+ i0.ɵɵrepeaterCreate(1, FormInputSelectorComponent_Conditional_0_For_2_Template, 11, 12, "mat-list-item", 2, _forTrack0);
73
+ i0.ɵɵelementEnd();
74
+ } if (rf & 2) {
75
+ const ctx_r2 = i0.ɵɵnextContext();
76
+ i0.ɵɵadvance();
77
+ i0.ɵɵrepeater(ctx_r2.options());
78
+ } }
79
+ function FormInputSelectorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
80
+ i0.ɵɵelement(0, "lib-empty-state", 1);
81
+ } }
82
+ /**
83
+ * Single-select list that lets a user pick one form input by id. Child of
84
+ * `t-dynamic-data-edit`, which supplies the field label, hint, and validation
85
+ * errors — so this component owns only the selectable list content.
86
+ *
87
+ * Selecting an already-selected input deselects it (emits `undefined`). While a
88
+ * value is set the list collapses to the selected-only view.
89
+ */
90
+ class FormInputSelectorComponent {
91
+ constructor() {
92
+ /**
93
+ * Validation errors passed down by the parent editor. Retained on the contract
94
+ * (the parent binds `[errors]`) but not rendered here — `t-dynamic-data-edit`
95
+ * owns error display, so rendering them again would double them.
96
+ */
97
+ this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
98
+ /** Currently selected input id, or `undefined` when nothing is selected. */
99
+ this.value = input(undefined, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
100
+ /** Available form inputs to choose from. */
101
+ this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
102
+ /** Disable user interaction. */
103
+ this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
104
+ /** Optional id attribute supplied by the parent editor. */
105
+ this.id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
106
+ /** Emits the chosen input id, or `undefined` when the selection is cleared. */
107
+ this.change = output();
108
+ /**
109
+ * The list to render: the selected-only view once a value is set, otherwise
110
+ * every available input. Each entry carries its derived icon, sub-item flag,
111
+ * and accessible label.
112
+ */
113
+ this.options = computed(() => {
114
+ const value = this.value();
115
+ const inputs = this.formInputs();
116
+ const selected = value === undefined ? undefined : inputs.find((item) => item.id === value);
117
+ const source = selected ? [selected] : inputs;
118
+ return source.map((item) => this.#toOption(item, item.id === value));
119
+ }, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
120
+ }
121
+ /** Toggle selection: re-selecting the current value clears it. */
122
+ select(id) {
123
+ if (this.disabled()) {
124
+ return;
125
+ }
126
+ this.change.emit(this.value() === id ? undefined : id);
127
+ }
128
+ #toOption(item, selected) {
129
+ const isSubItem = Boolean(item.multipleInputInEditId);
130
+ const dataType = item.dataType ?? '';
131
+ const kind = isSubItem ? 'Sub-item input' : 'Primary input';
132
+ const dataTypeLabel = dataType ? `, ${dataType}` : '';
133
+ return {
134
+ input: item,
135
+ id: item.id,
136
+ label: item.label,
137
+ icon: getInputIcon(item.element),
138
+ dataType,
139
+ isSubItem,
140
+ selected,
141
+ ariaLabel: `${item.label}. ${kind}${dataTypeLabel}.${selected ? ' Selected.' : ''}`,
142
+ };
143
+ }
144
+ static { this.ɵfac = function FormInputSelectorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormInputSelectorComponent)(); }; }
145
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormInputSelectorComponent, selectors: [["lib-form-input-selector"]], hostAttrs: [1, "lib-form-input-selector"], hostVars: 1, hostBindings: function FormInputSelectorComponent_HostBindings(rf, ctx) { if (rf & 2) {
146
+ i0.ɵɵattribute("id", ctx.id());
147
+ } }, inputs: { errors: [1, "errors"], value: [1, "value"], formInputs: [1, "formInputs"], disabled: [1, "disabled"], id: [1, "id"] }, outputs: { change: "change" }, decls: 2, vars: 1, consts: [["role", "listbox", "aria-label", "Form input selector", 1, "lib-form-input-selector__list"], ["icon", "search_off", "message", "No form inputs found"], ["matRipple", "", 1, "lib-form-input-selector__item", 3, "disabled", "activated"], ["matRipple", "", 1, "lib-form-input-selector__item", 3, "click", "disabled", "activated"], ["matListItemAvatar", "", "aria-hidden", "true", 1, "lib-form-input-selector__avatar"], ["matListItemTitle", "", 1, "lib-form-input-selector__title"], ["matListItemLine", "", 1, "lib-form-input-selector__meta-text"], [1, "lib-form-input-selector__selected-hint"], ["matListItemMeta", "", "aria-hidden", "true", 1, "lib-form-input-selector__indicator"]], template: function FormInputSelectorComponent_Template(rf, ctx) { if (rf & 1) {
148
+ i0.ɵɵconditionalCreate(0, FormInputSelectorComponent_Conditional_0_Template, 3, 0, "mat-nav-list", 0)(1, FormInputSelectorComponent_Conditional_1_Template, 1, 0, "lib-empty-state", 1);
149
+ } if (rf & 2) {
150
+ i0.ɵɵconditional(ctx.options().length ? 0 : 1);
151
+ } }, dependencies: [MatIconModule, i3.MatIcon, MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemLine, i6.MatListItemTitle, i6.MatListItemMeta, MatRippleModule, i7.MatRipple, EmptyStateComponent], styles: ["[_nghost-%COMP%]{display:block;color:var(--lib-forms-on-surface)}.lib-form-input-selector__list[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-form-input-selector__item[_ngcontent-%COMP%]{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-form-input-selector__item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.lib-form-input-selector__item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-form-input-selector__item[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-form-input-selector__item.mdc-list-item--activated[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-form-input-selector__avatar[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-form-input-selector__title[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600}.lib-form-input-selector__meta-text[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-form-input-selector__selected-hint[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-primary)}.lib-form-input-selector__indicator[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.lib-form-input-selector__indicator--on[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}"], changeDetection: 0 }); }
152
+ }
153
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormInputSelectorComponent, [{
154
+ type: Component,
155
+ args: [{ selector: 'lib-form-input-selector', imports: [MatIconModule, MatListModule, MatRippleModule, EmptyStateComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
156
+ 'class': 'lib-form-input-selector',
157
+ '[attr.id]': 'id()',
158
+ }, template: "@if (options().length) {\n<mat-nav-list class=\"lib-form-input-selector__list\" role=\"listbox\" aria-label=\"Form input selector\">\n @for (option of options(); track option.id) {\n <mat-list-item\n class=\"lib-form-input-selector__item\"\n matRipple\n [disabled]=\"disabled()\"\n [activated]=\"option.selected\"\n [attr.aria-selected]=\"option.selected\"\n [attr.aria-label]=\"option.ariaLabel\"\n (click)=\"select(option.id)\">\n <mat-icon matListItemAvatar class=\"lib-form-input-selector__avatar\" aria-hidden=\"true\">\n {{ option.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-form-input-selector__title\">{{ option.label }}</span>\n <span matListItemLine class=\"lib-form-input-selector__meta-text\">\n @if (option.isSubItem) {\n <span>Sub-item</span>\n }\n @if (option.dataType) {\n <span>{{ option.dataType }}</span>\n }\n @if (option.selected) {\n <span class=\"lib-form-input-selector__selected-hint\">Selected</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-form-input-selector__indicator\"\n [class.lib-form-input-selector__indicator--on]=\"option.selected\"\n aria-hidden=\"true\">\n {{ option.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n</mat-nav-list>\n} @else {\n<lib-empty-state icon=\"search_off\" message=\"No form inputs found\" />\n}\n", styles: [":host{display:block;color:var(--lib-forms-on-surface)}.lib-form-input-selector__list{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-form-input-selector__item{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-form-input-selector__item:last-child{margin-bottom:0}.lib-form-input-selector__item:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-form-input-selector__item:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-form-input-selector__item.mdc-list-item--activated{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-form-input-selector__avatar{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-form-input-selector__title{font-size:.9375rem;font-weight:600}.lib-form-input-selector__meta-text{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-form-input-selector__selected-hint{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-primary)}.lib-form-input-selector__indicator{color:var(--lib-forms-on-surface-variant)}.lib-form-input-selector__indicator--on{color:var(--lib-forms-primary)}\n"] }]
159
+ }], null, { errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], change: [{ type: i0.Output, args: ["change"] }] }); })();
160
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormInputSelectorComponent, { className: "FormInputSelectorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.ts", lineNumber: 49 }); })();
161
+
162
+ export { FormInputSelectorComponent };
163
+ //# sourceMappingURL=ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-form-input-selector.component-BysF2WY-.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.ts"],"sourcesContent":["@if (options().length) {\n<mat-nav-list class=\"lib-form-input-selector__list\" role=\"listbox\" aria-label=\"Form input selector\">\n @for (option of options(); track option.id) {\n <mat-list-item\n class=\"lib-form-input-selector__item\"\n matRipple\n [disabled]=\"disabled()\"\n [activated]=\"option.selected\"\n [attr.aria-selected]=\"option.selected\"\n [attr.aria-label]=\"option.ariaLabel\"\n (click)=\"select(option.id)\">\n <mat-icon matListItemAvatar class=\"lib-form-input-selector__avatar\" aria-hidden=\"true\">\n {{ option.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-form-input-selector__title\">{{ option.label }}</span>\n <span matListItemLine class=\"lib-form-input-selector__meta-text\">\n @if (option.isSubItem) {\n <span>Sub-item</span>\n }\n @if (option.dataType) {\n <span>{{ option.dataType }}</span>\n }\n @if (option.selected) {\n <span class=\"lib-form-input-selector__selected-hint\">Selected</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-form-input-selector__indicator\"\n [class.lib-form-input-selector__indicator--on]=\"option.selected\"\n aria-hidden=\"true\">\n {{ option.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n</mat-nav-list>\n} @else {\n<lib-empty-state icon=\"search_off\" message=\"No form inputs found\" />\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport type { FormColumnInputs } from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A form input decorated with the derived view-model fields the list renders. */\ninterface FormInputOption {\n readonly input: FormColumnInputs;\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly dataType: string;\n readonly isSubItem: boolean;\n readonly selected: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Single-select list that lets a user pick one form input by id. Child of\n * `t-dynamic-data-edit`, which supplies the field label, hint, and validation\n * errors — so this component owns only the selectable list content.\n *\n * Selecting an already-selected input deselects it (emits `undefined`). While a\n * value is set the list collapses to the selected-only view.\n */\n@Component({\n selector: 'lib-form-input-selector',\n imports: [MatIconModule, MatListModule, MatRippleModule, EmptyStateComponent],\n templateUrl: './form-input-selector.component.html',\n styleUrl: './form-input-selector.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-form-input-selector',\n '[attr.id]': 'id()',\n },\n})\nexport class FormInputSelectorComponent {\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * (the parent binds `[errors]`) but not rendered here — `t-dynamic-data-edit`\n * owns error display, so rendering them again would double them.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Currently selected input id, or `undefined` when nothing is selected. */\n readonly value = input<string | undefined>(undefined);\n\n /** Available form inputs to choose from. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /** Optional id attribute supplied by the parent editor. */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the chosen input id, or `undefined` when the selection is cleared. */\n readonly change = output<string | undefined>();\n\n /**\n * The list to render: the selected-only view once a value is set, otherwise\n * every available input. Each entry carries its derived icon, sub-item flag,\n * and accessible label.\n */\n protected readonly options = computed<readonly FormInputOption[]>(() => {\n const value = this.value();\n const inputs = this.formInputs();\n const selected = value === undefined ? undefined : inputs.find((item) => item.id === value);\n const source = selected ? [selected] : inputs;\n return source.map((item) => this.#toOption(item, item.id === value));\n });\n\n /** Toggle selection: re-selecting the current value clears it. */\n protected select(id: string): void {\n if (this.disabled()) {\n return;\n }\n this.change.emit(this.value() === id ? undefined : id);\n }\n\n #toOption(item: FormColumnInputs, selected: boolean): FormInputOption {\n const isSubItem = Boolean(item.multipleInputInEditId);\n const dataType = item.dataType ?? '';\n const kind = isSubItem ? 'Sub-item input' : 'Primary input';\n const dataTypeLabel = dataType ? `, ${dataType}` : '';\n return {\n input: item,\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n dataType,\n isSubItem,\n selected,\n ariaLabel: `${item.label}. ${kind}${dataTypeLabel}.${selected ? ' Selected.' : ''}`,\n };\n }\n}\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;IAiBM,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,CAAM;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,UAAA,CAAQ;IAAA,EAAA,CAAA,YAAA,EAAO;;;IAGrB,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,CAAM;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAqB;IAAA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ADZf,YApCF,qGAAwB,CAAA,CAAA,EAAA,iDAAA,EAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,CAoCf;;YApCT,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,OAAA,EAAA,CAAA,MAAA,GAAA,CAAA,GAAA,CAAA,CAsCC;ACAW,QAAA,CAAA,CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,aAAa,EAAAA,EAAA,CAAA,OAAA,EAAE,aAAa,EAAAC,EAAA,CAAA,UAAA,EAAAA,EAAA,CAAA,WAAA,EAAAA,EAAA,CAAA,iBAAA,EAAAA,EAAA,CAAA,eAAA,EAAAA,EAAA,CAAA,gBAAA,EAAAA,EAAA,CAAA,eAAA,EAAE,eAAe,gBAAE,mBAAmB,CAAA,EAAA,MAAA,EAAA,CAAA,++DAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAUjE,0BAA0B,EAAA,CAAA;cAZtC,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,WAC1B,CAAC,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAG5D,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,oBAAA,OAAO,EAAE,yBAAyB;AAClC,oBAAA,WAAW,EAAE,MAAM;AACpB,iBAAA,EAAA,QAAA,EAAA,o7CAAA,EAAA,MAAA,EAAA,CAAA,kwDAAA,CAAA,EAAA;;kFAEU,0BAA0B,EAAA,EAAA,SAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,kGAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -7,7 +7,7 @@ import { MatListModule } from '@angular/material/list';
7
7
  import * as i7 from '@angular/material/core';
8
8
  import { MatRippleModule } from '@angular/material/core';
9
9
  import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
10
- import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-CW8jN83w.mjs';
10
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
11
11
 
12
12
  /**
13
13
  * Single-select list that lets a user pick one form input by id. Child of
@@ -83,4 +83,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
83
83
  }], propDecorators: { errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], change: [{ type: i0.Output, args: ["change"] }] } });
84
84
 
85
85
  export { FormInputSelectorComponent };
86
- //# sourceMappingURL=ngx-t-forms-form-input-selector.component-vPJ9YksN.mjs.map
86
+ //# sourceMappingURL=ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-form-input-selector.component-vPJ9YksN.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport type { FormColumnInputs } from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A form input decorated with the derived view-model fields the list renders. */\ninterface FormInputOption {\n readonly input: FormColumnInputs;\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly dataType: string;\n readonly isSubItem: boolean;\n readonly selected: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Single-select list that lets a user pick one form input by id. Child of\n * `t-dynamic-data-edit`, which supplies the field label, hint, and validation\n * errors — so this component owns only the selectable list content.\n *\n * Selecting an already-selected input deselects it (emits `undefined`). While a\n * value is set the list collapses to the selected-only view.\n */\n@Component({\n selector: 'lib-form-input-selector',\n imports: [MatIconModule, MatListModule, MatRippleModule, EmptyStateComponent],\n templateUrl: './form-input-selector.component.html',\n styleUrl: './form-input-selector.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-form-input-selector',\n '[attr.id]': 'id()',\n },\n})\nexport class FormInputSelectorComponent {\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * (the parent binds `[errors]`) but not rendered here — `t-dynamic-data-edit`\n * owns error display, so rendering them again would double them.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Currently selected input id, or `undefined` when nothing is selected. */\n readonly value = input<string | undefined>(undefined);\n\n /** Available form inputs to choose from. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /** Optional id attribute supplied by the parent editor. */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the chosen input id, or `undefined` when the selection is cleared. */\n readonly change = output<string | undefined>();\n\n /**\n * The list to render: the selected-only view once a value is set, otherwise\n * every available input. Each entry carries its derived icon, sub-item flag,\n * and accessible label.\n */\n protected readonly options = computed<readonly FormInputOption[]>(() => {\n const value = this.value();\n const inputs = this.formInputs();\n const selected = value === undefined ? undefined : inputs.find((item) => item.id === value);\n const source = selected ? [selected] : inputs;\n return source.map((item) => this.#toOption(item, item.id === value));\n });\n\n /** Toggle selection: re-selecting the current value clears it. */\n protected select(id: string): void {\n if (this.disabled()) {\n return;\n }\n this.change.emit(this.value() === id ? undefined : id);\n }\n\n #toOption(item: FormColumnInputs, selected: boolean): FormInputOption {\n const isSubItem = Boolean(item.multipleInputInEditId);\n const dataType = item.dataType ?? '';\n const kind = isSubItem ? 'Sub-item input' : 'Primary input';\n const dataTypeLabel = dataType ? `, ${dataType}` : '';\n return {\n input: item,\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n dataType,\n isSubItem,\n selected,\n ariaLabel: `${item.label}. ${kind}${dataTypeLabel}.${selected ? ' Selected.' : ''}`,\n };\n }\n}\n","@if (options().length) {\n<mat-nav-list class=\"lib-form-input-selector__list\" role=\"listbox\" aria-label=\"Form input selector\">\n @for (option of options(); track option.id) {\n <mat-list-item\n class=\"lib-form-input-selector__item\"\n matRipple\n [disabled]=\"disabled()\"\n [activated]=\"option.selected\"\n [attr.aria-selected]=\"option.selected\"\n [attr.aria-label]=\"option.ariaLabel\"\n (click)=\"select(option.id)\">\n <mat-icon matListItemAvatar class=\"lib-form-input-selector__avatar\" aria-hidden=\"true\">\n {{ option.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-form-input-selector__title\">{{ option.label }}</span>\n <span matListItemLine class=\"lib-form-input-selector__meta-text\">\n @if (option.isSubItem) {\n <span>Sub-item</span>\n }\n @if (option.dataType) {\n <span>{{ option.dataType }}</span>\n }\n @if (option.selected) {\n <span class=\"lib-form-input-selector__selected-hint\">Selected</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-form-input-selector__indicator\"\n [class.lib-form-input-selector__indicator--on]=\"option.selected\"\n aria-hidden=\"true\">\n {{ option.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n</mat-nav-list>\n} @else {\n<lib-empty-state icon=\"search_off\" message=\"No form inputs found\" />\n}\n"],"names":["i2","i3"],"mappings":";;;;;;;;;;;AA4BA;;;;;;;AAOG;MAaU,0B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EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,gBAAA,EAAA,oBAAA,EAAA,mBAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,mBAAA,EAAA,kBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAUjE,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAZtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,WAC1B,CAAC,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAG5D,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,OAAO,EAAE,yBAAyB;AAClC,wBAAA,WAAW,EAAE,MAAM;AACpB,qBAAA,EAAA,QAAA,EAAA,o7CAAA,EAAA,MAAA,EAAA,CAAA,kwDAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-form-input-selector.component-xIalL_cs.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport type { FormColumnInputs } from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A form input decorated with the derived view-model fields the list renders. */\ninterface FormInputOption {\n readonly input: FormColumnInputs;\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly dataType: string;\n readonly isSubItem: boolean;\n readonly selected: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Single-select list that lets a user pick one form input by id. Child of\n * `t-dynamic-data-edit`, which supplies the field label, hint, and validation\n * errors — so this component owns only the selectable list content.\n *\n * Selecting an already-selected input deselects it (emits `undefined`). While a\n * value is set the list collapses to the selected-only view.\n */\n@Component({\n selector: 'lib-form-input-selector',\n imports: [MatIconModule, MatListModule, MatRippleModule, EmptyStateComponent],\n templateUrl: './form-input-selector.component.html',\n styleUrl: './form-input-selector.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-form-input-selector',\n '[attr.id]': 'id()',\n },\n})\nexport class FormInputSelectorComponent {\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * (the parent binds `[errors]`) but not rendered here — `t-dynamic-data-edit`\n * owns error display, so rendering them again would double them.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Currently selected input id, or `undefined` when nothing is selected. */\n readonly value = input<string | undefined>(undefined);\n\n /** Available form inputs to choose from. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /** Optional id attribute supplied by the parent editor. */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the chosen input id, or `undefined` when the selection is cleared. */\n readonly change = output<string | undefined>();\n\n /**\n * The list to render: the selected-only view once a value is set, otherwise\n * every available input. Each entry carries its derived icon, sub-item flag,\n * and accessible label.\n */\n protected readonly options = computed<readonly FormInputOption[]>(() => {\n const value = this.value();\n const inputs = this.formInputs();\n const selected = value === undefined ? undefined : inputs.find((item) => item.id === value);\n const source = selected ? [selected] : inputs;\n return source.map((item) => this.#toOption(item, item.id === value));\n });\n\n /** Toggle selection: re-selecting the current value clears it. */\n protected select(id: string): void {\n if (this.disabled()) {\n return;\n }\n this.change.emit(this.value() === id ? undefined : id);\n }\n\n #toOption(item: FormColumnInputs, selected: boolean): FormInputOption {\n const isSubItem = Boolean(item.multipleInputInEditId);\n const dataType = item.dataType ?? '';\n const kind = isSubItem ? 'Sub-item input' : 'Primary input';\n const dataTypeLabel = dataType ? `, ${dataType}` : '';\n return {\n input: item,\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n dataType,\n isSubItem,\n selected,\n ariaLabel: `${item.label}. ${kind}${dataTypeLabel}.${selected ? ' Selected.' : ''}`,\n };\n }\n}\n","@if (options().length) {\n<mat-nav-list class=\"lib-form-input-selector__list\" role=\"listbox\" aria-label=\"Form input selector\">\n @for (option of options(); track option.id) {\n <mat-list-item\n class=\"lib-form-input-selector__item\"\n matRipple\n [disabled]=\"disabled()\"\n [activated]=\"option.selected\"\n [attr.aria-selected]=\"option.selected\"\n [attr.aria-label]=\"option.ariaLabel\"\n (click)=\"select(option.id)\">\n <mat-icon matListItemAvatar class=\"lib-form-input-selector__avatar\" aria-hidden=\"true\">\n {{ option.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-form-input-selector__title\">{{ option.label }}</span>\n <span matListItemLine class=\"lib-form-input-selector__meta-text\">\n @if (option.isSubItem) {\n <span>Sub-item</span>\n }\n @if (option.dataType) {\n <span>{{ option.dataType }}</span>\n }\n @if (option.selected) {\n <span class=\"lib-form-input-selector__selected-hint\">Selected</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-form-input-selector__indicator\"\n [class.lib-form-input-selector__indicator--on]=\"option.selected\"\n aria-hidden=\"true\">\n {{ option.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n</mat-nav-list>\n} @else {\n<lib-empty-state icon=\"search_off\" message=\"No form inputs found\" />\n}\n"],"names":["i2","i3"],"mappings":";;;;;;;;;;;AA4BA;;;;;;;AAOG;MAaU,0BAA0B,CAAA;AAZvC,IAAA,WAAA,GAAA;AAaE;;;;AAIG;AACM,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAoC,EAAE,6EAAC;;AAGrD,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAqB,SAAS,4EAAC;;AAG5C,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA8B,EAAE,iFAAC;;AAGnD,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;;AAGhC,QAAA,IAAA,CAAA,EAAE,GAAG,KAAK,CAAqB,SAAS,yEAAC;;QAGzC,IAAA,CAAA,MAAM,GAAG,MAAM,EAAsB;AAE9C;;;;AAIG;AACgB,QAAA,IAAA,CAAA,OAAO,GAAG,QAAQ,CAA6B,MAAK;AACrE,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;AAC1B,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE;YAChC,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC;AAC3F,YAAA,MAAM,MAAM,GAAG,QAAQ,GAAG,CAAC,QAAQ,CAAC,GAAG,MAAM;YAC7C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,K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AuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,OAAO,EAAE,yBAAyB;AAClC,wBAAA,WAAW,EAAE,MAAM;AACpB,qBAAA,EAAA,QAAA,EAAA,o7CAAA,EAAA,MAAA,EAAA,CAAA,kwDAAA,CAAA,EAAA;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { AsyncPipe } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
4
- import { F as FormsStoreService, b as TDynamicDataViewComponent } from './ngx-t-forms-ngx-t-forms-CW8jN83w.mjs';
4
+ import { F as FormsStoreService, b as TDynamicDataViewComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
5
5
  import { map } from 'rxjs';
6
6
 
7
7
  class FormJsonViewComponent {
@@ -19,4 +19,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
19
19
  }] });
20
20
 
21
21
  export { FormJsonViewComponent };
22
- //# sourceMappingURL=ngx-t-forms-form-json-view.component-DxvnpZdR.mjs.map
22
+ //# sourceMappingURL=ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-form-json-view.component-DxvnpZdR.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/form-json-view/form-json-view.component.ts","../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/form-json-view/form-json-view.component.html"],"sourcesContent":["import { AsyncPipe } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\r\n\r\nimport { FormsStoreService } from '../../../forms/store/forms-store.service';\r\nimport { TDynamicDataViewComponent } from '../../../t-dynamic-data-view/t-dynamic-data-view.component';\r\n\r\nimport { map } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'lib-form-json-view',\r\n imports: [AsyncPipe, TDynamicDataViewComponent],\r\n templateUrl: './form-json-view.component.html',\r\n styleUrl: './form-json-view.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class FormJsonViewComponent {\r\n readonly #store = inject(FormsStoreService);\r\n\r\n protected readonly form$ = this.#store.selectors.selectFormInEdit$.pipe(\r\n map((form) => form?.form),\r\n );\r\n}\r\n","\r\n<lib-t-dynamic-data-view [data]=\"form$|async\"></lib-t-dynamic-data-view>"],"names":[],"mappings":";;;;;;MAea,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AAQW,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAExB,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,CACrE,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,EAAE,IAAI,CAAC,CAC1B;AACF,IAAA;AALU,IAAA,MAAM;+GADJ,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECflC,gFACwE,EAAA,MAAA,EAAA,CAAA,yYAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDSjD,yBAAyB,iFAApC,SAAS,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAKR,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EACrB,CAAC,SAAS,EAAE,yBAAyB,CAAC,EAAA,eAAA,EAG9B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gFAAA,EAAA,MAAA,EAAA,CAAA,yYAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-form-json-view.component-CU1d8rGd.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/form-json-view/form-json-view.component.ts","../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/form-json-view/form-json-view.component.html"],"sourcesContent":["import { AsyncPipe } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\r\n\r\nimport { FormsStoreService } from '../../../forms/store/forms-store.service';\r\nimport { TDynamicDataViewComponent } from '../../../t-dynamic-data-view/t-dynamic-data-view.component';\r\n\r\nimport { map } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'lib-form-json-view',\r\n imports: [AsyncPipe, TDynamicDataViewComponent],\r\n templateUrl: './form-json-view.component.html',\r\n styleUrl: './form-json-view.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class FormJsonViewComponent {\r\n readonly #store = inject(FormsStoreService);\r\n\r\n protected readonly form$ = this.#store.selectors.selectFormInEdit$.pipe(\r\n map((form) => form?.form),\r\n );\r\n}\r\n","\r\n<lib-t-dynamic-data-view [data]=\"form$|async\"></lib-t-dynamic-data-view>"],"names":[],"mappings":";;;;;;MAea,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AAQW,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAExB,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,CACrE,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,EAAE,IAAI,CAAC,CAC1B;AACF,IAAA;AALU,IAAA,MAAM;+GADJ,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECflC,gFACwE,EAAA,MAAA,EAAA,CAAA,yYAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDSjD,yBAAyB,iFAApC,SAAS,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAKR,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EACrB,CAAC,SAAS,EAAE,yBAAyB,CAAC,EAAA,eAAA,EAG9B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gFAAA,EAAA,MAAA,EAAA,CAAA,yYAAA,CAAA,EAAA;;;;;"}
@@ -0,0 +1,28 @@
1
+ import { AsyncPipe } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import { F as FormsStoreService, b as TDynamicDataViewComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
5
+ import { map } from 'rxjs';
6
+
7
+ class FormJsonViewComponent {
8
+ constructor() {
9
+ this.#store = inject(FormsStoreService);
10
+ this.form$ = this.#store.selectors.selectFormInEdit$.pipe(map((form) => form?.form));
11
+ }
12
+ #store;
13
+ static { this.ɵfac = function FormJsonViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormJsonViewComponent)(); }; }
14
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormJsonViewComponent, selectors: [["lib-form-json-view"]], decls: 2, vars: 3, consts: [[3, "data"]], template: function FormJsonViewComponent_Template(rf, ctx) { if (rf & 1) {
15
+ i0.ɵɵelement(0, "lib-t-dynamic-data-view", 0);
16
+ i0.ɵɵpipe(1, "async");
17
+ } if (rf & 2) {
18
+ i0.ɵɵproperty("data", i0.ɵɵpipeBind1(1, 1, ctx.form$));
19
+ } }, dependencies: [TDynamicDataViewComponent, AsyncPipe], styles: ["pre[_ngcontent-%COMP%]{margin:0;border:1px solid var(--lib-forms-outline-variant);background-color:var(--lib-forms-on-surface);padding:10px}code[_ngcontent-%COMP%]{color:#b0e0e6;font-size:.875em}.token.punctuation[_ngcontent-%COMP%]{color:#999}.token.property[_ngcontent-%COMP%]{color:#905}.token.string[_ngcontent-%COMP%]{color:var(--lib-forms-code-string)}.token.number[_ngcontent-%COMP%]{color:var(--lib-forms-code-number)}.token.boolean[_ngcontent-%COMP%]{color:var(--lib-forms-code-boolean)}.token.keyword[_ngcontent-%COMP%]{color:#07a}"], changeDetection: 0 }); }
20
+ }
21
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormJsonViewComponent, [{
22
+ type: Component,
23
+ args: [{ selector: 'lib-form-json-view', imports: [AsyncPipe, TDynamicDataViewComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "\r\n<lib-t-dynamic-data-view [data]=\"form$|async\"></lib-t-dynamic-data-view>", styles: ["pre{margin:0;border:1px solid var(--lib-forms-outline-variant);background-color:var(--lib-forms-on-surface);padding:10px}code{color:#b0e0e6;font-size:.875em}.token.punctuation{color:#999}.token.property{color:#905}.token.string{color:var(--lib-forms-code-string)}.token.number{color:var(--lib-forms-code-number)}.token.boolean{color:var(--lib-forms-code-boolean)}.token.keyword{color:#07a}\n"] }]
24
+ }], null, null); })();
25
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormJsonViewComponent, { className: "FormJsonViewComponent", filePath: "lib/components/form-builder/elements/form-json-view/form-json-view.component.ts", lineNumber: 16 }); })();
26
+
27
+ export { FormJsonViewComponent };
28
+ //# sourceMappingURL=ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/form-json-view/form-json-view.component.ts","../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/form-json-view/form-json-view.component.html"],"sourcesContent":["import { AsyncPipe } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\r\n\r\nimport { FormsStoreService } from '../../../forms/store/forms-store.service';\r\nimport { TDynamicDataViewComponent } from '../../../t-dynamic-data-view/t-dynamic-data-view.component';\r\n\r\nimport { map } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'lib-form-json-view',\r\n imports: [AsyncPipe, TDynamicDataViewComponent],\r\n templateUrl: './form-json-view.component.html',\r\n styleUrl: './form-json-view.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class FormJsonViewComponent {\r\n readonly #store = inject(FormsStoreService);\r\n\r\n protected readonly form$ = this.#store.selectors.selectFormInEdit$.pipe(\r\n map((form) => form?.form),\r\n );\r\n}\r\n","\r\n<lib-t-dynamic-data-view [data]=\"form$|async\"></lib-t-dynamic-data-view>"],"names":[],"mappings":";;;;;;MAea,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AAQW,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAExB,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,CACrE,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,EAAE,IAAI,CAAC,CAC1B;AACF,IAAA;AALU,IAAA,MAAM;sHADJ,qBAAqB,GAAA,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