@gct-paas/excel 0.1.36 → 0.1.37-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-Dkr9EHwb.js → BaseComponent-B1JTKMB5.js} +18 -1
- package/dist/{VueVideoPlayer-QmiFwFQB.js → VueVideoPlayer-C6a9Wt23.js} +2 -2
- package/dist/{align-editor-OaXgeuWX.js → align-editor-BIgxBb3c.js} +1 -1
- package/dist/{barcode-design-CAzpyssF.js → barcode-design-jauXuqY4.js} +2 -2
- package/dist/base/index.es.js +2137 -2795
- package/dist/{diagonal-design-C3JGFswf.js → diagonal-design-C9tqO57r.js} +2 -2
- package/dist/{dynamic-table-action-MloBs3jp.js → dynamic-table-action-CNEd7Opa.js} +6870 -2781
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-r5NoUEI7.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CfpxTsKR.js} +51446 -52262
- package/dist/{edit.utils-CXmmCnxE-Cl7i5AyG.js → edit.utils-CXmmCnxE-BSdD_tOR.js} +1 -1
- package/dist/excel.css +3212 -1931
- package/dist/{exceljs.min-BmhMOCmv.js → exceljs.min-oR-WKkXQ.js} +2 -2
- package/dist/{font-editor-D-IcSFTK.js → font-editor-C5Soj9Z6.js} +3 -3
- package/dist/{image-design-CoMKHl0Q.js → image-design-CE8RmqGR.js} +2 -2
- package/dist/{index-eP5FgfsT.js → index-3LBp3SD1.js} +2 -2
- package/dist/{index-Bu0NS0WR.js → index-BBp4UgsU.js} +2 -2
- package/dist/{index-CK9Jb4BC.js → index-BCxnsShs.js} +1 -1
- package/dist/{index-C_aY8-1F.js → index-BJdOVQGJ.js} +1 -1
- package/dist/{index-5xAXV_RW.js → index-BOfw4m4-.js} +3 -3
- package/dist/{index-B-koHYBR.js → index-BQj90WDT.js} +2 -2
- package/dist/{index-BdOb_E0-.js → index-BVxo9GHy.js} +1 -1
- package/dist/{index-BTDuk15b.js → index-BXSzJMT7.js} +8 -74
- package/dist/{index-BuJute2u.js → index-Be5L7-N-.js} +2 -2
- package/dist/{index-l7OgY52A.js → index-CA6CWt8y.js} +1 -1
- package/dist/{index-BUJMWJUt.js → index-CE62NjDB.js} +13 -2
- package/dist/{index-C92h_8jV.js → index-CJ0cvjoI.js} +5 -3
- package/dist/{index-geKEnJZt.js → index-COLdd2qs.js} +2 -2
- package/dist/{index-CsLTcOIa.js → index-CUTR4fki.js} +2 -2
- package/dist/{index-SnR5k06w.js → index-CWj5bguA.js} +2 -2
- package/dist/{index-Ed8dzqIj.js → index-CZM8egvr.js} +2 -2
- package/dist/{index-BbtMZHP5.js → index-Crv-QUy2.js} +2 -2
- package/dist/{index-DXJN9iYx.js → index-Csrs6rUq.js} +2 -2
- package/dist/{index-BPGs5Cz3.js → index-CvIbNFvq.js} +2 -2
- package/dist/{index-BYjXv9tc.js → index-D6Z8-FC9.js} +432 -237
- package/dist/{index-9xGsFq4z.js → index-DNBaMDBY.js} +2 -2
- package/dist/{index-BOf5cqL9.js → index-DORsA1uW.js} +12 -3
- package/dist/{index-DcD5_iSz.js → index-De-L8Ocw.js} +3 -3
- package/dist/{index-X34P5CQc.js → index-Dgu35iIj.js} +1 -1
- package/dist/{index-BaKLE58A.js → index-DmFOzyWl.js} +42837 -36955
- package/dist/{index-DRKZ0yh5.js → index-Dt55J9L4.js} +3 -3
- package/dist/{index-DZ-95Xyi.js → index-Dw7SQNDy.js} +1 -1
- package/dist/{index-CgHFRM28.js → index-KcZJqM3I.js} +1 -1
- package/dist/{index-BnnboU4e.js → index-ROHlRUFD.js} +1 -1
- package/dist/{index-Cga0IK5A.js → index-UEIdgxBp.js} +2 -2
- package/dist/index-WDkhfpnZ.js +26 -0
- package/dist/{index-DizZCNAs.js → index-XKBhl9Or.js} +3 -3
- package/dist/{index-Bgjmyqf3.js → index-dbEV_ie2.js} +2 -2
- package/dist/{index-BPOAaTJZ.js → index-m0iGs0bS.js} +1 -1
- package/dist/{index-ClFvHh9r.js → index-mpoqOir8.js} +2 -2
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-CzX2E2Ns.js → mb-render-DhKkFfcm.js} +21 -15
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CxAuNR6B.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhTO6jGt.js} +1 -8
- package/dist/{pagination-design-RiNto9F1.js → pagination-design-Dh2ZATAE.js} +2 -2
- package/dist/paper-widget-design-Dj_0pnAo.js +4 -0
- package/dist/print-runtime-instance-DMTURT68.js +36 -0
- package/dist/print-snapshot-renderer-C6g7ZjmS.js +76 -0
- package/dist/{qrcode-design-DXyYtKbf.js → qrcode-design-Bks87yW1.js} +1 -1
- package/dist/{revo-grid.entry-wAZS5Q_f.js → revo-grid.entry-BBZIZgKP.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BYLiJyq5.js → revogr-attribution_7.entry-rfjINVxu.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BYdLJ3yv.js → revogr-clipboard_3.entry-Bg3AuwfG.js} +2 -2
- package/dist/{revogr-data_4.entry-CHqaaCKS.js → revogr-data_4.entry-C8O2Iv2n.js} +2 -2
- package/dist/{revogr-filter-panel.entry-Cqc52XdV.js → revogr-filter-panel.entry-uQBhKoSX.js} +1 -1
- package/dist/seal-design-B2B84Rgt.js +4 -0
- package/dist/{serialnumber-design-BeUOVmG1.js → serialnumber-design-DCkPTZFe.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-BSZxlNxp.js → single-field-drop-Bz9Z9q7-.js} +2 -2
- package/dist/{size-editor-DzsmPSj3.js → size-editor-BKqS03Gi.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +6 -1
- package/dist/src/assets/svgs/table/index.d.ts +1 -0
- package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/seal/seal-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/inspection-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/udi-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +2 -2
- package/dist/src/domain/table/business/device/maintenance/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/point-inspection/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/signature-lock.d.ts +9 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/src/domain/table/business/material/material-substitution/index.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +75 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
- package/dist/src/domain/table/design/index.d.ts +1 -1
- package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +1 -0
- package/dist/src/domain/table/index.d.ts +3 -2
- package/dist/src/domain/table/registry.d.ts +1 -0
- package/dist/src/domain/table/types.d.ts +8 -3
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +8 -0
- package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
- package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +7 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +22 -2
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +11 -3
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +23 -1
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -5
- package/dist/src/nocode-base/src/core/types/index.d.ts +4 -0
- package/dist/src/nocode-base/src/emit/enum.d.ts +2 -12
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +7 -5
- package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/index.d.ts +5 -3
- package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +11 -0
- package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +10 -2
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +13 -25
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +5 -6
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +56 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +64 -0
- package/dist/src/nocode-base/src/hooks/udi.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +7 -4
- package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +1 -9
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +8 -24
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +63 -99
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +16 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +4 -10
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +5 -8
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +15 -8
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +6 -0
- package/dist/src/nocode-base/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +4 -3
- package/dist/src/nocode-base/src/interface/code-runner.d.ts +4 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +5 -2
- package/dist/src/nocode-base/src/interface/transform.d.ts +26 -22
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +66 -0
- package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +4 -0
- package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +11 -0
- package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +8 -0
- package/dist/src/nocode-base/src/runtime/field-identity.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/index.d.ts +18 -0
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +43 -0
- package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +36 -0
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +122 -0
- package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +82 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +26 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +90 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +132 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +80 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +17 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +296 -0
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +93 -0
- package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +37 -0
- package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +99 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +44 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +23 -0
- package/dist/src/nocode-base/src/types/business/index.d.ts +8 -1
- package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +60 -6
- package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +10 -0
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +15 -1
- package/dist/src/nocode-base/src/types/fields/index.d.ts +2 -1
- package/dist/src/nocode-base/src/types/index.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mb-render.d.ts +4 -2
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -5
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -35
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +0 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +4 -7
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +8 -6
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +2 -0
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +8 -1
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +78 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +43 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +194 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +28 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +145 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +31 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +40 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +7 -1
- package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +1089 -683
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +503 -2542
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +19 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +54 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +18 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +33 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +36 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +21 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +17 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +203 -327
- package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/types/index.d.ts +43 -26
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +8 -3
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +11 -108
- package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +2 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +17 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +29 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +57 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +14 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +10 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
- package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +21 -19
- package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +27 -0
- package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +24 -0
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +14 -0
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
- package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +6 -0
- package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +38 -0
- package/dist/src/shared/components/Signature/index.d.ts +1 -2
- package/dist/src/shared/components/Signature/logic/index.d.ts +8 -23
- package/dist/src/shared/components/Signature/types/index.d.ts +6 -1
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +2 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +8 -2
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -1
- package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
- package/dist/src/shared/enum/field-type.d.ts +23 -0
- package/dist/src/shared/enum/online-form.d.ts +8 -2
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/seal/index.d.ts +44 -0
- package/dist/src/shared/types/field-meta.d.ts +1 -0
- package/dist/src/shared/utils/field-size.d.ts +4 -2
- package/dist/src/shared/utils/lot2sn.d.ts +5 -0
- package/dist/sub-table-factory-DOKB1uAZ.js +2118 -0
- package/dist/{text-design-DeXMb67O.js → text-design-CO7hCgdj.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-wugUYaTg.js → throttle-Cpk1LoGk-Ci963h-N.js} +1 -1
- package/dist/{timediff-design-B5m_vT5S.js → timediff-design-DAD_BKWH.js} +1 -1
- package/dist/{trace-like-wrapper-4yBUGGtN.js → trace-like-wrapper-CWm4kuNc.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BcQNMosl.js → value-editor.vue_vue_type_style_index_0_lang-DYvH10y_.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-B7xQpLj3.js → widget-barcode-Bjim1wAN.js} +4 -4
- package/dist/{widget-diagonal-DZ3m3Brh.js → widget-diagonal-BuKYSN9U.js} +3 -3
- package/dist/{widget-image-BldCdjwV.js → widget-image-VfveaM3F.js} +5 -5
- package/dist/{widget-line-CozoSdQ2.js → widget-line-CXpx_VYX.js} +2 -2
- package/dist/{widget-pagination-DTHzdWhE.js → widget-pagination-CUk0ktR8.js} +5 -5
- package/dist/{widget-power-Chb6sR_L.js → widget-power-CewCZPpD.js} +3 -3
- package/dist/{widget-qrcode-0Zk8nMay.js → widget-qrcode-DKzDDe6T.js} +3 -3
- package/dist/{widget-rangelimit-BreLyXSk.js → widget-rangelimit-DbWjevfj.js} +3 -3
- package/dist/{widget-serialnumber-DXa_bjwt.js → widget-serialnumber-CDHHiXmp.js} +1 -1
- package/dist/{widget-text--ID_v_oi.js → widget-text-BVYodujP.js} +5 -5
- package/dist/{widget-timediff-DMHq5Q2O.js → widget-timediff-DZzXuor2.js} +2 -2
- package/package.json +4 -4
- package/dist/paper-widget-design-Bx_DMVQ4.js +0 -4
- package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +0 -13
- package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +0 -18
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +0 -12
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -41
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +0 -17
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +0 -29
- package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +0 -18
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +0 -116
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SubTableCore } from './sub-table-core';
|
|
2
2
|
import { BusinessSubTableProfile } from '../../../../domain/table';
|
|
3
3
|
import { IDefaultValueMap, IFieldStatus } from '../types';
|
|
4
|
+
import { ScanModalInput } from './utils/scan';
|
|
4
5
|
/**
|
|
5
6
|
* Profile 驱动的子表 Core 基类
|
|
6
7
|
*
|
|
@@ -74,6 +75,27 @@ export declare class DevicePartConsumeTableCore extends ProfileDrivenSubTableCor
|
|
|
74
75
|
option?: any;
|
|
75
76
|
}): void;
|
|
76
77
|
}
|
|
77
|
-
/**
|
|
78
|
+
/** 产线收料表 Core */
|
|
78
79
|
export declare class MaterialRequisitionTableCore extends ProfileDrivenSubTableCore {
|
|
79
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* 物料替换表 Core
|
|
83
|
+
* - 被替换物料从历史消耗中选择,并按当前 SN / 工序过滤
|
|
84
|
+
* - 选择后回填批号、物料信息和原上料数量
|
|
85
|
+
* - 替换物料批号回填替换物料信息
|
|
86
|
+
* - 条码映射结果优先填充空行,否则追加新行
|
|
87
|
+
*/
|
|
88
|
+
export declare class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
|
|
89
|
+
protected isEmptyScanRow(row: Record<string, unknown>): boolean;
|
|
90
|
+
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
91
|
+
calcFieldQuery: SubTableCore['calcFieldQuery'];
|
|
92
|
+
calcFieldDataSource: SubTableCore['calcFieldDataSource'];
|
|
93
|
+
handleChange(params: {
|
|
94
|
+
rowData: any;
|
|
95
|
+
field: string;
|
|
96
|
+
value: any;
|
|
97
|
+
option?: any;
|
|
98
|
+
}): void;
|
|
99
|
+
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
100
|
+
protected onScan(input: ScanModalInput): Promise<void>;
|
|
101
|
+
}
|
|
@@ -7,7 +7,6 @@ import { ScanModalInput } from './utils/scan';
|
|
|
7
7
|
export declare class SterilizeBatchTableCore extends SubTableCore {
|
|
8
8
|
/** 绘制UI相关工具,复用调拨表扫码弹窗 */
|
|
9
9
|
get render(): import('../..').ISubTableRender;
|
|
10
|
-
compUnmount(): Promise<void>;
|
|
11
10
|
init(): Promise<void>;
|
|
12
11
|
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
13
12
|
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
@@ -13,7 +13,6 @@ export declare class StocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
|
13
13
|
get isGroupByWarehouse(): boolean;
|
|
14
14
|
get paramsWarehouseId(): any;
|
|
15
15
|
get render(): import('../..').ISubTableRender;
|
|
16
|
-
compUnmount(): Promise<void>;
|
|
17
16
|
/**
|
|
18
17
|
* 运行态禁用优先按 row_source_(manual / auto / scan),
|
|
19
18
|
* Profile READONLY_INFO_FIELDS 作为基线由 super 合并。
|
|
@@ -51,15 +51,10 @@ export declare class SubTableCore {
|
|
|
51
51
|
* 实际使用的数据(过滤掉打deleted_标签的数据)
|
|
52
52
|
*/
|
|
53
53
|
get showTableData(): any[];
|
|
54
|
-
/** 更新页面 */
|
|
55
|
-
updateCalcCallback: Function;
|
|
56
54
|
/** 子表组件的setup的时候 */
|
|
57
55
|
compSetup(params: {
|
|
58
56
|
formState: any;
|
|
59
|
-
updateCalcCallback: Function;
|
|
60
57
|
}): Promise<void>;
|
|
61
|
-
/** 子表组件的unmount的时候 */
|
|
62
|
-
compUnmount(): Promise<void>;
|
|
63
58
|
/**
|
|
64
59
|
* 计算子表字段的默认值映射
|
|
65
60
|
* - key是字段的key
|
|
@@ -7,6 +7,8 @@ export * from './sub-table';
|
|
|
7
7
|
* @interface RuntimePageCtx
|
|
8
8
|
*/
|
|
9
9
|
export interface RuntimePageCtx {
|
|
10
|
+
/** 多 Sheet 下的归属标识;v1 会使用归一化后的虚拟 sheetId。 */
|
|
11
|
+
sheetId: string;
|
|
10
12
|
/** 单据信息 */
|
|
11
13
|
docInfo: any;
|
|
12
14
|
/** 外部环境参数 */
|
|
@@ -25,6 +27,8 @@ export interface RuntimePageCtx {
|
|
|
25
27
|
* @interface IRuntimeSubTableCtx
|
|
26
28
|
*/
|
|
27
29
|
export interface IRuntimeSubTableCtx {
|
|
30
|
+
/** 多 Sheet 运行时中子表所属的工作表。 */
|
|
31
|
+
sheetId: string;
|
|
28
32
|
/** 子表运行时组件对象 */
|
|
29
33
|
widget: ISubTable;
|
|
30
34
|
}
|
|
@@ -2,26 +2,16 @@
|
|
|
2
2
|
export declare enum NCB_PROVIDE {
|
|
3
3
|
/** 后端pdf */
|
|
4
4
|
IS_PDF = "NCB_IsPdf",
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
/** 字段默认值数据 */
|
|
8
|
-
DEFAULT_FIELD_DATA = "NCB_DefaultFieldData",
|
|
5
|
+
/** 当前渲染宿主的实例注册表 */
|
|
6
|
+
RUNTIME_INSTANCE_REGISTRY = "NCB_RuntimeInstanceRegistry",
|
|
9
7
|
/** 数据关联关系 */
|
|
10
8
|
DATA_RELATION_SHIP = "NCB_DataRelationShip",
|
|
11
|
-
/** 修改分页信息 */
|
|
12
|
-
PAGE_DATA_CALL_BACK = "NCB_PageDataCallback",
|
|
13
|
-
/** 表单实例信息 */
|
|
14
|
-
FORM_INST_LIST = "NCB_FormInstList",
|
|
15
9
|
/** 移动端填报字段弹框 */
|
|
16
10
|
MOBILE_FILL_FIELDS_POPUP = "NCB_MobileFillFieldsPopup",
|
|
17
|
-
/** 表单模板bom控制器映射 */
|
|
18
|
-
TMPL_BOM_CONTROLLER_MAP = "NCB_TmplBomControllerMap",
|
|
19
11
|
/** 物料消耗表控制器 */
|
|
20
12
|
MATERIAL_CONSUME_TABLE_CONTROLLER = "NCB_MaterialConsumeTableController",
|
|
21
13
|
/** 检验表单元格列索引(PC 脚本事件等) */
|
|
22
14
|
CHECK_TABLE_COL_INDEX = "NCB_CheckTableColIndex",
|
|
23
|
-
/** 动态子表核心工厂集合 */
|
|
24
|
-
SUB_TABLE_CORE_FACTORY_MAP = "NCB_SubTableCoreFactoryMap",
|
|
25
15
|
/** 动态子表核心(字段用) */
|
|
26
16
|
SUB_TABLE_CORE = "NCB_SubTableCore",
|
|
27
17
|
/** widgetCenter中的 pager 信息 */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { IBasicInfoItem } from '../../types';
|
|
2
2
|
type FormChangeRowOp = 'ADD' | 'DEL';
|
|
3
3
|
export interface FormChangeRowDetailMeta {
|
|
4
|
+
/** 多 Sheet 下用于先激活子表所属工作表;旧记录没有该值时仍按 cellLocation 回退。 */
|
|
5
|
+
sheetId?: string;
|
|
4
6
|
cellLocation: string;
|
|
5
7
|
cellType: string;
|
|
6
8
|
op: FormChangeRowOp;
|
|
@@ -15,17 +17,17 @@ export declare function getFormChangeRowOp(cellLocation?: string): FormChangeRow
|
|
|
15
17
|
export declare function isAnnLocationSelected(selectId: string | string[] | undefined, loc?: string): boolean;
|
|
16
18
|
/** 幽灵 / 软删展示行:不做字段批注与必填校验 */
|
|
17
19
|
export declare function isFormChangeGhostRow(row: Record<string, any> | null | undefined): boolean;
|
|
18
|
-
export declare function buildStableFieldLocation(subFieldId: string, rowKey: string, fieldId: string, colIdx?: number): string;
|
|
19
20
|
export declare function resolveAnnotationFieldLocation(options: {
|
|
20
21
|
annList?: string[];
|
|
21
22
|
subFieldId?: string;
|
|
22
23
|
fieldId: string;
|
|
24
|
+
modelKey?: string;
|
|
25
|
+
subModelKey?: string;
|
|
23
26
|
row?: Record<string, any>;
|
|
24
|
-
colIdx?: number;
|
|
25
27
|
}): string | undefined;
|
|
26
|
-
export declare function isRowAddedInCurrentFormChange(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string | undefined, row: Record<string, any> | null | undefined): boolean;
|
|
27
|
-
export declare function recordSubtableRowAdd(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, rows: Record<string, any>[]): void;
|
|
28
|
-
export declare function recordSubtableRowDelete(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, row: Record<string, any
|
|
28
|
+
export declare function isRowAddedInCurrentFormChange(dataRelationShip: Pick<IBasicInfoItem, 'formChangeStatus' | 'formChangeNewData'> | undefined, subFieldId: string | undefined, row: Record<string, any> | null | undefined): boolean;
|
|
29
|
+
export declare function recordSubtableRowAdd(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, rows: Record<string, any>[], sheetId?: string): void;
|
|
30
|
+
export declare function recordSubtableRowDelete(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, row: Record<string, any>, sheetId?: string): void;
|
|
29
31
|
/** 提交前刷新快照 */
|
|
30
32
|
export declare function enrichFormChangeRowDetails(formChangeNewData: Record<string, any> | undefined, formState: Record<string, any> | undefined): Record<string, any> | undefined;
|
|
31
33
|
export declare function extractFormChangeRowDetails(items: any[] | undefined): FormChangeRowDetailMeta[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { IBasicInfoItem } from '../../types';
|
|
3
|
+
import { RenderModeEnum } from '../../constant';
|
|
4
|
+
import { RuntimeInstanceRegistry, RuntimeNavigationTarget } from '../../runtime';
|
|
5
|
+
import { FormChangeRowDetailMeta } from './form-change-row';
|
|
6
|
+
import { IProps, IPayload } from '../render-page/types';
|
|
7
|
+
export declare function createRuntimeAnnotationBinding(runtimeRegistry: RuntimeInstanceRegistry, basicInfoList: Ref<IBasicInfoItem[]>, props: IProps, payload: IPayload, updateRenderModeType: (uniqueId: string, mode: RenderModeEnum, updateButton?: boolean) => Promise<unknown>): {
|
|
8
|
+
normalizeAnnotationLocation: (uniqueId: string, path: string, sheetId?: string) => string;
|
|
9
|
+
navigateRuntimeLocation: (uniqueId: string, target: RuntimeNavigationTarget) => Promise<boolean>;
|
|
10
|
+
setFromEditStatus: (uniqueId: string) => Promise<boolean>;
|
|
11
|
+
setAnnotationViewStatus: (uniqueId: string, status: boolean, config?: string[] | {
|
|
12
|
+
locations?: string[];
|
|
13
|
+
rowDetails?: FormChangeRowDetailMeta[];
|
|
14
|
+
}) => boolean;
|
|
15
|
+
setFormChangeRowViewDetails: (uniqueId: string, rowDetails?: FormChangeRowDetailMeta[] | null) => Promise<boolean>;
|
|
16
|
+
getAnnotationContentList: (uniqueId: string, options?: {}) => any[];
|
|
17
|
+
};
|
|
@@ -7,18 +7,12 @@ import { DeviceInterconnectionResponse } from '@gct-paas/api/platform';
|
|
|
7
7
|
* @class DeviceLinkTmplController
|
|
8
8
|
*/
|
|
9
9
|
export declare class DeviceLinkTmplUtil {
|
|
10
|
-
static readonly DEFAULT_RECOMMENDED_PROMPT = "\u4EFB\u52A1\uFF1A\u56FE\u7247OCR\u6587\u5B57\u63D0\u53D6\n\u89C4\u5219\uFF1A\u4E0D\u865A\u6784\u5185\u5BB9\uFF0C\u627E\u4E0D\u5230\u6570\u636E\u8FD4\u56DE\u7A7A\uFF0C\u4EC5\u8F93\u51FA\u63D0\u53D6\u7ED3\u679C\n\u7ED3\u679C\u586B\u5145\u81F3${\u76EE\u6807\u5B57\u6BB5}\n\u586B\u5199\u63D0\u53D6\u89C4\u5219\uFF1A";
|
|
11
10
|
/**
|
|
12
11
|
* 创建模板数据
|
|
13
12
|
* @param type
|
|
14
13
|
* @return {*}
|
|
15
14
|
*/
|
|
16
15
|
static createTmpl(type: DeviceLink.TmplTypeEnum): DeviceLink.BasicTmpl;
|
|
17
|
-
/**
|
|
18
|
-
* 补齐 OCR 模板新增字段,并保持历史配置的原有行为。
|
|
19
|
-
* 历史模板没有提示词模式时按原来的普通模式处理。
|
|
20
|
-
*/
|
|
21
|
-
static normalizeAIOcrTmpl(tmpl: DeviceLink.AIOcrTmpl): DeviceLink.AIOcrTmpl;
|
|
22
16
|
/**
|
|
23
17
|
* 推荐模式保存时转成运行提示词:文案保持 ${字段名},
|
|
24
18
|
* 按插入时记下的字段补上与普通模式相同的 JSON 回写格式。
|
|
@@ -15,7 +15,7 @@ export declare class DeviceConnector {
|
|
|
15
15
|
state: {
|
|
16
16
|
unMqttTopicMap: Record<string, Function | undefined>;
|
|
17
17
|
focusFieldKey: string | null;
|
|
18
|
-
|
|
18
|
+
focusSubRowKey?: string | null | undefined;
|
|
19
19
|
cacheFieldData: Record<string, CacheFocusData>;
|
|
20
20
|
};
|
|
21
21
|
/** 初始化连接器,重置清空数据 */
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
export { useFieldPresentation } from './useFieldPresentation';
|
|
1
2
|
export { useStyles } from './useStyles';
|
|
2
3
|
export { useRenderPageFactory, type IProps, type IPayload } from './useRenderPageFactory';
|
|
3
|
-
export {
|
|
4
|
-
export { useValidator, validate, clearFormRules, deleteSubtableRow, insertSubtableRows, settleAndValidateDisplay, requestFullValidation, requestDisplayValidation, registerValidationContext, unregisterValidationContext, } from './useValidator';
|
|
4
|
+
export { useWidgetStaticAttrs, setSelectAnnotationId, setSelectValidatorId, setSelectMobileTdId, getSubTableQuickFillInfo, } from './useRenderData';
|
|
5
5
|
export { relocateDeletedRowsToEnd } from './validation/utils';
|
|
6
6
|
export { useNocodeEmitter } from './useNocodeEmitter';
|
|
7
7
|
export { useNocodeFormWidget } from './useFormHook';
|
|
8
|
+
export { useRuntimeRowState, type RuntimeRowWriter } from './useRuntimeRowState';
|
|
8
9
|
export { useEbrWikiFactoryV2 } from './useEbrWikiFactoryV2';
|
|
9
|
-
export { useFormulaExpWatcher } from './useFormulaExpWatcher';
|
|
10
10
|
export { useDependency } from './useDependency';
|
|
11
|
+
export { useRuntimeInstanceServices, useRuntimeEditorFlusher } from './useRuntimeInstanceServices';
|
|
11
12
|
export * from './annotation';
|
|
12
13
|
export * from './device-link';
|
|
13
14
|
export * from './form-model';
|
|
@@ -18,3 +19,4 @@ export * from './label-parse-rule';
|
|
|
18
19
|
export * from './material-balance';
|
|
19
20
|
export * from './app-info';
|
|
20
21
|
export * from './operation-receive-qty';
|
|
22
|
+
export * from './udi';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IDecisionRuleGroup, IInspectionDecisionRule } from '../../types';
|
|
2
|
+
type FormRow = Record<string, any>;
|
|
3
|
+
/** 安全解析设计端保存的规则树;无效或空配置不命中。 */
|
|
4
|
+
export declare function parseInspectionDecisionRuleTree(dataRuleConfig?: string): IDecisionRuleGroup | null;
|
|
5
|
+
/**
|
|
6
|
+
* 计算规则树。同一子表的条件绑定到同一候选行;引用多个子表时按行组合判断。
|
|
7
|
+
* 子表为空时保留空绑定,使 OR 分组中的主表条件仍可以独立命中。
|
|
8
|
+
*/
|
|
9
|
+
export declare function evaluateDecisionRuleTree(root: IDecisionRuleGroup, formState: FormRow): boolean;
|
|
10
|
+
export declare function evaluateInspectionDecisionRule(rule: IInspectionDecisionRule | null | undefined, formState: FormRow | null | undefined): boolean;
|
|
11
|
+
export {};
|
|
@@ -5,6 +5,6 @@ import { IMBRender } from '../../types';
|
|
|
5
5
|
* @class MBRender
|
|
6
6
|
*/
|
|
7
7
|
export declare class MBRender implements IMBRender {
|
|
8
|
-
openConsumeModal(
|
|
9
|
-
destoryConsumeModal():
|
|
8
|
+
openConsumeModal(_ownerId: string, _data: any[]): Promise<void>;
|
|
9
|
+
destoryConsumeModal(_ownerId: string): void;
|
|
10
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare function useMaterialBalance(): {
|
|
2
|
-
getConsumeData: ({
|
|
3
|
-
|
|
2
|
+
getConsumeData: ({ balanceTables, operationId, materialNo }: {
|
|
3
|
+
balanceTables: any;
|
|
4
4
|
operationId: any;
|
|
5
5
|
materialNo: any;
|
|
6
6
|
}) => Promise<any>;
|
|
7
|
-
openConsumeModal: (data: any) => void;
|
|
8
|
-
destoryConsumeModal: () => void;
|
|
7
|
+
openConsumeModal: (ownerId: string, data: any) => void;
|
|
8
|
+
destoryConsumeModal: (ownerId: string) => void;
|
|
9
9
|
};
|
|
@@ -31,6 +31,8 @@ export declare class BomEntryValidator {
|
|
|
31
31
|
mainMaterialNo: string;
|
|
32
32
|
/** 物料消耗模式 */
|
|
33
33
|
noBomMode: boolean;
|
|
34
|
+
/** 自定义需求数量,由表格行手动填写 */
|
|
35
|
+
isCustomRequiredQty: boolean;
|
|
34
36
|
/** 该明细使用到的产品的id集合 */
|
|
35
37
|
productIds: string[];
|
|
36
38
|
/** 物料和code的映射 */
|
|
@@ -53,7 +55,9 @@ export declare class BomEntryValidator {
|
|
|
53
55
|
/** 表单实例的批次号 */
|
|
54
56
|
mainMaterialNo: string,
|
|
55
57
|
/** 物料消耗模式 */
|
|
56
|
-
noBomMode: boolean
|
|
58
|
+
noBomMode: boolean,
|
|
59
|
+
/** 自定义需求数量,由表格行手动填写 */
|
|
60
|
+
isCustomRequiredQty?: boolean);
|
|
57
61
|
/**
|
|
58
62
|
* 翻译物料的code
|
|
59
63
|
* @param productId
|
|
@@ -125,6 +129,8 @@ export declare class BomEntriesValidator {
|
|
|
125
129
|
mainMaterialNo: string;
|
|
126
130
|
/** 物料消耗模式 */
|
|
127
131
|
noBomMode: boolean;
|
|
132
|
+
/** 需求数量由表格行手动填写 */
|
|
133
|
+
isCustomRequiredQty: boolean;
|
|
128
134
|
bomEntryValidators: BomEntryValidator[];
|
|
129
135
|
constructor(entries: IBomEntry[],
|
|
130
136
|
/** 是否启用顺序投料 */
|
|
@@ -136,7 +142,9 @@ export declare class BomEntriesValidator {
|
|
|
136
142
|
/** 表单实例的批次号 */
|
|
137
143
|
mainMaterialNo: string,
|
|
138
144
|
/** 物料消耗模式 */
|
|
139
|
-
noBomMode: boolean
|
|
145
|
+
noBomMode: boolean,
|
|
146
|
+
/** 需求数量由表格行手动填写 */
|
|
147
|
+
isCustomRequiredQty?: boolean);
|
|
140
148
|
/**
|
|
141
149
|
* 翻译物料的code
|
|
142
150
|
* @param productId
|
package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IFormTmplBom, IMaterialConsumeData } from './types';
|
|
2
2
|
import { FormTmplBomController } from './tmpl-bom-controller';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { BomEntriesValidator, McRowValidateError } from './bom-validator';
|
|
@@ -8,28 +8,6 @@ import { FormModelController } from '../form-model/form-model-controller';
|
|
|
8
8
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
9
9
|
export declare class MCDataUtil {
|
|
10
10
|
static allFields: Array<keyof IMaterialConsumeData>;
|
|
11
|
-
static editMCTable(row: IMaterialConsumeData, data: IMaterialConsumeData['_MCTABLE']): void;
|
|
12
|
-
/**
|
|
13
|
-
* 数组转对象并付统一的值
|
|
14
|
-
* @static
|
|
15
|
-
* @param arr
|
|
16
|
-
* @param [keyVal=true]
|
|
17
|
-
* @return {*}
|
|
18
|
-
*/
|
|
19
|
-
static arrToObj(arr: string[], keyVal?: any): any;
|
|
20
|
-
/**
|
|
21
|
-
* 设置禁用字段
|
|
22
|
-
* @static
|
|
23
|
-
* @param opts 参数
|
|
24
|
-
*/
|
|
25
|
-
static setFieldsDisabled(opts: {
|
|
26
|
-
/** 数据 */
|
|
27
|
-
row: IMaterialConsumeData;
|
|
28
|
-
/** 属性key集合(不给则默认全部) */
|
|
29
|
-
keys?: Array<keyof IMaterialConsumeData>;
|
|
30
|
-
/** 设置的值(不给则true) */
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
}): void;
|
|
33
11
|
/**
|
|
34
12
|
* 设置行数据的编辑状态
|
|
35
13
|
* @static
|
|
@@ -66,6 +44,8 @@ export declare class MaterialConsumeTableController {
|
|
|
66
44
|
dataStatus?: string;
|
|
67
45
|
/** factory 是否已绑定过运行时(避免重复 initTableData) */
|
|
68
46
|
private runtimeBound;
|
|
47
|
+
/** 多 Sheet / 同屏多实例下,弹层和异步交互使用该键隔离。 */
|
|
48
|
+
private runtimeOwnerId;
|
|
69
49
|
/** 表单是否已暂存或提交(已处理过则不再跑初始化) */
|
|
70
50
|
get isDataProcessed(): boolean;
|
|
71
51
|
/** 批次数量或生产数量 */
|
|
@@ -102,7 +82,14 @@ export declare class MaterialConsumeTableController {
|
|
|
102
82
|
* 修改表格数据(保留打deleted_标签的数据)
|
|
103
83
|
*/
|
|
104
84
|
set actualTableData(value: IMaterialConsumeData[]);
|
|
105
|
-
constructor(tmplBomController: FormTmplBomController, tmplBom: IFormTmplBom
|
|
85
|
+
constructor(tmplBomController: FormTmplBomController, tmplBom: IFormTmplBom, options?: {
|
|
86
|
+
printOnly?: boolean;
|
|
87
|
+
});
|
|
88
|
+
get isCustomRequiredQty(): boolean;
|
|
89
|
+
private getBomGroupForRow;
|
|
90
|
+
/** 自定义规则的需求数量在同一 BOM 组内保持一致。 */
|
|
91
|
+
getCustomGroupRequiredQty(row: IMaterialConsumeData): number | undefined;
|
|
92
|
+
setCustomGroupRequiredQty(row: IMaterialConsumeData, qty: number | undefined): void;
|
|
106
93
|
/** 错误信息 */
|
|
107
94
|
error(message: string): void;
|
|
108
95
|
/**
|
|
@@ -123,7 +110,7 @@ export declare class MaterialConsumeTableController {
|
|
|
123
110
|
* 实际使用的bom明细信息(排序)
|
|
124
111
|
* @readonly
|
|
125
112
|
*/
|
|
126
|
-
get actualBomEntries(): IBomEntry[];
|
|
113
|
+
get actualBomEntries(): import('./types').IBomEntry[];
|
|
127
114
|
/**
|
|
128
115
|
* 根据bom明细构造子表数据(初始化时)
|
|
129
116
|
*/
|
|
@@ -194,6 +181,7 @@ export declare class MaterialConsumeTableController {
|
|
|
194
181
|
* 不在分页组件 setup 中调用,避免跨页挂载重复 init。
|
|
195
182
|
*/
|
|
196
183
|
bindRuntime(opts: {
|
|
184
|
+
ownerId: string;
|
|
197
185
|
tableDataRef: Ref<any>;
|
|
198
186
|
mainFormState?: Ref<any>;
|
|
199
187
|
dataStatus?: string;
|
|
@@ -15,11 +15,8 @@ export declare class MCRender implements IMcRender {
|
|
|
15
15
|
type: 'error' | 'warning';
|
|
16
16
|
content: string;
|
|
17
17
|
}): void;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
* @static
|
|
21
|
-
*/
|
|
22
|
-
static bomModalProps: any;
|
|
18
|
+
/** 每个表单实例独立维护 BOM 弹层参数。 */
|
|
19
|
+
private readonly bomModalProps;
|
|
23
20
|
openScanModal(opts: {
|
|
24
21
|
title: string;
|
|
25
22
|
subModelKey?: string;
|
|
@@ -37,10 +34,12 @@ export declare class MCRender implements IMcRender {
|
|
|
37
34
|
* 实际打开UIModal的函数
|
|
38
35
|
*/
|
|
39
36
|
protected _openBomModal(reactiveOpts: {
|
|
37
|
+
ownerId: string;
|
|
40
38
|
bomList: any[];
|
|
41
39
|
onSubstitute: Function;
|
|
42
40
|
}): Promise<void>;
|
|
43
41
|
openBomModal(opts: {
|
|
42
|
+
ownerId: string;
|
|
44
43
|
bomList: any[];
|
|
45
44
|
onSubstitute: Function;
|
|
46
45
|
}): Promise<void>;
|
|
@@ -67,5 +66,5 @@ export declare class MCRender implements IMcRender {
|
|
|
67
66
|
/**
|
|
68
67
|
* 销毁所有固定的模态
|
|
69
68
|
*/
|
|
70
|
-
destroyAllModals(): void;
|
|
69
|
+
destroyAllModals(_ownerId: string): void;
|
|
71
70
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBomEntry, IFormTmplBom, IMaterialConsumeData } from './types';
|
|
2
|
-
import { BaseCoreComponent
|
|
2
|
+
import { BaseCoreComponent } from '../../types';
|
|
3
3
|
import { MaterialConsumeTableController } from './material-consume-table-controller';
|
|
4
4
|
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
5
5
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
@@ -26,12 +26,18 @@ export declare class FormTmplBomController {
|
|
|
26
26
|
/** 默认物料消耗模式 */
|
|
27
27
|
defaultMCPattern: MaterialConsumptionPatternEnum;
|
|
28
28
|
constructor();
|
|
29
|
+
/**
|
|
30
|
+
* 创建独立的打印展示控制器:不请求 BOM/历史消耗,不初始化或修正已填报行。
|
|
31
|
+
* 表格挂载会 bindView,因此不能把填报中的 tableControllers 直接交给打印组件。
|
|
32
|
+
*/
|
|
33
|
+
createPrintView(formState: Record<string, any>): FormTmplBomController;
|
|
29
34
|
/**
|
|
30
35
|
* 判断使用场景,不符合的报错提示
|
|
31
36
|
* @param opts
|
|
32
37
|
*/
|
|
33
38
|
judgeScene(opts: {
|
|
34
|
-
|
|
39
|
+
materialConsumeTableList: any[];
|
|
40
|
+
materialBalanceTableList: any[];
|
|
35
41
|
selfInfo: any;
|
|
36
42
|
}): void;
|
|
37
43
|
/**
|
|
@@ -66,8 +72,6 @@ export declare class FormTmplBomController {
|
|
|
66
72
|
* @return {*}
|
|
67
73
|
*/
|
|
68
74
|
findTableControllerByField(field: string): any;
|
|
69
|
-
/** 计算表单数据(需求废弃,不初始化了) */
|
|
70
|
-
calcFormState(paper: IPaper): any;
|
|
71
75
|
/**
|
|
72
76
|
* 处理字段组件
|
|
73
77
|
* - 补充物料字段的额外查询条件
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
2
2
|
import { IMaterialConsumeObjectInfo } from '../../types';
|
|
3
3
|
import { ObjectFieldKeys, ObjectSubField } from './bom-validator';
|
|
4
|
+
import { RuntimeRowWriter } from '../useRuntimeRowState';
|
|
4
5
|
export declare function isBlank(value: unknown): boolean;
|
|
5
6
|
/** 优先 objectFieldList(used),缺哪个 key 用 masterFields 补哪个 */
|
|
6
7
|
export declare function resolveObjectFieldKeys(opts: {
|
|
@@ -19,6 +20,8 @@ export type ApplyConsumeObjectTraceChangeOpts = {
|
|
|
19
20
|
prevProduct?: unknown;
|
|
20
21
|
option?: any | null;
|
|
21
22
|
formData: Record<string, any>;
|
|
23
|
+
/** formData 只用于读取,所有关联写入由当前组件的显式行入口提交。 */
|
|
24
|
+
rowWriter: RuntimeRowWriter;
|
|
22
25
|
objectFieldList?: IMaterialConsumeObjectInfo[];
|
|
23
26
|
fallbackFields?: ObjectSubField[];
|
|
24
27
|
/** 表单实例 BOM(用于写入 bom_entry_id_) */
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
|
|
2
|
+
import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
|
|
3
|
+
import { IProps, IPayload, RuntimeInstanceSource } from './types';
|
|
4
|
+
import { useMaterialBalance } from '../material-balance/useMaterialBalance';
|
|
5
|
+
export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource) => Promise<{
|
|
6
|
+
runtimeContext: import('../..').RuntimeInstanceContext;
|
|
7
|
+
runtimeFormStateStore: RuntimeFormStateStore;
|
|
8
|
+
runtimeFieldMetadata: import('../..').RuntimeFieldMetadata;
|
|
9
|
+
scriptRunner: any;
|
|
10
|
+
basicInfo: {
|
|
11
|
+
key: string;
|
|
12
|
+
tid: string;
|
|
13
|
+
uniqueId: string;
|
|
14
|
+
modelKey: string;
|
|
15
|
+
formType: FormTypeEnum;
|
|
16
|
+
platformType: PlatformEnum;
|
|
17
|
+
isMockReport: boolean;
|
|
18
|
+
renderModeType: RenderModeEnum;
|
|
19
|
+
btnRenderModeType: RenderModeEnum;
|
|
20
|
+
bpmnType: import('../..').BpmnNodeTypeEnum | undefined;
|
|
21
|
+
bpmnFieldAuthMap: Record<string, any> | undefined;
|
|
22
|
+
gct_stashData: boolean;
|
|
23
|
+
formChangeStatus: boolean;
|
|
24
|
+
formChangeOriginData: {};
|
|
25
|
+
formChangeNewData: {};
|
|
26
|
+
annSwitchStatus: boolean;
|
|
27
|
+
annCellLocationList: never[];
|
|
28
|
+
annSelectId: undefined;
|
|
29
|
+
annRowDetails: never[];
|
|
30
|
+
validatorLocationList: never[];
|
|
31
|
+
validatorMessageMap: {};
|
|
32
|
+
mcValidatorLocationList: never[];
|
|
33
|
+
mcValidatorMessageMap: {};
|
|
34
|
+
mobileTdIdGroups: Map<any, any>;
|
|
35
|
+
mobileSelectTdId: undefined;
|
|
36
|
+
contentHighlight: {
|
|
37
|
+
trace: any[];
|
|
38
|
+
} | {
|
|
39
|
+
trace?: undefined;
|
|
40
|
+
};
|
|
41
|
+
productSearchFields: string;
|
|
42
|
+
showPrintFieldBg: any;
|
|
43
|
+
paramsConfig: Record<string, any> | undefined;
|
|
44
|
+
instanceStatus: any;
|
|
45
|
+
};
|
|
46
|
+
selfInfo: {
|
|
47
|
+
formType: FormTypeEnum;
|
|
48
|
+
viewType: import('../..').ViewTypeEnum;
|
|
49
|
+
modelKey: string;
|
|
50
|
+
bindKey?: string;
|
|
51
|
+
} & Record<string, any>;
|
|
52
|
+
} | undefined>;
|
|
53
|
+
export type PreparedRuntimeInstance = NonNullable<Awaited<ReturnType<ReturnType<typeof createRuntimeInstanceInitializer>>>>;
|
|
54
|
+
/** 过期请求和批量初始化失败的结果未注册,资源在此释放,不影响当前页面的实例。 */
|
|
55
|
+
export declare function disposePreparedRuntime(instance: PreparedRuntimeInstance): void;
|
|
56
|
+
export declare function bindRuntimeBusinessServices(runtimeRegistry: RuntimeInstanceRegistry, record: RuntimeInstanceRecord, dataStatus?: string): void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RuntimeInstanceRegistry, RuntimeSaveToken } from '../../runtime';
|
|
2
|
+
import { IProps, IPayload, RuntimeSelfInfo, RuntimeInstanceSource } from './types';
|
|
3
|
+
import { PreparedRuntimeInstance } from './initialize-runtime';
|
|
4
|
+
export declare function createRuntimeRequestSource(props: IProps, payload: IPayload): (ids: string[]) => Promise<RuntimeInstanceSource[]>;
|
|
5
|
+
/** 等全部初始化结束后再决定是否安装;失败时释放同批已成功准备的资源。 */
|
|
6
|
+
export declare function prepareRuntimeBatch(instances: RuntimeInstanceSource[], initialize: (id: string, source: RuntimeInstanceSource) => Promise<PreparedRuntimeInstance | undefined>): Promise<PreparedRuntimeInstance[]>;
|
|
7
|
+
/** 加载序号覆盖请求、实例准备和安装全过程;过期错误与完成通知都不会影响新页面。 */
|
|
8
|
+
export declare function createRuntimeLoadPipeline(state: {
|
|
9
|
+
loading: boolean;
|
|
10
|
+
error: Error | undefined;
|
|
11
|
+
}, options: {
|
|
12
|
+
request(ids: string[]): Promise<RuntimeInstanceSource[]>;
|
|
13
|
+
prepare(sources: RuntimeInstanceSource[]): Promise<PreparedRuntimeInstance[]>;
|
|
14
|
+
install(prepared: PreparedRuntimeInstance[], isCurrent: () => boolean): Promise<void>;
|
|
15
|
+
}): {
|
|
16
|
+
load(ids: string[]): Promise<boolean>;
|
|
17
|
+
invalidate(): void;
|
|
18
|
+
};
|
|
19
|
+
/** 保存后回填与附件读取共用实例索引,不再接收或生成 newBackupInfo 副本。 */
|
|
20
|
+
export declare function createRuntimePersistenceAccess(runtimeRegistry: RuntimeInstanceRegistry, props: IProps, payload: IPayload): {
|
|
21
|
+
quickSearchRenderData: (uniqueId: string, currentSelfInfo: RuntimeSelfInfo, saveToken?: RuntimeSaveToken) => Promise<boolean>;
|
|
22
|
+
getAppendixInfos: (uniqueId: string, types?: any[]) => string[];
|
|
23
|
+
getPdfInfos: (uniqueId: string) => any;
|
|
24
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IBasicInfoItem, ValidateFieldErrorMap } from '../../types';
|
|
2
|
+
import { RenderModeEnum, PlatformEnum } from '../../constant';
|
|
3
|
+
import { RuntimeInstanceRecord, RuntimeInstanceRegistry } from '../../runtime';
|
|
4
|
+
import { ValidationCommentMap } from '../validation/types';
|
|
5
|
+
/** 普通字段和物料消耗错误共用更新算法,原生 Error.message 变化也要更新。 */
|
|
6
|
+
export declare function applyValidationComments(info: IBasicInfoItem | undefined, comments: ValidationCommentMap, kind: 'field' | 'material'): void;
|
|
7
|
+
export declare function createRuntimeValidationBinding(runtimeRegistry: RuntimeInstanceRegistry, getInfo: (uniqueId: string) => IBasicInfoItem | undefined, platformType: PlatformEnum): {
|
|
8
|
+
bindRuntimeValidation: (uniqueId: string) => void;
|
|
9
|
+
bindFormValidationSync: (uniqueId: string) => void;
|
|
10
|
+
runSubmissionValidation: (uniqueId: string) => Promise<{
|
|
11
|
+
/** 是否通过校验 */
|
|
12
|
+
isValid: boolean;
|
|
13
|
+
fields?: ValidateFieldErrorMap;
|
|
14
|
+
} | undefined>;
|
|
15
|
+
updateRenderModeType: (uniqueId: string, mode: RenderModeEnum, updateButton?: boolean) => Promise<void>;
|
|
16
|
+
prepareInitialView: (record: RuntimeInstanceRecord) => Promise<void>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { RenderModeEnum, PlatformEnum, BpmnNodeTypeEnum } from '../../constant';
|
|
2
|
+
import { baseDataUtils } from '../../interface';
|
|
3
|
+
import { RuntimeFormStateStore } from '../../runtime';
|
|
4
|
+
export interface IProps {
|
|
5
|
+
/** 模板实例id或者模板id */
|
|
6
|
+
selfId: string | string[] | undefined;
|
|
7
|
+
/** 批次号 */
|
|
8
|
+
materialNo?: string;
|
|
9
|
+
/** 查询条件 */
|
|
10
|
+
query?: Record<string, any>;
|
|
11
|
+
}
|
|
12
|
+
interface ITemplatePayload {
|
|
13
|
+
/** 渲染模式类型 */
|
|
14
|
+
renderModeType?: RenderModeEnum;
|
|
15
|
+
}
|
|
16
|
+
interface IInstancePayload {
|
|
17
|
+
/** 是否是详情页面 */
|
|
18
|
+
isDetailPage?: boolean | (() => boolean);
|
|
19
|
+
/** 获取按钮显示规则 */
|
|
20
|
+
getBtnDisplayRules?: boolean | (() => boolean);
|
|
21
|
+
/** 组件传进来的参数 */
|
|
22
|
+
paramExtraProps?: Record<string, any>;
|
|
23
|
+
}
|
|
24
|
+
interface IDeviceConfig {
|
|
25
|
+
/** 默认的用户id */
|
|
26
|
+
defaultUserId: string | undefined;
|
|
27
|
+
/** 默认的部门id */
|
|
28
|
+
defaultOrgId: string | undefined;
|
|
29
|
+
/** 默认的物料查询条件 */
|
|
30
|
+
defaultProductSearchFields: string;
|
|
31
|
+
}
|
|
32
|
+
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
33
|
+
/** 工厂类型 */
|
|
34
|
+
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
35
|
+
/** 请求接口函数 */
|
|
36
|
+
requestCallback: (...args: any[]) => any;
|
|
37
|
+
/** 平台参数类型 */
|
|
38
|
+
platformType: PlatformEnum;
|
|
39
|
+
/** 是否是模拟填报 */
|
|
40
|
+
isMockReport: boolean;
|
|
41
|
+
/** 设备配置信息 */
|
|
42
|
+
deviceConfig?: IDeviceConfig;
|
|
43
|
+
/**所有数据更新加载完后 */
|
|
44
|
+
onFinisher?: (...args: any[]) => unknown;
|
|
45
|
+
/**表单打印方法 */
|
|
46
|
+
formPrint?: (...args: any[]) => unknown;
|
|
47
|
+
/** 实例注册/保存回填完成后交付当前 Store,宿主用于建立自身的自动保存基准。 */
|
|
48
|
+
onFormStateReady?: (store: RuntimeFormStateStore) => unknown;
|
|
49
|
+
}
|
|
50
|
+
/** 不同平台接口的开放业务元信息;不是运行时索引或提交数据的副本。 */
|
|
51
|
+
export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'];
|
|
52
|
+
/** 请求适配后的内部初始化输入,单个/批量入口使用同一约定。 */
|
|
53
|
+
export interface RuntimeInstanceSource {
|
|
54
|
+
id?: string;
|
|
55
|
+
tid: string;
|
|
56
|
+
selfInfo: RuntimeSelfInfo;
|
|
57
|
+
paramsConfig?: Record<string, any>;
|
|
58
|
+
fillModeType: RenderModeEnum;
|
|
59
|
+
btnModelType?: RenderModeEnum;
|
|
60
|
+
bpmnType?: BpmnNodeTypeEnum;
|
|
61
|
+
bpmnFieldAuthMap?: Record<string, any>;
|
|
62
|
+
query?: Record<string, any>;
|
|
63
|
+
}
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** paramsConfig 中 containerId 优先;没有时使用 snId。 */
|
|
2
|
+
export declare function resolveUdiQuery(paramsConfig?: Record<string, unknown>): Record<string, string> | undefined;
|
|
3
|
+
/** listAll 返回第一条 UDI;兼容接口返回 data / data.data 的历史形态。 */
|
|
4
|
+
export declare function parseUdi(res: unknown): string | undefined;
|
|
5
|
+
/** 请求本身不缓存;默认值服务按实例合并请求并管理生命周期。 */
|
|
6
|
+
export declare function fetchUdi(paramsConfig?: Record<string, unknown>): Promise<string | undefined>;
|