@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.
Files changed (100) hide show
  1. package/dist/{BaseComponent-wXAepA6P.js → BaseComponent-Dri2NRAY.js} +2 -2
  2. package/dist/{VueVideoPlayer-C--qHZWs.js → VueVideoPlayer-DPJyefX-.js} +2 -2
  3. package/dist/{align-editor-BMFoEgQf.js → align-editor-BvGUsoz3.js} +1 -1
  4. package/dist/{barcode-design-M3FjUJNm.js → barcode-design-BIAenf34.js} +2 -2
  5. package/dist/base/index.es.js +128 -107
  6. package/dist/{diagonal-design-C2lATeRX.js → diagonal-design-Bg0Wzojk.js} +2 -2
  7. package/dist/{dynamic-table-action-Cm8HO12b.js → dynamic-table-action-BQfJFJ4j.js} +178 -103
  8. 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
  9. package/dist/{edit.utils-CXmmCnxE-CaZuzVd6.js → edit.utils-CXmmCnxE-CvJGxh2v.js} +1 -1
  10. package/dist/excel.css +257 -142
  11. package/dist/{exceljs.min-CeIQpaOT.js → exceljs.min-oMo9w3-p.js} +2 -2
  12. package/dist/{font-editor-CPn2F_OZ.js → font-editor-JT-C4KUo.js} +3 -3
  13. package/dist/{image-design-DWjjBFQa.js → image-design-A8_t4F3t.js} +2 -2
  14. package/dist/{index-DxCN78vg.js → index-1Aq6q-wr.js} +3 -3
  15. package/dist/{index-BatfBVeN.js → index-3clyu1Q_.js} +4 -4
  16. package/dist/{index-B72KgWBu.js → index-B-Kwr44d.js} +1 -1
  17. package/dist/{index-DtS3ze0S.js → index-B8Vkmyc8.js} +3 -3
  18. package/dist/{index-DTSHn9ii.js → index-BE-3UQG0.js} +5 -4
  19. package/dist/{index-B3oqnny_.js → index-BLmR9aiG.js} +1 -1
  20. package/dist/{index-DSSJ8S81.js → index-BUK-p31i.js} +2 -2
  21. package/dist/{index-DC8dEMj4.js → index-B_GyS-E2.js} +1 -1
  22. package/dist/{index-CRGOLDI8.js → index-Bs8Xs0bo.js} +1 -1
  23. package/dist/{index-DqQ2ZxDn.js → index-C3k8QiLF.js} +2 -2
  24. package/dist/{index-CWmsgguT.js → index-CISAQtLd.js} +3 -3
  25. package/dist/{index-DdVlAV0_.js → index-CJdwj04Z.js} +1 -1
  26. package/dist/{index-BuNKNsIb.js → index-CJiOtrhx.js} +2 -2
  27. package/dist/{index-OIXBBHHu.js → index-CRloZ0HP.js} +2 -2
  28. package/dist/{index-ClVsGQoQ.js → index-CTASuQPn.js} +1 -1
  29. package/dist/{index-BrZiEGAB.js → index-Caygbi4F.js} +2 -2
  30. package/dist/{index-CNlb3Y3A.js → index-CfGLFrkj.js} +1 -1
  31. package/dist/{index-B3S5QpVz.js → index-Cls_jFJq.js} +700 -528
  32. package/dist/{index-C3GHvYcj.js → index-Cqcbgcw7.js} +2 -2
  33. package/dist/{index-CpN3c_Lk.js → index-D1jXU0ka.js} +2 -2
  34. package/dist/{index-mA7F37nK.js → index-D9444n1O.js} +2 -2
  35. package/dist/{index-CIiCyyBv.js → index-D9OUmbBs.js} +1 -1
  36. package/dist/{index-DhkQma-u.js → index-DERot0lx.js} +3 -3
  37. package/dist/{index-DHPRpllA.js → index-DFNVqlgA.js} +1 -1
  38. package/dist/{index-BEQELF4E.js → index-DIythXNr.js} +3 -3
  39. package/dist/{index-ChRhjdl_.js → index-DPHGDezJ.js} +1 -1
  40. package/dist/{index-Cg0trWkY.js → index-DT8qwYke.js} +2 -2
  41. package/dist/{index-pxBPpLrG.js → index-DWVhXPb-.js} +2 -2
  42. package/dist/{index-BcpTVyHa.js → index-DY7Xkd8n.js} +2 -2
  43. package/dist/{index-C__Qm3ub.js → index-DkwkBWEP.js} +2 -2
  44. package/dist/{index-yfTjcRJ8.js → index-DmBx27M9.js} +2 -2
  45. package/dist/{index-gra19syg.js → index-DsLZqLga.js} +2 -2
  46. package/dist/{index-CED1SWU9.js → index-H2nF4SP8.js} +2 -2
  47. package/dist/{index-CcBF1mOx.js → index-afC-rHNa.js} +2 -2
  48. package/dist/{index-BZcapeWR.js → index-bH6ERrWd.js} +2 -2
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BZXw-tG7.js → mb-render-DybPk-KF.js} +2 -2
  51. 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
  52. package/dist/{pagination-design-CCRMgYhc.js → pagination-design-Ct6xpKO9.js} +2 -2
  53. package/dist/paper-widget-design-CEEWgUk_.js +4 -0
  54. package/dist/{print-runtime-instance-MA7UVZdA.js → print-runtime-instance-7aZCZWS4.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BavXucNu.js → print-snapshot-renderer-DPFZBXE2.js} +3 -3
  56. package/dist/{qrcode-design-BC1PBKf_.js → qrcode-design-SOVTkKjY.js} +1 -1
  57. package/dist/{revo-grid.entry-DjiOpHRm.js → revo-grid.entry-EvEm_y2W.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CDnB9lLs.js → revogr-attribution_7.entry-DgE6PR1L.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-C6O9JrN7.js → revogr-clipboard_3.entry-CNDxeVhF.js} +2 -2
  60. package/dist/{revogr-data_4.entry-y1feqF9h.js → revogr-data_4.entry-DKwV9DMF.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-By9rD4Y9.js → revogr-filter-panel.entry-1SAhHHfl.js} +1 -1
  62. package/dist/seal-design-DukOrO2g.js +4 -0
  63. package/dist/{serialnumber-design-Bb75HRGq.js → serialnumber-design-Cs3B0ZNE.js} +1 -1
  64. package/dist/shared/index.es.js +6 -6
  65. package/dist/{single-field-drop-BlAQcTBT.js → single-field-drop-C-i51iU4.js} +2 -2
  66. package/dist/{size-editor-BWnv8oH4.js → size-editor-B2TfX4_r.js} +1 -1
  67. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
  68. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
  69. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
  70. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
  71. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
  72. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
  73. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
  74. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
  75. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
  76. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
  77. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  78. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
  79. package/dist/src/shared/components/Signature/logic/index.d.ts +1 -1
  80. package/dist/{sub-table-factory-CGELiUkd.js → sub-table-factory-CNkIUJTC.js} +20 -7
  81. package/dist/{text-design-CiWiGhwN.js → text-design-B-VmJzZy.js} +2 -2
  82. package/dist/{throttle-Cpk1LoGk-B466AVFI.js → throttle-Cpk1LoGk-Ch-cqj2G.js} +1 -1
  83. package/dist/{timediff-design-CnCXGLgF.js → timediff-design-DASqeRcJ.js} +1 -1
  84. package/dist/{trace-like-wrapper-CPFayyjF.js → trace-like-wrapper-Cj-nluW3.js} +2 -2
  85. 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
  86. package/dist/web-render/index.es.js +3 -3
  87. package/dist/{widget-barcode-DMt5IwNO.js → widget-barcode-BOseDEJ_.js} +4 -4
  88. package/dist/{widget-diagonal-D073XXKw.js → widget-diagonal-CzWRf_zr.js} +3 -3
  89. package/dist/{widget-image-Bc-6H2uA.js → widget-image-CNtyaz7J.js} +5 -5
  90. package/dist/{widget-line-BtfMvVGp.js → widget-line-CrOS0l_-.js} +2 -2
  91. package/dist/{widget-pagination-CIlAAI2a.js → widget-pagination-wCWG30o6.js} +5 -5
  92. package/dist/{widget-power-Bu16c4bS.js → widget-power-ayN9em_Q.js} +3 -3
  93. package/dist/{widget-qrcode-AfILjhmH.js → widget-qrcode-CZatrCp4.js} +3 -3
  94. package/dist/{widget-rangelimit-B-mhBJN4.js → widget-rangelimit-CzboyNIZ.js} +3 -3
  95. package/dist/{widget-serialnumber-DVoe5bqh.js → widget-serialnumber-CHCW116y.js} +1 -1
  96. package/dist/{widget-text-DWNEbQUk.js → widget-text-rVl_vy60.js} +5 -5
  97. package/dist/{widget-timediff-B2mjc1qy.js → widget-timediff-BhTa83S9.js} +2 -2
  98. package/package.json +1 -1
  99. package/dist/paper-widget-design-BbQeY4Hv.js +0 -4
  100. package/dist/seal-design-CN_B6div.js +0 -4
