@gct-paas/excel 0.1.37 → 0.1.39-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-5QpH6Rui.js → BaseComponent-BO75HbkD.js} +18 -1
- package/dist/{VueVideoPlayer-DZh8_F3v.js → VueVideoPlayer-C49th9G_.js} +2 -2
- package/dist/{align-editor-BTvIuOVN.js → align-editor-CpscpDxA.js} +1 -1
- package/dist/{barcode-design-D3g_D7hp.js → barcode-design-CKbMreUi.js} +2 -2
- package/dist/base/index.es.js +2140 -2800
- package/dist/{diagonal-design-BinP4Wlt.js → diagonal-design-DEz3_fE8.js} +2 -2
- package/dist/{dynamic-table-action-Ckc4yetB.js → dynamic-table-action-DFnvJWw-.js} +6870 -2781
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js} +51447 -52268
- package/dist/{edit.utils-CXmmCnxE-DDvf_1B1.js → edit.utils-CXmmCnxE-evcsspEJ.js} +1 -1
- package/dist/excel.css +2388 -1123
- package/dist/{exceljs.min-jNu29iVm.js → exceljs.min-CXjktZ33.js} +2 -2
- package/dist/{font-editor-B6cYSWqo.js → font-editor-DAcmrW2A.js} +3 -3
- package/dist/{image-design-kQ2vbtwc.js → image-design-BnDK5Jwf.js} +2 -2
- package/dist/{index-DnLs4s1z.js → index-4-w7U148.js} +13 -2
- package/dist/{index-BPKmoc5N.js → index-B0o6GTve.js} +2 -2
- package/dist/{index-C5ESFU7b.js → index-BA3994iB.js} +1 -1
- package/dist/{index-DqDGmouR.js → index-BH4YqNzS.js} +2 -2
- package/dist/{index-Dg6nmj-a.js → index-BJj0R1JE.js} +8 -74
- package/dist/{index-Dxh55nQw.js → index-BNjowwSy.js} +1 -1
- package/dist/{index-avQcYIlZ.js → index-BRKs8S7h.js} +2 -2
- package/dist/{index-C3HGy13G.js → index-BRV9V8ld.js} +1 -1
- package/dist/{index-DF5irDE9.js → index-BVCrUywZ.js} +2 -2
- package/dist/{index-BqI7r_XC.js → index-BlFNgjr-.js} +2 -2
- package/dist/{index-C4tkNDTa.js → index-BlZQjpdp.js} +2 -2
- package/dist/{index-DqkJPwx3.js → index-BvYfYS4D.js} +3 -3
- package/dist/{index-Dzydpwhf.js → index-C8AH07MC.js} +2 -2
- package/dist/{index-O4srBJlA.js → index-CCNBotX0.js} +12269 -6802
- package/dist/{index-BNiGRPzJ.js → index-CNBwsBrN.js} +1 -1
- package/dist/{index-BtZbUJqv.js → index-CQ9v7Q0g.js} +5 -3
- package/dist/{index-DCMnBDPA.js → index-CXBwY7ba.js} +432 -237
- package/dist/{index-CnTC_LFJ.js → index-CeoXayAy.js} +2 -2
- package/dist/{index-D3Oj5SoQ.js → index-D06X_Sz7.js} +3 -3
- package/dist/{index-Bk8MpwGt.js → index-D1m06PsY.js} +2 -2
- package/dist/{index-CkgB26Uk.js → index-D72ZxU1B.js} +3 -3
- package/dist/{index-C1DOk9t-.js → index-D9SThznm.js} +1 -1
- package/dist/{index-C91SfhAb.js → index-DALo6h-z.js} +1 -1
- package/dist/index-DRF0yT-Y.js +26 -0
- package/dist/{index-DgUHgge3.js → index-DScv6Lhe.js} +3 -3
- package/dist/{index-BJyfzYBO.js → index-DUgFd0ON.js} +2 -2
- package/dist/{index-ClnlX2jZ.js → index-DWPgvBzt.js} +1 -1
- package/dist/{index-BaCxUMCF.js → index-Dn7Za3rP.js} +2 -2
- package/dist/{index-DSISN2ys.js → index-H2lP-HBC.js} +2 -2
- package/dist/{index-YlVy61FH.js → index-IAfu2tPO.js} +1 -1
- package/dist/{index-B5HIN-qO.js → index-KnPqm-JT.js} +2 -2
- package/dist/{index-C8ArafDL.js → index-kQi_q492.js} +2 -2
- package/dist/{index-KBj0_MsM.js → index-qKN7-uGo.js} +2 -2
- package/dist/{index-BWEQIjQE.js → index-vOd76hbp.js} +1 -1
- package/dist/{index-B9sZfT3j.js → index-ywxJkkJ_.js} +2 -2
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-BtXKf12F.js → mb-render-jAsNtPqY.js} +21 -15
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js} +1 -8
- package/dist/{pagination-design-D2EHYcDi.js → pagination-design-6xxPBIk-.js} +2 -2
- package/dist/paper-widget-design-CUk1634i.js +4 -0
- package/dist/print-runtime-instance-D8QAHAsd.js +36 -0
- package/dist/print-snapshot-renderer-BDrHYena.js +76 -0
- package/dist/{qrcode-design-_uIcWgfD.js → qrcode-design-CBDd-S2d.js} +1 -1
- package/dist/{revo-grid.entry-h26i-X1O.js → revo-grid.entry-Bygattd8.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DnWhGt3I.js → revogr-attribution_7.entry-BqzhD1hP.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DHP6m3aV.js → revogr-clipboard_3.entry-Wr7KhnJ_.js} +2 -2
- package/dist/{revogr-data_4.entry-CBEPKC2v.js → revogr-data_4.entry-CrFW39f1.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DpaMxMlv.js → revogr-filter-panel.entry-9khS41SL.js} +1 -1
- package/dist/seal-design-DNrW57Za.js +4 -0
- package/dist/{serialnumber-design-KRWMAGLy.js → serialnumber-design-eXgfrjw9.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-yih8_AXA.js → single-field-drop-1eS6_6ko.js} +2 -2
- package/dist/{size-editor-BqOSTI8R.js → size-editor-OEPrJU0W.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 +8 -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/index.d.ts +1 -0
- 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 +3 -0
- 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 +507 -2546
- 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 +1 -14
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +4 -2
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -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-D8KUikPE.js +2118 -0
- package/dist/{text-design-BK_VsTtK.js → text-design-BkvEuU7u.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DadArQT5.js → throttle-Cpk1LoGk-DxTostCa.js} +1 -1
- package/dist/{timediff-design-q-J7ObPi.js → timediff-design-BFf9WtJn.js} +1 -1
- package/dist/{trace-like-wrapper-CtthDv9M.js → trace-like-wrapper-SPo5HVCt.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-B40m6f0M.js → value-editor.vue_vue_type_style_index_0_lang-BzVvcoTa.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-DePyj-oR.js → widget-barcode-B_aUPEfd.js} +4 -4
- package/dist/{widget-diagonal-BoPK84Km.js → widget-diagonal-D32J64HV.js} +3 -3
- package/dist/{widget-image-Bd-hAzWZ.js → widget-image-BOOWwiSe.js} +5 -5
- package/dist/{widget-line-DcQ4GjjX.js → widget-line-xVHcCE1_.js} +2 -2
- package/dist/{widget-pagination-D6IFtegJ.js → widget-pagination-B0Bq_gL5.js} +5 -5
- package/dist/{widget-power-dAEtqR3T.js → widget-power-TNCB2u1G.js} +3 -3
- package/dist/{widget-qrcode-GkDxu48J.js → widget-qrcode-gVSwYuKp.js} +3 -3
- package/dist/{widget-rangelimit-TRqqVGXL.js → widget-rangelimit-BO7Z_5N9.js} +3 -3
- package/dist/{widget-serialnumber-BdZLWmtI.js → widget-serialnumber-BX83djNf.js} +1 -1
- package/dist/{widget-text-DS8vSuAy.js → widget-text-CIqov_wj.js} +5 -5
- package/dist/{widget-timediff-C1n_nRUs.js → widget-timediff-kFxxm2hM.js} +2 -2
- package/package.json +4 -4
- package/dist/paper-widget-design-Cn1RcpGb.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 -118
|
@@ -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>;
|
|
@@ -2,6 +2,7 @@ import { BaseCoreComponent } from '../types';
|
|
|
2
2
|
export declare function useDependency(widget: BaseCoreComponent.BasicSchema, props: any): {
|
|
3
3
|
value: import('vue').WritableComputedRef<any, any>;
|
|
4
4
|
formRowData: Readonly<import('vue').Ref<any, any>>;
|
|
5
|
-
|
|
5
|
+
formRowPath: import('vue').ComputedRef<string>;
|
|
6
|
+
targetFieldId: string;
|
|
6
7
|
fieldWidget: import('vue').Ref<any, any>;
|
|
7
8
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export declare function useNocodeFormWidget(props: any, emit: any): {
|
|
2
|
-
getValue: () => any;
|
|
3
|
-
setValue: (v: any) => void;
|
|
4
2
|
onChange: (callback?: any, valueData?: any, optionDetail?: any) => Promise<void>;
|
|
5
3
|
onBlur: () => void;
|
|
6
4
|
onPressEnter: () => Promise<void>;
|
|
7
5
|
value: import('vue').WritableComputedRef<any, any>;
|
|
8
|
-
realFieldId: import('vue').ComputedRef<string
|
|
6
|
+
realFieldId: import('vue').ComputedRef<string>;
|
|
7
|
+
formStateChangePath: import('vue').ComputedRef<string>;
|
|
9
8
|
annotationInfo: import('vue').ComputedRef<false | {
|
|
10
9
|
annClassList: string[];
|
|
11
|
-
annFieldId: string
|
|
10
|
+
annFieldId: string;
|
|
12
11
|
showValidatorClass: boolean;
|
|
13
12
|
}>;
|
|
14
13
|
isDynValue: import('vue').ComputedRef<boolean>;
|
|
14
|
+
setRowField: (fieldKey: string, value: any, source: import('..').FormStateMutationSource) => void;
|
|
15
|
+
patchRow: (values: Record<string, any>, source: import('..').FormStateMutationSource) => void;
|
|
16
|
+
getRowFieldPath: (fieldKey: string) => string;
|
|
17
|
+
markRowFieldUserModified: (fieldKey: string) => void;
|
|
15
18
|
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export declare function mergeMarkedTd(): void;
|
|
2
|
-
|
|
1
|
+
export declare function mergeMarkedTd(root?: ParentNode): void;
|
|
2
|
+
/** 等待页面 DOM 静止后合并;就绪由 whenReady 交付,不再用网络心跳影响 Puppeteer。 */
|
|
3
|
+
export declare function waitDomStable(el: HTMLElement, idle?: number, timeout?: number): Promise<void>;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
export declare enum EmitterEnum {
|
|
2
|
-
/** 打开单个批注详情 */
|
|
3
|
-
__on__open_single_annotation_detail_ = "__on__open_single_annotation_detail_",
|
|
4
|
-
/** 更新页面 */
|
|
5
|
-
__on__update_page_dom_ = "__on__update_page_dom_",
|
|
6
2
|
/** 电子批记录选择单据实例id */
|
|
7
|
-
__on_select_ebr_doc_instance_id = "__on_select_ebr_doc_instance_id"
|
|
8
|
-
/** 循环自动保存 */
|
|
9
|
-
__on_looper_auto_save = "__on_looper_auto_save",
|
|
10
|
-
/** 电子批记录比对formstate */
|
|
11
|
-
__on_diff_ebr_form_state = "__on_diff_ebr_form_state"
|
|
3
|
+
__on_select_ebr_doc_instance_id = "__on_select_ebr_doc_instance_id"
|
|
12
4
|
}
|
|
13
5
|
export declare function useNocodeEmitter(): {
|
|
14
6
|
emitter: import('../../../shared/utils/mitt').Emitter<Record<import('../../../shared/utils/mitt').EventType, unknown>>;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { MobileFillTypeEnum } from '../constant';
|
|
2
|
-
import { BaseCoreComponent, IBasicInfoItem,
|
|
3
|
-
|
|
4
|
-
export declare function useCurrentPageFormState(): {
|
|
5
|
-
currentPageFormState: import('vue').ComputedRef<any>;
|
|
6
|
-
};
|
|
2
|
+
import { BaseCoreComponent, IBasicInfoItem, ITd, ICheckTable2DInfo } from '../types';
|
|
3
|
+
import { RuntimeInstanceEventBus } from '../runtime';
|
|
7
4
|
/** 获取组件静态属性 */
|
|
8
5
|
export declare function useWidgetStaticAttrs(widget: any): {
|
|
9
6
|
field: any;
|
|
@@ -14,7 +11,7 @@ export declare function useWidgetStaticAttrs(widget: any): {
|
|
|
14
11
|
refModelKey: any;
|
|
15
12
|
isFieldModel: any;
|
|
16
13
|
fieldLink: any;
|
|
17
|
-
targetFieldId:
|
|
14
|
+
targetFieldId: string;
|
|
18
15
|
placeholder: any;
|
|
19
16
|
bindCompStyleType: any;
|
|
20
17
|
/** 字段名称 */
|
|
@@ -22,11 +19,11 @@ export declare function useWidgetStaticAttrs(widget: any): {
|
|
|
22
19
|
/** 字段所属模型名称 */
|
|
23
20
|
showModelName: any;
|
|
24
21
|
/** 是否必填 */
|
|
25
|
-
showRequired: import('vue').
|
|
22
|
+
showRequired: import('vue').ComputedRef<boolean>;
|
|
26
23
|
/** 是否禁用 */
|
|
27
|
-
showDisabled: import('vue').ComputedRef<
|
|
24
|
+
showDisabled: import('vue').ComputedRef<boolean>;
|
|
28
25
|
/** 显示状态 */
|
|
29
|
-
showDisplayStatus: import('vue').ComputedRef<
|
|
26
|
+
showDisplayStatus: import('vue').ComputedRef<string>;
|
|
30
27
|
/** 下拉列表 */
|
|
31
28
|
options: any;
|
|
32
29
|
/** 附件、图片配置项 */
|
|
@@ -59,23 +56,10 @@ export declare function useWidgetStaticAttrs(widget: any): {
|
|
|
59
56
|
/** 序列号 */
|
|
60
57
|
newSnNo: any;
|
|
61
58
|
};
|
|
62
|
-
/** 公式计算 */
|
|
63
|
-
export declare function useCalculateFormula(): {
|
|
64
|
-
identify: (...args: any[]) => string[];
|
|
65
|
-
getParseFormulaVarInfos: (expr?: string) => {
|
|
66
|
-
rowArgs: string[];
|
|
67
|
-
parseInfos: IParseFormulaVar[];
|
|
68
|
-
};
|
|
69
|
-
calculateFormula: (expr: string, formData: any, currentPageFormState: any) => Promise<any>;
|
|
70
|
-
getMergeParseInfos: (options: {
|
|
71
|
-
minFormulaExpr: string;
|
|
72
|
-
maxFormulaExpr: string;
|
|
73
|
-
}) => IParseFormulaVar[];
|
|
74
|
-
};
|
|
75
59
|
/** 选择批注 id;传入 event 且点在三角上时,汇总同格/组合字段内全部变更坐标 */
|
|
76
|
-
export declare function setSelectAnnotationId(id: string | undefined, basicInfoItem: IBasicInfoItem | undefined, event?: MouseEvent): void;
|
|
60
|
+
export declare function setSelectAnnotationId(id: string | undefined, basicInfoItem: IBasicInfoItem | undefined, event?: MouseEvent, eventBus?: RuntimeInstanceEventBus): void;
|
|
77
61
|
/** 关闭所有校验 Popover,避免旧锚点残留导致位置漂移 */
|
|
78
|
-
export declare function closeValidatorPopovers(): void;
|
|
62
|
+
export declare function closeValidatorPopovers(uniqueId: string): void;
|
|
79
63
|
/** 选择校验错误信息id */
|
|
80
64
|
export declare function setSelectValidatorId(event: MouseEvent, basicInfoItem: IBasicInfoItem | undefined): void;
|
|
81
65
|
/** 选择移动端tdId */
|
|
@@ -1,77 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { FormChangeRowDetailMeta } from './annotation/form-change-row';
|
|
6
|
-
export interface IProps {
|
|
7
|
-
/** 模板实例id或者模板id */
|
|
8
|
-
selfId: string | string[] | undefined;
|
|
9
|
-
/** 批次号 */
|
|
10
|
-
materialNo?: string;
|
|
11
|
-
/** 查询条件 */
|
|
12
|
-
query?: Record<string, any>;
|
|
13
|
-
}
|
|
14
|
-
interface ITemplatePayload {
|
|
15
|
-
/** 渲染模式类型 */
|
|
16
|
-
renderModeType?: RenderModeEnum;
|
|
17
|
-
}
|
|
18
|
-
interface IInstancePayload {
|
|
19
|
-
/** 是否是详情页面 */
|
|
20
|
-
isDetailPage?: boolean | Function;
|
|
21
|
-
/** 获取按钮显示规则 */
|
|
22
|
-
getBtnDisplayRules?: boolean | Function;
|
|
23
|
-
/** 组件传进来的参数 */
|
|
24
|
-
paramExtraProps?: Record<string, any>;
|
|
25
|
-
}
|
|
26
|
-
interface IDeviceConfig {
|
|
27
|
-
/** 默认的用户id */
|
|
28
|
-
defaultUserId: string | undefined;
|
|
29
|
-
/** 默认的部门id */
|
|
30
|
-
defaultOrgId: string | undefined;
|
|
31
|
-
/** 默认的物料查询条件 */
|
|
32
|
-
defaultProductSearchFields: string;
|
|
33
|
-
}
|
|
34
|
-
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
35
|
-
/** 工厂类型 */
|
|
36
|
-
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
37
|
-
/** 请求接口函数 */
|
|
38
|
-
requestCallback: Function;
|
|
39
|
-
/** 平台参数类型 */
|
|
40
|
-
platformType: PlatformEnum;
|
|
41
|
-
/** 是否是模拟填报 */
|
|
42
|
-
isMockReport: boolean;
|
|
43
|
-
/** 设备配置信息 */
|
|
44
|
-
deviceConfig?: IDeviceConfig;
|
|
45
|
-
/**所有数据更新加载完后 */
|
|
46
|
-
onFinisher?: Function;
|
|
47
|
-
/**表单打印方法 */
|
|
48
|
-
formPrint?: Function;
|
|
49
|
-
/** 初始化加载数据之后 */
|
|
50
|
-
afterProcessData?: Function;
|
|
51
|
-
}
|
|
1
|
+
import { IBasicInfoItem } from '../types';
|
|
2
|
+
import { RuntimeInstanceRegistry } from '../runtime';
|
|
3
|
+
import { IProps, IPayload } from './render-page/types';
|
|
4
|
+
export type { IProps, IPayload } from './render-page/types';
|
|
52
5
|
export declare function useRenderPageFactory(props: IProps, payload: IPayload): {
|
|
53
6
|
counter: import('vue').Ref<number, number>;
|
|
54
7
|
finisher: import('vue').Ref<number, number>;
|
|
55
|
-
loading: import('vue').
|
|
56
|
-
|
|
57
|
-
pageDataMap: import('vue').Ref<Record<string, IPageData[]>, Record<string, IPageData[]>>;
|
|
58
|
-
formStateMap: import('vue').Ref<Record<string, Record<string, any>>, Record<string, Record<string, any>>>;
|
|
59
|
-
defaultDataMap: import('vue').Ref<Record<string, any>, Record<string, any>>;
|
|
8
|
+
loading: import('vue').ComputedRef<boolean>;
|
|
9
|
+
runtimeRegistry: RuntimeInstanceRegistry;
|
|
60
10
|
basicInfoList: import('vue').Ref<{
|
|
61
11
|
key: string;
|
|
62
12
|
tid: string;
|
|
63
13
|
uniqueId: string;
|
|
64
14
|
modelKey: string;
|
|
65
|
-
formType: FormTypeEnum;
|
|
66
|
-
platformType: PlatformEnum;
|
|
15
|
+
formType: import('..').FormTypeEnum;
|
|
16
|
+
platformType: import('..').PlatformEnum;
|
|
67
17
|
posType?: import('..').PosEnum | undefined;
|
|
68
|
-
renderModeType: RenderModeEnum;
|
|
69
|
-
btnRenderModeType: RenderModeEnum;
|
|
18
|
+
renderModeType: import('..').RenderModeEnum;
|
|
19
|
+
btnRenderModeType: import('..').RenderModeEnum;
|
|
70
20
|
isMockReport: boolean;
|
|
71
21
|
gct_stashData: boolean;
|
|
72
|
-
bpmnType?: BpmnNodeTypeEnum | undefined;
|
|
22
|
+
bpmnType?: import('..').BpmnNodeTypeEnum | undefined;
|
|
73
23
|
bpmnFieldAuthMap?: Record<string, import('../types/common/base').IBpmnFieldAuthItem> | undefined;
|
|
74
|
-
eventInstance?: any;
|
|
75
24
|
formChangeStatus: boolean;
|
|
76
25
|
formChangeOriginData: Record<string, any>;
|
|
77
26
|
formChangeNewData: Record<string, any>;
|
|
@@ -79,6 +28,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
79
28
|
annCellLocationList: Array<string>;
|
|
80
29
|
annSelectId?: string | string[] | undefined;
|
|
81
30
|
annRowDetails?: {
|
|
31
|
+
sheetId?: string | undefined;
|
|
82
32
|
cellLocation: string;
|
|
83
33
|
cellType: string;
|
|
84
34
|
op: "ADD" | "DEL";
|
|
@@ -95,7 +45,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
95
45
|
mobileSelectTdId?: string | undefined;
|
|
96
46
|
contentHighlight: Record<string, any>;
|
|
97
47
|
productSearchFields: string;
|
|
98
|
-
|
|
48
|
+
renderPurpose?: "print" | "pdf" | undefined;
|
|
99
49
|
showPrintFieldBg?: boolean | undefined;
|
|
100
50
|
paramsConfig?: Record<string, any> | undefined;
|
|
101
51
|
instanceStatus?: string | undefined;
|
|
@@ -104,16 +54,15 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
104
54
|
tid: string;
|
|
105
55
|
uniqueId: string;
|
|
106
56
|
modelKey: string;
|
|
107
|
-
formType: FormTypeEnum;
|
|
108
|
-
platformType: PlatformEnum;
|
|
57
|
+
formType: import('..').FormTypeEnum;
|
|
58
|
+
platformType: import('..').PlatformEnum;
|
|
109
59
|
posType?: import('..').PosEnum | undefined;
|
|
110
|
-
renderModeType: RenderModeEnum;
|
|
111
|
-
btnRenderModeType: RenderModeEnum;
|
|
60
|
+
renderModeType: import('..').RenderModeEnum;
|
|
61
|
+
btnRenderModeType: import('..').RenderModeEnum;
|
|
112
62
|
isMockReport: boolean;
|
|
113
63
|
gct_stashData: boolean;
|
|
114
|
-
bpmnType?: BpmnNodeTypeEnum | undefined;
|
|
64
|
+
bpmnType?: import('..').BpmnNodeTypeEnum | undefined;
|
|
115
65
|
bpmnFieldAuthMap?: Record<string, import('../types/common/base').IBpmnFieldAuthItem> | undefined;
|
|
116
|
-
eventInstance?: any;
|
|
117
66
|
formChangeStatus: boolean;
|
|
118
67
|
formChangeOriginData: Record<string, any>;
|
|
119
68
|
formChangeNewData: Record<string, any>;
|
|
@@ -121,6 +70,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
121
70
|
annCellLocationList: Array<string>;
|
|
122
71
|
annSelectId?: string | string[] | undefined;
|
|
123
72
|
annRowDetails?: {
|
|
73
|
+
sheetId?: string | undefined;
|
|
124
74
|
cellLocation: string;
|
|
125
75
|
cellType: string;
|
|
126
76
|
op: "ADD" | "DEL";
|
|
@@ -137,31 +87,51 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
137
87
|
mobileSelectTdId?: string | undefined;
|
|
138
88
|
contentHighlight: Record<string, any>;
|
|
139
89
|
productSearchFields: string;
|
|
140
|
-
|
|
90
|
+
renderPurpose?: "print" | "pdf" | undefined;
|
|
141
91
|
showPrintFieldBg?: boolean | undefined;
|
|
142
92
|
paramsConfig?: Record<string, any> | undefined;
|
|
143
93
|
instanceStatus?: string | undefined;
|
|
144
94
|
}[]>;
|
|
145
|
-
selfInfoList: import('vue').Ref<
|
|
146
|
-
|
|
147
|
-
|
|
95
|
+
selfInfoList: import('vue').Ref<{
|
|
96
|
+
[x: string]: any;
|
|
97
|
+
formType: import('..').FormTypeEnum;
|
|
98
|
+
viewType: import('..').ViewTypeEnum;
|
|
99
|
+
modelKey: string;
|
|
100
|
+
bindKey?: string | undefined;
|
|
101
|
+
}[], ({
|
|
102
|
+
formType: import('..').FormTypeEnum;
|
|
103
|
+
viewType: import('..').ViewTypeEnum;
|
|
104
|
+
modelKey: string;
|
|
105
|
+
bindKey?: string;
|
|
106
|
+
} & Record<string, any>)[] | {
|
|
107
|
+
[x: string]: any;
|
|
108
|
+
formType: import('..').FormTypeEnum;
|
|
109
|
+
viewType: import('..').ViewTypeEnum;
|
|
110
|
+
modelKey: string;
|
|
111
|
+
bindKey?: string | undefined;
|
|
112
|
+
}[]>;
|
|
148
113
|
hasData: import('vue').ComputedRef<boolean>;
|
|
149
|
-
findFormInsInfo: (id: string) =>
|
|
114
|
+
findFormInsInfo: (id: string) => {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
formType: import('..').FormTypeEnum;
|
|
117
|
+
viewType: import('..').ViewTypeEnum;
|
|
118
|
+
modelKey: string;
|
|
119
|
+
bindKey?: string | undefined;
|
|
120
|
+
} | undefined;
|
|
150
121
|
findBasicInsInfo: (id: string) => {
|
|
151
122
|
key: string;
|
|
152
123
|
tid: string;
|
|
153
124
|
uniqueId: string;
|
|
154
125
|
modelKey: string;
|
|
155
|
-
formType: FormTypeEnum;
|
|
156
|
-
platformType: PlatformEnum;
|
|
126
|
+
formType: import('..').FormTypeEnum;
|
|
127
|
+
platformType: import('..').PlatformEnum;
|
|
157
128
|
posType?: import('..').PosEnum | undefined;
|
|
158
|
-
renderModeType: RenderModeEnum;
|
|
159
|
-
btnRenderModeType: RenderModeEnum;
|
|
129
|
+
renderModeType: import('..').RenderModeEnum;
|
|
130
|
+
btnRenderModeType: import('..').RenderModeEnum;
|
|
160
131
|
isMockReport: boolean;
|
|
161
132
|
gct_stashData: boolean;
|
|
162
|
-
bpmnType?: BpmnNodeTypeEnum | undefined;
|
|
133
|
+
bpmnType?: import('..').BpmnNodeTypeEnum | undefined;
|
|
163
134
|
bpmnFieldAuthMap?: Record<string, import('../types/common/base').IBpmnFieldAuthItem> | undefined;
|
|
164
|
-
eventInstance?: any;
|
|
165
135
|
formChangeStatus: boolean;
|
|
166
136
|
formChangeOriginData: Record<string, any>;
|
|
167
137
|
formChangeNewData: Record<string, any>;
|
|
@@ -169,6 +139,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
169
139
|
annCellLocationList: Array<string>;
|
|
170
140
|
annSelectId?: string | string[] | undefined;
|
|
171
141
|
annRowDetails?: {
|
|
142
|
+
sheetId?: string | undefined;
|
|
172
143
|
cellLocation: string;
|
|
173
144
|
cellType: string;
|
|
174
145
|
op: "ADD" | "DEL";
|
|
@@ -185,29 +156,22 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
185
156
|
mobileSelectTdId?: string | undefined;
|
|
186
157
|
contentHighlight: Record<string, any>;
|
|
187
158
|
productSearchFields: string;
|
|
188
|
-
|
|
159
|
+
renderPurpose?: "print" | "pdf" | undefined;
|
|
189
160
|
showPrintFieldBg?: boolean | undefined;
|
|
190
161
|
paramsConfig?: Record<string, any> | undefined;
|
|
191
162
|
instanceStatus?: string | undefined;
|
|
192
163
|
} | undefined;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
/** 是否通过校验 */
|
|
197
|
-
isValid: boolean;
|
|
198
|
-
fields?: ValidateFieldErrorMap;
|
|
199
|
-
} | undefined>;
|
|
200
|
-
getFormState: (uniqueId: any) => Partial<{}>;
|
|
201
|
-
setFromEditStatus: (uniqueId: any) => Promise<boolean>;
|
|
202
|
-
setAnnotationViewStatus: (uniqueId: any, status: any, config?: string[] | {
|
|
164
|
+
updateRenderModeType: (uniqueId: string, mode: import('..').RenderModeEnum, updateButton?: boolean) => Promise<void>;
|
|
165
|
+
setFromEditStatus: (uniqueId: string) => Promise<boolean>;
|
|
166
|
+
setAnnotationViewStatus: (uniqueId: string, status: boolean, config?: string[] | {
|
|
203
167
|
locations?: string[];
|
|
204
|
-
rowDetails?: FormChangeRowDetailMeta[];
|
|
168
|
+
rowDetails?: import('./annotation').FormChangeRowDetailMeta[];
|
|
205
169
|
}) => boolean;
|
|
206
|
-
setFormChangeRowViewDetails: (uniqueId: string, rowDetails?: FormChangeRowDetailMeta[] | null
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
170
|
+
setFormChangeRowViewDetails: (uniqueId: string, rowDetails?: import('./annotation').FormChangeRowDetailMeta[] | null) => Promise<boolean>;
|
|
171
|
+
navigateRuntimeLocation: (uniqueId: string, target: import('..').RuntimeNavigationTarget) => Promise<boolean>;
|
|
172
|
+
normalizeAnnotationLocation: (uniqueId: string, path: string, sheetId?: string) => string;
|
|
173
|
+
getAnnotationContentList: (uniqueId: string, options?: {}) => any[];
|
|
174
|
+
quickSearchRenderData: (uniqueId: string, currentSelfInfo: import('./render-page/types').RuntimeSelfInfo, saveToken?: import('..').RuntimeSaveToken) => Promise<boolean>;
|
|
175
|
+
getAppendixInfos: (uniqueId: string, types?: any[]) => string[];
|
|
176
|
+
getPdfInfos: (uniqueId: string) => any;
|
|
212
177
|
};
|
|
213
|
-
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RuntimeEditorFlusher } from '../runtime/runtime-instance-controller';
|
|
2
|
+
type RuntimeInstanceIdSource = () => string | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* 组件获取实例配置、控制器和共享服务的统一入口,按需解构返回的 computed 引用。
|
|
5
|
+
* 默认从字段上下文取实例 ID;宿主或纸张组件可传入 ID getter,跟随 props 切换。
|
|
6
|
+
* 所有引用共享一次实例解析,服务仍由 Registry 创建和销毁,Hook 只负责读取。
|
|
7
|
+
*/
|
|
8
|
+
export declare function useRuntimeInstanceServices(uniqueIdSource?: RuntimeInstanceIdSource): {
|
|
9
|
+
instance: import('vue').ComputedRef<import('..').RuntimeInstanceRecord | undefined>;
|
|
10
|
+
/** 控制器负责 Sheet 切换、编辑器收口和提交;尚未挂载时为空。 */
|
|
11
|
+
controller: import('vue').ComputedRef<import('..').RuntimeInstanceController | undefined>;
|
|
12
|
+
/** 表单级配置独立于 Sheet 的 paper;实例未注册时提供空配置。 */
|
|
13
|
+
formConfig: import('vue').ComputedRef<Record<string, any>>;
|
|
14
|
+
/** 实例切换时重新取对应 Store;读取数据使用 .value.state,写入使用 Store 方法。 */
|
|
15
|
+
formStateStore: import('vue').ComputedRef<import('..').RuntimeFormStateStore | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* 实例级异步任务协调器:上传、扫码和远程回填通过 .value.run() 登记任务。
|
|
18
|
+
* 同 key 的新任务使旧结果失效;提交前等待 required 任务,所有 Sheet 共用同一份。
|
|
19
|
+
*/
|
|
20
|
+
asyncTasks: import('vue').ComputedRef<import('..').RuntimeAsyncTaskCoordinator | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* 实例级联动调度器:监听 Store 变更,统一执行公式、赋值及条件必填/禁用规则。
|
|
23
|
+
* 组件通过 .value.getOutput() 读取条件结果,未挂载的 Sheet 也参与联动计算。
|
|
24
|
+
*/
|
|
25
|
+
dependencies: import('vue').ComputedRef<import('..').RuntimeDependencyService | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* 实例级字段注册表:按模型 + 字段身份查询控件及其 Sheet、节点和数据路径。
|
|
28
|
+
* 供校验、联动、分页失效及导航定位使用;只维护位置索引,不保存填报数据或错误。
|
|
29
|
+
*/
|
|
30
|
+
fields: import('vue').ComputedRef<import('..').RuntimeFieldRegistry | undefined>;
|
|
31
|
+
/** 分页与业务位置导航共用同一实例服务。 */
|
|
32
|
+
sheetService: import('vue').ComputedRef<import('..').RuntimeSheetService | undefined>;
|
|
33
|
+
/** 暂存与提交共享同一协调器,实例替换时整体切换。 */
|
|
34
|
+
persistence: import('vue').ComputedRef<import('..').RuntimePersistenceCoordinator | undefined>;
|
|
35
|
+
/** 校验规则及调度由当前实例持有,签名和失焦校验直接调用此服务。 */
|
|
36
|
+
validation: import('vue').ComputedRef<import('..').RuntimeValidationService | undefined>;
|
|
37
|
+
/** 实例共享的业务 BOM 控制器,打印副本持有独立展示控制器。 */
|
|
38
|
+
tmplBomController: import('vue').ComputedRef<import('./material-consume').FormTmplBomController | undefined>;
|
|
39
|
+
/** 当前实例的 UI 事件总线,批注等展示事件不会跨实例传播。 */
|
|
40
|
+
events: import('vue').ComputedRef<import('..').RuntimeInstanceEventBus | undefined>;
|
|
41
|
+
};
|
|
42
|
+
/** 注册需要在 Sheet 切换前提交内部状态的编辑器 */
|
|
43
|
+
export declare function useRuntimeEditorFlusher(flusher: RuntimeEditorFlusher): void;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormStateMutationSource } from '../runtime/runtime-form-state-store';
|
|
2
|
+
/** 字段组件和业务辅助函数共用的显式行写入口,调用时必须声明修改来源。 */
|
|
3
|
+
export interface RuntimeRowWriter {
|
|
4
|
+
setRowField(fieldKey: string, value: any, source: FormStateMutationSource): void;
|
|
5
|
+
patchRow(values: Record<string, any>, source: FormStateMutationSource): void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 组件只读取 formData,写入通过此 Hook
|
|
9
|
+
* 每次调用都重新读取当前行和实例,避免动态表换行或草稿恢复后继续修改旧对象
|
|
10
|
+
*/
|
|
11
|
+
export declare function useRuntimeRowState(rowSource: () => Record<string, any>): {
|
|
12
|
+
setRowField: (fieldKey: string, value: any, source: FormStateMutationSource) => void;
|
|
13
|
+
patchRow: (values: Record<string, any>, source: FormStateMutationSource) => void;
|
|
14
|
+
getRowFieldPath: (fieldKey: string) => string;
|
|
15
|
+
markRowFieldUserModified: (fieldKey: string) => void;
|
|
16
|
+
};
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
1
|
+
import { FormRuleAttach } from './types';
|
|
2
|
+
/** 公式校验器通过 rule 取得当前行,仅保留稳定行定位信息。 */
|
|
3
3
|
export type AttachRuleContext = {
|
|
4
|
-
_belongFieldId?: string;
|
|
5
|
-
_optionValue?: any;
|
|
6
|
-
_multiple?: boolean;
|
|
7
4
|
_subtableFieldId?: string;
|
|
8
|
-
|
|
9
|
-
_childSubTableDataIndex?: number;
|
|
5
|
+
_rowKey?: string;
|
|
10
6
|
};
|
|
11
7
|
/** 取规则对应的当前行 / 主表 formData */
|
|
12
8
|
export declare function getCurrentFormData(_rule: AttachRuleContext, options: {
|
|
13
9
|
formData?: any;
|
|
14
10
|
}): any;
|
|
15
|
-
/** 从 rule 或 meta.attach 解析上下文 */
|
|
16
|
-
export declare function resolveAttachContext(rule: AttachRuleContext | undefined, metaAttach?: FormRuleMeta['attach']): AttachRuleContext | undefined;
|
|
17
11
|
/** 引用字段是否处于激活选项下 */
|
|
18
|
-
export declare function isAttachFieldActive(
|
|
12
|
+
export declare function isAttachFieldActive(attach: FormRuleAttach | null | undefined, formData: Record<string, any> | undefined): boolean;
|
|
19
13
|
/** 当前行数据下引用字段是否应对用户呈现 */
|
|
20
14
|
export declare function isReferenceOptionActive(referenceInfo: {
|
|
21
15
|
belongFieldId?: string;
|
|
@@ -18,7 +18,8 @@ export declare function mergeSubmitValidation(current: ValidationCommentMap, sub
|
|
|
18
18
|
/** 子表结构变更后,去掉已失效 path 的错误态 */
|
|
19
19
|
export declare function pruneValidationComments(current: ValidationCommentMap, validPaths: Set<string>): ValidationCommentMap;
|
|
20
20
|
/**
|
|
21
|
-
* display 合并:按本轮 validatedPaths 更新;清掉已卸载 path
|
|
21
|
+
* display 合并:按本轮 validatedPaths 更新;清掉已卸载 path。
|
|
22
|
+
* 可编辑字段的必填错误由提交校验产生,空值在 display/change 模式下不会重跑 manual 规则。
|
|
22
23
|
*/
|
|
23
|
-
export declare function mergeDisplayValidation(current: ValidationCommentMap, displayResult: ValidationCommentMap, ruleKeys: string[], validatedPaths: string[]): ValidationCommentMap;
|
|
24
|
+
export declare function mergeDisplayValidation(current: ValidationCommentMap, displayResult: ValidationCommentMap, ruleKeys: string[], validatedPaths: string[], resolvePayload: ResolvePayload): ValidationCommentMap;
|
|
24
25
|
export {};
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ValidationRunMode, ValidateResult } from './types';
|
|
1
|
+
import { ValidationRunMode, ValidateResult, FormRuleEntry } from './types';
|
|
3
2
|
type RunValidationOptions = {
|
|
3
|
+
entries: ReadonlyMap<string, FormRuleEntry>;
|
|
4
4
|
mode?: ValidationRunMode;
|
|
5
5
|
/** 表单级 keepExceptionHighlight */
|
|
6
6
|
keepExceptionHighlight?: boolean | null;
|
|
7
|
+
/** 可选的目标字段路径;未传时校验当前表单的全部已注册字段 */
|
|
8
|
+
paths?: Iterable<string>;
|
|
7
9
|
};
|
|
8
10
|
/**
|
|
9
11
|
* 按 mode 过滤规则并执行 async-validator
|
|
10
12
|
*/
|
|
11
|
-
export declare function runValidation(formData: Record<string, any>,
|
|
12
|
-
/** 供 merge 使用:取某 path 当前值与规则 */
|
|
13
|
-
export declare function resolvePayloadForPath(path: string, flatData: Record<string, any>): {
|
|
14
|
-
value: any;
|
|
15
|
-
rules: any[];
|
|
16
|
-
} | null;
|
|
13
|
+
export declare function runValidation(formData: Record<string, any>, options: RunValidationOptions): Promise<ValidateResult>;
|
|
17
14
|
export {};
|
|
@@ -12,20 +12,22 @@ export type ValidateTrigger = 'change' | 'blur' | 'manual';
|
|
|
12
12
|
* - display: 展示用(只读含必填;可编辑不含必填),不拦提交
|
|
13
13
|
*/
|
|
14
14
|
export type ValidationRunMode = ValidateTrigger | 'all' | 'display';
|
|
15
|
+
export interface FormRuleAttach {
|
|
16
|
+
belongFieldId: string;
|
|
17
|
+
optionValue: any;
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
subtableFieldId?: string;
|
|
20
|
+
rowKey?: string;
|
|
21
|
+
/** 嵌套引用条件从内层向外层串联,任一未激活就跳过当前字段。 */
|
|
22
|
+
parent?: FormRuleAttach;
|
|
23
|
+
}
|
|
15
24
|
export type FormRuleMeta = {
|
|
16
25
|
/** 禁用 / 只读,不可编辑 */
|
|
17
26
|
blocked: boolean;
|
|
18
27
|
/** 字段级:是否在 display 时保留异常标红;未配置时跟随表单 */
|
|
19
28
|
keepExceptionHighlight?: boolean;
|
|
20
29
|
/** 布尔/枚举引用字段附着上下文(门禁用,不依赖 rule 对象上的挂载字段) */
|
|
21
|
-
attach?:
|
|
22
|
-
belongFieldId: string;
|
|
23
|
-
optionValue: any;
|
|
24
|
-
multiple?: boolean;
|
|
25
|
-
subtableFieldId?: string;
|
|
26
|
-
realRowIndex?: number;
|
|
27
|
-
childSubTableDataIndex?: number;
|
|
28
|
-
} | null;
|
|
30
|
+
attach?: FormRuleAttach | null;
|
|
29
31
|
};
|
|
30
32
|
export type ValidateResult = {
|
|
31
33
|
isValid: boolean;
|
|
@@ -42,3 +44,8 @@ export type ValidateResult = {
|
|
|
42
44
|
flatData?: Record<string, any>;
|
|
43
45
|
};
|
|
44
46
|
export type ValidationCommentMap = Record<string, any[]> | null;
|
|
47
|
+
/** 实例编译器原子发布的一条字段规则及门禁元数据。 */
|
|
48
|
+
export interface FormRuleEntry {
|
|
49
|
+
rules: any[];
|
|
50
|
+
meta: FormRuleMeta;
|
|
51
|
+
}
|
|
@@ -9,6 +9,12 @@ export declare const rangeCompareMessage: (op: RangeCompareOp, val: any) => stri
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const toUnixTimestamp: (input: any) => number | null;
|
|
11
11
|
export declare const buildError: (validatorInfo: any, message: string) => string;
|
|
12
|
+
/**
|
|
13
|
+
* 比较错误内容时显式包含 message:async-validator 的公式规则可能返回原生 Error,
|
|
14
|
+
* 其 message 不可枚举,直接 JSON.stringify 会漏掉变化后的上下限文案。
|
|
15
|
+
* 普通字段和业务校验共用此比较,保留字段及其他错误信息原有的变化判断。
|
|
16
|
+
*/
|
|
17
|
+
export declare function areValidationCommentsEqual(left: any[] | undefined, right: any[] | undefined): boolean;
|
|
12
18
|
export declare const createRule: (validator: Function, message: string, trigger?: ValidateTrigger) => {
|
|
13
19
|
required: boolean;
|
|
14
20
|
validator: Function;
|
|
@@ -33,5 +33,5 @@ export declare const calcUtils: {
|
|
|
33
33
|
pageListRecursion: (realDealWithList: Array<IDealWithItem | IDealWithItem[]>, maxHeight: number) => IPageItem[];
|
|
34
34
|
/** 获取分页数据列表 */
|
|
35
35
|
getPageData: (pageList: any, baseMarketObj: any) => IPageData[];
|
|
36
|
-
initCalc: (runtimeJson: any, formState: any) =>
|
|
36
|
+
initCalc: (runtimeJson: any, formState: any) => any;
|
|
37
37
|
};
|
|
@@ -16,6 +16,9 @@ export interface ICheckDsFetchResult {
|
|
|
16
16
|
data: any[];
|
|
17
17
|
}
|
|
18
18
|
type CheckDsRuntimeContext = {
|
|
19
|
+
/** 表单级数据源、模型和脚本配置。 */
|
|
20
|
+
formConfig: Record<string, any>;
|
|
21
|
+
/** 当前 Sheet 的检验表结构与行坐标。 */
|
|
19
22
|
paper: any;
|
|
20
23
|
instanceId: string;
|
|
21
24
|
cloneRuntimeJson: Record<string, any>;
|
|
@@ -32,14 +35,13 @@ export declare function getCheckTableSnapshotKey(checkInfo: ICheckTable2DInfo):
|
|
|
32
35
|
* @returns 字段映射 + 原始数据;未配置 M08 数据源时返回 null
|
|
33
36
|
*/
|
|
34
37
|
export declare function fetchMedProCheckDsData(payload: {
|
|
35
|
-
|
|
38
|
+
formConfig: Record<string, any>;
|
|
36
39
|
instanceId: string;
|
|
37
40
|
}): Promise<ICheckDsFetchResult | null>;
|
|
38
41
|
/**
|
|
39
42
|
* 非 MedPro + checkDsType = default:按检验计划拉取检验项
|
|
40
43
|
*/
|
|
41
44
|
export declare function fetchCheckDsDataForTable(payload: {
|
|
42
|
-
paper: any;
|
|
43
45
|
instanceId: string;
|
|
44
46
|
checkInfo: ICheckTable2DInfo;
|
|
45
47
|
}): Promise<ICheckDsTableFetchResult | null>;
|
|
@@ -47,7 +49,6 @@ export declare function fetchCheckDsDataForTable(payload: {
|
|
|
47
49
|
* 非 MedPro + checkDsType = custom:按自定义检验项拉取
|
|
48
50
|
*/
|
|
49
51
|
export declare function fetchCustomCheckDsData(payload: {
|
|
50
|
-
paper: any;
|
|
51
52
|
instanceId: string;
|
|
52
53
|
checkInfo: ICheckTable2DInfo;
|
|
53
54
|
}): Promise<ICheckDsTableFetchResult | null>;
|
|
@@ -3,6 +3,8 @@ export declare class CodeRunner {
|
|
|
3
3
|
* 导出方法
|
|
4
4
|
*/
|
|
5
5
|
exports: any;
|
|
6
|
+
/** 实例替换或销毁后禁止再发起脚本事件。 */
|
|
7
|
+
private disposed;
|
|
6
8
|
/**
|
|
7
9
|
* constructor
|
|
8
10
|
* @param runtimeJs 运行时 js
|
|
@@ -16,6 +18,8 @@ export declare class CodeRunner {
|
|
|
16
18
|
* @returns
|
|
17
19
|
*/
|
|
18
20
|
invoke(method: string, ...args: any[]): any;
|
|
21
|
+
/** 释放导出函数及其对表单数据的闭包引用;已开始执行的用户异步脚本由其自身结束。 */
|
|
22
|
+
dispose(): void;
|
|
19
23
|
/**
|
|
20
24
|
* 解析可用函数
|
|
21
25
|
* @param code
|