@gct-paas/excel 0.1.37 → 0.1.39-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AntdIcon-DCIaV352.js +1108 -0
- package/dist/{BaseComponent-5QpH6Rui.js → BaseComponent-wXAepA6P.js} +18 -1
- package/dist/{VueVideoPlayer-DZh8_F3v.js → VueVideoPlayer-C--qHZWs.js} +2 -2
- package/dist/{align-editor-BTvIuOVN.js → align-editor-BMFoEgQf.js} +1 -1
- package/dist/{barcode-design-D3g_D7hp.js → barcode-design-M3FjUJNm.js} +2 -2
- package/dist/base/index.es.js +2138 -2802
- package/dist/{diagonal-design-BinP4Wlt.js → diagonal-design-C2lATeRX.js} +2 -2
- package/dist/{dynamic-table-action-Ckc4yetB.js → dynamic-table-action-Cm8HO12b.js} +6930 -2773
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js} +51451 -52267
- package/dist/{edit.utils-CXmmCnxE-DDvf_1B1.js → edit.utils-CXmmCnxE-CaZuzVd6.js} +1 -1
- package/dist/excel.css +2472 -1126
- package/dist/{exceljs.min-jNu29iVm.js → exceljs.min-CeIQpaOT.js} +2 -2
- package/dist/{font-editor-B6cYSWqo.js → font-editor-CPn2F_OZ.js} +3 -3
- package/dist/{image-design-kQ2vbtwc.js → image-design-DWjjBFQa.js} +2 -2
- package/dist/{index-O4srBJlA.js → index-B3S5QpVz.js} +22647 -17125
- package/dist/{index-Dg6nmj-a.js → index-B3oqnny_.js} +8 -74
- package/dist/{index-C3HGy13G.js → index-B72KgWBu.js} +1 -1
- package/dist/{index-DgUHgge3.js → index-BEQELF4E.js} +3 -3
- package/dist/{index-DF5irDE9.js → index-BZcapeWR.js} +2 -2
- package/dist/{index-BtZbUJqv.js → index-BatfBVeN.js} +5 -3
- package/dist/{index-B5HIN-qO.js → index-BcpTVyHa.js} +2 -2
- package/dist/{index-Bk8MpwGt.js → index-BrZiEGAB.js} +2 -2
- package/dist/{index-DnLs4s1z.js → index-BuNKNsIb.js} +13 -2
- package/dist/{index-C8ArafDL.js → index-C3GHvYcj.js} +2 -2
- package/dist/{index-BPKmoc5N.js → index-CED1SWU9.js} +2 -2
- package/dist/{index-C1DOk9t-.js → index-CIiCyyBv.js} +1 -1
- package/dist/{index-C91SfhAb.js → index-CNlb3Y3A.js} +1 -1
- package/dist/{index-BNiGRPzJ.js → index-CRGOLDI8.js} +1 -1
- package/dist/{index-DqkJPwx3.js → index-CWmsgguT.js} +3 -3
- package/dist/{index-BqI7r_XC.js → index-C__Qm3ub.js} +2 -2
- package/dist/{index-BJyfzYBO.js → index-CcBF1mOx.js} +2 -2
- package/dist/{index-DSISN2ys.js → index-Cg0trWkY.js} +2 -2
- package/dist/{index-ClnlX2jZ.js → index-ChRhjdl_.js} +1 -1
- package/dist/{index-Dxh55nQw.js → index-ClVsGQoQ.js} +1 -1
- package/dist/{index-DqDGmouR.js → index-CpN3c_Lk.js} +2 -2
- package/dist/{index-C5ESFU7b.js → index-DC8dEMj4.js} +1 -1
- package/dist/{index-BWEQIjQE.js → index-DHPRpllA.js} +1 -1
- package/dist/index-DSSJ8S81.js +26 -0
- package/dist/{index-DCMnBDPA.js → index-DTSHn9ii.js} +432 -237
- package/dist/{index-YlVy61FH.js → index-DdVlAV0_.js} +1 -1
- package/dist/{index-KBj0_MsM.js → index-DhkQma-u.js} +2 -2
- package/dist/{index-CnTC_LFJ.js → index-DqQ2ZxDn.js} +2 -2
- package/dist/{index-CkgB26Uk.js → index-DtS3ze0S.js} +3 -3
- package/dist/{index-D3Oj5SoQ.js → index-DxCN78vg.js} +3 -3
- package/dist/{index-C4tkNDTa.js → index-OIXBBHHu.js} +2 -2
- package/dist/{index-B9sZfT3j.js → index-gra19syg.js} +2 -2
- package/dist/{index-avQcYIlZ.js → index-mA7F37nK.js} +2 -2
- package/dist/{index-Dzydpwhf.js → index-pxBPpLrG.js} +2 -2
- package/dist/{index-BaCxUMCF.js → index-yfTjcRJ8.js} +2 -2
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-BtXKf12F.js → mb-render-BZXw-tG7.js} +21 -15
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-uXt_kyMo.js} +4 -1041
- package/dist/{pagination-design-D2EHYcDi.js → pagination-design-CCRMgYhc.js} +2 -2
- package/dist/paper-widget-design-BbQeY4Hv.js +4 -0
- package/dist/print-runtime-instance-MA7UVZdA.js +36 -0
- package/dist/print-snapshot-renderer-BavXucNu.js +76 -0
- package/dist/{qrcode-design-_uIcWgfD.js → qrcode-design-BC1PBKf_.js} +1 -1
- package/dist/{revo-grid.entry-h26i-X1O.js → revo-grid.entry-DjiOpHRm.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DnWhGt3I.js → revogr-attribution_7.entry-CDnB9lLs.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DHP6m3aV.js → revogr-clipboard_3.entry-C6O9JrN7.js} +2 -2
- package/dist/{revogr-data_4.entry-CBEPKC2v.js → revogr-data_4.entry-y1feqF9h.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DpaMxMlv.js → revogr-filter-panel.entry-By9rD4Y9.js} +1 -1
- package/dist/seal-design-CN_B6div.js +4 -0
- package/dist/{serialnumber-design-KRWMAGLy.js → serialnumber-design-Bb75HRGq.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-yih8_AXA.js → single-field-drop-BlAQcTBT.js} +3 -3
- package/dist/{size-editor-BqOSTI8R.js → size-editor-BWnv8oH4.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +6 -1
- package/dist/src/assets/svgs/table/index.d.ts +1 -0
- package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/seal/seal-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/inspection-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/udi-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +2 -2
- package/dist/src/domain/table/business/device/maintenance/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/point-inspection/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/signature-lock.d.ts +9 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/src/domain/table/business/material/material-substitution/index.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +75 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
- package/dist/src/domain/table/design/index.d.ts +1 -1
- package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +1 -0
- package/dist/src/domain/table/index.d.ts +3 -2
- package/dist/src/domain/table/registry.d.ts +1 -0
- package/dist/src/domain/table/types.d.ts +8 -3
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +8 -0
- package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
- package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +7 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +8 -2
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +11 -3
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +23 -1
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -5
- package/dist/src/nocode-base/src/core/types/index.d.ts +4 -0
- package/dist/src/nocode-base/src/emit/enum.d.ts +2 -12
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +7 -5
- package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/index.d.ts +5 -3
- package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +11 -0
- package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +10 -2
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +13 -25
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +5 -6
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +56 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +64 -0
- package/dist/src/nocode-base/src/hooks/udi.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +7 -4
- package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +1 -9
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +8 -24
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +63 -99
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +16 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +4 -10
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +5 -8
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +15 -8
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +6 -0
- package/dist/src/nocode-base/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +4 -3
- package/dist/src/nocode-base/src/interface/code-runner.d.ts +4 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +5 -2
- package/dist/src/nocode-base/src/interface/transform.d.ts +26 -22
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +66 -0
- package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +4 -0
- package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +11 -0
- package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +8 -0
- package/dist/src/nocode-base/src/runtime/field-identity.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/index.d.ts +18 -0
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +43 -0
- package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +36 -0
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +124 -0
- package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +82 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +26 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +90 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +132 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +80 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +17 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +296 -0
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +93 -0
- package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +37 -0
- package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +99 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +44 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +23 -0
- package/dist/src/nocode-base/src/types/business/index.d.ts +8 -1
- package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +60 -6
- package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +10 -0
- package/dist/src/nocode-base/src/types/fields/index.d.ts +1 -0
- package/dist/src/nocode-base/src/types/index.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mb-render.d.ts +4 -2
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -5
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -35
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +0 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +4 -7
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +8 -6
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +2 -0
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +3 -0
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +78 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +43 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +194 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +28 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +145 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +31 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +40 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +7 -1
- package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +1098 -692
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +507 -2546
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +19 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +54 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +18 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +33 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +36 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +21 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +17 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +203 -327
- package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/types/index.d.ts +43 -26
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +8 -3
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +11 -108
- package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +2 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +17 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +29 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +57 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +14 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +10 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
- package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +21 -19
- package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +27 -0
- package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +24 -0
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +14 -0
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
- package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +6 -0
- package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +38 -0
- package/dist/src/shared/components/Signature/index.d.ts +1 -2
- package/dist/src/shared/components/Signature/logic/index.d.ts +1 -14
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +4 -2
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -1
- package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
- package/dist/src/shared/enum/field-type.d.ts +23 -0
- package/dist/src/shared/enum/online-form.d.ts +8 -2
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/seal/index.d.ts +44 -0
- package/dist/src/shared/types/field-meta.d.ts +1 -0
- package/dist/src/shared/utils/field-size.d.ts +4 -2
- package/dist/src/shared/utils/lot2sn.d.ts +5 -0
- package/dist/sub-table-factory-CGELiUkd.js +2118 -0
- package/dist/{text-design-BK_VsTtK.js → text-design-CiWiGhwN.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DadArQT5.js → throttle-Cpk1LoGk-B466AVFI.js} +1 -1
- package/dist/{timediff-design-q-J7ObPi.js → timediff-design-CnCXGLgF.js} +1 -1
- package/dist/{trace-like-wrapper-CtthDv9M.js → trace-like-wrapper-CPFayyjF.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-B40m6f0M.js → value-editor.vue_vue_type_style_index_0_lang-DyTtWYrg.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-DePyj-oR.js → widget-barcode-DMt5IwNO.js} +4 -4
- package/dist/{widget-diagonal-BoPK84Km.js → widget-diagonal-D073XXKw.js} +4 -4
- package/dist/{widget-image-Bd-hAzWZ.js → widget-image-Bc-6H2uA.js} +5 -5
- package/dist/{widget-line-DcQ4GjjX.js → widget-line-BtfMvVGp.js} +2 -2
- package/dist/{widget-pagination-D6IFtegJ.js → widget-pagination-CIlAAI2a.js} +5 -5
- package/dist/{widget-power-dAEtqR3T.js → widget-power-Bu16c4bS.js} +4 -4
- package/dist/{widget-qrcode-GkDxu48J.js → widget-qrcode-AfILjhmH.js} +3 -3
- package/dist/{widget-rangelimit-TRqqVGXL.js → widget-rangelimit-B-mhBJN4.js} +4 -4
- package/dist/{widget-serialnumber-BdZLWmtI.js → widget-serialnumber-DVoe5bqh.js} +1 -1
- package/dist/{widget-text-DS8vSuAy.js → widget-text-DWNEbQUk.js} +5 -5
- package/dist/{widget-timediff-C1n_nRUs.js → widget-timediff-B2mjc1qy.js} +2 -2
- package/package.json +4 -4
- package/dist/paper-widget-design-Cn1RcpGb.js +0 -4
- package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +0 -13
- package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +0 -18
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +0 -12
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -41
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +0 -17
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +0 -29
- package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +0 -18
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +0 -118
- package/dist/use-namespace-BxkK4ofX.js +0 -77
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import {
|
|
6
|
+
import { j as calcText } from "./index-B3S5QpVz.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
props: {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-B3S5QpVz.js";
|
|
2
|
+
async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
|
|
3
|
+
if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
|
|
4
|
+
const snapshot = await record.controller.preparePrintSnapshot(
|
|
5
|
+
(formState, revision) => captureRuntimePrintSnapshot(record, formState, revision, basicInfo)
|
|
6
|
+
);
|
|
7
|
+
if (signal.aborted) throw new Error("打印已取消");
|
|
8
|
+
const view = await renderSnapshot(snapshot);
|
|
9
|
+
void view.element.offsetHeight;
|
|
10
|
+
await waitPrintFonts(document, signal);
|
|
11
|
+
await waitPrintImages(view.element, signal);
|
|
12
|
+
await view.whenReady();
|
|
13
|
+
if (signal.aborted) throw new Error("打印已取消");
|
|
14
|
+
const elements = Array.from(view.element.querySelectorAll(".cmp-paper-wrapper"));
|
|
15
|
+
const pages = [];
|
|
16
|
+
let pageIndex = 0;
|
|
17
|
+
snapshot.context.sheets.forEach((sheet, sheetIndex) => {
|
|
18
|
+
const { pageWidth, pageHeight } = sheet.dataCenter.paper.props;
|
|
19
|
+
sheet.pageData.forEach(() => {
|
|
20
|
+
const element = elements[pageIndex++];
|
|
21
|
+
if (!element) throw new Error(`工作表「${sheet.title}」的打印页面未完整渲染`);
|
|
22
|
+
pages.push({
|
|
23
|
+
element,
|
|
24
|
+
sheetIndex,
|
|
25
|
+
sheetId: sheet.sheetId,
|
|
26
|
+
width: Number(pageWidth),
|
|
27
|
+
height: Number(pageHeight)
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
if (pageIndex !== elements.length) throw new Error("打印页数与分页结果不一致");
|
|
32
|
+
await printPagesInIframe(pages, options.title ?? "", signal);
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
printRuntimeInstance
|
|
36
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
2
|
+
import { R as RuntimeFormStateStore, G as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Cm8HO12b.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-CGELiUkd.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-B3S5QpVz.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "print-snapshot-renderer",
|
|
7
|
+
props: {
|
|
8
|
+
snapshot: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props, { expose: __expose }) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const { snapshot } = props;
|
|
13
|
+
const registry = new RuntimeInstanceRegistry();
|
|
14
|
+
const tableKeys = new Set(
|
|
15
|
+
snapshot.fieldMetadata.fields.map((field) => field.subFieldKey).filter((key) => !!key)
|
|
16
|
+
);
|
|
17
|
+
snapshot.context.businessIndex.subTableInfo.forEach((table) => {
|
|
18
|
+
if (table.field) tableKeys.add(table.field);
|
|
19
|
+
});
|
|
20
|
+
const store = new RuntimeFormStateStore(snapshot.formState, tableKeys, [
|
|
21
|
+
...snapshot.context.businessIndex.subTable2DList,
|
|
22
|
+
...snapshot.context.businessIndex.checkTable2DList
|
|
23
|
+
]);
|
|
24
|
+
const factory = new SubTableCoreFactory(snapshot.pageContexts);
|
|
25
|
+
factory.bindFormStateStore(store);
|
|
26
|
+
snapshot.context.services.subTableCoreFactory = factory;
|
|
27
|
+
const record = registry.register(snapshot.context, {
|
|
28
|
+
formStateStore: store,
|
|
29
|
+
fieldMetadata: snapshot.fieldMetadata,
|
|
30
|
+
dependencyOutputs: snapshot.dependencyOutputs
|
|
31
|
+
});
|
|
32
|
+
registry.attachController(
|
|
33
|
+
record.context.uniqueId,
|
|
34
|
+
new RuntimeInstanceController({
|
|
35
|
+
context: record.context,
|
|
36
|
+
sheetService: record.sheetService,
|
|
37
|
+
persistenceCoordinator: record.persistence,
|
|
38
|
+
onValidate: () => {
|
|
39
|
+
throw new Error("打印副本不能执行提交校验");
|
|
40
|
+
},
|
|
41
|
+
onGetSubmitData: () => {
|
|
42
|
+
throw new Error("打印副本不能提交业务数据");
|
|
43
|
+
}
|
|
44
|
+
})
|
|
45
|
+
);
|
|
46
|
+
record.sheetService.dispose();
|
|
47
|
+
record.persistence.dispose();
|
|
48
|
+
provide(NCB_PROVIDE.RUNTIME_INSTANCE_REGISTRY, registry);
|
|
49
|
+
provide(NCB_PROVIDE.IS_PDF, false);
|
|
50
|
+
const sheetsRef = ref();
|
|
51
|
+
let renderError;
|
|
52
|
+
onErrorCaptured((error) => {
|
|
53
|
+
renderError = error;
|
|
54
|
+
return false;
|
|
55
|
+
});
|
|
56
|
+
__expose({
|
|
57
|
+
whenReady: async () => {
|
|
58
|
+
if (!sheetsRef.value) throw renderError ?? new Error("打印页面未完成渲染");
|
|
59
|
+
await sheetsRef.value.whenReady();
|
|
60
|
+
if (renderError) throw renderError;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
onBeforeUnmount(() => registry.clear());
|
|
64
|
+
return (_ctx, _cache) => {
|
|
65
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
66
|
+
ref_key: "sheetsRef",
|
|
67
|
+
ref: sheetsRef,
|
|
68
|
+
record: unref(record),
|
|
69
|
+
"basic-info": unref(snapshot).basicInfo
|
|
70
|
+
}, null, 8, ["record", "basic-info"]);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
_sfc_main as default
|
|
76
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-
|
|
2
|
+
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-B3S5QpVz.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dg as registerInstance, dh as createEvent, di as getColumnByProp, dj as timeout, dk as getVisibleSourceItem, dl as getColumns, dm as rowTypes, dn as GroupingRowPlugin, dp as StretchColumn, dq as isStretchPlugin, dr as AutoSizeColumnPlugin, ds as FilterPlugin, dt as ExportFilePlugin, du as SortingPlugin, dv as ColumnMovePlugin, dw as ThemeService, dx as h, dy as Host, dz as getElement, dA as BasePlugin, dB as reduce, dC as columnTypes, dD as debounce, dE as RESIZE_INTERVAL, dF as DimensionStore, dG as gatherTrimmedItems, dH as getColumnSizes, dI as getItemByIndex, dJ as DataStore, dK as getSourceItem, dL as getSourceItemVirtualIndexByProp, dM as getColumnType, dN as setSourceByPhysicalIndex, dO as setSourceByVirtualIndex, dP as SelectionStore, dQ as cropCellToMax, dR as nextCell, dS as isRowType, dT as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
2
2
|
import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
3
3
|
import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
4
4
|
class ColumnDataProvider {
|
package/dist/{revogr-attribution_7.entry-DnWhGt3I.js → revogr-attribution_7.entry-CDnB9lLs.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dg as registerInstance, dx as h, dy as Host, dh as createEvent, dK as getSourceItem, dz as getElement, dY as ColumnService, dZ as MOBILE_CLASS, d_ as SELECTION_BORDER_CLASS, d$ as getCellData, e0 as getCellEditor, e1 as getRange, e2 as isRangeSingleCell, e3 as codesLetter, dT as ViewportStore, dJ as DataStore, e4 as calculateRowHeaderSize, e5 as ROW_HEADER_TYPE, e6 as getScrollbarSize, e7 as FOCUS_CLASS, dI as getItemByIndex, dj as timeout, e8 as CELL_HANDLER_CLASS, dD as debounce, e9 as TMP_SELECTION_BG_CLASS, dE as RESIZE_INTERVAL, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
2
2
|
import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
3
|
-
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-
|
|
3
|
+
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-CaZuzVd6.js";
|
|
4
4
|
import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
5
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
5
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-B466AVFI.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { dj as timeout, dg as registerInstance, dh as createEvent, dx as h, eb as EDIT_INPUT_WR, dy as Host, dz as getElement, dD as debounce, ee as DRAGG_TEXT, dK as getSourceItem, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-CaZuzVd6.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { ef as PSEUDO_GROUP_ITEM, eg as GROUP_EXPANDED, eh as GROUP_DEPTH, dx as h, ei as GROUP_EXPAND_BTN, ej as DATA_ROW, dK as getSourceItem, ek as isGroupingColumn, el as GROUP_COLUMN_PROP, em as getCellRaw, en as DATA_COL, eo as CELL_CLASS, ep as Build, eq as isRowDragService, er as DRAG_ICON_CLASS, es as DRAGGABLE_CLASS, et as getCellDataParsed, eu as GROUP_EXPAND_EVENT, dg as registerInstance, dh as createEvent, dY as ColumnService, ev as isGrouping, dy as Host, dz as getElement, dI as getItemByIndex, ew as HEADER_ROW_CLASS, ex as HEADER_ACTUAL_ROW_CLASS, ey as ROW_FOCUSED_CLASS, ez as HEADER_SORTABLE_CLASS, eA as MIN_COL_SIZE, e7 as FOCUS_CLASS, eB as FilterButton, eC as HeaderCellRenderer, eD as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-B466AVFI.js";
|
|
3
3
|
import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
4
4
|
const SortingSign = ({ column }) => {
|
|
5
5
|
var _a;
|
package/dist/{revogr-filter-panel.entry-DpaMxMlv.js → revogr-filter-panel.entry-By9rD4Y9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dg as registerInstance, dh as createEvent, dD as debounce, dx as h, dU as AndOrButton, dV as ReorderButton, dW as TrashButton, dX as isFilterBtn, dy as Host, dz as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, S,
|
|
1
|
+
import { aH, aB, q, cE, H, aI, aJ, cF, at, av, F, X, af, G, aA, bn, cG, au, T, cH, V, W, bo, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
2
|
+
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-uXt_kyMo.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -37,47 +37,53 @@ var ButtonOpeEnum = /* @__PURE__ */ ((ButtonOpeEnum2) => {
|
|
|
37
37
|
ButtonOpeEnum2[ButtonOpeEnum2["SINGLELINE_RDO"] = 3] = "SINGLELINE_RDO";
|
|
38
38
|
return ButtonOpeEnum2;
|
|
39
39
|
})(ButtonOpeEnum || {});
|
|
40
|
+
var SignatureTypeEnum = /* @__PURE__ */ ((SignatureTypeEnum2) => {
|
|
41
|
+
SignatureTypeEnum2["SIGNATURE_ONLY"] = "signature_only";
|
|
42
|
+
SignatureTypeEnum2["SIGNATURE_DATE"] = "signature_date";
|
|
43
|
+
SignatureTypeEnum2["SIGNATURE_DATETIME"] = "signature_datetime";
|
|
44
|
+
return SignatureTypeEnum2;
|
|
45
|
+
})(SignatureTypeEnum || {});
|
|
40
46
|
var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
41
47
|
GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
|
|
42
48
|
GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
|
|
43
49
|
return GctMqttTopsEnum2;
|
|
44
50
|
})(GctMqttTopsEnum || {});
|
|
45
51
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
52
|
+
aH as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
|
+
aB as BASIC_FIELD_TYPES,
|
|
54
|
+
q as BUSINESS_FIELD_TYPES,
|
|
49
55
|
ButtonOpeEnum,
|
|
50
56
|
ButtonSize,
|
|
51
57
|
ButtonStyle,
|
|
52
58
|
ButtonType,
|
|
53
59
|
ButtonType_vant,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
cE as CardControlEnum,
|
|
61
|
+
H as CreateType,
|
|
62
|
+
aI as Dependency_ENUM,
|
|
63
|
+
aJ as EntityModelCategoryEnum,
|
|
64
|
+
cF as EntityModelTypeEnum,
|
|
65
|
+
at as ExpressionModeEnum,
|
|
66
|
+
av as ExpressionTabEnum,
|
|
61
67
|
F as FIELD_TYPE,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
X as FieldDefaultValueTypeEnum,
|
|
69
|
+
af as FieldIconMap,
|
|
70
|
+
G as FieldTypeToJs,
|
|
71
|
+
aA as FormDesignEnum,
|
|
72
|
+
bn as FormulaRuleFieldKeyEnum,
|
|
67
73
|
GctMqttTopsEnum,
|
|
68
74
|
O as OnlineFormModelModal,
|
|
69
75
|
_ as OnlineFormModelSelect,
|
|
70
76
|
Platform,
|
|
71
|
-
|
|
72
|
-
|
|
77
|
+
cG as RecordNoGenerateEnum,
|
|
78
|
+
au as ReturnTypeEnum,
|
|
73
79
|
S as SEARCH_SEVICE,
|
|
74
|
-
|
|
80
|
+
SignatureTypeEnum,
|
|
75
81
|
T as TRACE_FIELD_TYPES,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
cH as TagTypeEnum,
|
|
83
|
+
V as UniqueConstraintType,
|
|
84
|
+
V2 as VersionSelect,
|
|
79
85
|
W as WAREHOUSE_FIELD_TYPES,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
86
|
+
bo as formulaRuleFieldDict,
|
|
87
|
+
a9 as normalizeFieldType,
|
|
88
|
+
U as onlineFormMasterModelTypeEnum
|
|
83
89
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-B3S5QpVz.js";
|
|
4
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -39,7 +39,10 @@ export interface ExcelHostHooks {
|
|
|
39
39
|
/** 表单变更流程选择 */
|
|
40
40
|
selectProcessModal?: (...args: any[]) => any;
|
|
41
41
|
/** DHR */
|
|
42
|
-
|
|
42
|
+
openFieldHyperlink?: (options: {
|
|
43
|
+
materialNo: string;
|
|
44
|
+
fieldType: string;
|
|
45
|
+
}) => void | Promise<unknown>;
|
|
43
46
|
openSingleDrawer?: (...args: any[]) => any;
|
|
44
47
|
/** 模型字段前缀 */
|
|
45
48
|
useKeyParser?: (...args: any[]) => any;
|
|
@@ -78,6 +81,7 @@ export type OpenFormulaEditor = (options: {
|
|
|
78
81
|
exprEcho?: string;
|
|
79
82
|
mode?: string;
|
|
80
83
|
returnType?: string;
|
|
84
|
+
functions?: any[];
|
|
81
85
|
identifiers?: Record<string, any>;
|
|
82
86
|
callback?: (expr: string, exprEcho?: string, options?: any) => void;
|
|
83
87
|
[key: string]: any;
|
|
@@ -168,6 +172,7 @@ export interface ExcelHostUtils {
|
|
|
168
172
|
}>;
|
|
169
173
|
formulaIdentify?: FormulaIdentify;
|
|
170
174
|
formulaCalculate?: FormulaCalculate;
|
|
175
|
+
formulaRegister?: (...args: any) => any;
|
|
171
176
|
openMockReportUrl?: (...args: any[]) => any;
|
|
172
177
|
formulaDeepCalcName?: (...args: any[]) => any;
|
|
173
178
|
}
|
|
@@ -24,6 +24,7 @@ export declare const TABLE_BUSINESS_SVG: {
|
|
|
24
24
|
readonly 'material-consume': string;
|
|
25
25
|
readonly 'material-balance': string;
|
|
26
26
|
readonly 'material-requisition': string;
|
|
27
|
+
readonly 'material-substitution': string;
|
|
27
28
|
readonly 'check-table': string;
|
|
28
29
|
readonly 'pretreatment-list': string;
|
|
29
30
|
readonly 'entrust-steril-batch-list': string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../../shared/enum';
|
|
2
2
|
/** 设计态控件标识;不落库,旧数据仍按 FIELD_TYPE / bizType 查找 */
|
|
3
|
-
export type FieldDesignComponent = 'fw:input' | 'fw:number' | 'fw:select' | 'fw:tree-select' | 'fw:rdo-select' | 'fw:auto-complete' | 'fw:date' | 'fw:time' | 'fw:date-time' | 'fw:enum' | 'fw:boolean' | 'fw:image' | 'fw:file' | 'fw:signature';
|
|
3
|
+
export type FieldDesignComponent = 'fw:input' | 'fw:number' | 'fw:select' | 'fw:tree-select' | 'fw:rdo-select' | 'fw:auto-complete' | 'fw:date' | 'fw:time' | 'fw:date-time' | 'fw:enum' | 'fw:boolean' | 'fw:image' | 'fw:file' | 'fw:signature' | 'fw:seal';
|
|
4
4
|
/** 填报态控件标识;查找时映射到 ComponentTypeEnum / *-render */
|
|
5
|
-
export type FieldRenderComponent = 'rd:input' | 'rd:textarea' | 'rd:number' | 'rd:double' | 'rd:select' | 'rd:tree-select' | 'rd:rdo-select' | 'rd:auto-complete' | 'rd:date' | 'rd:date-time' | 'rd:time' | 'rd:enum' | 'rd:boolean' | 'rd:user' | 'rd:image' | 'rd:file' | 'rd:signature';
|
|
5
|
+
export type FieldRenderComponent = 'rd:input' | 'rd:textarea' | 'rd:number' | 'rd:double' | 'rd:select' | 'rd:tree-select' | 'rd:rdo-select' | 'rd:auto-complete' | 'rd:date' | 'rd:date-time' | 'rd:time' | 'rd:enum' | 'rd:boolean' | 'rd:user' | 'rd:image' | 'rd:file' | 'rd:signature' | 'rd:seal';
|
|
6
6
|
export interface FieldDefaultProps {
|
|
7
7
|
placeholder: string;
|
|
8
8
|
required?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as maintenanceProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as pointInspectionProfile } from './profile';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface FixedDeviceOperationConfig {
|
|
2
|
+
mainFieldBindings?: string[];
|
|
3
|
+
dataLockControlField?: 'inspector_' | 'reviewer_';
|
|
4
|
+
}
|
|
5
|
+
/** 签名字段有有效数据时,认为该行已经进入锁定状态。 */
|
|
6
|
+
export declare function hasSignatureValue(value: unknown): boolean;
|
|
7
|
+
export declare function isSignatureLockActive(config: FixedDeviceOperationConfig | undefined, rowData: Record<string, any> | undefined): boolean;
|
|
8
|
+
/** 已保存的固定表行,其控制签名不可再删除。 */
|
|
9
|
+
export declare function isPersistedSignatureLockActive(config: FixedDeviceOperationConfig | undefined, rowData: Record<string, any> | undefined): boolean;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 物料替换表(MATERIAL_SUBSTITUTION)字段 key
|
|
3
|
+
*/
|
|
4
|
+
export declare const F: {
|
|
5
|
+
/** 工序节点 */
|
|
6
|
+
readonly routingOperation: "routing_operation_id_";
|
|
7
|
+
/** SN */
|
|
8
|
+
readonly productionContainer: "production_container_id_";
|
|
9
|
+
/** 被替换物料批号 */
|
|
10
|
+
readonly sourceMaterialNo: "source_material_no_";
|
|
11
|
+
/** 被替换物料批号展示值 */
|
|
12
|
+
readonly sourceMaterialNoLb: "source_material_no__lb_";
|
|
13
|
+
/** 被替换物料 */
|
|
14
|
+
readonly sourceProduct: "source_product_id_";
|
|
15
|
+
/** 被替换物料展示值 */
|
|
16
|
+
readonly sourceProductLb: "source_product_id__lb_";
|
|
17
|
+
/** 被替换物料名称 */
|
|
18
|
+
readonly sourceProductName: "source_product_id_name_";
|
|
19
|
+
/** 被替换物料编码 */
|
|
20
|
+
readonly sourceProductCode: "source_product_id_code_";
|
|
21
|
+
/** 被替换物料规格 */
|
|
22
|
+
readonly sourceProductSpec: "source_product_id_spec_";
|
|
23
|
+
/** 原上料数量 */
|
|
24
|
+
readonly sourceQtyConsumed: "source_qty_consumed_";
|
|
25
|
+
/** 替换物料批号 */
|
|
26
|
+
readonly targetMaterialNo: "target_material_no_";
|
|
27
|
+
/** 替换物料批号 ID */
|
|
28
|
+
readonly targetMaterialNoId: "target_material_no__id_";
|
|
29
|
+
/** 替换物料 */
|
|
30
|
+
readonly targetProduct: "target_product_id_";
|
|
31
|
+
/** 替换物料名称 */
|
|
32
|
+
readonly targetProductName: "target_product_id_name_";
|
|
33
|
+
/** 替换物料编码 */
|
|
34
|
+
readonly targetProductCode: "target_product_id_code_";
|
|
35
|
+
/** 替换物料规格 */
|
|
36
|
+
readonly targetProductSpec: "target_product_id_spec_";
|
|
37
|
+
/** 替换数量 */
|
|
38
|
+
readonly targetQtyConsumed: "target_qty_consumed_";
|
|
39
|
+
};
|
|
40
|
+
export type MaterialSubstitutionFieldKey = (typeof F)[keyof typeof F];
|
|
41
|
+
/** 设计态固定禁用、运行态禁用的物料信息字段 */
|
|
42
|
+
export declare const DISABLED_INPUT_FIELDS: readonly ["source_material_no_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
|
|
43
|
+
export declare const CLEAR_ON_SOURCE_PRODUCT_EMPTY: readonly ["source_material_no_", "source_material_no__lb_", "source_product_id__lb_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_"];
|
|
44
|
+
/** 替换物料批号清空 / 手输时需清空的物料字段 */
|
|
45
|
+
export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
|
|
46
|
+
/** 历史消耗选项 → 被替换物料行字段 */
|
|
47
|
+
export declare const FILL_FROM_SOURCE_PRODUCT_OPTION: readonly [{
|
|
48
|
+
readonly optionField: "material_name_";
|
|
49
|
+
readonly toField: "source_material_no_";
|
|
50
|
+
}, {
|
|
51
|
+
readonly optionField: "product_id_.name_";
|
|
52
|
+
readonly toField: "source_product_id_name_";
|
|
53
|
+
}, {
|
|
54
|
+
readonly optionField: "product_id_.code_";
|
|
55
|
+
readonly toField: "source_product_id_code_";
|
|
56
|
+
}, {
|
|
57
|
+
readonly optionField: "product_id_.spec_";
|
|
58
|
+
readonly toField: "source_product_id_spec_";
|
|
59
|
+
}, {
|
|
60
|
+
readonly optionField: "qty_consumed_";
|
|
61
|
+
readonly toField: "source_qty_consumed_";
|
|
62
|
+
}];
|
|
63
|
+
/** 替换物料批号选项 → 替换物料信息 */
|
|
64
|
+
export declare const FILL_FROM_TARGET_MATERIAL_NO_OPTION: readonly [{
|
|
65
|
+
readonly optionField: "product_id_name_";
|
|
66
|
+
readonly toField: "target_product_id_name_";
|
|
67
|
+
}, {
|
|
68
|
+
readonly optionField: "product_id_code_";
|
|
69
|
+
readonly toField: "target_product_id_code_";
|
|
70
|
+
}, {
|
|
71
|
+
readonly optionField: "product_id_spec_";
|
|
72
|
+
readonly toField: "target_product_id_spec_";
|
|
73
|
+
}];
|
|
74
|
+
/** SN / 工序不影响扫码结果能否复用当前空行。 */
|
|
75
|
+
export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "source_product_id_", "target_material_no_", "target_product_id_"];
|
package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,6 +9,6 @@ interface ResolvedSubTableCreate {
|
|
|
9
9
|
seedCheckDataSourceOnCreate?: boolean;
|
|
10
10
|
assocColField?: 'required' | 'optional';
|
|
11
11
|
}
|
|
12
|
-
export declare function resolveSubTableCreate(tableType: SubTableType | string): ResolvedSubTableCreate;
|
|
12
|
+
export declare function resolveSubTableCreate(tableType: SubTableType | string, refModelType?: string): ResolvedSubTableCreate;
|
|
13
13
|
export declare function resolvePanelTypeByTableType(tableType: SubTableType | string | undefined, PanelTypeEnum: Record<string, number | string>, fallback: number | string): number | string;
|
|
14
14
|
export {};
|
|
@@ -3,4 +3,4 @@ export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTableP
|
|
|
3
3
|
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './panel-features';
|
|
4
4
|
export { resolveTableLabelKey } from './label';
|
|
5
5
|
export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './ribbon-options';
|
|
6
|
-
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink } from './sub-model-matcher';
|
|
6
|
+
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink, isFixedOnlyBusinessRefModelType, } from './sub-model-matcher';
|