@@ -1,6 +1,6 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-Cm8HO12b.js";
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-CYRNF_U3.js";
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-CYRNF_U3.js";
3
- import { r as require$$0 } from "./index-DTSHn9ii.js";
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-CYRNF_U3.js";
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-B3S5QpVz.js";
4
- import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
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" };
@@ -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-CYRNF_U3.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, O, p, P, aa, o, Q, A, bW, bX, ax, aw, a6, a2, a4, a5, a7, f, bY, am, aq, ak, bZ, b_, b$, c0, bg, c1, c2, c3, c4, c5, c6, c7, c8, bl, c9, ca, aZ, cb, b0, b1, cc, cd, ce, cf, cg, ch, ci, cj, ck, aY, cl, b2, be, cm, cn, co, ao, t, aS, cp, cq, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
3
- import { L as getRuntimeDataFieldId, x as parseRuntimeFieldPath, O as buildRuntimeFieldPath, P as resolveRuntimeFieldProps, Q as resolveRuntimeFieldState, T as getRuntimeDependencyOutputKey, U as isRowAddedInCurrentFormChange, l as MaterialConsumptionPatternEnum, V as MaterialConsumeTableController, W as setFormulaParamsConfig, X as normalizeRuntime, F as createRuntimeInstanceContext, R as RuntimeFormStateStore, Y as RuntimeSheetService, g as getBusinessFieldKey, Z as validateObjectBomQtyOnSubmit, $ as closeValidatorPopovers, a0 as enrichFormChangeRowDetails, N as NCB_PROVIDE, G as RuntimeInstanceRegistry, a1 as useMaterialBalance, a2 as collectFormChangeFieldLocations, a3 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Cm8HO12b.js";
4
- import { B as B2, a4 as a42, b, _, a5 as a52, J, a6 as a62, K, E, a7 as a72, a8, a9, aa as aa2, ab, ac, M, ad, ae, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, q, al as al2, k, am as am2, c, an as an2, ao as ao2, ap, aq as aq2, j, t as t2, ar, as, at, au, d, w, a, av, aw as aw2, ax as ax2, ay as ay2, az as az2, aA, m, r, aB, o as o2, h, aC, s, aD, z, A as A2, u, p as p2, C, f as f2, i, y as y2, e, v } from "../dynamic-table-action-Cm8HO12b.js";
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-CGELiUkd.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-CGELiUkd.js";
10
- import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BZXw-tG7.js";
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((error) => console.error("业务字段初始化失败", error)).finally(() => this.tasks.delete("initialize:structure"));
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.all(pending);
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.patch(idsFormState, "restore");
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) === record) console.error("表单模式准备失败", error);
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
- a42 as DeviceConnector,
3098
+ a62 as DeviceConnector,
3084
3099
  aM as DeviceLink,
