@gct-paas/excel 0.1.40-beta.5 → 0.1.40-beta.7

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 (112) hide show
  1. package/dist/{BaseComponent-BlDgF4NL.js → BaseComponent-ByKSQlX5.js} +2 -2
  2. package/dist/{VueVideoPlayer-abpwAqu3.js → VueVideoPlayer-D9kpfmiz.js} +2 -2
  3. package/dist/{align-editor-BdF6r-Gs.js → align-editor-lWVPNKlR.js} +1 -1
  4. package/dist/{barcode-design-Dqzu8TED.js → barcode-design-zpWBlelw.js} +2 -2
  5. package/dist/base/index.es.js +352 -110
  6. package/dist/{diagonal-design-OOLJ1YWE.js → diagonal-design-CzRKVjcY.js} +2 -2
  7. package/dist/{dynamic-table-action-C__4AVW6.js → dynamic-table-action-DkHb1ST4.js} +150 -150
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js} +578 -521
  9. package/dist/{edit.utils-CXmmCnxE-CaVD32MC.js → edit.utils-CXmmCnxE-DIhkrimt.js} +1 -1
  10. package/dist/excel.css +359 -256
  11. package/dist/{exceljs.min-C3uJ_Ieg.js → exceljs.min-DoNsTxQp.js} +2 -2
  12. package/dist/{font-editor-BZvGZaYO.js → font-editor-N7060zuX.js} +3 -3
  13. package/dist/{image-design-Dt_97Q--.js → image-design-fXKNGIm3.js} +2 -2
  14. package/dist/{index-BOehk-Mo.js → index-7J6OP2x9.js} +2 -2
  15. package/dist/{index-Bn4BqmG_.js → index-8A45IOjw.js} +2 -2
  16. package/dist/{index-DMVoiSyn.js → index-8BLKPnwH.js} +1 -1
  17. package/dist/{index-DzAPpHun.js → index-B5FuofNW.js} +2 -2
  18. package/dist/{index-DfAWRc7u.js → index-B6fCHnZl.js} +2 -2
  19. package/dist/{index-CKnArHCM.js → index-BA4zmgdk.js} +2 -2
  20. package/dist/{index-6_pgVPOb.js → index-BDRyjPGr.js} +651 -450
  21. package/dist/{index-D2bXGJMB.js → index-BEX6lJX9.js} +2 -2
  22. package/dist/{index-CwvVx_5V.js → index-BJA3YJns.js} +3 -3
  23. package/dist/{index-CD04dkRd.js → index-BXxzWXS4.js} +1 -1
  24. package/dist/{index-Lrse9db3.js → index-Bgh8yfAl.js} +2 -2
  25. package/dist/{index-C-wSYnoD.js → index-Bh-tmh-F.js} +2 -2
  26. package/dist/{index-Bxdq78c9.js → index-C4Mlck0_.js} +1 -1
  27. package/dist/{index-DLx-4gQ_.js → index-C5IwDker.js} +4 -4
  28. package/dist/{index-Cvj6_0dy.js → index-C6STl6m-.js} +1 -1
  29. package/dist/{index-DiZHDEas.js → index-CCw8gM1y.js} +1 -1
  30. package/dist/{index-DJqTfkOe.js → index-CZIuP6b-.js} +2 -2
  31. package/dist/{index-ZBaLDzvn.js → index-CaojJi0S.js} +1 -1
  32. package/dist/{index-BcSq5laa.js → index-CbeaPNDv.js} +2 -2
  33. package/dist/{index-DbN8jrOK.js → index-CfY2WTcN.js} +2 -2
  34. package/dist/{index-Cy3658Zd.js → index-CtHy6vBq.js} +3 -3
  35. package/dist/{index-CMzci3SX.js → index-CuHKZOUw.js} +2 -2
  36. package/dist/{index-Bes3atoZ.js → index-Cza077GN.js} +2 -2
  37. package/dist/{index-DgvOxMoA.js → index-DGyygsxH.js} +2 -2
  38. package/dist/{index-DhJQOZHh.js → index-DSUDSbPf.js} +1 -1
  39. package/dist/{index-Cy17m87b.js → index-DeEz6LI3.js} +2 -2
  40. package/dist/{index-B2xCe29Z.js → index-DgbgqO-w.js} +1 -1
  41. package/dist/{index-BGHQz2Uj.js → index-DnHsEIgl.js} +2 -2
  42. package/dist/{index-D4lTMizD.js → index-Xx36PP2U.js} +2 -2
  43. package/dist/{index-CVJadZzs.js → index-a0vY4sVG.js} +2 -2
  44. package/dist/{index--9zZnmyE.js → index-bRZUDA7R.js} +1 -1
  45. package/dist/{index-NiQurze3.js → index-gEI8m-b5.js} +1 -1
  46. package/dist/{index-DVFXRZRw.js → index-pSRRsoDQ.js} +4 -4
  47. package/dist/{index-BDvLu-0F.js → index-tjo9dn4X.js} +2 -2
  48. package/dist/{index-DF5OI_Xj.js → index-yf50oYV1.js} +3 -3
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-CDFmykM_.js → mb-render-BCtvoXM-.js} +8 -2
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Db5Hce6z.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DbNfQIzD.js} +1 -1
  52. package/dist/{pagination-design-Dz7y8YKu.js → pagination-design-BLhJhoHb.js} +2 -2
  53. package/dist/paper-widget-design-B8gKgZep.js +4 -0
  54. package/dist/{print-runtime-instance-Bq1p758u.js → print-runtime-instance-v1jzD3oO.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BWVZ-Lql.js → print-snapshot-renderer-BSf76qD7.js} +3 -3
  56. package/dist/{qrcode-design-Dq0tczvD.js → qrcode-design-D9f0hRKd.js} +1 -1
  57. package/dist/{revo-grid.entry-BKZT_dju.js → revo-grid.entry-NMojEZjd.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CXdkYl1q.js → revogr-attribution_7.entry-jR0LwEie.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-Dq9k6E4q.js → revogr-clipboard_3.entry-DMQ65QLh.js} +2 -2
  60. package/dist/{revogr-data_4.entry-CpBkj9S_.js → revogr-data_4.entry-Buvf7dRf.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-Bu5hYWK7.js → revogr-filter-panel.entry-TLjszdsH.js} +1 -1
  62. package/dist/seal-design-B80mv8SJ.js +4 -0
  63. package/dist/{serialnumber-design-DUqW6M9C.js → serialnumber-design-DsSZwN3t.js} +1 -1
  64. package/dist/shared/index.es.js +9 -9
  65. package/dist/{single-field-drop-MXmkrdjF.js → single-field-drop-DRMCsh_s.js} +2 -2
  66. package/dist/{size-editor-DCVa84rA.js → size-editor-m8uyQ1bU.js} +1 -1
  67. package/dist/src/domain/document-business/business/product-release/profile.d.ts +2 -0
  68. package/dist/src/domain/document-business/business/product-release/service.d.ts +2 -0
  69. package/dist/src/domain/document-business/index.d.ts +2 -0
  70. package/dist/src/domain/document-business/registry.d.ts +2 -0
  71. package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +4 -0
  72. package/dist/src/domain/document-business/types.d.ts +24 -0
  73. package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +2 -0
  74. package/dist/src/domain/field/query-filter.d.ts +15 -0
  75. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -11
  76. package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +8 -0
  77. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +3 -3
  78. package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
  79. package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +17 -0
  80. package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
  81. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +1 -0
  82. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
  83. package/dist/src/nocode-base/src/interface/ref-loader.d.ts +12 -1
  84. package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
  85. package/dist/src/nocode-base/src/interface/transform.d.ts +9 -1
  86. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
  87. package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
  88. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
  89. package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -0
  90. package/dist/src/shared/enum/field-type.d.ts +7 -2
  91. package/dist/src/shared/utils/withRequestCache.d.ts +27 -0
  92. package/dist/{sub-table-factory-BBiAj7oz.js → sub-table-factory-BxxIXXCZ.js} +194 -85
  93. package/dist/{text-design-BfXr3TcH.js → text-design-DgOV0ZhV.js} +2 -2
  94. package/dist/{throttle-Cpk1LoGk-BtY6yO1U.js → throttle-Cpk1LoGk-Dj14U5ox.js} +1 -1
  95. package/dist/{timediff-design-BF-mVD2d.js → timediff-design-C0zYdIQI.js} +1 -1
  96. package/dist/{trace-like-wrapper-2AsEoSS7.js → trace-like-wrapper-XB73ltP9.js} +2 -2
  97. package/dist/{value-editor.vue_vue_type_style_index_0_lang-D8_zt9JM.js → value-editor.vue_vue_type_style_index_0_lang-CRFXw695.js} +2 -2
  98. package/dist/web-render/index.es.js +3 -3
  99. package/dist/{widget-barcode-BMnwSzpx.js → widget-barcode-BLKBY_Dh.js} +4 -4
  100. package/dist/{widget-diagonal-iuAFZn-R.js → widget-diagonal-LVxcpB3b.js} +3 -3
  101. package/dist/{widget-image-sZeIt4K6.js → widget-image-Cch0ImSI.js} +5 -5
  102. package/dist/{widget-line-izrJUAAT.js → widget-line-CUSNrxgG.js} +2 -2
  103. package/dist/{widget-pagination-CTANdU2l.js → widget-pagination-CM1S6Ytp.js} +5 -5
  104. package/dist/{widget-power-OZD7bTxW.js → widget-power-DQJ8F2R7.js} +3 -3
  105. package/dist/{widget-qrcode-xvyklot3.js → widget-qrcode-BmnaFfc4.js} +3 -3
  106. package/dist/{widget-rangelimit-BZhTuRkT.js → widget-rangelimit-Db0ZX6Fb.js} +3 -3
  107. package/dist/{widget-serialnumber-BwUHV475.js → widget-serialnumber-BEOWsFs1.js} +1 -1
  108. package/dist/{widget-text-B8MzTxa3.js → widget-text-DZFAhPxy.js} +5 -5
  109. package/dist/{widget-timediff-YAH8bbso.js → widget-timediff-C_Nh7uw-.js} +2 -2
  110. package/package.json +2 -2
  111. package/dist/paper-widget-design-BlIbv2tj.js +0 -4
  112. package/dist/seal-design-LHZWDjEb.js +0 -4
