@gct-paas/excel 0.1.28-beta.8 → 0.1.28

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 (347) hide show
  1. package/dist/{BaseComponent-yoXj5Q9c.js → BaseComponent-9YPaGJfR.js} +3 -1
  2. package/dist/{VueVideoPlayer-DnxMrbso.js → VueVideoPlayer-DDUZu4FR.js} +2 -2
  3. package/dist/{align-editor-B4gydK1M.js → align-editor-aEWznFoT.js} +1 -1
  4. package/dist/{barcode-design-Cid0MzDI.js → barcode-design-UQyluywP.js} +2 -2
  5. package/dist/base/index.es.js +718 -466
  6. package/dist/{diagonal-design-C1ZotzUS.js → diagonal-design-bGGzn_Wt.js} +2 -2
  7. package/dist/{dynamic-table-action-C1o2TjqX.js → dynamic-table-action-DmQ4nVdA.js} +825 -216
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js} +2457 -757
  9. package/dist/{edit.utils-CXmmCnxE-DEOcuCns.js → edit.utils-CXmmCnxE-pmY90xaE.js} +1 -1
  10. package/dist/excel.css +20939 -21654
  11. package/dist/{exceljs.min-DHw6Xo0Z.js → exceljs.min-BxkFiHRf.js} +2 -2
  12. package/dist/{font-editor-BMzWHu2P.js → font-editor-BBNgoyoK.js} +3 -3
  13. package/dist/{image-design-Cv7Md3br.js → image-design-CV8ivT4U.js} +3 -2
  14. package/dist/{index-ClwYjOaz.js → index-B94zjbXB.js} +2 -2
  15. package/dist/{index-DCyS2gPu.js → index-B9hn-Xpy.js} +62 -261
  16. package/dist/{index-CTfI5z2v.js → index-BI1w0HuA.js} +2 -2
  17. package/dist/{index-DYJ2NY6r.js → index-BIyoFjsu.js} +1 -1
  18. package/dist/{index-Cf0HUPLj.js → index-BNdFxtuu.js} +2 -2
  19. package/dist/{index-B_rAitke.js → index-BVy2F-LZ.js} +2 -2
  20. package/dist/{index-t_DIs_9d.js → index-BbRU7v-W.js} +2 -2
  21. package/dist/{index-BQLH_u5E.js → index-BgUSwNSn.js} +1 -1
  22. package/dist/{index-DPHsObDL.js → index-Bu5KxbKA.js} +2 -2
  23. package/dist/{index-DVknMcoI.js → index-BzNleuvF.js} +8 -5
  24. package/dist/{index-BC7ZPYu4.js → index-CJgeCzTz.js} +4 -7
  25. package/dist/{index-KJIuf63z.js → index-CY_9UWH1.js} +3 -3
  26. package/dist/{index-DYPfKE_B.js → index-Co8dy8tY.js} +2 -2
  27. package/dist/index-CuwWhVy-.js +26 -0
  28. package/dist/{index-B2oEU1dw.js → index-D3RlguP-.js} +2 -2
  29. package/dist/{index-De0lJXBW.js → index-DAokF2RK.js} +2 -2
  30. package/dist/{index-B_qNr-yz.js → index-DUomn6r4.js} +2 -2
  31. package/dist/{index-DLhVj92F.js → index-DVCumM_5.js} +2 -2
  32. package/dist/{index-DHCfwj7L.js → index-DX2S50Jz.js} +1 -1
  33. package/dist/{index-b03O87gX.js → index-DXutPZQB.js} +1 -1
  34. package/dist/{index-BMaOAtO5.js → index-DXvugQoP.js} +2 -2
  35. package/dist/{index-CDLpl1vT.js → index-DapZh4vf.js} +57467 -75573
  36. package/dist/{index-EGCBxJ5U.js → index-Dxiaj_9W.js} +2 -2
  37. package/dist/{index-CB2KdECV.js → index-DzZ4dTHg.js} +2 -2
  38. package/dist/index-FJwxWmrK.js +26 -0
  39. package/dist/{index-DGF9F0hk.js → index-JYTz2lAb.js} +2 -2
  40. package/dist/index-R0Xrpn-f.js +56 -0
  41. package/dist/{index-BNW93hpM.js → index-RHv1ncwn.js} +1 -1
  42. package/dist/{index-Bi8eFVNQ.js → index-eaPQQt2I.js} +1 -1
  43. package/dist/{index-Ca8Vr4hp.js → index-f4FwucgP.js} +3 -3
  44. package/dist/{index-D4SRGG7R.js → index-kZ3vhOMA.js} +2 -2
  45. package/dist/{index-yee5hcWj.js → index-q0gBBMoc.js} +2 -2
  46. package/dist/{index--m7aMhTe.js → index-s7YNVpgF.js} +1 -1
  47. package/dist/{index-DWd__rfX.js → index-zuExIXWU.js} +1 -1
  48. package/dist/index.es.js +49 -47
  49. package/dist/{mb-render-DNA0sAdk.js → mb-render-BBRR_byl.js} +3 -3
  50. package/dist/{version-select-Dt0iT2ZE.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BGrVMSEF.js} +418 -421
  51. package/dist/{pagination-design-a-8WGmGL.js → pagination-design-D2f9xg95.js} +2 -2
  52. package/dist/paper-widget-design-COSbrtAL.js +4 -0
  53. package/dist/{qrcode-design-CWa7ucIf.js → qrcode-design-DuLbid5Q.js} +1 -1
  54. package/dist/{revo-grid.entry-D7L9YPVS.js → revo-grid.entry-DW8yYngF.js} +1 -1
  55. package/dist/{revogr-attribution_7.entry-Cp0OE2PX.js → revogr-attribution_7.entry-WnSOjAfL.js} +3 -3
  56. package/dist/{revogr-clipboard_3.entry-CcGTw0f4.js → revogr-clipboard_3.entry-5f1ZtJWy.js} +2 -2
  57. package/dist/{revogr-data_4.entry-Bh7oCpj9.js → revogr-data_4.entry-BwcXhOPY.js} +2 -2
  58. package/dist/{revogr-filter-panel.entry-OJyr7l1E.js → revogr-filter-panel.entry-CXpo_Btw.js} +1 -1
  59. package/dist/{serialnumber-design-BDTeHe2C.js → serialnumber-design-CYdELIDU.js} +1 -1
  60. package/dist/shared/index.es.js +25 -30
  61. package/dist/{single-field-drop-C-IeYaFA.js → single-field-drop-BpdZOAYb.js} +2 -2
  62. package/dist/{size-editor-Ibjf73lo.js → size-editor-Dr3sVcUl.js} +1 -1
  63. package/dist/src/adapter/adapter.d.ts +36 -0
  64. package/dist/src/adapter/setup.d.ts +18 -12
  65. package/dist/src/domain/field/auto-complete/material-container-manifest.d.ts +2 -0
  66. package/dist/src/domain/field/auto-complete/material-no-manifest.d.ts +2 -0
  67. package/dist/src/domain/field/auto-complete/related-lot-no-manifest.d.ts +2 -0
  68. package/dist/src/domain/field/auto-complete/scrap-material-no-manifest.d.ts +2 -0
  69. package/dist/src/domain/field/auto-complete/sterilization-container-manifest.d.ts +2 -0
  70. package/dist/src/domain/field/date/date-manifest.d.ts +2 -0
  71. package/dist/src/domain/field/date/date-time-manifest.d.ts +2 -0
  72. package/dist/src/domain/field/date/production-date-manifest.d.ts +2 -0
  73. package/dist/src/domain/field/date/re-inspection-date-manifest.d.ts +2 -0
  74. package/dist/src/domain/field/date/report-end-time-manifest.d.ts +2 -0
  75. package/dist/src/domain/field/date/report-start-time-manifest.d.ts +2 -0
  76. package/dist/src/domain/field/date/time-manifest.d.ts +2 -0
  77. package/dist/src/domain/field/date/trace-date-manifest.d.ts +2 -0
  78. package/dist/src/domain/field/date/validity-manifest.d.ts +2 -0
  79. package/dist/src/domain/field/date/warehouse-receipt-date-manifest.d.ts +2 -0
  80. package/dist/src/domain/field/index.d.ts +9 -0
  81. package/dist/src/domain/field/number/decimal-manifest.d.ts +2 -0
  82. package/dist/src/domain/field/number/destructive-test-qty-manifest.d.ts +2 -0
  83. package/dist/src/domain/field/number/double-manifest.d.ts +2 -0
  84. package/dist/src/domain/field/number/good-qty-manifest.d.ts +2 -0
  85. package/dist/src/domain/field/number/inspection-qty-manifest.d.ts +2 -0
  86. package/dist/src/domain/field/number/integer-manifest.d.ts +2 -0
  87. package/dist/src/domain/field/number/long-manifest.d.ts +2 -0
  88. package/dist/src/domain/field/number/material-check-qty-manifest.d.ts +2 -0
  89. package/dist/src/domain/field/number/not-good-qty-manifest.d.ts +2 -0
  90. package/dist/src/domain/field/number/of-inst-num-manifest.d.ts +2 -0
  91. package/dist/src/domain/field/number/operation-output-qty-manifest.d.ts +2 -0
  92. package/dist/src/domain/field/number/operation-receive-qty-manifest.d.ts +2 -0
  93. package/dist/src/domain/field/number/product-check-qty-manifest.d.ts +2 -0
  94. package/dist/src/domain/field/number/production-qty-manifest.d.ts +2 -0
  95. package/dist/src/domain/field/number/qty-consumed-manifest.d.ts +2 -0
  96. package/dist/src/domain/field/number/qty-manifest.d.ts +2 -0
  97. package/dist/src/domain/field/number/qty-required-manifest.d.ts +2 -0
  98. package/dist/src/domain/field/number/scrap-qty-manifest.d.ts +2 -0
  99. package/dist/src/domain/field/number/work-hours-manifest.d.ts +2 -0
  100. package/dist/src/domain/field/option/boolean-manifest.d.ts +2 -0
  101. package/dist/src/domain/field/option/enum-manifest.d.ts +2 -0
  102. package/dist/src/domain/field/option/enum-multi-manifest.d.ts +2 -0
  103. package/dist/src/domain/field/option/option-manifest.d.ts +2 -0
  104. package/dist/src/domain/field/option/option-multi-manifest.d.ts +2 -0
  105. package/dist/src/domain/field/rdo-select/e-sop-manifest.d.ts +2 -0
  106. package/dist/src/domain/field/rdo-select/product-manifest.d.ts +2 -0
  107. package/dist/src/domain/field/rdo-select/scrap-material-manifest.d.ts +2 -0
  108. package/dist/src/domain/field/select/device-manifest.d.ts +2 -0
  109. package/dist/src/domain/field/select/device-ref-manifest.d.ts +2 -0
  110. package/dist/src/domain/field/select/device-ref-multi-manifest.d.ts +2 -0
  111. package/dist/src/domain/field/select/location-manifest.d.ts +2 -0
  112. package/dist/src/domain/field/select/mfg-order-manifest.d.ts +2 -0
  113. package/dist/src/domain/field/select/model-relation-manifest.d.ts +2 -0
  114. package/dist/src/domain/field/select/not-good-group-manifest.d.ts +2 -0
  115. package/dist/src/domain/field/select/not-good-reason-manifest.d.ts +2 -0
  116. package/dist/src/domain/field/select/operation-manifest.d.ts +2 -0
  117. package/dist/src/domain/field/select/org-manifest.d.ts +2 -0
  118. package/dist/src/domain/field/select/org-multi-manifest.d.ts +2 -0
  119. package/dist/src/domain/field/select/production-container-manifest.d.ts +2 -0
  120. package/dist/src/domain/field/select/ref-manifest.d.ts +2 -0
  121. package/dist/src/domain/field/select/ref-multi-manifest.d.ts +2 -0
  122. package/dist/src/domain/field/select/routing-operation-manifest.d.ts +2 -0
  123. package/dist/src/domain/field/select/scrap-group-manifest.d.ts +2 -0
  124. package/dist/src/domain/field/select/scrap-reason-manifest.d.ts +2 -0
  125. package/dist/src/domain/field/select/shopfloor-manifest.d.ts +2 -0
  126. package/dist/src/domain/field/select/target-warehouse-manifest.d.ts +2 -0
  127. package/dist/src/domain/field/select/user-manifest.d.ts +2 -0
  128. package/dist/src/domain/field/select/user-multi-manifest.d.ts +2 -0
  129. package/dist/src/domain/field/select/warehouse-manifest.d.ts +2 -0
  130. package/dist/src/domain/field/text/e-sop-version-manifest.d.ts +2 -0
  131. package/dist/src/domain/field/text/external-reference-no-manifest.d.ts +2 -0
  132. package/dist/src/domain/field/text/long-text-manifest.d.ts +2 -0
  133. package/dist/src/domain/field/text/order-no-manifest.d.ts +2 -0
  134. package/dist/src/domain/field/text/record-no-manifest.d.ts +2 -0
  135. package/dist/src/domain/field/text/text-manifest.d.ts +2 -0
  136. package/dist/src/domain/field/text/warehouse-receipt-no-manifest.d.ts +2 -0
  137. package/dist/src/domain/field/types.d.ts +18 -0
  138. package/dist/src/domain/field/upload/attachment-manifest.d.ts +2 -0
  139. package/dist/src/domain/field/upload/image-manifest.d.ts +2 -0
  140. package/dist/src/domain/field/upload/reporter-manifest.d.ts +2 -0
  141. package/dist/src/domain/field/upload/signature-manifest.d.ts +2 -0
  142. package/dist/src/domain/field/upload/warehouse-manager-manifest.d.ts +2 -0
  143. package/dist/src/domain/index.d.ts +1 -0
  144. package/dist/src/domain/object/date-object/index.d.ts +5 -0
  145. package/dist/src/domain/object/date-object/profile/field-keys.d.ts +19 -0
  146. package/dist/src/domain/object/date-object/profile/fields.d.ts +2 -0
  147. package/dist/src/domain/object/date-object/profile/index.d.ts +3 -0
  148. package/dist/src/domain/object/date-object/runtime/date-object-context.d.ts +30 -0
  149. package/dist/src/domain/object/date-object/runtime/date-object-runtime.d.ts +43 -0
  150. package/dist/src/domain/object/date-object/runtime/fetch-records.d.ts +13 -0
  151. package/dist/src/domain/object/date-object/runtime/object-handlers.d.ts +4 -0
  152. package/dist/src/domain/object/date-object/runtime/re-inspection-date.d.ts +25 -0
  153. package/dist/src/domain/object/date-object/runtime/register-handlers.d.ts +1 -0
  154. package/dist/src/domain/object/date-object/runtime/row-change-handlers.d.ts +6 -0
  155. package/dist/src/domain/object/date-object/runtime/utils.d.ts +13 -0
  156. package/dist/src/domain/object/date-object/types.d.ts +53 -0
  157. package/dist/src/domain/object/index.d.ts +1 -0
  158. package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +14 -0
  159. package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +14 -0
  160. package/dist/src/domain/table/business/warehouse/shared/eqm-part-api.d.ts +13 -0
  161. package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +40 -3
  162. package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +9 -1
  163. package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +17 -0
  164. package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +3 -0
  165. package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +14 -0
  166. package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +17 -34
  167. package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +13 -0
  168. package/dist/src/domain/table/business/warehouse/warehouse-inventory/types.d.ts +20 -0
  169. package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +14 -0
  170. package/dist/src/domain/table/design/panel-features.d.ts +1 -0
  171. package/dist/src/index.d.ts +3 -0
  172. package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts +3 -1
  173. package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +2 -0
  174. package/dist/src/nocode-base/src/constant/index.d.ts +5 -1
  175. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +42 -2
  176. package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -1
  177. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +11 -0
  178. package/dist/src/nocode-base/src/core/sub-table/utils/scan/scan-helpers.d.ts +13 -0
  179. package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/stocktake-calc.d.ts +3 -1
  180. package/dist/src/nocode-base/src/core/sub-table/warehouse-in-table-core.d.ts +15 -0
  181. package/dist/src/nocode-base/src/core/sub-table/warehouse-out-table-core.d.ts +1 -0
  182. package/dist/src/nocode-base/src/hooks/date-object/use-date-object.d.ts +2 -0
  183. package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +3 -4
  184. package/dist/src/nocode-base/src/hooks/device-link/types.d.ts +1 -1
  185. package/dist/src/nocode-base/src/hooks/index.d.ts +1 -0
  186. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +20 -6
  187. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +34 -19
  188. package/dist/src/nocode-base/src/hooks/material-consume/service.d.ts +12 -0
  189. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +1 -4
  190. package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +49 -8
  191. package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
  192. package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +35 -0
  193. package/dist/src/nocode-base/src/hooks/operation-receive-qty.d.ts +2 -0
  194. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +12 -0
  195. package/dist/src/nocode-base/src/hooks/useStyles.d.ts +2 -2
  196. package/dist/src/nocode-base/src/interface/device-query.d.ts +40 -0
  197. package/dist/src/nocode-base/src/interface/index.d.ts +2 -1
  198. package/dist/src/nocode-base/src/interface/render.d.ts +11 -0
  199. package/dist/src/nocode-base/src/interface/transform.d.ts +1 -1
  200. package/dist/src/nocode-base/src/types/business/index.d.ts +3 -1
  201. package/dist/src/nocode-base/src/types/business/pretreatment-list.d.ts +3 -1
  202. package/dist/src/nocode-base/src/types/business/sterilize-batch.d.ts +3 -1
  203. package/dist/src/nocode-base/src/types/business/stocktake.d.ts +5 -1
  204. package/dist/src/nocode-base/src/types/common/base.d.ts +8 -0
  205. package/dist/src/nocode-base/src/types/fields/i-select.d.ts +13 -1
  206. package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +6 -6
  207. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -8
  208. package/dist/src/nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts +1 -1
  209. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields-editor.vue.d.ts +3 -3
  210. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +15 -0
  211. package/dist/src/online-form/src/views/__cell_widgets__/common/field-config-visibility.d.ts +2 -0
  212. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search-editor.vue.d.ts +1 -4
  213. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +12 -10
  214. package/dist/src/online-form/src/views/__cell_widgets__/common/ref-autofill-editor/autofill-field-utils.d.ts +10 -0
  215. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-input.vue.d.ts +13 -0
  216. package/dist/src/{nocode-web-render/src/render/sub-table/stocktake/scan-modal.vue.d.ts → online-form/src/views/__cell_widgets__/fake-field/fake-number-input.vue.d.ts} +7 -1
  217. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +11 -0
  218. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-select.vue.d.ts +11 -0
  219. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/index.d.ts +4 -0
  220. package/dist/src/online-form/src/views/__cell_widgets__/field-design-components.d.ts +4 -0
  221. package/dist/src/online-form/src/views/__cell_widgets__/index.d.ts +0 -3
  222. package/dist/src/online-form/src/views/__cell_widgets__/widget-panel-map.d.ts +3 -0
  223. package/dist/src/online-form/src/views/designer/constants/index.d.ts +5 -6
  224. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +80 -0
  225. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +110 -3
  226. package/dist/src/online-form/src/views/designer/modules/base/drag-box.vue.d.ts +1 -1
  227. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +1 -1
  228. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue.d.ts +30 -0
  229. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor.vue.d.ts +6 -17
  230. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types.d.ts +20 -0
  231. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +58 -0
  232. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-entry-editor.vue.d.ts +2 -1
  233. package/dist/src/online-form/src/views/designer/modules/toolkit/model-field/add-field-btn.vue.d.ts +1 -3
  234. package/dist/src/online-form/src/views/designer/utils/cell-content-style.d.ts +30 -0
  235. package/dist/src/online-form/src/views/designer/utils/field-type-label.d.ts +1 -0
  236. package/dist/src/online-form/src/views/render/__components__/_common_/widget-component-visible.vue.d.ts +1 -0
  237. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-auto-complete.vue.d.ts +34 -0
  238. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-date-picker.vue.d.ts +23 -0
  239. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.d.ts +5 -0
  240. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +40 -0
  241. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-text-input.vue.d.ts +21 -0
  242. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-textarea.vue.d.ts +24 -0
  243. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/index.d.ts +9 -0
  244. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/use-select-list-height.d.ts +9 -0
  245. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/trace-like-wrapper.d.ts +26 -0
  246. package/dist/src/online-form/src/views/render/__components__/_field_/auto-complete/index.d.ts +14 -0
  247. package/dist/src/online-form/src/views/render/__components__/_field_/{trace → rdo-select}/index.d.ts +2 -2
  248. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/usePopoverWrapperHeight.d.ts +11 -2
  249. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/columns.d.ts +13 -0
  250. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +3 -3
  251. package/dist/src/shared/components/FieldStateIcon/field-state-icon.vue.d.ts +17 -0
  252. package/dist/src/shared/components/FieldStateIcon/index.d.ts +3 -0
  253. package/dist/src/shared/components/Preview/src/Functional.vue.d.ts +1 -1
  254. package/dist/src/shared/components/Signature/index.d.ts +2 -1
  255. package/dist/src/shared/components/Signature/types/index.d.ts +4 -0
  256. package/dist/src/shared/components/Signature/ui/handwriting-signer.vue.d.ts +1 -0
  257. package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +1 -0
  258. package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +122 -0
  259. package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +4 -0
  260. package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -0
  261. package/dist/src/shared/components/registerGlobComp.d.ts +5 -0
  262. package/dist/src/shared/enum/field-type.d.ts +39 -284
  263. package/dist/src/shared/enum/index.d.ts +1 -1
  264. package/dist/src/shared/utils/field-size.d.ts +3 -0
  265. package/dist/src/shared/utils/lot2sn.d.ts +22 -0
  266. package/dist/{text-design-B1eX7Rp1.js → text-design-CwR0nlo0.js} +2 -2
  267. package/dist/{throttle-Cpk1LoGk-kodOPzL5.js → throttle-Cpk1LoGk-Dkz6zJ8F.js} +1 -1
  268. package/dist/{timediff-design-CoDU15y8.js → timediff-design-INgy9LDa.js} +1 -1
  269. package/dist/trace-like-wrapper-CDVQC9nc.js +34 -0
  270. package/dist/{value-editor.vue_vue_type_style_index_0_lang-ey1VNCHV.js → value-editor.vue_vue_type_style_index_0_lang-B6OHtKgu.js} +2 -2
  271. package/dist/web-render/index.es.js +118 -17
  272. package/dist/{widget-barcode-DAxib6qS.js → widget-barcode-BwVnh-YN.js} +4 -4
  273. package/dist/{widget-diagonal-BLo6XT0t.js → widget-diagonal-CrwmwCig.js} +5 -7
  274. package/dist/{widget-image-D_1erLrE.js → widget-image-BBUd3Sds.js} +6 -5
  275. package/dist/{widget-line-BwnSq4--.js → widget-line-BrtK1Cyg.js} +4 -4
  276. package/dist/{widget-pagination-DZMwe14i.js → widget-pagination-CL4-9x6C.js} +5 -5
  277. package/dist/{widget-power-DfV-8moi.js → widget-power-CM63pEBI.js} +3 -3
  278. package/dist/{widget-qrcode-C3yTAHOn.js → widget-qrcode-CKaQeTLP.js} +3 -3
  279. package/dist/{widget-rangelimit-DK8hANd1.js → widget-rangelimit-CXU8rtul.js} +3 -3
  280. package/dist/{widget-serialnumber-B2pkh6KT.js → widget-serialnumber-DyIKmcmC.js} +1 -1
  281. package/dist/{widget-text-98SaLOpt.js → widget-text-s757UF00.js} +5 -5
  282. package/dist/{widget-timediff-OD7HVoVr.js → widget-timediff-C6mIOI8p.js} +2 -2
  283. package/package.json +16 -6
  284. package/dist/agg-design-BO3eBkol.js +0 -24
  285. package/dist/agg-props-DEXapyb8.js +0 -10
  286. package/dist/agg-style-CDLpFoBn.js +0 -33
  287. package/dist/attach-fields-editor-DXh9f5iy.js +0 -116
  288. package/dist/base-font-editor-Ccv90UWY.js +0 -179
  289. package/dist/boolean-design-D1BIjOGz.js +0 -124
  290. package/dist/boolean-props-Cqb1zZfy.js +0 -155
  291. package/dist/boolean-style-C2uaO_Ei.js +0 -108
  292. package/dist/cell-upload-xzz2ufK7.js +0 -35
  293. package/dist/date-range-editor-D0SCmmS0.js +0 -472
  294. package/dist/date-time-design-pv0mRSgV.js +0 -64
  295. package/dist/date-time-props-B0YQO-ig.js +0 -105
  296. package/dist/date-time-style-Dn4TErcH.js +0 -33
  297. package/dist/decimal-design-BMKikWwr.js +0 -29
  298. package/dist/decimal-display-mode-BLrn-r-H.js +0 -60
  299. package/dist/decimal-props-BXVnDByV.js +0 -313
  300. package/dist/decimal-style-C5hB5sv6.js +0 -33
  301. package/dist/default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-LcZ8lvPF.js +0 -370
  302. package/dist/double-design-5yOxs5xB.js +0 -28
  303. package/dist/double-props-CQ9yBXNl.js +0 -91
  304. package/dist/double-style-C01aPXrT.js +0 -33
  305. package/dist/enum-design-DewhmfeF.js +0 -97
  306. package/dist/enum-props-0ECHvFUr.js +0 -734
  307. package/dist/enum-style-fm5Ap8eG.js +0 -76
  308. package/dist/expression-design-BY6oI5EW.js +0 -24
  309. package/dist/expression-props-3OvDgw-p.js +0 -10
  310. package/dist/expression-style-Hhv8wnAe.js +0 -33
  311. package/dist/file-design-QE5qUMix.js +0 -17
  312. package/dist/file-props-CEGee5yo.js +0 -201
  313. package/dist/file-style-65tfxL94.js +0 -9
  314. package/dist/image-design-BoQOLCEL.js +0 -23
  315. package/dist/image-props-GuHBNt9S.js +0 -16
  316. package/dist/image-style-BLQukPqV.js +0 -9
  317. package/dist/index-CBYXYocJ.js +0 -40
  318. package/dist/index-DI8vltuS.js +0 -68
  319. package/dist/integer-design-C8kRP1tV.js +0 -28
  320. package/dist/integer-props-XICS-8Qt.js +0 -162
  321. package/dist/integer-style-BstrlNJp.js +0 -33
  322. package/dist/number-input-ex-BjIp4mym.js +0 -69
  323. package/dist/org-design-DWZI8xev.js +0 -24
  324. package/dist/org-props-0CY6-hLS.js +0 -96
  325. package/dist/org-style-HDV7obSe.js +0 -33
  326. package/dist/paper-widget-design-CT80i7VR.js +0 -4
  327. package/dist/ref-autofill-editor-CObqr_xh.js +0 -2376
  328. package/dist/ref-design-BQ8o1gKm.js +0 -24
  329. package/dist/ref-props-xjVvnvGW.js +0 -348
  330. package/dist/ref-style-MZ52QRhu.js +0 -33
  331. package/dist/regex-editor-BctX8jdd.js +0 -823
  332. package/dist/select-render-type-editor.vue_vue_type_script_setup_true_lang-CONYLCmt.js +0 -159
  333. package/dist/signature-design-CFOFAaEu.js +0 -20
  334. package/dist/signature-props-N6ng9rqg.js +0 -346
  335. package/dist/signature-style-D2QQrgMT.js +0 -9
  336. package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +0 -44
  337. package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +0 -4
  338. package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +0 -2
  339. package/dist/text-design-CCs-p8Y3.js +0 -39
  340. package/dist/text-props-C6-s7LBP.js +0 -447
  341. package/dist/text-style-OUxV8LDu.js +0 -33
  342. package/dist/trace-design-Bhg0EIyC.js +0 -77
  343. package/dist/trace-props-DVekq4wE.js +0 -624
  344. package/dist/trace-style-CfSu__TO.js +0 -33
  345. package/dist/user-design-fMF_h4IG.js +0 -24
  346. package/dist/user-props-BGjEpC4j.js +0 -103
  347. package/dist/user-style-RUHIGWFF.js +0 -33
