ngx-t-forms 2.0.36 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs} +4 -4
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map → ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs} +4 -4
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map → ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs} +6 -6
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map → ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map} +1 -1
  7. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs} +6 -6
  8. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map → ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map} +1 -1
  9. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs} +4 -4
  10. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map → ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map} +1 -1
  11. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs} +4 -4
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map → ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map} +1 -1
  13. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs} +2 -2
  14. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map → ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map} +1 -1
  15. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs} +2 -2
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map → ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map} +1 -1
  19. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs} +2 -2
  20. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map} +1 -1
  21. package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs} +8 -8
  22. package/fesm2022/{ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map → ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map} +1 -1
  23. package/fesm2022/{ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs → ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs} +8 -8
  24. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +1 -0
  25. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs} +4 -4
  26. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map → ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map} +1 -1
  27. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs} +4 -4
  28. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map → ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs} +4 -4
  30. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map} +1 -1
  31. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs} +4 -4
  32. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map → ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map} +1 -1
  33. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs} +5 -5
  34. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map → ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs} +5 -5
  36. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map → ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map} +1 -1
  37. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +1259 -0
  38. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +1 -0
  39. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +1996 -0
  40. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +1 -0
  41. package/fesm2022/{ngx-t-forms-editor-input-element.component-DYytkGYD.mjs → ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs} +157 -23
  42. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +1 -0
  43. package/fesm2022/{ngx-t-forms-editor-input-element.component-C12fnCTM.mjs → ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs} +138 -15
  44. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +1 -0
  45. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs +539 -0
  46. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +1 -0
  47. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +585 -0
  48. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs} +7 -7
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map → ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map} +1 -1
  51. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs} +7 -7
  52. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map → ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map} +1 -1
  53. package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs} +2 -2
  54. package/fesm2022/{ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map → ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map} +1 -1
  55. package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map → ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs → ngx-t-forms-form-json-view.component-r64GKVhI.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map → ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map} +1 -1
  59. package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs} +2 -2
  60. package/fesm2022/{ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map → ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map} +1 -1
  61. package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs} +6 -6
  62. package/fesm2022/{ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map → ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map} +1 -1
  63. package/fesm2022/{ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs → ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs} +10 -10
  64. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +1 -0
  65. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs} +11 -11
  66. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map → ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map} +1 -1
  67. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs} +13 -13
  68. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map → ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map} +1 -1
  69. package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs → ngx-t-forms-geo-location.component-D2fIbagr.mjs} +7 -7
  70. package/fesm2022/{ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map → ngx-t-forms-geo-location.component-D2fIbagr.mjs.map} +1 -1
  71. package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs → ngx-t-forms-geo-location.component-DW2b5Zli.mjs} +7 -7
  72. package/fesm2022/{ngx-t-forms-geo-location.component-DfmFok8a.mjs.map → ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs} +7 -7
  74. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map → ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map} +1 -1
  75. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs} +7 -7
  76. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map → ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map} +1 -1
  77. package/fesm2022/{ngx-t-forms-index-D-7ZX0w7.mjs → ngx-t-forms-index-6YIhS6cm.mjs} +2 -2
  78. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +1 -0
  79. package/fesm2022/{ngx-t-forms-index-DHloq32-.mjs → ngx-t-forms-index-BPNBX_ve.mjs} +2 -2
  80. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +1 -0
  81. package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs → ngx-t-forms-input-custom.component-DQOqy047.mjs} +2 -2
  82. package/fesm2022/{ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map → ngx-t-forms-input-custom.component-DQOqy047.mjs.map} +1 -1
  83. package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs → ngx-t-forms-input-custom.component-Dcoze7U3.mjs} +2 -2
  84. package/fesm2022/{ngx-t-forms-input-custom.component-pUshbxSM.mjs.map → ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map} +1 -1
  85. package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs → ngx-t-forms-input-editor.component-3fRj5swF.mjs} +8 -8
  86. package/fesm2022/{ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map → ngx-t-forms-input-editor.component-3fRj5swF.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs → ngx-t-forms-input-editor.component-B6UKwV4i.mjs} +7 -7
  88. package/fesm2022/{ngx-t-forms-input-editor.component-CxXMETLl.mjs.map → ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map} +1 -1
  89. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs} +2 -2
  90. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map → ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs} +2 -2
  92. package/fesm2022/{ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map → ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map} +1 -1
  93. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +268 -0
  94. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +1 -0
  95. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs +167 -0
  96. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +1 -0
  97. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs} +4 -4
  98. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map → ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map} +1 -1
  99. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs} +4 -4
  100. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map → ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map} +1 -1
  101. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs} +4 -4
  102. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +1 -0
  103. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs} +4 -4
  104. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map} +1 -1
  105. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs} +3 -3
  106. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-99DpVSy7.mjs.map → ngx-t-forms-mscoa-error-display.component-BDPi6w2E.mjs.map} +1 -1
  107. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs} +3 -3
  108. package/fesm2022/{ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map → ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map} +1 -1
  109. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs} +7 -7
  110. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map → ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map} +1 -1
  111. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs} +7 -7
  112. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map → ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map} +1 -1
  113. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs} +3 -3
  114. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map} +1 -1
  115. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs} +3 -3
  116. package/fesm2022/{ngx-t-forms-mscoa-temporary-hint.component-B1Z-IXSL.mjs.map → ngx-t-forms-mscoa-temporary-hint.component-g7DosiVb.mjs.map} +1 -1
  117. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs} +15 -15
  118. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map → ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map} +1 -1
  119. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs} +13 -13
  120. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map → ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map} +1 -1
  121. package/fesm2022/{ngx-t-forms-ngx-t-forms-CJGAj18J.mjs → ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs} +941 -155
  122. package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +1 -0
  123. package/fesm2022/{ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs → ngx-t-forms-ngx-t-forms-BefvSS-p.mjs} +1119 -234
  124. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +1 -0
  125. package/fesm2022/{ngx-t-forms-paginated-selection-table-DeY5vQti.mjs → ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs} +8 -8
  126. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +1 -0
  127. package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs} +8 -8
  128. package/fesm2022/{ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map → ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map} +1 -1
  129. package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs} +2 -2
  130. package/fesm2022/{ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map → ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map} +1 -1
  131. package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs} +2 -2
  132. package/fesm2022/{ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map → ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map} +1 -1
  133. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs} +11 -11
  134. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map → ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map} +1 -1
  135. package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs} +11 -11
  136. package/fesm2022/{ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map → ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map} +1 -1
  137. package/fesm2022/{ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs → ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs} +166 -72
  138. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +1 -0
  139. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs +446 -0
  140. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +1 -0
  141. package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs} +6 -6
  142. package/fesm2022/{ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map → ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map} +1 -1
  143. package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs} +6 -6
  144. package/fesm2022/{ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map → ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map} +1 -1
  145. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs} +5 -5
  146. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map → ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map} +1 -1
  147. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs} +5 -5
  148. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map → ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map} +1 -1
  149. package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs → ngx-t-forms-section-report.component-BYMcaRE5.mjs} +4 -4
  150. package/fesm2022/{ngx-t-forms-section-report.component-mUpSxbaB.mjs.map → ngx-t-forms-section-report.component-BYMcaRE5.mjs.map} +1 -1
  151. package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs → ngx-t-forms-section-report.component-yGAjX7Gb.mjs} +4 -4
  152. package/fesm2022/{ngx-t-forms-section-report.component-CQR27H3a.mjs.map → ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map} +1 -1
  153. package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs} +8 -8
  154. package/fesm2022/{ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map → ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map} +1 -1
  155. package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs} +8 -8
  156. package/fesm2022/{ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map → ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map} +1 -1
  157. package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs} +6 -6
  158. package/fesm2022/{ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map → ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map} +1 -1
  159. package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs} +6 -6
  160. package/fesm2022/{ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map → ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map} +1 -1
  161. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +366 -0
  162. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +1 -0
  163. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs +263 -0
  164. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +1 -0
  165. package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs} +4 -4
  166. package/fesm2022/{ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map → ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map} +1 -1
  167. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs} +4 -4
  168. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map → ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map} +1 -1
  169. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs} +4 -4
  170. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map → ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map} +1 -1
  171. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs} +4 -4
  172. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map → ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map} +1 -1
  173. package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs} +5 -5
  174. package/fesm2022/{ngx-t-forms-validators-config.component-DjLB40z-.mjs.map → ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map} +1 -1
  175. package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs → ngx-t-forms-validators-config.component-CoGSFor3.mjs} +5 -5
  176. package/fesm2022/{ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map → ngx-t-forms-validators-config.component-CoGSFor3.mjs.map} +1 -1
  177. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs → ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs} +18 -18
  178. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +1 -0
  179. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs → ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs} +17 -17
  180. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map +1 -0
  181. package/fesm2022/ngx-t-forms.mjs +1 -1
  182. package/package.json +2 -2
  183. package/types/ngx-t-forms.d.ts +18 -12
  184. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +0 -1
  185. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +0 -1217
  186. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +0 -1
  187. package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs +0 -704
  188. package/fesm2022/ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map +0 -1
  189. package/fesm2022/ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map +0 -1
  190. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +0 -1
  191. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +0 -251
  192. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +0 -1
  193. package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs +0 -240
  194. package/fesm2022/ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map +0 -1
  195. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +0 -1
  197. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +0 -1
  198. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +0 -109
  199. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs +0 -66
  201. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +0 -1
  203. package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +0 -1
  204. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +0 -1
  205. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +0 -1
  206. package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs +0 -358
  207. package/fesm2022/ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map +0 -1
  208. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +0 -1
  209. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +0 -341
  210. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +0 -1
  211. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs +0 -204
  212. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map +0 -1
  213. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map +0 -1
  214. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, output, linkedSignal, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1$1 from '@angular/material/button';
