@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,27 @@
|
|
|
1
|
+
import { RuntimePrintSnapshot } from './runtime-print-snapshot';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
snapshot: RuntimePrintSnapshot;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
6
|
+
whenReady: () => Promise<void>;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
|
+
sheetsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
9
|
+
record: import('../../../../../nocode-base/src/runtime/runtime-instance-registry').RuntimeInstanceRecord;
|
|
10
|
+
basicInfo: import('../../../../../nocode-base/src').IBasicInfoItem;
|
|
11
|
+
}> & Readonly<{}>, {
|
|
12
|
+
whenReady: () => Promise<void>;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
14
|
+
P: {};
|
|
15
|
+
B: {};
|
|
16
|
+
D: {};
|
|
17
|
+
C: {};
|
|
18
|
+
M: {};
|
|
19
|
+
Defaults: {};
|
|
20
|
+
}, Readonly<{
|
|
21
|
+
record: import('../../../../../nocode-base/src/runtime/runtime-instance-registry').RuntimeInstanceRecord;
|
|
22
|
+
basicInfo: import('../../../../../nocode-base/src').IBasicInfoItem;
|
|
23
|
+
}> & Readonly<{}>, {
|
|
24
|
+
whenReady: () => Promise<void>;
|
|
25
|
+
}, {}, {}, {}, {}> | null;
|
|
26
|
+
}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IBasicInfoItem } from '../../../../../nocode-base/src/types';
|
|
2
|
+
import { RuntimePageCtx } from '../../../../../nocode-base/src/core/types';
|
|
3
|
+
import { RuntimeInstanceRecord } from '../../../../../nocode-base/src/runtime/runtime-instance-registry';
|
|
4
|
+
import { RuntimeInstanceContext } from '../../../../../nocode-base/src/runtime/runtime-context';
|
|
5
|
+
import { RuntimeFieldMetadata } from '../../../../../nocode-base/src/runtime/runtime-field-registry';
|
|
6
|
+
export interface RuntimePrintSnapshot {
|
|
7
|
+
revision: number;
|
|
8
|
+
context: RuntimeInstanceContext;
|
|
9
|
+
formState: Record<string, any>;
|
|
10
|
+
fieldMetadata: RuntimeFieldMetadata;
|
|
11
|
+
dependencyOutputs: Record<string, unknown>;
|
|
12
|
+
basicInfo: IBasicInfoItem;
|
|
13
|
+
pageContexts: RuntimePageCtx[];
|
|
14
|
+
}
|
|
15
|
+
/** 前端 iframe 与服务端 PDF 共用实际分页清单;尺寸来自各 Sheet,不能使用模板顶层纸张字段。 */
|
|
16
|
+
export interface RuntimePrintSheetLayout {
|
|
17
|
+
sheetId: string;
|
|
18
|
+
title: string;
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
pageCount: number;
|
|
22
|
+
}
|
|
23
|
+
export declare function readRuntimePrintSheets(record: RuntimeInstanceRecord): RuntimePrintSheetLayout[];
|
|
24
|
+
export declare function captureRuntimePrintSnapshot(record: RuntimeInstanceRecord, formState: Record<string, any>, revision: number, basicInfo: IBasicInfoItem): RuntimePrintSnapshot;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RuntimeFieldRegistry, RuntimeInstanceContext } from '../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
context: RuntimeInstanceContext;
|
|
4
|
+
/** 全部 Sheet 的字段位置索引,由 RuntimeInstanceRecord 显式传入。 */
|
|
5
|
+
fieldRegistry: RuntimeFieldRegistry;
|
|
6
|
+
switching?: boolean;
|
|
7
|
+
errorPaths?: string[];
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
change: (sheetId: string, event: MouseEvent) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onChange?: ((sheetId: string, event: MouseEvent) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
14
|
+
export default _default;
|
|
@@ -4,19 +4,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
wrapStyle: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
wrapClass: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
viewClass: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
viewStyle: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
noresize: BooleanConstructor;
|
|
@@ -40,19 +40,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
wrapStyle: {
|
|
43
|
-
type: (
|
|
43
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
wrapClass: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
50
|
viewClass: {
|
|
51
|
-
type: (
|
|
51
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
54
|
viewStyle: {
|
|
55
|
-
type: (
|
|
55
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
58
|
noresize: BooleanConstructor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
required?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLImageElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SealPosition } from '../../seal';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
position: SealPosition;
|
|
4
|
+
diameterMm: number;
|
|
5
|
+
surfaceGroup: string;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
design?: boolean;
|
|
10
|
+
passThrough?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {
|
|
16
|
+
dragging: boolean;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
select: () => any;
|
|
25
|
+
move: (position: SealPosition) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
onSelect?: (() => any) | undefined;
|
|
28
|
+
onMove?: ((position: SealPosition) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
visible: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { default as SignSwitcher } from './ui/sign-switcher.vue';
|
|
2
|
-
import { default as SignEditor } from './ui/sign-editor.vue';
|
|
3
2
|
import { default as SignPopoverContent } from './ui/sign-popover-content.vue';
|
|
4
3
|
export * from './types';
|
|
5
4
|
export * from './constant';
|
|
6
5
|
export * from './logic';
|
|
7
|
-
export { SignSwitcher,
|
|
6
|
+
export { SignSwitcher, SignPopoverContent };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SignMode } from '../constant';
|
|
1
|
+
import { PartialSignInfo, SignInfo } from '../types';
|
|
3
2
|
import { FallbackSignTypeEnum, SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
4
3
|
/**
|
|
5
4
|
* 通过账户密码获取签名图片
|
|
@@ -37,18 +36,6 @@ export declare function addSignHistory(opts: {
|
|
|
37
36
|
* @return {*}
|
|
38
37
|
*/
|
|
39
38
|
export declare function completeSignInfo(partial: PartialSignInfo): Promise<SignInfo>;
|
|
40
|
-
/** 打开原有签名弹窗,保留共享组件的公开接口。 */
|
|
41
|
-
export declare function openSignModal(opts: {
|
|
42
|
-
defaultSignMode?: SignMode;
|
|
43
|
-
hiddenSignMode?: boolean;
|
|
44
|
-
fixSignMode?: boolean;
|
|
45
|
-
getSignImgByAccount?: GetSignImgByAccount;
|
|
46
|
-
uploadSignFile?: UploadSignFile;
|
|
47
|
-
disableUserName?: boolean;
|
|
48
|
-
fillUserName?: boolean;
|
|
49
|
-
defaultUserName?: string;
|
|
50
|
-
validateSignature?: (info: SignInfo) => Promise<void> | void;
|
|
51
|
-
}, props?: {}): Promise<SignInfo | undefined>;
|
|
52
39
|
/**
|
|
53
40
|
* 获取预览url地址
|
|
54
41
|
*
|
|
@@ -12,6 +12,8 @@ type __VLS_Props = {
|
|
|
12
12
|
defaultUserName?: string;
|
|
13
13
|
validateSignature?: (info: SignInfo) => Promise<void> | void;
|
|
14
14
|
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
15
|
+
confirmText?: string;
|
|
16
|
+
showCardCancel?: boolean;
|
|
15
17
|
};
|
|
16
18
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
19
|
cancel: () => any;
|
|
@@ -41,9 +43,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
41
43
|
"update:signMode": (value: SignMode) => any;
|
|
42
44
|
}, import('vue').PublicProps, {
|
|
43
45
|
required: boolean;
|
|
46
|
+
disableUserName: boolean;
|
|
44
47
|
fixSignMode: boolean;
|
|
45
48
|
hiddenSignMode: boolean;
|
|
46
|
-
disableUserName: boolean;
|
|
47
49
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
48
50
|
signerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
49
51
|
uploadSignFile?: UploadSignFile;
|
|
@@ -118,9 +120,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
118
120
|
reset?: () => Promise<void> | void;
|
|
119
121
|
}, {}, {}, {}, {
|
|
120
122
|
required: boolean;
|
|
123
|
+
disableUserName: boolean;
|
|
121
124
|
fixSignMode: boolean;
|
|
122
125
|
hiddenSignMode: boolean;
|
|
123
|
-
disableUserName: boolean;
|
|
124
126
|
}> | null;
|
|
125
127
|
}, HTMLDivElement>;
|
|
126
128
|
export default _default;
|
|
@@ -24,9 +24,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
24
24
|
"onUpdate:signMode"?: ((value: SignMode) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
required: boolean;
|
|
27
|
+
disableUserName: boolean;
|
|
27
28
|
fixSignMode: boolean;
|
|
28
29
|
hiddenSignMode: boolean;
|
|
29
|
-
disableUserName: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
31
|
signerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
32
32
|
uploadSignFile?: UploadSignFile;
|
|
@@ -14,8 +14,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
15
|
"onUpdate:value"?: ((value?: string | undefined) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
value: string;
|
|
18
17
|
disabled: boolean;
|
|
18
|
+
value: string;
|
|
19
19
|
defaultSelectedFirst: boolean;
|
|
20
20
|
hiddenNodeKeys: string[];
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -171,6 +171,8 @@ export declare enum FIELD_TYPE {
|
|
|
171
171
|
* 签名
|
|
172
172
|
*/
|
|
173
173
|
SIGNATURE = "electronic_signature",
|
|
174
|
+
/** 印章,存储 type=text、bizType=seal */
|
|
175
|
+
SEAL = "seal",
|
|
174
176
|
/**
|
|
175
177
|
* 表单模板、在线表单模板
|
|
176
178
|
*/
|
|
@@ -198,6 +200,10 @@ export declare enum FIELD_TYPE {
|
|
|
198
200
|
* 生产批次/SN(生产 LOT/SN)
|
|
199
201
|
*/
|
|
200
202
|
PRODUCTION_CONTAINER = "production_container",
|
|
203
|
+
/**
|
|
204
|
+
* 检验批
|
|
205
|
+
*/
|
|
206
|
+
INSPECTION_CONTAINER = "inspection_container",
|
|
201
207
|
/**
|
|
202
208
|
* 灭菌批
|
|
203
209
|
*/
|
|
@@ -277,6 +283,10 @@ export declare enum FIELD_TYPE {
|
|
|
277
283
|
* 生产日期
|
|
278
284
|
*/
|
|
279
285
|
PRODUCTION_DATE = "production_date",
|
|
286
|
+
/**
|
|
287
|
+
* 灭菌日期
|
|
288
|
+
*/
|
|
289
|
+
STERILIZATION_DATE = "sterilization_date",
|
|
280
290
|
/**
|
|
281
291
|
* 报工人
|
|
282
292
|
*/
|
|
@@ -325,6 +335,10 @@ export declare enum FIELD_TYPE {
|
|
|
325
335
|
* 检验数量
|
|
326
336
|
*/
|
|
327
337
|
INSPECTION_QTY = "inspection_qty",
|
|
338
|
+
/**
|
|
339
|
+
* 受检数量
|
|
340
|
+
*/
|
|
341
|
+
INSPECTION_MODULE_QTY = "inspection_module_qty",
|
|
328
342
|
/**
|
|
329
343
|
* 工序接收数量
|
|
330
344
|
*/
|
|
@@ -337,6 +351,10 @@ export declare enum FIELD_TYPE {
|
|
|
337
351
|
* 实例数
|
|
338
352
|
*/
|
|
339
353
|
OF_INST_NUM = "of_inst_num",
|
|
354
|
+
/**
|
|
355
|
+
* 医疗器械唯一标识
|
|
356
|
+
*/
|
|
357
|
+
UDI = "udi",
|
|
340
358
|
/**
|
|
341
359
|
* 生产数量
|
|
342
360
|
*/
|
|
@@ -467,6 +485,7 @@ export declare const WAREHOUSE_FIELD_TYPES: FIELD_TYPE[];
|
|
|
467
485
|
export declare const FieldTypeToJs: Partial<Record<FIELD_TYPE, string>>;
|
|
468
486
|
/** 字段类型关联 icon */
|
|
469
487
|
export declare const FieldIconMap: {
|
|
488
|
+
seal: string;
|
|
470
489
|
primary_key: string;
|
|
471
490
|
text: string;
|
|
472
491
|
long_text: string;
|
|
@@ -514,6 +533,7 @@ export declare const FieldIconMap: {
|
|
|
514
533
|
associated_primary_key: string;
|
|
515
534
|
material_no: string;
|
|
516
535
|
production_container: string;
|
|
536
|
+
inspection_container: string;
|
|
517
537
|
sterilization_container: string;
|
|
518
538
|
material_container: string;
|
|
519
539
|
related_lot_no: string;
|
|
@@ -534,6 +554,7 @@ export declare const FieldIconMap: {
|
|
|
534
554
|
report_end_time: string;
|
|
535
555
|
work_hours: string;
|
|
536
556
|
production_date: string;
|
|
557
|
+
sterilization_date: string;
|
|
537
558
|
validity: string;
|
|
538
559
|
re_inspection_date: string;
|
|
539
560
|
date_object: string;
|
|
@@ -549,6 +570,7 @@ export declare const FieldIconMap: {
|
|
|
549
570
|
product_check_qty: string;
|
|
550
571
|
material_check_qty: string;
|
|
551
572
|
inspection_qty: string;
|
|
573
|
+
inspection_module_qty: string;
|
|
552
574
|
device_ref: string;
|
|
553
575
|
device_ref_multi: string;
|
|
554
576
|
function: string;
|
|
@@ -566,6 +588,7 @@ export declare const FieldIconMap: {
|
|
|
566
588
|
shopfloor: string;
|
|
567
589
|
location: string;
|
|
568
590
|
of_inst_num: string;
|
|
591
|
+
udi: string;
|
|
569
592
|
production_qty: string;
|
|
570
593
|
sterilize_batch: string;
|
|
571
594
|
pretreatment_list: string;
|
|
@@ -43,8 +43,14 @@ export declare enum onlineFormMasterModelTypeEnum {
|
|
|
43
43
|
PART_STOCKTAKE = "PART_STOCKTAKE",
|
|
44
44
|
/** EQM 备件消耗表 */
|
|
45
45
|
DEVICE_PART_CONSUME = "DEVICE_PART_CONSUME",
|
|
46
|
-
/**
|
|
47
|
-
MATERIAL_REQUISITION = "MATERIAL_REQUISITION"
|
|
46
|
+
/** 产线收料表 */
|
|
47
|
+
MATERIAL_REQUISITION = "MATERIAL_REQUISITION",
|
|
48
|
+
/** 物料替换表 */
|
|
49
|
+
MATERIAL_SUBSTITUTION = "MATERIAL_SUBSTITUTION",
|
|
50
|
+
/** 设备点检表 */
|
|
51
|
+
POINT_INSPECTION = "POINT_INSPECTION",
|
|
52
|
+
/** 设备保养表 */
|
|
53
|
+
MAINTENANCE = "MAINTENANCE"
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
56
|
* 记录单号字段标识生成方式
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @gct-paas/excel/shared 公开入口 */
|
|
2
2
|
export * from './enum';
|
|
3
|
+
export type { SealPosition, SealStamp, SealFieldValue, SealSource } from './seal';
|
|
3
4
|
export type * from './types';
|
|
4
5
|
export { VersionSelect } from './components/version-select';
|
|
5
6
|
export { OnlineFormModelSelect, OnlineFormModelModal, } from './components/online-form-model-select';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** 印章业务值和布局共用的协议;位置不改变盖章人或盖章时间。 */
|
|
2
|
+
export interface SealPosition {
|
|
3
|
+
sheetId: string;
|
|
4
|
+
pageIndex: number;
|
|
5
|
+
leftMm: number;
|
|
6
|
+
topMm: number;
|
|
7
|
+
}
|
|
8
|
+
export interface SealStamp {
|
|
9
|
+
sealId: string;
|
|
10
|
+
sealName: string;
|
|
11
|
+
sealType: string;
|
|
12
|
+
sealImage: string;
|
|
13
|
+
sealUserId: string;
|
|
14
|
+
sealUserName: string;
|
|
15
|
+
sealUserTime: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SealFieldValue extends SealStamp {
|
|
18
|
+
sealPosition: SealPosition;
|
|
19
|
+
}
|
|
20
|
+
export interface SealSource {
|
|
21
|
+
sealId: string;
|
|
22
|
+
sealName: string;
|
|
23
|
+
sealType?: string;
|
|
24
|
+
sealImage?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function isSealPosition(value: unknown): value is SealPosition;
|
|
27
|
+
/** 历史空值或缺位置时只补默认位置;已有实例位置永不被模板覆盖。 */
|
|
28
|
+
export declare function readSealValue(raw: unknown, fallback: SealPosition): SealFieldValue;
|
|
29
|
+
export declare function isSealStamped(raw: unknown): boolean;
|
|
30
|
+
export declare function isValidSealValue(raw: unknown): boolean;
|
|
31
|
+
export declare function moveSealValue(raw: unknown, fallback: SealPosition, position: SealPosition): string;
|
|
32
|
+
export declare function stampSealValue(raw: unknown, fallback: SealPosition, stamp: SealStamp): string;
|
|
33
|
+
export declare function clearSealValue(raw: unknown, fallback: SealPosition): string;
|
|
34
|
+
export declare function normalizeSealDiameter(value: unknown): number;
|
|
35
|
+
export declare function clampSealPosition(position: SealPosition, widthMm: number, heightMm: number, diameterMm: number): SealPosition;
|
|
36
|
+
/** 初始化所有浮动字段(包括当前未显示的页),不清洗或覆盖已有业务数据。 */
|
|
37
|
+
export declare function initializeSealFields(fields: Array<{
|
|
38
|
+
props: {
|
|
39
|
+
field?: string;
|
|
40
|
+
isFieldModel?: boolean;
|
|
41
|
+
subFieldKey?: string;
|
|
42
|
+
sealPosition: SealPosition;
|
|
43
|
+
};
|
|
44
|
+
}>, formData: Record<string, unknown>): void;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** 普通字段未配置宽度时与默认列宽一致,显式设置(含 0)优先。 */
|
|
2
2
|
export declare const DEFAULT_FIELD_WIDTH = 75;
|
|
3
|
-
|
|
3
|
+
/** 默认“真 / 假”双选项约需 80px,额外留出两侧间距。 */
|
|
4
|
+
export declare const DEFAULT_BOOLEAN_FIELD_WIDTH = 96;
|
|
5
|
+
export declare function normalizeFieldWidth(value?: number | string | null, fallback?: number): number;
|
|
@@ -29,6 +29,11 @@ export declare function buildProductionLotListQuery(keyword?: string, extraQuery
|
|
|
29
29
|
queryData: Record<string, any>;
|
|
30
30
|
exp: string;
|
|
31
31
|
};
|
|
32
|
+
/** 检验批下拉查询,与生产 LOT/SN 共用批次展示及选择规则。 */
|
|
33
|
+
export declare function buildInspectionLotListQuery(keyword?: string, extraQuery?: Record<string, any>): {
|
|
34
|
+
queryData: Record<string, any>;
|
|
35
|
+
exp: string;
|
|
36
|
+
};
|
|
32
37
|
/** 子表 customLoader:去掉已有 like 键后按生产 LOT/SN 规则重拼 */
|
|
33
38
|
export declare function composeProductionLotListQuery(queryData?: Record<string, any>, keyword?: string): {
|
|
34
39
|
queryData: Record<string, any>;
|