@gct-paas/excel 0.1.40-beta.1 → 0.1.40-beta.4

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 (118) hide show
  1. package/dist/{BaseComponent-DXIDs5gk.js → BaseComponent-BcxRArl9.js} +2 -2
  2. package/dist/{VueVideoPlayer-DhyIm-g1.js → VueVideoPlayer-DjIr6Duj.js} +2 -2
  3. package/dist/{align-editor-BcbgVXRp.js → align-editor-99-Qs6Pu.js} +1 -1
  4. package/dist/{barcode-design-BiCt0aS7.js → barcode-design-BSkeINVU.js} +2 -2
  5. package/dist/base/index.es.js +308 -194
  6. package/dist/{diagonal-design-DmvWALIE.js → diagonal-design-CR7fiPt_.js} +2 -2
  7. package/dist/{dynamic-table-action-fDIIzS2J.js → dynamic-table-action-D8JTGNuH.js} +292 -138
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js} +577 -344
  9. package/dist/{edit.utils-CXmmCnxE-DxArFSxZ.js → edit.utils-CXmmCnxE-5YnG7Mod.js} +1 -1
  10. package/dist/excel.css +3294 -4159
  11. package/dist/{exceljs.min-CjKNZPlo.js → exceljs.min-Ckn1GGo5.js} +2 -2
  12. package/dist/{font-editor-DseGyVgB.js → font-editor-CIv2e95b.js} +3 -3
  13. package/dist/{image-design-Dr-L9AdG.js → image-design-Bg1m0JLl.js} +2 -2
  14. package/dist/{index-C6dFliaf.js → index-0kZW-sd4.js} +1 -1
  15. package/dist/{index-D5IrgJyh.js → index-6wZ6Y0W3.js} +2 -2
  16. package/dist/{index-r4MF8_-h.js → index-B4XMnrfl.js} +2 -2
  17. package/dist/{index-BctQMMgh.js → index-BA_C4l6u.js} +2 -2
  18. package/dist/{index-DKf57IGi.js → index-BIraya7K.js} +1 -1
  19. package/dist/{index-BdJ4ouEl.js → index-BZQrpoEw.js} +1 -1
  20. package/dist/{index-iRameN0x.js → index-BunphFuS.js} +2 -2
  21. package/dist/{index-C8OPhJhI.js → index-BzdZIihy.js} +1 -1
  22. package/dist/{index-BPgCZjqV.js → index-C7oAVon1.js} +1 -1
  23. package/dist/{index-lwjRRvDn.js → index-C8H-5Adw.js} +2 -2
  24. package/dist/{index-C4tVTc9U.js → index-CRLydLMf.js} +2 -2
  25. package/dist/{index-DKRpaNo1.js → index-CTyszA6m.js} +1 -1
  26. package/dist/{index-DrmR7WIs.js → index-CUPuw1ng.js} +2 -2
  27. package/dist/{index-CScWLXnC.js → index-CYb8lY4k.js} +2 -2
  28. package/dist/{index-BY7RGawr.js → index-CeCk3V8r.js} +2 -2
  29. package/dist/{index-CAdGL3Vp.js → index-CeMM7qev.js} +2 -2
  30. package/dist/{index-JkPJqZ_5.js → index-Cjor8DKp.js} +2 -2
  31. package/dist/{index-Nytm1-X9.js → index-CsIKJvLT.js} +53 -5
  32. package/dist/{index-B34ZIwqL.js → index-CzgWwoNs.js} +2 -2
  33. package/dist/{index-CJ9CrORT.js → index-D7DYLntD.js} +3 -3
  34. package/dist/{index-DcjOJuDw.js → index-DFJ19IKk.js} +2 -2
  35. package/dist/{index-DsCTXMxB.js → index-DG8I3apA.js} +1 -1
  36. package/dist/{index-BjI7JCne.js → index-DHvbmtBs.js} +4 -4
  37. package/dist/{index-C70T1sVm.js → index-DLZKDd1x.js} +26308 -28538
  38. package/dist/{index-BxZ3M7eP.js → index-DN83FHdO.js} +1 -1
  39. package/dist/{index-CXh-4yX8.js → index-DZxTtwzU.js} +3 -3
  40. package/dist/{index-CewKz2Ro.js → index-DbXQsLWI.js} +1 -1
  41. package/dist/{index-CX_eR36M.js → index-DgRCrbjc.js} +2 -2
  42. package/dist/{index-4acBM2Lp.js → index-Do1A3RoM.js} +2 -2
  43. package/dist/{index-CEmRRPE7.js → index-DprbnBOa.js} +2 -2
  44. package/dist/{index-hcCJUBne.js → index-DtwSR71M.js} +1 -1
  45. package/dist/{index-DNC5VG8P.js → index-OHHmkknK.js} +2 -2
  46. package/dist/{index-0W-MEvEf.js → index-k_OAhCop.js} +2 -2
  47. package/dist/{index-DqLVW6ej.js → index-mxtsA6kq.js} +3 -3
  48. package/dist/{index-B29_mID7.js → index-rYGo3i42.js} +3 -3
  49. package/dist/index.es.js +12 -10
  50. package/dist/{mb-render-BdRsSczc.js → mb-render-BW27j2qa.js} +2 -2
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js} +1 -1
  52. package/dist/{pagination-design-9Z_iRIKM.js → pagination-design-C59mi1du.js} +2 -2
  53. package/dist/paper-widget-design-BNmIT8FC.js +4 -0
  54. package/dist/{print-runtime-instance-BBOww4jg.js → print-runtime-instance-CT3EaCDJ.js} +1 -1
  55. package/dist/{print-snapshot-renderer-DGt44saz.js → print-snapshot-renderer-Bm-fpHUt.js} +3 -3
  56. package/dist/{qrcode-design-qbUjPX-B.js → qrcode-design-Brx73IFy.js} +1 -1
  57. package/dist/{revo-grid.entry-RzymRzb0.js → revo-grid.entry-CREHbVNI.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CxTEXm8Q.js → revogr-attribution_7.entry-CBUFDouS.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-DQEid83u.js → revogr-clipboard_3.entry-C9D5KQdr.js} +2 -2
  60. package/dist/{revogr-data_4.entry-ASovYZWH.js → revogr-data_4.entry-DpskbAdh.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-j_V74kgz.js → revogr-filter-panel.entry-CqdNtCzb.js} +1 -1
  62. package/dist/seal-design-XhQfBjxE.js +4 -0
  63. package/dist/{serialnumber-design-DXKTYOY7.js → serialnumber-design-CJM0MP9w.js} +1 -1
  64. package/dist/shared/index.es.js +22 -22
  65. package/dist/{single-field-drop-CLjaHjL-.js → single-field-drop-B82L3Pe3.js} +2 -2
  66. package/dist/{size-editor-C62H_eRP.js → size-editor-CybxvVWn.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/pretreatment-list-table-core.d.ts +1 -0
  77. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
  78. package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
  79. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
  80. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
  81. package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
  82. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
  83. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
  84. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
  85. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
  86. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
  87. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
  88. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
  89. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
  90. package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
  91. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
  92. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  93. package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
  94. package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
  95. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
  96. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
  97. package/dist/src/shared/components/Signature/logic/index.d.ts +14 -0
  98. package/dist/{sub-table-factory-sn1Ek1c9.js → sub-table-factory-BrwMeqWM.js} +29 -65
  99. package/dist/{text-design-CwHfwel0.js → text-design-Qem3wirw.js} +2 -2
  100. package/dist/{throttle-Cpk1LoGk-BHDq1lM3.js → throttle-Cpk1LoGk-Bm1w1voP.js} +1 -1
  101. package/dist/{timediff-design-8kCO3aXz.js → timediff-design-CiGukjs9.js} +1 -1
  102. package/dist/{trace-like-wrapper-CxPz9Trr.js → trace-like-wrapper-DrUDJDgX.js} +2 -2
  103. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js → value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js} +2 -2
  104. package/dist/web-render/index.es.js +3 -3
  105. package/dist/{widget-barcode-CRxh3tC2.js → widget-barcode-DH30z4yi.js} +4 -4
  106. package/dist/{widget-diagonal-CO586oV2.js → widget-diagonal-Bv-Eb2Fi.js} +3 -3
  107. package/dist/{widget-image-CE6kVnu5.js → widget-image-67Q9gRCG.js} +5 -5
  108. package/dist/{widget-line-Br4oIssb.js → widget-line-DP3dKXNd.js} +2 -2
  109. package/dist/{widget-pagination-BHwjrBV5.js → widget-pagination-B66PcWXU.js} +5 -5
  110. package/dist/{widget-power-BySYsE15.js → widget-power-yRy8897o.js} +3 -3
  111. package/dist/{widget-qrcode-D6b0T_Qa.js → widget-qrcode-DN3R8N41.js} +3 -3
  112. package/dist/{widget-rangelimit-DTH7nrqC.js → widget-rangelimit-zWZZMPvn.js} +3 -3
  113. package/dist/{widget-serialnumber-DVtxhNC3.js → widget-serialnumber-p7wB7-Bz.js} +1 -1
  114. package/dist/{widget-text-gBGybAXk.js → widget-text-BQO0Rf5A.js} +5 -5
  115. package/dist/{widget-timediff-aY-maVkE.js → widget-timediff-C1VxWKle.js} +2 -2
  116. package/package.json +2 -2
  117. package/dist/paper-widget-design-BGotQsIf.js +0 -4
  118. package/dist/seal-design-DP1XaAY8.js +0 -4
