ngx-t-forms 3.0.0 → 3.1.1

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 (254) hide show
  1. package/fesm2022/ngx-t-forms-api-endpoint-config.component-CZm3Z_7B.mjs +411 -0
  2. package/fesm2022/ngx-t-forms-api-endpoint-config.component-CZm3Z_7B.mjs.map +1 -0
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs → ngx-t-forms-auto-complete-input-element.component-IciY6hb3.mjs} +2 -2
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map → ngx-t-forms-auto-complete-input-element.component-IciY6hb3.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs → ngx-t-forms-basic-input-input-element.component-CykKxWu0.mjs} +3 -3
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map → ngx-t-forms-basic-input-input-element.component-CykKxWu0.mjs.map} +1 -1
  7. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CwI-WEX7.mjs +643 -0
  8. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CwI-WEX7.mjs.map +1 -0
  9. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs → ngx-t-forms-chip-options-creator-editor.component-CO_3EQ_v.mjs} +4 -4
  10. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-CO_3EQ_v.mjs.map +1 -0
  11. package/fesm2022/ngx-t-forms-conditional-display-config.component-Cmf7gDfO.mjs +513 -0
  12. package/fesm2022/ngx-t-forms-conditional-display-config.component-Cmf7gDfO.mjs.map +1 -0
  13. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BHiOEQe4.mjs} +4 -4
  14. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-BHiOEQe4.mjs.map +1 -0
  15. package/fesm2022/ngx-t-forms-data-source-picker.component-CN51SdCK.mjs +261 -0
  16. package/fesm2022/ngx-t-forms-data-source-picker.component-CN51SdCK.mjs.map +1 -0
  17. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs → ngx-t-forms-date-picker-input-element.component-c3OSDXWw.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map → ngx-t-forms-date-picker-input-element.component-c3OSDXWw.mjs.map} +1 -1
  19. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-C-4fqOF0.mjs +166 -0
  20. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-C-4fqOF0.mjs.map +1 -0
  21. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-DLzba2AQ.mjs +373 -0
  22. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-DLzba2AQ.mjs.map +1 -0
  23. package/fesm2022/ngx-t-forms-document-picker.component-9clYsOcl.mjs +1259 -0
  24. package/fesm2022/ngx-t-forms-document-picker.component-9clYsOcl.mjs.map +1 -0
  25. package/fesm2022/ngx-t-forms-editor-input-element.component-BGdZ4evj.mjs +417 -0
  26. package/fesm2022/ngx-t-forms-editor-input-element.component-BGdZ4evj.mjs.map +1 -0
  27. package/fesm2022/{ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs → ngx-t-forms-editor-js-input.component-02HnmInT.mjs} +25 -11
  28. package/fesm2022/ngx-t-forms-editor-js-input.component-02HnmInT.mjs.map +1 -0
  29. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs → ngx-t-forms-file-upload-input-element.component-BF7KbSPb.mjs} +2 -2
  30. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map → ngx-t-forms-file-upload-input-element.component-BF7KbSPb.mjs.map} +1 -1
  31. package/fesm2022/ngx-t-forms-form-input-selector.component-vCj2SCxs.mjs +86 -0
  32. package/fesm2022/ngx-t-forms-form-input-selector.component-vCj2SCxs.mjs.map +1 -0
  33. package/fesm2022/{ngx-t-forms-form-json-view.component-r64GKVhI.mjs → ngx-t-forms-form-json-view.component-Cmw1hHGZ.mjs} +2 -2
  34. package/fesm2022/{ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map → ngx-t-forms-form-json-view.component-Cmw1hHGZ.mjs.map} +1 -1
  35. package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs +179 -0
  36. package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs.map +1 -0
  37. package/fesm2022/{ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs → ngx-t-forms-form-section-stepper.component-CFdwgxRl.mjs} +4 -4
  38. package/fesm2022/{ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map → ngx-t-forms-form-section-stepper.component-CFdwgxRl.mjs.map} +1 -1
  39. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs → ngx-t-forms-forms-builder-menu.component-DisrOv5x.mjs} +5 -5
  40. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map → ngx-t-forms-forms-builder-menu.component-DisrOv5x.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-geo-location.component-D2fIbagr.mjs → ngx-t-forms-geo-location.component-D-BhLdx6.mjs} +2 -2
  42. package/fesm2022/{ngx-t-forms-geo-location.component-D2fIbagr.mjs.map → ngx-t-forms-geo-location.component-D-BhLdx6.mjs.map} +1 -1
  43. package/fesm2022/ngx-t-forms-header-template-editor.component-Z5frEhho.mjs +159 -0
  44. package/fesm2022/ngx-t-forms-header-template-editor.component-Z5frEhho.mjs.map +1 -0
  45. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs → ngx-t-forms-image-capture-input-element.component-CoJTXMbL.mjs} +2 -2
  46. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map → ngx-t-forms-image-capture-input-element.component-CoJTXMbL.mjs.map} +1 -1
  47. package/fesm2022/ngx-t-forms-index-D8xr_Sxp.mjs +2 -0
  48. package/fesm2022/ngx-t-forms-index-D8xr_Sxp.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-input-custom.component-Dcoze7U3.mjs → ngx-t-forms-input-custom.component-s1ryJQy4.mjs} +2 -2
  50. package/fesm2022/{ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map → ngx-t-forms-input-custom.component-s1ryJQy4.mjs.map} +1 -1
  51. package/fesm2022/ngx-t-forms-input-editor.component-oIzCTmbx.mjs +190 -0
  52. package/fesm2022/ngx-t-forms-input-editor.component-oIzCTmbx.mjs.map +1 -0
  53. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs → ngx-t-forms-map-mat-options-keys-C1kxlZS_.mjs} +2 -3
  54. package/fesm2022/ngx-t-forms-map-mat-options-keys-C1kxlZS_.mjs.map +1 -0
  55. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs → ngx-t-forms-mat-chip-list-editor.component-wskkKr4y.mjs} +5 -5
  56. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-wskkKr4y.mjs.map +1 -0
  57. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs → ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs} +3 -3
  58. package/fesm2022/ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs.map +1 -0
  59. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs → ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs} +3 -3
  60. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs.map +1 -0
  61. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs → ngx-t-forms-missing-form-configs.component-C1XuXRdn.mjs} +2 -2
  62. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map → ngx-t-forms-missing-form-configs.component-C1XuXRdn.mjs.map} +1 -1
  63. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs → ngx-t-forms-mscoa-chart-toolbar.component-BJrOTRuQ.mjs} +2 -2
  64. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-BJrOTRuQ.mjs.map} +1 -1
  65. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-GyKF31Ve.mjs +447 -0
  66. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-GyKF31Ve.mjs.map +1 -0
  67. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BrPJPR2R.mjs +905 -0
  68. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BrPJPR2R.mjs.map +1 -0
  69. package/fesm2022/{ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs → ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs} +2738 -415
  70. package/fesm2022/ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-paginated-selection-table-DrXB22iY.mjs → ngx-t-forms-paginated-selection-table-Bk77dBo9.mjs} +2 -2
  72. package/fesm2022/{ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map → ngx-t-forms-paginated-selection-table-Bk77dBo9.mjs.map} +1 -1
  73. package/fesm2022/ngx-t-forms-payload-template-editor.component-CVzOTLYE.mjs +85 -0
  74. package/fesm2022/ngx-t-forms-payload-template-editor.component-CVzOTLYE.mjs.map +1 -0
  75. package/fesm2022/ngx-t-forms-pipeline-generator.component-7Vfwaqnx.mjs +748 -0
  76. package/fesm2022/ngx-t-forms-pipeline-generator.component-7Vfwaqnx.mjs.map +1 -0
  77. package/fesm2022/{ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs → ngx-t-forms-record-list-manager.component-CfZdqKhY.mjs} +4 -4
  78. package/fesm2022/ngx-t-forms-record-list-manager.component-CfZdqKhY.mjs.map +1 -0
  79. package/fesm2022/ngx-t-forms-required-inputs.component-CK7NIhbq.mjs +272 -0
  80. package/fesm2022/ngx-t-forms-required-inputs.component-CK7NIhbq.mjs.map +1 -0
  81. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-YChv7Arm.mjs +699 -0
  82. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-YChv7Arm.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs +38 -0
  84. package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs.map +1 -0
  85. package/fesm2022/{ngx-t-forms-section-report.component-BYMcaRE5.mjs → ngx-t-forms-section-report.component-DhSaf85h.mjs} +2 -2
  86. package/fesm2022/{ngx-t-forms-section-report.component-BYMcaRE5.mjs.map → ngx-t-forms-section-report.component-DhSaf85h.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs → ngx-t-forms-select-input-element.component-D5HFzh35.mjs} +2 -2
  88. package/fesm2022/{ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map → ngx-t-forms-select-input-element.component-D5HFzh35.mjs.map} +1 -1
  89. package/fesm2022/ngx-t-forms-selection-options-editor.component-BhmmJOco.mjs +169 -0
  90. package/fesm2022/ngx-t-forms-selection-options-editor.component-BhmmJOco.mjs.map +1 -0
  91. package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs → ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs} +3 -3
  92. package/fesm2022/ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs.map +1 -0
  93. package/fesm2022/{ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs → ngx-t-forms-textarea-input-element.component-DWEADTsz.mjs} +2 -2
  94. package/fesm2022/{ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map → ngx-t-forms-textarea-input-element.component-DWEADTsz.mjs.map} +1 -1
  95. package/fesm2022/{ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs → ngx-t-forms-toggle-input-element.component-XZi6kPnL.mjs} +2 -2
  96. package/fesm2022/{ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map → ngx-t-forms-toggle-input-element.component-XZi6kPnL.mjs.map} +1 -1
  97. package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs +173 -0
  98. package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs.map +1 -0
  99. package/fesm2022/ngx-t-forms-validators-config.component-0_Y6bvtE.mjs +574 -0
  100. package/fesm2022/ngx-t-forms-validators-config.component-0_Y6bvtE.mjs.map +1 -0
  101. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs → ngx-t-forms-workflow-adjudication.component-Gkimmw-X.mjs} +3 -3
  102. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map → ngx-t-forms-workflow-adjudication.component-Gkimmw-X.mjs.map} +1 -1
  103. package/fesm2022/ngx-t-forms.mjs +1 -1
  104. package/package.json +2 -2
  105. package/styles/_editor-mixins.scss +117 -117
  106. package/styles/_signature-pad.scss +26 -26
  107. package/styles/_tokens.scss +148 -148
  108. package/types/ngx-t-forms.d.ts +110 -6
  109. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs +0 -261
  110. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map +0 -1
  111. package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs +0 -225
  112. package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map +0 -1
  113. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs +0 -1011
  114. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map +0 -1
  115. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs +0 -643
  116. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map +0 -1
  117. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs +0 -136
  118. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map +0 -1
  119. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map +0 -1
  120. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map +0 -1
  121. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs +0 -253
  122. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map +0 -1
  123. package/fesm2022/ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs +0 -261
  124. package/fesm2022/ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map +0 -1
  125. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs +0 -419
  126. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +0 -1
  127. package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs +0 -231
  128. package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map +0 -1
  129. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs +0 -156
  130. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map +0 -1
  131. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs +0 -333
  132. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map +0 -1
  133. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs +0 -373
  134. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map +0 -1
  135. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs +0 -543
  136. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map +0 -1
  137. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +0 -1259
  138. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +0 -1
  139. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +0 -1996
  140. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +0 -1
  141. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs +0 -581
  142. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +0 -1
  143. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs +0 -417
  144. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +0 -1
  145. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +0 -1
  146. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +0 -585
  147. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +0 -1
  148. package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs +0 -447
  149. package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map +0 -1
  150. package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs +0 -163
  151. package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map +0 -1
  152. package/fesm2022/ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs +0 -86
  153. package/fesm2022/ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map +0 -1
  154. package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs +0 -28
  155. package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map +0 -1
  156. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +0 -291
  157. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +0 -1
  158. package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs +0 -179
  159. package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map +0 -1
  160. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs +0 -936
  161. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +0 -1
  162. package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs +0 -816
  163. package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map +0 -1
  164. package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs +0 -329
  165. package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map +0 -1
  166. package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs +0 -360
  167. package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map +0 -1
  168. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs +0 -2
  169. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +0 -1
  170. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs +0 -2
  171. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +0 -1
  172. package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs +0 -128
  173. package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs.map +0 -1
  174. package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs +0 -512
  175. package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs.map +0 -1
  176. package/fesm2022/ngx-t-forms-input-editor.component-B6UKwV4i.mjs +0 -190
  177. package/fesm2022/ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map +0 -1
  178. package/fesm2022/ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map +0 -1
  179. package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs +0 -132
  180. package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map +0 -1
  181. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +0 -268
  182. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +0 -1
  183. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +0 -1
  184. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +0 -241
  185. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +0 -1
  186. package/fesm2022/ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs.map +0 -1
  187. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs.map +0 -1
  188. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +0 -180
  189. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +0 -1
  190. package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs +0 -114
  191. package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map +0 -1
  192. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs +0 -69
  193. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +0 -1
  194. package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs +0 -200
  195. package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs +0 -447
  197. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map +0 -1
  198. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs +0 -850
  199. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs +0 -107
  201. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs +0 -1665
  203. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map +0 -1
  204. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs +0 -905
  205. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map +0 -1
  206. package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +0 -1
  207. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs +0 -28237
  208. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +0 -1
  209. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs +0 -1024
  210. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +0 -1
  211. package/fesm2022/ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs +0 -203
  212. package/fesm2022/ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map +0 -1
  213. package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs +0 -234
  214. package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map +0 -1
  215. package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs +0 -1126
  216. package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map +0 -1
  217. package/fesm2022/ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs +0 -748
  218. package/fesm2022/ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map +0 -1
  219. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs +0 -639
  220. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +0 -1
  221. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +0 -1
  222. package/fesm2022/ngx-t-forms-required-inputs.component-BMmNxeE-.mjs +0 -272
  223. package/fesm2022/ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map +0 -1
  224. package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs +0 -451
  225. package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map +0 -1
  226. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs +0 -625
  227. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map +0 -1
  228. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs +0 -444
  229. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map +0 -1
  230. package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs +0 -38
  231. package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs.map +0 -1
  232. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +0 -72
  233. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +0 -1
  234. package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs +0 -248
  235. package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map +0 -1
  236. package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs +0 -408
  237. package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map +0 -1
  238. package/fesm2022/ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs +0 -169
  239. package/fesm2022/ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map +0 -1
  240. package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs +0 -275
  241. package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map +0 -1
  242. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +0 -366
  243. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +0 -1
  244. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +0 -1
  245. package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs +0 -233
  246. package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map +0 -1
  247. package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs +0 -305
  248. package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map +0 -1
  249. package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs +0 -1105
  250. package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map +0 -1
  251. package/fesm2022/ngx-t-forms-validators-config.component-CoGSFor3.mjs +0 -574
  252. package/fesm2022/ngx-t-forms-validators-config.component-CoGSFor3.mjs.map +0 -1
  253. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs +0 -2923
  254. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +0 -1