@@ -1,14 +1,14 @@
1
- import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bj as getRowId, bk as findRuntimeTableRow, b9 as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bw as assembleRules, bx as isAttachFieldActive, aK as Dependency_ENUM, bl as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, by as fetchHistoryConsume, bz as isBomGranted, aW as renderUtils, bv as uuid2, bA as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bB as baseDataUtils, bC as initializeSealFields, Z as FormTypeEnum, bD as normalizeToArray, bE as safeParseArray, bF as BpmnNodeTypeEnum, bG as mergeByMultiKey, a9 as _export_sfc, bH as evaluateInspectionDecisionRule, bI as areValidationCommentsEqual, bJ as useNocodeEmitter, bK as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
- import { aQ, aS, b0, a2, bL, bM, B, bN, A, aj, bO, bP, bQ, bi, bR, aT, aC, aR, aO, aP, bS, ak, ao, bT, bU, aI, a4, ai, aD, bV, a1, am, L, bW, bX, bY, O, s, P, ab, q, R, G, bZ, b_, ay, a7, a3, a5, a6, a8, h, b$, an, ar, al, c0, c1, c2, c3, bh, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, bm, ce, cf, aZ, cg, b1, b2, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, aY, cr, b3, bf, cs, ct, cu, ap, v, cv, cw, cx, bn, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
- import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-C__4AVW6.js";
4
- import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-C__4AVW6.js";
1
+ import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, ba as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bx as assembleRules, by as isAttachFieldActive, aK as Dependency_ENUM, bm as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bz as fetchHistoryConsume, bA as isBomGranted, aX as renderUtils, bw as uuid2, bB as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bC as baseDataUtils, bD as initializeSealFields, Z as FormTypeEnum, bE as normalizeToArray, bF as safeParseArray, bG as BpmnNodeTypeEnum, bH as mergeByMultiKey, a9 as _export_sfc, bI as evaluateInspectionDecisionRule, bJ as areValidationCommentsEqual, bK as useNocodeEmitter, bL as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
2
+ import { aQ, aS, b1, a2, bM, bN, B, bO, A, aj, bP, bQ, bR, bj, bS, aT, aC, aR, aO, aP, bT, ak, ao, bU, bV, aI, a4, ai, aD, bW, a1, am, L, bX, bY, bZ, O, s, P, ab, q, R, G, b_, b$, ay, a7, a3, a5, a6, a8, h, c0, an, ar, al, c1, c2, c3, c4, bi, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, bn, cf, cg, a_, ch, b2, b3, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, aZ, cs, b4, bg, ct, cu, cv, ap, v, cw, cx, cy, bo, a$ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
3
+ import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-DkHb1ST4.js";
4
+ import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-DkHb1ST4.js";
5
5
  import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
6
6
  import { cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BBiAj7oz.js";
9
- import { A as A3, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-BBiAj7oz.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BxxIXXCZ.js";
9
+ import { A as A3, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-BxxIXXCZ.js";
10
10
  import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
11
- import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-CDFmykM_.js";
11
+ import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BCtvoXM-.js";
12
12
  const InstanceStatusValues = {
13
13
  /** 作废状态 */
14
14
  ABANDON: "ABANDON",
@@ -1059,6 +1059,71 @@ class FormTmplBomController {
1059
1059
  };
1060
1060
  }
1061
1061
  }
1062
+ async function prepareObjectProductDefaults({
1063
+ enabled,
1064
+ fields,
1065
+ objectInitialValues = []
1066
+ }) {
1067
+ const defaults2 = /* @__PURE__ */ new WeakMap();
1068
+ if (!enabled) return defaults2;
1069
+ const requests = /* @__PURE__ */ new Map();
1070
+ const tasks = [];
1071
+ function fetchProduct(productId) {
1072
+ const existing = requests.get(productId);
1073
+ if (existing) return existing;
1074
+ const request = (async () => {
1075
+ const result = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
1076
+ {
1077
+ modelCategory: "entity",
1078
+ modelKey: "em_product",
1079
+ bsKey: "rdoGetVersionById"
1080
+ },
1081
+ // 沿用现有接口约定,传完整默认值,不拆分版本 ID。
1082
+ { id: productId }
1083
+ );
1084
+ const product = result?.data;
1085
+ if (!product || typeof product !== "object" || Array.isArray(product) || Object.keys(product).length === 0) {
1086
+ throw new Error(`未找到默认物料详情:${productId}`);
1087
+ }
1088
+ return { ...product, _DICT: result?.dict ?? product._DICT };
1089
+ })();
1090
+ requests.set(productId, request);
1091
+ return request;
1092
+ }
1093
+ for (const entry of fields) {
1094
+ if (!entry || typeof entry !== "object") continue;
1095
+ const field = entry;
1096
+ if (typeof field.fieldId !== "string" || !field.belongingObject || field.fieldType !== FIELD_TYPE.PRODUCT || field.isFieldModel || field.subFieldKey || field.subModelKey) {
1097
+ continue;
1098
+ }
1099
+ const configured = objectInitialValues.find(
1100
+ (item) => item.objectField === field.belongingObject
1101
+ );
1102
+ if (!configured?.values || !Object.prototype.hasOwnProperty.call(configured.values, field.fieldId)) {
1103
+ continue;
1104
+ }
1105
+ const productDefault = {
1106
+ value: configured.values[field.fieldId]
1107
+ };
1108
+ defaults2.set(entry, productDefault);
1109
+ const productId = productDefault.value;
1110
+ const needsAutofill = field.enableAutofill !== false && field.autofillRules?.some((rule) => !!rule.toField);
1111
+ if (!needsAutofill || typeof productId !== "string" || productId === "") continue;
1112
+ tasks.push(
1113
+ fetchProduct(productId).then(
1114
+ (sourceData) => {
1115
+ productDefault.sourceData = sourceData;
1116
+ },
1117
+ (error) => {
1118
+ const reason = error instanceof Error ? error.message : String(error);
1119
+ throw new Error(`对象初始化数据填充失败,字段 ${field.fieldId}:${reason}`);
1120
+ }
1121
+ )
1122
+ );
1123
+ }
1124
+ await Promise.all(tasks);
1125
+ return defaults2;
1126
+ }
1062
1127
  async function getModelQueries(opts) {
1063
1128
  const isEdhr = await isEdhrSuite();
1064
1129
  if (!isEdhr || !opts.mainMaterialNo) {
@@ -1456,7 +1521,13 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1456
1521
  params: { id: paramsConfig?.warehouseId }
1457
1522
  }
1458
1523
  ]);
1524
+ const objectProductDefaults = await prepareObjectProductDefaults({
1525
+ enabled: fillModeType === RenderModeEnum.FormMode && selfInfo.dataStatus !== "STASH" && selfInfo.dataStatus !== "SUBMIT",
1526
+ fields: fieldInfoMap.useDefaultValueFields,
1527
+ objectInitialValues: runtimeContext.formConfig.objectInitialValues
1528
+ });
1459
1529
  const defaultDataMap = renderUtils.getDefaultValueMapByField({
1530
+ objectProductDefaults,
1460
1531
  defaultValueFields: fieldInfoMap.useDefaultValueFields,
1461
1532
  mainMaterialNo: paramsConfig?.materialNo || selfInfo.materialNo,
1462
1533
  mainRelatedLotNo: paramsConfig?.relatedLotNo,
@@ -1549,6 +1620,15 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1549
1620
  });
1550
1621
  initializeSealFields(floatingFields, formState);
1551
1622
  }
1623
+ await transformUtils.getEventInitDataLoaded({
1624
+ formConfig: runtimeContext.formConfig,
1625
+ formState,
1626
+ viewMode: fillModeType,
1627
+ dataStatus: selfInfo.dataStatus,
1628
+ ofCtx: { formPrint: payload.formPrint, id: result.id }
1629
+ }).catch((error) => {
1630
+ console.error("Error in getEventInitDataLoaded:", error);
1631
+ });
1552
1632
  runtimeFormStateStore = new RuntimeFormStateStore(
1553
1633
  formState,
1554
1634
  // 子表信息覆盖普通/固定/检验表、二维关联列以及各类业务表;不能只依赖已放置字段。
@@ -1643,6 +1723,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1643
1723
  productSearchFields: payload?.deviceConfig?.defaultProductSearchFields ?? "",
1644
1724
  showPrintFieldBg: paramsConfig?.showPrintFieldBg,
1645
1725
  paramsConfig,
1726
+ businessType: selfInfo.businessType,
1646
1727
  instanceStatus: selfInfo.instanceStatus
1647
1728
  },
1648
1729
  selfInfo: runtimeSelfInfo
@@ -1975,7 +2056,13 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
1975
2056
  const signatureKeys = (runtimeRecord.context.businessIndex.useSignatureFields || []).map(
1976
2057
  (item) => item.fieldId
1977
2058
  );
1978
- const idsFormState = transformUtils.getFormDataIdsMap(newFormState, signatureKeys);
2059
+ const idsFormState = transformUtils.getFormDataIdsMap(
2060
+ newFormState,
2061
+ signatureKeys,
2062
+ (path) => runtimeRecord.fields.findByPath(path).some(
2063
+ ({ widget, subFieldKey }) => subFieldKey !== path && [FIELD_TYPE.DATE, FIELD_TYPE.DATE_TIME].includes(widget?.props.fieldType)
2064
+ )
2065
+ );
1979
2066
  if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
1980
2067
  return false;
1981
2068
  }