@@ -1,14 +1,14 @@
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-DhWpxyhm.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-DhWpxyhm.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-fDIIzS2J.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-fDIIzS2J.js";
1
+ import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bv as assembleRules, bw as isAttachFieldActive, aK as Dependency_ENUM, bk as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Z as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a9 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
2
+ import { aQ, aS, a$, a2, bK, bL, B, bM, A, aj, bN, bO, bP, bh, bQ, aT, aC, aR, aO, aP, bR, ak, ao, bS, bT, aI, a4, ai, aD, bU, a1, am, L, bV, bW, bX, O, s, P, ab, q, R, G, bY, bZ, ay, a7, a3, a5, a6, a8, h, b_, an, ar, al, b$, c0, c1, c2, bg, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bl, cd, ce, aZ, cf, b0, b1, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b2, be, cr, cs, ct, ap, v, cu, cv, cw, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-D8JTGNuH.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-D8JTGNuH.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-sn1Ek1c9.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-sn1Ek1c9.js";
10
- import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, isFieldFillTargetProtected, buildDataSourceContext } from "@gct-paas/form-base";
11
- import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BdRsSczc.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BrwMeqWM.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-BrwMeqWM.js";
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-BW27j2qa.js";
12
12
  const InstanceStatusValues = {
13
13
  /** 作废状态 */
14
14
  ABANDON: "ABANDON",
@@ -191,7 +191,7 @@ class RuntimeFieldInitializer {
191
191
  await Promise.resolve();
192
192
  this.scheduled = false;
193
193
  if (!signal.aborted && !this.disposed) await this.initialize();
194
- }).catch((error) => console.error("业务字段初始化失败", error)).finally(() => this.tasks.delete("initialize:structure"));
194
+ }).catch(() => void 0).finally(() => this.tasks.delete("initialize:structure"));
195
195
  });
196
196
  }
197
197
  record;