3085
- b as DeviceLinkTmplUtil,
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
- a52 as DocumentLoading,
3093
- J as DocumentPaper,
3094
- a62 as DynamicQuickFillModal,
3095
- K as DynamicTableAction,
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
- a72 as FixedQuickFillModal,
3118
+ a9 as FixedQuickFillModal,
3104
3119
  FormAnnotationController,
3105
- F as FormModelController,
3120
+ F2 as FormModelController,
3106
3121
  FormTmplBomController,
3107
- a8 as FormTmplConfigController,
3122
+ aa2 as FormTmplConfigController,
3108
3123
  FormTypeEnum,
3109
3124
  az as ImageDisplayModeEnum,
3110
3125
  InstanceStatusValues,
3111
3126
  aR as JoinModelTypeEum,
3112
- a9 as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3113
- aa2 as LEGACY_RUNTIME_SHEET_ID,
3114
- ab as LEGACY_RUNTIME_SHEET_TITLE,
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
- ac as MCDataUtil,
3137
+ ae as MCDataUtil,
3120
3138
  a11 as MCRender,
3121
- M as MULTI_SHEET_SCHEMA_VERSION,
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
- bU as MobileFillTypeEnum,
3145
+ bV as MobileFillTypeEnum,
3128
3146
  NCB_PROVIDE,
