ngx-t-forms 2.0.34 → 2.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs} +2 -2
  2. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs.map → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map} +1 -1
  3. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs +261 -0
  4. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map +1 -0
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs} +3 -3
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs.map → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map} +1 -1
  7. package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs +225 -0
  8. package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map +1 -0
  9. package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs +1011 -0
  10. package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map +1 -0
  11. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs} +2 -2
  12. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs.map → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map} +1 -1
  13. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs +136 -0
  14. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map +1 -0
  15. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs} +4 -4
  16. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs.map → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs} +6 -6
  18. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map} +1 -1
  19. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs +253 -0
  20. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map +1 -0
  21. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs +419 -0
  22. package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +1 -0
  23. package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs} +8 -8
  24. package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs.map → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map} +1 -1
  25. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs} +2 -2
  26. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs.map → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map} +1 -1
  27. package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs +231 -0
  28. package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map +1 -0
  29. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs} +2 -2
  30. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs.map → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map} +1 -1
  31. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs +333 -0
  32. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map +1 -0
  33. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs +543 -0
  34. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map +1 -0
  35. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs +373 -0
  36. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map +1 -0
  37. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +1217 -0
  38. package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +1 -0
  39. package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs → ngx-t-forms-document-picker.component-BNQ1a96s.mjs} +5 -5
  40. package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs.map → ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs} +3 -3
  42. package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs.map → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map} +1 -1
  43. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs +447 -0
  44. package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +1 -0
  45. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +251 -0
  46. package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +1 -0
  47. package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs → ngx-t-forms-editor-js-input.component-cxob42pE.mjs} +2 -2
  48. package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs.map → ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map} +1 -1
  49. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs} +6 -6
  50. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs.map → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map} +1 -1
  51. package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs +447 -0
  52. package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map +1 -0
  53. package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs +163 -0
  54. package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map +1 -0
  55. package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs} +4 -4
  56. package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs.map → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs.map → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map} +1 -1
  59. package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs +28 -0
  60. package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map +1 -0
  61. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +291 -0
  62. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +1 -0
  63. package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs} +3 -3
  64. package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs.map → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map} +1 -1
  65. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs +936 -0
  66. package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +1 -0
  67. package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs +389 -0
  68. package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map +1 -0
  69. package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +816 -0
  70. package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs} +11 -11
  72. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs.map → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs → ngx-t-forms-geo-location.component-ChmvJCGu.mjs} +2 -2
  74. package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs.map → ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map} +1 -1
  75. package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +329 -0
  76. package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +1 -0
  77. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs} +6 -6
  78. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs.map → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map} +1 -1
  79. package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +360 -0
  80. package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +1 -0
  81. package/fesm2022/{ngx-t-forms-index-D8TBBLAD.mjs → ngx-t-forms-index-D-7ZX0w7.mjs} +2 -2
  82. package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +2 -0
  84. package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +1 -0
  85. package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +128 -0
  86. package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +1 -0
  87. package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs → ngx-t-forms-input-custom.component-pUshbxSM.mjs} +2 -2
  88. package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs.map → ngx-t-forms-input-custom.component-pUshbxSM.mjs.map} +1 -1
  89. package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +512 -0
  90. package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +1 -0
  91. package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs +190 -0
  92. package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs.map +1 -0
  93. package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs} +4 -4
  94. package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs.map → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map} +1 -1
  95. package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +132 -0
  96. package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map +1 -0
  97. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +109 -0
  98. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +1 -0
  99. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs} +4 -4
  100. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs.map → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map} +1 -1
  101. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +241 -0
  102. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +1 -0
  103. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +180 -0
  104. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +1 -0
  105. package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs} +6 -6
  106. package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs.map → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map} +1 -1
  107. package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +114 -0
  108. package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +1 -0
  109. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +69 -0
  110. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +1 -0
  111. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs} +4 -4
  112. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map} +1 -1
  113. package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +200 -0
  114. package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +1 -0
  115. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs} +2 -2
  116. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs.map → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map} +1 -1
  117. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +850 -0
  118. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +1 -0
  119. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +107 -0
  120. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +1 -0
  121. package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs → ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs} +10 -10
  122. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map +1 -0
  123. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +1665 -0
  124. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map +1 -0
  125. package/fesm2022/{ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs → ngx-t-forms-ngx-t-forms-CJGAj18J.mjs} +2042 -179
  126. package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +1 -0
  127. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs +27352 -0
  128. package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +1 -0
  129. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +1024 -0
  130. package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +1 -0
  131. package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs} +5 -5
  132. package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs.map → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map} +1 -1
  133. package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +234 -0
  134. package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +1 -0
  135. package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs +203 -0
  136. package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map +1 -0
  137. package/fesm2022/{ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs → ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs} +9 -9
  138. package/fesm2022/ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map +1 -0
  139. package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +1126 -0
  140. package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +1 -0
  141. package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs} +4 -4
  142. package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs.map → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map} +1 -1
  143. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +545 -0
  144. package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +1 -0
  145. package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +451 -0
  146. package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +1 -0
  147. package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs} +4 -4
  148. package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs.map → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map} +1 -1
  149. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +625 -0
  150. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +1 -0
  151. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs → ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs} +61 -15
  152. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map +1 -0
  153. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +72 -0
  154. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +1 -0
  155. package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs +248 -0
  156. package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +1 -0
  157. package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs → ngx-t-forms-section-report.component-mUpSxbaB.mjs} +4 -4
  158. package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs.map → ngx-t-forms-section-report.component-mUpSxbaB.mjs.map} +1 -1
  159. package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +408 -0
  160. package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +1 -0
  161. package/fesm2022/{ngx-t-forms-select-input-element.component-CStVMEhv.mjs → ngx-t-forms-select-input-element.component-c7IgHdXA.mjs} +5 -5
  162. package/fesm2022/ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map +1 -0
  163. package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +275 -0
  164. package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map +1 -0
  165. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs} +5 -5
  166. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs.map → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map} +1 -1
  167. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +341 -0
  168. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +1 -0
  169. package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs} +7 -7
  170. package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs.map → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map} +1 -1
  171. package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs} +2 -2
  172. package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs.map → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map} +1 -1
  173. package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs +233 -0
  174. package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +1 -0
  175. package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +305 -0
  176. package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +1 -0
  177. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs} +2 -2
  178. package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs.map → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map} +1 -1
  179. package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs → ngx-t-forms-validators-config.component-DgIVRSvF.mjs} +6 -6
  180. package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs.map → ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map} +1 -1
  181. package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +1105 -0
  182. package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +1 -0
  183. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs} +9 -9
  184. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs.map → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map} +1 -1
  185. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +2923 -0
  186. package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +1 -0
  187. package/fesm2022/ngx-t-forms.mjs +1 -1
  188. package/package.json +8 -2
  189. package/styles/_editor-mixins.scss +55 -0
  190. package/styles/_json-editor-syntax.scss +16 -0
  191. package/types/ngx-t-forms.d.ts +663 -12
  192. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs +0 -368
  193. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs.map +0 -1
  194. package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs +0 -389
  195. package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-index-D8TBBLAD.mjs.map +0 -1
  197. package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs +0 -193
  198. package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs.map +0 -1
  199. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs.map +0 -1
  201. package/fesm2022/ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs.map +0 -1
  203. package/fesm2022/ngx-t-forms-select-input-element.component-CStVMEhv.mjs.map +0 -1
