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

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 (114) hide show
  1. package/dist/{BaseComponent-B9o59n-h.js → BaseComponent-BlDgF4NL.js} +2 -2
  2. package/dist/{VueVideoPlayer-CAWYWBHi.js → VueVideoPlayer-abpwAqu3.js} +2 -2
  3. package/dist/{align-editor-a4DQt4Un.js → align-editor-BdF6r-Gs.js} +1 -1
  4. package/dist/{barcode-design-CBqUEPYu.js → barcode-design-Dqzu8TED.js} +2 -2
  5. package/dist/base/index.es.js +291 -205
  6. package/dist/{diagonal-design-u23896Ky.js → diagonal-design-OOLJ1YWE.js} +2 -2
  7. package/dist/{dynamic-table-action-BWI4Gaqi.js → dynamic-table-action-C__4AVW6.js} +175 -95
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js} +654 -405
  9. package/dist/{edit.utils-CXmmCnxE-XxpC8ALV.js → edit.utils-CXmmCnxE-CaVD32MC.js} +1 -1
  10. package/dist/excel.css +345 -178
  11. package/dist/{exceljs.min-DfbB110X.js → exceljs.min-C3uJ_Ieg.js} +2 -2
  12. package/dist/{font-editor-BtSCLMrM.js → font-editor-BZvGZaYO.js} +3 -3
  13. package/dist/{image-design-CtE-Lw7N.js → image-design-Dt_97Q--.js} +2 -2
  14. package/dist/{index-Ca9TLzUh.js → index--9zZnmyE.js} +1 -1
  15. package/dist/{index-ixQwAcB1.js → index-6_pgVPOb.js} +860 -488
  16. package/dist/{index-CPTGioxl.js → index-B2xCe29Z.js} +1 -1
  17. package/dist/{index-DdWefZMa.js → index-BDvLu-0F.js} +2 -2
  18. package/dist/{index-DeHX7rte.js → index-BGHQz2Uj.js} +50 -3
  19. package/dist/{index-CAdDeEzJ.js → index-BOehk-Mo.js} +2 -2
  20. package/dist/{index-BRQkrFQ9.js → index-BcSq5laa.js} +2 -2
  21. package/dist/{index-CL9K9orM.js → index-Bes3atoZ.js} +2 -2
  22. package/dist/{index-BfBuxgcp.js → index-Bn4BqmG_.js} +2 -2
  23. package/dist/{index-51LtNdZ2.js → index-Bxdq78c9.js} +1 -1
  24. package/dist/{index-I1r5pfu5.js → index-C-wSYnoD.js} +2 -2
  25. package/dist/{index-BGAcYDx-.js → index-CD04dkRd.js} +1 -1
  26. package/dist/{index-CeEhYXl9.js → index-CKnArHCM.js} +2 -2
  27. package/dist/{index-CIa37rQm.js → index-CMzci3SX.js} +2 -2
  28. package/dist/{index-BC8hQ4vo.js → index-CVJadZzs.js} +2 -2
  29. package/dist/{index-CpPk8P3L.js → index-Cvj6_0dy.js} +1 -1
  30. package/dist/{index-Bnb70qEi.js → index-CwvVx_5V.js} +3 -3
  31. package/dist/{index-BKXb3VJc.js → index-Cy17m87b.js} +2 -2
  32. package/dist/{index-7aS5L4ot.js → index-Cy3658Zd.js} +3 -3
  33. package/dist/{index-Bc61F6Hm.js → index-D2bXGJMB.js} +2 -2
  34. package/dist/{index-Dyomjz3y.js → index-D4lTMizD.js} +2 -2
  35. package/dist/{index-731OYkrc.js → index-DF5OI_Xj.js} +3 -3
  36. package/dist/{index-CdHVHaxO.js → index-DJqTfkOe.js} +2 -2
  37. package/dist/{index-BP-LhXXV.js → index-DLx-4gQ_.js} +4 -4
  38. package/dist/{index-DVEe11uM.js → index-DMVoiSyn.js} +1 -1
  39. package/dist/{index-IVc1dOet.js → index-DVFXRZRw.js} +3 -3
  40. package/dist/{index-9S48hpoJ.js → index-DbN8jrOK.js} +2 -2
  41. package/dist/{index-CVsoaxTR.js → index-DfAWRc7u.js} +2 -2
  42. package/dist/{index-B0cdcIWq.js → index-DgvOxMoA.js} +2 -2
  43. package/dist/{index-BFg5eUdY.js → index-DhJQOZHh.js} +1 -1
  44. package/dist/{index-BMoz_QhA.js → index-DiZHDEas.js} +1 -1
  45. package/dist/{index-CYLAVQfT.js → index-DzAPpHun.js} +2 -2
  46. package/dist/{index-aNV9T6LI.js → index-Lrse9db3.js} +2 -2
  47. package/dist/{index-3WwCV4xR.js → index-NiQurze3.js} +1 -1
  48. package/dist/{index-DNj0vFvx.js → index-ZBaLDzvn.js} +1 -1
  49. package/dist/index.es.js +12 -10
  50. package/dist/{mb-render-Bs9S9oFn.js → mb-render-CDFmykM_.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Db5Hce6z.js} +8 -1
  52. package/dist/{pagination-design-CmbsdlMe.js → pagination-design-Dz7y8YKu.js} +2 -2
  53. package/dist/paper-widget-design-BlIbv2tj.js +4 -0
  54. package/dist/{print-runtime-instance-DQysbz5n.js → print-runtime-instance-Bq1p758u.js} +1 -1
  55. package/dist/{print-snapshot-renderer-DWHjMsOC.js → print-snapshot-renderer-BWVZ-Lql.js} +3 -3
  56. package/dist/{qrcode-design-CX0_2mLC.js → qrcode-design-Dq0tczvD.js} +1 -1
  57. package/dist/{revo-grid.entry-DbmWFi7p.js → revo-grid.entry-BKZT_dju.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-BWQDu7fq.js → revogr-attribution_7.entry-CXdkYl1q.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-BtTYHFZi.js → revogr-clipboard_3.entry-Dq9k6E4q.js} +2 -2
  60. package/dist/{revogr-data_4.entry-CWPXyZ7g.js → revogr-data_4.entry-CpBkj9S_.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-5gYct0XI.js → revogr-filter-panel.entry-Bu5hYWK7.js} +1 -1
  62. package/dist/seal-design-LHZWDjEb.js +4 -0
  63. package/dist/{serialnumber-design-aSqL4gX6.js → serialnumber-design-DUqW6M9C.js} +1 -1
  64. package/dist/shared/index.es.js +26 -24
  65. package/dist/{single-field-drop-C67wLHxK.js → single-field-drop-MXmkrdjF.js} +2 -2
  66. package/dist/{size-editor-BHGTPLir.js → size-editor-DCVa84rA.js} +1 -1
  67. package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
  68. package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
  69. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -0
  70. package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
  71. package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
  72. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
  73. package/dist/src/domain/table/index.d.ts +1 -1
  74. package/dist/src/domain/table/types.d.ts +2 -0
  75. package/dist/src/index.d.ts +2 -0
  76. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
  77. package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +4 -0
  78. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
  79. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
  80. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +2 -7
  81. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +4 -1
  82. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +4 -6
  83. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
  84. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -0
  85. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
  86. package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
  87. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  88. package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
  89. package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
  90. package/dist/src/shared/components/Signature/logic/index.d.ts +14 -0
  91. package/dist/src/shared/enum/index.d.ts +2 -0
  92. package/dist/src/shared/enum/product-type.d.ts +9 -0
  93. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  94. package/dist/{sub-table-factory-DTtDvr17.js → sub-table-factory-BBiAj7oz.js} +13 -62
  95. package/dist/{text-design-Dz0Qf2O3.js → text-design-BfXr3TcH.js} +2 -2
  96. package/dist/{throttle-Cpk1LoGk-CgtsG2CV.js → throttle-Cpk1LoGk-BtY6yO1U.js} +1 -1
  97. package/dist/{timediff-design-D9JfNqH8.js → timediff-design-BF-mVD2d.js} +1 -1
  98. package/dist/{trace-like-wrapper-BXgr0Uv3.js → trace-like-wrapper-2AsEoSS7.js} +2 -2
  99. package/dist/{value-editor.vue_vue_type_style_index_0_lang-doohzADY.js → value-editor.vue_vue_type_style_index_0_lang-D8_zt9JM.js} +2 -2
  100. package/dist/web-render/index.es.js +3 -3
  101. package/dist/{widget-barcode-XF3nCU9v.js → widget-barcode-BMnwSzpx.js} +4 -4
  102. package/dist/{widget-diagonal-DSym7fks.js → widget-diagonal-iuAFZn-R.js} +3 -3
  103. package/dist/{widget-image-CmjwkVs7.js → widget-image-sZeIt4K6.js} +5 -5
  104. package/dist/{widget-line-BX64xVfU.js → widget-line-izrJUAAT.js} +2 -2
  105. package/dist/{widget-pagination-BV89Lvjt.js → widget-pagination-CTANdU2l.js} +5 -5
  106. package/dist/{widget-power-DoSfQv92.js → widget-power-OZD7bTxW.js} +3 -3
  107. package/dist/{widget-qrcode-UGcRLC56.js → widget-qrcode-xvyklot3.js} +3 -3
  108. package/dist/{widget-rangelimit-CUHD__1H.js → widget-rangelimit-BZhTuRkT.js} +3 -3
  109. package/dist/{widget-serialnumber-CAkZR5Xl.js → widget-serialnumber-BwUHV475.js} +1 -1
  110. package/dist/{widget-text-DtYVTThu.js → widget-text-B8MzTxa3.js} +5 -5
  111. package/dist/{widget-timediff-DX_IoCMO.js → widget-timediff-YAH8bbso.js} +2 -2
  112. package/package.json +1 -1
  113. package/dist/paper-widget-design-DIhsk1I9.js +0 -4
  114. package/dist/seal-design-BhzgwVju.js +0 -4