3129
- ad as OCR_MODEL_PRECISION_ENUM_KEY,
3130
- bV as OfficeTypeEnum,
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
- bW as PosEnum,
3158
+ bX as PosEnum,
3141
3159
  b3 as PretreatmentListTableCore,
3142
3160
  c10 as ProfileDrivenSubTableCore,
3143
- bX as RUNTIME_COLUMN_ROW_KEY,
3161
+ bY as RUNTIME_COLUMN_ROW_KEY,
3144
3162
  ax as RangeCompareOp,
3145
3163
  aw as RangeValidateMode,
3146
3164
  RenderModeEnum,
3147
- ae as RuntimeAsyncTaskCoordinator,
3148
- af as RuntimeDependencyService,
3149
- ag as RuntimeFieldRegistry,
3165
+ ag as RuntimeAsyncTaskCoordinator,
3166
+ ah2 as RuntimeDependencyService,
3167
+ ai2 as RuntimeFieldRegistry,
3150
3168
  RuntimeFormStateStore,
3151
3169
  RuntimeInstanceController,
3152
- ah2 as RuntimeInstanceEventBus,
3170
+ aj2 as RuntimeInstanceEventBus,
3153
3171
  RuntimeInstanceRegistry,
3154
- ai2 as RuntimePersistenceCoordinator,
3172
+ ak2 as RuntimePersistenceCoordinator,
3155
3173
  RuntimeRuleCompiler,
3156
3174
  RuntimeSheetService,
3157
- aj2 as RuntimeValidationService,
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
- ak2 as SubTableCore,
3183
+ am2 as SubTableCore,
3166
3184
  SubTableCoreFactory,
3167
3185
  f as SubTableType,
3168
- bY as SummaryApproveHisTypeEnum,
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
- bZ as applyCheckDsDataToRuntime,
3177
- q as applyConsumeObjectTraceChange,
3178
- b_ as applyMedProCheckDsDataToRuntime,
3194
+ b_ as applyCheckDsDataToRuntime,
3195
+ w as applyConsumeObjectTraceChange,
3196
+ b$ as applyMedProCheckDsDataToRuntime,
3179
3197
  baseDataUtils,
