@gct-paas/excel 0.1.39-beta.3 → 0.1.39-beta.32
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-MsYFQjlq.js → BaseComponent-BZ7vpBcD.js} +2 -2
- package/dist/{VueVideoPlayer-B-X9Kvhp.js → VueVideoPlayer-CTtss6-e.js} +2 -2
- package/dist/{align-editor-1IbAiPBg.js → align-editor-0EJDQ9xk.js} +1 -1
- package/dist/{barcode-design-DPH8Uh2K.js → barcode-design-CU6ykxXr.js} +2 -2
- package/dist/base/index.es.js +543 -240
- package/dist/{diagonal-design-AJOcMvxo.js → diagonal-design-bgZAeLZP.js} +2 -2
- package/dist/{dynamic-table-action-Bi7RdYoy.js → dynamic-table-action-BvHth2cC.js} +935 -295
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js} +636 -1140
- package/dist/{edit.utils-CXmmCnxE-88-QvdIv.js → edit.utils-CXmmCnxE-Cj0XviBc.js} +1 -1
- package/dist/excel.css +590 -349
- package/dist/{exceljs.min-D7RI5VAg.js → exceljs.min-Cr5txU5w.js} +2 -2
- package/dist/{font-editor-ttnkgG9j.js → font-editor-BIEWxnat.js} +3 -3
- package/dist/{image-design-B84grap7.js → image-design-AOi1nT_M.js} +2 -2
- package/dist/{index-_h9yoejq.js → index-0cS2b0oE.js} +2 -2
- package/dist/{index-jRA6sXVY.js → index-2SyQ6xAT.js} +1 -1
- package/dist/{index-UCNknVxk.js → index-B1JboJFx.js} +1 -1
- package/dist/{index-D9xmHJZc.js → index-B4aDuWy4.js} +2 -2
- package/dist/{index-_-ORWa-m.js → index-BFhX3ACB.js} +1 -1
- package/dist/{index-CR2Qyh5l.js → index-BOo6MotZ.js} +6 -5
- package/dist/{index-BbDITMyp.js → index-BRirBsMg.js} +2 -2
- package/dist/{index-C_FegWKd.js → index-BYOG-n0c.js} +2 -2
- package/dist/{index-ChncMTkv.js → index-BeFJ_RCt.js} +1 -1
- package/dist/{index-DmBNvVlZ.js → index-Bk8rU908.js} +2221 -1924
- package/dist/{index-ab9KSEKp.js → index-BzgVexIB.js} +2 -2
- package/dist/{index-EhaPjLBG.js → index-C5rtaFud.js} +2 -2
- package/dist/{index-C90vW_gE.js → index-C7veczU_.js} +3 -3
- package/dist/{index-D0Q-6EtG.js → index-CDhZoiEf.js} +1 -1
- package/dist/{index-Db-ix7hC.js → index-CTLIQVKX.js} +2 -2
- package/dist/{index-Bb41zgXE.js → index-CX4Pp6kw.js} +2 -2
- package/dist/{index-B5NG2ONv.js → index-CZD5cYIe.js} +2 -2
- package/dist/{index-7YbJRzdP.js → index-CfS4Vi7D.js} +3 -2
- package/dist/{index-CUHfI8cg.js → index-Cfe2Q-hG.js} +1 -1
- package/dist/{index-n1HZa-Ar.js → index-Cip1bDDj.js} +2 -2
- package/dist/{index-IRXUwksU.js → index-CkgcA21r.js} +2 -2
- package/dist/{index-CX6LqGJP.js → index-Cld2wf77.js} +1 -1
- package/dist/{index-DBT8-Qit.js → index-CwSEWCP8.js} +3 -3
- package/dist/{index-89I_eBZ-.js → index-D-8Q9FIL.js} +3 -3
- package/dist/{index-DNmbm6HV.js → index-D9GxA4Uy.js} +6 -5
- package/dist/{index-DCzL4GOP.js → index-DThgFjEo.js} +53 -5
- package/dist/{index-CLL_9LZB.js → index-DzchEThV.js} +2 -2
- package/dist/{index-_ZsA68LD.js → index-Ezicwad7.js} +2 -2
- package/dist/{index-BKBn7Evl.js → index-LJlRgrPE.js} +2 -2
- package/dist/{index-Doz8Gf_5.js → index-SXIZsVts.js} +1 -1
- package/dist/{index-CuGZ6C7l.js → index-chIttzzx.js} +2 -2
- package/dist/{index-DgdosgZd.js → index-g5NmWlup.js} +2 -2
- package/dist/{index-DHHyy4mL.js → index-n97S5YRD.js} +1 -1
- package/dist/{index-MJFci9IB.js → index-nl7I1bLi.js} +1 -1
- package/dist/{index-DAN58pC9.js → index-sbz8PAuq.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BZDgmpm9.js → mb-render-FUO_-FXR.js} +9 -3
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Ciue53Ue.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DOYhOffQ.js} +8 -1
- package/dist/{pagination-design-DU2ZuaY4.js → pagination-design-BXWK58mU.js} +2 -2
- package/dist/paper-widget-design-DGRbbkYV.js +4 -0
- package/dist/{print-runtime-instance-ydLRVd0y.js → print-runtime-instance-CwdH93fy.js} +1 -1
- package/dist/{print-snapshot-renderer-C3fEtvNI.js → print-snapshot-renderer-CzlFqiSh.js} +3 -3
- package/dist/{qrcode-design-BXlQ5QTm.js → qrcode-design-8A5a_F1s.js} +1 -1
- package/dist/{revo-grid.entry-DdE6cuGJ.js → revo-grid.entry-DKvA7bUR.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Er1fVrov.js → revogr-attribution_7.entry-C2PtJ_Tj.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-COq2SN-B.js → revogr-clipboard_3.entry-BM7_JY0U.js} +2 -2
- package/dist/{revogr-data_4.entry--CfGDdVK.js → revogr-data_4.entry-CdMQPL7I.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DoNXkBy6.js → revogr-filter-panel.entry-BJiGVhcw.js} +1 -1
- package/dist/seal-design-BFQUgxHz.js +4 -0
- package/dist/{serialnumber-design-fMRSi9jn.js → serialnumber-design-QaDIsxYT.js} +1 -1
- package/dist/shared/index.es.js +23 -21
- package/dist/{single-field-drop-CYcOH6mT.js → single-field-drop-C-Af1KzB.js} +2 -2
- package/dist/{size-editor-BKJfYgbR.js → size-editor-BV0KrQ37.js} +1 -1
- package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +19 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +9 -1
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +5 -1
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +11 -0
- package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/src/shared/enum/field-type.d.ts +2 -0
- package/dist/src/shared/enum/index.d.ts +2 -0
- package/dist/src/shared/enum/product-type.d.ts +9 -0
- package/dist/src/shared/enum/production-identification.d.ts +19 -0
- package/dist/{sub-table-factory-DxM8KQoS.js → sub-table-factory-b8fCKT0z.js} +19 -7
- package/dist/{text-design-8Za9qOSI.js → text-design-C35O7YR4.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BI0wP2Le.js → throttle-Cpk1LoGk-HQvkISS4.js} +1 -1
- package/dist/{timediff-design-O1IfzLVD.js → timediff-design-CKjl56qS.js} +1 -1
- package/dist/{trace-like-wrapper-BPNmxIDn.js → trace-like-wrapper-CvZpyPlh.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CQ0YP-OF.js → value-editor.vue_vue_type_style_index_0_lang-Bk7ZLZxh.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-C38yawCK.js → widget-barcode-CNkIguP5.js} +4 -4
- package/dist/{widget-diagonal-abcgVyu4.js → widget-diagonal-Mi9aX6hU.js} +3 -3
- package/dist/{widget-image-DcSNslZ-.js → widget-image-i2JtNBbz.js} +5 -5
- package/dist/{widget-line-CttlnK7g.js → widget-line-OIsUSKiO.js} +2 -2
- package/dist/{widget-pagination-BNG9Rszh.js → widget-pagination--EyLbrPC.js} +5 -5
- package/dist/{widget-power-DaC1id-m.js → widget-power-FPby3ucD.js} +3 -3
- package/dist/{widget-qrcode-BRFsOH44.js → widget-qrcode-D5P4cW3m.js} +3 -3
- package/dist/{widget-rangelimit-fA6YF2E2.js → widget-rangelimit-DdwIzSFH.js} +3 -3
- package/dist/{widget-serialnumber-mnpGMXuB.js → widget-serialnumber-C-T8DI3m.js} +1 -1
- package/dist/{widget-text-gHJcpS1w.js → widget-text-BHlQYZUH.js} +5 -5
- package/dist/{widget-timediff-ByHm9Dg3.js → widget-timediff--QTyT_AT.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BE_wOTpv.js +0 -4
- package/dist/seal-design-7aKsQ6RT.js +0 -4
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { aE, ay, q, cq, H, aF, aG, cr, aq, as, F, V, ac, G, ax, bf, aY, cs, ar, T, ct, U, W, bg, a8, R } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
2
|
+
import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DOYhOffQ.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -49,41 +49,43 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
49
49
|
return GctMqttTopsEnum2;
|
|
50
50
|
})(GctMqttTopsEnum || {});
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
aE as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
|
+
ay as BASIC_FIELD_TYPES,
|
|
54
54
|
q as BUSINESS_FIELD_TYPES,
|
|
55
55
|
ButtonOpeEnum,
|
|
56
56
|
ButtonSize,
|
|
57
57
|
ButtonStyle,
|
|
58
58
|
ButtonType,
|
|
59
59
|
ButtonType_vant,
|
|
60
|
-
|
|
60
|
+
cq as CardControlEnum,
|
|
61
61
|
H as CreateType,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
aF as Dependency_ENUM,
|
|
63
|
+
aG as EntityModelCategoryEnum,
|
|
64
|
+
cr as EntityModelTypeEnum,
|
|
65
|
+
aq as ExpressionModeEnum,
|
|
66
|
+
as as ExpressionTabEnum,
|
|
67
67
|
F as FIELD_TYPE,
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
V as FieldDefaultValueTypeEnum,
|
|
69
|
+
ac as FieldIconMap,
|
|
70
70
|
G as FieldTypeToJs,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
ax as FormDesignEnum,
|
|
72
|
+
bf as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_ as OnlineFormModelSelect,
|
|
76
76
|
Platform,
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
P as ProductTypeEnum,
|
|
78
|
+
aY as ProductionIdentificationTypeEnum,
|
|
79
|
+
cs as RecordNoGenerateEnum,
|
|
80
|
+
ar as ReturnTypeEnum,
|
|
79
81
|
S as SEARCH_SEVICE,
|
|
80
82
|
SignatureTypeEnum,
|
|
81
83
|
T as TRACE_FIELD_TYPES,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
ct as TagTypeEnum,
|
|
85
|
+
U as UniqueConstraintType,
|
|
84
86
|
V2 as VersionSelect,
|
|
85
87
|
W as WAREHOUSE_FIELD_TYPES,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
bg as formulaRuleFieldDict,
|
|
89
|
+
a8 as normalizeFieldType,
|
|
90
|
+
R as onlineFormMasterModelTypeEnum
|
|
89
91
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
4
|
-
import {
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-Bk8rU908.js";
|
|
4
|
+
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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 { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -51,7 +51,7 @@ export declare const CLEAR_ON_MATERIAL_CONTAINER_SELECT: readonly ["production_c
|
|
|
51
51
|
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
52
52
|
/** 相关字段变更时需重算物料禁用态 */
|
|
53
53
|
export declare const PRODUCT_EDITABILITY_WATCH: readonly ["material_container_no_", "material_container_no__id_", "mfg_order_id_", "production_container_id_"];
|
|
54
|
-
/** 生产批次 /
|
|
54
|
+
/** 生产批次 / 物料批选项回填:仅带出工单号,工单选择项保持互斥 */
|
|
55
55
|
export declare const FILL_FROM_CONTAINER_OPTION: readonly [{
|
|
56
56
|
readonly optionField: "product_id_";
|
|
57
57
|
readonly toField: "product_id_";
|
|
@@ -64,9 +64,6 @@ export declare const FILL_FROM_CONTAINER_OPTION: readonly [{
|
|
|
64
64
|
}, {
|
|
65
65
|
readonly optionField: "product_id_spec_";
|
|
66
66
|
readonly toField: "product_id_spec_";
|
|
67
|
-
}, {
|
|
68
|
-
readonly optionField: "mfg_order_id_";
|
|
69
|
-
readonly toField: "mfg_order_id_";
|
|
70
67
|
}, {
|
|
71
68
|
readonly optionField: "mfg_order_code_";
|
|
72
69
|
readonly toField: "mfg_order_code_";
|
|
@@ -127,9 +124,6 @@ export declare const fillFromOption: readonly [{
|
|
|
127
124
|
}, {
|
|
128
125
|
readonly optionField: "product_id_spec_";
|
|
129
126
|
readonly toField: "product_id_spec_";
|
|
130
|
-
}, {
|
|
131
|
-
readonly optionField: "mfg_order_id_";
|
|
132
|
-
readonly toField: "mfg_order_id_";
|
|
133
127
|
}, {
|
|
134
128
|
readonly optionField: "mfg_order_code_";
|
|
135
129
|
readonly toField: "mfg_order_code_";
|
|
@@ -5,13 +5,14 @@ import { ScanModalInput } from './utils/scan';
|
|
|
5
5
|
* 库存调拨表 Core
|
|
6
6
|
* - Profile:禁用字段 / 行默认值 / 物料清空
|
|
7
7
|
* - 物料走库存选择(allocateProduct)+ FILL_FROM_INVENTORY_OPTION
|
|
8
|
-
* -
|
|
8
|
+
* - 扫码:库存匹配,优先填充物料和批次均为空的行,否则新增一行
|
|
9
9
|
*/
|
|
10
10
|
export declare class AllocateTableCore extends ProfileDrivenSubTableCore {
|
|
11
11
|
/** 绘制UI相关工具 */
|
|
12
12
|
get render(): import('../..').ISubTableRender;
|
|
13
13
|
/** 指定的仓库id */
|
|
14
14
|
get warehouseId(): any;
|
|
15
|
+
protected isEmptyScanRow(row: Record<string, unknown>): boolean;
|
|
15
16
|
handleFieldTd: SubTableCore['handleFieldTd'];
|
|
16
17
|
calcFieldQuery: SubTableCore['calcFieldQuery'];
|
|
17
18
|
calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
|
|
@@ -3,6 +3,7 @@ import { SubTableActionEnum } from '../../components/document-sub-table-action';
|
|
|
3
3
|
import { IDefaultValueMap, IFieldStatus, IRuntimeSubTableCtx } from '../types';
|
|
4
4
|
import { TdHandler } from '../utils/td-handler';
|
|
5
5
|
import { SubTableCoreFactory } from '../factory/sub-table-factory';
|
|
6
|
+
import { ScanRecordPickerOptions } from '../../types/render/sub-table-render';
|
|
6
7
|
import { FormModelController } from '../../hooks/form-model';
|
|
7
8
|
import { RefCustomLoader } from '../../interface/ref-loader';
|
|
8
9
|
/**
|
|
@@ -187,7 +188,7 @@ export declare class SubTableCore {
|
|
|
187
188
|
/**
|
|
188
189
|
* 扫码多条候选时选择一行(1 条自动选中)
|
|
189
190
|
*/
|
|
190
|
-
protected pickScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
191
|
+
protected pickScanRecord(records: Record<string, unknown>[], options?: ScanRecordPickerOptions): Promise<Record<string, unknown> | undefined>;
|
|
191
192
|
/**
|
|
192
193
|
* 处理扫码弹窗回调
|
|
193
194
|
* 参数由扫码弹窗决定
|
|
@@ -53,6 +53,8 @@ export declare class FormModelController {
|
|
|
53
53
|
isPresetField(field: FieldMetaDTO): boolean;
|
|
54
54
|
/** 是否是系统字段 */
|
|
55
55
|
isSystemField(field: FieldMetaDTO): boolean;
|
|
56
|
+
/** 是否是对象字段类型 */
|
|
57
|
+
isObjectField(field: FieldMetaDTO): boolean;
|
|
56
58
|
/**
|
|
57
59
|
* 获取主模型里子表字段对应的子模型key
|
|
58
60
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBomEntry, IFormTmplBom, IMaterialConsumeData } from './types';
|
|
2
|
-
import { BaseCoreComponent } from '../../types';
|
|
2
|
+
import { BaseCoreComponent, IMaterialConsumeTableInfo } 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';
|
|
@@ -25,6 +25,10 @@ export declare class FormTmplBomController {
|
|
|
25
25
|
field2TableMap: Record<string, string>;
|
|
26
26
|
/** 默认物料消耗模式 */
|
|
27
27
|
defaultMCPattern: MaterialConsumptionPatternEnum;
|
|
28
|
+
/** 表单实例身份与 BOM 数据是否存在无关,模板展示也会创建完整控制器。 */
|
|
29
|
+
hasFormInstance: boolean;
|
|
30
|
+
/** 按页面中的表解析后的配置,页面与打印共用。 */
|
|
31
|
+
private resolvedTmplBomList;
|
|
28
32
|
constructor();
|
|
29
33
|
/**
|
|
30
34
|
* 创建独立的打印展示控制器:不请求 BOM/历史消耗,不初始化或修正已填报行。
|
|
@@ -57,13 +61,14 @@ export declare class FormTmplBomController {
|
|
|
57
61
|
* @readonly
|
|
58
62
|
*/
|
|
59
63
|
get enableSequenceLoading(): boolean;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*/
|
|
64
|
+
private createDefaultConfig;
|
|
65
|
+
/** 有实例时读取实例配置,无实例时仅创建默认展示控制器。 */
|
|
63
66
|
init(data: {
|
|
64
|
-
formInstBom
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
formInstBom?: FormInstBomResponse | null;
|
|
68
|
+
materialConsumeTableList: IMaterialConsumeTableInfo[];
|
|
69
|
+
hasFormInstance: boolean;
|
|
70
|
+
operationId?: string;
|
|
71
|
+
materialNo?: string;
|
|
67
72
|
productQty?: number;
|
|
68
73
|
}): Promise<void>;
|
|
69
74
|
/**
|
|
@@ -62,9 +62,10 @@ export declare function getObjectBomMaterialLotQuery(opts: {
|
|
|
62
62
|
} | null;
|
|
63
63
|
/**
|
|
64
64
|
* 表单提交:校验所有物料消耗对象(失败打在对应单元格,收集全部错误)
|
|
65
|
-
* -
|
|
66
|
-
* -
|
|
67
|
-
* -
|
|
65
|
+
* - 物料范围:无配置 / 人为指定 / 记录模式,不校验物料是否属于 BOM
|
|
66
|
+
* - 记录模式:仅开启人为指定时,继续执行数量校验
|
|
67
|
+
* - BOM 模式未开人为指定:有物料则必须在实例 BOM 中
|
|
68
|
+
* - 数量与需求数量均有值、非查看类型且开启数量校验时,执行数量规则
|
|
68
69
|
* - 人为指定:用 objectBom.entries_[0];否则用 bomEntries 中与对象物料匹配的明细
|
|
69
70
|
*/
|
|
70
71
|
export declare function validateObjectBomQtyOnSubmit(opts: {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ObjectProductDefault {
|
|
2
|
+
value: unknown;
|
|
3
|
+
sourceData?: Record<string, any>;
|
|
4
|
+
}
|
|
5
|
+
/** 准备数据和生成默认值使用同一份字段列表,按字段对象隔离不同对象的默认值。 */
|
|
6
|
+
export type ObjectProductDefaultMap = WeakMap<object, ObjectProductDefault>;
|
|
7
|
+
interface Options {
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
fields: readonly unknown[];
|
|
10
|
+
objectInitialValues?: readonly {
|
|
11
|
+
objectField: string;
|
|
12
|
+
objectFieldName?: string;
|
|
13
|
+
values?: Record<string, any>;
|
|
14
|
+
}[];
|
|
15
|
+
onWarning?: (message: string) => void;
|
|
16
|
+
}
|
|
17
|
+
/** 只解析对象物料默认值、查询对应详情;赋值和填充统一由默认值入口执行。 */
|
|
18
|
+
export declare function prepareObjectProductDefaults({ enabled, fields, objectInitialValues, onWarning, }: Options): Promise<ObjectProductDefaultMap>;
|
|
19
|
+
export {};
|
package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IBasicInfoItem, ValidateFieldErrorMap } from '../../types';
|
|
2
|
+
import { RuntimeInstanceRecord } from '../../runtime';
|
|
3
|
+
type Options = {
|
|
4
|
+
record: RuntimeInstanceRecord;
|
|
5
|
+
getInfo(): IBasicInfoItem | undefined;
|
|
6
|
+
isCurrent(): boolean;
|
|
7
|
+
shouldSkip(): boolean;
|
|
8
|
+
applyComments(fields: ValidateFieldErrorMap): void;
|
|
9
|
+
};
|
|
10
|
+
type Result = {
|
|
11
|
+
isValid: boolean;
|
|
12
|
+
fields?: ValidateFieldErrorMap;
|
|
13
|
+
};
|
|
14
|
+
/** 实例级对象错误展示与刷新;数据变化由已有 Store 订阅传入。 */
|
|
15
|
+
export declare function createMaterialConsumeObjectValidation(options: Options): {
|
|
16
|
+
validate: (live?: boolean) => Promise<Result | undefined>;
|
|
17
|
+
requestLive: () => void;
|
|
18
|
+
replaceTableFields: (fields?: ValidateFieldErrorMap) => void;
|
|
19
|
+
clear: () => void;
|
|
20
|
+
beginSubmit(): void;
|
|
21
|
+
endSubmit(): void;
|
|
22
|
+
dispose(): void;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FormTypeEnum } from '../constant';
|
|
2
2
|
import { FormTmplBomController } from '../hooks';
|
|
3
3
|
import { RuntimeFieldMetadata } from '../runtime/runtime-field-registry';
|
|
4
|
+
import { ObjectProductDefault } from '../hooks/material-consume-object/initialize-autofill';
|
|
4
5
|
/** 渲染端公共类 */
|
|
5
6
|
export declare const renderUtils: {
|
|
6
7
|
getValue: (modelValue: any, multiple: any) => any;
|
|
@@ -90,8 +91,9 @@ export declare const renderUtils: {
|
|
|
90
91
|
/** 提前设置值给widget */
|
|
91
92
|
setRequestInfo2DataCenter: (dataCenters: any, modelKeys: any, platformType: any, isMockReport: any, formType: FormTypeEnum, paramsConfig: any, useSignFields: any, useClsReasonDataLink: any, useClsGroupDataLink: any, tmplBomC: FormTmplBomController, modelQueries: any) => Promise<void>;
|
|
92
93
|
/** 获取默认值集合 */
|
|
93
|
-
getDefaultValueMapByField: ({ defaultValueFields, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
94
|
+
getDefaultValueMapByField: ({ defaultValueFields, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
94
95
|
defaultValueFields: any;
|
|
96
|
+
objectProductDefaults?: WeakMap<object, ObjectProductDefault> | undefined;
|
|
95
97
|
mainMaterialNo?: undefined;
|
|
96
98
|
mainRelatedLotNo?: undefined;
|
|
97
99
|
mainProductName?: undefined;
|
|
@@ -90,6 +90,14 @@ export declare const transformUtils: {
|
|
|
90
90
|
viewMode: RenderModeEnum;
|
|
91
91
|
ofCtx: any;
|
|
92
92
|
}) => Promise<any>;
|
|
93
|
+
/** 数据加载完成事件;全部 Sheet 的数据合并后、创建 Store 和分页前只执行一次。 */
|
|
94
|
+
getEventInitDataLoaded: (payload: {
|
|
95
|
+
formConfig: Record<string, any>;
|
|
96
|
+
formState: any;
|
|
97
|
+
viewMode: RenderModeEnum;
|
|
98
|
+
dataStatus?: string;
|
|
99
|
+
ofCtx: any;
|
|
100
|
+
}) => Promise<void>;
|
|
93
101
|
/** 创建字段事件执行器;注册后由 RuntimeInstanceRecord 持有,全部 Sheet 共用。 */
|
|
94
102
|
createScriptRunner: (payload: {
|
|
95
103
|
formConfig: Record<string, any>;
|
|
@@ -143,6 +151,6 @@ export declare const transformUtils: {
|
|
|
143
151
|
checkTable2DList?: any[];
|
|
144
152
|
materialConsumeTableList?: any[];
|
|
145
153
|
}) => Partial<{}>;
|
|
146
|
-
getFormDataIdsMap: (formData: any, preserveKeys?: string[]) => any;
|
|
154
|
+
getFormDataIdsMap: (formData: any, preserveKeys?: string[], shouldPreserveField?: (path: string) => boolean) => any;
|
|
147
155
|
};
|
|
148
156
|
export {};
|
|
@@ -13,6 +13,8 @@ export interface RuntimeAsyncTaskSnapshot {
|
|
|
13
13
|
sheetId?: string;
|
|
14
14
|
/** 提交是否必须等待此任务完成。 */
|
|
15
15
|
required: boolean;
|
|
16
|
+
/** 任务失败后是否阻止提交;仅对 required 任务生效。 */
|
|
17
|
+
blockOnFailure: boolean;
|
|
16
18
|
status: RuntimeAsyncTaskStatus;
|
|
17
19
|
/** rejected 状态对应的原始错误。 */
|
|
18
20
|
error?: unknown;
|
|
@@ -24,8 +26,10 @@ export interface RunRuntimeAsyncTaskOptions {
|
|
|
24
26
|
fieldIdentity?: BusinessFieldIdentity;
|
|
25
27
|
/** 任务对应的工作表。 */
|
|
26
28
|
sheetId?: string;
|
|
27
|
-
/** 默认 true;为 true
|
|
29
|
+
/** 默认 true;为 true 时提交事务会等待它结束。 */
|
|
28
30
|
required?: boolean;
|
|
31
|
+
/** 默认 true;设为 false 时仍等待任务结束,但失败不阻止后续提交。 */
|
|
32
|
+
blockOnFailure?: boolean;
|
|
29
33
|
/** 默认 true;同 key 新任务开始前是否主动终止旧任务。 */
|
|
30
34
|
replace?: boolean;
|
|
31
35
|
}
|
|
@@ -56,7 +60,7 @@ export declare class RuntimeAsyncTaskCoordinator {
|
|
|
56
60
|
* 等待全部 required 任务达到稳定状态。
|
|
57
61
|
*
|
|
58
62
|
* 一轮任务完成后的字段回填可能触发新的公式或远程任务,因此这里循环读取任务表,直到
|
|
59
|
-
* 没有新的 pending required
|
|
63
|
+
* 没有新的 pending required 任务。稳定后只检查需要阻断提交的失败项。
|
|
60
64
|
*/
|
|
61
65
|
waitForRequired(keyPrefix?: string): Promise<void>;
|
|
62
66
|
/** 返回只读用途的任务快照,避免外部代码操作内部 Promise 和 AbortController。 */
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { FormTypeEnum } from '../constant';
|
|
1
2
|
/** 当前真实多 Sheet 运行时格式版本。缺少版本号的历史数据按 v1 解析。 */
|
|
2
3
|
export declare const MULTI_SHEET_SCHEMA_VERSION: 2;
|
|
4
|
+
export declare const MAX_RUNTIME_SHEETS = 100;
|
|
5
|
+
export declare const MAX_RUNTIME_SHEET_TITLE_LENGTH = 255;
|
|
3
6
|
export type RuntimeNodeMap = Record<string, any>;
|
|
4
7
|
export interface RuntimeSheetV2 {
|
|
5
8
|
sheetId: string;
|
|
@@ -28,10 +31,11 @@ export interface NormalizedRuntimeDocument {
|
|
|
28
31
|
* 将历史 v1 和真实多 Sheet v2 统一为同一种读取结构。
|
|
29
32
|
*
|
|
30
33
|
* - v1:顶层 paper + nodes,包装成一个固定标识的虚拟 Sheet。
|
|
34
|
+
* - 文件表单:历史空模板补一个内存中的空根节点,以复用实例 Store 和提交服务。
|
|
31
35
|
* - v2:读取有序 sheets,并为现有单 Sheet 渲染器组装 dataCenter。
|
|
32
36
|
* - 未知版本:直接报错,避免旧客户端误写更高版本数据。
|
|
33
37
|
*/
|
|
34
|
-
export declare function normalizeRuntime(runtime: unknown): NormalizedRuntimeDocument;
|
|
38
|
+
export declare function normalizeRuntime(runtime: unknown, formType?: FormTypeEnum): NormalizedRuntimeDocument;
|
|
35
39
|
/**
|
|
36
40
|
* 将各 Sheet 独立编译得到的旧式 dataCenter 封装为 v2 文档。
|
|
37
41
|
* 保存前复用统一解析器,保证整份模板的节点唯一性和引用完整性。
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IPageData } from '../types';
|
|
2
|
+
import { FormTypeEnum } from '../constant';
|
|
2
3
|
import { NormalizedRuntimeDocument, RuntimeNodeMap } from './multi-sheet-runtime';
|
|
3
4
|
import { SubTableCoreFactory } from '../core/factory/sub-table-factory';
|
|
4
5
|
import { FormTmplBomController } from '../hooks/material-consume/tmpl-bom-controller';
|
|
@@ -100,6 +101,8 @@ export interface RuntimeInstanceContext {
|
|
|
100
101
|
uniqueId: string;
|
|
101
102
|
instanceId: string;
|
|
102
103
|
templateId: string;
|
|
104
|
+
/** 文件表单由 PDF 组件分页,不参与工作表布局计算。 */
|
|
105
|
+
formType?: FormTypeEnum;
|
|
103
106
|
schemaVersion: NormalizedRuntimeDocument['schemaVersion'];
|
|
104
107
|
formConfig: Record<string, any>;
|
|
105
108
|
defaultData: Record<string, any>;
|
|
@@ -116,6 +119,7 @@ export interface CreateRuntimeInstanceContextOptions {
|
|
|
116
119
|
uniqueId: string;
|
|
117
120
|
instanceId: string;
|
|
118
121
|
templateId: string;
|
|
122
|
+
formType?: FormTypeEnum;
|
|
119
123
|
runtime: NormalizedRuntimeDocument;
|
|
120
124
|
defaultData: Record<string, any>;
|
|
121
125
|
activeSheetId?: string;
|
|
@@ -17,7 +17,7 @@ export declare class RuntimeFieldInitializer {
|
|
|
17
17
|
private scheduled;
|
|
18
18
|
private readonly unsubscribe;
|
|
19
19
|
constructor(record: RuntimeInstanceRecord, info: IBasicInfoItem, metadata: InitializerMetadata);
|
|
20
|
-
/**
|
|
20
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
21
21
|
initialize(): Promise<void>;
|
|
22
22
|
private request;
|
|
23
23
|
private readDefault;
|
|
@@ -36,6 +36,7 @@ export declare class RuntimeValidationService {
|
|
|
36
36
|
requestLive(trigger?: 'change' | 'blur', immediate?: boolean): void;
|
|
37
37
|
private flushLive;
|
|
38
38
|
requestDisplay(immediate?: boolean): void;
|
|
39
|
+
private logBackgroundError;
|
|
39
40
|
pruneComments(): void;
|
|
40
41
|
settleAfterModeSwitch(runChangeLive?: boolean): Promise<void>;
|
|
41
42
|
private cancelScheduled;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FormModelController } from '../../hooks/form-model';
|
|
2
2
|
import { ParseRuleProps, ScanParamType } from '../../types/common/base';
|
|
3
|
+
/** 不传 scene 时保持默认列 */
|
|
4
|
+
export interface ScanRecordPickerOptions {
|
|
5
|
+
scene?: 'inventory';
|
|
6
|
+
}
|
|
3
7
|
/**
|
|
4
8
|
* 子表绘制的基类
|
|
5
9
|
*/
|
|
@@ -33,7 +37,7 @@ export interface ISubTableRender {
|
|
|
33
37
|
/**
|
|
34
38
|
* 扫码多条候选时选择一行
|
|
35
39
|
*/
|
|
36
|
-
openMultiRowsModal(opts: {
|
|
40
|
+
openMultiRowsModal(opts: ScanRecordPickerOptions & {
|
|
37
41
|
rows: any[];
|
|
38
42
|
title?: string;
|
|
39
43
|
}): Promise<any | undefined>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ScanRecordPickerOptions } from '../../../../../nocode-base/src';
|
|
2
|
+
import { VxeGridPropTypes } from 'vxe-table';
|
|
3
|
+
type ScanPickerScene = NonNullable<ScanRecordPickerOptions['scene']>;
|
|
4
|
+
/** 未指定场景时使用弹窗默认列。 */
|
|
5
|
+
export declare function getScanColumns(scene?: ScanPickerScene): VxeGridPropTypes.Columns | undefined;
|
|
6
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { FormModelController, MCRender, ParseRuleProps } from '../../../../../no
|
|
|
2
2
|
import { IOverlayContainer } from '../../../../../shared/types';
|
|
3
3
|
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base.ts';
|
|
4
4
|
export declare class McWebRender extends MCRender {
|
|
5
|
-
/**
|
|
5
|
+
/** overlay 弹层按实例记录,form-base 弹层通过其全局管理器关闭。 */
|
|
6
6
|
modals: Array<{
|
|
7
7
|
ownerId?: string;
|
|
8
8
|
modal: IOverlayContainer;
|
|
@@ -3,6 +3,7 @@ import { IBindField } from '../../../../nocode-base/src';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
fieldWidget: CellWidget.BasicSchema;
|
|
5
5
|
fieldMeta: IBindField;
|
|
6
|
+
autoLineBreak?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
9
|
export default _default;
|
|
@@ -5,13 +5,13 @@ export interface IDisplayField {
|
|
|
5
5
|
_dfUnremovable?: boolean;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
8
|
+
/** 物料字段的设计端默认显示列。 */
|
|
9
9
|
export declare const DEFAULT_DISPLAY_FIELDS_MAP: Record<string, string[]>;
|
|
10
10
|
interface DefaultDisplayFieldConfig {
|
|
11
11
|
keys: string[];
|
|
12
12
|
unremovableKeys: string[];
|
|
13
13
|
}
|
|
14
|
-
export declare const getDefaultDisplayFieldConfig: (
|
|
14
|
+
export declare const getDefaultDisplayFieldConfig: (fieldType?: string) => DefaultDisplayFieldConfig;
|
|
15
15
|
/** 仅保留设备及批次类字段从历史搜索配置初始化显示列的行为。 */
|
|
16
16
|
export declare const retainsLegacyDisplayFields: (fieldType?: string) => boolean;
|
|
17
17
|
export declare function getDisplayFieldKey(item?: {
|
|
@@ -14,3 +14,11 @@ export declare const resolveQuickSearchConfig: (fieldMeta: IBindField & {
|
|
|
14
14
|
searchable: boolean;
|
|
15
15
|
fields: string[];
|
|
16
16
|
};
|
|
17
|
+
/** 为缺失或为空的运行时搜索配置补齐默认字段及表达式。 */
|
|
18
|
+
export declare const resolveRuntimeQuickSearchProps: <T extends IBindField & {
|
|
19
|
+
quickSearchField?: string[];
|
|
20
|
+
quickSearchExp?: string;
|
|
21
|
+
}>(props: T) => T & {
|
|
22
|
+
quickSearchField: string[];
|
|
23
|
+
quickSearchExp: string | undefined;
|
|
24
|
+
};
|
package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
fieldMeta?: IBindField;
|
|
7
7
|
design?: FieldDesignComponent;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
+
autoLineBreak?: boolean;
|
|
9
10
|
};
|
|
10
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
12
|
export default _default;
|
|
@@ -3,6 +3,7 @@ import { DesignerSheets, ISheet } from '../types/sheets';
|
|
|
3
3
|
import { PanelType, SubTableType } from '../enums';
|
|
4
4
|
import { CellType, IFormTmplBom } from '../../../../../nocode-base/src';
|
|
5
5
|
import { FIELD_TYPE } from '../../../../../shared/enum';
|
|
6
|
+
declare function dismissDuplicateFieldNotice(): void;
|
|
6
7
|
export declare const useAllSpreadSheets: () => {
|
|
7
8
|
designerConfig: import('vue').Ref<{
|
|
8
9
|
schemaVersion?: number | undefined;
|
|
@@ -178,6 +179,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
178
179
|
} | undefined;
|
|
179
180
|
mainModelKey?: string | undefined;
|
|
180
181
|
modelMetaMap?: import('./useModelFields').IModelMetaMap | undefined;
|
|
182
|
+
duplicateFieldNoticeDismissed?: boolean | undefined;
|
|
181
183
|
sheets?: {
|
|
182
184
|
sheetId: string;
|
|
183
185
|
title: string;
|
|
@@ -1044,6 +1046,7 @@ export declare const useAllSpreadSheets: () => {
|
|
|
1044
1046
|
} | undefined;
|
|
1045
1047
|
mainModelKey?: string | undefined;
|
|
1046
1048
|
modelMetaMap?: import('./useModelFields').IModelMetaMap | undefined;
|
|
1049
|
+
duplicateFieldNoticeDismissed?: boolean | undefined;
|
|
1047
1050
|
sheets?: {
|
|
1048
1051
|
sheetId: string;
|
|
1049
1052
|
title: string;
|
|
@@ -3459,6 +3462,13 @@ export declare const useAllSpreadSheets: () => {
|
|
|
3459
3462
|
}[] | undefined;
|
|
3460
3463
|
};
|
|
3461
3464
|
}[]>;
|
|
3465
|
+
placedFieldKeys: import('vue').ComputedRef<Set<string>>;
|
|
3466
|
+
duplicateFieldSummary: import('vue').ComputedRef<{
|
|
3467
|
+
fieldCount: number;
|
|
3468
|
+
placementCount: number;
|
|
3469
|
+
}>;
|
|
3470
|
+
showDuplicateFieldNotice: import('vue').ComputedRef<boolean>;
|
|
3471
|
+
dismissDuplicateFieldNotice: typeof dismissDuplicateFieldNotice;
|
|
3462
3472
|
activeSheetId: import('vue').Ref<string | undefined, string | undefined>;
|
|
3463
3473
|
activeSheet: import('vue').Ref<any, any>;
|
|
3464
3474
|
setSheetMaps: (maps: DesignerSheets | ILegacyPaper | null | undefined, info: any) => void;
|
|
@@ -3493,3 +3503,4 @@ export declare const useAllSpreadSheets: () => {
|
|
|
3493
3503
|
modelKey: string;
|
|
3494
3504
|
}) => void;
|
|
3495
3505
|
};
|
|
3506
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts
CHANGED
|
@@ -7,8 +7,5 @@ export declare function useRuleProps({ props, selectByCode, }: {
|
|
|
7
7
|
/** 根据编码查询对象,并设置选中,有匹配的项则返回true */
|
|
8
8
|
selectByCode: (code: string, signal: AbortSignal) => Promise<boolean>;
|
|
9
9
|
}): {
|
|
10
|
-
mode: import('vue').Ref<"scan" | "dropdown", "scan" | "dropdown">;
|
|
11
|
-
allowSwitch: import('vue').ComputedRef<boolean>;
|
|
12
|
-
handleEnter: (val: any) => void;
|
|
13
10
|
handleSearchScan: (value: string, isCurrent?: () => boolean) => Promise<boolean>;
|
|
14
11
|
};
|
|
@@ -7,8 +7,10 @@ type __VLS_Props = {
|
|
|
7
7
|
errorPaths?: string[];
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
change: (sheetId: string,
|
|
10
|
+
change: (sheetId: string, source: Event | HTMLElement) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((sheetId: string,
|
|
13
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
onChange?: ((sheetId: string, source: Event | HTMLElement) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
tabsViewport: HTMLDivElement;
|
|
15
|
+
}, HTMLElement>;
|
|
14
16
|
export default _default;
|