@gct-paas/excel 0.1.39-beta.1 → 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/{BaseComponent-wXAepA6P.js → BaseComponent-Dri2NRAY.js} +2 -2
- package/dist/{VueVideoPlayer-C--qHZWs.js → VueVideoPlayer-DPJyefX-.js} +2 -2
- package/dist/{align-editor-BMFoEgQf.js → align-editor-BvGUsoz3.js} +1 -1
- package/dist/{barcode-design-M3FjUJNm.js → barcode-design-BIAenf34.js} +2 -2
- package/dist/base/index.es.js +128 -107
- package/dist/{diagonal-design-C2lATeRX.js → diagonal-design-Bg0Wzojk.js} +2 -2
- package/dist/{dynamic-table-action-Cm8HO12b.js → dynamic-table-action-BQfJFJ4j.js} +178 -103
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js} +288 -213
- package/dist/{edit.utils-CXmmCnxE-CaZuzVd6.js → edit.utils-CXmmCnxE-CvJGxh2v.js} +1 -1
- package/dist/excel.css +257 -142
- package/dist/{exceljs.min-CeIQpaOT.js → exceljs.min-oMo9w3-p.js} +2 -2
- package/dist/{font-editor-CPn2F_OZ.js → font-editor-JT-C4KUo.js} +3 -3
- package/dist/{image-design-DWjjBFQa.js → image-design-A8_t4F3t.js} +2 -2
- package/dist/{index-DxCN78vg.js → index-1Aq6q-wr.js} +3 -3
- package/dist/{index-BatfBVeN.js → index-3clyu1Q_.js} +4 -4
- package/dist/{index-B72KgWBu.js → index-B-Kwr44d.js} +1 -1
- package/dist/{index-DtS3ze0S.js → index-B8Vkmyc8.js} +3 -3
- package/dist/{index-DTSHn9ii.js → index-BE-3UQG0.js} +5 -4
- package/dist/{index-B3oqnny_.js → index-BLmR9aiG.js} +1 -1
- package/dist/{index-DSSJ8S81.js → index-BUK-p31i.js} +2 -2
- package/dist/{index-DC8dEMj4.js → index-B_GyS-E2.js} +1 -1
- package/dist/{index-CRGOLDI8.js → index-Bs8Xs0bo.js} +1 -1
- package/dist/{index-DqQ2ZxDn.js → index-C3k8QiLF.js} +2 -2
- package/dist/{index-CWmsgguT.js → index-CISAQtLd.js} +3 -3
- package/dist/{index-DdVlAV0_.js → index-CJdwj04Z.js} +1 -1
- package/dist/{index-BuNKNsIb.js → index-CJiOtrhx.js} +2 -2
- package/dist/{index-OIXBBHHu.js → index-CRloZ0HP.js} +2 -2
- package/dist/{index-ClVsGQoQ.js → index-CTASuQPn.js} +1 -1
- package/dist/{index-BrZiEGAB.js → index-Caygbi4F.js} +2 -2
- package/dist/{index-CNlb3Y3A.js → index-CfGLFrkj.js} +1 -1
- package/dist/{index-B3S5QpVz.js → index-Cls_jFJq.js} +700 -528
- package/dist/{index-C3GHvYcj.js → index-Cqcbgcw7.js} +2 -2
- package/dist/{index-CpN3c_Lk.js → index-D1jXU0ka.js} +2 -2
- package/dist/{index-mA7F37nK.js → index-D9444n1O.js} +2 -2
- package/dist/{index-CIiCyyBv.js → index-D9OUmbBs.js} +1 -1
- package/dist/{index-DhkQma-u.js → index-DERot0lx.js} +3 -3
- package/dist/{index-DHPRpllA.js → index-DFNVqlgA.js} +1 -1
- package/dist/{index-BEQELF4E.js → index-DIythXNr.js} +3 -3
- package/dist/{index-ChRhjdl_.js → index-DPHGDezJ.js} +1 -1
- package/dist/{index-Cg0trWkY.js → index-DT8qwYke.js} +2 -2
- package/dist/{index-pxBPpLrG.js → index-DWVhXPb-.js} +2 -2
- package/dist/{index-BcpTVyHa.js → index-DY7Xkd8n.js} +2 -2
- package/dist/{index-C__Qm3ub.js → index-DkwkBWEP.js} +2 -2
- package/dist/{index-yfTjcRJ8.js → index-DmBx27M9.js} +2 -2
- package/dist/{index-gra19syg.js → index-DsLZqLga.js} +2 -2
- package/dist/{index-CED1SWU9.js → index-H2nF4SP8.js} +2 -2
- package/dist/{index-CcBF1mOx.js → index-afC-rHNa.js} +2 -2
- package/dist/{index-BZcapeWR.js → index-bH6ERrWd.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BZXw-tG7.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-uXt_kyMo.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BEX02BrW.js} +1 -1
- package/dist/{pagination-design-CCRMgYhc.js → pagination-design-Ct6xpKO9.js} +2 -2
- package/dist/paper-widget-design-CEEWgUk_.js +4 -0
- package/dist/{print-runtime-instance-MA7UVZdA.js → print-runtime-instance-7aZCZWS4.js} +1 -1
- package/dist/{print-snapshot-renderer-BavXucNu.js → print-snapshot-renderer-DPFZBXE2.js} +3 -3
- package/dist/{qrcode-design-BC1PBKf_.js → qrcode-design-SOVTkKjY.js} +1 -1
- package/dist/{revo-grid.entry-DjiOpHRm.js → revo-grid.entry-EvEm_y2W.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CDnB9lLs.js → revogr-attribution_7.entry-DgE6PR1L.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C6O9JrN7.js → revogr-clipboard_3.entry-CNDxeVhF.js} +2 -2
- package/dist/{revogr-data_4.entry-y1feqF9h.js → revogr-data_4.entry-DKwV9DMF.js} +2 -2
- package/dist/{revogr-filter-panel.entry-By9rD4Y9.js → revogr-filter-panel.entry-1SAhHHfl.js} +1 -1
- package/dist/seal-design-DukOrO2g.js +4 -0
- package/dist/{serialnumber-design-Bb75HRGq.js → serialnumber-design-Cs3B0ZNE.js} +1 -1
- package/dist/shared/index.es.js +6 -6
- package/dist/{single-field-drop-BlAQcTBT.js → single-field-drop-C-i51iU4.js} +2 -2
- package/dist/{size-editor-BWnv8oH4.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-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/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-CGELiUkd.js → sub-table-factory-CNkIUJTC.js} +20 -7
- package/dist/{text-design-CiWiGhwN.js → text-design-B-VmJzZy.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-B466AVFI.js → throttle-Cpk1LoGk-Ch-cqj2G.js} +1 -1
- package/dist/{timediff-design-CnCXGLgF.js → timediff-design-DASqeRcJ.js} +1 -1
- package/dist/{trace-like-wrapper-CPFayyjF.js → trace-like-wrapper-Cj-nluW3.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DyTtWYrg.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-DMt5IwNO.js → widget-barcode-BOseDEJ_.js} +4 -4
- package/dist/{widget-diagonal-D073XXKw.js → widget-diagonal-CzWRf_zr.js} +3 -3
- package/dist/{widget-image-Bc-6H2uA.js → widget-image-CNtyaz7J.js} +5 -5
- package/dist/{widget-line-BtfMvVGp.js → widget-line-CrOS0l_-.js} +2 -2
- package/dist/{widget-pagination-CIlAAI2a.js → widget-pagination-wCWG30o6.js} +5 -5
- package/dist/{widget-power-Bu16c4bS.js → widget-power-ayN9em_Q.js} +3 -3
- package/dist/{widget-qrcode-AfILjhmH.js → widget-qrcode-CZatrCp4.js} +3 -3
- package/dist/{widget-rangelimit-B-mhBJN4.js → widget-rangelimit-CzboyNIZ.js} +3 -3
- package/dist/{widget-serialnumber-DVoe5bqh.js → widget-serialnumber-CHCW116y.js} +1 -1
- package/dist/{widget-text-DWNEbQUk.js → widget-text-rVl_vy60.js} +5 -5
- package/dist/{widget-timediff-B2mjc1qy.js → widget-timediff-BhTa83S9.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-BbQeY4Hv.js +0 -4
- package/dist/seal-design-CN_B6div.js +0 -4
|
@@ -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);
|
|
@@ -1542,6 +1543,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1542
1543
|
uniqueId,
|
|
1543
1544
|
() => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
|
|
1544
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
|
+
);
|
|
1545
1558
|
if (!mcList.length) return;
|
|
1546
1559
|
const tmplBomC = record.context.services.tmplBomController;
|
|
1547
1560
|
if (!tmplBomC) return;
|
|
@@ -1842,7 +1855,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
|
|
|
1842
1855
|
if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
|
|
1843
1856
|
return false;
|
|
1844
1857
|
}
|
|
1845
|
-
runtimeRecord.formState.
|
|
1858
|
+
runtimeRecord.formState.patchSavedMetadata(idsFormState);
|
|
1846
1859
|
if (!runtimeRecord.formState.dirty) payload.onFormStateReady?.(runtimeRecord.formState);
|
|
1847
1860
|
return true;
|
|
1848
1861
|
};
|
|
@@ -2078,7 +2091,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2078
2091
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2079
2092
|
await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
|
|
2080
2093
|
}).catch((error) => {
|
|
2081
|
-
if (runtimeRegistry.get(uniqueId)
|
|
2094
|
+
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
2095
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
2096
|
+
console.error("表单模式准备失败", error);
|
|
2082
2097
|
});
|
|
2083
2098
|
}
|
|
2084
2099
|
async function prepareInitialView(record) {
|
|
@@ -3080,19 +3095,19 @@ export {
|
|
|
3080
3095
|
aT as DateFormat,
|
|
3081
3096
|
ay as DecimalDisplayMode,
|
|
3082
3097
|
aP as DenoiseMethodOptions,
|
|
3083
|
-
|
|
3098
|
+
a62 as DeviceConnector,
|
|
3084
3099
|
aM as DeviceLink,
|
|
3085
|
-
|
|
3100
|
+
e as DeviceLinkTmplUtil,
|
|
3086
3101
|
aN as DeviceParamsTypeTitle,
|
|
3087
3102
|
D as DevicePartConsumeTableCore,
|
|
3088
3103
|
bR as DeviceStatus,
|
|
3089
3104
|
aj as DiagonalDirection,
|
|
3090
3105
|
an as DiagonalVertex,
|
|
3091
3106
|
_ as DocumentLayout,
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3107
|
+
a72 as DocumentLoading,
|
|
3108
|
+
L2 as DocumentPaper,
|
|
3109
|
+
a8 as DynamicQuickFillModal,
|
|
3110
|
+
O2 as DynamicTableAction,
|
|
3096
3111
|
bS as EBR_PROVIDE_ENUM,
|
|
3097
3112
|
bT as EFieldBizTypeEnum,
|
|
3098
3113
|
E as EMPTY_PRODUCT_VERSION_ID,
|
|
@@ -3100,34 +3115,37 @@ export {
|
|
|
3100
3115
|
a3 as FallbackSignTypeEnum,
|
|
3101
3116
|
ah as FieldSysVarDefaultValueEnum,
|
|
3102
3117
|
FillingTypeEnum,
|
|
3103
|
-
|
|
3118
|
+
a9 as FixedQuickFillModal,
|
|
3104
3119
|
FormAnnotationController,
|
|
3105
|
-
|
|
3120
|
+
F2 as FormModelController,
|
|
3106
3121
|
FormTmplBomController,
|
|
3107
|
-
|
|
3122
|
+
aa2 as FormTmplConfigController,
|
|
3108
3123
|
FormTypeEnum,
|
|
3109
3124
|
az as ImageDisplayModeEnum,
|
|
3110
3125
|
InstanceStatusValues,
|
|
3111
3126
|
aR as JoinModelTypeEum,
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3127
|
+
ab as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3128
|
+
ac as LEGACY_RUNTIME_SHEET_ID,
|
|
3129
|
+
ad as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3115
3130
|
a0 as LabelPosition,
|
|
3116
3131
|
al as LineDirection,
|
|
3117
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,
|
|
3118
3136
|
M3 as MBRender,
|
|
3119
|
-
|
|
3137
|
+
ae as MCDataUtil,
|
|
3120
3138
|
a11 as MCRender,
|
|
3121
|
-
|
|
3139
|
+
b as MULTI_SHEET_SCHEMA_VERSION,
|
|
3122
3140
|
MaterialConsumeTableController,
|
|
3123
3141
|
MaterialConsumptionPatternEnum,
|
|
3124
3142
|
M2 as MaterialRequisitionTableCore,
|
|
3125
3143
|
MaterialStatusEnum,
|
|
3126
3144
|
a10 as MaterialSubstitutionTableCore,
|
|
3127
|
-
|
|
3145
|
+
bV as MobileFillTypeEnum,
|
|
3128
3146
|
NCB_PROVIDE,
|
|
3129
|
-
|
|
3130
|
-
|
|
3147
|
+
af as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3148
|
+
bW as OfficeTypeEnum,
|
|
3131
3149
|
O as Orientation,
|
|
3132
3150
|
p as PageSizeEnum,
|
|
3133
3151
|
P as PaginationFormat,
|
|
@@ -3137,24 +3155,24 @@ export {
|
|
|
3137
3155
|
A as ParamModelTypeEnum,
|
|
3138
3156
|
P2 as PartStocktakeTableCore,
|
|
3139
3157
|
PlatformEnum,
|
|
3140
|
-
|
|
3158
|
+
bX as PosEnum,
|
|
3141
3159
|
b3 as PretreatmentListTableCore,
|
|
3142
3160
|
c10 as ProfileDrivenSubTableCore,
|
|
3143
|
-
|
|
3161
|
+
bY as RUNTIME_COLUMN_ROW_KEY,
|
|
3144
3162
|
ax as RangeCompareOp,
|
|
3145
3163
|
aw as RangeValidateMode,
|
|
3146
3164
|
RenderModeEnum,
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3165
|
+
ag as RuntimeAsyncTaskCoordinator,
|
|
3166
|
+
ah2 as RuntimeDependencyService,
|
|
3167
|
+
ai2 as RuntimeFieldRegistry,
|
|
3150
3168
|
RuntimeFormStateStore,
|
|
3151
3169
|
RuntimeInstanceController,
|
|
3152
|
-
|
|
3170
|
+
aj2 as RuntimeInstanceEventBus,
|
|
3153
3171
|
RuntimeInstanceRegistry,
|
|
3154
|
-
|
|
3172
|
+
ak2 as RuntimePersistenceCoordinator,
|
|
3155
3173
|
RuntimeRuleCompiler,
|
|
3156
3174
|
RuntimeSheetService,
|
|
3157
|
-
|
|
3175
|
+
al2 as RuntimeValidationService,
|
|
3158
3176
|
a6 as SignShowTypeEnum,
|
|
3159
3177
|
a2 as SignatureImageDirectionEnum,
|
|
3160
3178
|
a4 as SignatureNumberTypeEnum,
|
|
@@ -3162,10 +3180,10 @@ export {
|
|
|
3162
3180
|
a7 as SignatureTypeEnum,
|
|
3163
3181
|
d2 as SterilizeBatchTableCore,
|
|
3164
3182
|
e2 as StocktakeTableCore,
|
|
3165
|
-
|
|
3183
|
+
am2 as SubTableCore,
|
|
3166
3184
|
SubTableCoreFactory,
|
|
3167
3185
|
f as SubTableType,
|
|
3168
|
-
|
|
3186
|
+
bZ as SummaryApproveHisTypeEnum,
|
|
3169
3187
|
am as TimeDiffFormat,
|
|
3170
3188
|
aq as ViewTypeEnum,
|
|
3171
3189
|
W as WarehouseInTableCore,
|
|
@@ -3173,126 +3191,129 @@ export {
|
|
|
3173
3191
|
g as WarehouseOutTableCore,
|
|
3174
3192
|
h2 as WarehouseOutboundTableCore,
|
|
3175
3193
|
ak as WidgetImageSizeMode,
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3194
|
+
b_ as applyCheckDsDataToRuntime,
|
|
3195
|
+
w as applyConsumeObjectTraceChange,
|
|
3196
|
+
b$ as applyMedProCheckDsDataToRuntime,
|
|
3179
3197
|
baseDataUtils,
|
|
3180
|
-
|
|
3181
|
-
|
|
3198
|
+
c0 as bindRuntimeTableColumns,
|
|
3199
|
+
c1 as buildDeviceBaseQuery,
|
|
3182
3200
|
bg as buildDeviceFilterQuery,
|
|
3183
|
-
|
|
3184
|
-
|
|
3201
|
+
an2 as buildFormChangeDisplayRows,
|
|
3202
|
+
m as buildObjectLotExtraQuery,
|
|
3185
3203
|
buildRuntimeFieldPath,
|
|
3186
|
-
|
|
3187
|
-
|
|
3204
|
+
c2 as calcFillData,
|
|
3205
|
+
c3 as calcUtils,
|
|
3188
3206
|
calculateFormula,
|
|
3189
3207
|
collectAnnotationItemsByLocation,
|
|
3190
3208
|
collectFormChangeFieldLocations,
|
|
3191
3209
|
commonUtils,
|
|
3192
3210
|
convertHistoricalAnnotationLocation,
|
|
3193
|
-
|
|
3211
|
+
ao2 as convertV1Runtime,
|
|
3194
3212
|
c as createRuntimeDocumentV2,
|
|
3195
3213
|
createRuntimeInstanceContext,
|
|
3196
|
-
|
|
3214
|
+
c4 as decodeTableCellRowKey,
|
|
3215
|
+
ap as detailsHaveFormChangeRowOps,
|
|
3216
|
+
c5 as encodeTableCellRowKey,
|
|
3197
3217
|
enrichFormChangeRowDetails,
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3218
|
+
c6 as ensureFrontRowKey,
|
|
3219
|
+
c7 as ensureTableRowKeys,
|
|
3220
|
+
aq2 as extractFormChangeRowDetails,
|
|
3221
|
+
c8 as extractKeywordFromQueryData,
|
|
3222
|
+
c9 as fetchCheckDsDataForTable,
|
|
3223
|
+
ca as fetchCustomCheckDsData,
|
|
3204
3224
|
fetchHistoryConsume,
|
|
3205
|
-
|
|
3225
|
+
cb as fetchMedProCheckDsData,
|
|
3206
3226
|
fetchOperationReceiveQty,
|
|
3207
3227
|
fetchUdi,
|
|
3208
3228
|
filterAnnotationItemsUpToCurrent,
|
|
3209
3229
|
bl as findRuntimeParentRow,
|
|
3210
|
-
|
|
3230
|
+
cc as findRuntimeTableCell,
|
|
3211
3231
|
findRuntimeTableRow,
|
|
3212
3232
|
getAppInfo,
|
|
3213
3233
|
getBusinessFieldKey,
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3234
|
+
cd as getCheckTableSnapshotKey,
|
|
3235
|
+
ar as getFormChangeRowKey,
|
|
3236
|
+
as as getFormChangeRowOp,
|
|
3217
3237
|
aZ as getLotLockedReason,
|
|
3218
|
-
|
|
3219
|
-
|
|
3238
|
+
l as getObjectBomMaterialLotQuery,
|
|
3239
|
+
x as getObjectBomProductQuery,
|
|
3220
3240
|
getParseFormulaVarInfos,
|
|
3221
|
-
|
|
3241
|
+
ce as getParseRuleConfig,
|
|
3222
3242
|
b0 as getParseRuleInfo,
|
|
3223
3243
|
b1 as getParseRuleValue,
|
|
3224
|
-
|
|
3225
|
-
|
|
3244
|
+
cf as getReinspectionDate,
|
|
3245
|
+
cg as getRenderedRuntimeTableCell,
|
|
3226
3246
|
getRuntimeDataFieldId,
|
|
3227
3247
|
getRuntimeDependencyOutputKey,
|
|
3228
|
-
|
|
3248
|
+
at as getSubTableQuickFillInfo,
|
|
3229
3249
|
getSuiteKey,
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3250
|
+
ch as handleOldConfig,
|
|
3251
|
+
ci as hasAnyCheckTableSnapshot,
|
|
3252
|
+
cj as hasByTableCheckTableSnapshot,
|
|
3253
|
+
ck as hasSharedCheckTableSnapshot,
|
|
3254
|
+
au as isAnnLocationSelected,
|
|
3255
|
+
av as isBlank,
|
|
3236
3256
|
isBomGranted,
|
|
3237
3257
|
isEdhrSuite,
|
|
3238
3258
|
isEqmSuite,
|
|
3239
|
-
|
|
3240
|
-
|
|
3259
|
+
aw2 as isFormChangeGhostRow,
|
|
3260
|
+
cl as isMedProSuite,
|
|
3241
3261
|
isRowAddedInCurrentFormChange,
|
|
3242
|
-
|
|
3243
|
-
|
|
3262
|
+
cm as isTableRowKeyMatch,
|
|
3263
|
+
cn as jsonSchemaUtils,
|
|
3264
|
+
co as judgeUnique,
|
|
3244
3265
|
aY as materialCheck,
|
|
3245
|
-
|
|
3266
|
+
cp as migrateDiagonalDirectionToVertex,
|
|
3246
3267
|
nextFormChangeRowViewHistoryId,
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3268
|
+
f2 as normalizeAIOcrTmpl,
|
|
3269
|
+
y2 as normalizeHistoricalAutofillRow,
|
|
3270
|
+
d as normalizeHistoricalBusinessRow,
|
|
3271
|
+
ax2 as normalizeHistoricalFieldConfig,
|
|
3251
3272
|
b2 as normalizeRefLoaderResult,
|
|
3252
3273
|
normalizeRuntime,
|
|
3253
3274
|
parseFrontConfig,
|
|
3254
3275
|
parseRuntimeFieldPath,
|
|
3255
3276
|
parseUdi,
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3277
|
+
ay2 as pickObjectFieldKeys,
|
|
3278
|
+
az2 as recordSubtableRowAdd,
|
|
3279
|
+
aA as recordSubtableRowDelete,
|
|
3259
3280
|
be as refUtils,
|
|
3260
|
-
|
|
3281
|
+
cq as relocateDeletedRowsToEnd,
|
|
3261
3282
|
renderUtils,
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3283
|
+
cr as requestMedProCheckDsData,
|
|
3284
|
+
cs as requestNonMedProCheckDsData,
|
|
3285
|
+
aB as resolveAnnotationFieldLocation,
|
|
3265
3286
|
ao as resolveDiagonalVertex,
|
|
3266
3287
|
t as resolveFieldRenderComponent,
|
|
3267
|
-
|
|
3268
|
-
|
|
3288
|
+
aC as resolveFormChangeRowUi,
|
|
3289
|
+
p2 as resolveObjectBomEntry,
|
|
3269
3290
|
r as resolveObjectFieldKeys,
|
|
3270
|
-
|
|
3291
|
+
aD as resolveRowFormChangeMark,
|
|
3271
3292
|
resolveUdiQuery,
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3293
|
+
q as runWithFillProduct,
|
|
3294
|
+
j as setSelectAnnotationId,
|
|
3295
|
+
aE as setSelectMobileTdId,
|
|
3275
3296
|
s as setSelectValidatorId,
|
|
3276
3297
|
aS as sqlUtils,
|
|
3277
|
-
|
|
3278
|
-
|
|
3298
|
+
ct as stockCheck,
|
|
3299
|
+
aF as stripLegacyFormConfigFromPaper,
|
|
3279
3300
|
transformUtils,
|
|
3280
|
-
|
|
3301
|
+
C as useDependency,
|
|
3281
3302
|
useEbrWikiFactoryV2,
|
|
3282
|
-
|
|
3303
|
+
F as useFieldPresentation,
|
|
3283
3304
|
u2 as useFormModel,
|
|
3284
3305
|
u as useFormTmplConfig,
|
|
3285
3306
|
useMaterialBalance,
|
|
3286
3307
|
useNocodeEmitter,
|
|
3287
|
-
|
|
3288
|
-
|
|
3308
|
+
t2 as useNocodeFormWidget,
|
|
3309
|
+
cu as useOnlineFormActionButton,
|
|
3289
3310
|
bm as useOnlineFormTransformField2Component,
|
|
3290
3311
|
useRenderPageFactory,
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3312
|
+
G as useRuntimeEditorFlusher,
|
|
3313
|
+
i as useRuntimeInstanceServices,
|
|
3314
|
+
k as useRuntimeRowState,
|
|
3315
|
+
A2 as useStyles,
|
|
3316
|
+
h as useWidgetStaticAttrs,
|
|
3296
3317
|
v as validateObjectBomForScan,
|
|
3297
3318
|
validateObjectBomQtyOnSubmit,
|
|
3298
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";
|