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
@@ -0,0 +1,272 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, linkedSignal, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import * as i2 from '@angular/material/button';
4
+ import { MatButtonModule } from '@angular/material/button';
5
+ import * as i2$1 from '@angular/material/form-field';
6
+ import { MatFormFieldModule } from '@angular/material/form-field';
7
+ import * as i3 from '@angular/material/icon';
8
+ import { MatIconModule } from '@angular/material/icon';
9
+ import * as i2$2 from '@angular/material/input';
10
+ import { MatInputModule } from '@angular/material/input';
11
+ import * as i6 from '@angular/material/list';
12
+ import { MatListModule } from '@angular/material/list';
13
+ import * as i7 from '@angular/material/core';
14
+ import { MatRippleModule } from '@angular/material/core';
15
+ import * as i8 from '@angular/material/select';
16
+ import { MatSelectModule } from '@angular/material/select';
17
+ import * as i1 from '@angular/forms';
18
+ import { FormsModule } from '@angular/forms';
19
+ import { MinInputTypes, ElementTypes, InputDataTypes } from 'ngx-t-forms-types';
20
+ import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
21
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs';
22
+
23
+ /**
24
+ * Internal editor element for configuring a form's required (minimum) inputs.
25
+ * Child of `t-dynamic-data-edit`, which supplies the field label, hint, and
26
+ * validation errors — so this component owns only the chip row + edit content.
27
+ *
28
+ * Each required input can be handled three ways: a literal default value, a
29
+ * single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).
30
+ * Re-selecting the active handling method, chip, or a mapped input toggles it
31
+ * off again.
32
+ */
33
+ class RequiredInputsComponent {
34
+ constructor() {
35
+ /** Handling-method enum, exposed to the template. */
36
+ this.minInputTypes = MinInputTypes;
37
+ /**
38
+ * Required-input descriptors to render. Heterogeneous wrapper binding — the
39
+ * parent feeds whatever the editor config holds; narrowing here would force
40
+ * wrapper changes.
41
+ */
42
+ this.value = input([], ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
43
+ /** All available form inputs the user can map a required input to. */
44
+ this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
45
+ /** Disable user interaction. */
46
+ this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
47
+ /**
48
+ * Validation errors passed down by the parent editor. Retained on the contract
49
+ * but not rendered here — `t-dynamic-data-edit` owns error display.
50
+ */
51
+ this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
52
+ /** Optional id attribute supplied by the parent editor (used to disambiguate). */
53
+ this.id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
54
+ /** Emits the mutated required-input list whenever the user changes a mapping. */
55
+ this.valueChanged = output();
56
+ /**
57
+ * Local, immutable working copy of `value`. Tracks the bound value (the parent
58
+ * re-feeds it after each emit) but stays locally overridable; mutations always
59
+ * produce a new array, and entries are cloned so the parent's array is never
60
+ * mutated in place.
61
+ */
62
+ this.#workingValue = linkedSignal(() => this.value().map((item) => ({ ...item })), ...(ngDevMode ? [{ debugName: "#workingValue" }] : /* istanbul ignore next */ []));
63
+ /** Name of the required input currently open in the edit panel; `''` when none. */
64
+ this.activeInput = signal('', ...(ngDevMode ? [{ debugName: "activeInput" }] : /* istanbul ignore next */ []));
65
+ /** The chip row: one entry per required input, with derived link/active state. */
66
+ this.chips = computed(() => {
67
+ const active = this.activeInput();
68
+ return this.#workingValue().map((item) => ({
69
+ name: item.name,
70
+ linked: this.#isLinked(item),
71
+ active: item.name === active,
72
+ }));
73
+ }, ...(ngDevMode ? [{ debugName: "chips" }] : /* istanbul ignore next */ []));
74
+ /** The required input currently being edited, or `undefined` when none is active. */
75
+ this.inEdit = computed(() => {
76
+ const active = this.activeInput();
77
+ if (!active) {
78
+ return undefined;
79
+ }
80
+ return this.#workingValue().find((item) => item.name === active);
81
+ }, ...(ngDevMode ? [{ debugName: "inEdit" }] : /* istanbul ignore next */ []));
82
+ /** Handling method of the input in edit; `null` keeps the `mat-select` empty. */
83
+ this.activeType = computed(() => {
84
+ const type = this.inEdit()?.type;
85
+ return type === MinInputTypes.Default ||
86
+ type === MinInputTypes.MapTo ||
87
+ type === MinInputTypes.MapDocFilter
88
+ ? type
89
+ : null;
90
+ }, ...(ngDevMode ? [{ debugName: "activeType" }] : /* istanbul ignore next */ []));
91
+ /** Whether the edit panel should show the mappable-input list. */
92
+ this.showMapList = computed(() => {
93
+ const type = this.activeType();
94
+ return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;
95
+ }, ...(ngDevMode ? [{ debugName: "showMapList" }] : /* istanbul ignore next */ []));
96
+ /**
97
+ * The list of mappable form inputs for the input in edit. Single-select
98
+ * (`MapTo`) collapses to the chosen input once one is picked; multi-select
99
+ * (`MapDocFilter`) always shows the full list with each chosen input flagged.
100
+ */
101
+ this.mapTargets = computed(() => {
102
+ const edit = this.inEdit();
103
+ if (!edit) {
104
+ return [];
105
+ }
106
+ const all = this.formInputs().map((item) => this.#toTarget(item, edit));
107
+ if (edit.type === MinInputTypes.MapTo) {
108
+ const selected = all.find((target) => target.selected);
109
+ return selected ? [selected] : all;
110
+ }
111
+ return all;
112
+ }, ...(ngDevMode ? [{ debugName: "mapTargets" }] : /* istanbul ignore next */ []));
113
+ }
114
+ /**
115
+ * Local, immutable working copy of `value`. Tracks the bound value (the parent
116
+ * re-feeds it after each emit) but stays locally overridable; mutations always
117
+ * produce a new array, and entries are cloned so the parent's array is never
118
+ * mutated in place.
119
+ */
120
+ #workingValue;
121
+ /** Toggle the edit panel for a required input. Re-selecting the active one closes it. */
122
+ toggleActive(name) {
123
+ if (this.disabled()) {
124
+ return;
125
+ }
126
+ this.activeInput.update((current) => (current === name ? '' : name));
127
+ }
128
+ /** Close the edit panel without changing anything. */
129
+ close() {
130
+ this.activeInput.set('');
131
+ }
132
+ /** Choose (or, when re-selected, clear) the handling method for the input in edit. */
133
+ selectType(type) {
134
+ this.#patchActive((current) => {
135
+ if (current.type === type) {
136
+ return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };
137
+ }
138
+ return {
139
+ ...current,
140
+ type,
141
+ mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,
142
+ defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,
143
+ };
144
+ });
145
+ }
146
+ /** Update the literal default value of the input in edit. */
147
+ setDefaultValue(value) {
148
+ this.#patchActive((current) => ({ ...current, defaultValue: value }));
149
+ }
150
+ /**
151
+ * Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`
152
+ * holds a single mapping; `MapDocFilter` accumulates a list.
153
+ */
154
+ toggleMap(target) {
155
+ if (this.disabled() || !target.mappable) {
156
+ return;
157
+ }
158
+ const mapping = this.#toMapping(target);
159
+ this.#patchActive((current) => {
160
+ if (current.type === MinInputTypes.MapTo) {
161
+ const existing = this.#asSingle(current.mapTo);
162
+ const sameSelected = existing?.formControlName === mapping.formControlName;
163
+ return { ...current, mapTo: sameSelected ? undefined : mapping };
164
+ }
165
+ if (current.type === MinInputTypes.MapDocFilter) {
166
+ const list = this.#asList(current.mapTo);
167
+ const has = list.some((m) => m.formControlName === mapping.formControlName);
168
+ return {
169
+ ...current,
170
+ mapTo: has
171
+ ? list.filter((m) => m.formControlName !== mapping.formControlName)
172
+ : [...list, mapping],
173
+ };
174
+ }
175
+ return current;
176
+ });
177
+ }
178
+ /** Replace the active entry via `patch` and emit the new list. */
179
+ #patchActive(patch) {
180
+ const active = this.activeInput();
181
+ let changed = false;
182
+ const next = this.#workingValue().map((item) => {
183
+ if (item.name !== active) {
184
+ return item;
185
+ }
186
+ changed = true;
187
+ return patch(item);
188
+ });
189
+ if (!changed) {
190
+ return;
191
+ }
192
+ this.#workingValue.set(next);
193
+ this.valueChanged.emit([...next]);
194
+ }
195
+ #isLinked(item) {
196
+ if (item.type === MinInputTypes.Default) {
197
+ return !!item.defaultValue;
198
+ }
199
+ if (item.type === MinInputTypes.MapTo) {
200
+ return !!this.#asSingle(item.mapTo);
201
+ }
202
+ if (item.type === MinInputTypes.MapDocFilter) {
203
+ return this.#asList(item.mapTo).length > 0;
204
+ }
205
+ return false;
206
+ }
207
+ #toTarget(item, edit) {
208
+ const mappable = item.element !== ElementTypes.SectionTitle;
209
+ const selected = this.#isMapped(edit, item.formControlName);
210
+ return {
211
+ id: item.id,
212
+ label: item.label,
213
+ icon: getInputIcon(item.element),
214
+ formControlName: item.formControlName,
215
+ dataType: item.dataType ?? '',
216
+ selected,
217
+ mappable,
218
+ ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,
219
+ };
220
+ }
221
+ #isMapped(edit, formControlName) {
222
+ if (edit.type === MinInputTypes.MapTo) {
223
+ return this.#asSingle(edit.mapTo)?.formControlName === formControlName;
224
+ }
225
+ if (edit.type === MinInputTypes.MapDocFilter) {
226
+ return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);
227
+ }
228
+ return false;
229
+ }
230
+ #toMapping(target) {
231
+ const source = this.formInputs().find((item) => item.id === target.id);
232
+ return {
233
+ formControlName: target.formControlName,
234
+ dataType: source?.dataType ?? InputDataTypes.String,
235
+ element: source?.element ?? ElementTypes.Input,
236
+ inputId: target.id,
237
+ };
238
+ }
239
+ #asSingle(mapTo) {
240
+ if (!mapTo || Array.isArray(mapTo)) {
241
+ return undefined;
242
+ }
243
+ // `Array.isArray` does not narrow a `readonly[]` out of the union, so assert
244
+ // the remaining single-mapping shape after the guard.
245
+ return mapTo;
246
+ }
247
+ #asList(mapTo) {
248
+ return Array.isArray(mapTo) ? mapTo : [];
249
+ }
250
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: RequiredInputsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
251
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: RequiredInputsComponent, isStandalone: true, selector: "lib-required-inputs", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, formInputs: { classPropertyName: "formInputs", publicName: "formInputs", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged" }, host: { properties: { "attr.id": "id()" }, classAttribute: "lib-required-inputs" }, ngImport: i0, template: "@if (chips().length) {\r\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\r\n @for (chip of chips(); track chip.name) {\r\n <button\r\n type=\"button\"\r\n role=\"listitem\"\r\n class=\"lib-required-inputs__chip\"\r\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\r\n [class.lib-required-inputs__chip--active]=\"chip.active\"\r\n [disabled]=\"disabled()\"\r\n [attr.aria-pressed]=\"chip.active\"\r\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\r\n (click)=\"toggleActive(chip.name)\">\r\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\r\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\r\n {{ chip.linked ? 'link' : 'link_off' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n</div>\r\n} @else {\r\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\r\n}\r\n\r\n@if (inEdit(); as edit) {\r\n<div class=\"lib-required-inputs__panel\">\r\n <mat-form-field\r\n class=\"lib-required-inputs__field\"\r\n appearance=\"outline\"\r\n subscriptSizing=\"dynamic\">\r\n <mat-label>Input handling method</mat-label>\r\n <mat-select\r\n [value]=\"activeType()\"\r\n [disabled]=\"disabled()\"\r\n (selectionChange)=\"selectType($event.value)\">\r\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\r\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\r\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\r\n </mat-select>\r\n <mat-hint>Choose how this required input is resolved</mat-hint>\r\n </mat-form-field>\r\n\r\n @if (activeType() === minInputTypes.Default) {\r\n <mat-form-field\r\n class=\"lib-required-inputs__field\"\r\n appearance=\"outline\"\r\n subscriptSizing=\"dynamic\">\r\n <mat-label>Default value</mat-label>\r\n <input\r\n matInput\r\n [ngModel]=\"edit.defaultValue\"\r\n [disabled]=\"disabled()\"\r\n (ngModelChange)=\"setDefaultValue($event)\"\r\n placeholder=\"Enter a default value\" />\r\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\r\n </mat-form-field>\r\n }\r\n\r\n @if (showMapList()) {\r\n <p class=\"lib-required-inputs__list-label\">\r\n Link <strong>{{ activeInput() }}</strong> to a form input\r\n </p>\r\n\r\n @if (mapTargets().length) {\r\n <mat-nav-list class=\"lib-required-inputs__list\">\r\n {{mapTargets().length}}\r\n @for (target of mapTargets(); track target.id) {\r\n <mat-list-item\r\n class=\"lib-required-inputs__item\"\r\n matRipple\r\n role=\"button\"\r\n [disabled]=\"disabled() || !target.mappable\"\r\n [activated]=\"target.selected\"\r\n [attr.aria-pressed]=\"target.selected\"\r\n [attr.aria-label]=\"target.ariaLabel\"\r\n (click)=\"toggleMap(target); $event.stopPropagation()\">\r\n <mat-icon\r\n matListItemAvatar\r\n class=\"lib-required-inputs__avatar\"\r\n aria-hidden=\"true\">\r\n {{ target.icon }}\r\n </mat-icon>\r\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\r\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\r\n <span>{{ target.formControlName }}</span>\r\n @if (target.dataType) {\r\n <span>{{ target.dataType }}</span>\r\n }\r\n </span>\r\n <mat-icon\r\n matListItemMeta\r\n class=\"lib-required-inputs__indicator\"\r\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\r\n aria-hidden=\"true\">\r\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\r\n </mat-icon>\r\n </mat-list-item>\r\n }\r\n </mat-nav-list>\r\n } @else {\r\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\r\n }\r\n }\r\n\r\n <div class=\"lib-required-inputs__actions\">\r\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\r\n </div>\r\n</div>\r\n}\r\n", styles: ["@charset \"UTF-8\";:host{display:flex;flex-direction:column;gap:1.5rem;color:var(--lib-forms-on-surface)}.lib-required-inputs__chips{display:flex;flex-wrap:wrap;gap:.5rem}.lib-required-inputs__chip{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem .5rem .25rem .625rem;background:color-mix(in srgb,var(--lib-forms-primary) 10%,transparent);border-radius:var(--lib-forms-radius-pill, 6px);font-size:.8125rem;color:var(--lib-forms-on-surface);cursor:pointer;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);background:var(--lib-forms-surface);transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),border-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__chip:hover:not(:disabled){border-color:var(--lib-forms-primary)}.lib-required-inputs__chip:focus-visible{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-required-inputs__chip:disabled{opacity:.55;pointer-events:none}.lib-required-inputs__chip--linked{background:color-mix(in srgb,var(--lib-forms-primary) 14%,transparent);border-color:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.lib-required-inputs__chip--active{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 22%,transparent)}.lib-required-inputs__chip-icon{width:1rem;height:1rem;font-size:1rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__chip--linked .lib-required-inputs__chip-icon,.lib-required-inputs__chip--active .lib-required-inputs__chip-icon{color:var(--lib-forms-primary)}.lib-required-inputs__panel{display:flex;flex-direction:column;gap:1.5rem}.lib-required-inputs__field{width:100%}.lib-required-inputs__list-label{margin:0;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__list-label strong{color:var(--lib-forms-primary)}.lib-required-inputs__list{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-required-inputs__item{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__item:last-child{margin-bottom:0}.lib-required-inputs__item:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-required-inputs__item:focus-visible{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-required-inputs__item.mdc-list-item--activated{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-required-inputs__avatar{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__item-title{font-size:.9375rem;font-weight:600}.lib-required-inputs__item-meta{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator{color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator--on{color:var(--lib-forms-primary)}.lib-required-inputs__actions{display:flex;justify-content:flex-end;gap:.75rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i6.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i6.MatListItemAvatar, selector: "[matListItemAvatar]" }, { kind: "directive", type: i6.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i6.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i6.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i7.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: EmptyStateComponent, selector: "lib-empty-state", inputs: ["icon", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
252
+ }
253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: RequiredInputsComponent, decorators: [{
254
+ type: Component,
255
+ args: [{ selector: 'lib-required-inputs', imports: [
256
+ FormsModule,
257
+ MatButtonModule,
258
+ MatFormFieldModule,
259
+ MatIconModule,
260
+ MatInputModule,
261
+ MatListModule,
262
+ MatRippleModule,
263
+ MatSelectModule,
264
+ EmptyStateComponent,
265
+ ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
266
+ 'class': 'lib-required-inputs',
267
+ '[attr.id]': 'id()',
268
+ }, template: "@if (chips().length) {\r\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\r\n @for (chip of chips(); track chip.name) {\r\n <button\r\n type=\"button\"\r\n role=\"listitem\"\r\n class=\"lib-required-inputs__chip\"\r\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\r\n [class.lib-required-inputs__chip--active]=\"chip.active\"\r\n [disabled]=\"disabled()\"\r\n [attr.aria-pressed]=\"chip.active\"\r\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\r\n (click)=\"toggleActive(chip.name)\">\r\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\r\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\r\n {{ chip.linked ? 'link' : 'link_off' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n</div>\r\n} @else {\r\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\r\n}\r\n\r\n@if (inEdit(); as edit) {\r\n<div class=\"lib-required-inputs__panel\">\r\n <mat-form-field\r\n class=\"lib-required-inputs__field\"\r\n appearance=\"outline\"\r\n subscriptSizing=\"dynamic\">\r\n <mat-label>Input handling method</mat-label>\r\n <mat-select\r\n [value]=\"activeType()\"\r\n [disabled]=\"disabled()\"\r\n (selectionChange)=\"selectType($event.value)\">\r\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\r\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\r\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\r\n </mat-select>\r\n <mat-hint>Choose how this required input is resolved</mat-hint>\r\n </mat-form-field>\r\n\r\n @if (activeType() === minInputTypes.Default) {\r\n <mat-form-field\r\n class=\"lib-required-inputs__field\"\r\n appearance=\"outline\"\r\n subscriptSizing=\"dynamic\">\r\n <mat-label>Default value</mat-label>\r\n <input\r\n matInput\r\n [ngModel]=\"edit.defaultValue\"\r\n [disabled]=\"disabled()\"\r\n (ngModelChange)=\"setDefaultValue($event)\"\r\n placeholder=\"Enter a default value\" />\r\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\r\n </mat-form-field>\r\n }\r\n\r\n @if (showMapList()) {\r\n <p class=\"lib-required-inputs__list-label\">\r\n Link <strong>{{ activeInput() }}</strong> to a form input\r\n </p>\r\n\r\n @if (mapTargets().length) {\r\n <mat-nav-list class=\"lib-required-inputs__list\">\r\n {{mapTargets().length}}\r\n @for (target of mapTargets(); track target.id) {\r\n <mat-list-item\r\n class=\"lib-required-inputs__item\"\r\n matRipple\r\n role=\"button\"\r\n [disabled]=\"disabled() || !target.mappable\"\r\n [activated]=\"target.selected\"\r\n [attr.aria-pressed]=\"target.selected\"\r\n [attr.aria-label]=\"target.ariaLabel\"\r\n (click)=\"toggleMap(target); $event.stopPropagation()\">\r\n <mat-icon\r\n matListItemAvatar\r\n class=\"lib-required-inputs__avatar\"\r\n aria-hidden=\"true\">\r\n {{ target.icon }}\r\n </mat-icon>\r\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\r\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\r\n <span>{{ target.formControlName }}</span>\r\n @if (target.dataType) {\r\n <span>{{ target.dataType }}</span>\r\n }\r\n </span>\r\n <mat-icon\r\n matListItemMeta\r\n class=\"lib-required-inputs__indicator\"\r\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\r\n aria-hidden=\"true\">\r\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\r\n </mat-icon>\r\n </mat-list-item>\r\n }\r\n </mat-nav-list>\r\n } @else {\r\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\r\n }\r\n }\r\n\r\n <div class=\"lib-required-inputs__actions\">\r\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\r\n </div>\r\n</div>\r\n}\r\n", styles: ["@charset \"UTF-8\";:host{display:flex;flex-direction:column;gap:1.5rem;color:var(--lib-forms-on-surface)}.lib-required-inputs__chips{display:flex;flex-wrap:wrap;gap:.5rem}.lib-required-inputs__chip{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem .5rem .25rem .625rem;background:color-mix(in srgb,var(--lib-forms-primary) 10%,transparent);border-radius:var(--lib-forms-radius-pill, 6px);font-size:.8125rem;color:var(--lib-forms-on-surface);cursor:pointer;border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);background:var(--lib-forms-surface);transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing),border-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__chip:hover:not(:disabled){border-color:var(--lib-forms-primary)}.lib-required-inputs__chip:focus-visible{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-required-inputs__chip:disabled{opacity:.55;pointer-events:none}.lib-required-inputs__chip--linked{background:color-mix(in srgb,var(--lib-forms-primary) 14%,transparent);border-color:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.lib-required-inputs__chip--active{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 22%,transparent)}.lib-required-inputs__chip-icon{width:1rem;height:1rem;font-size:1rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__chip--linked .lib-required-inputs__chip-icon,.lib-required-inputs__chip--active .lib-required-inputs__chip-icon{color:var(--lib-forms-primary)}.lib-required-inputs__panel{display:flex;flex-direction:column;gap:1.5rem}.lib-required-inputs__field{width:100%}.lib-required-inputs__list-label{margin:0;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__list-label strong{color:var(--lib-forms-primary)}.lib-required-inputs__list{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-required-inputs__item{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__item:last-child{margin-bottom:0}.lib-required-inputs__item:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-required-inputs__item:focus-visible{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-required-inputs__item.mdc-list-item--activated{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-required-inputs__avatar{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__item-title{font-size:.9375rem;font-weight:600}.lib-required-inputs__item-meta{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator{color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator--on{color:var(--lib-forms-primary)}.lib-required-inputs__actions{display:flex;justify-content:flex-end;gap:.75rem}\n"] }]
269
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
270
+
271
+ export { RequiredInputsComponent };
272
+ //# sourceMappingURL=ngx-t-forms-required-inputs.component-CK7NIhbq.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-required-inputs.component-CK7NIhbq.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ViewEncapsulation,\r\n computed,\r\n input,\r\n linkedSignal,\r\n output,\r\n signal,\r\n} from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatRippleModule } from '@angular/material/core';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { FormsModule } from '@angular/forms';\r\nimport {\r\n ElementTypes,\r\n FormColumnInputs,\r\n InputDataTypes,\r\n MinInputMapInput,\r\n MinInputTypes,\r\n MinimumInputRequiredInterface,\r\n} from 'ngx-t-forms-types';\r\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\r\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\r\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\r\n\r\n/** A required input decorated with the derived view-model fields the chip row renders. */\r\ninterface RequiredInputChip {\r\n readonly name: string;\r\n readonly linked: boolean;\r\n readonly active: boolean;\r\n}\r\n\r\n/** A mappable form input decorated with the derived view-model fields the list renders. */\r\ninterface MapTarget {\r\n readonly id: string;\r\n readonly label: string;\r\n readonly icon: string;\r\n readonly formControlName: string;\r\n readonly dataType: string;\r\n readonly selected: boolean;\r\n readonly mappable: boolean;\r\n readonly ariaLabel: string;\r\n}\r\n\r\n/**\r\n * Internal editor element for configuring a form's required (minimum) inputs.\r\n * Child of `t-dynamic-data-edit`, which supplies the field label, hint, and\r\n * validation errors — so this component owns only the chip row + edit content.\r\n *\r\n * Each required input can be handled three ways: a literal default value, a\r\n * single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).\r\n * Re-selecting the active handling method, chip, or a mapped input toggles it\r\n * off again.\r\n */\r\n@Component({\r\n selector: 'lib-required-inputs',\r\n imports: [\r\n FormsModule,\r\n MatButtonModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n EmptyStateComponent,\r\n ],\r\n templateUrl: './required-inputs.component.html',\r\n styleUrl: './required-inputs.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n host: {\r\n 'class': 'lib-required-inputs',\r\n '[attr.id]': 'id()',\r\n },\r\n})\r\nexport class RequiredInputsComponent {\r\n /** Handling-method enum, exposed to the template. */\r\n protected readonly minInputTypes = MinInputTypes;\r\n\r\n /**\r\n * Required-input descriptors to render. Heterogeneous wrapper binding — the\r\n * parent feeds whatever the editor config holds; narrowing here would force\r\n * wrapper changes.\r\n */\r\n readonly value = input<readonly MinimumInputRequiredInterface[]>([]);\r\n\r\n /** All available form inputs the user can map a required input to. */\r\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\r\n\r\n /** Disable user interaction. */\r\n readonly disabled = input<boolean>(false);\r\n\r\n /**\r\n * Validation errors passed down by the parent editor. Retained on the contract\r\n * but not rendered here — `t-dynamic-data-edit` owns error display.\r\n */\r\n readonly errors = input<IConfigElementError[] | undefined>([]);\r\n\r\n /** Optional id attribute supplied by the parent editor (used to disambiguate). */\r\n readonly id = input<string | undefined>(undefined);\r\n\r\n /** Emits the mutated required-input list whenever the user changes a mapping. */\r\n readonly valueChanged = output<MinimumInputRequiredInterface[]>();\r\n\r\n /**\r\n * Local, immutable working copy of `value`. Tracks the bound value (the parent\r\n * re-feeds it after each emit) but stays locally overridable; mutations always\r\n * produce a new array, and entries are cloned so the parent's array is never\r\n * mutated in place.\r\n */\r\n readonly #workingValue = linkedSignal<readonly MinimumInputRequiredInterface[]>(() =>\r\n this.value().map((item) => ({ ...item })),\r\n );\r\n\r\n /** Name of the required input currently open in the edit panel; `''` when none. */\r\n protected readonly activeInput = signal<string>('');\r\n\r\n /** The chip row: one entry per required input, with derived link/active state. */\r\n protected readonly chips = computed<readonly RequiredInputChip[]>(() => {\r\n const active = this.activeInput();\r\n return this.#workingValue().map((item) => ({\r\n name: item.name,\r\n linked: this.#isLinked(item),\r\n active: item.name === active,\r\n }));\r\n });\r\n\r\n /** The required input currently being edited, or `undefined` when none is active. */\r\n protected readonly inEdit = computed<MinimumInputRequiredInterface | undefined>(() => {\r\n const active = this.activeInput();\r\n if (!active) {\r\n return undefined;\r\n }\r\n return this.#workingValue().find((item) => item.name === active);\r\n });\r\n\r\n /** Handling method of the input in edit; `null` keeps the `mat-select` empty. */\r\n protected readonly activeType = computed<MinInputTypes | null>(() => {\r\n const type = this.inEdit()?.type;\r\n return type === MinInputTypes.Default ||\r\n type === MinInputTypes.MapTo ||\r\n type === MinInputTypes.MapDocFilter\r\n ? type\r\n : null;\r\n });\r\n\r\n /** Whether the edit panel should show the mappable-input list. */\r\n protected readonly showMapList = computed<boolean>(() => {\r\n const type = this.activeType();\r\n return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;\r\n });\r\n\r\n /**\r\n * The list of mappable form inputs for the input in edit. Single-select\r\n * (`MapTo`) collapses to the chosen input once one is picked; multi-select\r\n * (`MapDocFilter`) always shows the full list with each chosen input flagged.\r\n */\r\n protected readonly mapTargets = computed<readonly MapTarget[]>(() => {\r\n const edit = this.inEdit();\r\n if (!edit) {\r\n return [];\r\n }\r\n const all = this.formInputs().map((item) => this.#toTarget(item, edit));\r\n if (edit.type === MinInputTypes.MapTo) {\r\n const selected = all.find((target) => target.selected);\r\n return selected ? [selected] : all;\r\n }\r\n return all;\r\n });\r\n\r\n /** Toggle the edit panel for a required input. Re-selecting the active one closes it. */\r\n protected toggleActive(name: string): void {\r\n if (this.disabled()) {\r\n return;\r\n }\r\n this.activeInput.update((current) => (current === name ? '' : name));\r\n }\r\n\r\n /** Close the edit panel without changing anything. */\r\n protected close(): void {\r\n this.activeInput.set('');\r\n }\r\n\r\n /** Choose (or, when re-selected, clear) the handling method for the input in edit. */\r\n protected selectType(type: MinInputTypes): void {\r\n this.#patchActive((current) => {\r\n if (current.type === type) {\r\n return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };\r\n }\r\n return {\r\n ...current,\r\n type,\r\n mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,\r\n defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,\r\n };\r\n });\r\n }\r\n\r\n /** Update the literal default value of the input in edit. */\r\n protected setDefaultValue(value: string): void {\r\n this.#patchActive((current) => ({ ...current, defaultValue: value }));\r\n }\r\n\r\n /**\r\n * Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`\r\n * holds a single mapping; `MapDocFilter` accumulates a list.\r\n */\r\n protected toggleMap(target: MapTarget): void {\r\n if (this.disabled() || !target.mappable) {\r\n return;\r\n }\r\n const mapping = this.#toMapping(target);\r\n this.#patchActive((current) => {\r\n if (current.type === MinInputTypes.MapTo) {\r\n const existing = this.#asSingle(current.mapTo);\r\n const sameSelected = existing?.formControlName === mapping.formControlName;\r\n return { ...current, mapTo: sameSelected ? undefined : mapping };\r\n }\r\n if (current.type === MinInputTypes.MapDocFilter) {\r\n const list = this.#asList(current.mapTo);\r\n const has = list.some((m) => m.formControlName === mapping.formControlName);\r\n return {\r\n ...current,\r\n mapTo: has\r\n ? list.filter((m) => m.formControlName !== mapping.formControlName)\r\n : [...list, mapping],\r\n };\r\n }\r\n return current;\r\n });\r\n }\r\n\r\n /** Replace the active entry via `patch` and emit the new list. */\r\n #patchActive(\r\n patch: (current: MinimumInputRequiredInterface) => MinimumInputRequiredInterface,\r\n ): void {\r\n const active = this.activeInput();\r\n let changed = false;\r\n const next = this.#workingValue().map((item) => {\r\n if (item.name !== active) {\r\n return item;\r\n }\r\n changed = true;\r\n return patch(item);\r\n });\r\n if (!changed) {\r\n return;\r\n }\r\n this.#workingValue.set(next);\r\n this.valueChanged.emit([...next]);\r\n }\r\n\r\n #isLinked(item: MinimumInputRequiredInterface): boolean {\r\n if (item.type === MinInputTypes.Default) {\r\n return !!item.defaultValue;\r\n }\r\n if (item.type === MinInputTypes.MapTo) {\r\n return !!this.#asSingle(item.mapTo);\r\n }\r\n if (item.type === MinInputTypes.MapDocFilter) {\r\n return this.#asList(item.mapTo).length > 0;\r\n }\r\n return false;\r\n }\r\n\r\n #toTarget(item: FormColumnInputs, edit: MinimumInputRequiredInterface): MapTarget {\r\n const mappable = item.element !== ElementTypes.SectionTitle;\r\n const selected = this.#isMapped(edit, item.formControlName);\r\n return {\r\n id: item.id,\r\n label: item.label,\r\n icon: getInputIcon(item.element),\r\n formControlName: item.formControlName,\r\n dataType: item.dataType ?? '',\r\n selected,\r\n mappable,\r\n ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,\r\n };\r\n }\r\n\r\n #isMapped(edit: MinimumInputRequiredInterface, formControlName: string): boolean {\r\n if (edit.type === MinInputTypes.MapTo) {\r\n return this.#asSingle(edit.mapTo)?.formControlName === formControlName;\r\n }\r\n if (edit.type === MinInputTypes.MapDocFilter) {\r\n return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);\r\n }\r\n return false;\r\n }\r\n\r\n #toMapping(target: MapTarget): MinInputMapInput {\r\n const source = this.formInputs().find((item) => item.id === target.id);\r\n return {\r\n formControlName: target.formControlName,\r\n dataType: source?.dataType ?? InputDataTypes.String,\r\n element: source?.element ?? ElementTypes.Input,\r\n inputId: target.id,\r\n };\r\n }\r\n\r\n #asSingle(\r\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\r\n ): MinInputMapInput | undefined {\r\n if (!mapTo || Array.isArray(mapTo)) {\r\n return undefined;\r\n }\r\n // `Array.isArray` does not narrow a `readonly[]` out of the union, so assert\r\n // the remaining single-mapping shape after the guard.\r\n return mapTo as MinInputMapInput;\r\n }\r\n\r\n #asList(\r\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\r\n ): readonly MinInputMapInput[] {\r\n return Array.isArray(mapTo) ? mapTo : [];\r\n }\r\n}\r\n","@if (chips().length) {\r\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\r\n @for (chip of chips(); track chip.name) {\r\n <button\r\n type=\"button\"\r\n role=\"listitem\"\r\n class=\"lib-required-inputs__chip\"\r\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\r\n [class.lib-required-inputs__chip--active]=\"chip.active\"\r\n [disabled]=\"disabled()\"\r\n [attr.aria-pressed]=\"chip.active\"\r\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\r\n (click)=\"toggleActive(chip.name)\">\r\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\r\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\r\n {{ chip.linked ? 'link' : 'link_off' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n</div>\r\n} @else {\r\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\r\n}\r\n\r\n@if (inEdit(); as edit) {\r\n<div class=\"lib-required-inputs__panel\">\r\n <mat-form-field\r\n class=\"lib-required-inputs__field\"\r\n appearance=\"outline\"\r\n subscriptSizing=\"dynamic\">\r\n <mat-label>Input handling method</mat-label>\r\n <mat-select\r\n [value]=\"activeType()\"\r\n [disabled]=\"disabled()\"\r\n (selectionChange)=\"selectType($event.value)\">\r\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\r\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\r\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\r\n </mat-select>\r\n <mat-hint>Choose how this required input is resolved</mat-hint>\r\n </mat-form-field>\r\n\r\n @if (activeType() === minInputTypes.Default) {\r\n <mat-form-field\r\n class=\"lib-required-inputs__field\"\r\n appearance=\"outline\"\r\n subscriptSizing=\"dynamic\">\r\n <mat-label>Default value</mat-label>\r\n <input\r\n matInput\r\n [ngModel]=\"edit.defaultValue\"\r\n [disabled]=\"disabled()\"\r\n (ngModelChange)=\"setDefaultValue($event)\"\r\n placeholder=\"Enter a default value\" />\r\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\r\n </mat-form-field>\r\n }\r\n\r\n @if (showMapList()) {\r\n <p class=\"lib-required-inputs__list-label\">\r\n Link <strong>{{ activeInput() }}</strong> to a form input\r\n </p>\r\n\r\n @if (mapTargets().length) {\r\n <mat-nav-list class=\"lib-required-inputs__list\">\r\n {{mapTargets().length}}\r\n @for (target of mapTargets(); track target.id) {\r\n <mat-list-item\r\n class=\"lib-required-inputs__item\"\r\n matRipple\r\n role=\"button\"\r\n [disabled]=\"disabled() || !target.mappable\"\r\n [activated]=\"target.selected\"\r\n [attr.aria-pressed]=\"target.selected\"\r\n [attr.aria-label]=\"target.ariaLabel\"\r\n (click)=\"toggleMap(target); $event.stopPropagation()\">\r\n <mat-icon\r\n matListItemAvatar\r\n class=\"lib-required-inputs__avatar\"\r\n aria-hidden=\"true\">\r\n {{ target.icon }}\r\n </mat-icon>\r\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\r\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\r\n <span>{{ target.formControlName }}</span>\r\n @if (target.dataType) {\r\n <span>{{ target.dataType }}</span>\r\n }\r\n </span>\r\n <mat-icon\r\n matListItemMeta\r\n class=\"lib-required-inputs__indicator\"\r\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\r\n aria-hidden=\"true\">\r\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\r\n </mat-icon>\r\n </mat-list-item>\r\n }\r\n </mat-nav-list>\r\n } @else {\r\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\r\n }\r\n }\r\n\r\n <div class=\"lib-required-inputs__actions\">\r\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\r\n </div>\r\n</div>\r\n}\r\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAiDA;;;;;;;;;AASG;MAuBU,uBAAuB,CAAA;AAtBpC,IAAA,WAAA,GAAA;;QAwBqB,IAAA,CAAA,aAAa,GAAG,aAAa;AAEhD;;;;AAIG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAA2C,EAAE,4EAAC;;AAG3D,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA8B,EAAE,iFAAC;;AAGnD,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAEzC;;;AAGG;AACM,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAoC,EAAE,6EAAC;;AAGrD,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