@gct-paas/excel 0.1.39-beta.1 → 0.1.39-beta.2

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 (91) hide show
  1. package/dist/{BaseComponent-wXAepA6P.js → BaseComponent-vgYIyddq.js} +2 -2
  2. package/dist/{VueVideoPlayer-C--qHZWs.js → VueVideoPlayer-Ca2aYCnh.js} +2 -2
  3. package/dist/{align-editor-BMFoEgQf.js → align-editor-Bpdx7EAg.js} +1 -1
  4. package/dist/{barcode-design-M3FjUJNm.js → barcode-design-l88FtSJH.js} +2 -2
  5. package/dist/base/index.es.js +47 -43
  6. package/dist/{diagonal-design-C2lATeRX.js → diagonal-design-BrC_JEX_.js} +2 -2
  7. package/dist/{dynamic-table-action-Cm8HO12b.js → dynamic-table-action--l3y-33T.js} +37 -3
  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-D-u5mq0C.js} +280 -211
  9. package/dist/{edit.utils-CXmmCnxE-CaZuzVd6.js → edit.utils-CXmmCnxE-CLHOa5aM.js} +1 -1
  10. package/dist/excel.css +41 -41
  11. package/dist/{exceljs.min-CeIQpaOT.js → exceljs.min-DC03-hj2.js} +2 -2
  12. package/dist/{font-editor-CPn2F_OZ.js → font-editor-Cdbnw5gf.js} +3 -3
  13. package/dist/{image-design-DWjjBFQa.js → image-design-B2Ujtrgf.js} +2 -2
  14. package/dist/{index-ClVsGQoQ.js → index-1RcD_jJ_.js} +1 -1
  15. package/dist/{index-BcpTVyHa.js → index-2FOQLZQX.js} +2 -2
  16. package/dist/{index-BZcapeWR.js → index-BHrga-sR.js} +2 -2
  17. package/dist/{index-yfTjcRJ8.js → index-BObb1Ah_.js} +2 -2
  18. package/dist/{index-BatfBVeN.js → index-BOw6pLMO.js} +4 -4
  19. package/dist/{index-ChRhjdl_.js → index-BP9XsPy_.js} +1 -1
  20. package/dist/{index-B3S5QpVz.js → index-BTt4zC25.js} +49 -49
  21. package/dist/{index-gra19syg.js → index-BfvMXo6W.js} +2 -2
  22. package/dist/{index-CED1SWU9.js → index-BmkcFEIb.js} +2 -2
  23. package/dist/{index-DqQ2ZxDn.js → index-BqWM4biL.js} +2 -2
  24. package/dist/{index-BEQELF4E.js → index-Bt1-V2lW.js} +3 -3
  25. package/dist/{index-pxBPpLrG.js → index-BwPjN5_z.js} +2 -2
  26. package/dist/{index-CIiCyyBv.js → index-C2NlobVm.js} +1 -1
  27. package/dist/{index-C__Qm3ub.js → index-CCJHoK5a.js} +2 -2
  28. package/dist/{index-DC8dEMj4.js → index-CFr4e8Xs.js} +1 -1
  29. package/dist/{index-CcBF1mOx.js → index-CbXb5NUR.js} +2 -2
  30. package/dist/{index-Cg0trWkY.js → index-CdmpbReR.js} +2 -2
  31. package/dist/{index-CNlb3Y3A.js → index-CinlHNlv.js} +1 -1
  32. package/dist/{index-B72KgWBu.js → index-CosS1BAQ.js} +1 -1
  33. package/dist/{index-DtS3ze0S.js → index-Cy3W1BCw.js} +3 -3
  34. package/dist/{index-C3GHvYcj.js → index-CyRyKW5Z.js} +2 -2
  35. package/dist/{index-mA7F37nK.js → index-DAOq48BR.js} +2 -2
  36. package/dist/{index-DdVlAV0_.js → index-DHi56KLO.js} +1 -1
  37. package/dist/{index-BuNKNsIb.js → index-DLURy62t.js} +2 -2
  38. package/dist/{index-CpN3c_Lk.js → index-Dfx_FNTM.js} +2 -2
  39. package/dist/{index-OIXBBHHu.js → index-DoKgmcyb.js} +2 -2
  40. package/dist/{index-CRGOLDI8.js → index-ElmEtsp1.js} +1 -1
  41. package/dist/{index-DTSHn9ii.js → index-Ls2829xQ.js} +2 -2
  42. package/dist/{index-DxCN78vg.js → index-NJMyznIn.js} +3 -3
  43. package/dist/{index-DSSJ8S81.js → index-OtzvrfOW.js} +2 -2
  44. package/dist/{index-BrZiEGAB.js → index-VbeM2qtu.js} +2 -2
  45. package/dist/{index-DHPRpllA.js → index-d-BkSigM.js} +1 -1
  46. package/dist/{index-DhkQma-u.js → index-isNDc9Eg.js} +3 -3
  47. package/dist/{index-B3oqnny_.js → index-q6aP_omk.js} +1 -1
  48. package/dist/{index-CWmsgguT.js → index-qIYTDaGB.js} +3 -3
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BZXw-tG7.js → mb-render-BcBofCau.js} +1 -1
  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-D8-YBa_f.js} +1 -1
  52. package/dist/{pagination-design-CCRMgYhc.js → pagination-design-C6BIV4Ko.js} +2 -2
  53. package/dist/paper-widget-design-DujWhnh6.js +4 -0
  54. package/dist/{print-runtime-instance-MA7UVZdA.js → print-runtime-instance-BuO2RPZB.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BavXucNu.js → print-snapshot-renderer-CJiTu8_l.js} +3 -3
  56. package/dist/{qrcode-design-BC1PBKf_.js → qrcode-design-DCAMHxR6.js} +1 -1
  57. package/dist/{revo-grid.entry-DjiOpHRm.js → revo-grid.entry-s6oHfg7z.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CDnB9lLs.js → revogr-attribution_7.entry-CBEbTBbC.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-C6O9JrN7.js → revogr-clipboard_3.entry-DtE8OXYS.js} +2 -2
  60. package/dist/{revogr-data_4.entry-y1feqF9h.js → revogr-data_4.entry-seTKTkAE.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-By9rD4Y9.js → revogr-filter-panel.entry-DSQR-lUK.js} +1 -1
  62. package/dist/seal-design--ciGkbUu.js +4 -0
  63. package/dist/{serialnumber-design-Bb75HRGq.js → serialnumber-design-B3WHGrfc.js} +1 -1
  64. package/dist/shared/index.es.js +6 -6
  65. package/dist/{single-field-drop-BlAQcTBT.js → single-field-drop-DFjo8ISo.js} +2 -2
  66. package/dist/{size-editor-BWnv8oH4.js → size-editor-DKJpM9UW.js} +1 -1
  67. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -0
  68. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +11 -2
  69. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
  70. package/dist/src/shared/components/Signature/logic/index.d.ts +1 -1
  71. package/dist/{sub-table-factory-CGELiUkd.js → sub-table-factory-5l0MTqvt.js} +2 -2
  72. package/dist/{text-design-CiWiGhwN.js → text-design-B69j6Z_b.js} +2 -2
  73. package/dist/{throttle-Cpk1LoGk-B466AVFI.js → throttle-Cpk1LoGk-DfnQ57mt.js} +1 -1
  74. package/dist/{timediff-design-CnCXGLgF.js → timediff-design-BUqlRNkO.js} +1 -1
  75. package/dist/{trace-like-wrapper-CPFayyjF.js → trace-like-wrapper-D5VFdJ3W.js} +2 -2
  76. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DyTtWYrg.js → value-editor.vue_vue_type_style_index_0_lang-CEuFEVMv.js} +2 -2
  77. package/dist/web-render/index.es.js +3 -3
  78. package/dist/{widget-barcode-DMt5IwNO.js → widget-barcode-Bt55wEEk.js} +4 -4
  79. package/dist/{widget-diagonal-D073XXKw.js → widget-diagonal-BSkoDXjJ.js} +3 -3
  80. package/dist/{widget-image-Bc-6H2uA.js → widget-image-BxycuGZB.js} +5 -5
  81. package/dist/{widget-line-BtfMvVGp.js → widget-line-DZ9sK1Zj.js} +2 -2
  82. package/dist/{widget-pagination-CIlAAI2a.js → widget-pagination-WerXXmx2.js} +5 -5
  83. package/dist/{widget-power-Bu16c4bS.js → widget-power-Bln2T1C-.js} +3 -3
  84. package/dist/{widget-qrcode-AfILjhmH.js → widget-qrcode-BQWQXzru.js} +3 -3
  85. package/dist/{widget-rangelimit-B-mhBJN4.js → widget-rangelimit-E8yqsqv3.js} +3 -3
  86. package/dist/{widget-serialnumber-DVoe5bqh.js → widget-serialnumber-Css27nM1.js} +1 -1
  87. package/dist/{widget-text-DWNEbQUk.js → widget-text-CD6_nGlp.js} +5 -5
  88. package/dist/{widget-timediff-B2mjc1qy.js → widget-timediff-DQPeQkkV.js} +2 -2
  89. package/package.json +1 -1
  90. package/dist/paper-widget-design-BbQeY4Hv.js +0 -4
  91. 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--l3y-33T.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-D-u5mq0C.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-D-u5mq0C.js";
