@gct-paas/excel 0.1.48-beta.0 → 0.1.48

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 (207) hide show
  1. package/README.md +4 -3
  2. package/dist/AntdIcon-DCIaV352.js +1108 -0
  3. package/dist/{BaseComponent-CuX5xLFK.js → BaseComponent-CZpM9r44.js} +3 -4
  4. package/dist/{VueVideoPlayer-CBBB12Hj.js → VueVideoPlayer-B8GR2HPo.js} +2 -2
  5. package/dist/{align-editor-Df9gS31T.js → align-editor--BUxJjPg.js} +1 -1
  6. package/dist/{barcode-design-B34-4xJ9.js → barcode-design-c3GTQF-e.js} +2 -3
  7. package/dist/base/index.es.js +222 -517
  8. package/dist/{diagonal-design-D0HXMI8w.js → diagonal-design-rPVXdCYs.js} +2 -3
  9. package/dist/{dynamic-table-action-9sxv3gW5.js → dynamic-table-action-UhdVqWq_.js} +322 -452
  10. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-YSIO0k9J.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js} +597 -2298
  11. package/dist/{edit.utils-CXmmCnxE-0uJiCs33.js → edit.utils-CXmmCnxE-BXlWf2Zf.js} +1 -1
  12. package/dist/excel.css +723 -611
  13. package/dist/{exceljs.min-Doeyz39_.js → exceljs.min-Cr3KhthP.js} +2 -2
  14. package/dist/{font-editor-B8A9tDhO.js → font-editor-D8hczTjp.js} +3 -3
  15. package/dist/{image-design-CVyCbbef.js → image-design-C3yJcthI.js} +8 -3
  16. package/dist/{index-B3hu8heh.js → index-6D_uimK5.js} +2 -3
  17. package/dist/{index-DuuvFB0e.js → index-9AkXvLCn.js} +2 -3
  18. package/dist/index-B6csmYLK.js +4353 -0
  19. package/dist/{index-hDsTasdu.js → index-BAzcfKM5.js} +2 -3
  20. package/dist/{index-VrLq9hAc.js → index-BCoiCGuV.js} +3736 -8994
  21. package/dist/{index-R95URjcc.js → index-BDr7t7vL.js} +1 -2
  22. package/dist/{index-FCg2Jzvu.js → index-Bd15pfRH.js} +1 -2
  23. package/dist/{index-Uy8bXkuC.js → index-Bj0FhTCX.js} +3 -4
  24. package/dist/{index-ucaRXWE8.js → index-BrXTVTZI.js} +2 -3
  25. package/dist/{index-BLJdXkdZ.js → index-Bt9PAFFY.js} +4 -5
  26. package/dist/{index-DKKIL32g.js → index-C-1l-W9I.js} +2 -3
  27. package/dist/{index-B7Yt5TSq.js → index-C6WDE2xc.js} +1 -2
  28. package/dist/{index-CNmwpU3G.js → index-CBb53WuP.js} +3 -7
  29. package/dist/{index-BOO2K9Vu.js → index-CDhYyvG6.js} +3 -4
  30. package/dist/{index-TeozNhWH.js → index-CSCuwunJ.js} +2 -3
  31. package/dist/{index-BwyHByzZ.js → index-CZo7qVZK.js} +1 -2
  32. package/dist/{index-DMVIENZW.js → index-D6p0ybhH.js} +3 -4
  33. package/dist/{index-Bj2qRb0q.js → index-DBSvao2o.js} +1 -2
  34. package/dist/{index-CzztJ4fH.js → index-DDi7ZgcG.js} +3 -4
  35. package/dist/{index-PSQkEXxq.js → index-DGhgiFKR.js} +2 -3
  36. package/dist/{index-CGU3uK4z.js → index-DMAuxwlt.js} +1 -2
  37. package/dist/{index-CDObWZ7G.js → index-DNBQ2Mcz.js} +2 -3
  38. package/dist/{index-XE84LVO7.js → index-DQC7zJRO.js} +1 -2
  39. package/dist/{index-RG23XjoT.js → index-DRKCOV3w.js} +1 -2
  40. package/dist/{index-vEZ4Yr2u.js → index-DeLqXVq_.js} +2 -3
  41. package/dist/{index-CS1tP-l0.js → index-DphaGraj.js} +2 -3
  42. package/dist/{index-D_hAd0MQ.js → index-Ns6S766a.js} +3 -4
  43. package/dist/{index-D0VBKmKt.js → index-QwgVd2p_.js} +2 -3
  44. package/dist/{index-Cn_bmfoD.js → index-UnwowxL3.js} +1 -2
  45. package/dist/{index-7VROqGqR.js → index-dJ-8GxrY.js} +2 -3
  46. package/dist/{index-DA7GAWZ1.js → index-rFlXPuqT.js} +3 -4
  47. package/dist/{index-dUCz8OdV.js → index-rpyMdjHC.js} +2 -3
  48. package/dist/{index-Bb3Ugl3c.js → index-uIGXMq0b.js} +2 -3
  49. package/dist/{index-DU4dWvY6.js → index-wKwGHLnP.js} +1 -2
  50. package/dist/{index-CMmaJ4Ss.js → index-xTU-LDgM.js} +2 -3
  51. package/dist/index.es.js +46 -52
  52. package/dist/mb-render-CQlqaMrC.js +276 -0
  53. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-ApLSXGFP.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-219qzsVL.js} +3 -27
  54. package/dist/{pagination-design-B5DxwV5F.js → pagination-design-CHYFEADY.js} +2 -3
  55. package/dist/paper-widget-design-DytgPKbZ.js +4 -0
  56. package/dist/{print-runtime-instance-BDM-anCd.js → print-runtime-instance-BpLQbf4O.js} +1 -1
  57. package/dist/{print-snapshot-renderer-kB1Bw7A_.js → print-snapshot-renderer-Di_OBv6Z.js} +3 -3
  58. package/dist/{qrcode-design-bN48s3rk.js → qrcode-design-BDBuzKwl.js} +1 -1
  59. package/dist/{revo-grid.entry-BXEGtAbW.js → revo-grid.entry-Be5Mx_h7.js} +1 -1
  60. package/dist/{revogr-attribution_7.entry-CImeTxBl.js → revogr-attribution_7.entry-DmJFrubR.js} +3 -3
  61. package/dist/{revogr-clipboard_3.entry-DqcrJ6zB.js → revogr-clipboard_3.entry-COcvqK0w.js} +2 -2
  62. package/dist/{revogr-data_4.entry-Ccdsy3nO.js → revogr-data_4.entry-Dc4luGHv.js} +2 -2
  63. package/dist/{revogr-filter-panel.entry-B2xM2jvB.js → revogr-filter-panel.entry-B1l-ouo-.js} +1 -1
  64. package/dist/seal-design-Bku0cT8Z.js +4 -0
  65. package/dist/{serialnumber-design-BGTOIn2S.js → serialnumber-design-hcI8TwmS.js} +1 -1
  66. package/dist/shared/index.es.js +28 -29
  67. package/dist/{single-field-drop-b2b71HAk.js → single-field-drop-BmHF9A4z.js} +3 -2
  68. package/dist/{size-editor-DtX2f2CF.js → size-editor-D4ZNlV-c.js} +1 -1
  69. package/dist/src/adapter/adapter.d.ts +1 -1
  70. package/dist/src/adapter/index.d.ts +0 -2
  71. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +1 -37
  72. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -7
  73. package/dist/src/domain/table/design/autofill-expander.d.ts +0 -2
  74. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +0 -6
  75. package/dist/src/domain/table/index.d.ts +1 -1
  76. package/dist/src/domain/table/types.d.ts +0 -2
  77. package/dist/src/index.d.ts +0 -8
  78. package/dist/src/nocode-base/src/components/document-sub-table-action/dynamic-table-action.vue.d.ts +2 -0
  79. package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -0
  80. package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +4 -0
  81. package/dist/src/nocode-base/src/components/material-consume/types.d.ts +5 -1
  82. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +4 -4
  83. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +4 -1
  84. package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +2 -1
  85. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +6 -0
  86. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +28 -1
  87. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +8 -9
  88. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +1 -7
  89. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +2 -8
  90. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +6 -55
  91. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -24
  92. package/dist/src/nocode-base/src/interface/ref-loader.d.ts +1 -12
  93. package/dist/src/nocode-base/src/interface/render.d.ts +1 -2
  94. package/dist/src/nocode-base/src/interface/transform.d.ts +0 -3
  95. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
  96. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -1
  97. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +2 -5
  98. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -8
  99. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -8
  100. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +15 -2
  101. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +10 -0
  102. package/dist/src/nocode-web-render/src/components/print-fill-background-selector.vue.d.ts +2 -0
  103. package/dist/src/nocode-web-render/src/hooks/index.d.ts +2 -0
  104. package/dist/src/{shared → nocode-web-render/src}/hooks/useWebUpload.d.ts +1 -1
  105. package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +15 -0
  106. package/dist/src/nocode-web-render/src/index.d.ts +6 -0
  107. package/dist/src/nocode-web-render/src/logic/index.d.ts +1 -0
  108. package/dist/src/nocode-web-render/src/render/common/index.d.ts +2 -0
  109. package/dist/src/nocode-web-render/src/render/common/modal-manager.d.ts +20 -0
  110. package/dist/src/{adapter/web → nocode-web-render/src/render/common}/open-util.d.ts +1 -1
  111. package/dist/src/nocode-web-render/src/render/index.d.ts +10 -0
  112. package/dist/src/{online-form/src/views/designer/modules/panel/sub-table/comps → nocode-web-render/src/render/parse-rule}/add-rule-btn.vue.d.ts +1 -1
  113. package/dist/src/nocode-web-render/src/render/parse-rule/index.d.ts +3 -0
  114. package/dist/src/nocode-web-render/src/render/parse-rule/parse-rule-modal.vue.d.ts +15 -0
  115. package/dist/src/nocode-web-render/src/render/sub-table/allocate/allocate-web-render.d.ts +4 -0
  116. package/dist/src/nocode-web-render/src/render/sub-table/allocate/index.d.ts +1 -0
  117. package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/common}/inventory-scan-columns.d.ts +1 -1
  118. package/dist/src/nocode-web-render/src/render/sub-table/common/multi-rows-modal.vue.d.ts +15 -0
  119. package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +19 -0
  120. package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/common}/sub-table-render.d.ts +5 -2
  121. package/dist/src/nocode-web-render/src/render/sub-table/index.d.ts +3 -0
  122. package/dist/src/nocode-web-render/src/render/sub-table/material-balance/index.d.ts +1 -0
  123. package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/material-balance}/material-consume-modal.vue.d.ts +1 -1
  124. package/dist/src/{adapter/web/material-balance-render.d.ts → nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts} +1 -1
  125. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/bom-modal.vue.d.ts +11 -0
  126. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +4 -0
  127. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +42 -0
  128. package/dist/src/nocode-web-render/src/render/sub-table/stocktake/index.d.ts +2 -0
  129. package/dist/src/{adapter/web/stocktake-render.d.ts → nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts} +2 -2
  130. package/dist/src/nocode-web-render/src/types/hooks/index.d.ts +1 -0
  131. package/dist/src/nocode-web-render/src/types/index.d.ts +1 -0
  132. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  133. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +1 -1
  134. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +4 -4
  135. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +3 -3
  136. package/dist/src/online-form/src/views/designer/constants/index.d.ts +0 -1
  137. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +0 -144
  138. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +4 -87
  139. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +0 -6
  140. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/panel-check-table/select-check-ds-modal.vue.d.ts +3 -3
  141. package/dist/src/online-form/src/views/designer/types/index.d.ts +1 -12
  142. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-auto-complete.vue.d.ts +2 -2
  143. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-date-picker.vue.d.ts +2 -2
  144. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  145. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-text-input.vue.d.ts +2 -2
  146. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-textarea.vue.d.ts +2 -2
  147. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +1 -0
  148. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +1 -0
  149. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +4 -1
  150. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -1
  151. package/dist/src/online-form/src/views/render/__components__/_field_/trace/common/base-vxe-table.vue.d.ts +1 -1
  152. package/dist/src/shared/components/ColorPicker/src/ColorPicker.vue.d.ts +1 -1
  153. package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +2 -162
  154. package/dist/src/shared/components/Signature/logic/index.d.ts +0 -14
  155. package/dist/src/shared/enum/field-type.d.ts +3 -8
  156. package/dist/src/shared/index.d.ts +0 -1
  157. package/dist/src/shared/types/index.d.ts +0 -1
  158. package/dist/{sub-table-factory-DoEvzrVN.js → sub-table-factory-ZW7olA2I.js} +89 -276
  159. package/dist/{text-design-BQVBFcI0.js → text-design-Br0TEp5D.js} +2 -3
  160. package/dist/{throttle-Cpk1LoGk-DR_8z9qq.js → throttle-Cpk1LoGk-DEDsjc1B.js} +1 -1
  161. package/dist/{timediff-design-DioTJEvx.js → timediff-design-BHLUYM_L.js} +1 -2
  162. package/dist/{trace-like-wrapper-CjxBkfYK.js → trace-like-wrapper-Bdu2jxVN.js} +2 -3
  163. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DpfdcyX_.js → value-editor.vue_vue_type_style_index_0_lang-B9PzsrIT.js} +2 -3
  164. package/dist/web-render/index.d.ts +1 -0
  165. package/dist/web-render/index.es.js +595 -0
  166. package/dist/{widget-barcode-CEn3AYG0.js → widget-barcode-CGOzhXgh.js} +4 -5
  167. package/dist/{widget-diagonal-DbOhaNpW.js → widget-diagonal-D8MBtLON.js} +4 -4
  168. package/dist/{widget-image-BGP2w2mj.js → widget-image-CT93IXuR.js} +7 -5
  169. package/dist/{widget-line-CkSPcw5A.js → widget-line-BYSp1hP9.js} +2 -3
  170. package/dist/{widget-pagination-BH0VtWHT.js → widget-pagination-no9iK43-.js} +5 -6
  171. package/dist/{widget-power-DuTIvdpR.js → widget-power-5rx7wvJp.js} +4 -4
  172. package/dist/{widget-qrcode-CJJjPnwn.js → widget-qrcode-D2E9PmDl.js} +3 -4
  173. package/dist/{widget-rangelimit-828JH1wm.js → widget-rangelimit-F4ize9rw.js} +4 -3
  174. package/dist/{widget-serialnumber-CIjY3I-t.js → widget-serialnumber-Ci8R_067.js} +1 -1
  175. package/dist/{widget-text-C_Ja4yWN.js → widget-text-DuMr7oMw.js} +5 -5
  176. package/dist/{widget-timediff-CjmATkLS.js → widget-timediff-DBgkCEqn.js} +2 -3
  177. package/package.json +6 -2
  178. package/dist/paper-widget-design-A55mbwYv.js +0 -4
  179. package/dist/seal-design-B3FBumLr.js +0 -4
  180. package/dist/src/adapter/web/material-consume-render.d.ts +0 -25
  181. package/dist/src/domain/document-business/business/product-release/profile.d.ts +0 -2
  182. package/dist/src/domain/document-business/business/product-release/service.d.ts +0 -2
  183. package/dist/src/domain/document-business/index.d.ts +0 -2
  184. package/dist/src/domain/document-business/registry.d.ts +0 -2
  185. package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
  186. package/dist/src/domain/document-business/types.d.ts +0 -24
  187. package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +0 -2
  188. package/dist/src/domain/field/query-filter.d.ts +0 -15
  189. package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +0 -12
  190. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -2
  191. package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +0 -19
  192. package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +0 -15
  193. package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +0 -4
  194. package/dist/src/nocode-base/src/hooks/render-page/initial-value-data-sources.d.ts +0 -3
  195. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -51
  196. package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +0 -3
  197. package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +0 -23
  198. package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +0 -23
  199. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/message-rule-config/rule-modal.vue.d.ts +0 -32
  200. package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +0 -9
  201. package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +0 -7
  202. package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +0 -41
  203. package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +0 -16
  204. package/dist/src/shared/types/upload.d.ts +0 -11
  205. package/dist/src/shared/utils/withRequestCache.d.ts +0 -27
  206. /package/dist/src/{adapter/web/setup.d.ts → nocode-web-render/src/adapter/index.d.ts} +0 -0
  207. /package/dist/src/{adapter/web/upload.d.ts → nocode-web-render/src/logic/utils.d.ts} +0 -0