3180
- b$ as bindRuntimeTableColumns,
3181
- c0 as buildDeviceBaseQuery,
3198
+ c0 as bindRuntimeTableColumns,
3199
+ c1 as buildDeviceBaseQuery,
3182
3200
  bg as buildDeviceFilterQuery,
3183
- al2 as buildFormChangeDisplayRows,
3184
- k as buildObjectLotExtraQuery,
3201
+ an2 as buildFormChangeDisplayRows,
3202
+ m as buildObjectLotExtraQuery,
3185
3203
  buildRuntimeFieldPath,
3186
- c1 as calcFillData,
3187
- c2 as calcUtils,
3204
+ c2 as calcFillData,
3205
+ c3 as calcUtils,
3188
3206
  calculateFormula,
3189
3207
  collectAnnotationItemsByLocation,
3190
3208
  collectFormChangeFieldLocations,
3191
3209
  commonUtils,
3192
3210
  convertHistoricalAnnotationLocation,
3193
- am2 as convertV1Runtime,
3211
+ ao2 as convertV1Runtime,
3194
3212
  c as createRuntimeDocumentV2,
3195
3213
  createRuntimeInstanceContext,
3196
- an2 as detailsHaveFormChangeRowOps,
3214
+ c4 as decodeTableCellRowKey,
3215
+ ap as detailsHaveFormChangeRowOps,
3216
+ c5 as encodeTableCellRowKey,
3197
3217
  enrichFormChangeRowDetails,
3198
- c3 as ensureFrontRowKey,
3199
- c4 as ensureTableRowKeys,
3200
- ao2 as extractFormChangeRowDetails,
3201
- c5 as extractKeywordFromQueryData,
3202
- c6 as fetchCheckDsDataForTable,
3203
- c7 as fetchCustomCheckDsData,
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
- c8 as fetchMedProCheckDsData,
3225
+ cb as fetchMedProCheckDsData,
3206
3226
  fetchOperationReceiveQty,
3207
3227
  fetchUdi,
3208
3228
  filterAnnotationItemsUpToCurrent,
3209
3229
  bl as findRuntimeParentRow,
3210
- c9 as findRuntimeTableCell,
3230
+ cc as findRuntimeTableCell,
3211
3231
  findRuntimeTableRow,
3212
3232
  getAppInfo,
3213
3233
  getBusinessFieldKey,
3214
- ca as getCheckTableSnapshotKey,
3215
- ap as getFormChangeRowKey,
3216
- aq2 as getFormChangeRowOp,
3234
+ cd as getCheckTableSnapshotKey,
3235
+ ar as getFormChangeRowKey,
3236
+ as as getFormChangeRowOp,
3217
3237
  aZ as getLotLockedReason,
3218
- j as getObjectBomMaterialLotQuery,
3219
- t2 as getObjectBomProductQuery,
3238
+ l as getObjectBomMaterialLotQuery,
3239
+ x as getObjectBomProductQuery,
3220
3240
  getParseFormulaVarInfos,
3221
- cb as getParseRuleConfig,
3241
+ ce as getParseRuleConfig,
3222
3242
  b0 as getParseRuleInfo,
3223
3243
  b1 as getParseRuleValue,
3224
- cc as getReinspectionDate,
3225
- cd as getRenderedRuntimeTableCell,
3244
+ cf as getReinspectionDate,
3245
+ cg as getRenderedRuntimeTableCell,
3226
3246
  getRuntimeDataFieldId,
3227
3247
  getRuntimeDependencyOutputKey,
3228
- ar as getSubTableQuickFillInfo,
3248
+ at as getSubTableQuickFillInfo,
3229
3249
  getSuiteKey,
3230
- ce as handleOldConfig,
3231
- cf as hasAnyCheckTableSnapshot,
3232
- cg as hasByTableCheckTableSnapshot,
3233
- ch as hasSharedCheckTableSnapshot,
3234
- as as isAnnLocationSelected,
3235
- at as isBlank,
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
- au as isFormChangeGhostRow,
3240
- ci as isMedProSuite,
3259
+ aw2 as isFormChangeGhostRow,
3260
+ cl as isMedProSuite,
3241
3261
  isRowAddedInCurrentFormChange,
