@gct-paas/excel 0.1.37 → 0.1.39-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/AntdIcon-DCIaV352.js +1108 -0
- package/dist/{BaseComponent-5QpH6Rui.js → BaseComponent-wXAepA6P.js} +18 -1
- package/dist/{VueVideoPlayer-DZh8_F3v.js → VueVideoPlayer-C--qHZWs.js} +2 -2
- package/dist/{align-editor-BTvIuOVN.js → align-editor-BMFoEgQf.js} +1 -1
- package/dist/{barcode-design-D3g_D7hp.js → barcode-design-M3FjUJNm.js} +2 -2
- package/dist/base/index.es.js +2138 -2802
- package/dist/{diagonal-design-BinP4Wlt.js → diagonal-design-C2lATeRX.js} +2 -2
- package/dist/{dynamic-table-action-Ckc4yetB.js → dynamic-table-action-Cm8HO12b.js} +6930 -2773
- 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-CYRNF_U3.js} +51451 -52267
- package/dist/{edit.utils-CXmmCnxE-DDvf_1B1.js → edit.utils-CXmmCnxE-CaZuzVd6.js} +1 -1
- package/dist/excel.css +2472 -1126
- package/dist/{exceljs.min-jNu29iVm.js → exceljs.min-CeIQpaOT.js} +2 -2
- package/dist/{font-editor-B6cYSWqo.js → font-editor-CPn2F_OZ.js} +3 -3
- package/dist/{image-design-kQ2vbtwc.js → image-design-DWjjBFQa.js} +2 -2
- package/dist/{index-O4srBJlA.js → index-B3S5QpVz.js} +22647 -17125
- package/dist/{index-Dg6nmj-a.js → index-B3oqnny_.js} +8 -74
- package/dist/{index-C3HGy13G.js → index-B72KgWBu.js} +1 -1
- package/dist/{index-DgUHgge3.js → index-BEQELF4E.js} +3 -3
- package/dist/{index-DF5irDE9.js → index-BZcapeWR.js} +2 -2
- package/dist/{index-BtZbUJqv.js → index-BatfBVeN.js} +5 -3
- package/dist/{index-B5HIN-qO.js → index-BcpTVyHa.js} +2 -2
- package/dist/{index-Bk8MpwGt.js → index-BrZiEGAB.js} +2 -2
- package/dist/{index-DnLs4s1z.js → index-BuNKNsIb.js} +13 -2
- package/dist/{index-C8ArafDL.js → index-C3GHvYcj.js} +2 -2
- package/dist/{index-BPKmoc5N.js → index-CED1SWU9.js} +2 -2
- package/dist/{index-C1DOk9t-.js → index-CIiCyyBv.js} +1 -1
- package/dist/{index-C91SfhAb.js → index-CNlb3Y3A.js} +1 -1
- package/dist/{index-BNiGRPzJ.js → index-CRGOLDI8.js} +1 -1
- package/dist/{index-DqkJPwx3.js → index-CWmsgguT.js} +3 -3
- package/dist/{index-BqI7r_XC.js → index-C__Qm3ub.js} +2 -2
- package/dist/{index-BJyfzYBO.js → index-CcBF1mOx.js} +2 -2
- package/dist/{index-DSISN2ys.js → index-Cg0trWkY.js} +2 -2
- package/dist/{index-ClnlX2jZ.js → index-ChRhjdl_.js} +1 -1
- package/dist/{index-Dxh55nQw.js → index-ClVsGQoQ.js} +1 -1
- package/dist/{index-DqDGmouR.js → index-CpN3c_Lk.js} +2 -2
- package/dist/{index-C5ESFU7b.js → index-DC8dEMj4.js} +1 -1
- package/dist/{index-BWEQIjQE.js → index-DHPRpllA.js} +1 -1
- package/dist/index-DSSJ8S81.js +26 -0
- package/dist/{index-DCMnBDPA.js → index-DTSHn9ii.js} +432 -237
- package/dist/{index-YlVy61FH.js → index-DdVlAV0_.js} +1 -1
- package/dist/{index-KBj0_MsM.js → index-DhkQma-u.js} +2 -2
- package/dist/{index-CnTC_LFJ.js → index-DqQ2ZxDn.js} +2 -2
- package/dist/{index-CkgB26Uk.js → index-DtS3ze0S.js} +3 -3
- package/dist/{index-D3Oj5SoQ.js → index-DxCN78vg.js} +3 -3
- package/dist/{index-C4tkNDTa.js → index-OIXBBHHu.js} +2 -2
- package/dist/{index-B9sZfT3j.js → index-gra19syg.js} +2 -2
- package/dist/{index-avQcYIlZ.js → index-mA7F37nK.js} +2 -2
- package/dist/{index-Dzydpwhf.js → index-pxBPpLrG.js} +2 -2
- package/dist/{index-BaCxUMCF.js → index-yfTjcRJ8.js} +2 -2
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-BtXKf12F.js → mb-render-BZXw-tG7.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-uXt_kyMo.js} +4 -1041
- package/dist/{pagination-design-D2EHYcDi.js → pagination-design-CCRMgYhc.js} +2 -2
- package/dist/paper-widget-design-BbQeY4Hv.js +4 -0
- package/dist/print-runtime-instance-MA7UVZdA.js +36 -0
- package/dist/print-snapshot-renderer-BavXucNu.js +76 -0
- package/dist/{qrcode-design-_uIcWgfD.js → qrcode-design-BC1PBKf_.js} +1 -1
- package/dist/{revo-grid.entry-h26i-X1O.js → revo-grid.entry-DjiOpHRm.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DnWhGt3I.js → revogr-attribution_7.entry-CDnB9lLs.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DHP6m3aV.js → revogr-clipboard_3.entry-C6O9JrN7.js} +2 -2
- package/dist/{revogr-data_4.entry-CBEPKC2v.js → revogr-data_4.entry-y1feqF9h.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DpaMxMlv.js → revogr-filter-panel.entry-By9rD4Y9.js} +1 -1
- package/dist/seal-design-CN_B6div.js +4 -0
- package/dist/{serialnumber-design-KRWMAGLy.js → serialnumber-design-Bb75HRGq.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-yih8_AXA.js → single-field-drop-BlAQcTBT.js} +3 -3
- package/dist/{size-editor-BqOSTI8R.js → size-editor-BWnv8oH4.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 +124 -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 +1098 -692
- 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-CGELiUkd.js +2118 -0
- package/dist/{text-design-BK_VsTtK.js → text-design-CiWiGhwN.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DadArQT5.js → throttle-Cpk1LoGk-B466AVFI.js} +1 -1
- package/dist/{timediff-design-q-J7ObPi.js → timediff-design-CnCXGLgF.js} +1 -1
- package/dist/{trace-like-wrapper-CtthDv9M.js → trace-like-wrapper-CPFayyjF.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-DyTtWYrg.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-DePyj-oR.js → widget-barcode-DMt5IwNO.js} +4 -4
- package/dist/{widget-diagonal-BoPK84Km.js → widget-diagonal-D073XXKw.js} +4 -4
- package/dist/{widget-image-Bd-hAzWZ.js → widget-image-Bc-6H2uA.js} +5 -5
- package/dist/{widget-line-DcQ4GjjX.js → widget-line-BtfMvVGp.js} +2 -2
- package/dist/{widget-pagination-D6IFtegJ.js → widget-pagination-CIlAAI2a.js} +5 -5
- package/dist/{widget-power-dAEtqR3T.js → widget-power-Bu16c4bS.js} +4 -4
- package/dist/{widget-qrcode-GkDxu48J.js → widget-qrcode-AfILjhmH.js} +3 -3
- package/dist/{widget-rangelimit-TRqqVGXL.js → widget-rangelimit-B-mhBJN4.js} +4 -4
- package/dist/{widget-serialnumber-BdZLWmtI.js → widget-serialnumber-DVoe5bqh.js} +1 -1
- package/dist/{widget-text-DS8vSuAy.js → widget-text-DWNEbQUk.js} +5 -5
- package/dist/{widget-timediff-C1n_nRUs.js → widget-timediff-B2mjc1qy.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
- package/dist/use-namespace-BxkK4ofX.js +0 -77
|
@@ -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>;
|
|
@@ -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 {};
|