@@ -1,13 +1,13 @@
1
- import { p as api, a4 as PlatformEnum, by as getRuntimeDataFieldId, F as FIELD_TYPE, bz as listRuntimeFieldRows, bm as getRowId, bn as findRuntimeTableRow, bl as parseRuntimeFieldPath, bA as buildRuntimeFieldPath, bo as RenderModeEnum, C as ComponentTypeEnum, aE as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, aA as RangeValidateMode, bB as isAttachFieldActive, aQ as Dependency_ENUM, aP as ASSIGNMENTSTRATEGY_ENUM, bC as fetchHistoryConsume, bD as isBomGranted, b3 as renderUtils, bx as uuid2, bE as parseFrontConfig, aT as CheckDsTypeEnum, aN as transformUtils, bF as DesignerDefaultValues, bG as baseDataUtils, a1 as FormTypeEnum, bH as normalizeToArray, M as getBusinessFieldKey, bI as safeParseArray, bJ as BpmnNodeTypeEnum, bK as mergeByMultiKey, ae as _export_sfc, bL as evaluateInspectionDecisionRule, bM as RuntimeDefaultValueValidation, bN as useNocodeEmitter, bO as commonUtils, aR as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-YSIO0k9J.js";
2
- import { aW, aY, ba, a6, bP, bQ, B, bR, H, am, bS, bT, bU, bk, bV, a$, aF, aX, aU, aV, bW, an, ar, bX, bY, aO, a8, al, aG, aZ, a5, ap, L, bZ, b_, b$, O, t, P, ag, q, Y, K, c0, c1, aB, ab, a7, a9, aa, ac, h, c2, aq, au, ao, c3, c4, c5, c6, aJ, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, bp, ch, ci, b6, cj, bb, bc, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, b5, cu, bd, aK, cv, cw, as, y, cx, a_, cy, cz, bq, b7 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-YSIO0k9J.js";
3
- import { m as findFieldProfile, a7 as resolveRuntimeFieldProps, a8 as resolveRuntimeFieldState, a9 as assembleRules, T as calculateFormula, aa as getRuntimeDependencyOutputKey, ab as isRowAddedInCurrentFormChange, ac as resolveFormulaData, g as getParseFormulaVarInfos, A as MaterialConsumptionPatternEnum, ad as MaterialConsumeTableController, ae as setFormulaParamsConfig, af as normalizeRuntime, Z as createRuntimeInstanceContext, ag as initializeSealFields, Y as RuntimeFormStateStore, ah as RuntimeSheetService, ai as validateObjectBomQtyOnSubmit, aj as areValidationCommentsEqual, ak as closeValidatorPopovers, al as enrichFormChangeRowDetails, S as NCB_PROVIDE, _ as RuntimeInstanceRegistry, am as useMaterialBalance, an as collectFormChangeFieldLocations, ao as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-9sxv3gW5.js";
4
- import { ap as ap2, B as B2, aq as aq2, p, a6 as a62, ar as ar2, a4, as as as2, a5 as a52, K as K2, at, F, au as au2, av, aw, ax, M, a, a1, ay, a2, d, az, aA, aB as aB2, aC, aD, aE, aF as aF2, aG as aG2, I, aH, y as y2, aI, f, aJ as aJ2, aK as aK2, aL, aM, x, J, aN, aO as aO2, aP, aQ, q as q2, L as L2, o, aR, aS, aT, aU as aU2, aV as aV2, aW as aW2, aX as aX2, E, z, aY as aY2, G, v, aZ as aZ2, t as t2, a_ as a_2, V, W, u, l, H as H2, X, s, w, U, r, C } from "../dynamic-table-action-9sxv3gW5.js";
5
- import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
6
- import { isEqual, cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
1
+ import { E as api, _ as PlatformEnum, F as FIELD_TYPE, bd as getRowId, be as findRuntimeTableRow, b6 as RenderModeEnum, C as ComponentTypeEnum, ax as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, at as RangeValidateMode, aG as Dependency_ENUM, aF as ASSIGNMENTSTRATEGY_ENUM, bo as fetchHistoryConsume, bp as isBomGranted, aU as renderUtils, bn as uuid2, bq as parseFrontConfig, aJ as CheckDsTypeEnum, aD as transformUtils, br as baseDataUtils, X as FormTypeEnum, bs as normalizeToArray, bt as safeParseArray, bu as BpmnNodeTypeEnum, bv as mergeByMultiKey, a7 as _export_sfc, bw as evaluateInspectionDecisionRule, bx as useNocodeEmitter, by as commonUtils, aH as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
2
+ import { aM, aO, a$, a0, bz, bA, B, bB, y, af, bC, bD, bE, bc, bF, aR, ay, aN, aK, aL, bG, ag, ak, bH, bI, aE, a2, ae, az, aP, $, ai, L, bJ, bK, bL, O, p, P, a9, o, Q, A, bM, bN, au, a5, a1, a3, a4, a6, f, bO, aj, an, ah, bP, bQ, bR, bS, bb, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, bf, c1, c2, aX, c3, b0, b1, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, aW, ce, b2, b9, cf, cg, al, t, ch, aQ, ci, cj, bg, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
3
+ import { a4 as getRuntimeDataFieldId, Q as parseRuntimeFieldPath, a5 as buildRuntimeFieldPath, k as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, a9 as isAttachFieldActive, R as calculateFormula, aa as getRuntimeDependencyOutputKey, ab as isRowAddedInCurrentFormChange, ac as resolveFormulaData, d as getParseFormulaVarInfos, y as MaterialConsumptionPatternEnum, ad as MaterialConsumeTableController, ae as setFormulaParamsConfig, af as normalizeRuntime, X as createRuntimeInstanceContext, ag as initializeSealFields, W as RuntimeFormStateStore, ah as RuntimeSheetService, g as getBusinessFieldKey, ai as validateObjectBomQtyOnSubmit, aj as areValidationCommentsEqual, ak as closeValidatorPopovers, al as enrichFormChangeRowDetails, N as NCB_PROVIDE, Y as RuntimeInstanceRegistry, am as useMaterialBalance, an as collectFormChangeFieldLocations, ao as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-UhdVqWq_.js";
4
+ import { B as B2, ap, m, a3 as a32, aq, a1 as a12, ar, a2 as a22, H, as, at, au as au2, av, aw, M, a, ax, b, ay as ay2, az as az2, aA, aB, aC, aD, aE as aE2, aF, F, aG, w, aH, e, aI, aJ, aK as aK2, aL as aL2, v, G, aM as aM2, aN as aN2, aO as aO2, aP as aP2, o as o2, I, l, aQ as aQ2, aR as aR2, aS, aT, aU, aV, aW as aW2, A as A2, x, aX as aX2, C, r, aY as aY2, s, aZ, T, U, u, E, V, q, t as t2, S, p as p2, z } from "../dynamic-table-action-UhdVqWq_.js";
5
+ import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
6
+ import { isEqual, cloneDeep, defaults, isEmpty, merge } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DoEvzrVN.js";
9
- import { A, D, M as M2, a as a3, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-DoEvzrVN.js";
10
- import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-ZW7olA2I.js";
9
+ import { A as A3, D, M as M2, a as a7, P as P2, b as b3, c, d, e as e2, W, f as f2, g, h } from "../sub-table-factory-ZW7olA2I.js";
10
+ import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-CQlqaMrC.js";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
13
13
  ABANDON: "ABANDON",
@@ -154,31 +154,23 @@ async function fetchOperationReceiveQty(paramsConfig) {
154
154
  const num = Number(raw);
155
155
  return Number.isNaN(num) ? void 0 : num;
156
156
  }
157
- const INSPECTION_MODULE_QTY_API = {
158
- modelCategory: "entity",
159
- modelKey: "em_inspection_list",
160
- bsKey: "getById"
161
- };
162
- function isRecord(value) {
163
- return value !== null && typeof value === "object" && !Array.isArray(value);
164
- }
165
- function parseInspectionModuleQty(res) {
166
- if (!isRecord(res) || res.ok === false) return void 0;
167
- const payload = isRecord(res.data) ? res.data : res;
168
- const row = isRecord(payload.data) ? payload.data : payload;
169
- const raw = row.inspection_number_;
170
- if (typeof raw !== "number" && typeof raw !== "string") return void 0;
171
- if (typeof raw === "string" && raw.trim() === "") return void 0;
172
- const qty = Number(raw);
173
- return Number.isFinite(qty) ? qty : void 0;
174
- }
175
- async function fetchInspectionModuleQty(txnInstId) {
176
- if (txnInstId == null || txnInstId === "") return void 0;
177
- const res = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
178
- INSPECTION_MODULE_QTY_API,
179
- { id: txnInstId }
180
- );
181
- return parseInspectionModuleQty(res);
157
+ function listRuntimeFieldRows(record, subFieldKey, targetFieldId) {
158
+ if (!subFieldKey) {
159
+ return [{ row: record.formState.state }];
160
+ }
161
+ const value = record.formState.state[subFieldKey];
162
+ const table2DInfo = [
163
+ ...record.context.businessIndex.subTable2DList,
164
+ ...record.context.businessIndex.checkTable2DList
165
+ ].find((item) => item.rowSubFieldKey === subFieldKey);
166
+ const isChild = table2DInfo && (table2DInfo.crossFieldKeys ?? []).includes(targetFieldId);
167
+ return Array.isArray(value) ? value.flatMap((row) => {
168
+ if (row?.deleted_) return [];
169
+ if (!isChild) return [{ row }];
170
+ return (Array.isArray(row._2DTABLE_) ? row._2DTABLE_ : []).flatMap(
171
+ (child) => child?.deleted_ ? [] : [{ row: child, parentRow: row }]
172
+ );
173
+ }) : [];
182
174
  }
183
175
  const isPresent = (value) => value !== void 0 && value !== null && value !== "";
184
176
  class RuntimeFieldInitializer {
@@ -220,7 +212,7 @@ class RuntimeFieldInitializer {
220
212
  for (const { widget, sheetId, referenceInfo } of this.record.fields.allWidgets()) {
221
213
  const props = widget.props;
222
214
  const fieldId = getRuntimeDataFieldId(props);
223
- const kind = props.fieldType === FIELD_TYPE.UDI || props.bizType === FIELD_TYPE.UDI ? "udi" : props.bizType === FIELD_TYPE.OPERATION_RECEIVE_QTY ? "receive" : props.fieldType === FIELD_TYPE.INSPECTION_MODULE_QTY || props.bizType === FIELD_TYPE.INSPECTION_MODULE_QTY ? "inspection" : props.tmplId && [FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(props.fieldType) ? "count" : this.info.isMockReport && props.fieldType === FIELD_TYPE.RECORD_NO && props.newSpecificConfig?.newSnNo ? "recordNo" : void 0;
215
+ const kind = props.fieldType === FIELD_TYPE.UDI || props.bizType === FIELD_TYPE.UDI ? "udi" : props.bizType === FIELD_TYPE.OPERATION_RECEIVE_QTY ? "receive" : props.tmplId && [FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(props.fieldType) ? "count" : this.info.isMockReport && props.fieldType === FIELD_TYPE.RECORD_NO && props.newSpecificConfig?.newSnNo ? "recordNo" : void 0;
224
216
  if (!kind || !fieldId || props.isFieldModel) continue;
225
217
  for (const { row } of listRuntimeFieldRows(
226
218
  this.record,
@@ -232,13 +224,11 @@ class RuntimeFieldInitializer {
232
224
  if (this.initialized.get(key) === toRaw(row)) continue;
233
225
  this.initialized.set(key, toRaw(row));
234
226
  if (props.subFieldKey ? row.id_ : (this.info.instanceStatus ?? this.metadata.instanceStatus) !== InstanceStatusValues.UNFILLED) {
235
- if (kind !== "recordNo" && kind !== "inspection") continue;
227
+ if (kind !== "recordNo") continue;
236
228
  }
237
229
  const previous = row[fieldId];
238
230
  if (kind === "udi" && isPresent(previous)) continue;
239
231
  const path = this.record.formState.getFieldPath(row, fieldId);
240
- if (kind === "inspection" && (isPresent(previous) || this.record.formState.isUserModified(path)))
241
- continue;
242
232
  this.tasks.add(key);
243
233
  const task = this.record.asyncTasks.run(
244
234
  key,
@@ -260,11 +250,7 @@ class RuntimeFieldInitializer {
260
250
  sheetId,
261
251
  blockOnFailure: false
262
252
  }
263
- ).finally(() => {
264
- this.tasks.delete(key);
265
- if (kind === "inspection" && this.initialized.get(key) === toRaw(row) && !isPresent(row[fieldId]))
266
- this.initialized.delete(key);
267
- });
253
+ ).finally(() => this.tasks.delete(key));
268
254
  pending.push(task);
269
255
  }
270
256
  }
@@ -276,31 +262,18 @@ class RuntimeFieldInitializer {
276
262
  }
277
263
  await Promise.allSettled(pending);
278
264
  }
279
- request(key, fetch, cacheResult = true) {
265
+ request(key, fetch) {
280
266
  const existing = this.requests.get(key);
281
267
  if (existing) return existing;
282
- const task = fetch().then(
283
- (value) => {
284
- if (!cacheResult) this.requests.delete(key);
285
- return value;
286
- },
287
- (error) => {
288
- this.requests.delete(key);
289
- throw error;
290
- }
291
- );
268
+ const task = fetch().catch((error) => {
269
+ this.requests.delete(key);
270
+ throw error;
271
+ });
292
272
  this.requests.set(key, task);
293
273
  return task;
294
274
  }
295
275
  async readDefault(kind, props) {
296
276
  if (kind === "recordNo") return props.newSpecificConfig.newSnNo;
297
- if (kind === "inspection") {
298
- return this.request(
299
- `inspection:${this.metadata.txnInstId ?? ""}`,
300
- () => fetchInspectionModuleQty(this.metadata.txnInstId),
301
- false
302
- );
303
- }
304
277
  if (kind === "count") {
305
278
  const params = { ...JSON.parse(this.metadata.params || "{}"), ...this.info.paramsConfig };
306
279
  const name = params.materialNo || this.metadata.materialNo;
@@ -536,8 +509,7 @@ class RuntimeRuleCompiler {
536
509
  props,
537
510
  widget.id,
538
511
  entry.row,
539
- entry.parentRow,
540
- this.basicInfo.formChangeStatus
512
+ entry.parentRow
541
513
  );
542
514
  const state = resolveRuntimeFieldState(effectiveProps, this.basicInfo);
543
515
  const rules = assembleRules({
@@ -638,8 +610,7 @@ class RuntimeRuleCompiler {
638
610
  props,
639
611
  widget.id,
640
612
  entry.row,
641
- entry.parentRow,
642
- this.basicInfo.formChangeStatus
613
+ entry.parentRow
643
614
  );
644
615
  return [
645
616
  entry.key,
@@ -1200,39 +1171,6 @@ async function getModelQueries(opts) {
1200
1171
  console.log("getModelQueries", res);
1201
1172
  return res;
1202
1173
  }
1203
- async function fillSterilizationDate(txnInstId, metadata, formState) {
1204
- if (txnInstId == null || txnInstId === "") return;
1205
- const fields = metadata.fields.filter(({ widget }) => {
1206
- const props = widget?.props;
1207
- return props?.fieldType === FIELD_TYPE.STERILIZATION_DATE || props?.bizType === FIELD_TYPE.STERILIZATION_DATE;
1208
- });
1209
- if (!fields.length) return;
1210
- const response = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
1211
- { modelCategory: "entity", modelKey: "em_sterilization_list", bsKey: "getOne" },
1212
- {},
1213
- { query: { txn_inst_id_: txnInstId } }
1214
- );
1215
- const data = response && "data" in response ? response.data : void 0;
1216
- const record = Array.isArray(data) ? data[0] : data;
1217
- const date = record && typeof record === "object" && "sterilization_date_" in record ? record.sterilization_date_ : void 0;
1218
- if (date == null || date === "") return;
1219
- fields.forEach(({ widget, subFieldKey }) => {
1220
- const field = getRuntimeDataFieldId(widget?.props);
1221
- if (!field) return;
1222
- if (subFieldKey) {
1223
- const rows = formState[subFieldKey];
1224
- if (Array.isArray(rows)) {
1225
- rows.forEach((row) => {
1226
- if (row && typeof row === "object" && !row[field]) {
1227
- row[field] = date;
1228
- }
1229
- });
1230
- }
1231
- } else {
1232
- if (!formState[field]) formState[field] = date;
1233
- }
1234
- });
1235
- }
1236
1174
  function uniqueItems(items, getKey) {
1237
1175
  return Array.from(new Map(items.map((item) => [getKey(item), item])).values());
1238
1176
  }
@@ -1348,13 +1286,12 @@ function assertUniqueSubTableOwnership(sheets) {
1348
1286
  });
1349
1287
  }
1350
1288
  function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1351
- async function initializeRuntimeInstance(id, result, options = {}) {
1289
+ async function initializeRuntimeInstance(id, result) {
1352
1290
  if (isEmpty(result)) return;
1353
1291
  const { selfInfo, paramsConfig, fillModeType } = result || {};
1354
1292
  setFormulaParamsConfig({
1355
1293
  routingParamList: selfInfo?.routingParamList || [],
1356
- inspectionParamList: selfInfo?.inspectionParamList || [],
1357
- deviceParamList: selfInfo?.deviceParamList || []
1294
+ inspectionParamList: selfInfo?.inspectionParamList || []
1358
1295
  });
1359
1296
  let runtimeFormStateStore;
1360
1297
  let scriptRunner;
@@ -1589,9 +1526,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1589
1526
  window.NocodeAdapter.openUtil?.message({ type: "warning", content, duration: 8 });
1590
1527
  }
1591
1528
  });
1592
- const defaultValueOrigins = new DesignerDefaultValues();
1593
1529
  const defaultDataMap = renderUtils.getDefaultValueMapByField({
1594
- onDesignerDefault: (field, value) => defaultValueOrigins.add(field.subFieldKey, field.fieldId, value),
1595
1530
  objectProductDefaults,
1596
1531
  defaultValueFields: fieldInfoMap.useDefaultValueFields,
1597
1532
  mainMaterialNo: paramsConfig?.materialNo || selfInfo.materialNo,
@@ -1621,7 +1556,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1621
1556
  tmplBomC.handleDefaultMap(defaultDataMap);
1622
1557
  runtimeContext.defaultData = defaultDataMap;
1623
1558
  const defaultData = transformUtils.getDefaultData({
1624
- defaultValueOrigins,
1625
1559
  defaultDataMap,
1626
1560
  subTableInfo,
1627
1561
  viewMode: result.fillModeType,
@@ -1660,7 +1594,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1660
1594
  isMockReport: payload.isMockReport
1661
1595
  });
1662
1596
  const formState = transformUtils.conversionFormState({
1663
- defaultValueOrigins,
1664
1597
  defaultData,
1665
1598
  paramData,
1666
1599
  customData,
@@ -1678,9 +1611,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1678
1611
  ]
1679
1612
  });
1680
1613
  if (fillModeType === RenderModeEnum.FormMode) {
1681
- if (options.initializeValues !== false && !payload.isMockReport) {
1682
- await fillSterilizationDate(selfInfo.txnInstId, fieldInfoMap.fieldMetadata, formState);
1683
- }
1684
1614
  const floatingFields = sheetEntries.flatMap((entry) => {
1685
1615
  const ids = entry.dataCenter[ComponentTypeEnum.PAPER]?.props?.floatingFieldIds ?? [];
1686
1616
  return ids.map((fieldId) => entry.dataCenter[fieldId]).filter(Boolean);
@@ -1760,7 +1690,6 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1760
1690
  // 注册表显式接收初始化阶段创建的 Store,避免通过 context.services 中转。
1761
1691
  runtimeFormStateStore,
1762
1692
  runtimeFieldMetadata: fieldInfoMap.fieldMetadata,
1763
- defaultValueOrigins,
1764
1693
  // 与 Store 一起显式移交给实例记录,basicInfo 不再携带脚本服务。
1765
1694
  scriptRunner,
1766
1695
  basicInfo: {
@@ -1797,9 +1726,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1797
1726
  productSearchFields: payload?.deviceConfig?.defaultProductSearchFields ?? "",
1798
1727
  showPrintFieldBg: paramsConfig?.showPrintFieldBg,
1799
1728
  paramsConfig,
1800
- businessType: selfInfo.businessType,
1801
- instanceStatus: selfInfo.instanceStatus,
1802
- dataStatus: selfInfo.dataStatus
1729
+ instanceStatus: selfInfo.instanceStatus
1803
1730
  },
1804
1731
  selfInfo: runtimeSelfInfo
1805
1732
  };
@@ -1844,6 +1771,7 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
1844
1771
  if (!controller) continue;
1845
1772
  const field = item.masterSubField;
1846
1773
  controller.bindRuntime({
1774
+ ownerId: uniqueId,
1847
1775
  tableDataRef: computed({
1848
1776
  get: () => record.formState.state[field] ?? [],
1849
1777
  set: (val) => {
@@ -2543,7 +2471,6 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2543
2471
  );
2544
2472
  if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
2545
2473
  syncInspectionDecisionRule(uniqueId);
2546
- record.defaultValueValidation?.requestCheck();
2547
2474
  await record.validation.validate("display");
2548
2475
  });
2549
2476
  await record.controller.waitUntilPrepared();
@@ -2556,198 +2483,6 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
2556
2483
  prepareInitialView
2557
2484
  };
2558
2485
  }
2559
- function createRuntimeDataSourceBinding(registry, payload) {
2560
- const dataSourceManagerMap = shallowRef({});
2561
- async function bindDataSources(record, info, selfInfo) {
2562
- if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
2563
- return;
2564
- const isDetail = () => typeof payload.isDetailPage === "function" ? payload.isDetailPage() : payload.isDetailPage;
2565
- if (isDetail()) return;
2566
- const { context, formState } = record;
2567
- const { uniqueId, formConfig } = context;
2568
- const canExecute = () => registry.get(uniqueId) === record && info.renderModeType === RenderModeEnum.FormMode && !isDetail();
2569
- const getContext = () => buildDataSourceContext({ parameters: info.paramsConfig ?? {}, instance: selfInfo });
2570
- const manager = markRaw(
2571
- createDataSourceManager({
2572
- canExecute,
2573
- initializeOnEnable: false,
2574
- sources: formConfig.dataSources ?? [],
2575
- onManualLoad: (key) => fieldFillRuntime?.reapplyDataSource(key),
2576
- getContext,
2577
- getInstanceId: () => info.key,
2578
- getForm: () => formState.state,
2579
- adapters: payload.dataSourceAdapters
2580
- })
2581
- );
2582
- let taskSequence = 0;
2583
- async function track(execute) {
2584
- const result = await record.asyncTasks.run(
2585
- `data-source:${uniqueId}:${++taskSequence}`,
2586
- async () => {
2587
- try {
2588
- return { ok: true, value: await execute() };
2589
- } catch (error) {
2590
- return { ok: false, error };
2591
- }
2592
- }
2593
- );
2594
- if (!result) throw new Error(`数源实例已释放:${uniqueId}`);
2595
- if (!result.ok) throw result.error;
2596
- return result.value;
2597
- }
2598
- const exposedManager = markRaw({
2599
- ...manager,
2600
- query: (...args) => track(() => manager.query(...args)),
2601
- reload: (...args) => track(() => manager.reload(...args)),
2602
- reloadAll: () => track(() => manager.reloadAll()),
2603
- queryOnValueChange: (...args) => track(() => manager.queryOnValueChange(...args)),
2604
- initialize: () => track(() => manager.initialize())
2605
- });
2606
- const protectedTargets = getLegacyFieldFillTargets(formConfig);
2607
- const targets = /* @__PURE__ */ new Map();
2608
- for (const { widget } of record.fields.allWidgets()) {
2609
- const config = widget.props;
2610
- const fieldKey = config.field;
2611
- if (fieldKey && (config.subFieldKey || !config.subModelKey)) {
2612
- const key = config.subFieldKey ? `${config.subFieldKey}.${fieldKey}` : fieldKey;
2613
- targets.set(key, {
2614
- table: config.subFieldKey,
2615
- field: config.isFieldModel ? config.fieldLink || fieldKey : fieldKey,
2616
- isFieldModel: !!config.isFieldModel
2617
- });
2618
- if (config.componentDependency?.configDependency?.assignment?.expression) {
2619
- protectedTargets.add(key);
2620
- }
2621
- }
2622
- if (config.enableAutofill !== false) {
2623
- for (const rule of config.autofillRules ?? []) {
2624
- if (rule.toField)
2625
- protectedTargets.add(
2626
- rule.toSubModel && rule.toSubFieldKey ? `${rule.toSubFieldKey}.${rule.toField}` : rule.toField
2627
- );
2628
- }
2629
- }
2630
- }
2631
- const tableColumns = /* @__PURE__ */ new Map();
2632
- for (const [key, target] of targets) {
2633
- if (!target.table) continue;
2634
- const columns = tableColumns.get(target.table) ?? /* @__PURE__ */ new Map();
2635
- columns.set(key.slice(target.table.length + 1), target.isFieldModel ? `_OPCT.${target.field}` : target.field);
2636
- tableColumns.set(target.table, columns);
2637
- }
2638
- for (const table of tableColumns.keys()) {
2639
- targets.set(table, { field: table, isFieldModel: false });
2640
- }
2641
- const fieldFillRuntime = markRaw(
2642
- createFieldFillRuntime({
2643
- preserveExistingValues: true,
2644
- fills: formConfig.fieldFills ?? [],
2645
- manager,
2646
- getContext,
2647
- getForm: () => formState.state,
2648
- getFormField: (key) => {
2649
- const columns = tableColumns.get(key);
2650
- if (columns) return getFieldFillTable(formState.state[key], columns);
2651
- const target = targets.get(key);
2652
- if (target?.table)
2653
- return getFieldFillColumn(
2654
- formState.state[target.table],
2655
- target.isFieldModel ? `_OPCT.${target.field}` : target.field
2656
- );
2657
- return target?.isFieldModel ? formState.state._OPCT?.[target.field] : get(formState.state, key);
2658
- },
2659
- hasTargetField: (key) => targets.has(key),
2660
- canWrite: (key) => canExecute() && targets.has(key) && !isFieldFillTargetProtected(key, protectedTargets, (field) => {
2661
- const target = targets.get(field);
2662
- const path = target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
2663
- return target?.table ? `${target.table}.${path}` : path;
2664
- }),
2665
- setField: (key, value, collection) => {
2666
- if (registry.get(uniqueId) !== record) throw new Error(`字段填充实例已释放:${uniqueId}`);
2667
- const target = targets.get(key);
2668
- const columns = tableColumns.get(key);
2669
- if (columns) {
2670
- formState.setField(key, buildFieldFillTableRows(formState.state[key], value, columns), "async");
2671
- } else if (target.table) {
2672
- const field = target.isFieldModel ? `_OPCT.${target.field}` : target.field;
2673
- formState.setField(
2674
- target.table,
2675
- buildFieldFillRows(formState.state[target.table], field, value, collection),
2676
- "async"
2677
- );
2678
- } else if (target.isFieldModel) {
2679
- if (!formState.state._OPCT) formState.setField("_OPCT", { _DICT: {} }, "async");
2680
- formState.setObjectField(
2681
- formState.state._OPCT,
2682
- target.field,
2683
- value,
2684
- "async",
2685
- `_OPCT.${target.field}`
2686
- );
2687
- } else {
2688
- formState.setField(target.field, value, "async");
2689
- }
2690
- }
2691
- })
2692
- );
2693
- let initializationStarted = false;
2694
- async function initializeOnce() {
2695
- if (initializationStarted || !canExecute()) return;
2696
- initializationStarted = true;
2697
- try {
2698
- await exposedManager.initialize();
2699
- } catch (error) {
2700
- initializationStarted = false;
2701
- throw error;
2702
- }
2703
- }
2704
- const stopModeWatch = watch(
2705
- canExecute,
2706
- (enabled) => {
2707
- if (enabled) void initializeOnce().catch(() => void 0);
2708
- },
2709
- { flush: "sync" }
2710
- );
2711
- record.dataSourceManager = exposedManager;
2712
- dataSourceManagerMap.value = { ...dataSourceManagerMap.value, [uniqueId]: exposedManager };
2713
- registry.registerDisposable(uniqueId, () => {
2714
- stopModeWatch();
2715
- record.dataSourceManager = void 0;
2716
- fieldFillRuntime?.dispose();
2717
- manager.dispose();
2718
- const { [uniqueId]: _, ...rest } = dataSourceManagerMap.value;
2719
- dataSourceManagerMap.value = rest;
2720
- });
2721
- await initializeOnce();
2722
- }
2723
- return { dataSourceManagerMap, bindDataSources };
2724
- }
2725
- async function queryInitialValueDataSources(record) {
2726
- const manager = record.dataSourceManager;
2727
- if (!manager?.canExecute()) return;
2728
- const keys = /* @__PURE__ */ new Set();
2729
- for (const { widget, referenceInfo } of record.fields.allWidgets()) {
2730
- const props = widget.props;
2731
- const bindings = props.valueChangeDataSourceKeys;
2732
- if (!bindings?.length) continue;
2733
- const field = getRuntimeDataFieldId(props);
2734
- if (!field) continue;
2735
- const path = props.isFieldModel ? `_OPCT.${field}` : field;
2736
- const present = listRuntimeFieldRows(
2737
- record,
2738
- props.subFieldKey,
2739
- referenceInfo?.scopeFieldId ?? field
2740
- ).some(({ row }) => {
2741
- const value = get(row, path);
2742
- return value != null && value !== "" && (!Array.isArray(value) || value.length > 0);
2743
- });
2744
- if (!present) continue;
2745
- for (const key of bindings) {
2746
- if (manager.states[key]?.status === "idle") keys.add(key);
2747
- }
2748
- }
2749
- if (keys.size) await manager.queryOnValueChange([...keys]);
2750
- }
2751
2486
  function createRuntimeAnnotationBinding(runtimeRegistry, basicInfoList, props, payload, updateRenderModeType) {
2752
2487
  const normalizeAnnotationLocation = (uniqueId, path, sheetId) => {
2753
2488
  const record = runtimeRegistry.require(uniqueId);
@@ -2852,10 +2587,6 @@ function useRenderPageFactory(props, payload) {
2852
2587
  const finisher = ref(0);
2853
2588
  const runtimeRegistry = new RuntimeInstanceRegistry();
2854
2589
  provide(NCB_PROVIDE.RUNTIME_INSTANCE_REGISTRY, runtimeRegistry);
2855
- const { dataSourceManagerMap, bindDataSources } = createRuntimeDataSourceBinding(
2856
- runtimeRegistry,
2857
- payload
2858
- );
2859
2590
  const basicInfoList = ref([]);
2860
2591
  const selfInfoList = ref([]);
2861
2592
  const { getConsumeData } = useMaterialBalance();
@@ -2894,21 +2625,13 @@ function useRenderPageFactory(props, payload) {
2894
2625
  payload,
2895
2626
  getConsumeData
2896
2627
  );
2897
- const initializedInstanceIds = /* @__PURE__ */ new Set();
2898
- let currentInstanceIdsKey;
2899
2628
  const getInstanceData = createRuntimeRequestSource(props, payload);
2900
2629
  const pipeline = createRuntimeLoadPipeline(runtimeRegistry.loadState, {
2901
2630
  request: getInstanceData,
2902
- prepare: (sources) => prepareRuntimeBatch(
2903
- sources,
2904
- (id, source) => initializeRuntimeInstance(id, source, {
2905
- initializeValues: !initializedInstanceIds.has(id)
2906
- })
2907
- ),
2631
+ prepare: (sources) => prepareRuntimeBatch(sources, initializeRuntimeInstance),
2908
2632
  install: async (prepared, isCurrent) => {
2909
2633
  clear();
2910
2634
  const installed = [];
2911
- const dataSourceBindings = [];
2912
2635
  const installedSelfInfos = /* @__PURE__ */ new Set();
2913
2636
  try {
2914
2637
  for (const res of prepared) {
@@ -2941,25 +2664,16 @@ function useRenderPageFactory(props, payload) {
2941
2664
  basicInfoList.value.push(res.basicInfo);
2942
2665
  selfInfoList.value.push(res.selfInfo);
2943
2666
  installedSelfInfos.add(selfInfoList.value[selfInfoList.value.length - 1]);
2944
- const reactiveInfo = reactive(res.basicInfo);
2945
- record.ruleCompiler = markRaw(new RuntimeRuleCompiler(record, reactiveInfo));
2667
+ record.ruleCompiler = markRaw(new RuntimeRuleCompiler(record, reactive(res.basicInfo)));
2946
2668
  bindRuntimeValidation(uniqueId);
2947
2669
  bindFormValidationSync(uniqueId);
2948
2670
  record.fieldInitializer = markRaw(
2949
2671
  new RuntimeFieldInitializer(record, res.basicInfo, res.selfInfo)
2950
2672
  );
2951
- record.defaultValueValidation = markRaw(
2952
- new RuntimeDefaultValueValidation(record, reactiveInfo, res.defaultValueOrigins)
2953
- );
2954
2673
  bindRuntimeBusinessServices(runtimeRegistry, record, res.selfInfo.dataStatus);
2955
- dataSourceBindings.push(bindDataSources(record, reactiveInfo, res.selfInfo));
2956
2674
  }
2957
- await Promise.all(dataSourceBindings);
2958
- if (!isCurrent()) return;
2959
2675
  await Promise.all(installed.map(prepareInitialView));
2960
2676
  if (!isCurrent()) return;
2961
- await Promise.all(installed.map(queryInitialValueDataSources));
2962
- if (!isCurrent()) return;
2963
2677
  const selfId = Array.isArray(props.selfId) ? props.selfId[0] : props.selfId;
2964
2678
  if (selfId)
2965
2679
  await payload.onFinisher?.(props.selfId, findBasicInsInfo(selfId)?.renderModeType);
@@ -2970,10 +2684,7 @@ function useRenderPageFactory(props, payload) {
2970
2684
  record.formState.markClean();
2971
2685
  payload.onFormStateReady?.(record.formState);
2972
2686
  }
2973
- if (isCurrent()) {
2974
- prepared.forEach(({ basicInfo }) => initializedInstanceIds.add(basicInfo.key));
2975
- finisher.value++;
2976
- }
2687
+ if (isCurrent()) finisher.value++;
2977
2688
  } catch (error) {
2978
2689
  const failedIds = /* @__PURE__ */ new Set();
2979
2690
  installed.forEach((record) => {
@@ -2998,11 +2709,6 @@ function useRenderPageFactory(props, payload) {
2998
2709
  const ids = (Array.isArray(requestIds) ? requestIds : [requestIds]).filter(
2999
2710
  (id) => typeof id === "string" && !!id
3000
2711
  );
3001
- const instanceIdsKey = JSON.stringify([...new Set(ids)].sort());
3002
- if (instanceIdsKey !== currentInstanceIdsKey) {
3003
- initializedInstanceIds.clear();
3004
- currentInstanceIdsKey = instanceIdsKey;
3005
- }
3006
2712
  if (!ids.length) {
3007
2713
  pipeline.invalidate();
3008
2714
  clear();
@@ -3032,7 +2738,6 @@ function useRenderPageFactory(props, payload) {
3032
2738
  clear();
3033
2739
  });
3034
2740
  return {
3035
- dataSourceManagerMap,
3036
2741
  counter,
3037
2742
  finisher,
3038
2743
  loading,
@@ -3684,9 +3389,9 @@ class FormAnnotationController {
3684
3389
  const items = this.normalizeAllResponse(res);
3685
3390
  this.applyAnnotationItems(items, () => true);
3686
3391
  return items;
3687
- } catch (e2) {
3688
- console.error("加载所有批注信息 error", e2);
3689
- throw e2;
3392
+ } catch (e3) {
3393
+ console.error("加载所有批注信息 error", e3);
3394
+ throw e3;
3690
3395
  }
3691
3396
  };
3692
3397
  handleOpenAnnotation = async () => {
@@ -3733,251 +3438,251 @@ function filterAnnotationItemsUpToCurrent(items) {
3733
3438
  });
3734
3439
  }
3735
3440
  export {
3736
- aW as AITooltips,
3737
- A as AllocateTableCore,
3738
- ap2 as BaseFormModelFetcher,
3739
- aY as BinarizeMethodOptions,
3740
- ba as BindCmpStyleEnum,
3741
- a6 as BooleanShowMode,
3441
+ aM as AITooltips,
3442
+ A3 as AllocateTableCore,
3443
+ B3 as BaseFormModelFetcher,
3444
+ aO as BinarizeMethodOptions,
3445
+ a$ as BindCmpStyleEnum,
3446
+ a0 as BooleanShowMode,
3742
3447
  B2 as BorderTD,
3743
3448
  BpmnNodeTypeEnum,
3744
- bP as BpmnSignatureTypeEnum,
3745
- bQ as ButtonTypeEnum,
3449
+ bz as BpmnSignatureTypeEnum,
3450
+ bA as ButtonTypeEnum,
3746
3451
  B as BwipCodeType,
3747
- bR as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3748
- H as CellType,
3749
- am as CellWidgetViewState,
3452
+ bB as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
3453
+ y as CellType,
3454
+ af as CellWidgetViewState,
3750
3455
  CheckDsTypeEnum,
3751
- bS as CodeRunner,
3456
+ bC as CodeRunner,
3752
3457
  ComponentTypeEnum,
3753
- bT as Config_Fields,
3754
- bU as ControlStatusEnum,
3755
- bk as DEVICE_GROUP_QUERY_KEY,
3756
- bV as DEVICE_SEARCH_API,
3757
- a$ as DateFormat,
3758
- aF as DecimalDisplayMode,
3759
- aX as DenoiseMethodOptions,
3760
- aq2 as DeviceConnector,
3761
- aU as DeviceLink,
3762
- p as DeviceLinkTmplUtil,
3763
- aV as DeviceParamsTypeTitle,
3458
+ bD as Config_Fields,
3459
+ bE as ControlStatusEnum,
3460
+ bc as DEVICE_GROUP_QUERY_KEY,
3461
+ bF as DEVICE_SEARCH_API,
3462
+ aR as DateFormat,
3463
+ ay as DecimalDisplayMode,
3464
+ aN as DenoiseMethodOptions,
3465
+ ap as DeviceConnector,
3466
+ aK as DeviceLink,
3467
+ m as DeviceLinkTmplUtil,
3468
+ aL as DeviceParamsTypeTitle,
3764
3469
  D as DevicePartConsumeTableCore,
3765
- bW as DeviceStatus,
3766
- an as DiagonalDirection,
3767
- ar as DiagonalVertex,
3768
- a62 as DocumentLayout,
3769
- ar2 as DocumentLoading,
3770
- a4 as DocumentPaper,
3771
- as2 as DynamicQuickFillModal,
3772
- a52 as DynamicTableAction,
3773
- bX as EBR_PROVIDE_ENUM,
3774
- bY as EFieldBizTypeEnum,
3775
- K2 as EMPTY_PRODUCT_VERSION_ID,
3776
- aO as EmptySymbol,
3777
- a8 as FallbackSignTypeEnum,
3778
- al as FieldSysVarDefaultValueEnum,
3470
+ bG as DeviceStatus,
3471
+ ag as DiagonalDirection,
3472
+ ak as DiagonalVertex,
3473
+ a32 as DocumentLayout,
3474
+ aq as DocumentLoading,
3475
+ a12 as DocumentPaper,
3476
+ ar as DynamicQuickFillModal,
3477
+ a22 as DynamicTableAction,
3478
+ bH as EBR_PROVIDE_ENUM,
3479
+ bI as EFieldBizTypeEnum,
3480
+ H as EMPTY_PRODUCT_VERSION_ID,
3481
+ aE as EmptySymbol,
3482
+ a2 as FallbackSignTypeEnum,
3483
+ ae as FieldSysVarDefaultValueEnum,
3779
3484
  FillingTypeEnum,
3780
- at as FixedQuickFillModal,
3485
+ as as FixedQuickFillModal,
3781
3486
  FormAnnotationController,
3782
- F as FormModelController,
3487
+ F2 as FormModelController,
3783
3488
  FormTmplBomController,
3784
- au2 as FormTmplConfigController,
3489
+ at as FormTmplConfigController,
3785
3490
  FormTypeEnum,
3786
- aG as ImageDisplayModeEnum,
3491
+ az as ImageDisplayModeEnum,
3787
3492
  InstanceStatusValues,
3788
- aZ as JoinModelTypeEum,
3789
- av as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3790
- aw as LEGACY_RUNTIME_SHEET_ID,
3791
- ax as LEGACY_RUNTIME_SHEET_TITLE,
3792
- a5 as LabelPosition,
3793
- ap as LineDirection,
3493
+ aP as JoinModelTypeEum,
3494
+ au2 as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3495
+ av as LEGACY_RUNTIME_SHEET_ID,
3496
+ aw as LEGACY_RUNTIME_SHEET_TITLE,
3497
+ $ as LabelPosition,
3498
+ ai as LineDirection,
3794
3499
  L as LineType,
3795
- bZ as MAX_FRONT_ROW_KEY_LENGTH,
3500
+ bJ as MAX_FRONT_ROW_KEY_LENGTH,
3796
3501
  M as MAX_RUNTIME_SHEETS,
3797
3502
  a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
3798
- a1 as MBRender,
3799
- ay as MCDataUtil,
3800
- a2 as MCRender,
3801
- d as MULTI_SHEET_SCHEMA_VERSION,
3503
+ M3 as MBRender,
3504
+ ax as MCDataUtil,
3505
+ a8 as MCRender,
3506
+ b as MULTI_SHEET_SCHEMA_VERSION,
3802
3507
  MaterialConsumeTableController,
3803
3508
  MaterialConsumptionPatternEnum,
3804
3509
  M2 as MaterialRequisitionTableCore,
3805
3510
  MaterialStatusEnum,
3806
- a3 as MaterialSubstitutionTableCore,
3807
- b_ as MobileFillTypeEnum,
3511
+ a7 as MaterialSubstitutionTableCore,
3512
+ bK as MobileFillTypeEnum,
3808
3513
  NCB_PROVIDE,
3809
- az as OCR_MODEL_PRECISION_ENUM_KEY,
3810
- b$ as OfficeTypeEnum,
3514
+ ay2 as OCR_MODEL_PRECISION_ENUM_KEY,
3515
+ bL as OfficeTypeEnum,
3811
3516
  O as Orientation,
3812
- t as PageSizeEnum,
3517
+ p as PageSizeEnum,
3813
3518
  P as PaginationFormat,
3814
- ag as PaperSizeMap,
3815
- q as PaperWidgeType,
3816
- Y as PaperWidgeValueType,
3817
- K as ParamModelTypeEnum,
3519
+ a9 as PaperSizeMap,
3520
+ o as PaperWidgeType,
3521
+ Q as PaperWidgeValueType,
3522
+ A as ParamModelTypeEnum,
3818
3523
  P2 as PartStocktakeTableCore,
3819
3524
  PlatformEnum,
3820
- c0 as PosEnum,
3821
- b as PretreatmentListTableCore,
3525
+ bM as PosEnum,
3526
+ b3 as PretreatmentListTableCore,
3822
3527
  c as ProfileDrivenSubTableCore,
3823
- c1 as RUNTIME_COLUMN_ROW_KEY,
3824
- aB as RangeCompareOp,
3528
+ bN as RUNTIME_COLUMN_ROW_KEY,
3529
+ au as RangeCompareOp,
3825
3530
  RangeValidateMode,
3826
3531
  RenderModeEnum,
3827
- aA as RuntimeAsyncTaskCoordinator,
3828
- aB2 as RuntimeDependencyService,
3829
- aC as RuntimeFieldRegistry,
3532
+ az2 as RuntimeAsyncTaskCoordinator,
3533
+ aA as RuntimeDependencyService,
3534
+ aB as RuntimeFieldRegistry,
3830
3535
  RuntimeFormStateStore,
3831
3536
  RuntimeInstanceController,
3832
- aD as RuntimeInstanceEventBus,
3537
+ aC as RuntimeInstanceEventBus,
3833
3538
  RuntimeInstanceRegistry,
3834
- aE as RuntimePersistenceCoordinator,
3539
+ aD as RuntimePersistenceCoordinator,
3835
3540
  RuntimeRuleCompiler,
3836
3541
  RuntimeSheetService,
3837
- aF2 as RuntimeValidationService,
3838
- ab as SignShowTypeEnum,
3839
- a7 as SignatureImageDirectionEnum,
3840
- a9 as SignatureNumberTypeEnum,
3841
- aa as SignatureTimeTypeEnum,
3842
- ac as SignatureTypeEnum,
3843
- d2 as SterilizeBatchTableCore,
3844
- e as StocktakeTableCore,
3845
- aG2 as SubTableCore,
3542
+ aE2 as RuntimeValidationService,
3543
+ a5 as SignShowTypeEnum,
3544
+ a1 as SignatureImageDirectionEnum,
3545
+ a3 as SignatureNumberTypeEnum,
3546
+ a4 as SignatureTimeTypeEnum,
3547
+ a6 as SignatureTypeEnum,
3548
+ d as SterilizeBatchTableCore,
3549
+ e2 as StocktakeTableCore,
3550
+ aF as SubTableCore,
3846
3551
  SubTableCoreFactory,
3847
- h as SubTableType,
3848
- c2 as SummaryApproveHisTypeEnum,
3849
- aq as TimeDiffFormat,
3850
- au as ViewTypeEnum,
3851
- W2 as WarehouseInTableCore,
3552
+ f as SubTableType,
3553
+ bO as SummaryApproveHisTypeEnum,
3554
+ aj as TimeDiffFormat,
3555
+ an as ViewTypeEnum,
3556
+ W as WarehouseInTableCore,
3852
3557
  f2 as WarehouseInboundTableCore,
3853
3558
  g as WarehouseOutTableCore,
3854
- h2 as WarehouseOutboundTableCore,
3855
- ao as WidgetImageSizeMode,
3856
- c3 as applyCheckDsDataToRuntime,
3857
- I as applyConsumeObjectTraceChange,
3858
- c4 as applyMedProCheckDsDataToRuntime,
3559
+ h as WarehouseOutboundTableCore,
3560
+ ah as WidgetImageSizeMode,
3561
+ bP as applyCheckDsDataToRuntime,
3562
+ F as applyConsumeObjectTraceChange,
3563
+ bQ as applyMedProCheckDsDataToRuntime,
3859
3564
  baseDataUtils,
3860
- c5 as bindRuntimeTableColumns,
3861
- c6 as buildDeviceBaseQuery,
3862
- aJ as buildDeviceFilterQuery,
3863
- aH as buildFormChangeDisplayRows,
3864
- y2 as buildObjectLotExtraQuery,
3565
+ bR as bindRuntimeTableColumns,
3566
+ bS as buildDeviceBaseQuery,
3567
+ bb as buildDeviceFilterQuery,
3568
+ aG as buildFormChangeDisplayRows,
3569
+ w as buildObjectLotExtraQuery,
3865
3570
  buildRuntimeFieldPath,
3866
- c7 as calcFillData,
3867
- c8 as calcUtils,
3571
+ bT as calcFillData,
3572
+ bU as calcUtils,
3868
3573
  calculateFormula,
3869
3574
  collectAnnotationItemsByLocation,
3870
3575
  collectFormChangeFieldLocations,
3871
3576
  commonUtils,
3872
3577
  convertHistoricalAnnotationLocation,
3873
- aI as convertV1Runtime,
3874
- f as createRuntimeDocumentV2,
3578
+ aH as convertV1Runtime,
3579
+ e as createRuntimeDocumentV2,
3875
3580
  createRuntimeInstanceContext,
3876
- c9 as decodeTableCellRowKey,
3877
- aJ2 as detailsHaveFormChangeRowOps,
3878
- ca as encodeTableCellRowKey,
3581
+ bV as decodeTableCellRowKey,
3582
+ aI as detailsHaveFormChangeRowOps,
3583
+ bW as encodeTableCellRowKey,
3879
3584
  enrichFormChangeRowDetails,
3880
- cb as ensureFrontRowKey,
3881
- cc as ensureTableRowKeys,
3882
- aK2 as extractFormChangeRowDetails,
3883
- cd as extractKeywordFromQueryData,
3884
- ce as fetchCheckDsDataForTable,
3885
- cf as fetchCustomCheckDsData,
3585
+ bX as ensureFrontRowKey,
3586
+ bY as ensureTableRowKeys,
3587
+ aJ as extractFormChangeRowDetails,
3588
+ bZ as extractKeywordFromQueryData,
3589
+ b_ as fetchCheckDsDataForTable,
3590
+ b$ as fetchCustomCheckDsData,
3886
3591
  fetchHistoryConsume,
3887
- cg as fetchMedProCheckDsData,
3592
+ c0 as fetchMedProCheckDsData,
3888
3593
  fetchOperationReceiveQty,
3889
3594
  fetchUdi,
3890
3595
  filterAnnotationItemsUpToCurrent,
3891
- bp as findRuntimeParentRow,
3892
- ch as findRuntimeTableCell,
3596
+ bf as findRuntimeParentRow,
3597
+ c1 as findRuntimeTableCell,
3893
3598
  findRuntimeTableRow,
3894
3599
  getAppInfo,
3895
3600
  getBusinessFieldKey,
3896
- ci as getCheckTableSnapshotKey,
3897
- aL as getFormChangeRowKey,
3898
- aM as getFormChangeRowOp,
3899
- b6 as getLotLockedReason,
3900
- x as getObjectBomMaterialLotQuery,
3901
- J as getObjectBomProductQuery,
3601
+ c2 as getCheckTableSnapshotKey,
3602
+ aK2 as getFormChangeRowKey,
3603
+ aL2 as getFormChangeRowOp,
3604
+ aX as getLotLockedReason,
3605
+ v as getObjectBomMaterialLotQuery,
3606
+ G as getObjectBomProductQuery,
3902
3607
  getParseFormulaVarInfos,
3903
- cj as getParseRuleConfig,
3904
- bb as getParseRuleInfo,
3905
- bc as getParseRuleValue,
3906
- ck as getReinspectionDate,
3907
- cl as getRenderedRuntimeTableCell,
3608
+ c3 as getParseRuleConfig,
3609
+ b0 as getParseRuleInfo,
3610
+ b1 as getParseRuleValue,
3611
+ c4 as getReinspectionDate,
3612
+ c5 as getRenderedRuntimeTableCell,
3908
3613
  getRuntimeDataFieldId,
3909
3614
  getRuntimeDependencyOutputKey,
3910
- aN as getSubTableQuickFillInfo,
3615
+ aM2 as getSubTableQuickFillInfo,
3911
3616
  getSuiteKey,
3912
- cm as handleOldConfig,
3913
- cn as hasAnyCheckTableSnapshot,
3914
- co as hasByTableCheckTableSnapshot,
3915
- cp as hasSharedCheckTableSnapshot,
3916
- aO2 as isAnnLocationSelected,
3917
- aP as isBlank,
3617
+ c6 as handleOldConfig,
3618
+ c7 as hasAnyCheckTableSnapshot,
3619
+ c8 as hasByTableCheckTableSnapshot,
3620
+ c9 as hasSharedCheckTableSnapshot,
3621
+ aN2 as isAnnLocationSelected,
3622
+ aO2 as isBlank,
3918
3623
  isBomGranted,
3919
3624
  isEdhrSuite,
3920
3625
  isEqmSuite,
3921
- aQ as isFormChangeGhostRow,
3922
- cq as isMedProSuite,
3626
+ aP2 as isFormChangeGhostRow,
3627
+ ca as isMedProSuite,
3923
3628
  isRowAddedInCurrentFormChange,
3924
- cr as isTableRowKeyMatch,
3925
- cs as jsonSchemaUtils,
3926
- ct as judgeUnique,
3927
- b5 as materialCheck,
3928
- cu as migrateDiagonalDirectionToVertex,
3629
+ cb as isTableRowKeyMatch,
3630
+ cc as jsonSchemaUtils,
3631
+ cd as judgeUnique,
3632
+ aW as materialCheck,
3633
+ ce as migrateDiagonalDirectionToVertex,
3929
3634
  nextFormChangeRowViewHistoryId,
3930
- q2 as normalizeAIOcrTmpl,
3931
- L2 as normalizeHistoricalAutofillRow,
3932
- o as normalizeHistoricalBusinessRow,
3933
- aR as normalizeHistoricalFieldConfig,
3934
- bd as normalizeRefLoaderResult,
3635
+ o2 as normalizeAIOcrTmpl,
3636
+ I as normalizeHistoricalAutofillRow,
3637
+ l as normalizeHistoricalBusinessRow,
3638
+ aQ2 as normalizeHistoricalFieldConfig,
3639
+ b2 as normalizeRefLoaderResult,
3935
3640
  normalizeRuntime,
3936
3641
  parseFrontConfig,
3937
3642
  parseRuntimeFieldPath,
3938
3643
  parseUdi,
3939
- aS as pickObjectFieldKeys,
3940
- aT as recordSubtableRowAdd,
3941
- aU2 as recordSubtableRowDelete,
3942
- aK as refUtils,
3943
- aV2 as relocateDeletedRowsToEnd,
3644
+ aR2 as pickObjectFieldKeys,
3645
+ aS as recordSubtableRowAdd,
3646
+ aT as recordSubtableRowDelete,
3647
+ b9 as refUtils,
3648
+ aU as relocateDeletedRowsToEnd,
3944
3649
  renderUtils,
3945
- cv as requestMedProCheckDsData,
3946
- cw as requestNonMedProCheckDsData,
3947
- aW2 as resolveAnnotationFieldLocation,
3948
- as as resolveDiagonalVertex,
3949
- y as resolveFieldRenderComponent,
3950
- aX2 as resolveFormChangeRowUi,
3951
- E as resolveObjectBomEntry,
3952
- z as resolveObjectFieldKeys,
3953
- aY2 as resolveRowFormChangeMark,
3650
+ cf as requestMedProCheckDsData,
3651
+ cg as requestNonMedProCheckDsData,
3652
+ aV as resolveAnnotationFieldLocation,
3653
+ al as resolveDiagonalVertex,
3654
+ t as resolveFieldRenderComponent,
3655
+ aW2 as resolveFormChangeRowUi,
3656
+ A2 as resolveObjectBomEntry,
3657
+ x as resolveObjectFieldKeys,
3658
+ aX2 as resolveRowFormChangeMark,
3954
3659
  resolveUdiQuery,
3955
- G as runWithFillProduct,
3956
- v as setSelectAnnotationId,
3957
- aZ2 as setSelectMobileTdId,
3958
- t2 as setSelectValidatorId,
3959
- cx as splitRuntimeDataPath,
3960
- a_ as sqlUtils,
3961
- cy as stockCheck,
3962
- a_2 as stripLegacyFormConfigFromPaper,
3660
+ C as runWithFillProduct,
3661
+ r as setSelectAnnotationId,
3662
+ aY2 as setSelectMobileTdId,
3663
+ s as setSelectValidatorId,
3664
+ ch as splitRuntimeDataPath,
3665
+ aQ as sqlUtils,
3666
+ ci as stockCheck,
3667
+ aZ as stripLegacyFormConfigFromPaper,
3963
3668
  transformUtils,
3964
- V as useDependency,
3669
+ T as useDependency,
3965
3670
  useEbrWikiFactoryV2,
3966
- W as useFieldPresentation,
3967
- u as useFormModel,
3968
- l as useFormTmplConfig,
3671
+ U as useFieldPresentation,
3672
+ u2 as useFormModel,
3673
+ u as useFormTmplConfig,
3969
3674
  useMaterialBalance,
3970
3675
  useNocodeEmitter,
3971
- H2 as useNocodeFormWidget,
3972
- cz as useOnlineFormActionButton,
3973
- bq as useOnlineFormTransformField2Component,
3676
+ E as useNocodeFormWidget,
3677
+ cj as useOnlineFormActionButton,
3678
+ bg as useOnlineFormTransformField2Component,
3974
3679
  useRenderPageFactory,
3975
- X as useRuntimeEditorFlusher,
3976
- s as useRuntimeInstanceServices,
3977
- w as useRuntimeRowState,
3978
- U as useStyles,
3979
- r as useWidgetStaticAttrs,
3980
- C as validateObjectBomForScan,
3680
+ V as useRuntimeEditorFlusher,
3681
+ q as useRuntimeInstanceServices,
3682
+ t2 as useRuntimeRowState,
3683
+ S as useStyles,
3684
+ p2 as useWidgetStaticAttrs,
3685
+ z as validateObjectBomForScan,
3981
3686
  validateObjectBomQtyOnSubmit,
3982
- b7 as validateReinspectionDate
3687
+ aY as validateReinspectionDate
3983
3688
  };