3
+ import { r as require$$0 } from "./index-Ls2829xQ.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-D-u5mq0C.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-BTt4zC25.js";
4
+ import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.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-D-u5mq0C.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-D-u5mq0C.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--l3y-33T.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--l3y-33T.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-5l0MTqvt.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-5l0MTqvt.js";
10
+ import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BcBofCau.js";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
13
13
  ABANDON: "ABANDON",
@@ -1842,7 +1842,7 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
1842
1842
  if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
1843
1843
  return false;
1844
1844
  }
1845
- runtimeRecord.formState.patch(idsFormState, "restore");
1845
+ runtimeRecord.formState.patchSavedMetadata(idsFormState);
1846
1846
  if (!runtimeRecord.formState.dirty) payload.onFormStateReady?.(runtimeRecord.formState);
1847
1847
  return true;
1848
1848
  };
@@ -3115,6 +3115,7 @@ export {
3115
3115
  a0 as LabelPosition,
3116
3116
  al as LineDirection,
3117
3117
  L as LineType,
3118
+ bU as MAX_FRONT_ROW_KEY_LENGTH,
3118
3119
  M3 as MBRender,
3119
3120
  ac as MCDataUtil,
3120
3121
  a11 as MCRender,
@@ -3124,10 +3125,10 @@ export {
3124
3125
  M2 as MaterialRequisitionTableCore,
3125
3126
  MaterialStatusEnum,
3126
3127
  a10 as MaterialSubstitutionTableCore,
3127
- bU as MobileFillTypeEnum,
3128
+ bV as MobileFillTypeEnum,
3128
3129
  NCB_PROVIDE,
3129
3130
  ad as OCR_MODEL_PRECISION_ENUM_KEY,
3130
- bV as OfficeTypeEnum,
3131
+ bW as OfficeTypeEnum,
3131
3132
  O as Orientation,
3132
3133
  p as PageSizeEnum,
3133
3134
  P as PaginationFormat,
@@ -3137,10 +3138,10 @@ export {
3137
3138
  A as ParamModelTypeEnum,
3138
3139
  P2 as PartStocktakeTableCore,
3139
3140
  PlatformEnum,
3140
- bW as PosEnum,
3141
+ bX as PosEnum,
3141
3142
  b3 as PretreatmentListTableCore,
3142
3143
  c10 as ProfileDrivenSubTableCore,
3143
- bX as RUNTIME_COLUMN_ROW_KEY,
3144
+ bY as RUNTIME_COLUMN_ROW_KEY,
3144
3145
  ax as RangeCompareOp,
3145
3146
  aw as RangeValidateMode,
3146
3147
  RenderModeEnum,
@@ -3165,7 +3166,7 @@ export {
3165
3166
  ak2 as SubTableCore,
3166
3167
  SubTableCoreFactory,
3167
3168
  f as SubTableType,
3168
- bY as SummaryApproveHisTypeEnum,
3169
+ bZ as SummaryApproveHisTypeEnum,
3169
3170
  am as TimeDiffFormat,
3170
3171
  aq as ViewTypeEnum,
3171
3172
  W as WarehouseInTableCore,
@@ -3173,18 +3174,18 @@ export {
3173
3174
  g as WarehouseOutTableCore,
3174
3175
  h2 as WarehouseOutboundTableCore,
3175
3176
  ak as WidgetImageSizeMode,
3176
- bZ as applyCheckDsDataToRuntime,
3177
+ b_ as applyCheckDsDataToRuntime,
3177
3178
  q as applyConsumeObjectTraceChange,
3178
- b_ as applyMedProCheckDsDataToRuntime,
3179
+ b$ as applyMedProCheckDsDataToRuntime,
3179
3180
  baseDataUtils,
3180
- b$ as bindRuntimeTableColumns,
3181
- c0 as buildDeviceBaseQuery,
3181
+ c0 as bindRuntimeTableColumns,
3182
+ c1 as buildDeviceBaseQuery,
3182
3183
  bg as buildDeviceFilterQuery,
3183
3184
  al2 as buildFormChangeDisplayRows,
3184
3185
  k as buildObjectLotExtraQuery,
3185
3186
  buildRuntimeFieldPath,
3186
- c1 as calcFillData,
3187
- c2 as calcUtils,
3187
+ c2 as calcFillData,
3188
+ c3 as calcUtils,
3188
3189
  calculateFormula,
3189
3190
  collectAnnotationItemsByLocation,
3190
3191
  collectFormChangeFieldLocations,
@@ -3193,56 +3194,59 @@ export {
3193
3194
  am2 as convertV1Runtime,
3194
3195
  c as createRuntimeDocumentV2,
3195
3196
  createRuntimeInstanceContext,
3197
+ c4 as decodeTableCellRowKey,
3196
3198
  an2 as detailsHaveFormChangeRowOps,
3199
+ c5 as encodeTableCellRowKey,
3197
3200
  enrichFormChangeRowDetails,
3198
- c3 as ensureFrontRowKey,
3199
- c4 as ensureTableRowKeys,
3201
+ c6 as ensureFrontRowKey,
3202
+ c7 as ensureTableRowKeys,
3200
3203
  ao2 as extractFormChangeRowDetails,
3201
- c5 as extractKeywordFromQueryData,
3202
- c6 as fetchCheckDsDataForTable,
3203
- c7 as fetchCustomCheckDsData,
3204
+ c8 as extractKeywordFromQueryData,
3205
+ c9 as fetchCheckDsDataForTable,
3206
+ ca as fetchCustomCheckDsData,
3204
3207
  fetchHistoryConsume,
3205
- c8 as fetchMedProCheckDsData,
3208
+ cb as fetchMedProCheckDsData,
3206
3209
  fetchOperationReceiveQty,
3207
3210
  fetchUdi,
3208
3211
  filterAnnotationItemsUpToCurrent,
3209
3212
  bl as findRuntimeParentRow,
3210
- c9 as findRuntimeTableCell,
3213
+ cc as findRuntimeTableCell,
3211
3214
  findRuntimeTableRow,
3212
3215
  getAppInfo,
3213
3216
  getBusinessFieldKey,
3214
- ca as getCheckTableSnapshotKey,
3217
+ cd as getCheckTableSnapshotKey,
3215
3218
  ap as getFormChangeRowKey,
3216
3219
  aq2 as getFormChangeRowOp,
3217
3220
  aZ as getLotLockedReason,
3218
3221
  j as getObjectBomMaterialLotQuery,
3219
3222
  t2 as getObjectBomProductQuery,
3220
3223
  getParseFormulaVarInfos,
3221
- cb as getParseRuleConfig,
3224
+ ce as getParseRuleConfig,
3222
3225
  b0 as getParseRuleInfo,
3223
3226
  b1 as getParseRuleValue,
3224
- cc as getReinspectionDate,
3225
- cd as getRenderedRuntimeTableCell,
3227
+ cf as getReinspectionDate,
3228
+ cg as getRenderedRuntimeTableCell,
3226
3229
  getRuntimeDataFieldId,
3227
3230
  getRuntimeDependencyOutputKey,
3228
3231
  ar as getSubTableQuickFillInfo,
3229
3232
  getSuiteKey,
3230
- ce as handleOldConfig,
3231
- cf as hasAnyCheckTableSnapshot,
3232
- cg as hasByTableCheckTableSnapshot,
3233
- ch as hasSharedCheckTableSnapshot,
3233
+ ch as handleOldConfig,
3234
+ ci as hasAnyCheckTableSnapshot,
3235
+ cj as hasByTableCheckTableSnapshot,
3236
+ ck as hasSharedCheckTableSnapshot,
3234
3237
  as as isAnnLocationSelected,
3235
3238
  at as isBlank,
3236
3239
  isBomGranted,
3237
3240
  isEdhrSuite,
3238
3241
  isEqmSuite,
3239
3242
  au as isFormChangeGhostRow,
3240
- ci as isMedProSuite,
3243
+ cl as isMedProSuite,
3241
3244
  isRowAddedInCurrentFormChange,
3242
- cj as jsonSchemaUtils,
3243
- ck as judgeUnique,
3245
+ cm as isTableRowKeyMatch,
3246
+ cn as jsonSchemaUtils,
3247
+ co as judgeUnique,
3244
3248
  aY as materialCheck,
3245
- cl as migrateDiagonalDirectionToVertex,
3249
+ cp as migrateDiagonalDirectionToVertex,
3246
3250
  nextFormChangeRowViewHistoryId,
3247
3251
  d as normalizeAIOcrTmpl,
3248
3252
  w as normalizeHistoricalAutofillRow,
@@ -3257,10 +3261,10 @@ export {
3257
3261
  ax2 as recordSubtableRowAdd,
3258
3262
  ay2 as recordSubtableRowDelete,
3259
3263
  be as refUtils,
3260
- cm as relocateDeletedRowsToEnd,
3264
+ cq as relocateDeletedRowsToEnd,
3261
3265
  renderUtils,
3262
- cn as requestMedProCheckDsData,
3263
- co as requestNonMedProCheckDsData,
3266
+ cr as requestMedProCheckDsData,
3267
+ cs as requestNonMedProCheckDsData,
3264
3268
  az2 as resolveAnnotationFieldLocation,
3265
3269
  ao as resolveDiagonalVertex,
3266
3270
  t as resolveFieldRenderComponent,
@@ -3274,7 +3278,7 @@ export {
3274
3278
  aC as setSelectMobileTdId,
3275
3279
  s as setSelectValidatorId,
3276
3280
  aS as sqlUtils,
3277
- cp as stockCheck,
3281
+ ct as stockCheck,
3278
3282
  aD as stripLegacyFormConfigFromPaper,
3279
3283
  transformUtils,
3280
3284
  z as useDependency,
@@ -3285,7 +3289,7 @@ export {
3285
3289
  useMaterialBalance,
3286
3290
  useNocodeEmitter,
3287
3291
  p2 as useNocodeFormWidget,
3288
- cq as useOnlineFormActionButton,
3292
+ cu as useOnlineFormActionButton,
3289
3293
  bm as useOnlineFormTransformField2Component,
3290
3294
  useRenderPageFactory,
3291
3295
  C as useRuntimeEditorFlusher,
@@ -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-BTt4zC25.js";
3
+ import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,10 +1,10 @@
1
1
  import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, nextTick, toRef, provide, defineComponent, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, Fragment, renderList, onUnmounted, isVNode, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, createTextVNode } from "vue";
2
- import { ai as CellWidgetViewState, F as FIELD_TYPE, b8 as RenderModeEnum, Y as FormTypeEnum, bE as BpmnNodeTypeEnum, cr as getFieldPlaceholder, bU as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cs as isReferenceOptionActive, E as api, bu as uuid2, c2 as calcUtils, bj as findRuntimeTableRow, c4 as ensureTableRowKeys, b$ as bindRuntimeTableColumns, bi as getRowId, ct as FRONT_ROW_KEY, bw as isAttachFieldActive, cu as filterRulesByTrigger, cv as isEmptyValue$1, c3 as ensureFrontRowKey, b0 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bn as FormulaRuleFieldKeyEnum, f as SubTableType, b1 as getParseRuleValue, cw as buildError, H as CreateType, bl as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bJ as commonUtils, aM as DeviceLink, a8 as _export_sfc, cd as getRenderedRuntimeTableCell, y as CellType, cm as relocateDeletedRowsToEnd, cx as resetTableRowIdentity, J as useModal, cy as q, cz as QUICK_FILL_ALLOWED_FIELDS, cA as groupFixedTableRows, cB as processQuickFillRows, cC as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js";
2
+ import { ai as CellWidgetViewState, F as FIELD_TYPE, b8 as RenderModeEnum, Y as FormTypeEnum, bE as BpmnNodeTypeEnum, cv as getFieldPlaceholder, bV as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cw as isReferenceOptionActive, E as api, bu as uuid2, c3 as calcUtils, bj as findRuntimeTableRow, c7 as ensureTableRowKeys, c0 as bindRuntimeTableColumns, bi as getRowId, cx as FRONT_ROW_KEY, cm as isTableRowKeyMatch, bw as isAttachFieldActive, cy as filterRulesByTrigger, cz as isEmptyValue$1, c4 as decodeTableCellRowKey, c6 as ensureFrontRowKey, b0 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bn as FormulaRuleFieldKeyEnum, f as SubTableType, b1 as getParseRuleValue, cA as buildError, H as CreateType, bl as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bJ as commonUtils, aM as DeviceLink, a8 as _export_sfc, cg as getRenderedRuntimeTableCell, y as CellType, cq as relocateDeletedRowsToEnd, cB as resetTableRowIdentity, J as useModal, cC as q, cD as QUICK_FILL_ALLOWED_FIELDS, cE as groupFixedTableRows, cF as processQuickFillRows, cG as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
3
3
  import { cloneDeep, isEmpty, has, pickBy, isNil, mergeWith, omit, last, pick, merge } from "lodash-es";
4
4
  import dayjs from "dayjs";
5
5
  import { a as useNamespace, I as Icon } from "./AntdIcon-DCIaV352.js";
6
6
  import { Modal, message } from "ant-design-vue";
7
- import { u as useFormModel } from "./mb-render-BZXw-tG7.js";
7
+ import { u as useFormModel } from "./mb-render-BcBofCau.js";
8
8
  var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
9
9
  MaterialConsumptionPatternEnum2["RECORD"] = "record";
10
10
  MaterialConsumptionPatternEnum2["BOM"] = "bom";
@@ -1589,6 +1589,14 @@ class RuntimeFormStateStore {
1589
1589
  const paths = Object.keys(values);
1590
1590
  this.mutate(paths, source, () => this.assignValues(this.reactiveState, values));
1591
1591
  }
1592
+ /**
1593
+ * 保存后只回填后端身份元数据,不能用仅含 id_/front_row_key_ 的数组覆盖当前业务行。
1594
+ * 二维内置复合键可通过原始子行键匹配保存前的本地行。
1595
+ */
1596
+ patchSavedMetadata(values) {
1597
+ const paths = Object.keys(values);
1598
+ this.mutate(paths, "restore", () => this.mergeSavedMetadata(this.reactiveState, values));
1599
+ }
1592
1600
  /**
1593
1601
  * 用新对象整体替换实例数据,删除旧对象中多余的顶层字段。
1594
1602
  * 草稿/接口恢复后会清空用户修改标记;restore 来源同时恢复为非脏状态。
@@ -1700,6 +1708,30 @@ class RuntimeFormStateStore {
1700
1708
  target[key] = incoming;
1701
1709
  });
1702
1710
  }
1711
+ mergeSavedMetadata(target, incoming, path = "") {
1712
+ if (Array.isArray(incoming)) {
1713
+ const isTableRows = this.subtableFields.has(path) || path.endsWith("._2DTABLE_");
1714
+ if (!isTableRows || !Array.isArray(target)) return incoming;
1715
+ incoming.forEach((savedRow) => {
1716
+ const rowKey = savedRow?.[FRONT_ROW_KEY];
1717
+ const savedId = savedRow?.id_;
1718
+ const currentRow = target.find((row) => {
1719
+ if (!row || typeof row !== "object") return false;
1720
+ if (rowKey != null && isTableRowKeyMatch(rowKey, row[FRONT_ROW_KEY])) return true;
1721
+ return savedId != null && row.id_ != null && String(row.id_) === String(savedId);
1722
+ });
1723
+ if (currentRow) this.mergeSavedMetadata(currentRow, savedRow, path);
1724
+ });
1725
+ return target;
1726
+ }
1727
+ if (!incoming || typeof incoming !== "object") return incoming;
1728
+ if (!target || typeof target !== "object" || Array.isArray(target)) return incoming;
1729
+ Object.entries(incoming).forEach(([key, value]) => {
1730
+ const childPath = path ? `${path}.${key}` : key;
1731
+ target[key] = this.mergeSavedMetadata(target[key], value, childPath);
1732
+ });
1733
+ return target;
1734
+ }
1703
1735
  /**
1704
1736
  * 所有写入口共用的表格身份边界:整表恢复/回填、数组插入、二维子行替换均在通知前补齐。
1705
1737
  * 只处理业务索引声明的表格及 _2DTABLE_,不把多选值、上传文件等数组当作表格。
@@ -3813,8 +3845,10 @@ const SNAPSHOT_SKIP = /* @__PURE__ */ new Set([
3813
3845
  ]);
3814
3846
  function rowIdentityKeys(row) {
3815
3847
  if (!row) return [];
3848
+ const frontRowKey = row[FRONT_ROW_KEY] != null && String(row[FRONT_ROW_KEY]).trim() !== "" ? String(row[FRONT_ROW_KEY]) : void 0;
3816
3849
  return [
3817
- row[FRONT_ROW_KEY] != null && String(row[FRONT_ROW_KEY]).trim() !== "" ? String(row[FRONT_ROW_KEY]) : void 0,
3850
+ frontRowKey,
3851
+ decodeTableCellRowKey(frontRowKey)?.cellRowKey,
3818
3852
  row.id_ != null && row.id_ !== "" ? String(row.id_) : void 0
3819
3853
  ].filter(Boolean);
3820
3854
  }