@gct-paas/excel 0.1.37-beta.2 → 0.1.38
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-Blhh1Fsh.js} +2 -3
- package/dist/base/index.es.js +2799 -2279
- package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-DZ6ePuEf.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-Co96ZEAw.js} +2 -2
- package/dist/{font-editor-hpUeXFv_.js → font-editor-CVRIStrS.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-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-BY7_uLSS.js → index-C91SfhAb.js} +1 -2
- package/dist/{index-CZv8lo_f.js → index-CPlxRgll.js} +2 -3
- package/dist/{index-DX1Nqubf.js → index-CjA2dLPh.js} +2 -3
- package/dist/{index-YuHHwSzv.js → index-ClnlX2jZ.js} +1 -2
- package/dist/{index-BezxcVwZ.js → index-CnTC_LFJ.js} +2 -3
- package/dist/{index-CUhlQ0aK.js → index-CxpwR4N2.js} +3 -4
- package/dist/{index-BaC0Py3z.js → index-D3Wgt5Z0.js} +6849 -12289
- package/dist/{index-CXBwY7ba.js → index-DCMnBDPA.js} +237 -432
- package/dist/{index-HNE-yLqK.js → index-DF5irDE9.js} +2 -3
- package/dist/{index-CUhR3L97.js → index-DJEG4gZW.js} +3 -4
- package/dist/{index-B9q2iVJw.js → index-DPql9xNw.js} +3 -4
- package/dist/{index-BboAW45l.js → index-DbDB5bsa.js} +3 -4
- package/dist/{index-D6T0GkNc.js → index-Def-kZ_X.js} +3 -4
- package/dist/{index-557u9lSs.js → index-Dg6nmj-a.js} +74 -9
- package/dist/{index-Crs2UUiJ.js → index-DqDGmouR.js} +2 -3
- package/dist/{index-D9pfqRAP.js → index-DvlAMJkQ.js} +3 -6
- package/dist/{index-DULgJ5M_.js → index-Dxh55nQw.js} +1 -2
- package/dist/{index-CA25B2UR.js → index-Dzydpwhf.js} +2 -3
- package/dist/{index-DKAk8Fzf.js → index-SV0mQReN.js} +2 -14
- 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-DyxVdL8V.js} +2 -3
- package/dist/paper-widget-design-Czt7pMDo.js +4 -0
- package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-eMDgLDg2.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-DarhKwZE.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/i-sign.d.ts +1 -1
- 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 +15 -2
- 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-C-EZZVRY.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-Bt6sH9nJ.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-JFeO09Sn.js} +2 -3
- package/dist/web-render/index.es.js +5 -6
- package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-BJWcsF99.js} +4 -5
- package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-DV6kaLwd.js} +3 -4
- package/dist/{widget-image-bPGudw8R.js → widget-image-ewHjWqqr.js} +5 -5
- package/dist/{widget-line-Dw1mkN0H.js → widget-line-BDvA6h3g.js} +2 -3
- package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-DY16bTxN.js} +5 -6
- package/dist/{widget-power-Ceni1m5s.js → widget-power-CviN2kwQ.js} +3 -4
- package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-61PSq7lC.js} +3 -4
- package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-BTvirJ4W.js} +3 -3
- package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-K9k_R7rl.js} +1 -1
- package/dist/{widget-text-BIMT_dmX.js → widget-text-vMW5bWn3.js} +5 -5
- package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-t_w2rNsB.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a6 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, S, V
|
|
1
|
+
import { aE, az, p, dx, E, aF, aG, dy, ar, at, F, R, ab, A, ay, bj, dz, as, T, dA, U, W, bk, a7, Q } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js";
|
|
2
|
+
import { O, _, S, a, V } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -37,53 +37,47 @@ var ButtonOpeEnum = /* @__PURE__ */ ((ButtonOpeEnum2) => {
|
|
|
37
37
|
ButtonOpeEnum2[ButtonOpeEnum2["SINGLELINE_RDO"] = 3] = "SINGLELINE_RDO";
|
|
38
38
|
return ButtonOpeEnum2;
|
|
39
39
|
})(ButtonOpeEnum || {});
|
|
40
|
-
var SignatureTypeEnum = /* @__PURE__ */ ((SignatureTypeEnum2) => {
|
|
41
|
-
SignatureTypeEnum2["SIGNATURE_ONLY"] = "signature_only";
|
|
42
|
-
SignatureTypeEnum2["SIGNATURE_DATE"] = "signature_date";
|
|
43
|
-
SignatureTypeEnum2["SIGNATURE_DATETIME"] = "signature_datetime";
|
|
44
|
-
return SignatureTypeEnum2;
|
|
45
|
-
})(SignatureTypeEnum || {});
|
|
46
40
|
var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
47
41
|
GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
|
|
48
42
|
GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
|
|
49
43
|
return GctMqttTopsEnum2;
|
|
50
44
|
})(GctMqttTopsEnum || {});
|
|
51
45
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
aE as ASSIGNMENTSTRATEGY_ENUM,
|
|
47
|
+
az as BASIC_FIELD_TYPES,
|
|
48
|
+
p as BUSINESS_FIELD_TYPES,
|
|
55
49
|
ButtonOpeEnum,
|
|
56
50
|
ButtonSize,
|
|
57
51
|
ButtonStyle,
|
|
58
52
|
ButtonType,
|
|
59
53
|
ButtonType_vant,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
54
|
+
dx as CardControlEnum,
|
|
55
|
+
E as CreateType,
|
|
56
|
+
aF as Dependency_ENUM,
|
|
57
|
+
aG as EntityModelCategoryEnum,
|
|
58
|
+
dy as EntityModelTypeEnum,
|
|
59
|
+
ar as ExpressionModeEnum,
|
|
60
|
+
at as ExpressionTabEnum,
|
|
67
61
|
F as FIELD_TYPE,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
R as FieldDefaultValueTypeEnum,
|
|
63
|
+
ab as FieldIconMap,
|
|
64
|
+
A as FieldTypeToJs,
|
|
65
|
+
ay as FormDesignEnum,
|
|
66
|
+
bj as FormulaRuleFieldKeyEnum,
|
|
73
67
|
GctMqttTopsEnum,
|
|
74
68
|
O as OnlineFormModelModal,
|
|
75
69
|
_ as OnlineFormModelSelect,
|
|
76
70
|
Platform,
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
dz as RecordNoGenerateEnum,
|
|
72
|
+
as as ReturnTypeEnum,
|
|
79
73
|
S as SEARCH_SEVICE,
|
|
80
|
-
SignatureTypeEnum,
|
|
74
|
+
a as SignatureTypeEnum,
|
|
81
75
|
T as TRACE_FIELD_TYPES,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
76
|
+
dA as TagTypeEnum,
|
|
77
|
+
U as UniqueConstraintType,
|
|
78
|
+
V as VersionSelect,
|
|
85
79
|
W as WAREHOUSE_FIELD_TYPES,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
bk as formulaRuleFieldDict,
|
|
81
|
+
a7 as normalizeFieldType,
|
|
82
|
+
Q as onlineFormMasterModelTypeEnum
|
|
89
83
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { f as useDrop, T as TransferType, d as useModelFields, h as getFieldIcon, S as SingleDrop } from "./index-D3Wgt5Z0.js";
|
|
4
|
+
import { a6 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a6 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -39,10 +39,7 @@ export interface ExcelHostHooks {
|
|
|
39
39
|
/** 表单变更流程选择 */
|
|
40
40
|
selectProcessModal?: (...args: any[]) => any;
|
|
41
41
|
/** DHR */
|
|
42
|
-
|
|
43
|
-
materialNo: string;
|
|
44
|
-
fieldType: string;
|
|
45
|
-
}) => void | Promise<unknown>;
|
|
42
|
+
openEdhrViewDrawer?: (...args: any[]) => any;
|
|
46
43
|
openSingleDrawer?: (...args: any[]) => any;
|
|
47
44
|
/** 模型字段前缀 */
|
|
48
45
|
useKeyParser?: (...args: any[]) => any;
|
|
@@ -81,7 +78,6 @@ export type OpenFormulaEditor = (options: {
|
|
|
81
78
|
exprEcho?: string;
|
|
82
79
|
mode?: string;
|
|
83
80
|
returnType?: string;
|
|
84
|
-
functions?: any[];
|
|
85
81
|
identifiers?: Record<string, any>;
|
|
86
82
|
callback?: (expr: string, exprEcho?: string, options?: any) => void;
|
|
87
83
|
[key: string]: any;
|
|
@@ -172,7 +168,6 @@ export interface ExcelHostUtils {
|
|
|
172
168
|
}>;
|
|
173
169
|
formulaIdentify?: FormulaIdentify;
|
|
174
170
|
formulaCalculate?: FormulaCalculate;
|
|
175
|
-
formulaRegister?: (...args: any) => any;
|
|
176
171
|
openMockReportUrl?: (...args: any[]) => any;
|
|
177
172
|
formulaDeepCalcName?: (...args: any[]) => any;
|
|
178
173
|
}
|
|
@@ -24,7 +24,6 @@ export declare const TABLE_BUSINESS_SVG: {
|
|
|
24
24
|
readonly 'material-consume': string;
|
|
25
25
|
readonly 'material-balance': string;
|
|
26
26
|
readonly 'material-requisition': string;
|
|
27
|
-
readonly 'material-substitution': string;
|
|
28
27
|
readonly 'check-table': string;
|
|
29
28
|
readonly 'pretreatment-list': string;
|
|
30
29
|
readonly 'entrust-steril-batch-list': string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../../shared/enum';
|
|
2
2
|
/** 设计态控件标识;不落库,旧数据仍按 FIELD_TYPE / bizType 查找 */
|
|
3
|
-
export type FieldDesignComponent = 'fw:input' | 'fw:number' | 'fw:select' | 'fw:tree-select' | 'fw:rdo-select' | 'fw:auto-complete' | 'fw:date' | 'fw:time' | 'fw:date-time' | 'fw:enum' | 'fw:boolean' | 'fw:image' | 'fw:file' | 'fw:signature'
|
|
3
|
+
export type FieldDesignComponent = 'fw:input' | 'fw:number' | 'fw:select' | 'fw:tree-select' | 'fw:rdo-select' | 'fw:auto-complete' | 'fw:date' | 'fw:time' | 'fw:date-time' | 'fw:enum' | 'fw:boolean' | 'fw:image' | 'fw:file' | 'fw:signature';
|
|
4
4
|
/** 填报态控件标识;查找时映射到 ComponentTypeEnum / *-render */
|
|
5
|
-
export type FieldRenderComponent = 'rd:input' | 'rd:textarea' | 'rd:number' | 'rd:double' | 'rd:select' | 'rd:tree-select' | 'rd:rdo-select' | 'rd:auto-complete' | 'rd:date' | 'rd:date-time' | 'rd:time' | 'rd:enum' | 'rd:boolean' | 'rd:user' | 'rd:image' | 'rd:file' | 'rd:signature'
|
|
5
|
+
export type FieldRenderComponent = 'rd:input' | 'rd:textarea' | 'rd:number' | 'rd:double' | 'rd:select' | 'rd:tree-select' | 'rd:rdo-select' | 'rd:auto-complete' | 'rd:date' | 'rd:date-time' | 'rd:time' | 'rd:enum' | 'rd:boolean' | 'rd:user' | 'rd:image' | 'rd:file' | 'rd:signature';
|
|
6
6
|
export interface FieldDefaultProps {
|
|
7
7
|
placeholder: string;
|
|
8
8
|
required?: boolean;
|
|
@@ -9,6 +9,6 @@ interface ResolvedSubTableCreate {
|
|
|
9
9
|
seedCheckDataSourceOnCreate?: boolean;
|
|
10
10
|
assocColField?: 'required' | 'optional';
|
|
11
11
|
}
|
|
12
|
-
export declare function resolveSubTableCreate(tableType: SubTableType | string
|
|
12
|
+
export declare function resolveSubTableCreate(tableType: SubTableType | string): ResolvedSubTableCreate;
|
|
13
13
|
export declare function resolvePanelTypeByTableType(tableType: SubTableType | string | undefined, PanelTypeEnum: Record<string, number | string>, fallback: number | string): number | string;
|
|
14
14
|
export {};
|
|
@@ -3,4 +3,4 @@ export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTableP
|
|
|
3
3
|
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './panel-features';
|
|
4
4
|
export { resolveTableLabelKey } from './label';
|
|
5
5
|
export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './ribbon-options';
|
|
6
|
-
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink
|
|
6
|
+
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink } from './sub-model-matcher';
|
|
@@ -4,10 +4,9 @@ export { applyFieldProfileOnAttach } from './design/hooks/on-field-attach';
|
|
|
4
4
|
export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './design/panel-type';
|
|
5
5
|
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './design/panel-features';
|
|
6
6
|
export { resolveTableLabelKey } from './design/label';
|
|
7
|
-
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink,
|
|
8
|
-
export { getAllTableProfiles,
|
|
7
|
+
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink, } from './design/sub-model-matcher';
|
|
8
|
+
export { getAllTableProfiles, getExclusiveBusinessTypeTokens, getProfileByTableType, getSubTableTypeByRefModelType, getThemeColorByTableType, isDynamicCellSubTable, isDynamicCreateTarget, resolveCreateTargetByTableType, } from './registry';
|
|
9
9
|
export { isBusinessSubTableProfile, isDataTableProfile, type BusinessSubTableProfile, type TableProfile, } from './types';
|
|
10
10
|
export { buildDefaultMapFromProfile, buildFieldStatusFromProfile, findFieldProfile, getRowHandlersForFieldChange, } from './runtime/apply-profile';
|
|
11
11
|
export { registerRowHandler, runRowHandler } from './runtime/runtime-handlers';
|
|
12
12
|
export { normalizeRefFieldKey, expandAutofillTemplates } from './design/autofill-expander';
|
|
13
|
-
export { hasSignatureValue, isSignatureLockActive, isPersistedSignatureLockActive, type FixedDeviceOperationConfig, } from './business/device/signature-lock';
|
|
@@ -6,7 +6,6 @@ import { BusinessSubTableProfile, DataTableProfile, ExcelSubTableCreateTarget, T
|
|
|
6
6
|
export declare function resolveCreateTargetByTableType(tableType: SubTableType | string | undefined): ExcelSubTableCreateTarget;
|
|
7
7
|
export declare function getProfile(type: string): TableProfile | undefined;
|
|
8
8
|
export declare function getProfileByTableType(tableType: SubTableType | string | undefined): TableProfile | undefined;
|
|
9
|
-
export declare function getBusinessProfileByRefModelType(refModelType: string | undefined | null): BusinessSubTableProfile | undefined;
|
|
10
9
|
export declare function getAllTableProfiles(): TableProfile[];
|
|
11
10
|
export declare function getAllDataProfiles(): DataTableProfile[];
|
|
12
11
|
export declare function getAllBusinessProfiles(): BusinessSubTableProfile[];
|
|
@@ -3,7 +3,7 @@ import { SubTableType } from '../../nocode-base/src/constant';
|
|
|
3
3
|
/** 数据表 Profile 类型标识 */
|
|
4
4
|
export type DataTableProfileType = 'dynamic-table' | 'fixed-table' | 'two-d-table';
|
|
5
5
|
/** 业务表 Profile 类型标识 */
|
|
6
|
-
export type BusinessSubTableProfileType = 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | '
|
|
6
|
+
export type BusinessSubTableProfileType = 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | 'pretreatment-list' | 'entrust-steril-batch-list' | 'check-table';
|
|
7
7
|
export type TableProfileType = DataTableProfileType | BusinessSubTableProfileType;
|
|
8
8
|
export type TableCategory = 'data' | 'business';
|
|
9
9
|
/**
|
|
@@ -13,7 +13,7 @@ export type TableCategory = 'data' | 'business';
|
|
|
13
13
|
*/
|
|
14
14
|
export type ExcelSubTableCreateTarget = 'dynamicTables' | 'fixedTables';
|
|
15
15
|
/** 工具栏图标 key */
|
|
16
|
-
export type TableIconKey = 'dynamic-table' | 'fixed-table' | 'two-d-table' | 'table-header' | 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | '
|
|
16
|
+
export type TableIconKey = 'dynamic-table' | 'fixed-table' | 'two-d-table' | 'table-header' | 'warehouse-in' | 'warehouse-inbound' | 'warehouse-out' | 'warehouse-outbound' | 'warehouse-in-out' | 'warehouse-inventory' | 'part-stocktake' | 'device-part-consume' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'material-requisition' | 'entrust-steril-batch-list' | 'pretreatment-list' | 'check-table';
|
|
17
17
|
/** 数据表子模型匹配:排除全部业务子模型 */
|
|
18
18
|
export interface DataTableMatchRule {
|
|
19
19
|
fieldType: 'master_slave';
|
|
@@ -115,12 +115,7 @@ export interface DataTableProfile extends TableProfileDesignBase {
|
|
|
115
115
|
export interface BusinessSubTableProfile extends TableProfileDesignBase {
|
|
116
116
|
type: BusinessSubTableProfileType;
|
|
117
117
|
category: 'business';
|
|
118
|
-
|
|
119
|
-
* 业务表入口类型。
|
|
120
|
-
* fixed-table-model 不注册独立工具栏入口,仅作为固定表的业务模型使用。
|
|
121
|
-
*/
|
|
122
|
-
entry?: 'ribbon' | 'fixed-table-model';
|
|
123
|
-
ribbonGroup?: string;
|
|
118
|
+
ribbonGroup: string;
|
|
124
119
|
/**
|
|
125
120
|
* Ribbon 可见套件白名单(平台 suiteKey,如 eDHR / EQM)
|
|
126
121
|
* 省略时:检验表按非 EQM 可见,其余业务表仅 eDHR
|
package/dist/src/index.d.ts
CHANGED
|
@@ -30,9 +30,3 @@ export { default as AiTmplEditor } from './online-form/src/views/designer/module
|
|
|
30
30
|
export { default as AiTmplModal } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue';
|
|
31
31
|
export type { AiTmplEditorExpose, AiTmplEditorProps, FieldOption, PrecisionOption, } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types';
|
|
32
32
|
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
|
|
33
|
-
/**
|
|
34
|
-
* 共用数据获取列表:设计配置与运行时查看、手动加载
|
|
35
|
-
* word, excel 都暴露出去了,gct-dhr-kit 可从中任用一个
|
|
36
|
-
*/
|
|
37
|
-
export { DataSources } from '@gct-paas/form-base';
|
|
38
|
-
export type { DataSourceManager } from '@gct-paas/form-base';
|
|
@@ -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 回写格式。
|