ngx-t-forms 2.0.37 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs +261 -0
  2. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map +1 -0
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs} +4 -4
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-D_l5sbNh.mjs.map → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map} +1 -1
  5. package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs +225 -0
  6. package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map +1 -0
  7. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs} +6 -6
  8. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-fJIsRm0v.mjs.map → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map} +1 -1
  9. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs +1011 -0
  10. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map +1 -0
  11. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs} +4 -4
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B8Do3h4B.mjs.map → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map} +1 -1
  13. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs +136 -0
  14. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map +1 -0
  15. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs} +2 -2
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-L1kPy15K.mjs.map → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6Cp-oK.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map} +1 -1
  19. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs +253 -0
  20. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map +1 -0
  21. package/fesm2022/{ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs} +8 -8
  22. package/fesm2022/{ngx-t-forms-data-source-picker.component-r7OGAsxo.mjs.map → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map} +1 -1
  23. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs +419 -0
  24. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +1 -0
  25. package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs +231 -0
  26. package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map +1 -0
  27. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs} +4 -4
  28. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-DsjcLQ5A.mjs.map → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs} +4 -4
  30. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B8V7IpoK.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map} +1 -1
  31. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs +333 -0
  32. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map +1 -0
  33. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs} +5 -5
  34. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-hKJqVYUY.mjs.map → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map} +1 -1
  35. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs +543 -0
  36. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map +1 -0
  37. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +1259 -0
  38. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +1 -0
  39. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +1996 -0
  40. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +1 -0
  41. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs +581 -0
  42. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +1 -0
  43. package/fesm2022/{ngx-t-forms-editor-input-element.component-D38U94oj.mjs → ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs} +138 -15
  44. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +1 -0
  45. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs +539 -0
  46. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +1 -0
  47. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +585 -0
  48. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs} +7 -7
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-_RBYRgn9.mjs.map → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map} +1 -1
  51. package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs +447 -0
  52. package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map +1 -0
  53. package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs +163 -0
  54. package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map +1 -0
  55. package/fesm2022/{ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-CUwK3DqG.mjs.map → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-form-json-view.component-D9rU9vxT.mjs → ngx-t-forms-form-json-view.component-r64GKVhI.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-D9rU9vxT.mjs.map → ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map} +1 -1
  59. package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs +28 -0
  60. package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.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-CqCL3Bnc.mjs → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs} +6 -6
  64. package/fesm2022/{ngx-t-forms-form-section-stepper.component-CqCL3Bnc.mjs.map → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map} +1 -1
  65. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs +936 -0
  66. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +1 -0
  67. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs} +11 -11
  68. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-wmRDJU4P.mjs.map → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map} +1 -1
  69. package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs +816 -0
  70. package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-geo-location.component-CMbBSXe0.mjs → ngx-t-forms-geo-location.component-D2fIbagr.mjs} +7 -7
  72. package/fesm2022/{ngx-t-forms-geo-location.component-CMbBSXe0.mjs.map → ngx-t-forms-geo-location.component-D2fIbagr.mjs.map} +1 -1
  73. package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs +329 -0
  74. package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map +1 -0
  75. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs} +7 -7
  76. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-Cbq8OYk7.mjs.map → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map} +1 -1
  77. package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs +360 -0
  78. package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map +1 -0
  79. package/fesm2022/{ngx-t-forms-index-CPNvE4PP.mjs → ngx-t-forms-index-6YIhS6cm.mjs} +2 -2
  80. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +1 -0
  81. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs +2 -0
  82. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs +128 -0
  84. package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs.map +1 -0
  85. package/fesm2022/{ngx-t-forms-input-custom.component-uNVdF9aA.mjs → ngx-t-forms-input-custom.component-Dcoze7U3.mjs} +2 -2
  86. package/fesm2022/{ngx-t-forms-input-custom.component-uNVdF9aA.mjs.map → ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map} +1 -1
  87. package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs +512 -0
  88. package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs.map +1 -0
  89. package/fesm2022/{ngx-t-forms-input-editor.component-BWoKhlI3.mjs → ngx-t-forms-input-editor.component-B6UKwV4i.mjs} +7 -7
  90. package/fesm2022/{ngx-t-forms-input-editor.component-BWoKhlI3.mjs.map → ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs} +2 -2
  92. package/fesm2022/{ngx-t-forms-map-mat-options-keys-D0SGS9xQ.mjs.map → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map} +1 -1
  93. package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs +132 -0
  94. package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map +1 -0
  95. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +268 -0
  96. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +1 -0
  97. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs +167 -0
  98. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +1 -0
  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-AaDfeALs.mjs +114 -0
  104. package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map +1 -0
  105. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs} +4 -4
  106. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CxF6Ljjf.mjs.map → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map} +1 -1
  107. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs +69 -0
  108. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +1 -0
  109. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs} +4 -4
  110. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-BqT5Z8SM.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map} +1 -1
  111. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
  112. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
  113. package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs +200 -0
  114. package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map +1 -0
  115. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs} +7 -7
  116. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BT-dM_5C.mjs.map → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map} +1 -1
  117. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs +850 -0
  118. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map +1 -0
  119. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs +107 -0
  120. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map +1 -0
  121. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
  122. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map} +1 -1
  123. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs +1665 -0
  124. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map +1 -0
  125. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs} +13 -13
  126. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-DXAh2Mbm.mjs.map → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map} +1 -1
  127. package/fesm2022/{ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs → ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs} +826 -120
  128. package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +1 -0
  129. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs +28237 -0
  130. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +1 -0
  131. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs +1024 -0
  132. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +1 -0
  133. package/fesm2022/{ngx-t-forms-paginated-selection-table-DHwojPhn.mjs → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs} +8 -8
  134. package/fesm2022/{ngx-t-forms-paginated-selection-table-DHwojPhn.mjs.map → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map} +1 -1
  135. package/fesm2022/{ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs} +2 -2
  136. package/fesm2022/{ngx-t-forms-payload-template-editor.component-CAXdFu4E.mjs.map → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map} +1 -1
  137. package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs +234 -0
  138. package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map +1 -0
  139. package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs +1126 -0
  140. package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map +1 -0
  141. package/fesm2022/{ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs} +11 -11
  142. package/fesm2022/{ngx-t-forms-pipeline-generator.component-BJQ-KnmU.mjs.map → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map} +1 -1
  143. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs +639 -0
  144. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +1 -0
  145. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs +446 -0
  146. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +1 -0
  147. package/fesm2022/{ngx-t-forms-required-inputs.component-C-E3fQu6.mjs → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs} +6 -6
  148. package/fesm2022/{ngx-t-forms-required-inputs.component-C-E3fQu6.mjs.map → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map} +1 -1
  149. package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs +451 -0
  150. package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map +1 -0
  151. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs +625 -0
  152. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map +1 -0
  153. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs} +5 -5
  154. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-D3sa7sNg.mjs.map → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map} +1 -1
  155. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +72 -0
  156. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +1 -0
  157. package/fesm2022/{ngx-t-forms-section-report.component-D6jakGa5.mjs → ngx-t-forms-section-report.component-BYMcaRE5.mjs} +4 -4
  158. package/fesm2022/{ngx-t-forms-section-report.component-D6jakGa5.mjs.map → ngx-t-forms-section-report.component-BYMcaRE5.mjs.map} +1 -1
  159. package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs +248 -0
  160. package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map +1 -0
  161. package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs +408 -0
  162. package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map +1 -0
  163. package/fesm2022/{ngx-t-forms-select-input-element.component-CwqIck0h.mjs → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs} +8 -8
  164. package/fesm2022/{ngx-t-forms-select-input-element.component-CwqIck0h.mjs.map → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map} +1 -1
  165. package/fesm2022/{ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs} +6 -6
  166. package/fesm2022/{ngx-t-forms-selection-options-editor.component-Coj9gnrq.mjs.map → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map} +1 -1
  167. package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs +275 -0
  168. package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map +1 -0
  169. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +366 -0
  170. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +1 -0
  171. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs +263 -0
  172. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +1 -0
  173. package/fesm2022/{ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs} +4 -4
  174. package/fesm2022/{ngx-t-forms-textarea-input-element.component-D4dEi8Vs.mjs.map → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map} +1 -1
  175. package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs +233 -0
  176. package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map +1 -0
  177. package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs +305 -0
  178. package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map +1 -0
  179. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs} +4 -4
  180. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BZiTFB0j.mjs.map → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map} +1 -1
  181. package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs +1105 -0
  182. package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map +1 -0
  183. package/fesm2022/{ngx-t-forms-validators-config.component-B3K9nLxx.mjs → ngx-t-forms-validators-config.component-CoGSFor3.mjs} +5 -5
  184. package/fesm2022/{ngx-t-forms-validators-config.component-B3K9nLxx.mjs.map → ngx-t-forms-validators-config.component-CoGSFor3.mjs.map} +1 -1
  185. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs +2923 -0
  186. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +1 -0
  187. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs → ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs} +17 -17
  188. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map +1 -0
  189. package/fesm2022/ngx-t-forms.mjs +1 -1
  190. package/package.json +2 -2
  191. package/types/ngx-t-forms.d.ts +7 -0
  192. package/fesm2022/ngx-t-forms-document-picker.component-f-hz6Vef.mjs +0 -704
  193. package/fesm2022/ngx-t-forms-document-picker.component-f-hz6Vef.mjs.map +0 -1
  194. package/fesm2022/ngx-t-forms-editor-input-element.component-D38U94oj.mjs.map +0 -1
  195. package/fesm2022/ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs +0 -240
  196. package/fesm2022/ngx-t-forms-editor-js-input.component-D_Jq7sfY.mjs.map +0 -1
  197. package/fesm2022/ngx-t-forms-index-CPNvE4PP.mjs.map +0 -1
  198. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs +0 -66
  199. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Cu-KiAeY.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-ngx-t-forms-DQ_h-jPF.mjs.map +0 -1
  201. package/fesm2022/ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs +0 -358
  202. package/fesm2022/ngx-t-forms-record-list-manager.component-BoD3S_7u.mjs.map +0 -1
  203. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
  204. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
  205. package/fesm2022/ngx-t-forms-workflow-adjudication.component-DD6Fhx06.mjs.map +0 -1
