@gct-paas/excel 0.1.39-beta.0 → 0.1.39-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AntdIcon-DCIaV352.js +1108 -0
- package/dist/{BaseComponent-BO75HbkD.js → BaseComponent-Dri2NRAY.js} +2 -2
- package/dist/{VueVideoPlayer-C49th9G_.js → VueVideoPlayer-DPJyefX-.js} +2 -2
- package/dist/{align-editor-CpscpDxA.js → align-editor-BvGUsoz3.js} +1 -1
- package/dist/{barcode-design-CKbMreUi.js → barcode-design-BIAenf34.js} +2 -2
- package/dist/base/index.es.js +142 -125
- package/dist/{diagonal-design-DEz3_fE8.js → diagonal-design-Bg0Wzojk.js} +2 -2
- package/dist/{dynamic-table-action-DFnvJWw-.js → dynamic-table-action-BQfJFJ4j.js} +257 -114
- 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-DZRtpBe8.js} +295 -215
- package/dist/{edit.utils-CXmmCnxE-evcsspEJ.js → edit.utils-CXmmCnxE-CvJGxh2v.js} +1 -1
- package/dist/excel.css +339 -143
- package/dist/{exceljs.min-CXjktZ33.js → exceljs.min-oMo9w3-p.js} +2 -2
- package/dist/{font-editor-DAcmrW2A.js → font-editor-JT-C4KUo.js} +3 -3
- package/dist/{image-design-BnDK5Jwf.js → image-design-A8_t4F3t.js} +2 -2
- package/dist/{index-D06X_Sz7.js → index-1Aq6q-wr.js} +3 -3
- package/dist/{index-CQ9v7Q0g.js → index-3clyu1Q_.js} +4 -4
- package/dist/{index-BRV9V8ld.js → index-B-Kwr44d.js} +1 -1
- package/dist/{index-D72ZxU1B.js → index-B8Vkmyc8.js} +3 -3
- package/dist/{index-CXBwY7ba.js → index-BE-3UQG0.js} +5 -4
- package/dist/{index-BJj0R1JE.js → index-BLmR9aiG.js} +1 -1
- package/dist/{index-DRF0yT-Y.js → index-BUK-p31i.js} +2 -2
- package/dist/{index-BA3994iB.js → index-B_GyS-E2.js} +1 -1
- package/dist/{index-CNBwsBrN.js → index-Bs8Xs0bo.js} +1 -1
- package/dist/{index-CeoXayAy.js → index-C3k8QiLF.js} +2 -2
- package/dist/{index-BvYfYS4D.js → index-CISAQtLd.js} +3 -3
- package/dist/{index-IAfu2tPO.js → index-CJdwj04Z.js} +1 -1
- package/dist/{index-4-w7U148.js → index-CJiOtrhx.js} +2 -2
- package/dist/{index-BlZQjpdp.js → index-CRloZ0HP.js} +2 -2
- package/dist/{index-BNjowwSy.js → index-CTASuQPn.js} +1 -1
- package/dist/{index-D1m06PsY.js → index-Caygbi4F.js} +2 -2
- package/dist/{index-DALo6h-z.js → index-CfGLFrkj.js} +1 -1
- package/dist/{index-CCNBotX0.js → index-Cls_jFJq.js} +26025 -25798
- package/dist/{index-kQi_q492.js → index-Cqcbgcw7.js} +2 -2
- package/dist/{index-BH4YqNzS.js → index-D1jXU0ka.js} +2 -2
- package/dist/{index-BRKs8S7h.js → index-D9444n1O.js} +2 -2
- package/dist/{index-D9SThznm.js → index-D9OUmbBs.js} +1 -1
- package/dist/{index-qKN7-uGo.js → index-DERot0lx.js} +3 -3
- package/dist/{index-vOd76hbp.js → index-DFNVqlgA.js} +1 -1
- package/dist/{index-DScv6Lhe.js → index-DIythXNr.js} +3 -3
- package/dist/{index-DWPgvBzt.js → index-DPHGDezJ.js} +1 -1
- package/dist/{index-H2lP-HBC.js → index-DT8qwYke.js} +2 -2
- package/dist/{index-C8AH07MC.js → index-DWVhXPb-.js} +2 -2
- package/dist/{index-KnPqm-JT.js → index-DY7Xkd8n.js} +2 -2
- package/dist/{index-BlFNgjr-.js → index-DkwkBWEP.js} +2 -2
- package/dist/{index-Dn7Za3rP.js → index-DmBx27M9.js} +2 -2
- package/dist/{index-ywxJkkJ_.js → index-DsLZqLga.js} +2 -2
- package/dist/{index-B0o6GTve.js → index-H2nF4SP8.js} +2 -2
- package/dist/{index-DUgFd0ON.js → index-afC-rHNa.js} +2 -2
- package/dist/{index-BVCrUywZ.js → index-bH6ERrWd.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-jAsNtPqY.js → mb-render-DybPk-KF.js} +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BEX02BrW.js} +4 -1034
- package/dist/{pagination-design-6xxPBIk-.js → pagination-design-Ct6xpKO9.js} +2 -2
- package/dist/paper-widget-design-CEEWgUk_.js +4 -0
- package/dist/{print-runtime-instance-D8QAHAsd.js → print-runtime-instance-7aZCZWS4.js} +1 -1
- package/dist/{print-snapshot-renderer-BDrHYena.js → print-snapshot-renderer-DPFZBXE2.js} +3 -3
- package/dist/{qrcode-design-CBDd-S2d.js → qrcode-design-SOVTkKjY.js} +1 -1
- package/dist/{revo-grid.entry-Bygattd8.js → revo-grid.entry-EvEm_y2W.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BqzhD1hP.js → revogr-attribution_7.entry-DgE6PR1L.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-Wr7KhnJ_.js → revogr-clipboard_3.entry-CNDxeVhF.js} +2 -2
- package/dist/{revogr-data_4.entry-CrFW39f1.js → revogr-data_4.entry-DKwV9DMF.js} +2 -2
- package/dist/{revogr-filter-panel.entry-9khS41SL.js → revogr-filter-panel.entry-1SAhHHfl.js} +1 -1
- package/dist/seal-design-DukOrO2g.js +4 -0
- package/dist/{serialnumber-design-eXgfrjw9.js → serialnumber-design-Cs3B0ZNE.js} +1 -1
- package/dist/shared/index.es.js +6 -6
- package/dist/{single-field-drop-1eS6_6ko.js → single-field-drop-C-i51iU4.js} +3 -3
- package/dist/{size-editor-OEPrJU0W.js → size-editor-B2TfX4_r.js} +1 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- 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 +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- 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/designer/conversions/normalize-paper-grid.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +9 -9
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/src/shared/components/Signature/logic/index.d.ts +1 -1
- package/dist/{sub-table-factory-D8KUikPE.js → sub-table-factory-CNkIUJTC.js} +20 -7
- package/dist/{text-design-BkvEuU7u.js → text-design-B-VmJzZy.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DxTostCa.js → throttle-Cpk1LoGk-Ch-cqj2G.js} +1 -1
- package/dist/{timediff-design-BFf9WtJn.js → timediff-design-DASqeRcJ.js} +1 -1
- package/dist/{trace-like-wrapper-SPo5HVCt.js → trace-like-wrapper-Cj-nluW3.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzVvcoTa.js → value-editor.vue_vue_type_style_index_0_lang-D5fckkvA.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-B_aUPEfd.js → widget-barcode-BOseDEJ_.js} +4 -4
- package/dist/{widget-diagonal-D32J64HV.js → widget-diagonal-CzWRf_zr.js} +4 -4
- package/dist/{widget-image-BOOWwiSe.js → widget-image-CNtyaz7J.js} +5 -5
- package/dist/{widget-line-xVHcCE1_.js → widget-line-CrOS0l_-.js} +2 -2
- package/dist/{widget-pagination-B0Bq_gL5.js → widget-pagination-wCWG30o6.js} +5 -5
- package/dist/{widget-power-TNCB2u1G.js → widget-power-ayN9em_Q.js} +4 -4
- package/dist/{widget-qrcode-gVSwYuKp.js → widget-qrcode-CZatrCp4.js} +3 -3
- package/dist/{widget-rangelimit-BO7Z_5N9.js → widget-rangelimit-CzboyNIZ.js} +4 -4
- package/dist/{widget-serialnumber-BX83djNf.js → widget-serialnumber-CHCW116y.js} +1 -1
- package/dist/{widget-text-CIqov_wj.js → widget-text-rVl_vy60.js} +5 -5
- package/dist/{widget-timediff-kFxxm2hM.js → widget-timediff-BhTa83S9.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-CUk1634i.js +0 -4
- package/dist/seal-design-DNrW57Za.js +0 -4
- package/dist/use-namespace-BxkK4ofX.js +0 -77
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-BQfJFJ4j.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
5
5
|
const DESIGNER_DEFAULT_TYPES = /* @__PURE__ */ new Set([
|
|
6
6
|
FIELD_TYPE.DEVICE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
|
|
2
|
-
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { r as require$$0 } from "./index-
|
|
2
|
+
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
|
+
import { r as require$$0 } from "./index-BE-3UQG0.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
const _hoisted_1 = { class: "align-group-box" };
|
|
4
4
|
const _hoisted_2 = ["onClick"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-
|
|
4
|
-
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-Cls_jFJq.js";
|
|
4
|
+
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
const _hoisted_1 = { class: "wrapper" };
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, bv as assembleRules, bw as isAttachFieldActive, aI as Dependency_ENUM, bk as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Y as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a8 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { aO, aQ, a$, a1, bK, bL, B, bM, y, ai, bN, bO, bP, bh, bQ, aT, ay, aP, aM, aN, bR, aj, an, bS, bT, aG, a3, ah, az, aR, a0, al, L, bU, bV, O, p, P, aa, o, Q, A,
|
|
3
|
-
import {
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, bv as assembleRules, bw as isAttachFieldActive, aI as Dependency_ENUM, bk as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Y as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a8 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
|
+
import { aO, aQ, a$, a1, bK, bL, B, bM, y, ai, bN, bO, bP, bh, bQ, aT, ay, aP, aM, aN, bR, aj, an, bS, bT, aG, a3, ah, az, aR, a0, al, L, bU, bV, bW, O, p, P, aa, o, Q, A, bX, bY, ax, aw, a6, a2, a4, a5, a7, f, bZ, am, aq, ak, b_, b$, c0, c1, bg, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, bl, cc, cd, aZ, ce, b0, b1, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, aY, cp, b2, be, cq, cr, cs, ao, t, aS, ct, cu, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
|
+
import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-BQfJFJ4j.js";
|
|
4
|
+
import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-BQfJFJ4j.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { cloneDeep, defaults, isEmpty, merge } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as A3, D, M as M2, a as a10, P as P2, b as b3, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-
|
|
10
|
-
import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-CNkIUJTC.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a10, P as P2, b as b3, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-CNkIUJTC.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-DybPk-KF.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -190,7 +190,7 @@ class RuntimeFieldInitializer {
|
|
|
190
190
|
await Promise.resolve();
|
|
191
191
|
this.scheduled = false;
|
|
192
192
|
if (!signal.aborted && !this.disposed) await this.initialize();
|
|
193
|
-
}).catch((
|
|
193
|
+
}).catch(() => void 0).finally(() => this.tasks.delete("initialize:structure"));
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
record;
|
|
@@ -203,7 +203,7 @@ class RuntimeFieldInitializer {
|
|
|
203
203
|
disposed = false;
|
|
204
204
|
scheduled = false;
|
|
205
205
|
unsubscribe;
|
|
206
|
-
/**
|
|
206
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
207
207
|
async initialize() {
|
|
208
208
|
if (this.disposed || this.info.renderPurpose || this.info.platformType === PlatformEnum.INTEGRATION_PAAS_DP)
|
|
209
209
|
return;
|
|
@@ -247,7 +247,8 @@ class RuntimeFieldInitializer {
|
|
|
247
247
|
modelKey: props.modelKey,
|
|
248
248
|
subModelKey: props.subModelKey
|
|
249
249
|
},
|
|
250
|
-
sheetId
|
|
250
|
+
sheetId,
|
|
251
|
+
blockOnFailure: false
|
|
251
252
|
}
|
|
252
253
|
).finally(() => this.tasks.delete(key));
|
|
253
254
|
pending.push(task);
|
|
@@ -259,7 +260,7 @@ class RuntimeFieldInitializer {
|
|
|
259
260
|
this.record.asyncTasks.cancel(key);
|
|
260
261
|
this.tasks.delete(key);
|
|
261
262
|
}
|
|
262
|
-
await Promise.
|
|
263
|
+
await Promise.allSettled(pending);
|
|
263
264
|
}
|
|
264
265
|
request(key, fetch) {
|
|
265
266
|
const existing = this.requests.get(key);
|
|
@@ -1070,27 +1071,23 @@ function mergeCheckTableConfig(current, next) {
|
|
|
1070
1071
|
if (!Object.keys(result.byTable ?? {}).length) delete result.byTable;
|
|
1071
1072
|
return result;
|
|
1072
1073
|
}
|
|
1073
|
-
function
|
|
1074
|
+
function collectDuplicateFieldWarnings(locations, sheetTitleMap) {
|
|
1074
1075
|
const fieldLocationMap = /* @__PURE__ */ new Map();
|
|
1075
1076
|
locations.forEach((location) => {
|
|
1076
1077
|
if (!location.placement) return;
|
|
1077
1078
|
const fieldKey = getBusinessFieldKey(location);
|
|
1078
|
-
const
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
)}」和「${sheetTitleMap.get(location.sheetId)}」中重复使用`
|
|
1091
|
-
);
|
|
1092
|
-
}
|
|
1093
|
-
fieldLocationMap.set(fieldKey, location);
|
|
1079
|
+
const entries = fieldLocationMap.get(fieldKey) ?? [];
|
|
1080
|
+
entries.push(location);
|
|
1081
|
+
fieldLocationMap.set(fieldKey, entries);
|
|
1082
|
+
});
|
|
1083
|
+
return Array.from(fieldLocationMap.values()).filter((entries) => entries.length > 1).map((entries) => {
|
|
1084
|
+
const first = entries[0];
|
|
1085
|
+
const modelKey = first.subModelKey ?? first.modelKey;
|
|
1086
|
+
const fieldName = modelKey ? `${modelKey}.${first.fieldId}` : first.fieldId;
|
|
1087
|
+
const sheets = Array.from(
|
|
1088
|
+
new Set(entries.map((entry) => `「${sheetTitleMap.get(entry.sheetId) ?? entry.sheetId}」`))
|
|
1089
|
+
);
|
|
1090
|
+
return `字段「${fieldName}」在工作表${sheets.join("、")}有 ${entries.length} 个填报位置`;
|
|
1094
1091
|
});
|
|
1095
1092
|
}
|
|
1096
1093
|
function assertUniqueSubTableOwnership(sheets) {
|
|
@@ -1186,7 +1183,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1186
1183
|
sheetEntries.flatMap((entry) => entry.subTableInfo),
|
|
1187
1184
|
(item) => `${item.field}:${item.key}:${item.subType ?? ""}`
|
|
1188
1185
|
);
|
|
1189
|
-
|
|
1186
|
+
runtimeContext.duplicateFieldWarnings = collectDuplicateFieldWarnings(
|
|
1190
1187
|
fieldInfoMap.fieldLocations,
|
|
1191
1188
|
new Map(sheetEntries.map((entry) => [entry.sheet.sheetId, entry.sheet.title]))
|
|
1192
1189
|
);
|
|
@@ -1546,6 +1543,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1546
1543
|
uniqueId,
|
|
1547
1544
|
() => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
|
|
1548
1545
|
);
|
|
1546
|
+
runtimeRegistry.registerDisposable(
|
|
1547
|
+
uniqueId,
|
|
1548
|
+
watch(
|
|
1549
|
+
() => record.context.activeSheetId,
|
|
1550
|
+
(next, previous) => {
|
|
1551
|
+
if (next !== previous) {
|
|
1552
|
+
MaterialConsumeTableController.render?.destroyAllModals(uniqueId);
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
{ flush: "sync" }
|
|
1556
|
+
)
|
|
1557
|
+
);
|
|
1549
1558
|
if (!mcList.length) return;
|
|
1550
1559
|
const tmplBomC = record.context.services.tmplBomController;
|
|
1551
1560
|
if (!tmplBomC) return;
|
|
@@ -1846,7 +1855,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
1846
1855
|
if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
|
|
1847
1856
|
return false;
|
|
1848
1857
|
}
|
|
1849
|
-
runtimeRecord.formState.
|
|
1858
|
+
runtimeRecord.formState.patchSavedMetadata(idsFormState);
|
|
1850
1859
|
if (!runtimeRecord.formState.dirty) payload.onFormStateReady?.(runtimeRecord.formState);
|
|
1851
1860
|
return true;
|
|
1852
1861
|
};
|
|
@@ -2082,7 +2091,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2082
2091
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2083
2092
|
await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
|
|
2084
2093
|
}).catch((error) => {
|
|
2085
|
-
if (runtimeRegistry.get(uniqueId)
|
|
2094
|
+
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
2095
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
2096
|
+
console.error("表单模式准备失败", error);
|
|
2086
2097
|
});
|
|
2087
2098
|
}
|
|
2088
2099
|
async function prepareInitialView(record) {
|
|
@@ -3084,19 +3095,19 @@ export {
|
|
|
3084
3095
|
aT as DateFormat,
|
|
3085
3096
|
ay as DecimalDisplayMode,
|
|
3086
3097
|
aP as DenoiseMethodOptions,
|
|
3087
|
-
|
|
3098
|
+
a62 as DeviceConnector,
|
|
3088
3099
|
aM as DeviceLink,
|
|
3089
|
-
|
|
3100
|
+
e as DeviceLinkTmplUtil,
|
|
3090
3101
|
aN as DeviceParamsTypeTitle,
|
|
3091
3102
|
D as DevicePartConsumeTableCore,
|
|
3092
3103
|
bR as DeviceStatus,
|
|
3093
3104
|
aj as DiagonalDirection,
|
|
3094
3105
|
an as DiagonalVertex,
|
|
3095
3106
|
_ as DocumentLayout,
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3107
|
+
a72 as DocumentLoading,
|
|
3108
|
+
L2 as DocumentPaper,
|
|
3109
|
+
a8 as DynamicQuickFillModal,
|
|
3110
|
+
O2 as DynamicTableAction,
|
|
3100
3111
|
bS as EBR_PROVIDE_ENUM,
|
|
3101
3112
|
bT as EFieldBizTypeEnum,
|
|
3102
3113
|
E as EMPTY_PRODUCT_VERSION_ID,
|
|
@@ -3104,34 +3115,37 @@ export {
|
|
|
3104
3115
|
a3 as FallbackSignTypeEnum,
|
|
3105
3116
|
ah as FieldSysVarDefaultValueEnum,
|
|
3106
3117
|
FillingTypeEnum,
|
|
3107
|
-
|
|
3118
|
+
a9 as FixedQuickFillModal,
|
|
3108
3119
|
FormAnnotationController,
|
|
3109
|
-
|
|
3120
|
+
F2 as FormModelController,
|
|
3110
3121
|
FormTmplBomController,
|
|
3111
|
-
|
|
3122
|
+
aa2 as FormTmplConfigController,
|
|
3112
3123
|
FormTypeEnum,
|
|
3113
3124
|
az as ImageDisplayModeEnum,
|
|
3114
3125
|
InstanceStatusValues,
|
|
3115
3126
|
aR as JoinModelTypeEum,
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3127
|
+
ab as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3128
|
+
ac as LEGACY_RUNTIME_SHEET_ID,
|
|
3129
|
+
ad as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3119
3130
|
a0 as LabelPosition,
|
|
3120
3131
|
al as LineDirection,
|
|
3121
3132
|
L as LineType,
|
|
3133
|
+
bU as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3134
|
+
M as MAX_RUNTIME_SHEETS,
|
|
3135
|
+
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3122
3136
|
M3 as MBRender,
|
|
3123
|
-
|
|
3137
|
+
ae as MCDataUtil,
|
|
3124
3138
|
a11 as MCRender,
|
|
3125
|
-
|
|
3139
|
+
b as MULTI_SHEET_SCHEMA_VERSION,
|
|
3126
3140
|
MaterialConsumeTableController,
|
|
3127
3141
|
MaterialConsumptionPatternEnum,
|
|
3128
3142
|
M2 as MaterialRequisitionTableCore,
|
|
3129
3143
|
MaterialStatusEnum,
|
|
3130
3144
|
a10 as MaterialSubstitutionTableCore,
|
|
3131
|
-
|
|
3145
|
+
bV as MobileFillTypeEnum,
|
|
3132
3146
|
NCB_PROVIDE,
|
|
3133
|
-
|
|
3134
|
-
|
|
3147
|
+
af as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3148
|
+
bW as OfficeTypeEnum,
|
|
3135
3149
|
O as Orientation,
|
|
3136
3150
|
p as PageSizeEnum,
|
|
3137
3151
|
P as PaginationFormat,
|
|
@@ -3141,24 +3155,24 @@ export {
|
|
|
3141
3155
|
A as ParamModelTypeEnum,
|
|
3142
3156
|
P2 as PartStocktakeTableCore,
|
|
3143
3157
|
PlatformEnum,
|
|
3144
|
-
|
|
3158
|
+
bX as PosEnum,
|
|
3145
3159
|
b3 as PretreatmentListTableCore,
|
|
3146
3160
|
c10 as ProfileDrivenSubTableCore,
|
|
3147
|
-
|
|
3161
|
+
bY as RUNTIME_COLUMN_ROW_KEY,
|
|
3148
3162
|
ax as RangeCompareOp,
|
|
3149
3163
|
aw as RangeValidateMode,
|
|
3150
3164
|
RenderModeEnum,
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3165
|
+
ag as RuntimeAsyncTaskCoordinator,
|
|
3166
|
+
ah2 as RuntimeDependencyService,
|
|
3167
|
+
ai2 as RuntimeFieldRegistry,
|
|
3154
3168
|
RuntimeFormStateStore,
|
|
3155
3169
|
RuntimeInstanceController,
|
|
3156
|
-
|
|
3170
|
+
aj2 as RuntimeInstanceEventBus,
|
|
3157
3171
|
RuntimeInstanceRegistry,
|
|
3158
|
-
|
|
3172
|
+
ak2 as RuntimePersistenceCoordinator,
|
|
3159
3173
|
RuntimeRuleCompiler,
|
|
3160
3174
|
RuntimeSheetService,
|
|
3161
|
-
|
|
3175
|
+
al2 as RuntimeValidationService,
|
|
3162
3176
|
a6 as SignShowTypeEnum,
|
|
3163
3177
|
a2 as SignatureImageDirectionEnum,
|
|
3164
3178
|
a4 as SignatureNumberTypeEnum,
|
|
@@ -3166,10 +3180,10 @@ export {
|
|
|
3166
3180
|
a7 as SignatureTypeEnum,
|
|
3167
3181
|
d2 as SterilizeBatchTableCore,
|
|
3168
3182
|
e2 as StocktakeTableCore,
|
|
3169
|
-
|
|
3183
|
+
am2 as SubTableCore,
|
|
3170
3184
|
SubTableCoreFactory,
|
|
3171
3185
|
f as SubTableType,
|
|
3172
|
-
|
|
3186
|
+
bZ as SummaryApproveHisTypeEnum,
|
|
3173
3187
|
am as TimeDiffFormat,
|
|
3174
3188
|
aq as ViewTypeEnum,
|
|
3175
3189
|
W as WarehouseInTableCore,
|
|
@@ -3177,126 +3191,129 @@ export {
|
|
|
3177
3191
|
g as WarehouseOutTableCore,
|
|
3178
3192
|
h2 as WarehouseOutboundTableCore,
|
|
3179
3193
|
ak as WidgetImageSizeMode,
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3194
|
+
b_ as applyCheckDsDataToRuntime,
|
|
3195
|
+
w as applyConsumeObjectTraceChange,
|
|
3196
|
+
b$ as applyMedProCheckDsDataToRuntime,
|
|
3183
3197
|
baseDataUtils,
|
|
3184
|
-
|
|
3185
|
-
|
|
3198
|
+
c0 as bindRuntimeTableColumns,
|
|
3199
|
+
c1 as buildDeviceBaseQuery,
|
|
3186
3200
|
bg as buildDeviceFilterQuery,
|
|
3187
|
-
|
|
3188
|
-
|
|
3201
|
+
an2 as buildFormChangeDisplayRows,
|
|
3202
|
+
m as buildObjectLotExtraQuery,
|
|
3189
3203
|
buildRuntimeFieldPath,
|
|
3190
|
-
|
|
3191
|
-
|
|
3204
|
+
c2 as calcFillData,
|
|
3205
|
+
c3 as calcUtils,
|
|
3192
3206
|
calculateFormula,
|
|
3193
3207
|
collectAnnotationItemsByLocation,
|
|
3194
3208
|
collectFormChangeFieldLocations,
|
|
3195
3209
|
commonUtils,
|
|
3196
3210
|
convertHistoricalAnnotationLocation,
|
|
3197
|
-
|
|
3211
|
+
ao2 as convertV1Runtime,
|
|
3198
3212
|
c as createRuntimeDocumentV2,
|
|
3199
3213
|
createRuntimeInstanceContext,
|
|
3200
|
-
|
|
3214
|
+
c4 as decodeTableCellRowKey,
|
|
3215
|
+
ap as detailsHaveFormChangeRowOps,
|
|
3216
|
+
c5 as encodeTableCellRowKey,
|
|
3201
3217
|
enrichFormChangeRowDetails,
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3218
|
+
c6 as ensureFrontRowKey,
|
|
3219
|
+
c7 as ensureTableRowKeys,
|
|
3220
|
+
aq2 as extractFormChangeRowDetails,
|
|
3221
|
+
c8 as extractKeywordFromQueryData,
|
|
3222
|
+
c9 as fetchCheckDsDataForTable,
|
|
3223
|
+
ca as fetchCustomCheckDsData,
|
|
3208
3224
|
fetchHistoryConsume,
|
|
3209
|
-
|
|
3225
|
+
cb as fetchMedProCheckDsData,
|
|
3210
3226
|
fetchOperationReceiveQty,
|
|
3211
3227
|
fetchUdi,
|
|
3212
3228
|
filterAnnotationItemsUpToCurrent,
|
|
3213
3229
|
bl as findRuntimeParentRow,
|
|
3214
|
-
|
|
3230
|
+
cc as findRuntimeTableCell,
|
|
3215
3231
|
findRuntimeTableRow,
|
|
3216
3232
|
getAppInfo,
|
|
3217
3233
|
getBusinessFieldKey,
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3234
|
+
cd as getCheckTableSnapshotKey,
|
|
3235
|
+
ar as getFormChangeRowKey,
|
|
3236
|
+
as as getFormChangeRowOp,
|
|
3221
3237
|
aZ as getLotLockedReason,
|
|
3222
|
-
|
|
3223
|
-
|
|
3238
|
+
l as getObjectBomMaterialLotQuery,
|
|
3239
|
+
x as getObjectBomProductQuery,
|
|
3224
3240
|
getParseFormulaVarInfos,
|
|
3225
|
-
|
|
3241
|
+
ce as getParseRuleConfig,
|
|
3226
3242
|
b0 as getParseRuleInfo,
|
|
3227
3243
|
b1 as getParseRuleValue,
|
|
3228
|
-
|
|
3229
|
-
|
|
3244
|
+
cf as getReinspectionDate,
|
|
3245
|
+
cg as getRenderedRuntimeTableCell,
|
|
3230
3246
|
getRuntimeDataFieldId,
|
|
3231
3247
|
getRuntimeDependencyOutputKey,
|
|
3232
|
-
|
|
3248
|
+
at as getSubTableQuickFillInfo,
|
|
3233
3249
|
getSuiteKey,
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3250
|
+
ch as handleOldConfig,
|
|
3251
|
+
ci as hasAnyCheckTableSnapshot,
|
|
3252
|
+
cj as hasByTableCheckTableSnapshot,
|
|
3253
|
+
ck as hasSharedCheckTableSnapshot,
|
|
3254
|
+
au as isAnnLocationSelected,
|
|
3255
|
+
av as isBlank,
|
|
3240
3256
|
isBomGranted,
|
|
3241
3257
|
isEdhrSuite,
|
|
3242
3258
|
isEqmSuite,
|
|
3243
|
-
|
|
3244
|
-
|
|
3259
|
+
aw2 as isFormChangeGhostRow,
|
|
3260
|
+
cl as isMedProSuite,
|
|
3245
3261
|
isRowAddedInCurrentFormChange,
|
|
3246
|
-
|
|
3247
|
-
|
|
3262
|
+
cm as isTableRowKeyMatch,
|
|
3263
|
+
cn as jsonSchemaUtils,
|
|
3264
|
+
co as judgeUnique,
|
|
3248
3265
|
aY as materialCheck,
|
|
3249
|
-
|
|
3266
|
+
cp as migrateDiagonalDirectionToVertex,
|
|
3250
3267
|
nextFormChangeRowViewHistoryId,
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3268
|
+
f2 as normalizeAIOcrTmpl,
|
|
3269
|
+
y2 as normalizeHistoricalAutofillRow,
|
|
3270
|
+
d as normalizeHistoricalBusinessRow,
|
|
3271
|
+
ax2 as normalizeHistoricalFieldConfig,
|
|
3255
3272
|
b2 as normalizeRefLoaderResult,
|
|
3256
3273
|
normalizeRuntime,
|
|
3257
3274
|
parseFrontConfig,
|
|
3258
3275
|
parseRuntimeFieldPath,
|
|
3259
3276
|
parseUdi,
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3277
|
+
ay2 as pickObjectFieldKeys,
|
|
3278
|
+
az2 as recordSubtableRowAdd,
|
|
3279
|
+
aA as recordSubtableRowDelete,
|
|
3263
3280
|
be as refUtils,
|
|
3264
|
-
|
|
3281
|
+
cq as relocateDeletedRowsToEnd,
|
|
3265
3282
|
renderUtils,
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3283
|
+
cr as requestMedProCheckDsData,
|
|
3284
|
+
cs as requestNonMedProCheckDsData,
|
|
3285
|
+
aB as resolveAnnotationFieldLocation,
|
|
3269
3286
|
ao as resolveDiagonalVertex,
|
|
3270
3287
|
t as resolveFieldRenderComponent,
|
|
3271
|
-
|
|
3272
|
-
|
|
3288
|
+
aC as resolveFormChangeRowUi,
|
|
3289
|
+
p2 as resolveObjectBomEntry,
|
|
3273
3290
|
r as resolveObjectFieldKeys,
|
|
3274
|
-
|
|
3291
|
+
aD as resolveRowFormChangeMark,
|
|
3275
3292
|
resolveUdiQuery,
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3293
|
+
q as runWithFillProduct,
|
|
3294
|
+
j as setSelectAnnotationId,
|
|
3295
|
+
aE as setSelectMobileTdId,
|
|
3279
3296
|
s as setSelectValidatorId,
|
|
3280
3297
|
aS as sqlUtils,
|
|
3281
|
-
|
|
3282
|
-
|
|
3298
|
+
ct as stockCheck,
|
|
3299
|
+
aF as stripLegacyFormConfigFromPaper,
|
|
3283
3300
|
transformUtils,
|
|
3284
|
-
|
|
3301
|
+
C as useDependency,
|
|
3285
3302
|
useEbrWikiFactoryV2,
|
|
3286
|
-
|
|
3303
|
+
F as useFieldPresentation,
|
|
3287
3304
|
u2 as useFormModel,
|
|
3288
3305
|
u as useFormTmplConfig,
|
|
3289
3306
|
useMaterialBalance,
|
|
3290
3307
|
useNocodeEmitter,
|
|
3291
|
-
|
|
3292
|
-
|
|
3308
|
+
t2 as useNocodeFormWidget,
|
|
3309
|
+
cu as useOnlineFormActionButton,
|
|
3293
3310
|
bm as useOnlineFormTransformField2Component,
|
|
3294
3311
|
useRenderPageFactory,
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3312
|
+
G as useRuntimeEditorFlusher,
|
|
3313
|
+
i as useRuntimeInstanceServices,
|
|
3314
|
+
k as useRuntimeRowState,
|
|
3315
|
+
A2 as useStyles,
|
|
3316
|
+
h as useWidgetStaticAttrs,
|
|
3300
3317
|
v as validateObjectBomForScan,
|
|
3301
3318
|
validateObjectBomQtyOnSubmit,
|
|
3302
3319
|
a_ as validateReinspectionDate
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
3
|
-
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-Cls_jFJq.js";
|
|
3
|
+
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|