@@ -1,14 +1,14 @@
1
- import { o as api, $ as PlatformEnum, F as FIELD_TYPE, bg as getRowId, bh as findRuntimeTableRow, b6 as RenderModeEnum, C as ComponentTypeEnum, bt as assembleRules, bu as isAttachFieldActive, aI as Dependency_ENUM, bi as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bv as fetchHistoryConsume, bw as isBomGranted, aU as renderUtils, bs as uuid2, bx as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, by as baseDataUtils, bz as initializeSealFields, Y as FormTypeEnum, bA as normalizeToArray, bB as safeParseArray, bC as BpmnNodeTypeEnum, bD as mergeByMultiKey, a8 as _export_sfc, bE as evaluateInspectionDecisionRule, bF as areValidationCommentsEqual, bG as useNocodeEmitter, bH as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
2
- import { aO, aQ, aZ, a1, bI, bJ, B, bK, z, ai, bL, bM, bN, bf, bO, aR, ay, aP, aM, aN, bP, aj, an, bQ, bR, aG, a3, ah, az, bS, a0, al, L, bT, bU, bV, O, q, P, aa, p, Q, E, bW, bX, ax, aw, a6, a2, a4, a5, a7, f, bY, am, aq, ak, bZ, b_, b$, c0, be, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, bj, cb, cc, aX, cd, a_, a$, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, aW, co, b0, bc, cp, cq, cr, ao, u, cs, ct, cu, bk, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
3
- import { Q as getRuntimeDataFieldId, C as parseRuntimeFieldPath, T as buildRuntimeFieldPath, U as resolveRuntimeFieldProps, V as resolveRuntimeFieldState, W as getRuntimeDependencyOutputKey, X as isRowAddedInCurrentFormChange, q as MaterialConsumptionPatternEnum, Y as MaterialConsumeTableController, Z as setFormulaParamsConfig, $ as normalizeRuntime, J as createRuntimeInstanceContext, R as RuntimeFormStateStore, a0 as RuntimeSheetService, g as getBusinessFieldKey, a1 as validateObjectBomQtyOnSubmit, a2 as closeValidatorPopovers, a3 as enrichFormChangeRowDetails, N as NCB_PROVIDE, K as RuntimeInstanceRegistry, a4 as useMaterialBalance, a5 as collectFormChangeFieldLocations, a6 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-BWI4Gaqi.js";
4
- import { B as B2, a7 as a72, h, _, a8, O as O2, a9, P as P2, E as E2, aa as aa2, ab, ac, ad, ae, M, a, af, d, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, y, ao as ao2, p as p2, ap, e, aq as aq2, ar, as, at, o, z as z2, au, av, aw as aw2, ax as ax2, i, A, f as f2, ay as ay2, az as az2, aA, aB, aC, aD, t, r, aE, w, l, aF, s, aG as aG2, G, H, u as u2, x, I, k, m, F, j, v } from "../dynamic-table-action-BWI4Gaqi.js";
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";
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-DTtDvr17.js";
9
- import { A as A2, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DTtDvr17.js";
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";
10
10
  import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
11
- import { B as B3, F as F2, M as M3, a as a11, u as u3 } from "../mb-render-Bs9S9oFn.js";
11
+ import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-CDFmykM_.js";
12
12
  const InstanceStatusValues = {
13
13
  /** 作废状态 */
14
14
  ABANDON: "ABANDON",
@@ -155,6 +155,32 @@ async function fetchOperationReceiveQty(paramsConfig) {
155
155
  const num = Number(raw);
156
156
  return Number.isNaN(num) ? void 0 : num;
157
157
  }
158
+ const INSPECTION_MODULE_QTY_API = {
159
+ modelCategory: "entity",
160
+ modelKey: "em_inspection_list",
161
+ bsKey: "getById"
162
+ };
163
+ function isRecord(value) {
164
+ return value !== null && typeof value === "object" && !Array.isArray(value);
165
+ }
166
+ function parseInspectionModuleQty(res) {
167
+ if (!isRecord(res) || res.ok === false) return void 0;
168
+ const payload = isRecord(res.data) ? res.data : res;
169
+ const row = isRecord(payload.data) ? payload.data : payload;
170
+ const raw = row.inspection_number_;
171
+ if (typeof raw !== "number" && typeof raw !== "string") return void 0;
172
+ if (typeof raw === "string" && raw.trim() === "") return void 0;
173
+ const qty = Number(raw);
174
+ return Number.isFinite(qty) ? qty : void 0;
175
+ }
176
+ async function fetchInspectionModuleQty(txnInstId) {
177
+ if (txnInstId == null || txnInstId === "") return void 0;
178
+ const res = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
179
+ INSPECTION_MODULE_QTY_API,
180
+ { id: txnInstId }
181
+ );
182
+ return parseInspectionModuleQty(res);
183
+ }
158
184
  function listRuntimeFieldRows(record, subFieldKey, targetFieldId) {
159
185
  if (!subFieldKey) {
160
186
  return [{ row: record.formState.state }];
@@ -213,7 +239,7 @@ class RuntimeFieldInitializer {
213
239
  for (const { widget, sheetId, referenceInfo } of this.record.fields.allWidgets()) {
214
240
  const props = widget.props;
215
241
  const fieldId = getRuntimeDataFieldId(props);
216
- const kind = props.fieldType === FIELD_TYPE.UDI || props.bizType === FIELD_TYPE.UDI ? "udi" : props.bizType === FIELD_TYPE.OPERATION_RECEIVE_QTY ? "receive" : props.tmplId && [FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(props.fieldType) ? "count" : this.info.isMockReport && props.fieldType === FIELD_TYPE.RECORD_NO && props.newSpecificConfig?.newSnNo ? "recordNo" : void 0;
242
+ const kind = props.fieldType === FIELD_TYPE.UDI || props.bizType === FIELD_TYPE.UDI ? "udi" : props.bizType === FIELD_TYPE.OPERATION_RECEIVE_QTY ? "receive" : props.fieldType === FIELD_TYPE.INSPECTION_MODULE_QTY || props.bizType === FIELD_TYPE.INSPECTION_MODULE_QTY ? "inspection" : props.tmplId && [FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(props.fieldType) ? "count" : this.info.isMockReport && props.fieldType === FIELD_TYPE.RECORD_NO && props.newSpecificConfig?.newSnNo ? "recordNo" : void 0;
217
243
  if (!kind || !fieldId || props.isFieldModel) continue;
218
244
  for (const { row } of listRuntimeFieldRows(
219
245
  this.record,
@@ -225,11 +251,13 @@ class RuntimeFieldInitializer {
225
251
  if (this.initialized.get(key) === toRaw(row)) continue;
226
252
  this.initialized.set(key, toRaw(row));
227
253
  if (props.subFieldKey ? row.id_ : (this.info.instanceStatus ?? this.metadata.instanceStatus) !== InstanceStatusValues.UNFILLED) {
228
- if (kind !== "recordNo") continue;
254
+ if (kind !== "recordNo" && kind !== "inspection") continue;
229
255
  }
230
256
  const previous = row[fieldId];
231
257
  if (kind === "udi" && isPresent(previous)) continue;
232
258
  const path = this.record.formState.getFieldPath(row, fieldId);
259
+ if (kind === "inspection" && (isPresent(previous) || this.record.formState.isUserModified(path)))
260
+ continue;
233
261
  this.tasks.add(key);
234
262
  const task = this.record.asyncTasks.run(
235
263
  key,
@@ -251,7 +279,11 @@ class RuntimeFieldInitializer {
251
279
  sheetId,
252
280
  blockOnFailure: false
253
281
  }
254
- ).finally(() => this.tasks.delete(key));
282
+ ).finally(() => {
283
+ this.tasks.delete(key);
284
+ if (kind === "inspection" && this.initialized.get(key) === toRaw(row) && !isPresent(row[fieldId]))
285
+ this.initialized.delete(key);
286
+ });
255
287
  pending.push(task);
256
288
  }
257
289
  }
@@ -263,18 +295,31 @@ class RuntimeFieldInitializer {
263
295
  }
264
296
  await Promise.allSettled(pending);
265
297
  }
266
- request(key, fetch) {
298
+ request(key, fetch, cacheResult = true) {
267
299
  const existing = this.requests.get(key);
268
300
  if (existing) return existing;
269
- const task = fetch().catch((error) => {
270
- this.requests.delete(key);
271
- throw error;
272
- });
301
+ const task = fetch().then(
302
+ (value) => {
303
+ if (!cacheResult) this.requests.delete(key);
304
+ return value;
305
+ },
306
+ (error) => {
307
+ this.requests.delete(key);
308
+ throw error;
309
+ }
310
+ );
273
311
  this.requests.set(key, task);
274
312
  return task;
275
313
  }
276
314
  async readDefault(kind, props) {
277
315
  if (kind === "recordNo") return props.newSpecificConfig.newSnNo;
316
+ if (kind === "inspection") {
317
+ return this.request(
318
+ `inspection:${this.metadata.txnInstId ?? ""}`,
319
+ () => fetchInspectionModuleQty(this.metadata.txnInstId),
320
+ false
321
+ );
322
+ }
278
323
  if (kind === "count") {
279
324
  const params = { ...JSON.parse(this.metadata.params || "{}"), ...this.info.paramsConfig };
280
325
  const name = params.materialNo || this.metadata.materialNo;
@@ -491,6 +536,13 @@ class RuntimeRuleCompiler {
491
536
  const props = widget.props ?? {};
492
537
  const targetFieldId = getRuntimeDataFieldId(props);
493
538
  if (!targetFieldId) return;
539
+ const fieldMain = findFieldMain(props.bizType, props.fieldType);
540
+ const tableProfile = getProfileByTableType(props.subModelType) ?? getBusinessProfileByRefModelType(props.subModelType);
541
+ const tableProps = tableProfile && isBusinessSubTableProfile(tableProfile) ? findFieldProfile(tableProfile, props.field)?.defaultProps : void 0;
542
+ const numeric = fieldMain?.render === "rd:number" || fieldMain?.render === "rd:double";
543
+ const defaultMinValue = numeric && [tableProps, fieldMain?.defaultProps].some(
544
+ (defaults2) => defaults2?.enableRangeValidate === true && defaults2.minValidateMode === RangeValidateMode.Fixed_Number && defaults2.minValue === 0
545
+ ) ? 0 : void 0;
494
546
  getRulePaths(
495
547
  this.record,
496
548
  props,
@@ -510,6 +562,7 @@ class RuntimeRuleCompiler {
510
562
  const rules = assembleRules({
511
563
  showRequired: state.required,
512
564
  fieldType: props.fieldType,
565
+ defaultMinValue,
513
566
  validatorInfo: {
514
567
  showModelName: props.newSpecificConfig?.newModelName,
515
568
  showModelKey: props.modelKey ?? this.basicInfo.modelKey,
@@ -809,6 +862,10 @@ class FormTmplBomController {
809
862
  field2TableMap = {};
810
863
  /** 默认物料消耗模式 */
811
864
  defaultMCPattern = MaterialConsumptionPatternEnum.RECORD;
865
+ /** 表单实例身份与 BOM 数据是否存在无关,模板展示也会创建完整控制器。 */
866
+ hasFormInstance = false;
867
+ /** 按页面中的表解析后的配置,页面与打印共用。 */
868
+ resolvedTmplBomList = [];
812
869
  constructor() {
813
870
  }
814
871
  /**
@@ -826,7 +883,9 @@ class FormTmplBomController {
826
883
  productQty: this.productQty,
827
884
  historyData: this.historyData,
828
885
  field2TableMap: this.field2TableMap,
829
- defaultMCPattern: this.defaultMCPattern
886
+ defaultMCPattern: this.defaultMCPattern,
887
+ hasFormInstance: this.hasFormInstance,
888
+ resolvedTmplBomList: this.resolvedTmplBomList
830
889
  })
831
890
  );
832
891
  (view.tmplBomList ?? []).forEach((config) => {
@@ -878,11 +937,11 @@ class FormTmplBomController {
878
937
  * @readonly
879
938
  */
880
939
  get bomEntries() {
881
- return this.formInstBom?.bomEntries;
940
+ return this.formInstBom?.bomEntries ?? [];
882
941
  }
883
942
  /** 表单模板bom信息配置列表 */
884
943
  get tmplBomList() {
885
- return this.formInstBom?.formTmplBomList;
944
+ return this.resolvedTmplBomList;
886
945
  }
887
946
  /**
888
947
  * bom那边指定的当前工序的开关
@@ -891,30 +950,55 @@ class FormTmplBomController {
891
950
  get enableSequenceLoading() {
892
951
  return !!this.formInstBom?.sequenceEntries?.[0]?.enabled_;
893
952
  }
894
- /**
895
- * 初始化模板的物料消耗的配置
896
- */
953
+ createDefaultConfig(table) {
954
+ return {
955
+ table_key_: `${table.tableKey}:${table.masterSubField}`,
956
+ material_loading_model_enabled_: false,
957
+ material_consumption_pattern_: MaterialConsumptionPatternEnum.RECORD,
958
+ bom_init_enabled_: false,
959
+ personal_bom_enabled_: false,
960
+ sequence_loading_enabled_: false,
961
+ entries_: []
962
+ };
963
+ }
964
+ /** 有实例时读取实例配置,无实例时仅创建默认展示控制器。 */
897
965
  async init(data) {
898
- if (!data.formInstBom) {
899
- return;
900
- }
901
- this.operationId = data.operationId;
902
- this.materialNo = data.materialNo;
903
- this.formInstBom = data.formInstBom;
904
- this.productQty = data.productQty ?? 0;
905
- this.historyData = await fetchHistoryConsume({
906
- production_identification_id_: this.formInstBom.productionIdentificationId,
907
- routing_operation_id_: this.operationId
908
- });
909
- const isGranted = await isBomGranted();
910
- this.defaultMCPattern = isGranted ? MaterialConsumptionPatternEnum.BOM : MaterialConsumptionPatternEnum.RECORD;
966
+ this.hasFormInstance = data.hasFormInstance;
967
+ this.operationId = data.operationId ?? "";
968
+ this.materialNo = data.materialNo ?? "";
969
+ this.formInstBom = this.hasFormInstance ? data.formInstBom ?? null : null;
970
+ this.productQty = this.formInstBom ? data.productQty ?? 0 : data.productQty;
971
+ this.historyData = [];
972
+ this.defaultMCPattern = MaterialConsumptionPatternEnum.RECORD;
911
973
  this.tableControllers = {};
912
- this.tmplBomList.forEach((cur) => {
913
- const controller = new MaterialConsumeTableController(this, cur);
914
- const [tableKey, fieldKey] = cur.table_key_.split(":");
915
- this.tableControllers[tableKey] = controller;
916
- this.field2TableMap[fieldKey] = tableKey;
917
- }, {});
974
+ this.field2TableMap = {};
975
+ const instanceConfigs = new Map(
976
+ (this.formInstBom?.formTmplBomList ?? []).filter((config) => !config.deleted_ && config.table_key_).map((config) => [config.table_key_, config])
977
+ );
978
+ this.resolvedTmplBomList = data.materialConsumeTableList.map((table) => {
979
+ const key = `${table.tableKey}:${table.masterSubField}`;
980
+ const source = instanceConfigs.get(key);
981
+ if (!source) return this.createDefaultConfig(table);
982
+ const config = cloneDeep(source);
983
+ config.entries_ ??= [];
984
+ return config;
985
+ });
986
+ if (this.formInstBom) {
987
+ if (this.formInstBom.productionIdentificationId && this.operationId) {
988
+ this.historyData = await fetchHistoryConsume({
989
+ production_identification_id_: this.formInstBom.productionIdentificationId,
990
+ routing_operation_id_: this.operationId
991
+ });
992
+ }
993
+ const isGranted = await isBomGranted();
994
+ this.defaultMCPattern = isGranted ? MaterialConsumptionPatternEnum.BOM : MaterialConsumptionPatternEnum.RECORD;
995
+ }
996
+ data.materialConsumeTableList.forEach((table, index) => {
997
+ const config = this.resolvedTmplBomList[index];
998
+ const controller = new MaterialConsumeTableController(this, config);
999
+ this.tableControllers[table.tableKey] = controller;
1000
+ this.field2TableMap[table.masterSubField] = table.tableKey;
1001
+ });
918
1002
  }
919
1003
  /**
920
1004
  * 根据字段key获取子表控制器
@@ -1299,6 +1383,8 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1299
1383
  }
1300
1384
  await tmplBomC.init({
1301
1385
  formInstBom: selfInfo.formInstBom,
1386
+ materialConsumeTableList: businessIndex.materialConsumeTableList,
1387
+ hasFormInstance: isFormInstance,
1302
1388
  operationId: paramsConfig?.routingOperationId,
1303
1389
  materialNo,
1304
1390
  productQty: paramsConfig?.productQty
@@ -3270,70 +3356,70 @@ function filterAnnotationItemsUpToCurrent(items) {
3270
3356
  });
3271
3357
  }
3272
3358
  export {
3273
- aO as AITooltips,
3274
- A2 as AllocateTableCore,
3359
+ aQ as AITooltips,
3360
+ A3 as AllocateTableCore,
3275
3361
  B3 as BaseFormModelFetcher,
3276
- aQ as BinarizeMethodOptions,
3277
- aZ as BindCmpStyleEnum,
3278
- a1 as BooleanShowMode,
3362
+ aS as BinarizeMethodOptions,
3363
+ b0 as BindCmpStyleEnum,
3364
+ a2 as BooleanShowMode,
3279
3365
  B2 as BorderTD,
3280
3366
  BpmnNodeTypeEnum,
3281
- bI as BpmnSignatureTypeEnum,
3282
- bJ as ButtonTypeEnum,
3367
+ bL as BpmnSignatureTypeEnum,
3368
+ bM as ButtonTypeEnum,
3283
3369
  B as BwipCodeType,
3284
- bK as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3285
- z as CellType,
3286
- ai as CellWidgetViewState,
3370
+ bN as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3371
+ A as CellType,
3372
+ aj as CellWidgetViewState,
3287
3373
  CheckDsTypeEnum,
3288
- bL as CodeRunner,
3374
+ bO as CodeRunner,
3289
3375
  ComponentTypeEnum,
3290
- bM as Config_Fields,
3291
- bN as ControlStatusEnum,
3292
- bf as DEVICE_GROUP_QUERY_KEY,
3293
- bO as DEVICE_SEARCH_API,
3294
- aR as DateFormat,
3295
- ay as DecimalDisplayMode,
3296
- aP as DenoiseMethodOptions,
3297
- a72 as DeviceConnector,
3298
- aM as DeviceLink,
3299
- h as DeviceLinkTmplUtil,
3300
- aN as DeviceParamsTypeTitle,
3376
+ bP as Config_Fields,
3377
+ bQ as ControlStatusEnum,
3378
+ bi as DEVICE_GROUP_QUERY_KEY,
3379
+ bR as DEVICE_SEARCH_API,
3380
+ aT as DateFormat,
3381
+ aC as DecimalDisplayMode,
3382
+ aR as DenoiseMethodOptions,
3383
+ a82 as DeviceConnector,
3384
+ aO as DeviceLink,
3385
+ i as DeviceLinkTmplUtil,
3386
+ aP as DeviceParamsTypeTitle,
3301
3387
  D as DevicePartConsumeTableCore,
3302
- bP as DeviceStatus,
3303
- aj as DiagonalDirection,
3304
- an as DiagonalVertex,
3388
+ bS as DeviceStatus,
3389
+ ak as DiagonalDirection,
3390
+ ao as DiagonalVertex,
3305
3391
  _ as DocumentLayout,
3306
- a8 as DocumentLoading,
3307
- O2 as DocumentPaper,
3308
- a9 as DynamicQuickFillModal,
3309
- P2 as DynamicTableAction,
3310
- bQ as EBR_PROVIDE_ENUM,
3311
- bR as EFieldBizTypeEnum,
3312
- E2 as EMPTY_PRODUCT_VERSION_ID,
3313
- aG as EmptySymbol,
3314
- a3 as FallbackSignTypeEnum,
3315
- ah as FieldSysVarDefaultValueEnum,
3392
+ a9 as DocumentLoading,
3393
+ P2 as DocumentPaper,
3394
+ aa as DynamicQuickFillModal,
3395
+ Q as DynamicTableAction,
3396
+ bT as EBR_PROVIDE_ENUM,
3397
+ bU as EFieldBizTypeEnum,
3398
+ E as EMPTY_PRODUCT_VERSION_ID,
3399
+ aI as EmptySymbol,
3400
+ a4 as FallbackSignTypeEnum,
3401
+ ai as FieldSysVarDefaultValueEnum,
3316
3402
  FillingTypeEnum,
3317
- aa2 as FixedQuickFillModal,
3403
+ ab2 as FixedQuickFillModal,
3318
3404
  FormAnnotationController,
3319
- F2 as FormModelController,
3405
+ F as FormModelController,
3320
3406
  FormTmplBomController,
3321
- ab as FormTmplConfigController,
3407
+ ac as FormTmplConfigController,
3322
3408
  FormTypeEnum,
3323
- az as ImageDisplayModeEnum,
3409
+ aD as ImageDisplayModeEnum,
3324
3410
  InstanceStatusValues,
3325
- bS as JoinModelTypeEum,
3326
- ac as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3327
- ad as LEGACY_RUNTIME_SHEET_ID,
3328
- ae as LEGACY_RUNTIME_SHEET_TITLE,
3329
- a0 as LabelPosition,
3330
- al as LineDirection,
3411
+ bV as JoinModelTypeEum,
3412
+ ad as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3413
+ ae as LEGACY_RUNTIME_SHEET_ID,
3414
+ af as LEGACY_RUNTIME_SHEET_TITLE,
3415
+ a1 as LabelPosition,
3416
+ am as LineDirection,
3331
3417
  L as LineType,
3332
- bT as MAX_FRONT_ROW_KEY_LENGTH,
3418
+ bW as MAX_FRONT_ROW_KEY_LENGTH,
3333
3419
  M as MAX_RUNTIME_SHEETS,
3334
3420
  a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
3335
3421
  M3 as MBRender,
3336
- af as MCDataUtil,
3422
+ ag as MCDataUtil,
3337
3423
  a11 as MCRender,
3338
3424
  d as MULTI_SHEET_SCHEMA_VERSION,
3339
3425
  MaterialConsumeTableController,
@@ -3341,179 +3427,179 @@ export {
3341
3427
  M2 as MaterialRequisitionTableCore,
3342
3428
  MaterialStatusEnum,
3343
3429
  a10 as MaterialSubstitutionTableCore,
3344
- bU as MobileFillTypeEnum,
3430
+ bX as MobileFillTypeEnum,
3345
3431
  NCB_PROVIDE,
3346
- ag as OCR_MODEL_PRECISION_ENUM_KEY,
3347
- bV as OfficeTypeEnum,
3432
+ ah as OCR_MODEL_PRECISION_ENUM_KEY,
3433
+ bY as OfficeTypeEnum,
3348
3434
  O as Orientation,
3349
- q as PageSizeEnum,
3435
+ s as PageSizeEnum,
3350
3436
  P as PaginationFormat,
3351
- aa as PaperSizeMap,
3352
- p as PaperWidgeType,
3353
- Q as PaperWidgeValueType,
3354
- E as ParamModelTypeEnum,
3437
+ ab as PaperSizeMap,
3438
+ q as PaperWidgeType,
3439
+ R as PaperWidgeValueType,
3440
+ G as ParamModelTypeEnum,
3355
3441
  P3 as PartStocktakeTableCore,
3356
3442
  PlatformEnum,
3357
- bW as PosEnum,
3443
+ bZ as PosEnum,
3358
3444
  b as PretreatmentListTableCore,
3359
3445
  c as ProfileDrivenSubTableCore,
3360
- bX as RUNTIME_COLUMN_ROW_KEY,
3361
- ax as RangeCompareOp,
3362
- aw as RangeValidateMode,
3446
+ b_ as RUNTIME_COLUMN_ROW_KEY,
3447
+ ay as RangeCompareOp,
3448
+ RangeValidateMode,
3363
3449
  RenderModeEnum,
3364
- ah2 as RuntimeAsyncTaskCoordinator,
3365
- ai2 as RuntimeDependencyService,
3366
- aj2 as RuntimeFieldRegistry,
3450
+ ai2 as RuntimeAsyncTaskCoordinator,
3451
+ aj2 as RuntimeDependencyService,
3452
+ ak2 as RuntimeFieldRegistry,
3367
3453
  RuntimeFormStateStore,
3368
3454
  RuntimeInstanceController,
3369
- ak2 as RuntimeInstanceEventBus,
3455
+ al2 as RuntimeInstanceEventBus,
3370
3456
  RuntimeInstanceRegistry,
3371
- al2 as RuntimePersistenceCoordinator,
3457
+ am2 as RuntimePersistenceCoordinator,
3372
3458
  RuntimeRuleCompiler,
3373
3459
  RuntimeSheetService,
3374
- am2 as RuntimeValidationService,
3375
- a6 as SignShowTypeEnum,
3376
- a2 as SignatureImageDirectionEnum,
3377
- a4 as SignatureNumberTypeEnum,
3378
- a5 as SignatureTimeTypeEnum,
3379
- a7 as SignatureTypeEnum,
3460
+ an2 as RuntimeValidationService,
3461
+ a7 as SignShowTypeEnum,
3462
+ a3 as SignatureImageDirectionEnum,
3463
+ a5 as SignatureNumberTypeEnum,
3464
+ a6 as SignatureTimeTypeEnum,
3465
+ a8 as SignatureTypeEnum,
3380
3466
  d2 as SterilizeBatchTableCore,
3381
3467
  e2 as StocktakeTableCore,
3382
- an2 as SubTableCore,
3468
+ ao2 as SubTableCore,
3383
3469
  SubTableCoreFactory,
3384
- f as SubTableType,
3385
- bY as SummaryApproveHisTypeEnum,
3386
- am as TimeDiffFormat,
3387
- aq as ViewTypeEnum,
3470
+ h as SubTableType,
3471
+ b$ as SummaryApproveHisTypeEnum,
3472
+ an as TimeDiffFormat,
3473
+ ar as ViewTypeEnum,
3388
3474
  W as WarehouseInTableCore,
3389
- f3 as WarehouseInboundTableCore,
3475
+ f as WarehouseInboundTableCore,
3390
3476
  g as WarehouseOutTableCore,
3391
- h2 as WarehouseOutboundTableCore,
3392
- ak as WidgetImageSizeMode,
3393
- bZ as applyCheckDsDataToRuntime,
3394
- y as applyConsumeObjectTraceChange,
3395
- b_ as applyMedProCheckDsDataToRuntime,
3477
+ h3 as WarehouseOutboundTableCore,
3478
+ al as WidgetImageSizeMode,
3479
+ c0 as applyCheckDsDataToRuntime,
3480
+ z as applyConsumeObjectTraceChange,
3481
+ c1 as applyMedProCheckDsDataToRuntime,
3396
3482
  baseDataUtils,
3397
- b$ as bindRuntimeTableColumns,
3398
- c0 as buildDeviceBaseQuery,
3399
- be as buildDeviceFilterQuery,
3400
- ao2 as buildFormChangeDisplayRows,
3401
- p2 as buildObjectLotExtraQuery,
3483
+ c2 as bindRuntimeTableColumns,
3484
+ c3 as buildDeviceBaseQuery,
3485
+ bh as buildDeviceFilterQuery,
3486
+ ap2 as buildFormChangeDisplayRows,
3487
+ q2 as buildObjectLotExtraQuery,
3402
3488
  buildRuntimeFieldPath,
3403
- c1 as calcFillData,
3404
- c2 as calcUtils,
3489
+ c4 as calcFillData,
3490
+ c5 as calcUtils,
3405
3491
  calculateFormula,
3406
3492
  collectAnnotationItemsByLocation,
3407
3493
  collectFormChangeFieldLocations,
3408
3494
  commonUtils,
3409
3495
  convertHistoricalAnnotationLocation,
3410
- ap as convertV1Runtime,
3496
+ aq as convertV1Runtime,
3411
3497
  e as createRuntimeDocumentV2,
3412
3498
  createRuntimeInstanceContext,
3413
- c3 as decodeTableCellRowKey,
3414
- aq2 as detailsHaveFormChangeRowOps,
3415
- c4 as encodeTableCellRowKey,
3499
+ c6 as decodeTableCellRowKey,
3500
+ ar2 as detailsHaveFormChangeRowOps,
3501
+ c7 as encodeTableCellRowKey,
3416
3502
  enrichFormChangeRowDetails,
3417
- c5 as ensureFrontRowKey,
3418
- c6 as ensureTableRowKeys,
3419
- ar as extractFormChangeRowDetails,
3420
- c7 as extractKeywordFromQueryData,
3421
- c8 as fetchCheckDsDataForTable,
3422
- c9 as fetchCustomCheckDsData,
3503
+ c8 as ensureFrontRowKey,
3504
+ c9 as ensureTableRowKeys,
3505
+ as as extractFormChangeRowDetails,
3506
+ ca as extractKeywordFromQueryData,
3507
+ cb as fetchCheckDsDataForTable,
3508
+ cc as fetchCustomCheckDsData,
3423
3509
  fetchHistoryConsume,
3424
- ca as fetchMedProCheckDsData,
3510
+ cd as fetchMedProCheckDsData,
3425
3511
  fetchOperationReceiveQty,
3426
3512
  fetchUdi,
3427
3513
  filterAnnotationItemsUpToCurrent,
3428
- bj as findRuntimeParentRow,
3429
- cb as findRuntimeTableCell,
3514
+ bm as findRuntimeParentRow,
3515
+ ce as findRuntimeTableCell,
3430
3516
  findRuntimeTableRow,
3431
3517
  getAppInfo,
3432
3518
  getBusinessFieldKey,
3433
- cc as getCheckTableSnapshotKey,
3434
- as as getFormChangeRowKey,
3435
- at as getFormChangeRowOp,
3436
- aX as getLotLockedReason,
3437
- o as getObjectBomMaterialLotQuery,
3438
- z2 as getObjectBomProductQuery,
3519
+ cf as getCheckTableSnapshotKey,
3520
+ at as getFormChangeRowKey,
3521
+ au as getFormChangeRowOp,
3522
+ aZ as getLotLockedReason,
3523
+ p as getObjectBomMaterialLotQuery,
3524
+ A2 as getObjectBomProductQuery,
3439
3525
  getParseFormulaVarInfos,
3440
- cd as getParseRuleConfig,
3441
- a_ as getParseRuleInfo,
3442
- a$ as getParseRuleValue,
3443
- ce as getReinspectionDate,
3444
- cf as getRenderedRuntimeTableCell,
3526
+ cg as getParseRuleConfig,
3527
+ b1 as getParseRuleInfo,
3528
+ b2 as getParseRuleValue,
3529
+ ch as getReinspectionDate,
3530
+ ci as getRenderedRuntimeTableCell,
3445
3531
  getRuntimeDataFieldId,
3446
3532
  getRuntimeDependencyOutputKey,
3447
- au as getSubTableQuickFillInfo,
3533
+ av as getSubTableQuickFillInfo,
3448
3534
  getSuiteKey,
3449
- cg as handleOldConfig,
3450
- ch as hasAnyCheckTableSnapshot,
3451
- ci as hasByTableCheckTableSnapshot,
3452
- cj as hasSharedCheckTableSnapshot,
3453
- av as isAnnLocationSelected,
3454
- aw2 as isBlank,
3535
+ cj as handleOldConfig,
3536
+ ck as hasAnyCheckTableSnapshot,
3537
+ cl as hasByTableCheckTableSnapshot,
3538
+ cm as hasSharedCheckTableSnapshot,
3539
+ aw as isAnnLocationSelected,
3540
+ ax as isBlank,
3455
3541
  isBomGranted,
3456
3542
  isEdhrSuite,
3457
3543
  isEqmSuite,
3458
- ax2 as isFormChangeGhostRow,
3459
- ck as isMedProSuite,
3544
+ ay2 as isFormChangeGhostRow,
3545
+ cn as isMedProSuite,
3460
3546
  isRowAddedInCurrentFormChange,
3461
- cl as isTableRowKeyMatch,
3462
- cm as jsonSchemaUtils,
3463
- cn as judgeUnique,
3464
- aW as materialCheck,
3465
- co as migrateDiagonalDirectionToVertex,
3547
+ co as isTableRowKeyMatch,
3548
+ cp as jsonSchemaUtils,
3549
+ cq as judgeUnique,
3550
+ aY as materialCheck,
3551
+ cr as migrateDiagonalDirectionToVertex,
3466
3552
  nextFormChangeRowViewHistoryId,
3467
- i as normalizeAIOcrTmpl,
3468
- A as normalizeHistoricalAutofillRow,
3469
- f2 as normalizeHistoricalBusinessRow,
3470
- ay2 as normalizeHistoricalFieldConfig,
3471
- b0 as normalizeRefLoaderResult,
3553
+ j as normalizeAIOcrTmpl,
3554
+ C as normalizeHistoricalAutofillRow,
3555
+ h2 as normalizeHistoricalBusinessRow,
3556
+ az as normalizeHistoricalFieldConfig,
3557
+ b3 as normalizeRefLoaderResult,
3472
3558
  normalizeRuntime,
3473
3559
  parseFrontConfig,
3474
3560
  parseRuntimeFieldPath,
3475
3561
  parseUdi,
3476
- az2 as pickObjectFieldKeys,
3477
- aA as recordSubtableRowAdd,
3478
- aB as recordSubtableRowDelete,
3479
- bc as refUtils,
3480
- cp as relocateDeletedRowsToEnd,
3562
+ aA as pickObjectFieldKeys,
3563
+ aB as recordSubtableRowAdd,
3564
+ aC2 as recordSubtableRowDelete,
3565
+ bf as refUtils,
3566
+ cs as relocateDeletedRowsToEnd,
3481
3567
  renderUtils,
3482
- cq as requestMedProCheckDsData,
3483
- cr as requestNonMedProCheckDsData,
3484
- aC as resolveAnnotationFieldLocation,
3485
- ao as resolveDiagonalVertex,
3486
- u as resolveFieldRenderComponent,
3487
- aD as resolveFormChangeRowUi,
3488
- t as resolveObjectBomEntry,
3568
+ ct as requestMedProCheckDsData,
3569
+ cu as requestNonMedProCheckDsData,
3570
+ aD2 as resolveAnnotationFieldLocation,
3571
+ ap as resolveDiagonalVertex,
3572
+ v as resolveFieldRenderComponent,
3573
+ aE as resolveFormChangeRowUi,
3574
+ w as resolveObjectBomEntry,
3489
3575
  r as resolveObjectFieldKeys,
3490
- aE as resolveRowFormChangeMark,
3576
+ aF as resolveRowFormChangeMark,
3491
3577
  resolveUdiQuery,
3492
- w as runWithFillProduct,
3493
- l as setSelectAnnotationId,
3494
- aF as setSelectMobileTdId,
3495
- s as setSelectValidatorId,
3496
- cs as sqlUtils,
3497
- ct as stockCheck,
3498
- aG2 as stripLegacyFormConfigFromPaper,
3578
+ x as runWithFillProduct,
3579
+ m as setSelectAnnotationId,
3580
+ aG as setSelectMobileTdId,
3581
+ s2 as setSelectValidatorId,
3582
+ cv as sqlUtils,
3583
+ cw as stockCheck,
3584
+ aH as stripLegacyFormConfigFromPaper,
3499
3585
  transformUtils,
3500
- G as useDependency,
3586
+ H as useDependency,
3501
3587
  useEbrWikiFactoryV2,
3502
- H as useFieldPresentation,
3503
- u3 as useFormModel,
3504
- u2 as useFormTmplConfig,
3588
+ I as useFieldPresentation,
3589
+ u2 as useFormModel,
3590
+ u as useFormTmplConfig,
3505
3591
  useMaterialBalance,
3506
3592
  useNocodeEmitter,
3507
- x as useNocodeFormWidget,
3508
- cu as useOnlineFormActionButton,
3509
- bk as useOnlineFormTransformField2Component,
3593
+ y as useNocodeFormWidget,
3594
+ cx as useOnlineFormActionButton,
3595
+ bn as useOnlineFormTransformField2Component,
3510
3596
  useRenderPageFactory,
3511
- I as useRuntimeEditorFlusher,
3512
- k as useRuntimeInstanceServices,
3513
- m as useRuntimeRowState,
3514
- F as useStyles,
3515
- j as useWidgetStaticAttrs,
3516
- v as validateObjectBomForScan,
3597
+ J as useRuntimeEditorFlusher,
3598
+ l as useRuntimeInstanceServices,
3599
+ o as useRuntimeRowState,
3600
+ G2 as useStyles,
3601
+ k as useWidgetStaticAttrs,
3602
+ v2 as validateObjectBomForScan,
3517
3603
  validateObjectBomQtyOnSubmit,
3518
- aY as validateReinspectionDate
3604
+ a_ as validateReinspectionDate
3519
3605
  };