@@ -0,0 +1,132 @@
1
+ import * as i0 from '@angular/core';
2
+ import { output, ChangeDetectionStrategy, Component, Optional, Self, Input } from '@angular/core';
3
+ import { MatFormFieldControl } from '@angular/material/form-field';
4
+ import { Subject } from 'rxjs';
5
+ import { o as DataTreeComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
6
+ import { CommonModule } from '@angular/common';
7
+ import * as i1 from '@angular/forms';
8
+
9
+ class MapMatOptionsKeys {
10
+ static { this.nextId = 0; }
11
+ set mapToData(value) {
12
+ this._mapToData = value;
13
+ console.error('mapToData changed', value);
14
+ }
15
+ ;
16
+ get mapToData() {
17
+ return this._mapToData;
18
+ }
19
+ constructor(ngControl, _elementRef) {
20
+ this.ngControl = ngControl;
21
+ this._elementRef = _elementRef;
22
+ // -- MatFormFieldControl Boilerplate --
23
+ this.stateChanges = new Subject();
24
+ this.id = `lib-map-mat-options-keys-${MapMatOptionsKeys.nextId++}`;
25
+ this.placeholder = '';
26
+ this.focused = false;
27
+ this.touched = false;
28
+ this.required = false;
29
+ // -- Inputs --
30
+ this.disabled = false;
31
+ this.errors = [];
32
+ this.value = null;
33
+ this.formInputs = [];
34
+ // -- Outputs --
35
+ this.valueChanged = output();
36
+ this.onTouched = () => { };
37
+ if (this.ngControl) {
38
+ this.ngControl.valueAccessor = this;
39
+ }
40
+ }
41
+ ngOnDestroy() {
42
+ this.stateChanges.complete();
43
+ }
44
+ // -- Getters for Template --
45
+ get empty() {
46
+ if (this.value == null)
47
+ return true;
48
+ if (typeof this.value === 'string')
49
+ return this.value === '';
50
+ return Array.isArray(this.value) && this.value.length === 0;
51
+ }
52
+ get shouldLabelFloat() {
53
+ return this.focused || !this.empty;
54
+ }
55
+ get errorState() {
56
+ const hasError = !!this.ngControl?.control?.errors ||
57
+ ((this.errors?.length ?? 0) > 0 && this.touched);
58
+ return (!this.value && !!this.required) || hasError;
59
+ }
60
+ // -- MatFormFieldControl Methods --
61
+ setDescribedByIds(ids) {
62
+ if (this._elementRef?.nativeElement) {
63
+ const controlElement = this._elementRef.nativeElement.querySelector('.lib-map-mat-options-keys');
64
+ if (controlElement) {
65
+ controlElement.setAttribute('aria-describedby', ids.join(' '));
66
+ }
67
+ }
68
+ }
69
+ onContainerClick(_event) {
70
+ this.markAsTouched();
71
+ this.stateChanges.next();
72
+ }
73
+ markAsTouched() {
74
+ if (!this.touched) {
75
+ this.onTouched();
76
+ this.touched = true;
77
+ }
78
+ }
79
+ // -- ControlValueAccessor --
80
+ writeValue(value) {
81
+ this.value = value;
82
+ this.stateChanges.next();
83
+ }
84
+ registerOnChange(_fn) {
85
+ // Handled by parent or ngControl usually, but good practice to have stub
86
+ }
87
+ registerOnTouched(fn) {
88
+ this.onTouched = fn;
89
+ }
90
+ pathChanged(path) {
91
+ if (!Array.isArray(path) && typeof path !== 'string')
92
+ return;
93
+ this.value = path;
94
+ this.valueChanged.emit(path);
95
+ this.stateChanges.next();
96
+ }
97
+ static { this.ɵfac = function MapMatOptionsKeys_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MapMatOptionsKeys)(i0.ɵɵdirectiveInject(i1.NgControl, 10), i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
98
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapMatOptionsKeys, selectors: [["lib-map-mat-options-keys"]], hostVars: 1, hostBindings: function MapMatOptionsKeys_HostBindings(rf, ctx) { if (rf & 2) {
99
+ i0.ɵɵdomProperty("id", ctx.id);
100
+ } }, inputs: { disabled: "disabled", errors: "errors", value: "value", formInputs: "formInputs", mapToData: "mapToData" }, outputs: { valueChanged: "valueChanged" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: MapMatOptionsKeys }])], decls: 2, vars: 3, consts: [[1, "lib-map-mat-options-keys"], [3, "pathChanged", "data", "value", "formInputs"]], template: function MapMatOptionsKeys_Template(rf, ctx) { if (rf & 1) {
101
+ i0.ɵɵelementStart(0, "div", 0)(1, "lib-data-tree", 1);
102
+ i0.ɵɵlistener("pathChanged", function MapMatOptionsKeys_Template_lib_data_tree_pathChanged_1_listener($event) { return ctx.pathChanged($event); });
103
+ i0.ɵɵelementEnd()();
104
+ } if (rf & 2) {
105
+ i0.ɵɵadvance();
106
+ i0.ɵɵproperty("data", ctx.mapToData)("value", ctx.value || "")("formInputs", ctx.formInputs);
107
+ } }, dependencies: [DataTreeComponent, CommonModule], styles: [".suggestion-container[_ngcontent-%COMP%]{display:flex;width:100%;gap:.875rem}.docType[_ngcontent-%COMP%]{width:min-content;margin-block:auto}mat-card[_ngcontent-%COMP%]{margin-bottom:.5rem;background:var(--lib-forms-surface-container)}"], changeDetection: 0 }); }
108
+ }
109
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapMatOptionsKeys, [{
110
+ type: Component,
111
+ args: [{ selector: 'lib-map-mat-options-keys', imports: [DataTreeComponent, CommonModule], providers: [{ provide: MatFormFieldControl, useExisting: MapMatOptionsKeys }], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
112
+ '[id]': 'id',
113
+ }, template: "<div class=\"lib-map-mat-options-keys\">\r\n <lib-data-tree\r\n [data]=\"mapToData\"\r\n [value]=\"value || ''\"\r\n [formInputs]=\"formInputs\"\r\n (pathChanged)=\"pathChanged($event)\">\r\n </lib-data-tree>\r\n</div>\r\n", styles: [".suggestion-container{display:flex;width:100%;gap:.875rem}.docType{width:min-content;margin-block:auto}mat-card{margin-bottom:.5rem;background:var(--lib-forms-surface-container)}\n"] }]
114
+ }], () => [{ type: i1.NgControl, decorators: [{
115
+ type: Optional
116
+ }, {
117
+ type: Self
118
+ }] }, { type: i0.ElementRef }], { disabled: [{
119
+ type: Input
120
+ }], errors: [{
121
+ type: Input
122
+ }], value: [{
123
+ type: Input
124
+ }], formInputs: [{
125
+ type: Input
126
+ }], mapToData: [{
127
+ type: Input
128
+ }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] }); })();
129
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MapMatOptionsKeys, { className: "MapMatOptionsKeys", filePath: "lib/components/t-dynamic-data-edit/elements/map-mat-options-keys/map-mat-options-keys.ts", lineNumber: 31 }); })();
130
+
131
+ export { MapMatOptionsKeys };
132
+ //# sourceMappingURL=ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/map-mat-options-keys/map-mat-options-keys.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/map-mat-options-keys/map-mat-options-keys.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n Input,\r\n OnDestroy,\r\n Optional,\r\n Self,\r\n output,\r\n} from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { Subject } from 'rxjs';\r\nimport { IConfigElementError } from '../../t-dynamic-data-edit.component';\r\nimport { FormColumnInputs, TreeNode } from 'ngx-t-forms-types';\r\nimport { DataTreeComponent } from '../api-value-access-rules/elements/data-tree/data-tree.component';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'lib-map-mat-options-keys',\r\n imports: [DataTreeComponent,CommonModule],\r\n providers: [{ provide: MatFormFieldControl, useExisting: MapMatOptionsKeys }],\r\n standalone: true,\r\n templateUrl: './map-mat-options-keys.html',\r\n styleUrl: './map-mat-options-keys.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: {\r\n '[id]': 'id',\r\n },\r\n})\r\nexport class MapMatOptionsKeys implements MatFormFieldControl<TreeNode[] | string | null>, OnDestroy {\r\n static nextId = 0;\r\n private _mapToData: unknown;\r\n // -- MatFormFieldControl Boilerplate --\r\n stateChanges = new Subject<void>();\r\n id = `lib-map-mat-options-keys-${MapMatOptionsKeys.nextId++}`;\r\n placeholder = '';\r\n focused = false;\r\n touched = false;\r\n controlType?: string | undefined;\r\n autofilled?: boolean | undefined;\r\n userAriaDescribedBy?: string | undefined;\r\n disableAutomaticLabeling?: boolean | undefined;\r\n required = false;\r\n\r\n // -- Inputs --\r\n @Input() disabled = false;\r\n @Input() errors: IConfigElementError[] | undefined = [];\r\n @Input() value: TreeNode[] | string | null = null;\r\n @Input() formInputs: FormColumnInputs[] = [];\r\n @Input() set mapToData(value: unknown){\r\n this._mapToData = value;\r\n console.error('mapToData changed', value);\r\n };\r\n get mapToData(): unknown {\r\n return this._mapToData;\r\n }\r\n\r\n // -- Outputs --\r\n readonly valueChanged = output<TreeNode[] | string | null>();\r\n\r\n constructor(\r\n @Optional() @Self() public ngControl: NgControl,\r\n private _elementRef: ElementRef<HTMLElement>\r\n ) {\r\n if (this.ngControl) {\r\n this.ngControl.valueAccessor = this;\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.stateChanges.complete();\r\n }\r\n\r\n // -- Getters for Template --\r\n get empty(): boolean {\r\n if (this.value == null) return true;\r\n if (typeof this.value === 'string') return this.value === '';\r\n return Array.isArray(this.value) && this.value.length === 0;\r\n }\r\n\r\n get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n get errorState(): boolean {\r\n const hasError =\r\n !!this.ngControl?.control?.errors ||\r\n ((this.errors?.length ?? 0) > 0 && this.touched);\r\n return (!this.value && !!this.required) || hasError;\r\n }\r\n\r\n // -- MatFormFieldControl Methods --\r\n setDescribedByIds(ids: string[]): void {\r\n if (this._elementRef?.nativeElement) {\r\n const controlElement = this._elementRef.nativeElement.querySelector(\r\n '.lib-map-mat-options-keys'\r\n );\r\n if (controlElement) {\r\n controlElement.setAttribute('aria-describedby', ids.join(' '));\r\n }\r\n }\r\n }\r\n\r\n onContainerClick(_event: MouseEvent): void {\r\n this.markAsTouched();\r\n this.stateChanges.next();\r\n }\r\n\r\n onTouched = (): void => { };\r\n\r\n markAsTouched(): void {\r\n if (!this.touched) {\r\n this.onTouched();\r\n this.touched = true;\r\n }\r\n }\r\n\r\n // -- ControlValueAccessor --\r\n writeValue(value: TreeNode[] | string | null): void {\r\n this.value = value;\r\n this.stateChanges.next();\r\n }\r\n\r\n registerOnChange(_fn: (value: TreeNode[] | string | null) => void): void {\r\n // Handled by parent or ngControl usually, but good practice to have stub\r\n }\r\n\r\n registerOnTouched(fn: () => void): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n pathChanged(path: TreeNode[] | string): void {\r\n if (!Array.isArray(path) && typeof path !== 'string') return;\r\n this.value = path;\r\n this.valueChanged.emit(path);\r\n this.stateChanges.next();\r\n }\r\n\r\n \r\n}\r\n","<div class=\"lib-map-mat-options-keys\">\r\n <lib-data-tree\r\n [data]=\"mapToData\"\r\n [value]=\"value || ''\"\r\n [formInputs]=\"formInputs\"\r\n (pathChanged)=\"pathChanged($event)\">\r\n </lib-data-tree>\r\n</div>\r\n"],"names":[],"mappings":";;;;;;;;MA8Ba,iBAAiB,CAAA;aACrB,IAAA,CAAA,MAAM,GAAG,CAAH,CAAK;IAmBlB,IAAa,SAAS,CAAC,KAAc,EAAA;AACnC,QAAA,IAAI,CAAC,UAAU,GAAG,KAAK;AACvB,QAAA,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,CAAC;IAC3C;;AACA,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,UAAU;IACxB;IAKA,WAAA,CAC6B,SAAoB,EACvC,WAAoC,EAAA;QADjB,IAAA,CAAA,SAAS,GAAT,SAAS;QAC5B,IAAA,CAAA,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AAA,CAAA,UAAA,CAAA,MAAA,EAAA,GAAA,CAAA,SAAA,CAAkB,CAAA,OAAA,EAAA,GAAA,CAAA,KAAA,IAAA,EAAA,CACG,CAAA,YAAA,EAAA,GAAA,CAAA,UAAA,CACI;ADgBjB,QAAA,CAAA,CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,iBAAiB,EAAC,YAAY,CAAA,EAAA,MAAA,EAAA,CAAA,6OAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAU7B,iBAAiB,EAAA,CAAA;cAZ7B,SAAS;2BACE,0BAA0B,EAAA,OAAA,EAC3B,CAAC,iBAAiB,EAAC,YAAY,CAAC,EAAA,SAAA,EAC9B,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAA,iBAAmB,EAAE,CAAC,EAAA,UAAA,EACjE,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,oBAAA,MAAM,EAAE,IAAI;AACb,iBAAA,EAAA,QAAA,EAAA,8OAAA,EAAA,MAAA,EAAA,CAAA,sLAAA,CAAA,EAAA;;sBAkCE;;sBAAY;;kBAhBd;;kBACA;;kBACA;;kBACA;;kBACA;;kFApBU,iBAAiB,EAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,0FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -0,0 +1,109 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, input, output, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import * as i4 from '@angular/material/chips';
4
+ import { MatChipsModule } from '@angular/material/chips';
5
+ import { S as SearchFieldComponent } from './ngx-t-forms-search-field.component-BGdAmzJV.mjs';
6
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs';
7
+
8
+ const _c0 = () => [];
9
+ const _forTrack0 = ($index, $item) => $item.value + "-" + $index;
10
+ function MatChipListEditorComponent_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
11
+ i0.ɵɵelementStart(0, "mat-chip-option", 4);
12
+ i0.ɵɵtext(1);
13
+ i0.ɵɵelementEnd();
14
+ } if (rf & 2) {
15
+ const option_r3 = ctx.$implicit;
16
+ i0.ɵɵproperty("value", option_r3.value);
17
+ i0.ɵɵadvance();
18
+ i0.ɵɵtextInterpolate(option_r3.label);
19
+ } }
20
+ function MatChipListEditorComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
21
+ const _r1 = i0.ɵɵgetCurrentView();
22
+ i0.ɵɵelementStart(0, "mat-chip-listbox", 3);
23
+ i0.ɵɵlistener("change", function MatChipListEditorComponent_Conditional_1_Template_mat_chip_listbox_change_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.valueListChanged($event)); });
24
+ i0.ɵɵrepeaterCreate(1, MatChipListEditorComponent_Conditional_1_For_2_Template, 2, 2, "mat-chip-option", 4, _forTrack0);
25
+ i0.ɵɵelementEnd();
26
+ } if (rf & 2) {
27
+ const ctx_r1 = i0.ɵɵnextContext();
28
+ i0.ɵɵproperty("multiple", ctx_r1.multiple())("value", ctx_r1.value())("disabled", ctx_r1.disabled());
29
+ i0.ɵɵadvance();
30
+ i0.ɵɵrepeater(ctx_r1.filteredOptions());
31
+ } }
32
+ function MatChipListEditorComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
33
+ i0.ɵɵelement(0, "lib-empty-state", 2);
34
+ } if (rf & 2) {
35
+ const ctx_r1 = i0.ɵɵnextContext();
36
+ i0.ɵɵproperty("message", (ctx_r1.options() || i0.ɵɵpureFunction0(1, _c0)).length ? "No options match your search" : "No options available");
37
+ } }
38
+ /**
39
+ * Chip-select editor: a searchable {@link MatChipsModule} listbox over a set of
40
+ * options, single- or multi-select. Renders inside `t-dynamic-data-edit`, which
41
+ * supplies the field label, hint, and validation errors — so this component owns
42
+ * only the search + chip content.
43
+ */
44
+ class MatChipListEditorComponent {
45
+ constructor() {
46
+ this.hostId = signal(`lib-mat-chip-list-editor-${MatChipListEditorComponent.nextId++}`, ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
47
+ this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
48
+ this.multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : /* istanbul ignore next */ []));
49
+ this.required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
50
+ this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
51
+ // Internal `any` retained — wrapper templates bind heterogeneous value types
52
+ // (DataSources, string[], etc.); narrowing here would force wrapper changes.
53
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- wrappers bind heterogeneous chip-value payloads (DataSources, string[]).
54
+ this.value = input(undefined, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
55
+ this.options = input([], ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
56
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- emits whatever shape `value` was bound to; narrows once wrappers tighten.
57
+ this.valueChange = output();
58
+ /** Free-text search term (two-way bound to the search field). */
59
+ this.search = signal('', ...(ngDevMode ? [{ debugName: "search" }] : /* istanbul ignore next */ []));
60
+ /**
61
+ * Options matching the search term. Matches the visible label, the group, and
62
+ * a string value (the same reachable-string-leaf semantics the old
63
+ * `searchList` pipe applied, minus its now-removed nested-object scan).
64
+ */
65
+ this.filteredOptions = computed(() => {
66
+ const term = this.search().trim().toLowerCase();
67
+ const all = this.options() ?? [];
68
+ if (!term)
69
+ return all;
70
+ return all.filter((option) => {
71
+ const haystacks = [
72
+ option.label,
73
+ option.group,
74
+ typeof option.value === 'string' ? option.value : undefined,
75
+ ];
76
+ return haystacks.some((text) => typeof text === 'string' && text.toLowerCase().includes(term));
77
+ });
78
+ }, ...(ngDevMode ? [{ debugName: "filteredOptions" }] : /* istanbul ignore next */ []));
79
+ }
80
+ static { this.nextId = 0; }
81
+ valueListChanged($event) {
82
+ this.valueChange.emit($event.value);
83
+ }
84
+ static { this.ɵfac = function MatChipListEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatChipListEditorComponent)(); }; }
85
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MatChipListEditorComponent, selectors: [["lib-mat-chip-list-editor"]], hostAttrs: [1, "lib-mat-chip-list-editor"], hostVars: 1, hostBindings: function MatChipListEditorComponent_HostBindings(rf, ctx) { if (rf & 2) {
86
+ i0.ɵɵdomProperty("id", ctx.hostId());
87
+ } }, inputs: { disabled: [1, "disabled"], multiple: [1, "multiple"], required: [1, "required"], errors: [1, "errors"], value: [1, "value"], options: [1, "options"] }, outputs: { valueChange: "valueChange" }, decls: 3, vars: 3, consts: [["placeholder", "Search options", 3, "valueChange", "value", "resultCount"], ["aria-label", "Chip select options", 1, "lib-mat-chip-list-editor__listbox", 3, "multiple", "value", "disabled"], ["icon", "search_off", 3, "message"], ["aria-label", "Chip select options", 1, "lib-mat-chip-list-editor__listbox", 3, "change", "multiple", "value", "disabled"], [3, "value"]], template: function MatChipListEditorComponent_Template(rf, ctx) { if (rf & 1) {
88
+ i0.ɵɵelementStart(0, "lib-search-field", 0);
89
+ i0.ɵɵtwoWayListener("valueChange", function MatChipListEditorComponent_Template_lib_search_field_valueChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.search, $event) || (ctx.search = $event); return $event; });
90
+ i0.ɵɵelementEnd();
91
+ i0.ɵɵconditionalCreate(1, MatChipListEditorComponent_Conditional_1_Template, 3, 3, "mat-chip-listbox", 1)(2, MatChipListEditorComponent_Conditional_2_Template, 1, 2, "lib-empty-state", 2);
92
+ } if (rf & 2) {
93
+ i0.ɵɵtwoWayProperty("value", ctx.search);
94
+ i0.ɵɵproperty("resultCount", ctx.filteredOptions().length);
95
+ i0.ɵɵadvance();
96
+ i0.ɵɵconditional(ctx.filteredOptions().length ? 1 : 2);
97
+ } }, dependencies: [MatChipsModule, i4.MatChipListbox, i4.MatChipOption, SearchFieldComponent, EmptyStateComponent], styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.lib-mat-chip-list-editor__listbox[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto}"], changeDetection: 0 }); }
98
+ }
99
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MatChipListEditorComponent, [{
100
+ type: Component,
101
+ args: [{ selector: 'lib-mat-chip-list-editor', imports: [MatChipsModule, SearchFieldComponent, EmptyStateComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
102
+ 'class': 'lib-mat-chip-list-editor',
103
+ '[id]': 'hostId()',
104
+ }, template: "<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value+'-'+$index) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:.75rem}.lib-mat-chip-list-editor__listbox{max-height:500px;overflow-y:auto}\n"] }]
105
+ }], null, { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
106
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MatChipListEditorComponent, { className: "MatChipListEditorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.ts", lineNumber: 39 }); })();
107
+
108
+ export { MatChipListEditorComponent };
109
+ //# sourceMappingURL=ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.ts"],"sourcesContent":["<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value+'-'+$index) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { MatChipListboxChange, MatChipsModule } from '@angular/material/chips';\nimport { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { SearchFieldComponent } from '../_shared/search-field/search-field.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\ninterface ChipOption {\n label: string;\n value: unknown;\n group?: string;\n}\n\n/**\n * Chip-select editor: a searchable {@link MatChipsModule} listbox over a set of\n * options, single- or multi-select. Renders inside `t-dynamic-data-edit`, which\n * supplies the field label, hint, and validation errors — so this component owns\n * only the search + chip content.\n */\n@Component({\n selector: 'lib-mat-chip-list-editor',\n imports: [MatChipsModule, SearchFieldComponent, EmptyStateComponent],\n templateUrl: './mat-chip-list-editor.component.html',\n styleUrl: './mat-chip-list-editor.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-mat-chip-list-editor',\n '[id]': 'hostId()',\n },\n})\nexport class MatChipListEditorComponent {\n static nextId = 0;\n\n protected readonly hostId = signal<string>(\n `lib-mat-chip-list-editor-${MatChipListEditorComponent.nextId++}`,\n );\n\n readonly disabled = input<boolean>(false);\n readonly multiple = input<boolean>(false);\n readonly required = input<boolean>(false);\n readonly errors = input<IConfigElementError[] | undefined>([]);\n // Internal `any` retained — wrapper templates bind heterogeneous value types\n // (DataSources, string[], etc.); narrowing here would force wrapper changes.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- wrappers bind heterogeneous chip-value payloads (DataSources, string[]).\n readonly value = input<any>(undefined);\n readonly options = input<ChipOption[] | undefined>([]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- emits whatever shape `value` was bound to; narrows once wrappers tighten.\n readonly valueChange = output<any>();\n\n /** Free-text search term (two-way bound to the search field). */\n protected readonly search = signal<string>('');\n\n /**\n * Options matching the search term. Matches the visible label, the group, and\n * a string value (the same reachable-string-leaf semantics the old\n * `searchList` pipe applied, minus its now-removed nested-object scan).\n */\n protected readonly filteredOptions = computed<ChipOption[]>(() => {\n const term = this.search().trim().toLowerCase();\n const all = this.options() ?? [];\n if (!term) return all;\n return all.filter((option) => {\n const haystacks = [\n option.label,\n option.group,\n typeof option.value === 'string' ? option.value : undefined,\n ];\n return haystacks.some(\n (text): text is string => typeof text === 'string' && text.toLowerCase().includes(term),\n );\n });\n });\n\n protected valueListChanged($event: MatChipListboxChange): void {\n this.valueChange.emit($event.value);\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;oDAae,GAAG,GAAA,MAAA;;IAChB,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,CAAwC;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAkB;IAAA,EAAA,CAAA,YAAA,EAAkB;;;IAA3D,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,CAAA,KAAA,CAAsB;IAAC,EAAA,CAAA,SAAA,EAAkB;IAAlB,EAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,KAAA,CAAkB;;;;IAR5D,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,CAMmC;AADjC,IAAA,EAAA,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,oFAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAU,+BAAwB,CAAA,CAAA,CAAA,CAAA,CAAC;IAEnC,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,uDAAA,EAAA,CAAA,EAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,UAAA,CAEC;IACH,EAAA,CAAA,YAAA,EAAmB;;;IARjB,EAAA,CAAA,UAAA,CAAA,UAAA,EAAA,MAAA,CAAA,QAAA,EAAA,CAAuB,CAAA,OAAA,EAAA,MAAA,CAAA,KAAA,EAAA,CACN,CAAA,UAAA,EAAA,MAAA,CAAA,QAAA,EAAA,CACM;IAGvB,EAAA,CAAA,SAA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EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -3,7 +3,7 @@ import { signal, input, output, computed, ViewEncapsulation, ChangeDetectionStra
3
3
  import * as i4 from '@angular/material/chips';
