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,291 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, output, signal, computed, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { JsonPipe } from '@angular/common';
4
- import { MatButtonModule } from '@angular/material/button';
5
- import * as i3 from '@angular/material/button-toggle';
6
- import { MatButtonToggleModule } from '@angular/material/button-toggle';
7
- import * as i3$1 from '@angular/material/icon';
8
- import { MatIconModule } from '@angular/material/icon';
9
- import * as i5 from '@angular/material/tooltip';
10
- import { MatTooltipModule } from '@angular/material/tooltip';
11
-
12
- /**
13
- * Parser/serialiser for the `projectFormData` submission expression.
14
- *
15
- * At runtime the expression is consumed by `destructureObject({ $formValue: form }, expr)`,
16
- * so the only token available is `$formValue` — the entire submitted form. The
17
- * sole authoring choice is therefore whether to send the form fields flat or to
18
- * nest the whole payload under one or more named keys. This module bridges that
19
- * raw string and the guided builder's structured model.
20
- */
21
- /** Token that resolves to the entire submitted form payload at runtime. */
22
- const FORM_VALUE_TOKEN = '$formValue';
23
- /** Default envelope: the whole form nested under a `data` key. */
24
- const DEFAULT_PROJECTION = `data:{${FORM_VALUE_TOKEN}}`;
25
- /** Matches a single `alias:{token}` envelope entry. */
26
- const ENVELOPE = /^([^:]+):\{(.+)\}$/;
27
- /**
28
- * Parses a `projectFormData` expression into the guided model (best-effort).
29
- * Unrecognised entries are kept as literal keys so nothing is silently dropped.
30
- */
31
- function parseProjection(expression) {
32
- if (!expression)
33
- return { keys: [] };
34
- const keys = expression
35
- .split(',')
36
- .map((entry) => entry.trim())
37
- .filter(Boolean)
38
- .map((entry) => {
39
- const match = ENVELOPE.exec(entry);
40
- // `alias:{$formValue}` ⇒ alias; a bare token (or any other entry) ⇒ literal key.
41
- return (match?.[1] ?? entry).trim();
42
- })
43
- .filter(Boolean);
44
- return { keys };
45
- }
46
- /** Serialises the guided model back to a `projectFormData` expression. */
47
- function serializeProjection(model) {
48
- return model.keys
49
- .map((key) => key.trim())
50
- .filter(Boolean)
51
- .map((key) => `${key}:{${FORM_VALUE_TOKEN}}`)
52
- .join(', ');
53
- }
54
-
55
- function FormPayloadProjectionComponent_Conditional_15_For_4_Template(rf, ctx) { if (rf & 1) {
56
- const _r2 = i0.ɵɵgetCurrentView();
57
- i0.ɵɵelementStart(0, "div", 14)(1, "span", 16);
58
- i0.ɵɵtext(2, "{");
59
- i0.ɵɵelementEnd();
60
- i0.ɵɵelementStart(3, "input", 17);
61
- i0.ɵɵlistener("input", function FormPayloadProjectionComponent_Conditional_15_For_4_Template_input_input_3_listener($event) { const ɵ$index_31_r3 = i0.ɵɵrestoreView(_r2).$index; const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.updateKey(ɵ$index_31_r3, ctx_r3.inputValue($event))); });
62
- i0.ɵɵelementEnd();
63
- i0.ɵɵelementStart(4, "span", 18);
64
- i0.ɵɵtext(5, ": form}");
65
- i0.ɵɵelementEnd();
66
- i0.ɵɵelementStart(6, "button", 19);
67
- i0.ɵɵlistener("click", function FormPayloadProjectionComponent_Conditional_15_For_4_Template_button_click_6_listener() { const ɵ$index_31_r3 = i0.ɵɵrestoreView(_r2).$index; const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.removeKey(ɵ$index_31_r3)); });
68
- i0.ɵɵelementStart(7, "mat-icon");
69
- i0.ɵɵtext(8, "close");
70
- i0.ɵɵelementEnd()()();
71
- } if (rf & 2) {
72
- const key_r5 = ctx.$implicit;
73
- const ɵ$index_31_r3 = ctx.$index;
74
- const ctx_r3 = i0.ɵɵnextContext(2);
75
- i0.ɵɵadvance(3);
76
- i0.ɵɵproperty("value", key_r5)("disabled", ctx_r3.disabled());
77
- i0.ɵɵattribute("aria-label", "Wrapper key " + (ɵ$index_31_r3 + 1));
78
- i0.ɵɵadvance(3);
79
- i0.ɵɵproperty("disabled", ctx_r3.disabled());
80
- i0.ɵɵattribute("aria-label", "Remove wrapper key " + (ɵ$index_31_r3 + 1));
81
- } }
82
- function FormPayloadProjectionComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
83
- const _r1 = i0.ɵɵgetCurrentView();
84
- i0.ɵɵelementStart(0, "div", 6)(1, "span", 10);
85
- i0.ɵɵtext(2, "Wrap the form under");
86
- i0.ɵɵelementEnd();
87
- i0.ɵɵrepeaterCreate(3, FormPayloadProjectionComponent_Conditional_15_For_4_Template, 9, 5, "div", 14, i0.ɵɵcomponentInstance().trackByIndex, true);
88
- i0.ɵɵelementStart(5, "button", 15);
89
- i0.ɵɵlistener("click", function FormPayloadProjectionComponent_Conditional_15_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.addKey()); });
90
- i0.ɵɵelementStart(6, "mat-icon");
91
- i0.ɵɵtext(7, "add");
92
- i0.ɵɵelementEnd();
93
- i0.ɵɵtext(8, " Add another key ");
94
- i0.ɵɵelementEnd()();
95
- } if (rf & 2) {
96
- const ctx_r3 = i0.ɵɵnextContext();
97
- i0.ɵɵadvance(3);
98
- i0.ɵɵrepeater(ctx_r3.keys());
99
- i0.ɵɵadvance(2);
100
- i0.ɵɵproperty("disabled", ctx_r3.disabled());
101
- } }
102
- function FormPayloadProjectionComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
103
- i0.ɵɵelementStart(0, "p", 7)(1, "mat-icon", 2);
104
- i0.ɵɵtext(2, "info");
105
- i0.ɵɵelementEnd();
106
- i0.ɵɵelementStart(3, "span");
107
- i0.ɵɵtext(4, "Every field is sent at the top level of the request body.");
108
- i0.ɵɵelementEnd()();
109
- } }
110
- function FormPayloadProjectionComponent_For_29_Template(rf, ctx) { if (rf & 1) {
111
- i0.ɵɵelementStart(0, "p", 13);
112
- i0.ɵɵtext(1);
113
- i0.ɵɵelementEnd();
114
- } if (rf & 2) {
115
- const error_r6 = ctx.$implicit;
116
- i0.ɵɵadvance();
117
- i0.ɵɵtextInterpolate(error_r6.message);
118
- } }
119
- /**
120
- * Guided editor for a form's `projectFormData` submission expression.
121
- *
122
- * Replaces the raw `data:{$formValue}` text field with a no-code chooser: send
123
- * the form fields flat, or wrap the whole payload under one or more named keys —
124
- * with a live preview of the resulting JSON shape. The runtime engine only
125
- * exposes the whole form (`$formValue`), so the model is intentionally a simple
126
- * list of envelope keys (see {@link parseProjection}).
127
- *
128
- * @example
129
- * <lib-form-payload-projection [value]="expr()" [formInputs]="inputs()"
130
- * (valueChanged)="onExpr($event)" />
131
- */
132
- class FormPayloadProjectionComponent {
133
- constructor() {
134
- /** Current `projectFormData` expression. */
135
- this.value = input('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
136
- /** Whether the editor is read-only. */
137
- this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
138
- /** The form's inputs — used to sketch the payload shape in the preview. */
139
- this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
140
- /** Validation errors surfaced by the parent for display. */
141
- this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
142
- /** Emits the serialised expression whenever the user changes the mapping. */
143
- this.valueChanged = output();
144
- /** Envelope keys the whole form is nested under. Empty ⇒ sent flat. */
145
- this.keys = signal([], ...(ngDevMode ? [{ debugName: "keys" }] : /* istanbul ignore next */ []));
146
- /** 'flat' = top-level fields; 'wrap' = nested under key(s). */
147
- this.mode = computed(() => (this.keys().length > 0 ? 'wrap' : 'flat'), ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
148
- /**
149
- * The last expression we synced from / emitted. Guards the input bridge so our
150
- * own round-tripped emissions don't clobber in-progress edits (the parent
151
- * debounces and echoes the value back through `value`).
152
- */
153
- this.#lastSynced = undefined;
154
- this.valueBridge = effect(() => {
155
- const incoming = this.value() ?? '';
156
- if (incoming === this.#lastSynced)
157
- return;
158
- this.#lastSynced = incoming;
159
- this.keys.set([...parseProjection(incoming).keys]);
160
- }, ...(ngDevMode ? [{ debugName: "valueBridge" }] : /* istanbul ignore next */ []));
161
- /** A sample of the form payload (field name → placeholder) for the preview. */
162
- this.#sampleForm = computed(() => {
163
- const sample = {};
164
- for (const column of this.formInputs()) {
165
- if (column.multipleInputInEditId || !column.formControlName)
166
- continue;
167
- sample[column.formControlName] = '…';
168
- if (Object.keys(sample).length >= 8)
169
- break;
170
- }
171
- if (Object.keys(sample).length === 0)
172
- sample['field'] = '…';
173
- return sample;
174
- }, ...(ngDevMode ? [{ debugName: "#sampleForm" }] : /* istanbul ignore next */ []));
175
- /** Live preview of the JSON shape sent to the endpoint. */
176
- this.preview = computed(() => {
177
- const keys = this.keys().map((k) => k.trim()).filter(Boolean);
178
- const sample = this.#sampleForm();
179
- if (keys.length === 0)
180
- return sample;
181
- const out = {};
182
- for (const key of keys)
183
- out[key] = sample;
184
- return out;
185
- }, ...(ngDevMode ? [{ debugName: "preview" }] : /* istanbul ignore next */ []));
186
- }
187
- /**
188
- * The last expression we synced from / emitted. Guards the input bridge so our
189
- * own round-tripped emissions don't clobber in-progress edits (the parent
190
- * debounces and echoes the value back through `value`).
191
- */
192
- #lastSynced;
193
- /** A sample of the form payload (field name → placeholder) for the preview. */
194
- #sampleForm;
195
- /** Switches between flat and wrapped modes (seeding a default key on first wrap). */
196
- setMode(mode) {
197
- if (mode === 'flat') {
198
- this.#apply([]);
199
- return;
200
- }
201
- if (this.keys().length === 0)
202
- this.#apply(['data']);
203
- }
204
- addKey() {
205
- this.#apply([...this.keys(), '']);
206
- }
207
- updateKey(index, key) {
208
- this.#apply(this.keys().map((k, i) => (i === index ? key : k)));
209
- }
210
- removeKey(index) {
211
- this.#apply(this.keys().filter((_, i) => i !== index));
212
- }
213
- /** Reads a native input's value from a DOM event (keeps the template `any`-free). */
214
- inputValue(event) {
215
- return event.target.value;
216
- }
217
- trackByIndex(index) {
218
- return index;
219
- }
220
- /** Reset to the recommended default (`data:{$formValue}`). */
221
- resetToDefault() {
222
- this.#apply([...parseProjection(DEFAULT_PROJECTION).keys]);
223
- }
224
- #apply(keys) {
225
- if (this.disabled())
226
- return;
227
- this.keys.set(keys);
228
- const serialized = serializeProjection({ keys });
229
- // Pre-record so the echoed value (see valueBridge) is ignored, preserving
230
- // empty in-progress key rows that serialise away.
231
- this.#lastSynced = serialized;
232
- this.valueChanged.emit(serialized);
233
- }
234
- static { this.ɵfac = function FormPayloadProjectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormPayloadProjectionComponent)(); }; }
235
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormPayloadProjectionComponent, selectors: [["lib-form-payload-projection"]], hostAttrs: [1, "lib-form-payload-projection"], inputs: { value: [1, "value"], disabled: [1, "disabled"], formInputs: [1, "formInputs"], errors: [1, "errors"] }, outputs: { valueChanged: "valueChanged" }, decls: 30, vars: 7, consts: [[1, "projection"], [1, "hint-line"], [1, "info-icon"], ["hideSingleSelectionIndicator", "", "aria-label", "Payload shape", 1, "mode-toggle", 3, "change", "value", "disabled"], ["value", "flat", "matTooltip", "Send each field at the top level"], ["value", "wrap", "matTooltip", "Nest the whole form under a key"], [1, "keys"], [1, "hint-line", "subtle"], [1, "preview"], [1, "preview-head"], [1, "field-label"], ["type", "button", "matTooltip", "Reset to the recommended shape", 1, "link-btn", 3, "click", "disabled"], [1, "preview-json"], [1, "error-line"], [1, "key-row"], ["type", "button", 1, "link-btn", 3, "click", "disabled"], ["aria-hidden", "true", 1, "key-prefix"], ["placeholder", "e.g. data, payload", 1, "key-input", 3, "input", "value", "disabled"], ["aria-hidden", "true", 1, "key-suffix"], ["type", "button", "matTooltip", "Remove key", 1, "key-remove", 3, "click", "disabled"]], template: function FormPayloadProjectionComponent_Template(rf, ctx) { if (rf & 1) {
236
- i0.ɵɵelementStart(0, "div", 0)(1, "p", 1)(2, "mat-icon", 2);
237
- i0.ɵɵtext(3, "help_outline");
238
- i0.ɵɵelementEnd();
239
- i0.ɵɵelementStart(4, "span");
240
- i0.ɵɵtext(5, "Choose how the submitted form is shaped before it is sent to the endpoint.");
241
- i0.ɵɵelementEnd()();
242
- i0.ɵɵelementStart(6, "mat-button-toggle-group", 3);
243
- i0.ɵɵlistener("change", function FormPayloadProjectionComponent_Template_mat_button_toggle_group_change_6_listener($event) { return ctx.setMode($event.value); });
244
- i0.ɵɵelementStart(7, "mat-button-toggle", 4)(8, "mat-icon");
245
- i0.ɵɵtext(9, "list");
246
- i0.ɵɵelementEnd();
247
- i0.ɵɵtext(10, " Top level ");
248
- i0.ɵɵelementEnd();
249
- i0.ɵɵelementStart(11, "mat-button-toggle", 5)(12, "mat-icon");
250
- i0.ɵɵtext(13, "data_object");
251
- i0.ɵɵelementEnd();
252
- i0.ɵɵtext(14, " Wrap under key ");
253
- i0.ɵɵelementEnd()();
254
- i0.ɵɵconditionalCreate(15, FormPayloadProjectionComponent_Conditional_15_Template, 9, 1, "div", 6)(16, FormPayloadProjectionComponent_Conditional_16_Template, 5, 0, "p", 7);
255
- i0.ɵɵelementStart(17, "div", 8)(18, "div", 9)(19, "span", 10);
256
- i0.ɵɵtext(20, "Sent to the endpoint");
257
- i0.ɵɵelementEnd();
258
- i0.ɵɵelementStart(21, "button", 11);
259
- i0.ɵɵlistener("click", function FormPayloadProjectionComponent_Template_button_click_21_listener() { return ctx.resetToDefault(); });
260
- i0.ɵɵelementStart(22, "mat-icon");
261
- i0.ɵɵtext(23, "restart_alt");
262
- i0.ɵɵelementEnd();
263
- i0.ɵɵtext(24, " Reset ");
264
- i0.ɵɵelementEnd()();
265
- i0.ɵɵelementStart(25, "pre", 12);
266
- i0.ɵɵtext(26);
267
- i0.ɵɵpipe(27, "json");
268
- i0.ɵɵelementEnd()();
269
- i0.ɵɵrepeaterCreate(28, FormPayloadProjectionComponent_For_29_Template, 2, 1, "p", 13, i0.ɵɵrepeaterTrackByIndex);
270
- i0.ɵɵelementEnd();
271
- } if (rf & 2) {
272
- i0.ɵɵadvance(6);
273
- i0.ɵɵproperty("value", ctx.mode())("disabled", ctx.disabled());
274
- i0.ɵɵadvance(9);
275
- i0.ɵɵconditional(ctx.mode() === "wrap" ? 15 : 16);
276
- i0.ɵɵadvance(6);
277
- i0.ɵɵproperty("disabled", ctx.disabled());
278
- i0.ɵɵadvance(5);
279
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 5, ctx.preview()));
280
- i0.ɵɵadvance(2);
281
- i0.ɵɵrepeater(ctx.errors());
282
- } }, dependencies: [MatButtonModule, MatButtonToggleModule, i3.MatButtonToggleGroup, i3.MatButtonToggle, MatIconModule, i3$1.MatIcon, MatTooltipModule, i5.MatTooltip, JsonPipe], styles: ["[_nghost-%COMP%]{display:block}.projection[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.hint-line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.875rem;color:var(--lib-forms-on-surface-variant)}.hint-line.subtle[_ngcontent-%COMP%]{opacity:.85}.info-icon[_ngcontent-%COMP%]{font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.field-label[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.mode-toggle[_ngcontent-%COMP%]{align-self:flex-start;border-radius:8px}.keys[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.key-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.key-prefix[_ngcontent-%COMP%], .key-suffix[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;color:var(--lib-forms-on-surface-variant);flex-shrink:0}.key-input[_ngcontent-%COMP%]{flex:1;min-width:0;font:inherit;font-size:.9375rem;padding:.5rem .75rem;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);border-radius:8px;transition:border-color .3s cubic-bezier(.16,1,.3,1)}.key-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--lib-forms-primary)}.key-input[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.key-remove[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex-shrink:0;border:none;background:transparent;border-radius:8px;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color .3s cubic-bezier(.16,1,.3,1)}.key-remove[_ngcontent-%COMP%]:hover:not(:disabled){color:var(--lib-forms-error)}.key-remove[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.key-remove[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.125rem;width:1.125rem;height:1.125rem}.link-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;align-self:flex-start;padding:.25rem 0;border:none;background:transparent;color:var(--lib-forms-primary);font:inherit;font-size:.8125rem;font-weight:500;cursor:pointer}.link-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.link-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.125rem;width:1.125rem;height:1.125rem}.preview[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.preview-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.preview-json[_ngcontent-%COMP%]{margin:0;padding:1rem;font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;line-height:1.5;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border-radius:8px;overflow-x:auto;white-space:pre}.error-line[_ngcontent-%COMP%]{margin:0;font-size:.75rem;color:var(--lib-forms-error)}"], changeDetection: 0 }); }
283
- }
284
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormPayloadProjectionComponent, [{
285
- type: Component,
286
- args: [{ selector: 'lib-form-payload-projection', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { class: 'lib-form-payload-projection' }, imports: [JsonPipe, MatButtonModule, MatButtonToggleModule, MatIconModule, MatTooltipModule], template: "<div class=\"projection\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">help_outline</mat-icon>\n <span>Choose how the submitted form is shaped before it is sent to the endpoint.</span>\n </p>\n\n <mat-button-toggle-group class=\"mode-toggle\" [value]=\"mode()\" hideSingleSelectionIndicator\n [disabled]=\"disabled()\" (change)=\"setMode($event.value)\" aria-label=\"Payload shape\">\n <mat-button-toggle value=\"flat\" matTooltip=\"Send each field at the top level\">\n <mat-icon>list</mat-icon> Top level\n </mat-button-toggle>\n <mat-button-toggle value=\"wrap\" matTooltip=\"Nest the whole form under a key\">\n <mat-icon>data_object</mat-icon> Wrap under key\n </mat-button-toggle>\n </mat-button-toggle-group>\n\n @if (mode() === 'wrap') {\n <div class=\"keys\">\n <span class=\"field-label\">Wrap the form under</span>\n @for (key of keys(); track trackByIndex($index); let i = $index) {\n <div class=\"key-row\">\n <span class=\"key-prefix\" aria-hidden=\"true\">&#123;</span>\n <input class=\"key-input\" [value]=\"key\" [disabled]=\"disabled()\"\n placeholder=\"e.g. data, payload\" [attr.aria-label]=\"'Wrapper key ' + (i + 1)\"\n (input)=\"updateKey(i, inputValue($event))\">\n <span class=\"key-suffix\" aria-hidden=\"true\">: form&#125;</span>\n <button type=\"button\" class=\"key-remove\" [disabled]=\"disabled()\" matTooltip=\"Remove key\"\n [attr.aria-label]=\"'Remove wrapper key ' + (i + 1)\" (click)=\"removeKey(i)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n }\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" (click)=\"addKey()\">\n <mat-icon>add</mat-icon> Add another key\n </button>\n </div>\n } @else {\n <p class=\"hint-line subtle\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Every field is sent at the top level of the request body.</span>\n </p>\n }\n\n <div class=\"preview\">\n <div class=\"preview-head\">\n <span class=\"field-label\">Sent to the endpoint</span>\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" matTooltip=\"Reset to the recommended shape\"\n (click)=\"resetToDefault()\">\n <mat-icon>restart_alt</mat-icon> Reset\n </button>\n </div>\n <pre class=\"preview-json\">{{ preview() | json }}</pre>\n </div>\n\n @for (error of errors(); track $index) {\n <p class=\"error-line\">{{ error.message }}</p>\n }\n</div>\n", styles: [":host{display:block}.projection{display:flex;flex-direction:column;gap:1.5rem}.hint-line{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.875rem;color:var(--lib-forms-on-surface-variant)}.hint-line.subtle{opacity:.85}.info-icon{font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.field-label{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.mode-toggle{align-self:flex-start;border-radius:8px}.keys{display:flex;flex-direction:column;gap:.75rem}.key-row{display:flex;align-items:center;gap:.5rem}.key-prefix,.key-suffix{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;color:var(--lib-forms-on-surface-variant);flex-shrink:0}.key-input{flex:1;min-width:0;font:inherit;font-size:.9375rem;padding:.5rem .75rem;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);border-radius:8px;transition:border-color .3s cubic-bezier(.16,1,.3,1)}.key-input:focus{outline:none;border-color:var(--lib-forms-primary)}.key-input:disabled{opacity:.6;cursor:not-allowed}.key-remove{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex-shrink:0;border:none;background:transparent;border-radius:8px;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color .3s cubic-bezier(.16,1,.3,1)}.key-remove:hover:not(:disabled){color:var(--lib-forms-error)}.key-remove:disabled{opacity:.5;cursor:not-allowed}.key-remove mat-icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.link-btn{display:inline-flex;align-items:center;gap:.375rem;align-self:flex-start;padding:.25rem 0;border:none;background:transparent;color:var(--lib-forms-primary);font:inherit;font-size:.8125rem;font-weight:500;cursor:pointer}.link-btn:disabled{opacity:.5;cursor:not-allowed}.link-btn mat-icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.preview{display:flex;flex-direction:column;gap:.5rem}.preview-head{display:flex;align-items:center;justify-content:space-between}.preview-json{margin:0;padding:1rem;font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;line-height:1.5;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border-radius:8px;overflow-x:auto;white-space:pre}.error-line{margin:0;font-size:.75rem;color:var(--lib-forms-error)}\n"] }]
287
- }], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] }); })();
288
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormPayloadProjectionComponent, { className: "FormPayloadProjectionComponent", filePath: "lib/components/t-dynamic-data-edit/elements/form-payload-projection/form-payload-projection.component.ts", lineNumber: 54 }); })();
289
-
290
- export { FormPayloadProjectionComponent };
291
- //# sourceMappingURL=ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-payload-projection/projection-expression.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-payload-projection/form-payload-projection.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-payload-projection/form-payload-projection.component.ts"],"sourcesContent":["/**\n * Parser/serialiser for the `projectFormData` submission expression.\n *\n * At runtime the expression is consumed by `destructureObject({ $formValue: form }, expr)`,\n * so the only token available is `$formValue` — the entire submitted form. The\n * sole authoring choice is therefore whether to send the form fields flat or to\n * nest the whole payload under one or more named keys. This module bridges that\n * raw string and the guided builder's structured model.\n */\n\n/** Token that resolves to the entire submitted form payload at runtime. */\nexport const FORM_VALUE_TOKEN = '$formValue';\n\n/** Default envelope: the whole form nested under a `data` key. */\nexport const DEFAULT_PROJECTION = `data:{${FORM_VALUE_TOKEN}}`;\n\n/**\n * Structured model behind the guided \"Project form data\" editor.\n *\n * @remarks `keys` empty ⇒ send fields at the top level; each key nests the whole\n * form under that name (`{ key: { ...form } }`).\n */\nexport interface ProjectionModel {\n /** Keys to nest the whole form under. Empty ⇒ send fields at the top level. */\n readonly keys: readonly string[];\n}\n\n/** Matches a single `alias:{token}` envelope entry. */\nconst ENVELOPE = /^([^:]+):\\{(.+)\\}$/;\n\n/**\n * Parses a `projectFormData` expression into the guided model (best-effort).\n * Unrecognised entries are kept as literal keys so nothing is silently dropped.\n */\nexport function parseProjection(expression: string | null | undefined): ProjectionModel {\n if (!expression) return { keys: [] };\n const keys = expression\n .split(',')\n .map((entry) => entry.trim())\n .filter(Boolean)\n .map((entry) => {\n const match = ENVELOPE.exec(entry);\n // `alias:{$formValue}` ⇒ alias; a bare token (or any other entry) ⇒ literal key.\n return (match?.[1] ?? entry).trim();\n })\n .filter(Boolean);\n return { keys };\n}\n\n/** Serialises the guided model back to a `projectFormData` expression. */\nexport function serializeProjection(model: ProjectionModel): string {\n return model.keys\n .map((key) => key.trim())\n .filter(Boolean)\n .map((key) => `${key}:{${FORM_VALUE_TOKEN}}`)\n .join(', ');\n}\n","<div class=\"projection\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">help_outline</mat-icon>\n <span>Choose how the submitted form is shaped before it is sent to the endpoint.</span>\n </p>\n\n <mat-button-toggle-group class=\"mode-toggle\" [value]=\"mode()\" hideSingleSelectionIndicator\n [disabled]=\"disabled()\" (change)=\"setMode($event.value)\" aria-label=\"Payload shape\">\n <mat-button-toggle value=\"flat\" matTooltip=\"Send each field at the top level\">\n <mat-icon>list</mat-icon> Top level\n </mat-button-toggle>\n <mat-button-toggle value=\"wrap\" matTooltip=\"Nest the whole form under a key\">\n <mat-icon>data_object</mat-icon> Wrap under key\n </mat-button-toggle>\n </mat-button-toggle-group>\n\n @if (mode() === 'wrap') {\n <div class=\"keys\">\n <span class=\"field-label\">Wrap the form under</span>\n @for (key of keys(); track trackByIndex($index); let i = $index) {\n <div class=\"key-row\">\n <span class=\"key-prefix\" aria-hidden=\"true\">&#123;</span>\n <input class=\"key-input\" [value]=\"key\" [disabled]=\"disabled()\"\n placeholder=\"e.g. data, payload\" [attr.aria-label]=\"'Wrapper key ' + (i + 1)\"\n (input)=\"updateKey(i, inputValue($event))\">\n <span class=\"key-suffix\" aria-hidden=\"true\">: form&#125;</span>\n <button type=\"button\" class=\"key-remove\" [disabled]=\"disabled()\" matTooltip=\"Remove key\"\n [attr.aria-label]=\"'Remove wrapper key ' + (i + 1)\" (click)=\"removeKey(i)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n }\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" (click)=\"addKey()\">\n <mat-icon>add</mat-icon> Add another key\n </button>\n </div>\n } @else {\n <p class=\"hint-line subtle\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Every field is sent at the top level of the request body.</span>\n </p>\n }\n\n <div class=\"preview\">\n <div class=\"preview-head\">\n <span class=\"field-label\">Sent to the endpoint</span>\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" matTooltip=\"Reset to the recommended shape\"\n (click)=\"resetToDefault()\">\n <mat-icon>restart_alt</mat-icon> Reset\n </button>\n </div>\n <pre class=\"preview-json\">{{ preview() | json }}</pre>\n </div>\n\n @for (error of errors(); track $index) {\n <p class=\"error-line\">{{ error.message }}</p>\n }\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n effect,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { JsonPipe } from '@angular/common';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\nimport { FormColumnInputs } from 'ngx-t-forms-types';\n\nimport {\n DEFAULT_PROJECTION,\n parseProjection,\n serializeProjection,\n} from './projection-expression';\n\n/** Validation error surfaced by the parent editor for display. */\ninterface ProjectionError {\n readonly key: string;\n readonly message: string;\n}\n\n/**\n * Guided editor for a form's `projectFormData` submission expression.\n *\n * Replaces the raw `data:{$formValue}` text field with a no-code chooser: send\n * the form fields flat, or wrap the whole payload under one or more named keys —\n * with a live preview of the resulting JSON shape. The runtime engine only\n * exposes the whole form (`$formValue`), so the model is intentionally a simple\n * list of envelope keys (see {@link parseProjection}).\n *\n * @example\n * <lib-form-payload-projection [value]=\"expr()\" [formInputs]=\"inputs()\"\n * (valueChanged)=\"onExpr($event)\" />\n */\n@Component({\n selector: 'lib-form-payload-projection',\n templateUrl: './form-payload-projection.component.html',\n styleUrl: './form-payload-projection.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: { class: 'lib-form-payload-projection' },\n imports: [JsonPipe, MatButtonModule, MatButtonToggleModule, MatIconModule, MatTooltipModule],\n})\nexport class FormPayloadProjectionComponent {\n /** Current `projectFormData` expression. */\n readonly value = input<string>('');\n\n /** Whether the editor is read-only. */\n readonly disabled = input<boolean>(false);\n\n /** The form's inputs — used to sketch the payload shape in the preview. */\n readonly formInputs = input<FormColumnInputs[]>([]);\n\n /** Validation errors surfaced by the parent for display. */\n readonly errors = input<ProjectionError[]>([]);\n\n /** Emits the serialised expression whenever the user changes the mapping. */\n readonly valueChanged = output<string>();\n\n /** Envelope keys the whole form is nested under. Empty ⇒ sent flat. */\n protected readonly keys = signal<string[]>([]);\n\n /** 'flat' = top-level fields; 'wrap' = nested under key(s). */\n protected readonly mode = computed<'flat' | 'wrap'>(() => (this.keys().length > 0 ? 'wrap' : 'flat'));\n\n /**\n * The last expression we synced from / emitted. Guards the input bridge so our\n * own round-tripped emissions don't clobber in-progress edits (the parent\n * debounces and echoes the value back through `value`).\n */\n #lastSynced: string | undefined = undefined;\n\n protected readonly valueBridge = effect(() => {\n const incoming = this.value() ?? '';\n if (incoming === this.#lastSynced) return;\n this.#lastSynced = incoming;\n this.keys.set([...parseProjection(incoming).keys]);\n });\n\n /** A sample of the form payload (field name → placeholder) for the preview. */\n readonly #sampleForm = computed<Record<string, unknown>>(() => {\n const sample: Record<string, unknown> = {};\n for (const column of this.formInputs()) {\n if (column.multipleInputInEditId || !column.formControlName) continue;\n sample[column.formControlName] = '…';\n if (Object.keys(sample).length >= 8) break;\n }\n if (Object.keys(sample).length === 0) sample['field'] = '…';\n return sample;\n });\n\n /** Live preview of the JSON shape sent to the endpoint. */\n protected readonly preview = computed<unknown>(() => {\n const keys = this.keys().map((k) => k.trim()).filter(Boolean);\n const sample = this.#sampleForm();\n if (keys.length === 0) return sample;\n const out: Record<string, unknown> = {};\n for (const key of keys) out[key] = sample;\n return out;\n });\n\n /** Switches between flat and wrapped modes (seeding a default key on first wrap). */\n protected setMode(mode: 'flat' | 'wrap'): void {\n if (mode === 'flat') {\n this.#apply([]);\n return;\n }\n if (this.keys().length === 0) this.#apply(['data']);\n }\n\n protected addKey(): void {\n this.#apply([...this.keys(), '']);\n }\n\n protected updateKey(index: number, key: string): void {\n this.#apply(this.keys().map((k, i) => (i === index ? key : k)));\n }\n\n protected removeKey(index: number): void {\n this.#apply(this.keys().filter((_, i) => i !== index));\n }\n\n /** Reads a native input's value from a DOM event (keeps the template `any`-free). */\n protected inputValue(event: Event): string {\n return (event.target as HTMLInputElement).value;\n }\n\n protected trackByIndex(index: number): number {\n return index;\n }\n\n /** Reset to the recommended default (`data:{$formValue}`). */\n protected resetToDefault(): void {\n this.#apply([...parseProjection(DEFAULT_PROJECTION).keys]);\n }\n\n #apply(keys: string[]): void {\n if (this.disabled()) return;\n this.keys.set(keys);\n const serialized = serializeProjection({ keys });\n // Pre-record so the echoed value (see valueBridge) is ignored, preserving\n // empty in-progress key rows that serialise away.\n this.#lastSynced = serialized;\n this.valueChanged.emit(serialized);\n }\n}\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;AAAA;;;;;;;;AAQG;AAEH;AACO,MAAM,gBAAgB,GAAG,YAAY;AAE5C;AACO,MAAM,kBAAkB,GAAG,CAAA,MAAA,EAAS,gBAAgB,GAAG;AAa9D;AACA,MAAM,QAAQ,GAAG,oBAAoB;AAErC;;;AAGG;AACG,SAAU,eAAe,CAAC,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AAQ,EAAA,IAAA,EACnC,EAAE,KAAK,EAAE,6BAA6B,EAAE,EAAA,OAAA,EACrC,CAAC,QAAQ,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,2hFAAA,EAAA,MAAA,EAAA,CAAA,y5EAAA,CAAA,EAAA;;kFAEjF,8BAA8B,EAAA,EAAA,SAAA,EAAA,gCAAA,EAAA,QAAA,EAAA,0GAAA,EAAA,UAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;;;;"}
@@ -1,179 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, output, signal, computed, effect, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { JsonPipe } from '@angular/common';
4
- import { MatButtonModule } from '@angular/material/button';
5
- import * as i3 from '@angular/material/button-toggle';
6
- import { MatButtonToggleModule } from '@angular/material/button-toggle';
7
- import * as i3$1 from '@angular/material/icon';
8
- import { MatIconModule } from '@angular/material/icon';
9
- import * as i5 from '@angular/material/tooltip';
10
- import { MatTooltipModule } from '@angular/material/tooltip';
11
-
12
- /**
13
- * Parser/serialiser for the `projectFormData` submission expression.
14
- *
15
- * At runtime the expression is consumed by `destructureObject({ $formValue: form }, expr)`,
16
- * so the only token available is `$formValue` — the entire submitted form. The
17
- * sole authoring choice is therefore whether to send the form fields flat or to
18
- * nest the whole payload under one or more named keys. This module bridges that
19
- * raw string and the guided builder's structured model.
20
- */
21
- /** Token that resolves to the entire submitted form payload at runtime. */
22
- const FORM_VALUE_TOKEN = '$formValue';
23
- /** Default envelope: the whole form nested under a `data` key. */
24
- const DEFAULT_PROJECTION = `data:{${FORM_VALUE_TOKEN}}`;
25
- /** Matches a single `alias:{token}` envelope entry. */
26
- const ENVELOPE = /^([^:]+):\{(.+)\}$/;
27
- /**
28
- * Parses a `projectFormData` expression into the guided model (best-effort).
29
- * Unrecognised entries are kept as literal keys so nothing is silently dropped.
30
- */
31
- function parseProjection(expression) {
32
- if (!expression)
33
- return { keys: [] };
34
- const keys = expression
35
- .split(',')
36
- .map((entry) => entry.trim())
37
- .filter(Boolean)
38
- .map((entry) => {
39
- const match = ENVELOPE.exec(entry);
40
- // `alias:{$formValue}` ⇒ alias; a bare token (or any other entry) ⇒ literal key.
41
- return (match?.[1] ?? entry).trim();
42
- })
43
- .filter(Boolean);
44
- return { keys };
45
- }
46
- /** Serialises the guided model back to a `projectFormData` expression. */
47
- function serializeProjection(model) {
48
- return model.keys
49
- .map((key) => key.trim())
50
- .filter(Boolean)
51
- .map((key) => `${key}:{${FORM_VALUE_TOKEN}}`)
52
- .join(', ');
53
- }
54
-
55
- /**
56
- * Guided editor for a form's `projectFormData` submission expression.
57
- *
58
- * Replaces the raw `data:{$formValue}` text field with a no-code chooser: send
59
- * the form fields flat, or wrap the whole payload under one or more named keys —
60
- * with a live preview of the resulting JSON shape. The runtime engine only
61
- * exposes the whole form (`$formValue`), so the model is intentionally a simple
62
- * list of envelope keys (see {@link parseProjection}).
63
- *
64
- * @example
65
- * <lib-form-payload-projection [value]="expr()" [formInputs]="inputs()"
66
- * (valueChanged)="onExpr($event)" />
67
- */
68
- class FormPayloadProjectionComponent {
69
- constructor() {
70
- /** Current `projectFormData` expression. */
71
- this.value = input('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
72
- /** Whether the editor is read-only. */
73
- this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
74
- /** The form's inputs — used to sketch the payload shape in the preview. */
75
- this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
76
- /** Validation errors surfaced by the parent for display. */
77
- this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
78
- /** Emits the serialised expression whenever the user changes the mapping. */
79
- this.valueChanged = output();
80
- /** Envelope keys the whole form is nested under. Empty ⇒ sent flat. */
81
- this.keys = signal([], ...(ngDevMode ? [{ debugName: "keys" }] : /* istanbul ignore next */ []));
82
- /** 'flat' = top-level fields; 'wrap' = nested under key(s). */
83
- this.mode = computed(() => (this.keys().length > 0 ? 'wrap' : 'flat'), ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
84
- /**
85
- * The last expression we synced from / emitted. Guards the input bridge so our
86
- * own round-tripped emissions don't clobber in-progress edits (the parent
87
- * debounces and echoes the value back through `value`).
88
- */
89
- this.#lastSynced = undefined;
90
- this.valueBridge = effect(() => {
91
- const incoming = this.value() ?? '';
92
- if (incoming === this.#lastSynced)
93
- return;
94
- this.#lastSynced = incoming;
95
- this.keys.set([...parseProjection(incoming).keys]);
96
- }, ...(ngDevMode ? [{ debugName: "valueBridge" }] : /* istanbul ignore next */ []));
97
- /** A sample of the form payload (field name → placeholder) for the preview. */
98
- this.#sampleForm = computed(() => {
99
- const sample = {};
100
- for (const column of this.formInputs()) {
101
- if (column.multipleInputInEditId || !column.formControlName)
102
- continue;
103
- sample[column.formControlName] = '…';
104
- if (Object.keys(sample).length >= 8)
105
- break;
106
- }
107
- if (Object.keys(sample).length === 0)
108
- sample['field'] = '…';
109
- return sample;
110
- }, ...(ngDevMode ? [{ debugName: "#sampleForm" }] : /* istanbul ignore next */ []));
111
- /** Live preview of the JSON shape sent to the endpoint. */
112
- this.preview = computed(() => {
113
- const keys = this.keys().map((k) => k.trim()).filter(Boolean);
114
- const sample = this.#sampleForm();
115
- if (keys.length === 0)
116
- return sample;
117
- const out = {};
118
- for (const key of keys)
119
- out[key] = sample;
120
- return out;
121
- }, ...(ngDevMode ? [{ debugName: "preview" }] : /* istanbul ignore next */ []));
122
- }
123
- /**
124
- * The last expression we synced from / emitted. Guards the input bridge so our
125
- * own round-tripped emissions don't clobber in-progress edits (the parent
126
- * debounces and echoes the value back through `value`).
127
- */
128
- #lastSynced;
129
- /** A sample of the form payload (field name → placeholder) for the preview. */
130
- #sampleForm;
131
- /** Switches between flat and wrapped modes (seeding a default key on first wrap). */
132
- setMode(mode) {
133
- if (mode === 'flat') {
134
- this.#apply([]);
135
- return;
136
- }
137
- if (this.keys().length === 0)
138
- this.#apply(['data']);
139
- }
140
- addKey() {
141
- this.#apply([...this.keys(), '']);
142
- }
143
- updateKey(index, key) {
144
- this.#apply(this.keys().map((k, i) => (i === index ? key : k)));
145
- }
146
- removeKey(index) {
147
- this.#apply(this.keys().filter((_, i) => i !== index));
148
- }
149
- /** Reads a native input's value from a DOM event (keeps the template `any`-free). */
150
- inputValue(event) {
151
- return event.target.value;
152
- }
153
- trackByIndex(index) {
154
- return index;
155
- }
156
- /** Reset to the recommended default (`data:{$formValue}`). */
157
- resetToDefault() {
158
- this.#apply([...parseProjection(DEFAULT_PROJECTION).keys]);
159
- }
160
- #apply(keys) {
161
- if (this.disabled())
162
- return;
163
- this.keys.set(keys);
164
- const serialized = serializeProjection({ keys });
165
- // Pre-record so the echoed value (see valueBridge) is ignored, preserving
166
- // empty in-progress key rows that serialise away.
167
- this.#lastSynced = serialized;
168
- this.valueChanged.emit(serialized);
169
- }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: FormPayloadProjectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
171
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: FormPayloadProjectionComponent, isStandalone: true, selector: "lib-form-payload-projection", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, formInputs: { classPropertyName: "formInputs", publicName: "formInputs", isSignal: true, isRequired: false, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged" }, host: { classAttribute: "lib-form-payload-projection" }, ngImport: i0, template: "<div class=\"projection\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">help_outline</mat-icon>\n <span>Choose how the submitted form is shaped before it is sent to the endpoint.</span>\n </p>\n\n <mat-button-toggle-group class=\"mode-toggle\" [value]=\"mode()\" hideSingleSelectionIndicator\n [disabled]=\"disabled()\" (change)=\"setMode($event.value)\" aria-label=\"Payload shape\">\n <mat-button-toggle value=\"flat\" matTooltip=\"Send each field at the top level\">\n <mat-icon>list</mat-icon> Top level\n </mat-button-toggle>\n <mat-button-toggle value=\"wrap\" matTooltip=\"Nest the whole form under a key\">\n <mat-icon>data_object</mat-icon> Wrap under key\n </mat-button-toggle>\n </mat-button-toggle-group>\n\n @if (mode() === 'wrap') {\n <div class=\"keys\">\n <span class=\"field-label\">Wrap the form under</span>\n @for (key of keys(); track trackByIndex($index); let i = $index) {\n <div class=\"key-row\">\n <span class=\"key-prefix\" aria-hidden=\"true\">&#123;</span>\n <input class=\"key-input\" [value]=\"key\" [disabled]=\"disabled()\"\n placeholder=\"e.g. data, payload\" [attr.aria-label]=\"'Wrapper key ' + (i + 1)\"\n (input)=\"updateKey(i, inputValue($event))\">\n <span class=\"key-suffix\" aria-hidden=\"true\">: form&#125;</span>\n <button type=\"button\" class=\"key-remove\" [disabled]=\"disabled()\" matTooltip=\"Remove key\"\n [attr.aria-label]=\"'Remove wrapper key ' + (i + 1)\" (click)=\"removeKey(i)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n }\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" (click)=\"addKey()\">\n <mat-icon>add</mat-icon> Add another key\n </button>\n </div>\n } @else {\n <p class=\"hint-line subtle\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Every field is sent at the top level of the request body.</span>\n </p>\n }\n\n <div class=\"preview\">\n <div class=\"preview-head\">\n <span class=\"field-label\">Sent to the endpoint</span>\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" matTooltip=\"Reset to the recommended shape\"\n (click)=\"resetToDefault()\">\n <mat-icon>restart_alt</mat-icon> Reset\n </button>\n </div>\n <pre class=\"preview-json\">{{ preview() | json }}</pre>\n </div>\n\n @for (error of errors(); track $index) {\n <p class=\"error-line\">{{ error.message }}</p>\n }\n</div>\n", styles: [":host{display:block}.projection{display:flex;flex-direction:column;gap:1.5rem}.hint-line{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.875rem;color:var(--lib-forms-on-surface-variant)}.hint-line.subtle{opacity:.85}.info-icon{font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.field-label{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.mode-toggle{align-self:flex-start;border-radius:8px}.keys{display:flex;flex-direction:column;gap:.75rem}.key-row{display:flex;align-items:center;gap:.5rem}.key-prefix,.key-suffix{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;color:var(--lib-forms-on-surface-variant);flex-shrink:0}.key-input{flex:1;min-width:0;font:inherit;font-size:.9375rem;padding:.5rem .75rem;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);border-radius:8px;transition:border-color .3s cubic-bezier(.16,1,.3,1)}.key-input:focus{outline:none;border-color:var(--lib-forms-primary)}.key-input:disabled{opacity:.6;cursor:not-allowed}.key-remove{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex-shrink:0;border:none;background:transparent;border-radius:8px;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color .3s cubic-bezier(.16,1,.3,1)}.key-remove:hover:not(:disabled){color:var(--lib-forms-error)}.key-remove:disabled{opacity:.5;cursor:not-allowed}.key-remove mat-icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.link-btn{display:inline-flex;align-items:center;gap:.375rem;align-self:flex-start;padding:.25rem 0;border:none;background:transparent;color:var(--lib-forms-primary);font:inherit;font-size:.8125rem;font-weight:500;cursor:pointer}.link-btn:disabled{opacity:.5;cursor:not-allowed}.link-btn mat-icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.preview{display:flex;flex-direction:column;gap:.5rem}.preview-head{display:flex;align-items:center;justify-content:space-between}.preview-json{margin:0;padding:1rem;font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;line-height:1.5;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border-radius:8px;overflow-x:auto;white-space:pre}.error-line{margin:0;font-size:.75rem;color:var(--lib-forms-error)}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatButtonToggleModule }, { kind: "directive", type: i3.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled", "disabledInteractive", "hideSingleSelectionIndicator", "hideMultipleSelectionIndicator"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i3.MatButtonToggle, selector: "mat-button-toggle", inputs: ["aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "disableRipple", "appearance", "checked", "disabled", "disabledInteractive"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
172
- }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: FormPayloadProjectionComponent, decorators: [{
174
- type: Component,
175
- args: [{ selector: 'lib-form-payload-projection', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { class: 'lib-form-payload-projection' }, imports: [JsonPipe, MatButtonModule, MatButtonToggleModule, MatIconModule, MatTooltipModule], template: "<div class=\"projection\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">help_outline</mat-icon>\n <span>Choose how the submitted form is shaped before it is sent to the endpoint.</span>\n </p>\n\n <mat-button-toggle-group class=\"mode-toggle\" [value]=\"mode()\" hideSingleSelectionIndicator\n [disabled]=\"disabled()\" (change)=\"setMode($event.value)\" aria-label=\"Payload shape\">\n <mat-button-toggle value=\"flat\" matTooltip=\"Send each field at the top level\">\n <mat-icon>list</mat-icon> Top level\n </mat-button-toggle>\n <mat-button-toggle value=\"wrap\" matTooltip=\"Nest the whole form under a key\">\n <mat-icon>data_object</mat-icon> Wrap under key\n </mat-button-toggle>\n </mat-button-toggle-group>\n\n @if (mode() === 'wrap') {\n <div class=\"keys\">\n <span class=\"field-label\">Wrap the form under</span>\n @for (key of keys(); track trackByIndex($index); let i = $index) {\n <div class=\"key-row\">\n <span class=\"key-prefix\" aria-hidden=\"true\">&#123;</span>\n <input class=\"key-input\" [value]=\"key\" [disabled]=\"disabled()\"\n placeholder=\"e.g. data, payload\" [attr.aria-label]=\"'Wrapper key ' + (i + 1)\"\n (input)=\"updateKey(i, inputValue($event))\">\n <span class=\"key-suffix\" aria-hidden=\"true\">: form&#125;</span>\n <button type=\"button\" class=\"key-remove\" [disabled]=\"disabled()\" matTooltip=\"Remove key\"\n [attr.aria-label]=\"'Remove wrapper key ' + (i + 1)\" (click)=\"removeKey(i)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n }\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" (click)=\"addKey()\">\n <mat-icon>add</mat-icon> Add another key\n </button>\n </div>\n } @else {\n <p class=\"hint-line subtle\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Every field is sent at the top level of the request body.</span>\n </p>\n }\n\n <div class=\"preview\">\n <div class=\"preview-head\">\n <span class=\"field-label\">Sent to the endpoint</span>\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" matTooltip=\"Reset to the recommended shape\"\n (click)=\"resetToDefault()\">\n <mat-icon>restart_alt</mat-icon> Reset\n </button>\n </div>\n <pre class=\"preview-json\">{{ preview() | json }}</pre>\n </div>\n\n @for (error of errors(); track $index) {\n <p class=\"error-line\">{{ error.message }}</p>\n }\n</div>\n", styles: [":host{display:block}.projection{display:flex;flex-direction:column;gap:1.5rem}.hint-line{display:flex;align-items:center;gap:.5rem;margin:0;font-size:.875rem;color:var(--lib-forms-on-surface-variant)}.hint-line.subtle{opacity:.85}.info-icon{font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.field-label{font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.mode-toggle{align-self:flex-start;border-radius:8px}.keys{display:flex;flex-direction:column;gap:.75rem}.key-row{display:flex;align-items:center;gap:.5rem}.key-prefix,.key-suffix{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;color:var(--lib-forms-on-surface-variant);flex-shrink:0}.key-input{flex:1;min-width:0;font:inherit;font-size:.9375rem;padding:.5rem .75rem;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border:1px solid color-mix(in srgb,var(--lib-forms-outline) 30%,transparent);border-radius:8px;transition:border-color .3s cubic-bezier(.16,1,.3,1)}.key-input:focus{outline:none;border-color:var(--lib-forms-primary)}.key-input:disabled{opacity:.6;cursor:not-allowed}.key-remove{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex-shrink:0;border:none;background:transparent;border-radius:8px;color:var(--lib-forms-on-surface-variant);cursor:pointer;transition:color .3s cubic-bezier(.16,1,.3,1)}.key-remove:hover:not(:disabled){color:var(--lib-forms-error)}.key-remove:disabled{opacity:.5;cursor:not-allowed}.key-remove mat-icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.link-btn{display:inline-flex;align-items:center;gap:.375rem;align-self:flex-start;padding:.25rem 0;border:none;background:transparent;color:var(--lib-forms-primary);font:inherit;font-size:.8125rem;font-weight:500;cursor:pointer}.link-btn:disabled{opacity:.5;cursor:not-allowed}.link-btn mat-icon{font-size:1.125rem;width:1.125rem;height:1.125rem}.preview{display:flex;flex-direction:column;gap:.5rem}.preview-head{display:flex;align-items:center;justify-content:space-between}.preview-json{margin:0;padding:1rem;font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;line-height:1.5;color:var(--lib-forms-on-surface);background:var(--lib-forms-surface-container-highest);border-radius:8px;overflow-x:auto;white-space:pre}.error-line{margin:0;font-size:.75rem;color:var(--lib-forms-error)}\n"] }]
176
- }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
177
-
178
- export { FormPayloadProjectionComponent };
179
- //# sourceMappingURL=ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-payload-projection/projection-expression.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-payload-projection/form-payload-projection.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/form-payload-projection/form-payload-projection.component.html"],"sourcesContent":["/**\n * Parser/serialiser for the `projectFormData` submission expression.\n *\n * At runtime the expression is consumed by `destructureObject({ $formValue: form }, expr)`,\n * so the only token available is `$formValue` — the entire submitted form. The\n * sole authoring choice is therefore whether to send the form fields flat or to\n * nest the whole payload under one or more named keys. This module bridges that\n * raw string and the guided builder's structured model.\n */\n\n/** Token that resolves to the entire submitted form payload at runtime. */\nexport const FORM_VALUE_TOKEN = '$formValue';\n\n/** Default envelope: the whole form nested under a `data` key. */\nexport const DEFAULT_PROJECTION = `data:{${FORM_VALUE_TOKEN}}`;\n\n/**\n * Structured model behind the guided \"Project form data\" editor.\n *\n * @remarks `keys` empty ⇒ send fields at the top level; each key nests the whole\n * form under that name (`{ key: { ...form } }`).\n */\nexport interface ProjectionModel {\n /** Keys to nest the whole form under. Empty ⇒ send fields at the top level. */\n readonly keys: readonly string[];\n}\n\n/** Matches a single `alias:{token}` envelope entry. */\nconst ENVELOPE = /^([^:]+):\\{(.+)\\}$/;\n\n/**\n * Parses a `projectFormData` expression into the guided model (best-effort).\n * Unrecognised entries are kept as literal keys so nothing is silently dropped.\n */\nexport function parseProjection(expression: string | null | undefined): ProjectionModel {\n if (!expression) return { keys: [] };\n const keys = expression\n .split(',')\n .map((entry) => entry.trim())\n .filter(Boolean)\n .map((entry) => {\n const match = ENVELOPE.exec(entry);\n // `alias:{$formValue}` ⇒ alias; a bare token (or any other entry) ⇒ literal key.\n return (match?.[1] ?? entry).trim();\n })\n .filter(Boolean);\n return { keys };\n}\n\n/** Serialises the guided model back to a `projectFormData` expression. */\nexport function serializeProjection(model: ProjectionModel): string {\n return model.keys\n .map((key) => key.trim())\n .filter(Boolean)\n .map((key) => `${key}:{${FORM_VALUE_TOKEN}}`)\n .join(', ');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n effect,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { JsonPipe } from '@angular/common';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\nimport { FormColumnInputs } from 'ngx-t-forms-types';\n\nimport {\n DEFAULT_PROJECTION,\n parseProjection,\n serializeProjection,\n} from './projection-expression';\n\n/** Validation error surfaced by the parent editor for display. */\ninterface ProjectionError {\n readonly key: string;\n readonly message: string;\n}\n\n/**\n * Guided editor for a form's `projectFormData` submission expression.\n *\n * Replaces the raw `data:{$formValue}` text field with a no-code chooser: send\n * the form fields flat, or wrap the whole payload under one or more named keys —\n * with a live preview of the resulting JSON shape. The runtime engine only\n * exposes the whole form (`$formValue`), so the model is intentionally a simple\n * list of envelope keys (see {@link parseProjection}).\n *\n * @example\n * <lib-form-payload-projection [value]=\"expr()\" [formInputs]=\"inputs()\"\n * (valueChanged)=\"onExpr($event)\" />\n */\n@Component({\n selector: 'lib-form-payload-projection',\n templateUrl: './form-payload-projection.component.html',\n styleUrl: './form-payload-projection.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: { class: 'lib-form-payload-projection' },\n imports: [JsonPipe, MatButtonModule, MatButtonToggleModule, MatIconModule, MatTooltipModule],\n})\nexport class FormPayloadProjectionComponent {\n /** Current `projectFormData` expression. */\n readonly value = input<string>('');\n\n /** Whether the editor is read-only. */\n readonly disabled = input<boolean>(false);\n\n /** The form's inputs — used to sketch the payload shape in the preview. */\n readonly formInputs = input<FormColumnInputs[]>([]);\n\n /** Validation errors surfaced by the parent for display. */\n readonly errors = input<ProjectionError[]>([]);\n\n /** Emits the serialised expression whenever the user changes the mapping. */\n readonly valueChanged = output<string>();\n\n /** Envelope keys the whole form is nested under. Empty ⇒ sent flat. */\n protected readonly keys = signal<string[]>([]);\n\n /** 'flat' = top-level fields; 'wrap' = nested under key(s). */\n protected readonly mode = computed<'flat' | 'wrap'>(() => (this.keys().length > 0 ? 'wrap' : 'flat'));\n\n /**\n * The last expression we synced from / emitted. Guards the input bridge so our\n * own round-tripped emissions don't clobber in-progress edits (the parent\n * debounces and echoes the value back through `value`).\n */\n #lastSynced: string | undefined = undefined;\n\n protected readonly valueBridge = effect(() => {\n const incoming = this.value() ?? '';\n if (incoming === this.#lastSynced) return;\n this.#lastSynced = incoming;\n this.keys.set([...parseProjection(incoming).keys]);\n });\n\n /** A sample of the form payload (field name → placeholder) for the preview. */\n readonly #sampleForm = computed<Record<string, unknown>>(() => {\n const sample: Record<string, unknown> = {};\n for (const column of this.formInputs()) {\n if (column.multipleInputInEditId || !column.formControlName) continue;\n sample[column.formControlName] = '…';\n if (Object.keys(sample).length >= 8) break;\n }\n if (Object.keys(sample).length === 0) sample['field'] = '…';\n return sample;\n });\n\n /** Live preview of the JSON shape sent to the endpoint. */\n protected readonly preview = computed<unknown>(() => {\n const keys = this.keys().map((k) => k.trim()).filter(Boolean);\n const sample = this.#sampleForm();\n if (keys.length === 0) return sample;\n const out: Record<string, unknown> = {};\n for (const key of keys) out[key] = sample;\n return out;\n });\n\n /** Switches between flat and wrapped modes (seeding a default key on first wrap). */\n protected setMode(mode: 'flat' | 'wrap'): void {\n if (mode === 'flat') {\n this.#apply([]);\n return;\n }\n if (this.keys().length === 0) this.#apply(['data']);\n }\n\n protected addKey(): void {\n this.#apply([...this.keys(), '']);\n }\n\n protected updateKey(index: number, key: string): void {\n this.#apply(this.keys().map((k, i) => (i === index ? key : k)));\n }\n\n protected removeKey(index: number): void {\n this.#apply(this.keys().filter((_, i) => i !== index));\n }\n\n /** Reads a native input's value from a DOM event (keeps the template `any`-free). */\n protected inputValue(event: Event): string {\n return (event.target as HTMLInputElement).value;\n }\n\n protected trackByIndex(index: number): number {\n return index;\n }\n\n /** Reset to the recommended default (`data:{$formValue}`). */\n protected resetToDefault(): void {\n this.#apply([...parseProjection(DEFAULT_PROJECTION).keys]);\n }\n\n #apply(keys: string[]): void {\n if (this.disabled()) return;\n this.keys.set(keys);\n const serialized = serializeProjection({ keys });\n // Pre-record so the echoed value (see valueBridge) is ignored, preserving\n // empty in-progress key rows that serialise away.\n this.#lastSynced = serialized;\n this.valueChanged.emit(serialized);\n }\n}\n","<div class=\"projection\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">help_outline</mat-icon>\n <span>Choose how the submitted form is shaped before it is sent to the endpoint.</span>\n </p>\n\n <mat-button-toggle-group class=\"mode-toggle\" [value]=\"mode()\" hideSingleSelectionIndicator\n [disabled]=\"disabled()\" (change)=\"setMode($event.value)\" aria-label=\"Payload shape\">\n <mat-button-toggle value=\"flat\" matTooltip=\"Send each field at the top level\">\n <mat-icon>list</mat-icon> Top level\n </mat-button-toggle>\n <mat-button-toggle value=\"wrap\" matTooltip=\"Nest the whole form under a key\">\n <mat-icon>data_object</mat-icon> Wrap under key\n </mat-button-toggle>\n </mat-button-toggle-group>\n\n @if (mode() === 'wrap') {\n <div class=\"keys\">\n <span class=\"field-label\">Wrap the form under</span>\n @for (key of keys(); track trackByIndex($index); let i = $index) {\n <div class=\"key-row\">\n <span class=\"key-prefix\" aria-hidden=\"true\">&#123;</span>\n <input class=\"key-input\" [value]=\"key\" [disabled]=\"disabled()\"\n placeholder=\"e.g. data, payload\" [attr.aria-label]=\"'Wrapper key ' + (i + 1)\"\n (input)=\"updateKey(i, inputValue($event))\">\n <span class=\"key-suffix\" aria-hidden=\"true\">: form&#125;</span>\n <button type=\"button\" class=\"key-remove\" [disabled]=\"disabled()\" matTooltip=\"Remove key\"\n [attr.aria-label]=\"'Remove wrapper key ' + (i + 1)\" (click)=\"removeKey(i)\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n }\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" (click)=\"addKey()\">\n <mat-icon>add</mat-icon> Add another key\n </button>\n </div>\n } @else {\n <p class=\"hint-line subtle\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Every field is sent at the top level of the request body.</span>\n </p>\n }\n\n <div class=\"preview\">\n <div class=\"preview-head\">\n <span class=\"field-label\">Sent to the endpoint</span>\n <button type=\"button\" class=\"link-btn\" [disabled]=\"disabled()\" matTooltip=\"Reset to the recommended shape\"\n (click)=\"resetToDefault()\">\n <mat-icon>restart_alt</mat-icon> Reset\n </button>\n </div>\n <pre class=\"preview-json\">{{ preview() | json }}</pre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