ngx-t-forms 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs → ngx-t-forms-auto-complete-input-element.component-FhUHTsUF.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DFApar1W.mjs.map → ngx-t-forms-auto-complete-input-element.component-FhUHTsUF.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs → ngx-t-forms-basic-input-input-element.component-BJKe9wIA.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-ChCeve-w.mjs.map → ngx-t-forms-basic-input-input-element.component-BJKe9wIA.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-FQLTI7CX.mjs +643 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-FQLTI7CX.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs → ngx-t-forms-chip-options-creator-editor.component-CJtbprXS.mjs} +4 -4
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-CJtbprXS.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CU6R5h-x.mjs} +4 -4
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CU6R5h-x.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-C8MBbnfz.mjs +261 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-C8MBbnfz.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs → ngx-t-forms-date-picker-input-element.component-Dux6uy66.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-NM2cFs3P.mjs.map → ngx-t-forms-date-picker-input-element.component-Dux6uy66.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs +157 -0
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-uGM93dvc.mjs +373 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-uGM93dvc.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-picker.component-DIqaaBSl.mjs +1259 -0
- package/fesm2022/ngx-t-forms-document-picker.component-DIqaaBSl.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-input-element.component-CIELjDty.mjs +417 -0
- package/fesm2022/ngx-t-forms-editor-input-element.component-CIELjDty.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs → ngx-t-forms-editor-js-input.component-C1dI_7rU.mjs} +25 -11
- package/fesm2022/ngx-t-forms-editor-js-input.component-C1dI_7rU.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs → ngx-t-forms-file-upload-input-element.component-CQsKz87N.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Km-qgANx.mjs.map → ngx-t-forms-file-upload-input-element.component-CQsKz87N.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-input-selector.component-Dj0jvBdm.mjs +86 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-Dj0jvBdm.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-json-view.component-r64GKVhI.mjs → ngx-t-forms-form-json-view.component-DzJKFl4c.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-r64GKVhI.mjs.map → ngx-t-forms-form-json-view.component-DzJKFl4c.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs +179 -0
- package/fesm2022/ngx-t-forms-form-payload-projection.component-y9PSIeP1.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs → ngx-t-forms-form-section-stepper.component-DOvVtJGB.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-B3DRJ--U.mjs.map → ngx-t-forms-form-section-stepper.component-DOvVtJGB.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs → ngx-t-forms-forms-builder-menu.component-CcqyQLf5.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BYFynpTn.mjs.map → ngx-t-forms-forms-builder-menu.component-CcqyQLf5.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-D2fIbagr.mjs → ngx-t-forms-geo-location.component-Bj_qIEqi.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-geo-location.component-D2fIbagr.mjs.map → ngx-t-forms-geo-location.component-Bj_qIEqi.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-header-template-editor.component-DLldVmcN.mjs +129 -0
- package/fesm2022/ngx-t-forms-header-template-editor.component-DLldVmcN.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs → ngx-t-forms-image-capture-input-element.component-lwp3IcDt.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BgnzErQt.mjs.map → ngx-t-forms-image-capture-input-element.component-lwp3IcDt.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-index-6YIhS6cm.mjs → ngx-t-forms-index-C8NtLE16.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-C8NtLE16.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-Dcoze7U3.mjs → ngx-t-forms-input-custom.component-DiciFhSS.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-Dcoze7U3.mjs.map → ngx-t-forms-input-custom.component-DiciFhSS.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-input-editor.component-D12hrHOc.mjs +190 -0
- package/fesm2022/ngx-t-forms-input-editor.component-D12hrHOc.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs → ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-BsfvYiEU.mjs.map → ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs → ngx-t-forms-mat-chip-list-editor.component-C1Qrze7K.mjs} +5 -5
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-C1Qrze7K.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs → ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs} +3 -3
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-4buvmLkX.mjs.map +1 -0
- 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
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-DX8L0O1k.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs → ngx-t-forms-missing-form-configs.component-BaTR_jzc.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CEa8ZNKA.mjs.map → ngx-t-forms-missing-form-configs.component-BaTR_jzc.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs → ngx-t-forms-mscoa-chart-toolbar.component-Dni_bv_G.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DklkxNgg.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-Dni_bv_G.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BPQuzR5k.mjs +447 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BPQuzR5k.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-hXWMRFjl.mjs +905 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-hXWMRFjl.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs → ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs} +1391 -158
- package/fesm2022/ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-DrXB22iY.mjs → ngx-t-forms-paginated-selection-table-pYY2sWAb.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-paginated-selection-table-DrXB22iY.mjs.map → ngx-t-forms-paginated-selection-table-pYY2sWAb.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-DGCUsTYx.mjs +79 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-DGCUsTYx.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-D2stBXXC.mjs +748 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-D2stBXXC.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs → ngx-t-forms-record-list-manager.component-CtCOIpai.mjs} +4 -4
- package/fesm2022/ngx-t-forms-record-list-manager.component-CtCOIpai.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-D9wIdOhg.mjs +272 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-D9wIdOhg.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs → ngx-t-forms-rest-api-call-setup.component-Gy7Rtmue.mjs} +38 -7
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Gy7Rtmue.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs +38 -0
- package/fesm2022/ngx-t-forms-search-field.component-mR4Kk12C.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-section-report.component-BYMcaRE5.mjs → ngx-t-forms-section-report.component-U9uQ_Ow9.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-section-report.component-BYMcaRE5.mjs.map → ngx-t-forms-section-report.component-U9uQ_Ow9.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs → ngx-t-forms-select-input-element.component-CxYTmuvV.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-select-input-element.component-Nsa3dpvV.mjs.map → ngx-t-forms-select-input-element.component-CxYTmuvV.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-BLLejOLG.mjs +169 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-BLLejOLG.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs → ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs} +3 -3
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-D0ttyEex.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs → ngx-t-forms-textarea-input-element.component-75VdPc6z.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-DPxUzkAu.mjs.map → ngx-t-forms-textarea-input-element.component-75VdPc6z.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs → ngx-t-forms-toggle-input-element.component-DQGvEJN-.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-OZre5TJ7.mjs.map → ngx-t-forms-toggle-input-element.component-DQGvEJN-.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs +173 -0
- package/fesm2022/ngx-t-forms-token-transform-D_wsFbNc.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-validators-config.component-EM7RSWIz.mjs +574 -0
- package/fesm2022/ngx-t-forms-validators-config.component-EM7RSWIz.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs → ngx-t-forms-workflow-adjudication.component-C1Em-g9e.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CrDZg3Nl.mjs.map → ngx-t-forms-workflow-adjudication.component-C1Em-g9e.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +2 -2
- package/styles/_editor-mixins.scss +117 -117
- package/styles/_signature-pad.scss +26 -26
- package/styles/_tokens.scss +148 -148
- package/types/ngx-t-forms.d.ts +7 -2
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs +0 -261
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-7g5cpVfB.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs +0 -225
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-BhMw2vpl.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs +0 -1011
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-BmWnrfWN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs +0 -643
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-CJMwqoHL.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs +0 -136
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-ALkkDotT.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B54kOArR.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CAZv0_uR.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs +0 -253
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dap7QkKD.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs +0 -261
- package/fesm2022/ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs +0 -419
- package/fesm2022/ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs +0 -231
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-DjYq63Iv.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs +0 -156
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DhU_bhy3.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs +0 -333
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-g0wIRj9b.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs +0 -373
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-K-KFdCcS.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs +0 -543
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-NuPXy_Ms.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs +0 -1259
- package/fesm2022/ngx-t-forms-document-picker.component-BSG7k3IN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs +0 -1996
- package/fesm2022/ngx-t-forms-document-picker.component-ChGqXHcQ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs +0 -581
- package/fesm2022/ngx-t-forms-editor-input-element.component-B8Pk-EVY.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs +0 -417
- package/fesm2022/ngx-t-forms-editor-input-element.component-Bb7w-vNw.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-js-input.component-DlsLiHi1.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs +0 -585
- package/fesm2022/ngx-t-forms-editor-js-input.component-XX6kU8DW.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs +0 -447
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-RCmUClXv.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs +0 -163
- package/fesm2022/ngx-t-forms-form-input-selector.component-0jfD5C0G.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs +0 -86
- package/fesm2022/ngx-t-forms-form-input-selector.component-D5KYWQ2R.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs +0 -28
- package/fesm2022/ngx-t-forms-form-json-view.component-z0nQxpqB.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +0 -291
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs +0 -179
- package/fesm2022/ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs +0 -936
- package/fesm2022/ngx-t-forms-form-section-stepper.component-UUTHYU-A.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs +0 -816
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DTIAOxGV.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs +0 -329
- package/fesm2022/ngx-t-forms-geo-location.component-DW2b5Zli.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs +0 -360
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-Us_NAQSl.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-6YIhS6cm.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs +0 -2
- package/fesm2022/ngx-t-forms-index-BPNBX_ve.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs +0 -128
- package/fesm2022/ngx-t-forms-input-custom.component-DQOqy047.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs +0 -512
- package/fesm2022/ngx-t-forms-input-editor.component-3fRj5swF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-B6UKwV4i.mjs +0 -190
- package/fesm2022/ngx-t-forms-input-editor.component-B6UKwV4i.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs +0 -132
- package/fesm2022/ngx-t-forms-map-mat-options-keys-eSc99wdA.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs +0 -268
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CYtTBtyf.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +0 -241
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-CTSBrM-j.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-CcYiwx-8.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +0 -180
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs +0 -114
- package/fesm2022/ngx-t-forms-missing-form-configs.component-AaDfeALs.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs +0 -69
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D0igUV3W.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs +0 -200
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-rzl-fMmd.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs +0 -447
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-2SspNWtF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs +0 -850
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CSGf4XeN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs +0 -107
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBuGHwnU.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs +0 -1665
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CbQdnVgw.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs +0 -905
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-dmRIi9ph.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-0gzvHzEK.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs +0 -28237
- package/fesm2022/ngx-t-forms-ngx-t-forms-BefvSS-p.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs +0 -1024
- package/fesm2022/ngx-t-forms-paginated-selection-table-BGNxI2yq.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs +0 -203
- package/fesm2022/ngx-t-forms-payload-template-editor.component-DL4ZTTsH.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs +0 -234
- package/fesm2022/ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs +0 -1126
- package/fesm2022/ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs +0 -748
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DcZPv8-N.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs +0 -639
- package/fesm2022/ngx-t-forms-record-list-manager.component-BcANl5Bq.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-l-2uDVmi.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-BMmNxeE-.mjs +0 -272
- package/fesm2022/ngx-t-forms-required-inputs.component-BMmNxeE-.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs +0 -451
- package/fesm2022/ngx-t-forms-required-inputs.component-Dr0P1gin.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs +0 -625
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C3sNmq_H.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs +0 -38
- package/fesm2022/ngx-t-forms-search-field.component-B2ZO7lqO.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +0 -72
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs +0 -248
- package/fesm2022/ngx-t-forms-section-report.component-yGAjX7Gb.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs +0 -408
- package/fesm2022/ngx-t-forms-select-input-element.component-BqtJi4ek.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs +0 -169
- package/fesm2022/ngx-t-forms-selection-options-editor.component-BuXVzo7Z.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs +0 -275
- package/fesm2022/ngx-t-forms-selection-options-editor.component-_glw1cqH.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs +0 -366
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CLgN3YM4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-DAwP-cWK.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs +0 -233
- package/fesm2022/ngx-t-forms-textarea-input-element.component-SCEBLqJd.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs +0 -305
- package/fesm2022/ngx-t-forms-toggle-input-element.component-CoyTMRMa.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs +0 -1105
- package/fesm2022/ngx-t-forms-validators-config.component-B1Lzs7o2.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-validators-config.component-CoGSFor3.mjs +0 -574
- package/fesm2022/ngx-t-forms-validators-config.component-CoGSFor3.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs +0 -2923
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-Bz07jv-N.mjs.map +0 -1
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i3 from '@angular/material/icon';
|
|
4
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { ElementTypes } from 'ngx-t-forms-types';
|
|
6
|
-
import { g as getInputIcon } from './ngx-t-forms-getInputIcon-B4ADgevZ.mjs';
|
|
7
|
-
import { J as JsonEditorComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @file Friendly-label ⇄ id token transform for the payload-template editor.
|
|
11
|
-
*
|
|
12
|
-
* The stored config always uses `{{inputId}}` tokens, but the editor shows the
|
|
13
|
-
* user-friendly field **label** inline (`{{Contract Type}}`). This module maps
|
|
14
|
-
* between the two forms on a per-field basis.
|
|
15
|
-
*
|
|
16
|
-
* ### Robustness (why this is safe despite arbitrary labels)
|
|
17
|
-
* The transform runs on the **parsed value** (objects/strings), never on raw
|
|
18
|
-
* JSON text — so `JSON.stringify`/`parse` handle escaping and a label with a
|
|
19
|
-
* quote can never corrupt the document. On top of that, a label only earns a
|
|
20
|
-
* friendly token when it is BOTH:
|
|
21
|
-
* - **safe** — contains none of `{ } " \` (which would break the `{{…}}`
|
|
22
|
-
* delimiters or a raw picker-insertion), and
|
|
23
|
-
* - **unique** — no other field shares it (so `label → id` is unambiguous).
|
|
24
|
-
*
|
|
25
|
-
* Any field failing either test keeps its raw `{{id}}` inline. The friendly view
|
|
26
|
-
* is therefore a lossless, best-effort layer that degrades to the id — it can
|
|
27
|
-
* never produce invalid JSON or an ambiguous mapping.
|
|
28
|
-
*/
|
|
29
|
-
/** Characters that make a label unusable as a `{{label}}` token. */
|
|
30
|
-
const UNSAFE_LABEL = /[{}"\\]/;
|
|
31
|
-
/** Matches a `{{token}}` occurrence inside a string (token captured, trimmed by the caller). */
|
|
32
|
-
const TOKEN_RE = /\{\{\s*([^{}]+?)\s*\}\}/g;
|
|
33
|
-
/**
|
|
34
|
-
* Builds the id⇄label token maps for a set of fields, applying the safety and
|
|
35
|
-
* uniqueness rules described in the file header.
|
|
36
|
-
*
|
|
37
|
-
* @param fields - The candidate fields (id + label).
|
|
38
|
-
* @returns The bidirectional maps; a field absent from them keeps its raw id.
|
|
39
|
-
*/
|
|
40
|
-
function buildTokenMaps(fields) {
|
|
41
|
-
const labelCounts = new Map();
|
|
42
|
-
for (const field of fields) {
|
|
43
|
-
const label = field.label?.trim();
|
|
44
|
-
if (!label || UNSAFE_LABEL.test(label))
|
|
45
|
-
continue;
|
|
46
|
-
labelCounts.set(label, (labelCounts.get(label) ?? 0) + 1);
|
|
47
|
-
}
|
|
48
|
-
const idToLabel = new Map();
|
|
49
|
-
const labelToId = new Map();
|
|
50
|
-
for (const field of fields) {
|
|
51
|
-
const label = field.label?.trim();
|
|
52
|
-
if (!label || UNSAFE_LABEL.test(label))
|
|
53
|
-
continue;
|
|
54
|
-
if (labelCounts.get(label) !== 1)
|
|
55
|
-
continue; // ambiguous → keep the raw id
|
|
56
|
-
if (label === field.id)
|
|
57
|
-
continue; // transform would be a no-op
|
|
58
|
-
idToLabel.set(field.id, label);
|
|
59
|
-
labelToId.set(label, field.id);
|
|
60
|
-
}
|
|
61
|
-
return { idToLabel, labelToId };
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Deep-walks a parsed JSON value, rewriting every `{{token}}` whose trimmed token
|
|
65
|
-
* is a key in `lookup` to `{{mappedValue}}`. Unmapped tokens are left untouched.
|
|
66
|
-
* Non-string leaves (numbers/booleans/null) pass through unchanged.
|
|
67
|
-
*
|
|
68
|
-
* @typeParam T - The value shape (preserved).
|
|
69
|
-
* @param value - The parsed template value (object / array / primitive / undefined).
|
|
70
|
-
* @param lookup - `idToLabel` for display, `labelToId` for save.
|
|
71
|
-
* @returns A structurally-cloned value with tokens rewritten (or the original when `lookup` is empty).
|
|
72
|
-
*/
|
|
73
|
-
function mapTemplateTokens(value, lookup) {
|
|
74
|
-
if (lookup.size === 0)
|
|
75
|
-
return value;
|
|
76
|
-
return walk(value, lookup);
|
|
77
|
-
}
|
|
78
|
-
function walk(node, lookup) {
|
|
79
|
-
if (typeof node === 'string') {
|
|
80
|
-
return node.replace(TOKEN_RE, (match, rawToken) => {
|
|
81
|
-
const mapped = lookup.get(rawToken.trim());
|
|
82
|
-
return mapped !== undefined ? `{{${mapped}}}` : match;
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
if (Array.isArray(node)) {
|
|
86
|
-
return node.map((item) => walk(item, lookup));
|
|
87
|
-
}
|
|
88
|
-
if (node !== null && typeof node === 'object') {
|
|
89
|
-
const out = {};
|
|
90
|
-
for (const [key, val] of Object.entries(node)) {
|
|
91
|
-
out[key] = walk(val, lookup);
|
|
92
|
-
}
|
|
93
|
-
return out;
|
|
94
|
-
}
|
|
95
|
-
return node;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
function PayloadTemplateEditorComponent_For_11_Template(rf, ctx) { if (rf & 1) {
|
|
99
|
-
i0.ɵɵelementStart(0, "p", 4)(1, "span");
|
|
100
|
-
i0.ɵɵtext(2);
|
|
101
|
-
i0.ɵɵelementEnd()();
|
|
102
|
-
} if (rf & 2) {
|
|
103
|
-
const error_r1 = ctx.$implicit;
|
|
104
|
-
i0.ɵɵadvance(2);
|
|
105
|
-
i0.ɵɵtextInterpolate(error_r1.message);
|
|
106
|
-
} }
|
|
107
|
-
/** Turns an element type into a short, friendly field-kind label for the picker. */
|
|
108
|
-
function humanizeElement(element) {
|
|
109
|
-
return String(element)
|
|
110
|
-
.replace(/([a-z])([A-Z])/g, '$1 $2')
|
|
111
|
-
.replace(/^./, (c) => c.toUpperCase());
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Editor for a POST fetch's `backEndConfig.payloadTemplate`.
|
|
115
|
-
*
|
|
116
|
-
* Reuses the shared {@link JsonEditorComponent} (syntax highlight, validation,
|
|
117
|
-
* Format, `$`-trigger binding menu). Each form input is offered as an insertable
|
|
118
|
-
* `{{inputId}}` binding — typing `$` opens the menu. The parsed JSON is emitted
|
|
119
|
-
* as the template; `{{inputId}}` tokens map to live field values at runtime, and
|
|
120
|
-
* every other literal is a fixed default.
|
|
121
|
-
*
|
|
122
|
-
* Which mechanism is active (template vs mapped `minimumInputRequired`) is chosen
|
|
123
|
-
* upstream by the mode selector in the element-editor config, so this editor only
|
|
124
|
-
* renders when template mode is selected — it owns no toggle.
|
|
125
|
-
*
|
|
126
|
-
* @example
|
|
127
|
-
* <lib-payload-template-editor [value]="tpl()" [formInputs]="inputs()"
|
|
128
|
-
* (valueChanged)="onTemplate($event)" />
|
|
129
|
-
*/
|
|
130
|
-
class PayloadTemplateEditorComponent {
|
|
131
|
-
constructor() {
|
|
132
|
-
/** Current template (`undefined` when nothing has been authored yet). */
|
|
133
|
-
this.value = input(undefined, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
134
|
-
/**
|
|
135
|
-
* Default template shown when nothing has been authored yet — the endpoint's
|
|
136
|
-
* captured request body, or a skeleton derived from the fetch's required inputs.
|
|
137
|
-
* The builder also persists this via the descriptor's `defaultValue`; this input
|
|
138
|
-
* only makes it appear immediately instead of after the persist round-trip.
|
|
139
|
-
*/
|
|
140
|
-
this.defaultTemplate = input(undefined, ...(ngDevMode ? [{ debugName: "defaultTemplate" }] : /* istanbul ignore next */ []));
|
|
141
|
-
/** All form inputs, offered as insertable `{{inputId}}` bindings. */
|
|
142
|
-
this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
|
|
143
|
-
/** Disables the editor. */
|
|
144
|
-
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
145
|
-
/** Validation errors surfaced by the parent editor. */
|
|
146
|
-
this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
|
|
147
|
-
/** Optional id supplied by the parent editor. */
|
|
148
|
-
this.id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
149
|
-
/** Emits the parsed template on every valid edit. */
|
|
150
|
-
this.valueChanged = output();
|
|
151
|
-
/** The insertable fields (id + label), filtered to real inputs. */
|
|
152
|
-
this.#fields = computed(() => this.formInputs()
|
|
153
|
-
.filter((input) => input.element !== ElementTypes.SectionTitle && !input.multipleInputInEditId && !!input.id)
|
|
154
|
-
.map((input) => ({ id: input.id, label: input.label?.trim() || input.id })), ...(ngDevMode ? [{ debugName: "#fields" }] : /* istanbul ignore next */ []));
|
|
155
|
-
/** id⇄label token maps (safe + unique labels only; everything else stays a raw id). */
|
|
156
|
-
this.#tokenMaps = computed(() => buildTokenMaps(this.#fields()), ...(ngDevMode ? [{ debugName: "#tokenMaps" }] : /* istanbul ignore next */ []));
|
|
157
|
-
/**
|
|
158
|
-
* Field bindings for the JSON editor's `$`-trigger picker. The picker shows the
|
|
159
|
-
* friendly label + kind (never the raw id); the inserted token is the friendly
|
|
160
|
-
* `{{Label}}` when available, else the raw `{{id}}`.
|
|
161
|
-
*/
|
|
162
|
-
this.editorBindings = computed(() => {
|
|
163
|
-
const { idToLabel } = this.#tokenMaps();
|
|
164
|
-
return this.formInputs()
|
|
165
|
-
.filter((input) => input.element !== ElementTypes.SectionTitle && !input.multipleInputInEditId && !!input.id)
|
|
166
|
-
.map((input) => {
|
|
167
|
-
const label = input.label?.trim() || input.id;
|
|
168
|
-
const display = idToLabel.get(input.id);
|
|
169
|
-
return {
|
|
170
|
-
label,
|
|
171
|
-
insert: display ? `{{${display}}}` : `{{${input.id}}}`,
|
|
172
|
-
searchText: `${input.id} ${input.label ?? ''}`,
|
|
173
|
-
icon: getInputIcon(input.element),
|
|
174
|
-
detail: humanizeElement(input.element),
|
|
175
|
-
// Recognise BOTH the friendly label and the raw id as this field, so a
|
|
176
|
-
// pasted/legacy `{{id}}` still renders as a valid pill (and vice versa).
|
|
177
|
-
aliases: display ? [input.id] : [label],
|
|
178
|
-
};
|
|
179
|
-
});
|
|
180
|
-
}, ...(ngDevMode ? [{ debugName: "editorBindings" }] : /* istanbul ignore next */ []));
|
|
181
|
-
/**
|
|
182
|
-
* The value the JSON editor renders — the authored template, or the derived
|
|
183
|
-
* default when none exists yet — with stored `{{id}}` tokens rewritten to the
|
|
184
|
-
* friendly `{{Label}}` form for display.
|
|
185
|
-
*/
|
|
186
|
-
this.editorValue = computed(() => mapTemplateTokens(this.value() ?? this.defaultTemplate(), this.#tokenMaps().idToLabel), ...(ngDevMode ? [{ debugName: "editorValue" }] : /* istanbul ignore next */ []));
|
|
187
|
-
}
|
|
188
|
-
/** The insertable fields (id + label), filtered to real inputs. */
|
|
189
|
-
#fields;
|
|
190
|
-
/** id⇄label token maps (safe + unique labels only; everything else stays a raw id). */
|
|
191
|
-
#tokenMaps;
|
|
192
|
-
/**
|
|
193
|
-
* Commit a valid edit: rewrite the friendly `{{Label}}` tokens back to the
|
|
194
|
-
* stored `{{id}}` form before emitting. Invalid/empty edits are ignored (last
|
|
195
|
-
* valid stays in effect).
|
|
196
|
-
*/
|
|
197
|
-
onEditorChange(change) {
|
|
198
|
-
if (!change.valid)
|
|
199
|
-
return;
|
|
200
|
-
const stored = mapTemplateTokens(change.value, this.#tokenMaps().labelToId);
|
|
201
|
-
this.valueChanged.emit(stored);
|
|
202
|
-
}
|
|
203
|
-
static { this.ɵfac = function PayloadTemplateEditorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PayloadTemplateEditorComponent)(); }; }
|
|
204
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PayloadTemplateEditorComponent, selectors: [["lib-payload-template-editor"]], hostAttrs: [1, "lib-payload-template-editor"], inputs: { value: [1, "value"], defaultTemplate: [1, "defaultTemplate"], formInputs: [1, "formInputs"], disabled: [1, "disabled"], errors: [1, "errors"], id: [1, "id"] }, outputs: { valueChanged: "valueChanged" }, decls: 12, vars: 3, consts: [[1, "template-editor"], [1, "hint-line"], [1, "info-icon"], ["height", "360px", 3, "valueChange", "value", "bindings", "disabled"], [1, "error-line"]], template: function PayloadTemplateEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
205
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "p", 1)(2, "mat-icon", 2);
|
|
206
|
-
i0.ɵɵtext(3, "info");
|
|
207
|
-
i0.ɵɵelementEnd();
|
|
208
|
-
i0.ɵɵelementStart(4, "span");
|
|
209
|
-
i0.ɵɵtext(5, "Author the request body as JSON. Type ");
|
|
210
|
-
i0.ɵɵelementStart(6, "code");
|
|
211
|
-
i0.ɵɵtext(7, "$");
|
|
212
|
-
i0.ɵɵelementEnd();
|
|
213
|
-
i0.ɵɵtext(8, " to insert a field by name; every other literal is a fixed default. This supersedes the required-input mapping.");
|
|
214
|
-
i0.ɵɵelementEnd()();
|
|
215
|
-
i0.ɵɵelementStart(9, "lib-json-editor", 3);
|
|
216
|
-
i0.ɵɵlistener("valueChange", function PayloadTemplateEditorComponent_Template_lib_json_editor_valueChange_9_listener($event) { return ctx.onEditorChange($event); });
|
|
217
|
-
i0.ɵɵelementEnd();
|
|
218
|
-
i0.ɵɵrepeaterCreate(10, PayloadTemplateEditorComponent_For_11_Template, 3, 1, "p", 4, i0.ɵɵrepeaterTrackByIndex);
|
|
219
|
-
i0.ɵɵelementEnd();
|
|
220
|
-
} if (rf & 2) {
|
|
221
|
-
i0.ɵɵadvance(9);
|
|
222
|
-
i0.ɵɵproperty("value", ctx.editorValue())("bindings", ctx.editorBindings())("disabled", ctx.disabled());
|
|
223
|
-
i0.ɵɵadvance();
|
|
224
|
-
i0.ɵɵrepeater(ctx.errors());
|
|
225
|
-
} }, dependencies: [MatIconModule, i3.MatIcon, JsonEditorComponent], styles: ["[_nghost-%COMP%]{display:block}.template-editor[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.hint-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.875rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}.hint-line[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;padding:.05rem .35rem;border-radius:4px;background:var(--lib-forms-surface-container-highest)}.info-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.error-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.75rem;line-height:1.5;color:var(--lib-forms-error)}"], changeDetection: 0 }); }
|
|
226
|
-
}
|
|
227
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PayloadTemplateEditorComponent, [{
|
|
228
|
-
type: Component,
|
|
229
|
-
args: [{ selector: 'lib-payload-template-editor', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { class: 'lib-payload-template-editor' }, imports: [MatIconModule, JsonEditorComponent], template: "<div class=\"template-editor\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Author the request body as JSON. Type <code>$</code> to insert a field by name;\n every other literal is a fixed default. This supersedes the required-input mapping.</span>\n </p>\n\n <lib-json-editor\n height=\"360px\"\n [value]=\"editorValue()\"\n [bindings]=\"editorBindings()\"\n [disabled]=\"disabled()\"\n (valueChange)=\"onEditorChange($event)\" />\n\n @for (error of errors(); track $index) {\n <p class=\"error-line\"><span>{{ error.message }}</span></p>\n }\n</div>\n", styles: [":host{display:block}.template-editor{display:flex;flex-direction:column;gap:1.5rem}.hint-line{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.875rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}.hint-line code{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;padding:.05rem .35rem;border-radius:4px;background:var(--lib-forms-surface-container-highest)}.info-icon{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.error-line{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.75rem;line-height:1.5;color:var(--lib-forms-error)}\n"] }]
|
|
230
|
-
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], defaultTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultTemplate", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] }); })();
|
|
231
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PayloadTemplateEditorComponent, { className: "PayloadTemplateEditorComponent", filePath: "lib/components/t-dynamic-data-edit/elements/payload-template-editor/payload-template-editor.component.ts", lineNumber: 56 }); })();
|
|
232
|
-
|
|
233
|
-
export { PayloadTemplateEditorComponent };
|
|
234
|
-
//# sourceMappingURL=ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-payload-template-editor.component-o3qwpvYu.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/payload-template-editor/token-transform.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/payload-template-editor/payload-template-editor.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/payload-template-editor/payload-template-editor.component.ts"],"sourcesContent":["/**\n * @file Friendly-label ⇄ id token transform for the payload-template editor.\n *\n * The stored config always uses `{{inputId}}` tokens, but the editor shows the\n * user-friendly field **label** inline (`{{Contract Type}}`). This module maps\n * between the two forms on a per-field basis.\n *\n * ### Robustness (why this is safe despite arbitrary labels)\n * The transform runs on the **parsed value** (objects/strings), never on raw\n * JSON text — so `JSON.stringify`/`parse` handle escaping and a label with a\n * quote can never corrupt the document. On top of that, a label only earns a\n * friendly token when it is BOTH:\n * - **safe** — contains none of `{ } \" \\` (which would break the `{{…}}`\n * delimiters or a raw picker-insertion), and\n * - **unique** — no other field shares it (so `label → id` is unambiguous).\n *\n * Any field failing either test keeps its raw `{{id}}` inline. The friendly view\n * is therefore a lossless, best-effort layer that degrades to the id — it can\n * never produce invalid JSON or an ambiguous mapping.\n */\n\n/** A field that can back a token: its stable `id` and its display `label`. */\nexport interface TokenField {\n readonly id: string;\n readonly label: string;\n}\n\n/** Bidirectional token maps (only safe, uniquely-labelled fields are included). */\nexport interface TokenMaps {\n /** `id → label` (drives the id→friendly display transform + picker insert). */\n readonly idToLabel: ReadonlyMap<string, string>;\n /** `label → id` (drives the friendly→id save transform). */\n readonly labelToId: ReadonlyMap<string, string>;\n}\n\n/** Characters that make a label unusable as a `{{label}}` token. */\nconst UNSAFE_LABEL = /[{}\"\\\\]/;\n\n/** Matches a `{{token}}` occurrence inside a string (token captured, trimmed by the caller). */\nconst TOKEN_RE = /\\{\\{\\s*([^{}]+?)\\s*\\}\\}/g;\n\n/**\n * Builds the id⇄label token maps for a set of fields, applying the safety and\n * uniqueness rules described in the file header.\n *\n * @param fields - The candidate fields (id + label).\n * @returns The bidirectional maps; a field absent from them keeps its raw id.\n */\nexport function buildTokenMaps(fields: readonly TokenField[]): TokenMaps {\n const labelCounts = new Map<string, number>();\n for (const field of fields) {\n const label = field.label?.trim();\n if (!label || UNSAFE_LABEL.test(label)) continue;\n labelCounts.set(label, (labelCounts.get(label) ?? 0) + 1);\n }\n\n const idToLabel = new Map<string, string>();\n const labelToId = new Map<string, string>();\n for (const field of fields) {\n const label = field.label?.trim();\n if (!label || UNSAFE_LABEL.test(label)) continue;\n if (labelCounts.get(label) !== 1) continue; // ambiguous → keep the raw id\n if (label === field.id) continue; // transform would be a no-op\n idToLabel.set(field.id, label);\n labelToId.set(label, field.id);\n }\n return { idToLabel, labelToId };\n}\n\n/**\n * Deep-walks a parsed JSON value, rewriting every `{{token}}` whose trimmed token\n * is a key in `lookup` to `{{mappedValue}}`. Unmapped tokens are left untouched.\n * Non-string leaves (numbers/booleans/null) pass through unchanged.\n *\n * @typeParam T - The value shape (preserved).\n * @param value - The parsed template value (object / array / primitive / undefined).\n * @param lookup - `idToLabel` for display, `labelToId` for save.\n * @returns A structurally-cloned value with tokens rewritten (or the original when `lookup` is empty).\n */\nexport function mapTemplateTokens<T>(value: T, lookup: ReadonlyMap<string, string>): T {\n if (lookup.size === 0) return value;\n return walk(value, lookup) as T;\n}\n\nfunction walk(node: unknown, lookup: ReadonlyMap<string, string>): unknown {\n if (typeof node === 'string') {\n return node.replace(TOKEN_RE, (match, rawToken: string) => {\n const mapped = lookup.get(rawToken.trim());\n return mapped !== undefined ? `{{${mapped}}}` : match;\n });\n }\n if (Array.isArray(node)) {\n return node.map((item) => walk(item, lookup));\n }\n if (node !== null && typeof node === 'object') {\n const out: Record<string, unknown> = {};\n for (const [key, val] of Object.entries(node as Record<string, unknown>)) {\n out[key] = walk(val, lookup);\n }\n return out;\n }\n return node;\n}\n","<div class=\"template-editor\">\n <p class=\"hint-line\">\n <mat-icon class=\"info-icon\">info</mat-icon>\n <span>Author the request body as JSON. Type <code>$</code> to insert a field by name;\n every other literal is a fixed default. This supersedes the required-input mapping.</span>\n </p>\n\n <lib-json-editor\n height=\"360px\"\n [value]=\"editorValue()\"\n [bindings]=\"editorBindings()\"\n [disabled]=\"disabled()\"\n (valueChange)=\"onEditorChange($event)\" />\n\n @for (error of errors(); track $index) {\n <p class=\"error-line\"><span>{{ error.message }}</span></p>\n }\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n input,\n output,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { ElementTypes } from 'ngx-t-forms-types';\nimport type { FormColumnInputs, PayloadTemplate } from 'ngx-t-forms-types';\n\nimport { getInputIcon } from '../../../../shared/functions/getInputIcon';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport {\n JsonEditorComponent,\n type EditorBinding,\n type JsonEditorChange,\n} from '../json-editor/json-editor.component';\nimport { buildTokenMaps, mapTemplateTokens, type TokenField } from './token-transform';\n\n/** Turns an element type into a short, friendly field-kind label for the picker. */\nfunction humanizeElement(element: ElementTypes): string {\n return String(element)\n .replace(/([a-z])([A-Z])/g, '$1 $2')\n .replace(/^./, (c) => c.toUpperCase());\n}\n\n/**\n * Editor for a POST fetch's `backEndConfig.payloadTemplate`.\n *\n * Reuses the shared {@link JsonEditorComponent} (syntax highlight, validation,\n * Format, `$`-trigger binding menu). Each form input is offered as an insertable\n * `{{inputId}}` binding — typing `$` opens the menu. The parsed JSON is emitted\n * as the template; `{{inputId}}` tokens map to live field values at runtime, and\n * every other literal is a fixed default.\n *\n * Which mechanism is active (template vs mapped `minimumInputRequired`) is chosen\n * upstream by the mode selector in the element-editor config, so this editor only\n * renders when template mode is selected — it owns no toggle.\n *\n * @example\n * <lib-payload-template-editor [value]=\"tpl()\" [formInputs]=\"inputs()\"\n * (valueChanged)=\"onTemplate($event)\" />\n */\n@Component({\n selector: 'lib-payload-template-editor',\n templateUrl: './payload-template-editor.component.html',\n styleUrl: './payload-template-editor.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n host: { class: 'lib-payload-template-editor' },\n imports: [MatIconModule, JsonEditorComponent],\n})\nexport class PayloadTemplateEditorComponent {\n /** Current template (`undefined` when nothing has been authored yet). */\n readonly value = input<PayloadTemplate | undefined>(undefined);\n\n /**\n * Default template shown when nothing has been authored yet — the endpoint's\n * captured request body, or a skeleton derived from the fetch's required inputs.\n * The builder also persists this via the descriptor's `defaultValue`; this input\n * only makes it appear immediately instead of after the persist round-trip.\n */\n readonly defaultTemplate = input<PayloadTemplate | undefined>(undefined);\n\n /** All form inputs, offered as insertable `{{inputId}}` bindings. */\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\n\n /** Disables the editor. */\n readonly disabled = input<boolean>(false);\n\n /** Validation errors surfaced by the parent editor. */\n readonly errors = input<IConfigElementError[] | undefined>([]);\n\n /** Optional id supplied by the parent editor. */\n readonly id = input<string | undefined>(undefined);\n\n /** Emits the parsed template on every valid edit. */\n readonly valueChanged = output<PayloadTemplate>();\n\n /** The insertable fields (id + label), filtered to real inputs. */\n readonly #fields = computed<readonly TokenField[]>(() =>\n this.formInputs()\n .filter((input) => input.element !== ElementTypes.SectionTitle && !input.multipleInputInEditId && !!input.id)\n .map((input) => ({ id: input.id, label: input.label?.trim() || input.id })),\n );\n\n /** id⇄label token maps (safe + unique labels only; everything else stays a raw id). */\n readonly #tokenMaps = computed(() => buildTokenMaps(this.#fields()));\n\n /**\n * Field bindings for the JSON editor's `$`-trigger picker. The picker shows the\n * friendly label + kind (never the raw id); the inserted token is the friendly\n * `{{Label}}` when available, else the raw `{{id}}`.\n */\n protected readonly editorBindings = computed<readonly EditorBinding[]>(() => {\n const { idToLabel } = this.#tokenMaps();\n return this.formInputs()\n .filter((input) => input.element !== ElementTypes.SectionTitle && !input.multipleInputInEditId && !!input.id)\n .map((input) => {\n const label = input.label?.trim() || input.id;\n const display = idToLabel.get(input.id);\n return {\n label,\n insert: display ? `{{${display}}}` : `{{${input.id}}}`,\n searchText: `${input.id} ${input.label ?? ''}`,\n icon: getInputIcon(input.element),\n detail: humanizeElement(input.element),\n // Recognise BOTH the friendly label and the raw id as this field, so a\n // pasted/legacy `{{id}}` still renders as a valid pill (and vice versa).\n aliases: display ? [input.id] : [label],\n } satisfies EditorBinding;\n });\n });\n\n /**\n * The value the JSON editor renders — the authored template, or the derived\n * default when none exists yet — with stored `{{id}}` tokens rewritten to the\n * friendly `{{Label}}` form for display.\n */\n protected readonly editorValue = computed<object | undefined>(() =>\n mapTemplateTokens(this.value() ?? this.defaultTemplate(), this.#tokenMaps().idToLabel) as object | undefined,\n );\n\n /**\n * Commit a valid edit: rewrite the friendly `{{Label}}` tokens back to the\n * stored `{{id}}` form before emitting. Invalid/empty edits are ignored (last\n * valid stays in effect).\n */\n protected onEditorChange(change: JsonEditorChange): void {\n if (!change.valid) return;\n const stored = mapTemplateTokens(change.value, this.#tokenMaps().labelToId);\n this.valueChanged.emit(stored as PayloadTemplate);\n }\n}\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;AAmBG;AAgBH;AACA,MAAM,YAAY,GAAG,SAAS;AAE9B;AACA,MAAM,QAAQ,GAAG,0BAA0B;AAE3C;;;;;;AAMG;AACG,SAAU,cAAc,CAAC,MAA6B,EAAA;AAC1D,IAAA,MAAM,WAAW,GAAG,IAAI,GAAG,EAAkB;AAC7C,IAAA,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QAC1B,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE;QACjC,IAAI,CAAC,KAAK,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE;AACxC,QAAA,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D;AAEA,IAAA,MAAM,SAAS,GAAG,IAAI,GAAG,EAAkB;AAC3C,IAAA,MAAM,SAAS,GAAG,IAAI,GAAG,EAAkB;AAC3C,IAAA,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QAC1B,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE;QACjC,IAAI,CAAC,KAAK,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE;AACxC,QAAA,IAAI,WAAW,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC;AAAE,YAAA,SAAS;AAC3C,QAAA,IAAI,KAAK,KAAK,KAAK,CAAC,EAAE;AAAE,YAAA,SAAS;QACjC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAA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