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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-data-source-picker.component-8G28L1Cg.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/data-source-picker/data-source-picker.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/data-source-picker/data-source-picker.component.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n ViewEncapsulation,\n computed,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { Subject } from 'rxjs';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport {\n APIDataFetchingConfigurationInterface,\n DataSources,\n ElementEditorInnerSectionElementInterface,\n FormColumnInputs,\n IReportDataSources,\n MinimumInputRequiredInterface,\n MongoDbPipeLineConfigInterface,\n} from 'ngx-t-forms-types';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\nimport { MatChipListEditorComponent } from '../mat-chip-list-editor/mat-chip-list-editor.component';\nimport { PipelineGeneratorComponent } from '../pipeline-generator/pipeline-generator.component';\nimport { RequiredInputsComponent } from '../required-inputs/required-inputs.component';\nimport { RestApiCallSetupComponent } from '../rest-api-call-setup/rest-api-call-setup.component';\n\n/** Source-type option rendered in the chip selector. */\ninterface DataSourceOption {\n label: string;\n value: DataSources;\n}\n\n/** A configured data source decorated with the derived fields the list row renders. */\ninterface DataSourceRow {\n readonly source: IReportDataSources;\n readonly name: string;\n readonly icon: string;\n readonly endpoint: string;\n readonly isApi: boolean;\n}\n\n/** The in-edit working draft: a partial source being composed before save. */\ntype DataSourceDraft = Partial<IReportDataSources>;\n\n/**\n * Internal editor element for configuring a report's data sources (API calls and\n * MongoDB pipelines). It is a real `MatFormFieldControl`, rendered by\n * `t-dynamic-data-edit` inside a `<mat-form-field>` — so the parent owns the\n * surrounding label, hint, and validation errors, and this component owns only\n * the source list, the inline editor card, and the add affordance.\n *\n * NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /\n * `required` / `placeholder` / `id` members, `@Input()` decorators, the\n * `focused` / `touched` / `stateChanges` members, and the `useExisting`\n * provider. These are framework wiring, not defects — the CLAUDE.md bans on\n * `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.\n */\n@Component({\n selector: 'lib-data-source-picker',\n imports: [\n MatButtonModule,\n MatCardModule,\n MatIconModule,\n MatListModule,\n MatTooltipModule,\n EmptyStateComponent,\n MatChipListEditorComponent,\n PipelineGeneratorComponent,\n RequiredInputsComponent,\n RestApiCallSetupComponent,\n ],\n templateUrl: './data-source-picker.component.html',\n styleUrl: './data-source-picker.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n providers: [{ provide: MatFormFieldControl, useExisting: DataSourcePickerComponent }],\n host: {\n 'class': 'lib-data-source-picker',\n '[attr.id]': 'id',\n '[class.lib-data-source-picker--focused]': 'focused',\n '[class.lib-data-source-picker--disabled]': 'disabled',\n },\n})\nexport class DataSourcePickerComponent\n implements MatFormFieldControl<Array<IReportDataSources> | undefined>\n{\n static nextId = 0;\n\n /** Emits whenever a piece of `MatFormFieldControl` state changes. */\n readonly stateChanges = new Subject<void>();\n readonly controlType = 'lib-data-source-picker';\n\n id = `lib-data-source-picker-${DataSourcePickerComponent.nextId++}`;\n placeholder = '';\n focused = false;\n touched = false;\n required = false;\n describedBy = '';\n autofilled = false;\n userAriaDescribedBy: string | undefined = undefined;\n disableAutomaticLabeling: boolean | undefined = undefined;\n\n /** Validation errors surfaced by the parent for error-state derivation. */\n @Input() errors: IConfigElementError[] | undefined = [];\n\n #disabled = false;\n /** Whether the control is inert. */\n @Input()\n get disabled(): boolean {\n return this.#disabled;\n }\n set disabled(value: boolean) {\n this.#disabled = value;\n this.stateChanges.next();\n }\n\n // Mirror of the plain MFC `value` member, so the template + computeds react.\n readonly #value = signal<Array<IReportDataSources> | undefined>(undefined);\n\n /** Current list of configured data sources. */\n @Input()\n get value(): Array<IReportDataSources> | undefined {\n return this.#value();\n }\n set value(value: Array<IReportDataSources> | undefined) {\n if (this.#value() === value) {\n return;\n }\n this.#value.set(value);\n this.stateChanges.next();\n }\n\n // Mirror of the plain `editorConfig` member, so the template reacts.\n readonly #editorConfig = signal<ElementEditorInnerSectionElementInterface | undefined>(\n undefined,\n );\n\n /** Editor configuration supplying postman / workflow option providers. */\n @Input()\n get editorConfig(): ElementEditorInnerSectionElementInterface | undefined {\n return this.#editorConfig();\n }\n set editorConfig(config: ElementEditorInnerSectionElementInterface | undefined) {\n this.#editorConfig.set(config);\n }\n\n /** All available form inputs the user can map a required input to. */\n readonly formInputs = input<Array<FormColumnInputs>>([]);\n\n /** Emits the mutated data-source list whenever the user adds or removes a source. */\n readonly valueChange = output<Array<IReportDataSources> | undefined>();\n\n readonly ngControl = inject(NgControl, { self: true, optional: true });\n readonly #elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Source-type enum, exposed to the template. */\n protected readonly dataSources = DataSources;\n\n /** The selectable source types in the chip selector. */\n protected readonly dataSourceOptions: DataSourceOption[] = [\n { label: 'API', value: DataSources.Api },\n { label: 'MongoDB', value: DataSources.MongoDb },\n ];\n\n /** The in-edit draft, or `undefined` when the editor card is closed. */\n protected readonly draft = signal<DataSourceDraft | undefined>(undefined);\n\n /** Decorated rows for the configured-source list. */\n protected readonly rows = computed<readonly DataSourceRow[]>(() =>\n (this.#value() ?? []).map((source, index) => ({\n source,\n name: this.#name(source, index),\n icon: source.source === DataSources.Api ? 'api' : 'storage',\n endpoint: this.#endpoint(source),\n isApi: source.source === DataSources.Api,\n })),\n );\n\n /** Whether any data source is configured. */\n protected readonly hasSources = computed<boolean>(() => (this.#value() ?? []).length > 0);\n\n /** The `minimumInputRequired` list of the draft's API config, or `undefined`. */\n protected readonly draftMinimumInputRequired = computed<\n readonly MinimumInputRequiredInterface[] | undefined\n >(() => {\n const config = this.draft()?.config;\n if (!config || !this.#isApiConfig(config)) {\n return undefined;\n }\n return config.backEndConfig?.minimumInputRequired;\n });\n\n // ---- MatFormFieldControl getters (read during the framework's CD) --------\n\n get empty(): boolean {\n return (this.#value() ?? []).length === 0;\n }\n\n get shouldLabelFloat(): boolean {\n return this.focused || !this.empty;\n }\n\n get errorState(): boolean {\n const requiredUnset = this.empty && this.required;\n const ngControlError = this.ngControl?.errors != null;\n const externalError = (this.errors?.length ?? 0) > 0 && this.touched;\n return requiredUnset || ngControlError || externalError;\n }\n\n setDescribedByIds(ids: string[]): void {\n this.describedBy = ids.join(' ');\n const el = this.#elementRef.nativeElement;\n const control = el.querySelector('.lib-data-source-picker__list');\n control?.setAttribute('aria-describedby', this.describedBy);\n this.stateChanges.next();\n }\n\n onContainerClick(): void {\n this.markAsTouched();\n if (!this.focused) {\n this.focused = true;\n }\n this.stateChanges.next();\n }\n\n onTouched: () => void = () => {};\n\n markAsTouched(): void {\n if (!this.touched) {\n this.touched = true;\n this.onTouched();\n this.stateChanges.next();\n }\n }\n\n // ---- Draft editing -------------------------------------------------------\n\n /** Open the editor card with an empty draft. */\n protected startEditing(): void {\n this.draft.set({});\n }\n\n /** Discard the draft and close the editor card. */\n protected cancelEditing(): void {\n this.draft.set(undefined);\n }\n\n /** Set the draft's source type. Child chip editor emits an unknown payload. */\n protected sourceTypeChanged(source: unknown): void {\n this.draft.update((current) =>\n current ? { ...current, source: source as DataSources | undefined } : current,\n );\n }\n\n /** Set the draft's source config (API setup or pipeline). */\n protected sourceConfigChanged(\n config: APIDataFetchingConfigurationInterface | MongoDbPipeLineConfigInterface | undefined,\n ): void {\n this.draft.update((current) => (current ? { ...current, config } : current));\n }\n\n /** Merge the required-input list into the draft's API config. */\n protected minimumInputRequiredValueChanged(\n value: Array<MinimumInputRequiredInterface>,\n ): void {\n this.draft.update((current) => {\n if (!current?.config || !this.#isApiConfig(current.config)) {\n return current;\n }\n const config: APIDataFetchingConfigurationInterface = {\n ...current.config,\n backEndConfig: { ...current.config.backEndConfig, minimumInputRequired: value },\n };\n return { ...current, config };\n });\n }\n\n /** Commit the draft as a new source (assigning a fresh id) and emit. */\n protected saveNewSource(): void {\n const current = this.draft();\n if (!current) {\n return;\n }\n const data: IReportDataSources = { ...current, id: crypto.randomUUID() } as IReportDataSources;\n const next = [...(this.#value() ?? []), data];\n this.value = next;\n this.draft.set(undefined);\n this.markAsTouched();\n this.valueChange.emit(next);\n }\n\n /** Remove a configured source by id and emit. */\n protected removeSource(source: IReportDataSources): void {\n const current = this.#value();\n if (!current) {\n return;\n }\n const next = current.filter((item) => item.id !== source.id);\n this.value = next;\n this.markAsTouched();\n this.valueChange.emit(next);\n }\n\n #name(value: IReportDataSources, index: number): string {\n if (this.#isApiConfig(value.config) && value.config.name) {\n return value.config.name;\n }\n return value.source === DataSources.Api ? `API ${index + 1}` : `MongoDB ${index + 1}`;\n }\n\n #endpoint(value: IReportDataSources): string {\n if (this.#isApiConfig(value.config)) {\n return value.config.httpEndPoint ?? '';\n }\n return value.config.workflowId ?? '';\n }\n\n #isApiConfig(\n config: APIDataFetchingConfigurationInterface | MongoDbPipeLineConfigInterface | undefined,\n ): config is APIDataFetchingConfigurationInterface {\n return config?.source === DataSources.Api;\n }\n}\n","<div class=\"lib-data-source-picker__list\">\n @if (hasSources()) {\n <mat-list class=\"lib-data-source-picker__sources\">\n @for (row of rows(); track row.source.id) {\n <mat-list-item\n class=\"lib-data-source-picker__source\"\n matTooltipPosition=\"before\"\n [matTooltip]=\"row.source.source + ' ' + row.endpoint\">\n <mat-icon\n matListItemIcon\n class=\"lib-data-source-picker__icon\"\n [class.lib-data-source-picker__icon--api]=\"row.isApi\">\n {{ row.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-data-source-picker__name\">{{ row.name }}</span>\n <span matListItemLine class=\"lib-data-source-picker__endpoint\">{{ row.endpoint }}</span>\n <button\n matListItemMeta\n mat-icon-button\n type=\"button\"\n [attr.aria-label]=\"'Remove ' + row.name\"\n [disabled]=\"disabled\"\n (click)=\"removeSource(row.source)\">\n <mat-icon>delete</mat-icon>\n </button>\n </mat-list-item>\n }\n </mat-list>\n } @else {\n <lib-empty-state icon=\"storage\" message=\"No data sources configured. Add one to get started.\" />\n }\n</div>\n\n@if (draft(); as draft) {\n <mat-card appearance=\"outlined\" class=\"lib-data-source-picker__editor\">\n <mat-card-content>\n <label [attr.for]=\"id + '-type'\" class=\"lib-data-source-picker__label\">Select source type</label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-type'\"\n [value]=\"draft.source\"\n [options]=\"dataSourceOptions\"\n (valueChange)=\"sourceTypeChanged($event)\" />\n\n @if (draft.source !== undefined) {\n @switch (draft.source) {\n @case (dataSources.Api) {\n <label [attr.for]=\"id + '-api'\" class=\"lib-data-source-picker__label\">Select API</label>\n <lib-rest-api-call-setup\n [id]=\"id + '-api'\"\n [postmanCollectionConfig]=\"editorConfig?.postmanCollectionConfig\"\n [httpGetDataFunction]=\"editorConfig?.httpGetDataFunction\"\n [value]=\"$any(draft.config)\"\n (valueChanged)=\"sourceConfigChanged($event)\" />\n\n @if (draftMinimumInputRequired(); as minimumInputRequired) {\n <lib-required-inputs\n [id]=\"id + '-required-inputs'\"\n [formInputs]=\"formInputs() || []\"\n [value]=\"minimumInputRequired\"\n [errors]=\"[]\"\n (valueChanged)=\"minimumInputRequiredValueChanged($event)\" />\n }\n }\n @case (dataSources.MongoDb) {\n <label [attr.for]=\"id + '-pipeline'\" class=\"lib-data-source-picker__label\">Add a MongoDB pipeline</label>\n <lib-pipeline-generator\n [id]=\"id + '-pipeline'\"\n [value]=\"$any(draft.config)\"\n [getWorkflowOptions]=\"editorConfig?.getWorkflowOptions\"\n (valueChanged)=\"sourceConfigChanged($event)\" />\n }\n }\n }\n </mat-card-content>\n\n <mat-card-actions class=\"lib-data-source-picker__actions\">\n <button mat-flat-button color=\"primary\" type=\"button\" (click)=\"saveNewSource()\">Save source</button>\n <span class=\"lib-data-source-picker__spacer\"></span>\n <button mat-button color=\"warn\" type=\"button\" (click)=\"cancelEditing()\">Cancel</button>\n </mat-card-actions>\n </mat-card>\n} @else {\n <button\n mat-stroked-button\n color=\"primary\"\n type=\"button\"\n class=\"lib-data-source-picker__add\"\n [disabled]=\"disabled\"\n (click)=\"startEditing()\">\n <mat-icon>add</mat-icon>\n Add data source\n </button>\n}\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAsDA;;;;;;;;;;;;AAYG;MA2BU,yBAAyB,CAAA;AA1BtC,IAAA,WAAA,GAAA;;AAgCW,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAQ;QAClC,IAAA,CAAA,WAAW,GAAG,wBAAwB;AAE/C,QAAA,IAAA,CAAA,EAAE,GAAG,CAAA,uBAAA,EAA0B,yBAAyB,CAAC,MAAM,EAAE,EAAE;QACnE,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,OAAO,GAAG,KAAK;QACf,IAAA,CAAA,OAAO,GAAG,KAAK;QACf,IAAA,CAAA,QAAQ,GAAG,KAAK;QAChB,IAAA,CAAA,WAAW,GAAG,EAAE;QAChB,IAAA,CAAA,UAAU,GAAG,KAAK;QAClB,IAAA,CAAA,mBAAmB,GAAuB,SAAS;QACnD,IAAA,CAAA,wBAAwB,GAAwB,SAAS;;QAGhD,IAAA,CAAA,MAAM,GAAsC,EAAE;QAEvD,IAAA,CAAA,SAAS,GAAG,KAAK;;AAYR,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAwC,SAAS,6EAAC;;AAgBjE,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAC7B,SAAS,oFACV;;AAYQ,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA0B,EAAE,iFAAC;;QAG/C,IAAA,CAAA,WAAW,GAAG,MAAM,EAAyC;AAE7D,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,E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A,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAchB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBA1BrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wBAAwB,EAAA,OAAA,EACzB;wBACP,eAAe;wBACf,aAAa;wBACb,aAAa;wBACb,aAAa;wBACb,gBAAgB;wBAChB,mBAAmB;wBACnB,0BAA0B;wBAC1B,0BAA0B;wBAC1B,uBAAuB;wBACvB,yBAAyB;AAC1B,qBAAA,EAAA,eAAA,EAGgB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,QAAQ,EAAA,SAAA,EAC9B,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAA,yBAA2B,EAAE,CAAC,EAAA,IAAA,EAC/E;AACJ,wBAAA,OAAO,EAAE,wBAAwB;AACjC,wBAAA,WAAW,EAAE,IAAI;AACjB,wBAAA,yCAAyC,EAAE,SAAS;AACpD,wBAAA,0CAA0C,EAAE,UAAU;AACvD,qBAAA,EAAA,QAAA,EAAA,2uHAAA,EAAA,MAAA,EAAA,CAAA,4lCAAA,CAAA,EAAA;;sBAsBA;;sBAIA;;sBAaA;;sBAkBA;;;;;"}
|
|
@@ -1,419 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { signal, input, output, inject, ElementRef, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
-
import { NgControl } from '@angular/forms';
|
|
4
|
-
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i2 from '@angular/material/button';
|
|
7
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
8
|
-
import * as i3 from '@angular/material/card';
|
|
9
|
-
import { MatCardModule } from '@angular/material/card';
|
|
10
|
-
import * as i3$1 from '@angular/material/icon';
|
|
11
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import * as i6 from '@angular/material/list';
|
|
13
|
-
import { MatListModule } from '@angular/material/list';
|
|
14
|
-
import * as i5 from '@angular/material/tooltip';
|
|
15
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
-
import { DataSources } from 'ngx-t-forms-types';
|
|
17
|
-
import { E as EmptyStateComponent } from './ngx-t-forms-ngx-t-forms-BefvSS-p.mjs';
|
|
18
|
-
import { MatChipListEditorComponent } from './ngx-t-forms-mat-chip-list-editor.component-CN17K5q6.mjs';
|
|
19
|
-
import { PipelineGeneratorComponent } from './ngx-t-forms-pipeline-generator.component-BqtdKcN2.mjs';
|
|
20
|
-
import { RequiredInputsComponent } from './ngx-t-forms-required-inputs.component-Dr0P1gin.mjs';
|
|
21
|
-
import { RestApiCallSetupComponent } from './ngx-t-forms-rest-api-call-setup.component-BSv_KQIU.mjs';
|
|
22
|
-
|
|
23
|
-
const _c0 = () => [];
|
|
24
|
-
const _forTrack0 = ($index, $item) => $item.source.id;
|
|
25
|
-
function DataSourcePickerComponent_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
27
|
-
i0.ɵɵelementStart(0, "mat-list-item", 5)(1, "mat-icon", 6);
|
|
28
|
-
i0.ɵɵtext(2);
|
|
29
|
-
i0.ɵɵelementEnd();
|
|
30
|
-
i0.ɵɵelementStart(3, "span", 7);
|
|
31
|
-
i0.ɵɵtext(4);
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵelementStart(5, "span", 8);
|
|
34
|
-
i0.ɵɵtext(6);
|
|
35
|
-
i0.ɵɵelementEnd();
|
|
36
|
-
i0.ɵɵelementStart(7, "button", 9);
|
|
37
|
-
i0.ɵɵlistener("click", function DataSourcePickerComponent_Conditional_1_For_2_Template_button_click_7_listener() { const row_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.removeSource(row_r2.source)); });
|
|
38
|
-
i0.ɵɵelementStart(8, "mat-icon");
|
|
39
|
-
i0.ɵɵtext(9, "delete");
|
|
40
|
-
i0.ɵɵelementEnd()()();
|
|
41
|
-
} if (rf & 2) {
|
|
42
|
-
const row_r2 = ctx.$implicit;
|
|
43
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
44
|
-
i0.ɵɵproperty("matTooltip", row_r2.source.source + " " + row_r2.endpoint);
|
|
45
|
-
i0.ɵɵadvance();
|
|
46
|
-
i0.ɵɵclassProp("lib-data-source-picker__icon--api", row_r2.isApi);
|
|
47
|
-
i0.ɵɵadvance();
|
|
48
|
-
i0.ɵɵtextInterpolate1(" ", row_r2.icon, " ");
|
|
49
|
-
i0.ɵɵadvance(2);
|
|
50
|
-
i0.ɵɵtextInterpolate(row_r2.name);
|
|
51
|
-
i0.ɵɵadvance(2);
|
|
52
|
-
i0.ɵɵtextInterpolate(row_r2.endpoint);
|
|
53
|
-
i0.ɵɵadvance();
|
|
54
|
-
i0.ɵɵproperty("disabled", ctx_r2.disabled);
|
|
55
|
-
i0.ɵɵattribute("aria-label", "Remove " + row_r2.name);
|
|
56
|
-
} }
|
|
57
|
-
function DataSourcePickerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
-
i0.ɵɵelementStart(0, "mat-list", 1);
|
|
59
|
-
i0.ɵɵrepeaterCreate(1, DataSourcePickerComponent_Conditional_1_For_2_Template, 10, 8, "mat-list-item", 5, _forTrack0);
|
|
60
|
-
i0.ɵɵelementEnd();
|
|
61
|
-
} if (rf & 2) {
|
|
62
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
63
|
-
i0.ɵɵadvance();
|
|
64
|
-
i0.ɵɵrepeater(ctx_r2.rows());
|
|
65
|
-
} }
|
|
66
|
-
function DataSourcePickerComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
-
i0.ɵɵelement(0, "lib-empty-state", 2);
|
|
68
|
-
} }
|
|
69
|
-
function DataSourcePickerComponent_Conditional_3_Conditional_5_Case_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
71
|
-
i0.ɵɵelementStart(0, "lib-required-inputs", 18);
|
|
72
|
-
i0.ɵɵlistener("valueChanged", function DataSourcePickerComponent_Conditional_3_Conditional_5_Case_0_Conditional_3_Template_lib_required_inputs_valueChanged_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.minimumInputRequiredValueChanged($event)); });
|
|
73
|
-
i0.ɵɵelementEnd();
|
|
74
|
-
} if (rf & 2) {
|
|
75
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
76
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-required-inputs")("formInputs", ctx_r2.formInputs() || i0.ɵɵpureFunction0(4, _c0))("value", ctx)("errors", i0.ɵɵpureFunction0(5, _c0));
|
|
77
|
-
} }
|
|
78
|
-
function DataSourcePickerComponent_Conditional_3_Conditional_5_Case_0_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
80
|
-
i0.ɵɵelementStart(0, "label", 10);
|
|
81
|
-
i0.ɵɵtext(1, "Select API");
|
|
82
|
-
i0.ɵɵelementEnd();
|
|
83
|
-
i0.ɵɵelementStart(2, "lib-rest-api-call-setup", 16);
|
|
84
|
-
i0.ɵɵlistener("valueChanged", function DataSourcePickerComponent_Conditional_3_Conditional_5_Case_0_Template_lib_rest_api_call_setup_valueChanged_2_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.sourceConfigChanged($event)); });
|
|
85
|
-
i0.ɵɵelementEnd();
|
|
86
|
-
i0.ɵɵconditionalCreate(3, DataSourcePickerComponent_Conditional_3_Conditional_5_Case_0_Conditional_3_Template, 1, 6, "lib-required-inputs", 17);
|
|
87
|
-
} if (rf & 2) {
|
|
88
|
-
let tmp_9_0;
|
|
89
|
-
const draft_r7 = i0.ɵɵnextContext(2);
|
|
90
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
91
|
-
i0.ɵɵattribute("for", ctx_r2.id + "-api");
|
|
92
|
-
i0.ɵɵadvance(2);
|
|
93
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-api")("postmanCollectionConfig", ctx_r2.editorConfig == null ? null : ctx_r2.editorConfig.postmanCollectionConfig)("httpGetDataFunction", ctx_r2.editorConfig == null ? null : ctx_r2.editorConfig.httpGetDataFunction)("value", draft_r7.config);
|
|
94
|
-
i0.ɵɵadvance();
|
|
95
|
-
i0.ɵɵconditional((tmp_9_0 = ctx_r2.draftMinimumInputRequired()) ? 3 : -1, tmp_9_0);
|
|
96
|
-
} }
|
|
97
|
-
function DataSourcePickerComponent_Conditional_3_Conditional_5_Case_1_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
99
|
-
i0.ɵɵelementStart(0, "label", 10);
|
|
100
|
-
i0.ɵɵtext(1, "Add a MongoDB pipeline");
|
|
101
|
-
i0.ɵɵelementEnd();
|
|
102
|
-
i0.ɵɵelementStart(2, "lib-pipeline-generator", 19);
|
|
103
|
-
i0.ɵɵlistener("valueChanged", function DataSourcePickerComponent_Conditional_3_Conditional_5_Case_1_Template_lib_pipeline_generator_valueChanged_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.sourceConfigChanged($event)); });
|
|
104
|
-
i0.ɵɵelementEnd();
|
|
105
|
-
} if (rf & 2) {
|
|
106
|
-
const draft_r7 = i0.ɵɵnextContext(2);
|
|
107
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
108
|
-
i0.ɵɵattribute("for", ctx_r2.id + "-pipeline");
|
|
109
|
-
i0.ɵɵadvance(2);
|
|
110
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-pipeline")("value", draft_r7.config)("getWorkflowOptions", ctx_r2.editorConfig == null ? null : ctx_r2.editorConfig.getWorkflowOptions);
|
|
111
|
-
} }
|
|
112
|
-
function DataSourcePickerComponent_Conditional_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
-
i0.ɵɵconditionalCreate(0, DataSourcePickerComponent_Conditional_3_Conditional_5_Case_0_Template, 4, 6)(1, DataSourcePickerComponent_Conditional_3_Conditional_5_Case_1_Template, 3, 4);
|
|
114
|
-
} if (rf & 2) {
|
|
115
|
-
let tmp_3_0;
|
|
116
|
-
const draft_r7 = i0.ɵɵnextContext();
|
|
117
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
118
|
-
i0.ɵɵconditional((tmp_3_0 = draft_r7.source) === ctx_r2.dataSources.Api ? 0 : tmp_3_0 === ctx_r2.dataSources.MongoDb ? 1 : -1);
|
|
119
|
-
} }
|
|
120
|
-
function DataSourcePickerComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
122
|
-
i0.ɵɵelementStart(0, "mat-card", 3)(1, "mat-card-content")(2, "label", 10);
|
|
123
|
-
i0.ɵɵtext(3, "Select source type");
|
|
124
|
-
i0.ɵɵelementEnd();
|
|
125
|
-
i0.ɵɵelementStart(4, "lib-mat-chip-list-editor", 11);
|
|
126
|
-
i0.ɵɵlistener("valueChange", function DataSourcePickerComponent_Conditional_3_Template_lib_mat_chip_list_editor_valueChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.sourceTypeChanged($event)); });
|
|
127
|
-
i0.ɵɵelementEnd();
|
|
128
|
-
i0.ɵɵconditionalCreate(5, DataSourcePickerComponent_Conditional_3_Conditional_5_Template, 2, 1);
|
|
129
|
-
i0.ɵɵelementEnd();
|
|
130
|
-
i0.ɵɵelementStart(6, "mat-card-actions", 12)(7, "button", 13);
|
|
131
|
-
i0.ɵɵlistener("click", function DataSourcePickerComponent_Conditional_3_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.saveNewSource()); });
|
|
132
|
-
i0.ɵɵtext(8, "Save source");
|
|
133
|
-
i0.ɵɵelementEnd();
|
|
134
|
-
i0.ɵɵelement(9, "span", 14);
|
|
135
|
-
i0.ɵɵelementStart(10, "button", 15);
|
|
136
|
-
i0.ɵɵlistener("click", function DataSourcePickerComponent_Conditional_3_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.cancelEditing()); });
|
|
137
|
-
i0.ɵɵtext(11, "Cancel");
|
|
138
|
-
i0.ɵɵelementEnd()()();
|
|
139
|
-
} if (rf & 2) {
|
|
140
|
-
const draft_r7 = ctx;
|
|
141
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
142
|
-
i0.ɵɵadvance(2);
|
|
143
|
-
i0.ɵɵattribute("for", ctx_r2.id + "-type");
|
|
144
|
-
i0.ɵɵadvance(2);
|
|
145
|
-
i0.ɵɵproperty("id", ctx_r2.id + "-type")("value", draft_r7.source)("options", ctx_r2.dataSourceOptions);
|
|
146
|
-
i0.ɵɵadvance();
|
|
147
|
-
i0.ɵɵconditional(draft_r7.source !== undefined ? 5 : -1);
|
|
148
|
-
} }
|
|
149
|
-
function DataSourcePickerComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
150
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
|
151
|
-
i0.ɵɵelementStart(0, "button", 20);
|
|
152
|
-
i0.ɵɵlistener("click", function DataSourcePickerComponent_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.startEditing()); });
|
|
153
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
154
|
-
i0.ɵɵtext(2, "add");
|
|
155
|
-
i0.ɵɵelementEnd();
|
|
156
|
-
i0.ɵɵtext(3, " Add data source ");
|
|
157
|
-
i0.ɵɵelementEnd();
|
|
158
|
-
} if (rf & 2) {
|
|
159
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
160
|
-
i0.ɵɵproperty("disabled", ctx_r2.disabled);
|
|
161
|
-
} }
|
|
162
|
-
/**
|
|
163
|
-
* Internal editor element for configuring a report's data sources (API calls and
|
|
164
|
-
* MongoDB pipelines). It is a real `MatFormFieldControl`, rendered by
|
|
165
|
-
* `t-dynamic-data-edit` inside a `<mat-form-field>` — so the parent owns the
|
|
166
|
-
* surrounding label, hint, and validation errors, and this component owns only
|
|
167
|
-
* the source list, the inline editor card, and the add affordance.
|
|
168
|
-
*
|
|
169
|
-
* NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /
|
|
170
|
-
* `required` / `placeholder` / `id` members, `@Input()` decorators, the
|
|
171
|
-
* `focused` / `touched` / `stateChanges` members, and the `useExisting`
|
|
172
|
-
* provider. These are framework wiring, not defects — the CLAUDE.md bans on
|
|
173
|
-
* `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.
|
|
174
|
-
*/
|
|
175
|
-
class DataSourcePickerComponent {
|
|
176
|
-
constructor() {
|
|
177
|
-
/** Emits whenever a piece of `MatFormFieldControl` state changes. */
|
|
178
|
-
this.stateChanges = new Subject();
|
|
179
|
-
this.controlType = 'lib-data-source-picker';
|
|
180
|
-
this.id = `lib-data-source-picker-${DataSourcePickerComponent.nextId++}`;
|
|
181
|
-
this.placeholder = '';
|
|
182
|
-
this.focused = false;
|
|
183
|
-
this.touched = false;
|
|
184
|
-
this.required = false;
|
|
185
|
-
this.describedBy = '';
|
|
186
|
-
this.autofilled = false;
|
|
187
|
-
this.userAriaDescribedBy = undefined;
|
|
188
|
-
this.disableAutomaticLabeling = undefined;
|
|
189
|
-
/** Validation errors surfaced by the parent for error-state derivation. */
|
|
190
|
-
this.errors = [];
|
|
191
|
-
this.#disabled = false;
|
|
192
|
-
// Mirror of the plain MFC `value` member, so the template + computeds react.
|
|
193
|
-
this.#value = signal(undefined, ...(ngDevMode ? [{ debugName: "#value" }] : /* istanbul ignore next */ []));
|
|
194
|
-
// Mirror of the plain `editorConfig` member, so the template reacts.
|
|
195
|
-
this.#editorConfig = signal(undefined, ...(ngDevMode ? [{ debugName: "#editorConfig" }] : /* istanbul ignore next */ []));
|
|
196
|
-
/** All available form inputs the user can map a required input to. */
|
|
197
|
-
this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
|
|
198
|
-
/** Emits the mutated data-source list whenever the user adds or removes a source. */
|
|
199
|
-
this.valueChange = output();
|
|
200
|
-
this.ngControl = inject(NgControl, { self: true, optional: true });
|
|
201
|
-
this.#elementRef = inject(ElementRef);
|
|
202
|
-
/** Source-type enum, exposed to the template. */
|
|
203
|
-
this.dataSources = DataSources;
|
|
204
|
-
/** The selectable source types in the chip selector. */
|
|
205
|
-
this.dataSourceOptions = [
|
|
206
|
-
{ label: 'API', value: DataSources.Api },
|
|
207
|
-
{ label: 'MongoDB', value: DataSources.MongoDb },
|
|
208
|
-
];
|
|
209
|
-
/** The in-edit draft, or `undefined` when the editor card is closed. */
|
|
210
|
-
this.draft = signal(undefined, ...(ngDevMode ? [{ debugName: "draft" }] : /* istanbul ignore next */ []));
|
|
211
|
-
/** Decorated rows for the configured-source list. */
|
|
212
|
-
this.rows = computed(() => (this.#value() ?? []).map((source, index) => ({
|
|
213
|
-
source,
|
|
214
|
-
name: this.#name(source, index),
|
|
215
|
-
icon: source.source === DataSources.Api ? 'api' : 'storage',
|
|
216
|
-
endpoint: this.#endpoint(source),
|
|
217
|
-
isApi: source.source === DataSources.Api,
|
|
218
|
-
})), ...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
219
|
-
/** Whether any data source is configured. */
|
|
220
|
-
this.hasSources = computed(() => (this.#value() ?? []).length > 0, ...(ngDevMode ? [{ debugName: "hasSources" }] : /* istanbul ignore next */ []));
|
|
221
|
-
/** The `minimumInputRequired` list of the draft's API config, or `undefined`. */
|
|
222
|
-
this.draftMinimumInputRequired = computed(() => {
|
|
223
|
-
const config = this.draft()?.config;
|
|
224
|
-
if (!config || !this.#isApiConfig(config)) {
|
|
225
|
-
return undefined;
|
|
226
|
-
}
|
|
227
|
-
return config.backEndConfig?.minimumInputRequired;
|
|
228
|
-
}, ...(ngDevMode ? [{ debugName: "draftMinimumInputRequired" }] : /* istanbul ignore next */ []));
|
|
229
|
-
this.onTouched = () => { };
|
|
230
|
-
}
|
|
231
|
-
static { this.nextId = 0; }
|
|
232
|
-
#disabled;
|
|
233
|
-
/** Whether the control is inert. */
|
|
234
|
-
get disabled() {
|
|
235
|
-
return this.#disabled;
|
|
236
|
-
}
|
|
237
|
-
set disabled(value) {
|
|
238
|
-
this.#disabled = value;
|
|
239
|
-
this.stateChanges.next();
|
|
240
|
-
}
|
|
241
|
-
// Mirror of the plain MFC `value` member, so the template + computeds react.
|
|
242
|
-
#value;
|
|
243
|
-
/** Current list of configured data sources. */
|
|
244
|
-
get value() {
|
|
245
|
-
return this.#value();
|
|
246
|
-
}
|
|
247
|
-
set value(value) {
|
|
248
|
-
if (this.#value() === value) {
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
this.#value.set(value);
|
|
252
|
-
this.stateChanges.next();
|
|
253
|
-
}
|
|
254
|
-
// Mirror of the plain `editorConfig` member, so the template reacts.
|
|
255
|
-
#editorConfig;
|
|
256
|
-
/** Editor configuration supplying postman / workflow option providers. */
|
|
257
|
-
get editorConfig() {
|
|
258
|
-
return this.#editorConfig();
|
|
259
|
-
}
|
|
260
|
-
set editorConfig(config) {
|
|
261
|
-
this.#editorConfig.set(config);
|
|
262
|
-
}
|
|
263
|
-
#elementRef;
|
|
264
|
-
// ---- MatFormFieldControl getters (read during the framework's CD) --------
|
|
265
|
-
get empty() {
|
|
266
|
-
return (this.#value() ?? []).length === 0;
|
|
267
|
-
}
|
|
268
|
-
get shouldLabelFloat() {
|
|
269
|
-
return this.focused || !this.empty;
|
|
270
|
-
}
|
|
271
|
-
get errorState() {
|
|
272
|
-
const requiredUnset = this.empty && this.required;
|
|
273
|
-
const ngControlError = this.ngControl?.errors != null;
|
|
274
|
-
const externalError = (this.errors?.length ?? 0) > 0 && this.touched;
|
|
275
|
-
return requiredUnset || ngControlError || externalError;
|
|
276
|
-
}
|
|
277
|
-
setDescribedByIds(ids) {
|
|
278
|
-
this.describedBy = ids.join(' ');
|
|
279
|
-
const el = this.#elementRef.nativeElement;
|
|
280
|
-
const control = el.querySelector('.lib-data-source-picker__list');
|
|
281
|
-
control?.setAttribute('aria-describedby', this.describedBy);
|
|
282
|
-
this.stateChanges.next();
|
|
283
|
-
}
|
|
284
|
-
onContainerClick() {
|
|
285
|
-
this.markAsTouched();
|
|
286
|
-
if (!this.focused) {
|
|
287
|
-
this.focused = true;
|
|
288
|
-
}
|
|
289
|
-
this.stateChanges.next();
|
|
290
|
-
}
|
|
291
|
-
markAsTouched() {
|
|
292
|
-
if (!this.touched) {
|
|
293
|
-
this.touched = true;
|
|
294
|
-
this.onTouched();
|
|
295
|
-
this.stateChanges.next();
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
// ---- Draft editing -------------------------------------------------------
|
|
299
|
-
/** Open the editor card with an empty draft. */
|
|
300
|
-
startEditing() {
|
|
301
|
-
this.draft.set({});
|
|
302
|
-
}
|
|
303
|
-
/** Discard the draft and close the editor card. */
|
|
304
|
-
cancelEditing() {
|
|
305
|
-
this.draft.set(undefined);
|
|
306
|
-
}
|
|
307
|
-
/** Set the draft's source type. Child chip editor emits an unknown payload. */
|
|
308
|
-
sourceTypeChanged(source) {
|
|
309
|
-
this.draft.update((current) => current ? { ...current, source: source } : current);
|
|
310
|
-
}
|
|
311
|
-
/** Set the draft's source config (API setup or pipeline). */
|
|
312
|
-
sourceConfigChanged(config) {
|
|
313
|
-
this.draft.update((current) => (current ? { ...current, config } : current));
|
|
314
|
-
}
|
|
315
|
-
/** Merge the required-input list into the draft's API config. */
|
|
316
|
-
minimumInputRequiredValueChanged(value) {
|
|
317
|
-
this.draft.update((current) => {
|
|
318
|
-
if (!current?.config || !this.#isApiConfig(current.config)) {
|
|
319
|
-
return current;
|
|
320
|
-
}
|
|
321
|
-
const config = {
|
|
322
|
-
...current.config,
|
|
323
|
-
backEndConfig: { ...current.config.backEndConfig, minimumInputRequired: value },
|
|
324
|
-
};
|
|
325
|
-
return { ...current, config };
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
/** Commit the draft as a new source (assigning a fresh id) and emit. */
|
|
329
|
-
saveNewSource() {
|
|
330
|
-
const current = this.draft();
|
|
331
|
-
if (!current) {
|
|
332
|
-
return;
|
|
333
|
-
}
|
|
334
|
-
const data = { ...current, id: crypto.randomUUID() };
|
|
335
|
-
const next = [...(this.#value() ?? []), data];
|
|
336
|
-
this.value = next;
|
|
337
|
-
this.draft.set(undefined);
|
|
338
|
-
this.markAsTouched();
|
|
339
|
-
this.valueChange.emit(next);
|
|
340
|
-
}
|
|
341
|
-
/** Remove a configured source by id and emit. */
|
|
342
|
-
removeSource(source) {
|
|
343
|
-
const current = this.#value();
|
|
344
|
-
if (!current) {
|
|
345
|
-
return;
|
|
346
|
-
}
|
|
347
|
-
const next = current.filter((item) => item.id !== source.id);
|
|
348
|
-
this.value = next;
|
|
349
|
-
this.markAsTouched();
|
|
350
|
-
this.valueChange.emit(next);
|
|
351
|
-
}
|
|
352
|
-
#name(value, index) {
|
|
353
|
-
if (this.#isApiConfig(value.config) && value.config.name) {
|
|
354
|
-
return value.config.name;
|
|
355
|
-
}
|
|
356
|
-
return value.source === DataSources.Api ? `API ${index + 1}` : `MongoDB ${index + 1}`;
|
|
357
|
-
}
|
|
358
|
-
#endpoint(value) {
|
|
359
|
-
if (this.#isApiConfig(value.config)) {
|
|
360
|
-
return value.config.httpEndPoint ?? '';
|
|
361
|
-
}
|
|
362
|
-
return value.config.workflowId ?? '';
|
|
363
|
-
}
|
|
364
|
-
#isApiConfig(config) {
|
|
365
|
-
return config?.source === DataSources.Api;
|
|
366
|
-
}
|
|
367
|
-
static { this.ɵfac = function DataSourcePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DataSourcePickerComponent)(); }; }
|
|
368
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataSourcePickerComponent, selectors: [["lib-data-source-picker"]], hostAttrs: [1, "lib-data-source-picker"], hostVars: 5, hostBindings: function DataSourcePickerComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
369
|
-
i0.ɵɵattribute("id", ctx.id);
|
|
370
|
-
i0.ɵɵclassProp("lib-data-source-picker--focused", ctx.focused)("lib-data-source-picker--disabled", ctx.disabled);
|
|
371
|
-
} }, inputs: { errors: "errors", disabled: "disabled", value: "value", editorConfig: "editorConfig", formInputs: [1, "formInputs"] }, outputs: { valueChange: "valueChange" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: DataSourcePickerComponent }])], decls: 5, vars: 2, consts: [[1, "lib-data-source-picker__list"], [1, "lib-data-source-picker__sources"], ["icon", "storage", "message", "No data sources configured. Add one to get started."], ["appearance", "outlined", 1, "lib-data-source-picker__editor"], ["mat-stroked-button", "", "color", "primary", "type", "button", 1, "lib-data-source-picker__add", 3, "disabled"], ["matTooltipPosition", "before", 1, "lib-data-source-picker__source", 3, "matTooltip"], ["matListItemIcon", "", 1, "lib-data-source-picker__icon"], ["matListItemTitle", "", 1, "lib-data-source-picker__name"], ["matListItemLine", "", 1, "lib-data-source-picker__endpoint"], ["matListItemMeta", "", "mat-icon-button", "", "type", "button", 3, "click", "disabled"], [1, "lib-data-source-picker__label"], [3, "valueChange", "id", "value", "options"], [1, "lib-data-source-picker__actions"], ["mat-flat-button", "", "color", "primary", "type", "button", 3, "click"], [1, "lib-data-source-picker__spacer"], ["mat-button", "", "color", "warn", "type", "button", 3, "click"], [3, "valueChanged", "id", "postmanCollectionConfig", "httpGetDataFunction", "value"], [3, "id", "formInputs", "value", "errors"], [3, "valueChanged", "id", "formInputs", "value", "errors"], [3, "valueChanged", "id", "value", "getWorkflowOptions"], ["mat-stroked-button", "", "color", "primary", "type", "button", 1, "lib-data-source-picker__add", 3, "click", "disabled"]], template: function DataSourcePickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
372
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
373
|
-
i0.ɵɵconditionalCreate(1, DataSourcePickerComponent_Conditional_1_Template, 3, 0, "mat-list", 1)(2, DataSourcePickerComponent_Conditional_2_Template, 1, 0, "lib-empty-state", 2);
|
|
374
|
-
i0.ɵɵelementEnd();
|
|
375
|
-
i0.ɵɵconditionalCreate(3, DataSourcePickerComponent_Conditional_3_Template, 12, 5, "mat-card", 3)(4, DataSourcePickerComponent_Conditional_4_Template, 4, 1, "button", 4);
|
|
376
|
-
} if (rf & 2) {
|
|
377
|
-
let tmp_1_0;
|
|
378
|
-
i0.ɵɵadvance();
|
|
379
|
-
i0.ɵɵconditional(ctx.hasSources() ? 1 : 2);
|
|
380
|
-
i0.ɵɵadvance(2);
|
|
381
|
-
i0.ɵɵconditional((tmp_1_0 = ctx.draft()) ? 3 : 4, tmp_1_0);
|
|
382
|
-
} }, dependencies: [MatButtonModule, i2.MatButton, i2.MatIconButton, MatCardModule, i3.MatCard, i3.MatCardActions, i3.MatCardContent, MatIconModule, i3$1.MatIcon, MatListModule, i6.MatList, i6.MatListItem, i6.MatListItemIcon, i6.MatListItemLine, i6.MatListItemTitle, i6.MatListItemMeta, MatTooltipModule, i5.MatTooltip, EmptyStateComponent,
|
|
383
|
-
MatChipListEditorComponent,
|
|
384
|
-
PipelineGeneratorComponent,
|
|
385
|
-
RequiredInputsComponent,
|
|
386
|
-
RestApiCallSetupComponent], styles: ["[_nghost-%COMP%]{display:block}.lib-data-source-picker__list[_ngcontent-%COMP%]{display:block}.lib-data-source-picker__sources[_ngcontent-%COMP%]{padding:0}.lib-data-source-picker__source[_ngcontent-%COMP%]{border-radius:var(--lib-forms-radius-sm, 8px)}.lib-data-source-picker__icon[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant)}.lib-data-source-picker__icon--api[_ngcontent-%COMP%]{color:var(--lib-forms-primary)}.lib-data-source-picker__name[_ngcontent-%COMP%]{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-data-source-picker__endpoint[_ngcontent-%COMP%]{color:var(--lib-forms-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-data-source-picker__editor[_ngcontent-%COMP%]{margin-top:1.5rem;background:var(--lib-forms-surface)}.lib-data-source-picker__label[_ngcontent-%COMP%]{display:block;margin-top:.75rem;margin-bottom:.5rem;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-data-source-picker__actions[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:1.5rem}.lib-data-source-picker__spacer[_ngcontent-%COMP%]{flex:1 1 auto}.lib-data-source-picker__add[_ngcontent-%COMP%]{width:100%;margin-top:1.5rem}.lib-data-source-picker--disabled[_nghost-%COMP%]{opacity:.55;pointer-events:none}"], changeDetection: 0 }); }
|
|
387
|
-
}
|
|
388
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataSourcePickerComponent, [{
|
|
389
|
-
type: Component,
|
|
390
|
-
args: [{ selector: 'lib-data-source-picker', imports: [
|
|
391
|
-
MatButtonModule,
|
|
392
|
-
MatCardModule,
|
|
393
|
-
MatIconModule,
|
|
394
|
-
MatListModule,
|
|
395
|
-
MatTooltipModule,
|
|
396
|
-
EmptyStateComponent,
|
|
397
|
-
MatChipListEditorComponent,
|
|
398
|
-
PipelineGeneratorComponent,
|
|
399
|
-
RequiredInputsComponent,
|
|
400
|
-
RestApiCallSetupComponent,
|
|
401
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, providers: [{ provide: MatFormFieldControl, useExisting: DataSourcePickerComponent }], host: {
|
|
402
|
-
'class': 'lib-data-source-picker',
|
|
403
|
-
'[attr.id]': 'id',
|
|
404
|
-
'[class.lib-data-source-picker--focused]': 'focused',
|
|
405
|
-
'[class.lib-data-source-picker--disabled]': 'disabled',
|
|
406
|
-
}, template: "<div class=\"lib-data-source-picker__list\">\n @if (hasSources()) {\n <mat-list class=\"lib-data-source-picker__sources\">\n @for (row of rows(); track row.source.id) {\n <mat-list-item\n class=\"lib-data-source-picker__source\"\n matTooltipPosition=\"before\"\n [matTooltip]=\"row.source.source + ' ' + row.endpoint\">\n <mat-icon\n matListItemIcon\n class=\"lib-data-source-picker__icon\"\n [class.lib-data-source-picker__icon--api]=\"row.isApi\">\n {{ row.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-data-source-picker__name\">{{ row.name }}</span>\n <span matListItemLine class=\"lib-data-source-picker__endpoint\">{{ row.endpoint }}</span>\n <button\n matListItemMeta\n mat-icon-button\n type=\"button\"\n [attr.aria-label]=\"'Remove ' + row.name\"\n [disabled]=\"disabled\"\n (click)=\"removeSource(row.source)\">\n <mat-icon>delete</mat-icon>\n </button>\n </mat-list-item>\n }\n </mat-list>\n } @else {\n <lib-empty-state icon=\"storage\" message=\"No data sources configured. Add one to get started.\" />\n }\n</div>\n\n@if (draft(); as draft) {\n <mat-card appearance=\"outlined\" class=\"lib-data-source-picker__editor\">\n <mat-card-content>\n <label [attr.for]=\"id + '-type'\" class=\"lib-data-source-picker__label\">Select source type</label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-type'\"\n [value]=\"draft.source\"\n [options]=\"dataSourceOptions\"\n (valueChange)=\"sourceTypeChanged($event)\" />\n\n @if (draft.source !== undefined) {\n @switch (draft.source) {\n @case (dataSources.Api) {\n <label [attr.for]=\"id + '-api'\" class=\"lib-data-source-picker__label\">Select API</label>\n <lib-rest-api-call-setup\n [id]=\"id + '-api'\"\n [postmanCollectionConfig]=\"editorConfig?.postmanCollectionConfig\"\n [httpGetDataFunction]=\"editorConfig?.httpGetDataFunction\"\n [value]=\"$any(draft.config)\"\n (valueChanged)=\"sourceConfigChanged($event)\" />\n\n @if (draftMinimumInputRequired(); as minimumInputRequired) {\n <lib-required-inputs\n [id]=\"id + '-required-inputs'\"\n [formInputs]=\"formInputs() || []\"\n [value]=\"minimumInputRequired\"\n [errors]=\"[]\"\n (valueChanged)=\"minimumInputRequiredValueChanged($event)\" />\n }\n }\n @case (dataSources.MongoDb) {\n <label [attr.for]=\"id + '-pipeline'\" class=\"lib-data-source-picker__label\">Add a MongoDB pipeline</label>\n <lib-pipeline-generator\n [id]=\"id + '-pipeline'\"\n [value]=\"$any(draft.config)\"\n [getWorkflowOptions]=\"editorConfig?.getWorkflowOptions\"\n (valueChanged)=\"sourceConfigChanged($event)\" />\n }\n }\n }\n </mat-card-content>\n\n <mat-card-actions class=\"lib-data-source-picker__actions\">\n <button mat-flat-button color=\"primary\" type=\"button\" (click)=\"saveNewSource()\">Save source</button>\n <span class=\"lib-data-source-picker__spacer\"></span>\n <button mat-button color=\"warn\" type=\"button\" (click)=\"cancelEditing()\">Cancel</button>\n </mat-card-actions>\n </mat-card>\n} @else {\n <button\n mat-stroked-button\n color=\"primary\"\n type=\"button\"\n class=\"lib-data-source-picker__add\"\n [disabled]=\"disabled\"\n (click)=\"startEditing()\">\n <mat-icon>add</mat-icon>\n Add data source\n </button>\n}\n", styles: [":host{display:block}.lib-data-source-picker__list{display:block}.lib-data-source-picker__sources{padding:0}.lib-data-source-picker__source{border-radius:var(--lib-forms-radius-sm, 8px)}.lib-data-source-picker__icon{color:var(--lib-forms-on-surface-variant)}.lib-data-source-picker__icon--api{color:var(--lib-forms-primary)}.lib-data-source-picker__name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-data-source-picker__endpoint{color:var(--lib-forms-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-data-source-picker__editor{margin-top:1.5rem;background:var(--lib-forms-surface)}.lib-data-source-picker__label{display:block;margin-top:.75rem;margin-bottom:.5rem;font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lib-forms-on-surface-variant)}.lib-data-source-picker__actions{display:flex;align-items:center;margin-top:1.5rem}.lib-data-source-picker__spacer{flex:1 1 auto}.lib-data-source-picker__add{width:100%;margin-top:1.5rem}:host(.lib-data-source-picker--disabled){opacity:.55;pointer-events:none}\n"] }]
|
|
407
|
-
}], null, { errors: [{
|
|
408
|
-
type: Input
|
|
409
|
-
}], disabled: [{
|
|
410
|
-
type: Input
|
|
411
|
-
}], value: [{
|
|
412
|
-
type: Input
|
|
413
|
-
}], editorConfig: [{
|
|
414
|
-
type: Input
|
|
415
|
-
}], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
|
|
416
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataSourcePickerComponent, { className: "DataSourcePickerComponent", filePath: "lib/components/t-dynamic-data-edit/elements/data-source-picker/data-source-picker.component.ts", lineNumber: 94 }); })();
|
|
417
|
-
|
|
418
|
-
export { DataSourcePickerComponent };
|
|
419
|
-
//# sourceMappingURL=ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-data-source-picker.component-CJ1C1Znp.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/data-source-picker/data-source-picker.component.html","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/data-source-picker/data-source-picker.component.ts"],"sourcesContent":["<div class=\"lib-data-source-picker__list\">\n @if (hasSources()) {\n <mat-list class=\"lib-data-source-picker__sources\">\n @for (row of rows(); track row.source.id) {\n <mat-list-item\n class=\"lib-data-source-picker__source\"\n matTooltipPosition=\"before\"\n [matTooltip]=\"row.source.source + ' ' + row.endpoint\">\n <mat-icon\n matListItemIcon\n class=\"lib-data-source-picker__icon\"\n [class.lib-data-source-picker__icon--api]=\"row.isApi\">\n {{ row.icon }}\n </mat-icon>\n <span matListItemTitle class=\"lib-data-source-picker__name\">{{ row.name }}</span>\n <span matListItemLine class=\"lib-data-source-picker__endpoint\">{{ row.endpoint }}</span>\n <button\n matListItemMeta\n mat-icon-button\n type=\"button\"\n [attr.aria-label]=\"'Remove ' + row.name\"\n [disabled]=\"disabled\"\n (click)=\"removeSource(row.source)\">\n <mat-icon>delete</mat-icon>\n </button>\n </mat-list-item>\n }\n </mat-list>\n } @else {\n <lib-empty-state icon=\"storage\" message=\"No data sources configured. Add one to get started.\" />\n }\n</div>\n\n@if (draft(); as draft) {\n <mat-card appearance=\"outlined\" class=\"lib-data-source-picker__editor\">\n <mat-card-content>\n <label [attr.for]=\"id + '-type'\" class=\"lib-data-source-picker__label\">Select source type</label>\n <lib-mat-chip-list-editor\n [id]=\"id + '-type'\"\n [value]=\"draft.source\"\n [options]=\"dataSourceOptions\"\n (valueChange)=\"sourceTypeChanged($event)\" />\n\n @if (draft.source !== undefined) {\n @switch (draft.source) {\n @case (dataSources.Api) {\n <label [attr.for]=\"id + '-api'\" class=\"lib-data-source-picker__label\">Select API</label>\n <lib-rest-api-call-setup\n [id]=\"id + '-api'\"\n [postmanCollectionConfig]=\"editorConfig?.postmanCollectionConfig\"\n [httpGetDataFunction]=\"editorConfig?.httpGetDataFunction\"\n [value]=\"$any(draft.config)\"\n (valueChanged)=\"sourceConfigChanged($event)\" />\n\n @if (draftMinimumInputRequired(); as minimumInputRequired) {\n <lib-required-inputs\n [id]=\"id + '-required-inputs'\"\n [formInputs]=\"formInputs() || []\"\n [value]=\"minimumInputRequired\"\n [errors]=\"[]\"\n (valueChanged)=\"minimumInputRequiredValueChanged($event)\" />\n }\n }\n @case (dataSources.MongoDb) {\n <label [attr.for]=\"id + '-pipeline'\" class=\"lib-data-source-picker__label\">Add a MongoDB pipeline</label>\n <lib-pipeline-generator\n [id]=\"id + '-pipeline'\"\n [value]=\"$any(draft.config)\"\n [getWorkflowOptions]=\"editorConfig?.getWorkflowOptions\"\n (valueChanged)=\"sourceConfigChanged($event)\" />\n }\n }\n }\n </mat-card-content>\n\n <mat-card-actions class=\"lib-data-source-picker__actions\">\n <button mat-flat-button color=\"primary\" type=\"button\" (click)=\"saveNewSource()\">Save source</button>\n <span class=\"lib-data-source-picker__spacer\"></span>\n <button mat-button color=\"warn\" type=\"button\" (click)=\"cancelEditing()\">Cancel</button>\n </mat-card-actions>\n </mat-card>\n} @else {\n <button\n mat-stroked-button\n color=\"primary\"\n type=\"button\"\n class=\"lib-data-source-picker__add\"\n [disabled]=\"disabled\"\n (click)=\"startEditing()\">\n <mat-icon>add</mat-icon>\n Add data source\n </button>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n ViewEncapsulation,\n computed,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { Subject } from 'rxjs';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport {\n APIDataFetchingConfigurationInterface,\n DataSources,\n ElementEditorInnerSectionElementInterface,\n FormColumnInputs,\n IReportDataSources,\n MinimumInputRequiredInterface,\n MongoDbPipeLineConfigInterface,\n} from 'ngx-t-forms-types';\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\nimport { EmptyStateComponent } from '../_shared/empty-state/empty-state.component';\nimport { MatChipListEditorComponent } from '../mat-chip-list-editor/mat-chip-list-editor.component';\nimport { PipelineGeneratorComponent } from '../pipeline-generator/pipeline-generator.component';\nimport { RequiredInputsComponent } from '../required-inputs/required-inputs.component';\nimport { RestApiCallSetupComponent } from '../rest-api-call-setup/rest-api-call-setup.component';\n\n/** Source-type option rendered in the chip selector. */\ninterface DataSourceOption {\n label: string;\n value: DataSources;\n}\n\n/** A configured data source decorated with the derived fields the list row renders. */\ninterface DataSourceRow {\n readonly source: IReportDataSources;\n readonly name: string;\n readonly icon: string;\n readonly endpoint: string;\n readonly isApi: boolean;\n}\n\n/** The in-edit working draft: a partial source being composed before save. */\ntype DataSourceDraft = Partial<IReportDataSources>;\n\n/**\n * Internal editor element for configuring a report's data sources (API calls and\n * MongoDB pipelines). It is a real `MatFormFieldControl`, rendered by\n * `t-dynamic-data-edit` inside a `<mat-form-field>` — so the parent owns the\n * surrounding label, hint, and validation errors, and this component owns only\n * the source list, the inline editor card, and the add affordance.\n *\n * NOTE: `MatFormFieldControl<T>` mandates plain mutable `value` / `disabled` /\n * `required` / `placeholder` / `id` members, `@Input()` decorators, the\n * `focused` / `touched` / `stateChanges` members, and the `useExisting`\n * provider. These are framework wiring, not defects — the CLAUDE.md bans on\n * `@Input()` / `useExisting` do not apply to MatFormFieldControl integration.\n */\n@Component({\n selector: 'lib-data-source-picker',\n imports: [\n MatButtonModule,\n MatCardModule,\n MatIconModule,\n MatListModule,\n MatTooltipModule,\n EmptyStateComponent,\n MatChipListEditorComponent,\n PipelineGeneratorComponent,\n RequiredInputsComponent,\n RestApiCallSetupComponent,\n ],\n templateUrl: './data-source-picker.component.html',\n styleUrl: './data-source-picker.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.Emulated,\n providers: [{ provide: MatFormFieldControl, useExisting: DataSourcePickerComponent }],\n host: {\n 'class': 'lib-data-source-picker',\n '[attr.id]': 'id',\n '[class.lib-data-source-picker--focused]': 'focused',\n '[class.lib-data-source-picker--disabled]': 'disabled',\n },\n})\nexport class DataSourcePickerComponent\n implements MatFormFieldControl<Array<IReportDataSources> | undefined>\n{\n static nextId = 0;\n\n /** Emits whenever a piece of `MatFormFieldControl` state changes. */\n readonly stateChanges = new Subject<void>();\n readonly controlType = 'lib-data-source-picker';\n\n id = `lib-data-source-picker-${DataSourcePickerComponent.nextId++}`;\n placeholder = '';\n focused = false;\n touched = false;\n required = false;\n describedBy = '';\n autofilled = false;\n userAriaDescribedBy: string | undefined = undefined;\n disableAutomaticLabeling: boolean | undefined = undefined;\n\n /** Validation errors surfaced by the parent for error-state derivation. */\n @Input() errors: IConfigElementError[] | undefined = [];\n\n #disabled = false;\n /** Whether the control is inert. */\n @Input()\n get disabled(): boolean {\n return this.#disabled;\n }\n set disabled(value: boolean) {\n this.#disabled = value;\n this.stateChanges.next();\n }\n\n // Mirror of the plain MFC `value` member, so the template + computeds react.\n readonly #value = signal<Array<IReportDataSources> | undefined>(undefined);\n\n /** Current list of configured data sources. */\n @Input()\n get value(): Array<IReportDataSources> | undefined {\n return this.#value();\n }\n set value(value: Array<IReportDataSources> | undefined) {\n if (this.#value() === value) {\n return;\n }\n this.#value.set(value);\n this.stateChanges.next();\n }\n\n // Mirror of the plain `editorConfig` member, so the template reacts.\n readonly #editorConfig = signal<ElementEditorInnerSectionElementInterface | undefined>(\n undefined,\n );\n\n /** Editor configuration supplying postman / workflow option providers. */\n @Input()\n get editorConfig(): ElementEditorInnerSectionElementInterface | undefined {\n return this.#editorConfig();\n }\n set editorConfig(config: ElementEditorInnerSectionElementInterface | undefined) {\n this.#editorConfig.set(config);\n }\n\n /** All available form inputs the user can map a required input to. */\n readonly formInputs = input<Array<FormColumnInputs>>([]);\n\n /** Emits the mutated data-source list whenever the user adds or removes a source. */\n readonly valueChange = output<Array<IReportDataSources> | undefined>();\n\n readonly ngControl = inject(NgControl, { self: true, optional: true });\n readonly #elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Source-type enum, exposed to the template. */\n protected readonly dataSources = DataSources;\n\n /** The selectable source types in the chip selector. */\n protected readonly dataSourceOptions: DataSourceOption[] = [\n { label: 'API', value: DataSources.Api },\n { label: 'MongoDB', value: DataSources.MongoDb },\n ];\n\n /** The in-edit draft, or `undefined` when the editor card is closed. */\n protected readonly draft = signal<DataSourceDraft | undefined>(undefined);\n\n /** Decorated rows for the configured-source list. */\n protected readonly rows = computed<readonly DataSourceRow[]>(() =>\n (this.#value() ?? []).map((source, index) => ({\n source,\n name: this.#name(source, index),\n icon: source.source === DataSources.Api ? 'api' : 'storage',\n endpoint: this.#endpoint(source),\n isApi: source.source === DataSources.Api,\n })),\n );\n\n /** Whether any data source is configured. */\n protected readonly hasSources = computed<boolean>(() => (this.#value() ?? []).length > 0);\n\n /** The `minimumInputRequired` list of the draft's API config, or `undefined`. */\n protected readonly draftMinimumInputRequired = computed<\n readonly MinimumInputRequiredInterface[] | undefined\n >(() => {\n const config = this.draft()?.config;\n if (!config || !this.#isApiConfig(config)) {\n return undefined;\n }\n return config.backEndConfig?.minimumInputRequired;\n });\n\n // ---- MatFormFieldControl getters (read during the framework's CD) --------\n\n get empty(): boolean {\n return (this.#value() ?? []).length === 0;\n }\n\n get shouldLabelFloat(): boolean {\n return this.focused || !this.empty;\n }\n\n get errorState(): boolean {\n const requiredUnset = this.empty && this.required;\n const ngControlError = this.ngControl?.errors != null;\n const externalError = (this.errors?.length ?? 0) > 0 && this.touched;\n return requiredUnset || ngControlError || externalError;\n }\n\n setDescribedByIds(ids: string[]): void {\n this.describedBy = ids.join(' ');\n const el = this.#elementRef.nativeElement;\n const control = el.querySelector('.lib-data-source-picker__list');\n control?.setAttribute('aria-describedby', this.describedBy);\n this.stateChanges.next();\n }\n\n onContainerClick(): void {\n this.markAsTouched();\n if (!this.focused) {\n this.focused = true;\n }\n this.stateChanges.next();\n }\n\n onTouched: () => void = () => {};\n\n markAsTouched(): void {\n if (!this.touched) {\n this.touched = true;\n this.onTouched();\n this.stateChanges.next();\n }\n }\n\n // ---- Draft editing -------------------------------------------------------\n\n /** Open the editor card with an empty draft. */\n protected startEditing(): void {\n this.draft.set({});\n }\n\n /** Discard the draft and close the editor card. */\n protected cancelEditing(): void {\n this.draft.set(undefined);\n }\n\n /** Set the draft's source type. Child chip editor emits an unknown payload. */\n protected sourceTypeChanged(source: unknown): void {\n this.draft.update((current) =>\n current ? { ...current, source: source as DataSources | undefined } : current,\n );\n }\n\n /** Set the draft's source config (API setup or pipeline). */\n protected sourceConfigChanged(\n config: APIDataFetchingConfigurationInterface | MongoDbPipeLineConfigInterface | undefined,\n ): void {\n this.draft.update((current) => (current ? { ...current, config } : current));\n }\n\n /** Merge the required-input list into the draft's API config. */\n protected minimumInputRequiredValueChanged(\n value: Array<MinimumInputRequiredInterface>,\n ): void {\n this.draft.update((current) => {\n if (!current?.config || !this.#isApiConfig(current.config)) {\n return current;\n }\n const config: APIDataFetchingConfigurationInterface = {\n ...current.config,\n backEndConfig: { ...current.config.backEndConfig, minimumInputRequired: value },\n };\n return { ...current, config };\n });\n }\n\n /** Commit the draft as a new source (assigning a fresh id) and emit. */\n protected saveNewSource(): void {\n const current = this.draft();\n if (!current) {\n return;\n }\n const data: IReportDataSources = { ...current, id: crypto.randomUUID() } as IReportDataSources;\n const next = [...(this.#value() ?? []), data];\n this.value = next;\n this.draft.set(undefined);\n this.markAsTouched();\n this.valueChange.emit(next);\n }\n\n /** Remove a configured source by id and emit. */\n protected removeSource(source: IReportDataSources): void {\n const current = this.#value();\n if (!current) {\n return;\n }\n const next = current.filter((item) => item.id !== source.id);\n this.value = next;\n this.markAsTouched();\n this.valueChange.emit(next);\n }\n\n #name(value: IReportDataSources, index: number): string {\n if (this.#isApiConfig(value.config) && value.config.name) {\n return value.config.name;\n }\n return value.source === DataSources.Api ? `API ${index + 1}` : `MongoDB ${index + 1}`;\n }\n\n #endpoint(value: IReportDataSources): string {\n if (this.#isApiConfig(value.config)) {\n return value.config.httpEndPoint ?? '';\n }\n return value.config.workflowId ?? '';\n }\n\n #isApiConfig(\n config: APIDataFetchingConfigurationInterface | MongoDbPipeLineConfigInterface | undefined,\n ): config is APIDataFetchingConfigurationInterface {\n return config?.source === DataSources.Api;\n }\n}\n"],"names":["i1","i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAQU,IAJF,wCAGwD,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CAIE;IACtD,EAAA,CAAA,MAAA,CAAA,CAAA,CACF;IAAA,EAAA,CAAA,YAAA,EAAW;IACX,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAA4D;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAc;IAAA,EAAA,CAAA,YAAA,EAAO;IACjF,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAA+D;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAkB;IAAA,EAAA,CAAA,YAAA,EAAO;IACxF,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAMqC;AAAnC,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,8EAAA,GAAA,EAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,SAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAS,kCAAwB,CAAA,CAAA,CAAA,CAAA,CAAC;IAClC,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,CAAU;IAAA,EAAA,CAAA,MAAA,CAAA,CAAA,EAAA,QAAA,CAAM;IAAA,EAAA,CAAA,YAAA,EAAW,EACpB,EACK;;;;IAlBd,EAAA,CAAA,UAAA,CAAA,YAAA,EAAA,MAAA,CAAA,MAAA,CAAA,MAAA,GAAA,GAAA,GAAA,MAAA,CAAA,QAAA,CAAqD;IAInD,EAA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