3242
- cj as jsonSchemaUtils,
3243
- ck as judgeUnique,
3262
+ cm as isTableRowKeyMatch,
3263
+ cn as jsonSchemaUtils,
3264
+ co as judgeUnique,
3244
3265
  aY as materialCheck,
3245
- cl as migrateDiagonalDirectionToVertex,
3266
+ cp as migrateDiagonalDirectionToVertex,
3246
3267
  nextFormChangeRowViewHistoryId,
3247
- d as normalizeAIOcrTmpl,
3248
- w as normalizeHistoricalAutofillRow,
3249
- a as normalizeHistoricalBusinessRow,
3250
- av as normalizeHistoricalFieldConfig,
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
- aw2 as pickObjectFieldKeys,
3257
- ax2 as recordSubtableRowAdd,
3258
- ay2 as recordSubtableRowDelete,
3277
+ ay2 as pickObjectFieldKeys,
3278
+ az2 as recordSubtableRowAdd,
3279
+ aA as recordSubtableRowDelete,
3259
3280
  be as refUtils,
3260
- cm as relocateDeletedRowsToEnd,
3281
+ cq as relocateDeletedRowsToEnd,
3261
3282
  renderUtils,
3262
- cn as requestMedProCheckDsData,
3263
- co as requestNonMedProCheckDsData,
3264
- az2 as resolveAnnotationFieldLocation,
3283
+ cr as requestMedProCheckDsData,
3284
+ cs as requestNonMedProCheckDsData,
3285
+ aB as resolveAnnotationFieldLocation,
3265
3286
  ao as resolveDiagonalVertex,
3266
3287
  t as resolveFieldRenderComponent,
3267
- aA as resolveFormChangeRowUi,
3268
- m as resolveObjectBomEntry,
3288
+ aC as resolveFormChangeRowUi,
3289
+ p2 as resolveObjectBomEntry,
3269
3290
  r as resolveObjectFieldKeys,
3270
- aB as resolveRowFormChangeMark,
3291
+ aD as resolveRowFormChangeMark,
3271
3292
  resolveUdiQuery,
3272
- o2 as runWithFillProduct,
3273
- h as setSelectAnnotationId,
3274
- aC as setSelectMobileTdId,
3293
+ q as runWithFillProduct,
3294
+ j as setSelectAnnotationId,
3295
+ aE as setSelectMobileTdId,
3275
3296
  s as setSelectValidatorId,
3276
3297
  aS as sqlUtils,
3277
- cp as stockCheck,
3278
- aD as stripLegacyFormConfigFromPaper,
3298
+ ct as stockCheck,
3299
+ aF as stripLegacyFormConfigFromPaper,
3279
3300
  transformUtils,
3280
- z as useDependency,
3301
+ C as useDependency,
3281
3302
  useEbrWikiFactoryV2,
3282
- A2 as useFieldPresentation,
3303
+ F as useFieldPresentation,
3283
3304
  u2 as useFormModel,
3284
3305
  u as useFormTmplConfig,
3285
3306
  useMaterialBalance,
3286
3307
  useNocodeEmitter,
3287
- p2 as useNocodeFormWidget,
3288
- cq as useOnlineFormActionButton,
3308
+ t2 as useNocodeFormWidget,
3309
+ cu as useOnlineFormActionButton,
3289
3310
  bm as useOnlineFormTransformField2Component,
3290
3311
  useRenderPageFactory,
3291
- C as useRuntimeEditorFlusher,
3292
- f2 as useRuntimeInstanceServices,
3293
- i as useRuntimeRowState,
3294
- y2 as useStyles,
3295
- e as useWidgetStaticAttrs,
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-B3S5QpVz.js";
3
- import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
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";