@gct-paas/excel 0.1.33-beta.4 → 0.1.34

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 (170) hide show
  1. package/dist/{BaseComponent-B2hP5Pw4.js → BaseComponent-_Tw8N_6J.js} +1 -1
  2. package/dist/{VueVideoPlayer-D0SQGvMx.js → VueVideoPlayer-uu8pHm89.js} +2 -2
  3. package/dist/{align-editor-Ss2gJqa-.js → align-editor-Bk5NBwxp.js} +1 -1
  4. package/dist/{barcode-design-BqIBQDqn.js → barcode-design-l1M7YhQ4.js} +2 -2
  5. package/dist/base/index.es.js +338 -598
  6. package/dist/{diagonal-design-BkuiWsT9.js → diagonal-design-9sIwuCOq.js} +2 -2
  7. package/dist/{dynamic-table-action-CZyU0uX-.js → dynamic-table-action-Bgwu2J5-.js} +74 -298
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js} +4603 -6473
  9. package/dist/{edit.utils-CXmmCnxE-CaZYkGtk.js → edit.utils-CXmmCnxE-DBJfGya8.js} +1 -1
  10. package/dist/excel.css +1195 -2213
  11. package/dist/{exceljs.min-B2yMJJSO.js → exceljs.min-BC8M-dtv.js} +2 -2
  12. package/dist/{font-editor-Bhq8_nP8.js → font-editor-CsclZy98.js} +3 -3
  13. package/dist/{image-design-hTV7cmpq.js → image-design-DnAdcfkb.js} +2 -2
  14. package/dist/{index-DtWqWakF.js → index-0Rza_pO7.js} +2 -2
  15. package/dist/{index-B4NdWTOz.js → index-6ngOgN2T.js} +2 -2
  16. package/dist/{index-Bs12lNOF.js → index-BCm5uXm-.js} +1 -1
  17. package/dist/{index-CV3riQ3c.js → index-BQMk49wv.js} +3 -12
  18. package/dist/{index-Cmh_28Hs.js → index-BgCogSDc.js} +2 -2
  19. package/dist/{index-M-byfdiF.js → index-BmNtd4fF.js} +2 -2
  20. package/dist/{index-BWhvLFuS.js → index-BqLIOyYU.js} +3 -3
  21. package/dist/{index-CbVXT1EA.js → index-C3OVB8dF.js} +3 -6
  22. package/dist/{index-CBWRF4iQ.js → index-C6yP97M1.js} +1 -1
  23. package/dist/{index-CfGEDuF1.js → index-CIIhgR7l.js} +2 -2
  24. package/dist/{index-CM8l268J.js → index-CT5-f2Au.js} +2 -2
  25. package/dist/{index-Bx19JyfY.js → index-CZ3sFBq-.js} +2 -2
  26. package/dist/{index-CwEgjuxx.js → index-ChxSu2Nh.js} +2 -2
  27. package/dist/{index-B93hJuCY.js → index-CkNER_VJ.js} +2 -2
  28. package/dist/{index-Tw10Pcrk.js → index-CvR85MT_.js} +2 -2
  29. package/dist/{index-BwaCvy6l.js → index-D0JsOfx9.js} +2 -2
  30. package/dist/{index-BiyCBnHO.js → index-D874iHsv.js} +2 -2
  31. package/dist/{index-i4OH7WEx.js → index-DAKyKA6u.js} +30605 -32301
  32. package/dist/{index-m1firQQM.js → index-DIPExK1-.js} +1 -1
  33. package/dist/{index-D1uEF2Q-.js → index-DK3WaVk5.js} +1 -1
  34. package/dist/{index-Buys_3U5.js → index-DWM0h8VY.js} +2 -2
  35. package/dist/{index-Dq4VxDIZ.js → index-DX_Q7-Ex.js} +2 -2
  36. package/dist/{index-0naSKwsT.js → index-DZZB4Wki.js} +1 -1
  37. package/dist/{index-BmSqi0nn.js → index-Dk8Tzd5l.js} +3 -3
  38. package/dist/{index-QOhjFhUU.js → index-Dnv99kDV.js} +1 -1
  39. package/dist/{index-hQB6BP8F.js → index-K2KtldGf.js} +1 -1
  40. package/dist/{index-D9MOQLTY.js → index-PgiiSnTz.js} +2 -2
  41. package/dist/{index-SB9y5m0H.js → index-Q6EM0L2a.js} +24 -13
  42. package/dist/{index-M-BT6Mb0.js → index-RZFebqUU.js} +3 -3
  43. package/dist/{index-Bday1WBV.js → index-TcBAhuR3.js} +2 -2
  44. package/dist/{index-KYZ_LYw8.js → index-VX-I525j.js} +1 -1
  45. package/dist/{index-Bb9_9KOc.js → index-YHJMTfT6.js} +1 -1
  46. package/dist/{index-C6lVuYjH.js → index-i-kXn1Pm.js} +2 -2
  47. package/dist/{index-CmIhi6Su.js → index-jDUqcMDS.js} +3 -3
  48. package/dist/index.es.js +2 -2
  49. package/dist/{mb-render-lZnQMwuY.js → mb-render-BWsK2uaj.js} +1 -1
  50. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Dxi-5wnV.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D0gNSgDm.js} +8 -1
  51. package/dist/{pagination-design-BlxYaew2.js → pagination-design-DMqBR1NA.js} +2 -2
  52. package/dist/paper-widget-design-C8fkvFqe.js +4 -0
  53. package/dist/{qrcode-design-BWupHh6k.js → qrcode-design-10wjLIKT.js} +1 -1
  54. package/dist/{revo-grid.entry-BxGIzM1P.js → revo-grid.entry-C8HVGuwE.js} +1 -1
  55. package/dist/{revogr-attribution_7.entry-D-RfLR2_.js → revogr-attribution_7.entry-C57R5N9H.js} +3 -3
  56. package/dist/{revogr-clipboard_3.entry-CZXj_qxx.js → revogr-clipboard_3.entry-C-t0bHXx.js} +2 -2
  57. package/dist/{revogr-data_4.entry-3DDluLT2.js → revogr-data_4.entry-xIPTVLfC.js} +2 -2
  58. package/dist/{revogr-filter-panel.entry-DIcPvy6A.js → revogr-filter-panel.entry-ByM_cVBE.js} +1 -1
  59. package/dist/{serialnumber-design-BgIZu0sW.js → serialnumber-design-nwsYg88n.js} +1 -1
  60. package/dist/shared/index.es.js +25 -31
  61. package/dist/{single-field-drop-B26XDPsU.js → single-field-drop-DkY3m6YN.js} +2 -2
  62. package/dist/{size-editor-B5f5QFKt.js → size-editor-Bl32fjTp.js} +1 -1
  63. package/dist/src/adapter/adapter.d.ts +1 -6
  64. package/dist/src/assets/svgs/table/index.d.ts +0 -1
  65. package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  66. package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
  67. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
  68. package/dist/src/domain/table/design/index.d.ts +1 -1
  69. package/dist/src/domain/table/design/ribbon-options.d.ts +0 -1
  70. package/dist/src/domain/table/design/sub-model-matcher.d.ts +0 -1
  71. package/dist/src/domain/table/index.d.ts +2 -3
  72. package/dist/src/domain/table/registry.d.ts +0 -1
  73. package/dist/src/domain/table/types.d.ts +3 -8
  74. package/dist/src/nocode-base/src/constant/index.d.ts +2 -18
  75. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -23
  76. package/dist/src/nocode-base/src/hooks/index.d.ts +1 -2
  77. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -10
  78. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +0 -5
  79. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +2 -2
  80. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +0 -2
  81. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -4
  82. package/dist/src/nocode-base/src/interface/ref.d.ts +2 -2
  83. package/dist/src/nocode-base/src/types/business/index.d.ts +1 -8
  84. package/dist/src/nocode-base/src/types/common/base.d.ts +1 -53
  85. package/dist/src/nocode-base/src/types/fields/i-select.d.ts +2 -0
  86. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -15
  87. package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +2 -0
  88. package/dist/src/nocode-base/src/types/fields/index.d.ts +1 -1
  89. package/dist/src/nocode-base/src/types/index.d.ts +1 -1
  90. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +1 -3
  91. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +1 -5
  92. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +4 -4
  93. package/dist/src/online-form/src/views/designer/constants/index.d.ts +0 -1
  94. package/dist/src/online-form/src/views/designer/enums/index.d.ts +1 -2
  95. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +0 -48
  96. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +0 -63
  97. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +1 -18
  98. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +0 -30
  99. package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -4
  100. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +0 -3
  101. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/trace-like-wrapper.d.ts +1 -0
  102. package/dist/src/shared/components/Signature/card-signer.vue.d.ts +2 -2
  103. package/dist/src/shared/components/Signature/index.d.ts +2 -1
  104. package/dist/src/shared/components/Signature/logic/index.d.ts +23 -8
  105. package/dist/src/shared/components/Signature/types/index.d.ts +1 -6
  106. package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +0 -2
  107. package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +29 -0
  108. package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +2 -6
  109. package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +18 -0
  110. package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +116 -0
  111. package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -3
  112. package/dist/src/shared/enum/field-type.d.ts +0 -5
  113. package/dist/src/shared/enum/online-form.d.ts +2 -8
  114. package/dist/{text-design-BZdgEMzq.js → text-design-CbV0vuqF.js} +2 -2
  115. package/dist/{throttle-Cpk1LoGk-D8x0_nKc.js → throttle-Cpk1LoGk-CRmC7Dda.js} +1 -1
  116. package/dist/{timediff-design-CsDLmpYK.js → timediff-design-CRhHuuBP.js} +1 -1
  117. package/dist/{trace-like-wrapper-CDvm5U29.js → trace-like-wrapper-X6CpvzRL.js} +19 -9
  118. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CzUVMyDu.js → value-editor.vue_vue_type_style_index_0_lang-CRA6eXLm.js} +2 -2
  119. package/dist/web-render/index.es.js +3 -3
  120. package/dist/{widget-barcode-gP8W3DXl.js → widget-barcode-Cu626jK0.js} +4 -4
  121. package/dist/{widget-diagonal-CtJoLiKo.js → widget-diagonal-GjbFYzj9.js} +3 -3
  122. package/dist/{widget-image-CY7PHvI6.js → widget-image-DVagnQCr.js} +5 -5
  123. package/dist/{widget-line-DE0G3Zr6.js → widget-line-CRSekvVI.js} +2 -2
  124. package/dist/{widget-pagination-MJ-CtnWn.js → widget-pagination-DWxAH-L-.js} +5 -5
  125. package/dist/{widget-power-BFKBLkF5.js → widget-power-CP0-k64v.js} +3 -3
  126. package/dist/{widget-qrcode-ChM7UInm.js → widget-qrcode-BmLxlcml.js} +3 -3
  127. package/dist/{widget-rangelimit-D7tsCL8x.js → widget-rangelimit-CWU0hpQa.js} +3 -3
  128. package/dist/{widget-serialnumber-BkdIJ6rG.js → widget-serialnumber-RrIf7OeB.js} +1 -1
  129. package/dist/{widget-text-UmCluu4T.js → widget-text-C_-KzTvw.js} +5 -5
  130. package/dist/{widget-timediff-CWRjMEL9.js → widget-timediff-DypM9RjI.js} +2 -2
  131. package/package.json +2 -2
  132. package/dist/paper-widget-design-wrFvO7Dq.js +0 -4
  133. package/dist/src/domain/field/text/udi-manifest.d.ts +0 -2
  134. package/dist/src/domain/table/business/device/maintenance/index.d.ts +0 -1
  135. package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
  136. package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
  137. package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
  138. package/dist/src/domain/table/business/device/point-inspection/index.d.ts +0 -1
  139. package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
  140. package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
  141. package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
  142. package/dist/src/domain/table/business/device/signature-lock.d.ts +0 -9
  143. package/dist/src/domain/table/business/material/material-substitution/index.d.ts +0 -2
  144. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -75
  145. package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
  146. package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
  147. package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
  148. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
  149. package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +0 -7
  150. package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +0 -11
  151. package/dist/src/nocode-base/src/hooks/udi.d.ts +0 -5
  152. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +0 -3
  153. package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +0 -7
  154. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +0 -19
  155. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +0 -16
  156. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +0 -54
  157. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +0 -24
  158. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +0 -30
  159. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +0 -12
  160. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +0 -9
  161. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +0 -33
  162. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +0 -12
  163. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +0 -23
  164. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +0 -36
  165. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +0 -21
  166. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +0 -30
  167. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +0 -17
  168. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +0 -20
  169. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +0 -8
  170. package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +0 -13