@@ -2052,6 +2139,139 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2052
2139
  }
2053
2140
  });
2054
2141
  const InspectionDecisionPromptModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c14035f"]]);
2142
+ function createMaterialConsumeObjectValidation(options) {
2143
+ const { record, getInfo, isCurrent, shouldSkip, applyComments } = options;
2144
+ let enabled = false;
2145
+ let disposed = false;
2146
+ let submitting = 0;
2147
+ let generation = 0;
2148
+ let lastRevision = -1;
2149
+ let timer;
2150
+ let paths = /* @__PURE__ */ new Set();
2151
+ const unlocated = /* @__PURE__ */ new Set();
2152
+ const alive = () => !disposed && isCurrent();
2153
+ function cancelLive() {
2154
+ generation++;
2155
+ if (timer !== void 0) clearTimeout(timer);
2156
+ timer = void 0;
2157
+ }
2158
+ function calcObjectError(error) {
2159
+ const info = getInfo();
2160
+ const modelKey = info?.modelKey || record.context.businessIndex.modelDisplay.key;
2161
+ const descriptor = record.fields.findField({ modelKey, fieldId: error.field });
2162
+ const props = descriptor?.widget?.props;
2163
+ if (!props?.field || descriptor?.subFieldKey || props.subFieldKey) {
2164
+ const key = modelKey + "." + error.field;
2165
+ if (!unlocated.has(key)) {
2166
+ unlocated.add(key);
2167
+ console.warn("物料消耗对象错误未定位到主表控件,保留在校验清单:", key);
2168
+ }
2169
+ return { error, path: void 0 };
2170
+ }
2171
+ const path = buildRuntimeFieldPath({
2172
+ ...props,
2173
+ modelKey: props.modelKey ?? info?.modelKey,
2174
+ fieldId: props.field
2175
+ });
2176
+ return { error: { ...error, field: path }, path };
2177
+ }
2178
+ function replaceObjectFields(fields) {
2179
+ if (!alive()) return;
2180
+ const next = { ...getInfo()?.mcValidatorMessageMap ?? {} };
2181
+ paths.forEach((path) => delete next[path]);
2182
+ Object.assign(next, fields);
2183
+ paths = new Set(Object.keys(fields));
2184
+ applyComments(next);
2185
+ }
2186
+ function replaceTableFields(fields) {
2187
+ if (!alive()) return;
2188
+ const current = getInfo()?.mcValidatorMessageMap ?? {};
2189
+ const next = { ...fields ?? {} };
2190
+ paths.forEach((path) => {
2191
+ if (current[path]) {
2192
+ next[path] = [...next[path] ?? [], ...current[path]];
2193
+ }
2194
+ });
2195
+ applyComments(next);
2196
+ }
2197
+ function clear() {
2198
+ cancelLive();
2199
+ enabled = false;
2200
+ lastRevision = -1;
2201
+ replaceObjectFields({});
2202
+ }
2203
+ async function validate(live = false) {
2204
+ cancelLive();
2205
+ if (!alive()) return;
2206
+ if (shouldSkip()) {
2207
+ clear();
2208
+ return { isValid: true };
2209
+ }
2210
+ const ticket = generation;
2211
+ const revision = record.formState.revision;
2212
+ const info = getInfo();
2213
+ const display = record.context.businessIndex.modelDisplay;
2214
+ const errors = await validateObjectBomQtyOnSubmit({
2215
+ formState: record.formState.state,
2216
+ objectFieldList: record.context.formConfig.objectFieldList,
2217
+ formInstBom: record.context.services.tmplBomController?.formInstBom,
2218
+ showModelName: display.name,
2219
+ showModelKey: display.key || info?.modelKey || ""
2220
+ });
2221
+ if (!alive() || generation !== ticket || record.formState.revision !== revision || live && getInfo()?.renderModeType !== RenderModeEnum.FormMode)
2222
+ return;
2223
+ const fields = {};
2224
+ const comments = {};
2225
+ for (const source of errors) {
2226
+ const adapted = calcObjectError(source);
2227
+ (fields[adapted.error.field] ??= []).push(adapted.error);
2228
+ if (adapted.path) (comments[adapted.path] ??= []).push(adapted.error);
2229
+ }
2230
+ enabled = !!record.context.formConfig.objectFieldList?.length;
2231
+ lastRevision = revision;
2232
+ replaceObjectFields(comments);
2233
+ return { isValid: !errors.length, fields: Object.keys(fields).length ? fields : void 0 };
2234
+ }
2235
+ function requestLive() {
2236
+ cancelLive();
2237
+ if (!alive() || !enabled || submitting > 0 || getInfo()?.renderModeType !== RenderModeEnum.FormMode)
2238
+ return;
2239
+ const ticket = generation;
2240
+ timer = setTimeout(() => {
2241
+ timer = void 0;
2242
+ void (async () => {
2243
+ await record.controller?.waitUntilPrepared();
2244
+ await record.asyncTasks.waitForRequired();
2245
+ if (!alive() || generation !== ticket || submitting > 0 || getInfo()?.renderModeType !== RenderModeEnum.FormMode)
2246
+ return;
2247
+ await validate(true);
2248
+ })().catch((error) => {
2249
+ if (alive()) console.error("物料消耗对象实时校验失败", error);
2250
+ });
2251
+ }, 300);
2252
+ }
2253
+ return {
2254
+ validate,
2255
+ requestLive,
2256
+ replaceTableFields,
2257
+ clear,
2258
+ beginSubmit() {
2259
+ submitting++;
2260
+ cancelLive();
2261
+ },
2262
+ endSubmit() {
2263
+ submitting--;
2264
+ if (alive() && submitting === 0 && enabled && lastRevision !== record.formState.revision)
2265
+ requestLive();
2266
+ },
2267
+ dispose() {
2268
+ disposed = true;
2269
+ cancelLive();
2270
+ paths.clear();
2271
+ unlocated.clear();
2272
+ }
2273
+ };
2274
+ }
2055
2275
  function applyValidationComments(info, comments, kind) {
2056
2276
  if (!info) return;
2057
2277
  const locationKey = kind === "field" ? "validatorLocationList" : "mcValidatorLocationList";
@@ -2069,6 +2289,29 @@ function applyValidationComments(info, comments, kind) {
2069
2289
  info[messageKey] = map;
2070
2290
  }
2071
2291
  function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType) {
2292
+ const objectValidations = /* @__PURE__ */ new WeakMap();
2293
+ function getObjectValidation(record) {
2294
+ const existing = objectValidations.get(record);
2295
+ if (existing) return existing;
2296
+ const uniqueId = record.context.uniqueId;
2297
+ const validation = createMaterialConsumeObjectValidation({
2298
+ record,
2299
+ getInfo: () => getInfo(uniqueId),
2300
+ isCurrent: () => runtimeRegistry.get(uniqueId) === record,
2301
+ shouldSkip: () => {
2302
+ const skip = syncInspectionDecisionRule(uniqueId);
2303
+ if (skip) clearInspectionValidationState(uniqueId);
2304
+ return skip;
2305
+ },
2306
+ applyComments: (fields) => applyValidationComments(getInfo(uniqueId), fields, "material")
2307
+ });
2308
+ objectValidations.set(record, validation);
2309
+ runtimeRegistry.registerDisposable(uniqueId, () => {
2310
+ validation.dispose();
2311
+ objectValidations.delete(record);
2312
+ });
2313
+ return validation;
2314
+ }
2072
2315
  const inspectionDecisionMatched = /* @__PURE__ */ new WeakMap();
2073
2316
  const inspectionDecisionPrompting = /* @__PURE__ */ new WeakSet();
2074
2317
  function openInspectionDecisionPrompt(uniqueId, content) {
@@ -2109,11 +2352,14 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2109
2352
  return matched;
2110
2353
  }
2111
2354
  function clearInspectionValidationState(uniqueId) {
2355
+ const record = runtimeRegistry.get(uniqueId);
2356
+ if (record) objectValidations.get(record)?.clear();
2112
2357
  applyValidationComments(getInfo(uniqueId), null, "field");
2113
2358
  applyValidationComments(getInfo(uniqueId), null, "material");
2114
2359
  }
2115
2360
  function bindFormValidationSync(uniqueId) {
2116
2361
  const record = runtimeRegistry.require(uniqueId);
2362
+ const objects = getObjectValidation(record);
2117
2363
  syncInspectionDecisionRule(uniqueId);
2118
2364
  const stop = record.formState.subscribe(() => {
2119
2365
  if (runtimeRegistry.get(uniqueId) !== record) return;
@@ -2124,6 +2370,7 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2124
2370
  uniqueId,
2125
2371
  !suppressed && info.renderModeType === RenderModeEnum.FormMode
2126
2372
  );
2373
+ objects.requestLive();
2127
2374
  if (suppressed) return;
2128
2375
  if (info.renderModeType === RenderModeEnum.FormMode) {
2129
2376
  record.validation.requestLive("change");
@@ -2156,48 +2403,43 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2156
2403
  }
2157
2404
  async function runSubmissionValidation(uniqueId) {
2158
2405
  const record = runtimeRegistry.require(uniqueId);
2159
- const formState = record.formState.state;
2160
- const bomC = record.context.services.tmplBomController;
2161
- if (syncInspectionDecisionRule(uniqueId)) {
2162
- clearInspectionValidationState(uniqueId);
2163
- return { isValid: true };
2164
- }
2165
- const res = await record.validation.validate();
2166
- if (!res || runtimeRegistry.get(uniqueId) !== record) return;
2167
- const revision = record.formState.revision;
2168
- if (bomC) {
2169
- const bomRes = await bomC.submitValidate();
2170
- if (runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
2171
- return;
2172
- applyValidationComments(getInfo(uniqueId), bomRes.fields ?? null, "material");
2173
- if (!bomRes.isValid) {
2174
- merge(res, bomRes);
2175
- return res;
2406
+ const objects = getObjectValidation(record);
2407
+ objects.beginSubmit();
2408
+ try {
2409
+ if (syncInspectionDecisionRule(uniqueId)) {
2410
+ clearInspectionValidationState(uniqueId);
2411
+ return { isValid: true };
2176
2412
  }
2177
- const info = getInfo(uniqueId);
2178
- const display = record.context.businessIndex.modelDisplay;
2179
- display.name;
2180
- const showModelKey = display.key || info?.modelKey || "";
2181
- const objErrs = await validateObjectBomQtyOnSubmit({
2182
- formState: formState ?? {},
2183
- objectFieldList: record.context.formConfig.objectFieldList,
2184
- formInstBom: bomC.formInstBom,
2185
- showModelKey
2186
- });
2187
- if (runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
2188
- return;
2189
- if (objErrs.length) {
2190
- const fields = {};
2191
- objErrs.forEach((e3) => {
2192
- (fields[e3.field] ??= []).push(e3);
2193
- });
2194
- const objectBomRes = { isValid: false, fields };
2195
- merge(res, objectBomRes);
2196
- applyValidationComments(info, { ...info?.validatorMessageMap ?? {}, ...fields }, "field");
2197
- return res;
2413
+ const res = await record.validation.validate();
2414
+ if (!res || runtimeRegistry.get(uniqueId) !== record) return;
2415
+ const revision = record.formState.revision;
2416
+ const bomC = record.context.services.tmplBomController;
2417
+ if (bomC) {
2418
+ const bomRes = await bomC.submitValidate();
2419
+ if (runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
2420
+ return;
2421
+ objects.replaceTableFields(bomRes.fields);
2422
+ if (!bomRes.isValid) {
2423
+ merge(res, bomRes);
2424
+ return res;
2425
+ }
2426
+ const objectRes = await objects.validate();
2427
+ if (!objectRes || runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
2428
+ return;
2429
+ if (!objectRes.isValid) {
2430
+ const fields = { ...res.fields ?? {} };
2431
+ for (const [path, errors] of Object.entries(objectRes.fields ?? {})) {
2432
+ fields[path] = [...fields[path] ?? [], ...errors];
2433
+ }
2434
+ return { ...res, isValid: false, fields };
2435
+ }
2436
+ } else {
2437
+ objects.clear();
2198
2438
  }
2439
+ return res;
2440
+ } finally {
2441
+ objects.endSubmit();
2199
2442
  }
2200
- return res;
2201
2443
  }
2202
2444
  function updateRenderModeType(uniqueId, mode, updateButton = false) {
2203
2445
  const record = runtimeRegistry.require(uniqueId);
@@ -3360,23 +3602,23 @@ export {
3360
3602
  A3 as AllocateTableCore,
3361
3603
  B3 as BaseFormModelFetcher,
3362
3604
  aS as BinarizeMethodOptions,
3363
- b0 as BindCmpStyleEnum,
3605
+ b1 as BindCmpStyleEnum,
3364
3606
  a2 as BooleanShowMode,
3365
3607
  B2 as BorderTD,
3366
3608
  BpmnNodeTypeEnum,
3367
- bL as BpmnSignatureTypeEnum,
3368
- bM as ButtonTypeEnum,
3609
+ bM as BpmnSignatureTypeEnum,
3610
+ bN as ButtonTypeEnum,
3369
3611
  B as BwipCodeType,
3370
- bN as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3612
+ bO as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3371
3613
  A as CellType,
3372
3614
  aj as CellWidgetViewState,
3373
3615
  CheckDsTypeEnum,
3374
- bO as CodeRunner,
3616
+ bP as CodeRunner,
3375
3617
  ComponentTypeEnum,
3376
- bP as Config_Fields,
3377
- bQ as ControlStatusEnum,
3378
- bi as DEVICE_GROUP_QUERY_KEY,
3379
- bR as DEVICE_SEARCH_API,
3618
+ bQ as Config_Fields,
3619
+ bR as ControlStatusEnum,
3620
+ bj as DEVICE_GROUP_QUERY_KEY,
3621
+ bS as DEVICE_SEARCH_API,
3380
3622
  aT as DateFormat,
3381
3623
  aC as DecimalDisplayMode,
3382
3624
  aR as DenoiseMethodOptions,
@@ -3385,7 +3627,7 @@ export {
3385
3627
  i as DeviceLinkTmplUtil,
3386
3628
  aP as DeviceParamsTypeTitle,
3387
3629
  D as DevicePartConsumeTableCore,
3388
- bS as DeviceStatus,
3630
+ bT as DeviceStatus,
3389
3631
  ak as DiagonalDirection,
3390
3632
  ao as DiagonalVertex,
3391
3633
  _ as DocumentLayout,
@@ -3393,8 +3635,8 @@ export {
3393
3635
  P2 as DocumentPaper,
3394
3636
  aa as DynamicQuickFillModal,
3395
3637
  Q as DynamicTableAction,
3396
- bT as EBR_PROVIDE_ENUM,
3397
- bU as EFieldBizTypeEnum,
3638
+ bU as EBR_PROVIDE_ENUM,
3639
+ bV as EFieldBizTypeEnum,
3398
3640
  E as EMPTY_PRODUCT_VERSION_ID,
3399
3641
  aI as EmptySymbol,
3400
3642
  a4 as FallbackSignTypeEnum,
@@ -3408,14 +3650,14 @@ export {
3408
3650
  FormTypeEnum,
3409
3651
  aD as ImageDisplayModeEnum,
3410
3652
  InstanceStatusValues,
3411
- bV as JoinModelTypeEum,
3653
+ bW as JoinModelTypeEum,
3412
3654
  ad as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3413
3655
  ae as LEGACY_RUNTIME_SHEET_ID,
3414
3656
  af as LEGACY_RUNTIME_SHEET_TITLE,
3415
3657
  a1 as LabelPosition,
3416
3658
  am as LineDirection,
3417
3659
  L as LineType,
3418
- bW as MAX_FRONT_ROW_KEY_LENGTH,
3660
+ bX as MAX_FRONT_ROW_KEY_LENGTH,
3419
3661
  M as MAX_RUNTIME_SHEETS,
3420
3662
  a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
3421
3663
  M3 as MBRender,
@@ -3427,10 +3669,10 @@ export {
3427
3669
  M2 as MaterialRequisitionTableCore,
3428
3670
  MaterialStatusEnum,
3429
3671
  a10 as MaterialSubstitutionTableCore,
3430
- bX as MobileFillTypeEnum,
3672
+ bY as MobileFillTypeEnum,
3431
3673
  NCB_PROVIDE,
3432
3674
  ah as OCR_MODEL_PRECISION_ENUM_KEY,
3433
- bY as OfficeTypeEnum,
3675
+ bZ as OfficeTypeEnum,
3434
3676
  O as Orientation,
3435
3677
  s as PageSizeEnum,
3436
3678
  P as PaginationFormat,
@@ -3440,10 +3682,10 @@ export {
3440
3682
  G as ParamModelTypeEnum,
3441
3683
  P3 as PartStocktakeTableCore,
3442
3684
  PlatformEnum,
3443
- bZ as PosEnum,
3685
+ b_ as PosEnum,
3444
3686
  b as PretreatmentListTableCore,
3445
3687
  c as ProfileDrivenSubTableCore,
3446
- b_ as RUNTIME_COLUMN_ROW_KEY,
3688
+ b$ as RUNTIME_COLUMN_ROW_KEY,
3447
3689
  ay as RangeCompareOp,
3448
3690
  RangeValidateMode,
3449
3691
  RenderModeEnum,
@@ -3468,7 +3710,7 @@ export {
3468
3710
  ao2 as SubTableCore,
3469
3711
  SubTableCoreFactory,
3470
3712
  h as SubTableType,
3471
- b$ as SummaryApproveHisTypeEnum,
3713
+ c0 as SummaryApproveHisTypeEnum,
3472
3714
  an as TimeDiffFormat,
3473
3715
  ar as ViewTypeEnum,
3474
3716
  W as WarehouseInTableCore,
@@ -3476,18 +3718,18 @@ export {
3476
3718
  g as WarehouseOutTableCore,
3477
3719
  h3 as WarehouseOutboundTableCore,
3478
3720
  al as WidgetImageSizeMode,
3479
- c0 as applyCheckDsDataToRuntime,
3721
+ c1 as applyCheckDsDataToRuntime,
3480
3722
  z as applyConsumeObjectTraceChange,
3481
- c1 as applyMedProCheckDsDataToRuntime,
3723
+ c2 as applyMedProCheckDsDataToRuntime,
3482
3724
  baseDataUtils,
3483
- c2 as bindRuntimeTableColumns,
3484
- c3 as buildDeviceBaseQuery,
3485
- bh as buildDeviceFilterQuery,
3725
+ c3 as bindRuntimeTableColumns,
3726
+ c4 as buildDeviceBaseQuery,
3727
+ bi as buildDeviceFilterQuery,
3486
3728
  ap2 as buildFormChangeDisplayRows,
3487
3729
  q2 as buildObjectLotExtraQuery,
3488
3730
  buildRuntimeFieldPath,
3489
- c4 as calcFillData,
3490
- c5 as calcUtils,
3731
+ c5 as calcFillData,
3732
+ c6 as calcUtils,
3491
3733
  calculateFormula,
3492
3734
  collectAnnotationItemsByLocation,
3493
3735
  collectFormChangeFieldLocations,
@@ -3496,65 +3738,65 @@ export {
3496
3738
  aq as convertV1Runtime,
3497
3739
  e as createRuntimeDocumentV2,
3498
3740
  createRuntimeInstanceContext,
3499
- c6 as decodeTableCellRowKey,
3741
+ c7 as decodeTableCellRowKey,
3500
3742
  ar2 as detailsHaveFormChangeRowOps,
3501
- c7 as encodeTableCellRowKey,
3743
+ c8 as encodeTableCellRowKey,
3502
3744
  enrichFormChangeRowDetails,
3503
- c8 as ensureFrontRowKey,
3504
- c9 as ensureTableRowKeys,
3745
+ c9 as ensureFrontRowKey,
3746
+ ca as ensureTableRowKeys,
3505
3747
  as as extractFormChangeRowDetails,
3506
- ca as extractKeywordFromQueryData,
3507
- cb as fetchCheckDsDataForTable,
3508
- cc as fetchCustomCheckDsData,
3748
+ cb as extractKeywordFromQueryData,
3749
+ cc as fetchCheckDsDataForTable,
3750
+ cd as fetchCustomCheckDsData,
3509
3751
  fetchHistoryConsume,
3510
- cd as fetchMedProCheckDsData,
3752
+ ce as fetchMedProCheckDsData,
3511
3753
  fetchOperationReceiveQty,
3512
3754
  fetchUdi,
3513
3755
  filterAnnotationItemsUpToCurrent,
3514
- bm as findRuntimeParentRow,
3515
- ce as findRuntimeTableCell,
3756
+ bn as findRuntimeParentRow,
3757
+ cf as findRuntimeTableCell,
3516
3758
  findRuntimeTableRow,
3517
3759
  getAppInfo,
3518
3760
  getBusinessFieldKey,
3519
- cf as getCheckTableSnapshotKey,
3761
+ cg as getCheckTableSnapshotKey,
3520
3762
  at as getFormChangeRowKey,
3521
3763
  au as getFormChangeRowOp,
3522
- aZ as getLotLockedReason,
3764
+ a_ as getLotLockedReason,
3523
3765
  p as getObjectBomMaterialLotQuery,
3524
3766
  A2 as getObjectBomProductQuery,
3525
3767
  getParseFormulaVarInfos,
3526
- cg as getParseRuleConfig,
3527
- b1 as getParseRuleInfo,
3528
- b2 as getParseRuleValue,
3529
- ch as getReinspectionDate,
3530
- ci as getRenderedRuntimeTableCell,
3768
+ ch as getParseRuleConfig,
3769
+ b2 as getParseRuleInfo,
3770
+ b3 as getParseRuleValue,
3771
+ ci as getReinspectionDate,
3772
+ cj as getRenderedRuntimeTableCell,
3531
3773
  getRuntimeDataFieldId,
3532
3774
  getRuntimeDependencyOutputKey,
3533
3775
  av as getSubTableQuickFillInfo,
3534
3776
  getSuiteKey,
3535
- cj as handleOldConfig,
3536
- ck as hasAnyCheckTableSnapshot,
3537
- cl as hasByTableCheckTableSnapshot,
3538
- cm as hasSharedCheckTableSnapshot,
3777
+ ck as handleOldConfig,
3778
+ cl as hasAnyCheckTableSnapshot,
3779
+ cm as hasByTableCheckTableSnapshot,
3780
+ cn as hasSharedCheckTableSnapshot,
3539
3781
  aw as isAnnLocationSelected,
3540
3782
  ax as isBlank,
3541
3783
  isBomGranted,
3542
3784
  isEdhrSuite,
3543
3785
  isEqmSuite,
3544
3786
  ay2 as isFormChangeGhostRow,
3545
- cn as isMedProSuite,
3787
+ co as isMedProSuite,
3546
3788
  isRowAddedInCurrentFormChange,
3547
- co as isTableRowKeyMatch,
3548
- cp as jsonSchemaUtils,
3549
- cq as judgeUnique,
3550
- aY as materialCheck,
3551
- cr as migrateDiagonalDirectionToVertex,
3789
+ cp as isTableRowKeyMatch,
3790
+ cq as jsonSchemaUtils,
3791
+ cr as judgeUnique,
3792
+ aZ as materialCheck,
3793
+ cs as migrateDiagonalDirectionToVertex,
3552
3794
  nextFormChangeRowViewHistoryId,
3553
3795
  j as normalizeAIOcrTmpl,
3554
3796
  C as normalizeHistoricalAutofillRow,
3555
3797
  h2 as normalizeHistoricalBusinessRow,
3556
3798
  az as normalizeHistoricalFieldConfig,
3557
- b3 as normalizeRefLoaderResult,
3799
+ b4 as normalizeRefLoaderResult,
3558
3800
  normalizeRuntime,
3559
3801
  parseFrontConfig,
3560
3802
  parseRuntimeFieldPath,
@@ -3562,11 +3804,11 @@ export {
3562
3804
  aA as pickObjectFieldKeys,
3563
3805
  aB as recordSubtableRowAdd,
3564
3806
  aC2 as recordSubtableRowDelete,
3565
- bf as refUtils,
3566
- cs as relocateDeletedRowsToEnd,
3807
+ bg as refUtils,
3808
+ ct as relocateDeletedRowsToEnd,
3567
3809
  renderUtils,
3568
- ct as requestMedProCheckDsData,
3569
- cu as requestNonMedProCheckDsData,
3810
+ cu as requestMedProCheckDsData,
3811
+ cv as requestNonMedProCheckDsData,
3570
3812
  aD2 as resolveAnnotationFieldLocation,
3571
3813
  ap as resolveDiagonalVertex,
3572
3814
  v as resolveFieldRenderComponent,
@@ -3579,8 +3821,8 @@ export {
3579
3821
  m as setSelectAnnotationId,
3580
3822
  aG as setSelectMobileTdId,
3581
3823
  s2 as setSelectValidatorId,
3582
- cv as sqlUtils,
3583
- cw as stockCheck,
3824
+ cw as sqlUtils,
3825
+ cx as stockCheck,
3584
3826
  aH as stripLegacyFormConfigFromPaper,
3585
3827
  transformUtils,
3586
3828
  H as useDependency,
@@ -3591,8 +3833,8 @@ export {
3591
3833
  useMaterialBalance,
3592
3834
  useNocodeEmitter,
3593
3835
  y as useNocodeFormWidget,
3594
- cx as useOnlineFormActionButton,
3595
- bn as useOnlineFormTransformField2Component,
3836
+ cy as useOnlineFormActionButton,
3837
+ bo as useOnlineFormTransformField2Component,
3596
3838
  useRenderPageFactory,
3597
3839
  J as useRuntimeEditorFlusher,
3598
3840
  l as useRuntimeInstanceServices,
@@ -3601,5 +3843,5 @@ export {
3601
3843
  k as useWidgetStaticAttrs,
3602
3844
  v2 as validateObjectBomForScan,
3603
3845
  validateObjectBomQtyOnSubmit,
3604
- a_ as validateReinspectionDate
3846
+ a$ as validateReinspectionDate
3605
3847
  };