@gct-paas/excel 0.1.37-beta.2 → 0.1.37
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-DN5v-Q_h.js → BaseComponent-5QpH6Rui.js} +2 -20
- package/dist/{VueVideoPlayer-C49th9G_.js → VueVideoPlayer-DZh8_F3v.js} +2 -2
- package/dist/{align-editor-CpscpDxA.js → align-editor-BTvIuOVN.js} +1 -1
- package/dist/{barcode-design-B7AoHzux.js → barcode-design-D3g_D7hp.js} +2 -3
- package/dist/base/index.es.js +2799 -2279
- package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-BinP4Wlt.js} +2 -3
- package/dist/{dynamic-table-action-zR6VwiFi.js → dynamic-table-action-Ckc4yetB.js} +3015 -7111
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js} +24570 -23749
- package/dist/{edit.utils-CXmmCnxE-evcsspEJ.js → edit.utils-CXmmCnxE-DDvf_1B1.js} +1 -1
- package/dist/excel.css +1204 -2454
- package/dist/{exceljs.min-DYYU4xe-.js → exceljs.min-jNu29iVm.js} +2 -2
- package/dist/{font-editor-hpUeXFv_.js → font-editor-B6cYSWqo.js} +3 -3
- package/dist/{image-design-BnDK5Jwf.js → image-design-kQ2vbtwc.js} +2 -2
- package/dist/{index-BcfmxYW-.js → index-B5HIN-qO.js} +2 -3
- package/dist/{index-DPiPri6e.js → index-B9sZfT3j.js} +2 -3
- package/dist/{index-CRj08TWu.js → index-BJyfzYBO.js} +2 -3
- package/dist/{index-D3t6B-9k.js → index-BNiGRPzJ.js} +1 -2
- package/dist/{index-BWvyGnI_.js → index-BPKmoc5N.js} +2 -3
- package/dist/{index-sQI9wXhV.js → index-BWEQIjQE.js} +1 -2
- package/dist/{index-Dfs0gE3N.js → index-BaCxUMCF.js} +2 -3
- package/dist/{index-3n5gOxbD.js → index-Bk8MpwGt.js} +2 -3
- package/dist/{index-B8tTsX2y.js → index-BqI7r_XC.js} +2 -3
- package/dist/{index-D9pfqRAP.js → index-BtZbUJqv.js} +3 -6
- package/dist/{index-D1C_tY7a.js → index-C1DOk9t-.js} +1 -2
- package/dist/{index-BEyidTCC.js → index-C3HGy13G.js} +1 -2
- package/dist/{index-CLyowrpG.js → index-C4tkNDTa.js} +2 -3
- package/dist/{index-DP1WApp-.js → index-C5ESFU7b.js} +1 -2
- package/dist/{index-CZv8lo_f.js → index-C8ArafDL.js} +2 -3
- package/dist/{index-BY7_uLSS.js → index-C91SfhAb.js} +1 -2
- package/dist/{index-B9q2iVJw.js → index-CkgB26Uk.js} +3 -4
- package/dist/{index-YuHHwSzv.js → index-ClnlX2jZ.js} +1 -2
- package/dist/{index-BezxcVwZ.js → index-CnTC_LFJ.js} +2 -3
- package/dist/{index-CUhR3L97.js → index-D3Oj5SoQ.js} +3 -4
- package/dist/{index-CXBwY7ba.js → index-DCMnBDPA.js} +237 -432
- package/dist/{index-HNE-yLqK.js → index-DF5irDE9.js} +2 -3
- package/dist/{index-DX1Nqubf.js → index-DSISN2ys.js} +2 -3
- package/dist/{index-557u9lSs.js → index-Dg6nmj-a.js} +74 -9
- package/dist/{index-CUhlQ0aK.js → index-DgUHgge3.js} +3 -4
- package/dist/{index-DKAk8Fzf.js → index-DnLs4s1z.js} +2 -14
- package/dist/{index-Crs2UUiJ.js → index-DqDGmouR.js} +2 -3
- package/dist/{index-BboAW45l.js → index-DqkJPwx3.js} +3 -4
- package/dist/{index-DULgJ5M_.js → index-Dxh55nQw.js} +1 -2
- package/dist/{index-CA25B2UR.js → index-Dzydpwhf.js} +2 -3
- package/dist/{index-D6T0GkNc.js → index-KBj0_MsM.js} +2 -3
- package/dist/{index-BaC0Py3z.js → index-O4srBJlA.js} +6845 -12285
- package/dist/{index-Bxgg0txy.js → index-YlVy61FH.js} +1 -2
- package/dist/{index-tRVTXeIS.js → index-avQcYIlZ.js} +2 -3
- package/dist/index.es.js +49 -51
- package/dist/{mb-render-jAsNtPqY.js → mb-render-BtXKf12F.js} +15 -21
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js} +8 -2
- package/dist/{pagination-design-lgUGQHWo.js → pagination-design-D2EHYcDi.js} +2 -3
- package/dist/paper-widget-design-Cn1RcpGb.js +4 -0
- package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-_uIcWgfD.js} +1 -1
- package/dist/{revo-grid.entry-Bygattd8.js → revo-grid.entry-h26i-X1O.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BqzhD1hP.js → revogr-attribution_7.entry-DnWhGt3I.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-Wr7KhnJ_.js → revogr-clipboard_3.entry-DHP6m3aV.js} +2 -2
- package/dist/{revogr-data_4.entry-CrFW39f1.js → revogr-data_4.entry-CBEPKC2v.js} +2 -2
- package/dist/{revogr-filter-panel.entry-9khS41SL.js → revogr-filter-panel.entry-DpaMxMlv.js} +1 -1
- package/dist/{serialnumber-design-eXgfrjw9.js → serialnumber-design-KRWMAGLy.js} +1 -1
- package/dist/shared/index.es.js +26 -32
- package/dist/{single-field-drop-rKr_LXW8.js → single-field-drop-yih8_AXA.js} +2 -2
- package/dist/{size-editor-OEPrJU0W.js → size-editor-BqOSTI8R.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +1 -6
- package/dist/src/assets/svgs/table/index.d.ts +0 -1
- package/dist/src/domain/field/types.d.ts +2 -2
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- 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 +0 -1
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +0 -1
- package/dist/src/domain/table/index.d.ts +2 -3
- package/dist/src/domain/table/registry.d.ts +0 -1
- package/dist/src/domain/table/types.d.ts +3 -8
- package/dist/src/index.d.ts +0 -6
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +0 -8
- package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +0 -3
- 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/material-consume/material-consume-action.vue.d.ts +17 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +2 -8
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +3 -11
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -23
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +5 -0
- package/dist/src/nocode-base/src/core/types/index.d.ts +0 -4
- package/dist/src/nocode-base/src/emit/enum.d.ts +12 -2
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +5 -7
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +6 -0
- 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 +3 -5
- 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 +2 -10
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +25 -13
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +6 -5
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +4 -8
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +0 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +13 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +1 -2
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +4 -7
- package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +2 -3
- package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +9 -1
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +24 -8
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +99 -102
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +18 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +10 -4
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +2 -3
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +8 -5
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +8 -15
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +41 -0
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
- package/dist/src/nocode-base/src/index.d.ts +0 -2
- package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +3 -4
- package/dist/src/nocode-base/src/interface/code-runner.d.ts +0 -4
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -5
- package/dist/src/nocode-base/src/interface/transform.d.ts +22 -26
- package/dist/src/nocode-base/src/types/business/index.d.ts +1 -8
- package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +0 -3
- package/dist/src/nocode-base/src/types/common/base.d.ts +6 -62
- package/dist/src/nocode-base/src/types/fields/index.d.ts +0 -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 +2 -4
- 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 +5 -3
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +35 -4
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +1 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +7 -4
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +6 -8
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +0 -2
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +0 -3
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +0 -4
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -7
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +1 -5
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +0 -4
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +678 -1208
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -5
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2480 -503
- 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/panel-rule-config.vue.d.ts +1 -18
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +327 -209
- package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +26 -48
- package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +3 -8
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +108 -11
- package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +4 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
- 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 +1 -2
- package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +1 -2
- package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
- package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +19 -21
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
- package/dist/src/shared/components/Signature/index.d.ts +2 -1
- package/dist/src/shared/components/Signature/logic/index.d.ts +14 -1
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +29 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +2 -4
- package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +18 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +118 -0
- 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 +0 -23
- package/dist/src/shared/enum/online-form.d.ts +2 -8
- package/dist/src/shared/index.d.ts +0 -1
- package/dist/src/shared/types/field-meta.d.ts +0 -1
- package/dist/src/shared/utils/field-size.d.ts +2 -4
- package/dist/src/shared/utils/lot2sn.d.ts +0 -5
- package/dist/{text-design-Dd5uT-hc.js → text-design-BK_VsTtK.js} +2 -3
- package/dist/{throttle-Cpk1LoGk-DxTostCa.js → throttle-Cpk1LoGk-DadArQT5.js} +1 -1
- package/dist/{timediff-design-DhxYymPd.js → timediff-design-q-J7ObPi.js} +1 -2
- package/dist/{trace-like-wrapper-CczUTJwp.js → trace-like-wrapper-CtthDv9M.js} +2 -3
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzAhq5rc.js → value-editor.vue_vue_type_style_index_0_lang-B40m6f0M.js} +2 -3
- package/dist/web-render/index.es.js +5 -6
- package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-DePyj-oR.js} +4 -5
- package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-BoPK84Km.js} +3 -4
- package/dist/{widget-image-bPGudw8R.js → widget-image-Bd-hAzWZ.js} +5 -5
- package/dist/{widget-line-Dw1mkN0H.js → widget-line-DcQ4GjjX.js} +2 -3
- package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-D6IFtegJ.js} +5 -6
- package/dist/{widget-power-Ceni1m5s.js → widget-power-dAEtqR3T.js} +3 -4
- package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-GkDxu48J.js} +3 -4
- package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-TRqqVGXL.js} +3 -3
- package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-BdZLWmtI.js} +1 -1
- package/dist/{widget-text-BIMT_dmX.js → widget-text-DS8vSuAy.js} +5 -5
- package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-C1n_nRUs.js} +2 -3
- package/package.json +4 -4
- package/dist/index-Bfrtgjub.js +0 -27
- package/dist/paper-widget-design-B6GKQFw2.js +0 -4
- package/dist/print-runtime-instance-MxA8-bHV.js +0 -36
- package/dist/print-snapshot-renderer-D6sRzdVe.js +0 -76
- package/dist/seal-design-CJO9Kmm0.js +0 -4
- package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +0 -2
- package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +0 -2
- package/dist/src/domain/field/seal/seal-manifest.d.ts +0 -2
- package/dist/src/domain/field/select/inspection-container-manifest.d.ts +0 -2
- package/dist/src/domain/field/text/udi-manifest.d.ts +0 -2
- package/dist/src/domain/table/business/device/maintenance/index.d.ts +0 -1
- package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
- package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
- package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
- package/dist/src/domain/table/business/device/point-inspection/index.d.ts +0 -1
- package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
- package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
- package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
- package/dist/src/domain/table/business/device/signature-lock.d.ts +0 -9
- package/dist/src/domain/table/business/material/material-substitution/index.d.ts +0 -2
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -75
- package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
- package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
- package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
- package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +0 -7
- package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +0 -11
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +0 -56
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
- package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +0 -24
- package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +0 -67
- package/dist/src/nocode-base/src/hooks/udi.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +0 -3
- package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -65
- package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +0 -16
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +0 -66
- package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +0 -2
- package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +0 -4
- package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +0 -15
- package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +0 -11
- package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +0 -7
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +0 -21
- package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +0 -8
- package/dist/src/nocode-base/src/runtime/field-identity.d.ts +0 -21
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +0 -7
- package/dist/src/nocode-base/src/runtime/index.d.ts +0 -18
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +0 -43
- package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +0 -36
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +0 -122
- package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +0 -82
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -26
- package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +0 -90
- package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +0 -7
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +0 -15
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +0 -132
- package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +0 -80
- package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +0 -17
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +0 -296
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +0 -93
- package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +0 -37
- package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +0 -99
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +0 -44
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +0 -23
- package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +0 -10
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +0 -78
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +0 -43
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +0 -194
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +0 -28
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +0 -6
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +0 -145
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +0 -11
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +0 -31
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +0 -40
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +0 -2
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +0 -6
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +0 -4
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +0 -2
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +0 -2
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +0 -9
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +0 -7
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +0 -19
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +0 -16
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +0 -54
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +0 -24
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +0 -30
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +0 -12
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +0 -33
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +0 -12
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +0 -23
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +0 -36
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +0 -21
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +0 -30
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +0 -17
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +0 -20
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +0 -8
- package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +0 -16
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +0 -17
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +0 -29
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -58
- package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +0 -14
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +0 -10
- package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +0 -15
- package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +0 -11
- package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +0 -11
- package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +0 -27
- package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +0 -24
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +0 -14
- package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +0 -6
- package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +0 -38
- package/dist/src/shared/seal/index.d.ts +0 -44
- package/dist/sub-table-factory-DLXJkTHY.js +0 -2118
|
@@ -33,5 +33,5 @@ export declare const calcUtils: {
|
|
|
33
33
|
pageListRecursion: (realDealWithList: Array<IDealWithItem | IDealWithItem[]>, maxHeight: number) => IPageItem[];
|
|
34
34
|
/** 获取分页数据列表 */
|
|
35
35
|
getPageData: (pageList: any, baseMarketObj: any) => IPageData[];
|
|
36
|
-
initCalc: (runtimeJson: any, formState: any) =>
|
|
36
|
+
initCalc: (runtimeJson: any, formState: any) => IPageData[];
|
|
37
37
|
};
|
|
@@ -16,9 +16,6 @@ export interface ICheckDsFetchResult {
|
|
|
16
16
|
data: any[];
|
|
17
17
|
}
|
|
18
18
|
type CheckDsRuntimeContext = {
|
|
19
|
-
/** 表单级数据源、模型和脚本配置。 */
|
|
20
|
-
formConfig: Record<string, any>;
|
|
21
|
-
/** 当前 Sheet 的检验表结构与行坐标。 */
|
|
22
19
|
paper: any;
|
|
23
20
|
instanceId: string;
|
|
24
21
|
cloneRuntimeJson: Record<string, any>;
|
|
@@ -35,13 +32,14 @@ export declare function getCheckTableSnapshotKey(checkInfo: ICheckTable2DInfo):
|
|
|
35
32
|
* @returns 字段映射 + 原始数据;未配置 M08 数据源时返回 null
|
|
36
33
|
*/
|
|
37
34
|
export declare function fetchMedProCheckDsData(payload: {
|
|
38
|
-
|
|
35
|
+
paper: any;
|
|
39
36
|
instanceId: string;
|
|
40
37
|
}): Promise<ICheckDsFetchResult | null>;
|
|
41
38
|
/**
|
|
42
39
|
* 非 MedPro + checkDsType = default:按检验计划拉取检验项
|
|
43
40
|
*/
|
|
44
41
|
export declare function fetchCheckDsDataForTable(payload: {
|
|
42
|
+
paper: any;
|
|
45
43
|
instanceId: string;
|
|
46
44
|
checkInfo: ICheckTable2DInfo;
|
|
47
45
|
}): Promise<ICheckDsTableFetchResult | null>;
|
|
@@ -49,6 +47,7 @@ export declare function fetchCheckDsDataForTable(payload: {
|
|
|
49
47
|
* 非 MedPro + checkDsType = custom:按自定义检验项拉取
|
|
50
48
|
*/
|
|
51
49
|
export declare function fetchCustomCheckDsData(payload: {
|
|
50
|
+
paper: any;
|
|
52
51
|
instanceId: string;
|
|
53
52
|
checkInfo: ICheckTable2DInfo;
|
|
54
53
|
}): Promise<ICheckDsTableFetchResult | null>;
|
|
@@ -3,8 +3,6 @@ export declare class CodeRunner {
|
|
|
3
3
|
* 导出方法
|
|
4
4
|
*/
|
|
5
5
|
exports: any;
|
|
6
|
-
/** 实例替换或销毁后禁止再发起脚本事件。 */
|
|
7
|
-
private disposed;
|
|
8
6
|
/**
|
|
9
7
|
* constructor
|
|
10
8
|
* @param runtimeJs 运行时 js
|
|
@@ -18,8 +16,6 @@ export declare class CodeRunner {
|
|
|
18
16
|
* @returns
|
|
19
17
|
*/
|
|
20
18
|
invoke(method: string, ...args: any[]): any;
|
|
21
|
-
/** 释放导出函数及其对表单数据的闭包引用;已开始执行的用户异步脚本由其自身结束。 */
|
|
22
|
-
dispose(): void;
|
|
23
19
|
/**
|
|
24
20
|
* 解析可用函数
|
|
25
21
|
* @param code
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FormTypeEnum } from '../constant';
|
|
2
2
|
import { FormTmplBomController } from '../hooks';
|
|
3
|
-
import { RuntimeFieldMetadata } from '../runtime/runtime-field-registry';
|
|
4
3
|
/** 渲染端公共类 */
|
|
5
4
|
export declare const renderUtils: {
|
|
6
5
|
getValue: (modelValue: any, multiple: any) => any;
|
|
@@ -69,7 +68,7 @@ export declare const renderUtils: {
|
|
|
69
68
|
/** 处理字段列表-优先编辑 */
|
|
70
69
|
deduplicateFields: (data: any) => any[];
|
|
71
70
|
/** 根据模板信息集合筛选字段信息集合 */
|
|
72
|
-
getFieldsByDataCenter: (dataCenter: any, useDynRowHeight: boolean
|
|
71
|
+
getFieldsByDataCenter: (dataCenter: any, useDynRowHeight: boolean) => Promise<{
|
|
73
72
|
foreignFields: unknown[];
|
|
74
73
|
subModelFields: {
|
|
75
74
|
masterFieldKey: any;
|
|
@@ -84,11 +83,9 @@ export declare const renderUtils: {
|
|
|
84
83
|
tdIdGroups: Map<any, any>;
|
|
85
84
|
useClsReasonDataLink: string[];
|
|
86
85
|
useClsGroupDataLink: string[];
|
|
87
|
-
fieldLocations: any[];
|
|
88
|
-
fieldMetadata: RuntimeFieldMetadata;
|
|
89
86
|
}>;
|
|
90
87
|
/** 提前设置值给widget */
|
|
91
|
-
setRequestInfo2DataCenter: (
|
|
88
|
+
setRequestInfo2DataCenter: (dataCenter: any, modelKeys: any, platformType: any, isMockReport: any, formType: FormTypeEnum, paramsConfig: any, useSignFields: any, useClsReasonDataLink: any, useClsGroupDataLink: any, tmplBomC: FormTmplBomController, modelQueries: any) => Promise<void>;
|
|
92
89
|
/** 获取默认值集合 */
|
|
93
90
|
getDefaultValueMapByField: ({ defaultValueFields, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
94
91
|
defaultValueFields: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderModeEnum } from '../constant';
|
|
2
2
|
import { ICheckTableConfig } from './front-config';
|
|
3
|
+
import { IPaper } from '../types';
|
|
3
4
|
import { SubTableCoreFactory } from '../core/factory/sub-table-factory';
|
|
4
|
-
import { RuntimeTableRelation } from '../runtime/table-row-identity';
|
|
5
5
|
/** 将源数据转换为子表数据 */
|
|
6
6
|
declare function transformSourceData2SubTable(data: any, dict?: {},
|
|
7
7
|
/** 默认值 */
|
|
@@ -28,18 +28,19 @@ export declare const transformUtils: {
|
|
|
28
28
|
subTableInfo: Array<any>;
|
|
29
29
|
/** 渲染模式 */
|
|
30
30
|
viewMode: RenderModeEnum;
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
|
|
31
|
+
/** 纸张信息 */
|
|
32
|
+
paper: any;
|
|
33
|
+
/** 数据中心 */
|
|
34
|
+
dataCenter: any;
|
|
35
35
|
}) => {
|
|
36
36
|
_DICT: {};
|
|
37
37
|
_OPCT: {};
|
|
38
38
|
_MCTABLE: {};
|
|
39
39
|
};
|
|
40
|
-
/**
|
|
40
|
+
/** 请求参数映射数据 */
|
|
41
41
|
getParamData: (payload: {
|
|
42
|
-
|
|
42
|
+
/** 纸张信息 */
|
|
43
|
+
paper: any;
|
|
43
44
|
/** 参数配置 */
|
|
44
45
|
paramsConfig: any;
|
|
45
46
|
/** 子表信息 */
|
|
@@ -58,10 +59,8 @@ export declare const transformUtils: {
|
|
|
58
59
|
* @returns 待落库的 checkTableConfig;无检验表或未产生快照时返回 undefined
|
|
59
60
|
*/
|
|
60
61
|
requestCheckDsData: (payload: {
|
|
61
|
-
/**
|
|
62
|
+
/** 纸张组件(含 checkTable2DList、customDataSource) */
|
|
62
63
|
paper: any;
|
|
63
|
-
/** 表单级数据源配置。 */
|
|
64
|
-
formConfig: Record<string, any>;
|
|
65
64
|
/** 当前表单实例 id,用于协议/接口查询 */
|
|
66
65
|
instanceId: string;
|
|
67
66
|
/** 运行时 JSON 副本,扩行时会直接修改 */
|
|
@@ -71,9 +70,10 @@ export declare const transformUtils: {
|
|
|
71
70
|
/** 实例已落库的 frontConfig(JSON 字符串) */
|
|
72
71
|
frontConfig?: string;
|
|
73
72
|
}) => Promise<ICheckTableConfig | undefined>;
|
|
74
|
-
/**
|
|
73
|
+
/** 请求自定义数据源 */
|
|
75
74
|
requestCustomSourceData: (payload: {
|
|
76
|
-
|
|
75
|
+
/** 纸张信息 */
|
|
76
|
+
paper: any;
|
|
77
77
|
/** 参数配置 */
|
|
78
78
|
paramsConfig: any;
|
|
79
79
|
/** 表单实例id */
|
|
@@ -81,18 +81,20 @@ export declare const transformUtils: {
|
|
|
81
81
|
/** 子表信息 */
|
|
82
82
|
subTableInfo: Array<any>;
|
|
83
83
|
}) => Promise<any[]>;
|
|
84
|
-
/**
|
|
84
|
+
/** 初始化数据事件 */
|
|
85
85
|
getEventInitDataLoad: (payload: {
|
|
86
|
-
|
|
86
|
+
/** 纸张信息 */
|
|
87
|
+
paper: any;
|
|
87
88
|
/** 参数配置 */
|
|
88
89
|
paramsConfig: any;
|
|
89
90
|
/** 渲染模式 */
|
|
90
91
|
viewMode: RenderModeEnum;
|
|
91
92
|
ofCtx: any;
|
|
92
93
|
}) => Promise<any>;
|
|
93
|
-
/**
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
/** 设置字段事件 */
|
|
95
|
+
setEventInstance: (payload: {
|
|
96
|
+
/** 纸张信息 */
|
|
97
|
+
paper: any;
|
|
96
98
|
formState: any;
|
|
97
99
|
/** 渲染模式 */
|
|
98
100
|
viewMode: RenderModeEnum;
|
|
@@ -123,9 +125,7 @@ export declare const transformUtils: {
|
|
|
123
125
|
/** 子表处理工厂 */
|
|
124
126
|
subTableCoreFactory: SubTableCoreFactory;
|
|
125
127
|
/** 纸张信息 */
|
|
126
|
-
|
|
127
|
-
/** 与 Store/渲染端共用的实例级二维关联配置。 */
|
|
128
|
-
tableRelations?: readonly RuntimeTableRelation[];
|
|
128
|
+
paper: any;
|
|
129
129
|
}) => {
|
|
130
130
|
_DICT: {};
|
|
131
131
|
_OPCT: {};
|
|
@@ -137,12 +137,8 @@ export declare const transformUtils: {
|
|
|
137
137
|
_OPCT: {};
|
|
138
138
|
_MCTABLE: {};
|
|
139
139
|
};
|
|
140
|
-
/**
|
|
141
|
-
getSubmitFormData: (formData: any,
|
|
142
|
-
subTable2DList?: any[];
|
|
143
|
-
checkTable2DList?: any[];
|
|
144
|
-
materialConsumeTableList?: any[];
|
|
145
|
-
}) => Partial<{}>;
|
|
140
|
+
/** 数据转成真实提交数据(二维表要平铺) */
|
|
141
|
+
getSubmitFormData: (formData: any, paper: IPaper) => Partial<{}>;
|
|
146
142
|
getFormDataIdsMap: (formData: any, preserveKeys?: string[]) => any;
|
|
147
143
|
};
|
|
148
144
|
export {};
|
|
@@ -11,14 +11,7 @@ export interface IBusinessScanConfig {
|
|
|
11
11
|
disableBarcodeParsing?: boolean;
|
|
12
12
|
scanParamType?: ScanParamType;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
export interface IFixedDeviceOperationConfig {
|
|
16
|
-
/** 已拖入表单的主表绑定字段 key */
|
|
17
|
-
mainFieldBindings?: string[];
|
|
18
|
-
/** 签名后触发数据锁定的子表内置字段 key */
|
|
19
|
-
dataLockControlField?: 'inspector_' | 'reviewer_';
|
|
20
|
-
}
|
|
21
|
-
export type IBizTableConfig = IStocktakeConfig | ISterilizeBatchConfig | IPretreatmentListConfig | IBusinessScanConfig | IFixedDeviceOperationConfig;
|
|
14
|
+
export type IBizTableConfig = IStocktakeConfig | ISterilizeBatchConfig | IPretreatmentListConfig | IBusinessScanConfig;
|
|
22
15
|
export * from './allocate';
|
|
23
16
|
export * from './sterilize-batch';
|
|
24
17
|
export * from './pretreatment-list';
|
|
@@ -114,9 +114,6 @@ export interface IPageItem {
|
|
|
114
114
|
dynHeights: Map<string, number | number[]>;
|
|
115
115
|
}
|
|
116
116
|
export interface IPageData {
|
|
117
|
-
/** 浮动字段使用的稳定 sheet/页定位 */
|
|
118
|
-
sheetId?: string;
|
|
119
|
-
pageIndex?: number;
|
|
120
117
|
/** 唯一key */
|
|
121
118
|
uuid: string;
|
|
122
119
|
/** 当前页内容trId集合 */
|
|
@@ -21,9 +21,7 @@ export declare namespace BaseCoreComponent {
|
|
|
21
21
|
/** 动态行高组件类型 */
|
|
22
22
|
dynComponent?: ComponentTypeEnum;
|
|
23
23
|
/** 组件属性 */
|
|
24
|
-
props: CombinedProps
|
|
25
|
-
spacerWidth?: number;
|
|
26
|
-
};
|
|
24
|
+
props: CombinedProps;
|
|
27
25
|
/** 样式 */
|
|
28
26
|
style?: Partial<AllBaseStyles>;
|
|
29
27
|
/** 表单组件 */
|
|
@@ -106,8 +104,6 @@ export declare namespace BaseCoreComponent {
|
|
|
106
104
|
* 组件依赖
|
|
107
105
|
*/
|
|
108
106
|
componentDependency?: DisplayProps;
|
|
109
|
-
/** 字段值变化时查询的数源 KEY。 */
|
|
110
|
-
valueChangeDataSourceKeys?: string[];
|
|
111
107
|
/** 是否是物料消耗表的字段 */
|
|
112
108
|
isMaterialConsumeField?: boolean;
|
|
113
109
|
/** 自定义组件的绘制标记 */
|
|
@@ -238,57 +234,6 @@ export interface IUnitConversionRule {
|
|
|
238
234
|
targetField?: string;
|
|
239
235
|
}[];
|
|
240
236
|
}
|
|
241
|
-
export type DecisionRuleRelation = 'AND' | 'OR';
|
|
242
|
-
export type DecisionRuleValueType = 'FIXED' | 'FIELD';
|
|
243
|
-
/** 检验判定规则中的字段信息。 */
|
|
244
|
-
export interface IDecisionRuleField {
|
|
245
|
-
id?: string;
|
|
246
|
-
key: string;
|
|
247
|
-
name: string;
|
|
248
|
-
type: string;
|
|
249
|
-
modelKey: string;
|
|
250
|
-
modelName?: string;
|
|
251
|
-
/** 主表 / 子表 / 对象字段 */
|
|
252
|
-
scope: 'main' | 'sub' | 'object';
|
|
253
|
-
subFieldKey?: string;
|
|
254
|
-
objectFieldKey?: string;
|
|
255
|
-
options?: Array<{
|
|
256
|
-
label: string;
|
|
257
|
-
value: string | number | boolean;
|
|
258
|
-
}>;
|
|
259
|
-
}
|
|
260
|
-
export interface IDecisionRuleRightValue {
|
|
261
|
-
valueType: DecisionRuleValueType;
|
|
262
|
-
result?: string | number | boolean;
|
|
263
|
-
/** FIELD 类型右值的完整字段信息。 */
|
|
264
|
-
field?: IDecisionRuleField;
|
|
265
|
-
}
|
|
266
|
-
export interface IDecisionRuleCondition {
|
|
267
|
-
key: string;
|
|
268
|
-
pid: string;
|
|
269
|
-
level: number;
|
|
270
|
-
firstRow?: boolean;
|
|
271
|
-
class?: string;
|
|
272
|
-
leftValue?: IDecisionRuleField;
|
|
273
|
-
operatorValue?: string;
|
|
274
|
-
rightValue?: IDecisionRuleRightValue[];
|
|
275
|
-
}
|
|
276
|
-
export interface IDecisionRuleGroup {
|
|
277
|
-
key: string;
|
|
278
|
-
pid: string;
|
|
279
|
-
level: number;
|
|
280
|
-
class?: string;
|
|
281
|
-
type: 'group';
|
|
282
|
-
operatorType: DecisionRuleRelation;
|
|
283
|
-
children: Array<IDecisionRuleGroup | IDecisionRuleCondition>;
|
|
284
|
-
}
|
|
285
|
-
/** Paper 级检验判定规则配置。 */
|
|
286
|
-
export interface IInspectionDecisionRule {
|
|
287
|
-
dataRuleEnabled: boolean;
|
|
288
|
-
dataRule: string;
|
|
289
|
-
dataRuleConfig: string;
|
|
290
|
-
prompt: string;
|
|
291
|
-
}
|
|
292
237
|
/** 流程字段权限信息 */
|
|
293
238
|
export type IBpmnFieldAuthItem = {
|
|
294
239
|
/** 字段key */
|
|
@@ -331,6 +276,8 @@ export interface IBasicInfoItem {
|
|
|
331
276
|
bpmnType?: BpmnNodeTypeEnum;
|
|
332
277
|
/** 流程字段权限 */
|
|
333
278
|
bpmnFieldAuthMap?: Record<string, IBpmnFieldAuthItem>;
|
|
279
|
+
/** 事件实例 */
|
|
280
|
+
eventInstance?: any;
|
|
334
281
|
/** 表单变更-状态开关 */
|
|
335
282
|
formChangeStatus: boolean;
|
|
336
283
|
/** 表单变更-原始数据 */
|
|
@@ -345,8 +292,6 @@ export interface IBasicInfoItem {
|
|
|
345
292
|
annSelectId?: string | string[];
|
|
346
293
|
/** 当次变更的行级增删元数据,为空则不展示行级高亮 */
|
|
347
294
|
annRowDetails?: Array<{
|
|
348
|
-
/** 多 Sheet 定位时先切换到该工作表;旧数据可为空。 */
|
|
349
|
-
sheetId?: string;
|
|
350
295
|
cellLocation: string;
|
|
351
296
|
cellType: string;
|
|
352
297
|
op: 'ADD' | 'DEL';
|
|
@@ -371,8 +316,8 @@ export interface IBasicInfoItem {
|
|
|
371
316
|
contentHighlight: Record<string, any>;
|
|
372
317
|
/** 物料查询条件 */
|
|
373
318
|
productSearchFields: string;
|
|
374
|
-
/**
|
|
375
|
-
|
|
319
|
+
/** 是否是打印渲染 */
|
|
320
|
+
__isPrintRender?: boolean;
|
|
376
321
|
/** 打印时是否显示字段控件底色 */
|
|
377
322
|
showPrintFieldBg?: boolean;
|
|
378
323
|
/** 填报入参(selfInfo.params + paramExtraProps) */
|
|
@@ -482,7 +427,6 @@ export declare enum ScanParamType {
|
|
|
482
427
|
}
|
|
483
428
|
export declare enum RequiredQtyCalcRule {
|
|
484
429
|
LotQty = "lotQty",
|
|
485
|
-
ProductQty = "productQty"
|
|
486
|
-
Custom = "custom"
|
|
430
|
+
ProductQty = "productQty"
|
|
487
431
|
}
|
|
488
432
|
export {};
|
|
@@ -6,7 +6,6 @@ export type { IInput, IInputProps } from './i-input';
|
|
|
6
6
|
export type { IInputDouble, IInputDoubleProps } from './i-inputdouble';
|
|
7
7
|
export type { IInputNumber, IInputNumberProps } from './i-inputnumber';
|
|
8
8
|
export type { ISelect, ISelectProps } from './i-select';
|
|
9
|
-
export type { ISeal, ISealProps } from './i-seal';
|
|
10
9
|
export type { ISign, ISignProps, SignatureAutofillRule } from './i-sign';
|
|
11
10
|
export type { ISwitch, ISwitchProps } from './i-switch';
|
|
12
11
|
export type { ITextarea, ITextareaProps } from './i-textarea';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { BaseCoreComponent, IBindField, IToFieldItem, IUnitConversionRule,
|
|
1
|
+
export type { BaseCoreComponent, IBindField, IToFieldItem, IUnitConversionRule, ISubTable2DInfo, ICheckTable2DInfo, IBasicInfoItem, ICellBorder, IWikiTreeData, IParseFormulaVar, ParseRuleProps, ICheckDsItem, IMaterialConsumeObjectInfo, IMaterialConsumeTableInfo, } from './common/base';
|
|
2
2
|
export type { IMarketData, IDealWithItem, IPageItem, IPageData, ISubTableItem, IMergeCells, } from './calc/i-calc';
|
|
3
3
|
export type * from './common/button';
|
|
4
4
|
export type * from './fields';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export interface IMBRender {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/** 只销毁指定实例的弹窗。 */
|
|
5
|
-
destoryConsumeModal(ownerId: string): void | Promise<void>;
|
|
2
|
+
openConsumeModal(data: any[]): Promise<void>;
|
|
3
|
+
destoryConsumeModal(): Promise<void>;
|
|
6
4
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FormModelController } from '../../hooks/form-model';
|
|
2
2
|
import { ParseRuleProps, ScanParamType } from '../../types/common/base';
|
|
3
|
-
/**
|
|
4
|
-
* 子表绘制的基类
|
|
5
|
-
*/
|
|
3
|
+
/** 子表绘制的基类 */
|
|
6
4
|
export interface ISubTableRender {
|
|
5
|
+
/**
|
|
6
|
+
* 销毁所有固定的模态
|
|
7
|
+
*/
|
|
8
|
+
destroyAllModals(): any;
|
|
7
9
|
/**
|
|
8
10
|
* 扫码
|
|
9
11
|
*/
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { PageSizeEnum } from '../../constant';
|
|
2
|
-
import { BaseCoreComponent, ISubTable2DInfo, ICheckTable2DInfo, IMaterialConsumeTableInfo } from '../common/base';
|
|
1
|
+
import { PageSizeEnum, ParamModelTypeEnum } from '../../constant';
|
|
2
|
+
import { BaseCoreComponent, ISubTable2DInfo, ICheckTable2DInfo, IToFieldItem, IUnitConversionRule, IMaterialConsumeTableInfo, IMaterialConsumeObjectInfo } from '../common/base';
|
|
3
3
|
export interface IPaperProps {
|
|
4
|
+
/** 单位转化规则 */
|
|
5
|
+
unitConversionRules: Array<IUnitConversionRule>;
|
|
4
6
|
/** 纸张类型 */
|
|
5
7
|
pageSize: PageSizeEnum;
|
|
6
8
|
/** 纸张宽度 */
|
|
@@ -11,6 +13,35 @@ export interface IPaperProps {
|
|
|
11
13
|
pageMargins: string;
|
|
12
14
|
/** 包含的子表字段key */
|
|
13
15
|
subTableFieldMap: string[];
|
|
16
|
+
/** url参数对应字段【用于把url参数的值设置到字段上(页面没选的话保存的时候也要带上)】 */
|
|
17
|
+
globalParams: Record<string, string | Record<string, string>>;
|
|
18
|
+
/** 参数映射数组 */
|
|
19
|
+
paramsMapList: Array<IToFieldItem & {
|
|
20
|
+
/** 参数key */
|
|
21
|
+
formKey: string;
|
|
22
|
+
/** 参数映射类型 */
|
|
23
|
+
paramMapType: ParamModelTypeEnum;
|
|
24
|
+
/** 模型key */
|
|
25
|
+
modelKey: string | undefined;
|
|
26
|
+
/** 是否是子表 */
|
|
27
|
+
subModel: number | undefined;
|
|
28
|
+
/** 子表字段key */
|
|
29
|
+
subFieldKey: string | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
/** 数据源 */
|
|
32
|
+
customDataSource: Array<any>;
|
|
33
|
+
/** Object initialization */
|
|
34
|
+
objectInitialValues: Array<any>;
|
|
35
|
+
/** 物料日期对象(主模型或子模型);运行时由设计器收集 */
|
|
36
|
+
dateObjects?: Array<{
|
|
37
|
+
modelKey: string;
|
|
38
|
+
objectField: string;
|
|
39
|
+
subFields: Array<{
|
|
40
|
+
key: string;
|
|
41
|
+
bizType?: string;
|
|
42
|
+
type?: string;
|
|
43
|
+
}>;
|
|
44
|
+
}>;
|
|
14
45
|
/** table 单元格宽度 */
|
|
15
46
|
colsWidth: number[];
|
|
16
47
|
/**表头 ids */
|
|
@@ -33,6 +64,8 @@ export interface IPaperProps {
|
|
|
33
64
|
checkTable2DList: Array<ICheckTable2DInfo>;
|
|
34
65
|
/** 物料消耗表信息列表 */
|
|
35
66
|
materialConsumeTableList: Array<IMaterialConsumeTableInfo>;
|
|
67
|
+
/** 物料消耗对象字段信息列表 */
|
|
68
|
+
objectFieldList: Array<IMaterialConsumeObjectInfo>;
|
|
36
69
|
/** 物料平衡表信息列表 */
|
|
37
70
|
materialBalanceTableList: Array<IMaterialConsumeTableInfo>;
|
|
38
71
|
/** 委托灭菌生产批次列表信息 */
|
|
@@ -41,8 +74,6 @@ export interface IPaperProps {
|
|
|
41
74
|
pretreatmentTableList: Array<IMaterialConsumeTableInfo>;
|
|
42
75
|
/** 所有子表的widgetId集合 */
|
|
43
76
|
subTableWidgetIds: string[];
|
|
44
|
-
/** 纸张级浮动印章的运行时字段 ID */
|
|
45
|
-
floatingFieldIds?: string[];
|
|
46
77
|
/** 脚本内容 */
|
|
47
78
|
javascript: string;
|
|
48
79
|
/** 是否保留异常提示,未配置时默认 true */
|
|
@@ -17,4 +17,5 @@ export declare class SubTableRender implements ISubTableRender {
|
|
|
17
17
|
}): Promise<import('node_modules/@gct-paas/form-base/dist/modal/modal.type').IModalData<import('node_modules/@gct-paas/form-base/dist/modal/modals/common-scan/type').ICommonScanResult>>;
|
|
18
18
|
openChangeRuleModal: ISubTableRender['openChangeRuleModal'];
|
|
19
19
|
openMultiRowsModal: ISubTableRender['openMultiRowsModal'];
|
|
20
|
+
destroyAllModals(): void;
|
|
20
21
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { MBRender } from '../../../../../nocode-base/src';
|
|
2
|
+
import { IOverlayContainer } from '../../../../../shared/types';
|
|
2
3
|
export declare class MbWebRender extends MBRender {
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
/**
|
|
5
|
+
* 所有打开的modal集合
|
|
6
|
+
*/
|
|
7
|
+
modalHtml: IOverlayContainer;
|
|
8
|
+
openConsumeModal(data: any): Promise<void>;
|
|
9
|
+
destoryConsumeModal(): void;
|
|
7
10
|
}
|
|
@@ -2,19 +2,17 @@ import { FormModelController, MCRender, ParseRuleProps } from '../../../../../no
|
|
|
2
2
|
import { IOverlayContainer } from '../../../../../shared/types';
|
|
3
3
|
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base.ts';
|
|
4
4
|
export declare class McWebRender extends MCRender {
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
destroyAllModals(ownerId: string): void;
|
|
5
|
+
/**
|
|
6
|
+
* 所有打开的modal集合
|
|
7
|
+
*/
|
|
8
|
+
modals: Array<IOverlayContainer>;
|
|
9
|
+
handleModal(modal: IOverlayContainer): Promise<void>;
|
|
10
|
+
destroyAllModals(): void;
|
|
12
11
|
message(opts: {
|
|
13
12
|
type: 'error' | 'warning';
|
|
14
13
|
content: string;
|
|
15
14
|
}): void;
|
|
16
15
|
_openBomModal(opts: {
|
|
17
|
-
ownerId: string;
|
|
18
16
|
bomList: any[];
|
|
19
17
|
onSubstitute: Function;
|
|
20
18
|
}): Promise<void>;
|
|
@@ -13,8 +13,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
"onSelected-change"?: ((value: DeviceInterconnectionResponse) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
trigger: Array<"click" | "hover" | "contextmenu">;
|
|
17
16
|
modelValue: string;
|
|
17
|
+
trigger: Array<"click" | "hover" | "contextmenu">;
|
|
18
18
|
showColumns: Array<keyof DeviceLink.IDeviceLinkParams>;
|
|
19
19
|
styleMode: "button" | "link";
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
id?: string;
|
|
3
|
-
selectedCell?: any;
|
|
4
3
|
};
|
|
5
4
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
6
5
|
setActiveSheet: (sheetId: string) => void;
|
|
7
|
-
selectCell: (cellInfo: any) => void;
|
|
8
6
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
7
|
sheetChange: (value: {
|
|
10
8
|
to: string;
|
|
@@ -6,14 +6,12 @@ type __VLS_Props = {
|
|
|
6
6
|
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, {
|
|
7
7
|
baseSheet: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
8
8
|
id?: string;
|
|
9
|
-
selectedCell?: any;
|
|
10
9
|
}> & Readonly<{
|
|
11
10
|
onSheetChange?: ((value: {
|
|
12
11
|
to: string;
|
|
13
12
|
}) => any) | undefined;
|
|
14
13
|
}>, {
|
|
15
14
|
setActiveSheet: (sheetId: string) => void;
|
|
16
|
-
selectCell: (cellInfo: any) => void;
|
|
17
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
16
|
sheetChange: (value: {
|
|
19
17
|
to: string;
|
|
@@ -29,14 +27,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
29
27
|
Defaults: {};
|
|
30
28
|
}, Readonly<{
|
|
31
29
|
id?: string;
|
|
32
|
-
selectedCell?: any;
|
|
33
30
|
}> & Readonly<{
|
|
34
31
|
onSheetChange?: ((value: {
|
|
35
32
|
to: string;
|
|
36
33
|
}) => any) | undefined;
|
|
37
34
|
}>, {
|
|
38
35
|
setActiveSheet: (sheetId: string) => void;
|
|
39
|
-
selectCell: (cellInfo: any) => void;
|
|
40
36
|
}, {}, {}, {}, {}> | null;
|
|
41
37
|
compareSheet: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
42
38
|
tmpl?: import('@gct-paas/api/apaas').OnlineFormTmplResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPaper } from '../types';
|
|
2
2
|
import { CellWidgetCategory } from '../enums';
|
|
3
3
|
import { FIELD_TYPE } from '../../../../../shared/enum';
|
|
4
4
|
export declare const NumColMap: Record<number, string>;
|
|
@@ -8,13 +8,11 @@ export declare const PaperWidgetDropBoxId = "PaperWidgetDropBoxId";
|
|
|
8
8
|
export declare const ValueEditorFieldDropBoxId = "ValueEditorFieldDropBoxId";
|
|
9
9
|
export declare const FontSizeOptions: number[];
|
|
10
10
|
export declare const DEFAULT_FONT_SIZE = 12;
|
|
11
|
-
export declare const DefaultFormConfig: IFormConfig;
|
|
12
11
|
export declare const DefaultPaper: IPaper;
|
|
13
12
|
/**
|
|
14
13
|
* 单元格中 字段类型-组件映射
|
|
15
14
|
*/
|
|
16
15
|
export declare const FieldTypeToCellWidgetMap: {
|
|
17
|
-
seal: CellWidgetCategory;
|
|
18
16
|
text: CellWidgetCategory;
|
|
19
17
|
long_text: CellWidgetCategory;
|
|
20
18
|
product: CellWidgetCategory;
|
|
@@ -31,7 +29,6 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
31
29
|
shopfloor: CellWidgetCategory;
|
|
32
30
|
integer: CellWidgetCategory;
|
|
33
31
|
of_inst_num: CellWidgetCategory;
|
|
34
|
-
udi: CellWidgetCategory;
|
|
35
32
|
production_qty: CellWidgetCategory;
|
|
36
33
|
long: CellWidgetCategory;
|
|
37
34
|
double: CellWidgetCategory;
|
|
@@ -56,7 +53,6 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
56
53
|
target_warehouse: CellWidgetCategory;
|
|
57
54
|
location: CellWidgetCategory;
|
|
58
55
|
production_container: CellWidgetCategory;
|
|
59
|
-
inspection_container: CellWidgetCategory;
|
|
60
56
|
ref_multi: CellWidgetCategory;
|
|
61
57
|
electronic_signature: CellWidgetCategory;
|
|
62
58
|
operation: CellWidgetCategory;
|
|
@@ -69,7 +65,6 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
69
65
|
report_end_time: CellWidgetCategory;
|
|
70
66
|
work_hours: CellWidgetCategory;
|
|
71
67
|
production_date: CellWidgetCategory;
|
|
72
|
-
sterilization_date: CellWidgetCategory;
|
|
73
68
|
validity: CellWidgetCategory;
|
|
74
69
|
re_inspection_date: CellWidgetCategory;
|
|
75
70
|
reporter: CellWidgetCategory;
|
|
@@ -84,7 +79,6 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
84
79
|
product_check_qty: CellWidgetCategory;
|
|
85
80
|
material_check_qty: CellWidgetCategory;
|
|
86
81
|
inspection_qty: CellWidgetCategory;
|
|
87
|
-
inspection_module_qty: CellWidgetCategory;
|
|
88
82
|
device_ref: CellWidgetCategory;
|
|
89
83
|
device_ref_multi: CellWidgetCategory;
|
|
90
84
|
qty_required: CellWidgetCategory;
|