@@ -1,11 +1,11 @@
1
- import { bv as fetchHistoryConsume, bw as isBomGranted, F as FIELD_TYPE, A as api, bx as F$1, by as SCAN_ROW_CONTENT_FIELDS, bz as F$2, bA as F$3, bB as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bC as F$4, bD as F$5, bE as FILL_FROM_SOURCE_PRODUCT_OPTION, bF as FILL_FROM_TARGET_MATERIAL_NO_OPTION, bG as FILL_FROM_INVENTORY_OPTION, bH as FILL_FROM_PART_OPTION, bI as FILL_FROM_INVENTORY_OPTION$1, bJ as TABLE_TYPE, bK as FILL_FROM_INVENTORY_OPTION$2, ba as F$6, bL as INVENTORY_BASE_FIELDS, bM as resolveGroupByWarehouse, bN as AUTO_LOAD_READONLY_SELECT_FIELDS, b9 as STOCKTAKE_DIMENSION, b5 as getParseRuleInfo, bO as buildFillFromInventoryOption, bP as calcFillData, bQ as resolveStocktakeInventoryApi, b6 as getParseRuleValue, bR as F$7, bS as FILL_FROM_INVENTORY_OPTION$3, bT as extractKeywordFromQueryData, bU as composeProductionLotListQuery, aJ as resolveLotDisplayLabel, bV as F$8, bW as isProductManuallyEditable, bX as applyFillFromMfgOrderOption, bY as applyFillFromOption$1, bZ as applyFillFromProductOption, aX as LOT_CONTAINER_ROLE, b_ as MATERIAL_CONTAINER_ID, b$ as F$9, c0 as PRODUCT_QUICK_SEARCH_FIELDS, c1 as PRODUCT_QUICK_SEARCH_EXP, c2 as isProductManuallyEditable$1, c3 as applyFillFromMaterialNoOption, c4 as applyFillFromProductOption$1, c5 as F$a, c6 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, bf as transformUtils, m as SubTableType, a7 as _export_sfc, a_ as NCB_PROVIDE, c7 as settleAndValidateDisplay, c8 as unregisterValidationContext, c9 as clearFormRules, ca as registerValidationContext, C as ComponentTypeEnum, bl as RenderModeEnum, cb as requestFullValidation, cc as requestDisplayValidation, aZ as renderUtils, cd as closeValidatorPopovers, ce as baseDataUtils, cf as getRawFormRuleMeta, cg as enrichFormChangeRowDetails, ch as settleAfterModeSwitch, ci as calcUtils, cj as evaluateInspectionDecisionRule, aK as CheckDsTypeEnum, _ as PlatformEnum, ck as uuid2, cl as normalizeToArray, cm as safeParseArray, cn as BpmnNodeTypeEnum, co as mergeByMultiKey, bu as useNocodeEmitter, cp as commonUtils, aI as EntityModelCategoryEnum, cq as getRowId, cr as collectFormChangeFieldLocations, cs as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
2
- import { aN, aP, b4, a0, ct, cu, B, cv, y, af, cw, cx, cy, bh, cz, aW, ay, aO, aL, aM, cA, ag, ak, cB, cC, aF, a2, ae, az, aR, $, ai, L, cD, cE, O, p, P, a8, o, N, aQ, cF, ax, aw, a5, a1, a3, a4, a6, cG, aj, an, ah, cH, cI, cJ, bg, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, b1, cV, cW, cX, bi, cY, cZ, c_, c$, d0, d1, d2, d3, d4, d5, d6, b0, d7, b8, d8, d9, da, be, db, dc, dd, de, al, t, df, dg, aV, dh, aU, aS, di, Q, b7, bm, b3, dj, bk, aT, bj, b2 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Rn52Yoy5.js";
3
- import { M as MaterialConsumptionPatternEnum, q as MaterialConsumeTableController, i as isEdhrSuite, s as SubTableActionMenuTypeEnum, t as getMenuByAction, w as SubTableActionEnum, x as resolveScanFillData, y as SubTableCore, z as getInsertSubMenu, A as resolveScanAdjustType, C as resolveScanQty, F as toDateOnly, G as getCopySubMenu, H as resolveScanParsedValue, J as isProductBatchEmptyRow, K as useMaterialBalance, L as validate, N as validateObjectBomQtyOnSubmit, O as setFormulaParamsConfig } from "../dynamic-table-action-CZyU0uX-.js";
4
- import { B as B2, P as P2, D, _, Q as Q2, o as o2, T, p as p2, E, U, V, I, W, X, e, b, h, f, Y, g, j, Z, $ as $2, a0 as a02, a1 as a12, a2 as a22, c, r, a3 as a32, d, u, k, a, l, v } from "../dynamic-table-action-CZyU0uX-.js";
5
- import { ref, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
1
+ import { bp as fetchHistoryConsume, bq as isBomGranted, F as FIELD_TYPE, z as api, br as F$1, bs as F$2, bt as runRowHandler, h as getProfileByTableType, f as isBusinessSubTableProfile, bu as F$3, bv as F$4, bw as FILL_FROM_INVENTORY_OPTION, bx as FILL_FROM_PART_OPTION, by as FILL_FROM_INVENTORY_OPTION$1, bz as TABLE_TYPE, bA as FILL_FROM_INVENTORY_OPTION$2, b5 as F$5, bB as INVENTORY_BASE_FIELDS, bC as resolveGroupByWarehouse, bD as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, bE as buildFillFromInventoryOption, bF as calcFillData, bG as resolveStocktakeInventoryApi, b2 as getParseRuleValue, bH as F$6, bI as FILL_FROM_INVENTORY_OPTION$3, bJ as extractKeywordFromQueryData, bK as composeProductionLotListQuery, aF as resolveLotDisplayLabel, bL as F$7, bM as isProductManuallyEditable, bN as applyFillFromMfgOrderOption, bO as applyFillFromOption$1, bP as applyFillFromProductOption, aT as LOT_CONTAINER_ROLE, bQ as MATERIAL_CONTAINER_ID, bR as F$8, bS as PRODUCT_QUICK_SEARCH_FIELDS, bT as PRODUCT_QUICK_SEARCH_EXP, bU as isProductManuallyEditable$1, bV as applyFillFromMaterialNoOption, bW as applyFillFromProductOption$1, bX as F$9, bY as FILL_FROM_INVENTORY_OPTION$4, V as FormTypeEnum, bb as transformUtils, l as SubTableType, aW as NCB_PROVIDE, bZ as settleAndValidateDisplay, b_ as unregisterValidationContext, b$ as clearFormRules, c0 as registerValidationContext, C as ComponentTypeEnum, bf as RenderModeEnum, c1 as requestFullValidation, c2 as requestDisplayValidation, aV as renderUtils, c3 as closeValidatorPopovers, c4 as baseDataUtils, c5 as getRawFormRuleMeta, c6 as enrichFormChangeRowDetails, c7 as settleAfterModeSwitch, c8 as calcUtils, aG as CheckDsTypeEnum, Z as PlatformEnum, c9 as uuid2, ca as normalizeToArray, cb as safeParseArray, cc as BpmnNodeTypeEnum, cd as mergeByMultiKey, bo as useNocodeEmitter, ce as commonUtils, aE as EntityModelCategoryEnum, cf as getRowId, cg as collectFormChangeFieldLocations, ch as nextFormChangeRowViewHistoryId } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
2
+ import { aJ, aL, b0, $, ci, cj, B, ck, x, ab, cl, cm, cn, bd, co, aS, au, aK, aH, aI, cp, ac, ag, cq, cr, aB, aa, av, aN, _, ae, L, cs, ct, O, o, P, a6, n, M, aM, cu, at, as, a2, a0, a1, a3, cv, af, aj, ad, cw, cx, cy, bc, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, aZ, cK, cL, cM, cN, cO, cP, cQ, cR, cS, cT, cU, cV, cW, cX, aY, cY, b7, cZ, c_, c$, ba, d0, d1, d2, d3, ah, q, d4, d5, aR, d6, aQ, aO, d7, N, b3, bg, a$, d8, be, aP, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
3
+ import { M as MaterialConsumptionPatternEnum, o as MaterialConsumeTableController, i as isEdhrSuite, p as SubTableCore, q as SubTableActionMenuTypeEnum, s as getMenuByAction, t as SubTableActionEnum, w as getInsertSubMenu, x as resolveScanAdjustType, y as resolveScanQty, z as toDateOnly, A as getCopySubMenu, C as resolveScanParsedValue, F as resolveScanFillData, G as isProductBatchEmptyRow, H as useMaterialBalance, J as validate, K as validateObjectBomQtyOnSubmit } from "../dynamic-table-action-Bgwu2J5-.js";
4
+ import { B as B2, L as L2, D, _ as _2, N as N2, l, O as O2, m, E, P as P2, Q, I, T, U, e, b, f, V, g, h, W, X, Y, Z, c, r, d, u, j, a, k, v } from "../dynamic-table-action-Bgwu2J5-.js";
5
+ import { ref, provide, watch, computed, onUnmounted, onBeforeMount } from "vue";
6
6
  import { defaults, has, merge, isEmpty, cloneDeep, debounce } from "lodash-es";
7
7
  import "dayjs";
8
- import { B as B3, F, M, a as a7, u as u2 } from "../mb-render-lZnQMwuY.js";
8
+ import { B as B3, F, M as M2, a as a4, u as u2 } from "../mb-render-BWsK2uaj.js";
9
9
  var MaterialStatusEnum = /* @__PURE__ */ ((MaterialStatusEnum2) => {
10
10
  MaterialStatusEnum2["LOT"] = "LOT";
11
11
  MaterialStatusEnum2["SN"] = "SN";
@@ -24,61 +24,6 @@ var FillingTypeEnum = /* @__PURE__ */ ((FillingTypeEnum2) => {
24
24
  FillingTypeEnum2["COMPLETED"] = "COMPLETED";
25
25
  return FillingTypeEnum2;
26
26
  })(FillingTypeEnum || {});
27
- function isBlank$4(value) {
28
- return value === void 0 || value === null || value === "";
29
- }
30
- function matchFieldKey(match, fieldKey) {
31
- if (!match.fieldKey) return false;
32
- const keys = Array.isArray(match.fieldKey) ? match.fieldKey : [match.fieldKey];
33
- return keys.includes(fieldKey);
34
- }
35
- function findFieldProfile(profile, fieldKey) {
36
- return profile?.fields?.find((item) => matchFieldKey(item.match, fieldKey));
37
- }
38
- function buildDefaultMapFromProfile(profile, paramsConfig) {
39
- const result = {};
40
- if (!profile?.contextAssignments?.length) return result;
41
- const assignments = profile.contextAssignments.filter(
42
- (item) => item.when === "onRowInit"
43
- );
44
- for (const assignment of assignments) {
45
- const value = paramsConfig?.[assignment.paramKey];
46
- if (isBlank$4(value)) continue;
47
- result[assignment.fieldKey] = value;
48
- }
49
- return result;
50
- }
51
- function buildFieldStatusFromProfile(params) {
52
- const { profile, field } = params;
53
- const result = {};
54
- if (!profile) return result;
55
- const fieldProfile = findFieldProfile(profile, field);
56
- if (fieldProfile?.defaultProps) {
57
- if (fieldProfile.defaultProps.disabled === true || fieldProfile.defaultProps.fieldDisabled === true) {
58
- result.disabled = true;
59
- }
60
- if (fieldProfile.defaultProps.readonly === true || fieldProfile.defaultProps.fieldReadonly === true) {
61
- result.readonly = true;
62
- }
63
- if (fieldProfile.defaultProps.required === false) {
64
- result.required = false;
65
- }
66
- }
67
- const rules = (profile.runtimeRules ?? []).filter(
68
- (rule) => !rule.when || rule.when === "always" || rule.when === "onRowInit"
69
- );
70
- for (const rule of rules) {
71
- if (!rule.fields.includes(field)) continue;
72
- if (rule.effect.readonly) result.readonly = true;
73
- if (rule.effect.disabled) result.disabled = true;
74
- if (rule.effect.required !== void 0) result.required = rule.effect.required;
75
- }
76
- return result;
77
- }
78
- function getRowHandlersForFieldChange(profile, changedField) {
79
- if (!profile?.rowHandlers?.length) return [];
80
- return profile.rowHandlers.filter((item) => item.when === "onFieldChange").filter((item) => !item.watch?.length || item.watch.includes(changedField)).map((item) => item.handler);
81
- }
82
27
  function useLatestRequest(execFn) {
83
28
  let lastReqId = 0;
84
29
  const loading = ref(false);
@@ -359,6 +304,61 @@ async function matchProductionIdentificationScanRecords(parsed) {
359
304
  );
360
305
  return unwrapBizServiceList(result);
361
306
  }
307
+ function isBlank$4(value) {
308
+ return value === void 0 || value === null || value === "";
309
+ }
310
+ function matchFieldKey(match, fieldKey) {
311
+ if (!match.fieldKey) return false;
312
+ const keys = Array.isArray(match.fieldKey) ? match.fieldKey : [match.fieldKey];
313
+ return keys.includes(fieldKey);
314
+ }
315
+ function findFieldProfile(profile, fieldKey) {
316
+ return profile?.fields?.find((item) => matchFieldKey(item.match, fieldKey));
317
+ }
318
+ function buildDefaultMapFromProfile(profile, paramsConfig) {
319
+ const result = {};
320
+ if (!profile?.contextAssignments?.length) return result;
321
+ const assignments = profile.contextAssignments.filter(
322
+ (item) => item.when === "onRowInit"
323
+ );
324
+ for (const assignment of assignments) {
325
+ const value = paramsConfig?.[assignment.paramKey];
326
+ if (isBlank$4(value)) continue;
327
+ result[assignment.fieldKey] = value;
328
+ }
329
+ return result;
330
+ }
331
+ function buildFieldStatusFromProfile(params) {
332
+ const { profile, field } = params;
333
+ const result = {};
334
+ if (!profile) return result;
335
+ const fieldProfile = findFieldProfile(profile, field);
336
+ if (fieldProfile?.defaultProps) {
337
+ if (fieldProfile.defaultProps.disabled === true || fieldProfile.defaultProps.fieldDisabled === true) {
338
+ result.disabled = true;
339
+ }
340
+ if (fieldProfile.defaultProps.readonly === true || fieldProfile.defaultProps.fieldReadonly === true) {
341
+ result.readonly = true;
342
+ }
343
+ if (fieldProfile.defaultProps.required === false) {
344
+ result.required = false;
345
+ }
346
+ }
347
+ const rules = (profile.runtimeRules ?? []).filter(
348
+ (rule) => !rule.when || rule.when === "always" || rule.when === "onRowInit"
349
+ );
350
+ for (const rule of rules) {
351
+ if (!rule.fields.includes(field)) continue;
352
+ if (rule.effect.readonly) result.readonly = true;
353
+ if (rule.effect.disabled) result.disabled = true;
354
+ if (rule.effect.required !== void 0) result.required = rule.effect.required;
355
+ }
356
+ return result;
357
+ }
358
+ function getRowHandlersForFieldChange(profile, changedField) {
359
+ if (!profile?.rowHandlers?.length) return [];
360
+ return profile.rowHandlers.filter((item) => item.when === "onFieldChange").filter((item) => !item.watch?.length || item.watch.includes(changedField)).map((item) => item.handler);
361
+ }
362
362
  class ProfileDrivenSubTableCore extends SubTableCore {
363
363
  get profile() {
364
364
  const profile = getProfileByTableType(this.ctx.widget.props.tableType);
@@ -413,71 +413,6 @@ function applyOptionFill(rowData, option, mappings) {
413
413
  }
414
414
  }
415
415
  }
416
- const MATERIAL_CONSUME_HISTORY_DISPLAY_FIELDS = [
417
- { key: "product_id_.name_", name: "物料名称" },
418
- { key: "product_id_.code_", name: "物料编码" },
419
- { key: "product_id_.spec_", name: "物料规格" },
420
- { key: "material_name_", name: "物料批号" },
421
- { key: "qty_consumed_", name: "已消耗数量" }
422
- ];
423
- function getForeignProductValue(item, field) {
424
- return item[field] ?? item._OPCT?.[field] ?? item.__FOREIGN__?.[field];
425
- }
426
- function flattenMaterialConsumeRecord(item) {
427
- return {
428
- ...item,
429
- "product_id_.name_": getForeignProductValue(item, "product_id_.name_"),
430
- "product_id_.code_": getForeignProductValue(item, "product_id_.code_"),
431
- "product_id_.spec_": getForeignProductValue(item, "product_id_.spec_")
432
- };
433
- }
434
- function hasQueryValue(value) {
435
- if (Array.isArray(value)) return value.length > 0;
436
- return !isBlank$3(value);
437
- }
438
- function createMaterialConsumeHistoryLoader() {
439
- return async ({ mode, queryData = {}, pageNo = 1, pageSize = 20, ids = [] }) => {
440
- const query = Object.fromEntries(
441
- Object.entries(queryData).filter(([, value]) => hasQueryValue(value))
442
- );
443
- if (mode === "byIds" && ids.length) {
444
- query["product_id_.in"] = ids;
445
- }
446
- const queryKeys = Object.keys(query);
447
- const exp = queryKeys.length > 1 ? `AND(${queryKeys.join(",")})` : queryKeys.length === 1 ? queryKeys[0] : "";
448
- const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
449
- {
450
- modelCategory: "entity",
451
- modelKey: "em_material_consume",
452
- bsKey: "listByPage"
453
- },
454
- {},
455
- {
456
- foreignFields: ["product_id_.spec_", "product_id_.code_", "product_id_.name_"],
457
- query,
458
- exp,
459
- pageNo,
460
- pageSize
461
- }
462
- );
463
- const rows = (Array.isArray(res) ? res : res?.data ?? []).map(flattenMaterialConsumeRecord);
464
- const totalCount = Number(res?.totalCount ?? rows.length);
465
- const totalPage = Number(res?.totalPage ?? Math.max(1, Math.ceil(totalCount / pageSize)));
466
- const options = rows.map((item) => ({
467
- label: getForeignProductValue(item, "product_id_.name_") ?? item.material_name_ ?? String(item.product_id_ ?? ""),
468
- value: item.product_id_,
469
- disabled: !!item.deleted_,
470
- _item: item
471
- }));
472
- return {
473
- data: rows,
474
- options,
475
- finished: mode === "byIds" || pageNo >= totalPage,
476
- totalCount,
477
- totalPage
478
- };
479
- };
480
- }
481
416
  function applyAllocatePartTd(params, partField, mode, inventoryBinding) {
482
417
  const { field, tdHandler } = params;
483
418
  if (field !== partField) return;
@@ -496,13 +431,13 @@ function applyAllocatePartTd(params, partField, mode, inventoryBinding) {
496
431
  }
497
432
  class WarehouseInboundTableCore extends ProfileDrivenSubTableCore {
498
433
  handleFieldTd = (params) => {
499
- applyAllocatePartTd(params, F$4.part, "master");
434
+ applyAllocatePartTd(params, F$3.part, "master");
500
435
  super.handleFieldTd(params);
501
436
  };
502
437
  handleChange(params) {
503
438
  super.handleChange(params);
504
439
  const { field, value, option, rowData } = params;
505
- if (field !== F$4.part || isBlank$3(value) || !option) return;
440
+ if (field !== F$3.part || isBlank$3(value) || !option) return;
506
441
  applyOptionFill(rowData, option, FILL_FROM_PART_OPTION);
507
442
  }
508
443
  }
@@ -511,21 +446,21 @@ class WarehouseOutboundTableCore extends ProfileDrivenSubTableCore {
511
446
  return this.factory.ctx.paramsConfig?.warehouseId;
512
447
  }
513
448
  handleFieldTd = (params) => {
514
- applyAllocatePartTd(params, F$5.part, "inventory", {
515
- formField: F$5.inventory,
449
+ applyAllocatePartTd(params, F$4.part, "inventory", {
450
+ formField: F$4.inventory,
516
451
  optionField: "id_"
517
452
  });
518
453
  super.handleFieldTd(params);
519
454
  };
520
455
  calcFieldQuery = (params) => {
521
- if (params.field === F$5.part) {
456
+ if (params.field === F$4.part) {
522
457
  return { warehouse_id_: this.warehouseId };
523
458
  }
524
459
  };
525
460
  handleChange(params) {
526
461
  super.handleChange(params);
527
462
  const { field, value, option, rowData } = params;
528
- if (field !== F$5.part || isBlank$3(value) || !option) return;
463
+ if (field !== F$4.part || isBlank$3(value) || !option) return;
529
464
  applyOptionFill(rowData, option, FILL_FROM_INVENTORY_OPTION$1);
530
465
  }
531
466
  }
@@ -534,21 +469,21 @@ class PartStocktakeTableCore extends ProfileDrivenSubTableCore {
534
469
  return this.factory.ctx.paramsConfig?.warehouseId;
535
470
  }
536
471
  handleFieldTd = (params) => {
537
- applyAllocatePartTd(params, F$3.part, "inventory", {
538
- formField: F$3.inventory,
472
+ applyAllocatePartTd(params, F$2.part, "inventory", {
473
+ formField: F$2.inventory,
539
474
  optionField: "id_"
540
475
  });
541
476
  super.handleFieldTd(params);
542
477
  };
543
478
  calcFieldQuery = (params) => {
544
- if (params.field === F$3.part) {
479
+ if (params.field === F$2.part) {
545
480
  return { warehouse_id_: this.warehouseId };
546
481
  }
547
482
  };
548
483
  handleChange(params) {
549
484
  super.handleChange(params);
550
485
  const { field, value, option, rowData } = params;
551
- if (field !== F$3.part || isBlank$3(value) || !option) return;
486
+ if (field !== F$2.part || isBlank$3(value) || !option) return;
552
487
  applyOptionFill(rowData, option, FILL_FROM_INVENTORY_OPTION);
553
488
  runRowHandler(TABLE_TYPE, "stocktake-derived", {
554
489
  rowData,
@@ -581,92 +516,6 @@ class DevicePartConsumeTableCore extends ProfileDrivenSubTableCore {
581
516
  }
582
517
  class MaterialRequisitionTableCore extends ProfileDrivenSubTableCore {
583
518
  }
584
- class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
585
- isEmptyScanRow(row) {
586
- return SCAN_ROW_CONTENT_FIELDS.every((field) => isBlank$3(row[field]));
587
- }
588
- handleFieldTd = (params) => {
589
- const { field, tdHandler } = params;
590
- if (field === F$2.sourceProduct) {
591
- tdHandler.mergeTd({
592
- cellWidget: {
593
- props: {
594
- displayFields: MATERIAL_CONSUME_HISTORY_DISPLAY_FIELDS,
595
- quickSearchable: true,
596
- quickSearchField: ["material_name_.like"],
597
- quickSearchExp: "OR(material_name_.like)",
598
- customRefTableMode: "flat",
599
- newSpecificConfig: { newOptions: [] }
600
- }
601
- }
602
- });
603
- }
604
- super.handleFieldTd(params);
605
- };
606
- calcFieldQuery = ({ field, rowData }) => {
607
- if (field !== F$2.sourceProduct) return;
608
- const query = {};
609
- if (!isBlank$3(rowData[F$2.productionContainer])) {
610
- query["production_identification_id_.eq"] = rowData[F$2.productionContainer];
611
- }
612
- if (!isBlank$3(rowData[F$2.routingOperation])) {
613
- query["routing_operation_id_.eq"] = rowData[F$2.routingOperation];
614
- }
615
- return query;
616
- };
617
- calcFieldDataSource = ({ field }) => {
618
- if (field === F$2.sourceProduct) {
619
- return createMaterialConsumeHistoryLoader();
620
- }
621
- };
622
- handleChange(params) {
623
- super.handleChange(params);
624
- const { field, value, option, rowData } = params;
625
- if (isBlank$3(value) || !option) return;
626
- const source = resolveOptionRecord$1(option);
627
- if (!source) return;
628
- if (field === F$2.sourceProduct) {
629
- applyOptionFill(
630
- rowData,
631
- flattenMaterialConsumeRecord(source),
632
- FILL_FROM_SOURCE_PRODUCT_OPTION
633
- );
634
- return;
635
- }
636
- if (field === F$2.targetMaterialNo) {
637
- applyOptionFill(rowData, source, FILL_FROM_TARGET_MATERIAL_NO_OPTION);
638
- }
639
- }
640
- calcSubTableActionMenu = ({ showDelBtn }) => [
641
- {
642
- type: SubTableActionMenuTypeEnum.SUBTITLE,
643
- label: $t("sys.edhr.bizOperation")
644
- },
645
- getMenuByAction(SubTableActionEnum.SCAN),
646
- {
647
- type: SubTableActionMenuTypeEnum.DIVIDER
648
- },
649
- {
650
- type: SubTableActionMenuTypeEnum.SUBTITLE,
651
- label: $t("sys.edhr.editRow")
652
- },
653
- getMenuByAction(SubTableActionEnum.Insert1RowAfter),
654
- ...showDelBtn ? [
655
- {
656
- type: SubTableActionMenuTypeEnum.DIVIDER
657
- },
658
- getMenuByAction(SubTableActionEnum.DeleteRowCurrent)
659
- ] : []
660
- ];
661
- async onScan(input) {
662
- const fillData = resolveScanFillData(input);
663
- if (!Object.keys(fillData).length) {
664
- this.warning({ content: "未配置条码字段映射" });
665
- return;
666
- }
667
- this.appendOrFillScanRow(fillData);
668
- }
669
- }
670
519
  var WarehouseInventoryRowSource = /* @__PURE__ */ ((WarehouseInventoryRowSource2) => {
671
520
  WarehouseInventoryRowSource2["MANUAL"] = "manual";
672
521
  WarehouseInventoryRowSource2["AUTO"] = "auto";
@@ -693,19 +542,19 @@ function pickInventoryBase(record) {
693
542
  }
694
543
  function mapInventoryIdentity(record, warehouseSummary) {
695
544
  if (!warehouseSummary) {
696
- return { [F$6.inventory]: record.id_ };
545
+ return { [F$5.inventory]: record.id_ };
697
546
  }
698
547
  return {
699
- [F$6.inventory]: record[F$6.inventory],
700
- [F$6.frontId]: record.id_
548
+ [F$5.inventory]: record[F$5.inventory],
549
+ [F$5.frontId]: record.id_
701
550
  };
702
551
  }
703
552
  function mapInventoryRecordToRow(record, warehouseSummary) {
704
553
  return {
705
554
  ...pickInventoryBase(record),
706
555
  ...mapInventoryIdentity(record, warehouseSummary),
707
- [F$6.location]: record[F$6.location],
708
- [F$6.stock]: toNumber(record[F$6.stock])
556
+ [F$5.location]: record[F$5.location],
557
+ [F$5.stock]: toNumber(record[F$5.stock])
709
558
  };
710
559
  }
711
560
  function getStocktakeDiff(stocktakeNum, stockNum) {
@@ -799,45 +648,45 @@ async function getStockData({
799
648
  return [];
800
649
  }
801
650
  function isSameStocktakeIdentity(row, record, groupByWarehouse) {
802
- if (row[F$6.product] !== record.product_id_) return false;
803
- const rowBatch = row[F$6.batch];
651
+ if (row[F$5.product] !== record.product_id_) return false;
652
+ const rowBatch = row[F$5.batch];
804
653
  const recordBatch = record.production_identification_id_;
805
654
  if (rowBatch && recordBatch && rowBatch !== recordBatch) return false;
806
655
  if (!rowBatch || !recordBatch) {
807
- const rowNo = row[F$6.matno];
656
+ const rowNo = row[F$5.matno];
808
657
  const recordNo = record.material_no_ ?? record.name_;
809
658
  if (!(rowNo && recordNo && rowNo === recordNo)) return false;
810
659
  }
811
- if ((row[F$6.warehouse] ?? "") !== (record.warehouse_id_ ?? "")) return false;
660
+ if ((row[F$5.warehouse] ?? "") !== (record.warehouse_id_ ?? "")) return false;
812
661
  if (!groupByWarehouse) {
813
- if ((row[F$6.location] ?? "") !== (record.location_id_ ?? "")) return false;
662
+ if ((row[F$5.location] ?? "") !== (record.location_id_ ?? "")) return false;
814
663
  }
815
664
  return true;
816
665
  }
817
666
  function buildInventoryScanRow(record, parsed, fillData, stocktakeQty, warehouseSummary = false) {
818
667
  const row = {
819
668
  // 按仓库汇总时:inventory_id_ 来自接口字段,id_ 另存为 front_id_
820
- [F$6.inventory]: warehouseSummary ? record[F$6.inventory] ?? record.id_ : record.id_,
821
- ...warehouseSummary ? { [F$6.frontId]: record.id_ } : {},
822
- [F$6.batch]: record.production_identification_id_,
823
- [F$6.product]: record.product_id_,
824
- [F$6.productName]: record.product_id_name_,
825
- [F$6.productCode]: record.product_id_code_ ?? record.product_code_,
826
- [F$6.productSpec]: record.product_id_spec_,
827
- [F$6.warehouse]: record.warehouse_id_,
828
- [F$6.location]: record.location_id_,
829
- [F$6.stock]: record.stock_num_,
830
- [F$6.matno]: record.material_no_ ?? record.name_,
831
- [F$6.reInspectionDate]: record.re_inspection_date_,
832
- [F$6.stocktake]: stocktakeQty,
833
- [F$6.rowSource]: "scan",
669
+ [F$5.inventory]: warehouseSummary ? record[F$5.inventory] ?? record.id_ : record.id_,
670
+ ...warehouseSummary ? { [F$5.frontId]: record.id_ } : {},
671
+ [F$5.batch]: record.production_identification_id_,
672
+ [F$5.product]: record.product_id_,
673
+ [F$5.productName]: record.product_id_name_,
674
+ [F$5.productCode]: record.product_id_code_ ?? record.product_code_,
675
+ [F$5.productSpec]: record.product_id_spec_,
676
+ [F$5.warehouse]: record.warehouse_id_,
677
+ [F$5.location]: record.location_id_,
678
+ [F$5.stock]: record.stock_num_,
679
+ [F$5.matno]: record.material_no_ ?? record.name_,
680
+ [F$5.reInspectionDate]: record.re_inspection_date_,
681
+ [F$5.stocktake]: stocktakeQty,
682
+ [F$5.rowSource]: "scan",
834
683
  ...fillData
835
684
  };
836
685
  const validityFromRecord = record.validate_ ?? record.validity_;
837
686
  if (parsed.expiration) {
838
- row[F$6.validity] = toDateOnly(parsed.expiration);
687
+ row[F$5.validity] = toDateOnly(parsed.expiration);
839
688
  } else if (validityFromRecord != null) {
840
- row[F$6.validity] = toDateOnly(validityFromRecord);
689
+ row[F$5.validity] = toDateOnly(validityFromRecord);
841
690
  }
842
691
  return row;
843
692
  }
@@ -877,10 +726,10 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
877
726
  const result = super.calcFieldStatus(params);
878
727
  const { field, rowData } = params;
879
728
  const { row_source_: source } = rowData;
880
- if (field === F$6.stocktake) return result;
881
- if (!Object.values(F$6).includes(field)) return result;
729
+ if (field === F$5.stocktake) return result;
730
+ if (!Object.values(F$5).includes(field)) return result;
882
731
  if (source === WarehouseInventoryRowSource.SCAN) {
883
- result.disabled = F$6.location !== field;
732
+ result.disabled = F$5.location !== field;
884
733
  } else if (source === WarehouseInventoryRowSource.AUTO) {
885
734
  result.disabled = true;
886
735
  } else if (!source || source === WarehouseInventoryRowSource.MANUAL) {
@@ -892,12 +741,12 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
892
741
  }
893
742
  calcFieldQuery = (params) => {
894
743
  const { field, rowData } = params;
895
- if (field === F$6.location && rowData[F$6.inventoryLocationIds]) {
744
+ if (field === F$5.location && rowData[F$5.inventoryLocationIds]) {
896
745
  return {
897
- "id_.in": rowData[F$6.inventoryLocationIds]
746
+ "id_.in": rowData[F$5.inventoryLocationIds]
898
747
  };
899
748
  }
900
- if (field === F$6.product) {
749
+ if (field === F$5.product) {
901
750
  return {
902
751
  warehouse_id_: this.paramsWarehouseId
903
752
  };
@@ -905,7 +754,7 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
905
754
  };
906
755
  handleFieldTd = (params) => {
907
756
  const { field, tdHandler } = params;
908
- if (field === F$6.product) {
757
+ if (field === F$5.product) {
909
758
  tdHandler.mergeTd({
910
759
  cellWidget: {
911
760
  props: {
@@ -969,7 +818,7 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
969
818
  handleChange(params) {
970
819
  super.handleChange(params);
971
820
  const { field, value, option, rowData } = params;
972
- if (field === F$6.product && option && value !== void 0 && value !== null && value !== "") {
821
+ if (field === F$5.product && option && value !== void 0 && value !== null && value !== "") {
973
822
  for (const { optionField, toField } of buildFillFromInventoryOption(
974
823
  this.isGroupByWarehouse
975
824
  )) {
@@ -1005,7 +854,7 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
1005
854
  if (existIndex >= 0) {
1006
855
  const existRow = visibleRows[existIndex];
1007
856
  const blockReason = getScanQtyDeductionBlockReason(
1008
- existRow[F$6.stocktake],
857
+ existRow[F$5.stocktake],
1009
858
  scanQty,
1010
859
  scanAdjustType
1011
860
  );
@@ -1013,8 +862,8 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
1013
862
  this.error({ content: blockReason });
1014
863
  return;
1015
864
  }
1016
- existRow[F$6.stocktake] = applyScanQtyToStocktake(
1017
- existRow[F$6.stocktake],
865
+ existRow[F$5.stocktake] = applyScanQtyToStocktake(
866
+ existRow[F$5.stocktake],
1018
867
  scanQty,
1019
868
  scanAdjustType
1020
869
  );
@@ -1044,27 +893,27 @@ function resolveScanParsedFromInput(input, rules) {
1044
893
  }
1045
894
  function buildAllocateScanRow(record, parsed, fillData) {
1046
895
  const row = {
1047
- [F$7.inventory]: record.id_,
1048
- [F$7.product]: record.product_id_,
1049
- [F$7.productName]: record.product_id_name_,
1050
- [F$7.productCode]: record.product_id_code_,
1051
- [F$7.productSpec]: record.product_id_spec_,
1052
- [F$7.batch]: record.production_identification_id_,
1053
- [F$7.originLocation]: record.location_id_,
1054
- [F$7.originWarehouse]: record.warehouse_id_,
1055
- [F$7.stock]: record.stock_num_,
1056
- [F$7.mfgOrder]: record.mfg_order_id_,
1057
- [F$7.lotSn]: record.lot_sn_id_,
1058
- [F$7.uniqueCode]: record.unique_code_,
1059
- [F$7.reInspectionDate]: record.re_inspection_date_,
1060
- [F$7.allocateNum]: resolveScanQty(parsed.qty, record.qty_),
896
+ [F$6.inventory]: record.id_,
897
+ [F$6.product]: record.product_id_,
898
+ [F$6.productName]: record.product_id_name_,
899
+ [F$6.productCode]: record.product_id_code_,
900
+ [F$6.productSpec]: record.product_id_spec_,
901
+ [F$6.batch]: record.production_identification_id_,
902
+ [F$6.originLocation]: record.location_id_,
903
+ [F$6.originWarehouse]: record.warehouse_id_,
904
+ [F$6.stock]: record.stock_num_,
905
+ [F$6.mfgOrder]: record.mfg_order_id_,
906
+ [F$6.lotSn]: record.lot_sn_id_,
907
+ [F$6.uniqueCode]: record.unique_code_,
908
+ [F$6.reInspectionDate]: record.re_inspection_date_,
909
+ [F$6.allocateNum]: resolveScanQty(parsed.qty, record.qty_),
1061
910
  ...fillData
1062
911
  };
1063
912
  const validityFromRecord = record.validate_ ?? record.validity_;
1064
913
  if (parsed.expiration) {
1065
- row[F$7.validity] = toDateOnly(parsed.expiration);
914
+ row[F$6.validity] = toDateOnly(parsed.expiration);
1066
915
  } else if (validityFromRecord != null) {
1067
- row[F$7.validity] = toDateOnly(validityFromRecord);
916
+ row[F$6.validity] = toDateOnly(validityFromRecord);
1068
917
  }
1069
918
  return row;
1070
919
  }
@@ -1083,7 +932,7 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
1083
932
  }
1084
933
  handleFieldTd = (params) => {
1085
934
  const { field, tdHandler } = params;
1086
- if (field === F$7.product) {
935
+ if (field === F$6.product) {
1087
936
  tdHandler.mergeTd({
1088
937
  cellWidget: {
1089
938
  props: {
@@ -1099,17 +948,17 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
1099
948
  };
1100
949
  calcFieldQuery = (params) => {
1101
950
  const { field, rowData } = params;
1102
- if (field === F$7.location) {
951
+ if (field === F$6.location) {
1103
952
  return {
1104
- "warehouse_id_.eq": rowData[F$7.warehouse]
953
+ "warehouse_id_.eq": rowData[F$6.warehouse]
1105
954
  };
1106
955
  }
1107
- if (field === F$7.originLocation) {
956
+ if (field === F$6.originLocation) {
1108
957
  return {
1109
- "warehouse_id_.eq": rowData[F$7.originWarehouse]
958
+ "warehouse_id_.eq": rowData[F$6.originWarehouse]
1110
959
  };
1111
960
  }
1112
- if (field === F$7.product) {
961
+ if (field === F$6.product) {
1113
962
  return {
1114
963
  warehouse_id_: this.warehouseId
1115
964
  };
@@ -1144,7 +993,7 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
1144
993
  handleChange(params) {
1145
994
  super.handleChange(params);
1146
995
  const { field, value, option, rowData } = params;
1147
- if (field !== F$7.product || !option || value === void 0 || value === null || value === "") {
996
+ if (field !== F$6.product || !option || value === void 0 || value === null || value === "") {
1148
997
  return;
1149
998
  }
1150
999
  for (const { optionField, toField } of FILL_FROM_INVENTORY_OPTION$3) {
@@ -1605,32 +1454,32 @@ function isProductionLotOrSn(record) {
1605
1454
  }
1606
1455
  function buildProductionContainerRow(record, parsed, fillData) {
1607
1456
  return {
1608
- [F$8.productionContainer]: record.lot_sn_id_ ?? record.production_container_id_,
1609
- [F$8.product]: record.product_id_,
1610
- [F$8.productName]: record.product_id_name_,
1611
- [F$8.productCode]: record.product_id_code_,
1612
- [F$8.productSpec]: record.product_id_spec_,
1613
- [F$8.mfgOrderCode]: record.mfg_order_code_,
1614
- [F$8.qty]: parsed.qty ?? record.qty_,
1615
- [F$8.productionDate]: toDateOnly(record.production_date_),
1616
- [F$8.materialContainerNo]: void 0,
1457
+ [F$7.productionContainer]: record.lot_sn_id_ ?? record.production_container_id_,
1458
+ [F$7.product]: record.product_id_,
1459
+ [F$7.productName]: record.product_id_name_,
1460
+ [F$7.productCode]: record.product_id_code_,
1461
+ [F$7.productSpec]: record.product_id_spec_,
1462
+ [F$7.mfgOrderCode]: record.mfg_order_code_,
1463
+ [F$7.qty]: parsed.qty ?? record.qty_,
1464
+ [F$7.productionDate]: toDateOnly(record.production_date_),
1465
+ [F$7.materialContainerNo]: void 0,
1617
1466
  [MATERIAL_CONTAINER_ID]: void 0,
1618
- [F$8.mfgOrder]: void 0,
1467
+ [F$7.mfgOrder]: void 0,
1619
1468
  ...fillData
1620
1469
  };
1621
1470
  }
1622
1471
  function buildMaterialContainerRow(record, parsed, fillData) {
1623
1472
  return {
1624
- [F$8.materialContainerNo]: record.material_no_,
1473
+ [F$7.materialContainerNo]: record.material_no_,
1625
1474
  [MATERIAL_CONTAINER_ID]: record.production_identification_id_,
1626
- [F$8.product]: record.product_id_,
1627
- [F$8.productName]: record.product_id_name_,
1628
- [F$8.productCode]: record.product_id_code_,
1629
- [F$8.productSpec]: record.product_id_spec_,
1630
- [F$8.mfgOrderCode]: record.mfg_order_code_,
1631
- [F$8.mfgOrder]: record.mfg_order_id_,
1632
- [F$8.qty]: parsed.qty ?? record.qty_,
1633
- [F$8.productionContainer]: void 0,
1475
+ [F$7.product]: record.product_id_,
1476
+ [F$7.productName]: record.product_id_name_,
1477
+ [F$7.productCode]: record.product_id_code_,
1478
+ [F$7.productSpec]: record.product_id_spec_,
1479
+ [F$7.mfgOrderCode]: record.mfg_order_code_,
1480
+ [F$7.mfgOrder]: record.mfg_order_id_,
1481
+ [F$7.qty]: parsed.qty ?? record.qty_,
1482
+ [F$7.productionContainer]: void 0,
1634
1483
  ...fillData
1635
1484
  };
1636
1485
  }
@@ -1678,31 +1527,31 @@ class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
1678
1527
  calcFieldStatus(params) {
1679
1528
  const result = super.calcFieldStatus(params);
1680
1529
  const { field, rowData } = params;
1681
- if (field === F$8.product) {
1530
+ if (field === F$7.product) {
1682
1531
  result.disabled = !isProductManuallyEditable(rowData);
1683
1532
  }
1684
1533
  return result;
1685
1534
  }
1686
1535
  calcFieldDataSource = (params) => {
1687
1536
  const { field } = params;
1688
- if (field === F$8.productionContainer) return createProductionContainerLoader();
1689
- if (field === F$8.mfgOrder) return createMfgOrderLoader();
1690
- if (field === F$8.materialContainerNo) return createMaterialContainerLoader();
1537
+ if (field === F$7.productionContainer) return createProductionContainerLoader();
1538
+ if (field === F$7.mfgOrder) return createMfgOrderLoader();
1539
+ if (field === F$7.materialContainerNo) return createMaterialContainerLoader();
1691
1540
  };
1692
1541
  handleChange(params) {
1693
1542
  super.handleChange(params);
1694
1543
  const { field, option, value, rowData } = params;
1695
1544
  if (!option || isBlank$1(value)) return;
1696
1545
  const source = option._item ?? option;
1697
- if (field === F$8.mfgOrder) {
1546
+ if (field === F$7.mfgOrder) {
1698
1547
  applyFillFromMfgOrderOption(rowData, source);
1699
1548
  return;
1700
1549
  }
1701
- if (field === F$8.productionContainer || field === F$8.materialContainerNo) {
1550
+ if (field === F$7.productionContainer || field === F$7.materialContainerNo) {
1702
1551
  applyFillFromOption$1(rowData, source);
1703
1552
  return;
1704
1553
  }
1705
- if (field === F$8.product) {
1554
+ if (field === F$7.product) {
1706
1555
  applyFillFromProductOption(rowData, source);
1707
1556
  }
1708
1557
  }
@@ -1726,24 +1575,24 @@ class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
1726
1575
  }
1727
1576
  function buildWarehouseInScanRow(record, parsed, fillData) {
1728
1577
  const row = {
1729
- [F$9.product]: record.product_id_,
1730
- [F$9.productName]: record.product_id_name_,
1731
- [F$9.productCode]: record.product_id_code_,
1732
- [F$9.productSpec]: record.product_id_spec_,
1733
- [F$9.materialNo]: record.material_no_,
1734
- [F$9.materialNoId]: record.production_identification_id_,
1735
- [F$9.mfgOrder]: record.mfg_order_id_,
1736
- [F$9.lotSn]: record.lot_sn_id_,
1737
- [F$9.uniqueCode]: record.unique_code_,
1738
- [F$9.reInspectionDate]: record.re_inspection_date_,
1739
- [F$9.qty]: resolveScanQty(parsed.qty, record.qty_),
1578
+ [F$8.product]: record.product_id_,
1579
+ [F$8.productName]: record.product_id_name_,
1580
+ [F$8.productCode]: record.product_id_code_,
1581
+ [F$8.productSpec]: record.product_id_spec_,
1582
+ [F$8.materialNo]: record.material_no_,
1583
+ [F$8.materialNoId]: record.production_identification_id_,
1584
+ [F$8.mfgOrder]: record.mfg_order_id_,
1585
+ [F$8.lotSn]: record.lot_sn_id_,
1586
+ [F$8.uniqueCode]: record.unique_code_,
1587
+ [F$8.reInspectionDate]: record.re_inspection_date_,
1588
+ [F$8.qty]: resolveScanQty(parsed.qty, record.qty_),
1740
1589
  ...fillData
1741
1590
  };
1742
1591
  const validityFromRecord = record.validity_;
1743
- if (parsed.expiration && row[F$9.validity] == null) {
1744
- row[F$9.validity] = toDateOnly(parsed.expiration);
1745
- } else if (validityFromRecord != null && row[F$9.validity] == null) {
1746
- row[F$9.validity] = toDateOnly(validityFromRecord);
1592
+ if (parsed.expiration && row[F$8.validity] == null) {
1593
+ row[F$8.validity] = toDateOnly(parsed.expiration);
1594
+ } else if (validityFromRecord != null && row[F$8.validity] == null) {
1595
+ row[F$8.validity] = toDateOnly(validityFromRecord);
1747
1596
  }
1748
1597
  return row;
1749
1598
  }
@@ -1764,7 +1613,7 @@ class WarehouseInTableCore extends ProfileDrivenSubTableCore {
1764
1613
  }
1765
1614
  handleFieldTd = (params) => {
1766
1615
  const { field, tdHandler } = params;
1767
- if (field === F$9.product) {
1616
+ if (field === F$8.product) {
1768
1617
  const current = tdHandler.td.cellWidget?.props;
1769
1618
  const searchFields = current?.quickSearchField ?? PRODUCT_QUICK_SEARCH_FIELDS;
1770
1619
  tdHandler.mergeTd({
@@ -1783,7 +1632,7 @@ class WarehouseInTableCore extends ProfileDrivenSubTableCore {
1783
1632
  };
1784
1633
  calcFieldStatus(params) {
1785
1634
  const result = super.calcFieldStatus(params);
1786
- if (params.field === F$9.product) {
1635
+ if (params.field === F$8.product) {
1787
1636
  result.disabled = !isProductManuallyEditable$1(params.rowData);
1788
1637
  }
1789
1638
  return result;
@@ -1794,11 +1643,11 @@ class WarehouseInTableCore extends ProfileDrivenSubTableCore {
1794
1643
  if (isBlank(value) || !option) return;
1795
1644
  const source = resolveOptionRecord(option);
1796
1645
  if (!source) return;
1797
- if (field === F$9.materialNo) {
1646
+ if (field === F$8.materialNo) {
1798
1647
  applyFillFromMaterialNoOption(rowData, source);
1799
1648
  return;
1800
1649
  }
1801
- if (field === F$9.product) {
1650
+ if (field === F$8.product) {
1802
1651
  applyFillFromProductOption$1(rowData, source);
1803
1652
  }
1804
1653
  }
@@ -1846,37 +1695,37 @@ class WarehouseInTableCore extends ProfileDrivenSubTableCore {
1846
1695
  }
1847
1696
  }
1848
1697
  function isSameMaterialBatch(row, record) {
1849
- if (row[F$a.product] !== record.product_id_) return false;
1850
- const rowBatchId = row[F$a.materialNoId];
1698
+ if (row[F$9.product] !== record.product_id_) return false;
1699
+ const rowBatchId = row[F$9.materialNoId];
1851
1700
  const recordBatchId = record.production_identification_id_;
1852
1701
  if (rowBatchId && recordBatchId) return rowBatchId === recordBatchId;
1853
- const rowBatchNo = row[F$a.materialNo];
1702
+ const rowBatchNo = row[F$9.materialNo];
1854
1703
  const recordBatchNo = record.material_no_ ?? record.name_;
1855
1704
  return Boolean(rowBatchNo && recordBatchNo && rowBatchNo === recordBatchNo);
1856
1705
  }
1857
1706
  function buildWarehouseOutScanRow(record, parsed, fillData, qty) {
1858
1707
  const row = {
1859
- [F$a.inventory]: record.id_,
1860
- [F$a.product]: record.product_id_,
1861
- [F$a.productName]: record.product_id_name_,
1862
- [F$a.productCode]: record.product_id_code_,
1863
- [F$a.productSpec]: record.product_id_spec_,
1864
- [F$a.materialNo]: record.material_no_,
1865
- [F$a.materialNoId]: record.production_identification_id_,
1866
- [F$a.warehouse]: record.warehouse_id_,
1867
- [F$a.location]: record.location_id_,
1868
- [F$a.mfgOrder]: record.mfg_order_id_,
1869
- [F$a.lotSn]: record.lot_sn_id_,
1870
- [F$a.uniqueCode]: record.unique_code_,
1871
- [F$a.reInspectionDate]: record.re_inspection_date_,
1872
- [F$a.qty]: qty,
1708
+ [F$9.inventory]: record.id_,
1709
+ [F$9.product]: record.product_id_,
1710
+ [F$9.productName]: record.product_id_name_,
1711
+ [F$9.productCode]: record.product_id_code_,
1712
+ [F$9.productSpec]: record.product_id_spec_,
1713
+ [F$9.materialNo]: record.material_no_,
1714
+ [F$9.materialNoId]: record.production_identification_id_,
1715
+ [F$9.warehouse]: record.warehouse_id_,
1716
+ [F$9.location]: record.location_id_,
1717
+ [F$9.mfgOrder]: record.mfg_order_id_,
1718
+ [F$9.lotSn]: record.lot_sn_id_,
1719
+ [F$9.uniqueCode]: record.unique_code_,
1720
+ [F$9.reInspectionDate]: record.re_inspection_date_,
1721
+ [F$9.qty]: qty,
1873
1722
  ...fillData
1874
1723
  };
1875
1724
  const validityFromRecord = record.validate_ ?? record.validity_;
1876
1725
  if (parsed.expiration) {
1877
- row[F$a.validity] = toDateOnly(parsed.expiration);
1726
+ row[F$9.validity] = toDateOnly(parsed.expiration);
1878
1727
  } else if (validityFromRecord != null) {
1879
- row[F$a.validity] = toDateOnly(validityFromRecord);
1728
+ row[F$9.validity] = toDateOnly(validityFromRecord);
1880
1729
  }
1881
1730
  return row;
1882
1731
  }
@@ -1889,7 +1738,7 @@ class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
1889
1738
  }
1890
1739
  handleFieldTd = (params) => {
1891
1740
  const { field, tdHandler } = params;
1892
- if (field === F$a.product) {
1741
+ if (field === F$9.product) {
1893
1742
  tdHandler.mergeTd({
1894
1743
  cellWidget: {
1895
1744
  props: {
@@ -1905,7 +1754,7 @@ class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
1905
1754
  };
1906
1755
  calcFieldQuery = (params) => {
1907
1756
  const { field } = params;
1908
- if (field === F$a.product) {
1757
+ if (field === F$9.product) {
1909
1758
  return {
1910
1759
  warehouse_id_: this.warehouseId
1911
1760
  };
@@ -1940,7 +1789,7 @@ class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
1940
1789
  handleChange(params) {
1941
1790
  super.handleChange(params);
1942
1791
  const { field, value, option, rowData } = params;
1943
- if (field !== F$a.product || !option || value === void 0 || value === null || value === "") {
1792
+ if (field !== F$9.product || !option || value === void 0 || value === null || value === "") {
1944
1793
  return;
1945
1794
  }
1946
1795
  for (const { optionField, toField } of FILL_FROM_INVENTORY_OPTION$4) {
@@ -1966,7 +1815,7 @@ class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
1966
1815
  const existIndex = visibleRows.findIndex((row2) => isSameMaterialBatch(row2, selected));
1967
1816
  if (existIndex >= 0) {
1968
1817
  const existRow = visibleRows[existIndex];
1969
- existRow[F$a.qty] = Number(existRow[F$a.qty] ?? 0) + scanQty;
1818
+ existRow[F$9.qty] = Number(existRow[F$9.qty] ?? 0) + scanQty;
1970
1819
  this.tableData = [...visibleRows];
1971
1820
  return;
1972
1821
  }
@@ -1998,8 +1847,6 @@ function getClassByType(type) {
1998
1847
  return DevicePartConsumeTableCore;
1999
1848
  case SubTableType.MATERIAL_REQUISITION:
2000
1849
  return MaterialRequisitionTableCore;
2001
- case SubTableType.MATERIAL_SUBSTITUTION:
2002
- return MaterialSubstitutionTableCore;
2003
1850
  // 出入库:渲染端暂走通用 SubTableCore,后续按 Profile 迁移
2004
1851
  default:
2005
1852
  return SubTableCore;
@@ -2104,49 +1951,6 @@ class SubTableCoreFactory {
2104
1951
  await Promise.all(Object.values(this.coreMap).map(async (core) => core.beforeBtnClick(params)));
2105
1952
  }
2106
1953
  }
2107
- const _hoisted_1 = { class: "inspection-decision-prompt" };
2108
- const _hoisted_2 = { class: "inspection-decision-prompt__body" };
2109
- const _hoisted_3 = { class: "inspection-decision-prompt__heading" };
2110
- const _hoisted_4 = { class: "inspection-decision-prompt__content" };
2111
- const _hoisted_5 = { class: "inspection-decision-prompt__actions" };
2112
- const _sfc_main = /* @__PURE__ */ defineComponent({
2113
- __name: "inspection-decision-prompt-modal",
2114
- props: {
2115
- modal: {},
2116
- content: {}
2117
- },
2118
- setup(__props) {
2119
- const props = __props;
2120
- function onAcknowledge() {
2121
- void props.modal.dismiss({ ok: true });
2122
- }
2123
- return (_ctx, _cache) => {
2124
- return openBlock(), createElementBlock("div", _hoisted_1, [
2125
- createElementVNode("div", _hoisted_2, [
2126
- createElementVNode("div", _hoisted_3, [
2127
- _cache[0] || (_cache[0] = createElementVNode("svg", {
2128
- class: "inspection-decision-prompt__icon",
2129
- viewBox: "0 0 1024 1024",
2130
- "aria-hidden": "true"
2131
- }, [
2132
- createElementVNode("path", { d: "M510.5 64.8C266 64.8 67.9 262.9 67.9 507.3S266 949.8 510.4 949.8s442.5-198.1 442.5-442.5c0.1-244.4-198-442.5-442.4-442.5z m-32.4 202.7c2.1-5.5 5.2-10.5 9.3-14.8s8.9-7.6 14.3-9.9c5.4-2.3 11.2-3.5 17.1-3.5 5.9 0 11.7 1.2 17.1 3.5 5.4 2.3 10.3 5.7 14.3 9.9s7.2 9.3 9.3 14.8c2.1 5.5 3 11.3 2.7 17.2L548.8 583c-0.3 7.7-3.7 15-9.2 20.4-5.6 5.3-13 8.3-20.8 8.3-7.7 0-15.2-3-20.7-8.4-5.6-5.3-8.9-12.6-9.3-20.4l-13.4-298.3c-0.3-5.7 0.6-11.6 2.7-17.1z m94.2 439c0.2 7-1.1 14-3.7 20.5s-6.6 12.4-11.6 17.3c-10.6 9.6-24.3 14.8-38.6 14.8-6.9 0.1-13.8-1.2-20.1-3.8s-12.2-6.5-17-11.5c-5.1-4.7-9.2-10.4-12-16.8-2.8-6.4-4.1-13.3-4-20.3-0.3-7 1-13.9 3.8-20.4 2.8-6.4 6.9-12.1 12.2-16.7 4.8-4.9 10.6-8.8 17-11.3 6.4-2.6 13.2-3.8 20.1-3.6 7.1-0.3 14.2 0.9 20.8 3.4 6.6 2.5 12.7 6.4 17.7 11.4 5.1 4.7 9.1 10.4 11.7 16.9 2.8 6.3 4 13.2 3.7 20.1z" })
2133
- ], -1)),
2134
- createElementVNode("span", null, toDisplayString(_ctx.$t("sys.onlineForm.inspectionDecisionRule.promptTitle")), 1)
2135
- ]),
2136
- createElementVNode("div", _hoisted_4, toDisplayString(__props.content), 1)
2137
- ]),
2138
- createElementVNode("div", _hoisted_5, [
2139
- createElementVNode("button", {
2140
- type: "button",
2141
- class: "inspection-decision-prompt__button",
2142
- onClick: onAcknowledge
2143
- }, toDisplayString(_ctx.$t("sys.onlineForm.inspectionDecisionRule.acknowledge")), 1)
2144
- ])
2145
- ]);
2146
- };
2147
- }
2148
- });
2149
- const InspectionDecisionPromptModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c14035f"]]);
2150
1954
  function pickMainModelDisplay(dataCenter, modelKey) {
2151
1955
  for (const item of Object.values(dataCenter || {})) {
2152
1956
  const props = item?.cellWidget?.props || item?.props;
@@ -2178,70 +1982,22 @@ function useRenderPageFactory(props, payload) {
2178
1982
  const validationSyncStops = /* @__PURE__ */ new Map();
2179
1983
  const validationSuppressUntil = /* @__PURE__ */ new Map();
2180
1984
  const mcRuntimeStops = /* @__PURE__ */ new Map();
2181
- const inspectionDecisionMatched = /* @__PURE__ */ new Map();
2182
- const inspectionDecisionPrompting = /* @__PURE__ */ new Set();
2183
- function openInspectionDecisionPrompt(uniqueId, content) {
2184
- const overlay = window.NocodeAdapter.utils?.overlay;
2185
- if (!overlay || inspectionDecisionPrompting.has(uniqueId)) return;
2186
- inspectionDecisionPrompting.add(uniqueId);
2187
- void overlay.modal(
2188
- InspectionDecisionPromptModal,
2189
- { content },
2190
- {
2191
- width: "368px",
2192
- centered: true,
2193
- showFooter: false,
2194
- showCloseBtn: false,
2195
- closable: false,
2196
- canFullscreen: false,
2197
- maskClosable: false,
2198
- bodyStyle: { padding: 0 },
2199
- wrapClassName: "inspection-decision-prompt-overlay"
2200
- }
2201
- ).finally(() => inspectionDecisionPrompting.delete(uniqueId));
2202
- }
2203
- function syncInspectionDecisionRule(uniqueId, allowPrompt = false) {
2204
- const formState = formStateMap.value[uniqueId];
2205
- const paper = dataCenterMap.value[uniqueId]?.[ComponentTypeEnum.PAPER];
2206
- const rule = paper?.props?.inspectionDecisionRule;
2207
- const matched = evaluateInspectionDecisionRule(rule, formState);
2208
- const previous = inspectionDecisionMatched.get(uniqueId);
2209
- inspectionDecisionMatched.set(uniqueId, matched);
2210
- if (allowPrompt && previous === false && matched) {
2211
- const content = rule?.prompt?.trim();
2212
- if (content) {
2213
- openInspectionDecisionPrompt(uniqueId, content);
2214
- }
2215
- }
2216
- return matched;
2217
- }
2218
- function clearInspectionValidationState(uniqueId) {
2219
- applyValidatorComments(uniqueId, null);
2220
- applyMcValidatorComments(uniqueId, null);
2221
- }
2222
1985
  function unbindFormValidationSync(uniqueId) {
2223
1986
  validationSyncStops.get(uniqueId)?.forEach((stop) => stop());
2224
1987
  validationSyncStops.delete(uniqueId);
2225
1988
  validationSuppressUntil.delete(uniqueId);
2226
- inspectionDecisionMatched.delete(uniqueId);
2227
1989
  }
2228
1990
  function bindFormValidationSync(uniqueId) {
2229
1991
  unbindFormValidationSync(uniqueId);
2230
1992
  validationSuppressUntil.set(uniqueId, Date.now() + 5e3);
2231
- syncInspectionDecisionRule(uniqueId);
2232
1993
  const stops = [];
2233
1994
  stops.push(
2234
1995
  watch(
2235
1996
  () => formStateMap.value[uniqueId],
2236
1997
  () => {
1998
+ if ((validationSuppressUntil.get(uniqueId) ?? 0) > Date.now()) return;
2237
1999
  const info = basicInfoList.value.find((item) => item.uniqueId === uniqueId);
2238
2000
  if (!info) return;
2239
- const suppressed = (validationSuppressUntil.get(uniqueId) ?? 0) > Date.now();
2240
- syncInspectionDecisionRule(
2241
- uniqueId,
2242
- !suppressed && info.renderModeType === RenderModeEnum.FormMode
2243
- );
2244
- if (suppressed) return;
2245
2001
  if (info.renderModeType === RenderModeEnum.FormMode) {
2246
2002
  requestFullValidation(uniqueId, { trigger: "change" });
2247
2003
  }
@@ -2322,7 +2078,7 @@ function useRenderPageFactory(props, payload) {
2322
2078
  });
2323
2079
  watch(
2324
2080
  [() => props.selfId, () => counter.value],
2325
- async ([newRequestId, _2]) => {
2081
+ async ([newRequestId, _3]) => {
2326
2082
  console.log("aaaaaaaaaa", newRequestId);
2327
2083
  if (isEmpty(newRequestId)) {
2328
2084
  invalidateFetch();
@@ -2589,10 +2345,6 @@ function useRenderPageFactory(props, payload) {
2589
2345
  if (isEmpty(result)) return;
2590
2346
  console.log("Processing data for id:", result);
2591
2347
  const { selfInfo, paramsConfig, fillModeType } = result || {};
2592
- setFormulaParamsConfig({
2593
- routingParamList: selfInfo?.routingParamList || [],
2594
- inspectionParamList: selfInfo?.inspectionParamList || []
2595
- });
2596
2348
  const cloneRuntimeJson = cloneDeep(JSON.parse(selfInfo?.runtimeJson || "{}"));
2597
2349
  const paper = cloneRuntimeJson[ComponentTypeEnum.PAPER];
2598
2350
  const isFormInstance = payload.factoryType === "instance" || payload.factoryType === "batchInstance" || !!selfInfo?.tmplId;
@@ -2912,9 +2664,9 @@ function useRenderPageFactory(props, payload) {
2912
2664
  const prevMap = info.validatorMessageMap ?? {};
2913
2665
  const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((k2, i) => k2 === prevLocations[i]);
2914
2666
  const sameMessages = sameLocations && nextLocations.every((k2) => {
2915
- const a9 = prevMap[k2];
2916
- const b5 = map[k2];
2917
- return JSON.stringify(a9) === JSON.stringify(b5);
2667
+ const a5 = prevMap[k2];
2668
+ const b2 = map[k2];
2669
+ return JSON.stringify(a5) === JSON.stringify(b2);
2918
2670
  });
2919
2671
  if (sameMessages) return;
2920
2672
  closeValidatorPopovers();
@@ -2931,9 +2683,9 @@ function useRenderPageFactory(props, payload) {
2931
2683
  const prevMap = info.mcValidatorMessageMap ?? {};
2932
2684
  const sameLocations = prevLocations.length === nextLocations.length && nextLocations.every((k2, i) => k2 === prevLocations[i]);
2933
2685
  const sameMessages = sameLocations && nextLocations.every((k2) => {
2934
- const a9 = prevMap[k2];
2935
- const b5 = map[k2];
2936
- return JSON.stringify(a9) === JSON.stringify(b5);
2686
+ const a5 = prevMap[k2];
2687
+ const b2 = map[k2];
2688
+ return JSON.stringify(a5) === JSON.stringify(b2);
2937
2689
  });
2938
2690
  if (sameMessages) return;
2939
2691
  closeValidatorPopovers();
@@ -2996,10 +2748,6 @@ function useRenderPageFactory(props, payload) {
2996
2748
  const formState = formStateMap.value?.[uniqueId];
2997
2749
  const dataCenter = dataCenterMap.value?.[uniqueId];
2998
2750
  const bomC = tmplBomCMap.value?.[uniqueId];
2999
- if (syncInspectionDecisionRule(uniqueId)) {
3000
- clearInspectionValidationState(uniqueId);
3001
- return { isValid: true };
3002
- }
3003
2751
  const res = await validate(formState, dataCenter[ComponentTypeEnum.PAPER], uniqueId);
3004
2752
  if (bomC) {
3005
2753
  const bomRes = await bomC.submitValidate();
@@ -3307,7 +3055,7 @@ function useEbrWikiFactoryV2(props, payload) {
3307
3055
  }
3308
3056
  watch(
3309
3057
  [() => props.materialNo, () => edhrCounter.value],
3310
- async ([newMaterialNo, _2]) => {
3058
+ async ([newMaterialNo, _3]) => {
3311
3059
  if (isEmpty(newMaterialNo)) return;
3312
3060
  loading.value = true;
3313
3061
  clear();
@@ -3486,7 +3234,7 @@ function useEbrWikiFactoryV2(props, payload) {
3486
3234
  );
3487
3235
  watch(
3488
3236
  [() => selectSelfInfo.value, () => instanceCounter.value],
3489
- ([newSelectSelfInfo, _2]) => {
3237
+ ([newSelectSelfInfo, _3]) => {
3490
3238
  if (newSelectSelfInfo && payload.pageType === "record-change") {
3491
3239
  emitter.emit(EmitterEnum.__on_select_ebr_doc_instance_id, {
3492
3240
  instanceId: newSelectSelfInfo.id
@@ -3762,8 +3510,8 @@ function useFormulaExpWatcher(options) {
3762
3510
  debouncedCompute();
3763
3511
  return;
3764
3512
  }
3765
- for (const p3 of parseInfos) {
3766
- const { type, processed, hashValue } = p3;
3513
+ for (const p of parseInfos) {
3514
+ const { type, processed, hashValue } = p;
3767
3515
  if (type === "plain") {
3768
3516
  const stop2 = watch(
3769
3517
  () => currentPageFormState.value?.[processed],
@@ -3991,217 +3739,209 @@ function filterAnnotationItemsUpToCurrent(items) {
3991
3739
  });
3992
3740
  }
3993
3741
  export {
3994
- aN as AITooltips,
3742
+ aJ as AITooltips,
3995
3743
  AllocateTableCore,
3996
3744
  B3 as BaseFormModelFetcher,
3997
- aP as BinarizeMethodOptions,
3998
- b4 as BindCmpStyleEnum,
3999
- a0 as BooleanShowMode,
3745
+ aL as BinarizeMethodOptions,
3746
+ b0 as BindCmpStyleEnum,
3747
+ $ as BooleanShowMode,
4000
3748
  B2 as BorderTD,
4001
3749
  BpmnNodeTypeEnum,
4002
- ct as BpmnSignatureTypeEnum,
4003
- cu as ButtonTypeEnum,
3750
+ ci as BpmnSignatureTypeEnum,
3751
+ cj as ButtonTypeEnum,
4004
3752
  B as BwipCodeType,
4005
- cv as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
4006
- y as CellType,
4007
- af as CellWidgetViewState,
3753
+ ck as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3754
+ x as CellType,
3755
+ ab as CellWidgetViewState,
4008
3756
  CheckDsTypeEnum,
4009
- cw as CodeRunner,
3757
+ cl as CodeRunner,
4010
3758
  ComponentTypeEnum,
4011
- cx as Config_Fields,
4012
- cy as ControlStatusEnum,
4013
- bh as DEVICE_GROUP_QUERY_KEY,
4014
- cz as DEVICE_SEARCH_API,
4015
- aW as DateFormat,
4016
- ay as DecimalDisplayMode,
4017
- aO as DenoiseMethodOptions,
4018
- P2 as DeviceConnector,
4019
- aL as DeviceLink,
3759
+ cm as Config_Fields,
3760
+ cn as ControlStatusEnum,
3761
+ bd as DEVICE_GROUP_QUERY_KEY,
3762
+ co as DEVICE_SEARCH_API,
3763
+ aS as DateFormat,
3764
+ au as DecimalDisplayMode,
3765
+ aK as DenoiseMethodOptions,
3766
+ L2 as DeviceConnector,
3767
+ aH as DeviceLink,
4020
3768
  D as DeviceLinkTmplUtil,
4021
- aM as DeviceParamsTypeTitle,
3769
+ aI as DeviceParamsTypeTitle,
4022
3770
  DevicePartConsumeTableCore,
4023
- cA as DeviceStatus,
4024
- ag as DiagonalDirection,
4025
- ak as DiagonalVertex,
4026
- _ as DocumentLayout,
4027
- Q2 as DocumentLoading,
4028
- o2 as DocumentPaper,
4029
- T as DynamicQuickFillModal,
4030
- p2 as DynamicTableAction,
4031
- cB as EBR_PROVIDE_ENUM,
4032
- cC as EFieldBizTypeEnum,
3771
+ cp as DeviceStatus,
3772
+ ac as DiagonalDirection,
3773
+ ag as DiagonalVertex,
3774
+ _2 as DocumentLayout,
3775
+ N2 as DocumentLoading,
3776
+ l as DocumentPaper,
3777
+ O2 as DynamicQuickFillModal,
3778
+ m as DynamicTableAction,
3779
+ cq as EBR_PROVIDE_ENUM,
3780
+ cr as EFieldBizTypeEnum,
4033
3781
  E as EMPTY_PRODUCT_VERSION_ID,
4034
- aF as EmptySymbol,
4035
- a2 as FallbackSignTypeEnum,
4036
- ae as FieldSysVarDefaultValueEnum,
3782
+ aB as EmptySymbol,
3783
+ aa as FieldSysVarDefaultValueEnum,
4037
3784
  FillingTypeEnum,
4038
- U as FixedQuickFillModal,
3785
+ P2 as FixedQuickFillModal,
4039
3786
  FormAnnotationController,
4040
3787
  F as FormModelController,
4041
3788
  FormTmplBomController,
4042
- V as FormTmplConfigController,
3789
+ Q as FormTmplConfigController,
4043
3790
  FormTypeEnum,
4044
- az as ImageDisplayModeEnum,
3791
+ av as ImageDisplayModeEnum,
4045
3792
  I as InstanceStatusValues,
4046
- aR as JoinModelTypeEum,
4047
- $ as LabelPosition,
4048
- ai as LineDirection,
3793
+ aN as JoinModelTypeEum,
3794
+ _ as LabelPosition,
3795
+ ae as LineDirection,
4049
3796
  L as LineType,
4050
- M as MBRender,
4051
- W as MCDataUtil,
4052
- a7 as MCRender,
3797
+ M2 as MBRender,
3798
+ T as MCDataUtil,
3799
+ a4 as MCRender,
4053
3800
  MaterialConsumeTableController,
4054
3801
  MaterialConsumptionPatternEnum,
4055
3802
  MaterialRequisitionTableCore,
4056
3803
  MaterialStatusEnum,
4057
- MaterialSubstitutionTableCore,
4058
- cD as MobileFillTypeEnum,
3804
+ cs as MobileFillTypeEnum,
4059
3805
  NCB_PROVIDE,
4060
- X as OCR_MODEL_PRECISION_ENUM_KEY,
4061
- cE as OfficeTypeEnum,
3806
+ U as OCR_MODEL_PRECISION_ENUM_KEY,
3807
+ ct as OfficeTypeEnum,
4062
3808
  O as Orientation,
4063
- p as PageSizeEnum,
3809
+ o as PageSizeEnum,
4064
3810
  P as PaginationFormat,
4065
- a8 as PaperSizeMap,
4066
- o as PaperWidgeType,
4067
- N as PaperWidgeValueType,
4068
- aQ as ParamModelTypeEnum,
3811
+ a6 as PaperSizeMap,
3812
+ n as PaperWidgeType,
3813
+ M as PaperWidgeValueType,
3814
+ aM as ParamModelTypeEnum,
4069
3815
  PartStocktakeTableCore,
4070
3816
  PlatformEnum,
4071
- cF as PosEnum,
3817
+ cu as PosEnum,
4072
3818
  PretreatmentListTableCore,
4073
3819
  ProfileDrivenSubTableCore,
4074
- ax as RangeCompareOp,
4075
- aw as RangeValidateMode,
3820
+ at as RangeCompareOp,
3821
+ as as RangeValidateMode,
4076
3822
  RenderModeEnum,
4077
- a5 as SignShowTypeEnum,
4078
- a1 as SignatureImageDirectionEnum,
4079
- a3 as SignatureNumberTypeEnum,
4080
- a4 as SignatureTimeTypeEnum,
4081
- a6 as SignatureTypeEnum,
3823
+ a2 as SignShowTypeEnum,
3824
+ a0 as SignatureNumberTypeEnum,
3825
+ a1 as SignatureTimeTypeEnum,
3826
+ a3 as SignatureTypeEnum,
4082
3827
  SterilizeBatchTableCore,
4083
3828
  StocktakeTableCore,
4084
3829
  SubTableCore,
4085
3830
  SubTableCoreFactory,
4086
3831
  SubTableType,
4087
- cG as SummaryApproveHisTypeEnum,
4088
- aj as TimeDiffFormat,
4089
- an as ViewTypeEnum,
3832
+ cv as SummaryApproveHisTypeEnum,
3833
+ af as TimeDiffFormat,
3834
+ aj as ViewTypeEnum,
4090
3835
  WarehouseInTableCore,
4091
3836
  WarehouseInboundTableCore,
4092
3837
  WarehouseOutTableCore,
4093
3838
  WarehouseOutboundTableCore,
4094
- ah as WidgetImageSizeMode,
4095
- cH as applyCheckDsDataToRuntime,
3839
+ ad as WidgetImageSizeMode,
3840
+ cw as applyCheckDsDataToRuntime,
4096
3841
  e as applyConsumeObjectTraceChange,
4097
- cI as applyMedProCheckDsDataToRuntime,
3842
+ cx as applyMedProCheckDsDataToRuntime,
4098
3843
  baseDataUtils,
4099
- cJ as buildDeviceBaseQuery,
4100
- bg as buildDeviceFilterQuery,
4101
- cK as buildFormChangeDisplayRows,
3844
+ cy as buildDeviceBaseQuery,
3845
+ bc as buildDeviceFilterQuery,
3846
+ cz as buildFormChangeDisplayRows,
4102
3847
  b as buildObjectLotExtraQuery,
4103
- cL as buildStableFieldLocation,
3848
+ cA as buildStableFieldLocation,
4104
3849
  calcFillData,
4105
3850
  calcUtils,
4106
3851
  clearFormRules,
4107
3852
  collectAnnotationItemsByLocation,
4108
3853
  collectFormChangeFieldLocations,
4109
3854
  commonUtils,
4110
- cM as deleteSubtableRow,
4111
- cN as detailsHaveFormChangeRowOps,
3855
+ cB as deleteSubtableRow,
3856
+ cC as detailsHaveFormChangeRowOps,
4112
3857
  enrichFormChangeRowDetails,
4113
- cO as extractFormChangeRowDetails,
3858
+ cD as extractFormChangeRowDetails,
4114
3859
  extractKeywordFromQueryData,
4115
- cP as fetchCheckDsDataForTable,
4116
- cQ as fetchCustomCheckDsData,
3860
+ cE as fetchCheckDsDataForTable,
3861
+ cF as fetchCustomCheckDsData,
4117
3862
  fetchHistoryConsume,
4118
- cR as fetchMedProCheckDsData,
4119
- h as fetchOperationReceiveQty,
4120
- f as fetchUdi,
3863
+ cG as fetchMedProCheckDsData,
3864
+ f as fetchOperationReceiveQty,
4121
3865
  filterAnnotationItemsUpToCurrent,
4122
- Y as getAppInfo,
4123
- cS as getCheckTableSnapshotKey,
4124
- cT as getFormChangeRowKey,
4125
- cU as getFormChangeRowOp,
4126
- b1 as getLotLockedReason,
3866
+ V as getAppInfo,
3867
+ cH as getCheckTableSnapshotKey,
3868
+ cI as getFormChangeRowKey,
3869
+ cJ as getFormChangeRowOp,
3870
+ aZ as getLotLockedReason,
4127
3871
  g as getObjectBomMaterialLotQuery,
4128
- j as getObjectBomProductQuery,
4129
- cV as getParseRuleConfig,
3872
+ h as getObjectBomProductQuery,
3873
+ cK as getParseRuleConfig,
4130
3874
  getParseRuleInfo,
4131
3875
  getParseRuleValue,
4132
- cW as getReinspectionDate,
4133
- cX as getSubTableQuickFillInfo,
4134
- Z as getSuiteKey,
4135
- bi as getValidationRuleKeys,
4136
- cY as handleOldConfig,
4137
- cZ as hasAnyCheckTableSnapshot,
4138
- c_ as hasByTableCheckTableSnapshot,
4139
- c$ as hasSharedCheckTableSnapshot,
4140
- d0 as insertSubtableRows,
4141
- d1 as isAnnLocationSelected,
4142
- $2 as isBlank,
3876
+ cL as getReinspectionDate,
3877
+ cM as getSubTableQuickFillInfo,
3878
+ W as getSuiteKey,
3879
+ cN as handleOldConfig,
3880
+ cO as hasAnyCheckTableSnapshot,
3881
+ cP as hasByTableCheckTableSnapshot,
3882
+ cQ as hasSharedCheckTableSnapshot,
3883
+ cR as insertSubtableRows,
3884
+ cS as isAnnLocationSelected,
3885
+ X as isBlank,
4143
3886
  isBomGranted,
4144
3887
  isEdhrSuite,
4145
- a02 as isEqmSuite,
4146
- d2 as isFormChangeGhostRow,
4147
- d3 as isMedProSuite,
4148
- d4 as isRowAddedInCurrentFormChange,
4149
- d5 as jsonSchemaUtils,
4150
- d6 as judgeUnique,
4151
- b0 as materialCheck,
4152
- d7 as migrateDiagonalDirectionToVertex,
3888
+ Y as isEqmSuite,
3889
+ cT as isFormChangeGhostRow,
3890
+ cU as isMedProSuite,
3891
+ cV as isRowAddedInCurrentFormChange,
3892
+ cW as jsonSchemaUtils,
3893
+ cX as judgeUnique,
3894
+ aY as materialCheck,
3895
+ cY as migrateDiagonalDirectionToVertex,
4153
3896
  nextFormChangeRowViewHistoryId,
4154
- b8 as normalizeRefLoaderResult,
4155
- d8 as parseFrontConfig,
4156
- a12 as parseUdi,
4157
- a22 as pickObjectFieldKeys,
4158
- d9 as recordSubtableRowAdd,
4159
- da as recordSubtableRowDelete,
4160
- be as refUtils,
3897
+ b7 as normalizeRefLoaderResult,
3898
+ cZ as parseFrontConfig,
3899
+ Z as pickObjectFieldKeys,
3900
+ c_ as recordSubtableRowAdd,
3901
+ c$ as recordSubtableRowDelete,
3902
+ ba as refUtils,
4161
3903
  registerValidationContext,
4162
- db as relocateDeletedRowsToEnd,
3904
+ d0 as relocateDeletedRowsToEnd,
4163
3905
  renderUtils,
4164
3906
  requestDisplayValidation,
4165
3907
  requestFullValidation,
4166
- dc as requestMedProCheckDsData,
4167
- dd as requestNonMedProCheckDsData,
4168
- de as resolveAnnotationFieldLocation,
4169
- al as resolveDiagonalVertex,
4170
- t as resolveFieldRenderComponent,
4171
- df as resolveFormChangeRowUi,
3908
+ d1 as requestMedProCheckDsData,
3909
+ d2 as requestNonMedProCheckDsData,
3910
+ d3 as resolveAnnotationFieldLocation,
3911
+ ah as resolveDiagonalVertex,
3912
+ q as resolveFieldRenderComponent,
3913
+ d4 as resolveFormChangeRowUi,
4172
3914
  c as resolveObjectBomEntry,
4173
3915
  r as resolveObjectFieldKeys,
4174
- dg as resolveRowFormChangeMark,
4175
- a32 as resolveUdiQuery,
3916
+ d5 as resolveRowFormChangeMark,
4176
3917
  d as runWithFillProduct,
4177
- aV as setSelectAnnotationId,
4178
- dh as setSelectMobileTdId,
4179
- aU as setSelectValidatorId,
3918
+ aR as setSelectAnnotationId,
3919
+ d6 as setSelectMobileTdId,
3920
+ aQ as setSelectValidatorId,
4180
3921
  settleAndValidateDisplay,
4181
- aS as sqlUtils,
4182
- di as stockCheck,
3922
+ aO as sqlUtils,
3923
+ d7 as stockCheck,
4183
3924
  transformUtils,
4184
3925
  unregisterValidationContext,
4185
- Q as useCalculateFormula,
4186
- b7 as useCurrentPageFormState,
4187
- bm as useDependency,
3926
+ N as useCalculateFormula,
3927
+ b3 as useCurrentPageFormState,
3928
+ bg as useDependency,
4188
3929
  useEbrWikiFactoryV2,
4189
3930
  u2 as useFormModel,
4190
3931
  u as useFormTmplConfig,
4191
3932
  useFormulaExpWatcher,
4192
3933
  useMaterialBalance,
4193
3934
  useNocodeEmitter,
4194
- b3 as useNocodeFormWidget,
4195
- dj as useOnlineFormActionButton,
4196
- bk as useOnlineFormTransformField2Component,
3935
+ a$ as useNocodeFormWidget,
3936
+ d8 as useOnlineFormActionButton,
3937
+ be as useOnlineFormTransformField2Component,
4197
3938
  useRenderPageFactory,
4198
- k as useStyles,
3939
+ j as useStyles,
4199
3940
  a as useTmplBom,
4200
- l as useValidator,
4201
- aT as useWidgetStaticAttrs,
3941
+ k as useValidator,
3942
+ aP as useWidgetStaticAttrs,
4202
3943
  validate,
4203
- bj as validateFields,
4204
3944
  v as validateObjectBomForScan,
4205
3945
  validateObjectBomQtyOnSubmit,
4206
- b2 as validateReinspectionDate
3946
+ a_ as validateReinspectionDate
4207
3947
  };