ngx-t-forms 3.0.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/fesm2022/ngx-t-forms-api-endpoint-config.component-CZm3Z_7B.mjs +411 -0
  2. package/fesm2022/ngx-t-forms-api-endpoint-config.component-CZm3Z_7B.mjs.map +1 -0
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs → ngx-t-forms-auto-complete-input-element.component-IciY6hb3.mjs} +2 -2
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map → ngx-t-forms-auto-complete-input-element.component-IciY6hb3.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs → ngx-t-forms-basic-input-input-element.component-CykKxWu0.mjs} +3 -3
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map → ngx-t-forms-basic-input-input-element.component-CykKxWu0.mjs.map} +1 -1
  7. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CwI-WEX7.mjs +643 -0
  8. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CwI-WEX7.mjs.map +1 -0
  9. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs → ngx-t-forms-chip-options-creator-editor.component-CO_3EQ_v.mjs} +4 -4
  10. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-CO_3EQ_v.mjs.map +1 -0
  11. package/fesm2022/ngx-t-forms-conditional-display-config.component-Cmf7gDfO.mjs +513 -0
  12. package/fesm2022/ngx-t-forms-conditional-display-config.component-Cmf7gDfO.mjs.map +1 -0
  13. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BHiOEQe4.mjs} +4 -4
  14. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-BHiOEQe4.mjs.map +1 -0
  15. package/fesm2022/ngx-t-forms-data-source-picker.component-CN51SdCK.mjs +261 -0
  16. package/fesm2022/ngx-t-forms-data-source-picker.component-CN51SdCK.mjs.map +1 -0
  17. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs → ngx-t-forms-date-picker-input-element.component-c3OSDXWw.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map → ngx-t-forms-date-picker-input-element.component-c3OSDXWw.mjs.map} +1 -1
  19. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-C-4fqOF0.mjs +166 -0
  20. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-C-4fqOF0.mjs.map +1 -0
  21. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-DLzba2AQ.mjs +373 -0
  22. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-DLzba2AQ.mjs.map +1 -0
  23. package/fesm2022/ngx-t-forms-document-picker.component-9clYsOcl.mjs +1259 -0
  24. package/fesm2022/ngx-t-forms-document-picker.component-9clYsOcl.mjs.map +1 -0
  25. package/fesm2022/ngx-t-forms-editor-input-element.component-BGdZ4evj.mjs +417 -0
  26. package/fesm2022/ngx-t-forms-editor-input-element.component-BGdZ4evj.mjs.map +1 -0
  27. package/fesm2022/{ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs → ngx-t-forms-editor-js-input.component-02HnmInT.mjs} +25 -11
  28. package/fesm2022/ngx-t-forms-editor-js-input.component-02HnmInT.mjs.map +1 -0
  29. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs → ngx-t-forms-file-upload-input-element.component-BF7KbSPb.mjs} +2 -2
  30. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map → ngx-t-forms-file-upload-input-element.component-BF7KbSPb.mjs.map} +1 -1
  31. package/fesm2022/ngx-t-forms-form-input-selector.component-vCj2SCxs.mjs +86 -0
  32. package/fesm2022/ngx-t-forms-form-input-selector.component-vCj2SCxs.mjs.map +1 -0
  33. package/fesm2022/{ngx-t-forms-form-json-view.component-r64GKVhI.mjs → ngx-t-forms-form-json-view.component-Cmw1hHGZ.mjs} +2 -2
  34. package/fesm2022/{ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map → ngx-t-forms-form-json-view.component-Cmw1hHGZ.mjs.map} +1 -1
  35. package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs +179 -0
  36. package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs.map +1 -0
  37. package/fesm2022/{ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs → ngx-t-forms-form-section-stepper.component-CFdwgxRl.mjs} +4 -4
  38. package/fesm2022/{ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map → ngx-t-forms-form-section-stepper.component-CFdwgxRl.mjs.map} +1 -1
  39. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs → ngx-t-forms-forms-builder-menu.component-DisrOv5x.mjs} +5 -5
  40. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map → ngx-t-forms-forms-builder-menu.component-DisrOv5x.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-geo-location.component-D2fIbagr.mjs → ngx-t-forms-geo-location.component-D-BhLdx6.mjs} +2 -2
  42. package/fesm2022/{ngx-t-forms-geo-location.component-D2fIbagr.mjs.map → ngx-t-forms-geo-location.component-D-BhLdx6.mjs.map} +1 -1
  43. package/fesm2022/ngx-t-forms-header-template-editor.component-Z5frEhho.mjs +159 -0
  44. package/fesm2022/ngx-t-forms-header-template-editor.component-Z5frEhho.mjs.map +1 -0
  45. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs → ngx-t-forms-image-capture-input-element.component-CoJTXMbL.mjs} +2 -2
  46. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map → ngx-t-forms-image-capture-input-element.component-CoJTXMbL.mjs.map} +1 -1
  47. package/fesm2022/ngx-t-forms-index-D8xr_Sxp.mjs +2 -0
  48. package/fesm2022/ngx-t-forms-index-D8xr_Sxp.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-input-custom.component-Dcoze7U3.mjs → ngx-t-forms-input-custom.component-s1ryJQy4.mjs} +2 -2
  50. package/fesm2022/{ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map → ngx-t-forms-input-custom.component-s1ryJQy4.mjs.map} +1 -1
  51. package/fesm2022/ngx-t-forms-input-editor.component-oIzCTmbx.mjs +190 -0
  52. package/fesm2022/ngx-t-forms-input-editor.component-oIzCTmbx.mjs.map +1 -0
  53. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs → ngx-t-forms-map-mat-options-keys-C1kxlZS_.mjs} +2 -3
  54. package/fesm2022/ngx-t-forms-map-mat-options-keys-C1kxlZS_.mjs.map +1 -0
  55. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs → ngx-t-forms-mat-chip-list-editor.component-wskkKr4y.mjs} +5 -5
  56. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-wskkKr4y.mjs.map +1 -0
  57. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs → ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs} +3 -3
  58. package/fesm2022/ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs.map +1 -0
  59. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs → ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs} +3 -3
  60. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs.map +1 -0
  61. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs → ngx-t-forms-missing-form-configs.component-C1XuXRdn.mjs} +2 -2
  62. package/fesm2022/{ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map → ngx-t-forms-missing-form-configs.component-C1XuXRdn.mjs.map} +1 -1
  63. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs → ngx-t-forms-mscoa-chart-toolbar.component-BJrOTRuQ.mjs} +2 -2
  64. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-BJrOTRuQ.mjs.map} +1 -1
  65. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-GyKF31Ve.mjs +447 -0
  66. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-GyKF31Ve.mjs.map +1 -0
  67. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BrPJPR2R.mjs +905 -0
  68. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BrPJPR2R.mjs.map +1 -0
  69. package/fesm2022/{ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs → ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs} +2738 -415
  70. package/fesm2022/ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-paginated-selection-table-DrXB22iY.mjs → ngx-t-forms-paginated-selection-table-Bk77dBo9.mjs} +2 -2
  72. package/fesm2022/{ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map → ngx-t-forms-paginated-selection-table-Bk77dBo9.mjs.map} +1 -1
  73. package/fesm2022/ngx-t-forms-payload-template-editor.component-CVzOTLYE.mjs +85 -0
  74. package/fesm2022/ngx-t-forms-payload-template-editor.component-CVzOTLYE.mjs.map +1 -0
  75. package/fesm2022/ngx-t-forms-pipeline-generator.component-7Vfwaqnx.mjs +748 -0
  76. package/fesm2022/ngx-t-forms-pipeline-generator.component-7Vfwaqnx.mjs.map +1 -0
  77. package/fesm2022/{ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs → ngx-t-forms-record-list-manager.component-CfZdqKhY.mjs} +4 -4
  78. package/fesm2022/ngx-t-forms-record-list-manager.component-CfZdqKhY.mjs.map +1 -0
  79. package/fesm2022/ngx-t-forms-required-inputs.component-CK7NIhbq.mjs +272 -0
  80. package/fesm2022/ngx-t-forms-required-inputs.component-CK7NIhbq.mjs.map +1 -0
  81. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-YChv7Arm.mjs +699 -0
  82. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-YChv7Arm.mjs.map +1 -0
  83. package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs +38 -0
  84. package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs.map +1 -0
  85. package/fesm2022/{ngx-t-forms-section-report.component-BYMcaRE5.mjs → ngx-t-forms-section-report.component-DhSaf85h.mjs} +2 -2
  86. package/fesm2022/{ngx-t-forms-section-report.component-BYMcaRE5.mjs.map → ngx-t-forms-section-report.component-DhSaf85h.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs → ngx-t-forms-select-input-element.component-D5HFzh35.mjs} +2 -2
  88. package/fesm2022/{ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map → ngx-t-forms-select-input-element.component-D5HFzh35.mjs.map} +1 -1
  89. package/fesm2022/ngx-t-forms-selection-options-editor.component-BhmmJOco.mjs +169 -0
  90. package/fesm2022/ngx-t-forms-selection-options-editor.component-BhmmJOco.mjs.map +1 -0
  91. package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs → ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs} +3 -3
  92. package/fesm2022/ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs.map +1 -0
  93. package/fesm2022/{ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs → ngx-t-forms-textarea-input-element.component-DWEADTsz.mjs} +2 -2
  94. package/fesm2022/{ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map → ngx-t-forms-textarea-input-element.component-DWEADTsz.mjs.map} +1 -1
  95. package/fesm2022/{ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs → ngx-t-forms-toggle-input-element.component-XZi6kPnL.mjs} +2 -2
  96. package/fesm2022/{ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map → ngx-t-forms-toggle-input-element.component-XZi6kPnL.mjs.map} +1 -1
  97. package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs +173 -0
  98. package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs.map +1 -0
  99. package/fesm2022/ngx-t-forms-validators-config.component-0_Y6bvtE.mjs +574 -0
  100. package/fesm2022/ngx-t-forms-validators-config.component-0_Y6bvtE.mjs.map +1 -0
  101. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs → ngx-t-forms-workflow-adjudication.component-Gkimmw-X.mjs} +3 -3
  102. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map → ngx-t-forms-workflow-adjudication.component-Gkimmw-X.mjs.map} +1 -1
  103. package/fesm2022/ngx-t-forms.mjs +1 -1
  104. package/package.json +2 -2
  105. package/styles/_editor-mixins.scss +117 -117
  106. package/styles/_signature-pad.scss +26 -26
  107. package/styles/_tokens.scss +148 -148
  108. package/types/ngx-t-forms.d.ts +110 -6
  109. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs +0 -261
  110. package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map +0 -1
  111. package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs +0 -225
  112. package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map +0 -1
  113. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs +0 -1011
  114. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map +0 -1
  115. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs +0 -643
  116. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map +0 -1
  117. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs +0 -136
  118. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map +0 -1
  119. package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map +0 -1
  120. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map +0 -1
  121. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs +0 -253
  122. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map +0 -1
  123. package/fesm2022/ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs +0 -261
  124. package/fesm2022/ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map +0 -1
  125. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs +0 -419
  126. package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +0 -1
  127. package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs +0 -231
  128. package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map +0 -1
  129. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs +0 -156
  130. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map +0 -1
  131. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs +0 -333
  132. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map +0 -1
  133. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs +0 -373
  134. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map +0 -1
  135. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs +0 -543
  136. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map +0 -1
  137. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +0 -1259
  138. package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +0 -1
  139. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +0 -1996
  140. package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +0 -1
  141. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs +0 -581
  142. package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +0 -1
  143. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs +0 -417
  144. package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +0 -1
  145. package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +0 -1
  146. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +0 -585
  147. package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +0 -1
  148. package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs +0 -447
  149. package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map +0 -1
  150. package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs +0 -163
  151. package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map +0 -1
  152. package/fesm2022/ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs +0 -86
  153. package/fesm2022/ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map +0 -1
  154. package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs +0 -28
  155. package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map +0 -1
  156. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +0 -291
  157. package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +0 -1
  158. package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs +0 -179
  159. package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map +0 -1
  160. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs +0 -936
  161. package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +0 -1
  162. package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs +0 -816
  163. package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map +0 -1
  164. package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs +0 -329
  165. package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map +0 -1
  166. package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs +0 -360
  167. package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map +0 -1
  168. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs +0 -2
  169. package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +0 -1
  170. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs +0 -2
  171. package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +0 -1
  172. package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs +0 -128
  173. package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs.map +0 -1
  174. package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs +0 -512
  175. package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs.map +0 -1
  176. package/fesm2022/ngx-t-forms-input-editor.component-B6UKwV4i.mjs +0 -190
  177. package/fesm2022/ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map +0 -1
  178. package/fesm2022/ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map +0 -1
  179. package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs +0 -132
  180. package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map +0 -1
  181. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +0 -268
  182. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +0 -1
  183. package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +0 -1
  184. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +0 -241
  185. package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +0 -1
  186. package/fesm2022/ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs.map +0 -1
  187. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs.map +0 -1
  188. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +0 -180
  189. package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +0 -1
  190. package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs +0 -114
  191. package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map +0 -1
  192. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs +0 -69
  193. package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +0 -1
  194. package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs +0 -200
  195. package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map +0 -1
  196. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs +0 -447
  197. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map +0 -1
  198. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs +0 -850
  199. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map +0 -1
  200. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs +0 -107
  201. package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map +0 -1
  202. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs +0 -1665
  203. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map +0 -1
  204. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs +0 -905
  205. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map +0 -1
  206. package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +0 -1
  207. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs +0 -28237
  208. package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +0 -1
  209. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs +0 -1024
  210. package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +0 -1
  211. package/fesm2022/ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs +0 -203
  212. package/fesm2022/ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map +0 -1
  213. package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs +0 -234
  214. package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map +0 -1
  215. package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs +0 -1126
  216. package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map +0 -1
  217. package/fesm2022/ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs +0 -748
  218. package/fesm2022/ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map +0 -1
  219. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs +0 -639
  220. package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +0 -1
  221. package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +0 -1
  222. package/fesm2022/ngx-t-forms-required-inputs.component-BMmNxeE-.mjs +0 -272
  223. package/fesm2022/ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map +0 -1
  224. package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs +0 -451
  225. package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map +0 -1
  226. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs +0 -625
  227. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map +0 -1
  228. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs +0 -444
  229. package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map +0 -1
  230. package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs +0 -38
  231. package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs.map +0 -1
  232. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +0 -72
  233. package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +0 -1
  234. package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs +0 -248
  235. package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map +0 -1
  236. package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs +0 -408
  237. package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map +0 -1
  238. package/fesm2022/ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs +0 -169
  239. package/fesm2022/ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map +0 -1
  240. package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs +0 -275
  241. package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map +0 -1
  242. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +0 -366
  243. package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +0 -1
  244. package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +0 -1
  245. package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs +0 -233
  246. package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map +0 -1
  247. package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs +0 -305
  248. package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map +0 -1
  249. package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs +0 -1105
  250. package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map +0 -1
  251. package/fesm2022/ngx-t-forms-validators-config.component-CoGSFor3.mjs +0 -574
  252. package/fesm2022/ngx-t-forms-validators-config.component-CoGSFor3.mjs.map +0 -1
  253. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs +0 -2923
  254. package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/filterCollectionItems.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/methodColors.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/postman-collections/postman-collections.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/postman-collections/postman-collections.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/rest-api-call-setup/rest-api-call-setup.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/rest-api-call-setup/rest-api-call-setup.component.html"],"sourcesContent":["import type { IFolderItem, IGetPostmanCollections } from 'ngx-t-forms-types';\n\n/** True when an item's own name or description contains the (already-lowercased) search text. */\nfunction itemMatches(item: IFolderItem, searchText: string): boolean {\n return (\n (item.name?.toLowerCase().includes(searchText) ?? false) ||\n (item.description?.toLowerCase().includes(searchText) ?? false)\n );\n}\n\n/**\n * Recursively prunes a folder tree to the items relevant to `searchText`.\n *\n * An item is kept when it matches directly (its whole subtree is then\n * preserved) OR when one of its descendants matches — in which case the\n * ancestor folder is preserved but its children are pruned to only the\n * matching branches. This fixes the legacy defect where ancestor folders of a\n * deep match were dropped (or whole sibling subtrees were retained).\n */\nfunction pruneItems(items: IFolderItem[] | undefined, searchText: string): IFolderItem[] {\n if (!items) {\n return [];\n }\n return items.reduce<IFolderItem[]>((kept, item) => {\n if (itemMatches(item, searchText)) {\n // Direct hit: keep the item and its full subtree intact.\n kept.push(item);\n return kept;\n }\n const matchingChildren = pruneItems(item.item, searchText);\n if (matchingChildren.length > 0) {\n // Ancestor of a match: keep the folder but only the matching branches.\n kept.push({ ...item, item: matchingChildren });\n }\n return kept;\n }, []);\n}\n\n/**\n * Filters a fetched Postman collection by a free-text search key, preserving\n * the ancestor folders of every match. An empty/whitespace key returns the\n * full set of top-level items unchanged.\n */\nexport function filterCollectionItems(\n collections: IGetPostmanCollections,\n searchKey: string,\n): IFolderItem[] {\n const items = collections.collection.item;\n const searchText = searchKey.trim().toLowerCase();\n if (!searchText) {\n return items;\n }\n return pruneItems(items, searchText);\n}\n","/**\n * Maps an HTTP method to its design-token CSS colour value.\n *\n * Returns a `var(--lib-forms-method-*)` reference (dark-mode safe, no hex /\n * named colours) so the tree can colour-code endpoints. Unknown methods fall\n * back to `currentColor`. Matching is case-insensitive.\n */\nexport function methodColor(method: string): string {\n switch (method.toUpperCase()) {\n case 'GET':\n return 'var(--lib-forms-method-get)';\n case 'POST':\n return 'var(--lib-forms-method-post)';\n case 'PUT':\n return 'var(--lib-forms-method-put)';\n case 'PATCH':\n return 'var(--lib-forms-method-patch)';\n case 'DELETE':\n return 'var(--lib-forms-method-delete)';\n default:\n return 'currentColor';\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { HttpClient, HttpErrorResponse } from '@angular/common/http';\nimport { catchError, take, tap, throwError } from 'rxjs';\n\nimport { MatTreeModule } from '@angular/material/tree';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\nimport type {\n FlatNode,\n IFolderItem,\n IGetPostmanCollections,\n IPostmanCollectionConfig,\n TreeNode,\n} from 'ngx-t-forms-types';\n\nimport { TreeComponent } from '../api-value-access-rules/functions/convertDataToTree';\nimport { convertPostmanFolderItemsToTree } from './functions/convertPostmanCollectionToTree';\nimport { filterCollectionItems } from './functions/filterCollectionItems';\nimport { methodColor } from './functions/methodColors';\nimport { SearchFieldComponent } from '../_shared/search-field/search-field.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\nimport { _isEqual } from '../../../../shared/functions/isEqual';\n\n/**\n * Internal Postman-collection picker used by `rest-api-call-setup`.\n *\n * Fetches a Postman collection over HTTP and renders it as a searchable tree of\n * endpoints, emitting the selected folder item to the parent. Embedded\n * component — owns only its tree content; the parent renders any field\n * label / hint / errors.\n */\n@Component({\n selector: 'lib-postman-collections',\n templateUrl: './postman-collections.component.html',\n styleUrls: ['./postman-collections.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: { 'class': 'lib-postman-collections' },\n imports: [\n MatTreeModule,\n MatIconModule,\n MatButtonModule,\n MatProgressSpinnerModule,\n MatTooltipModule,\n SearchFieldComponent,\n EmptyStateComponent,\n ],\n})\nexport class PostmanCollectionsComponent {\n /** Postman API config (collection URL + key). When invalid the component shows an error. */\n readonly postmanCollectionConfig = input<IPostmanCollectionConfig | undefined>(undefined);\n\n /** Endpoint IDs currently in a loading state (rendered with a spinner in the tree). */\n readonly loadingEndPoints = input<string[]>([]);\n\n /** Emits when the user picks an endpoint node from the tree. */\n readonly nodeSelectionChanged = output<IFolderItem>();\n\n readonly #httpClient = inject(HttpClient);\n readonly #destroyRef = inject(DestroyRef);\n\n /** Imperative mat-tree backing store reused from the access-rules tree. */\n protected readonly treeComponent = new TreeComponent();\n\n /** Raw fetched collection; `undefined` until the request resolves. */\n readonly #collection = signal<IGetPostmanCollections | undefined>(undefined);\n\n /** Current search text, two-way bound to the search field. */\n protected readonly searchKey = signal<string>('');\n\n /** Request-in-flight flag. */\n protected readonly loading = signal<boolean>(false);\n\n /** Last error (invalid config or HTTP failure); `undefined` when healthy. */\n protected readonly error = signal<HttpErrorResponse | undefined>(undefined);\n\n /** Folder items after applying the current search, ancestor-folders preserved. */\n protected readonly filteredItems = computed<IFolderItem[]>(() => {\n const collection = this.#collection();\n if (!collection) {\n return [];\n }\n return filterCollectionItems(collection, this.searchKey());\n });\n\n /** Tree nodes derived from {@link filteredItems}. */\n readonly #treeData = computed<TreeNode[]>(() =>\n convertPostmanFolderItemsToTree(this.filteredItems()),\n );\n\n /** True once a collection is loaded but the current search yields nothing. */\n protected readonly isEmpty = computed<boolean>(\n () => Boolean(this.#collection()) && this.#treeData().length === 0,\n );\n\n /** Cache for {@link getNodeLines} so identical levels reuse one array. */\n readonly #nodeLinesCache = new Map<number, readonly number[]>();\n\n /** Push derived tree data into the imperative mat-tree data source. */\n protected readonly syncTree = effect(() => {\n this.treeComponent.assignDataSourceData(this.#treeData());\n });\n\n /** Last config the effect acted on; guards against re-fetching when an unstable parent binding hands us a new-but-equal reference. */\n #loadedConfig: IPostmanCollectionConfig | undefined;\n #hasLoadedOnce = false;\n\n /** Fetch (or re-fetch) the collection only when the config input's content actually changes. */\n protected readonly loadOnConfigChange = effect(() => {\n const config = this.postmanCollectionConfig();\n if (this.#hasLoadedOnce && _isEqual(this.#loadedConfig, config)) {\n return;\n }\n this.#hasLoadedOnce = true;\n this.#loadedConfig = config;\n this.#loadCollection(config);\n });\n\n #isValidConfig(config: IPostmanCollectionConfig | undefined): config is IPostmanCollectionConfig {\n return Boolean(config?.collectionUrl) && Boolean(config?.collectionKey);\n }\n\n #loadCollection(config: IPostmanCollectionConfig | undefined): void {\n if (!this.#isValidConfig(config)) {\n this.#collection.set(undefined);\n this.loading.set(false);\n this.error.set(new HttpErrorResponse({ error: 'Invalid Postman Collection Config' }));\n return;\n }\n\n const requestOptions = {\n params: { apikey: config.collectionKey, clearSystemHeaders: true },\n headers: { 'Content-Type': 'application/json' },\n };\n\n this.loading.set(true);\n this.#httpClient\n .get<IGetPostmanCollections>(config.collectionUrl, requestOptions)\n .pipe(\n take(1),\n tap(data => {\n this.#collection.set(data);\n this.error.set(undefined);\n this.loading.set(false);\n }),\n catchError((err: HttpErrorResponse) => {\n this.loading.set(false);\n this.error.set(err);\n return throwError(() => err);\n }),\n takeUntilDestroyed(this.#destroyRef),\n )\n .subscribe();\n }\n\n protected selectNode(node: IFolderItem): void {\n this.nodeSelectionChanged.emit(node);\n }\n\n protected methodColor(method: string): string {\n return methodColor(method);\n }\n\n protected isEndpointLoading(id: string): boolean {\n return this.loadingEndPoints().includes(id);\n }\n\n protected hasChild = (_: number, node: FlatNode): boolean =>\n this.treeComponent.hasChild(_, node);\n\n /** Memoised 1..level vertical guide-line indices for tree indentation. */\n protected getNodeLines(level: number): readonly number[] {\n const cached = this.#nodeLinesCache.get(level);\n if (cached) {\n return cached;\n }\n const lines = Array.from({ length: level }, (_, i) => i + 1);\n this.#nodeLinesCache.set(level, lines);\n return lines;\n }\n}\n","@if (loading()) {\n <div class=\"loading-container\">\n <mat-spinner diameter=\"36\"></mat-spinner>\n </div>\n} @else {\n <lib-search-field\n class=\"search\"\n placeholder=\"Search api\"\n [(value)]=\"searchKey\" />\n\n @if (error(); as err) {\n <lib-empty-state icon=\"error_outline\" [message]=\"err.message\" />\n } @else if (isEmpty()) {\n <lib-empty-state\n icon=\"search_off\"\n [message]=\"searchKey() ? 'No endpoints match your search' : 'No endpoints in this collection'\" />\n } @else {\n <mat-tree\n [dataSource]=\"treeComponent.dataSource\"\n [treeControl]=\"treeComponent.treeControl\">\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodePadding>\n @if (isEndpointLoading(node.value.id)) {\n <mat-spinner diameter=\"22\" class=\"loading-spinner\"></mat-spinner>\n }\n @for (line of getNodeLines(node.level); track line) {\n <div class=\"line\" [style.left.px]=\"line * 40 + 8\"></div>\n }\n @if (node.value?.request; as request) {\n <button\n mat-button\n class=\"item\"\n [disabled]=\"(!request.body?.raw && request.method === 'POST') || !request.url?.raw\"\n [matTooltip]=\"request.url?.raw || 'Invalid Postman config, missing Endpoint URL'\"\n (click)=\"selectNode(node.value)\">\n <span class=\"node-key method\" [style.color]=\"methodColor(request.method)\">\n {{ request.method }}\n </span>\n <span>{{ node.key }}</span>\n </button>\n }\n </mat-tree-node>\n\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <button\n mat-icon-button\n matTreeNodeToggle\n class=\"toggle\"\n [attr.aria-label]=\"'Toggle ' + node.key\">\n <mat-icon>\n {{ treeComponent.treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <mat-icon class=\"folder-icon\">\n {{ treeComponent.treeControl.isExpanded(node) ? 'folder_open' : 'folder' }}\n </mat-icon>\n <span class=\"folder-label\">{{ node.key }}</span>\n </mat-tree-node>\n </mat-tree>\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n effect,\n input,\n output,\n signal,\n} from '@angular/core';\nimport type { Observable } from 'rxjs';\n\nimport {\n APIDataFetchingConfigurationInterface,\n DataSources,\n IFolderItem,\n IPostmanCollectionConfig,\n JsDataTypes,\n MinimumInputRequiredInterface,\n} from 'ngx-t-forms-types';\n\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { _isEqual } from '../../../../shared/functions/isEqual';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\nimport { ErrorListComponent } from '../_shared/error-list/error-list.component';\nimport { PostmanCollectionsComponent } from '../postman-collections/postman-collections.component';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\nlet nextId = 0;\n\n/** Discrete UI mode this editor is in, derived from its inputs and value. */\ntype SetupMode = 'no-collection' | 'picker' | 'selected';\n\n/** HTTP method understood by the method-colour map; falls back to neutral. */\ntype HttpMethod = APIDataFetchingConfigurationInterface['httpMethod'];\n\n/** CSS-variable colour per HTTP method (dark-mode-safe; never a hex literal). */\nconst METHOD_COLOR: Readonly<Record<HttpMethod, string>> = {\n GET: 'var(--lib-forms-method-get)',\n POST: 'var(--lib-forms-method-post)',\n PUT: 'var(--lib-forms-method-put)',\n DELETE: 'var(--lib-forms-method-delete)',\n};\n\n/**\n * Parses a Postman raw request body into a plain object.\n *\n * Returns `{}` for an absent, blank or non-JSON body (a `graphql` / `formdata`\n * mode, or raw text with comments). Nesting and key names are preserved exactly as\n * authored — this is the document template mode seeds from.\n *\n * @param raw - `request.body.raw` from the Postman collection.\n * @returns The parsed body, or `{}` when there is nothing usable.\n */\nfunction parseRawBody(raw: string | undefined): Record<string, unknown> {\n if (typeof raw !== 'string' || raw.trim() === '') return {};\n try {\n const parsed: unknown = JSON.parse(raw);\n return parsed !== null && typeof parsed === 'object' ? (parsed as Record<string, unknown>) : {};\n } catch {\n return {};\n }\n}\n\n/** True when a parsed body carries at least one key — i.e. it is worth persisting. */\nfunction isNonEmptyBody(body: Record<string, unknown>): boolean {\n return Object.keys(body).length > 0;\n}\n\n/** Maps a JS `typeof` string to the shared {@link JsDataTypes} enum member. */\nfunction toJsDataType(value: unknown): JsDataTypes {\n switch (typeof value) {\n case 'string':\n return JsDataTypes.String;\n case 'number':\n return JsDataTypes.Number;\n case 'bigint':\n return JsDataTypes.BigInt;\n case 'boolean':\n return JsDataTypes.Boolean;\n case 'symbol':\n return JsDataTypes.Symbol;\n case 'function':\n return JsDataTypes.Function;\n case 'object':\n return JsDataTypes.Object;\n default:\n return JsDataTypes.Undefined;\n }\n}\n\n/**\n * Lets the user pick an API endpoint from a Postman collection and exposes the\n * resulting {@link APIDataFetchingConfigurationInterface}. Renders one of three\n * states — no collection configured, the endpoint picker, or the selected\n * endpoint card — and embeds {@link PostmanCollectionsComponent} for the tree.\n *\n * Internal editor consumed by `t-dynamic-data-edit` and `data-source-picker`;\n * the parent owns the field label, hint and validation chrome.\n *\n * @example\n * <lib-rest-api-call-setup\n * [postmanCollectionConfig]=\"config()\"\n * [value]=\"value()\"\n * [disabled]=\"disabled()\"\n * (valueChanged)=\"onApiConfig($event)\" />\n */\n@Component({\n selector: 'lib-rest-api-call-setup',\n templateUrl: './rest-api-call-setup.component.html',\n styleUrl: './rest-api-call-setup.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n imports: [\n PostmanCollectionsComponent,\n EmptyStateComponent,\n ErrorListComponent,\n MatButtonModule,\n MatIconModule,\n MatTooltipModule,\n ],\n host: {\n 'class': 'lib-rest-api-call-setup',\n '[id]': 'hostId()',\n '[attr.data-mode]': 'mode()',\n },\n})\nexport class RestApiCallSetupComponent {\n readonly #fallbackId = `lib-rest-api-call-setup-${nextId++}`;\n\n /** Optional consumer-provided host id. */\n readonly id = input<string | undefined>(undefined);\n\n /** Postman collection that backs the picker. */\n readonly postmanCollectionConfig = input<IPostmanCollectionConfig | undefined>(undefined);\n\n /**\n * Optional HTTP GET function for fetching sample responses. Retained on the\n * contract for parity; this editor does not invoke it (selection is resolved\n * from the Postman collection the parent already loads).\n */\n readonly httpGetDataFunction = input<\n ((url: string, options: Record<string, unknown>) => Observable<unknown>) | undefined\n >(undefined);\n\n /** Disables the picker and shows a lock affordance. */\n readonly disabled = input<boolean>(false);\n\n /** Current configuration value. */\n readonly value = input<APIDataFetchingConfigurationInterface | undefined>(undefined);\n\n /** Validation errors surfaced from the parent editor. */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Emits whenever the user selects a new endpoint or clears the value. */\n readonly valueChanged = output<APIDataFetchingConfigurationInterface | undefined>();\n\n /** Endpoint IDs currently loading sample data (forwarded to the picker). */\n protected readonly loadingEndPoints = signal<string[]>([]);\n\n /** Local snapshot of the value, bridged from the `value` input. */\n readonly #localValue = signal<APIDataFetchingConfigurationInterface | undefined>(undefined);\n\n /** Read-only view of the active configuration for the template. */\n protected readonly currentValue = this.#localValue.asReadonly();\n\n /** Host id: consumer-provided or a stable per-instance fallback. */\n protected readonly hostId = computed<string>(() => this.id() ?? this.#fallbackId);\n\n /** True once the snapshot carries a usable endpoint + method. */\n protected readonly hasValidValue = computed<boolean>(() => {\n const v = this.#localValue();\n return Boolean(v?.httpEndPoint) && Boolean(v?.httpMethod);\n });\n\n /** Discrete UI mode driving the template's `@switch`. */\n protected readonly mode = computed<SetupMode>(() => {\n if (!this.postmanCollectionConfig()) return 'no-collection';\n return this.hasValidValue() ? 'selected' : 'picker';\n });\n\n /** Token-based colour for the selected endpoint's HTTP method badge. */\n protected readonly methodColor = computed<string>(() => {\n const method = this.#localValue()?.httpMethod;\n return method && method in METHOD_COLOR ? METHOD_COLOR[method] : 'currentColor';\n });\n\n /**\n * Bridge the `value` input into the local mutable snapshot, de-duping with a\n * deep structural compare (replaces the legacy `JSON.stringify` equality so\n * key order and `undefined` no longer cause spurious resets).\n */\n protected readonly valueBridge = effect(() => {\n const next = this.value();\n if (!_isEqual(next, this.#localValue())) {\n this.#localValue.set(next);\n }\n });\n\n /**\n * Maps the selected tree node into the API config and emits it.\n *\n * Gated on `request` alone. It used to also require `node.response` — a saved\n * Postman *example response* — even though nothing here reads it. An endpoint\n * without one could not be selected at all: the click was a silent no-op, the\n * config was never rebuilt, `requestBody` was never captured, and template mode\n * went on showing whatever skeleton was already persisted. A folder node (the\n * only other thing the picker can emit) has no `request`, so that check alone\n * is the correct guard.\n */\n protected nodeSelectionChanged(node: IFolderItem): void {\n const { id, name, request } = node;\n\n if (!request) return;\n\n const requestBody = parseRawBody(request.body?.raw);\n\n const isPost = request.method === 'POST';\n const minimumInputRequired: MinimumInputRequiredInterface[] = isPost\n ? this.#extractRequiredInputs(requestBody)\n : [];\n\n const config: APIDataFetchingConfigurationInterface = {\n _id: id,\n name,\n httpEndPoint: request.url.raw,\n httpMethod: request.method,\n source: DataSources.Api,\n postFormData: isPost,\n backEndConfig: {\n minimumInputRequired,\n // The endpoint's untouched body is the ONLY faithful record of a nested\n // payload (`minimumInputRequired` entries carry a `name`, not a path), so it\n // is what seeds template mode. Captured for every method that actually sends\n // one — keyed on the body being present, not on `method === 'POST'`, because\n // PUT/PATCH bodies are equally real. Omitted entirely when there is nothing\n // to store, so `deriveDefaultPayloadTemplate` falls back cleanly.\n ...(isNonEmptyBody(requestBody)\n ? { requestBody: requestBody as APIDataFetchingConfigurationInterface['backEndConfig']['requestBody'] }\n : {}),\n },\n };\n\n this.#localValue.set(config);\n this.valueChanged.emit(config);\n }\n\n /**\n * Clears the selection and emits a single `undefined` (the legacy double-emit\n * — `undefined` then a stub `{ source }` — was removed; see FLAG).\n */\n protected clearValue(): void {\n this.#localValue.set(undefined);\n this.valueChanged.emit(undefined);\n }\n\n /**\n * Derives the POST endpoint's required inputs from the request body. Top-level\n * keys are primary; entries under `data` are secondary (non-primary).\n *\n * **Deliberately flat.** `MinimumInputRequiredInterface` has a `name`, not a path,\n * so a nested value can only ever become one `JsDataTypes.Object` entry — mapping\n * `filter.archive` is not expressible here. That is what template mode is for, and\n * why the untouched `requestBody` is captured alongside this (see the caller): it is\n * the only faithful record of a nested payload.\n */\n #extractRequiredInputs(requestBody: Record<string, unknown>): MinimumInputRequiredInterface[] {\n const { data, ...rest } = requestBody;\n const dataEntries: Record<string, unknown> =\n data && typeof data === 'object' ? { ...data } : {};\n\n const primaryKeys = Object.entries(rest).map(([key, val]) =>\n this.#toRequiredInput(key, val, true),\n );\n const secondaryKeys = Object.entries(dataEntries).map(([key, val]) =>\n this.#toRequiredInput(key, val, false),\n );\n\n return [...primaryKeys, ...secondaryKeys];\n }\n\n #toRequiredInput(\n name: string,\n value: unknown,\n primaryKey: boolean,\n ): MinimumInputRequiredInterface {\n return { name, type: toJsDataType(value), primaryKey };\n }\n}\n","@switch (mode()) {\n @case ('no-collection') {\n <lib-empty-state\n icon=\"link_off\"\n message=\"No Postman collection configured. Add a collection id and API key to pick an endpoint.\" />\n }\n\n @case ('selected') {\n <div class=\"lib-rest-api-call-setup__card\">\n <button\n type=\"button\"\n class=\"lib-rest-api-call-setup__endpoint\"\n mat-button\n [disabled]=\"disabled()\"\n [matTooltip]=\"currentValue()?.httpEndPoint ?? ''\"\n (click)=\"clearValue()\">\n <span class=\"lib-rest-api-call-setup__method\" [style.color]=\"methodColor()\">\n {{ currentValue()?.httpMethod }}\n </span>\n <span class=\"lib-rest-api-call-setup__name\">\n {{ currentValue()?.name }}\n </span>\n <mat-icon class=\"lib-rest-api-call-setup__clear\" aria-hidden=\"true\">close</mat-icon>\n </button>\n </div>\n }\n\n @case ('picker') {\n <lib-postman-collections\n class=\"lib-rest-api-call-setup__picker\"\n [class.lib-rest-api-call-setup__picker--disabled]=\"disabled()\"\n [postmanCollectionConfig]=\"postmanCollectionConfig()!\"\n [loadingEndPoints]=\"loadingEndPoints()\"\n (nodeSelectionChanged)=\"nodeSelectionChanged($event)\" />\n }\n}\n\n@if (disabled()) {\n <p class=\"lib-rest-api-call-setup__lock\">\n <mat-icon aria-hidden=\"true\">lock</mat-icon>\n <span>This endpoint is locked and cannot be changed.</span>\n </p>\n}\n\n<lib-error-list [errors]=\"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b,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAD,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAQP,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBApBrC,SAAS;+BACE,yBAAyB,EAAA,eAAA,EAGlB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,OAAA,EAChC;wBACP,2BAA2B;wBAC3B,mBAAmB;wBACnB,kBAAkB;wBAClB,eAAe;wBACf,aAAa;wBACb,gBAAgB;qBACjB,EAAA,IAAA,EACK;AACJ,wBAAA,OAAO,EAAE,yBAAyB;AAClC,wBAAA,MAAM,EAAE,UAAU;AAClB,wBAAA,kBAAkB,EAAE,QAAQ;AAC7B,qBAAA,EAAA,QAAA,EAAA,0/CAAA,EAAA,MAAA,EAAA,CAAA,imCAAA,CAAA,EAAA;;;;;"}
@@ -1,38 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { model, input, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i3 from '@angular/material/icon';
4
- import { MatIconModule } from '@angular/material/icon';
5
-
6
- /**
7
- * Internal search field: a tokenised input with a leading icon, an optional
8
- * result-count badge, and a clear button. Two-way bound via `value`.
9
- *
10
- * @example
11
- * <lib-search-field [(value)]="query" [resultCount]="matches().length"
12
- * placeholder="Search options" />
13
- */
14
- class SearchFieldComponent {
15
- constructor() {
16
- /** Two-way search text. */
17
- this.value = model('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
18
- /** Placeholder shown when empty. */
19
- this.placeholder = input('Search', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
20
- /** Optional result-count badge; `undefined` hides it. */
21
- this.resultCount = input(undefined, ...(ngDevMode ? [{ debugName: "resultCount" }] : /* istanbul ignore next */ []));
22
- }
23
- onInput(event) {
24
- this.value.set(event.target.value);
25
- }
26
- clear() {
27
- this.value.set('');
28
- }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SearchFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SearchFieldComponent, isStandalone: true, selector: "lib-search-field", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, resultCount: { classPropertyName: "resultCount", publicName: "resultCount", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "lib-search-field" }, ngImport: i0, template: "<mat-icon class=\"lib-search-field__icon\">search</mat-icon>\n<input\n class=\"lib-search-field__input\"\n type=\"text\"\n [placeholder]=\"placeholder()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n aria-label=\"Search\" />\n@if (resultCount() !== undefined) {\n<span class=\"lib-search-field__count\">{{ resultCount() }}</span>\n}\n@if (value()) {\n<button type=\"button\" class=\"lib-search-field__clear\" (click)=\"clear()\" aria-label=\"Clear search\">\n <mat-icon>close</mat-icon>\n</button>\n}\n", styles: [":host{display:flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}:host:focus-within{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-search-field__icon{flex:none;width:1.125rem;height:1.125rem;font-size:1.125rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__input{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font-size:.875rem;color:var(--lib-forms-on-surface)}.lib-search-field__input::placeholder{color:color-mix(in srgb,var(--lib-forms-on-surface-variant) 60%,transparent)}.lib-search-field__count{flex:none;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:var(--lib-forms-radius-sm, 8px);background:transparent;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-search-field__clear:hover{color:var(--lib-forms-error);background:var(--sem-error-surface)}.lib-search-field__clear mat-icon{width:1rem;height:1rem;font-size:1rem}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
- }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SearchFieldComponent, decorators: [{
33
- type: Component,
34
- args: [{ selector: 'lib-search-field', imports: [MatIconModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { 'class': 'lib-search-field' }, template: "<mat-icon class=\"lib-search-field__icon\">search</mat-icon>\n<input\n class=\"lib-search-field__input\"\n type=\"text\"\n [placeholder]=\"placeholder()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n aria-label=\"Search\" />\n@if (resultCount() !== undefined) {\n<span class=\"lib-search-field__count\">{{ resultCount() }}</span>\n}\n@if (value()) {\n<button type=\"button\" class=\"lib-search-field__clear\" (click)=\"clear()\" aria-label=\"Clear search\">\n <mat-icon>close</mat-icon>\n</button>\n}\n", styles: [":host{display:flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}:host:focus-within{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-search-field__icon{flex:none;width:1.125rem;height:1.125rem;font-size:1.125rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__input{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font-size:.875rem;color:var(--lib-forms-on-surface)}.lib-search-field__input::placeholder{color:color-mix(in srgb,var(--lib-forms-on-surface-variant) 60%,transparent)}.lib-search-field__count{flex:none;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:var(--lib-forms-radius-sm, 8px);background:transparent;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-search-field__clear:hover{color:var(--lib-forms-error);background:var(--sem-error-surface)}.lib-search-field__clear mat-icon{width:1rem;height:1rem;font-size:1rem}\n"] }]
35
- }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], resultCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "resultCount", required: false }] }] } });
36
-
37
- export { SearchFieldComponent as S };
38
- //# sourceMappingURL=ngx-t-forms-search-field.component-B2ZO7lqO.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-search-field.component-B2ZO7lqO.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/_shared/search-field/search-field.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/_shared/search-field/search-field.component.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation, input, model } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\n\n/**\n * Internal search field: a tokenised input with a leading icon, an optional\n * result-count badge, and a clear button. Two-way bound via `value`.\n *\n * @example\n * <lib-search-field [(value)]=\"query\" [resultCount]=\"matches().length\"\n * placeholder=\"Search options\" />\n */\n@Component({\n selector: 'lib-search-field',\n imports: [MatIconModule],\n templateUrl: './search-field.component.html',\n styleUrl: './search-field.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: { 'class': 'lib-search-field' },\n})\nexport class SearchFieldComponent {\n /** Two-way search text. */\n readonly value = model<string>('');\n /** Placeholder shown when empty. */\n readonly placeholder = input<string>('Search');\n /** Optional result-count badge; `undefined` hides it. */\n readonly resultCount = input<number | undefined>(undefined);\n\n protected onInput(event: Event): void {\n this.value.set((event.target as HTMLInputElement).value);\n }\n\n protected clear(): void {\n this.value.set('');\n }\n}\n","<mat-icon class=\"lib-search-field__icon\">search</mat-icon>\n<input\n class=\"lib-search-field__input\"\n type=\"text\"\n [placeholder]=\"placeholder()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n aria-label=\"Search\" />\n@if (resultCount() !== undefined) {\n<span class=\"lib-search-field__count\">{{ resultCount() }}</span>\n}\n@if (value()) {\n<button type=\"button\" class=\"lib-search-field__clear\" (click)=\"clear()\" aria-label=\"Clear search\">\n <mat-icon>close</mat-icon>\n</button>\n}\n"],"names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,QAAA,EAAA,EAAA,EAAA,QAAA,ECpBjC,wgBAgBA,EAAA,MAAA,EAAA,CAAA,kkDAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDHY,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAOZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAThC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WACnB,CAAC,aAAa,CAAC,EAAA,eAAA,EAGP,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAA,QAAA,EAAA,wgBAAA,EAAA,MAAA,EAAA,CAAA,kkDAAA,CAAA,EAAA;;;;;"}
@@ -1,72 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { model, input, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i3 from '@angular/material/icon';
4
- import { MatIconModule } from '@angular/material/icon';
5
-
6
- function SearchFieldComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
7
- i0.ɵɵelementStart(0, "span", 2);
8
- i0.ɵɵtext(1);
9
- i0.ɵɵelementEnd();
10
- } if (rf & 2) {
11
- const ctx_r0 = i0.ɵɵnextContext();
12
- i0.ɵɵadvance();
13
- i0.ɵɵtextInterpolate(ctx_r0.resultCount());
14
- } }
15
- function SearchFieldComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
16
- const _r2 = i0.ɵɵgetCurrentView();
17
- i0.ɵɵelementStart(0, "button", 4);
18
- i0.ɵɵlistener("click", function SearchFieldComponent_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.clear()); });
19
- i0.ɵɵelementStart(1, "mat-icon");
20
- i0.ɵɵtext(2, "close");
21
- i0.ɵɵelementEnd()();
22
- } }
23
- /**
24
- * Internal search field: a tokenised input with a leading icon, an optional
25
- * result-count badge, and a clear button. Two-way bound via `value`.
26
- *
27
- * @example
28
- * <lib-search-field [(value)]="query" [resultCount]="matches().length"
29
- * placeholder="Search options" />
30
- */
31
- class SearchFieldComponent {
32
- constructor() {
33
- /** Two-way search text. */
34
- this.value = model('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
35
- /** Placeholder shown when empty. */
36
- this.placeholder = input('Search', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
37
- /** Optional result-count badge; `undefined` hides it. */
38
- this.resultCount = input(undefined, ...(ngDevMode ? [{ debugName: "resultCount" }] : /* istanbul ignore next */ []));
39
- }
40
- onInput(event) {
41
- this.value.set(event.target.value);
42
- }
43
- clear() {
44
- this.value.set('');
45
- }
46
- static { this.ɵfac = function SearchFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchFieldComponent)(); }; }
47
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchFieldComponent, selectors: [["lib-search-field"]], hostAttrs: [1, "lib-search-field"], inputs: { value: [1, "value"], placeholder: [1, "placeholder"], resultCount: [1, "resultCount"] }, outputs: { value: "valueChange" }, decls: 5, vars: 4, consts: [[1, "lib-search-field__icon"], ["type", "text", "aria-label", "Search", 1, "lib-search-field__input", 3, "input", "placeholder", "value"], [1, "lib-search-field__count"], ["type", "button", "aria-label", "Clear search", 1, "lib-search-field__clear"], ["type", "button", "aria-label", "Clear search", 1, "lib-search-field__clear", 3, "click"]], template: function SearchFieldComponent_Template(rf, ctx) { if (rf & 1) {
48
- i0.ɵɵelementStart(0, "mat-icon", 0);
49
- i0.ɵɵtext(1, "search");
50
- i0.ɵɵelementEnd();
51
- i0.ɵɵelementStart(2, "input", 1);
52
- i0.ɵɵlistener("input", function SearchFieldComponent_Template_input_input_2_listener($event) { return ctx.onInput($event); });
53
- i0.ɵɵelementEnd();
54
- i0.ɵɵconditionalCreate(3, SearchFieldComponent_Conditional_3_Template, 2, 1, "span", 2);
55
- i0.ɵɵconditionalCreate(4, SearchFieldComponent_Conditional_4_Template, 3, 0, "button", 3);
56
- } if (rf & 2) {
57
- i0.ɵɵadvance(2);
58
- i0.ɵɵproperty("placeholder", ctx.placeholder())("value", ctx.value());
59
- i0.ɵɵadvance();
60
- i0.ɵɵconditional(ctx.resultCount() !== undefined ? 3 : -1);
61
- i0.ɵɵadvance();
62
- i0.ɵɵconditional(ctx.value() ? 4 : -1);
63
- } }, dependencies: [MatIconModule, i3.MatIcon], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}[_nghost-%COMP%]:focus-within{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-search-field__icon[_ngcontent-%COMP%]{flex:none;width:1.125rem;height:1.125rem;font-size:1.125rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__input[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font-size:.875rem;color:var(--lib-forms-on-surface)}.lib-search-field__input[_ngcontent-%COMP%]::placeholder{color:color-mix(in srgb,var(--lib-forms-on-surface-variant) 60%,transparent)}.lib-search-field__count[_ngcontent-%COMP%]{flex:none;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__clear[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:var(--lib-forms-radius-sm, 8px);background:transparent;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-search-field__clear[_ngcontent-%COMP%]:hover{color:var(--lib-forms-error);background:var(--sem-error-surface)}.lib-search-field__clear[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;font-size:1rem}"], changeDetection: 0 }); }
64
- }
65
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchFieldComponent, [{
66
- type: Component,
67
- args: [{ selector: 'lib-search-field', imports: [MatIconModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { 'class': 'lib-search-field' }, template: "<mat-icon class=\"lib-search-field__icon\">search</mat-icon>\n<input\n class=\"lib-search-field__input\"\n type=\"text\"\n [placeholder]=\"placeholder()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n aria-label=\"Search\" />\n@if (resultCount() !== undefined) {\n<span class=\"lib-search-field__count\">{{ resultCount() }}</span>\n}\n@if (value()) {\n<button type=\"button\" class=\"lib-search-field__clear\" (click)=\"clear()\" aria-label=\"Clear search\">\n <mat-icon>close</mat-icon>\n</button>\n}\n", styles: [":host{display:flex;align-items:center;gap:.5rem;min-height:2.25rem;padding:.5rem .75rem;border:1px solid var(--lib-forms-outline);border-radius:var(--lib-forms-radius-sm, 8px);background:var(--lib-forms-surface);transition:border-color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),box-shadow var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}:host:focus-within{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-search-field__icon{flex:none;width:1.125rem;height:1.125rem;font-size:1.125rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__input{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font-size:.875rem;color:var(--lib-forms-on-surface)}.lib-search-field__input::placeholder{color:color-mix(in srgb,var(--lib-forms-on-surface-variant) 60%,transparent)}.lib-search-field__count{flex:none;font-size:.75rem;color:var(--lib-forms-on-surface-variant)}.lib-search-field__clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:var(--lib-forms-radius-sm, 8px);background:transparent;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing),background var(--lib-forms-duration-hover, .3s) var(--lib-forms-easing)}.lib-search-field__clear:hover{color:var(--lib-forms-error);background:var(--sem-error-surface)}.lib-search-field__clear mat-icon{width:1rem;height:1rem;font-size:1rem}\n"] }]
68
- }], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], resultCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "resultCount", required: false }] }] }); })();
69
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchFieldComponent, { className: "SearchFieldComponent", filePath: "lib/components/t-dynamic-data-edit/elements/_shared/search-field/search-field.component.ts", lineNumber: 21 }); })();
70
-
71
- export { SearchFieldComponent as S };
72
- //# sourceMappingURL=ngx-t-forms-search-field.component-BGdAmzJV.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-search-field.component-BGdAmzJV.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/_shared/search-field/search-field.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/_shared/search-field/search-field.component.ts"],"sourcesContent":["<mat-icon class=\"lib-search-field__icon\">search</mat-icon>\n<input\n class=\"lib-search-field__input\"\n type=\"text\"\n [placeholder]=\"placeholder()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n aria-label=\"Search\" />\n@if (resultCount() !== undefined) {\n<span class=\"lib-search-field__count\">{{ resultCount() }}</span>\n}\n@if (value()) {\n<button type=\"button\" class=\"lib-search-field__clear\" (click)=\"clear()\" aria-label=\"Clear search\">\n <mat-icon>close</mat-icon>\n</button>\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, input, model } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\n\n/**\n * Internal search field: a tokenised input with a leading icon, an optional\n * result-count badge, and a clear button. Two-way bound via `value`.\n *\n * @example\n * <lib-search-field [(value)]=\"query\" [resultCount]=\"matches().length\"\n * placeholder=\"Search options\" />\n */\n@Component({\n selector: 'lib-search-field',\n imports: [MatIconModule],\n templateUrl: './search-field.component.html',\n styleUrl: './search-field.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: { 'class': 'lib-search-field' },\n})\nexport class SearchFieldComponent {\n /** Two-way search text. */\n readonly value = model<string>('');\n /** Placeholder shown when empty. */\n readonly placeholder = input<string>('Search');\n /** Optional result-count badge; `undefined` hides it. */\n readonly resultCount = input<number | undefined>(undefined);\n\n protected onInput(event: Event): void {\n this.value.set((event.target as HTMLInputElement).value);\n }\n\n protected clear(): void {\n this.value.set('');\n }\n}\n"],"names":["i1"],"mappings":";;;;;;IASA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAsC;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAmB;IAAA,EAAA,CAAA,YAAA,EAAO;;;IAA1B,EAAA,CAAA,SAAA,EAAmB;IAAnB,EAAA,CAAA,iBAAA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A,CAAA,EAAA,QAAA,EAAA,CAAA,CAAe;;YAPb,EAAA,CAAA,SAAA,CAAA,CAAA,CAA6B;AAC7B,YADA,+CAA6B,CAAA,OAAA,EAAA,GAAA,CAAA,KAAA,EAAA,CACZ;YAGnB,EAAA,CAAA,SAAA,EAEC;YAFD,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,WAAA,EAAA,KAAA,SAAA,GAAA,CAAA,GAAA,CAAA,CAAA,CAEC;YACD,EAAA,CAAA,SAAA,EAIC;YAJD,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,KAAA,EAAA,GAAA,CAAA,GAAA,CAAA,CAAA,CAIC;4BCFW,aAAa,EAAAA,EAAA,CAAA,OAAA,CAAA,EAAA,MAAA,EAAA,CAAA,gvDAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;iFAOZ,oBAAoB,EAAA,CAAA;cAThC,SAAS;AACE,QAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WACnB,CAAC,aAAa,CAAC,EAAA,eAAA,EAGP,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAA,QAAA,EAAA,wgBAAA,EAAA,MAAA,EAAA,CAAA,kkDAAA,CAAA,EAAA;;kFAE1B,oBAAoB,EAAA,EAAA,SAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,4FAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -1,248 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, inject, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i4 from '@angular/material/chips';
4
- import { MatChipsModule } from '@angular/material/chips';
5
- import * as i3 from '@angular/material/icon';
6
- import { MatIconModule } from '@angular/material/icon';
7
- import * as i2 from '@angular/material/sort';
8
- import { MatSortModule } from '@angular/material/sort';
9
- import * as i5 from '@angular/material/table';
10
- import { MatTableModule } from '@angular/material/table';
11
- import * as i8 from '@angular/material/toolbar';
12
- import { MatToolbarModule } from '@angular/material/toolbar';
13
- import { F as FormsStoreService } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
14
- import { ElementTypes, validateFormSlide } from 'ngx-t-forms-types';
15
-
16
- const _c0 = () => [];
17
- function SectionReportComponent_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
18
- i0.ɵɵelementStart(0, "div", 6)(1, "mat-icon");
19
- i0.ɵɵtext(2, "task_alt");
20
- i0.ɵɵelementEnd();
21
- i0.ɵɵtext(3, " Initialized ");
22
- i0.ɵɵelementEnd();
23
- } }
24
- function SectionReportComponent_Conditional_0_th_14_Template(rf, ctx) { if (rf & 1) {
25
- i0.ɵɵelement(0, "th", 18);
26
- } }
27
- function SectionReportComponent_Conditional_0_td_15_Template(rf, ctx) { if (rf & 1) {
28
- i0.ɵɵelementStart(0, "td", 19)(1, "mat-icon");
29
- i0.ɵɵtext(2);
30
- i0.ɵɵelementEnd()();
31
- } if (rf & 2) {
32
- const row_r1 = ctx.$implicit;
33
- i0.ɵɵadvance();
34
- i0.ɵɵstyleProp("color", row_r1.color);
35
- i0.ɵɵadvance();
36
- i0.ɵɵtextInterpolate(row_r1.icon);
37
- } }
38
- function SectionReportComponent_Conditional_0_th_17_Template(rf, ctx) { if (rf & 1) {
39
- i0.ɵɵelementStart(0, "th", 20);
40
- i0.ɵɵtext(1, "description");
41
- i0.ɵɵelementEnd();
42
- } }
43
- function SectionReportComponent_Conditional_0_td_18_Template(rf, ctx) { if (rf & 1) {
44
- i0.ɵɵelementStart(0, "td", 19);
45
- i0.ɵɵtext(1);
46
- i0.ɵɵelementEnd();
47
- } if (rf & 2) {
48
- const row_r2 = ctx.$implicit;
49
- i0.ɵɵadvance();
50
- i0.ɵɵtextInterpolate(row_r2.description);
51
- } }
52
- function SectionReportComponent_Conditional_0_th_20_Template(rf, ctx) { if (rf & 1) {
53
- i0.ɵɵelementStart(0, "th", 20);
54
- i0.ɵɵtext(1, "Type");
55
- i0.ɵɵelementEnd();
56
- } }
57
- function SectionReportComponent_Conditional_0_td_21_Template(rf, ctx) { if (rf & 1) {
58
- i0.ɵɵelementStart(0, "td", 19);
59
- i0.ɵɵtext(1);
60
- i0.ɵɵelementEnd();
61
- } if (rf & 2) {
62
- const row_r3 = ctx.$implicit;
63
- i0.ɵɵadvance();
64
- i0.ɵɵtextInterpolate(row_r3.name);
65
- } }
66
- function SectionReportComponent_Conditional_0_th_23_Template(rf, ctx) { if (rf & 1) {
67
- i0.ɵɵelementStart(0, "th", 20);
68
- i0.ɵɵtext(1, "Value");
69
- i0.ɵɵelementEnd();
70
- } }
71
- function SectionReportComponent_Conditional_0_td_24_Template(rf, ctx) { if (rf & 1) {
72
- i0.ɵɵelementStart(0, "td", 19);
73
- i0.ɵɵtext(1);
74
- i0.ɵɵelementEnd();
75
- } if (rf & 2) {
76
- const row_r4 = ctx.$implicit;
77
- i0.ɵɵadvance();
78
- i0.ɵɵtextInterpolate(row_r4.value);
79
- } }
80
- function SectionReportComponent_Conditional_0_th_26_Template(rf, ctx) { if (rf & 1) {
81
- i0.ɵɵelementStart(0, "th", 18);
82
- i0.ɵɵtext(1, "Details");
83
- i0.ɵɵelementEnd();
84
- } }
85
- function SectionReportComponent_Conditional_0_td_27_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
86
- i0.ɵɵelementStart(0, "mat-chip", 21);
87
- i0.ɵɵtext(1);
88
- i0.ɵɵelementEnd();
89
- } if (rf & 2) {
90
- const detail_r5 = ctx.$implicit;
91
- i0.ɵɵadvance();
92
- i0.ɵɵtextInterpolate(detail_r5);
93
- } }
94
- function SectionReportComponent_Conditional_0_td_27_Conditional_1_Template(rf, ctx) { if (rf & 1) {
95
- i0.ɵɵelementStart(0, "mat-chip-set");
96
- i0.ɵɵrepeaterCreate(1, SectionReportComponent_Conditional_0_td_27_Conditional_1_For_2_Template, 2, 1, "mat-chip", 21, i0.ɵɵrepeaterTrackByIndex);
97
- i0.ɵɵelementEnd();
98
- } if (rf & 2) {
99
- const row_r6 = i0.ɵɵnextContext().$implicit;
100
- i0.ɵɵadvance();
101
- i0.ɵɵrepeater(row_r6.details);
102
- } }
103
- function SectionReportComponent_Conditional_0_td_27_Template(rf, ctx) { if (rf & 1) {
104
- i0.ɵɵelementStart(0, "td", 19);
105
- i0.ɵɵconditionalCreate(1, SectionReportComponent_Conditional_0_td_27_Conditional_1_Template, 3, 0, "mat-chip-set");
106
- i0.ɵɵelementEnd();
107
- } if (rf & 2) {
108
- const row_r6 = ctx.$implicit;
109
- i0.ɵɵadvance();
110
- i0.ɵɵconditional((row_r6.details == null ? null : row_r6.details.length) ? 1 : -1);
111
- } }
112
- function SectionReportComponent_Conditional_0_tr_28_Template(rf, ctx) { if (rf & 1) {
113
- i0.ɵɵelement(0, "tr", 22);
114
- } }
115
- function SectionReportComponent_Conditional_0_tr_29_Template(rf, ctx) { if (rf & 1) {
116
- i0.ɵɵelement(0, "tr", 23);
117
- } }
118
- function SectionReportComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
119
- i0.ɵɵelementStart(0, "div", 0)(1, "mat-toolbar", 1)(2, "mat-icon", 2);
120
- i0.ɵɵtext(3, "analytics");
121
- i0.ɵɵelementEnd();
122
- i0.ɵɵelementStart(4, "small");
123
- i0.ɵɵtext(5, " Form Section Diagnostic Report ");
124
- i0.ɵɵelementEnd();
125
- i0.ɵɵelement(6, "span", 3);
126
- i0.ɵɵelementStart(7, "div", 4)(8, "div", 5)(9, "mat-icon");
127
- i0.ɵɵtext(10, "check_circle");
128
- i0.ɵɵelementEnd()();
129
- i0.ɵɵconditionalCreate(11, SectionReportComponent_Conditional_0_Conditional_11_Template, 4, 0, "div", 6);
130
- i0.ɵɵelementEnd()();
131
- i0.ɵɵelementStart(12, "table", 7);
132
- i0.ɵɵelementContainerStart(13, 8);
133
- i0.ɵɵtemplate(14, SectionReportComponent_Conditional_0_th_14_Template, 1, 0, "th", 9)(15, SectionReportComponent_Conditional_0_td_15_Template, 3, 3, "td", 10);
134
- i0.ɵɵelementContainerEnd();
135
- i0.ɵɵelementContainerStart(16, 11);
136
- i0.ɵɵtemplate(17, SectionReportComponent_Conditional_0_th_17_Template, 2, 0, "th", 12)(18, SectionReportComponent_Conditional_0_td_18_Template, 2, 1, "td", 10);
137
- i0.ɵɵelementContainerEnd();
138
- i0.ɵɵelementContainerStart(19, 13);
139
- i0.ɵɵtemplate(20, SectionReportComponent_Conditional_0_th_20_Template, 2, 0, "th", 12)(21, SectionReportComponent_Conditional_0_td_21_Template, 2, 1, "td", 10);
140
- i0.ɵɵelementContainerEnd();
141
- i0.ɵɵelementContainerStart(22, 14);
142
- i0.ɵɵtemplate(23, SectionReportComponent_Conditional_0_th_23_Template, 2, 0, "th", 12)(24, SectionReportComponent_Conditional_0_td_24_Template, 2, 1, "td", 10);
143
- i0.ɵɵelementContainerEnd();
144
- i0.ɵɵelementContainerStart(25, 15);
145
- i0.ɵɵtemplate(26, SectionReportComponent_Conditional_0_th_26_Template, 2, 0, "th", 9)(27, SectionReportComponent_Conditional_0_td_27_Template, 2, 1, "td", 10);
146
- i0.ɵɵelementContainerEnd();
147
- i0.ɵɵtemplate(28, SectionReportComponent_Conditional_0_tr_28_Template, 1, 0, "tr", 16)(29, SectionReportComponent_Conditional_0_tr_29_Template, 1, 0, "tr", 17);
148
- i0.ɵɵelementEnd()();
149
- } if (rf & 2) {
150
- let tmp_1_0;
151
- const ctx_r6 = i0.ɵɵnextContext();
152
- i0.ɵɵadvance(11);
153
- i0.ɵɵconditional(((tmp_1_0 = ctx_r6.section()) == null ? null : tmp_1_0.sectionIsSeen) ? 11 : -1);
154
- i0.ɵɵadvance();
155
- i0.ɵɵproperty("dataSource", ctx_r6.sectionData() || i0.ɵɵpureFunction0(4, _c0));
156
- i0.ɵɵadvance(16);
157
- i0.ɵɵproperty("matHeaderRowDef", ctx_r6.displayedColumns);
158
- i0.ɵɵadvance();
159
- i0.ɵɵproperty("matRowDefColumns", ctx_r6.displayedColumns);
160
- } }
161
- class SectionReportComponent {
162
- constructor() {
163
- this.sectionId = input.required(...(ngDevMode ? [{ debugName: "sectionId" }] : /* istanbul ignore next */ []));
164
- this.displayedColumns = ['icon', 'name', 'description', 'value'];
165
- this.#store = inject(FormsStoreService);
166
- this.selectFormInEdit = this.#store.signalSelectors.selectFormInEdit;
167
- this.section = computed(() => {
168
- const form = this.selectFormInEdit();
169
- return (form?.form.slides.find((slide) => slide.sectionId === this.sectionId()) ||
170
- null);
171
- }, ...(ngDevMode ? [{ debugName: "section" }] : /* istanbul ignore next */ []));
172
- this.sectionData = computed(() => this.#buildMetrics(this.section()), ...(ngDevMode ? [{ debugName: "sectionData" }] : /* istanbul ignore next */ []));
173
- }
174
- #store;
175
- #buildMetrics(data) {
176
- if (!data)
177
- return [];
178
- const sectionId = this.sectionId();
179
- const allInputs = data.columns
180
- .flatMap((column) => column.element === ElementTypes.MultipleInput
181
- ? [...(column?.formInputs || []), column]
182
- : [column])
183
- .filter((input) => input.sectionId === sectionId);
184
- const calculatedInputs = allInputs.filter((input) => input.calculatedFieldRules?.formula && input.calculatedFieldRules?.formula !== '');
185
- const inputsWithManualValidations = allInputs.filter((input) => input.validators?.some((validator) => Object.keys(validator).length > 0));
186
- const allSectionInputConfigErrors = validateFormSlide(data);
187
- return [
188
- {
189
- icon: 'input',
190
- name: 'Total Inputs',
191
- value: Object.keys(allInputs || {}).length,
192
- color: '#2196f3',
193
- description: 'Total number of form inputs in section',
194
- trend: 'stable',
195
- category: 'inputs',
196
- },
197
- {
198
- icon: 'calculate',
199
- name: 'Calculated Fields',
200
- value: calculatedInputs.length,
201
- details: calculatedInputs,
202
- color: '#4caf50',
203
- description: 'Fields with calculation formulas',
204
- trend: 'monitoring',
205
- category: 'calculations',
206
- },
207
- {
208
- icon: 'rule',
209
- name: 'Manual Validations',
210
- value: inputsWithManualValidations.length,
211
- details: inputsWithManualValidations,
212
- color: '#ff9800',
213
- description: 'Fields with custom validation rules',
214
- trend: 'warning',
215
- category: 'validation',
216
- },
217
- {
218
- icon: 'bug_report',
219
- name: 'Config Errors',
220
- value: allSectionInputConfigErrors.length,
221
- color: '#f44336',
222
- description: 'Configuration errors detected',
223
- trend: 'critical',
224
- category: 'errors',
225
- },
226
- ];
227
- }
228
- static { this.ɵfac = function SectionReportComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SectionReportComponent)(); }; }
229
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SectionReportComponent, selectors: [["lib-section-report"]], inputs: { sectionId: [1, "sectionId"] }, decls: 1, vars: 1, consts: [[1, "report-container"], [2, "padding", "0px"], [1, "section-icon"], [1, "spacer"], [1, "status-chips"], [1, "status-chip"], [1, "status-chip", "initialized"], ["mat-table", "", "matSort", "", 1, "w-full", 3, "dataSource"], ["matColumnDef", "icon"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], ["matColumnDef", "description"], ["mat-header-cell", "", "mat-sort-header", "", 4, "matHeaderCellDef"], ["matColumnDef", "name"], ["matColumnDef", "value"], ["matColumnDef", "details"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["mat-header-cell", ""], ["mat-cell", ""], ["mat-header-cell", "", "mat-sort-header", ""], [1, "detail-chip"], ["mat-header-row", ""], ["mat-row", ""]], template: function SectionReportComponent_Template(rf, ctx) { if (rf & 1) {
230
- i0.ɵɵconditionalCreate(0, SectionReportComponent_Conditional_0_Template, 30, 5, "div", 0);
231
- } if (rf & 2) {
232
- i0.ɵɵconditional(ctx.section() ? 0 : -1);
233
- } }, dependencies: [MatChipsModule, i4.MatChip, i4.MatChipSet, MatIconModule, i3.MatIcon, MatSortModule, i2.MatSort, i2.MatSortHeader, MatTableModule, i5.MatTable, i5.MatHeaderCellDef, i5.MatHeaderRowDef, i5.MatColumnDef, i5.MatCellDef, i5.MatRowDef, i5.MatHeaderCell, i5.MatCell, i5.MatHeaderRow, i5.MatRow, MatToolbarModule, i8.MatToolbar], styles: [".report-container[_ngcontent-%COMP%]{padding:20px;display:flex;flex-direction:column;gap:20px;background:var(--mat-sys-surface-container, var(--mat-app-surface))}.header-card[_ngcontent-%COMP%]{background:var(--lib-forms-surface)}.title-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.section-icon[_ngcontent-%COMP%]{color:var(--sem-info);font-size:1.75em;width:28px;height:28px;margin-right:8px}h1[_ngcontent-%COMP%]{margin:0;font-size:1.25em;font-weight:500}.subtitle[_ngcontent-%COMP%]{margin:4px 0 0;color:var(--lib-forms-on-surface-variant);font-size:.875em}.status-chips[_ngcontent-%COMP%]{display:flex;gap:8px;margin-left:auto}.status-chip[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;padding:4px 12px;border-radius:16px;background:var(--sem-success);color:var(--lib-forms-on-primary);font-size:.875em}.status-chip.invalid[_ngcontent-%COMP%]{background:var(--sem-error)}.status-chip.initialized[_ngcontent-%COMP%]{background:var(--sem-info)}.status-chip[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.125em;width:18px;height:18px}.filter-field[_ngcontent-%COMP%]{width:100%;margin-bottom:16px}.detail-chip[_ngcontent-%COMP%]{font-size:.75em;height:24px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"], changeDetection: 0 }); }
234
- }
235
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SectionReportComponent, [{
236
- type: Component,
237
- args: [{ selector: 'lib-section-report', imports: [
238
- MatChipsModule,
239
- MatIconModule,
240
- MatSortModule,
241
- MatTableModule,
242
- MatToolbarModule,
243
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (section()) {\r\n <div class=\"report-container\">\r\n <mat-toolbar style=\"padding: 0px;\">\r\n <mat-icon class=\"section-icon\">analytics</mat-icon>\r\n <small>\r\n Form Section Diagnostic Report\r\n </small>\r\n\r\n <span class=\"spacer\"></span>\r\n <div class=\"status-chips\">\r\n <div class=\"status-chip\">\r\n <mat-icon>check_circle</mat-icon>\r\n </div>\r\n @if (section()?.sectionIsSeen) {\r\n <div class=\"status-chip initialized\">\r\n <mat-icon>task_alt</mat-icon>\r\n Initialized\r\n </div>\r\n }\r\n </div>\r\n </mat-toolbar>\r\n\r\n <table mat-table [dataSource]=\"(sectionData()) || []\" matSort class=\"w-full\">\r\n <!-- Icon Column -->\r\n <ng-container matColumnDef=\"icon\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-icon [style.color]=\"row.color\">{{ row.icon }}</mat-icon>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- description Column -->\r\n <ng-container matColumnDef=\"description\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>description</th>\r\n <td mat-cell *matCellDef=\"let row\">{{ row.description }}</td>\r\n </ng-container>\r\n\r\n <!-- Name Column -->\r\n <ng-container matColumnDef=\"name\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Type</th>\r\n <td mat-cell *matCellDef=\"let row\">{{ row.name }}</td>\r\n </ng-container>\r\n\r\n <!-- Value Column -->\r\n <ng-container matColumnDef=\"value\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Value</th>\r\n <td mat-cell *matCellDef=\"let row\">{{ row.value }}</td>\r\n </ng-container>\r\n\r\n <!-- Details Column -->\r\n <ng-container matColumnDef=\"details\">\r\n <th mat-header-cell *matHeaderCellDef>Details</th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n @if (row.details?.length) {\r\n <mat-chip-set>\r\n @for (detail of row.details; track $index) {\r\n <mat-chip class=\"detail-chip\">{{ detail }}</mat-chip>\r\n }\r\n </mat-chip-set>\r\n }\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n </div>\r\n}\r\n", styles: [".report-container{padding:20px;display:flex;flex-direction:column;gap:20px;background:var(--mat-sys-surface-container, var(--mat-app-surface))}.header-card{background:var(--lib-forms-surface)}.title-section{display:flex;align-items:center;gap:12px}.section-icon{color:var(--sem-info);font-size:1.75em;width:28px;height:28px;margin-right:8px}h1{margin:0;font-size:1.25em;font-weight:500}.subtitle{margin:4px 0 0;color:var(--lib-forms-on-surface-variant);font-size:.875em}.status-chips{display:flex;gap:8px;margin-left:auto}.status-chip{display:flex;align-items:center;gap:4px;padding:4px 12px;border-radius:16px;background:var(--sem-success);color:var(--lib-forms-on-primary);font-size:.875em}.status-chip.invalid{background:var(--sem-error)}.status-chip.initialized{background:var(--sem-info)}.status-chip mat-icon{font-size:1.125em;width:18px;height:18px}.filter-field{width:100%;margin-bottom:16px}.detail-chip{font-size:.75em;height:24px}mat-card-content{padding:16px}\n"] }]
244
- }], null, { sectionId: [{ type: i0.Input, args: [{ isSignal: true, alias: "sectionId", required: true }] }] }); })();
245
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionReportComponent, { className: "SectionReportComponent", filePath: "lib/components/form-builder/elements/section-report/section-report.component.ts", lineNumber: 37 }); })();
246
-
247
- export { SectionReportComponent };
248
- //# sourceMappingURL=ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-section-report.component-yGAjX7Gb.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/section-report/section-report.component.html","../../../projects/ngx-t-forms/src/lib/components/form-builder/elements/section-report/section-report.component.ts"],"sourcesContent":["@if (section()) {\r\n <div class=\"report-container\">\r\n <mat-toolbar style=\"padding: 0px;\">\r\n <mat-icon class=\"section-icon\">analytics</mat-icon>\r\n <small>\r\n Form Section Diagnostic Report\r\n </small>\r\n\r\n <span class=\"spacer\"></span>\r\n <div class=\"status-chips\">\r\n <div class=\"status-chip\">\r\n <mat-icon>check_circle</mat-icon>\r\n </div>\r\n @if (section()?.sectionIsSeen) {\r\n <div class=\"status-chip initialized\">\r\n <mat-icon>task_alt</mat-icon>\r\n Initialized\r\n </div>\r\n }\r\n </div>\r\n </mat-toolbar>\r\n\r\n <table mat-table [dataSource]=\"(sectionData()) || []\" matSort class=\"w-full\">\r\n <!-- Icon Column -->\r\n <ng-container matColumnDef=\"icon\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-icon [style.color]=\"row.color\">{{ row.icon }}</mat-icon>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- description Column -->\r\n <ng-container matColumnDef=\"description\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>description</th>\r\n <td mat-cell *matCellDef=\"let row\">{{ row.description }}</td>\r\n </ng-container>\r\n\r\n <!-- Name Column -->\r\n <ng-container matColumnDef=\"name\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Type</th>\r\n <td mat-cell *matCellDef=\"let row\">{{ row.name }}</td>\r\n </ng-container>\r\n\r\n <!-- Value Column -->\r\n <ng-container matColumnDef=\"value\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Value</th>\r\n <td mat-cell *matCellDef=\"let row\">{{ row.value }}</td>\r\n </ng-container>\r\n\r\n <!-- Details Column -->\r\n <ng-container matColumnDef=\"details\">\r\n <th mat-header-cell *matHeaderCellDef>Details</th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n @if (row.details?.length) {\r\n <mat-chip-set>\r\n @for (detail of row.details; track $index) {\r\n <mat-chip class=\"detail-chip\">{{ detail }}</mat-chip>\r\n }\r\n </mat-chip-set>\r\n }\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n </div>\r\n}\r\n","import { ChangeDetectionStrategy, Component, Signal, computed, inject, input } from '@angular/core';\r\n\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\n\r\nimport { FormsStoreService } from '../../../forms/store/forms-store.service';\r\n\r\nimport { ElementTypes, FormSlideInterface, validateFormSlide } from 'ngx-t-forms-types';\r\n\r\ninterface SectionReportMetric {\r\n icon: string;\r\n name: string;\r\n value: number;\r\n color: string;\r\n description: string;\r\n trend: string;\r\n category: string;\r\n details?: unknown[];\r\n}\r\n\r\n@Component({\r\n selector: 'lib-section-report',\r\n imports: [\r\n MatChipsModule,\r\n MatIconModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatToolbarModule,\r\n ],\r\n templateUrl: './section-report.component.html',\r\n styleUrl: './section-report.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class SectionReportComponent {\r\n readonly sectionId = input.required<string>();\r\n\r\n protected readonly displayedColumns: readonly string[] = ['icon', 'name', 'description', 'value'];\r\n\r\n readonly #store: FormsStoreService = inject(FormsStoreService);\r\n protected readonly selectFormInEdit = this.#store.signalSelectors.selectFormInEdit;\r\n\r\n protected readonly section: Signal<FormSlideInterface | null> = computed<FormSlideInterface | null>(() => {\r\n const form = this.selectFormInEdit();\r\n return (\r\n form?.form.slides.find((slide: FormSlideInterface) => slide.sectionId === this.sectionId()) ||\r\n null\r\n );\r\n });\r\n\r\n protected readonly sectionData: Signal<SectionReportMetric[]> = computed<SectionReportMetric[]>(\r\n () => this.#buildMetrics(this.section()),\r\n );\r\n\r\n #buildMetrics(data: FormSlideInterface | null): SectionReportMetric[] {\r\n if (!data) return [];\r\n const sectionId = this.sectionId();\r\n const allInputs = data.columns\r\n .flatMap((column) =>\r\n column.element === ElementTypes.MultipleInput\r\n ? [...(column?.formInputs || []), column]\r\n : [column],\r\n )\r\n .filter((input) => input.sectionId === sectionId);\r\n\r\n const calculatedInputs = allInputs.filter(\r\n (input) =>\r\n input.calculatedFieldRules?.formula && input.calculatedFieldRules?.formula !== '',\r\n );\r\n const inputsWithManualValidations = allInputs.filter((input) =>\r\n input.validators?.some((validator) => Object.keys(validator).length > 0),\r\n );\r\n const allSectionInputConfigErrors = validateFormSlide(data);\r\n\r\n return [\r\n {\r\n icon: 'input',\r\n name: 'Total Inputs',\r\n value: Object.keys(allInputs || {}).length,\r\n color: '#2196f3',\r\n description: 'Total number of form inputs in section',\r\n trend: 'stable',\r\n category: 'inputs',\r\n },\r\n {\r\n icon: 'calculate',\r\n name: 'Calculated Fields',\r\n value: calculatedInputs.length,\r\n details: calculatedInputs,\r\n color: '#4caf50',\r\n description: 'Fields with calculation formulas',\r\n trend: 'monitoring',\r\n category: 'calculations',\r\n },\r\n {\r\n icon: 'rule',\r\n name: 'Manual Validations',\r\n value: inputsWithManualValidations.length,\r\n details: inputsWithManualValidations,\r\n color: '#ff9800',\r\n description: 'Fields with custom validation rules',\r\n trend: 'warning',\r\n category: 'validation',\r\n },\r\n {\r\n icon: 'bug_report',\r\n name: 'Config Errors',\r\n value: allSectionInputConfigErrors.length,\r\n color: '#f44336',\r\n description: 'Configuration errors detected',\r\n trend: 'critical',\r\n category: 'errors',\r\n },\r\n ];\r\n }\r\n}\r\n"],"names":["i2","i3","i5"],"mappings":";;;;;;;;;;;;;;;;;AAeY,IADF,8BAAqC,CAAA,CAAA,EAAA,UAAA,CACzB;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,UAAA,CAAQ;IAAA,EAAA,CAAA,YAAA,EAAW;IAC7B,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,eAAA,CACF;IAAA,EAAA,CAAA,YAAA,EAAM;;;IAQR,EAAA,CAAA,SAAA,CAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAA2C;;;AAEzC,IADF,8BAAmC,CAAA,CAAA,EAAA,UAAA,C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