@@ -204,7 +204,7 @@ class RuntimeFieldInitializer {
204
204
  disposed = false;
205
205
  scheduled = false;
206
206
  unsubscribe;
207
- /** 初次加载等待全部目标;失败保留在任务中心,不能把未完成的默认值当成可提交数据。 */
207
+ /** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
208
208
  async initialize() {
209
209
  if (this.disposed || this.info.renderPurpose || this.info.platformType === PlatformEnum.INTEGRATION_PAAS_DP)
210
210
  return;
@@ -248,7 +248,8 @@ class RuntimeFieldInitializer {
248
248
  modelKey: props.modelKey,
249
249
  subModelKey: props.subModelKey
250
250
  },
251
- sheetId
251
+ sheetId,
252
+ blockOnFailure: false
252
253
  }
253
254
  ).finally(() => this.tasks.delete(key));
254
255
  pending.push(task);
@@ -260,7 +261,7 @@ class RuntimeFieldInitializer {
260
261
  this.record.asyncTasks.cancel(key);
261
262
  this.tasks.delete(key);
262
263
  }
263
- await Promise.all(pending);
264
+ await Promise.allSettled(pending);
264
265
  }
265
266
  request(key, fetch) {
266
267
  const existing = this.requests.get(key);
@@ -490,6 +491,13 @@ class RuntimeRuleCompiler {
490
491
  const props = widget.props ?? {};
491
492
  const targetFieldId = getRuntimeDataFieldId(props);
492
493
  if (!targetFieldId) return;
494
+ const fieldMain = findFieldMain(props.bizType, props.fieldType);
495
+ const tableProfile = getProfileByTableType(props.subModelType) ?? getBusinessProfileByRefModelType(props.subModelType);
496
+ const tableProps = tableProfile && isBusinessSubTableProfile(tableProfile) ? findFieldProfile(tableProfile, props.field)?.defaultProps : void 0;
497
+ const numeric = fieldMain?.render === "rd:number" || fieldMain?.render === "rd:double";
498
+ const defaultMinValue = numeric && [tableProps, fieldMain?.defaultProps].some(
499
+ (defaults2) => defaults2?.enableRangeValidate === true && defaults2.minValidateMode === RangeValidateMode.Fixed_Number && defaults2.minValue === 0
500
+ ) ? 0 : void 0;
493
501
  getRulePaths(
494
502
  this.record,
495
503
  props,
@@ -509,6 +517,7 @@ class RuntimeRuleCompiler {
509
517
  const rules = assembleRules({
510
518
  showRequired: state.required,
511
519
  fieldType: props.fieldType,
520
+ defaultMinValue,
512
521
  validatorInfo: {
513
522
  showModelName: props.newSpecificConfig?.newModelName,
514
523
  showModelKey: props.modelKey ?? this.basicInfo.modelKey,
@@ -808,6 +817,10 @@ class FormTmplBomController {
808
817
  field2TableMap = {};
809
818
  /** 默认物料消耗模式 */
810
819
  defaultMCPattern = MaterialConsumptionPatternEnum.RECORD;
820
+ /** 表单实例身份与 BOM 数据是否存在无关,模板展示也会创建完整控制器。 */
821
+ hasFormInstance = false;
822
+ /** 按页面中的表解析后的配置,页面与打印共用。 */
823
+ resolvedTmplBomList = [];
811
824
  constructor() {
812
825
  }
813
826
  /**
@@ -825,7 +838,9 @@ class FormTmplBomController {
825
838
  productQty: this.productQty,
826
839
  historyData: this.historyData,
827
840
  field2TableMap: this.field2TableMap,
828
- defaultMCPattern: this.defaultMCPattern
841
+ defaultMCPattern: this.defaultMCPattern,
842
+ hasFormInstance: this.hasFormInstance,
843
+ resolvedTmplBomList: this.resolvedTmplBomList
829
844
  })
830
845
  );
831
846
  (view.tmplBomList ?? []).forEach((config) => {
@@ -877,11 +892,11 @@ class FormTmplBomController {
877
892
  * @readonly
878
893
  */
879
894
  get bomEntries() {
880
- return this.formInstBom?.bomEntries;
895
+ return this.formInstBom?.bomEntries ?? [];
881
896
  }
882
897
  /** 表单模板bom信息配置列表 */
883
898
  get tmplBomList() {
884
- return this.formInstBom?.formTmplBomList;
899
+ return this.resolvedTmplBomList;
885
900
  }
886
901
  /**
887
902
  * bom那边指定的当前工序的开关
@@ -890,30 +905,55 @@ class FormTmplBomController {
890
905
  get enableSequenceLoading() {
891
906
  return !!this.formInstBom?.sequenceEntries?.[0]?.enabled_;
892
907
  }
893
- /**
894
- * 初始化模板的物料消耗的配置
895
- */
908
+ createDefaultConfig(table) {
909
+ return {
910
+ table_key_: `${table.tableKey}:${table.masterSubField}`,
911
+ material_loading_model_enabled_: false,
912
+ material_consumption_pattern_: MaterialConsumptionPatternEnum.RECORD,
913
+ bom_init_enabled_: false,
914
+ personal_bom_enabled_: false,
915
+ sequence_loading_enabled_: false,
916
+ entries_: []
917
+ };
918
+ }
919
+ /** 有实例时读取实例配置,无实例时仅创建默认展示控制器。 */
896
920
  async init(data) {
897
- if (!data.formInstBom) {
898
- return;
899
- }
900
- this.operationId = data.operationId;
901
- this.materialNo = data.materialNo;
902
- this.formInstBom = data.formInstBom;
903
- this.productQty = data.productQty ?? 0;
904
- this.historyData = await fetchHistoryConsume({
905
- production_identification_id_: this.formInstBom.productionIdentificationId,
906
- routing_operation_id_: this.operationId
907
- });
908
- const isGranted = await isBomGranted();
909
- this.defaultMCPattern = isGranted ? MaterialConsumptionPatternEnum.BOM : MaterialConsumptionPatternEnum.RECORD;
921
+ this.hasFormInstance = data.hasFormInstance;
922
+ this.operationId = data.operationId ?? "";
923
+ this.materialNo = data.materialNo ?? "";
924
+ this.formInstBom = this.hasFormInstance ? data.formInstBom ?? null : null;
925
+ this.productQty = this.formInstBom ? data.productQty ?? 0 : data.productQty;
926
+ this.historyData = [];
927
+ this.defaultMCPattern = MaterialConsumptionPatternEnum.RECORD;
910
928
  this.tableControllers = {};
911
- this.tmplBomList.forEach((cur) => {
912
- const controller = new MaterialConsumeTableController(this, cur);
913
- const [tableKey, fieldKey] = cur.table_key_.split(":");
914
- this.tableControllers[tableKey] = controller;
915
- this.field2TableMap[fieldKey] = tableKey;
916
- }, {});
929
+ this.field2TableMap = {};
930
+ const instanceConfigs = new Map(
931
+ (this.formInstBom?.formTmplBomList ?? []).filter((config) => !config.deleted_ && config.table_key_).map((config) => [config.table_key_, config])
932
+ );
933
+ this.resolvedTmplBomList = data.materialConsumeTableList.map((table) => {
934
+ const key = `${table.tableKey}:${table.masterSubField}`;
935
+ const source = instanceConfigs.get(key);
936
+ if (!source) return this.createDefaultConfig(table);
937
+ const config = cloneDeep(source);
938
+ config.entries_ ??= [];
939
+ return config;
940
+ });
941
+ if (this.formInstBom) {
942
+ if (this.formInstBom.productionIdentificationId && this.operationId) {
943
+ this.historyData = await fetchHistoryConsume({
944
+ production_identification_id_: this.formInstBom.productionIdentificationId,
945
+ routing_operation_id_: this.operationId
946
+ });
947
+ }
948
+ const isGranted = await isBomGranted();
949
+ this.defaultMCPattern = isGranted ? MaterialConsumptionPatternEnum.BOM : MaterialConsumptionPatternEnum.RECORD;
950
+ }
951
+ data.materialConsumeTableList.forEach((table, index) => {
952
+ const config = this.resolvedTmplBomList[index];
953
+ const controller = new MaterialConsumeTableController(this, config);
954
+ this.tableControllers[table.tableKey] = controller;
955
+ this.field2TableMap[table.masterSubField] = table.tableKey;
956
+ });
917
957
  }
918
958
  /**
919
959
  * 根据字段key获取子表控制器
@@ -960,7 +1000,7 @@ class FormTmplBomController {
960
1000
  }
961
1001
  async submitValidate() {
962
1002
  const results = await Promise.all(
963
- Object.values(this.tableControllers).map((c11) => c11.submitValidate())
1003
+ Object.values(this.tableControllers).map((c10) => c10.submitValidate())
964
1004
  );
965
1005
  const fields = {};
966
1006
  let isValid = true;
@@ -993,6 +1033,37 @@ async function getModelQueries(opts) {
993
1033
  console.log("getModelQueries", res);
994
1034
  return res;
995
1035
  }
1036
+ async function fillSterilizationDate(txnInstId, metadata, formState) {
1037
+ if (txnInstId == null || txnInstId === "") return;
1038
+ const fields = metadata.fields.filter(({ widget }) => {
1039
+ const props = widget?.props;
1040
+ return props?.fieldType === FIELD_TYPE.STERILIZATION_DATE || props?.bizType === FIELD_TYPE.STERILIZATION_DATE;
1041
+ });
1042
+ if (!fields.length) return;
1043
+ const response = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
1044
+ { modelCategory: "entity", modelKey: "em_sterilization_list", bsKey: "getOne" },
1045
+ {},
1046
+ { query: { txn_inst_id_: txnInstId } }
1047
+ );
1048
+ const data = response && "data" in response ? response.data : void 0;
1049
+ const record = Array.isArray(data) ? data[0] : data;
1050
+ const date = record && typeof record === "object" && "sterilization_date_" in record ? record.sterilization_date_ : void 0;
1051
+ if (date == null || date === "") return;
1052
+ fields.forEach(({ widget, subFieldKey }) => {
1053
+ const field = getRuntimeDataFieldId(widget?.props);
1054
+ if (!field) return;
1055
+ if (subFieldKey) {
1056
+ const rows = formState[subFieldKey];
1057
+ if (Array.isArray(rows)) {
1058
+ rows.forEach((row) => {
1059
+ if (row && typeof row === "object") row[field] = date;
1060
+ });
1061
+ }
1062
+ } else {
1063
+ formState[field] = date;
1064
+ }
1065
+ });
1066
+ }
996
1067
  function uniqueItems(items, getKey) {
997
1068
  return Array.from(new Map(items.map((item) => [getKey(item), item])).values());
998
1069
  }
@@ -1267,6 +1338,8 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1267
1338
  }
1268
1339
  await tmplBomC.init({
1269
1340
  formInstBom: selfInfo.formInstBom,
1341
+ materialConsumeTableList: businessIndex.materialConsumeTableList,
1342
+ hasFormInstance: isFormInstance,
1270
1343
  operationId: paramsConfig?.routingOperationId,
1271
1344
  materialNo,
1272
1345
  productQty: paramsConfig?.productQty
@@ -1422,6 +1495,9 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1422
1495
  ]
1423
1496
  });
1424
1497
  if (fillModeType === RenderModeEnum.FormMode) {
1498
+ if (!payload.isMockReport) {
1499
+ await fillSterilizationDate(selfInfo.txnInstId, fieldInfoMap.fieldMetadata, formState);
1500
+ }
1425
1501
  const floatingFields = sheetEntries.flatMap((entry) => {
1426
1502
  const ids = entry.dataCenter[ComponentTypeEnum.PAPER]?.props?.floatingFieldIds ?? [];
1427
1503
  return ids.map((fieldId) => entry.dataCenter[fieldId]).filter(Boolean);
@@ -1546,6 +1622,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
1546
1622
  uniqueId,
1547
1623
  () => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
1548
1624
  );
1625
+ runtimeRegistry.registerDisposable(
1626
+ uniqueId,
1627
+ watch(
1628
+ () => record.context.activeSheetId,
1629
+ (next, previous) => {
1630
+ if (next !== previous) {
1631
+ MaterialConsumeTableController.render?.destroyAllModals(uniqueId);
1632
+ }
1633
+ },
1634
+ { flush: "sync" }
1635
+ )
1636
+ );
1549
1637
  if (!mcList.length) return;
1550
1638
  const tmplBomC = record.context.services.tmplBomController;
1551
1639
  if (!tmplBomC) return;
@@ -2082,7 +2170,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2082
2170
  if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
2083
2171
  await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
2084
2172
  }).catch((error) => {
2085
- if (runtimeRegistry.get(uniqueId) === record) console.error("表单模式准备失败", error);
2173
+ if (runtimeRegistry.get(uniqueId) !== record) return;
2174
+ if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
2175
+ console.error("表单模式准备失败", error);
2086
2176
  });
2087
2177
  }
2088
2178
  async function prepareInitialView(record) {
@@ -2112,14 +2202,14 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2112
2202
  function createRuntimeDataSourceBinding(registry, payload) {
2113
2203
  const dataSourceManagerMap = shallowRef({});
2114
2204
  async function bindDataSources(record, info, selfInfo) {
2115
- if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType)) return;
2205
+ if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
2206
+ return;
2116
2207
  const isDetail = () => typeof payload.isDetailPage === "function" ? payload.isDetailPage() : payload.isDetailPage;
2117
2208
  if (isDetail()) return;
2118
2209
  const { context, formState } = record;
2119
2210
  const { uniqueId, formConfig } = context;
2120
2211
  const canExecute = () => registry.get(uniqueId) === record && info.renderModeType === RenderModeEnum.FormMode && !isDetail();
2121
2212
  const getContext = () => buildDataSourceContext({ parameters: info.paramsConfig ?? {}, instance: selfInfo });
2122
- let fieldFillRuntime;
2123
2213
  const manager = markRaw(
2124
2214
  createDataSourceManager({
2125
2215
  canExecute,
@@ -2161,22 +2251,27 @@ function createRuntimeDataSourceBinding(registry, payload) {
2161
2251
  for (const { widget } of record.fields.allWidgets()) {
2162
2252
  const config = widget.props;
2163
2253
  const fieldKey = config.field;
2164
- if (!config.subFieldKey && !config.subModelKey && fieldKey) {
2165
- targets.set(fieldKey, {
2254
+ if (fieldKey && (config.subFieldKey || !config.subModelKey)) {
2255
+ const key = config.subFieldKey ? `${config.subFieldKey}.${fieldKey}` : fieldKey;
2256
+ targets.set(key, {
2257
+ table: config.subFieldKey,
2166
2258
  field: config.isFieldModel ? config.fieldLink || fieldKey : fieldKey,
2167
2259
  isFieldModel: !!config.isFieldModel
2168
2260
  });
2169
2261
  if (config.componentDependency?.configDependency?.assignment?.expression) {
2170
- protectedTargets.add(fieldKey);
2262
+ protectedTargets.add(key);
2171
2263
  }
2172
2264
  }
2173
2265
  if (config.enableAutofill !== false) {
2174
2266
  for (const rule of config.autofillRules ?? []) {
2175
- if (!rule.toSubModel && rule.toField) protectedTargets.add(rule.toField);
2267
+ if (rule.toField)
2268
+ protectedTargets.add(
2269
+ rule.toSubModel && rule.toSubFieldKey ? `${rule.toSubFieldKey}.${rule.toField}` : rule.toField
2270
+ );
2176
2271
  }
2177
2272
  }
2178
2273
  }
2179
- fieldFillRuntime = markRaw(
2274
+ const fieldFillRuntime = markRaw(
2180
2275
  createFieldFillRuntime({
2181
2276
  preserveExistingValues: true,
2182
2277
  fills: formConfig.fieldFills ?? [],
@@ -2185,17 +2280,30 @@ function createRuntimeDataSourceBinding(registry, payload) {
2185
2280
  getForm: () => formState.state,
2186
2281
  getFormField: (key) => {
2187
2282
  const target = targets.get(key);
2283
+ if (target?.table)
2284
+ return getFieldFillColumn(
2285
+ formState.state[target.table],
2286
+ target.isFieldModel ? `_OPCT.${target.field}` : target.field
2287
+ );
2188
2288
  return target?.isFieldModel ? formState.state._OPCT?.[target.field] : get(formState.state, key);
2189
2289
  },
2190
2290
  hasTargetField: (key) => targets.has(key),
2191
2291
  canWrite: (key) => canExecute() && targets.has(key) && !isFieldFillTargetProtected(key, protectedTargets, (field) => {
2192
2292
  const target = targets.get(field);
2193
- return target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
2293
+ const path = target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
2294
+ return target?.table ? `${target.table}.${path}` : path;
2194
2295
  }),
2195
- setField: (key, value) => {
2296
+ setField: (key, value, collection) => {
2196
2297
  if (registry.get(uniqueId) !== record) throw new Error(`字段填充实例已释放:${uniqueId}`);
2197
2298
  const target = targets.get(key);
2198
- if (target.isFieldModel) {
2299
+ if (target.table) {
2300
+ const field = target.isFieldModel ? `_OPCT.${target.field}` : target.field;
2301
+ formState.setField(
2302
+ target.table,
2303
+ buildFieldFillRows(formState.state[target.table], field, value, collection),
2304
+ "async"
2305
+ );
2306
+ } else if (target.isFieldModel) {
2199
2307
  if (!formState.state._OPCT) formState.setField("_OPCT", { _DICT: {} }, "async");
2200
2308
  formState.setObjectField(
2201
2309
  formState.state._OPCT,
@@ -2221,9 +2329,13 @@ function createRuntimeDataSourceBinding(registry, payload) {
2221
2329
  throw error;
2222
2330
  }
2223
2331
  }
2224
- const stopModeWatch = watch(canExecute, (enabled) => {
2225
- if (enabled) void initializeOnce().catch(() => void 0);
2226
- }, { flush: "sync" });
2332
+ const stopModeWatch = watch(
2333
+ canExecute,
2334
+ (enabled) => {
2335
+ if (enabled) void initializeOnce().catch(() => void 0);
2336
+ },
2337
+ { flush: "sync" }
2338
+ );
2227
2339
  record.dataSourceManager = exposedManager;
2228
2340
  dataSourceManagerMap.value = { ...dataSourceManagerMap.value, [uniqueId]: exposedManager };
2229
2341
  registry.registerDisposable(uniqueId, () => {
@@ -3199,20 +3311,20 @@ function filterAnnotationItemsUpToCurrent(items) {
3199
3311
  });
3200
3312
  }
3201
3313
  export {
3202
- aO as AITooltips,
3314
+ aQ as AITooltips,
3203
3315
  A3 as AllocateTableCore,
3204
3316
  B3 as BaseFormModelFetcher,
3205
- aQ as BinarizeMethodOptions,
3317
+ aS as BinarizeMethodOptions,
3206
3318
  a$ as BindCmpStyleEnum,
3207
- a1 as BooleanShowMode,
3319
+ a2 as BooleanShowMode,
3208
3320
  B2 as BorderTD,
3209
3321
  BpmnNodeTypeEnum,
3210
3322
  bK as BpmnSignatureTypeEnum,
3211
3323
  bL as ButtonTypeEnum,
3212
3324
  B as BwipCodeType,
3213
3325
  bM as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3214
- y as CellType,
3215
- ai as CellWidgetViewState,
3326
+ A as CellType,
3327
+ aj as CellWidgetViewState,
3216
3328
  CheckDsTypeEnum,
3217
3329
  bN as CodeRunner,
3218
3330
  ComponentTypeEnum,
@@ -3221,226 +3333,228 @@ export {
3221
3333
  bh as DEVICE_GROUP_QUERY_KEY,
3222
3334
  bQ as DEVICE_SEARCH_API,
3223
3335
  aT as DateFormat,
3224
- ay as DecimalDisplayMode,
3225
- aP as DenoiseMethodOptions,
3226
- a42 as DeviceConnector,
3227
- aM as DeviceLink,
3228
- b as DeviceLinkTmplUtil,
3229
- aN as DeviceParamsTypeTitle,
3336
+ aC as DecimalDisplayMode,
3337
+ aR as DenoiseMethodOptions,
3338
+ a82 as DeviceConnector,
3339
+ aO as DeviceLink,
3340
+ i as DeviceLinkTmplUtil,
3341
+ aP as DeviceParamsTypeTitle,
3230
3342
  D as DevicePartConsumeTableCore,
3231
3343
  bR as DeviceStatus,
3232
- aj as DiagonalDirection,
3233
- an as DiagonalVertex,
3344
+ ak as DiagonalDirection,
3345
+ ao as DiagonalVertex,
3234
3346
  _ as DocumentLayout,
3235
- a52 as DocumentLoading,
3236
- J as DocumentPaper,
3237
- a62 as DynamicQuickFillModal,
3238
- K as DynamicTableAction,
3347
+ a9 as DocumentLoading,
3348
+ P2 as DocumentPaper,
3349
+ aa as DynamicQuickFillModal,
3350
+ Q as DynamicTableAction,
3239
3351
  bS as EBR_PROVIDE_ENUM,
3240
3352
  bT as EFieldBizTypeEnum,
3241
3353
  E as EMPTY_PRODUCT_VERSION_ID,
3242
- aG as EmptySymbol,
3243
- a3 as FallbackSignTypeEnum,
3244
- ah as FieldSysVarDefaultValueEnum,
3354
+ aI as EmptySymbol,
3355
+ a4 as FallbackSignTypeEnum,
3356
+ ai as FieldSysVarDefaultValueEnum,
3245
3357
  FillingTypeEnum,
3246
- a72 as FixedQuickFillModal,
3358
+ ab2 as FixedQuickFillModal,
3247
3359
  FormAnnotationController,
3248
3360
  F as FormModelController,
3249
3361
  FormTmplBomController,
3250
- a8 as FormTmplConfigController,
3362
+ ac as FormTmplConfigController,
3251
3363
  FormTypeEnum,
3252
- az as ImageDisplayModeEnum,
3364
+ aD as ImageDisplayModeEnum,
3253
3365
  InstanceStatusValues,
3254
- aR as JoinModelTypeEum,
3255
- a9 as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3256
- aa2 as LEGACY_RUNTIME_SHEET_ID,
3257
- ab as LEGACY_RUNTIME_SHEET_TITLE,
3258
- a0 as LabelPosition,
3259
- al as LineDirection,
3366
+ bU as JoinModelTypeEum,
3367
+ ad as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3368
+ ae as LEGACY_RUNTIME_SHEET_ID,
3369
+ af as LEGACY_RUNTIME_SHEET_TITLE,
3370
+ a1 as LabelPosition,
3371
+ am as LineDirection,
3260
3372
  L as LineType,
3261
- bU as MAX_FRONT_ROW_KEY_LENGTH,
3373
+ bV as MAX_FRONT_ROW_KEY_LENGTH,
3374
+ M as MAX_RUNTIME_SHEETS,
3375
+ a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
3262
3376
  M3 as MBRender,
3263
- ac as MCDataUtil,
3377
+ ag as MCDataUtil,
3264
3378
  a11 as MCRender,
3265
- M as MULTI_SHEET_SCHEMA_VERSION,
3379
+ d as MULTI_SHEET_SCHEMA_VERSION,
3266
3380
  MaterialConsumeTableController,
3267
3381
  MaterialConsumptionPatternEnum,
3268
3382
  M2 as MaterialRequisitionTableCore,
3269
3383
  MaterialStatusEnum,
3270
3384
  a10 as MaterialSubstitutionTableCore,
3271
- bV as MobileFillTypeEnum,
3385
+ bW as MobileFillTypeEnum,
3272
3386
  NCB_PROVIDE,
3273
- ad as OCR_MODEL_PRECISION_ENUM_KEY,
3274
- bW as OfficeTypeEnum,
3387
+ ah as OCR_MODEL_PRECISION_ENUM_KEY,
3388
+ bX as OfficeTypeEnum,
3275
3389
  O as Orientation,
3276
- p as PageSizeEnum,
3390
+ s as PageSizeEnum,
3277
3391
  P as PaginationFormat,
3278
- aa as PaperSizeMap,
3279
- o as PaperWidgeType,
3280
- Q as PaperWidgeValueType,
3281
- A as ParamModelTypeEnum,
3282
- P2 as PartStocktakeTableCore,
3392
+ ab as PaperSizeMap,
3393
+ q as PaperWidgeType,
3394
+ R as PaperWidgeValueType,
3395
+ G as ParamModelTypeEnum,
3396
+ P3 as PartStocktakeTableCore,
3283
3397
  PlatformEnum,
3284
- bX as PosEnum,
3285
- b3 as PretreatmentListTableCore,
3286
- c10 as ProfileDrivenSubTableCore,
3287
- bY as RUNTIME_COLUMN_ROW_KEY,
3288
- ax as RangeCompareOp,
3289
- aw as RangeValidateMode,
3398
+ bY as PosEnum,
3399
+ b as PretreatmentListTableCore,
3400
+ c as ProfileDrivenSubTableCore,
3401
+ bZ as RUNTIME_COLUMN_ROW_KEY,
3402
+ ay as RangeCompareOp,
3403
+ RangeValidateMode,
3290
3404
  RenderModeEnum,
3291
- ae as RuntimeAsyncTaskCoordinator,
3292
- af as RuntimeDependencyService,
3293
- ag as RuntimeFieldRegistry,
3405
+ ai2 as RuntimeAsyncTaskCoordinator,
3406
+ aj2 as RuntimeDependencyService,
3407
+ ak2 as RuntimeFieldRegistry,
3294
3408
  RuntimeFormStateStore,
3295
3409
  RuntimeInstanceController,
3296
- ah2 as RuntimeInstanceEventBus,
3410
+ al2 as RuntimeInstanceEventBus,
3297
3411
  RuntimeInstanceRegistry,
3298
- ai2 as RuntimePersistenceCoordinator,
3412
+ am2 as RuntimePersistenceCoordinator,
3299
3413
  RuntimeRuleCompiler,
3300
3414
  RuntimeSheetService,
3301
- aj2 as RuntimeValidationService,
3302
- a6 as SignShowTypeEnum,
3303
- a2 as SignatureImageDirectionEnum,
3304
- a4 as SignatureNumberTypeEnum,
3305
- a5 as SignatureTimeTypeEnum,
3306
- a7 as SignatureTypeEnum,
3415
+ an2 as RuntimeValidationService,
3416
+ a7 as SignShowTypeEnum,
3417
+ a3 as SignatureImageDirectionEnum,
3418
+ a5 as SignatureNumberTypeEnum,
3419
+ a6 as SignatureTimeTypeEnum,
3420
+ a8 as SignatureTypeEnum,
3307
3421
  d2 as SterilizeBatchTableCore,
3308
3422
  e2 as StocktakeTableCore,
3309
- ak2 as SubTableCore,
3423
+ ao2 as SubTableCore,
3310
3424
  SubTableCoreFactory,
3311
- f as SubTableType,
3312
- bZ as SummaryApproveHisTypeEnum,
3313
- am as TimeDiffFormat,
3314
- aq as ViewTypeEnum,
3425
+ h as SubTableType,
3426
+ b_ as SummaryApproveHisTypeEnum,
3427
+ an as TimeDiffFormat,
3428
+ ar as ViewTypeEnum,
3315
3429
  W as WarehouseInTableCore,
3316
- f3 as WarehouseInboundTableCore,
3430
+ f as WarehouseInboundTableCore,
3317
3431
  g as WarehouseOutTableCore,
3318
- h2 as WarehouseOutboundTableCore,
3319
- ak as WidgetImageSizeMode,
3320
- b_ as applyCheckDsDataToRuntime,
3321
- q as applyConsumeObjectTraceChange,
3322
- b$ as applyMedProCheckDsDataToRuntime,
3432
+ h3 as WarehouseOutboundTableCore,
3433
+ al as WidgetImageSizeMode,
3434
+ b$ as applyCheckDsDataToRuntime,
3435
+ z as applyConsumeObjectTraceChange,
3436
+ c0 as applyMedProCheckDsDataToRuntime,
3323
3437
  baseDataUtils,
3324
- c0 as bindRuntimeTableColumns,
3325
- c1 as buildDeviceBaseQuery,
3438
+ c1 as bindRuntimeTableColumns,
3439
+ c2 as buildDeviceBaseQuery,
3326
3440
  bg as buildDeviceFilterQuery,
3327
- al2 as buildFormChangeDisplayRows,
3328
- k as buildObjectLotExtraQuery,
3441
+ ap2 as buildFormChangeDisplayRows,
3442
+ q2 as buildObjectLotExtraQuery,
3329
3443
  buildRuntimeFieldPath,
3330
- c2 as calcFillData,
3331
- c3 as calcUtils,
3444
+ c3 as calcFillData,
3445
+ c4 as calcUtils,
3332
3446
  calculateFormula,
3333
3447
  collectAnnotationItemsByLocation,
3334
3448
  collectFormChangeFieldLocations,
3335
3449
  commonUtils,
3336
3450
  convertHistoricalAnnotationLocation,
3337
- am2 as convertV1Runtime,
3338
- c as createRuntimeDocumentV2,
3451
+ aq as convertV1Runtime,
3452
+ e as createRuntimeDocumentV2,
3339
3453
  createRuntimeInstanceContext,
3340
- c4 as decodeTableCellRowKey,
3341
- an2 as detailsHaveFormChangeRowOps,
3342
- c5 as encodeTableCellRowKey,
3454
+ c5 as decodeTableCellRowKey,
3455
+ ar2 as detailsHaveFormChangeRowOps,
3456
+ c6 as encodeTableCellRowKey,
3343
3457
  enrichFormChangeRowDetails,
3344
- c6 as ensureFrontRowKey,
3345
- c7 as ensureTableRowKeys,
3346
- ao2 as extractFormChangeRowDetails,
3347
- c8 as extractKeywordFromQueryData,
3348
- c9 as fetchCheckDsDataForTable,
3349
- ca as fetchCustomCheckDsData,
3458
+ c7 as ensureFrontRowKey,
3459
+ c8 as ensureTableRowKeys,
3460
+ as as extractFormChangeRowDetails,
3461
+ c9 as extractKeywordFromQueryData,
3462
+ ca as fetchCheckDsDataForTable,
3463
+ cb as fetchCustomCheckDsData,
3350
3464
  fetchHistoryConsume,
3351
- cb as fetchMedProCheckDsData,
3465
+ cc as fetchMedProCheckDsData,
3352
3466
  fetchOperationReceiveQty,
3353
3467
  fetchUdi,
3354
3468
  filterAnnotationItemsUpToCurrent,
3355
3469
  bl as findRuntimeParentRow,
3356
- cc as findRuntimeTableCell,
3470
+ cd as findRuntimeTableCell,
3357
3471
  findRuntimeTableRow,
3358
3472
  getAppInfo,
3359
3473
  getBusinessFieldKey,
3360
- cd as getCheckTableSnapshotKey,
3361
- ap as getFormChangeRowKey,
3362
- aq2 as getFormChangeRowOp,
3474
+ ce as getCheckTableSnapshotKey,
3475
+ at as getFormChangeRowKey,
3476
+ au as getFormChangeRowOp,
3363
3477
  aZ as getLotLockedReason,
3364
- j as getObjectBomMaterialLotQuery,
3365
- t2 as getObjectBomProductQuery,
3478
+ p as getObjectBomMaterialLotQuery,
3479
+ A2 as getObjectBomProductQuery,
3366
3480
  getParseFormulaVarInfos,
3367
- ce as getParseRuleConfig,
3481
+ cf as getParseRuleConfig,
3368
3482
  b0 as getParseRuleInfo,
3369
3483
  b1 as getParseRuleValue,
3370
- cf as getReinspectionDate,
3371
- cg as getRenderedRuntimeTableCell,
3484
+ cg as getReinspectionDate,
3485
+ ch as getRenderedRuntimeTableCell,
3372
3486
  getRuntimeDataFieldId,
3373
3487
  getRuntimeDependencyOutputKey,
3374
- ar as getSubTableQuickFillInfo,
3488
+ av as getSubTableQuickFillInfo,
3375
3489
  getSuiteKey,
3376
- ch as handleOldConfig,
3377
- ci as hasAnyCheckTableSnapshot,
3378
- cj as hasByTableCheckTableSnapshot,
3379
- ck as hasSharedCheckTableSnapshot,
3380
- as as isAnnLocationSelected,
3381
- at as isBlank,
3490
+ ci as handleOldConfig,
3491
+ cj as hasAnyCheckTableSnapshot,
3492
+ ck as hasByTableCheckTableSnapshot,
3493
+ cl as hasSharedCheckTableSnapshot,
3494
+ aw as isAnnLocationSelected,
3495
+ ax as isBlank,
3382
3496
  isBomGranted,
3383
3497
  isEdhrSuite,
3384
3498
  isEqmSuite,
3385
- au as isFormChangeGhostRow,
3386
- cl as isMedProSuite,
3499
+ ay2 as isFormChangeGhostRow,
3500
+ cm as isMedProSuite,
3387
3501
  isRowAddedInCurrentFormChange,
3388
- cm as isTableRowKeyMatch,
3389
- cn as jsonSchemaUtils,
3390
- co as judgeUnique,
3502
+ cn as isTableRowKeyMatch,
3503
+ co as jsonSchemaUtils,
3504
+ cp as judgeUnique,
3391
3505
  aY as materialCheck,
3392
- cp as migrateDiagonalDirectionToVertex,
3506
+ cq as migrateDiagonalDirectionToVertex,
3393
3507
  nextFormChangeRowViewHistoryId,
3394
- d as normalizeAIOcrTmpl,
3395
- w as normalizeHistoricalAutofillRow,
3396
- a as normalizeHistoricalBusinessRow,
3397
- av as normalizeHistoricalFieldConfig,
3508
+ j as normalizeAIOcrTmpl,
3509
+ C as normalizeHistoricalAutofillRow,
3510
+ h2 as normalizeHistoricalBusinessRow,
3511
+ az as normalizeHistoricalFieldConfig,
3398
3512
  b2 as normalizeRefLoaderResult,
3399
3513
  normalizeRuntime,
3400
3514
  parseFrontConfig,
3401
3515
  parseRuntimeFieldPath,
3402
3516
  parseUdi,
3403
- aw2 as pickObjectFieldKeys,
3404
- ax2 as recordSubtableRowAdd,
3405
- ay2 as recordSubtableRowDelete,
3517
+ aA as pickObjectFieldKeys,
3518
+ aB as recordSubtableRowAdd,
3519
+ aC2 as recordSubtableRowDelete,
3406
3520
  be as refUtils,
3407
- cq as relocateDeletedRowsToEnd,
3521
+ cr as relocateDeletedRowsToEnd,
3408
3522
  renderUtils,
3409
- cr as requestMedProCheckDsData,
3410
- cs as requestNonMedProCheckDsData,
3411
- az2 as resolveAnnotationFieldLocation,
3412
- ao as resolveDiagonalVertex,
3413
- t as resolveFieldRenderComponent,
3414
- aA as resolveFormChangeRowUi,
3415
- m as resolveObjectBomEntry,
3523
+ cs as requestMedProCheckDsData,
3524
+ ct as requestNonMedProCheckDsData,
3525
+ aD2 as resolveAnnotationFieldLocation,
3526
+ ap as resolveDiagonalVertex,
3527
+ v as resolveFieldRenderComponent,
3528
+ aE as resolveFormChangeRowUi,
3529
+ w as resolveObjectBomEntry,
3416
3530
  r as resolveObjectFieldKeys,
3417
- aB as resolveRowFormChangeMark,
3531
+ aF as resolveRowFormChangeMark,
3418
3532
  resolveUdiQuery,
3419
- o2 as runWithFillProduct,
3420
- h as setSelectAnnotationId,
3421
- aC as setSelectMobileTdId,
3422
- s as setSelectValidatorId,
3423
- aS as sqlUtils,
3424
- ct as stockCheck,
3425
- aD as stripLegacyFormConfigFromPaper,
3533
+ x as runWithFillProduct,
3534
+ m as setSelectAnnotationId,
3535
+ aG as setSelectMobileTdId,
3536
+ s2 as setSelectValidatorId,
3537
+ cu as sqlUtils,
3538
+ cv as stockCheck,
3539
+ aH as stripLegacyFormConfigFromPaper,
3426
3540
  transformUtils,
3427
- z as useDependency,
3541
+ H as useDependency,
3428
3542
  useEbrWikiFactoryV2,
3429
- A2 as useFieldPresentation,
3543
+ I as useFieldPresentation,
3430
3544
  u2 as useFormModel,
3431
3545
  u as useFormTmplConfig,
3432
3546
  useMaterialBalance,
3433
3547
  useNocodeEmitter,
3434
- p2 as useNocodeFormWidget,
3435
- cu as useOnlineFormActionButton,
3548
+ y as useNocodeFormWidget,
3549
+ cw as useOnlineFormActionButton,
3436
3550
  bm as useOnlineFormTransformField2Component,
3437
3551
  useRenderPageFactory,
3438
- C as useRuntimeEditorFlusher,
3439
- f2 as useRuntimeInstanceServices,
3440
- i as useRuntimeRowState,
3441
- y2 as useStyles,
3442
- e as useWidgetStaticAttrs,
3443
- v as validateObjectBomForScan,
3552
+ J as useRuntimeEditorFlusher,
3553
+ l as useRuntimeInstanceServices,
3554
+ o as useRuntimeRowState,
3555
+ G2 as useStyles,
3556
+ k as useWidgetStaticAttrs,
3557
+ v2 as validateObjectBomForScan,
3444
3558
  validateObjectBomQtyOnSubmit,
3445
3559
  a_ as validateReinspectionDate
3446
3560
  };