ngx-t-forms 2.0.34 → 2.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DYKniIW1.mjs.map → ngx-t-forms-auto-complete-input-element.component-VektEtrf.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs +261 -0
- package/fesm2022/ngx-t-forms-auto-complete-input-element.component-ookGrpnN.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-sAVeqJDq.mjs.map → ngx-t-forms-basic-input-input-element.component-C8D6DN41.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs +225 -0
- package/fesm2022/ngx-t-forms-basic-input-input-element.component-CQVuW8z1.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs +1011 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-8EgwXTN1.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-DHCYc95E.mjs.map → ngx-t-forms-calculated-field-rules.component-B_3IbQjp.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs +136 -0
- package/fesm2022/ngx-t-forms-chip-options-creator-editor.component-B95VIBRi.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-BwGlol4L.mjs.map → ngx-t-forms-chip-options-creator-editor.component-uTCOa48g.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-6fu2mXuZ.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-BX3zJs-A.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs +253 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-Dm16WA5Y.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs +419 -0
- package/fesm2022/ngx-t-forms-data-source-picker.component-Dij1l4-7.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-data-source-picker.component-BdFscpSi.mjs.map → ngx-t-forms-data-source-picker.component-z0l9WEw7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BakchGky.mjs.map → ngx-t-forms-date-picker-input-element.component-C9I8KX12.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs +231 -0
- package/fesm2022/ngx-t-forms-date-picker-input-element.component-D9BOhV6g.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-BnCFgi6y.mjs.map → ngx-t-forms-date-range-picker-input-element.component-B3Z47mrO.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs +333 -0
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-BiXubnsN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs +543 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-C5T_DK6w.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs +373 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-PW2XiPiH.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs +1217 -0
- package/fesm2022/ngx-t-forms-document-picker.component-B47pQxMF.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs → ngx-t-forms-document-picker.component-BNQ1a96s.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-document-picker.component-Bp_PJyo4.mjs.map → ngx-t-forms-document-picker.component-BNQ1a96s.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-editor-input-element.component-Crad-MN8.mjs.map → ngx-t-forms-editor-input-element.component-C12fnCTM.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs +447 -0
- package/fesm2022/ngx-t-forms-editor-input-element.component-DYytkGYD.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs +251 -0
- package/fesm2022/ngx-t-forms-editor-js-input.component-BQSF3142.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs → ngx-t-forms-editor-js-input.component-cxob42pE.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-editor-js-input.component-IEjjoNbP.mjs.map → ngx-t-forms-editor-js-input.component-cxob42pE.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CzCphzUH.mjs.map → ngx-t-forms-file-upload-input-element.component-Bgi-chdw.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs +447 -0
- package/fesm2022/ngx-t-forms-file-upload-input-element.component-CI4onrtp.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs +163 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-BysF2WY-.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-form-input-selector.component-DVyLFw6x.mjs.map → ngx-t-forms-form-input-selector.component-xIalL_cs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-D5YJ5pFm.mjs.map → ngx-t-forms-form-json-view.component-CU1d8rGd.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs +28 -0
- package/fesm2022/ngx-t-forms-form-json-view.component-DpU3ZTiS.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs +291 -0
- package/fesm2022/ngx-t-forms-form-payload-projection.component-CkH7zmdJ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-form-payload-projection.component-Ip9ewB18.mjs.map → ngx-t-forms-form-payload-projection.component-D46W1-4z.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs +936 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DqShhIBK.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs +389 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-tGbPKHM6.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs +816 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-BsgtMZFM.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DTEx6mIl.mjs.map → ngx-t-forms-forms-builder-menu.component-hK9C4vAa.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs → ngx-t-forms-geo-location.component-ChmvJCGu.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-geo-location.component-4vXrrAS0.mjs.map → ngx-t-forms-geo-location.component-ChmvJCGu.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs +329 -0
- package/fesm2022/ngx-t-forms-geo-location.component-DfmFok8a.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BbfiG8wm.mjs.map → ngx-t-forms-image-capture-input-element.component-BpA_P017.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs +360 -0
- package/fesm2022/ngx-t-forms-image-capture-input-element.component-DYjnaWYE.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-index-D8TBBLAD.mjs → ngx-t-forms-index-D-7ZX0w7.mjs} +2 -2
- package/fesm2022/ngx-t-forms-index-D-7ZX0w7.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs +2 -0
- package/fesm2022/ngx-t-forms-index-DHloq32-.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs +128 -0
- package/fesm2022/ngx-t-forms-input-custom.component-Cv6jfrPf.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs → ngx-t-forms-input-custom.component-pUshbxSM.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-B855cSGR.mjs.map → ngx-t-forms-input-custom.component-pUshbxSM.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs +512 -0
- package/fesm2022/ngx-t-forms-input-editor.component-BKV6ZJx9.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs +190 -0
- package/fesm2022/ngx-t-forms-input-editor.component-CxXMETLl.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-C0L8Vi2y.mjs.map → ngx-t-forms-map-mat-options-keys-BbfC5vYI.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs +132 -0
- package/fesm2022/ngx-t-forms-map-mat-options-keys-epWo0lEj.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs +109 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-Bqjjgtyf.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-D8tnMRWS.mjs.map → ngx-t-forms-mat-chip-list-editor.component-CuOsHNXe.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs +241 -0
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-B-_yUJ5N.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs +180 -0
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-D0F1d1mO.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgZ2Q0yu.mjs.map → ngx-t-forms-missing-form-configs.component-CDIajZxP.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs +114 -0
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DRAVdGfc.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs +69 -0
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-C9b-pNLr.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-DD13F1yS.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-D1ASX1mt.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs +200 -0
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DzFibbuY.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component--lBn-Pvd.mjs.map → ngx-t-forms-mscoa-segment-config.component-CjuxTqfX.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs +850 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-D9KrXNS6.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs +107 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-DV93x0Rr.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs → ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs} +10 -10
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BA61uQ2q.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs +1665 -0
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BxQYrUJL.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs → ngx-t-forms-ngx-t-forms-CJGAj18J.mjs} +2042 -179
- package/fesm2022/ngx-t-forms-ngx-t-forms-CJGAj18J.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs +27352 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-D7kDvkTZ.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs +1024 -0
- package/fesm2022/ngx-t-forms-paginated-selection-table-DeY5vQti.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-paginated-selection-table-1W6jXaKk.mjs.map → ngx-t-forms-paginated-selection-table-yvhqQxPV.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs +234 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-BzY-kX6W.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs +203 -0
- package/fesm2022/ngx-t-forms-payload-template-editor.component-sqY3bYiZ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs → ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs} +9 -9
- package/fesm2022/ngx-t-forms-pipeline-generator.component-COvr1j_v.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs +1126 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CcHgQ-MT.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-record-list-manager.component-fC_S81-7.mjs.map → ngx-t-forms-record-list-manager.component-CY4GnAOb.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs +545 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-DuE2OdC4.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs +451 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-BWKUC8zQ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-required-inputs.component-r1KNcuod.mjs.map → ngx-t-forms-required-inputs.component-ByBeNLXu.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs +625 -0
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-BEqnJqZG.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs → ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs} +61 -15
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-CkLePXoO.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs +72 -0
- package/fesm2022/ngx-t-forms-search-field.component-BGdAmzJV.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs +248 -0
- package/fesm2022/ngx-t-forms-section-report.component-CQR27H3a.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs → ngx-t-forms-section-report.component-mUpSxbaB.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-section-report.component-Cl1wrszQ.mjs.map → ngx-t-forms-section-report.component-mUpSxbaB.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs +408 -0
- package/fesm2022/ngx-t-forms-select-input-element.component-CLs5UkmC.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-select-input-element.component-CStVMEhv.mjs → ngx-t-forms-select-input-element.component-c7IgHdXA.mjs} +5 -5
- package/fesm2022/ngx-t-forms-select-input-element.component-c7IgHdXA.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs +275 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DiegTjWX.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BybBzePF.mjs.map → ngx-t-forms-selection-options-editor.component-WfuGdtvK.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs +341 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CQPrr7Cz.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-CtavFAUq.mjs.map → ngx-t-forms-t-workflow-picker.component-DqFMP1rZ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-CVUTn20g.mjs.map → ngx-t-forms-textarea-input-element.component-C7H84RGw.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs +233 -0
- package/fesm2022/ngx-t-forms-textarea-input-element.component-Coxr1XD7.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs +305 -0
- package/fesm2022/ngx-t-forms-toggle-input-element.component-BWnTeuHM.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-BoZvYozf.mjs.map → ngx-t-forms-toggle-input-element.component-Cgzg89Ug.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs → ngx-t-forms-validators-config.component-DgIVRSvF.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-validators-config.component-Df9wzsjg.mjs.map → ngx-t-forms-validators-config.component-DgIVRSvF.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs +1105 -0
- package/fesm2022/ngx-t-forms-validators-config.component-DjLB40z-.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CJvbB68e.mjs.map → ngx-t-forms-workflow-adjudication.component-CB6qBxgr.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs +2923 -0
- package/fesm2022/ngx-t-forms-workflow-adjudication.component-_A3v5MxN.mjs.map +1 -0
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +8 -2
- package/styles/_editor-mixins.scss +55 -0
- package/styles/_json-editor-syntax.scss +16 -0
- package/types/ngx-t-forms.d.ts +663 -12
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs +0 -368
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-KmfVY6sd.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs +0 -389
- package/fesm2022/ngx-t-forms-form-section-stepper.component-enB9ZNG7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-D8TBBLAD.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs +0 -193
- package/fesm2022/ngx-t-forms-input-editor.component-DBFYZyi3.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-multiple-input-input-element.component-CZHFMhL7.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-BkTeV_AF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-yBqYGbgL.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-C99RdNiP.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-select-input-element.component-CStVMEhv.mjs.map +0 -1
package/types/ngx-t-forms.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Provider, EnvironmentProviders, InjectionToken, OnInit, OnDestroy,
|
|
2
|
+
import { Provider, EnvironmentProviders, InjectionToken, Signal, OnInit, OnDestroy, PipeTransform, Type, ElementRef } from '@angular/core';
|
|
3
3
|
import * as ngx_t_forms_types from 'ngx-t-forms-types';
|
|
4
|
-
import { NgxTFormsConfig, IFormActions, FormInterface, FormSlideInterface, InClassFormUtilsInterface, IWorkflowDocumentPicker, IBasicFormInput, IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IGetTreeResponse, IRunPipelineResponse, IPipelineGenerationResponse, LocalFormStateSelectorInterface, FormsStoreSelectorsInterface, FormListSection, WorkflowFunctionTypes, FileData, FormSubmissionStatus, IFormValidationOverride, FormColumnInputs, IFormChangeHistory,
|
|
5
|
-
export { BlurHandleTypes, ConfigurationValidTestInterface, DeepPropertyValue, DialogConfig, DocumentLitsLabelConfigInterfaceValueType, ElementEditorInnerSectionElementInterface, ElementEditorTypes, EncryptedData, FileUploadInputValueInterface, FormBuilderFunctions, FormColumnInputs, FormInterface, FormInterfaceMigration, FormListSection, FormSubmissionStatus, IArrayFunction, IFormActions, IFormChangeHistory, IFormTour, IFormValidationOverride, IGetTreeResponse, IScoaAccount, ITowerStepColumn, IWorkflowOption, ImportProgress, ImportRowState, ImportRowStatus, InClassFormUtilsInterface, InputDataTypes, InputPipeTypes, LocalFormStateSelectorInterface, NgxTFormsConfig, OLD_FormInterface, PropertyPath, TreeNode, ValidationError, WorkflowFunctionTypes } from 'ngx-t-forms-types';
|
|
4
|
+
import { NgxTFormsConfig, IFormActions, FormInterface, FormSlideInterface, InClassFormUtilsInterface, IWorkflowDocumentPicker, IBasicFormInput, IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IGetTreeResponse, IRunPipelineResponse, IPipelineGenerationResponse, InputDataTypes, FormInputBasicOptionInterface, LocalFormStateSelectorInterface, FormsStoreSelectorsInterface, FormListSection, ITowerFormSteps, WorkflowFunctionTypes, FileData, FormSubmissionStatus, IFormValidationOverride, FormColumnInputs, IFormChangeHistory, IStepOption, FormBuilderFunctions, ElementEditorTypes, ElementEditorInnerSectionElementInterface, ScoaInnerInput, IWorkflowOption, BlurHandleTypes, ITowerStepColumn, TreeNode, FlatNode, IArrayFunction, DocumentLitsLabelConfigInterfaceValueType, InputPipeTypes, ImportProgress, ImportRowState, ValidationError, ElementTypes, DialogConfig, PropertyPath, DeepPropertyValue, FileUploadInputValueInterface, FormInterfaceMigration, ConfigurationValidTestInterface, EncryptedData } from 'ngx-t-forms-types';
|
|
5
|
+
export { BlurHandleTypes, ConfigurationValidTestInterface, DeepPropertyValue, DialogConfig, DocumentLitsLabelConfigInterfaceValueType, ElementEditorInnerSectionElementInterface, ElementEditorTypes, EncryptedData, FileUploadInputValueInterface, FormBuilderFunctions, FormColumnInputs, FormInputBasicOptionInterface, FormInterface, FormInterfaceMigration, FormListSection, FormSubmissionStatus, IArrayFunction, IFormActions, IFormChangeHistory, IFormTour, IFormValidationOverride, IGetTreeResponse, IScoaAccount, ITowerStepColumn, IWorkflowOption, ImportProgress, ImportRowState, ImportRowStatus, InClassFormUtilsInterface, InputDataTypes, InputPipeTypes, LocalFormStateSelectorInterface, NgxTFormsConfig, OLD_FormInterface, PropertyPath, TreeNode, ValidationError, WorkflowFunctionTypes } from 'ngx-t-forms-types';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable, Subject } from 'rxjs';
|
|
8
8
|
import { PipelineStage } from 'mongoose';
|
|
9
|
+
import { s } from '@hashbrownai/core';
|
|
9
10
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
10
11
|
import { MatStepper } from '@angular/material/stepper';
|
|
11
12
|
import { StepperSelectionEvent, StepState } from '@angular/cdk/stepper';
|
|
12
13
|
import { HttpClient } from '@angular/common/http';
|
|
13
14
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
14
|
-
import * as
|
|
15
|
-
import { IStepOption } from 'ngx-ui-tour-md-menu';
|
|
15
|
+
import * as ngx_ui_tour_core from 'ngx-ui-tour-core';
|
|
16
|
+
import { IStepOption as IStepOption$1 } from 'ngx-ui-tour-md-menu';
|
|
16
17
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
17
18
|
import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
|
|
18
19
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
@@ -24,7 +25,8 @@ declare const enum NgxTFormsFeatureKind {
|
|
|
24
25
|
ImportTower = 2,
|
|
25
26
|
HttpPipeline = 3,
|
|
26
27
|
InputSecret = 4,
|
|
27
|
-
RouterFormId = 5
|
|
28
|
+
RouterFormId = 5,
|
|
29
|
+
FormSuggestions = 6
|
|
28
30
|
}
|
|
29
31
|
interface NgxTFormsFeature {
|
|
30
32
|
readonly kind: NgxTFormsFeatureKind;
|
|
@@ -99,6 +101,30 @@ declare function withInputSecret(secret: string): NgxTFormsFeature;
|
|
|
99
101
|
*/
|
|
100
102
|
declare function withRouterFormId(): NgxTFormsFeature;
|
|
101
103
|
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*
|
|
107
|
+
* Enables the **AI edit-suggestion reporting layer**. Binds the default
|
|
108
|
+
* {@link FormSuggestionRegistryService} to {@link FORM_SUGGESTION_REGISTRY}, so
|
|
109
|
+
* every live form tower reports its editable schema / values / validation and
|
|
110
|
+
* external systems can propose optional edits through the token.
|
|
111
|
+
*
|
|
112
|
+
* Opt-in and tree-shakeable: without this feature the token is unbound and form
|
|
113
|
+
* towers (which inject it `{ optional: true }`) do no suggestion work at all.
|
|
114
|
+
*
|
|
115
|
+
* Consumers that supply their own {@link FormSuggestionRegistry} implementation
|
|
116
|
+
* should bind it directly to {@link FORM_SUGGESTION_REGISTRY} instead of (or
|
|
117
|
+
* after) calling this — provider order resolution applies.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* bootstrapApplication(AppComponent, {
|
|
121
|
+
* providers: [
|
|
122
|
+
* provideNgxTForms(config, withFormSuggestions()),
|
|
123
|
+
* ],
|
|
124
|
+
* });
|
|
125
|
+
*/
|
|
126
|
+
declare function withFormSuggestions(): NgxTFormsFeature;
|
|
127
|
+
|
|
102
128
|
/**
|
|
103
129
|
* Provides the action handlers (submit, save, cancel, etc.) that the forms
|
|
104
130
|
* runtime invokes when the user interacts with form controls. Bound from the
|
|
@@ -263,6 +289,394 @@ declare const INPUT_SECRET_TOKEN: InjectionToken<string>;
|
|
|
263
289
|
*/
|
|
264
290
|
declare const FORM_ROUTE_SOURCE: InjectionToken<Observable<string | undefined>>;
|
|
265
291
|
|
|
292
|
+
/**
|
|
293
|
+
* @file Pure domain types for the **AI edit-suggestion reporting layer**.
|
|
294
|
+
*
|
|
295
|
+
* These types describe the read-only, real-time view of a live form that an
|
|
296
|
+
* external AI system observes (the *editable schema* + current values +
|
|
297
|
+
* validation state) and the shape of the *optional* value edits it may propose
|
|
298
|
+
* for a user to preview and accept/reject. They are the wire contract between a
|
|
299
|
+
* running form tower and the {@link FormSuggestionRegistry}.
|
|
300
|
+
*
|
|
301
|
+
* **Inner-ring rule (CLAUDE.md §0.3):** this module imports only `@angular/core`
|
|
302
|
+
* (the `Signal` *type*) and type-only symbols from `ngx-t-forms-types` — all
|
|
303
|
+
* erased at compile time. No runtime Angular concretions, no library internals.
|
|
304
|
+
*
|
|
305
|
+
* @see FormSuggestionRegistry — the injection-token port external AI consumes.
|
|
306
|
+
*/
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* A single validation message currently surfaced for an editable field.
|
|
310
|
+
*
|
|
311
|
+
* Mirrors the engine's overridable-validation model: a `canOverride === true`
|
|
312
|
+
* error does not block submission outright (the user may motivate a bypass),
|
|
313
|
+
* whereas a blocking error (standard validators, business rules) must be
|
|
314
|
+
* resolved. An external system can use this to avoid proposing values that
|
|
315
|
+
* would re-trip a known constraint.
|
|
316
|
+
*/
|
|
317
|
+
interface EditableFieldError {
|
|
318
|
+
/** Human-readable validation message. */
|
|
319
|
+
readonly message: string;
|
|
320
|
+
/** `true` when the form may still submit with this error if motivated. */
|
|
321
|
+
readonly canOverride: boolean;
|
|
322
|
+
/** The custom validator's id, when the error originates from one. */
|
|
323
|
+
readonly validatorId?: string;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Validation constraints and live error state for one editable field. The
|
|
327
|
+
* constraint fields are the static rules authored on the column; `errors` is the
|
|
328
|
+
* live set failing right now (recomputed as values change).
|
|
329
|
+
*/
|
|
330
|
+
interface EditableFieldValidation {
|
|
331
|
+
/** Whether a non-empty value is required. */
|
|
332
|
+
readonly required: boolean;
|
|
333
|
+
/** Regex pattern the value must match, when authored. */
|
|
334
|
+
readonly pattern?: string;
|
|
335
|
+
/** Minimum numeric/date constraint, when authored as a plain value. */
|
|
336
|
+
readonly min?: number | string;
|
|
337
|
+
/** Maximum numeric/date constraint, when authored as a plain value. */
|
|
338
|
+
readonly max?: number | string;
|
|
339
|
+
/** Minimum string length, when authored. */
|
|
340
|
+
readonly minLength?: number | string;
|
|
341
|
+
/** Maximum string length, when authored. */
|
|
342
|
+
readonly maxLength?: number | string;
|
|
343
|
+
/** Live validation messages currently failing on the field. */
|
|
344
|
+
readonly errors: readonly EditableFieldError[];
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* How a field's value must be expressed in a suggestion — the contract that
|
|
348
|
+
* tells an external system whether it may send a raw value or a structured
|
|
349
|
+
* intent the engine resolves:
|
|
350
|
+
* - `scalar` — a plain value (string/number/boolean/date).
|
|
351
|
+
* - `choice` — one of the field's {@link EditableFieldSchema.options} values.
|
|
352
|
+
* - `multipleRow` — an item list; suggest rows via {@link MultipleRowSuggestionValue}.
|
|
353
|
+
* - `mscoa` — an account selection; suggest an intent via {@link MscoaSuggestionValue}
|
|
354
|
+
* (never a raw value — the engine resolves accounts via the host's search).
|
|
355
|
+
*/
|
|
356
|
+
type EditableFieldKind = 'scalar' | 'choice' | 'multipleRow' | 'mscoa';
|
|
357
|
+
/** One selectable segment of an MSCOA field (per accounting basis). */
|
|
358
|
+
interface MscoaSegmentDescriptor {
|
|
359
|
+
/** The segment key a suggestion references (the input's `customSegment` || `segment`). */
|
|
360
|
+
readonly segment: string;
|
|
361
|
+
/** Display label. */
|
|
362
|
+
readonly label: string;
|
|
363
|
+
/** Which accounting basis this segment belongs to. */
|
|
364
|
+
readonly basis: 'accrual' | 'cash';
|
|
365
|
+
/** When `true`, one account fills both debit + credit (suggest `accountType: 'single'`). */
|
|
366
|
+
readonly singleSelect: boolean;
|
|
367
|
+
/** Whether VAT selection is active for this segment. */
|
|
368
|
+
readonly vat: boolean;
|
|
369
|
+
}
|
|
370
|
+
/** One custom inner input of an MSCOA field (segment-scoped or account-level). */
|
|
371
|
+
interface MscoaInnerInputDescriptor {
|
|
372
|
+
/** The input key a suggestion references (its `formControlName`). */
|
|
373
|
+
readonly key: string;
|
|
374
|
+
/** Display label. */
|
|
375
|
+
readonly label: string;
|
|
376
|
+
/** The element kind, as a string. */
|
|
377
|
+
readonly element: string;
|
|
378
|
+
/** The segment id this input is scoped to, or absent for an account-level input. */
|
|
379
|
+
readonly segmentId?: string;
|
|
380
|
+
}
|
|
381
|
+
/** One currently-selected account on an MSCOA field, by account code, for delta proposals. */
|
|
382
|
+
interface MscoaCurrentSelection {
|
|
383
|
+
readonly basis: 'accrual' | 'cash';
|
|
384
|
+
readonly segment: string;
|
|
385
|
+
/** Currently-selected debit account code (`SCOAAccount`), if any. */
|
|
386
|
+
readonly debit?: string;
|
|
387
|
+
/** Currently-selected credit account code (`SCOAAccount`), if any. */
|
|
388
|
+
readonly credit?: string;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* The capability block describing an MSCOA field — everything an external
|
|
392
|
+
* system needs to propose a valid account selection without hand-building the
|
|
393
|
+
* (un-authorable) `IScoaAccount` value objects.
|
|
394
|
+
*/
|
|
395
|
+
interface MscoaFieldCapability {
|
|
396
|
+
/** `'accrual'`, `'cash'`, or `'dual'` (both). */
|
|
397
|
+
readonly accountingBasis: 'accrual' | 'cash' | 'dual';
|
|
398
|
+
/** Selectable segments across the active basis(es). */
|
|
399
|
+
readonly segments: readonly MscoaSegmentDescriptor[];
|
|
400
|
+
/** Custom inner inputs that can also carry suggested values. */
|
|
401
|
+
readonly inputs: readonly MscoaInnerInputDescriptor[];
|
|
402
|
+
/** Currently-selected accounts (by code) per basis/segment. */
|
|
403
|
+
readonly currentSelections: readonly MscoaCurrentSelection[];
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* The AI-visible projection of one **editable** form field. Excludes
|
|
407
|
+
* structural, system, calculated, read-only/disabled, view-only and
|
|
408
|
+
* tower-derived inputs — only fields a user (and therefore a suggestion) could
|
|
409
|
+
* legitimately change.
|
|
410
|
+
*/
|
|
411
|
+
interface EditableFieldSchema {
|
|
412
|
+
/** The field's stable id (the suggestion target — see {@link FieldSuggestion.fieldId}). */
|
|
413
|
+
readonly id: string;
|
|
414
|
+
/** The field's `formControlName` (its key in the submitted payload). */
|
|
415
|
+
readonly formControlName: string;
|
|
416
|
+
/** Id of the section the field belongs to. */
|
|
417
|
+
readonly sectionId: string;
|
|
418
|
+
/** Display label. */
|
|
419
|
+
readonly label: string;
|
|
420
|
+
/** The element kind (e.g. `'input'`, `'select'`, `'textarea'`), as a string. */
|
|
421
|
+
readonly element: string;
|
|
422
|
+
/** The field's data type, for value coercion/formatting by the consumer. */
|
|
423
|
+
readonly dataType: InputDataTypes;
|
|
424
|
+
/**
|
|
425
|
+
* The value contract for suggesting to this field — tells the proposer whether
|
|
426
|
+
* to send a raw value, a choice, an item-list of rows, or an MSCOA intent.
|
|
427
|
+
*/
|
|
428
|
+
readonly kind: EditableFieldKind;
|
|
429
|
+
/** The field's current live value. */
|
|
430
|
+
readonly currentValue: unknown;
|
|
431
|
+
/**
|
|
432
|
+
* Selectable options (static or resolved from an API), when the field is a
|
|
433
|
+
* choice input. Absent for free-text/numeric fields.
|
|
434
|
+
*/
|
|
435
|
+
readonly options?: readonly FormInputBasicOptionInterface[];
|
|
436
|
+
/**
|
|
437
|
+
* The per-row child-field schema, present only for `kind: 'multipleRow'`. A
|
|
438
|
+
* proposed row is an object keyed by these fields' `formControlName`s.
|
|
439
|
+
*/
|
|
440
|
+
readonly rowFields?: readonly EditableFieldSchema[];
|
|
441
|
+
/** The account-selection contract, present only for `kind: 'mscoa'`. */
|
|
442
|
+
readonly mscoa?: MscoaFieldCapability;
|
|
443
|
+
/** Validation constraints + live error state. */
|
|
444
|
+
readonly validation: EditableFieldValidation;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* A point-in-time snapshot of a form's editable surface, as observed by an
|
|
448
|
+
* external suggestion provider. Recomputed reactively as the tower adapts to
|
|
449
|
+
* user input and async data loads.
|
|
450
|
+
*/
|
|
451
|
+
interface FormSuggestionSnapshot {
|
|
452
|
+
/** The form's id, when the definition carries one. */
|
|
453
|
+
readonly formId: string | undefined;
|
|
454
|
+
/** Every currently-editable field. */
|
|
455
|
+
readonly fields: readonly EditableFieldSchema[];
|
|
456
|
+
/** Whether the form is currently submittable (no blocking/unmotivated errors). */
|
|
457
|
+
readonly canSubmit: boolean;
|
|
458
|
+
/** Whether any async work (calculation/fetch/submission) is in flight. */
|
|
459
|
+
readonly isBusy: boolean;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* A single proposed value edit for one editable field. Purely advisory — it is
|
|
463
|
+
* staged for user review and never mutates the live form on its own.
|
|
464
|
+
*
|
|
465
|
+
* The shape of `value` is dictated by the target field's
|
|
466
|
+
* {@link EditableFieldSchema.kind}:
|
|
467
|
+
* - `scalar` / `choice` → the raw value (a `choice` must be an allowed option value).
|
|
468
|
+
* - `multipleRow` → a {@link MultipleRowSuggestionValue} (or a bare rows array → appended).
|
|
469
|
+
* - `mscoa` → a {@link MscoaSuggestionValue} intent (the engine resolves accounts).
|
|
470
|
+
* A value that does not satisfy the field's kind is rejected on accept — it is
|
|
471
|
+
* never written to the live form.
|
|
472
|
+
*/
|
|
473
|
+
interface FieldSuggestion {
|
|
474
|
+
/** Target field id (matches {@link EditableFieldSchema.id}). */
|
|
475
|
+
readonly fieldId: string;
|
|
476
|
+
/** The proposed value (shape per the field's {@link EditableFieldSchema.kind}). */
|
|
477
|
+
readonly value: unknown;
|
|
478
|
+
/** Optional natural-language explanation, shown to the user during review. */
|
|
479
|
+
readonly rationale?: string;
|
|
480
|
+
/** Optional model confidence in `[0, 1]`, shown to the user during review. */
|
|
481
|
+
readonly confidence?: number;
|
|
482
|
+
}
|
|
483
|
+
/** One account-selection intent for an MSCOA field (resolved by the engine). */
|
|
484
|
+
interface MscoaAccountSelection {
|
|
485
|
+
/** Which accounting basis to write. */
|
|
486
|
+
readonly basis: 'accrual' | 'cash';
|
|
487
|
+
/** The target segment key (see {@link MscoaSegmentDescriptor.segment}). */
|
|
488
|
+
readonly segment: string;
|
|
489
|
+
/**
|
|
490
|
+
* Which leg to set. `'single'` (or omitted on a single-select segment) fills
|
|
491
|
+
* both debit and credit with the resolved account.
|
|
492
|
+
*/
|
|
493
|
+
readonly accountType?: 'debit' | 'credit' | 'single';
|
|
494
|
+
/** Account code / number to resolve via the host account search (e.g. `SCOAAccount`). */
|
|
495
|
+
readonly query: string;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* The intent payload for an `mscoa` field suggestion. The engine resolves each
|
|
499
|
+
* selection's `query` to a full account via the host's account search, assembles
|
|
500
|
+
* the canonical MSCOA value, validates it, and only then commits.
|
|
501
|
+
*/
|
|
502
|
+
interface MscoaSuggestionValue {
|
|
503
|
+
/** Per-(basis, segment) account selections to apply. */
|
|
504
|
+
readonly selections: readonly MscoaAccountSelection[];
|
|
505
|
+
/** Optional custom inner-input values to apply alongside the account selections. */
|
|
506
|
+
readonly inputs?: readonly {
|
|
507
|
+
readonly basis?: 'accrual' | 'cash';
|
|
508
|
+
readonly segment?: string;
|
|
509
|
+
readonly key: string;
|
|
510
|
+
readonly value: unknown;
|
|
511
|
+
}[];
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* The payload for a `multipleRow` field suggestion: rows to add to (or replace)
|
|
515
|
+
* the item list. Each row is keyed by the child fields' `formControlName`s
|
|
516
|
+
* (see {@link EditableFieldSchema.rowFields}).
|
|
517
|
+
*/
|
|
518
|
+
interface MultipleRowSuggestionValue {
|
|
519
|
+
/** `'append'` (default) adds rows to the existing list; `'replace'` overwrites it. */
|
|
520
|
+
readonly mode?: 'append' | 'replace';
|
|
521
|
+
/** The proposed rows, each keyed by child `formControlName`. */
|
|
522
|
+
readonly rows: readonly Record<string, unknown>[];
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* A batch of proposed edits from one external provider, addressed to a specific
|
|
526
|
+
* form by id.
|
|
527
|
+
*/
|
|
528
|
+
interface SuggestionBatch {
|
|
529
|
+
/** The form the batch targets (matches {@link FormSuggestionSnapshot.formId}). */
|
|
530
|
+
readonly formId: string | undefined;
|
|
531
|
+
/** Identifier of the proposing system (for audit/attribution). */
|
|
532
|
+
readonly source: string;
|
|
533
|
+
/** The proposed edits. */
|
|
534
|
+
readonly suggestions: readonly FieldSuggestion[];
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* A staged suggestion the user can preview and act on. Carries the value that
|
|
538
|
+
* was current at propose time (`previousValue`) so a preview diff can be shown
|
|
539
|
+
* and a reject can be reasoned about. Status moves `pending → accepted | rejected`.
|
|
540
|
+
*/
|
|
541
|
+
interface StagedSuggestion extends FieldSuggestion {
|
|
542
|
+
/** Stage id, unique within the tower. */
|
|
543
|
+
readonly id: string;
|
|
544
|
+
/** Identifier of the proposing system (carried from {@link SuggestionBatch.source}). */
|
|
545
|
+
readonly source: string;
|
|
546
|
+
/** The field's value at the moment the suggestion was staged. */
|
|
547
|
+
readonly previousValue: unknown;
|
|
548
|
+
/**
|
|
549
|
+
* Lifecycle status: `pending` → user review; `resolving` → an async commit is
|
|
550
|
+
* in flight (MSCOA account resolution); `accepted` → committed to the live
|
|
551
|
+
* form; `rejected` → dismissed by the user; `invalid` → could not be applied
|
|
552
|
+
* (see {@link StagedSuggestion.invalidReason}), never written.
|
|
553
|
+
*/
|
|
554
|
+
readonly status: 'pending' | 'resolving' | 'accepted' | 'rejected' | 'invalid';
|
|
555
|
+
/** Why the suggestion was rejected as invalid (present only when `status === 'invalid'`). */
|
|
556
|
+
readonly invalidReason?: string;
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* The handle a live form tower hands the {@link FormSuggestionRegistry} when it
|
|
560
|
+
* registers, exposing its reactive snapshot for AI subscribers and a sink that
|
|
561
|
+
* routes proposed batches back into the tower's staging area.
|
|
562
|
+
*/
|
|
563
|
+
interface FormSuggestionChannel {
|
|
564
|
+
/** The registering form's id (the registry's lookup key). */
|
|
565
|
+
readonly formId: string | undefined;
|
|
566
|
+
/** Reactive editable-surface snapshot of the registering form. */
|
|
567
|
+
readonly snapshot: Signal<FormSuggestionSnapshot>;
|
|
568
|
+
/** Routes a proposed batch into the tower's staging area for user review. */
|
|
569
|
+
readonly propose: (batch: SuggestionBatch) => void;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @file The abstract **suggestion registry** port — the injection-token surface
|
|
574
|
+
* an external AI system uses to observe live forms and propose optional edits.
|
|
575
|
+
*
|
|
576
|
+
* It mirrors the library's established port pattern (see
|
|
577
|
+
* {@link PipelineRepository}): an abstract class in `domain/`, bound to a token
|
|
578
|
+
* in `tokens/`, and wired to a concrete implementation by a `with*()` feature in
|
|
579
|
+
* `config/`. Consumers inject the {@link FORM_SUGGESTION_REGISTRY} token, never a
|
|
580
|
+
* concrete class.
|
|
581
|
+
*
|
|
582
|
+
* The registry is a pure **mediator**: it holds no form logic. Live form towers
|
|
583
|
+
* register a {@link FormSuggestionChannel} when they initialize and deregister on
|
|
584
|
+
* teardown; AI subscribers read snapshots and route proposals through it.
|
|
585
|
+
*/
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
*
|
|
590
|
+
* Port for external AI systems to observe live, editable forms and propose
|
|
591
|
+
* optional value edits. Bound to {@link FORM_SUGGESTION_REGISTRY} by
|
|
592
|
+
* {@link withFormSuggestions}.
|
|
593
|
+
*
|
|
594
|
+
* Addressing is by `formId`: several form towers can be live at once
|
|
595
|
+
* (a user form, a builder preview, …), so subscribers target a specific form by
|
|
596
|
+
* id and proposals carry the id they apply to. Transient import-row towers do
|
|
597
|
+
* not register.
|
|
598
|
+
*
|
|
599
|
+
* @example
|
|
600
|
+
* // In an AI integration service:
|
|
601
|
+
* readonly #registry = inject(FORM_SUGGESTION_REGISTRY);
|
|
602
|
+
*
|
|
603
|
+
* suggest(formId: string): void {
|
|
604
|
+
* this.#registry.snapshot(formId)
|
|
605
|
+
* .pipe(takeUntilDestroyed(this.#destroyRef))
|
|
606
|
+
* .subscribe(async snapshot => {
|
|
607
|
+
* if (!snapshot) return;
|
|
608
|
+
* const suggestions = await this.model.propose(snapshot.fields);
|
|
609
|
+
* this.#registry.propose({ formId, source: 'my-model', suggestions });
|
|
610
|
+
* });
|
|
611
|
+
* }
|
|
612
|
+
*/
|
|
613
|
+
declare abstract class FormSuggestionRegistry {
|
|
614
|
+
/**
|
|
615
|
+
* Reactive editable-surface snapshot for one form, by id. Emits `undefined`
|
|
616
|
+
* while no form with that id is registered, then the live snapshot once one
|
|
617
|
+
* registers (and again whenever its schema/values/validation change). Lazy —
|
|
618
|
+
* the underlying schema is only computed while subscribed.
|
|
619
|
+
*
|
|
620
|
+
* @param formId - The target form's id.
|
|
621
|
+
* @returns An observable of the form's snapshot, or `undefined` when absent.
|
|
622
|
+
*/
|
|
623
|
+
abstract snapshot(formId: string): Observable<FormSuggestionSnapshot | undefined>;
|
|
624
|
+
/**
|
|
625
|
+
* Reactive snapshots of every currently-registered form. Emits a new array
|
|
626
|
+
* whenever a form registers/deregisters or any registered form's snapshot
|
|
627
|
+
* changes.
|
|
628
|
+
*
|
|
629
|
+
* @returns An observable of all live form snapshots.
|
|
630
|
+
*/
|
|
631
|
+
abstract snapshots(): Observable<readonly FormSuggestionSnapshot[]>;
|
|
632
|
+
/**
|
|
633
|
+
* The ids of the currently-registered live forms (forms with an `undefined`
|
|
634
|
+
* id are omitted). Reactive — recomputes as towers register/deregister.
|
|
635
|
+
*
|
|
636
|
+
* @returns A signal of the active form ids.
|
|
637
|
+
*/
|
|
638
|
+
abstract activeFormIds(): Signal<readonly string[]>;
|
|
639
|
+
/**
|
|
640
|
+
* Route a batch of proposed edits to the registered form matching
|
|
641
|
+
* `batch.formId`. The proposals are staged for user review on that form (the
|
|
642
|
+
* live form is not mutated). No-op when no matching form is registered.
|
|
643
|
+
*
|
|
644
|
+
* @param batch - The proposed edits and their target form id.
|
|
645
|
+
*/
|
|
646
|
+
abstract propose(batch: SuggestionBatch): void;
|
|
647
|
+
/**
|
|
648
|
+
* Register a live form's channel. Called by the form tower on initialize.
|
|
649
|
+
*
|
|
650
|
+
* @internal
|
|
651
|
+
* @param channel - The tower's snapshot + proposal sink.
|
|
652
|
+
* @returns A handle used to {@link FormSuggestionRegistry.deregister} this exact registration.
|
|
653
|
+
*/
|
|
654
|
+
abstract register(channel: FormSuggestionChannel): object;
|
|
655
|
+
/**
|
|
656
|
+
* Deregister a previously-registered channel by its handle. Called by the
|
|
657
|
+
* form tower on teardown / re-initialization.
|
|
658
|
+
*
|
|
659
|
+
* @internal
|
|
660
|
+
* @param handle - The handle returned by {@link FormSuggestionRegistry.register}.
|
|
661
|
+
*/
|
|
662
|
+
abstract deregister(handle: object): void;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @public
|
|
667
|
+
*
|
|
668
|
+
* Token binding the {@link FormSuggestionRegistry} port — the surface external
|
|
669
|
+
* AI systems use to observe live editable forms and propose optional edits.
|
|
670
|
+
* Bound to the default {@link FormSuggestionRegistryService} by
|
|
671
|
+
* {@link withFormSuggestions}; consumers may substitute their own implementation
|
|
672
|
+
* by binding `useClass` (or `useValue` for a mock) against this token instead.
|
|
673
|
+
*
|
|
674
|
+
* Unbound by default — the suggestion layer is opt-in and fully tree-shakeable.
|
|
675
|
+
* Form towers inject it `{ optional: true }`, so when the feature is not
|
|
676
|
+
* installed they simply do not report (zero cost).
|
|
677
|
+
*/
|
|
678
|
+
declare const FORM_SUGGESTION_REGISTRY: InjectionToken<FormSuggestionRegistry>;
|
|
679
|
+
|
|
266
680
|
/**
|
|
267
681
|
* @public
|
|
268
682
|
*
|
|
@@ -285,6 +699,90 @@ declare class HttpPipelineRepository implements PipelineRepository {
|
|
|
285
699
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<HttpPipelineRepository>;
|
|
286
700
|
}
|
|
287
701
|
|
|
702
|
+
/**
|
|
703
|
+
* @file Default {@link FormSuggestionRegistry} implementation — a root-level
|
|
704
|
+
* mediator between per-component form towers and external AI subscribers.
|
|
705
|
+
*
|
|
706
|
+
* Holds a reactive set of registered {@link FormSuggestionChannel}s. Towers
|
|
707
|
+
* register on initialize / deregister on teardown; subscribers read snapshots
|
|
708
|
+
* and route proposals. The service owns **no form logic** — `propose` simply
|
|
709
|
+
* forwards a batch to the channel whose `formId` matches.
|
|
710
|
+
*
|
|
711
|
+
* Provided **only** via {@link withFormSuggestions} (no `providedIn` — it has no
|
|
712
|
+
* config but is opt-in, so it must not auto-register at root; LP §8 / LIB-02).
|
|
713
|
+
*/
|
|
714
|
+
|
|
715
|
+
declare class FormSuggestionRegistryService extends FormSuggestionRegistry {
|
|
716
|
+
#private;
|
|
717
|
+
/** @internal */
|
|
718
|
+
register(channel: FormSuggestionChannel): object;
|
|
719
|
+
/** @internal */
|
|
720
|
+
deregister(handle: object): void;
|
|
721
|
+
snapshots(): Observable<readonly FormSuggestionSnapshot[]>;
|
|
722
|
+
snapshot(formId: string): Observable<FormSuggestionSnapshot | undefined>;
|
|
723
|
+
activeFormIds(): Signal<readonly string[]>;
|
|
724
|
+
propose(batch: SuggestionBatch): void;
|
|
725
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormSuggestionRegistryService, never>;
|
|
726
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormSuggestionRegistryService>;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @file Builds a Hashbrown **Skillet** schema (`@hashbrownai/core`) from a live
|
|
731
|
+
* {@link FormSuggestionSnapshot}, so an LLM's structured output is constrained to
|
|
732
|
+
* the form's *actual* dynamic shape — correct per-field types, enumerated
|
|
733
|
+
* options, item-list row objects, and MSCOA account-selection intent.
|
|
734
|
+
*
|
|
735
|
+
* The schema regenerates from each snapshot, so it adapts as the tower adapts
|
|
736
|
+
* (new fields, resolved options, changed validation). Each builder takes a human
|
|
737
|
+
* description first, which the model reads as guidance.
|
|
738
|
+
*
|
|
739
|
+
* `@hashbrownai/core` is a **peer dependency** — the consuming app owns and
|
|
740
|
+
* installs it; importing this builder is what pulls it in.
|
|
741
|
+
*
|
|
742
|
+
* @see toSuggestionBatch — converts the LLM's output back into a SuggestionBatch.
|
|
743
|
+
*/
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Builds a Skillet schema describing the suggestions an LLM may propose for a
|
|
747
|
+
* form, keyed by field id: each value is the field's correctly-typed schema or
|
|
748
|
+
* `null` (leave unchanged). Feed the result to a Hashbrown structured-output API
|
|
749
|
+
* (e.g. `structuredCompletionResource({ schema })`), then convert the model's
|
|
750
|
+
* output with {@link toSuggestionBatch} and route it to `FORM_SUGGESTION_REGISTRY`.
|
|
751
|
+
*
|
|
752
|
+
* @param snapshot - A live editable-form snapshot (from `FORM_SUGGESTION_REGISTRY.snapshot()`).
|
|
753
|
+
* @param options - `streaming: true` builds a streamable schema (`s.streaming.object`).
|
|
754
|
+
* @returns A Skillet schema (`s.object` / `s.streaming.object`) for the suggestion payload.
|
|
755
|
+
*
|
|
756
|
+
* @example
|
|
757
|
+
* const schema = buildSuggestionSchema(snapshot);
|
|
758
|
+
* const result = structuredCompletionResource({ model, input, schema });
|
|
759
|
+
* registry.propose(toSuggestionBatch(snapshot.formId, 'my-model', result.value() ?? {}));
|
|
760
|
+
*/
|
|
761
|
+
declare function buildSuggestionSchema(snapshot: FormSuggestionSnapshot, options?: {
|
|
762
|
+
streaming?: boolean;
|
|
763
|
+
}): s.HashbrownType;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* @file Converts the keyed output of an LLM structured completion (driven by
|
|
767
|
+
* {@link buildSuggestionSchema}) back into a {@link SuggestionBatch} ready for
|
|
768
|
+
* `FORM_SUGGESTION_REGISTRY.propose()`.
|
|
769
|
+
*
|
|
770
|
+
* The schema is keyed by field id with `null` meaning "leave unchanged", so this
|
|
771
|
+
* simply drops `null`/`undefined` entries and forwards each remaining value
|
|
772
|
+
* verbatim — the engine's per-kind resolvers interpret it (raw scalar/choice,
|
|
773
|
+
* a `MultipleRowSuggestionValue` rows array, or an `MscoaSuggestionValue`).
|
|
774
|
+
*/
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Builds a {@link SuggestionBatch} from a Skillet structured-output result.
|
|
778
|
+
*
|
|
779
|
+
* @param formId - The form the suggestions target (use the snapshot's `formId`).
|
|
780
|
+
* @param source - Identifier of the proposing system (for audit/attribution).
|
|
781
|
+
* @param output - The LLM output keyed by field id (values, or `null` to skip).
|
|
782
|
+
* @returns A batch containing one {@link FieldSuggestion} per non-null field.
|
|
783
|
+
*/
|
|
784
|
+
declare function toSuggestionBatch(formId: string | undefined, source: string, output: Record<string, unknown>): SuggestionBatch;
|
|
785
|
+
|
|
288
786
|
/**
|
|
289
787
|
* Renders the list of forms a user can open, edit, or build, with search,
|
|
290
788
|
* grouping (system vs custom), and section switching (active / archived /
|
|
@@ -404,6 +902,17 @@ declare class FormBuilderComponent {
|
|
|
404
902
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormBuilderComponent, "lib-form-builder, app-form-builder", never, { "formId": { "alias": "formId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
405
903
|
}
|
|
406
904
|
|
|
905
|
+
/**
|
|
906
|
+
* Angular-aware view of {@link ITowerFormSteps}. The shared `ngx-t-forms-types`
|
|
907
|
+
* package keeps `sectionForm` opaque (`unknown`) so it carries no `@angular/forms`
|
|
908
|
+
* dependency. Inside this library the value is always a reactive `FormGroup`, so
|
|
909
|
+
* we re-narrow it here for template binding and call-site type safety. A
|
|
910
|
+
* `TowerFormStep` remains assignable to `ITowerFormSteps`.
|
|
911
|
+
*/
|
|
912
|
+
interface TowerFormStep extends Omit<ITowerFormSteps, 'sectionForm'> {
|
|
913
|
+
sectionForm: FormGroup | null;
|
|
914
|
+
}
|
|
915
|
+
|
|
407
916
|
/**
|
|
408
917
|
* Workflow function-type enum, upstreamed to `ngx-t-forms-types` as
|
|
409
918
|
* {@link WorkflowFunctionTypes} per DECISIONS.md D-016. Re-exported here under
|
|
@@ -785,7 +1294,7 @@ declare abstract class FormTowerControllerService implements OnDestroy {
|
|
|
785
1294
|
setInputError: (err: Record<string, any>, inputId: string) => void;
|
|
786
1295
|
updateFormInputConfig: (inputId: string, config: FormColumnInputs) => void;
|
|
787
1296
|
handleStepChange: (event: StepperSelectionEvent) => void;
|
|
788
|
-
selectFormSteps: () =>
|
|
1297
|
+
selectFormSteps: () => TowerFormStep[];
|
|
789
1298
|
selectAllFormTours: () => ngx_t_forms_types.IFormTour[];
|
|
790
1299
|
setSectionAsSeen: (sectionId: string) => void;
|
|
791
1300
|
setSectionAsActive: (sectionId: string) => void;
|
|
@@ -905,6 +1414,74 @@ declare abstract class FormTowerControllerService implements OnDestroy {
|
|
|
905
1414
|
* transient hint. History append stays imperative (HAZARD 4).
|
|
906
1415
|
*/
|
|
907
1416
|
revertBackHistory: () => void;
|
|
1417
|
+
/**
|
|
1418
|
+
* The staged AI suggestions for this form (the preview/accept/reject queue).
|
|
1419
|
+
* A `pending` entry overlays {@link FormTowerControllerService.previewFormValue}
|
|
1420
|
+
* but never the live form until {@link FormTowerControllerService.acceptSuggestion}.
|
|
1421
|
+
*/
|
|
1422
|
+
readonly stagedSuggestions: Signal<readonly StagedSuggestion[]>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Real-time, read-only snapshot of the form's EDITABLE surface — each field's
|
|
1425
|
+
* current value, selectable options, and validation constraints + live errors
|
|
1426
|
+
* — plus the form's submittable / busy state. Excludes structural, system,
|
|
1427
|
+
* calculated, read-only / disabled, view-only and tower-derived inputs (a
|
|
1428
|
+
* suggestion to any of those is un-committable).
|
|
1429
|
+
*
|
|
1430
|
+
* Lazy and non-impacting: a pure `computed` that costs nothing until read
|
|
1431
|
+
* (e.g. once an AI subscriber observes it through {@link FORM_SUGGESTION_REGISTRY}).
|
|
1432
|
+
* It recomputes as values, resolved options and override-reasons change.
|
|
1433
|
+
*/
|
|
1434
|
+
readonly editableFormSchema: Signal<FormSuggestionSnapshot>;
|
|
1435
|
+
/**
|
|
1436
|
+
* The form value with every PENDING staged suggestion overlaid — the
|
|
1437
|
+
* non-destructive preview a review UI renders. A pure overlay over
|
|
1438
|
+
* {@link FormTowerControllerService.getFormValue}; it is NEVER projected to the
|
|
1439
|
+
* live `FormGroup` (only `acceptSuggestion` writes the live form), so previewing
|
|
1440
|
+
* a suggestion can never disturb form state.
|
|
1441
|
+
*/
|
|
1442
|
+
readonly previewFormValue: Signal<Record<string, unknown>>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Stage a batch of externally-proposed edits for user review. Each suggestion
|
|
1445
|
+
* targeting a currently-editable field is recorded as `pending` with a snapshot
|
|
1446
|
+
* of the field's value at propose time; suggestions to unknown / non-editable
|
|
1447
|
+
* fields are dropped. Does NOT mutate the live form.
|
|
1448
|
+
*
|
|
1449
|
+
* @param batch - The proposed edits (typically routed via {@link FORM_SUGGESTION_REGISTRY}).
|
|
1450
|
+
*/
|
|
1451
|
+
proposeSuggestions: (batch: SuggestionBatch) => void;
|
|
1452
|
+
/**
|
|
1453
|
+
* Accept one pending staged suggestion, applying it through the path its field
|
|
1454
|
+
* **kind** requires:
|
|
1455
|
+
* - `scalar` → `updateValue`.
|
|
1456
|
+
* - `choice` → only if the value is an allowed option (else `'invalid'`).
|
|
1457
|
+
* - `multipleRow` → validate + remap rows, then append/replace (else `'invalid'`).
|
|
1458
|
+
* - `mscoa` → resolve the account intent asynchronously via the host account
|
|
1459
|
+
* search (status `'resolving'`), then commit or mark `'invalid'`.
|
|
1460
|
+
*
|
|
1461
|
+
* A value that does not satisfy its field's contract is parked as `'invalid'`
|
|
1462
|
+
* and never written to the live form (this is the apply-guard). No-op when the
|
|
1463
|
+
* id is unknown or already resolved.
|
|
1464
|
+
*
|
|
1465
|
+
* @param stageId - The staged suggestion's id.
|
|
1466
|
+
*/
|
|
1467
|
+
acceptSuggestion: (stageId: string) => void;
|
|
1468
|
+
/**
|
|
1469
|
+
* Reject one pending staged suggestion: mark it rejected and drop it from the
|
|
1470
|
+
* preview overlay. The live form is left untouched. No-op when the id is
|
|
1471
|
+
* unknown or already resolved.
|
|
1472
|
+
*
|
|
1473
|
+
* @param stageId - The staged suggestion's id.
|
|
1474
|
+
*/
|
|
1475
|
+
rejectSuggestion: (stageId: string) => void;
|
|
1476
|
+
/**
|
|
1477
|
+
* Accept every pending staged suggestion. Each is routed through
|
|
1478
|
+
* {@link FormTowerControllerService.acceptSuggestion}, so per-kind validation /
|
|
1479
|
+
* remap / async MSCOA resolution apply (an invalid one parks as `'invalid'`
|
|
1480
|
+
* rather than blocking the rest).
|
|
1481
|
+
*/
|
|
1482
|
+
acceptAllSuggestions: () => void;
|
|
1483
|
+
/** Reject every pending staged suggestion (leaves the live form untouched). */
|
|
1484
|
+
rejectAllSuggestions: () => void;
|
|
908
1485
|
/**
|
|
909
1486
|
* Hard reset: tear down current state and re-initialize from the same form
|
|
910
1487
|
* definition + originally supplied values.
|
|
@@ -957,9 +1534,9 @@ declare class TourManagerService {
|
|
|
957
1534
|
userProfile: this;
|
|
958
1535
|
constructor();
|
|
959
1536
|
startTourByOption(steps: IStepOption[]): {
|
|
960
|
-
stepShow$: rxjs.Subject<
|
|
961
|
-
stepHide$: rxjs.Subject<
|
|
962
|
-
initialize$: rxjs.Subject<IStepOption[]>;
|
|
1537
|
+
stepShow$: rxjs.Subject<ngx_ui_tour_core.StepChangeParams<IStepOption$1>>;
|
|
1538
|
+
stepHide$: rxjs.Subject<ngx_ui_tour_core.StepChangeParams<IStepOption$1>>;
|
|
1539
|
+
initialize$: rxjs.Subject<IStepOption$1[]>;
|
|
963
1540
|
start$: rxjs.Subject<void>;
|
|
964
1541
|
end$: rxjs.Subject<void>;
|
|
965
1542
|
pause$: rxjs.Subject<void>;
|
|
@@ -986,6 +1563,9 @@ declare class TourManagerService {
|
|
|
986
1563
|
* merged into every step of the form; re-initialises the form when set.
|
|
987
1564
|
* - `passParamsOnSubmit: Record<string, unknown> | undefined` — extra params
|
|
988
1565
|
* passed through to the consumer's submit handler.
|
|
1566
|
+
* - `showAiSuggestions: boolean` — when `true` (and `withFormSuggestions()` is
|
|
1567
|
+
* installed), renders the built-in review panel for pending AI-proposed edits
|
|
1568
|
+
* so the user can accept/reject them. Off by default.
|
|
989
1569
|
*
|
|
990
1570
|
* Outputs:
|
|
991
1571
|
* - _None._ Submission and lifecycle events are dispatched through the
|
|
@@ -1019,8 +1599,18 @@ declare class UserFormStepperComponent {
|
|
|
1019
1599
|
* consumer's own submit handler, which narrows the individual values.
|
|
1020
1600
|
*/
|
|
1021
1601
|
readonly passParamsOnSubmit: _angular_core.InputSignal<Record<string, unknown> | undefined>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Shows the built-in AI edit-suggestion review panel above the form when an
|
|
1604
|
+
* external system has proposed pending edits (requires `withFormSuggestions()`
|
|
1605
|
+
* at bootstrap). Off by default — opt in to render the turnkey panel; leave it
|
|
1606
|
+
* off to drive the suggestion stream / your own review UI via
|
|
1607
|
+
* `FORM_SUGGESTION_REGISTRY` instead.
|
|
1608
|
+
*/
|
|
1609
|
+
readonly showAiSuggestions: _angular_core.InputSignal<boolean>;
|
|
1022
1610
|
/** Underlying Material stepper instance (may be undefined before first CD pass). */
|
|
1023
1611
|
readonly stepper: _angular_core.Signal<MatStepper | undefined>;
|
|
1612
|
+
/** True when the engine holds at least one pending (unreviewed) AI suggestion. */
|
|
1613
|
+
protected readonly hasPendingSuggestions: _angular_core.Signal<boolean>;
|
|
1024
1614
|
/** Whether the form is editable / can be navigated freely. */
|
|
1025
1615
|
isEditable: boolean;
|
|
1026
1616
|
/** True while the form definition is being fetched. */
|
|
@@ -1075,7 +1665,7 @@ declare class UserFormStepperComponent {
|
|
|
1075
1665
|
startTour(): void;
|
|
1076
1666
|
refreshASection(sectionId: string): void;
|
|
1077
1667
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserFormStepperComponent, never>;
|
|
1078
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserFormStepperComponent, "lib-user-form-stepper", never, { "formId": { "alias": "formId"; "required": false; "isSignal": true; }; "initialValues": { "alias": "initialValues"; "required": false; "isSignal": true; }; "globalSystemInputs": { "alias": "globalSystemInputs"; "required": false; "isSignal": true; }; "passParamsOnSubmit": { "alias": "passParamsOnSubmit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1668
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserFormStepperComponent, "lib-user-form-stepper", never, { "formId": { "alias": "formId"; "required": false; "isSignal": true; }; "initialValues": { "alias": "initialValues"; "required": false; "isSignal": true; }; "globalSystemInputs": { "alias": "globalSystemInputs"; "required": false; "isSignal": true; }; "passParamsOnSubmit": { "alias": "passParamsOnSubmit"; "required": false; "isSignal": true; }; "showAiSuggestions": { "alias": "showAiSuggestions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1079
1669
|
}
|
|
1080
1670
|
|
|
1081
1671
|
interface IConfigElementError {
|
|
@@ -1233,6 +1823,66 @@ declare class TDynamicDataViewComponent {
|
|
|
1233
1823
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TDynamicDataViewComponent, "lib-t-dynamic-data-view", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1234
1824
|
}
|
|
1235
1825
|
|
|
1826
|
+
/**
|
|
1827
|
+
* Renders the queue of pending AI-proposed edits for a form and lets the user
|
|
1828
|
+
* accept or reject each one (or all at once). It is **presentational only** — it
|
|
1829
|
+
* holds no engine reference and mutates nothing; the host wires its inputs to the
|
|
1830
|
+
* tower's reporting signals and its outputs back to the tower's accept/reject
|
|
1831
|
+
* methods, so a per-component form engine is never pulled into this component's
|
|
1832
|
+
* injector.
|
|
1833
|
+
*
|
|
1834
|
+
* @example
|
|
1835
|
+
* <t-suggestion-review
|
|
1836
|
+
* [suggestions]="engine.stagedSuggestions()"
|
|
1837
|
+
* [schema]="engine.editableFormSchema()"
|
|
1838
|
+
* [previewValue]="engine.previewFormValue()"
|
|
1839
|
+
* (accept)="engine.acceptSuggestion($event)"
|
|
1840
|
+
* (reject)="engine.rejectSuggestion($event)"
|
|
1841
|
+
* (acceptAll)="engine.acceptAllSuggestions()"
|
|
1842
|
+
* (rejectAll)="engine.rejectAllSuggestions()" />
|
|
1843
|
+
*/
|
|
1844
|
+
declare class TSuggestionReviewComponent {
|
|
1845
|
+
/** Staged suggestions to review (typically `engine.stagedSuggestions()`). */
|
|
1846
|
+
readonly suggestions: _angular_core.InputSignal<readonly StagedSuggestion[]>;
|
|
1847
|
+
/** The form's editable schema (typically `engine.editableFormSchema()`), used for field labels. */
|
|
1848
|
+
readonly schema: _angular_core.InputSignal<FormSuggestionSnapshot>;
|
|
1849
|
+
/** The form value with pending suggestions overlaid (typically `engine.previewFormValue()`). */
|
|
1850
|
+
readonly previewValue: _angular_core.InputSignal<Record<string, unknown>>;
|
|
1851
|
+
/** Emits the stage id of a suggestion the user accepted. */
|
|
1852
|
+
readonly accept: _angular_core.OutputEmitterRef<string>;
|
|
1853
|
+
/** Emits the stage id of a suggestion the user rejected. */
|
|
1854
|
+
readonly reject: _angular_core.OutputEmitterRef<string>;
|
|
1855
|
+
/** Emits when the user accepts every pending suggestion. */
|
|
1856
|
+
readonly acceptAll: _angular_core.OutputEmitterRef<void>;
|
|
1857
|
+
/** Emits when the user rejects every pending suggestion. */
|
|
1858
|
+
readonly rejectAll: _angular_core.OutputEmitterRef<void>;
|
|
1859
|
+
/** The pending suggestions — the only ones offered for review. */
|
|
1860
|
+
protected readonly pending: _angular_core.Signal<readonly StagedSuggestion[]>;
|
|
1861
|
+
/** Suggestions that could not be applied (shown informationally with a reason). */
|
|
1862
|
+
protected readonly invalid: _angular_core.Signal<readonly StagedSuggestion[]>;
|
|
1863
|
+
/** Whether there is nothing to show (no pending and no invalid). */
|
|
1864
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
1865
|
+
/** `fieldId → schema` index for label / kind lookup. */
|
|
1866
|
+
protected readonly schemaById: _angular_core.Signal<Map<string, EditableFieldSchema>>;
|
|
1867
|
+
/**
|
|
1868
|
+
* Resolves a field's display label, falling back to its id.
|
|
1869
|
+
*
|
|
1870
|
+
* @param fieldId - The target field's id.
|
|
1871
|
+
* @returns The field's label, or the id when the field is unknown.
|
|
1872
|
+
*/
|
|
1873
|
+
protected labelFor(fieldId: string): string;
|
|
1874
|
+
/** The kind of the suggestion's target field, when known. */
|
|
1875
|
+
protected kindOf(fieldId: string): EditableFieldKind | undefined;
|
|
1876
|
+
/** Structured fields (mscoa / multipleRow) show an action summary, not a raw diff. */
|
|
1877
|
+
protected isStructured(s: StagedSuggestion): boolean;
|
|
1878
|
+
/** A short human description of what a structured suggestion will do. */
|
|
1879
|
+
protected describeAction(s: StagedSuggestion): string;
|
|
1880
|
+
/** Renders an arbitrary value as a short string for the from → to diff. */
|
|
1881
|
+
protected display(value: unknown): string;
|
|
1882
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TSuggestionReviewComponent, never>;
|
|
1883
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TSuggestionReviewComponent, "t-suggestion-review", never, { "suggestions": { "alias": "suggestions"; "required": true; "isSignal": true; }; "schema": { "alias": "schema"; "required": true; "isSignal": true; }; "previewValue": { "alias": "previewValue"; "required": false; "isSignal": true; }; }, { "accept": "accept"; "reject": "reject"; "acceptAll": "acceptAll"; "rejectAll": "rejectAll"; }, never, never, true, never>;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1236
1886
|
declare class FormatDataPipe implements PipeTransform {
|
|
1237
1887
|
/**
|
|
1238
1888
|
* Formats an arbitrary input value for display according to `dataType`.
|
|
@@ -2292,4 +2942,5 @@ declare function testAgainstItem(test: ConfigurationValidTestInterface, item: un
|
|
|
2292
2942
|
*/
|
|
2293
2943
|
declare const getSignatureImage: (inputConfig: FormColumnInputs, value: EncryptedData | undefined, secret: string) => Promise<string | undefined>;
|
|
2294
2944
|
|
|
2295
|
-
export { DialogTemplateComponent, FORM_ACTIONS_TOKEN, FORM_CONFIG_TOKEN, FORM_INPUTS_TOKEN, FORM_ROUTE_SOURCE, FORM_SLIDES_TOKEN, FormBuilderComponent, FormTowerControllerService, FormatDataPipe, FormsComponent, HttpPipelineRepository, IMPORT_TOWER_INSTANCE_ID, INPUT_SECRET_TOKEN, MSCOA_TREE_PROVIDER, MULTIPLE_FORM_INPUT_TOKEN, MscoaFormInputComponent, NGX_T_FORMS_CONFIG_TOKEN, NgxTFormsComponent, NgxTFormsService, PIPELINE_REPOSITORY, PipelineRepository, PropertyAccessError, SignatureInputElementComponent, TDynamicDataEditComponent, TDynamicDataViewComponent, TFormImportController, TFormInputComponent, UTILS_OBJECT_TOKEN, UserFormStepperComponent, ValidationExpressioCreatorComponent, assignDeepPropertyToObject, createFileFromBase64, formGenerator, getPipedValueFromDataType, getSampleValueForInput, getSectionElements, getSignatureImage, getUrl, getValueFromValueAccessor, initFormConfigToV2, provideNgxTForms, returnDeepProperty, returnMappedPathValue, safeReturnDeepProperty, sheetConsolodation, testAgainstItem, textIconsForUserHints, validateExpressionSyntax, validateObjectAgainstString, withHttpPipeline, withInputSecret, withRouterFormId };
|
|
2945
|
+
export { DialogTemplateComponent, FORM_ACTIONS_TOKEN, FORM_CONFIG_TOKEN, FORM_INPUTS_TOKEN, FORM_ROUTE_SOURCE, FORM_SLIDES_TOKEN, FORM_SUGGESTION_REGISTRY, FormBuilderComponent, FormSuggestionRegistry, FormSuggestionRegistryService, FormTowerControllerService, FormatDataPipe, FormsComponent, HttpPipelineRepository, IMPORT_TOWER_INSTANCE_ID, INPUT_SECRET_TOKEN, MSCOA_TREE_PROVIDER, MULTIPLE_FORM_INPUT_TOKEN, MscoaFormInputComponent, NGX_T_FORMS_CONFIG_TOKEN, NgxTFormsComponent, NgxTFormsService, PIPELINE_REPOSITORY, PipelineRepository, PropertyAccessError, SignatureInputElementComponent, TDynamicDataEditComponent, TDynamicDataViewComponent, TFormImportController, TFormInputComponent, TSuggestionReviewComponent, UTILS_OBJECT_TOKEN, UserFormStepperComponent, ValidationExpressioCreatorComponent, assignDeepPropertyToObject, buildSuggestionSchema, createFileFromBase64, formGenerator, getPipedValueFromDataType, getSampleValueForInput, getSectionElements, getSignatureImage, getUrl, getValueFromValueAccessor, initFormConfigToV2, provideNgxTForms, returnDeepProperty, returnMappedPathValue, safeReturnDeepProperty, sheetConsolodation, testAgainstItem, textIconsForUserHints, toSuggestionBatch, validateExpressionSyntax, validateObjectAgainstString, withFormSuggestions, withHttpPipeline, withInputSecret, withRouterFormId };
|
|
2946
|
+
export type { EditableFieldError, EditableFieldKind, EditableFieldSchema, EditableFieldValidation, FieldSuggestion, FormSuggestionChannel, FormSuggestionSnapshot, MscoaAccountSelection, MscoaCurrentSelection, MscoaFieldCapability, MscoaInnerInputDescriptor, MscoaSegmentDescriptor, MscoaSuggestionValue, MultipleRowSuggestionValue, StagedSuggestion, SuggestionBatch };
|