@@ -1,543 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, output, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import { NgControl } from '@angular/forms';
4
- import * as i5$1 from '@angular/material/autocomplete';
5
- import { MatAutocompleteModule } from '@angular/material/autocomplete';
6
- import * as i2 from '@angular/material/button';
7
- import { MatButtonModule } from '@angular/material/button';
8
- import * as i3$1 from '@angular/material/card';
9
- import { MatCardModule } from '@angular/material/card';
10
- import { MatFormFieldModule, MatFormFieldControl } from '@angular/material/form-field';
11
- import * as i3 from '@angular/material/icon';
12
- import { MatIconModule } from '@angular/material/icon';
13
- import { MatInputModule } from '@angular/material/input';
14
- import * as i6 from '@angular/material/list';
15
- import { MatListModule } from '@angular/material/list';
16
- import * as i5 from '@angular/material/tooltip';
17
- import { MatTooltipModule } from '@angular/material/tooltip';
18
- import * as i1 from '@angular/cdk/clipboard';
19
- import { ClipboardModule } from '@angular/cdk/clipboard';
20
- import { CdkDropList, CdkDrag } from '@angular/cdk/drag-drop';
21
- import { Subject } from 'rxjs';
22
- import { DocumentLitsLabelConfigInterfaceValueType, ReportTypes, InputDataTypes, InputTypes, InputPipeTypes, ElementTypes } from 'ngx-t-forms-types';
23
- import { MatChipListEditorComponent } from './ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs';
24
- import { MatSliderToggleEditorComponent } from './ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs';
25
- import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
26
- import * as i8 from '@angular/material/select';
27
-
28
- const _c0 = () => [];
29
- const _forTrack0 = ($index, $item) => $item.formControlName + "-" + $index;
30
- function DocumentListLabelConfigEditorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
31
- i0.ɵɵelement(0, "lib-empty-state", 2);
32
- } }
33
- function DocumentListLabelConfigEditorComponent_Conditional_2_For_1_Template(rf, ctx) { if (rf & 1) {
34
- const _r1 = i0.ɵɵgetCurrentView();
35
- i0.ɵɵelementStart(0, "mat-list-item", 5)(1, "mat-icon", 6);
36
- i0.ɵɵtext(2, "view_column");
37
- i0.ɵɵelementEnd();
38
- i0.ɵɵelementStart(3, "div", 7)(4, "span", 8);
39
- i0.ɵɵtext(5);
40
- i0.ɵɵelementEnd();
41
- i0.ɵɵelementStart(6, "span", 9)(7, "code");
42
- i0.ɵɵtext(8);
43
- i0.ɵɵelementEnd();
44
- i0.ɵɵtext(9);
45
- i0.ɵɵelementEnd()();
46
- i0.ɵɵelementStart(10, "button", 10);
47
- i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_2_For_1_Template_button_click_10_listener() { const label_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.removeLabel(label_r2)); });
48
- i0.ɵɵelementStart(11, "mat-icon");
49
- i0.ɵɵtext(12, "delete");
50
- i0.ɵɵelementEnd()()();
51
- } if (rf & 2) {
52
- const label_r2 = ctx.$implicit;
53
- const ctx_r2 = i0.ɵɵnextContext(2);
54
- i0.ɵɵproperty("matTooltip", "Click to copy " + label_r2.formControlName)("cdkCopyToClipboard", label_r2.formControlName);
55
- i0.ɵɵadvance(5);
56
- i0.ɵɵtextInterpolate(label_r2.label);
57
- i0.ɵɵadvance(3);
58
- i0.ɵɵtextInterpolate(label_r2.formControlName);
59
- i0.ɵɵadvance();
60
- i0.ɵɵtextInterpolate1(" \u00B7 ", label_r2.valueType, " ");
61
- i0.ɵɵadvance();
62
- i0.ɵɵproperty("disabled", ctx_r2.disabled);
63
- i0.ɵɵattribute("aria-label", "Remove " + label_r2.label);
64
- } }
65
- function DocumentListLabelConfigEditorComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
66
- i0.ɵɵrepeaterCreate(0, DocumentListLabelConfigEditorComponent_Conditional_2_For_1_Template, 13, 7, "mat-list-item", 5, _forTrack0);
67
- } if (rf & 2) {
68
- const ctx_r2 = i0.ɵɵnextContext();
69
- i0.ɵɵrepeater(ctx_r2.value);
70
- } }
71
- function DocumentListLabelConfigEditorComponent_Conditional_3_For_8_Template(rf, ctx) { if (rf & 1) {
72
- i0.ɵɵelementStart(0, "mat-option", 15);
73
- i0.ɵɵtext(1);
74
- i0.ɵɵelementEnd();
75
- } if (rf & 2) {
76
- const option_r5 = ctx.$implicit;
77
- i0.ɵɵproperty("value", option_r5);
78
- i0.ɵɵadvance();
79
- i0.ɵɵtextInterpolate(option_r5);
80
- } }
81
- function DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Conditional_0_Template(rf, ctx) { if (rf & 1) {
82
- const _r6 = i0.ɵɵgetCurrentView();
83
- i0.ɵɵelementStart(0, "label", 17);
84
- i0.ɵɵtext(1, " Report types ");
85
- i0.ɵɵelementEnd();
86
- i0.ɵɵelementStart(2, "lib-mat-chip-list-editor", 24);
87
- i0.ɵɵlistener("valueChange", function DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Conditional_0_Template_lib_mat_chip_list_editor_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.reportTypeChanged($event)); });
88
- i0.ɵɵelementEnd();
89
- } if (rf & 2) {
90
- const types_r7 = i0.ɵɵnextContext();
91
- const draft_r8 = i0.ɵɵnextContext();
92
- const ctx_r2 = i0.ɵɵnextContext();
93
- i0.ɵɵproperty("id", ctx_r2.id + "-rt-label");
94
- i0.ɵɵadvance(2);
95
- i0.ɵɵproperty("id", ctx_r2.id + "-rt")("errors", i0.ɵɵpureFunction0(6, _c0))("multiple", true)("value", draft_r8.reportType)("options", types_r7);
96
- } }
97
- function DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
98
- i0.ɵɵconditionalCreate(0, DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Conditional_0_Template, 3, 7);
99
- } if (rf & 2) {
100
- i0.ɵɵconditional(ctx.length > 0 ? 0 : -1);
101
- } }
102
- function DocumentListLabelConfigEditorComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
103
- const _r4 = i0.ɵɵgetCurrentView();
104
- i0.ɵɵelementStart(0, "mat-card", 3)(1, "mat-card-content", 11)(2, "label", 12);
105
- i0.ɵɵtext(3, " Form control name ");
106
- i0.ɵɵelementEnd();
107
- i0.ɵɵelementStart(4, "input", 13);
108
- i0.ɵɵlistener("input", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_input_input_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.formControlNameChange($event)); });
109
- i0.ɵɵelementEnd();
110
- i0.ɵɵelementStart(5, "mat-autocomplete", 14, 0);
111
- i0.ɵɵlistener("optionSelected", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_mat_autocomplete_optionSelected_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.formControlSelected($event)); });
112
- i0.ɵɵrepeaterCreate(7, DocumentListLabelConfigEditorComponent_Conditional_3_For_8_Template, 2, 2, "mat-option", 15, i0.ɵɵrepeaterTrackByIdentity);
113
- i0.ɵɵelementEnd();
114
- i0.ɵɵelementStart(9, "label", 12);
115
- i0.ɵɵtext(10, " Name ");
116
- i0.ɵɵelementEnd();
117
- i0.ɵɵelementStart(11, "input", 16);
118
- i0.ɵɵlistener("input", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_input_input_11_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.nameChange($event)); });
119
- i0.ɵɵelementEnd();
120
- i0.ɵɵelementStart(12, "label", 17);
121
- i0.ɵɵtext(13, " Value type ");
122
- i0.ɵɵelementEnd();
123
- i0.ɵɵelementStart(14, "lib-mat-chip-list-editor", 18);
124
- i0.ɵɵlistener("valueChange", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_lib_mat_chip_list_editor_valueChange_14_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.valueTypeChanged($event)); });
125
- i0.ɵɵelementEnd();
126
- i0.ɵɵconditionalCreate(15, DocumentListLabelConfigEditorComponent_Conditional_3_Conditional_15_Template, 1, 1);
127
- i0.ɵɵelementStart(16, "lib-mat-slider-toggle-editor", 19);
128
- i0.ɵɵlistener("valueChange", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_lib_mat_slider_toggle_editor_valueChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.isHiddenChanged(!!$event)); });
129
- i0.ɵɵelementEnd()();
130
- i0.ɵɵelementStart(17, "mat-card-actions", 20)(18, "button", 21);
131
- i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.saveHeader()); });
132
- i0.ɵɵtext(19, " Save header ");
133
- i0.ɵɵelementEnd();
134
- i0.ɵɵelement(20, "span", 22);
135
- i0.ɵɵelementStart(21, "button", 23);
136
- i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_3_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.cancelEdit()); });
137
- i0.ɵɵtext(22, "Cancel");
138
- i0.ɵɵelementEnd()()();
139
- } if (rf & 2) {
140
- let tmp_16_0;
141
- const draft_r8 = ctx;
142
- const auto_r9 = i0.ɵɵreference(6);
143
- const ctx_r2 = i0.ɵɵnextContext();
144
- i0.ɵɵadvance(2);
145
- i0.ɵɵattribute("for", ctx_r2.id + "-fcn");
146
- i0.ɵɵadvance(2);
147
- i0.ɵɵproperty("id", ctx_r2.id + "-fcn")("value", draft_r8.formControlName || "")("matAutocomplete", auto_r9);
148
- i0.ɵɵadvance(3);
149
- i0.ɵɵrepeater(ctx_r2.filteredControlNames());
150
- i0.ɵɵadvance(2);
151
- i0.ɵɵattribute("for", ctx_r2.id + "-name");
152
- i0.ɵɵadvance(2);
153
- i0.ɵɵproperty("id", ctx_r2.id + "-name")("value", draft_r8.label || "");
154
- i0.ɵɵadvance();
155
- i0.ɵɵproperty("id", ctx_r2.id + "-vt-label");
156
- i0.ɵɵadvance(2);
157
- i0.ɵɵproperty("id", ctx_r2.id + "-vt")("errors", i0.ɵɵpureFunction0(17, _c0))("value", draft_r8.valueType)("options", ctx_r2.valueTypes);
158
- i0.ɵɵadvance();
159
- i0.ɵɵconditional((tmp_16_0 = ctx_r2.reportTypes()) ? 15 : -1, tmp_16_0);
160
- i0.ɵɵadvance();
161
- i0.ɵɵproperty("id", ctx_r2.id + "-hidden")("value", draft_r8.isHidden || false)("errors", i0.ɵɵpureFunction0(18, _c0));
162
- i0.ɵɵadvance(2);
163
- i0.ɵɵproperty("disabled", ctx_r2.labelSaveDisabled());
164
- } }
165
- function DocumentListLabelConfigEditorComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
166
- const _r10 = i0.ɵɵgetCurrentView();
167
- i0.ɵɵelementStart(0, "button", 25);
168
- i0.ɵɵlistener("click", function DocumentListLabelConfigEditorComponent_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.startNewLabel()); });
169
- i0.ɵɵtext(1, " Add new column ");
170
- i0.ɵɵelementEnd();
171
- } if (rf & 2) {
172
- const ctx_r2 = i0.ɵɵnextContext();
173
- i0.ɵɵproperty("disabled", ctx_r2.disabled);
174
- } }
175
- /** Title-cases an enum key: `daysAgo` → `Days Ago`. */
176
- function humaniseKey(key) {
177
- return key
178
- .replace(/([A-Z])/g, ' $1')
179
- .trim()
180
- .toLowerCase()
181
- .replace(/^\w/, (c) => c.toUpperCase());
182
- }
183
- /** Derives a readable label from a camelCase control name: `taxRate` → `tax Rate`. */
184
- function controlNameToLabel(name) {
185
- return name
186
- .replace(/([a-z])([A-Z])/g, '$1 $2')
187
- .replace(/([A-Z])([A-Z][a-z])/g, '$1 $2');
188
- }
189
- /**
190
- * Document-list label-configuration editor: builds the ordered list of column
191
- * label definitions (`DocumentLitsLabelConfigInterface[]`) used to render a
192
- * document list. Columns can be added, edited inline, removed, and reordered by
193
- * drag-and-drop.
194
- *
195
- * Implements `MatFormFieldControl<DocumentLitsLabelConfigInterface[]>`, so it
196
- * renders inside the parent's `<mat-form-field>` — `t-dynamic-data-edit` owns
197
- * the field label, hint, and validation errors; this component owns only the
198
- * column list and the add/edit form.
199
- *
200
- * NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /
201
- * `required` / `placeholder` / `id` members, `@Input()` decorators, the
202
- * `focused` / `touched` / `stateChanges` members, and the `useExisting`
203
- * provider. These are framework wiring, not defects — the CLAUDE.md bans on
204
- * `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.
205
- * Genuinely-internal state (the in-edit draft, derived option lists) uses
206
- * `signal()` / `computed()`.
207
- */
208
- class DocumentListLabelConfigEditorComponent {
209
- constructor() {
210
- /** Emits whenever a piece of `MatFormFieldControl` state changes. */
211
- this.stateChanges = new Subject();
212
- this.controlType = 'lib-document-list-label-config-editor';
213
- this.id = `lib-document-list-label-config-editor-${DocumentListLabelConfigEditorComponent.nextId++}`;
214
- this.placeholder = '';
215
- this.focused = false;
216
- this.touched = false;
217
- this.describedBy = '';
218
- this.autofilled = false;
219
- this.userAriaDescribedBy = undefined;
220
- this.disableAutomaticLabeling = undefined;
221
- this.ngControl = inject(NgControl, { self: true, optional: true });
222
- /** Validation errors surfaced by the parent for error-state derivation. */
223
- this.errors = [];
224
- /** Available form inputs used to auto-derive a column's value type. */
225
- this.formInputs = [];
226
- /** Editor configuration supplied by the parent (placeholder/required/etc.). */
227
- this.editorConfig = undefined;
228
- /** Candidate control names offered in the form-control autocomplete. */
229
- this.mapToData = [];
230
- /** Emits the column list whenever it changes. */
231
- this.valueChange = output();
232
- this.#value = [];
233
- this.#disabled = false;
234
- this.#required = false;
235
- // ---- internal signal state ---------------------------------------------
236
- /** The label draft currently being added/edited (see {@link LabelDraft}). */
237
- this.labelInEdit = signal(null, ...(ngDevMode ? [{ debugName: "labelInEdit" }] : /* istanbul ignore next */ []));
238
- /** Value-type chip options (all enum members, humanised). */
239
- this.valueTypes = Object.keys(DocumentLitsLabelConfigInterfaceValueType).map((key) => ({ label: humaniseKey(key), value: key }));
240
- /**
241
- * Autocomplete options filtered by the draft's `formControlName`. Empty term
242
- * shows the full list; otherwise matches a substring or a word-prefix.
243
- */
244
- this.filteredControlNames = computed(() => {
245
- // 1. Create a Set from the data to automatically remove duplicates,
246
- // then spread it back into an array.
247
- const source = [...new Set(this.mapToData ?? [])];
248
- const term = (this.labelInEdit()?.formControlName ?? '').trim().toLowerCase();
249
- if (!term) {
250
- return source;
251
- }
252
- return source.filter((option) => {
253
- const text = option.toLowerCase();
254
- if (text.includes(term)) {
255
- return true;
256
- }
257
- return text.split(/\s+/).some((word) => word.startsWith(term));
258
- });
259
- }, ...(ngDevMode ? [{ debugName: "filteredControlNames" }] : /* istanbul ignore next */ []));
260
- /**
261
- * Report-type chip options derived from the draft's `valueType`. `undefined`
262
- * when no value type is chosen, which hides the report-types section.
263
- *
264
- * - currency / number → aggregation reports (avg, highest, lowest, sum)
265
- * - string → category report
266
- */
267
- this.reportTypes = computed(() => {
268
- const valueType = this.labelInEdit()?.valueType;
269
- if (!valueType) {
270
- return undefined;
271
- }
272
- return Object.values(ReportTypes)
273
- .filter((reportType) => {
274
- if (valueType === DocumentLitsLabelConfigInterfaceValueType.currency ||
275
- valueType === DocumentLitsLabelConfigInterfaceValueType.number) {
276
- return (reportType === ReportTypes.Avg ||
277
- reportType === ReportTypes.Highest ||
278
- reportType === ReportTypes.Lowest ||
279
- reportType === ReportTypes.Sum);
280
- }
281
- if (valueType === DocumentLitsLabelConfigInterfaceValueType.string) {
282
- return reportType === ReportTypes.Category;
283
- }
284
- return false;
285
- })
286
- .map((key) => ({ label: humaniseKey(key), value: key }));
287
- }, ...(ngDevMode ? [{ debugName: "reportTypes" }] : /* istanbul ignore next */ []));
288
- /** Whether the save action is blocked (draft missing required fields). */
289
- this.labelSaveDisabled = computed(() => {
290
- const draft = this.labelInEdit();
291
- return !draft || !draft.label || !draft.formControlName || !draft.valueType;
292
- }, ...(ngDevMode ? [{ debugName: "labelSaveDisabled" }] : /* istanbul ignore next */ []));
293
- this.onTouched = () => { };
294
- }
295
- static { this.nextId = 0; }
296
- #value;
297
- /** Current column configuration list. */
298
- get value() {
299
- return this.#value;
300
- }
301
- set value(value) {
302
- // Coerce to an array: the parent pipeline substitutes '' for an unset
303
- // deep-bound value, and a non-array here would break `.length`, the `@for`,
304
- // and the commit helpers. Mirrors `record-list-manager`'s value setter.
305
- this.#value = Array.isArray(value) ? value : [];
306
- this.stateChanges.next();
307
- }
308
- #disabled;
309
- /** Whether the editor is inert. */
310
- get disabled() {
311
- return this.#disabled;
312
- }
313
- set disabled(value) {
314
- this.#disabled = value;
315
- this.stateChanges.next();
316
- }
317
- #required;
318
- /** Whether at least one column is required. */
319
- get required() {
320
- return this.#required;
321
- }
322
- set required(value) {
323
- this.#required = value;
324
- this.stateChanges.next();
325
- }
326
- // ---- MatFormFieldControl getters (read by the framework) ----------------
327
- get empty() {
328
- return this.#value.length === 0;
329
- }
330
- get shouldLabelFloat() {
331
- return this.focused || !this.empty;
332
- }
333
- get errorState() {
334
- const requiredUnset = this.empty && this.#required;
335
- const ngControlError = this.ngControl?.errors != null;
336
- const externalError = (this.errors?.length ?? 0) > 0 && this.touched;
337
- return requiredUnset || ngControlError || externalError;
338
- }
339
- setDescribedByIds(ids) {
340
- this.describedBy = ids.join(' ');
341
- this.stateChanges.next();
342
- }
343
- onContainerClick() {
344
- this.markAsTouched();
345
- if (!this.focused) {
346
- this.focused = true;
347
- }
348
- this.stateChanges.next();
349
- }
350
- markAsTouched() {
351
- if (!this.touched) {
352
- this.touched = true;
353
- this.onTouched();
354
- this.stateChanges.next();
355
- }
356
- }
357
- // ---- editing ------------------------------------------------------------
358
- /** Begin a fresh column draft. */
359
- startNewLabel() {
360
- this.labelInEdit.set({});
361
- }
362
- /** Discard the current draft. */
363
- cancelEdit() {
364
- this.labelInEdit.set(null);
365
- }
366
- /** Update the draft's display label from the name input. */
367
- nameChange(event) {
368
- const label = event.target?.value ?? '';
369
- this.labelInEdit.update((draft) => ({ ...draft, label }));
370
- }
371
- /**
372
- * Update the draft's form control name (free-text typing). Re-derives the
373
- * value type from the matching form input, if any.
374
- */
375
- formControlNameChange(event) {
376
- const formControlName = event.target?.value ?? '';
377
- const input = this.formInputs.find((i) => i.formControlName === formControlName);
378
- this.labelInEdit.update((draft) => ({
379
- ...draft,
380
- formControlName,
381
- valueType: this.#valueTypeFromInput(input),
382
- }));
383
- }
384
- /** Apply an autocomplete selection, defaulting the label from the name. */
385
- formControlSelected(event) {
386
- const formControlName = String(event.option.value);
387
- this.labelInEdit.update((draft) => ({
388
- ...draft,
389
- formControlName,
390
- label: draft?.label || controlNameToLabel(formControlName),
391
- }));
392
- }
393
- /** Set the draft's value type from the chip selection. */
394
- valueTypeChanged(value) {
395
- this.labelInEdit.update((draft) => ({
396
- ...draft,
397
- valueType: value,
398
- }));
399
- }
400
- /**
401
- * Set the draft's report types. The chip editor is multi-select, so it emits
402
- * an array; a single value is normalised into one.
403
- */
404
- reportTypeChanged(value) {
405
- const reportType = Array.isArray(value)
406
- ? value
407
- : value == null
408
- ? []
409
- : [value];
410
- this.labelInEdit.update((draft) => ({ ...draft, reportType }));
411
- }
412
- /** Toggle the draft's hidden flag. */
413
- isHiddenChanged(isHidden) {
414
- this.labelInEdit.update((draft) => ({ ...draft, isHidden }));
415
- }
416
- /** Commit the draft into the list (replacing a matching column, or appending). */
417
- saveHeader() {
418
- const draft = this.labelInEdit();
419
- if (!draft) {
420
- return;
421
- }
422
- const next = [...this.#value];
423
- const index = next.findIndex((item) => item.formControlName === draft.formControlName);
424
- const column = draft;
425
- if (index !== -1) {
426
- next[index] = column;
427
- }
428
- else {
429
- next.push(column);
430
- }
431
- this.#commit(next);
432
- this.labelInEdit.set(null);
433
- }
434
- /** Remove a column by its form control name. */
435
- removeLabel(label) {
436
- this.#commit(this.#value.filter((item) => item.formControlName !== label.formControlName));
437
- }
438
- /** Reorder the list after a drag-and-drop. */
439
- drop(event) {
440
- const { previousIndex, currentIndex } = event;
441
- const moved = this.#value.at(previousIndex);
442
- if (moved === undefined || previousIndex === currentIndex) {
443
- return;
444
- }
445
- const next = [...this.#value];
446
- next.splice(previousIndex, 1);
447
- next.splice(currentIndex, 0, moved);
448
- this.#commit(next);
449
- }
450
- /** Write a new list value, emit the change, and mark the control touched. */
451
- #commit(next) {
452
- this.value = next;
453
- this.valueChange.emit(next);
454
- this.markAsTouched();
455
- }
456
- /** Derive the value type from a form input's data/element type and pipe. */
457
- #valueTypeFromInput(input) {
458
- if (!input) {
459
- return DocumentLitsLabelConfigInterfaceValueType.string;
460
- }
461
- if (input.dataType === InputDataTypes.Number ||
462
- input.type === InputTypes.Number ||
463
- input.pipe?.pipeType === InputPipeTypes.Number) {
464
- return DocumentLitsLabelConfigInterfaceValueType.number;
465
- }
466
- if (input.pipe?.pipeType === InputPipeTypes.Currency) {
467
- return DocumentLitsLabelConfigInterfaceValueType.currency;
468
- }
469
- if (input.dataType === InputDataTypes.Boolean || input.element === ElementTypes.Toggle) {
470
- return DocumentLitsLabelConfigInterfaceValueType.boolean;
471
- }
472
- return DocumentLitsLabelConfigInterfaceValueType.string;
473
- }
474
- static { this.ɵfac = function DocumentListLabelConfigEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DocumentListLabelConfigEditorComponent)(); }; }
475
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentListLabelConfigEditorComponent, selectors: [["lib-document-list-label-config-editor"]], hostAttrs: [1, "lib-document-list-label-config-editor"], hostVars: 2, hostBindings: function DocumentListLabelConfigEditorComponent_HostBindings(rf, ctx) { if (rf & 2) {
476
- i0.ɵɵdomProperty("id", ctx.id);
477
- i0.ɵɵattribute("aria-describedby", ctx.describedBy);
478
- } }, inputs: { errors: "errors", formInputs: "formInputs", editorConfig: "editorConfig", mapToData: "mapToData", value: "value", disabled: "disabled", required: "required" }, outputs: { valueChange: "valueChange" }, features: [i0.ɵɵProvidersFeature([
479
- { provide: MatFormFieldControl, useExisting: DocumentListLabelConfigEditorComponent },
480
- ])], decls: 5, vars: 3, consts: [["auto", "matAutocomplete"], ["cdkDropList", "", 1, "lib-document-list-label-config-editor__list", 3, "cdkDropListDropped", "cdkDropListData"], ["icon", "view_column", "message", "No columns configured. Add one below."], ["appearance", "outlined", 1, "lib-document-list-label-config-editor__form"], ["mat-stroked-button", "", "color", "primary", "type", "button", 1, "lib-document-list-label-config-editor__add", 3, "disabled"], ["cdkDrag", "", "matTooltipPosition", "before", 1, "lib-document-list-label-config-editor__item", 3, "matTooltip", "cdkCopyToClipboard"], ["matListItemIcon", ""], ["matListItemTitle", "", 1, "lib-document-list-label-config-editor__title"], [1, "lib-document-list-label-config-editor__label"], [1, "lib-document-list-label-config-editor__meta"], ["matListItemMeta", "", "mat-icon-button", "", "type", "button", 3, "click", "disabled"], [1, "lib-document-list-label-config-editor__fields"], [1, "lib-document-list-label-config-editor__field-label"], ["type", "text", "placeholder", "Pick one", "aria-label", "Form control name", 1, "lib-document-list-label-config-editor__input", 3, "input", "id", "value", "matAutocomplete"], ["autoActiveFirstOption", "", 3, "optionSelected"], [3, "value"], ["type", "text", "placeholder", "Enter label name", 1, "lib-document-list-label-config-editor__input", 3, "input", "id", "value"], [1, "lib-document-list-label-config-editor__field-label", 3, "id"], [3, "valueChange", "id", "errors", "value", "options"], ["label", "Is hidden", 3, "valueChange", "id", "value", "errors"], [1, "lib-document-list-label-config-editor__actions"], ["mat-flat-button", "", "color", "primary", "type", "button", 3, "click", "disabled"], [1, "lib-document-list-label-config-editor__spacer"], ["mat-button", "", "color", "warn", "type", "button", 3, "click"], [3, "valueChange", "id", "errors", "multiple", "value", "options"], ["mat-stroked-button", "", "color", "primary", "type", "button", 1, "lib-document-list-label-config-editor__add", 3, "click", "disabled"]], template: function DocumentListLabelConfigEditorComponent_Template(rf, ctx) { if (rf & 1) {
481
- i0.ɵɵelementStart(0, "mat-nav-list", 1);
482
- i0.ɵɵlistener("cdkDropListDropped", function DocumentListLabelConfigEditorComponent_Template_mat_nav_list_cdkDropListDropped_0_listener($event) { return ctx.drop($event); });
483
- i0.ɵɵconditionalCreate(1, DocumentListLabelConfigEditorComponent_Conditional_1_Template, 1, 0, "lib-empty-state", 2)(2, DocumentListLabelConfigEditorComponent_Conditional_2_Template, 2, 0);
484
- i0.ɵɵelementEnd();
485
- i0.ɵɵconditionalCreate(3, DocumentListLabelConfigEditorComponent_Conditional_3_Template, 23, 19, "mat-card", 3)(4, DocumentListLabelConfigEditorComponent_Conditional_4_Template, 2, 1, "button", 4);
486
- } if (rf & 2) {
487
- let tmp_2_0;
488
- i0.ɵɵproperty("cdkDropListData", ctx.value);
489
- i0.ɵɵadvance();
490
- i0.ɵɵconditional(ctx.value.length === 0 ? 1 : 2);
491
- i0.ɵɵadvance(2);
492
- i0.ɵɵconditional((tmp_2_0 = ctx.labelInEdit()) ? 3 : 4, tmp_2_0);
493
- } }, dependencies: [MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemIcon, i6.MatListItemTitle, i6.MatListItemMeta, MatTooltipModule, i5.MatTooltip, ClipboardModule, i1.CdkCopyToClipboard, MatSliderToggleEditorComponent,
494
- MatChipListEditorComponent,
495
- MatFormFieldModule,
496
- MatButtonModule, i2.MatButton, i2.MatIconButton, MatAutocompleteModule, i5$1.MatAutocomplete, i8.MatOption, i5$1.MatAutocompleteTrigger, MatInputModule,
497
- MatIconModule, i3.MatIcon, MatCardModule, i3$1.MatCard, i3$1.MatCardActions, i3$1.MatCardContent, CdkDropList,
498
- CdkDrag,
499
- EmptyStateComponent], styles: ["[_nghost-%COMP%]{display:block;color:var(--lib-forms-on-surface)}.lib-document-list-label-config-editor__list[_ngcontent-%COMP%]{display:block;max-height:25rem;overflow:auto;padding:0}.lib-document-list-label-config-editor__item[_ngcontent-%COMP%]{cursor:grab}.lib-document-list-label-config-editor__item[_ngcontent-%COMP%]:active{cursor:grabbing}.lib-document-list-label-config-editor__title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.lib-document-list-label-config-editor__label[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-document-list-label-config-editor__meta[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__meta[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:monospace}.lib-document-list-label-config-editor__form[_ngcontent-%COMP%]{margin-top:1.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);border-radius:var(--lib-forms-radius-lg, 12px);box-shadow:var(--lib-forms-shadow-resting)}.lib-document-list-label-config-editor__fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding-top:.5rem}.lib-document-list-label-config-editor__field-label[_ngcontent-%COMP%]{display:block;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]{min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);font-size:.875rem;color:var(--lib-forms-on-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]{width:100%}.lib-document-list-label-config-editor__input[_ngcontent-%COMP%]::placeholder{color:var(--lib-forms-on-surface-variant);opacity:.7}.lib-document-list-label-config-editor__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.lib-document-list-label-config-editor__spacer[_ngcontent-%COMP%]{flex:1 1 auto}.lib-document-list-label-config-editor__add[_ngcontent-%COMP%]{width:100%;margin-top:1.5rem}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:var(--lib-forms-radius-sm, 8px);box-shadow:var(--lib-forms-shadow-floating)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}.lib-document-list-label-config-editor__list.cdk-drop-list-dragging[_ngcontent-%COMP%] .lib-document-list-label-config-editor__item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}"], changeDetection: 0 }); }
500
- }
501
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentListLabelConfigEditorComponent, [{
502
- type: Component,
503
- args: [{ selector: 'lib-document-list-label-config-editor', imports: [
504
- MatListModule,
505
- MatTooltipModule,
506
- ClipboardModule,
507
- MatSliderToggleEditorComponent,
508
- MatChipListEditorComponent,
509
- MatFormFieldModule,
510
- MatButtonModule,
511
- MatAutocompleteModule,
512
- MatInputModule,
513
- MatIconModule,
514
- MatCardModule,
515
- CdkDropList,
516
- CdkDrag,
517
- EmptyStateComponent,
518
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
519
- 'class': 'lib-document-list-label-config-editor',
520
- '[id]': 'id',
521
- '[attr.aria-describedby]': 'describedBy',
522
- }, providers: [
523
- { provide: MatFormFieldControl, useExisting: DocumentListLabelConfigEditorComponent },
524
- ], template: "<mat-nav-list\n cdkDropList\n [cdkDropListData]=\"value\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"lib-document-list-label-config-editor__list\"\n>\n @if (value.length === 0) {\n <lib-empty-state\n icon=\"view_column\"\n message=\"No columns configured. Add one below.\"\n ></lib-empty-state>\n } @else {\n @for (label of value; track label.formControlName+'-'+$index) {\n <mat-list-item\n cdkDrag\n class=\"lib-document-list-label-config-editor__item\"\n [matTooltip]=\"'Click to copy ' + label.formControlName\"\n [cdkCopyToClipboard]=\"label.formControlName\"\n matTooltipPosition=\"before\"\n >\n <mat-icon matListItemIcon>view_column</mat-icon>\n\n <div matListItemTitle class=\"lib-document-list-label-config-editor__title\">\n <span class=\"lib-document-list-label-config-editor__label\">{{ label.label }}</span>\n <span class=\"lib-document-list-label-config-editor__meta\">\n <code>{{ label.formControlName }}</code> \u00B7 {{ label.valueType }}\n </span>\n </div>\n\n <button\n matListItemMeta\n mat-icon-button\n type=\"button\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"'Remove ' + label.label\"\n (click)=\"removeLabel(label)\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </mat-list-item>\n }\n }\n</mat-nav-list>\n\n@if (labelInEdit(); as draft) {\n <mat-card appearance=\"outlined\" class=\"lib-document-list-label-config-editor__form\">\n <mat-card-content class=\"lib-document-list-label-config-editor__fields\">\n <label class=\"lib-document-list-label-config-editor__field-label\" [attr.for]=\"id + '-fcn'\">\n Form control name\n </label>\n <input\n class=\"lib-document-list-label-config-editor__input\"\n type=\"text\"\n [id]=\"id + '-fcn'\"\n placeholder=\"Pick one\"\n aria-label=\"Form control name\"\n [value]=\"draft.formControlName || ''\"\n (input)=\"formControlNameChange($event)\"\n [matAutocomplete]=\"auto\"\n />\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n autoActiveFirstOption\n (optionSelected)=\"formControlSelected($event)\"\n >\n @for (option of filteredControlNames(); track option) {\n <mat-option [value]=\"option\">{{ option }}</mat-option>\n }\n </mat-autocomplete>\n\n <label class=\"lib-document-list-label-config-editor__field-label\" [attr.for]=\"id + '-name'\">\n Name\n </label>\n <input\n class=\"lib-document-list-label-config-editor__input\"\n type=\"text\"\n [id]=\"id + '-name'\"\n placeholder=\"Enter label name\"\n [value]=\"draft.label || ''\"\n (input)=\"nameChange($event)\"\n />\n\n <label class=\"lib-document-list-label-config-editor__field-label\" [id]=\"id + '-vt-label'\">\n Value type\n </label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-vt'\"\n [errors]=\"[]\"\n [value]=\"draft.valueType\"\n [options]=\"valueTypes\"\n (valueChange)=\"valueTypeChanged($event)\"\n ></lib-mat-chip-list-editor>\n\n @if (reportTypes(); as types) {\n @if (types.length > 0) {\n <label class=\"lib-document-list-label-config-editor__field-label\" [id]=\"id + '-rt-label'\">\n Report types\n </label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-rt'\"\n [errors]=\"[]\"\n [multiple]=\"true\"\n [value]=\"draft.reportType\"\n [options]=\"types\"\n (valueChange)=\"reportTypeChanged($event)\"\n ></lib-mat-chip-list-editor>\n }\n }\n\n <lib-mat-slider-toggle-editor\n [id]=\"id + '-hidden'\"\n label=\"Is hidden\"\n [value]=\"draft.isHidden || false\"\n [errors]=\"[]\"\n (valueChange)=\"isHiddenChanged(!!$event)\"\n ></lib-mat-slider-toggle-editor>\n </mat-card-content>\n\n <mat-card-actions class=\"lib-document-list-label-config-editor__actions\">\n <button\n mat-flat-button\n color=\"primary\"\n type=\"button\"\n [disabled]=\"labelSaveDisabled()\"\n (click)=\"saveHeader()\"\n >\n Save header\n </button>\n <span class=\"lib-document-list-label-config-editor__spacer\"></span>\n <button mat-button color=\"warn\" type=\"button\" (click)=\"cancelEdit()\">Cancel</button>\n </mat-card-actions>\n </mat-card>\n} @else {\n <button\n mat-stroked-button\n color=\"primary\"\n type=\"button\"\n class=\"lib-document-list-label-config-editor__add\"\n [disabled]=\"disabled\"\n (click)=\"startNewLabel()\"\n >\n Add new column\n </button>\n}\n", styles: [":host{display:block;color:var(--lib-forms-on-surface)}.lib-document-list-label-config-editor__list{display:block;max-height:25rem;overflow:auto;padding:0}.lib-document-list-label-config-editor__item{cursor:grab}.lib-document-list-label-config-editor__item:active{cursor:grabbing}.lib-document-list-label-config-editor__title{display:flex;flex-direction:column;gap:.25rem;min-width:0}.lib-document-list-label-config-editor__label{font-size:.9375rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-document-list-label-config-editor__meta{font-size:.8125rem;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__meta code{font-family:monospace}.lib-document-list-label-config-editor__form{margin-top:1.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 15%,transparent);border-radius:var(--lib-forms-radius-lg, 12px);box-shadow:var(--lib-forms-shadow-resting)}.lib-document-list-label-config-editor__fields{display:flex;flex-direction:column;gap:.75rem;padding-top:.5rem}.lib-document-list-label-config-editor__field-label{display:block;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-document-list-label-config-editor__input{min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);font-size:.875rem;color:var(--lib-forms-on-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-document-list-label-config-editor__input:focus{outline:none;border-color:var(--lib-forms-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--lib-forms-primary) 25%,transparent)}.lib-document-list-label-config-editor__input{width:100%}.lib-document-list-label-config-editor__input::placeholder{color:var(--lib-forms-on-surface-variant);opacity:.7}.lib-document-list-label-config-editor__actions{display:flex;align-items:center;gap:.5rem}.lib-document-list-label-config-editor__spacer{flex:1 1 auto}.lib-document-list-label-config-editor__add{width:100%;margin-top:1.5rem}.cdk-drag-preview{box-sizing:border-box;border-radius:var(--lib-forms-radius-sm, 8px);box-shadow:var(--lib-forms-shadow-floating)}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}.lib-document-list-label-config-editor__list.cdk-drop-list-dragging .lib-document-list-label-config-editor__item:not(.cdk-drag-placeholder){transition:transform var(--lib-forms-duration) var(--lib-forms-easing)}\n"] }]
525
- }], null, { errors: [{
526
- type: Input
527
- }], formInputs: [{
528
- type: Input
529
- }], editorConfig: [{
530
- type: Input
531
- }], mapToData: [{
532
- type: Input
533
- }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], value: [{
534
- type: Input
535
- }], disabled: [{
536
- type: Input
537
- }], required: [{
538
- type: Input
539
- }] }); })();
540
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DocumentListLabelConfigEditorComponent, { className: "DocumentListLabelConfigEditorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/document-list-label-config-editor/document-list-label-config-editor.component.ts", lineNumber: 124 }); })();
541
-
542
- export { DocumentListLabelConfigEditorComponent };
543
- //# sourceMappingURL=ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map