3
+ import * as i2 from '@angular/material/button';
4
4
  import { MatButtonModule } from '@angular/material/button';
5
- import * as i2 from '@angular/material/form-field';
5
+ import * as i2$1 from '@angular/material/form-field';
6
6
  import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i3 from '@angular/material/icon';
8
8
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i2$1 from '@angular/material/input';
9
+ import * as i2$2 from '@angular/material/input';
10
10
  import { MatInputModule } from '@angular/material/input';
11
11
  import * as i6 from '@angular/material/list';
12
12
  import { MatListModule } from '@angular/material/list';
@@ -18,7 +18,7 @@ import * as i1 from '@angular/forms';
18
18
  import { FormsModule } from '@angular/forms';
19
19
  import { MinInputTypes, ElementTypes, InputDataTypes } from 'ngx-t-forms-types';
20
20
  import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
21
- import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
21
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs';
22
22
 
23
23
  /**
24
24
  * Internal editor element for configuring a form's required (minimum) inputs.
@@ -248,7 +248,7 @@ class RequiredInputsComponent {
248
248
  return Array.isArray(mapTo) ? mapTo : [];
249
249
  }
250
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) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\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: i1$1.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.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.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$1.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 }); }
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) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\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
252
  }
253
253
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: RequiredInputsComponent, decorators: [{
254
254
  type: Component,
@@ -269,4 +269,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
269
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
270
 
271
271
  export { RequiredInputsComponent };
272
- //# sourceMappingURL=ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map
272
+ //# sourceMappingURL=ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-required-inputs.component-ByBeNLXu.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 {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n linkedSignal,\n output,\n signal,\n} from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatSelectModule } from '@angular/material/select';\nimport { FormsModule } from '@angular/forms';\nimport {\n ElementTypes,\n FormColumnInputs,\n InputDataTypes,\n MinInputMapInput,\n MinInputTypes,\n MinimumInputRequiredInterface,\n} from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A required input decorated with the derived view-model fields the chip row renders. */\ninterface RequiredInputChip {\n readonly name: string;\n readonly linked: boolean;\n readonly active: boolean;\n}\n\n/** A mappable form input decorated with the derived view-model fields the list renders. */\ninterface MapTarget {\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly formControlName: string;\n readonly dataType: string;\n readonly selected: boolean;\n readonly mappable: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Internal editor element for configuring a form's required (minimum) inputs.\n * Child of `t-dynamic-data-edit`, which supplies the field label, hint, and\n * validation errors — so this component owns only the chip row + edit content.\n *\n * Each required input can be handled three ways: a literal default value, a\n * single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).\n * Re-selecting the active handling method, chip, or a mapped input toggles it\n * off again.\n */\n@Component({\n selector: 'lib-required-inputs',\n imports: [\n FormsModule,\n MatButtonModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatRippleModule,\n MatSelectModule,\n EmptyStateComponent,\n ],\n templateUrl: './required-inputs.component.html',\n styleUrl: './required-inputs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-required-inputs',\n '[attr.id]': 'id()',\n },\n})\nexport class RequiredInputsComponent {\n /** Handling-method enum, exposed to the template. */\n protected readonly minInputTypes = MinInputTypes;\n\n /**\n * Required-input descriptors to render. Heterogeneous wrapper binding — the\n * parent feeds whatever the editor config holds; narrowing here would force\n * wrapper changes.\n */\n readonly value = input<readonly MinimumInputRequiredInterface[]>([]);\n\n /** All available form inputs the user can map a required input to. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * but not rendered here — `t-dynamic-data-edit` owns error display.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Optional id attribute supplied by the parent editor (used to disambiguate). */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the mutated required-input list whenever the user changes a mapping. */\n readonly valueChanged = output<MinimumInputRequiredInterface[]>();\n\n /**\n * Local, immutable working copy of `value`. Tracks the bound value (the parent\n * re-feeds it after each emit) but stays locally overridable; mutations always\n * produce a new array, and entries are cloned so the parent's array is never\n * mutated in place.\n */\n readonly #workingValue = linkedSignal<readonly MinimumInputRequiredInterface[]>(() =>\n this.value().map((item) => ({ ...item })),\n );\n\n /** Name of the required input currently open in the edit panel; `''` when none. */\n protected readonly activeInput = signal<string>('');\n\n /** The chip row: one entry per required input, with derived link/active state. */\n protected readonly chips = computed<readonly RequiredInputChip[]>(() => {\n const active = this.activeInput();\n return this.#workingValue().map((item) => ({\n name: item.name,\n linked: this.#isLinked(item),\n active: item.name === active,\n }));\n });\n\n /** The required input currently being edited, or `undefined` when none is active. */\n protected readonly inEdit = computed<MinimumInputRequiredInterface | undefined>(() => {\n const active = this.activeInput();\n if (!active) {\n return undefined;\n }\n return this.#workingValue().find((item) => item.name === active);\n });\n\n /** Handling method of the input in edit; `null` keeps the `mat-select` empty. */\n protected readonly activeType = computed<MinInputTypes | null>(() => {\n const type = this.inEdit()?.type;\n return type === MinInputTypes.Default ||\n type === MinInputTypes.MapTo ||\n type === MinInputTypes.MapDocFilter\n ? type\n : null;\n });\n\n /** Whether the edit panel should show the mappable-input list. */\n protected readonly showMapList = computed<boolean>(() => {\n const type = this.activeType();\n return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;\n });\n\n /**\n * The list of mappable form inputs for the input in edit. Single-select\n * (`MapTo`) collapses to the chosen input once one is picked; multi-select\n * (`MapDocFilter`) always shows the full list with each chosen input flagged.\n */\n protected readonly mapTargets = computed<readonly MapTarget[]>(() => {\n const edit = this.inEdit();\n if (!edit) {\n return [];\n }\n const all = this.formInputs().map((item) => this.#toTarget(item, edit));\n if (edit.type === MinInputTypes.MapTo) {\n const selected = all.find((target) => target.selected);\n return selected ? [selected] : all;\n }\n return all;\n });\n\n /** Toggle the edit panel for a required input. Re-selecting the active one closes it. */\n protected toggleActive(name: string): void {\n if (this.disabled()) {\n return;\n }\n this.activeInput.update((current) => (current === name ? '' : name));\n }\n\n /** Close the edit panel without changing anything. */\n protected close(): void {\n this.activeInput.set('');\n }\n\n /** Choose (or, when re-selected, clear) the handling method for the input in edit. */\n protected selectType(type: MinInputTypes): void {\n this.#patchActive((current) => {\n if (current.type === type) {\n return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };\n }\n return {\n ...current,\n type,\n mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,\n defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,\n };\n });\n }\n\n /** Update the literal default value of the input in edit. */\n protected setDefaultValue(value: string): void {\n this.#patchActive((current) => ({ ...current, defaultValue: value }));\n }\n\n /**\n * Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`\n * holds a single mapping; `MapDocFilter` accumulates a list.\n */\n protected toggleMap(target: MapTarget): void {\n if (this.disabled() || !target.mappable) {\n return;\n }\n const mapping = this.#toMapping(target);\n this.#patchActive((current) => {\n if (current.type === MinInputTypes.MapTo) {\n const existing = this.#asSingle(current.mapTo);\n const sameSelected = existing?.formControlName === mapping.formControlName;\n return { ...current, mapTo: sameSelected ? undefined : mapping };\n }\n if (current.type === MinInputTypes.MapDocFilter) {\n const list = this.#asList(current.mapTo);\n const has = list.some((m) => m.formControlName === mapping.formControlName);\n return {\n ...current,\n mapTo: has\n ? list.filter((m) => m.formControlName !== mapping.formControlName)\n : [...list, mapping],\n };\n }\n return current;\n });\n }\n\n /** Replace the active entry via `patch` and emit the new list. */\n #patchActive(\n patch: (current: MinimumInputRequiredInterface) => MinimumInputRequiredInterface,\n ): void {\n const active = this.activeInput();\n let changed = false;\n const next = this.#workingValue().map((item) => {\n if (item.name !== active) {\n return item;\n }\n changed = true;\n return patch(item);\n });\n if (!changed) {\n return;\n }\n this.#workingValue.set(next);\n this.valueChanged.emit([...next]);\n }\n\n #isLinked(item: MinimumInputRequiredInterface): boolean {\n if (item.type === MinInputTypes.Default) {\n return !!item.defaultValue;\n }\n if (item.type === MinInputTypes.MapTo) {\n return !!this.#asSingle(item.mapTo);\n }\n if (item.type === MinInputTypes.MapDocFilter) {\n return this.#asList(item.mapTo).length > 0;\n }\n return false;\n }\n\n #toTarget(item: FormColumnInputs, edit: MinimumInputRequiredInterface): MapTarget {\n const mappable = item.element !== ElementTypes.SectionTitle;\n const selected = this.#isMapped(edit, item.formControlName);\n return {\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n formControlName: item.formControlName,\n dataType: item.dataType ?? '',\n selected,\n mappable,\n ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,\n };\n }\n\n #isMapped(edit: MinimumInputRequiredInterface, formControlName: string): boolean {\n if (edit.type === MinInputTypes.MapTo) {\n return this.#asSingle(edit.mapTo)?.formControlName === formControlName;\n }\n if (edit.type === MinInputTypes.MapDocFilter) {\n return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);\n }\n return false;\n }\n\n #toMapping(target: MapTarget): MinInputMapInput {\n const source = this.formInputs().find((item) => item.id === target.id);\n return {\n formControlName: target.formControlName,\n dataType: source?.dataType ?? InputDataTypes.String,\n element: source?.element ?? ElementTypes.Input,\n inputId: target.id,\n };\n }\n\n #asSingle(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): MinInputMapInput | undefined {\n if (!mapTo || Array.isArray(mapTo)) {\n return undefined;\n }\n // `Array.isArray` does not narrow a `readonly[]` out of the union, so assert\n // the remaining single-mapping shape after the guard.\n return mapTo as MinInputMapInput;\n }\n\n #asList(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): readonly MinInputMapInput[] {\n return Array.isArray(mapTo) ? mapTo : [];\n }\n}\n","@if (chips().length) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAiDA;;;;;;;;;AASG;MAuBU,u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A,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACb,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,gBAAA,EAAA,oBAAA,EAAA,mBAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,mBAAA,EAAA,kBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACf,eAAe,gtBACf,mBAAmB,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAWV,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAtBnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EAAA,OAAA,EACtB;wBACP,WAAW;wBACX,eAAe;wBACf,kBAAkB;wBAClB,aAAa;wBACb,cAAc;wBACd,aAAa;wBACb,eAAe;wBACf,eAAe;wBACf,mBAAmB;AACpB,qBAAA,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,OAAO,EAAE,qBAAqB;AAC9B,wBAAA,WAAW,EAAE,MAAM;AACpB,qBAAA,EAAA,QAAA,EAAA,+3HAAA,EAAA,MAAA,EAAA,CAAA,ylHAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-required-inputs.component-BMmNxeE-.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 {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n linkedSignal,\n output,\n signal,\n} from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatSelectModule } from '@angular/material/select';\nimport { FormsModule } from '@angular/forms';\nimport {\n ElementTypes,\n FormColumnInputs,\n InputDataTypes,\n MinInputMapInput,\n MinInputTypes,\n MinimumInputRequiredInterface,\n} from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A required input decorated with the derived view-model fields the chip row renders. */\ninterface RequiredInputChip {\n readonly name: string;\n readonly linked: boolean;\n readonly active: boolean;\n}\n\n/** A mappable form input decorated with the derived view-model fields the list renders. */\ninterface MapTarget {\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly formControlName: string;\n readonly dataType: string;\n readonly selected: boolean;\n readonly mappable: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Internal editor element for configuring a form's required (minimum) inputs.\n * Child of `t-dynamic-data-edit`, which supplies the field label, hint, and\n * validation errors — so this component owns only the chip row + edit content.\n *\n * Each required input can be handled three ways: a literal default value, a\n * single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).\n * Re-selecting the active handling method, chip, or a mapped input toggles it\n * off again.\n */\n@Component({\n selector: 'lib-required-inputs',\n imports: [\n FormsModule,\n MatButtonModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatRippleModule,\n MatSelectModule,\n EmptyStateComponent,\n ],\n templateUrl: './required-inputs.component.html',\n styleUrl: './required-inputs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-required-inputs',\n '[attr.id]': 'id()',\n },\n})\nexport class RequiredInputsComponent {\n /** Handling-method enum, exposed to the template. */\n protected readonly minInputTypes = MinInputTypes;\n\n /**\n * Required-input descriptors to render. Heterogeneous wrapper binding — the\n * parent feeds whatever the editor config holds; narrowing here would force\n * wrapper changes.\n */\n readonly value = input<readonly MinimumInputRequiredInterface[]>([]);\n\n /** All available form inputs the user can map a required input to. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * but not rendered here — `t-dynamic-data-edit` owns error display.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Optional id attribute supplied by the parent editor (used to disambiguate). */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the mutated required-input list whenever the user changes a mapping. */\n readonly valueChanged = output<MinimumInputRequiredInterface[]>();\n\n /**\n * Local, immutable working copy of `value`. Tracks the bound value (the parent\n * re-feeds it after each emit) but stays locally overridable; mutations always\n * produce a new array, and entries are cloned so the parent's array is never\n * mutated in place.\n */\n readonly #workingValue = linkedSignal<readonly MinimumInputRequiredInterface[]>(() =>\n this.value().map((item) => ({ ...item })),\n );\n\n /** Name of the required input currently open in the edit panel; `''` when none. */\n protected readonly activeInput = signal<string>('');\n\n /** The chip row: one entry per required input, with derived link/active state. */\n protected readonly chips = computed<readonly RequiredInputChip[]>(() => {\n const active = this.activeInput();\n return this.#workingValue().map((item) => ({\n name: item.name,\n linked: this.#isLinked(item),\n active: item.name === active,\n }));\n });\n\n /** The required input currently being edited, or `undefined` when none is active. */\n protected readonly inEdit = computed<MinimumInputRequiredInterface | undefined>(() => {\n const active = this.activeInput();\n if (!active) {\n return undefined;\n }\n return this.#workingValue().find((item) => item.name === active);\n });\n\n /** Handling method of the input in edit; `null` keeps the `mat-select` empty. */\n protected readonly activeType = computed<MinInputTypes | null>(() => {\n const type = this.inEdit()?.type;\n return type === MinInputTypes.Default ||\n type === MinInputTypes.MapTo ||\n type === MinInputTypes.MapDocFilter\n ? type\n : null;\n });\n\n /** Whether the edit panel should show the mappable-input list. */\n protected readonly showMapList = computed<boolean>(() => {\n const type = this.activeType();\n return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;\n });\n\n /**\n * The list of mappable form inputs for the input in edit. Single-select\n * (`MapTo`) collapses to the chosen input once one is picked; multi-select\n * (`MapDocFilter`) always shows the full list with each chosen input flagged.\n */\n protected readonly mapTargets = computed<readonly MapTarget[]>(() => {\n const edit = this.inEdit();\n if (!edit) {\n return [];\n }\n const all = this.formInputs().map((item) => this.#toTarget(item, edit));\n if (edit.type === MinInputTypes.MapTo) {\n const selected = all.find((target) => target.selected);\n return selected ? [selected] : all;\n }\n return all;\n });\n\n /** Toggle the edit panel for a required input. Re-selecting the active one closes it. */\n protected toggleActive(name: string): void {\n if (this.disabled()) {\n return;\n }\n this.activeInput.update((current) => (current === name ? '' : name));\n }\n\n /** Close the edit panel without changing anything. */\n protected close(): void {\n this.activeInput.set('');\n }\n\n /** Choose (or, when re-selected, clear) the handling method for the input in edit. */\n protected selectType(type: MinInputTypes): void {\n this.#patchActive((current) => {\n if (current.type === type) {\n return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };\n }\n return {\n ...current,\n type,\n mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,\n defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,\n };\n });\n }\n\n /** Update the literal default value of the input in edit. */\n protected setDefaultValue(value: string): void {\n this.#patchActive((current) => ({ ...current, defaultValue: value }));\n }\n\n /**\n * Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`\n * holds a single mapping; `MapDocFilter` accumulates a list.\n */\n protected toggleMap(target: MapTarget): void {\n if (this.disabled() || !target.mappable) {\n return;\n }\n const mapping = this.#toMapping(target);\n this.#patchActive((current) => {\n if (current.type === MinInputTypes.MapTo) {\n const existing = this.#asSingle(current.mapTo);\n const sameSelected = existing?.formControlName === mapping.formControlName;\n return { ...current, mapTo: sameSelected ? undefined : mapping };\n }\n if (current.type === MinInputTypes.MapDocFilter) {\n const list = this.#asList(current.mapTo);\n const has = list.some((m) => m.formControlName === mapping.formControlName);\n return {\n ...current,\n mapTo: has\n ? list.filter((m) => m.formControlName !== mapping.formControlName)\n : [...list, mapping],\n };\n }\n return current;\n });\n }\n\n /** Replace the active entry via `patch` and emit the new list. */\n #patchActive(\n patch: (current: MinimumInputRequiredInterface) => MinimumInputRequiredInterface,\n ): void {\n const active = this.activeInput();\n let changed = false;\n const next = this.#workingValue().map((item) => {\n if (item.name !== active) {\n return item;\n }\n changed = true;\n return patch(item);\n });\n if (!changed) {\n return;\n }\n this.#workingValue.set(next);\n this.valueChanged.emit([...next]);\n }\n\n #isLinked(item: MinimumInputRequiredInterface): boolean {\n if (item.type === MinInputTypes.Default) {\n return !!item.defaultValue;\n }\n if (item.type === MinInputTypes.MapTo) {\n return !!this.#asSingle(item.mapTo);\n }\n if (item.type === MinInputTypes.MapDocFilter) {\n return this.#asList(item.mapTo).length > 0;\n }\n return false;\n }\n\n #toTarget(item: FormColumnInputs, edit: MinimumInputRequiredInterface): MapTarget {\n const mappable = item.element !== ElementTypes.SectionTitle;\n const selected = this.#isMapped(edit, item.formControlName);\n return {\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n formControlName: item.formControlName,\n dataType: item.dataType ?? '',\n selected,\n mappable,\n ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,\n };\n }\n\n #isMapped(edit: MinimumInputRequiredInterface, formControlName: string): boolean {\n if (edit.type === MinInputTypes.MapTo) {\n return this.#asSingle(edit.mapTo)?.formControlName === formControlName;\n }\n if (edit.type === MinInputTypes.MapDocFilter) {\n return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);\n }\n return false;\n }\n\n #toMapping(target: MapTarget): MinInputMapInput {\n const source = this.formInputs().find((item) => item.id === target.id);\n return {\n formControlName: target.formControlName,\n dataType: source?.dataType ?? InputDataTypes.String,\n element: source?.element ?? ElementTypes.Input,\n inputId: target.id,\n };\n }\n\n #asSingle(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): MinInputMapInput | undefined {\n if (!mapTo || Array.isArray(mapTo)) {\n return undefined;\n }\n // `Array.isArray` does not narrow a `readonly[]` out of the union, so assert\n // the remaining single-mapping shape after the guard.\n return mapTo as MinInputMapInput;\n }\n\n #asList(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): readonly MinInputMapInput[] {\n return Array.isArray(mapTo) ? mapTo : [];\n }\n}\n","@if (chips().length) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\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,QAAA,IAAA,CAAA,EAAE,GAAG,KAAK,CAAqB,SAAS,yEAAC;;QAGzC,IAAA,CAAA,YAAY,GAAG,MAAM,EAAmC;AAEjE;;;;;AAKG;QACM,IAAA,CAAA,aAAa,GAAG,YAAY,CAA2C,MAC9E,IAAI,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,MAAM,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,eAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAC1C;;AAGkB,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAS,EAAE,kFAAC;;AAGhC,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAA+B,MAAK;AACrE,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,EAAE;AACjC,YAAA,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,MAAM;gBACzC,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,gBAAA,MAAM,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A,ylHAAA,CAAA,EAAA;;;;;"}
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, output, linkedSignal, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1$1 from '@angular/material/button';
3
+ import * as i2 from '@angular/material/button';
4
4
  import { MatButtonModule } from '@angular/material/button';
5
- import * as i2 from '@angular/material/form-field';
5
+ import * as i2$1 from '@angular/material/form-field';
6
6
  import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i3 from '@angular/material/icon';
8
8
  import { MatIconModule } from '@angular/material/icon';
9
- import * as i2$1 from '@angular/material/input';
9
+ import * as i2$2 from '@angular/material/input';
10
10
  import { MatInputModule } from '@angular/material/input';
11
11
  import * as i6 from '@angular/material/list';
12
12
  import { MatListModule } from '@angular/material/list';
@@ -18,7 +18,7 @@ import * as i1 from '@angular/forms';
18
18
  import { FormsModule } from '@angular/forms';
19
19
  import { MinInputTypes, ElementTypes, InputDataTypes } from 'ngx-t-forms-types';
20
20
  import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
21
- import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
21
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
22
22
 
23
23
  const _forTrack0 = ($index, $item) => $item.name;
24
24
  const _forTrack1 = ($index, $item) => $item.id;
@@ -426,7 +426,7 @@ class RequiredInputsComponent {
426
426
  i0.ɵɵconditional(ctx.chips().length ? 0 : 1);
427
427
  i0.ɵɵadvance(2);
428
428
  i0.ɵɵconditional((tmp_1_0 = ctx.inEdit()) ? 2 : -1, tmp_1_0);
429
- } }, dependencies: [FormsModule, i1.DefaultValueAccessor, i1.NgControlStatus, i1.NgModel, MatButtonModule, i1$1.MatButton, MatFormFieldModule, i2.MatFormField, i2.MatLabel, i2.MatHint, MatIconModule, i3.MatIcon, MatInputModule, i2$1.MatInput, MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemLine, i6.MatListItemTitle, i6.MatListItemMeta, MatRippleModule, i7.MatRipple, MatSelectModule, i8.MatSelect, i8.MatOption, EmptyStateComponent], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;color:var(--lib-forms-on-surface)}.lib-required-inputs__chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem}.lib-required-inputs__chip[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:hover:not(:disabled){border-color:var(--lib-forms-primary)}.lib-required-inputs__chip[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:disabled{opacity:.55;pointer-events:none}.lib-required-inputs__chip--linked[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 22%,transparent)}.lib-required-inputs__chip-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;font-size:1rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__chip--linked[_ngcontent-%COMP%] .lib-required-inputs__chip-icon[_ngcontent-%COMP%], .lib-required-inputs__chip--active[_ngcontent-%COMP%] .lib-required-inputs__chip-icon[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.lib-required-inputs__field[_ngcontent-%COMP%]{width:100%}.lib-required-inputs__list-label[_ngcontent-%COMP%]{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[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__list[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-required-inputs__item[_ngcontent-%COMP%]{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.lib-required-inputs__item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-required-inputs__item[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-required-inputs__avatar[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__item-title[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600}.lib-required-inputs__item-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator--on[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:.75rem}"], changeDetection: 0 }); }
429
+ } }, dependencies: [FormsModule, i1.DefaultValueAccessor, i1.NgControlStatus, i1.NgModel, MatButtonModule, i2.MatButton, MatFormFieldModule, i2$1.MatFormField, i2$1.MatLabel, i2$1.MatHint, MatIconModule, i3.MatIcon, MatInputModule, i2$2.MatInput, MatListModule, i6.MatNavList, i6.MatListItem, i6.MatListItemAvatar, i6.MatListItemLine, i6.MatListItemTitle, i6.MatListItemMeta, MatRippleModule, i7.MatRipple, MatSelectModule, i8.MatSelect, i8.MatOption, EmptyStateComponent], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;color:var(--lib-forms-on-surface)}.lib-required-inputs__chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem}.lib-required-inputs__chip[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:hover:not(:disabled){border-color:var(--lib-forms-primary)}.lib-required-inputs__chip[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:disabled{opacity:.55;pointer-events:none}.lib-required-inputs__chip--linked[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{border-color:var(--lib-forms-primary);background:color-mix(in srgb,var(--lib-forms-primary) 22%,transparent)}.lib-required-inputs__chip-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;font-size:1rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__chip--linked[_ngcontent-%COMP%] .lib-required-inputs__chip-icon[_ngcontent-%COMP%], .lib-required-inputs__chip--active[_ngcontent-%COMP%] .lib-required-inputs__chip-icon[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.lib-required-inputs__field[_ngcontent-%COMP%]{width:100%}.lib-required-inputs__list-label[_ngcontent-%COMP%]{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[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__list[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;max-height:65vh;overflow:auto;padding:.5rem;background:var(--lib-forms-surface);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 12%,transparent);border-radius:var(--lib-forms-radius-lg, 12px)}.lib-required-inputs__item[_ngcontent-%COMP%]{min-height:3rem;height:fit-content;margin-bottom:.25rem;border-radius:var(--lib-forms-radius-sm, 8px);cursor:pointer;transition:background-color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-required-inputs__item[_ngcontent-%COMP%]:last-child{margin-bottom:0}.lib-required-inputs__item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--lib-forms-primary) 6%,transparent)}.lib-required-inputs__item[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--lib-forms-primary) 12%,transparent)}mat-icon.lib-required-inputs__avatar[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--lib-forms-radius-sm, 8px);font-size:1.5rem;line-height:1;background:var(--lib-forms-surface-container-high);color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__item-title[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600}.lib-required-inputs__item-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.lib-required-inputs__indicator--on[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-required-inputs__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:.75rem}"], changeDetection: 0 }); }
430
430
  }
431
431
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RequiredInputsComponent, [{
432
432
  type: Component,
@@ -448,4 +448,4 @@ class RequiredInputsComponent {
448
448
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RequiredInputsComponent, { className: "RequiredInputsComponent", filePath: "lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.ts", lineNumber: 82 }); })();
449
449
 
450
450
  export { RequiredInputsComponent };
451
- //# sourceMappingURL=ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map
451
+ //# sourceMappingURL=ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.ts"],"sourcesContent":["@if (chips().length) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n linkedSignal,\n output,\n signal,\n} from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatSelectModule } from '@angular/material/select';\nimport { FormsModule } from '@angular/forms';\nimport {\n ElementTypes,\n FormColumnInputs,\n InputDataTypes,\n MinInputMapInput,\n MinInputTypes,\n MinimumInputRequiredInterface,\n} from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A required input decorated with the derived view-model fields the chip row renders. */\ninterface RequiredInputChip {\n readonly name: string;\n readonly linked: boolean;\n readonly active: boolean;\n}\n\n/** A mappable form input decorated with the derived view-model fields the list renders. */\ninterface MapTarget {\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly formControlName: string;\n readonly dataType: string;\n readonly selected: boolean;\n readonly mappable: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Internal editor element for configuring a form's required (minimum) inputs.\n * Child of `t-dynamic-data-edit`, which supplies the field label, hint, and\n * validation errors — so this component owns only the chip row + edit content.\n *\n * Each required input can be handled three ways: a literal default value, a\n * single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).\n * Re-selecting the active handling method, chip, or a mapped input toggles it\n * off again.\n */\n@Component({\n selector: 'lib-required-inputs',\n imports: [\n FormsModule,\n MatButtonModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatRippleModule,\n MatSelectModule,\n EmptyStateComponent,\n ],\n templateUrl: './required-inputs.component.html',\n styleUrl: './required-inputs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-required-inputs',\n '[attr.id]': 'id()',\n },\n})\nexport class RequiredInputsComponent {\n /** Handling-method enum, exposed to the template. */\n protected readonly minInputTypes = MinInputTypes;\n\n /**\n * Required-input descriptors to render. Heterogeneous wrapper binding — the\n * parent feeds whatever the editor config holds; narrowing here would force\n * wrapper changes.\n */\n readonly value = input<readonly MinimumInputRequiredInterface[]>([]);\n\n /** All available form inputs the user can map a required input to. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * but not rendered here — `t-dynamic-data-edit` owns error display.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Optional id attribute supplied by the parent editor (used to disambiguate). */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the mutated required-input list whenever the user changes a mapping. */\n readonly valueChanged = output<MinimumInputRequiredInterface[]>();\n\n /**\n * Local, immutable working copy of `value`. Tracks the bound value (the parent\n * re-feeds it after each emit) but stays locally overridable; mutations always\n * produce a new array, and entries are cloned so the parent's array is never\n * mutated in place.\n */\n readonly #workingValue = linkedSignal<readonly MinimumInputRequiredInterface[]>(() =>\n this.value().map((item) => ({ ...item })),\n );\n\n /** Name of the required input currently open in the edit panel; `''` when none. */\n protected readonly activeInput = signal<string>('');\n\n /** The chip row: one entry per required input, with derived link/active state. */\n protected readonly chips = computed<readonly RequiredInputChip[]>(() => {\n const active = this.activeInput();\n return this.#workingValue().map((item) => ({\n name: item.name,\n linked: this.#isLinked(item),\n active: item.name === active,\n }));\n });\n\n /** The required input currently being edited, or `undefined` when none is active. */\n protected readonly inEdit = computed<MinimumInputRequiredInterface | undefined>(() => {\n const active = this.activeInput();\n if (!active) {\n return undefined;\n }\n return this.#workingValue().find((item) => item.name === active);\n });\n\n /** Handling method of the input in edit; `null` keeps the `mat-select` empty. */\n protected readonly activeType = computed<MinInputTypes | null>(() => {\n const type = this.inEdit()?.type;\n return type === MinInputTypes.Default ||\n type === MinInputTypes.MapTo ||\n type === MinInputTypes.MapDocFilter\n ? type\n : null;\n });\n\n /** Whether the edit panel should show the mappable-input list. */\n protected readonly showMapList = computed<boolean>(() => {\n const type = this.activeType();\n return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;\n });\n\n /**\n * The list of mappable form inputs for the input in edit. Single-select\n * (`MapTo`) collapses to the chosen input once one is picked; multi-select\n * (`MapDocFilter`) always shows the full list with each chosen input flagged.\n */\n protected readonly mapTargets = computed<readonly MapTarget[]>(() => {\n const edit = this.inEdit();\n if (!edit) {\n return [];\n }\n const all = this.formInputs().map((item) => this.#toTarget(item, edit));\n if (edit.type === MinInputTypes.MapTo) {\n const selected = all.find((target) => target.selected);\n return selected ? [selected] : all;\n }\n return all;\n });\n\n /** Toggle the edit panel for a required input. Re-selecting the active one closes it. */\n protected toggleActive(name: string): void {\n if (this.disabled()) {\n return;\n }\n this.activeInput.update((current) => (current === name ? '' : name));\n }\n\n /** Close the edit panel without changing anything. */\n protected close(): void {\n this.activeInput.set('');\n }\n\n /** Choose (or, when re-selected, clear) the handling method for the input in edit. */\n protected selectType(type: MinInputTypes): void {\n this.#patchActive((current) => {\n if (current.type === type) {\n return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };\n }\n return {\n ...current,\n type,\n mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,\n defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,\n };\n });\n }\n\n /** Update the literal default value of the input in edit. */\n protected setDefaultValue(value: string): void {\n this.#patchActive((current) => ({ ...current, defaultValue: value }));\n }\n\n /**\n * Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`\n * holds a single mapping; `MapDocFilter` accumulates a list.\n */\n protected toggleMap(target: MapTarget): void {\n if (this.disabled() || !target.mappable) {\n return;\n }\n const mapping = this.#toMapping(target);\n this.#patchActive((current) => {\n if (current.type === MinInputTypes.MapTo) {\n const existing = this.#asSingle(current.mapTo);\n const sameSelected = existing?.formControlName === mapping.formControlName;\n return { ...current, mapTo: sameSelected ? undefined : mapping };\n }\n if (current.type === MinInputTypes.MapDocFilter) {\n const list = this.#asList(current.mapTo);\n const has = list.some((m) => m.formControlName === mapping.formControlName);\n return {\n ...current,\n mapTo: has\n ? list.filter((m) => m.formControlName !== mapping.formControlName)\n : [...list, mapping],\n };\n }\n return current;\n });\n }\n\n /** Replace the active entry via `patch` and emit the new list. */\n #patchActive(\n patch: (current: MinimumInputRequiredInterface) => MinimumInputRequiredInterface,\n ): void {\n const active = this.activeInput();\n let changed = false;\n const next = this.#workingValue().map((item) => {\n if (item.name !== active) {\n return item;\n }\n changed = true;\n return patch(item);\n });\n if (!changed) {\n return;\n }\n this.#workingValue.set(next);\n this.valueChanged.emit([...next]);\n }\n\n #isLinked(item: MinimumInputRequiredInterface): boolean {\n if (item.type === MinInputTypes.Default) {\n return !!item.defaultValue;\n }\n if (item.type === MinInputTypes.MapTo) {\n return !!this.#asSingle(item.mapTo);\n }\n if (item.type === MinInputTypes.MapDocFilter) {\n return this.#asList(item.mapTo).length > 0;\n }\n return false;\n }\n\n #toTarget(item: FormColumnInputs, edit: MinimumInputRequiredInterface): MapTarget {\n const mappable = item.element !== ElementTypes.SectionTitle;\n const selected = this.#isMapped(edit, item.formControlName);\n return {\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n formControlName: item.formControlName,\n dataType: item.dataType ?? '',\n selected,\n mappable,\n ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,\n };\n }\n\n #isMapped(edit: MinimumInputRequiredInterface, formControlName: string): boolean {\n if (edit.type === MinInputTypes.MapTo) {\n return this.#asSingle(edit.mapTo)?.formControlName === formControlName;\n }\n if (edit.type === MinInputTypes.MapDocFilter) {\n return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);\n }\n return false;\n }\n\n #toMapping(target: MapTarget): MinInputMapInput {\n const source = this.formInputs().find((item) => item.id === target.id);\n return {\n formControlName: target.formControlName,\n dataType: source?.dataType ?? InputDataTypes.String,\n element: source?.element ?? ElementTypes.Input,\n inputId: target.id,\n };\n }\n\n #asSingle(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): MinInputMapInput | undefined {\n if (!mapTo || Array.isArray(mapTo)) {\n return undefined;\n }\n // `Array.isArray` does not narrow a `readonly[]` out of the union, so assert\n // the remaining single-mapping shape after the guard.\n return mapTo as MinInputMapInput;\n }\n\n #asList(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): readonly MinInputMapInput[] {\n return Array.isArray(mapTo) ? mapTo : [];\n }\n}\n"],"names":["i2","i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAGE,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CASoC;AAAlC,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,4EAAA,GAAA,EAAA,MAAA,OAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,SAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAS,iCAAuB,CAAA,CAAA,CAAA,CAAA,CAAC;IACjC,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAA8C;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAe;IAAA,EAAA,CAAA,YAAA,EAAO;IACpE,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CAAoE;IAClE,EAAA,CAAA,MAAA,CAAA,CAAA,CACF;AACF,IADE,iBAAW,EACJ;;;;AATP,IADA,mEAAuD,CAAA,mCAAA,EAAA,OAAA,CAAA,MAAA,CACA;IACvD,EAAA,CAAA,UAAA,CAAA,UAAA,EAAA,MAAA,CAAA,QAAA,EAAA,CAAuB;;IAIuB,EAAA,CAAA,SAAA,CAAA,CAAA,CAAe;IAAf,EAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,IAAA,CAAe;IAE3D,EAAA,CAAA,SAAA,CAAA,CAAA,CACF;IADE,EAAA,CAAA,kBAAA,CAAA,GAAA,EAAA,OAAA,CAAA,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oBAClB,aAAa;oBACb,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,eAAe;oBACf,mBAAmB;AACpB,iBAAA,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,oBAAA,OAAO,EAAE,qBAAqB;AAC9B,oBAAA,WAAW,EAAE,MAAM;AACpB,iBAAA,EAAA,QAAA,EAAA,+3HAAA,EAAA,MAAA,EAAA,CAAA,ylHAAA,CAAA,EAAA;;kFAEU,uBAAuB,EAAA,EAAA,SAAA,EAAA,yBAAA,EAAA,QAAA,EAAA,0FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-required-inputs.component-Dr0P1gin.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.ts"],"sourcesContent":["@if (chips().length) {\n<div class=\"lib-required-inputs__chips\" role=\"list\" aria-label=\"Required inputs\">\n @for (chip of chips(); track chip.name) {\n <button\n type=\"button\"\n role=\"listitem\"\n class=\"lib-required-inputs__chip\"\n [class.lib-required-inputs__chip--linked]=\"chip.linked\"\n [class.lib-required-inputs__chip--active]=\"chip.active\"\n [disabled]=\"disabled()\"\n [attr.aria-pressed]=\"chip.active\"\n [attr.aria-label]=\"chip.name + (chip.linked ? ', linked' : ', not linked')\"\n (click)=\"toggleActive(chip.name)\">\n <span class=\"lib-required-inputs__chip-label\">{{ chip.name }}</span>\n <mat-icon class=\"lib-required-inputs__chip-icon\" aria-hidden=\"true\">\n {{ chip.linked ? 'link' : 'link_off' }}\n </mat-icon>\n </button>\n }\n</div>\n} @else {\n<lib-empty-state icon=\"link_off\" message=\"No required inputs to configure.\" />\n}\n\n@if (inEdit(); as edit) {\n<div class=\"lib-required-inputs__panel\">\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Input handling method</mat-label>\n <mat-select\n [value]=\"activeType()\"\n [disabled]=\"disabled()\"\n (selectionChange)=\"selectType($event.value)\">\n <mat-option [value]=\"minInputTypes.Default\">Default value</mat-option>\n <mat-option [value]=\"minInputTypes.MapTo\">Map to a form input</mat-option>\n <mat-option [value]=\"minInputTypes.MapDocFilter\">Filter by an input value</mat-option>\n </mat-select>\n <mat-hint>Choose how this required input is resolved</mat-hint>\n </mat-form-field>\n\n @if (activeType() === minInputTypes.Default) {\n <mat-form-field\n class=\"lib-required-inputs__field\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\">\n <mat-label>Default value</mat-label>\n <input\n matInput\n [ngModel]=\"edit.defaultValue\"\n [disabled]=\"disabled()\"\n (ngModelChange)=\"setDefaultValue($event)\"\n placeholder=\"Enter a default value\" />\n <mat-hint>Used when no value is supplied at runtime</mat-hint>\n </mat-form-field>\n }\n\n @if (showMapList()) {\n <p class=\"lib-required-inputs__list-label\">\n Link <strong>{{ activeInput() }}</strong> to a form input\n </p>\n\n @if (mapTargets().length) {\n <mat-nav-list class=\"lib-required-inputs__list\">\n {{mapTargets().length}}\n @for (target of mapTargets(); track target.id) {\n <mat-list-item\n class=\"lib-required-inputs__item\"\n matRipple\n role=\"button\"\n [disabled]=\"disabled() || !target.mappable\"\n [activated]=\"target.selected\"\n [attr.aria-pressed]=\"target.selected\"\n [attr.aria-label]=\"target.ariaLabel\"\n (click)=\"toggleMap(target); $event.stopPropagation()\">\n <mat-icon\n matListItemAvatar\n class=\"lib-required-inputs__avatar\"\n aria-hidden=\"true\">\n {{ target.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-required-inputs__item-title\">{{ target.label }}</span>\n <span matListItemLine class=\"lib-required-inputs__item-meta\">\n <span>{{ target.formControlName }}</span>\n @if (target.dataType) {\n <span>{{ target.dataType }}</span>\n }\n </span>\n <mat-icon\n matListItemMeta\n class=\"lib-required-inputs__indicator\"\n [class.lib-required-inputs__indicator--on]=\"target.selected\"\n aria-hidden=\"true\">\n {{ target.selected ? 'check_circle' : 'radio_button_unchecked' }}\n </mat-icon>\n </mat-list-item>\n }\n </mat-nav-list>\n } @else {\n <lib-empty-state icon=\"add_link\" message=\"Add form inputs before mapping this input.\" />\n }\n }\n\n <div class=\"lib-required-inputs__actions\">\n <button type=\"button\" mat-flat-button color=\"primary\" (click)=\"close()\">Done</button>\n </div>\n</div>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n linkedSignal,\n output,\n signal,\n} from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatListModule } from '@angular/material/list';\nimport { MatRippleModule } from '@angular/material/core';\nimport { MatSelectModule } from '@angular/material/select';\nimport { FormsModule } from '@angular/forms';\nimport {\n ElementTypes,\n FormColumnInputs,\n InputDataTypes,\n MinInputMapInput,\n MinInputTypes,\n MinimumInputRequiredInterface,\n} from 'ngx-t-forms-types';\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\n/** A required input decorated with the derived view-model fields the chip row renders. */\ninterface RequiredInputChip {\n readonly name: string;\n readonly linked: boolean;\n readonly active: boolean;\n}\n\n/** A mappable form input decorated with the derived view-model fields the list renders. */\ninterface MapTarget {\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly formControlName: string;\n readonly dataType: string;\n readonly selected: boolean;\n readonly mappable: boolean;\n readonly ariaLabel: string;\n}\n\n/**\n * Internal editor element for configuring a form's required (minimum) inputs.\n * Child of `t-dynamic-data-edit`, which supplies the field label, hint, and\n * validation errors — so this component owns only the chip row + edit content.\n *\n * Each required input can be handled three ways: a literal default value, a\n * single-input map (`MapTo`), or a multi-input filter (`MapDocFilter`).\n * Re-selecting the active handling method, chip, or a mapped input toggles it\n * off again.\n */\n@Component({\n selector: 'lib-required-inputs',\n imports: [\n FormsModule,\n MatButtonModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatRippleModule,\n MatSelectModule,\n EmptyStateComponent,\n ],\n templateUrl: './required-inputs.component.html',\n styleUrl: './required-inputs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-required-inputs',\n '[attr.id]': 'id()',\n },\n})\nexport class RequiredInputsComponent {\n /** Handling-method enum, exposed to the template. */\n protected readonly minInputTypes = MinInputTypes;\n\n /**\n * Required-input descriptors to render. Heterogeneous wrapper binding — the\n * parent feeds whatever the editor config holds; narrowing here would force\n * wrapper changes.\n */\n readonly value = input<readonly MinimumInputRequiredInterface[]>([]);\n\n /** All available form inputs the user can map a required input to. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disable user interaction. */\n readonly disabled = input<boolean>(false);\n\n /**\n * Validation errors passed down by the parent editor. Retained on the contract\n * but not rendered here — `t-dynamic-data-edit` owns error display.\n */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Optional id attribute supplied by the parent editor (used to disambiguate). */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the mutated required-input list whenever the user changes a mapping. */\n readonly valueChanged = output<MinimumInputRequiredInterface[]>();\n\n /**\n * Local, immutable working copy of `value`. Tracks the bound value (the parent\n * re-feeds it after each emit) but stays locally overridable; mutations always\n * produce a new array, and entries are cloned so the parent's array is never\n * mutated in place.\n */\n readonly #workingValue = linkedSignal<readonly MinimumInputRequiredInterface[]>(() =>\n this.value().map((item) => ({ ...item })),\n );\n\n /** Name of the required input currently open in the edit panel; `''` when none. */\n protected readonly activeInput = signal<string>('');\n\n /** The chip row: one entry per required input, with derived link/active state. */\n protected readonly chips = computed<readonly RequiredInputChip[]>(() => {\n const active = this.activeInput();\n return this.#workingValue().map((item) => ({\n name: item.name,\n linked: this.#isLinked(item),\n active: item.name === active,\n }));\n });\n\n /** The required input currently being edited, or `undefined` when none is active. */\n protected readonly inEdit = computed<MinimumInputRequiredInterface | undefined>(() => {\n const active = this.activeInput();\n if (!active) {\n return undefined;\n }\n return this.#workingValue().find((item) => item.name === active);\n });\n\n /** Handling method of the input in edit; `null` keeps the `mat-select` empty. */\n protected readonly activeType = computed<MinInputTypes | null>(() => {\n const type = this.inEdit()?.type;\n return type === MinInputTypes.Default ||\n type === MinInputTypes.MapTo ||\n type === MinInputTypes.MapDocFilter\n ? type\n : null;\n });\n\n /** Whether the edit panel should show the mappable-input list. */\n protected readonly showMapList = computed<boolean>(() => {\n const type = this.activeType();\n return type === MinInputTypes.MapTo || type === MinInputTypes.MapDocFilter;\n });\n\n /**\n * The list of mappable form inputs for the input in edit. Single-select\n * (`MapTo`) collapses to the chosen input once one is picked; multi-select\n * (`MapDocFilter`) always shows the full list with each chosen input flagged.\n */\n protected readonly mapTargets = computed<readonly MapTarget[]>(() => {\n const edit = this.inEdit();\n if (!edit) {\n return [];\n }\n const all = this.formInputs().map((item) => this.#toTarget(item, edit));\n if (edit.type === MinInputTypes.MapTo) {\n const selected = all.find((target) => target.selected);\n return selected ? [selected] : all;\n }\n return all;\n });\n\n /** Toggle the edit panel for a required input. Re-selecting the active one closes it. */\n protected toggleActive(name: string): void {\n if (this.disabled()) {\n return;\n }\n this.activeInput.update((current) => (current === name ? '' : name));\n }\n\n /** Close the edit panel without changing anything. */\n protected close(): void {\n this.activeInput.set('');\n }\n\n /** Choose (or, when re-selected, clear) the handling method for the input in edit. */\n protected selectType(type: MinInputTypes): void {\n this.#patchActive((current) => {\n if (current.type === type) {\n return { ...current, type: undefined, mapTo: undefined, defaultValue: undefined };\n }\n return {\n ...current,\n type,\n mapTo: type === MinInputTypes.MapDocFilter ? [] : undefined,\n defaultValue: type === MinInputTypes.Default ? current.defaultValue : undefined,\n };\n });\n }\n\n /** Update the literal default value of the input in edit. */\n protected setDefaultValue(value: string): void {\n this.#patchActive((current) => ({ ...current, defaultValue: value }));\n }\n\n /**\n * Map (or, when re-selected, unmap) a form input to the input in edit. `MapTo`\n * holds a single mapping; `MapDocFilter` accumulates a list.\n */\n protected toggleMap(target: MapTarget): void {\n if (this.disabled() || !target.mappable) {\n return;\n }\n const mapping = this.#toMapping(target);\n this.#patchActive((current) => {\n if (current.type === MinInputTypes.MapTo) {\n const existing = this.#asSingle(current.mapTo);\n const sameSelected = existing?.formControlName === mapping.formControlName;\n return { ...current, mapTo: sameSelected ? undefined : mapping };\n }\n if (current.type === MinInputTypes.MapDocFilter) {\n const list = this.#asList(current.mapTo);\n const has = list.some((m) => m.formControlName === mapping.formControlName);\n return {\n ...current,\n mapTo: has\n ? list.filter((m) => m.formControlName !== mapping.formControlName)\n : [...list, mapping],\n };\n }\n return current;\n });\n }\n\n /** Replace the active entry via `patch` and emit the new list. */\n #patchActive(\n patch: (current: MinimumInputRequiredInterface) => MinimumInputRequiredInterface,\n ): void {\n const active = this.activeInput();\n let changed = false;\n const next = this.#workingValue().map((item) => {\n if (item.name !== active) {\n return item;\n }\n changed = true;\n return patch(item);\n });\n if (!changed) {\n return;\n }\n this.#workingValue.set(next);\n this.valueChanged.emit([...next]);\n }\n\n #isLinked(item: MinimumInputRequiredInterface): boolean {\n if (item.type === MinInputTypes.Default) {\n return !!item.defaultValue;\n }\n if (item.type === MinInputTypes.MapTo) {\n return !!this.#asSingle(item.mapTo);\n }\n if (item.type === MinInputTypes.MapDocFilter) {\n return this.#asList(item.mapTo).length > 0;\n }\n return false;\n }\n\n #toTarget(item: FormColumnInputs, edit: MinimumInputRequiredInterface): MapTarget {\n const mappable = item.element !== ElementTypes.SectionTitle;\n const selected = this.#isMapped(edit, item.formControlName);\n return {\n id: item.id,\n label: item.label,\n icon: getInputIcon(item.element),\n formControlName: item.formControlName,\n dataType: item.dataType ?? '',\n selected,\n mappable,\n ariaLabel: `${item.label}.${mappable ? '' : ' Not mappable.'}`,\n };\n }\n\n #isMapped(edit: MinimumInputRequiredInterface, formControlName: string): boolean {\n if (edit.type === MinInputTypes.MapTo) {\n return this.#asSingle(edit.mapTo)?.formControlName === formControlName;\n }\n if (edit.type === MinInputTypes.MapDocFilter) {\n return this.#asList(edit.mapTo).some((m) => m.formControlName === formControlName);\n }\n return false;\n }\n\n #toMapping(target: MapTarget): MinInputMapInput {\n const source = this.formInputs().find((item) => item.id === target.id);\n return {\n formControlName: target.formControlName,\n dataType: source?.dataType ?? InputDataTypes.String,\n element: source?.element ?? ElementTypes.Input,\n inputId: target.id,\n };\n }\n\n #asSingle(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): MinInputMapInput | undefined {\n if (!mapTo || Array.isArray(mapTo)) {\n return undefined;\n }\n // `Array.isArray` does not narrow a `readonly[]` out of the union, so assert\n // the remaining single-mapping shape after the guard.\n return mapTo as MinInputMapInput;\n }\n\n #asList(\n mapTo: MinInputMapInput | readonly MinInputMapInput[] | undefined,\n ): readonly MinInputMapInput[] {\n return Array.isArray(mapTo) ? mapTo : [];\n }\n}\n"],"names":["i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAGE,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CASoC;AAAlC,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,4EAAA,GAAA,EAAA,MAAA,OAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,SAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAS,iCAAuB,CAAA,CAAA,CAAA,CAAA,CAAC;IACjC,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAA8C;IAAA,EAAA,CAAA,MA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,EAAA,CAAA,OAAA,EACb,cAAc,EAAAC,IAAA,CAAA,QAAA,EACd,aAAa,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,CAAA,eAAA,EACb,eAAe,EAAA,EAAA,CAAA,SAAA,EACf,eAAe,8BACf,mBAAmB,CAAA,EAAA,MAAA,EAAA,CAAA,gpIAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAWV,uBAAuB,EAAA,CAAA;cAtBnC,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EAAA,OAAA,EACtB;oBACP,WAAW;oBACX,eAAe;oBACf,kBAAkB;oBAClB,aAAa;oBACb,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,eAAe;oBACf,mBAAmB;AACpB,iBAAA,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,oBAAA,OAAO,EAAE,qBAAqB;AAC9B,oBAAA,WAAW,EAAE,MAAM;AACpB,iBAAA,EAAA,QAAA,EAAA,+3HAAA,EAAA,MAAA,EAAA,CAAA,ylHAAA,CAAA,EAAA;;kFAEU,uBAAuB,EAAA,EAAA,SAAA,EAAA,yBAAA,EAAA,QAAA,EAAA,0FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, output, inject, DestroyRef, signal, computed, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { JsDataTypes, DataSources } from 'ngx-t-forms-types';
4
- import { j as TreeComponent, k as convertPostmanFolderItemsToTree, _ as _isEqual, E as EmptyStateComponent, l as ErrorListComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
4
+ import { j as TreeComponent, k as convertPostmanFolderItemsToTree, _ as _isEqual, E as EmptyStateComponent, l as ErrorListComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
5
5
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
6
  import { HttpClient, HttpErrorResponse } from '@angular/common/http';
7
7
  import { take, tap, catchError, throwError } from 'rxjs';
@@ -9,7 +9,7 @@ import * as i1 from '@angular/material/tree';
9
9
  import { MatTreeModule } from '@angular/material/tree';
10
10
  import * as i3 from '@angular/material/icon';
11
11
  import { MatIconModule } from '@angular/material/icon';
12
- import * as i1$1 from '@angular/material/button';
12
+ import * as i2 from '@angular/material/button';
13
13
  import { MatButtonModule } from '@angular/material/button';
14
14
  import * as i4 from '@angular/material/progress-spinner';
15
15
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
@@ -318,7 +318,7 @@ class PostmanCollectionsComponent {
318
318
  i0.ɵɵconditionalCreate(0, PostmanCollectionsComponent_Conditional_0_Template, 2, 0, "div", 0)(1, PostmanCollectionsComponent_Conditional_1_Template, 4, 2);
319
319
  } if (rf & 2) {
320
320
  i0.ɵɵconditional(ctx.loading() ? 0 : 1);
321
- } }, dependencies: [MatTreeModule, i1.MatTreeNodeDef, i1.MatTreeNodePadding, i1.MatTreeNodeToggle, i1.MatTree, i1.MatTreeNode, MatIconModule, i3.MatIcon, MatButtonModule, i1$1.MatButton, i1$1.MatIconButton, MatProgressSpinnerModule, i4.MatProgressSpinner, MatTooltipModule, i5.MatTooltip, SearchFieldComponent,
321
+ } }, dependencies: [MatTreeModule, i1.MatTreeNodeDef, i1.MatTreeNodePadding, i1.MatTreeNodeToggle, i1.MatTree, i1.MatTreeNode, MatIconModule, i3.MatIcon, MatButtonModule, i2.MatButton, i2.MatIconButton, MatProgressSpinnerModule, i4.MatProgressSpinner, MatTooltipModule, i5.MatTooltip, SearchFieldComponent,
322
322
  EmptyStateComponent], styles: ["[_nghost-%COMP%]{display:block}.search[_ngcontent-%COMP%]{margin-bottom:1rem}mat-tree[_ngcontent-%COMP%]{background:none}[_nghost-%COMP%] mat-tree-node[_ngcontent-%COMP%]{min-height:28px;height:32px}.toggle[_ngcontent-%COMP%]{padding:0}.folder-icon[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.folder-label[_ngcontent-%COMP%]{margin-left:.5rem;font-weight:500}.item[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:left;text-align:left;font-size:small;font-weight:400;white-space:nowrap;overflow:hidden}.method[_ngcontent-%COMP%]{display:inline-block;width:38px;text-align:right}.line[_ngcontent-%COMP%]{position:absolute;height:32px;left:48px;width:1px;background:color-mix(in srgb,var(--lib-forms-outline) 40%,transparent)}.loading-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;padding:2rem}"], changeDetection: 0 }); }
323
323
  }
