@gct-paas/excel 0.1.36 → 0.1.37-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-Dkr9EHwb.js → BaseComponent-B1JTKMB5.js} +18 -1
- package/dist/{VueVideoPlayer-QmiFwFQB.js → VueVideoPlayer-C6a9Wt23.js} +2 -2
- package/dist/{align-editor-OaXgeuWX.js → align-editor-BIgxBb3c.js} +1 -1
- package/dist/{barcode-design-CAzpyssF.js → barcode-design-jauXuqY4.js} +2 -2
- package/dist/base/index.es.js +2137 -2795
- package/dist/{diagonal-design-C3JGFswf.js → diagonal-design-C9tqO57r.js} +2 -2
- package/dist/{dynamic-table-action-MloBs3jp.js → dynamic-table-action-CNEd7Opa.js} +6870 -2781
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-r5NoUEI7.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CfpxTsKR.js} +51446 -52262
- package/dist/{edit.utils-CXmmCnxE-Cl7i5AyG.js → edit.utils-CXmmCnxE-BSdD_tOR.js} +1 -1
- package/dist/excel.css +3212 -1931
- package/dist/{exceljs.min-BmhMOCmv.js → exceljs.min-oR-WKkXQ.js} +2 -2
- package/dist/{font-editor-D-IcSFTK.js → font-editor-C5Soj9Z6.js} +3 -3
- package/dist/{image-design-CoMKHl0Q.js → image-design-CE8RmqGR.js} +2 -2
- package/dist/{index-eP5FgfsT.js → index-3LBp3SD1.js} +2 -2
- package/dist/{index-Bu0NS0WR.js → index-BBp4UgsU.js} +2 -2
- package/dist/{index-CK9Jb4BC.js → index-BCxnsShs.js} +1 -1
- package/dist/{index-C_aY8-1F.js → index-BJdOVQGJ.js} +1 -1
- package/dist/{index-5xAXV_RW.js → index-BOfw4m4-.js} +3 -3
- package/dist/{index-B-koHYBR.js → index-BQj90WDT.js} +2 -2
- package/dist/{index-BdOb_E0-.js → index-BVxo9GHy.js} +1 -1
- package/dist/{index-BTDuk15b.js → index-BXSzJMT7.js} +8 -74
- package/dist/{index-BuJute2u.js → index-Be5L7-N-.js} +2 -2
- package/dist/{index-l7OgY52A.js → index-CA6CWt8y.js} +1 -1
- package/dist/{index-BUJMWJUt.js → index-CE62NjDB.js} +13 -2
- package/dist/{index-C92h_8jV.js → index-CJ0cvjoI.js} +5 -3
- package/dist/{index-geKEnJZt.js → index-COLdd2qs.js} +2 -2
- package/dist/{index-CsLTcOIa.js → index-CUTR4fki.js} +2 -2
- package/dist/{index-SnR5k06w.js → index-CWj5bguA.js} +2 -2
- package/dist/{index-Ed8dzqIj.js → index-CZM8egvr.js} +2 -2
- package/dist/{index-BbtMZHP5.js → index-Crv-QUy2.js} +2 -2
- package/dist/{index-DXJN9iYx.js → index-Csrs6rUq.js} +2 -2
- package/dist/{index-BPGs5Cz3.js → index-CvIbNFvq.js} +2 -2
- package/dist/{index-BYjXv9tc.js → index-D6Z8-FC9.js} +432 -237
- package/dist/{index-9xGsFq4z.js → index-DNBaMDBY.js} +2 -2
- package/dist/{index-BOf5cqL9.js → index-DORsA1uW.js} +12 -3
- package/dist/{index-DcD5_iSz.js → index-De-L8Ocw.js} +3 -3
- package/dist/{index-X34P5CQc.js → index-Dgu35iIj.js} +1 -1
- package/dist/{index-BaKLE58A.js → index-DmFOzyWl.js} +42837 -36955
- package/dist/{index-DRKZ0yh5.js → index-Dt55J9L4.js} +3 -3
- package/dist/{index-DZ-95Xyi.js → index-Dw7SQNDy.js} +1 -1
- package/dist/{index-CgHFRM28.js → index-KcZJqM3I.js} +1 -1
- package/dist/{index-BnnboU4e.js → index-ROHlRUFD.js} +1 -1
- package/dist/{index-Cga0IK5A.js → index-UEIdgxBp.js} +2 -2
- package/dist/index-WDkhfpnZ.js +26 -0
- package/dist/{index-DizZCNAs.js → index-XKBhl9Or.js} +3 -3
- package/dist/{index-Bgjmyqf3.js → index-dbEV_ie2.js} +2 -2
- package/dist/{index-BPOAaTJZ.js → index-m0iGs0bS.js} +1 -1
- package/dist/{index-ClFvHh9r.js → index-mpoqOir8.js} +2 -2
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-CzX2E2Ns.js → mb-render-DhKkFfcm.js} +21 -15
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CxAuNR6B.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhTO6jGt.js} +1 -8
- package/dist/{pagination-design-RiNto9F1.js → pagination-design-Dh2ZATAE.js} +2 -2
- package/dist/paper-widget-design-Dj_0pnAo.js +4 -0
- package/dist/print-runtime-instance-DMTURT68.js +36 -0
- package/dist/print-snapshot-renderer-C6g7ZjmS.js +76 -0
- package/dist/{qrcode-design-DXyYtKbf.js → qrcode-design-Bks87yW1.js} +1 -1
- package/dist/{revo-grid.entry-wAZS5Q_f.js → revo-grid.entry-BBZIZgKP.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BYLiJyq5.js → revogr-attribution_7.entry-rfjINVxu.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BYdLJ3yv.js → revogr-clipboard_3.entry-Bg3AuwfG.js} +2 -2
- package/dist/{revogr-data_4.entry-CHqaaCKS.js → revogr-data_4.entry-C8O2Iv2n.js} +2 -2
- package/dist/{revogr-filter-panel.entry-Cqc52XdV.js → revogr-filter-panel.entry-uQBhKoSX.js} +1 -1
- package/dist/seal-design-B2B84Rgt.js +4 -0
- package/dist/{serialnumber-design-BeUOVmG1.js → serialnumber-design-DCkPTZFe.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-BSZxlNxp.js → single-field-drop-Bz9Z9q7-.js} +2 -2
- package/dist/{size-editor-DzsmPSj3.js → size-editor-BKqS03Gi.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +6 -1
- package/dist/src/assets/svgs/table/index.d.ts +1 -0
- package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/seal/seal-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/inspection-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/udi-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +2 -2
- package/dist/src/domain/table/business/device/maintenance/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/point-inspection/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/signature-lock.d.ts +9 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/src/domain/table/business/material/material-substitution/index.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +75 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
- package/dist/src/domain/table/design/index.d.ts +1 -1
- package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +1 -0
- package/dist/src/domain/table/index.d.ts +3 -2
- package/dist/src/domain/table/registry.d.ts +1 -0
- package/dist/src/domain/table/types.d.ts +8 -3
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +8 -0
- package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
- package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +7 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +22 -2
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +11 -3
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +23 -1
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -5
- package/dist/src/nocode-base/src/core/types/index.d.ts +4 -0
- package/dist/src/nocode-base/src/emit/enum.d.ts +2 -12
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +7 -5
- package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/index.d.ts +5 -3
- package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +11 -0
- package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +10 -2
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +13 -25
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +5 -6
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +56 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +64 -0
- package/dist/src/nocode-base/src/hooks/udi.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +7 -4
- package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +1 -9
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +8 -24
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +63 -99
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +16 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +4 -10
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +5 -8
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +15 -8
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +6 -0
- package/dist/src/nocode-base/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +4 -3
- package/dist/src/nocode-base/src/interface/code-runner.d.ts +4 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +5 -2
- package/dist/src/nocode-base/src/interface/transform.d.ts +26 -22
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +66 -0
- package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +4 -0
- package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +11 -0
- package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +8 -0
- package/dist/src/nocode-base/src/runtime/field-identity.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/index.d.ts +18 -0
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +43 -0
- package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +36 -0
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +122 -0
- package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +82 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +26 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +90 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +132 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +80 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +17 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +296 -0
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +93 -0
- package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +37 -0
- package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +99 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +44 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +23 -0
- package/dist/src/nocode-base/src/types/business/index.d.ts +8 -1
- package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +60 -6
- package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +10 -0
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +15 -1
- package/dist/src/nocode-base/src/types/fields/index.d.ts +2 -1
- package/dist/src/nocode-base/src/types/index.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mb-render.d.ts +4 -2
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -5
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -35
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +0 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +4 -7
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +8 -6
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +2 -0
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +8 -1
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +78 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +43 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +194 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +28 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +145 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +31 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +40 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +7 -1
- package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +1089 -683
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +503 -2542
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +19 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +54 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +18 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +33 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +36 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +21 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +17 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +203 -327
- package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/types/index.d.ts +43 -26
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +8 -3
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +11 -108
- package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +2 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +17 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +29 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +57 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +14 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +10 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
- package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +21 -19
- package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +27 -0
- package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +24 -0
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +14 -0
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
- package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +6 -0
- package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +38 -0
- package/dist/src/shared/components/Signature/index.d.ts +1 -2
- package/dist/src/shared/components/Signature/logic/index.d.ts +8 -23
- package/dist/src/shared/components/Signature/types/index.d.ts +6 -1
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +2 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +8 -2
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -1
- package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
- package/dist/src/shared/enum/field-type.d.ts +23 -0
- package/dist/src/shared/enum/online-form.d.ts +8 -2
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/seal/index.d.ts +44 -0
- package/dist/src/shared/types/field-meta.d.ts +1 -0
- package/dist/src/shared/utils/field-size.d.ts +4 -2
- package/dist/src/shared/utils/lot2sn.d.ts +5 -0
- package/dist/sub-table-factory-DOKB1uAZ.js +2118 -0
- package/dist/{text-design-DeXMb67O.js → text-design-CO7hCgdj.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-wugUYaTg.js → throttle-Cpk1LoGk-Ci963h-N.js} +1 -1
- package/dist/{timediff-design-B5m_vT5S.js → timediff-design-DAD_BKWH.js} +1 -1
- package/dist/{trace-like-wrapper-4yBUGGtN.js → trace-like-wrapper-CWm4kuNc.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BcQNMosl.js → value-editor.vue_vue_type_style_index_0_lang-DYvH10y_.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-B7xQpLj3.js → widget-barcode-Bjim1wAN.js} +4 -4
- package/dist/{widget-diagonal-DZ3m3Brh.js → widget-diagonal-BuKYSN9U.js} +3 -3
- package/dist/{widget-image-BldCdjwV.js → widget-image-VfveaM3F.js} +5 -5
- package/dist/{widget-line-CozoSdQ2.js → widget-line-CXpx_VYX.js} +2 -2
- package/dist/{widget-pagination-DTHzdWhE.js → widget-pagination-CUk0ktR8.js} +5 -5
- package/dist/{widget-power-Chb6sR_L.js → widget-power-CewCZPpD.js} +3 -3
- package/dist/{widget-qrcode-0Zk8nMay.js → widget-qrcode-DKzDDe6T.js} +3 -3
- package/dist/{widget-rangelimit-BreLyXSk.js → widget-rangelimit-DbWjevfj.js} +3 -3
- package/dist/{widget-serialnumber-DXa_bjwt.js → widget-serialnumber-CDHHiXmp.js} +1 -1
- package/dist/{widget-text--ID_v_oi.js → widget-text-BVYodujP.js} +5 -5
- package/dist/{widget-timediff-DMHq5Q2O.js → widget-timediff-DZzXuor2.js} +2 -2
- package/package.json +4 -4
- package/dist/paper-widget-design-Bx_DMVQ4.js +0 -4
- package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +0 -13
- package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +0 -18
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +0 -12
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -41
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +0 -17
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +0 -29
- package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +0 -18
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +0 -116
|
@@ -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,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PartialSignInfo, SignInfo } from '../types';
|
|
2
|
+
import { FallbackSignTypeEnum, SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
3
3
|
/**
|
|
4
4
|
* 通过账户密码获取签名图片
|
|
5
5
|
* @author lingxiaoming
|
|
@@ -8,7 +8,7 @@ import { SignMode } from '../constant';
|
|
|
8
8
|
* @param {string} username
|
|
9
9
|
* @param {string} password
|
|
10
10
|
*/
|
|
11
|
-
export declare function getSignImgByAccount(username: string, password: string, type: string): Promise<SignInfo>;
|
|
11
|
+
export declare function getSignImgByAccount(username: string, password: string, type: string, signatureImageDirection?: SignatureImageDirectionEnum): Promise<SignInfo>;
|
|
12
12
|
/**
|
|
13
13
|
* 通过文件上传获取签名图片
|
|
14
14
|
* @author lingxiaoming
|
|
@@ -36,24 +36,6 @@ export declare function addSignHistory(opts: {
|
|
|
36
36
|
* @return {*}
|
|
37
37
|
*/
|
|
38
38
|
export declare function completeSignInfo(partial: PartialSignInfo): Promise<SignInfo>;
|
|
39
|
-
/**
|
|
40
|
-
* 打开签名模态添加新的签名
|
|
41
|
-
* @author lingxiaoming
|
|
42
|
-
* @date 2024-08-22 09:13:01
|
|
43
|
-
* @export
|
|
44
|
-
* @return {*} {(Promise<SignInfo | undefined>)}
|
|
45
|
-
*/
|
|
46
|
-
export declare function openSignModal(opts: {
|
|
47
|
-
defaultSignMode?: SignMode;
|
|
48
|
-
hiddenSignMode?: boolean;
|
|
49
|
-
fixSignMode?: boolean;
|
|
50
|
-
getSignImgByAccount?: GetSignImgByAccount;
|
|
51
|
-
uploadSignFile?: UploadSignFile;
|
|
52
|
-
disableUserName?: boolean;
|
|
53
|
-
fillUserName?: boolean;
|
|
54
|
-
defaultUserName?: string;
|
|
55
|
-
validateSignature?: (info: SignInfo) => Promise<void> | void;
|
|
56
|
-
}, props?: {}): Promise<SignInfo | undefined>;
|
|
57
39
|
/**
|
|
58
40
|
* 获取预览url地址
|
|
59
41
|
*
|
|
@@ -64,7 +46,10 @@ export declare function openSignModal(opts: {
|
|
|
64
46
|
* @return {*}
|
|
65
47
|
*/
|
|
66
48
|
export declare function getPreviewUrl(url: any, name: any, callback?: any): any;
|
|
49
|
+
export declare function resolveFallbackSignType(type?: string): FallbackSignTypeEnum;
|
|
50
|
+
export declare function resolveSignatureImageDirection(direction?: string): SignatureImageDirectionEnum;
|
|
67
51
|
/**
|
|
68
|
-
*
|
|
52
|
+
* 表单签名/报工人/仓管员字段预览(无图片时按兜底签名配置绘制)
|
|
53
|
+
* 无配置时默认「用户名 + 签署日期」。
|
|
69
54
|
*/
|
|
70
|
-
export declare function getFormSignPreviewUrl(url: any, name: any, callback?: any, time?: number | string): any;
|
|
55
|
+
export declare function getFormSignPreviewUrl(url: any, name: any, callback?: any, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
import { SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
2
3
|
export interface SignInfo {
|
|
3
4
|
/**
|
|
4
5
|
* 签名图片url
|
|
@@ -16,6 +17,10 @@ export interface SignInfo {
|
|
|
16
17
|
* 签名用户姓名
|
|
17
18
|
*/
|
|
18
19
|
username: string;
|
|
20
|
+
/** 签名人员 ID,用于填充人员关联字段 */
|
|
21
|
+
userId?: string;
|
|
22
|
+
/** 签名图片方向 */
|
|
23
|
+
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
19
24
|
}
|
|
20
25
|
export type PartialSignInfo = Partial<Omit<SignInfo, 'url'>> & Pick<SignInfo, 'url'>;
|
|
21
26
|
export declare type SignerExpose = {
|
|
@@ -29,7 +34,7 @@ export declare type SignerExpose = {
|
|
|
29
34
|
reset?: () => Promise<void> | void;
|
|
30
35
|
};
|
|
31
36
|
export declare type SignerInstance = ComponentPublicInstance<{}, SignerExpose>;
|
|
32
|
-
export type GetSignImgByAccount = (username: string, password: string, type: string) => Promise<PartialSignInfo>;
|
|
37
|
+
export type GetSignImgByAccount = (username: string, password: string, type: string, signatureImageDirection?: SignatureImageDirectionEnum) => Promise<PartialSignInfo>;
|
|
33
38
|
export type UploadSignFile = (file: File, modelKey?: string) => Promise<PartialSignInfo>;
|
|
34
39
|
/**
|
|
35
40
|
* 手写板组件
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { GetSignImgByAccount } from '../types';
|
|
2
|
+
import { SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
getSignImgByAccount?: GetSignImgByAccount;
|
|
4
5
|
disableUserName?: boolean;
|
|
5
6
|
fillUserName?: boolean;
|
|
6
7
|
defaultUserName?: string;
|
|
7
8
|
enableSignPassword?: number;
|
|
9
|
+
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
8
10
|
};
|
|
9
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
10
12
|
submit: () => Promise<import('..').SignInfo>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SignMode } from '../constant';
|
|
2
2
|
import { GetSignImgByAccount, UploadSignFile, SignInfo } from '../types';
|
|
3
|
+
import { SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
defaultSignMode?: SignMode;
|
|
5
6
|
hiddenSignMode?: boolean;
|
|
@@ -10,6 +11,9 @@ type __VLS_Props = {
|
|
|
10
11
|
fillUserName?: boolean;
|
|
11
12
|
defaultUserName?: string;
|
|
12
13
|
validateSignature?: (info: SignInfo) => Promise<void> | void;
|
|
14
|
+
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
15
|
+
confirmText?: string;
|
|
16
|
+
showCardCancel?: boolean;
|
|
13
17
|
};
|
|
14
18
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
19
|
cancel: () => any;
|
|
@@ -29,6 +33,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
29
33
|
fillUserName?: boolean;
|
|
30
34
|
defaultUserName?: string;
|
|
31
35
|
enableSignPassword?: number;
|
|
36
|
+
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
32
37
|
}> & Readonly<{
|
|
33
38
|
"onUpdate:signMode"?: ((value: SignMode) => any) | undefined;
|
|
34
39
|
}>, {
|
|
@@ -38,9 +43,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
38
43
|
"update:signMode": (value: SignMode) => any;
|
|
39
44
|
}, import('vue').PublicProps, {
|
|
40
45
|
required: boolean;
|
|
46
|
+
disableUserName: boolean;
|
|
41
47
|
fixSignMode: boolean;
|
|
42
48
|
hiddenSignMode: boolean;
|
|
43
|
-
disableUserName: boolean;
|
|
44
49
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
45
50
|
signerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
46
51
|
uploadSignFile?: UploadSignFile;
|
|
@@ -107,6 +112,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
107
112
|
fillUserName?: boolean;
|
|
108
113
|
defaultUserName?: string;
|
|
109
114
|
enableSignPassword?: number;
|
|
115
|
+
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
110
116
|
}> & Readonly<{
|
|
111
117
|
"onUpdate:signMode"?: ((value: SignMode) => any) | undefined;
|
|
112
118
|
}>, {
|
|
@@ -114,9 +120,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
114
120
|
reset?: () => Promise<void> | void;
|
|
115
121
|
}, {}, {}, {}, {
|
|
116
122
|
required: boolean;
|
|
123
|
+
disableUserName: boolean;
|
|
117
124
|
fixSignMode: boolean;
|
|
118
125
|
hiddenSignMode: boolean;
|
|
119
|
-
disableUserName: boolean;
|
|
120
126
|
}> | null;
|
|
121
127
|
}, HTMLDivElement>;
|
|
122
128
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SignMode } from '../constant';
|
|
2
2
|
import { GetSignImgByAccount, UploadSignFile } from '../types';
|
|
3
|
+
import { SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
signMode?: SignMode;
|
|
5
6
|
/** 固定签名模式,置灰显示一个签名模式 */
|
|
@@ -12,6 +13,7 @@ type __VLS_Props = {
|
|
|
12
13
|
fillUserName?: boolean;
|
|
13
14
|
defaultUserName?: string;
|
|
14
15
|
enableSignPassword?: number;
|
|
16
|
+
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
15
17
|
};
|
|
16
18
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
17
19
|
submit: () => Promise<import('..').SignInfo>;
|
|
@@ -22,9 +24,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
22
24
|
"onUpdate:signMode"?: ((value: SignMode) => any) | undefined;
|
|
23
25
|
}>, {
|
|
24
26
|
required: boolean;
|
|
27
|
+
disableUserName: boolean;
|
|
25
28
|
fixSignMode: boolean;
|
|
26
29
|
hiddenSignMode: boolean;
|
|
27
|
-
disableUserName: boolean;
|
|
28
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
31
|
signerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
30
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>;
|