@@ -0,0 +1,585 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, signal, viewChild, PLATFORM_ID, Input } from '@angular/core';
3
+ import { DOCUMENT, isPlatformBrowser } from '@angular/common';
4
+ import { NgControl } from '@angular/forms';
5
+ import { MatFormFieldControl } from '@angular/material/form-field';
6
+ import { B as BaseCustomInput, _ as _isEqual } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
7
+
8
+ // Third-party Editor.js tool packages ship without typings that line up with
9
+ // the host editor's `ToolConstructable`. We narrow at the registration boundary
10
+ // via `unknown` rather than leaking `any` through this module.
11
+ const asToolConstructable = (tool) => tool;
12
+ /**
13
+ * Dynamically loads every Editor.js plugin bundle and returns a ready-to-use `EditorConfig`.
14
+ *
15
+ * Browser-only: callers MUST gate this behind `isPlatformBrowser(...)` because each plugin
16
+ * package touches `self` / `document` at module-eval time and crashes under bare-Node SSR.
17
+ */
18
+ const loadEditorConfig = async (payload) => {
19
+ const [{ default: Header }, { default: List }, { default: Paragraph }, { default: Quote }, { default: Table }, { default: ImageTool }, { default: Delimiter }, { default: CodeTool }, { default: Embed },] = await Promise.all([
20
+ import('@editorjs/header'),
21
+ import('@editorjs/list'),
22
+ import('@editorjs/paragraph'),
23
+ import('@editorjs/quote'),
24
+ import('@editorjs/table'),
25
+ import('@editorjs/image'),
26
+ import('@editorjs/delimiter'),
27
+ import('@editorjs/code'),
28
+ import('@editorjs/embed'),
29
+ ]);
30
+ return ({
31
+ holder: payload.holderId,
32
+ autofocus: true,
33
+ placeholder: 'Let\'s write something amazing...',
34
+ inlineToolbar: true,
35
+ tools: {
36
+ header: {
37
+ class: asToolConstructable(Header),
38
+ config: {
39
+ levels: [1, 2, 3, 4, 5, 6],
40
+ defaultLevel: 1,
41
+ placeholder: 'Type your heading here...'
42
+ },
43
+ inlineToolbar: ['link', 'bold', 'italic', 'marker']
44
+ },
45
+ list: {
46
+ class: asToolConstructable(List),
47
+ inlineToolbar: true,
48
+ config: {
49
+ defaultStyle: 'unordered',
50
+ placeholder: 'Enter a list item here...'
51
+ }
52
+ },
53
+ paragraph: {
54
+ class: asToolConstructable(Paragraph),
55
+ inlineToolbar: true,
56
+ config: {
57
+ preserveBlank: true,
58
+ placeholder: 'Type your paragraph here...'
59
+ }
60
+ },
61
+ quote: {
62
+ class: asToolConstructable(Quote),
63
+ inlineToolbar: true,
64
+ shortcut: 'CMD+SHIFT+Q',
65
+ config: {
66
+ quotePlaceholder: 'Enter a quote',
67
+ captionPlaceholder: 'Quote\'s author',
68
+ alignmentEnabled: true
69
+ }
70
+ },
71
+ delimiter: {
72
+ class: asToolConstructable(Delimiter)
73
+ },
74
+ image: {
75
+ class: asToolConstructable(ImageTool),
76
+ config: {
77
+ endpoints: {
78
+ byFile: payload.imageUploadEndpoint,
79
+ byUrl: payload.imageFetchEndpoint
80
+ },
81
+ uploader: {
82
+ uploadByFile(file) {
83
+ // Custom upload logic
84
+ }
85
+ }
86
+ }
87
+ },
88
+ table: {
89
+ class: asToolConstructable(Table),
90
+ inlineToolbar: true,
91
+ config: {
92
+ rows: 2,
93
+ cols: 3
94
+ }
95
+ },
96
+ code: {
97
+ class: asToolConstructable(CodeTool),
98
+ config: {
99
+ placeholder: 'Enter code here...'
100
+ }
101
+ },
102
+ embed: {
103
+ class: asToolConstructable(Embed),
104
+ config: {
105
+ services: {
106
+ youtube: true,
107
+ codesandbox: true,
108
+ codepen: true
109
+ }
110
+ }
111
+ },
112
+ },
113
+ defaultBlock: 'paragraph',
114
+ hideToolbar: false,
115
+ data: payload.data,
116
+ readOnly: payload.readOnly,
117
+ logLevel: 'ERROR',
118
+ minHeight: 300,
119
+ onChange: (api, event) => {
120
+ payload.onChangeFn();
121
+ },
122
+ onReady: () => { },
123
+ sanitizer: {
124
+ p: true,
125
+ b: true,
126
+ a: {
127
+ href: true,
128
+ target: '_blank',
129
+ rel: 'nofollow'
130
+ }
131
+ },
132
+ i18n: {
133
+ messages: {
134
+ ui: {
135
+ blockTunes: {
136
+ toggler: {
137
+ 'Click to tune': 'Click to tune',
138
+ 'or drag to move': 'or drag to move'
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ });
145
+ };
146
+
147
+ /**
148
+ * Element-level "pop out to full screen" shared by the rich-text editors in this folder.
149
+ *
150
+ * A plain `position: fixed` overlay is **not** sufficient here, and that is the whole point of
151
+ * this file. The editors render inside a `mat-form-field`, which consumers routinely nest inside
152
+ * a Material stepper, tab body, drawer or dialog. `position: fixed` is viewport-relative only
153
+ * while **no** ancestor establishes a containing block — any ancestor with `transform`, `filter`,
154
+ * `contain`, `will-change`, `backdrop-filter` or `perspective` captures it, and that ancestor's
155
+ * `overflow: hidden` then clips it. Which of those a consumer uses is unknowable from in here, so
156
+ * the pop-out has to stop depending on the host component altogether.
157
+ *
158
+ * The browser's **top layer** is what does that: elements promoted into it are painted outside
159
+ * the ancestor chain and are immune to ancestor `transform`, `overflow`, `z-index` and stacking
160
+ * contexts. Three strategies are tried, best first:
161
+ *
162
+ * 1. `requestFullscreen()` — top layer **and** drops the browser chrome. Needs a user gesture.
163
+ * 2. `showPopover()` — top layer, no gesture required; covers browsers where element full screen
164
+ * is unavailable (Safari on iPhone) or blocked by a `fullscreen` permissions policy in an
165
+ * iframe.
166
+ * 3. `position: fixed` — last resort for browsers with neither API.
167
+ *
168
+ * The element is promoted **in place** — never re-parented to `<body>`. Top-layer promotion
169
+ * changes painting, not inheritance, so the editor keeps inheriting the app's `--mat-sys-*` theme
170
+ * variables from its real ancestors; a portal to `<body>` would lose them.
171
+ *
172
+ * Only the standard, promise-returning `requestFullscreen` is used. The legacy
173
+ * `webkitRequestFullscreen` returns `void` and reports failure through a separate event, so a
174
+ * rejection could not be observed in time to fall through cleanly — those browsers take path 2/3.
175
+ */
176
+ /**
177
+ * Class carried by the element while it is popped out. Each editor styles it in its own
178
+ * stylesheet, and that rule **must** set a `display` value: it is what keeps the element visible
179
+ * during the popover path (see {@link EditorFullScreenHost.enter}).
180
+ */
181
+ const EDITOR_FULL_SCREEN_CLASS = 'is-fullscreen';
182
+ /**
183
+ * Owns the pop-out of a single element. One instance per editor; created behind the component's
184
+ * `isPlatformBrowser` guard so nothing here runs during SSR.
185
+ */
186
+ class EditorFullScreenHost {
187
+ #document;
188
+ #onExternalExit;
189
+ #element;
190
+ #mode;
191
+ /**
192
+ * @param document The owning document, injected via `DOCUMENT` — never the global.
193
+ * @param onExternalExit Called when the browser closed the pop-out without going through
194
+ * {@link exit} (Escape, F11, another element claiming full screen).
195
+ */
196
+ constructor(document, onExternalExit) {
197
+ this.#document = document;
198
+ this.#onExternalExit = onExternalExit;
199
+ this.#document.addEventListener('fullscreenchange', this.#handleFullScreenChange);
200
+ }
201
+ /** Whether an element is currently popped out. */
202
+ get active() {
203
+ return this.#mode !== undefined;
204
+ }
205
+ /**
206
+ * Pops `element` out using the best mechanism the browser allows, adding
207
+ * {@link EDITOR_FULL_SCREEN_CLASS} for the duration.
208
+ *
209
+ * Must be called synchronously from a user gesture, otherwise the Fullscreen API rejects and
210
+ * the pop-out silently degrades to the popover path.
211
+ *
212
+ * @param element The element to promote — must be the one carrying the editor chrome.
213
+ * @returns The mechanism that ended up being used.
214
+ */
215
+ async enter(element) {
216
+ if (this.#mode !== undefined)
217
+ return this.#mode;
218
+ // Added first, and deliberately so: the class sets `display`, which — being author origin —
219
+ // beats the UA's `[popover]:not(:popover-open) { display: none }`. Without it the element
220
+ // would be display:none for the window between `setAttribute` and `showPopover()` below, and
221
+ // a style recalculation inside that window blurs whatever the user was typing in.
222
+ this.#element = element;
223
+ element.classList.add(EDITOR_FULL_SCREEN_CLASS);
224
+ // `fullscreenEnabled` is false when a permissions policy blocks it (an iframe without
225
+ // `allow="fullscreen"`) and where element full screen is unsupported (Safari on iPhone).
226
+ if (this.#document.fullscreenEnabled && typeof element.requestFullscreen === 'function') {
227
+ try {
228
+ await element.requestFullscreen();
229
+ this.#mode = 'fullscreen';
230
+ return this.#mode;
231
+ }
232
+ catch {
233
+ // Rejected — no transient activation, or the UA refused. Fall through to the top-layer
234
+ // popover, which needs neither.
235
+ }
236
+ }
237
+ if (typeof element.showPopover === 'function') {
238
+ element.setAttribute('popover', 'manual');
239
+ try {
240
+ element.showPopover();
241
+ this.#mode = 'popover';
242
+ return this.#mode;
243
+ }
244
+ catch {
245
+ element.removeAttribute('popover');
246
+ }
247
+ }
248
+ this.#mode = 'fixed';
249
+ return this.#mode;
250
+ }
251
+ /** Closes the pop-out and returns the element to its place in the document flow. */
252
+ async exit() {
253
+ const element = this.#element;
254
+ const mode = this.#mode;
255
+ this.#element = undefined;
256
+ this.#mode = undefined;
257
+ if (!element || mode === undefined)
258
+ return;
259
+ try {
260
+ if (mode === 'fullscreen') {
261
+ // Leave full screen first: `exitFullscreen()` settles only once the browser's own
262
+ // transition has finished, and the class is what styles the surface until then.
263
+ if (this.#document.fullscreenElement === element)
264
+ await this.#document.exitFullscreen();
265
+ }
266
+ else if (mode === 'popover') {
267
+ element.hidePopover();
268
+ element.removeAttribute('popover');
269
+ }
270
+ }
271
+ finally {
272
+ element.classList.remove(EDITOR_FULL_SCREEN_CLASS);
273
+ }
274
+ }
275
+ /** Detaches the document listener and closes any open pop-out. Call from `ngOnDestroy`. */
276
+ destroy() {
277
+ this.#document.removeEventListener('fullscreenchange', this.#handleFullScreenChange);
278
+ void this.exit();
279
+ }
280
+ /**
281
+ * The browser can close a native full screen behind our back — Escape, F11, or another element
282
+ * taking the top layer. Reconcile our own state and tell the owner so its toggle follows.
283
+ */
284
+ #handleFullScreenChange = () => {
285
+ if (this.#mode !== 'fullscreen')
286
+ return;
287
+ if (this.#document.fullscreenElement === this.#element)
288
+ return;
289
+ this.#element?.classList.remove(EDITOR_FULL_SCREEN_CLASS);
290
+ this.#element = undefined;
291
+ this.#mode = undefined;
292
+ this.#onExternalExit();
293
+ };
294
+ }
295
+
296
+ function EditorFullScreenToggleComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
297
+ i0.ɵɵnamespaceSVG();
298
+ i0.ɵɵdomElementStart(0, "svg", 1);
299
+ i0.ɵɵdomElement(1, "polyline", 2)(2, "polyline", 3)(3, "polyline", 4)(4, "polyline", 5);
300
+ i0.ɵɵdomElementEnd();
301
+ } }
302
+ function EditorFullScreenToggleComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
303
+ i0.ɵɵnamespaceSVG();
304
+ i0.ɵɵdomElementStart(0, "svg", 1);
305
+ i0.ɵɵdomElement(1, "polyline", 6)(2, "polyline", 7)(3, "polyline", 8)(4, "polyline", 9);
306
+ i0.ɵɵdomElementEnd();
307
+ } }
308
+ /**
309
+ * Floating action button that pops a rich-text editor out to full screen and back.
310
+ *
311
+ * Shared by the Quill and Editor.js inputs so both carry the same affordance, icon and
312
+ * accessible naming. It deliberately owns no state: the editor that hosts it drives {@link active}
313
+ * and performs the promotion (see `editor-full-screen.ts`).
314
+ *
315
+ * Positioning belongs to the host — this component styles only the button. Place it by targeting
316
+ * the element selector from the host's stylesheet.
317
+ *
318
+ * @example
319
+ * <lib-editor-full-screen-toggle [active]="fullScreen()" (toggled)="toggleFullScreen()" />
320
+ */
321
+ class EditorFullScreenToggleComponent {
322
+ constructor() {
323
+ /** Whether the editor this controls is currently popped out. */
324
+ this.active = input.required(...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
325
+ /** Emitted when the user asks to enter or leave full screen. */
326
+ this.toggled = output();
327
+ /** Serves as both tooltip and accessible name, so the two can never drift apart. */
328
+ this.label = computed(() => (this.active() ? 'Exit full screen' : 'Full screen'), ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
329
+ }
330
+ static { this.ɵfac = function EditorFullScreenToggleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EditorFullScreenToggleComponent)(); }; }
331
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditorFullScreenToggleComponent, selectors: [["lib-editor-full-screen-toggle"]], hostAttrs: [1, "lib-editor-full-screen-toggle"], inputs: { active: [1, "active"] }, outputs: { toggled: "toggled" }, decls: 3, vars: 4, consts: [["type", "button", 1, "fab", 3, "click", "title"], ["viewBox", "0 0 18 18", "aria-hidden", "true"], ["points", "3 7 7 7 7 3"], ["points", "11 3 11 7 15 7"], ["points", "15 11 11 11 11 15"], ["points", "7 15 7 11 3 11"], ["points", "7 3 3 3 3 7"], ["points", "11 3 15 3 15 7"], ["points", "15 11 15 15 11 15"], ["points", "3 11 3 15 7 15"]], template: function EditorFullScreenToggleComponent_Template(rf, ctx) { if (rf & 1) {
332
+ i0.ɵɵdomElementStart(0, "button", 0);
333
+ i0.ɵɵdomListener("click", function EditorFullScreenToggleComponent_Template_button_click_0_listener() { return ctx.toggled.emit(); });
334
+ i0.ɵɵconditionalCreate(1, EditorFullScreenToggleComponent_Conditional_1_Template, 5, 0, ":svg:svg", 1)(2, EditorFullScreenToggleComponent_Conditional_2_Template, 5, 0, ":svg:svg", 1);
335
+ i0.ɵɵdomElementEnd();
336
+ } if (rf & 2) {
337
+ i0.ɵɵdomProperty("title", ctx.label());
338
+ i0.ɵɵattribute("aria-label", ctx.label())("aria-pressed", ctx.active());
339
+ i0.ɵɵadvance();
340
+ i0.ɵɵconditional(ctx.active() ? 1 : 2);
341
+ } }, styles: ["[_nghost-%COMP%]{display:block}.fab[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:50%;background-color:var(--mat-sys-surface-container-high, var(--mat-app-surface-container-high));color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface));box-shadow:0 2px 8px #0000002e;cursor:pointer;transition:background-color .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1);pointer-events:auto}.fab[_ngcontent-%COMP%]:hover, .fab[_ngcontent-%COMP%]:focus-visible{color:var(--mat-sys-primary, var(--mat-app-primary));background-color:var(--mat-sys-surface-container-highest, var(--mat-app-surface-container-high));box-shadow:0 4px 14px #0000003d}.fab[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mat-sys-primary, var(--mat-app-primary));outline-offset:2px}.fab[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}"], changeDetection: 0 }); }
342
+ }
343
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EditorFullScreenToggleComponent, [{
344
+ type: Component,
345
+ args: [{ selector: 'lib-editor-full-screen-toggle', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
346
+ 'class': 'lib-editor-full-screen-toggle'
347
+ }, imports: [], template: "<button\n type=\"button\"\n class=\"fab\"\n [title]=\"label()\"\n [attr.aria-label]=\"label()\"\n [attr.aria-pressed]=\"active()\"\n (click)=\"toggled.emit()\"\n>\n @if (active()) {\n <svg viewBox=\"0 0 18 18\" aria-hidden=\"true\">\n <polyline points=\"3 7 7 7 7 3\"></polyline>\n <polyline points=\"11 3 11 7 15 7\"></polyline>\n <polyline points=\"15 11 11 11 11 15\"></polyline>\n <polyline points=\"7 15 7 11 3 11\"></polyline>\n </svg>\n } @else {\n <svg viewBox=\"0 0 18 18\" aria-hidden=\"true\">\n <polyline points=\"7 3 3 3 3 7\"></polyline>\n <polyline points=\"11 3 15 3 15 7\"></polyline>\n <polyline points=\"15 11 15 15 11 15\"></polyline>\n <polyline points=\"3 11 3 15 7 15\"></polyline>\n </svg>\n }\n</button>\n", styles: [":host{display:block}.fab{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:50%;background-color:var(--mat-sys-surface-container-high, var(--mat-app-surface-container-high));color:var(--mat-sys-on-surface-variant, var(--mat-app-on-surface));box-shadow:0 2px 8px #0000002e;cursor:pointer;transition:background-color .3s cubic-bezier(.16,1,.3,1),color .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1);pointer-events:auto}.fab:hover,.fab:focus-visible{color:var(--mat-sys-primary, var(--mat-app-primary));background-color:var(--mat-sys-surface-container-highest, var(--mat-app-surface-container-high));box-shadow:0 4px 14px #0000003d}.fab:focus-visible{outline:2px solid var(--mat-sys-primary, var(--mat-app-primary));outline-offset:2px}.fab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}\n"] }]
348
+ }], null, { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: true }] }], toggled: [{ type: i0.Output, args: ["toggled"] }] }); })();
349
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditorFullScreenToggleComponent, { className: "EditorFullScreenToggleComponent", filePath: "lib/components/t-form-input/elements/editor-input-element/core/editor-full-screen-toggle/editor-full-screen-toggle.component.ts", lineNumber: 27 }); })();
350
+
351
+ const _c0 = ["editorContainer"];
352
+ const customInputConfig = {
353
+ controlType: 'lib-editor-js-input',
354
+ nextId: 0
355
+ };
356
+ /**
357
+ * Rich-text input backed by the Editor.js block editor, wired into Angular
358
+ * Material's form-field via {@link MatFormFieldControl}.
359
+ *
360
+ * The Editor.js bundle is browser-only, so it is dynamically imported and
361
+ * instantiated inside `ngAfterViewInit` behind an `isPlatformBrowser` guard
362
+ * to stay SSR-safe. The editor instance is destroyed on `ngOnDestroy`.
363
+ *
364
+ * @deprecated Scheduled for removal. Do not use in new code; migrate existing
365
+ * usages to the supported rich-text input element. Retained only for backward
366
+ * compatibility with forms that still reference `lib-editor-js-input`.
367
+ *
368
+ * @example
369
+ * <lib-editor-js-input [inputConfig]="column()" (valueChanged)="onChange($event)" />
370
+ */
371
+ class EditorJsInputComponent extends BaseCustomInput {
372
+ #platformId;
373
+ #document;
374
+ #fullScreenHost;
375
+ /** Guards against overlapping pop-out transitions (see `#toggleFullScreen`). */
376
+ #toggling;
377
+ constructor() {
378
+ super(inject(NgControl, { optional: true, self: true }), inject(ElementRef), customInputConfig);
379
+ /** Column definition describing the field's id, read-only state and metadata. */
380
+ this.inputConfig = input.required(...(ngDevMode ? [{ debugName: "inputConfig" }] : /* istanbul ignore next */ []));
381
+ /** Emits the editor's saved {@link OutputData} whenever its content changes. */
382
+ this.valueChanged = output();
383
+ /** Whether the editor is currently popped out to fill the screen. */
384
+ this.fullScreen = signal(false, ...(ngDevMode ? [{ debugName: "fullScreen" }] : /* istanbul ignore next */ []));
385
+ /**
386
+ * Height the in-flow wrapper holds onto while the editor is popped out. Set from the editor's
387
+ * measured height on the way in, cleared on the way out.
388
+ */
389
+ this.reservedHeight = signal(null, ...(ngDevMode ? [{ debugName: "reservedHeight" }] : /* istanbul ignore next */ []));
390
+ /**
391
+ * The bordered surface carrying the editor — this is what gets promoted to the browser's top
392
+ * layer. (`viewChild` cannot sit on an ES-private field — NG1053.)
393
+ */
394
+ this.editorContainer = viewChild.required('editorContainer');
395
+ this.#platformId = inject(PLATFORM_ID);
396
+ this.#document = inject(DOCUMENT);
397
+ /** Guards against overlapping pop-out transitions (see `#toggleFullScreen`). */
398
+ this.#toggling = false;
399
+ this._value = undefined;
400
+ }
401
+ get empty() {
402
+ const n = this.value;
403
+ // Check for null, undefined, or empty string, but allow 0
404
+ return n === null || n === undefined || n === '';
405
+ }
406
+ get shouldLabelFloat() {
407
+ return true;
408
+ }
409
+ set value(value) {
410
+ if (!_isEqual(this._value, value)) {
411
+ this._value = value;
412
+ this.onChange(value);
413
+ this.stateChanges.next();
414
+ }
415
+ }
416
+ get value() {
417
+ return this._value;
418
+ }
419
+ async ngAfterViewInit() {
420
+ if (!isPlatformBrowser(this.#platformId))
421
+ return;
422
+ if (this.editor) {
423
+ this.editor.destroy();
424
+ }
425
+ this.#fullScreenHost ??= new EditorFullScreenHost(this.#document, () => this.#setFullScreen(false));
426
+ const payload = {
427
+ holderId: this.inputConfig().id,
428
+ imageFetchEndpoint: '',
429
+ imageUploadEndpoint: '',
430
+ readOnly: this.inputConfig().readonly || this.inputConfig().disabled || false,
431
+ data: this.value || undefined,
432
+ onChangeFn: this.contentChangedSaveValue.bind(this)
433
+ };
434
+ // Browser-only dynamic load — see Trap 16 comment at the top of this file and in config.ts.
435
+ const [{ default: EditorJS }, config] = await Promise.all([
436
+ import('@editorjs/editorjs'),
437
+ loadEditorConfig(payload),
438
+ ]);
439
+ this.editor = new EditorJS(config);
440
+ // A `setDisabledState` that arrived before the editor existed is applied here.
441
+ void this.#applyReadOnly();
442
+ }
443
+ /**
444
+ * Keeps Editor.js's own read-only state in step with the control's. The pop-out re-enables
445
+ * pointer events on the popped-out surface (Material kills them field-wide when the control is
446
+ * disabled), so this is what actually keeps a disabled field uneditable — the CSS no longer
447
+ * does it.
448
+ */
449
+ setDisabledState(isDisabled) {
450
+ super.setDisabledState(isDisabled);
451
+ void this.#applyReadOnly();
452
+ }
453
+ /** Read-only when either the column config or the reactive-form control says so. */
454
+ async #applyReadOnly() {
455
+ const editor = this.editor;
456
+ if (!editor)
457
+ return;
458
+ const config = this.inputConfig();
459
+ const readOnly = this.disabled || config.readonly || config.disabled || false;
460
+ try {
461
+ await editor.isReady;
462
+ if (editor.readOnly.isEnabled !== readOnly)
463
+ await editor.readOnly.toggle(readOnly);
464
+ }
465
+ catch {
466
+ // Editor.js rejects when the configured tool set has no read-only support. The field then
467
+ // keeps the state it was constructed with rather than the whole editor failing to load.
468
+ }
469
+ }
470
+ async contentChangedSaveValue() {
471
+ const value = await this.editor?.save();
472
+ this.value = value;
473
+ this.onChange(value);
474
+ this.valueChanged.emit(value);
475
+ }
476
+ /** Toggles the pop-out from the corner button. */
477
+ toggleFullScreen() {
478
+ void this.#toggleFullScreen();
479
+ }
480
+ /**
481
+ * Escape leaves the pop-out. Native full screen is torn down by the browser itself (picked up
482
+ * through `fullscreenchange`); this covers the popover and fixed fallbacks. The event is
483
+ * stopped so Escape closes the editor rather than an enclosing dialog.
484
+ */
485
+ onEscape(event) {
486
+ if (!this.fullScreen())
487
+ return;
488
+ event.preventDefault();
489
+ event.stopPropagation();
490
+ void this.#toggleFullScreen();
491
+ }
492
+ /**
493
+ * Pops the editor out to fill the screen, or restores it. Runs inside the button's click
494
+ * gesture, which the Fullscreen API requires — everything up to the promotion is synchronous
495
+ * for that reason.
496
+ *
497
+ * Unlike the Quill sibling there is no caret to restore: the element is promoted in place, so
498
+ * the native selection inside Editor.js's contenteditable blocks survives untouched.
499
+ */
500
+ async #toggleFullScreen() {
501
+ const fullScreenHost = this.#fullScreenHost;
502
+ // Both transitions settle asynchronously; ignore clicks that land mid-flight rather than
503
+ // letting a second `requestFullscreen()` race the first.
504
+ if (!fullScreenHost || this.#toggling)
505
+ return;
506
+ this.#toggling = true;
507
+ try {
508
+ if (this.fullScreen()) {
509
+ await fullScreenHost.exit();
510
+ }
511
+ else {
512
+ const element = this.editorContainer().nativeElement;
513
+ this.reservedHeight.set(element.offsetHeight);
514
+ await fullScreenHost.enter(element);
515
+ }
516
+ }
517
+ finally {
518
+ // `enter()` degrades rather than throwing, but `exit()` can reject if the browser refuses
519
+ // to leave full screen. Either way the controller has already settled its own state, so
520
+ // read it back instead of assuming the toggle succeeded.
521
+ this.#setFullScreen(fullScreenHost.active);
522
+ this.#toggling = false;
523
+ }
524
+ }
525
+ /**
526
+ * Single funnel for pop-out state, so the signal and the reserved space always agree —
527
+ * including when the browser closed full screen on its own.
528
+ */
529
+ #setFullScreen(active) {
530
+ this.fullScreen.set(active);
531
+ if (!active)
532
+ this.reservedHeight.set(null);
533
+ }
534
+ ngOnDestroy() {
535
+ this.#fullScreenHost?.destroy();
536
+ this.#fullScreenHost = undefined;
537
+ this.editor?.destroy();
538
+ this.editor = undefined;
539
+ // Tear the editor down first, then let the base complete `stateChanges` / `destroy$` and
540
+ // clear the temporary-error timer — none of which happened while this override skipped it.
541
+ super.ngOnDestroy();
542
+ }
543
+ static { this.ɵfac = function EditorJsInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EditorJsInputComponent)(); }; }
544
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditorJsInputComponent, selectors: [["lib-editor-js-input"]], viewQuery: function EditorJsInputComponent_Query(rf, ctx) { if (rf & 1) {
545
+ i0.ɵɵviewQuerySignal(ctx.editorContainer, _c0, 5);
546
+ } if (rf & 2) {
547
+ i0.ɵɵqueryAdvance();
548
+ } }, hostVars: 3, hostBindings: function EditorJsInputComponent_HostBindings(rf, ctx) { if (rf & 1) {
549
+ i0.ɵɵlistener("keydown.escape", function EditorJsInputComponent_keydown_escape_HostBindingHandler($event) { return ctx.onEscape($event); });
550
+ } if (rf & 2) {
551
+ i0.ɵɵdomProperty("id", ctx.id);
552
+ i0.ɵɵclassProp("floating", ctx.shouldLabelFloat);
553
+ } }, inputs: { inputConfig: [1, "inputConfig"], value: "value" }, outputs: { valueChanged: "valueChanged" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: EditorJsInputComponent }]), i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 4, consts: [["editorContainer", ""], ["editorJs", ""], [1, "editor-shell"], [1, "editor-container"], [1, "editor-holder", 3, "id"], [3, "toggled", "active"]], template: function EditorJsInputComponent_Template(rf, ctx) { if (rf & 1) {
554
+ i0.ɵɵelementStart(0, "div", 2)(1, "div", 3, 0);
555
+ i0.ɵɵelement(3, "div", 4, 1);
556
+ i0.ɵɵelementStart(5, "lib-editor-full-screen-toggle", 5);
557
+ i0.ɵɵlistener("toggled", function EditorJsInputComponent_Template_lib_editor_full_screen_toggle_toggled_5_listener() { return ctx.toggleFullScreen(); });
558
+ i0.ɵɵelementEnd()()();
559
+ } if (rf & 2) {
560
+ i0.ɵɵstyleProp("height", ctx.reservedHeight(), "px");
561
+ i0.ɵɵadvance(3);
562
+ i0.ɵɵproperty("id", ctx.inputConfig().id);
563
+ i0.ɵɵadvance(2);
564
+ i0.ɵɵproperty("active", ctx.fullScreen());
565
+ } }, dependencies: [EditorFullScreenToggleComponent], styles: [".editor-container[_ngcontent-%COMP%]{position:relative;border:solid 1px var(--mat-divider-color, var(--mat-app-outline));padding:16px;background:var(--mdc-elevated-card-container-color, var(--mat-app-surface-container-low))}.editor-container[_ngcontent-%COMP%] > lib-editor-full-screen-toggle[_ngcontent-%COMP%]{position:absolute;right:16px;bottom:16px;z-index:2}.editor-container.is-fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1200;display:flex;flex-direction:column;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:none;background:var(--mat-sys-surface, var(--mat-app-surface));overflow:visible;pointer-events:auto;animation:_ngcontent-%COMP%_editor-js-full-screen-enter .4s cubic-bezier(.16,1,.3,1)}.editor-container.is-fullscreen[_ngcontent-%COMP%]::backdrop{background-color:var(--mat-sys-surface, var(--mat-app-surface))}.editor-container.is-fullscreen[_ngcontent-%COMP%] > lib-editor-full-screen-toggle[_ngcontent-%COMP%]{right:2rem;bottom:2rem}.editor-container.is-fullscreen[_ngcontent-%COMP%] .editor-holder[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;overflow-y:auto;padding:2.5rem max(2rem,calc((100% - var(--lib-forms-editor-page-width, 210mm)) / 2))}@keyframes _ngcontent-%COMP%_editor-js-full-screen-enter{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.editor-container.is-fullscreen[_ngcontent-%COMP%]{animation:none}}"], changeDetection: 0 }); }
566
+ }
567
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EditorJsInputComponent, [{
568
+ type: Component,
569
+ args: [{ selector: 'lib-editor-js-input', imports: [EditorFullScreenToggleComponent], host: {
570
+ '[class.floating]': 'shouldLabelFloat',
571
+ '[id]': 'id',
572
+ '(keydown.escape)': 'onEscape($event)'
573
+ }, providers: [{ provide: MatFormFieldControl, useExisting: EditorJsInputComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "\n<!-- `.editor-shell` stays in the document flow and holds the editor's footprint while\n `.editor-container` is promoted to the browser's top layer for full screen. Without it the\n surrounding form-field collapses by the editor's height, and the page scroll position jumps\n when full screen is left. -->\n<div class=\"editor-shell\" [style.height.px]=\"reservedHeight()\">\n <div class=\"editor-container\" #editorContainer>\n <div class=\"editor-holder\" #editorJs [id]=\"inputConfig().id\"></div>\n\n <!-- Floats over the content; Editor.js has no toolbar of its own to host it. -->\n <lib-editor-full-screen-toggle\n [active]=\"fullScreen()\"\n (toggled)=\"toggleFullScreen()\"\n ></lib-editor-full-screen-toggle>\n </div>\n</div>\n", styles: [".editor-container{position:relative;border:solid 1px var(--mat-divider-color, var(--mat-app-outline));padding:16px;background:var(--mdc-elevated-card-container-color, var(--mat-app-surface-container-low))}.editor-container>lib-editor-full-screen-toggle{position:absolute;right:16px;bottom:16px;z-index:2}.editor-container.is-fullscreen{position:fixed;inset:0;z-index:1200;display:flex;flex-direction:column;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:none;background:var(--mat-sys-surface, var(--mat-app-surface));overflow:visible;pointer-events:auto;animation:editor-js-full-screen-enter .4s cubic-bezier(.16,1,.3,1)}.editor-container.is-fullscreen::backdrop{background-color:var(--mat-sys-surface, var(--mat-app-surface))}.editor-container.is-fullscreen>lib-editor-full-screen-toggle{right:2rem;bottom:2rem}.editor-container.is-fullscreen .editor-holder{flex:1 1 auto;min-height:0;overflow-y:auto;padding:2.5rem max(2rem,calc((100% - var(--lib-forms-editor-page-width, 210mm)) / 2))}@keyframes editor-js-full-screen-enter{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.editor-container.is-fullscreen{animation:none}}\n"] }]
574
+ }], () => [], { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], editorContainer: [{ type: i0.ViewChild, args: ['editorContainer', { isSignal: true }] }], value: [{
575
+ type: Input
576
+ }] }); })();
577
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditorJsInputComponent, { className: "EditorJsInputComponent", filePath: "lib/components/t-form-input/elements/editor-input-element/core/editor-js-input/editor-js-input.component.ts", lineNumber: 65 }); })();
578
+
579
+ var editorJsInput_component = /*#__PURE__*/Object.freeze({
580
+ __proto__: null,
581
+ EditorJsInputComponent: EditorJsInputComponent
582
+ });
583
+
584
+ export { EditorFullScreenHost as E, EditorFullScreenToggleComponent as a, EditorJsInputComponent as b, editorJsInput_component as e };
585
+ //# sourceMappingURL=ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map