324
324
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PostmanCollectionsComponent, [{
@@ -602,7 +602,7 @@ class RestApiCallSetupComponent {
602
602
  } }, dependencies: [PostmanCollectionsComponent,
603
603
  EmptyStateComponent,
604
604
  ErrorListComponent,
605
- MatButtonModule, i1$1.MatButton, MatIconModule, i3.MatIcon, MatTooltipModule, i5.MatTooltip], styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.lib-rest-api-call-setup__card[_ngcontent-%COMP%]{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);padding:.5rem}.lib-rest-api-call-setup__endpoint[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;width:100%;justify-content:flex-start;padding:.5rem .75rem;font-weight:400;text-align:left;color:var(--lib-forms-on-surface);overflow:hidden}.lib-rest-api-call-setup__method[_ngcontent-%COMP%]{flex:0 0 auto;font-size:.625rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.lib-rest-api-call-setup__name[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--lib-forms-on-surface)}.lib-rest-api-call-setup__clear[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--lib-forms-on-surface-variant)}.lib-rest-api-call-setup__picker--disabled[_ngcontent-%COMP%]{opacity:.55;pointer-events:none}.lib-rest-api-call-setup__lock[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.8125rem;line-height:1.4;color:var(--lib-forms-on-surface-variant)}"], changeDetection: 0 }); }
605
+ MatButtonModule, i2.MatButton, MatIconModule, i3.MatIcon, MatTooltipModule, i5.MatTooltip], styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.lib-rest-api-call-setup__card[_ngcontent-%COMP%]{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);padding:.5rem}.lib-rest-api-call-setup__endpoint[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;width:100%;justify-content:flex-start;padding:.5rem .75rem;font-weight:400;text-align:left;color:var(--lib-forms-on-surface);overflow:hidden}.lib-rest-api-call-setup__method[_ngcontent-%COMP%]{flex:0 0 auto;font-size:.625rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.lib-rest-api-call-setup__name[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--lib-forms-on-surface)}.lib-rest-api-call-setup__clear[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--lib-forms-on-surface-variant)}.lib-rest-api-call-setup__picker--disabled[_ngcontent-%COMP%]{opacity:.55;pointer-events:none}.lib-rest-api-call-setup__lock[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.8125rem;line-height:1.4;color:var(--lib-forms-on-surface-variant)}"], changeDetection: 0 }); }
606
606
  }
607
607
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RestApiCallSetupComponent, [{
608
608
  type: Component,
@@ -622,4 +622,4 @@ class RestApiCallSetupComponent {
622
622
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RestApiCallSetupComponent, { className: "RestApiCallSetupComponent", filePath: "lib/components/t-dynamic-data-edit/elements/rest-api-call-setup/rest-api-call-setup.component.ts", lineNumber: 131 }); })();
623
623
 
624
624
  export { RestApiCallSetupComponent };
625
- //# sourceMappingURL=ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map
625
+ //# sourceMappingURL=ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map