@@ -89,6 +89,8 @@ var ComponentTypeEnum = /* @__PURE__ */ ((ComponentTypeEnum2) => {
89
89
  ComponentTypeEnum2["Serialnumber"] = "serialnumber";
90
90
  ComponentTypeEnum2["DynValue"] = "dyn-value";
91
91
  ComponentTypeEnum2["Trace"] = "trace";
92
+ ComponentTypeEnum2["AutoComplete"] = "auto-complete";
93
+ ComponentTypeEnum2["RdoSelect"] = "rdo-select";
92
94
  ComponentTypeEnum2["Power"] = "power";
93
95
  ComponentTypeEnum2["Timediff"] = "timediff";
94
96
  return ComponentTypeEnum2;
@@ -545,6 +547,9 @@ const api = new Proxy(api$1, {
545
547
  return Reflect.get(real, prop, real);
546
548
  }
547
549
  });
550
+ function resolveApproveHisModelKey(suiteKey) {
551
+ return suiteKey === "eDHR" ? "em_edhr_summary_approve_his" : "em_approve_his";
552
+ }
548
553
  const baseDataUtils = {
549
554
  baseApis: {
550
555
  getOneData2SqlView: api.apaas.sqlView.postBizServiceModelKeyBsKey,
@@ -566,6 +571,7 @@ const baseDataUtils = {
566
571
  /** 请求真实填报的渲染数据 */
567
572
  requestRenderData: async (payload) => {
568
573
  const { info, fetchConfig, queryConfig, foreignFields, subModelFields, isMockReport } = payload || {};
574
+ const suiteKey = payload?.suiteKey ?? window.NocodeAdapter.stores?.appInfo?.value.suiteKey;
569
575
  if (isMockReport) {
570
576
  return Promise.resolve();
571
577
  }
@@ -604,7 +610,7 @@ const baseDataUtils = {
604
610
  const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
605
611
  {
606
612
  modelCategory: "entity",
607
- modelKey: "em_edhr_summary_approve_his",
613
+ modelKey: resolveApproveHisModelKey(suiteKey),
608
614
  bsKey: "getOne"
609
615
  },
610
616
  {},
@@ -805,6 +811,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
805
811
  FIELD_TYPE2["RECORD_NO"] = "record_no";
806
812
  FIELD_TYPE2["TRACE_DATE"] = "trace_date";
807
813
  FIELD_TYPE2["ORDER_NO"] = "order_no";
814
+ FIELD_TYPE2["OPERATION"] = "operation";
808
815
  FIELD_TYPE2["ROUTING_OPERATION"] = "routing_operation";
809
816
  FIELD_TYPE2["GOOD_QTY"] = "good_qty";
810
817
  FIELD_TYPE2["NOT_GOOD_QTY"] = "not_good_qty";
@@ -823,6 +830,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
823
830
  FIELD_TYPE2["DESTRUCTIVE_TEST_QTY"] = "destructive_test_qty";
824
831
  FIELD_TYPE2["PRODUCT_CHECK_QTY"] = "product_check_qty";
825
832
  FIELD_TYPE2["MATERIAL_CHECK_QTY"] = "material_check_qty";
833
+ FIELD_TYPE2["INSPECTION_QTY"] = "inspection_qty";
826
834
  FIELD_TYPE2["OPERATION_RECEIVE_QTY"] = "operation_receive_qty";
827
835
  FIELD_TYPE2["OPERATION_OUTPUT_QTY"] = "operation_output_qty";
828
836
  FIELD_TYPE2["OF_INST_NUM"] = "of_inst_num";
@@ -840,6 +848,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
840
848
  FIELD_TYPE2["PRETREATMENT_LIST"] = "pretreatment_list";
841
849
  FIELD_TYPE2["INSPECTION"] = "inspection";
842
850
  FIELD_TYPE2["WAREHOUSE"] = "warehouse";
851
+ FIELD_TYPE2["TARGET_WAREHOUSE"] = "target_warehouse";
843
852
  FIELD_TYPE2["LOCATION"] = "location";
844
853
  FIELD_TYPE2["QTY_REQUIRED"] = "qty_required";
845
854
  FIELD_TYPE2["QTY_CONSUMED"] = "qty_consumed";
@@ -848,6 +857,10 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
848
857
  FIELD_TYPE2["EXTERNAL_REF_NO"] = "external_reference_no";
849
858
  FIELD_TYPE2["OBJECT_TYPE"] = "object_type";
850
859
  FIELD_TYPE2["MATERIAL_CONSUME"] = "material_consume";
860
+ FIELD_TYPE2["BOM_ENTRY_ID"] = "bom_entry_id";
861
+ FIELD_TYPE2["DATE_OBJECT"] = "date_object";
862
+ FIELD_TYPE2["VALIDITY"] = "validity";
863
+ FIELD_TYPE2["RE_INSPECTION_DATE"] = "re_inspection_date";
851
864
  FIELD_TYPE2["MATERIAL_CONSUME_TABLE"] = "material_consume_table";
852
865
  FIELD_TYPE2["MATERIAL_BALANCE_TABLE"] = "material_balance_table";
853
866
  FIELD_TYPE2["SHOPFLOOR"] = "shopfloor";
@@ -855,130 +868,82 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
855
868
  FIELD_TYPE2["E_SOP_VERSION"] = "e_sop_version";
856
869
  return FIELD_TYPE2;
857
870
  })(FIELD_TYPE || {});
858
- var FIELD_TYPE_BASIC = /* @__PURE__ */ ((FIELD_TYPE_BASIC2) => {
859
- FIELD_TYPE_BASIC2["TEXT"] = "text";
860
- FIELD_TYPE_BASIC2["LONG_TEXT"] = "long_text";
861
- FIELD_TYPE_BASIC2["INTEGER"] = "integer";
862
- FIELD_TYPE_BASIC2["LONG"] = "long";
863
- FIELD_TYPE_BASIC2["DOUBLE"] = "double";
864
- FIELD_TYPE_BASIC2["DECIMAL"] = "decimal";
865
- FIELD_TYPE_BASIC2["BOOLEAN"] = "boolean";
866
- FIELD_TYPE_BASIC2["DATE"] = "date";
867
- FIELD_TYPE_BASIC2["TIME"] = "time";
868
- FIELD_TYPE_BASIC2["DATE_TIME"] = "date_time";
869
- return FIELD_TYPE_BASIC2;
870
- })(FIELD_TYPE_BASIC || {});
871
- var FIELD_TYPE_LOGIC = /* @__PURE__ */ ((FIELD_TYPE_LOGIC2) => {
872
- FIELD_TYPE_LOGIC2["IMAGE"] = "image";
873
- FIELD_TYPE_LOGIC2["ATTACHMENT"] = "attachment";
874
- FIELD_TYPE_LOGIC2["SERIAL"] = "serial_number";
875
- FIELD_TYPE_LOGIC2["MASTERSLAVE"] = "master_slave";
876
- FIELD_TYPE_LOGIC2["USER"] = "user";
877
- FIELD_TYPE_LOGIC2["USER_MULTI"] = "user_multi";
878
- FIELD_TYPE_LOGIC2["ORG"] = "org";
879
- FIELD_TYPE_LOGIC2["ORG_MULTI"] = "org_multi";
880
- FIELD_TYPE_LOGIC2["ENUM"] = "enum";
881
- FIELD_TYPE_LOGIC2["ENUM_MULTI"] = "enum_multi";
882
- FIELD_TYPE_LOGIC2["OPTION"] = "option";
883
- FIELD_TYPE_LOGIC2["OPTION_MULTI"] = "option_multi";
884
- FIELD_TYPE_LOGIC2["REF"] = "ref";
885
- FIELD_TYPE_LOGIC2["REF_MULTI"] = "ref_multi";
886
- FIELD_TYPE_LOGIC2["RDO_REF"] = "rdo_ref";
887
- FIELD_TYPE_LOGIC2["EXPRESSION"] = "expression";
888
- FIELD_TYPE_LOGIC2["EXPRESSION_CONDITION"] = "expression_condition";
889
- FIELD_TYPE_LOGIC2["AGG"] = "agg";
890
- FIELD_TYPE_LOGIC2["ESOP"] = "esop";
891
- FIELD_TYPE_LOGIC2["TRANSACTION"] = "transaction";
892
- FIELD_TYPE_LOGIC2["LABEL_TEMPLATE"] = "label_template";
893
- FIELD_TYPE_LOGIC2["LABEL_TEMPLATE_REF"] = "label_template_ref";
894
- FIELD_TYPE_LOGIC2["DOCUMENT_TEMPLATE"] = "document_template";
895
- FIELD_TYPE_LOGIC2["SERIALRULE"] = "serial_number_rule";
896
- FIELD_TYPE_LOGIC2["PRINTER"] = "printer";
897
- FIELD_TYPE_LOGIC2["MESSAGE_TMPL"] = "message_tmpl";
898
- FIELD_TYPE_LOGIC2["RANGE_USER"] = "range_user";
899
- FIELD_TYPE_LOGIC2["SIGNATURE"] = "electronic_signature";
900
- FIELD_TYPE_LOGIC2["ONLINE_FORM_TEMPLATE"] = "online_form_tmpl";
901
- FIELD_TYPE_LOGIC2["E_DHR_TEMPLATE"] = "edhr_tmpl";
902
- FIELD_TYPE_LOGIC2["Biz_Process"] = "biz_process";
903
- FIELD_TYPE_LOGIC2["MODEL_RELATION"] = "model_relation";
904
- FIELD_TYPE_LOGIC2["E_SOP"] = "e_sop";
905
- FIELD_TYPE_LOGIC2["E_SOP_VERSION"] = "e_sop_version";
906
- return FIELD_TYPE_LOGIC2;
907
- })(FIELD_TYPE_LOGIC || {});
908
- var FIELD_TYPE_TRACE = /* @__PURE__ */ ((FIELD_TYPE_TRACE2) => {
909
- FIELD_TYPE_TRACE2["MATERIAL_NO"] = "material_no";
910
- FIELD_TYPE_TRACE2["PRODUCTION_CONTAINER"] = "production_container";
911
- FIELD_TYPE_TRACE2["STERILIZATION_CONTAINER"] = "sterilization_container";
912
- FIELD_TYPE_TRACE2["MATERIAL_CONTAINER"] = "material_container";
913
- FIELD_TYPE_TRACE2["RELATED_LOT_NO"] = "related_lot_no";
914
- FIELD_TYPE_TRACE2["PRODUCT"] = "product";
915
- FIELD_TYPE_TRACE2["SHOPFLOOR"] = "shopfloor";
916
- FIELD_TYPE_TRACE2["DEVICE"] = "device";
917
- FIELD_TYPE_TRACE2["MFG_ORDER"] = "mfg_order";
918
- FIELD_TYPE_TRACE2["RECORD_NO"] = "record_no";
919
- FIELD_TYPE_TRACE2["TRACE_DATE"] = "trace_date";
920
- FIELD_TYPE_TRACE2["ORDER_NO"] = "order_no";
921
- FIELD_TYPE_TRACE2["EXTERNAL_REF_NO"] = "external_reference_no";
922
- return FIELD_TYPE_TRACE2;
923
- })(FIELD_TYPE_TRACE || {});
924
- var FIELD_TYPE_BUSINESS = /* @__PURE__ */ ((FIELD_TYPE_BUSINESS2) => {
925
- FIELD_TYPE_BUSINESS2["ROUTING_OPERATION"] = "routing_operation";
926
- FIELD_TYPE_BUSINESS2["GOOD_QTY"] = "good_qty";
927
- FIELD_TYPE_BUSINESS2["NOT_GOOD_QTY"] = "not_good_qty";
928
- FIELD_TYPE_BUSINESS2["REPORT_START_TIME"] = "report_start_time";
929
- FIELD_TYPE_BUSINESS2["REPORT_END_TIME"] = "report_end_time";
930
- FIELD_TYPE_BUSINESS2["WORK_HOURS"] = "work_hours";
931
- FIELD_TYPE_BUSINESS2["PRODUCTION_DATE"] = "production_date";
932
- FIELD_TYPE_BUSINESS2["REPORTER"] = "reporter";
933
- FIELD_TYPE_BUSINESS2["NOT_GOOD_REASON"] = "not_good_reason";
934
- FIELD_TYPE_BUSINESS2["NOT_GOOD_GROUP"] = "not_good_group";
935
- FIELD_TYPE_BUSINESS2["SCRAP_REASON"] = "scrap_reason";
936
- FIELD_TYPE_BUSINESS2["SCRAP_GROUP"] = "scrap_group";
937
- FIELD_TYPE_BUSINESS2["SCRAP_QTY"] = "scrap_qty";
938
- FIELD_TYPE_BUSINESS2["SCRAP_MATERIAL"] = "scrap_material";
939
- FIELD_TYPE_BUSINESS2["SCRAP_MATERIAL_NO"] = "scrap_material_no";
940
- FIELD_TYPE_BUSINESS2["DESTRUCTIVE_TEST_QTY"] = "destructive_test_qty";
941
- FIELD_TYPE_BUSINESS2["PRODUCT_CHECK_QTY"] = "product_check_qty";
942
- FIELD_TYPE_BUSINESS2["MATERIAL_CHECK_QTY"] = "material_check_qty";
943
- FIELD_TYPE_BUSINESS2["OPERATION_RECEIVE_QTY"] = "operation_receive_qty";
944
- FIELD_TYPE_BUSINESS2["OPERATION_OUTPUT_QTY"] = "operation_output_qty";
945
- FIELD_TYPE_BUSINESS2["OF_INST_NUM"] = "of_inst_num";
946
- FIELD_TYPE_BUSINESS2["PRODUCTION_QTY"] = "production_qty";
947
- return FIELD_TYPE_BUSINESS2;
948
- })(FIELD_TYPE_BUSINESS || {});
949
- var FIELD_TYPE_PRODUCE = /* @__PURE__ */ ((FIELD_TYPE_PRODUCE2) => {
950
- FIELD_TYPE_PRODUCE2["DEVICE_REF"] = "device_ref";
951
- FIELD_TYPE_PRODUCE2["DEVICE_REF_MULTI"] = "device_ref_multi";
952
- return FIELD_TYPE_PRODUCE2;
953
- })(FIELD_TYPE_PRODUCE || {});
954
- var FIELD_TYPE_WAREHOUSE = /* @__PURE__ */ ((FIELD_TYPE_WAREHOUSE2) => {
955
- FIELD_TYPE_WAREHOUSE2["WAREHOUSE_RECEIPT_NO"] = "warehouse_receipt_no";
956
- FIELD_TYPE_WAREHOUSE2["WAREHOUSE_RECEIPT_DATE"] = "warehouse_receipt_date";
957
- FIELD_TYPE_WAREHOUSE2["WAREHOUSE"] = "warehouse";
958
- FIELD_TYPE_WAREHOUSE2["WAREHOUSE_MANAGER"] = "warehouse_manager";
959
- FIELD_TYPE_WAREHOUSE2["WAREHOUSE_IN_OUT"] = "warehouse_in_out";
960
- FIELD_TYPE_WAREHOUSE2["STOCKTAKE"] = "stocktake";
961
- FIELD_TYPE_WAREHOUSE2["ALLOCATE"] = "allocate";
962
- return FIELD_TYPE_WAREHOUSE2;
963
- })(FIELD_TYPE_WAREHOUSE || {});
964
- var FIELD_TYPE_STERILIZATION = /* @__PURE__ */ ((FIELD_TYPE_STERILIZATION2) => {
965
- FIELD_TYPE_STERILIZATION2["STERILIZE_BATCH"] = "sterilize_batch";
966
- return FIELD_TYPE_STERILIZATION2;
967
- })(FIELD_TYPE_STERILIZATION || {});
968
- var FIELD_TYPE_PRETREATMENT = /* @__PURE__ */ ((FIELD_TYPE_PRETREATMENT2) => {
969
- FIELD_TYPE_PRETREATMENT2["PRETREATMENT_LIST"] = "pretreatment_list";
970
- return FIELD_TYPE_PRETREATMENT2;
971
- })(FIELD_TYPE_PRETREATMENT || {});
972
- var FIELD_TYPE_INSPECTION = /* @__PURE__ */ ((FIELD_TYPE_INSPECTION2) => {
973
- FIELD_TYPE_INSPECTION2["INSPECTION"] = "inspection";
974
- return FIELD_TYPE_INSPECTION2;
975
- })(FIELD_TYPE_INSPECTION || {});
976
- var FIELD_TYPE_MATERIAL = /* @__PURE__ */ ((FIELD_TYPE_MATERIAL2) => {
977
- FIELD_TYPE_MATERIAL2["MATERIAL_CONSUME"] = "material_consume";
978
- FIELD_TYPE_MATERIAL2["MATERIAL_CONSUME_TABLE"] = "material_consume_table";
979
- FIELD_TYPE_MATERIAL2["MATERIAL_BALANCE_TABLE"] = "material_balance_table";
980
- return FIELD_TYPE_MATERIAL2;
981
- })(FIELD_TYPE_MATERIAL || {});
871
+ const FIELD_TYPE_ALIASES = {
872
+ production_identifier: "production_container"
873
+ /* PRODUCTION_CONTAINER */
874
+ };
875
+ function normalizeFieldType(type4) {
876
+ return FIELD_TYPE_ALIASES[type4] ?? type4;
877
+ }
878
+ const BASIC_FIELD_TYPES = [
879
+ "text",
880
+ "long_text",
881
+ "integer",
882
+ "long",
883
+ "double",
884
+ "decimal",
885
+ "boolean",
886
+ "date",
887
+ "time",
888
+ "date_time"
889
+ /* DATE_TIME */
890
+ ];
891
+ const TRACE_FIELD_TYPES = [
892
+ "material_no",
893
+ "production_container",
894
+ "sterilization_container",
895
+ "material_container",
896
+ "related_lot_no",
897
+ "product",
898
+ "shopfloor",
899
+ "device",
900
+ "mfg_order",
901
+ "record_no",
902
+ "trace_date",
903
+ "order_no",
904
+ "external_reference_no"
905
+ /* EXTERNAL_REF_NO */
906
+ ];
907
+ const BUSINESS_FIELD_TYPES = [
908
+ "operation",
909
+ "routing_operation",
910
+ "good_qty",
911
+ "not_good_qty",
912
+ "report_start_time",
913
+ "report_end_time",
914
+ "work_hours",
915
+ "production_date",
916
+ "validity",
917
+ "re_inspection_date",
918
+ "reporter",
919
+ "not_good_reason",
920
+ "not_good_group",
921
+ "scrap_reason",
922
+ "scrap_group",
923
+ "scrap_qty",
924
+ "scrap_material",
925
+ "scrap_material_no",
926
+ "destructive_test_qty",
927
+ "product_check_qty",
928
+ "material_check_qty",
929
+ "inspection_qty",
930
+ "operation_receive_qty",
931
+ "operation_output_qty",
932
+ "of_inst_num",
933
+ "production_qty"
934
+ /* PRODUCTION_QTY */
935
+ ];
936
+ const WAREHOUSE_FIELD_TYPES = [
937
+ "warehouse_receipt_no",
938
+ "warehouse_receipt_date",
939
+ "warehouse",
940
+ "target_warehouse",
941
+ "warehouse_manager",
942
+ "warehouse_in_out",
943
+ "stocktake",
944
+ "allocate"
945
+ /* ALLOCATE */
946
+ ];
982
947
  const FieldTypeToJs = {
983
948
  [
984
949
  "attachment"
@@ -1216,6 +1181,14 @@ const FieldTypeToJs = {
1216
1181
  "production_date"
1217
1182
  /* PRODUCTION_DATE */
1218
1183
  ]: "string",
1184
+ [
1185
+ "validity"
1186
+ /* VALIDITY */
1187
+ ]: "string",
1188
+ [
1189
+ "re_inspection_date"
1190
+ /* RE_INSPECTION_DATE */
1191
+ ]: "string",
1219
1192
  [
1220
1193
  "reporter"
1221
1194
  /* REPORTER */
@@ -1260,6 +1233,10 @@ const FieldTypeToJs = {
1260
1233
  "material_check_qty"
1261
1234
  /* MATERIAL_CHECK_QTY */
1262
1235
  ]: "number",
1236
+ [
1237
+ "inspection_qty"
1238
+ /* INSPECTION_QTY */
1239
+ ]: "number",
1263
1240
  [
1264
1241
  "device_ref"
1265
1242
  /* DEVICE_REF */
@@ -1284,6 +1261,10 @@ const FieldTypeToJs = {
1284
1261
  "warehouse"
1285
1262
  /* WAREHOUSE */
1286
1263
  ]: "string",
1264
+ [
1265
+ "target_warehouse"
1266
+ /* TARGET_WAREHOUSE */
1267
+ ]: "string",
1287
1268
  [
1288
1269
  "location"
1289
1270
  /* LOCATION */
@@ -1470,7 +1451,7 @@ const FieldIconMap = {
1470
1451
  [
1471
1452
  "electronic_signature"
1472
1453
  /* SIGNATURE */
1473
- ]: "icon-qianming1",
1454
+ ]: "icon-dianziqianmingdd",
1474
1455
  [
1475
1456
  "online_form_tmpl"
1476
1457
  /* ONLINE_FORM_TEMPLATE */
@@ -1541,6 +1522,10 @@ const FieldIconMap = {
1541
1522
  "biz_process"
1542
1523
  /* Biz_Process */
1543
1524
  ]: "icon-jichengzhongxin1",
1525
+ [
1526
+ "operation"
1527
+ /* OPERATION */
1528
+ ]: "icon-icon_gongxu",
1544
1529
  [
1545
1530
  "routing_operation"
1546
1531
  /* ROUTING_OPERATION */
@@ -1577,6 +1562,18 @@ const FieldIconMap = {
1577
1562
  "production_date"
1578
1563
  /* PRODUCTION_DATE */
1579
1564
  ]: "icon-icon_shengchanriqi",
1565
+ [
1566
+ "validity"
1567
+ /* VALIDITY */
1568
+ ]: "icon-riqi1",
1569
+ [
1570
+ "re_inspection_date"
1571
+ /* RE_INSPECTION_DATE */
1572
+ ]: "icon-riqi1",
1573
+ [
1574
+ "date_object"
1575
+ /* DATE_OBJECT */
1576
+ ]: "icon-moxingguanlian",
1580
1577
  [
1581
1578
  "reporter"
1582
1579
  /* REPORTER */
@@ -1621,6 +1618,10 @@ const FieldIconMap = {
1621
1618
  "material_check_qty"
1622
1619
  /* MATERIAL_CHECK_QTY */
1623
1620
  ]: "icon-icon_cailiaojianyanshuliang",
1621
+ [
1622
+ "inspection_qty"
1623
+ /* INSPECTION_QTY */
1624
+ ]: "icon-xiaoshu",
1624
1625
  [
1625
1626
  "device_ref"
1626
1627
  /* DEVICE_REF */
@@ -1673,6 +1674,10 @@ const FieldIconMap = {
1673
1674
  "warehouse"
1674
1675
  /* WAREHOUSE */
1675
1676
  ]: "icon-moxingguanlian",
1677
+ [
1678
+ "target_warehouse"
1679
+ /* TARGET_WAREHOUSE */
1680
+ ]: "icon-moxingguanlian",
1676
1681
  [
1677
1682
  "shopfloor"
1678
1683
  /* SHOPFLOOR */
@@ -56844,7 +56849,9 @@ const transformUtils = {
56844
56849
  console.log("0506 数据转成真实提交数据(二维表要平铺)", realFormData);
56845
56850
  return omit(realFormData, filterKeys);
56846
56851
  },
56847
- getFormDataIdsMap: (formData) => {
56852
+ getFormDataIdsMap: (formData, preserveKeys = []) => {
56853
+ const preserveKeySet = new Set(preserveKeys.filter(Boolean));
56854
+ const shouldKeepAsIs = (key, isFirstLevel) => key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key);
56848
56855
  const processEntry = (entry, isFirstLevel = false) => {
56849
56856
  if (Array.isArray(entry)) {
56850
56857
  const processed = entry.map((item) => processEntry(item, false)).filter(Boolean);
@@ -56863,7 +56870,12 @@ const transformUtils = {
56863
56870
  }
56864
56871
  }
56865
56872
  for (const [key, value] of Object.entries(entry)) {
56866
- if (key === "id_" || isFirstLevel && key.startsWith("record_no_")) continue;
56873
+ if (preserveKeySet.has(key) && !(key in result)) {
56874
+ result[key] = value;
56875
+ }
56876
+ }
56877
+ for (const [key, value] of Object.entries(entry)) {
56878
+ if (shouldKeepAsIs(key, isFirstLevel)) continue;
56867
56879
  const processed = processEntry(value, false);
56868
56880
  if (processed !== void 0) {
56869
56881
  result[key] = processed;
@@ -57018,6 +57030,57 @@ const LOT_CONTAINER_ROLE = {
57018
57030
  /** 关联批子批次 */
57019
57031
  RELATED_CHILD: "related_child"
57020
57032
  };
57033
+ function joinAnd$1(keys2) {
57034
+ if (keys2.length === 0) return "";
57035
+ if (keys2.length === 1) return keys2[0];
57036
+ return `AND(${keys2.join(",")})`;
57037
+ }
57038
+ function joinOr$1(keys2) {
57039
+ if (keys2.length === 0) return "";
57040
+ if (keys2.length === 1) return keys2[0];
57041
+ return `OR(${keys2.join(",")})`;
57042
+ }
57043
+ function toILikeKey(field) {
57044
+ return field.includes(".") ? field : `${field}.iLike`;
57045
+ }
57046
+ function omitLikeQueryKeys(queryData = {}) {
57047
+ return Object.fromEntries(
57048
+ Object.entries(queryData).filter(([key]) => !key.endsWith(".like") && !key.endsWith(".iLike"))
57049
+ );
57050
+ }
57051
+ function buildLotLikeQuery(searchFields, keyword, extraQuery = {}) {
57052
+ const queryData = { ...extraQuery };
57053
+ const filterKeys = Object.keys(queryData);
57054
+ const searchKeys = [];
57055
+ if (keyword?.trim()) {
57056
+ searchFields.forEach((field) => {
57057
+ const key = toILikeKey(field);
57058
+ queryData[key] = keyword;
57059
+ searchKeys.push(key);
57060
+ });
57061
+ }
57062
+ const filterExp = joinAnd$1(filterKeys);
57063
+ const likeExp = joinOr$1(searchKeys);
57064
+ const exp = filterExp && likeExp ? `AND(${filterExp},${likeExp})` : filterExp || likeExp;
57065
+ return { queryData, exp };
57066
+ }
57067
+ function buildLotSnListQuery(keyword = "", extraQuery = {}) {
57068
+ return buildLotLikeQuery(["name_", "related_parent_name_", "product_id_code_", "product_id_name_", "spec_"], keyword, {
57069
+ "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
57070
+ ...extraQuery
57071
+ });
57072
+ }
57073
+ function buildProductionLotListQuery(keyword = "", extraQuery = {}) {
57074
+ return buildLotLikeQuery(["name_", "related_parent_name_"], keyword, {
57075
+ "production_identification_type_.in": ["LOT", "SN"],
57076
+ is_rework_: 0,
57077
+ "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
57078
+ ...extraQuery
57079
+ });
57080
+ }
57081
+ function composeProductionLotListQuery(queryData = {}, keyword = "") {
57082
+ return buildProductionLotListQuery(keyword, omitLikeQueryKeys(queryData));
57083
+ }
57021
57084
  const CACHE_TTL = 30 * 1e3;
57022
57085
  const recordCache = /* @__PURE__ */ new Map();
57023
57086
  function isPresent(value) {
@@ -57070,6 +57133,393 @@ function resolveLotRecordByValue(options) {
57070
57133
  }
57071
57134
  return Promise.resolve(void 0);
57072
57135
  }
57136
+ const DeviceStatus = {
57137
+ /** 使用中 */
57138
+ IN_USE: "state_device_in_use",
57139
+ /** 维修中 */
57140
+ REPAIRING: "REPAIRING",
57141
+ /** 保养中 */
57142
+ MAINTAINING: "MAINTAINING",
57143
+ /** 点检中 */
57144
+ INSPECTING: "INSPECTING",
57145
+ /** 校准中 */
57146
+ CALIBRATING: "CALIBRATING",
57147
+ /** 验证中 */
57148
+ VERIFYING: "VERIFYING",
57149
+ /** 备用 */
57150
+ STANDBY: "STANDBY",
57151
+ /** 停用 */
57152
+ DEACTIVATED: "DEACTIVATED",
57153
+ /** 报废 */
57154
+ SCRAPPED: "SCRAPPED"
57155
+ };
57156
+ const DEVICE_SEARCH_API = {
57157
+ modelCategory: "entity",
57158
+ modelKey: "em_device",
57159
+ bsKey: "biz_form_device_search"
57160
+ };
57161
+ const DEVICE_GROUP_QUERY_KEY = "device_group_id_";
57162
+ function joinAnd(keys2) {
57163
+ if (keys2.length === 0) return "";
57164
+ if (keys2.length === 1) return keys2[0];
57165
+ return `AND(${keys2.join(",")})`;
57166
+ }
57167
+ function joinOr(keys2) {
57168
+ if (keys2.length === 0) return "";
57169
+ if (keys2.length === 1) return keys2[0];
57170
+ return `OR(${keys2.join(",")})`;
57171
+ }
57172
+ function buildDeviceBaseQuery(extraQuery) {
57173
+ const today = dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss");
57174
+ const { "device_type_id_.eq": deviceTypeId, ...extra } = extraQuery ?? {};
57175
+ return {
57176
+ "state_.eq": DeviceStatus.IN_USE,
57177
+ "next_calibration_date_.ge": today,
57178
+ "next_calibration_date_.isNull": null,
57179
+ ...extra,
57180
+ ...deviceTypeId ? { "device_type_id_.eq": deviceTypeId } : {},
57181
+ __orExpKeys: ["next_calibration_date_.ge", "next_calibration_date_.isNull"]
57182
+ };
57183
+ }
57184
+ function buildDeviceFilterQuery(extraQuery) {
57185
+ const extra = { ...extraQuery ?? {} };
57186
+ const deviceGroupId = extra[DEVICE_GROUP_QUERY_KEY];
57187
+ delete extra[DEVICE_GROUP_QUERY_KEY];
57188
+ const queryData = buildDeviceBaseQuery(extra);
57189
+ const orExpKeys = new Set(
57190
+ Array.isArray(queryData.__orExpKeys) ? queryData.__orExpKeys : []
57191
+ );
57192
+ delete queryData.__orExpKeys;
57193
+ const filterKeys = Object.keys(queryData);
57194
+ const orKeys = filterKeys.filter((key) => orExpKeys.has(key));
57195
+ const andKeys = filterKeys.filter((key) => !orExpKeys.has(key));
57196
+ const orExp = joinOr(orKeys);
57197
+ const andExp = joinAnd(andKeys);
57198
+ const exp = andExp && orExp ? `AND(${andExp},${orExp})` : andExp || orExp;
57199
+ if (deviceGroupId != null && deviceGroupId !== "") {
57200
+ queryData[DEVICE_GROUP_QUERY_KEY] = deviceGroupId;
57201
+ }
57202
+ return { queryData, exp };
57203
+ }
57204
+ const handlers = /* @__PURE__ */ new Map();
57205
+ function registerDateObjectHandler(name2, handler) {
57206
+ handlers.set(name2, handler);
57207
+ }
57208
+ async function runDateObjectHandler(name2, form, belongingObject, modelFields) {
57209
+ if (!name2) return;
57210
+ await handlers.get(name2)?.(form, belongingObject, modelFields);
57211
+ }
57212
+ const OptionF = {
57213
+ /** 物料 */
57214
+ productId: "product_id_",
57215
+ /** 生产日期 */
57216
+ productionDate: "production_date_",
57217
+ /** 有效期 */
57218
+ validity: "validate_",
57219
+ /** 下一次复检日期 */
57220
+ reInspectionDate: "re_inspection_date_",
57221
+ /** 复检周期 */
57222
+ reInspectionInterval: "re_inspection_interval_",
57223
+ /** 复检周期单位 */
57224
+ reInspectionIntervalUnit: "re_inspection_interval_unit_"
57225
+ };
57226
+ const RE_INSPECTION_BUSINESS_TYPE = "reInspection";
57227
+ const MISSING_RE_INSPECTION_INTERVAL_MSG = "当前物料未配置复检周期,无法计算下一次复检日期";
57228
+ function isBlank$c(value) {
57229
+ return value === null || value === void 0 || value === "";
57230
+ }
57231
+ function isSameFieldValue(a, b) {
57232
+ if (isBlank$c(a) && isBlank$c(b)) return true;
57233
+ return a === b;
57234
+ }
57235
+ function parseFormTmplRefId(refId) {
57236
+ if (!refId) return { baseId: "", id: "" };
57237
+ const [baseId, versionId] = String(refId).split(":");
57238
+ return {
57239
+ baseId: versionId ? baseId : "",
57240
+ id: versionId || baseId
57241
+ };
57242
+ }
57243
+ function toDateOnly(value) {
57244
+ if (value == null || value === "") return value;
57245
+ const parsed = dayjs(value);
57246
+ return parsed.isValid() ? parsed.format("YYYY-MM-DD") : value;
57247
+ }
57248
+ function companionIdKey(fieldKey) {
57249
+ return `${fieldKey}_id_`;
57250
+ }
57251
+ function companionLabelKey(fieldKey) {
57252
+ return `${fieldKey}_lb_`;
57253
+ }
57254
+ const fields$a = [
57255
+ {
57256
+ match: { bizType: FIELD_TYPE.MATERIAL_NO },
57257
+ select: {
57258
+ linkBizType: FIELD_TYPE.PRODUCT,
57259
+ /** 已选物料时按 product_id_ 过滤批次;未选则不过滤,批次可独立下拉 */
57260
+ buildLinkQuery: ({ linkValue }) => {
57261
+ if (isBlank$c(linkValue)) return {};
57262
+ const productId = parseFormTmplRefId(String(linkValue)).id;
57263
+ return { "product_id_.versionEq": productId };
57264
+ },
57265
+ /** 用户改物料:清批次 + 三个日期 */
57266
+ clearOnLinkChange: [
57267
+ FIELD_TYPE.MATERIAL_NO,
57268
+ FIELD_TYPE.PRODUCTION_DATE,
57269
+ FIELD_TYPE.VALIDITY,
57270
+ FIELD_TYPE.RE_INSPECTION_DATE
57271
+ ]
57272
+ },
57273
+ fillFromOption: [
57274
+ { optionField: OptionF.productId, toBizType: FIELD_TYPE.PRODUCT },
57275
+ {
57276
+ optionField: OptionF.productionDate,
57277
+ toBizType: FIELD_TYPE.PRODUCTION_DATE,
57278
+ transform: toDateOnly
57279
+ },
57280
+ { optionField: OptionF.validity, toBizType: FIELD_TYPE.VALIDITY, transform: toDateOnly }
57281
+ ],
57282
+ /** 清空批次时保留物料,只清三个日期 */
57283
+ clearOnEmpty: [FIELD_TYPE.PRODUCTION_DATE, FIELD_TYPE.VALIDITY, FIELD_TYPE.RE_INSPECTION_DATE]
57284
+ }
57285
+ ];
57286
+ const OBJECT_TYPE = "date_object";
57287
+ const profile$i = {
57288
+ type: OBJECT_TYPE,
57289
+ fields: fields$a,
57290
+ rowHandlers: [
57291
+ {
57292
+ when: "onFieldChange",
57293
+ watch: [FIELD_TYPE.MATERIAL_NO, FIELD_TYPE.PRODUCTION_DATE],
57294
+ handler: "sync-re-inspection-date"
57295
+ }
57296
+ ]
57297
+ };
57298
+ const CHILD_BIZ_TYPES = [
57299
+ FIELD_TYPE.PRODUCT,
57300
+ FIELD_TYPE.MATERIAL_NO,
57301
+ FIELD_TYPE.PRODUCTION_DATE,
57302
+ FIELD_TYPE.VALIDITY,
57303
+ FIELD_TYPE.RE_INSPECTION_DATE
57304
+ ];
57305
+ const CHILD_BIZ_TYPE_SET = new Set(CHILD_BIZ_TYPES);
57306
+ function isDateObjectField(field) {
57307
+ if (!field) return false;
57308
+ const biz = field.bizType ?? field.fieldType;
57309
+ return biz === FIELD_TYPE.DATE_OBJECT || biz === "material_date";
57310
+ }
57311
+ function resolveChildBizType(field) {
57312
+ const raw = field.bizType || field.fieldType || field.type;
57313
+ if (!raw || !CHILD_BIZ_TYPE_SET.has(raw)) return void 0;
57314
+ return raw;
57315
+ }
57316
+ function collectFields(belongingObject, fields2) {
57317
+ const byBizType = {};
57318
+ for (const field of fields2) {
57319
+ if (field.belongingObject !== belongingObject || !field.key) continue;
57320
+ const bizType = resolveChildBizType(field);
57321
+ if (!bizType || byBizType[bizType]) continue;
57322
+ byBizType[bizType] = { key: field.key };
57323
+ }
57324
+ return { belongingObject, byBizType };
57325
+ }
57326
+ class DateObjectContext {
57327
+ constructor(form, profile2, belongingObject, fieldSet) {
57328
+ this.form = form;
57329
+ this.profile = profile2;
57330
+ this.belongingObject = belongingObject;
57331
+ this.fieldSet = fieldSet;
57332
+ }
57333
+ form;
57334
+ profile;
57335
+ belongingObject;
57336
+ fieldSet;
57337
+ fieldByBizType(bizType) {
57338
+ return this.fieldSet.byBizType[bizType];
57339
+ }
57340
+ /** 行内 field key */
57341
+ path(bizType) {
57342
+ return this.fieldByBizType(bizType)?.key;
57343
+ }
57344
+ getValue(bizType) {
57345
+ const key = this.path(bizType);
57346
+ return key ? this.form.row[key] : void 0;
57347
+ }
57348
+ setValue(bizType, value) {
57349
+ const key = this.path(bizType);
57350
+ if (!key) return;
57351
+ this.form.row[key] = value;
57352
+ }
57353
+ findFieldProfile(bizType) {
57354
+ return this.profile.fields.find((item) => item.match.bizType === bizType);
57355
+ }
57356
+ bizTypeByFieldKey(fieldKey) {
57357
+ if (!fieldKey) return void 0;
57358
+ for (const [bizType, field] of Object.entries(this.fieldSet.byBizType)) {
57359
+ if (field?.key === fieldKey) return bizType;
57360
+ }
57361
+ return void 0;
57362
+ }
57363
+ static create(form, belongingObject, fields2) {
57364
+ return new DateObjectContext(
57365
+ form,
57366
+ profile$i,
57367
+ belongingObject,
57368
+ collectFields(belongingObject, fields2)
57369
+ );
57370
+ }
57371
+ /** 从模型字段列表收集全部日期对象 */
57372
+ static collectAll(form, modelFields) {
57373
+ return modelFields.filter(isDateObjectField).filter((field) => Boolean(field.key)).map((objectField) => DateObjectContext.create(form, objectField.key, modelFields));
57374
+ }
57375
+ static find(form, belongingObject, modelFields) {
57376
+ if (!belongingObject) return void 0;
57377
+ const objectField = modelFields.find((item) => item.key === belongingObject);
57378
+ if (!isDateObjectField(objectField)) return void 0;
57379
+ return DateObjectContext.create(form, belongingObject, modelFields);
57380
+ }
57381
+ }
57382
+ function unwrapData(result) {
57383
+ const payload = result?.data ?? result;
57384
+ if (Array.isArray(payload)) {
57385
+ const first2 = payload[0];
57386
+ return first2 && typeof first2 === "object" ? first2 : null;
57387
+ }
57388
+ if (payload && typeof payload === "object") return payload;
57389
+ return null;
57390
+ }
57391
+ function unwrapList(result) {
57392
+ const payload = result?.data ?? result;
57393
+ if (Array.isArray(payload)) return payload;
57394
+ if (payload && typeof payload === "object") return [payload];
57395
+ return [];
57396
+ }
57397
+ async function fetchProductRecord(productValue) {
57398
+ if (isBlank$c(productValue)) return null;
57399
+ const id = parseFormTmplRefId(String(productValue)).id;
57400
+ const res = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
57401
+ { modelCategory: "entity", modelKey: "em_product", bsKey: "rdoGetVersionById" },
57402
+ { id }
57403
+ );
57404
+ return unwrapData(res);
57405
+ }
57406
+ async function fetchLotRecord(options) {
57407
+ const query = !isBlank$c(options.lotId) ? { "id_.eq": String(options.lotId) } : !isBlank$c(options.lotName) ? { "name_.eq": String(options.lotName) } : void 0;
57408
+ if (!query) return null;
57409
+ const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
57410
+ {
57411
+ modelCategory: "entity",
57412
+ modelKey: "em_production_identification",
57413
+ bsKey: "biz_get_production_identification"
57414
+ },
57415
+ {},
57416
+ { query, pageNo: 1, pageSize: 1 }
57417
+ );
57418
+ return unwrapList(res)[0] ?? null;
57419
+ }
57420
+ async function fetchDateObjectRecords(options) {
57421
+ const [product, lot] = await Promise.all([
57422
+ fetchProductRecord(options.productValue),
57423
+ fetchLotRecord({ lotId: options.lotId, lotName: options.lotName })
57424
+ ]);
57425
+ return { product, lot };
57426
+ }
57427
+ function unwrapScalar(value) {
57428
+ if (value && typeof value === "object" && !Array.isArray(value)) {
57429
+ const record = value;
57430
+ return record.value ?? value;
57431
+ }
57432
+ return value;
57433
+ }
57434
+ function hasDateValue(value) {
57435
+ if (isBlank$c(value)) return false;
57436
+ const dateOnly = toDateOnly(value);
57437
+ return typeof dateOnly === "string" && dayjs(dateOnly).isValid();
57438
+ }
57439
+ function normalizeReInspectionUnit(unit) {
57440
+ const raw = String(unwrapScalar(unit) ?? "").trim();
57441
+ if (raw === "day" || raw === "month") return raw;
57442
+ return void 0;
57443
+ }
57444
+ function parseReInspectionIntervalAmount(value) {
57445
+ if (isBlank$c(value)) return void 0;
57446
+ const amount = Number(unwrapScalar(value));
57447
+ if (!Number.isFinite(amount) || amount <= 0) return void 0;
57448
+ return amount;
57449
+ }
57450
+ function pickReInspectionInterval(source) {
57451
+ if (!source) return void 0;
57452
+ const amount = parseReInspectionIntervalAmount(source[OptionF.reInspectionInterval]);
57453
+ const unit = normalizeReInspectionUnit(source[OptionF.reInspectionIntervalUnit]);
57454
+ if (amount == null || !unit) return void 0;
57455
+ return { amount, unit };
57456
+ }
57457
+ function addReInspectionInterval(base, interval) {
57458
+ const dateOnly = toDateOnly(base);
57459
+ if (typeof dateOnly !== "string" || !dateOnly) return null;
57460
+ const parsed = dayjs(dateOnly);
57461
+ if (!parsed.isValid()) return null;
57462
+ return parsed.add(interval.amount, interval.unit).format("YYYY-MM-DD");
57463
+ }
57464
+ function resolveNextReInspectionDate(input) {
57465
+ const lotHasNextDate = hasDateValue(input.lotReInspectionDate);
57466
+ const needCalculate = input.isReInspection || !lotHasNextDate;
57467
+ if (!needCalculate) {
57468
+ return {
57469
+ value: String(toDateOnly(input.lotReInspectionDate)),
57470
+ needCalculate: false,
57471
+ missingInterval: false
57472
+ };
57473
+ }
57474
+ if (!input.interval) {
57475
+ return { value: null, needCalculate: true, missingInterval: true };
57476
+ }
57477
+ const baseDate = input.isReInspection && lotHasNextDate ? input.lotReInspectionDate : input.productionDate;
57478
+ if (!hasDateValue(baseDate)) {
57479
+ return { value: null, needCalculate: true, missingInterval: false };
57480
+ }
57481
+ return {
57482
+ value: addReInspectionInterval(baseDate, input.interval),
57483
+ needCalculate: true,
57484
+ missingInterval: false
57485
+ };
57486
+ }
57487
+ function isReInspectionTxnConfig(txnConfig) {
57488
+ if (!txnConfig || typeof txnConfig !== "object") return false;
57489
+ return txnConfig.businessType === RE_INSPECTION_BUSINESS_TYPE;
57490
+ }
57491
+ async function syncReInspectionDate(form, belongingObject, modelFields) {
57492
+ const ctx = DateObjectContext.find(form, belongingObject, modelFields);
57493
+ const path = ctx?.path(FIELD_TYPE.RE_INSPECTION_DATE);
57494
+ if (!ctx || !path) return;
57495
+ const productValue = ctx.getValue(FIELD_TYPE.PRODUCT);
57496
+ const lotName = ctx.getValue(FIELD_TYPE.MATERIAL_NO);
57497
+ const lotPath = ctx.path(FIELD_TYPE.MATERIAL_NO);
57498
+ const lotId = lotPath ? form.row[companionIdKey(lotPath)] : void 0;
57499
+ if (isBlank$c(productValue) && isBlank$c(lotName) && isBlank$c(lotId)) return;
57500
+ const { product, lot } = await fetchDateObjectRecords({
57501
+ productValue,
57502
+ lotId,
57503
+ lotName
57504
+ });
57505
+ if (lot?.id_ && lotPath) {
57506
+ form.row[companionIdKey(lotPath)] = lot.id_;
57507
+ }
57508
+ const resolved = resolveNextReInspectionDate({
57509
+ isReInspection: isReInspectionTxnConfig(form.txnConfig),
57510
+ lotReInspectionDate: lot?.[OptionF.reInspectionDate],
57511
+ productionDate: ctx.getValue(FIELD_TYPE.PRODUCTION_DATE),
57512
+ interval: pickReInspectionInterval(product)
57513
+ });
57514
+ if (resolved.missingInterval && !product) return;
57515
+ if (resolved.missingInterval) {
57516
+ form.row[path] = null;
57517
+ form.warn?.(MISSING_RE_INSPECTION_INTERVAL_MSG);
57518
+ return;
57519
+ }
57520
+ form.row[path] = resolved.value;
57521
+ }
57522
+ registerDateObjectHandler("sync-re-inspection-date", syncReInspectionDate);
57073
57523
  const requestUtils = {
57074
57524
  pendingMap: /* @__PURE__ */ new Map(),
57075
57525
  cacheMap: /* @__PURE__ */ new Map(),
@@ -57179,10 +57629,15 @@ async function getUserList(modelKey, fieldKey) {
57179
57629
  options: valueList
57180
57630
  };
57181
57631
  }
57632
+ function isRoutingOperationFieldType(fieldType, bizType) {
57633
+ return fieldType === FIELD_TYPE.ROUTING_OPERATION || bizType === FIELD_TYPE.ROUTING_OPERATION;
57634
+ }
57182
57635
  async function getRefList({
57183
57636
  modelKey,
57184
57637
  fieldKey,
57185
57638
  refModelKey,
57639
+ fieldType,
57640
+ bizType,
57186
57641
  queryData = {},
57187
57642
  exp = "",
57188
57643
  pageNo = 1,
@@ -57205,6 +57660,8 @@ async function getRefList({
57205
57660
  modelKey,
57206
57661
  fieldKey,
57207
57662
  refModelKey,
57663
+ fieldType,
57664
+ bizType,
57208
57665
  queryData,
57209
57666
  exp,
57210
57667
  pageNo,
@@ -57222,12 +57679,15 @@ async function getRefList({
57222
57679
  });
57223
57680
  return normalizeRefLoaderResult(res, { isRdo, pageSize });
57224
57681
  }
57225
- const url2 = "/api/getRefList";
57682
+ const useAvailableRoutingOperation = isRoutingOperationFieldType(fieldType, bizType);
57683
+ const url2 = useAvailableRoutingOperation ? "/api/routingOperation/available" : "/api/getRefList";
57226
57684
  return requestUtils.handleRequest(url2, params, async (props) => {
57227
57685
  const {
57228
57686
  modelKey: modelKey2,
57229
57687
  fieldKey: fieldKey2,
57230
57688
  refModelKey: refModelKey2,
57689
+ fieldType: fieldType2,
57690
+ bizType: bizType2,
57231
57691
  queryData: queryData2,
57232
57692
  exp: exp2,
57233
57693
  pageNo: pageNo2,
@@ -57253,6 +57713,34 @@ async function getRefList({
57253
57713
  }
57254
57714
  }
57255
57715
  ) || {};
57716
+ } else if (isRoutingOperationFieldType(fieldType2, bizType2)) {
57717
+ const body = {
57718
+ fieldKey: fieldKey2,
57719
+ modelKey: modelKey2,
57720
+ pageSize: pageSize2,
57721
+ pageNo: pageNo2,
57722
+ refModelKey: refModelKey2,
57723
+ query: {
57724
+ ...queryData2
57725
+ },
57726
+ rmIfNoDefaultVersion: rmIfNoDefaultVersion2,
57727
+ exp: exp2
57728
+ };
57729
+ res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
57730
+ {
57731
+ modelCategory: EntityModelCategoryEnum.ENTITY,
57732
+ modelKey: "em_routing_operation",
57733
+ bsKey: "biz_list_available_operations"
57734
+ },
57735
+ {},
57736
+ body
57737
+ ) || {};
57738
+ if (Array.isArray(res.data)) {
57739
+ res.data = res.data.map((item) => ({
57740
+ ...item,
57741
+ __LABEL__: item.__LABEL__ || item.name_
57742
+ }));
57743
+ }
57256
57744
  } else {
57257
57745
  res = await api.apaas.modelData.postQueryRefData({
57258
57746
  fieldKey: fieldKey2,
@@ -57311,10 +57799,11 @@ async function getLot2SnList({
57311
57799
  const queryParams = {
57312
57800
  ...props.queryData
57313
57801
  };
57314
- const keyword = queryParams["material_no_.like"];
57802
+ const keyword = queryParams["material_no_.like"] ?? queryParams["material_no_.iLike"];
57315
57803
  if (keyword) {
57316
57804
  delete queryParams["material_no_.like"];
57317
- queryParams["name_.like"] = keyword;
57805
+ delete queryParams["material_no_.iLike"];
57806
+ queryParams["name_.iLike"] = keyword;
57318
57807
  }
57319
57808
  const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
57320
57809
  apiParams,
@@ -57353,8 +57842,10 @@ async function getSterilizeLotList({
57353
57842
  {
57354
57843
  query: {
57355
57844
  production_identification_type_: "STERILIZATION",
57845
+ "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
57356
57846
  ...props.queryData
57357
57847
  },
57848
+ exp: "AND(production_identification_type_,container_role_.ne)",
57358
57849
  pageNo: props.pageNo,
57359
57850
  pageSize: props.pageSize,
57360
57851
  sorts: [{ sortField: "modify_time_", sortType: "desc" }]
@@ -57368,6 +57859,39 @@ async function getSterilizeLotList({
57368
57859
  };
57369
57860
  });
57370
57861
  }
57862
+ async function getDeviceList({
57863
+ queryData = {},
57864
+ exp = "",
57865
+ pageNo = 1,
57866
+ pageSize = 20
57867
+ } = {}) {
57868
+ const url2 = "/api/deviceSearch";
57869
+ const params = { queryData, exp, pageNo, pageSize };
57870
+ return requestUtils.handleRequest(url2, params, async (props) => {
57871
+ const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
57872
+ DEVICE_SEARCH_API,
57873
+ {},
57874
+ {
57875
+ query: props.queryData,
57876
+ exp: props.exp,
57877
+ pageNo: props.pageNo,
57878
+ pageSize: props.pageSize
57879
+ }
57880
+ );
57881
+ const { data = [], totalPage, dict, totalCount } = res || {};
57882
+ const rows = transformUtils.transformSourceData2SubTable(data || [], dict);
57883
+ return {
57884
+ options: (rows || []).map((i2) => ({
57885
+ disabled: !!i2.deleted_,
57886
+ label: i2.__LABEL__ || i2.name_,
57887
+ value: i2.id_ || i2.id,
57888
+ _item: i2
57889
+ })),
57890
+ finished: totalPage && totalPage === 1,
57891
+ totalCount
57892
+ };
57893
+ });
57894
+ }
57371
57895
  async function getMaterialLotList({ queryData = {}, pageNo = 1, pageSize = 20 } = {}) {
57372
57896
  const url2 = "/api/materialLotList";
57373
57897
  const params = { queryData, pageNo, pageSize };
@@ -57380,10 +57904,11 @@ async function getMaterialLotList({ queryData = {}, pageNo = 1, pageSize = 20 }
57380
57904
  const queryParams = {
57381
57905
  pageNo: props.pageNo,
57382
57906
  pageSize: props.pageSize,
57383
- exp: "OR(production_identification_type_.eq,production_identification_type_.isNull)",
57907
+ exp: "AND(OR(production_identification_type_.eq,production_identification_type_.isNull),container_role_.ne)",
57384
57908
  query: {
57385
57909
  "production_identification_type_.eq": "MATERIAL",
57386
57910
  "production_identification_type_.isNull": null,
57911
+ "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
57387
57912
  ...props.queryData
57388
57913
  }
57389
57914
  };
@@ -57572,6 +58097,9 @@ const renderUtils = {
57572
58097
  requestMaterialLotOptions: async (params) => {
57573
58098
  return await getMaterialLotList(params);
57574
58099
  },
58100
+ requestDeviceOptions: async (params) => {
58101
+ return await getDeviceList(params);
58102
+ },
57575
58103
  formatValue: (fieldType, value) => {
57576
58104
  if ([FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(fieldType)) {
57577
58105
  const _val_ = parseInt(value);
@@ -57616,6 +58144,7 @@ const renderUtils = {
57616
58144
  const useDefaultValueFields = {};
57617
58145
  const tdIdGroups = /* @__PURE__ */ new Map();
57618
58146
  const useAppendixFields = {};
58147
+ const useSignatureFields = {};
57619
58148
  const useSignFields = {};
57620
58149
  const useClsReasonDataLink = [];
57621
58150
  const useClsGroupDataLink = [];
@@ -57627,7 +58156,9 @@ const renderUtils = {
57627
58156
  ComponentTypeEnum.UploadFile,
57628
58157
  ComponentTypeEnum.EXPRESSION,
57629
58158
  ComponentTypeEnum.AGG,
57630
- ComponentTypeEnum.Trace
58159
+ ComponentTypeEnum.Trace,
58160
+ ComponentTypeEnum.AutoComplete,
58161
+ ComponentTypeEnum.RdoSelect
57631
58162
  ]);
57632
58163
  const reasonMap = {
57633
58164
  [FIELD_TYPE.SCRAP_GROUP]: FIELD_TYPE.SCRAP_REASON,
@@ -57724,6 +58255,21 @@ const renderUtils = {
57724
58255
  subFieldKey
57725
58256
  };
57726
58257
  }
58258
+ const shouldPushSignatureField = [
58259
+ FIELD_TYPE.SIGNATURE,
58260
+ FIELD_TYPE.REPORTER,
58261
+ FIELD_TYPE.WAREHOUSE_MANAGER
58262
+ ].includes(fieldType);
58263
+ if (shouldPushSignatureField && !useSignatureFields[key]) {
58264
+ useSignatureFields[key] = {
58265
+ fieldId,
58266
+ fieldType,
58267
+ modelKey,
58268
+ isFieldModel,
58269
+ subModelKey,
58270
+ subFieldKey
58271
+ };
58272
+ }
57727
58273
  if ([FIELD_TYPE.SIGNATURE].includes(fieldType)) {
57728
58274
  const {
57729
58275
  signatureNumber = SignatureNumberTypeEnum.SIGNATURE_MULTIPLE,
@@ -57829,6 +58375,7 @@ const renderUtils = {
57829
58375
  modelKeyList: Array.from(modelKeyMap),
57830
58376
  useDefaultValueFields: Object.values(useDefaultValueFields),
57831
58377
  useAppendixFields: Object.values(useAppendixFields),
58378
+ useSignatureFields: Object.values(useSignatureFields),
57832
58379
  useSignFields: Object.values(useSignFields),
57833
58380
  tdIdGroups,
57834
58381
  useClsReasonDataLink,
@@ -57880,13 +58427,20 @@ const renderUtils = {
57880
58427
  const groupDataLink = useClsGroupDataLink.includes(`${key}.${fieldType}`);
57881
58428
  const fieldInfo = modelMap?.[key]?.list?.find((item) => item.key === fieldId);
57882
58429
  field.belongingObject = fieldInfo?.belongingObject;
58430
+ const objectFields = modelMap?.[key]?.list ?? [];
58431
+ const owner = objectFields.find((item) => item.key === fieldInfo?.belongingObject);
58432
+ field.dateObject = owner && isDateObjectField(owner) ? {
58433
+ modelKey: key,
58434
+ objectField: owner.key,
58435
+ subFields: objectFields.filter((item) => item.belongingObject === owner.key)
58436
+ } : void 0;
57883
58437
  field.newSpecificConfig = {};
57884
58438
  field.newSpecificConfig.newRequired = Boolean(fieldInfo?.required) || field.required;
57885
58439
  field.newSpecificConfig.newFieldName = fieldInfo?.name;
57886
58440
  field.newSpecificConfig.newModelName = modelMap?.[key]?.name;
57887
58441
  field.newSpecificConfig.mappingType = fieldInfo?.mappingType;
57888
58442
  const defaultQuery = {};
57889
- if (field.field === "warehouse_id_" || field.field === "location_id_" || field.field === "storage_zone_id_" || field.bizType === FIELD_TYPE.LOCATION || field.bizType === FIELD_TYPE.WAREHOUSE || field.bizType === FIELD_TYPE.SHOPFLOOR) {
58443
+ if (field.field === "warehouse_id_" || field.field === "location_id_" || field.field === "storage_zone_id_" || field.field === "origin_warehouse_id_" || field.field === "origin_location_id_" || field.bizType === FIELD_TYPE.LOCATION || field.bizType === FIELD_TYPE.WAREHOUSE || field.bizType === FIELD_TYPE.SHOPFLOOR) {
57890
58444
  defaultQuery.operating_state_ = true;
57891
58445
  }
57892
58446
  const setOptions = async () => {
@@ -57936,30 +58490,43 @@ const renderUtils = {
57936
58490
  modelKey,
57937
58491
  fieldKey: fieldId,
57938
58492
  refModelKey: field.refModelKey,
58493
+ fieldType,
58494
+ bizType,
57939
58495
  isRdo: false,
57940
58496
  queryData: {
57941
58497
  ref_master_id_: paramsConfig?.routingId,
57942
58498
  type_: "NODE_SPEC"
58499
+ // JSW: 据健哥说 工序始终不传 operating_state_
58500
+ // 正式填报只查启用工序;模拟填报模板数据常未启用,不传以免下拉为空
58501
+ // ...(isMockReport ? {} : { operating_state_: true }),
57943
58502
  }
57944
58503
  });
57945
- case FIELD_TYPE.DEVICE:
58504
+ case FIELD_TYPE.DEVICE: {
58505
+ const deviceGroupId = field.enableCascadeDataFilter ? String(field.deviceGroupId ?? "").trim() : "";
58506
+ const { queryData, exp } = buildDeviceFilterQuery({
58507
+ ...deviceGroupId ? { [DEVICE_GROUP_QUERY_KEY]: deviceGroupId } : {}
58508
+ });
58509
+ return await getDeviceList({
58510
+ queryData,
58511
+ exp
58512
+ });
58513
+ }
57946
58514
  case FIELD_TYPE.MFG_ORDER:
57947
58515
  case FIELD_TYPE.NOT_GOOD_REASON:
57948
58516
  case FIELD_TYPE.NOT_GOOD_GROUP:
57949
58517
  case FIELD_TYPE.SCRAP_REASON:
57950
58518
  case FIELD_TYPE.SCRAP_GROUP:
57951
58519
  case FIELD_TYPE.DEVICE_REF:
57952
- case FIELD_TYPE.DEVICE_REF_MULTI:
58520
+ case FIELD_TYPE.DEVICE_REF_MULTI: {
57953
58521
  return await getRefList({
57954
58522
  modelKey,
57955
58523
  fieldKey: fieldId,
57956
58524
  refModelKey: field.refModelKey,
57957
58525
  isRdo: false,
57958
58526
  needDataLink,
57959
- queryData: {
57960
- operating_state_: window.NocodeAdapter.stores?.appInfo?.value.suiteKey === "eDHR" && fieldType !== FIELD_TYPE.MFG_ORDER ? true : void 0
57961
- }
58527
+ queryData: {}
57962
58528
  });
58529
+ }
57963
58530
  case FIELD_TYPE.PRODUCT:
57964
58531
  case FIELD_TYPE.SCRAP_MATERIAL:
57965
58532
  return await getRefList({
@@ -57970,7 +58537,6 @@ const renderUtils = {
57970
58537
  // 不加带query的时候非默认子版本会被删除
57971
58538
  isRdo: true,
57972
58539
  queryData: {
57973
- operating_state_: true,
57974
58540
  ...newQueryData
57975
58541
  },
57976
58542
  pageSize: 20
@@ -57985,19 +58551,15 @@ const renderUtils = {
57985
58551
  }
57986
58552
  return await getLot2SnList({
57987
58553
  pageSize: 20,
57988
- isMaterialConsumeField: field.isMaterialConsumeField
58554
+ isMaterialConsumeField: field.isMaterialConsumeField,
58555
+ ...buildLotSnListQuery()
57989
58556
  });
57990
58557
  case FIELD_TYPE.REF:
57991
58558
  case FIELD_TYPE.REF_MULTI:
57992
58559
  if (bizType === FIELD_TYPE.PRODUCTION_CONTAINER || fieldId === "production_container_id_") {
57993
58560
  const lotRes = await getLot2SnList({
57994
58561
  pageSize: 20,
57995
- queryData: {
57996
- "production_identification_type_.in": ["LOT", "SN"],
57997
- is_rework_: 0,
57998
- "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
57999
- ...newQueryData
58000
- }
58562
+ ...buildProductionLotListQuery("", newQueryData)
58001
58563
  });
58002
58564
  return {
58003
58565
  options: (lotRes?.options ?? []).map((item) => ({
@@ -58011,7 +58573,6 @@ const renderUtils = {
58011
58573
  };
58012
58574
  }
58013
58575
  const isRdo = [FIELD_TYPE.E_SOP].includes(bizType);
58014
- const isBizType = [FIELD_TYPE.E_SOP].includes(bizType);
58015
58576
  const queryCondition = refUtils.generateQueryConditions(field.dataFilter, paramsConfig);
58016
58577
  return await getRefList({
58017
58578
  modelKey,
@@ -58020,10 +58581,7 @@ const renderUtils = {
58020
58581
  queryData: {
58021
58582
  ...queryCondition.dataFilterFixedQueryData,
58022
58583
  ...defaultQuery,
58023
- ...newQueryData,
58024
- ...isBizType ? {
58025
- operating_state_: true
58026
- } : {}
58584
+ ...newQueryData
58027
58585
  },
58028
58586
  // 库区 / 库位需数据联动,初始化不要加载
58029
58587
  needDataLink: field.field === "location_id_" || field.field === "storage_zone_id_",
@@ -59754,6 +60312,1026 @@ const calcUtils = {
59754
60312
  return pageData;
59755
60313
  }
59756
60314
  };
60315
+ const manifest$1b = {
60316
+ type: FIELD_TYPE.MATERIAL_CONTAINER,
60317
+ design: "fw:auto-complete",
60318
+ render: "rd:auto-complete",
60319
+ defaultProps: {
60320
+ placeholder: "请输入或选择"
60321
+ }
60322
+ };
60323
+ const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60324
+ __proto__: null,
60325
+ manifest: manifest$1b
60326
+ }, Symbol.toStringTag, { value: "Module" }));
60327
+ const manifest$1a = {
60328
+ type: FIELD_TYPE.MATERIAL_NO,
60329
+ design: "fw:auto-complete",
60330
+ render: "rd:auto-complete",
60331
+ defaultProps: {
60332
+ placeholder: "请输入或选择"
60333
+ }
60334
+ };
60335
+ const __vite_glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60336
+ __proto__: null,
60337
+ manifest: manifest$1a
60338
+ }, Symbol.toStringTag, { value: "Module" }));
60339
+ const manifest$19 = {
60340
+ type: FIELD_TYPE.RELATED_LOT_NO,
60341
+ design: "fw:auto-complete",
60342
+ render: "rd:auto-complete",
60343
+ defaultProps: {
60344
+ placeholder: "请输入或选择"
60345
+ }
60346
+ };
60347
+ const __vite_glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60348
+ __proto__: null,
60349
+ manifest: manifest$19
60350
+ }, Symbol.toStringTag, { value: "Module" }));
60351
+ const manifest$18 = {
60352
+ type: FIELD_TYPE.SCRAP_MATERIAL_NO,
60353
+ design: "fw:auto-complete",
60354
+ render: "rd:auto-complete",
60355
+ defaultProps: {
60356
+ placeholder: "请输入或选择"
60357
+ }
60358
+ };
60359
+ const __vite_glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60360
+ __proto__: null,
60361
+ manifest: manifest$18
60362
+ }, Symbol.toStringTag, { value: "Module" }));
60363
+ const manifest$17 = {
60364
+ type: FIELD_TYPE.STERILIZATION_CONTAINER,
60365
+ design: "fw:auto-complete",
60366
+ render: "rd:auto-complete",
60367
+ defaultProps: {
60368
+ placeholder: "请输入或选择"
60369
+ }
60370
+ };
60371
+ const __vite_glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60372
+ __proto__: null,
60373
+ manifest: manifest$17
60374
+ }, Symbol.toStringTag, { value: "Module" }));
60375
+ const manifest$16 = {
60376
+ type: FIELD_TYPE.DATE,
60377
+ design: "fw:date",
60378
+ render: "rd:date",
60379
+ defaultProps: {
60380
+ placeholder: "请选择"
60381
+ }
60382
+ };
60383
+ const __vite_glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60384
+ __proto__: null,
60385
+ manifest: manifest$16
60386
+ }, Symbol.toStringTag, { value: "Module" }));
60387
+ const manifest$15 = {
60388
+ type: FIELD_TYPE.DATE_TIME,
60389
+ design: "fw:date-time",
60390
+ render: "rd:date-time",
60391
+ defaultProps: {
60392
+ placeholder: "请选择"
60393
+ }
60394
+ };
60395
+ const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60396
+ __proto__: null,
60397
+ manifest: manifest$15
60398
+ }, Symbol.toStringTag, { value: "Module" }));
60399
+ const manifest$14 = {
60400
+ type: FIELD_TYPE.PRODUCTION_DATE,
60401
+ design: "fw:date",
60402
+ render: "rd:date",
60403
+ defaultProps: {
60404
+ placeholder: "请选择"
60405
+ }
60406
+ };
60407
+ const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60408
+ __proto__: null,
60409
+ manifest: manifest$14
60410
+ }, Symbol.toStringTag, { value: "Module" }));
60411
+ const manifest$13 = {
60412
+ type: FIELD_TYPE.RE_INSPECTION_DATE,
60413
+ design: "fw:date",
60414
+ render: "rd:date",
60415
+ defaultProps: {
60416
+ placeholder: "请选择"
60417
+ }
60418
+ };
60419
+ const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60420
+ __proto__: null,
60421
+ manifest: manifest$13
60422
+ }, Symbol.toStringTag, { value: "Module" }));
60423
+ const manifest$12 = {
60424
+ type: FIELD_TYPE.REPORT_END_TIME,
60425
+ design: "fw:date-time",
60426
+ render: "rd:date-time",
60427
+ defaultProps: {
60428
+ placeholder: "请选择"
60429
+ }
60430
+ };
60431
+ const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60432
+ __proto__: null,
60433
+ manifest: manifest$12
60434
+ }, Symbol.toStringTag, { value: "Module" }));
60435
+ const manifest$11 = {
60436
+ type: FIELD_TYPE.REPORT_START_TIME,
60437
+ design: "fw:date-time",
60438
+ render: "rd:date-time",
60439
+ defaultProps: {
60440
+ placeholder: "请选择"
60441
+ }
60442
+ };
60443
+ const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60444
+ __proto__: null,
60445
+ manifest: manifest$11
60446
+ }, Symbol.toStringTag, { value: "Module" }));
60447
+ const manifest$10 = {
60448
+ type: FIELD_TYPE.TIME,
60449
+ design: "fw:time",
60450
+ render: "rd:time",
60451
+ defaultProps: {
60452
+ placeholder: "请选择"
60453
+ }
60454
+ };
60455
+ const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60456
+ __proto__: null,
60457
+ manifest: manifest$10
60458
+ }, Symbol.toStringTag, { value: "Module" }));
60459
+ const manifest$$ = {
60460
+ type: FIELD_TYPE.TRACE_DATE,
60461
+ design: "fw:date",
60462
+ render: "rd:date",
60463
+ defaultProps: {
60464
+ placeholder: "请选择"
60465
+ }
60466
+ };
60467
+ const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60468
+ __proto__: null,
60469
+ manifest: manifest$$
60470
+ }, Symbol.toStringTag, { value: "Module" }));
60471
+ const manifest$_ = {
60472
+ type: FIELD_TYPE.VALIDITY,
60473
+ design: "fw:date",
60474
+ render: "rd:date",
60475
+ defaultProps: {
60476
+ placeholder: "请选择"
60477
+ }
60478
+ };
60479
+ const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60480
+ __proto__: null,
60481
+ manifest: manifest$_
60482
+ }, Symbol.toStringTag, { value: "Module" }));
60483
+ const manifest$Z = {
60484
+ type: FIELD_TYPE.WAREHOUSE_RECEIPT_DATE,
60485
+ design: "fw:date",
60486
+ render: "rd:date",
60487
+ defaultProps: {
60488
+ placeholder: "请选择"
60489
+ }
60490
+ };
60491
+ const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60492
+ __proto__: null,
60493
+ manifest: manifest$Z
60494
+ }, Symbol.toStringTag, { value: "Module" }));
60495
+ const manifest$Y = {
60496
+ type: FIELD_TYPE.DECIMAL,
60497
+ design: "fw:number",
60498
+ render: "rd:number",
60499
+ defaultProps: {
60500
+ placeholder: "请输入"
60501
+ }
60502
+ };
60503
+ const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60504
+ __proto__: null,
60505
+ manifest: manifest$Y
60506
+ }, Symbol.toStringTag, { value: "Module" }));
60507
+ const manifest$X = {
60508
+ type: FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
60509
+ design: "fw:number",
60510
+ render: "rd:double",
60511
+ defaultProps: {
60512
+ placeholder: "请输入"
60513
+ }
60514
+ };
60515
+ const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60516
+ __proto__: null,
60517
+ manifest: manifest$X
60518
+ }, Symbol.toStringTag, { value: "Module" }));
60519
+ const manifest$W = {
60520
+ type: FIELD_TYPE.DOUBLE,
60521
+ design: "fw:number",
60522
+ render: "rd:double",
60523
+ defaultProps: {
60524
+ placeholder: "请输入"
60525
+ }
60526
+ };
60527
+ const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60528
+ __proto__: null,
60529
+ manifest: manifest$W
60530
+ }, Symbol.toStringTag, { value: "Module" }));
60531
+ const manifest$V = {
60532
+ type: FIELD_TYPE.GOOD_QTY,
60533
+ design: "fw:number",
60534
+ render: "rd:double",
60535
+ defaultProps: {
60536
+ placeholder: "请输入"
60537
+ }
60538
+ };
60539
+ const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60540
+ __proto__: null,
60541
+ manifest: manifest$V
60542
+ }, Symbol.toStringTag, { value: "Module" }));
60543
+ const manifest$U = {
60544
+ type: FIELD_TYPE.INSPECTION_QTY,
60545
+ design: "fw:number",
60546
+ render: "rd:double",
60547
+ defaultProps: {
60548
+ placeholder: "请输入"
60549
+ }
60550
+ };
60551
+ const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60552
+ __proto__: null,
60553
+ manifest: manifest$U
60554
+ }, Symbol.toStringTag, { value: "Module" }));
60555
+ const manifest$T = {
60556
+ type: FIELD_TYPE.INTEGER,
60557
+ design: "fw:number",
60558
+ render: "rd:number",
60559
+ defaultProps: {
60560
+ placeholder: "请输入"
60561
+ }
60562
+ };
60563
+ const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60564
+ __proto__: null,
60565
+ manifest: manifest$T
60566
+ }, Symbol.toStringTag, { value: "Module" }));
60567
+ const manifest$S = {
60568
+ type: FIELD_TYPE.LONG,
60569
+ design: "fw:number",
60570
+ render: "rd:number",
60571
+ defaultProps: {
60572
+ placeholder: "请输入"
60573
+ }
60574
+ };
60575
+ const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60576
+ __proto__: null,
60577
+ manifest: manifest$S
60578
+ }, Symbol.toStringTag, { value: "Module" }));
60579
+ const manifest$R = {
60580
+ type: FIELD_TYPE.MATERIAL_CHECK_QTY,
60581
+ design: "fw:number",
60582
+ render: "rd:double",
60583
+ defaultProps: {
60584
+ placeholder: "请输入"
60585
+ }
60586
+ };
60587
+ const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60588
+ __proto__: null,
60589
+ manifest: manifest$R
60590
+ }, Symbol.toStringTag, { value: "Module" }));
60591
+ const manifest$Q = {
60592
+ type: FIELD_TYPE.NOT_GOOD_QTY,
60593
+ design: "fw:number",
60594
+ render: "rd:double",
60595
+ defaultProps: {
60596
+ placeholder: "请输入"
60597
+ }
60598
+ };
60599
+ const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60600
+ __proto__: null,
60601
+ manifest: manifest$Q
60602
+ }, Symbol.toStringTag, { value: "Module" }));
60603
+ const manifest$P = {
60604
+ type: FIELD_TYPE.OF_INST_NUM,
60605
+ design: "fw:number",
60606
+ render: "rd:number",
60607
+ defaultProps: {
60608
+ placeholder: "请输入"
60609
+ }
60610
+ };
60611
+ const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60612
+ __proto__: null,
60613
+ manifest: manifest$P
60614
+ }, Symbol.toStringTag, { value: "Module" }));
60615
+ const manifest$O = {
60616
+ type: FIELD_TYPE.OPERATION_OUTPUT_QTY,
60617
+ design: "fw:number",
60618
+ render: "rd:double",
60619
+ defaultProps: {
60620
+ placeholder: "请输入"
60621
+ }
60622
+ };
60623
+ const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60624
+ __proto__: null,
60625
+ manifest: manifest$O
60626
+ }, Symbol.toStringTag, { value: "Module" }));
60627
+ const manifest$N = {
60628
+ type: FIELD_TYPE.OPERATION_RECEIVE_QTY,
60629
+ design: "fw:number",
60630
+ render: "rd:double",
60631
+ defaultProps: {
60632
+ placeholder: "请输入",
60633
+ required: false,
60634
+ disabled: true,
60635
+ fieldDisabled: true
60636
+ }
60637
+ };
60638
+ const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60639
+ __proto__: null,
60640
+ manifest: manifest$N
60641
+ }, Symbol.toStringTag, { value: "Module" }));
60642
+ const manifest$M = {
60643
+ type: FIELD_TYPE.PRODUCT_CHECK_QTY,
60644
+ design: "fw:number",
60645
+ render: "rd:double",
60646
+ defaultProps: {
60647
+ placeholder: "请输入"
60648
+ }
60649
+ };
60650
+ const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60651
+ __proto__: null,
60652
+ manifest: manifest$M
60653
+ }, Symbol.toStringTag, { value: "Module" }));
60654
+ const manifest$L = {
60655
+ type: FIELD_TYPE.PRODUCTION_QTY,
60656
+ design: "fw:number",
60657
+ render: "rd:double",
60658
+ defaultProps: {
60659
+ placeholder: "请输入"
60660
+ }
60661
+ };
60662
+ const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60663
+ __proto__: null,
60664
+ manifest: manifest$L
60665
+ }, Symbol.toStringTag, { value: "Module" }));
60666
+ const manifest$K = {
60667
+ type: FIELD_TYPE.QTY_CONSUMED,
60668
+ design: "fw:number",
60669
+ render: "rd:double",
60670
+ defaultProps: {
60671
+ placeholder: "请输入"
60672
+ }
60673
+ };
60674
+ const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60675
+ __proto__: null,
60676
+ manifest: manifest$K
60677
+ }, Symbol.toStringTag, { value: "Module" }));
60678
+ const manifest$J = {
60679
+ type: FIELD_TYPE.QTY,
60680
+ design: "fw:number",
60681
+ render: "rd:double",
60682
+ defaultProps: {
60683
+ placeholder: "请输入"
60684
+ }
60685
+ };
60686
+ const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60687
+ __proto__: null,
60688
+ manifest: manifest$J
60689
+ }, Symbol.toStringTag, { value: "Module" }));
60690
+ const manifest$I = {
60691
+ type: FIELD_TYPE.QTY_REQUIRED,
60692
+ design: "fw:number",
60693
+ render: "rd:double",
60694
+ defaultProps: {
60695
+ placeholder: "请输入"
60696
+ }
60697
+ };
60698
+ const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60699
+ __proto__: null,
60700
+ manifest: manifest$I
60701
+ }, Symbol.toStringTag, { value: "Module" }));
60702
+ const manifest$H = {
60703
+ type: FIELD_TYPE.SCRAP_QTY,
60704
+ design: "fw:number",
60705
+ render: "rd:double",
60706
+ defaultProps: {
60707
+ placeholder: "请输入"
60708
+ }
60709
+ };
60710
+ const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60711
+ __proto__: null,
60712
+ manifest: manifest$H
60713
+ }, Symbol.toStringTag, { value: "Module" }));
60714
+ const manifest$G = {
60715
+ type: FIELD_TYPE.WORK_HOURS,
60716
+ design: "fw:number",
60717
+ render: "rd:number",
60718
+ defaultProps: {
60719
+ placeholder: "请输入"
60720
+ }
60721
+ };
60722
+ const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60723
+ __proto__: null,
60724
+ manifest: manifest$G
60725
+ }, Symbol.toStringTag, { value: "Module" }));
60726
+ const manifest$F = {
60727
+ type: FIELD_TYPE.BOOLEAN,
60728
+ design: "fw:boolean",
60729
+ render: "rd:boolean",
60730
+ defaultProps: {
60731
+ placeholder: "请选择"
60732
+ }
60733
+ };
60734
+ const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60735
+ __proto__: null,
60736
+ manifest: manifest$F
60737
+ }, Symbol.toStringTag, { value: "Module" }));
60738
+ const manifest$E = {
60739
+ type: FIELD_TYPE.ENUM,
60740
+ design: "fw:enum",
60741
+ render: "rd:enum",
60742
+ defaultProps: {
60743
+ placeholder: "请选择"
60744
+ }
60745
+ };
60746
+ const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60747
+ __proto__: null,
60748
+ manifest: manifest$E
60749
+ }, Symbol.toStringTag, { value: "Module" }));
60750
+ const manifest$D = {
60751
+ type: FIELD_TYPE.ENUM_MULTI,
60752
+ design: "fw:enum",
60753
+ render: "rd:enum",
60754
+ defaultProps: {
60755
+ placeholder: "请选择"
60756
+ }
60757
+ };
60758
+ const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60759
+ __proto__: null,
60760
+ manifest: manifest$D
60761
+ }, Symbol.toStringTag, { value: "Module" }));
60762
+ const manifest$C = {
60763
+ type: FIELD_TYPE.OPTION,
60764
+ design: "fw:enum",
60765
+ render: "rd:enum",
60766
+ defaultProps: {
60767
+ placeholder: "请选择"
60768
+ }
60769
+ };
60770
+ const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60771
+ __proto__: null,
60772
+ manifest: manifest$C
60773
+ }, Symbol.toStringTag, { value: "Module" }));
60774
+ const manifest$B = {
60775
+ type: FIELD_TYPE.OPTION_MULTI,
60776
+ design: "fw:enum",
60777
+ render: "rd:enum",
60778
+ defaultProps: {
60779
+ placeholder: "请选择"
60780
+ }
60781
+ };
60782
+ const __vite_glob_0_38 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60783
+ __proto__: null,
60784
+ manifest: manifest$B
60785
+ }, Symbol.toStringTag, { value: "Module" }));
60786
+ const manifest$A = {
60787
+ type: FIELD_TYPE.E_SOP,
60788
+ design: "fw:rdo-select",
60789
+ render: "rd:rdo-select",
60790
+ defaultProps: {
60791
+ placeholder: "请选择"
60792
+ }
60793
+ };
60794
+ const __vite_glob_0_39 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60795
+ __proto__: null,
60796
+ manifest: manifest$A
60797
+ }, Symbol.toStringTag, { value: "Module" }));
60798
+ const manifest$z = {
60799
+ type: FIELD_TYPE.PRODUCT,
60800
+ design: "fw:rdo-select",
60801
+ render: "rd:rdo-select",
60802
+ defaultProps: {
60803
+ placeholder: "请选择"
60804
+ }
60805
+ };
60806
+ const __vite_glob_0_40 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60807
+ __proto__: null,
60808
+ manifest: manifest$z
60809
+ }, Symbol.toStringTag, { value: "Module" }));
60810
+ const manifest$y = {
60811
+ type: FIELD_TYPE.SCRAP_MATERIAL,
60812
+ design: "fw:rdo-select",
60813
+ render: "rd:rdo-select",
60814
+ defaultProps: {
60815
+ placeholder: "请选择"
60816
+ }
60817
+ };
60818
+ const __vite_glob_0_41 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60819
+ __proto__: null,
60820
+ manifest: manifest$y
60821
+ }, Symbol.toStringTag, { value: "Module" }));
60822
+ const manifest$x = {
60823
+ type: FIELD_TYPE.DEVICE,
60824
+ design: "fw:select",
60825
+ render: "rd:select",
60826
+ defaultProps: {
60827
+ placeholder: "请选择"
60828
+ }
60829
+ };
60830
+ const __vite_glob_0_42 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60831
+ __proto__: null,
60832
+ manifest: manifest$x
60833
+ }, Symbol.toStringTag, { value: "Module" }));
60834
+ const manifest$w = {
60835
+ type: FIELD_TYPE.DEVICE_REF,
60836
+ design: "fw:select",
60837
+ render: "rd:select",
60838
+ defaultProps: {
60839
+ placeholder: "请选择"
60840
+ }
60841
+ };
60842
+ const __vite_glob_0_43 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60843
+ __proto__: null,
60844
+ manifest: manifest$w
60845
+ }, Symbol.toStringTag, { value: "Module" }));
60846
+ const manifest$v = {
60847
+ type: FIELD_TYPE.DEVICE_REF_MULTI,
60848
+ design: "fw:select",
60849
+ render: "rd:select",
60850
+ defaultProps: {
60851
+ placeholder: "请选择"
60852
+ }
60853
+ };
60854
+ const __vite_glob_0_44 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60855
+ __proto__: null,
60856
+ manifest: manifest$v
60857
+ }, Symbol.toStringTag, { value: "Module" }));
60858
+ const manifest$u = {
60859
+ type: FIELD_TYPE.LOCATION,
60860
+ design: "fw:select",
60861
+ render: "rd:select",
60862
+ defaultProps: {
60863
+ placeholder: "请选择"
60864
+ }
60865
+ };
60866
+ const __vite_glob_0_45 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60867
+ __proto__: null,
60868
+ manifest: manifest$u
60869
+ }, Symbol.toStringTag, { value: "Module" }));
60870
+ const manifest$t = {
60871
+ type: FIELD_TYPE.MFG_ORDER,
60872
+ design: "fw:select",
60873
+ render: "rd:select",
60874
+ defaultProps: {
60875
+ placeholder: "请选择"
60876
+ }
60877
+ };
60878
+ const __vite_glob_0_46 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60879
+ __proto__: null,
60880
+ manifest: manifest$t
60881
+ }, Symbol.toStringTag, { value: "Module" }));
60882
+ const manifest$s = {
60883
+ type: FIELD_TYPE.MODEL_RELATION,
60884
+ design: "fw:select",
60885
+ render: "rd:select",
60886
+ defaultProps: {
60887
+ placeholder: "请选择"
60888
+ }
60889
+ };
60890
+ const __vite_glob_0_47 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60891
+ __proto__: null,
60892
+ manifest: manifest$s
60893
+ }, Symbol.toStringTag, { value: "Module" }));
60894
+ const manifest$r = {
60895
+ type: FIELD_TYPE.NOT_GOOD_GROUP,
60896
+ design: "fw:select",
60897
+ render: "rd:select",
60898
+ defaultProps: {
60899
+ placeholder: "请选择"
60900
+ }
60901
+ };
60902
+ const __vite_glob_0_48 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60903
+ __proto__: null,
60904
+ manifest: manifest$r
60905
+ }, Symbol.toStringTag, { value: "Module" }));
60906
+ const manifest$q = {
60907
+ type: FIELD_TYPE.NOT_GOOD_REASON,
60908
+ design: "fw:select",
60909
+ render: "rd:select",
60910
+ defaultProps: {
60911
+ placeholder: "请选择"
60912
+ }
60913
+ };
60914
+ const __vite_glob_0_49 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60915
+ __proto__: null,
60916
+ manifest: manifest$q
60917
+ }, Symbol.toStringTag, { value: "Module" }));
60918
+ const manifest$p = {
60919
+ type: FIELD_TYPE.OPERATION,
60920
+ design: "fw:select",
60921
+ render: "rd:select",
60922
+ defaultProps: {
60923
+ placeholder: "请选择"
60924
+ }
60925
+ };
60926
+ const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60927
+ __proto__: null,
60928
+ manifest: manifest$p
60929
+ }, Symbol.toStringTag, { value: "Module" }));
60930
+ const manifest$o = {
60931
+ type: FIELD_TYPE.ORG,
60932
+ design: "fw:tree-select",
60933
+ render: "rd:tree-select",
60934
+ defaultProps: {
60935
+ placeholder: "请选择"
60936
+ }
60937
+ };
60938
+ const __vite_glob_0_51 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60939
+ __proto__: null,
60940
+ manifest: manifest$o
60941
+ }, Symbol.toStringTag, { value: "Module" }));
60942
+ const manifest$n = {
60943
+ type: FIELD_TYPE.ORG_MULTI,
60944
+ design: "fw:tree-select",
60945
+ render: "rd:tree-select",
60946
+ defaultProps: {
60947
+ placeholder: "请选择"
60948
+ }
60949
+ };
60950
+ const __vite_glob_0_52 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60951
+ __proto__: null,
60952
+ manifest: manifest$n
60953
+ }, Symbol.toStringTag, { value: "Module" }));
60954
+ const manifest$m = {
60955
+ type: FIELD_TYPE.PRODUCTION_CONTAINER,
60956
+ design: "fw:select",
60957
+ render: "rd:select",
60958
+ defaultProps: {
60959
+ placeholder: "请选择"
60960
+ }
60961
+ };
60962
+ const __vite_glob_0_53 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60963
+ __proto__: null,
60964
+ manifest: manifest$m
60965
+ }, Symbol.toStringTag, { value: "Module" }));
60966
+ const manifest$l = {
60967
+ type: FIELD_TYPE.REF,
60968
+ design: "fw:select",
60969
+ render: "rd:select",
60970
+ defaultProps: {
60971
+ placeholder: "请选择"
60972
+ }
60973
+ };
60974
+ const __vite_glob_0_54 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60975
+ __proto__: null,
60976
+ manifest: manifest$l
60977
+ }, Symbol.toStringTag, { value: "Module" }));
60978
+ const manifest$k = {
60979
+ type: FIELD_TYPE.REF_MULTI,
60980
+ design: "fw:select",
60981
+ render: "rd:select",
60982
+ defaultProps: {
60983
+ placeholder: "请选择"
60984
+ }
60985
+ };
60986
+ const __vite_glob_0_55 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60987
+ __proto__: null,
60988
+ manifest: manifest$k
60989
+ }, Symbol.toStringTag, { value: "Module" }));
60990
+ const manifest$j = {
60991
+ type: FIELD_TYPE.ROUTING_OPERATION,
60992
+ design: "fw:select",
60993
+ render: "rd:select",
60994
+ defaultProps: {
60995
+ placeholder: "请选择"
60996
+ }
60997
+ };
60998
+ const __vite_glob_0_56 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
60999
+ __proto__: null,
61000
+ manifest: manifest$j
61001
+ }, Symbol.toStringTag, { value: "Module" }));
61002
+ const manifest$i = {
61003
+ type: FIELD_TYPE.SCRAP_GROUP,
61004
+ design: "fw:select",
61005
+ render: "rd:select",
61006
+ defaultProps: {
61007
+ placeholder: "请选择"
61008
+ }
61009
+ };
61010
+ const __vite_glob_0_57 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61011
+ __proto__: null,
61012
+ manifest: manifest$i
61013
+ }, Symbol.toStringTag, { value: "Module" }));
61014
+ const manifest$h = {
61015
+ type: FIELD_TYPE.SCRAP_REASON,
61016
+ design: "fw:select",
61017
+ render: "rd:select",
61018
+ defaultProps: {
61019
+ placeholder: "请选择"
61020
+ }
61021
+ };
61022
+ const __vite_glob_0_58 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61023
+ __proto__: null,
61024
+ manifest: manifest$h
61025
+ }, Symbol.toStringTag, { value: "Module" }));
61026
+ const manifest$g = {
61027
+ type: FIELD_TYPE.SHOPFLOOR,
61028
+ design: "fw:select",
61029
+ render: "rd:select",
61030
+ defaultProps: {
61031
+ placeholder: "请选择"
61032
+ }
61033
+ };
61034
+ const __vite_glob_0_59 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61035
+ __proto__: null,
61036
+ manifest: manifest$g
61037
+ }, Symbol.toStringTag, { value: "Module" }));
61038
+ const manifest$f = {
61039
+ type: FIELD_TYPE.TARGET_WAREHOUSE,
61040
+ design: "fw:select",
61041
+ render: "rd:select",
61042
+ defaultProps: {
61043
+ placeholder: "请选择"
61044
+ }
61045
+ };
61046
+ const __vite_glob_0_60 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61047
+ __proto__: null,
61048
+ manifest: manifest$f
61049
+ }, Symbol.toStringTag, { value: "Module" }));
61050
+ const manifest$e = {
61051
+ type: FIELD_TYPE.USER,
61052
+ design: "fw:select",
61053
+ render: "rd:user",
61054
+ defaultProps: {
61055
+ placeholder: "请选择"
61056
+ }
61057
+ };
61058
+ const __vite_glob_0_61 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61059
+ __proto__: null,
61060
+ manifest: manifest$e
61061
+ }, Symbol.toStringTag, { value: "Module" }));
61062
+ const manifest$d = {
61063
+ type: FIELD_TYPE.USER_MULTI,
61064
+ design: "fw:select",
61065
+ render: "rd:user",
61066
+ defaultProps: {
61067
+ placeholder: "请选择"
61068
+ }
61069
+ };
61070
+ const __vite_glob_0_62 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61071
+ __proto__: null,
61072
+ manifest: manifest$d
61073
+ }, Symbol.toStringTag, { value: "Module" }));
61074
+ const manifest$c = {
61075
+ type: FIELD_TYPE.WAREHOUSE,
61076
+ design: "fw:select",
61077
+ render: "rd:select",
61078
+ defaultProps: {
61079
+ placeholder: "请选择"
61080
+ }
61081
+ };
61082
+ const __vite_glob_0_63 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61083
+ __proto__: null,
61084
+ manifest: manifest$c
61085
+ }, Symbol.toStringTag, { value: "Module" }));
61086
+ const manifest$b = {
61087
+ type: FIELD_TYPE.E_SOP_VERSION,
61088
+ design: "fw:input",
61089
+ render: "rd:input",
61090
+ defaultProps: {
61091
+ placeholder: "请输入"
61092
+ }
61093
+ };
61094
+ const __vite_glob_0_64 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61095
+ __proto__: null,
61096
+ manifest: manifest$b
61097
+ }, Symbol.toStringTag, { value: "Module" }));
61098
+ const manifest$a = {
61099
+ type: FIELD_TYPE.EXTERNAL_REF_NO,
61100
+ design: "fw:input",
61101
+ render: "rd:input",
61102
+ defaultProps: {
61103
+ placeholder: "请输入"
61104
+ }
61105
+ };
61106
+ const __vite_glob_0_65 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61107
+ __proto__: null,
61108
+ manifest: manifest$a
61109
+ }, Symbol.toStringTag, { value: "Module" }));
61110
+ const manifest$9 = {
61111
+ type: FIELD_TYPE.LONG_TEXT,
61112
+ design: "fw:input",
61113
+ render: "rd:textarea",
61114
+ defaultProps: {
61115
+ placeholder: "请输入"
61116
+ }
61117
+ };
61118
+ const __vite_glob_0_66 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61119
+ __proto__: null,
61120
+ manifest: manifest$9
61121
+ }, Symbol.toStringTag, { value: "Module" }));
61122
+ const manifest$8 = {
61123
+ type: FIELD_TYPE.ORDER_NO,
61124
+ design: "fw:input",
61125
+ render: "rd:input",
61126
+ defaultProps: {
61127
+ placeholder: "请输入"
61128
+ }
61129
+ };
61130
+ const __vite_glob_0_67 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61131
+ __proto__: null,
61132
+ manifest: manifest$8
61133
+ }, Symbol.toStringTag, { value: "Module" }));
61134
+ const manifest$7 = {
61135
+ type: FIELD_TYPE.RECORD_NO,
61136
+ design: "fw:input",
61137
+ render: "rd:input",
61138
+ defaultProps: {
61139
+ placeholder: "请输入"
61140
+ }
61141
+ };
61142
+ const __vite_glob_0_68 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61143
+ __proto__: null,
61144
+ manifest: manifest$7
61145
+ }, Symbol.toStringTag, { value: "Module" }));
61146
+ const manifest$6 = {
61147
+ type: FIELD_TYPE.TEXT,
61148
+ design: "fw:input",
61149
+ render: "rd:input",
61150
+ defaultProps: {
61151
+ placeholder: "请输入"
61152
+ }
61153
+ };
61154
+ const __vite_glob_0_69 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61155
+ __proto__: null,
61156
+ manifest: manifest$6
61157
+ }, Symbol.toStringTag, { value: "Module" }));
61158
+ const manifest$5 = {
61159
+ type: FIELD_TYPE.WAREHOUSE_RECEIPT_NO,
61160
+ design: "fw:input",
61161
+ render: "rd:input",
61162
+ defaultProps: {
61163
+ placeholder: "请输入"
61164
+ }
61165
+ };
61166
+ const __vite_glob_0_70 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61167
+ __proto__: null,
61168
+ manifest: manifest$5
61169
+ }, Symbol.toStringTag, { value: "Module" }));
61170
+ const manifest$4 = {
61171
+ type: FIELD_TYPE.ATTACHMENT,
61172
+ design: "fw:file",
61173
+ render: "rd:file",
61174
+ defaultProps: {
61175
+ placeholder: "上传附件"
61176
+ }
61177
+ };
61178
+ const __vite_glob_0_71 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61179
+ __proto__: null,
61180
+ manifest: manifest$4
61181
+ }, Symbol.toStringTag, { value: "Module" }));
61182
+ const manifest$3 = {
61183
+ type: FIELD_TYPE.IMAGE,
61184
+ design: "fw:image",
61185
+ render: "rd:image",
61186
+ defaultProps: {
61187
+ placeholder: "上传图片"
61188
+ }
61189
+ };
61190
+ const __vite_glob_0_72 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61191
+ __proto__: null,
61192
+ manifest: manifest$3
61193
+ }, Symbol.toStringTag, { value: "Module" }));
61194
+ const manifest$2 = {
61195
+ type: FIELD_TYPE.REPORTER,
61196
+ design: "fw:signature",
61197
+ render: "rd:signature",
61198
+ defaultProps: {
61199
+ placeholder: "添加签名"
61200
+ }
61201
+ };
61202
+ const __vite_glob_0_73 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61203
+ __proto__: null,
61204
+ manifest: manifest$2
61205
+ }, Symbol.toStringTag, { value: "Module" }));
61206
+ const manifest$1 = {
61207
+ type: FIELD_TYPE.SIGNATURE,
61208
+ design: "fw:signature",
61209
+ render: "rd:signature",
61210
+ defaultProps: {
61211
+ placeholder: "添加签名"
61212
+ }
61213
+ };
61214
+ const __vite_glob_0_74 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61215
+ __proto__: null,
61216
+ manifest: manifest$1
61217
+ }, Symbol.toStringTag, { value: "Module" }));
61218
+ const manifest = {
61219
+ type: FIELD_TYPE.WAREHOUSE_MANAGER,
61220
+ design: "fw:signature",
61221
+ render: "rd:signature",
61222
+ defaultProps: {
61223
+ placeholder: "添加签名"
61224
+ }
61225
+ };
61226
+ const __vite_glob_0_75 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61227
+ __proto__: null,
61228
+ manifest
61229
+ }, Symbol.toStringTag, { value: "Module" }));
61230
+ function loadFieldMainSet() {
61231
+ const manifestModules = /* @__PURE__ */ Object.assign({
61232
+ "./auto-complete/material-container-manifest.ts": __vite_glob_0_0,
61233
+ "./auto-complete/material-no-manifest.ts": __vite_glob_0_1,
61234
+ "./auto-complete/related-lot-no-manifest.ts": __vite_glob_0_2,
61235
+ "./auto-complete/scrap-material-no-manifest.ts": __vite_glob_0_3,
61236
+ "./auto-complete/sterilization-container-manifest.ts": __vite_glob_0_4,
61237
+ "./date/date-manifest.ts": __vite_glob_0_5,
61238
+ "./date/date-time-manifest.ts": __vite_glob_0_6,
61239
+ "./date/production-date-manifest.ts": __vite_glob_0_7,
61240
+ "./date/re-inspection-date-manifest.ts": __vite_glob_0_8,
61241
+ "./date/report-end-time-manifest.ts": __vite_glob_0_9,
61242
+ "./date/report-start-time-manifest.ts": __vite_glob_0_10,
61243
+ "./date/time-manifest.ts": __vite_glob_0_11,
61244
+ "./date/trace-date-manifest.ts": __vite_glob_0_12,
61245
+ "./date/validity-manifest.ts": __vite_glob_0_13,
61246
+ "./date/warehouse-receipt-date-manifest.ts": __vite_glob_0_14,
61247
+ "./number/decimal-manifest.ts": __vite_glob_0_15,
61248
+ "./number/destructive-test-qty-manifest.ts": __vite_glob_0_16,
61249
+ "./number/double-manifest.ts": __vite_glob_0_17,
61250
+ "./number/good-qty-manifest.ts": __vite_glob_0_18,
61251
+ "./number/inspection-qty-manifest.ts": __vite_glob_0_19,
61252
+ "./number/integer-manifest.ts": __vite_glob_0_20,
61253
+ "./number/long-manifest.ts": __vite_glob_0_21,
61254
+ "./number/material-check-qty-manifest.ts": __vite_glob_0_22,
61255
+ "./number/not-good-qty-manifest.ts": __vite_glob_0_23,
61256
+ "./number/of-inst-num-manifest.ts": __vite_glob_0_24,
61257
+ "./number/operation-output-qty-manifest.ts": __vite_glob_0_25,
61258
+ "./number/operation-receive-qty-manifest.ts": __vite_glob_0_26,
61259
+ "./number/product-check-qty-manifest.ts": __vite_glob_0_27,
61260
+ "./number/production-qty-manifest.ts": __vite_glob_0_28,
61261
+ "./number/qty-consumed-manifest.ts": __vite_glob_0_29,
61262
+ "./number/qty-manifest.ts": __vite_glob_0_30,
61263
+ "./number/qty-required-manifest.ts": __vite_glob_0_31,
61264
+ "./number/scrap-qty-manifest.ts": __vite_glob_0_32,
61265
+ "./number/work-hours-manifest.ts": __vite_glob_0_33,
61266
+ "./option/boolean-manifest.ts": __vite_glob_0_34,
61267
+ "./option/enum-manifest.ts": __vite_glob_0_35,
61268
+ "./option/enum-multi-manifest.ts": __vite_glob_0_36,
61269
+ "./option/option-manifest.ts": __vite_glob_0_37,
61270
+ "./option/option-multi-manifest.ts": __vite_glob_0_38,
61271
+ "./rdo-select/e-sop-manifest.ts": __vite_glob_0_39,
61272
+ "./rdo-select/product-manifest.ts": __vite_glob_0_40,
61273
+ "./rdo-select/scrap-material-manifest.ts": __vite_glob_0_41,
61274
+ "./select/device-manifest.ts": __vite_glob_0_42,
61275
+ "./select/device-ref-manifest.ts": __vite_glob_0_43,
61276
+ "./select/device-ref-multi-manifest.ts": __vite_glob_0_44,
61277
+ "./select/location-manifest.ts": __vite_glob_0_45,
61278
+ "./select/mfg-order-manifest.ts": __vite_glob_0_46,
61279
+ "./select/model-relation-manifest.ts": __vite_glob_0_47,
61280
+ "./select/not-good-group-manifest.ts": __vite_glob_0_48,
61281
+ "./select/not-good-reason-manifest.ts": __vite_glob_0_49,
61282
+ "./select/operation-manifest.ts": __vite_glob_0_50,
61283
+ "./select/org-manifest.ts": __vite_glob_0_51,
61284
+ "./select/org-multi-manifest.ts": __vite_glob_0_52,
61285
+ "./select/production-container-manifest.ts": __vite_glob_0_53,
61286
+ "./select/ref-manifest.ts": __vite_glob_0_54,
61287
+ "./select/ref-multi-manifest.ts": __vite_glob_0_55,
61288
+ "./select/routing-operation-manifest.ts": __vite_glob_0_56,
61289
+ "./select/scrap-group-manifest.ts": __vite_glob_0_57,
61290
+ "./select/scrap-reason-manifest.ts": __vite_glob_0_58,
61291
+ "./select/shopfloor-manifest.ts": __vite_glob_0_59,
61292
+ "./select/target-warehouse-manifest.ts": __vite_glob_0_60,
61293
+ "./select/user-manifest.ts": __vite_glob_0_61,
61294
+ "./select/user-multi-manifest.ts": __vite_glob_0_62,
61295
+ "./select/warehouse-manifest.ts": __vite_glob_0_63,
61296
+ "./text/e-sop-version-manifest.ts": __vite_glob_0_64,
61297
+ "./text/external-reference-no-manifest.ts": __vite_glob_0_65,
61298
+ "./text/long-text-manifest.ts": __vite_glob_0_66,
61299
+ "./text/order-no-manifest.ts": __vite_glob_0_67,
61300
+ "./text/record-no-manifest.ts": __vite_glob_0_68,
61301
+ "./text/text-manifest.ts": __vite_glob_0_69,
61302
+ "./text/warehouse-receipt-no-manifest.ts": __vite_glob_0_70,
61303
+ "./upload/attachment-manifest.ts": __vite_glob_0_71,
61304
+ "./upload/image-manifest.ts": __vite_glob_0_72,
61305
+ "./upload/reporter-manifest.ts": __vite_glob_0_73,
61306
+ "./upload/signature-manifest.ts": __vite_glob_0_74,
61307
+ "./upload/warehouse-manager-manifest.ts": __vite_glob_0_75
61308
+ });
61309
+ const map = {};
61310
+ Object.entries(manifestModules).forEach(([path, exports2]) => {
61311
+ const { manifest: manifest2 } = exports2;
61312
+ if (!manifest2) {
61313
+ console.warn(`模块 ${path} 缺少 manifest 导出`);
61314
+ return;
61315
+ }
61316
+ map[manifest2.type] = manifest2;
61317
+ });
61318
+ return map;
61319
+ }
61320
+ const FieldMainSet = loadFieldMainSet();
61321
+ function getFieldMain(bizType, fieldType) {
61322
+ return findFieldMain(bizType, fieldType) || FieldMainSet[FIELD_TYPE.TEXT];
61323
+ }
61324
+ function findFieldMain(bizType, fieldType) {
61325
+ const biz = bizType ? normalizeFieldType(bizType) : void 0;
61326
+ const type4 = fieldType ? normalizeFieldType(fieldType) : void 0;
61327
+ return biz && FieldMainSet[biz] || type4 && FieldMainSet[type4] || void 0;
61328
+ }
61329
+ function getFieldRender(bizType, fieldType) {
61330
+ return findFieldMain(bizType, fieldType)?.render;
61331
+ }
61332
+ function getFieldPlaceholder(fieldType, bizType) {
61333
+ return getFieldMain(bizType, fieldType).defaultProps.placeholder;
61334
+ }
59757
61335
  const commonUtils = {
59758
61336
  /** 列表转成树 */
59759
61337
  listTransformTree: (list) => {
@@ -60124,226 +61702,40 @@ function useOnlineFormActionButton() {
60124
61702
  autoSaveButtonMap
60125
61703
  };
60126
61704
  }
61705
+ const FIELD_RENDER_TO_COMPONENT = {
61706
+ "rd:input": ComponentTypeEnum.Input,
61707
+ "rd:textarea": ComponentTypeEnum.Textarea,
61708
+ "rd:number": ComponentTypeEnum.Inputnumber,
61709
+ "rd:double": ComponentTypeEnum.InputDouble,
61710
+ "rd:select": ComponentTypeEnum.Select,
61711
+ "rd:tree-select": ComponentTypeEnum.Department,
61712
+ "rd:rdo-select": ComponentTypeEnum.RdoSelect,
61713
+ "rd:auto-complete": ComponentTypeEnum.AutoComplete,
61714
+ "rd:date": ComponentTypeEnum.Datepicker,
61715
+ "rd:date-time": ComponentTypeEnum.DateTimepicker,
61716
+ "rd:time": ComponentTypeEnum.Timepicker,
61717
+ "rd:enum": ComponentTypeEnum.EnumSelect,
61718
+ "rd:boolean": ComponentTypeEnum.Switch,
61719
+ "rd:user": ComponentTypeEnum.Userpicker,
61720
+ "rd:image": ComponentTypeEnum.UploadImage,
61721
+ "rd:file": ComponentTypeEnum.UploadFile,
61722
+ "rd:signature": ComponentTypeEnum.Sign
61723
+ };
61724
+ function resolveRenderComponent(bizType, fieldType) {
61725
+ const render2 = getFieldRender(bizType, fieldType);
61726
+ return render2 ? FIELD_RENDER_TO_COMPONENT[render2] : void 0;
61727
+ }
60127
61728
  const useOnlineFormTransformField2Component = (fieldType) => {
60128
- return {
60129
- [FIELD_TYPE.TEXT]: {
60130
- cmpKey: ComponentTypeEnum.Input
60131
- },
60132
- [FIELD_TYPE.LONG_TEXT]: {
60133
- cmpKey: ComponentTypeEnum.Textarea
60134
- },
60135
- [FIELD_TYPE.INTEGER]: {
60136
- cmpKey: ComponentTypeEnum.Inputnumber
60137
- },
60138
- [FIELD_TYPE.LONG]: {
60139
- cmpKey: ComponentTypeEnum.Inputnumber
60140
- },
60141
- [FIELD_TYPE.DOUBLE]: {
60142
- cmpKey: ComponentTypeEnum.InputDouble
60143
- },
60144
- [FIELD_TYPE.DECIMAL]: {
60145
- cmpKey: ComponentTypeEnum.Inputnumber
60146
- },
60147
- [FIELD_TYPE.BOOLEAN]: {
60148
- cmpKey: ComponentTypeEnum.Switch
60149
- },
60150
- [FIELD_TYPE.SERIAL]: {
60151
- cmpKey: ComponentTypeEnum.Input
60152
- },
60153
- [FIELD_TYPE.IMAGE]: {
60154
- cmpKey: ComponentTypeEnum.UploadImage
60155
- },
60156
- [FIELD_TYPE.SIGNATURE]: {
60157
- cmpKey: ComponentTypeEnum.Sign
60158
- },
60159
- [FIELD_TYPE.ATTACHMENT]: {
60160
- cmpKey: ComponentTypeEnum.UploadFile
60161
- },
60162
- [FIELD_TYPE.USER]: {
60163
- cmpKey: ComponentTypeEnum.Userpicker
60164
- },
60165
- [FIELD_TYPE.USER_MULTI]: {
60166
- cmpKey: ComponentTypeEnum.Userpicker
60167
- },
60168
- [FIELD_TYPE.ORG]: {
60169
- cmpKey: ComponentTypeEnum.Department
60170
- },
60171
- [FIELD_TYPE.ORG_MULTI]: {
60172
- cmpKey: ComponentTypeEnum.Department
60173
- },
60174
- [FIELD_TYPE.ENUM]: {
60175
- cmpKey: ComponentTypeEnum.EnumSelect
60176
- },
60177
- [FIELD_TYPE.ENUM_MULTI]: {
60178
- cmpKey: ComponentTypeEnum.EnumSelect
60179
- },
60180
- [FIELD_TYPE.OPTION]: {
60181
- cmpKey: ComponentTypeEnum.EnumSelect
60182
- },
60183
- [FIELD_TYPE.OPTION_MULTI]: {
60184
- cmpKey: ComponentTypeEnum.EnumSelect
60185
- },
60186
- [FIELD_TYPE.REF]: {
60187
- cmpKey: ComponentTypeEnum.Select
60188
- },
60189
- [FIELD_TYPE.REF_MULTI]: {
60190
- cmpKey: ComponentTypeEnum.Select
60191
- },
60192
- [FIELD_TYPE.MODEL_RELATION]: {
60193
- cmpKey: ComponentTypeEnum.Select
60194
- },
60195
- [FIELD_TYPE.WAREHOUSE]: {
60196
- cmpKey: ComponentTypeEnum.Select
60197
- },
60198
- [FIELD_TYPE.LOCATION]: {
60199
- cmpKey: ComponentTypeEnum.Select
60200
- },
60201
- [FIELD_TYPE.PRODUCTION_CONTAINER]: {
60202
- cmpKey: ComponentTypeEnum.Select
60203
- },
60204
- [FIELD_TYPE.DATE]: {
60205
- cmpKey: ComponentTypeEnum.Datepicker
60206
- },
60207
- [FIELD_TYPE.DATE_TIME]: {
60208
- cmpKey: ComponentTypeEnum.DateTimepicker
60209
- },
60210
- [FIELD_TYPE.TIME]: {
60211
- cmpKey: ComponentTypeEnum.Timepicker
60212
- },
60213
- [FIELD_TYPE.EXPRESSION]: {
60214
- cmpKey: ComponentTypeEnum.EXPRESSION
60215
- },
60216
- [FIELD_TYPE.AGG]: {
60217
- cmpKey: ComponentTypeEnum.AGG
60218
- },
60219
- [FIELD_TYPE.MATERIAL_NO]: {
60220
- cmpKey: ComponentTypeEnum.Trace
60221
- },
60222
- [FIELD_TYPE.STERILIZATION_CONTAINER]: {
60223
- cmpKey: ComponentTypeEnum.Trace
60224
- },
60225
- [FIELD_TYPE.MATERIAL_CONTAINER]: {
60226
- cmpKey: ComponentTypeEnum.Trace
60227
- },
60228
- [FIELD_TYPE.RELATED_LOT_NO]: {
60229
- cmpKey: ComponentTypeEnum.Trace
60230
- },
60231
- [FIELD_TYPE.PRODUCT]: {
60232
- cmpKey: ComponentTypeEnum.Trace
60233
- },
60234
- [FIELD_TYPE.DEVICE]: {
60235
- cmpKey: ComponentTypeEnum.Trace
60236
- },
60237
- [FIELD_TYPE.MFG_ORDER]: {
60238
- cmpKey: ComponentTypeEnum.Trace
60239
- },
60240
- [FIELD_TYPE.RECORD_NO]: {
60241
- cmpKey: ComponentTypeEnum.Trace
60242
- },
60243
- [FIELD_TYPE.TRACE_DATE]: {
60244
- cmpKey: ComponentTypeEnum.Trace
60245
- },
60246
- [FIELD_TYPE.ORDER_NO]: {
60247
- cmpKey: ComponentTypeEnum.Trace
60248
- },
60249
- [FIELD_TYPE.EXTERNAL_REF_NO]: {
60250
- cmpKey: ComponentTypeEnum.Trace
60251
- },
60252
- [FIELD_TYPE.SHOPFLOOR]: {
60253
- cmpKey: ComponentTypeEnum.Trace
60254
- },
60255
- [FIELD_TYPE.ROUTING_OPERATION]: {
60256
- cmpKey: ComponentTypeEnum.Select
60257
- },
60258
- [FIELD_TYPE.GOOD_QTY]: {
60259
- cmpKey: ComponentTypeEnum.InputDouble
60260
- },
60261
- [FIELD_TYPE.NOT_GOOD_QTY]: {
60262
- cmpKey: ComponentTypeEnum.InputDouble
60263
- },
60264
- [FIELD_TYPE.OPERATION_RECEIVE_QTY]: {
60265
- cmpKey: ComponentTypeEnum.InputDouble
60266
- },
60267
- [FIELD_TYPE.OPERATION_OUTPUT_QTY]: {
60268
- cmpKey: ComponentTypeEnum.InputDouble
60269
- },
60270
- [FIELD_TYPE.REPORT_START_TIME]: {
60271
- cmpKey: ComponentTypeEnum.DateTimepicker
60272
- },
60273
- [FIELD_TYPE.REPORT_END_TIME]: {
60274
- cmpKey: ComponentTypeEnum.DateTimepicker
60275
- },
60276
- [FIELD_TYPE.WORK_HOURS]: {
60277
- cmpKey: ComponentTypeEnum.Inputnumber
60278
- },
60279
- [FIELD_TYPE.PRODUCTION_DATE]: {
60280
- cmpKey: ComponentTypeEnum.Datepicker
60281
- },
60282
- [FIELD_TYPE.REPORTER]: {
60283
- cmpKey: ComponentTypeEnum.Sign
60284
- },
60285
- [FIELD_TYPE.NOT_GOOD_REASON]: {
60286
- cmpKey: ComponentTypeEnum.Select
60287
- },
60288
- [FIELD_TYPE.NOT_GOOD_GROUP]: {
60289
- cmpKey: ComponentTypeEnum.Select
60290
- },
60291
- [FIELD_TYPE.SCRAP_REASON]: {
60292
- cmpKey: ComponentTypeEnum.Select
60293
- },
60294
- [FIELD_TYPE.SCRAP_GROUP]: {
60295
- cmpKey: ComponentTypeEnum.Select
60296
- },
60297
- [FIELD_TYPE.SCRAP_QTY]: {
60298
- cmpKey: ComponentTypeEnum.InputDouble
60299
- },
60300
- [FIELD_TYPE.SCRAP_MATERIAL]: {
60301
- cmpKey: ComponentTypeEnum.Trace
60302
- },
60303
- [FIELD_TYPE.SCRAP_MATERIAL_NO]: {
60304
- cmpKey: ComponentTypeEnum.Trace
60305
- },
60306
- [FIELD_TYPE.DESTRUCTIVE_TEST_QTY]: {
60307
- cmpKey: ComponentTypeEnum.InputDouble
60308
- },
60309
- [FIELD_TYPE.PRODUCT_CHECK_QTY]: {
60310
- cmpKey: ComponentTypeEnum.InputDouble
60311
- },
60312
- [FIELD_TYPE.MATERIAL_CHECK_QTY]: {
60313
- cmpKey: ComponentTypeEnum.InputDouble
60314
- },
60315
- [FIELD_TYPE.QTY_REQUIRED]: {
60316
- cmpKey: ComponentTypeEnum.InputDouble
60317
- },
60318
- [FIELD_TYPE.QTY_CONSUMED]: {
60319
- cmpKey: ComponentTypeEnum.InputDouble
60320
- },
60321
- [FIELD_TYPE.QTY]: {
60322
- cmpKey: ComponentTypeEnum.InputDouble
60323
- },
60324
- [FIELD_TYPE.DEVICE_REF]: {
60325
- cmpKey: ComponentTypeEnum.Select
60326
- },
60327
- [FIELD_TYPE.DEVICE_REF_MULTI]: {
60328
- cmpKey: ComponentTypeEnum.Select
60329
- },
60330
- [FIELD_TYPE.WAREHOUSE_RECEIPT_NO]: {
60331
- cmpKey: ComponentTypeEnum.Input
60332
- },
60333
- [FIELD_TYPE.WAREHOUSE_RECEIPT_DATE]: {
60334
- cmpKey: ComponentTypeEnum.Datepicker
60335
- },
60336
- [FIELD_TYPE.WAREHOUSE_MANAGER]: {
60337
- cmpKey: ComponentTypeEnum.Sign
60338
- },
60339
- [FIELD_TYPE.OF_INST_NUM]: {
60340
- cmpKey: ComponentTypeEnum.Inputnumber
60341
- },
60342
- [FIELD_TYPE.E_SOP]: {
60343
- cmpKey: ComponentTypeEnum.Trace
60344
- }
60345
- }[fieldType];
61729
+ const cmpKey = resolveRenderComponent(void 0, fieldType);
61730
+ return cmpKey ? { cmpKey } : void 0;
60346
61731
  };
61732
+ function resolveFieldRenderComponent(props) {
61733
+ if (!props) return;
61734
+ if (props.field === "value_" && props.createType === CreateType.BUILTIN) {
61735
+ return ComponentTypeEnum.DynValue;
61736
+ }
61737
+ return resolveRenderComponent(props.bizType, props.fieldType);
61738
+ }
60347
61739
  var NCB_PROVIDE = /* @__PURE__ */ ((NCB_PROVIDE2) => {
60348
61740
  NCB_PROVIDE2["IS_PDF"] = "NCB_IsPdf";
60349
61741
  NCB_PROVIDE2["FROM_DATA"] = "NCB_FromState";
@@ -60374,9 +61766,9 @@ function mitt(all) {
60374
61766
  * @memberOf mitt
60375
61767
  */
60376
61768
  on(type4, handler) {
60377
- const handlers = all.get(type4);
60378
- if (handlers) {
60379
- handlers.push(handler);
61769
+ const handlers2 = all.get(type4);
61770
+ if (handlers2) {
61771
+ handlers2.push(handler);
60380
61772
  } else {
60381
61773
  all.set(type4, [handler]);
60382
61774
  }
@@ -60389,10 +61781,10 @@ function mitt(all) {
60389
61781
  * @memberOf mitt
60390
61782
  */
60391
61783
  off(type4, handler) {
60392
- const handlers = all.get(type4);
60393
- if (handlers) {
61784
+ const handlers2 = all.get(type4);
61785
+ if (handlers2) {
60394
61786
  if (handler) {
60395
- handlers.splice(handlers.indexOf(handler) >>> 0, 1);
61787
+ handlers2.splice(handlers2.indexOf(handler) >>> 0, 1);
60396
61788
  } else {
60397
61789
  all.set(type4, []);
60398
61790
  }
@@ -60409,15 +61801,15 @@ function mitt(all) {
60409
61801
  * @memberOf mitt
60410
61802
  */
60411
61803
  emit(type4, evt) {
60412
- let handlers = all.get(type4);
60413
- if (handlers) {
60414
- handlers.slice().forEach((handler) => {
61804
+ let handlers2 = all.get(type4);
61805
+ if (handlers2) {
61806
+ handlers2.slice().forEach((handler) => {
60415
61807
  handler(evt);
60416
61808
  });
60417
61809
  }
60418
- handlers = all.get("*");
60419
- if (handlers) {
60420
- handlers.slice().forEach((handler) => {
61810
+ handlers2 = all.get("*");
61811
+ if (handlers2) {
61812
+ handlers2.slice().forEach((handler) => {
60421
61813
  handler(type4, evt);
60422
61814
  });
60423
61815
  }
@@ -60559,9 +61951,7 @@ function useWidgetStaticAttrs(widget) {
60559
61951
  isFieldModel,
60560
61952
  fieldLink,
60561
61953
  targetFieldId,
60562
- // An explicitly empty new placeholder means the user removed the hint.
60563
- // Do not fall back to the legacy placeholder in that case.
60564
- placeholder: newPlaceholder !== void 0 && newPlaceholder !== null ? newPlaceholder : placeholder,
61954
+ placeholder: newPlaceholder ?? placeholder ?? getFieldPlaceholder(fieldType, bizType),
60565
61955
  bindCompStyleType,
60566
61956
  /** 字段名称 */
60567
61957
  showFieldName: newFieldName,
@@ -60751,7 +62141,10 @@ function setSelectValidatorId(event, basicInfoItem) {
60751
62141
  Array.from(scope.querySelectorAll(".validator-icon")).map((el2) => el2.dataset.ann).filter((id) => !!id)
60752
62142
  )
60753
62143
  ];
60754
- const validateList = ids.map((id) => basicInfoItem.validatorMessageMap?.[id]).filter(Boolean);
62144
+ const validateList = ids.map((id) => [
62145
+ ...basicInfoItem.validatorMessageMap?.[id] ?? [],
62146
+ ...basicInfoItem.mcValidatorMessageMap?.[id] ?? []
62147
+ ]).filter((list) => list.length);
60755
62148
  const flattenedErrors = validateList.flatMap(
60756
62149
  (validates) => validates.map(({ field: _field, message: message2 }) => JSON.parse(message2))
60757
62150
  );
@@ -63006,6 +64399,50 @@ async function isBomGranted() {
63006
64399
  return false;
63007
64400
  }
63008
64401
  }
64402
+ async function getReinspectionDate(params) {
64403
+ if (!params.material_no_id_ && !params.material_no_) return;
64404
+ ({
64405
+ "product_id_.versionIn": [params.product_id_.split(":").pop()]
64406
+ });
64407
+ if (params.material_no_id_) {
64408
+ params.material_no_id_;
64409
+ } else {
64410
+ params.material_no_;
64411
+ }
64412
+ const res = await postApi(
64413
+ {
64414
+ modelCategory: "entity",
64415
+ modelKey: "em_production_identification",
64416
+ bsKey: "getOne"
64417
+ },
64418
+ {},
64419
+ {
64420
+ query: {
64421
+ name_: params.material_no_,
64422
+ id_: params.material_no_id_,
64423
+ "product_id_.versionEq": params.product_id_
64424
+ }
64425
+ }
64426
+ );
64427
+ const record = res?.data?.[0] ?? res?.data;
64428
+ const raw = record?.re_inspection_date_ ?? record?.retest_date_;
64429
+ if (raw == null || raw === "") return;
64430
+ const parsed = dayjs(raw);
64431
+ if (!parsed.isValid()) return;
64432
+ return parsed.format("YYYY-MM-DD");
64433
+ }
64434
+ async function validateReinspectionDate(opts) {
64435
+ if (!opts.product_id_ || !opts.material_no_ && !opts.material_no_id_) return;
64436
+ const date4 = await getReinspectionDate({
64437
+ product_id_: opts.product_id_,
64438
+ material_no_: opts.material_no_,
64439
+ material_no_id_: opts.material_no_id_
64440
+ });
64441
+ if (!date4) return;
64442
+ if (dayjs(date4).isBefore(dayjs(), "day")) {
64443
+ throw new Error($t("sys.retestDateErrorTip"));
64444
+ }
64445
+ }
63009
64446
  async function getLotLockedReason(production_identification_id_) {
63010
64447
  const { data = {}, dict = {} } = await postApi(
63011
64448
  {
@@ -63146,7 +64583,8 @@ const profile$g = {
63146
64583
  icon: "fixed-table",
63147
64584
  enabled: true,
63148
64585
  defaultWidgetProps: {
63149
- autoFill: true
64586
+ autoFill: true,
64587
+ quickFill: true
63150
64588
  },
63151
64589
  match: {
63152
64590
  fieldType: "master_slave",
@@ -63293,11 +64731,60 @@ const F$9 = {
63293
64731
  /** 唯一码 */
63294
64732
  uniqueCode: "unique_code_"
63295
64733
  };
64734
+ const PRODUCT_FIELDS = [F$9.product, F$9.productName, F$9.productCode, F$9.productSpec];
63296
64735
  const READONLY_INFO_FIELDS$1 = [F$9.productName, F$9.productCode, F$9.productSpec];
63297
64736
  const CLEAR_ON_PRODUCT_EMPTY$5 = [F$9.productName, F$9.productCode, F$9.productSpec];
64737
+ const CLEAR_ON_MATERIAL_NO_EMPTY = [...PRODUCT_FIELDS];
64738
+ const FILL_FROM_MATERIAL_NO_OPTION = [
64739
+ { optionField: F$9.product, toField: F$9.product },
64740
+ { optionField: F$9.productName, toField: F$9.productName },
64741
+ { optionField: F$9.productCode, toField: F$9.productCode },
64742
+ { optionField: F$9.productSpec, toField: F$9.productSpec }
64743
+ ];
64744
+ const FILL_FROM_PRODUCT_OPTION$1 = [
64745
+ { optionField: "name_", toField: F$9.productName },
64746
+ { optionField: "code_", toField: F$9.productCode },
64747
+ { optionField: "spec_", toField: F$9.productSpec }
64748
+ ];
64749
+ function applyFillFromMapping$1(row, source, mapping) {
64750
+ const writable = row;
64751
+ for (const { optionField, toField } of mapping) {
64752
+ if (has(source, optionField)) {
64753
+ writable[toField] = source[optionField];
64754
+ }
64755
+ }
64756
+ return row;
64757
+ }
64758
+ function applyFillFromMaterialNoOption(row, source) {
64759
+ return applyFillFromMapping$1(row, source, FILL_FROM_MATERIAL_NO_OPTION);
64760
+ }
64761
+ function applyFillFromProductOption$1(row, source) {
64762
+ return applyFillFromMapping$1(row, source, FILL_FROM_PRODUCT_OPTION$1);
64763
+ }
64764
+ function isBlank$b(value) {
64765
+ return value === void 0 || value === null || value === "";
64766
+ }
64767
+ function isProductManuallyEditable$1(rowData) {
64768
+ return !isBlank$b(rowData[F$9.materialNo]) && isBlank$b(rowData[F$9.materialNoId]);
64769
+ }
64770
+ const PRODUCT_QUICK_SEARCH_FIELDS = [
64771
+ "code_.like",
64772
+ "version_.like",
64773
+ "name_.like",
64774
+ "spec_.like"
64775
+ ];
64776
+ const PRODUCT_QUICK_SEARCH_EXP = `OR(${PRODUCT_QUICK_SEARCH_FIELDS.join(",")})`;
63298
64777
  const fields$9 = [
63299
64778
  {
63300
64779
  match: { fieldKey: F$9.product },
64780
+ defaultProps: {
64781
+ // 设计态默认禁用;运行态仅物料批号手输(无 companion id)时解锁
64782
+ disabled: true,
64783
+ fieldDisabled: true,
64784
+ required: false,
64785
+ searchable: true,
64786
+ searchField: [...PRODUCT_QUICK_SEARCH_FIELDS]
64787
+ },
63301
64788
  autofillTemplates: [
63302
64789
  {
63303
64790
  fromField: "name_",
@@ -63343,7 +64830,10 @@ const profile$d = {
63343
64830
  { when: "onRowInit", fieldKey: F$9.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
63344
64831
  { when: "onRowInit", fieldKey: F$9.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
63345
64832
  ],
63346
- rowHandlers: [{ when: "onFieldChange", watch: [F$9.product], handler: "on-product-id-change" }],
64833
+ rowHandlers: [
64834
+ { when: "onFieldChange", watch: [F$9.materialNo], handler: "on-material-no-change" },
64835
+ { when: "onFieldChange", watch: [F$9.product], handler: "on-product-id-change" }
64836
+ ],
63347
64837
  runtimeRules: [
63348
64838
  {
63349
64839
  fields: [...READONLY_INFO_FIELDS$1],
@@ -63359,12 +64849,23 @@ const profile$d = {
63359
64849
  function isBlank$a(value) {
63360
64850
  return value === void 0 || value === null || value === "";
63361
64851
  }
64852
+ function clearFields$1(rowData, fields2) {
64853
+ for (const fieldKey of fields2) {
64854
+ rowData[fieldKey] = void 0;
64855
+ }
64856
+ }
64857
+ function handleMaterialNoChange(ctx) {
64858
+ const { rowData } = ctx;
64859
+ if (!isBlank$a(rowData[F$9.materialNo]) && !isBlank$a(rowData[F$9.materialNoId])) return;
64860
+ clearFields$1(rowData, CLEAR_ON_MATERIAL_NO_EMPTY);
64861
+ }
63362
64862
  function handleProductIdChange$4(ctx) {
63363
64863
  if (!isBlank$a(ctx.rowData[F$9.product])) return;
63364
- for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$5) {
63365
- ctx.rowData[fieldKey] = void 0;
63366
- }
64864
+ clearFields$1(ctx.rowData, CLEAR_ON_PRODUCT_EMPTY$5);
63367
64865
  }
64866
+ registerRowHandler(TABLE_TYPE$d, "on-material-no-change", ({ rowData }) => {
64867
+ handleMaterialNoChange({ rowData });
64868
+ });
63368
64869
  registerRowHandler(TABLE_TYPE$d, "on-product-id-change", ({ rowData }) => {
63369
64870
  handleProductIdChange$4({ rowData });
63370
64871
  });
@@ -63426,7 +64927,7 @@ const CLEAR_ON_PRODUCT_EMPTY$4 = [
63426
64927
  F$8.validity,
63427
64928
  F$8.reInspectionDate
63428
64929
  ];
63429
- const FILL_FROM_INVENTORY_OPTION$2 = [
64930
+ const FILL_FROM_INVENTORY_OPTION$4 = [
63430
64931
  { optionField: "id_", toField: F$8.inventory },
63431
64932
  { optionField: "product_id_name_", toField: F$8.productName },
63432
64933
  { optionField: "product_id_code_", toField: F$8.productCode },
@@ -63520,27 +65021,24 @@ const DISABLED_INPUT_FIELDS$6 = [
63520
65021
  F$7.qtyUom
63521
65022
  ];
63522
65023
  const CLEAR_ON_PART_EMPTY$3 = [F$7.partName, F$7.partCode, F$7.partSpec, F$7.qtyUom];
65024
+ const FILL_FROM_PART_OPTION = [
65025
+ { optionField: "part_name_", toField: F$7.partName },
65026
+ { optionField: "part_code_", toField: F$7.partCode },
65027
+ { optionField: "specification_", toField: F$7.partSpec },
65028
+ { optionField: "unit_", toField: F$7.qtyUom }
65029
+ ];
65030
+ const PART_QUICK_SEARCH_FIELDS = ["part_code_.iLike", "part_name_.iLike"];
63523
65031
  const fields$7 = [
63524
65032
  {
63525
65033
  match: { fieldKey: F$7.part },
63526
- autofillTemplates: [
63527
- {
63528
- fromField: "part_name_",
63529
- toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
63530
- },
63531
- {
63532
- fromField: "part_code_",
63533
- toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
63534
- },
63535
- {
63536
- fromField: "specification_",
63537
- toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
63538
- },
63539
- {
63540
- fromField: "unit_",
63541
- toField: F$7.qtyUom
63542
- }
63543
- ]
65034
+ defaultProps: {
65035
+ searchable: true,
65036
+ searchField: [...PART_QUICK_SEARCH_FIELDS]
65037
+ },
65038
+ autofillTemplates: FILL_FROM_PART_OPTION.map(({ optionField, toField }) => ({
65039
+ fromField: optionField,
65040
+ toField
65041
+ }))
63544
65042
  },
63545
65043
  {
63546
65044
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$6] },
@@ -63642,7 +65140,25 @@ const CLEAR_ON_PART_EMPTY$2 = [
63642
65140
  F$6.warehouse,
63643
65141
  F$6.qtyUom
63644
65142
  ];
65143
+ const FILL_FROM_INVENTORY_OPTION$3 = [
65144
+ { optionField: "id_", toField: F$6.inventory },
65145
+ { optionField: "part_id_name_", toField: F$6.partName },
65146
+ { optionField: "part_id_code_", toField: F$6.partCode },
65147
+ { optionField: "part_id_spec_", toField: F$6.partSpec },
65148
+ { optionField: "warehouse_id_", toField: F$6.warehouse },
65149
+ { optionField: "storage_zone_id_", toField: F$6.storageZone },
65150
+ { optionField: "location_id_", toField: F$6.location },
65151
+ { optionField: "uom_id_", toField: F$6.qtyUom },
65152
+ { optionField: "validate_", toField: F$6.validity }
65153
+ ];
63645
65154
  const fields$6 = [
65155
+ {
65156
+ match: { fieldKey: F$6.part },
65157
+ autofillTemplates: FILL_FROM_INVENTORY_OPTION$3.map(({ optionField, toField }) => ({
65158
+ fromField: optionField,
65159
+ toField
65160
+ }))
65161
+ },
63646
65162
  {
63647
65163
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$5] },
63648
65164
  defaultProps: {
@@ -63696,8 +65212,10 @@ registerRowHandler(TABLE_TYPE$a, "on-part-id-change", ({ rowData }) => {
63696
65212
  handlePartIdChange$2({ rowData });
63697
65213
  });
63698
65214
  const F$5 = {
63699
- /** 库存主键(选物料时写 option.id_,用于唯一回显) */
65215
+ /** 库存主键(选物料时写入,用于唯一回显) */
63700
65216
  inventory: "inventory_id_",
65217
+ /** 按仓库汇总时写入接口 id_,下拉高亮优先用它 */
65218
+ frontId: "front_id_",
63701
65219
  /** 物料批号 */
63702
65220
  batch: "production_identification_id_",
63703
65221
  batchLb: "production_identification_id__lb_",
@@ -63764,6 +65282,7 @@ const READONLY_INFO_FIELDS = [
63764
65282
  const AUTO_LOAD_READONLY_SELECT_FIELDS = [F$5.product, F$5.batch, F$5.location];
63765
65283
  const CLEAR_ON_PRODUCT_EMPTY$3 = [
63766
65284
  F$5.inventory,
65285
+ F$5.frontId,
63767
65286
  F$5.batch,
63768
65287
  F$5.batchLb,
63769
65288
  F$5.productName,
@@ -63778,8 +65297,7 @@ const CLEAR_ON_PRODUCT_EMPTY$3 = [
63778
65297
  F$5.validity,
63779
65298
  F$5.reInspectionDate
63780
65299
  ];
63781
- const FILL_FROM_INVENTORY_OPTION$1 = [
63782
- { optionField: "id_", toField: F$5.inventory },
65300
+ const FILL_FROM_INVENTORY_REST = [
63783
65301
  { optionField: "product_id_name_", toField: F$5.productName },
63784
65302
  { optionField: "product_id_code_", toField: F$5.productCode },
63785
65303
  { optionField: "product_id_spec_", toField: F$5.productSpec },
@@ -63790,8 +65308,17 @@ const FILL_FROM_INVENTORY_OPTION$1 = [
63790
65308
  { optionField: "validate_", toField: F$5.validity },
63791
65309
  { optionField: "re_inspection_date_", toField: F$5.reInspectionDate }
63792
65310
  ];
65311
+ function buildFillFromInventoryOption(warehouseSummary) {
65312
+ const identity2 = warehouseSummary ? [
65313
+ { optionField: F$5.inventory, toField: F$5.inventory },
65314
+ // inventory_id_ → inventory_id_
65315
+ { optionField: "id_", toField: F$5.frontId }
65316
+ // id_ → front_id_
65317
+ ] : [{ optionField: "id_", toField: F$5.inventory }];
65318
+ return [...identity2, ...FILL_FROM_INVENTORY_REST];
65319
+ }
65320
+ buildFillFromInventoryOption(false);
63793
65321
  const STOCKTAKE_DERIVED_WATCH_FIELDS$1 = [F$5.stocktake, F$5.stock];
63794
- const WAREHOUSE_IDENTITY_GROUP_KEYS = [F$5.batch, F$5.product, F$5.warehouse];
63795
65322
  const INVENTORY_BASE_FIELDS = [
63796
65323
  F$5.batch,
63797
65324
  F$5.product,
@@ -63819,6 +65346,22 @@ const fields$5 = [
63819
65346
  }
63820
65347
  }
63821
65348
  ];
65349
+ const STOCKTAKE_DIMENSION = {
65350
+ warehouseSummary: "warehouse_summary",
65351
+ locationDetail: "location_detail"
65352
+ };
65353
+ const STOCKTAKE_DIMENSION_OPTIONS = [
65354
+ {
65355
+ labelKey: "sys.edhr.mcTable.stocktakeDimensionWarehouseSummary",
65356
+ value: STOCKTAKE_DIMENSION.warehouseSummary,
65357
+ tipKey: "sys.edhr.mcTable.stocktakeDimensionWarehouseSummaryTip"
65358
+ },
65359
+ {
65360
+ labelKey: "sys.edhr.mcTable.stocktakeDimensionLocationDetail",
65361
+ value: STOCKTAKE_DIMENSION.locationDetail,
65362
+ tipKey: "sys.edhr.mcTable.stocktakeDimensionLocationDetailTip"
65363
+ }
65364
+ ];
63822
65365
  const TABLE_TYPE$9 = "warehouse-inventory";
63823
65366
  const profile$9 = {
63824
65367
  type: TABLE_TYPE$9,
@@ -63835,7 +65378,9 @@ const profile$9 = {
63835
65378
  tableType: SubTableType.STOCKTAKE
63836
65379
  },
63837
65380
  defaultWidgetProps: {
63838
- autoLoadStock: false
65381
+ autoLoadStock: false,
65382
+ /** 默认按库位精细 */
65383
+ stocktakeDimension: STOCKTAKE_DIMENSION.locationDetail
63839
65384
  },
63840
65385
  fields: fields$5,
63841
65386
  contextAssignments: [
@@ -63908,6 +65453,55 @@ registerRowHandler(TABLE_TYPE$9, "on-product-id-change", ({ rowData }) => {
63908
65453
  registerRowHandler(TABLE_TYPE$9, "stocktake-derived", ({ rowData }) => {
63909
65454
  refreshStocktakeDerivedFields$1({ rowData });
63910
65455
  });
65456
+ function readStocktakeDimension(config) {
65457
+ const value = config?.stocktakeDimension;
65458
+ if (value === STOCKTAKE_DIMENSION.warehouseSummary || value === STOCKTAKE_DIMENSION.locationDetail) {
65459
+ return value;
65460
+ }
65461
+ return void 0;
65462
+ }
65463
+ function getStocktakeDimension(config) {
65464
+ return readStocktakeDimension(config) ?? STOCKTAKE_DIMENSION.locationDetail;
65465
+ }
65466
+ function resolveGroupByWarehouse(config, fallback = false) {
65467
+ const dimension = readStocktakeDimension(config);
65468
+ if (dimension) {
65469
+ return dimension === STOCKTAKE_DIMENSION.warehouseSummary;
65470
+ }
65471
+ return fallback;
65472
+ }
65473
+ const WAREHOUSE_SUMMARY_API = {
65474
+ modelCategory: "entity",
65475
+ modelKey: "em_inventory",
65476
+ bsKey: "biz_production_identification_in_stock_list_by_page",
65477
+ paginated: true
65478
+ };
65479
+ const LOCATION_DETAIL_API = {
65480
+ modelCategory: "entity",
65481
+ modelKey: "em_inventory",
65482
+ bsKey: "biz_get_inventory_info_list_by_page",
65483
+ paginated: true
65484
+ };
65485
+ const STOCKTAKE_INVENTORY_APIS = {
65486
+ [STOCKTAKE_DIMENSION.warehouseSummary]: WAREHOUSE_SUMMARY_API,
65487
+ [STOCKTAKE_DIMENSION.locationDetail]: LOCATION_DETAIL_API
65488
+ };
65489
+ const LOCATION_DETAIL_SELECT_API = {
65490
+ modelCategory: "entity",
65491
+ modelKey: "em_inventory",
65492
+ bsKey: "biz_get_inventory_info_list_by_page",
65493
+ paginated: true
65494
+ };
65495
+ const STOCKTAKE_SELECT_APIS = {
65496
+ [STOCKTAKE_DIMENSION.warehouseSummary]: WAREHOUSE_SUMMARY_API,
65497
+ [STOCKTAKE_DIMENSION.locationDetail]: LOCATION_DETAIL_SELECT_API
65498
+ };
65499
+ function resolveStocktakeInventoryApi(config) {
65500
+ return STOCKTAKE_INVENTORY_APIS[getStocktakeDimension(config)];
65501
+ }
65502
+ function resolveStocktakeSelectApi(config) {
65503
+ return STOCKTAKE_SELECT_APIS[getStocktakeDimension(config)];
65504
+ }
63911
65505
  const F$4 = {
63912
65506
  /** 库存列表 id */
63913
65507
  inventory: "inventory_id_",
@@ -63967,7 +65561,25 @@ const CLEAR_ON_PART_EMPTY$1 = [
63967
65561
  F$4.location
63968
65562
  ];
63969
65563
  const STOCKTAKE_DERIVED_WATCH_FIELDS = [F$4.stocktake, F$4.stock];
65564
+ const FILL_FROM_INVENTORY_OPTION$2 = [
65565
+ { optionField: "id_", toField: F$4.inventory },
65566
+ { optionField: "part_id_name_", toField: F$4.partName },
65567
+ { optionField: "part_id_code_", toField: F$4.partCode },
65568
+ { optionField: "part_id_spec_", toField: F$4.partSpec },
65569
+ { optionField: "warehouse_id_", toField: F$4.warehouse },
65570
+ { optionField: "storage_zone_id_", toField: F$4.storageZone },
65571
+ { optionField: "location_id_", toField: F$4.location },
65572
+ { optionField: "stock_num_", toField: F$4.stock },
65573
+ { optionField: "uom_id_", toField: F$4.qtyUom }
65574
+ ];
63970
65575
  const fields$4 = [
65576
+ {
65577
+ match: { fieldKey: F$4.part },
65578
+ autofillTemplates: FILL_FROM_INVENTORY_OPTION$2.map(({ optionField, toField }) => ({
65579
+ fromField: optionField,
65580
+ toField
65581
+ }))
65582
+ },
63971
65583
  {
63972
65584
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$4] },
63973
65585
  defaultProps: {
@@ -63975,6 +65587,14 @@ const fields$4 = [
63975
65587
  fieldDisabled: true,
63976
65588
  required: false
63977
65589
  }
65590
+ },
65591
+ {
65592
+ match: { fieldKey: F$4.stocktake },
65593
+ defaultProps: {
65594
+ enableRangeValidate: true,
65595
+ minValidateMode: RangeValidateMode.Fixed_Number,
65596
+ minValue: 0
65597
+ }
63978
65598
  }
63979
65599
  ];
63980
65600
  const TABLE_TYPE$8 = "part-stocktake";
@@ -64072,6 +65692,8 @@ const F$3 = {
64072
65692
  partCode: "part_id_code_",
64073
65693
  /** 备件规格 */
64074
65694
  partSpec: "part_id_spec_",
65695
+ /** 消耗数量 */
65696
+ qtyConsumed: "qty_consumed_",
64075
65697
  /** 数量单位 */
64076
65698
  qtyUom: "qty_uom_id_",
64077
65699
  /** 库存数量 */
@@ -64105,7 +65727,25 @@ const CLEAR_ON_PART_EMPTY = [
64105
65727
  F$3.storageZone,
64106
65728
  F$3.location
64107
65729
  ];
65730
+ const FILL_FROM_INVENTORY_OPTION$1 = [
65731
+ { optionField: "id_", toField: F$3.inventory },
65732
+ { optionField: "part_id_name_", toField: F$3.partName },
65733
+ { optionField: "part_id_code_", toField: F$3.partCode },
65734
+ { optionField: "part_id_spec_", toField: F$3.partSpec },
65735
+ { optionField: "uom_id_", toField: F$3.qtyUom },
65736
+ { optionField: "stock_num_", toField: F$3.stock },
65737
+ { optionField: "warehouse_id_", toField: F$3.warehouse },
65738
+ { optionField: "storage_zone_id_", toField: F$3.storageZone },
65739
+ { optionField: "location_id_", toField: F$3.location }
65740
+ ];
64108
65741
  const fields$3 = [
65742
+ {
65743
+ match: { fieldKey: F$3.part },
65744
+ autofillTemplates: FILL_FROM_INVENTORY_OPTION$1.map(({ optionField, toField }) => ({
65745
+ fromField: optionField,
65746
+ toField
65747
+ }))
65748
+ },
64109
65749
  {
64110
65750
  match: { fieldKey: [...DISABLED_INPUT_FIELDS$3] },
64111
65751
  defaultProps: {
@@ -64113,6 +65753,14 @@ const fields$3 = [
64113
65753
  fieldDisabled: true,
64114
65754
  required: false
64115
65755
  }
65756
+ },
65757
+ {
65758
+ match: { fieldKey: F$3.qtyConsumed },
65759
+ defaultProps: {
65760
+ enableRangeValidate: true,
65761
+ minValidateMode: RangeValidateMode.Fixed_Number,
65762
+ minValue: 0
65763
+ }
64116
65764
  }
64117
65765
  ];
64118
65766
  const TABLE_TYPE$7 = "device-part-consume";
@@ -64891,6 +66539,7 @@ const SHOW_BARCODE_RULES = /* @__PURE__ */ new Set([
64891
66539
  SubTableType.STERILIZE_BATCH
64892
66540
  ]);
64893
66541
  const SHOW_AUTO_LOAD_STOCK = /* @__PURE__ */ new Set([SubTableType.STOCKTAKE]);
66542
+ const SHOW_STOCKTAKE_DIMENSION = /* @__PURE__ */ new Set([SubTableType.STOCKTAKE]);
64894
66543
  const BIZ_TABLE_CONFIG_SEED_TYPES = /* @__PURE__ */ new Set([
64895
66544
  SubTableType.STOCKTAKE,
64896
66545
  SubTableType.ALLOCATE,
@@ -64905,6 +66554,7 @@ function resolveDesignPanelFeatures(tableType) {
64905
66554
  const showConfirmBeforeDelete = !NO_CONFIRM_BEFORE_DELETE.has(type4);
64906
66555
  const showBarcodeParsingRules = SHOW_BARCODE_RULES.has(type4);
64907
66556
  const showAutoLoadStock = SHOW_AUTO_LOAD_STOCK.has(type4);
66557
+ const showStocktakeDimension = SHOW_STOCKTAKE_DIMENSION.has(type4);
64908
66558
  const showQuickFill = type4 === SubTableType.DEFAULT;
64909
66559
  const showConfigSection = type4 !== SubTableType.MATERIAL_BALANCE && Boolean(configHeaderKey || showConfirmBeforeDelete || showQuickFill || showBarcodeParsingRules);
64910
66560
  return {
@@ -64912,6 +66562,7 @@ function resolveDesignPanelFeatures(tableType) {
64912
66562
  showConfirmBeforeDelete,
64913
66563
  showBarcodeParsingRules,
64914
66564
  showAutoLoadStock,
66565
+ showStocktakeDimension,
64915
66566
  showAutoMergeInCells: type4 !== SubTableType._2D,
64916
66567
  configHeaderKey,
64917
66568
  showConfigSection
@@ -65428,13 +67079,28 @@ function useNocodeFormWidget(props, emit) {
65428
67079
  }
65429
67080
  async function handleEvent(eventType, callback, valueData, optionDetail) {
65430
67081
  await nextTick$1();
67082
+ const patchMcRowComments = (field2) => {
67083
+ if (!MCTableC || !dataRelationShip?.mcValidatorLocationList?.length || !["product_id_", "material_no_", "qty_", "expiration_date_"].includes(field2)) {
67084
+ return;
67085
+ }
67086
+ const { keys: keys2, add } = MCTableC.getRowCommentPatch(props.formData, field2);
67087
+ const next = { ...dataRelationShip.mcValidatorMessageMap ?? {} };
67088
+ keys2.forEach((k) => delete next[k]);
67089
+ Object.assign(next, add);
67090
+ dataRelationShip.mcValidatorMessageMap = next;
67091
+ dataRelationShip.mcValidatorLocationList = Object.keys(next);
67092
+ };
65431
67093
  if (MCTableC && eventType === "onChange") {
65432
- MCTableC.handleChange({
67094
+ await MCTableC.handleChange({
65433
67095
  field: targetFieldId,
65434
67096
  row: props.formData,
65435
67097
  value: value.value,
65436
67098
  option: valueData
65437
67099
  });
67100
+ patchMcRowComments(targetFieldId);
67101
+ }
67102
+ if (MCTableC && eventType === "onBlur") {
67103
+ patchMcRowComments(targetFieldId);
65438
67104
  }
65439
67105
  if (subTableCore && eventType === "onChange") {
65440
67106
  subTableCore.handleChange({
@@ -65509,6 +67175,7 @@ function useNocodeFormWidget(props, emit) {
65509
67175
  }
65510
67176
  const annList = dataRelationShip?.annCellLocationList;
65511
67177
  const validatorList = dataRelationShip?.validatorLocationList;
67178
+ const mcValidatorList = dataRelationShip?.mcValidatorLocationList;
65512
67179
  const colIdx = resolveSubtableColIdx();
65513
67180
  const matchedAnnLoc = props.subtableFieldId ? resolveAnnotationFieldLocation({
65514
67181
  annList,
@@ -65519,7 +67186,7 @@ function useNocodeFormWidget(props, emit) {
65519
67186
  }) : dataRelationShip?.annSwitchStatus && Array.isArray(annList) && fieldId && annList.includes(fieldId) ? fieldId : void 0;
65520
67187
  const annIncluded = !!dataRelationShip?.annSwitchStatus && !!matchedAnnLoc;
65521
67188
  const isSelected = isAnnLocationSelected(dataRelationShip?.annSelectId, matchedAnnLoc);
65522
- const isInvalid = dataRelationShip?.platformType !== PlatformEnum.INTEGRATION_PAAS_DP && !dataRelationShip?.annSwitchStatus && Array.isArray(validatorList) && !!fieldId && validatorList.includes(fieldId);
67189
+ const isInvalid = dataRelationShip?.platformType !== PlatformEnum.INTEGRATION_PAAS_DP && !dataRelationShip?.annSwitchStatus && !!fieldId && (Array.isArray(validatorList) && validatorList.includes(fieldId) || Array.isArray(mcValidatorList) && mcValidatorList.includes(fieldId));
65523
67190
  const annClassList = [];
65524
67191
  if (annIncluded && matchedAnnLoc) {
65525
67192
  annClassList.push(matchedAnnLoc, "annotation-mark");
@@ -66200,27 +67867,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
66200
67867
  case "revo-grid":
66201
67868
  return import(
66202
67869
  /* webpackMode: "lazy" */
66203
- "./revo-grid.entry-D7L9YPVS.js"
67870
+ "./revo-grid.entry-DW8yYngF.js"
66204
67871
  ).then(processMod, consoleError);
66205
67872
  case "revogr-filter-panel":
66206
67873
  return import(
66207
67874
  /* webpackMode: "lazy" */
66208
- "./revogr-filter-panel.entry-OJyr7l1E.js"
67875
+ "./revogr-filter-panel.entry-CXpo_Btw.js"
66209
67876
  ).then(processMod, consoleError);
66210
67877
  case "revogr-attribution_7":
66211
67878
  return import(
66212
67879
  /* webpackMode: "lazy" */
66213
- "./revogr-attribution_7.entry-Cp0OE2PX.js"
67880
+ "./revogr-attribution_7.entry-WnSOjAfL.js"
66214
67881
  ).then(processMod, consoleError);
66215
67882
  case "revogr-clipboard_3":
66216
67883
  return import(
66217
67884
  /* webpackMode: "lazy" */
66218
- "./revogr-clipboard_3.entry-CcGTw0f4.js"
67885
+ "./revogr-clipboard_3.entry-5f1ZtJWy.js"
66219
67886
  ).then(processMod, consoleError);
66220
67887
  case "revogr-data_4":
66221
67888
  return import(
66222
67889
  /* webpackMode: "lazy" */
66223
- "./revogr-data_4.entry-Bh7oCpj9.js"
67890
+ "./revogr-data_4.entry-BwcXhOPY.js"
66224
67891
  ).then(processMod, consoleError);
66225
67892
  }
66226
67893
  }
@@ -71960,7 +73627,7 @@ const createObservableMap = (defaultState2, shouldUpdate = (a, b) => a !== b) =>
71960
73627
  let states = new Map(Object.entries(initialState2));
71961
73628
  const proxyAvailable = typeof Proxy !== "undefined";
71962
73629
  const plainState = proxyAvailable ? null : {};
71963
- const handlers = {
73630
+ const handlers2 = {
71964
73631
  dispose: [],
71965
73632
  get: [],
71966
73633
  set: [],
@@ -71972,14 +73639,14 @@ const createObservableMap = (defaultState2, shouldUpdate = (a, b) => a !== b) =>
71972
73639
  if (!proxyAvailable) {
71973
73640
  syncPlainStateKeys();
71974
73641
  }
71975
- handlers.reset.forEach((cb) => cb());
73642
+ handlers2.reset.forEach((cb) => cb());
71976
73643
  };
71977
73644
  const dispose = () => {
71978
- handlers.dispose.forEach((cb) => cb());
73645
+ handlers2.dispose.forEach((cb) => cb());
71979
73646
  reset();
71980
73647
  };
71981
73648
  const get2 = (propName) => {
71982
- handlers.get.forEach((cb) => cb(propName));
73649
+ handlers2.get.forEach((cb) => cb(propName));
71983
73650
  return states.get(propName);
71984
73651
  };
71985
73652
  const set2 = (propName, value) => {
@@ -71989,7 +73656,7 @@ const createObservableMap = (defaultState2, shouldUpdate = (a, b) => a !== b) =>
71989
73656
  if (!proxyAvailable) {
71990
73657
  ensurePlainProperty(propName);
71991
73658
  }
71992
- handlers.set.forEach((cb) => cb(propName, value, oldValue));
73659
+ handlers2.set.forEach((cb) => cb(propName, value, oldValue));
71993
73660
  }
71994
73661
  };
71995
73662
  const state = proxyAvailable ? new Proxy(initialState2, {
@@ -72017,9 +73684,9 @@ const createObservableMap = (defaultState2, shouldUpdate = (a, b) => a !== b) =>
72017
73684
  return plainState;
72018
73685
  })();
72019
73686
  const on = (eventName, callback) => {
72020
- handlers[eventName].push(callback);
73687
+ handlers2[eventName].push(callback);
72021
73688
  return () => {
72022
- removeFromArray(handlers[eventName], callback);
73689
+ removeFromArray(handlers2[eventName], callback);
72023
73690
  };
72024
73691
  };
72025
73692
  const onChange = (propName, cb) => {
@@ -72061,13 +73728,13 @@ const createObservableMap = (defaultState2, shouldUpdate = (a, b) => a !== b) =>
72061
73728
  };
72062
73729
  const forceUpdate2 = (key) => {
72063
73730
  const oldValue = states.get(key);
72064
- handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
73731
+ handlers2.set.forEach((cb) => cb(key, oldValue, oldValue));
72065
73732
  };
72066
73733
  const removeListener = (propName, listener) => {
72067
73734
  const listenerInfo = changeListeners.get(listener);
72068
73735
  if (listenerInfo && listenerInfo.propName === propName) {
72069
- removeFromArray(handlers.set, listenerInfo.setHandler);
72070
- removeFromArray(handlers.reset, listenerInfo.resetHandler);
73736
+ removeFromArray(handlers2.set, listenerInfo.setHandler);
73737
+ removeFromArray(handlers2.reset, listenerInfo.resetHandler);
72071
73738
  changeListeners.delete(listener);
72072
73739
  }
72073
73740
  };
@@ -76456,338 +78123,371 @@ function groupFixedTableRows(rows, options) {
76456
78123
  return result;
76457
78124
  }
76458
78125
  export {
76459
- buildUUID as $,
76460
- commonjsGlobal as A,
78126
+ BooleanShowMode as $,
78127
+ FieldTypeToJs as A,
76461
78128
  BwipCodeType as B,
76462
- CreateType as C,
76463
- getDefaultExportFromCjs as D,
76464
- uuid2 as E,
78129
+ ComponentTypeEnum as C,
78130
+ DateObjectContext as D,
78131
+ CreateType as E,
76465
78132
  FIELD_TYPE as F,
76466
- PaperWidgeValueType as G,
76467
- useCalculateFormula as H,
76468
- onlineFormMasterModelTypeEnum as I,
76469
- FIELD_TYPE_WAREHOUSE as J,
76470
- FieldDefaultValueTypeEnum as K,
78133
+ useModal as G,
78134
+ requireEstraverse as H,
78135
+ commonjsGlobal as I,
78136
+ getDefaultExportFromCjs as J,
78137
+ uuid2 as K,
76471
78138
  LineType as L,
76472
- FormTypeEnum as M,
76473
- mitt as N,
78139
+ PaperWidgeValueType as M,
78140
+ useCalculateFormula as N,
76474
78141
  Orientation as O,
76475
78142
  PaginationFormat as P,
76476
- PlatformEnum as Q,
76477
- LabelPosition as R,
78143
+ onlineFormMasterModelTypeEnum as Q,
78144
+ FieldDefaultValueTypeEnum as R,
76478
78145
  SUB_TABLE_PANEL_TYPE_NAME as S,
76479
- BooleanShowMode as T,
78146
+ TRACE_FIELD_TYPES as T,
76480
78147
  UniqueConstraintType as U,
76481
- SignatureNumberTypeEnum as V,
76482
- SignatureTimeTypeEnum as W,
76483
- SignShowTypeEnum as X,
76484
- SignatureTypeEnum as Y,
76485
- PaperSizeMap as Z,
76486
- _export_sfc as _,
76487
- getProfile as a,
76488
- isBomGranted as a$,
76489
- FieldIconMap as a0,
76490
- CellWidgetViewState as a1,
76491
- DiagonalDirection as a2,
76492
- WidgetImageSizeMode as a3,
76493
- LineDirection as a4,
76494
- TimeDiffFormat as a5,
76495
- DiagonalVertex as a6,
76496
- resolveDiagonalVertex as a7,
76497
- getThemeColorByTableType as a8,
76498
- ViewTypeEnum as a9,
76499
- useNocodeFormWidget as aA,
76500
- DateFormat as aB,
76501
- renderUtils as aC,
76502
- BindCmpStyleEnum as aD,
76503
- DecimalDisplayMode as aE,
76504
- NCB_PROVIDE as aF,
76505
- normalizeRefLoaderResult as aG,
76506
- normalizeProductionContainerOptions as aH,
76507
- refUtils as aI,
76508
- LOT_CONTAINER_ROLE as aJ,
76509
- resolveLotRecordByValue as aK,
76510
- getParseRuleInfo as aL,
76511
- getParseRuleValue as aM,
76512
- useCurrentPageFormState as aN,
76513
- materialCheck as aO,
76514
- getLotLockedReason as aP,
76515
- RangeValidateMode as aQ,
76516
- RenderModeEnum as aR,
76517
- useDependency as aS,
76518
- FormulaRuleFieldKeyEnum as aT,
76519
- formulaRuleFieldDict as aU,
76520
- resolveDesignPanelFeatures as aV,
76521
- BIZ_TABLE_CONFIG_SEED_TYPES as aW,
76522
- getAllTableProfiles as aX,
76523
- isRepeatingSubTablePanelType as aY,
76524
- useNocodeEmitter as aZ,
76525
- fetchHistoryConsume as a_,
76526
- useThrottleFn as aa,
76527
- noop as ab,
76528
- isIOS as ac,
76529
- isDynamicSubTablePanelType as ad,
76530
- isFixedSubTablePanelType as ae,
76531
- EmptySymbol as af,
76532
- ASSIGNMENTSTRATEGY_ENUM as ag,
76533
- Dependency_ENUM as ah,
76534
- ExpressionModeEnum as ai,
76535
- ExpressionTabEnum as aj,
76536
- ReturnTypeEnum as ak,
76537
- ImageDisplayModeEnum as al,
76538
- EntityModelCategoryEnum as am,
76539
- resolveLotDisplayLabel as an,
76540
- CheckDsTypeEnum as ao,
76541
- DeviceLink as ap,
76542
- DeviceParamsTypeTitle as aq,
76543
- AITooltips as ar,
76544
- DenoiseMethodOptions as as,
76545
- BinarizeMethodOptions as at,
76546
- ParamModelTypeEnum as au,
76547
- JoinModelTypeEum as av,
76548
- sqlUtils as aw,
76549
- useWidgetStaticAttrs as ax,
76550
- setSelectValidatorId as ay,
76551
- setSelectAnnotationId as az,
76552
- isBusinessSubTableProfile as b,
76553
- fetchCustomCheckDsData as b$,
76554
- runRowHandler as b0,
76555
- F$5 as b1,
76556
- INVENTORY_BASE_FIELDS as b2,
76557
- WAREHOUSE_IDENTITY_GROUP_KEYS as b3,
76558
- AUTO_LOAD_READONLY_SELECT_FIELDS as b4,
76559
- FILL_FROM_INVENTORY_OPTION$1 as b5,
76560
- calcFillData as b6,
76561
- F$2 as b7,
76562
- FILL_FROM_INVENTORY_OPTION as b8,
76563
- extractKeywordFromQueryData as b9,
76564
- mergeByMultiKey as bA,
76565
- commonUtils as bB,
76566
- getRowId as bC,
76567
- collectFormChangeFieldLocations as bD,
76568
- nextFormChangeRowViewHistoryId as bE,
76569
- BpmnSignatureTypeEnum as bF,
76570
- ButtonTypeEnum as bG,
76571
- CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bH,
76572
- CodeRunner as bI,
76573
- Config_Fields as bJ,
76574
- ControlStatusEnum as bK,
76575
- EBR_PROVIDE_ENUM as bL,
76576
- EFieldBizTypeEnum as bM,
76577
- FieldSysVarDefaultValueEnum as bN,
76578
- MobileFillTypeEnum as bO,
76579
- OfficeTypeEnum as bP,
76580
- PosEnum as bQ,
76581
- RangeCompareOp as bR,
76582
- SummaryApproveHisTypeEnum as bS,
76583
- applyCheckDsDataToRuntime as bT,
76584
- applyMedProCheckDsDataToRuntime as bU,
76585
- buildFormChangeDisplayRows as bV,
76586
- buildStableFieldLocation as bW,
76587
- deleteSubtableRow as bX,
76588
- detailsHaveFormChangeRowOps as bY,
76589
- extractFormChangeRowDetails as bZ,
76590
- fetchCheckDsDataForTable as b_,
76591
- F as ba,
76592
- isProductManuallyEditable as bb,
76593
- applyFillFromMfgOrderOption as bc,
76594
- applyFillFromOption as bd,
76595
- applyFillFromProductOption as be,
76596
- MATERIAL_CONTAINER_ID as bf,
76597
- F$9 as bg,
76598
- F$8 as bh,
76599
- FILL_FROM_INVENTORY_OPTION$2 as bi,
76600
- transformUtils as bj,
76601
- settleAndValidateDisplay as bk,
76602
- unregisterValidationContext as bl,
76603
- clearFormRules as bm,
76604
- registerValidationContext as bn,
76605
- requestFullValidation as bo,
76606
- requestDisplayValidation as bp,
76607
- closeValidatorPopovers as bq,
76608
- baseDataUtils as br,
76609
- getRawFormRuleMeta as bs,
76610
- enrichFormChangeRowDetails as bt,
76611
- settleAfterModeSwitch as bu,
76612
- calcUtils as bv,
76613
- uuid2$1 as bw,
76614
- normalizeToArray as bx,
76615
- safeParseArray as by,
76616
- BpmnNodeTypeEnum as bz,
76617
- getProfileByTableType as c,
76618
- getSubTableTypeByRefModelType as c$,
76619
- fetchMedProCheckDsData as c0,
76620
- getCheckTableSnapshotKey as c1,
76621
- getFormChangeRowKey as c2,
76622
- getFormChangeRowOp as c3,
76623
- getParseRuleConfig as c4,
76624
- getSubTableQuickFillInfo as c5,
76625
- handleOldConfig as c6,
76626
- hasAnyCheckTableSnapshot as c7,
76627
- hasByTableCheckTableSnapshot as c8,
76628
- hasSharedCheckTableSnapshot as c9,
76629
- ensureFrontRowKey as cA,
76630
- FRONT_ROW_KEY as cB,
76631
- q as cC,
76632
- groupFixedTableRows as cD,
76633
- QUICK_FILL_ALLOWED_FIELDS as cE,
76634
- processQuickFillRows as cF,
76635
- getIsGroupEmpty as cG,
76636
- tryOnScopeDispose as cH,
76637
- isClient as cI,
76638
- tryOnMounted as cJ,
76639
- resolveUnref as cK,
76640
- isString as cL,
76641
- identity$1 as cM,
76642
- getAugmentedNamespace as cN,
76643
- watchDebounced as cO,
76644
- CardControlEnum as cP,
76645
- EntityModelTypeEnum as cQ,
76646
- FIELD_TYPE_BASIC as cR,
76647
- FIELD_TYPE_INSPECTION as cS,
76648
- FIELD_TYPE_LOGIC as cT,
76649
- FIELD_TYPE_MATERIAL as cU,
76650
- FIELD_TYPE_PRETREATMENT as cV,
76651
- FIELD_TYPE_PRODUCE as cW,
76652
- FIELD_TYPE_STERILIZATION as cX,
76653
- FormDesignEnum as cY,
76654
- RecordNoGenerateEnum as cZ,
76655
- TagTypeEnum as c_,
76656
- insertSubtableRows as ca,
76657
- isAnnLocationSelected as cb,
76658
- isFormChangeGhostRow as cc,
76659
- isMedProSuite as cd,
76660
- isRowAddedInCurrentFormChange as ce,
76661
- jsonSchemaUtils as cf,
76662
- judgeUnique as cg,
76663
- migrateDiagonalDirectionToVertex as ch,
76664
- parseFrontConfig as ci,
76665
- recordSubtableRowAdd as cj,
76666
- recordSubtableRowDelete as ck,
76667
- relocateDeletedRowsToEnd as cl,
76668
- requestMedProCheckDsData as cm,
76669
- requestNonMedProCheckDsData as cn,
76670
- resolveAnnotationFieldLocation as co,
76671
- resolveFormChangeRowUi as cp,
76672
- resolveRowFormChangeMark as cq,
76673
- setSelectMobileTdId as cr,
76674
- stockCheck as cs,
76675
- useOnlineFormActionButton as ct,
76676
- assembleRules as cu,
76677
- deleteFormRule as cv,
76678
- setFormRule as cw,
76679
- isReferenceOptionActive as cx,
76680
- validateAllFields as cy,
76681
- runValidation as cz,
76682
- SubTableType as d,
76683
- DRAGG_TEXT as d$,
76684
- getExclusiveBusinessTypeTokens as d0,
76685
- registerInstance as d1,
76686
- createEvent as d2,
76687
- getColumnByProp as d3,
76688
- timeout as d4,
76689
- getVisibleSourceItem as d5,
76690
- getColumns as d6,
76691
- rowTypes as d7,
76692
- GroupingRowPlugin as d8,
76693
- StretchColumn as d9,
76694
- SelectionStore as dA,
76695
- cropCellToMax as dB,
76696
- nextCell as dC,
76697
- isRowType as dD,
76698
- ViewportStore as dE,
76699
- AndOrButton as dF,
76700
- ReorderButton as dG,
76701
- TrashButton as dH,
76702
- isFilterBtn as dI,
76703
- ColumnService as dJ,
76704
- MOBILE_CLASS as dK,
76705
- SELECTION_BORDER_CLASS as dL,
76706
- getCellData as dM,
76707
- getCellEditor as dN,
76708
- getRange as dO,
76709
- isRangeSingleCell as dP,
76710
- codesLetter as dQ,
76711
- calculateRowHeaderSize as dR,
76712
- ROW_HEADER_TYPE as dS,
76713
- getScrollbarSize as dT,
76714
- FOCUS_CLASS as dU,
76715
- CELL_HANDLER_CLASS as dV,
76716
- TMP_SELECTION_BG_CLASS as dW,
76717
- getItemByPosition as dX,
76718
- EDIT_INPUT_WR as dY,
76719
- keyValues as dZ,
76720
- isObject as d_,
76721
- isStretchPlugin as da,
76722
- AutoSizeColumnPlugin as db,
76723
- FilterPlugin as dc,
76724
- ExportFilePlugin as dd,
76725
- SortingPlugin as de,
76726
- ColumnMovePlugin as df,
76727
- ThemeService as dg,
76728
- h as dh,
76729
- Host as di,
76730
- getElement as dj,
76731
- BasePlugin as dk,
76732
- reduce as dl,
76733
- columnTypes as dm,
76734
- debounce$1 as dn,
76735
- RESIZE_INTERVAL as dp,
76736
- DimensionStore as dq,
76737
- gatherTrimmedItems as dr,
76738
- getColumnSizes as ds,
76739
- getItemByIndex as dt,
76740
- DataStore as du,
76741
- getSourceItem as dv,
76742
- getSourceItemVirtualIndexByProp as dw,
76743
- getColumnType as dx,
76744
- setSourceByPhysicalIndex as dy,
76745
- setSourceByVirtualIndex as dz,
76746
- expandAutofillTemplates as e,
76747
- PSEUDO_GROUP_ITEM as e0,
76748
- GROUP_EXPANDED as e1,
76749
- GROUP_DEPTH as e2,
76750
- GROUP_EXPAND_BTN as e3,
76751
- DATA_ROW as e4,
76752
- isGroupingColumn as e5,
76753
- GROUP_COLUMN_PROP as e6,
76754
- getCellRaw as e7,
76755
- DATA_COL as e8,
76756
- CELL_CLASS as e9,
76757
- Build as ea,
76758
- isRowDragService as eb,
76759
- DRAG_ICON_CLASS as ec,
76760
- DRAGGABLE_CLASS as ed,
76761
- getCellDataParsed as ee,
76762
- GROUP_EXPAND_EVENT as ef,
76763
- isGrouping as eg,
76764
- HEADER_ROW_CLASS as eh,
76765
- HEADER_ACTUAL_ROW_CLASS as ei,
76766
- ROW_FOCUSED_CLASS as ej,
76767
- HEADER_SORTABLE_CLASS as ek,
76768
- MIN_COL_SIZE as el,
76769
- FilterButton as em,
76770
- HeaderCellRenderer as en,
76771
- HEADER_CLASS as eo,
76772
- getAllBusinessRefModelTypes as f,
78148
+ FormTypeEnum as V,
78149
+ WAREHOUSE_FIELD_TYPES as W,
78150
+ mitt as X,
78151
+ isDateObjectField as Y,
78152
+ PlatformEnum as Z,
78153
+ LabelPosition as _,
78154
+ isSameFieldValue as a,
78155
+ useNocodeFormWidget as a$,
78156
+ SignatureNumberTypeEnum as a0,
78157
+ SignatureTimeTypeEnum as a1,
78158
+ SignShowTypeEnum as a2,
78159
+ SignatureTypeEnum as a3,
78160
+ _export_sfc as a4,
78161
+ PaperSizeMap as a5,
78162
+ getFieldMain as a6,
78163
+ buildUUID as a7,
78164
+ FieldIconMap as a8,
78165
+ normalizeFieldType as a9,
78166
+ getSubTableTypeByRefModelType as aA,
78167
+ EntityModelCategoryEnum as aB,
78168
+ EmptySymbol as aC,
78169
+ ASSIGNMENTSTRATEGY_ENUM as aD,
78170
+ Dependency_ENUM as aE,
78171
+ resolveLotDisplayLabel as aF,
78172
+ CheckDsTypeEnum as aG,
78173
+ DeviceLink as aH,
78174
+ DeviceParamsTypeTitle as aI,
78175
+ AITooltips as aJ,
78176
+ DenoiseMethodOptions as aK,
78177
+ BinarizeMethodOptions as aL,
78178
+ ParamModelTypeEnum as aM,
78179
+ JoinModelTypeEum as aN,
78180
+ sqlUtils as aO,
78181
+ useWidgetStaticAttrs as aP,
78182
+ setSelectValidatorId as aQ,
78183
+ setSelectAnnotationId as aR,
78184
+ DateFormat as aS,
78185
+ LOT_CONTAINER_ROLE as aT,
78186
+ buildLotSnListQuery as aU,
78187
+ renderUtils as aV,
78188
+ NCB_PROVIDE as aW,
78189
+ resolveLotRecordByValue as aX,
78190
+ materialCheck as aY,
78191
+ getLotLockedReason as aZ,
78192
+ validateReinspectionDate as a_,
78193
+ FieldSysVarDefaultValueEnum as aa,
78194
+ CellWidgetViewState as ab,
78195
+ DiagonalDirection as ac,
78196
+ WidgetImageSizeMode as ad,
78197
+ LineDirection as ae,
78198
+ TimeDiffFormat as af,
78199
+ DiagonalVertex as ag,
78200
+ resolveDiagonalVertex as ah,
78201
+ getThemeColorByTableType as ai,
78202
+ ViewTypeEnum as aj,
78203
+ useThrottleFn as ak,
78204
+ noop as al,
78205
+ isIOS as am,
78206
+ isDynamicSubTablePanelType as an,
78207
+ isFixedSubTablePanelType as ao,
78208
+ ExpressionModeEnum as ap,
78209
+ ReturnTypeEnum as aq,
78210
+ ExpressionTabEnum as ar,
78211
+ RangeValidateMode as as,
78212
+ RangeCompareOp as at,
78213
+ DecimalDisplayMode as au,
78214
+ ImageDisplayModeEnum as av,
78215
+ FormDesignEnum as aw,
78216
+ BASIC_FIELD_TYPES as ax,
78217
+ watchDebounced as ay,
78218
+ getExclusiveBusinessTypeTokens as az,
78219
+ companionLabelKey as b,
78220
+ clearFormRules as b$,
78221
+ BindCmpStyleEnum as b0,
78222
+ getParseRuleInfo as b1,
78223
+ getParseRuleValue as b2,
78224
+ useCurrentPageFormState as b3,
78225
+ STOCKTAKE_DIMENSION as b4,
78226
+ F$5 as b5,
78227
+ resolveStocktakeSelectApi as b6,
78228
+ normalizeRefLoaderResult as b7,
78229
+ normalizeProductionContainerOptions as b8,
78230
+ buildProductionLotListQuery as b9,
78231
+ FILL_FROM_INVENTORY_OPTION$1 as bA,
78232
+ INVENTORY_BASE_FIELDS as bB,
78233
+ resolveGroupByWarehouse as bC,
78234
+ AUTO_LOAD_READONLY_SELECT_FIELDS as bD,
78235
+ buildFillFromInventoryOption as bE,
78236
+ calcFillData as bF,
78237
+ resolveStocktakeInventoryApi as bG,
78238
+ F$2 as bH,
78239
+ FILL_FROM_INVENTORY_OPTION as bI,
78240
+ extractKeywordFromQueryData as bJ,
78241
+ composeProductionLotListQuery as bK,
78242
+ F as bL,
78243
+ isProductManuallyEditable as bM,
78244
+ applyFillFromMfgOrderOption as bN,
78245
+ applyFillFromOption as bO,
78246
+ applyFillFromProductOption as bP,
78247
+ MATERIAL_CONTAINER_ID as bQ,
78248
+ F$9 as bR,
78249
+ PRODUCT_QUICK_SEARCH_FIELDS as bS,
78250
+ PRODUCT_QUICK_SEARCH_EXP as bT,
78251
+ isProductManuallyEditable$1 as bU,
78252
+ applyFillFromMaterialNoOption as bV,
78253
+ applyFillFromProductOption$1 as bW,
78254
+ F$8 as bX,
78255
+ FILL_FROM_INVENTORY_OPTION$4 as bY,
78256
+ settleAndValidateDisplay as bZ,
78257
+ unregisterValidationContext as b_,
78258
+ refUtils as ba,
78259
+ transformUtils as bb,
78260
+ buildDeviceFilterQuery as bc,
78261
+ DEVICE_GROUP_QUERY_KEY as bd,
78262
+ useOnlineFormTransformField2Component as be,
78263
+ RenderModeEnum as bf,
78264
+ useDependency as bg,
78265
+ FormulaRuleFieldKeyEnum as bh,
78266
+ formulaRuleFieldDict as bi,
78267
+ resolveDesignPanelFeatures as bj,
78268
+ BIZ_TABLE_CONFIG_SEED_TYPES as bk,
78269
+ STOCKTAKE_DIMENSION_OPTIONS as bl,
78270
+ getAllTableProfiles as bm,
78271
+ isRepeatingSubTablePanelType as bn,
78272
+ useNocodeEmitter as bo,
78273
+ fetchHistoryConsume as bp,
78274
+ isBomGranted as bq,
78275
+ F$3 as br,
78276
+ F$4 as bs,
78277
+ runRowHandler as bt,
78278
+ F$7 as bu,
78279
+ F$6 as bv,
78280
+ FILL_FROM_INVENTORY_OPTION$2 as bw,
78281
+ FILL_FROM_PART_OPTION as bx,
78282
+ FILL_FROM_INVENTORY_OPTION$3 as by,
78283
+ TABLE_TYPE$8 as bz,
78284
+ companionIdKey as c,
78285
+ recordSubtableRowDelete as c$,
78286
+ registerValidationContext as c0,
78287
+ requestFullValidation as c1,
78288
+ requestDisplayValidation as c2,
78289
+ closeValidatorPopovers as c3,
78290
+ baseDataUtils as c4,
78291
+ getRawFormRuleMeta as c5,
78292
+ enrichFormChangeRowDetails as c6,
78293
+ settleAfterModeSwitch as c7,
78294
+ calcUtils as c8,
78295
+ uuid2$1 as c9,
78296
+ buildStableFieldLocation as cA,
78297
+ deleteSubtableRow as cB,
78298
+ detailsHaveFormChangeRowOps as cC,
78299
+ extractFormChangeRowDetails as cD,
78300
+ fetchCheckDsDataForTable as cE,
78301
+ fetchCustomCheckDsData as cF,
78302
+ fetchMedProCheckDsData as cG,
78303
+ getCheckTableSnapshotKey as cH,
78304
+ getFormChangeRowKey as cI,
78305
+ getFormChangeRowOp as cJ,
78306
+ getParseRuleConfig as cK,
78307
+ getReinspectionDate as cL,
78308
+ getSubTableQuickFillInfo as cM,
78309
+ handleOldConfig as cN,
78310
+ hasAnyCheckTableSnapshot as cO,
78311
+ hasByTableCheckTableSnapshot as cP,
78312
+ hasSharedCheckTableSnapshot as cQ,
78313
+ insertSubtableRows as cR,
78314
+ isAnnLocationSelected as cS,
78315
+ isFormChangeGhostRow as cT,
78316
+ isMedProSuite as cU,
78317
+ isRowAddedInCurrentFormChange as cV,
78318
+ jsonSchemaUtils as cW,
78319
+ judgeUnique as cX,
78320
+ migrateDiagonalDirectionToVertex as cY,
78321
+ parseFrontConfig as cZ,
78322
+ recordSubtableRowAdd as c_,
78323
+ normalizeToArray as ca,
78324
+ safeParseArray as cb,
78325
+ BpmnNodeTypeEnum as cc,
78326
+ mergeByMultiKey as cd,
78327
+ commonUtils as ce,
78328
+ getRowId as cf,
78329
+ collectFormChangeFieldLocations as cg,
78330
+ nextFormChangeRowViewHistoryId as ch,
78331
+ BpmnSignatureTypeEnum as ci,
78332
+ ButtonTypeEnum as cj,
78333
+ CHECK_TABLE_MEDPRO_PROTOCOL_KEY as ck,
78334
+ CodeRunner as cl,
78335
+ Config_Fields as cm,
78336
+ ControlStatusEnum as cn,
78337
+ DEVICE_SEARCH_API as co,
78338
+ DeviceStatus as cp,
78339
+ EBR_PROVIDE_ENUM as cq,
78340
+ EFieldBizTypeEnum as cr,
78341
+ MobileFillTypeEnum as cs,
78342
+ OfficeTypeEnum as ct,
78343
+ PosEnum as cu,
78344
+ SummaryApproveHisTypeEnum as cv,
78345
+ applyCheckDsDataToRuntime as cw,
78346
+ applyMedProCheckDsDataToRuntime as cx,
78347
+ buildDeviceBaseQuery as cy,
78348
+ buildFormChangeDisplayRows as cz,
78349
+ isDataTableProfile as d,
78350
+ DataStore as d$,
78351
+ relocateDeletedRowsToEnd as d0,
78352
+ requestMedProCheckDsData as d1,
78353
+ requestNonMedProCheckDsData as d2,
78354
+ resolveAnnotationFieldLocation as d3,
78355
+ resolveFormChangeRowUi as d4,
78356
+ resolveRowFormChangeMark as d5,
78357
+ setSelectMobileTdId as d6,
78358
+ stockCheck as d7,
78359
+ useOnlineFormActionButton as d8,
78360
+ assembleRules as d9,
78361
+ createEvent as dA,
78362
+ getColumnByProp as dB,
78363
+ timeout as dC,
78364
+ getVisibleSourceItem as dD,
78365
+ getColumns as dE,
78366
+ rowTypes as dF,
78367
+ GroupingRowPlugin as dG,
78368
+ StretchColumn as dH,
78369
+ isStretchPlugin as dI,
78370
+ AutoSizeColumnPlugin as dJ,
78371
+ FilterPlugin as dK,
78372
+ ExportFilePlugin as dL,
78373
+ SortingPlugin as dM,
78374
+ ColumnMovePlugin as dN,
78375
+ ThemeService as dO,
78376
+ h as dP,
78377
+ Host as dQ,
78378
+ getElement as dR,
78379
+ BasePlugin as dS,
78380
+ reduce as dT,
78381
+ columnTypes as dU,
78382
+ debounce$1 as dV,
78383
+ RESIZE_INTERVAL as dW,
78384
+ DimensionStore as dX,
78385
+ gatherTrimmedItems as dY,
78386
+ getColumnSizes as dZ,
78387
+ getItemByIndex as d_,
78388
+ deleteFormRule as da,
78389
+ setFormRule as db,
78390
+ isReferenceOptionActive as dc,
78391
+ validateAllFields as dd,
78392
+ runValidation as de,
78393
+ ensureFrontRowKey as df,
78394
+ FRONT_ROW_KEY as dg,
78395
+ buildError as dh,
78396
+ q as di,
78397
+ groupFixedTableRows as dj,
78398
+ QUICK_FILL_ALLOWED_FIELDS as dk,
78399
+ processQuickFillRows as dl,
78400
+ getIsGroupEmpty as dm,
78401
+ tryOnScopeDispose as dn,
78402
+ isClient as dp,
78403
+ tryOnMounted as dq,
78404
+ resolveUnref as dr,
78405
+ isString as ds,
78406
+ identity$1 as dt,
78407
+ getAugmentedNamespace as du,
78408
+ CardControlEnum as dv,
78409
+ EntityModelTypeEnum as dw,
78410
+ RecordNoGenerateEnum as dx,
78411
+ TagTypeEnum as dy,
78412
+ registerInstance as dz,
78413
+ getProfile as e,
78414
+ getSourceItem as e0,
78415
+ getSourceItemVirtualIndexByProp as e1,
78416
+ getColumnType as e2,
78417
+ setSourceByPhysicalIndex as e3,
78418
+ setSourceByVirtualIndex as e4,
78419
+ SelectionStore as e5,
78420
+ cropCellToMax as e6,
78421
+ nextCell as e7,
78422
+ isRowType as e8,
78423
+ ViewportStore as e9,
78424
+ GROUP_EXPAND_BTN as eA,
78425
+ DATA_ROW as eB,
78426
+ isGroupingColumn as eC,
78427
+ GROUP_COLUMN_PROP as eD,
78428
+ getCellRaw as eE,
78429
+ DATA_COL as eF,
78430
+ CELL_CLASS as eG,
78431
+ Build as eH,
78432
+ isRowDragService as eI,
78433
+ DRAG_ICON_CLASS as eJ,
78434
+ DRAGGABLE_CLASS as eK,
78435
+ getCellDataParsed as eL,
78436
+ GROUP_EXPAND_EVENT as eM,
78437
+ isGrouping as eN,
78438
+ HEADER_ROW_CLASS as eO,
78439
+ HEADER_ACTUAL_ROW_CLASS as eP,
78440
+ ROW_FOCUSED_CLASS as eQ,
78441
+ HEADER_SORTABLE_CLASS as eR,
78442
+ MIN_COL_SIZE as eS,
78443
+ FilterButton as eT,
78444
+ HeaderCellRenderer as eU,
78445
+ HEADER_CLASS as eV,
78446
+ AndOrButton as ea,
78447
+ ReorderButton as eb,
78448
+ TrashButton as ec,
78449
+ isFilterBtn as ed,
78450
+ ColumnService as ee,
78451
+ MOBILE_CLASS as ef,
78452
+ SELECTION_BORDER_CLASS as eg,
78453
+ getCellData as eh,
78454
+ getCellEditor as ei,
78455
+ getRange as ej,
78456
+ isRangeSingleCell as ek,
78457
+ codesLetter as el,
78458
+ calculateRowHeaderSize as em,
78459
+ ROW_HEADER_TYPE as en,
78460
+ getScrollbarSize as eo,
78461
+ FOCUS_CLASS as ep,
78462
+ CELL_HANDLER_CLASS as eq,
78463
+ TMP_SELECTION_BG_CLASS as er,
78464
+ getItemByPosition as es,
78465
+ EDIT_INPUT_WR as et,
78466
+ keyValues as eu,
78467
+ isObject as ev,
78468
+ DRAGG_TEXT as ew,
78469
+ PSEUDO_GROUP_ITEM as ex,
78470
+ GROUP_EXPANDED as ey,
78471
+ GROUP_DEPTH as ez,
78472
+ isBusinessSubTableProfile as f,
76773
78473
  getAllDataProfiles as g,
76774
- PaperWidgeType as h,
76775
- isDataTableProfile as i,
76776
- PageSizeEnum as j,
76777
- FIELD_TYPE_TRACE as k,
76778
- FIELD_TYPE_BUSINESS as l,
76779
- ComponentTypeEnum as m,
76780
- estraverse as n,
76781
- Syntax as o,
76782
- parse as p,
76783
- isDynamicCreateTarget as q,
76784
- resolveCreateTargetByTableType as r,
78474
+ getProfileByTableType as h,
78475
+ isBlank$c as i,
78476
+ resolveCreateTargetByTableType as j,
78477
+ expandAutofillTemplates as k,
78478
+ SubTableType as l,
78479
+ getAllBusinessRefModelTypes as m,
78480
+ PaperWidgeType as n,
78481
+ PageSizeEnum as o,
78482
+ BUSINESS_FIELD_TYPES as p,
78483
+ resolveFieldRenderComponent as q,
78484
+ runDateObjectHandler as r,
76785
78485
  src as s,
76786
- CellType as t,
76787
- useOnlineFormTransformField2Component as u,
76788
- isDynamicCellSubTable as v,
76789
- api as w,
76790
- FieldTypeToJs as x,
76791
- useModal as y,
76792
- requireEstraverse as z
78486
+ parse as t,
78487
+ estraverse as u,
78488
+ Syntax as v,
78489
+ isDynamicCreateTarget as w,
78490
+ CellType as x,
78491
+ isDynamicCellSubTable as y,
78492
+ api as z
76793
78493
  };