4
4
  import { MatChipsModule } from '@angular/material/chips';
5
5
  import { S as SearchFieldComponent } from './ngx-t-forms-search-field.component-B2ZO7lqO.mjs';
6
- import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs';
6
+ import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-CJGAj18J.mjs';
7
7
 
8
8
  /**
9
9
  * Chip-select editor: a searchable {@link MatChipsModule} listbox over a set of
@@ -52,15 +52,15 @@ class MatChipListEditorComponent {
52
52
  this.valueChange.emit($event.value);
53
53
  }
54
54
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: MatChipListEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
55
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: MatChipListEditorComponent, isStandalone: true, selector: "lib-mat-chip-list-editor", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { properties: { "id": "hostId()" }, classAttribute: "lib-mat-chip-list-editor" }, ngImport: i0, template: "<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:.75rem}.lib-mat-chip-list-editor__listbox{max-height:500px;overflow-y:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i4.MatChipListbox, selector: "mat-chip-listbox", inputs: ["multiple", "aria-orientation", "selectable", "compareWith", "required", "hideSingleSelectionIndicator", "value"], outputs: ["change"] }, { kind: "component", type: i4.MatChipOption, selector: "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", inputs: ["selectable", "selected"], outputs: ["selectionChange"] }, { kind: "component", type: SearchFieldComponent, selector: "lib-search-field", inputs: ["value", "placeholder", "resultCount"], outputs: ["valueChange"] }, { kind: "component", type: EmptyStateComponent, selector: "lib-empty-state", inputs: ["icon", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
55
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: MatChipListEditorComponent, isStandalone: true, selector: "lib-mat-chip-list-editor", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { properties: { "id": "hostId()" }, classAttribute: "lib-mat-chip-list-editor" }, ngImport: i0, template: "<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value+'-'+$index) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:.75rem}.lib-mat-chip-list-editor__listbox{max-height:500px;overflow-y:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i4.MatChipListbox, selector: "mat-chip-listbox", inputs: ["multiple", "aria-orientation", "selectable", "compareWith", "required", "hideSingleSelectionIndicator", "value"], outputs: ["change"] }, { kind: "component", type: i4.MatChipOption, selector: "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", inputs: ["selectable", "selected"], outputs: ["selectionChange"] }, { kind: "component", type: SearchFieldComponent, selector: "lib-search-field", inputs: ["value", "placeholder", "resultCount"], outputs: ["valueChange"] }, { kind: "component", type: EmptyStateComponent, selector: "lib-empty-state", inputs: ["icon", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
56
56
  }
57
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: MatChipListEditorComponent, decorators: [{
58
58
  type: Component,
59
59
  args: [{ selector: 'lib-mat-chip-list-editor', imports: [MatChipsModule, SearchFieldComponent, EmptyStateComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
60
60
  'class': 'lib-mat-chip-list-editor',
61
61
  '[id]': 'hostId()',
62
- }, template: "<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:.75rem}.lib-mat-chip-list-editor__listbox{max-height:500px;overflow-y:auto}\n"] }]
62
+ }, template: "<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value+'-'+$index) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:.75rem}.lib-mat-chip-list-editor__listbox{max-height:500px;overflow-y:auto}\n"] }]
63
63
  }], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
64
64
 
65
65
  export { MatChipListEditorComponent };
66
- //# sourceMappingURL=ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs.map
66
+ //# sourceMappingURL=ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { MatChipListboxChange, MatChipsModule } from '@angular/material/chips';\nimport { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { SearchFieldComponent } from '../_shared/search-field/search-field.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\ninterface ChipOption {\n label: string;\n value: unknown;\n group?: string;\n}\n\n/**\n * Chip-select editor: a searchable {@link MatChipsModule} listbox over a set of\n * options, single- or multi-select. Renders inside `t-dynamic-data-edit`, which\n * supplies the field label, hint, and validation errors — so this component owns\n * only the search + chip content.\n */\n@Component({\n selector: 'lib-mat-chip-list-editor',\n imports: [MatChipsModule, SearchFieldComponent, EmptyStateComponent],\n templateUrl: './mat-chip-list-editor.component.html',\n styleUrl: './mat-chip-list-editor.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-mat-chip-list-editor',\n '[id]': 'hostId()',\n },\n})\nexport class MatChipListEditorComponent {\n static nextId = 0;\n\n protected readonly hostId = signal<string>(\n `lib-mat-chip-list-editor-${MatChipListEditorComponent.nextId++}`,\n );\n\n readonly disabled = input<boolean>(false);\n readonly multiple = input<boolean>(false);\n readonly required = input<boolean>(false);\n readonly errors = input<IConfigElementError[] | undefined>([]);\n // Internal `any` retained — wrapper templates bind heterogeneous value types\n // (DataSources, string[], etc.); narrowing here would force wrapper changes.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- wrappers bind heterogeneous chip-value payloads (DataSources, string[]).\n readonly value = input<any>(undefined);\n readonly options = input<ChipOption[] | undefined>([]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- emits whatever shape `value` was bound to; narrows once wrappers tighten.\n readonly valueChange = output<any>();\n\n /** Free-text search term (two-way bound to the search field). */\n protected readonly search = signal<string>('');\n\n /**\n * Options matching the search term. Matches the visible label, the group, and\n * a string value (the same reachable-string-leaf semantics the old\n * `searchList` pipe applied, minus its now-removed nested-object scan).\n */\n protected readonly filteredOptions = computed<ChipOption[]>(() => {\n const term = this.search().trim().toLowerCase();\n const all = this.options() ?? [];\n if (!term) return all;\n return all.filter((option) => {\n const haystacks = [\n option.label,\n option.group,\n typeof option.value === 'string' ? option.value : undefined,\n ];\n return haystacks.some(\n (text): text is string => typeof text === 'string' && text.toLowerCase().includes(term),\n );\n });\n });\n\n protected valueListChanged($event: MatChipListboxChange): void {\n this.valueChange.emit($event.value);\n }\n}\n","<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n"],"names":["i1"],"mappings":";;;;;;;AAoBA;;;;;AAKG;MAaU,0BAA0B,CAAA;AAZvC,IAAA,WAAA,GAAA;QAeqB,IAAA,CAAA,MAAM,GAAG,MAAM,CAChC,CAAA,yBAAA,EAA4B,0BAA0B,CAAC,MAAM,EAAE,CAAA,CAAE,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAClE;AAEQ,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAoC,EAAE,6EAAC;;;;AAIrD,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAM,SAAS,4EAAC;AAC7B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAA2B,EAAE,8EAAC;;QAG7C,IAAA,CAAA,WAAW,GAAG,MAAM,EAAO;;AAGjB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAS,EAAE,6EAAC;AAE9C;;;;AAIG;AACgB,QAAA,IAAA,CAAA,eAAe,GAAG,QAAQ,CAAe,MAAK;AAC/D,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE;YAC/C,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE;AAChC,YAAA,IAAI,CAAC,IAAI;AAAE,gBAAA,OAAO,GAAG;AACrB,YAAA,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,KA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,EAAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,oFAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,oBAAoB,wIAAE,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;;4FAUxD,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAZtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,WAC3B,CAAC,cAAc,EAAE,oBAAoB,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAGnD,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,OAAO,EAAE,0BAA0B;AACnC,wBAAA,MAAM,EAAE,UAAU;AACnB,qBAAA,EAAA,QAAA,EAAA,6sBAAA,EAAA,MAAA,EAAA,CAAA,4HAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { MatChipListboxChange, MatChipsModule } from '@angular/material/chips';\nimport { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { SearchFieldComponent } from '../_shared/search-field/search-field.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\n\ninterface ChipOption {\n label: string;\n value: unknown;\n group?: string;\n}\n\n/**\n * Chip-select editor: a searchable {@link MatChipsModule} listbox over a set of\n * options, single- or multi-select. Renders inside `t-dynamic-data-edit`, which\n * supplies the field label, hint, and validation errors — so this component owns\n * only the search + chip content.\n */\n@Component({\n selector: 'lib-mat-chip-list-editor',\n imports: [MatChipsModule, SearchFieldComponent, EmptyStateComponent],\n templateUrl: './mat-chip-list-editor.component.html',\n styleUrl: './mat-chip-list-editor.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n 'class': 'lib-mat-chip-list-editor',\n '[id]': 'hostId()',\n },\n})\nexport class MatChipListEditorComponent {\n static nextId = 0;\n\n protected readonly hostId = signal<string>(\n `lib-mat-chip-list-editor-${MatChipListEditorComponent.nextId++}`,\n );\n\n readonly disabled = input<boolean>(false);\n readonly multiple = input<boolean>(false);\n readonly required = input<boolean>(false);\n readonly errors = input<IConfigElementError[] | undefined>([]);\n // Internal `any` retained — wrapper templates bind heterogeneous value types\n // (DataSources, string[], etc.); narrowing here would force wrapper changes.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- wrappers bind heterogeneous chip-value payloads (DataSources, string[]).\n readonly value = input<any>(undefined);\n readonly options = input<ChipOption[] | undefined>([]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- emits whatever shape `value` was bound to; narrows once wrappers tighten.\n readonly valueChange = output<any>();\n\n /** Free-text search term (two-way bound to the search field). */\n protected readonly search = signal<string>('');\n\n /**\n * Options matching the search term. Matches the visible label, the group, and\n * a string value (the same reachable-string-leaf semantics the old\n * `searchList` pipe applied, minus its now-removed nested-object scan).\n */\n protected readonly filteredOptions = computed<ChipOption[]>(() => {\n const term = this.search().trim().toLowerCase();\n const all = this.options() ?? [];\n if (!term) return all;\n return all.filter((option) => {\n const haystacks = [\n option.label,\n option.group,\n typeof option.value === 'string' ? option.value : undefined,\n ];\n return haystacks.some(\n (text): text is string => typeof text === 'string' && text.toLowerCase().includes(term),\n );\n });\n });\n\n protected valueListChanged($event: MatChipListboxChange): void {\n this.valueChange.emit($event.value);\n }\n}\n","<lib-search-field\n [(value)]=\"search\"\n placeholder=\"Search options\"\n [resultCount]=\"filteredOptions().length\" />\n\n@if (filteredOptions().length) {\n<mat-chip-listbox\n class=\"lib-mat-chip-list-editor__listbox\"\n [multiple]=\"multiple()\"\n [value]=\"value()\"\n [disabled]=\"disabled()\"\n (change)=\"valueListChanged($event)\"\n aria-label=\"Chip select options\">\n @for (option of filteredOptions(); track option.value+'-'+$index) {\n <mat-chip-option [value]=\"option.value\">{{ option.label }}</mat-chip-option>\n }\n</mat-chip-listbox>\n} @else {\n<lib-empty-state\n icon=\"search_off\"\n [message]=\"(options() || []).length ? 'No options match your search' : 'No options available'\" />\n}\n"],"names":["i1"],"mappings":";;;;;;;AAoBA;;;;;AAKG;MAaU,0BAA0B,CAAA;AAZvC,IAAA,WAAA,GAAA;QAeqB,IAAA,CAAA,MAAM,GAAG,MAAM,CAChC,CAAA,yBAAA,EAA4B,0BAA0B,CAAC,MAAM,EAAE,CAAA,CAAE,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAClE;AAEQ,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAoC,EAAE,6EAAC;;;;AAIrD,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAM,SAAS,4EAAC;AAC7B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAA2B,EAAE,8EAAC;;QAG7C,IAAA,CAAA,WAAW,GAAG,MAA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Property } from '@angular/cdk/coercion';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, output, ViewEncapsulation, ChangeDetectionStrategy, Component, Input } from '@angular/core';
4
+ import { NgControl } from '@angular/forms';
5
+ import { MatFormFieldControl } from '@angular/material/form-field';
6
+ import * as i1 from '@angular/material/slider';
7
+ import { MatSliderModule } from '@angular/material/slider';
8
+ import { Subject } from 'rxjs';
9
+
10
+ /**
11
+ * Internal Material slider editor implementing `MatFormFieldControl<number>`
12
+ * for the dynamic-data-edit configuration surface.
13
+ *
14
+ * Rendered by `t-dynamic-data-edit`, which supplies the surrounding field label,
15
+ * hint, and validation errors — so this component owns only the slider track,
16
+ * the live value readout, and the min/max bound labels.
17
+ *
18
+ * NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /
19
+ * `required` / `placeholder` / `id` members, `@Input()` decorators, the
20
+ * `focused` / `touched` / `stateChanges` members, and the `useExisting`
21
+ * provider. These are framework wiring, not defects — the CLAUDE.md bans on
22
+ * `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.
23
+ */
24
+ class MatSliderEditorComponent {
25
+ constructor() {
26
+ /** Emits whenever a piece of `MatFormFieldControl` state changes. */
27
+ this.stateChanges = new Subject();
28
+ this.controlType = 'lib-mat-slider-editor';
29
+ this.id = `lib-mat-slider-editor-${MatSliderEditorComponent.nextId++}`;
30
+ this.placeholder = '';
31
+ this.focused = false;
32
+ this.touched = false;
33
+ this.describedBy = '';
34
+ this.autofilled = false;
35
+ this.userAriaDescribedBy = undefined;
36
+ this.disableAutomaticLabeling = undefined;
37
+ this.ngControl = inject(NgControl, { self: true, optional: true });
38
+ /** Validation errors surfaced by the parent for error-state derivation. */
39
+ this.errors = [];
40
+ /** Accessible label for the slider thumb. */
41
+ this.label = '';
42
+ /** Thumb-tooltip formatter (Material `displayWith`). Optional — the parent's editor config may supply `undefined`. */
43
+ this.format = (value) => value;
44
+ /** Fallback formatter used by the value readout when `format` is absent. */
45
+ this.formatLabel = (value) => value;
46
+ this.#min = 0;
47
+ this.#max = 100;
48
+ this.#step = 1;
49
+ this.#disabled = false;
50
+ this.#value = 0;
51
+ this.#required = false;
52
+ /** Emits the new slider value when the user drags the thumb. */
53
+ this.valueChange = output();
54
+ /**
55
+ * Adapter for Material's `displayWith`, which requires a `string` return.
56
+ * Wraps the `format` thumb-tooltip formatter.
57
+ */
58
+ this.displayWith = (value) => String(this.format ? this.format(value) : value);
59
+ this.onTouched = () => { };
60
+ }
61
+ static { this.nextId = 0; }
62
+ #min;
63
+ /** Lower bound of the slider. */
64
+ get min() {
65
+ return this.#min;
66
+ }
67
+ set min(value) {
68
+ this.#min = this.#toNumber(value, 0);
69
+ this.stateChanges.next();
70
+ }
71
+ #max;
72
+ /** Upper bound of the slider. */
73
+ get max() {
74
+ return this.#max;
75
+ }
76
+ set max(value) {
77
+ this.#max = this.#toNumber(value, 100);
78
+ this.stateChanges.next();
79
+ }
80
+ #step;
81
+ /** Increment between selectable values; also drives tick-mark spacing. */
82
+ get step() {
83
+ return this.#step;
84
+ }
85
+ set step(value) {
86
+ this.#step = this.#toNumber(value, 1);
87
+ this.stateChanges.next();
88
+ }
89
+ #disabled;
90
+ /** Whether the slider is inert. */
91
+ get disabled() {
92
+ return this.#disabled;
93
+ }
94
+ set disabled(value) {
95
+ this.#disabled = coerceBooleanProperty(value);
96
+ this.stateChanges.next();
97
+ }
98
+ #value;
99
+ /** Current numeric value of the slider. */
100
+ get value() {
101
+ return this.#value;
102
+ }
103
+ set value(value) {
104
+ this.#value = this.#toNumber(value, 0);
105
+ this.stateChanges.next();
106
+ }
107
+ #required;
108
+ /** Whether a value is required. */
109
+ get required() {
110
+ return this.#required;
111
+ }
112
+ set required(value) {
113
+ this.#required = coerceBooleanProperty(value);
114
+ this.stateChanges.next();
115
+ }
116
+ // MatFormFieldControl reads these as plain getters during its own change
117
+ // detection, so they stay getters rather than `computed()` signals.
118
+ /**
119
+ * Whether the control holds no user selection.
120
+ *
121
+ * BEHAVIOUR FLAG: a value of `0` is a real selection, so it is NOT empty.
122
+ * The control is only "empty" when no numeric value is set at all.
123
+ */
124
+ get empty() {
125
+ return Number.isNaN(this.#value);
126
+ }
127
+ get shouldLabelFloat() {
128
+ return this.focused || !this.empty;
129
+ }
130
+ get errorState() {
131
+ const requiredUnset = this.empty && this.#required && this.touched;
132
+ const ngControlError = this.ngControl?.errors != null;
133
+ const externalError = (this.errors?.length ?? 0) > 0 && this.touched;
134
+ return requiredUnset || ngControlError || externalError;
135
+ }
136
+ /** Resolved display value shown in the live readout. */
137
+ get displayValue() {
138
+ return String(this.formatLabel(this.#value));
139
+ }
140
+ setDescribedByIds(ids) {
141
+ this.describedBy = ids.join(' ');
142
+ this.stateChanges.next();
143
+ }
144
+ onContainerClick() {
145
+ this.markAsTouched();
146
+ if (!this.focused) {
147
+ this.focused = true;
148
+ }
149
+ this.stateChanges.next();
150
+ }
151
+ markAsTouched() {
152
+ if (!this.touched) {
153
+ this.touched = true;
154
+ this.onTouched();
155
+ this.stateChanges.next();
156
+ }
157
+ }
158
+ valueChangedSlider(event) {
159
+ const target = event.target;
160
+ if (!(target instanceof HTMLInputElement)) {
161
+ return;
162
+ }
163
+ const next = Number(target.value);
164
+ if (Number.isNaN(next)) {
165
+ return;
166
+ }
167
+ this.value = next;
168
+ this.markAsTouched();
169
+ this.valueChange.emit(next);
170
+ }
171
+ /** Coerce an incoming binding to a finite number, falling back when invalid. */
172
+ #toNumber(value, fallback) {
173
+ const parsed = Number(value);
174
+ return Number.isFinite(parsed) ? parsed : fallback;
175
+ }
176
+ static { this.ɵfac = function MatSliderEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatSliderEditorComponent)(); }; }
177
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MatSliderEditorComponent, selectors: [["lib-mat-slider-editor"]], hostAttrs: [1, "lib-mat-slider-editor"], hostVars: 6, hostBindings: function MatSliderEditorComponent_HostBindings(rf, ctx) { if (rf & 2) {
178
+ i0.ɵɵdomProperty("id", ctx.id);
179
+ i0.ɵɵattribute("aria-describedby", ctx.describedBy);
180
+ i0.ɵɵclassProp("lib-mat-slider-editor--focused", ctx.focused)("lib-mat-slider-editor--disabled", ctx.disabled);
181
+ } }, inputs: { errors: "errors", label: "label", format: "format", formatLabel: "formatLabel", min: "min", max: "max", step: "step", disabled: "disabled", value: "value", required: "required" }, outputs: { valueChange: "valueChange" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: MatSliderEditorComponent }])], decls: 9, vars: 10, consts: [[1, "lib-mat-slider-editor__row"], [1, "lib-mat-slider-editor__bound"], ["discrete", "", "showTickMarks", "", 1, "lib-mat-slider-editor__slider", 3, "disabled", "min", "max", "step", "displayWith"], ["matSliderThumb", "", 3, "input", "blur", "value"], [1, "lib-mat-slider-editor__value"]], template: function MatSliderEditorComponent_Template(rf, ctx) { if (rf & 1) {
182
+ i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
183
+ i0.ɵɵtext(2);
184
+ i0.ɵɵelementEnd();
185
+ i0.ɵɵelementStart(3, "mat-slider", 2)(4, "input", 3);
186
+ i0.ɵɵlistener("input", function MatSliderEditorComponent_Template_input_input_4_listener($event) { return ctx.valueChangedSlider($event); })("blur", function MatSliderEditorComponent_Template_input_blur_4_listener() { return ctx.markAsTouched(); });
187
+ i0.ɵɵelementEnd()();
188
+ i0.ɵɵelementStart(5, "span", 1);
189
+ i0.ɵɵtext(6);
190
+ i0.ɵɵelementEnd()();
191
+ i0.ɵɵelementStart(7, "output", 4);
192
+ i0.ɵɵtext(8);
193
+ i0.ɵɵelementEnd();
194
+ } if (rf & 2) {
195
+ i0.ɵɵadvance(2);
196
+ i0.ɵɵtextInterpolate(ctx.min);
197
+ i0.ɵɵadvance();
198
+ i0.ɵɵproperty("disabled", ctx.disabled)("min", ctx.min)("max", ctx.max)("step", ctx.step)("displayWith", ctx.displayWith);
199
+ i0.ɵɵadvance();
200
+ i0.ɵɵproperty("value", ctx.value);
201
+ i0.ɵɵattribute("aria-label", ctx.label || null);
202
+ i0.ɵɵadvance(2);
203
+ i0.ɵɵtextInterpolate(ctx.max);
204
+ i0.ɵɵadvance(2);
205
+ i0.ɵɵtextInterpolate(ctx.displayValue);
206
+ } }, dependencies: [MatSliderModule, i1.MatSlider, i1.MatSliderThumb], styles: ["[_nghost-%COMP%]{display:block}.lib-mat-slider-editor__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.lib-mat-slider-editor__slider[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.lib-mat-slider-editor__bound[_ngcontent-%COMP%]{flex:0 0 auto;font-size:.8125rem;color:var(--lib-forms-on-surface-variant);font-variant-numeric:tabular-nums}.lib-mat-slider-editor__value[_ngcontent-%COMP%]{display:block;margin-top:.5rem;font-size:.9375rem;font-weight:500;color:var(--lib-forms-on-surface);font-variant-numeric:tabular-nums;transition:color var(--lib-forms-duration-hover) var(--lib-forms-easing)}.lib-mat-slider-editor--focused[_nghost-%COMP%] .lib-mat-slider-editor__value[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-mat-slider-editor--disabled[_nghost-%COMP%]{opacity:.55;pointer-events:none}"], changeDetection: 0 }); }
207
+ }
208
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MatSliderEditorComponent, [{
209
+ type: Component,
210
+ args: [{ selector: 'lib-mat-slider-editor', providers: [{ provide: MatFormFieldControl, useExisting: MatSliderEditorComponent }], imports: [MatSliderModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: {
211
+ 'class': 'lib-mat-slider-editor',
212
+ '[id]': 'id',
213
+ '[attr.aria-describedby]': 'describedBy',
214
+ '[class.lib-mat-slider-editor--focused]': 'focused',
215
+ '[class.lib-mat-slider-editor--disabled]': 'disabled',
216
+ }, template: "<div class=\"lib-mat-slider-editor__row\">\n <span class=\"lib-mat-slider-editor__bound\">{{ min }}</span>\n\n <mat-slider\n class=\"lib-mat-slider-editor__slider\"\n discrete\n showTickMarks\n [disabled]=\"disabled\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n [displayWith]=\"displayWith\"\n >\n <input\n matSliderThumb\n [value]=\"value\"\n [attr.aria-label]=\"label || null\"\n (input)=\"valueChangedSlider($event)\"\n (blur)=\"markAsTouched()\"\n />\n </mat-slider>\n\n <span class=\"lib-mat-slider-editor__bound\">{{ max }}</span>\n</div>\n\n<output class=\"lib-mat-slider-editor__value\">{{ displayValue }}</output>\n", styles: [":host{display:block}.lib-mat-slider-editor__row{display:flex;align-items:center;gap:.75rem}.lib-mat-slider-editor__slider{flex:1 1 auto;min-width:0}.lib-mat-slider-editor__bound{flex:0 0 auto;font-size:.8125rem;color:var(--lib-forms-on-surface-variant);font-variant-numeric:tabular-nums}.lib-mat-slider-editor__value{display:block;margin-top:.5rem;font-size:.9375rem;font-weight:500;color:var(--lib-forms-on-surface);font-variant-numeric:tabular-nums;transition:color var(--lib-forms-duration-hover) var(--lib-forms-easing)}:host(.lib-mat-slider-editor--focused) .lib-mat-slider-editor__value{color:var(--lib-forms-primary)}:host(.lib-mat-slider-editor--disabled){opacity:.55;pointer-events:none}\n"] }]
217
+ }], null, { errors: [{
218
+ type: Input
219
+ }], label: [{
220
+ type: Input
221
+ }], format: [{
222
+ type: Input
223
+ }], formatLabel: [{
224
+ type: Input
225
+ }], min: [{
226
+ type: Input
227
+ }], max: [{
228
+ type: Input
229
+ }], step: [{
230
+ type: Input
231
+ }], disabled: [{
232
+ type: Input
233
+ }], value: [{
234
+ type: Input
235
+ }], required: [{
236
+ type: Input
237
+ }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
238
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MatSliderEditorComponent, { className: "MatSliderEditorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/mat-slider-editor/mat-slider-editor.component.ts", lineNumber: 49 }); })();
239
+
240
+ export { MatSliderEditorComponent };
241
+ //# sourceMappingURL=ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map