@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
|
@@ -23,12 +23,4 @@ export declare const CLIENT_ROW_UID_KEY = "__gct_rv_uid";
|
|
|
23
23
|
/** 前端行稳定身份 */
|
|
24
24
|
export declare const FRONT_ROW_KEY = "front_row_key_";
|
|
25
25
|
export declare function ensureFrontRowKey(row: Record<string, any> | null | undefined): string;
|
|
26
|
-
/** 读取行身份时也保证字段已落在数据中,不再仅返回 id_ 而留下缺失的 front_row_key_。 */
|
|
27
26
|
export declare const getRowId: (row: any) => string;
|
|
28
|
-
/**
|
|
29
|
-
* 只对明确的表格行补齐身份,包含二维表的外层行和每个子行(含软删除行)。
|
|
30
|
-
* 不遍历行内选项、附件等普通数组;这些数组不是业务行,不能添加行元数据。
|
|
31
|
-
*/
|
|
32
|
-
export declare function ensureTableRowKeys(rows: unknown): void;
|
|
33
|
-
/** 复制出的表格行是新业务行:清除数据库身份和整棵二维行身份,再生成新的键及组号。 */
|
|
34
|
-
export declare function resetTableRowIdentity(row: Record<string, any>): void;
|
|
@@ -3,14 +3,11 @@ type __VLS_Props = {
|
|
|
3
3
|
loading: boolean;
|
|
4
4
|
/** 是否存在内容 */
|
|
5
5
|
hasData: boolean;
|
|
6
|
-
/** 明确区分加载失败与业务无数据;渲染工厂通过注册表自动交付错误。 */
|
|
7
|
-
error?: string;
|
|
8
6
|
};
|
|
9
7
|
declare function __VLS_template(): {
|
|
10
8
|
attrs: Partial<{}>;
|
|
11
9
|
slots: {
|
|
12
10
|
default?(_: {}): any;
|
|
13
|
-
footer?(_: {}): any;
|
|
14
11
|
};
|
|
15
12
|
refs: {};
|
|
16
13
|
rootEl: HTMLDivElement;
|
package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts
CHANGED
|
@@ -31,14 +31,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
31
31
|
actionValue: any;
|
|
32
32
|
}) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
+
showBom: boolean;
|
|
35
|
+
showScanBtn: boolean;
|
|
36
|
+
showConfirmBtn: boolean;
|
|
34
37
|
showDelBtn: boolean;
|
|
35
38
|
showQuickFillBtn: boolean;
|
|
36
39
|
showInsertMultiple: boolean;
|
|
37
40
|
showEditBtn: boolean;
|
|
38
41
|
isMaterialConsume: boolean;
|
|
39
|
-
showBom: boolean;
|
|
40
|
-
showScanBtn: boolean;
|
|
41
|
-
showConfirmBtn: boolean;
|
|
42
42
|
noPopover: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IMaterialConsumeData } from '../../hooks';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
showBom?: boolean;
|
|
4
|
+
showScanBtn?: boolean;
|
|
5
|
+
showConfirmBtn?: boolean;
|
|
6
|
+
rowData: IMaterialConsumeData;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
doAction: (action: string, row: IMaterialConsumeData) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onDoAction?: ((action: string, row: IMaterialConsumeData) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
showBom: boolean;
|
|
14
|
+
showScanBtn: boolean;
|
|
15
|
+
showConfirmBtn: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -129,13 +129,10 @@ export declare enum ComponentTypeEnum {
|
|
|
129
129
|
Image = "image",
|
|
130
130
|
/** 签名 */
|
|
131
131
|
Sign = "sign",
|
|
132
|
-
Seal = "seal",
|
|
133
132
|
/** 表头分栏 */
|
|
134
133
|
Diagonal = "diagonal",
|
|
135
134
|
/** 组合字段 */
|
|
136
135
|
CombineFields = "combine-fields",
|
|
137
|
-
/** 组合字段内的透明占位 */
|
|
138
|
-
Spacer = "spacer",
|
|
139
136
|
/** 上下限 */
|
|
140
137
|
RangeLimit = "range-limit",
|
|
141
138
|
/** 线条 */
|
|
@@ -159,7 +156,6 @@ export declare enum ComponentTypeEnum {
|
|
|
159
156
|
* 页面组件类型
|
|
160
157
|
*/
|
|
161
158
|
export declare enum PaperWidgeType {
|
|
162
|
-
Spacer = "spacer",
|
|
163
159
|
Text = "text",
|
|
164
160
|
Image = "image",
|
|
165
161
|
Barcode = "barcode",
|
|
@@ -648,10 +644,8 @@ export declare enum SubTableType {
|
|
|
648
644
|
PART_STOCKTAKE = "PART_STOCKTAKE",
|
|
649
645
|
/** EQM 备件消耗表 */
|
|
650
646
|
DEVICE_PART_CONSUME = "DEVICE_PART_CONSUME",
|
|
651
|
-
/**
|
|
652
|
-
MATERIAL_REQUISITION = "MATERIAL_REQUISITION"
|
|
653
|
-
/** 物料替换表 */
|
|
654
|
-
MATERIAL_SUBSTITUTION = "MATERIAL_SUBSTITUTION"
|
|
647
|
+
/** 生产收料表 */
|
|
648
|
+
MATERIAL_REQUISITION = "MATERIAL_REQUISITION"
|
|
655
649
|
}
|
|
656
650
|
/** 纸张大小Map */
|
|
657
651
|
export declare const PaperSizeMap: import('vue').ComputedRef<{
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SubTableCore } from '../sub-table';
|
|
2
2
|
import { RuntimePageCtx } from '../types';
|
|
3
3
|
import { IActionButtonItem } from '../../types';
|
|
4
|
-
import { RuntimeFormStateStore } from '../../runtime/runtime-form-state-store';
|
|
5
4
|
/**
|
|
6
5
|
* 每一个表单模板的核心工厂
|
|
7
6
|
* 管理核心的创建和生命周期
|
|
@@ -12,27 +11,20 @@ import { RuntimeFormStateStore } from '../../runtime/runtime-form-state-store';
|
|
|
12
11
|
export declare class SubTableCoreFactory {
|
|
13
12
|
/**上下文参数 */
|
|
14
13
|
ctx: RuntimePageCtx;
|
|
15
|
-
/** 同一实例下所有 Sheet 的页面上下文 */
|
|
16
|
-
contexts: RuntimePageCtx[];
|
|
17
14
|
/** 子表核心映射,key为子表的组件id */
|
|
18
15
|
coreMap: Record<string, SubTableCore>;
|
|
19
|
-
/** 注册表创建后绑定;运行期子表写入必须经过这一入口 */
|
|
20
|
-
formStateStore?: RuntimeFormStateStore;
|
|
21
16
|
/** 主批次号 */
|
|
22
17
|
get materialNo(): any;
|
|
23
|
-
constructor(params: RuntimePageCtx
|
|
24
|
-
bindFormStateStore(store: RuntimeFormStateStore): void;
|
|
25
|
-
/** Sheet 归属必须存在;错误 ID 不能借用第一张纸的版式和业务规则。 */
|
|
26
|
-
getPageContext(sheetId: string): RuntimePageCtx;
|
|
18
|
+
constructor(params: RuntimePageCtx);
|
|
27
19
|
/** 异步初始化 */
|
|
28
20
|
init(): Promise<void>;
|
|
29
21
|
/**
|
|
30
22
|
* 获取表单里所有的子表对象集合
|
|
31
23
|
* @return {*}
|
|
32
24
|
*/
|
|
33
|
-
getSubTableWidgets(
|
|
25
|
+
getSubTableWidgets(): any[];
|
|
34
26
|
/** 初始化子表核心 */
|
|
35
|
-
initSubTableCore(
|
|
27
|
+
initSubTableCore(): void;
|
|
36
28
|
/** 通过tid获取子表核心 */
|
|
37
29
|
getSubCoreByTid(tid: string): SubTableCore | undefined;
|
|
38
30
|
/**
|
|
@@ -12,6 +12,7 @@ export declare class AllocateTableCore extends ProfileDrivenSubTableCore {
|
|
|
12
12
|
get render(): import('../..').ISubTableRender;
|
|
13
13
|
/** 指定的仓库id */
|
|
14
14
|
get warehouseId(): any;
|
|
15
|
+
compUnmount(): Promise<void>;
|
|
15
16
|
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
16
17
|
calcFieldQuery: SubTableCore['calcFieldQuery'];
|
|
17
18
|
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
@@ -11,6 +11,7 @@ import { ScanModalInput } from './utils/scan';
|
|
|
11
11
|
export declare class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
|
|
12
12
|
/** 绘制UI相关工具,复用调拨表扫码弹窗 */
|
|
13
13
|
get render(): import('../..').ISubTableRender;
|
|
14
|
+
compUnmount(): Promise<void>;
|
|
14
15
|
init(): Promise<void>;
|
|
15
16
|
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
16
17
|
calcFieldStatus(params: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SubTableCore } from './sub-table-core';
|
|
2
2
|
import { BusinessSubTableProfile } from '../../../../domain/table';
|
|
3
3
|
import { IDefaultValueMap, IFieldStatus } from '../types';
|
|
4
|
-
import { ScanModalInput } from './utils/scan';
|
|
5
4
|
/**
|
|
6
5
|
* Profile 驱动的子表 Core 基类
|
|
7
6
|
*
|
|
@@ -75,27 +74,6 @@ export declare class DevicePartConsumeTableCore extends ProfileDrivenSubTableCor
|
|
|
75
74
|
option?: any;
|
|
76
75
|
}): void;
|
|
77
76
|
}
|
|
78
|
-
/**
|
|
77
|
+
/** 生产收料表 Core */
|
|
79
78
|
export declare class MaterialRequisitionTableCore extends ProfileDrivenSubTableCore {
|
|
80
79
|
}
|
|
81
|
-
/**
|
|
82
|
-
* 物料替换表 Core
|
|
83
|
-
* - 被替换物料从历史消耗中选择,并按当前 SN / 工序过滤
|
|
84
|
-
* - 选择后回填批号、物料信息和原上料数量
|
|
85
|
-
* - 替换物料批号回填替换物料信息
|
|
86
|
-
* - 条码映射结果优先填充空行,否则追加新行
|
|
87
|
-
*/
|
|
88
|
-
export declare class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
|
|
89
|
-
protected isEmptyScanRow(row: Record<string, unknown>): boolean;
|
|
90
|
-
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
91
|
-
calcFieldQuery: SubTableCore['calcFieldQuery'];
|
|
92
|
-
calcFieldDataSource: SubTableCore['calcFieldDataSource'];
|
|
93
|
-
handleChange(params: {
|
|
94
|
-
rowData: any;
|
|
95
|
-
field: string;
|
|
96
|
-
value: any;
|
|
97
|
-
option?: any;
|
|
98
|
-
}): void;
|
|
99
|
-
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
100
|
-
protected onScan(input: ScanModalInput): Promise<void>;
|
|
101
|
-
}
|
|
@@ -7,6 +7,7 @@ import { ScanModalInput } from './utils/scan';
|
|
|
7
7
|
export declare class SterilizeBatchTableCore extends SubTableCore {
|
|
8
8
|
/** 绘制UI相关工具,复用调拨表扫码弹窗 */
|
|
9
9
|
get render(): import('../..').ISubTableRender;
|
|
10
|
+
compUnmount(): Promise<void>;
|
|
10
11
|
init(): Promise<void>;
|
|
11
12
|
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
12
13
|
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
@@ -13,6 +13,7 @@ export declare class StocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
|
13
13
|
get isGroupByWarehouse(): boolean;
|
|
14
14
|
get paramsWarehouseId(): any;
|
|
15
15
|
get render(): import('../..').ISubTableRender;
|
|
16
|
+
compUnmount(): Promise<void>;
|
|
16
17
|
/**
|
|
17
18
|
* 运行态禁用优先按 row_source_(manual / auto / scan),
|
|
18
19
|
* Profile READONLY_INFO_FIELDS 作为基线由 super 合并。
|
|
@@ -51,10 +51,15 @@ export declare class SubTableCore {
|
|
|
51
51
|
* 实际使用的数据(过滤掉打deleted_标签的数据)
|
|
52
52
|
*/
|
|
53
53
|
get showTableData(): any[];
|
|
54
|
+
/** 更新页面 */
|
|
55
|
+
updateCalcCallback: Function;
|
|
54
56
|
/** 子表组件的setup的时候 */
|
|
55
57
|
compSetup(params: {
|
|
56
58
|
formState: any;
|
|
59
|
+
updateCalcCallback: Function;
|
|
57
60
|
}): Promise<void>;
|
|
61
|
+
/** 子表组件的unmount的时候 */
|
|
62
|
+
compUnmount(): Promise<void>;
|
|
58
63
|
/**
|
|
59
64
|
* 计算子表字段的默认值映射
|
|
60
65
|
* - key是字段的key
|
|
@@ -7,8 +7,6 @@ export * from './sub-table';
|
|
|
7
7
|
* @interface RuntimePageCtx
|
|
8
8
|
*/
|
|
9
9
|
export interface RuntimePageCtx {
|
|
10
|
-
/** 多 Sheet 下的归属标识;v1 会使用归一化后的虚拟 sheetId。 */
|
|
11
|
-
sheetId: string;
|
|
12
10
|
/** 单据信息 */
|
|
13
11
|
docInfo: any;
|
|
14
12
|
/** 外部环境参数 */
|
|
@@ -27,8 +25,6 @@ export interface RuntimePageCtx {
|
|
|
27
25
|
* @interface IRuntimeSubTableCtx
|
|
28
26
|
*/
|
|
29
27
|
export interface IRuntimeSubTableCtx {
|
|
30
|
-
/** 多 Sheet 运行时中子表所属的工作表。 */
|
|
31
|
-
sheetId: string;
|
|
32
28
|
/** 子表运行时组件对象 */
|
|
33
29
|
widget: ISubTable;
|
|
34
30
|
}
|
|
@@ -2,16 +2,26 @@
|
|
|
2
2
|
export declare enum NCB_PROVIDE {
|
|
3
3
|
/** 后端pdf */
|
|
4
4
|
IS_PDF = "NCB_IsPdf",
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/** 渲染数据 */
|
|
6
|
+
FROM_DATA = "NCB_FromState",
|
|
7
|
+
/** 字段默认值数据 */
|
|
8
|
+
DEFAULT_FIELD_DATA = "NCB_DefaultFieldData",
|
|
7
9
|
/** 数据关联关系 */
|
|
8
10
|
DATA_RELATION_SHIP = "NCB_DataRelationShip",
|
|
11
|
+
/** 修改分页信息 */
|
|
12
|
+
PAGE_DATA_CALL_BACK = "NCB_PageDataCallback",
|
|
13
|
+
/** 表单实例信息 */
|
|
14
|
+
FORM_INST_LIST = "NCB_FormInstList",
|
|
9
15
|
/** 移动端填报字段弹框 */
|
|
10
16
|
MOBILE_FILL_FIELDS_POPUP = "NCB_MobileFillFieldsPopup",
|
|
17
|
+
/** 表单模板bom控制器映射 */
|
|
18
|
+
TMPL_BOM_CONTROLLER_MAP = "NCB_TmplBomControllerMap",
|
|
11
19
|
/** 物料消耗表控制器 */
|
|
12
20
|
MATERIAL_CONSUME_TABLE_CONTROLLER = "NCB_MaterialConsumeTableController",
|
|
13
21
|
/** 检验表单元格列索引(PC 脚本事件等) */
|
|
14
22
|
CHECK_TABLE_COL_INDEX = "NCB_CheckTableColIndex",
|
|
23
|
+
/** 动态子表核心工厂集合 */
|
|
24
|
+
SUB_TABLE_CORE_FACTORY_MAP = "NCB_SubTableCoreFactoryMap",
|
|
15
25
|
/** 动态子表核心(字段用) */
|
|
16
26
|
SUB_TABLE_CORE = "NCB_SubTableCore",
|
|
17
27
|
/** widgetCenter中的 pager 信息 */
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { IBasicInfoItem } from '../../types';
|
|
2
2
|
type FormChangeRowOp = 'ADD' | 'DEL';
|
|
3
3
|
export interface FormChangeRowDetailMeta {
|
|
4
|
-
/** 多 Sheet 下用于先激活子表所属工作表;旧记录没有该值时仍按 cellLocation 回退。 */
|
|
5
|
-
sheetId?: string;
|
|
6
4
|
cellLocation: string;
|
|
7
5
|
cellType: string;
|
|
8
6
|
op: FormChangeRowOp;
|
|
@@ -17,17 +15,17 @@ export declare function getFormChangeRowOp(cellLocation?: string): FormChangeRow
|
|
|
17
15
|
export declare function isAnnLocationSelected(selectId: string | string[] | undefined, loc?: string): boolean;
|
|
18
16
|
/** 幽灵 / 软删展示行:不做字段批注与必填校验 */
|
|
19
17
|
export declare function isFormChangeGhostRow(row: Record<string, any> | null | undefined): boolean;
|
|
18
|
+
export declare function buildStableFieldLocation(subFieldId: string, rowKey: string, fieldId: string, colIdx?: number): string;
|
|
20
19
|
export declare function resolveAnnotationFieldLocation(options: {
|
|
21
20
|
annList?: string[];
|
|
22
21
|
subFieldId?: string;
|
|
23
22
|
fieldId: string;
|
|
24
|
-
modelKey?: string;
|
|
25
|
-
subModelKey?: string;
|
|
26
23
|
row?: Record<string, any>;
|
|
24
|
+
colIdx?: number;
|
|
27
25
|
}): string | undefined;
|
|
28
|
-
export declare function isRowAddedInCurrentFormChange(dataRelationShip:
|
|
29
|
-
export declare function recordSubtableRowAdd(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, rows: Record<string, any>[]
|
|
30
|
-
export declare function recordSubtableRowDelete(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, row: Record<string, any
|
|
26
|
+
export declare function isRowAddedInCurrentFormChange(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string | undefined, row: Record<string, any> | null | undefined): boolean;
|
|
27
|
+
export declare function recordSubtableRowAdd(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, rows: Record<string, any>[]): void;
|
|
28
|
+
export declare function recordSubtableRowDelete(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, row: Record<string, any>): void;
|
|
31
29
|
/** 提交前刷新快照 */
|
|
32
30
|
export declare function enrichFormChangeRowDetails(formChangeNewData: Record<string, any> | undefined, formState: Record<string, any> | undefined): Record<string, any> | undefined;
|
|
33
31
|
export declare function extractFormChangeRowDetails(items: any[] | undefined): FormChangeRowDetailMeta[];
|
|
@@ -7,12 +7,18 @@ import { DeviceInterconnectionResponse } from '@gct-paas/api/platform';
|
|
|
7
7
|
* @class DeviceLinkTmplController
|
|
8
8
|
*/
|
|
9
9
|
export declare class DeviceLinkTmplUtil {
|
|
10
|
+
static readonly DEFAULT_RECOMMENDED_PROMPT = "\u4EFB\u52A1\uFF1A\u56FE\u7247OCR\u6587\u5B57\u63D0\u53D6\n\u89C4\u5219\uFF1A\u4E0D\u865A\u6784\u5185\u5BB9\uFF0C\u627E\u4E0D\u5230\u6570\u636E\u8FD4\u56DE\u7A7A\uFF0C\u4EC5\u8F93\u51FA\u63D0\u53D6\u7ED3\u679C\n\u7ED3\u679C\u586B\u5145\u81F3${\u76EE\u6807\u5B57\u6BB5}\n\u586B\u5199\u63D0\u53D6\u89C4\u5219\uFF1A";
|
|
10
11
|
/**
|
|
11
12
|
* 创建模板数据
|
|
12
13
|
* @param type
|
|
13
14
|
* @return {*}
|
|
14
15
|
*/
|
|
15
16
|
static createTmpl(type: DeviceLink.TmplTypeEnum): DeviceLink.BasicTmpl;
|
|
17
|
+
/**
|
|
18
|
+
* 补齐 OCR 模板新增字段,并保持历史配置的原有行为。
|
|
19
|
+
* 历史模板没有提示词模式时按原来的普通模式处理。
|
|
20
|
+
*/
|
|
21
|
+
static normalizeAIOcrTmpl(tmpl: DeviceLink.AIOcrTmpl): DeviceLink.AIOcrTmpl;
|
|
16
22
|
/**
|
|
17
23
|
* 推荐模式保存时转成运行提示词:文案保持 ${字段名},
|
|
18
24
|
* 按插入时记下的字段补上与普通模式相同的 JSON 回写格式。
|
|
@@ -15,7 +15,7 @@ export declare class DeviceConnector {
|
|
|
15
15
|
state: {
|
|
16
16
|
unMqttTopicMap: Record<string, Function | undefined>;
|
|
17
17
|
focusFieldKey: string | null;
|
|
18
|
-
|
|
18
|
+
focusSubRowIndex?: number | null | undefined;
|
|
19
19
|
cacheFieldData: Record<string, CacheFocusData>;
|
|
20
20
|
};
|
|
21
21
|
/** 初始化连接器,重置清空数据 */
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
export { useFieldPresentation } from './useFieldPresentation';
|
|
2
1
|
export { useStyles } from './useStyles';
|
|
3
2
|
export { useRenderPageFactory, type IProps, type IPayload } from './useRenderPageFactory';
|
|
4
|
-
export { useWidgetStaticAttrs, setSelectAnnotationId, setSelectValidatorId, setSelectMobileTdId, getSubTableQuickFillInfo, } from './useRenderData';
|
|
3
|
+
export { useCurrentPageFormState, useWidgetStaticAttrs, useCalculateFormula, setSelectAnnotationId, setSelectValidatorId, setSelectMobileTdId, getSubTableQuickFillInfo, } from './useRenderData';
|
|
4
|
+
export { useValidator, validate, clearFormRules, deleteSubtableRow, insertSubtableRows, settleAndValidateDisplay, requestFullValidation, requestDisplayValidation, registerValidationContext, unregisterValidationContext, } from './useValidator';
|
|
5
5
|
export { relocateDeletedRowsToEnd } from './validation/utils';
|
|
6
6
|
export { useNocodeEmitter } from './useNocodeEmitter';
|
|
7
7
|
export { useNocodeFormWidget } from './useFormHook';
|
|
8
|
-
export { useRuntimeRowState, type RuntimeRowWriter } from './useRuntimeRowState';
|
|
9
8
|
export { useEbrWikiFactoryV2 } from './useEbrWikiFactoryV2';
|
|
9
|
+
export { useFormulaExpWatcher } from './useFormulaExpWatcher';
|
|
10
10
|
export { useDependency } from './useDependency';
|
|
11
|
-
export { useRuntimeInstanceServices, useRuntimeEditorFlusher } from './useRuntimeInstanceServices';
|
|
12
11
|
export * from './annotation';
|
|
13
12
|
export * from './device-link';
|
|
14
13
|
export * from './form-model';
|
|
@@ -19,4 +18,3 @@ export * from './label-parse-rule';
|
|
|
19
18
|
export * from './material-balance';
|
|
20
19
|
export * from './app-info';
|
|
21
20
|
export * from './operation-receive-qty';
|
|
22
|
-
export * from './udi';
|
|
@@ -5,6 +5,6 @@ import { IMBRender } from '../../types';
|
|
|
5
5
|
* @class MBRender
|
|
6
6
|
*/
|
|
7
7
|
export declare class MBRender implements IMBRender {
|
|
8
|
-
openConsumeModal(
|
|
9
|
-
destoryConsumeModal(
|
|
8
|
+
openConsumeModal(data: any[]): Promise<void>;
|
|
9
|
+
destoryConsumeModal(): Promise<void>;
|
|
10
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare function useMaterialBalance(): {
|
|
2
|
-
getConsumeData: ({
|
|
3
|
-
|
|
2
|
+
getConsumeData: ({ cloneRuntimeJson, operationId, materialNo }: {
|
|
3
|
+
cloneRuntimeJson: any;
|
|
4
4
|
operationId: any;
|
|
5
5
|
materialNo: any;
|
|
6
6
|
}) => Promise<any>;
|
|
7
|
-
openConsumeModal: (
|
|
8
|
-
destoryConsumeModal: (
|
|
7
|
+
openConsumeModal: (data: any) => void;
|
|
8
|
+
destoryConsumeModal: () => void;
|
|
9
9
|
};
|
|
@@ -31,8 +31,6 @@ export declare class BomEntryValidator {
|
|
|
31
31
|
mainMaterialNo: string;
|
|
32
32
|
/** 物料消耗模式 */
|
|
33
33
|
noBomMode: boolean;
|
|
34
|
-
/** 自定义需求数量,由表格行手动填写 */
|
|
35
|
-
isCustomRequiredQty: boolean;
|
|
36
34
|
/** 该明细使用到的产品的id集合 */
|
|
37
35
|
productIds: string[];
|
|
38
36
|
/** 物料和code的映射 */
|
|
@@ -55,9 +53,7 @@ export declare class BomEntryValidator {
|
|
|
55
53
|
/** 表单实例的批次号 */
|
|
56
54
|
mainMaterialNo: string,
|
|
57
55
|
/** 物料消耗模式 */
|
|
58
|
-
noBomMode: boolean
|
|
59
|
-
/** 自定义需求数量,由表格行手动填写 */
|
|
60
|
-
isCustomRequiredQty?: boolean);
|
|
56
|
+
noBomMode: boolean);
|
|
61
57
|
/**
|
|
62
58
|
* 翻译物料的code
|
|
63
59
|
* @param productId
|
|
@@ -129,8 +125,6 @@ export declare class BomEntriesValidator {
|
|
|
129
125
|
mainMaterialNo: string;
|
|
130
126
|
/** 物料消耗模式 */
|
|
131
127
|
noBomMode: boolean;
|
|
132
|
-
/** 需求数量由表格行手动填写 */
|
|
133
|
-
isCustomRequiredQty: boolean;
|
|
134
128
|
bomEntryValidators: BomEntryValidator[];
|
|
135
129
|
constructor(entries: IBomEntry[],
|
|
136
130
|
/** 是否启用顺序投料 */
|
|
@@ -142,9 +136,7 @@ export declare class BomEntriesValidator {
|
|
|
142
136
|
/** 表单实例的批次号 */
|
|
143
137
|
mainMaterialNo: string,
|
|
144
138
|
/** 物料消耗模式 */
|
|
145
|
-
noBomMode: boolean
|
|
146
|
-
/** 需求数量由表格行手动填写 */
|
|
147
|
-
isCustomRequiredQty?: boolean);
|
|
139
|
+
noBomMode: boolean);
|
|
148
140
|
/**
|
|
149
141
|
* 翻译物料的code
|
|
150
142
|
* @param productId
|
package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFormTmplBom, IMaterialConsumeData } from './types';
|
|
1
|
+
import { IBomEntry, IFormTmplBom, IMaterialConsumeData } from './types';
|
|
2
2
|
import { FormTmplBomController } from './tmpl-bom-controller';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
import { BomEntriesValidator, McRowValidateError } from './bom-validator';
|
|
@@ -8,6 +8,28 @@ import { FormModelController } from '../form-model/form-model-controller';
|
|
|
8
8
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
9
9
|
export declare class MCDataUtil {
|
|
10
10
|
static allFields: Array<keyof IMaterialConsumeData>;
|
|
11
|
+
static editMCTable(row: IMaterialConsumeData, data: IMaterialConsumeData['_MCTABLE']): void;
|
|
12
|
+
/**
|
|
13
|
+
* 数组转对象并付统一的值
|
|
14
|
+
* @static
|
|
15
|
+
* @param arr
|
|
16
|
+
* @param [keyVal=true]
|
|
17
|
+
* @return {*}
|
|
18
|
+
*/
|
|
19
|
+
static arrToObj(arr: string[], keyVal?: any): any;
|
|
20
|
+
/**
|
|
21
|
+
* 设置禁用字段
|
|
22
|
+
* @static
|
|
23
|
+
* @param opts 参数
|
|
24
|
+
*/
|
|
25
|
+
static setFieldsDisabled(opts: {
|
|
26
|
+
/** 数据 */
|
|
27
|
+
row: IMaterialConsumeData;
|
|
28
|
+
/** 属性key集合(不给则默认全部) */
|
|
29
|
+
keys?: Array<keyof IMaterialConsumeData>;
|
|
30
|
+
/** 设置的值(不给则true) */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}): void;
|
|
11
33
|
/**
|
|
12
34
|
* 设置行数据的编辑状态
|
|
13
35
|
* @static
|
|
@@ -44,8 +66,6 @@ export declare class MaterialConsumeTableController {
|
|
|
44
66
|
dataStatus?: string;
|
|
45
67
|
/** factory 是否已绑定过运行时(避免重复 initTableData) */
|
|
46
68
|
private runtimeBound;
|
|
47
|
-
/** 多 Sheet / 同屏多实例下,弹层和异步交互使用该键隔离。 */
|
|
48
|
-
private runtimeOwnerId;
|
|
49
69
|
/** 表单是否已暂存或提交(已处理过则不再跑初始化) */
|
|
50
70
|
get isDataProcessed(): boolean;
|
|
51
71
|
/** 批次数量或生产数量 */
|
|
@@ -82,14 +102,7 @@ export declare class MaterialConsumeTableController {
|
|
|
82
102
|
* 修改表格数据(保留打deleted_标签的数据)
|
|
83
103
|
*/
|
|
84
104
|
set actualTableData(value: IMaterialConsumeData[]);
|
|
85
|
-
constructor(tmplBomController: FormTmplBomController, tmplBom: IFormTmplBom
|
|
86
|
-
printOnly?: boolean;
|
|
87
|
-
});
|
|
88
|
-
get isCustomRequiredQty(): boolean;
|
|
89
|
-
private getBomGroupForRow;
|
|
90
|
-
/** 自定义规则的需求数量在同一 BOM 组内保持一致。 */
|
|
91
|
-
getCustomGroupRequiredQty(row: IMaterialConsumeData): number | undefined;
|
|
92
|
-
setCustomGroupRequiredQty(row: IMaterialConsumeData, qty: number | undefined): void;
|
|
105
|
+
constructor(tmplBomController: FormTmplBomController, tmplBom: IFormTmplBom);
|
|
93
106
|
/** 错误信息 */
|
|
94
107
|
error(message: string): void;
|
|
95
108
|
/**
|
|
@@ -110,7 +123,7 @@ export declare class MaterialConsumeTableController {
|
|
|
110
123
|
* 实际使用的bom明细信息(排序)
|
|
111
124
|
* @readonly
|
|
112
125
|
*/
|
|
113
|
-
get actualBomEntries():
|
|
126
|
+
get actualBomEntries(): IBomEntry[];
|
|
114
127
|
/**
|
|
115
128
|
* 根据bom明细构造子表数据(初始化时)
|
|
116
129
|
*/
|
|
@@ -181,7 +194,6 @@ export declare class MaterialConsumeTableController {
|
|
|
181
194
|
* 不在分页组件 setup 中调用,避免跨页挂载重复 init。
|
|
182
195
|
*/
|
|
183
196
|
bindRuntime(opts: {
|
|
184
|
-
ownerId: string;
|
|
185
197
|
tableDataRef: Ref<any>;
|
|
186
198
|
mainFormState?: Ref<any>;
|
|
187
199
|
dataStatus?: string;
|
|
@@ -15,8 +15,11 @@ export declare class MCRender implements IMcRender {
|
|
|
15
15
|
type: 'error' | 'warning';
|
|
16
16
|
content: string;
|
|
17
17
|
}): void;
|
|
18
|
-
/**
|
|
19
|
-
|
|
18
|
+
/**
|
|
19
|
+
* 已经打开的bom的modal的参数对象
|
|
20
|
+
* @static
|
|
21
|
+
*/
|
|
22
|
+
static bomModalProps: any;
|
|
20
23
|
openScanModal(opts: {
|
|
21
24
|
title: string;
|
|
22
25
|
subModelKey?: string;
|
|
@@ -34,12 +37,10 @@ export declare class MCRender implements IMcRender {
|
|
|
34
37
|
* 实际打开UIModal的函数
|
|
35
38
|
*/
|
|
36
39
|
protected _openBomModal(reactiveOpts: {
|
|
37
|
-
ownerId: string;
|
|
38
40
|
bomList: any[];
|
|
39
41
|
onSubstitute: Function;
|
|
40
42
|
}): Promise<void>;
|
|
41
43
|
openBomModal(opts: {
|
|
42
|
-
ownerId: string;
|
|
43
44
|
bomList: any[];
|
|
44
45
|
onSubstitute: Function;
|
|
45
46
|
}): Promise<void>;
|
|
@@ -66,5 +67,5 @@ export declare class MCRender implements IMcRender {
|
|
|
66
67
|
/**
|
|
67
68
|
* 销毁所有固定的模态
|
|
68
69
|
*/
|
|
69
|
-
destroyAllModals(
|
|
70
|
+
destroyAllModals(): void;
|
|
70
71
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBomEntry, IFormTmplBom, IMaterialConsumeData } from './types';
|
|
2
|
-
import { BaseCoreComponent } from '../../types';
|
|
2
|
+
import { BaseCoreComponent, IPaper } from '../../types';
|
|
3
3
|
import { MaterialConsumeTableController } from './material-consume-table-controller';
|
|
4
4
|
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
5
5
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
@@ -26,18 +26,12 @@ export declare class FormTmplBomController {
|
|
|
26
26
|
/** 默认物料消耗模式 */
|
|
27
27
|
defaultMCPattern: MaterialConsumptionPatternEnum;
|
|
28
28
|
constructor();
|
|
29
|
-
/**
|
|
30
|
-
* 创建独立的打印展示控制器:不请求 BOM/历史消耗,不初始化或修正已填报行。
|
|
31
|
-
* 表格挂载会 bindView,因此不能把填报中的 tableControllers 直接交给打印组件。
|
|
32
|
-
*/
|
|
33
|
-
createPrintView(formState: Record<string, any>): FormTmplBomController;
|
|
34
29
|
/**
|
|
35
30
|
* 判断使用场景,不符合的报错提示
|
|
36
31
|
* @param opts
|
|
37
32
|
*/
|
|
38
33
|
judgeScene(opts: {
|
|
39
|
-
|
|
40
|
-
materialBalanceTableList: any[];
|
|
34
|
+
cloneRuntimeJson: any;
|
|
41
35
|
selfInfo: any;
|
|
42
36
|
}): void;
|
|
43
37
|
/**
|
|
@@ -72,6 +66,8 @@ export declare class FormTmplBomController {
|
|
|
72
66
|
* @return {*}
|
|
73
67
|
*/
|
|
74
68
|
findTableControllerByField(field: string): any;
|
|
69
|
+
/** 计算表单数据(需求废弃,不初始化了) */
|
|
70
|
+
calcFormState(paper: IPaper): any;
|
|
75
71
|
/**
|
|
76
72
|
* 处理字段组件
|
|
77
73
|
* - 补充物料字段的额外查询条件
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
2
2
|
import { IMaterialConsumeObjectInfo } from '../../types';
|
|
3
3
|
import { ObjectFieldKeys, ObjectSubField } from './bom-validator';
|
|
4
|
-
import { RuntimeRowWriter } from '../useRuntimeRowState';
|
|
5
4
|
export declare function isBlank(value: unknown): boolean;
|
|
6
5
|
/** 优先 objectFieldList(used),缺哪个 key 用 masterFields 补哪个 */
|
|
7
6
|
export declare function resolveObjectFieldKeys(opts: {
|
|
@@ -20,8 +19,6 @@ export type ApplyConsumeObjectTraceChangeOpts = {
|
|
|
20
19
|
prevProduct?: unknown;
|
|
21
20
|
option?: any | null;
|
|
22
21
|
formData: Record<string, any>;
|
|
23
|
-
/** formData 只用于读取,所有关联写入由当前组件的显式行入口提交。 */
|
|
24
|
-
rowWriter: RuntimeRowWriter;
|
|
25
22
|
objectFieldList?: IMaterialConsumeObjectInfo[];
|
|
26
23
|
fallbackFields?: ObjectSubField[];
|
|
27
24
|
/** 表单实例 BOM(用于写入 bom_entry_id_) */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRef } from 'vue';
|
|
2
|
+
import { FormTmplBomController } from '../material-consume/tmpl-bom-controller';
|
|
3
|
+
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
4
|
+
/**
|
|
5
|
+
* 当前页 FormTmplBomController 的 provide / inject
|
|
6
|
+
* - document-paper 中 provide 当前页控制器
|
|
7
|
+
* - 主模型字段等通过 injectController / injectFormInstBom 读取
|
|
8
|
+
*/
|
|
9
|
+
export declare function useTmplBom(): {
|
|
10
|
+
provideController: (c: MaybeRef<FormTmplBomController | undefined>) => MaybeRef<FormTmplBomController | undefined>;
|
|
11
|
+
injectController: () => ComputedRef<FormTmplBomController | undefined>;
|
|
12
|
+
injectFormInstBom: () => ComputedRef<FormInstBomResponse | null | undefined>;
|
|
13
|
+
};
|
|
@@ -2,7 +2,6 @@ import { BaseCoreComponent } from '../types';
|
|
|
2
2
|
export declare function useDependency(widget: BaseCoreComponent.BasicSchema, props: any): {
|
|
3
3
|
value: import('vue').WritableComputedRef<any, any>;
|
|
4
4
|
formRowData: Readonly<import('vue').Ref<any, any>>;
|
|
5
|
-
|
|
6
|
-
targetFieldId: string;
|
|
5
|
+
targetFieldId: string | undefined;
|
|
7
6
|
fieldWidget: import('vue').Ref<any, any>;
|
|
8
7
|
};
|