@gct-paas/excel 0.1.26 → 0.1.28-beta.0

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 (302) hide show
  1. package/dist/{VueVideoPlayer-0DuOfiQX.js → VueVideoPlayer-DoCV5anE.js} +2 -2
  2. package/dist/{agg-design-Bs7uvazc.js → agg-design-FWqhGZMN.js} +1 -1
  3. package/dist/{agg-props-Bp3BzB8p.js → agg-props-Demj2zwb.js} +1 -1
  4. package/dist/{agg-style-5rib-2BW.js → agg-style-0D2plP6P.js} +1 -1
  5. package/dist/{align-editor-DQ8dFN7Z.js → align-editor-BT_0oTzG.js} +1 -1
  6. package/dist/{attach-fields-editor-C96vYS5i.js → attach-fields-editor-Bh-SLSaJ.js} +5 -5
  7. package/dist/{barcode-design-GARKK2E6.js → barcode-design-B6DeTtec.js} +2 -2
  8. package/dist/base/index.es.js +437 -586
  9. package/dist/{base-font-editor-D1Yhc2dM.js → base-font-editor-rUy04_I5.js} +2 -2
  10. package/dist/{boolean-design-E8aTzvqE.js → boolean-design-s-0j811G.js} +2 -2
  11. package/dist/{boolean-props-DXxrp-m9.js → boolean-props-BKDCL1yv.js} +3 -3
  12. package/dist/{boolean-style-CL0DlbC0.js → boolean-style-z1WMMTXQ.js} +4 -4
  13. package/dist/{cell-upload-Mt9EhaFR.js → cell-upload-DIfLFlqF.js} +1 -1
  14. package/dist/{date-range-editor-CWD3tYMA.js → date-range-editor-Bl5qPmvu.js} +2 -2
  15. package/dist/{date-time-design-DxEvgEi8.js → date-time-design-BTNkgPAM.js} +1 -1
  16. package/dist/{date-time-props-B5Xtc7-X.js → date-time-props-DiVxg9n4.js} +3 -3
  17. package/dist/{date-time-style-CH-mslF5.js → date-time-style-yt5pO1dc.js} +1 -1
  18. package/dist/{decimal-design-DvIA4NX0.js → decimal-design-BW5UQRTH.js} +1 -1
  19. package/dist/{decimal-display-mode-DZwDd5fU.js → decimal-display-mode-BWR1rZ3-.js} +2 -2
  20. package/dist/{decimal-props-BKRzrJ-r.js → decimal-props-S3vHwaWf.js} +4 -4
  21. package/dist/{decimal-style-DMFs7IFs.js → decimal-style-6q9_KbIT.js} +1 -1
  22. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BLCWBDOv.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B51R6Kdt.js} +2 -2
  23. package/dist/{diagonal-design-COpzJE_o.js → diagonal-design-BKuv-KYn.js} +2 -2
  24. package/dist/{double-design-BTJtq1hk.js → double-design-CrnloQ6U.js} +1 -1
  25. package/dist/{double-props-Bq3vZziK.js → double-props-CIqRhF3C.js} +4 -4
  26. package/dist/{double-style-DiufxslF.js → double-style-BRXKv9Tt.js} +1 -1
  27. package/dist/{dynamic-table-action-Dqp3OJDg.js → dynamic-table-action-B3_wsebH.js} +1359 -1077
  28. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js} +3396 -621
  29. package/dist/{edit.utils-CXmmCnxE-W27Whv1y.js → edit.utils-CXmmCnxE-C1IiqVhe.js} +1 -1
  30. package/dist/{enum-design-BcF4g87b.js → enum-design-4iAQqQWj.js} +2 -2
  31. package/dist/{enum-props-C7JjTMv4.js → enum-props-BTNED9Yi.js} +3 -3
  32. package/dist/{enum-style-CyAkQvzE.js → enum-style-BKunBcCU.js} +3 -3
  33. package/dist/excel.css +1120 -797
  34. package/dist/{exceljs.min-D-ILZl-Z.js → exceljs.min-DqUfJ7Zu.js} +2 -2
  35. package/dist/{expression-design-CjzPxio0.js → expression-design-Avbzm2SR.js} +1 -1
  36. package/dist/{expression-props-mAVBd5Lq.js → expression-props-BJ2AaS83.js} +1 -1
  37. package/dist/{expression-style-CrRd3CZN.js → expression-style-Cf0ZciKB.js} +1 -1
  38. package/dist/{file-design-BvSmEEHz.js → file-design-DXTNk70M.js} +1 -1
  39. package/dist/{file-props-CmbLCylK.js → file-props-GieYTgUG.js} +2 -2
  40. package/dist/{file-style-ouUREdJB.js → file-style-CLDdPXPd.js} +1 -1
  41. package/dist/{font-editor-5O8-WS9U.js → font-editor-DFkc4KNc.js} +3 -3
  42. package/dist/{image-design-DOdX4Ejf.js → image-design-DWY2Pn2m.js} +2 -2
  43. package/dist/{image-design-D5Avl99X.js → image-design-J45gqUS9.js} +1 -1
  44. package/dist/{image-props-DS7B2haQ.js → image-props-DZmoqEbT.js} +1 -1
  45. package/dist/{image-style-BdC16P3Z.js → image-style-C41-zdmF.js} +1 -1
  46. package/dist/{index-CqvvTfDm.js → index-5k7C2AD1.js} +1 -1
  47. package/dist/{index-CZB6MFo2.js → index-B-UBLtsV.js} +1 -1
  48. package/dist/{index-tVnYGnyM.js → index-B3D6zOat.js} +1 -1
  49. package/dist/{index-DZWPjTfD.js → index-B9nlN0jW.js} +1 -1
  50. package/dist/{index--x-rjhUN.js → index-BHIdTmFi.js} +3697 -3053
  51. package/dist/{index-Bg7RbNAd.js → index-BNn5fobS.js} +1 -1
  52. package/dist/{index-DjO3xXoL.js → index-BlnMSgZL.js} +2 -2
  53. package/dist/{index-7Z0q-sUY.js → index-BsOmgpN3.js} +1 -1
  54. package/dist/{index-u0UnKD61.js → index-Bs_2N-BE.js} +1 -1
  55. package/dist/{index-Ul5I5n2Y.js → index-BtUdO868.js} +1 -1
  56. package/dist/{index-DeHhItHR.js → index-C0K1pWGN.js} +1 -1
  57. package/dist/{index-COPdP22U.js → index-C4hw1NhV.js} +1 -1
  58. package/dist/{index-Bs5CmUJ6.js → index-C6-vGm0H.js} +1 -1
  59. package/dist/{index-BA1e8Zw5.js → index-CR7wxW9-.js} +1 -1
  60. package/dist/{index-Bgz9h2Ur.js → index-CYKuotDL.js} +217 -98
  61. package/dist/{index-BGwmxIrV.js → index-Cir8zmM7.js} +1 -1
  62. package/dist/{index-nDINH7fF.js → index-D-uEhZUx.js} +5 -3
  63. package/dist/{index-DWlCnH_H.js → index-DIknXBmB.js} +2 -2
  64. package/dist/{index-DPFhljcW.js → index-DRfeEqsi.js} +12 -1
  65. package/dist/{index-CF4GPHX_.js → index-DXZ9-91Q.js} +1 -1
  66. package/dist/{index-DAVr0Puy.js → index-Dlcg-_u1.js} +1 -1
  67. package/dist/{index-B6YwjnNP.js → index-DpPM2hsI.js} +1 -1
  68. package/dist/{index-POh3kOtN.js → index-DsVq6bop.js} +1 -1
  69. package/dist/{index-CUDme4M_.js → index-DxfrB4yU.js} +2 -2
  70. package/dist/{index-OD0V6QZx.js → index-DyTI4fVG.js} +4 -2
  71. package/dist/{index-upoyI1QX.js → index-FJf8yRGg.js} +1 -1
  72. package/dist/{index-CO9M5kpu.js → index-Iri9iQ7A.js} +1 -1
  73. package/dist/{index-B4uW2dJ0.js → index-Izpo3y-u.js} +1 -1
  74. package/dist/{index-CMM4w3Dw.js → index-Kc67z3Sn.js} +1 -1
  75. package/dist/{index-mEVrSKb2.js → index-O2psifaU.js} +5 -3
  76. package/dist/{index-B9bcnmUU.js → index-ZKvvKhlF.js} +1 -1
  77. package/dist/{index-BqzGUi2w.js → index-s5kgaRm2.js} +1 -1
  78. package/dist/{index-BP7lVop7.js → index-vDKWJHdv.js} +1 -1
  79. package/dist/index.es.js +3 -3
  80. package/dist/{integer-design-XoAOklHI.js → integer-design-oIq4PZgB.js} +1 -1
  81. package/dist/{integer-props-UG7rgL98.js → integer-props-Dv0CFbj2.js} +4 -4
  82. package/dist/{integer-style-BwF6P-1M.js → integer-style-CQsFEa78.js} +1 -1
  83. package/dist/mb-render-13-1F66x.js +263 -0
  84. package/dist/{number-input-ex-BUhgQIz_.js → number-input-ex-b3jwWBec.js} +1 -1
  85. package/dist/{org-props-BYIR1Qja.js → org-props-CP6UEZUk.js} +2 -2
  86. package/dist/{org-style-DXX3gSuh.js → org-style-CVX9tnGL.js} +1 -1
  87. package/dist/{pagination-design-BVFW-spw.js → pagination-design-CzI3BVnu.js} +2 -2
  88. package/dist/paper-widget-design-DMIGXtG2.js +4 -0
  89. package/dist/{qrcode-design-CoFoYXe2.js → qrcode-design-eO4Bd2-V.js} +1 -1
  90. package/dist/{ref-autofill-editor-8-T3_HNa.js → ref-autofill-editor-DXDYy7g2.js} +7 -6
  91. package/dist/{ref-props-CkbU8Sr5.js → ref-props-Aiwbx2BA.js} +3 -3
  92. package/dist/{ref-style-BUqCIl-S.js → ref-style-BYC5yPHt.js} +1 -1
  93. package/dist/{regex-editor-BAfv4Tt4.js → regex-editor-DWglxD2y.js} +2 -2
  94. package/dist/{revo-grid.entry-RWcWTs8I.js → revo-grid.entry-DxhjfysT.js} +1 -1
  95. package/dist/{revogr-attribution_7.entry-BCSuWj1U.js → revogr-attribution_7.entry-ChJzXX9c.js} +3 -3
  96. package/dist/{revogr-clipboard_3.entry-BTpzs_Rr.js → revogr-clipboard_3.entry-CTfO-vHs.js} +2 -2
  97. package/dist/{revogr-data_4.entry-DYkSdHom.js → revogr-data_4.entry-DpsZq5Vu.js} +2 -2
  98. package/dist/{revogr-filter-panel.entry-DOqtLQay.js → revogr-filter-panel.entry-CkNGH07B.js} +1 -1
  99. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-D26X3WBX.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D36XgznF.js} +2 -2
  100. package/dist/{serialnumber-design-Bx6oAxgA.js → serialnumber-design-cvNqTdU4.js} +1 -1
  101. package/dist/shared/index.es.js +29 -29
  102. package/dist/{signature-design-BYwB_lgz.js → signature-design-CxYVBP9N.js} +1 -1
  103. package/dist/{signature-props-SNM8PS89.js → signature-props-Cs3PONrq.js} +3 -3
  104. package/dist/{signature-style-BqZ2DAS6.js → signature-style-CAa92-pw.js} +1 -1
  105. package/dist/{single-field-drop-BwCKh5bM.js → single-field-drop-BXX5wlj_.js} +2 -2
  106. package/dist/{size-editor-DUazmEj_.js → size-editor-B4aRo4sR.js} +1 -1
  107. package/dist/src/assets/svgs/table/index.d.ts +38 -0
  108. package/dist/src/domain/index.d.ts +1 -0
  109. package/dist/src/domain/suite/suite-features.d.ts +14 -0
  110. package/dist/src/domain/table/business/check/check-table/index.d.ts +1 -0
  111. package/dist/src/domain/table/business/check/check-table/profile/index.d.ts +3 -0
  112. package/dist/src/domain/table/business/material/material-balance/index.d.ts +1 -0
  113. package/dist/src/domain/table/business/material/material-balance/profile/index.d.ts +3 -0
  114. package/dist/src/domain/table/business/material/material-consume/index.d.ts +1 -0
  115. package/dist/src/domain/table/business/material/material-consume/profile/index.d.ts +3 -0
  116. package/dist/src/domain/table/business/preprocess/pretreatment-list/index.d.ts +2 -0
  117. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +187 -0
  118. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +2 -0
  119. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/index.d.ts +3 -0
  120. package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +1 -0
  121. package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +26 -0
  122. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/index.d.ts +1 -0
  123. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/index.d.ts +3 -0
  124. package/dist/src/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
  125. package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +65 -0
  126. package/dist/src/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
  127. package/dist/src/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
  128. package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
  129. package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +6 -0
  130. package/dist/src/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
  131. package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +70 -0
  132. package/dist/src/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
  133. package/dist/src/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
  134. package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
  135. package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +10 -0
  136. package/dist/src/domain/table/business/warehouse/warehouse-allocate/index.d.ts +2 -0
  137. package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +87 -0
  138. package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/fields.d.ts +2 -0
  139. package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +3 -0
  140. package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/register-handlers.d.ts +1 -0
  141. package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +7 -0
  142. package/dist/src/domain/table/business/warehouse/warehouse-in/index.d.ts +2 -0
  143. package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -0
  144. package/dist/src/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
  145. package/dist/src/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +3 -0
  146. package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
  147. package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +6 -0
  148. package/dist/src/domain/table/business/warehouse/warehouse-in-out/index.d.ts +1 -0
  149. package/dist/src/domain/table/business/warehouse/warehouse-in-out/profile/index.d.ts +3 -0
  150. package/dist/src/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
  151. package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +33 -0
  152. package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
  153. package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
  154. package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
  155. package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +6 -0
  156. package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +2 -0
  157. package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +114 -0
  158. package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/fields.d.ts +2 -0
  159. package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/index.d.ts +3 -0
  160. package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/register-handlers.d.ts +1 -0
  161. package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +11 -0
  162. package/dist/src/domain/table/business/warehouse/warehouse-out/index.d.ts +2 -0
  163. package/dist/src/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +84 -0
  164. package/dist/src/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
  165. package/dist/src/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -0
  166. package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
  167. package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +6 -0
  168. package/dist/src/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
  169. package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +64 -0
  170. package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
  171. package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
  172. package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
  173. package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +6 -0
  174. package/dist/src/domain/table/data/dynamic-table/index.d.ts +1 -0
  175. package/dist/src/domain/table/data/dynamic-table/profile/index.d.ts +3 -0
  176. package/dist/src/domain/table/data/fixed-table/index.d.ts +1 -0
  177. package/dist/src/domain/table/data/fixed-table/profile/index.d.ts +3 -0
  178. package/dist/src/domain/table/data/two-d-table/index.d.ts +1 -0
  179. package/dist/src/domain/table/data/two-d-table/profile/index.d.ts +3 -0
  180. package/dist/src/domain/table/design/autofill-expander.d.ts +19 -0
  181. package/dist/src/domain/table/design/create-subtable.d.ts +14 -0
  182. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +13 -0
  183. package/dist/src/domain/table/design/index.d.ts +6 -0
  184. package/dist/src/domain/table/design/label.d.ts +3 -0
  185. package/dist/src/domain/table/design/panel-features.d.ts +16 -0
  186. package/dist/src/domain/table/design/panel-type.d.ts +6 -0
  187. package/dist/src/domain/table/design/ribbon-options.d.ts +38 -0
  188. package/dist/src/domain/table/design/sub-model-matcher.d.ts +10 -0
  189. package/dist/src/domain/table/index.d.ts +12 -0
  190. package/dist/src/domain/table/registry.d.ts +27 -0
  191. package/dist/src/domain/table/runtime/apply-profile.d.ts +16 -0
  192. package/dist/src/domain/table/runtime/runtime-handlers.d.ts +9 -0
  193. package/dist/src/domain/table/types.d.ts +137 -0
  194. package/dist/src/index.d.ts +2 -2
  195. package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +0 -1
  196. package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +3 -1
  197. package/dist/src/nocode-base/src/constant/index.d.ts +18 -2
  198. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +12 -7
  199. package/dist/src/nocode-base/src/core/sub-table/index.d.ts +1 -0
  200. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +12 -5
  201. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +58 -0
  202. package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +17 -19
  203. package/dist/src/nocode-base/src/core/sub-table/utils/pretreatment/field-keys.d.ts +2 -117
  204. package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/field-keys.d.ts +2 -60
  205. package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +4 -0
  206. package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +6 -0
  207. package/dist/src/nocode-base/src/hooks/device-link/types.d.ts +10 -0
  208. package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +6 -1
  209. package/dist/src/nocode-base/src/hooks/form-model/types.d.ts +5 -0
  210. package/dist/src/nocode-base/src/hooks/form-tmpl-config/form-tmpl-config-controller.d.ts +16 -0
  211. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +140 -18
  212. package/dist/src/nocode-base/src/hooks/material-consume/index.d.ts +1 -0
  213. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-group-merge.d.ts +20 -0
  214. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +50 -8
  215. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +8 -0
  216. package/dist/src/nocode-base/src/hooks/material-consume/product-id-query.d.ts +31 -0
  217. package/dist/src/nocode-base/src/hooks/material-consume/scan-fill.d.ts +10 -0
  218. package/dist/src/nocode-base/src/hooks/material-consume/scan-validator.d.ts +192 -0
  219. package/dist/src/nocode-base/src/hooks/material-consume/service.d.ts +2 -0
  220. package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +9 -0
  221. package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +44 -0
  222. package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +4 -0
  223. package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +2 -0
  224. package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -3
  225. package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
  226. package/dist/src/nocode-base/src/types/business/allocate.d.ts +8 -0
  227. package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +4 -0
  228. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +8 -0
  229. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +16 -0
  230. package/dist/src/nocode-base/src/types/widgets/i-serialnumber.d.ts +4 -0
  231. package/dist/src/nocode-web-render/src/render/index.d.ts +2 -1
  232. package/dist/src/nocode-web-render/src/render/sub-table/common/multi-rows-modal.vue.d.ts +15 -0
  233. package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +2 -3
  234. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +4 -0
  235. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  236. package/dist/src/online-form/src/views/__cell_widgets__/common/assoc-filter-editor/assoc-filter.util.d.ts +1 -1
  237. package/dist/src/online-form/src/views/__cell_widgets__/common/input-prop-editor/input-prop-editor.vue.d.ts +2 -0
  238. package/dist/src/online-form/src/views/designer/constants/index.d.ts +2 -0
  239. package/dist/src/online-form/src/views/designer/enums/index.d.ts +8 -1
  240. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +48 -0
  241. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +66 -17
  242. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
  243. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-card.vue.d.ts +12 -0
  244. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor.vue.d.ts +19 -2
  245. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/identify-param-card.vue.d.ts +10 -0
  246. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/repeating-sub-table-config.vue.d.ts +2 -0
  247. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/sub-table-panel-shell.vue.d.ts +24 -0
  248. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +1533 -0
  249. package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/bom-entry-editor.vue.d.ts +1 -1
  250. package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/bom-modal.vue.d.ts +1 -1
  251. package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table → sub-table/panel-check-table}/select-check-ds-modal.vue.d.ts +1 -1
  252. package/dist/src/online-form/src/views/designer/modules/toolkit/model-field/add-field-btn.vue.d.ts +2 -0
  253. package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +5 -1
  254. package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +1 -1
  255. package/dist/src/shared/components/Signature/logic/index.d.ts +4 -0
  256. package/dist/src/shared/enum/field-type.d.ts +17 -5
  257. package/dist/src/shared/enum/index.d.ts +4 -2
  258. package/dist/src/shared/enum/online-form.d.ts +14 -2
  259. package/dist/{text-design-Wz4yRq1g.js → text-design-DbDDDCTT.js} +2 -2
  260. package/dist/{text-design-DN3i2RFW.js → text-design-vFgsAOs6.js} +2 -2
  261. package/dist/{text-props-B00HIRMS.js → text-props-LQ8JxfCA.js} +4 -5
  262. package/dist/{text-style-fu30umvT.js → text-style-CKBIm6Y6.js} +1 -1
  263. package/dist/{throttle-Cpk1LoGk-Fx3LWSEd.js → throttle-Cpk1LoGk-CJfuMBhT.js} +1 -1
  264. package/dist/{timediff-design-B-4vNIoK.js → timediff-design-C7qKjT0h.js} +1 -1
  265. package/dist/{trace-design-DtHxTSsv.js → trace-design-DdHPN-JX.js} +2 -2
  266. package/dist/{trace-props-Rg7mqGt_.js → trace-props-BSRELXnc.js} +60 -48
  267. package/dist/{trace-style-mCgCCGMz.js → trace-style-BOx3LU4R.js} +1 -1
  268. package/dist/{user-props-DonrdBsi.js → user-props-DCy_CVdE.js} +2 -2
  269. package/dist/{user-style-CumTeI-A.js → user-style-BbXij2Ui.js} +1 -1
  270. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DRQFluA7.js → value-editor.vue_vue_type_style_index_0_lang-DqIfRgzS.js} +2 -2
  271. package/dist/{version-select-DZOffw2U.js → version-select--5mTgIzw.js} +1 -1
  272. package/dist/web-render/index.es.js +6 -5
  273. package/dist/{widget-barcode-Djaec1i2.js → widget-barcode-BYZx9koE.js} +4 -4
  274. package/dist/{widget-diagonal-Dw5Q9iRl.js → widget-diagonal-CbEoMTV6.js} +3 -3
  275. package/dist/{widget-image-Dq6zxwLm.js → widget-image-Bgb0W9tX.js} +5 -5
  276. package/dist/{widget-line-Csab5i9z.js → widget-line-xBvHpkdt.js} +2 -2
  277. package/dist/{widget-pagination-BmsUSsKm.js → widget-pagination-BjH75g8_.js} +5 -5
  278. package/dist/{widget-power-DtPCy7UV.js → widget-power-Bvr05ltd.js} +3 -3
  279. package/dist/{widget-qrcode-BAMbK-3b.js → widget-qrcode-Bj-ntq_n.js} +3 -3
  280. package/dist/{widget-rangelimit-Bx9qfojs.js → widget-rangelimit-BHa420t4.js} +3 -3
  281. package/dist/{widget-serialnumber-Bz6EQZR_.js → widget-serialnumber-BoYlmag6.js} +1 -1
  282. package/dist/{widget-text-CkXtxU3r.js → widget-text-_Q96wqKl.js} +5 -5
  283. package/dist/{widget-timediff-wqTd7OZs.js → widget-timediff-DtoWALwY.js} +2 -2
  284. package/package.json +8 -7
  285. package/dist/mb-render-CRA1gDau.js +0 -449
  286. package/dist/paper-widget-design-DFOElS47.js +0 -4
  287. package/dist/src/online-form/src/views/designer/modules/panel/panel-material-balance-table.vue.d.ts +0 -2
  288. package/dist/src/online-form/src/views/designer/modules/panel/panel-material-stocktake-table.vue.d.ts +0 -2
  289. package/dist/src/online-form/src/views/designer/modules/panel/panel-pretreatment-table.vue.d.ts +0 -2
  290. package/dist/src/online-form/src/views/designer/modules/panel/panel-sterilize-batch-table.vue.d.ts +0 -2
  291. package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/common/add-tmpl-btn.vue.d.ts +0 -7
  292. /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/edit-parse-rule.vue.d.ts +0 -0
  293. /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/panel-material-consumption-table.vue.d.ts +0 -0
  294. /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/translate-span.vue.d.ts +0 -0
  295. /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/use-product-translate.d.ts +0 -0
  296. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table → sub-table/panel-check-table}/add-ds-btn.vue.d.ts +0 -0
  297. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table → sub-table/panel-check-table}/right-list.vue.d.ts +0 -0
  298. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table.vue.d.ts → sub-table/panel-check-table.vue.d.ts} +0 -0
  299. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-data-group-2d.vue.d.ts → sub-table/panel-data-group-2d.vue.d.ts} +0 -0
  300. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-data-group.vue.d.ts → sub-table/panel-data-group.vue.d.ts} +0 -0
  301. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-fixed-table.vue.d.ts → sub-table/panel-fixed-table.vue.d.ts} +0 -0
  302. /package/dist/src/online-form/src/views/designer/modules/panel/{panel-dynamic-table.vue.d.ts → sub-table/panel-repeating-sub-table.vue.d.ts} +0 -0
@@ -0,0 +1,58 @@
1
+ import { SubTableCore } from './sub-table-core';
2
+ import { BusinessSubTableProfile } from '../../../../domain/table';
3
+ import { IDefaultValueMap, IFieldStatus } from '../types';
4
+ /**
5
+ * Profile 驱动的子表 Core 基类
6
+ *
7
+ * 将 BusinessSubTableProfile 声明转为 defaultMap / status / change 行为。
8
+ */
9
+ export declare class ProfileDrivenSubTableCore extends SubTableCore {
10
+ get profile(): BusinessSubTableProfile | undefined;
11
+ calcDefaultMap(): IDefaultValueMap;
12
+ calcFieldStatus(params: {
13
+ rowData: any;
14
+ field: string;
15
+ }): IFieldStatus;
16
+ handleChange(params: {
17
+ rowData: any;
18
+ field: string;
19
+ value: any;
20
+ option?: any;
21
+ }): void;
22
+ }
23
+ /**
24
+ * 入库明细表 Core
25
+ */
26
+ export declare class WarehouseInTableCore extends ProfileDrivenSubTableCore {
27
+ }
28
+ /**
29
+ * EQM 入库明细表 Core
30
+ */
31
+ export declare class WarehouseInboundTableCore extends ProfileDrivenSubTableCore {
32
+ }
33
+ /**
34
+ * 出库明细表 Core
35
+ * - 物料走库存选择(allocateProduct)
36
+ * - 选中后按 FILL_FROM_INVENTORY_OPTION 回填
37
+ * - 查询条件带页面仓库 id
38
+ */
39
+ export declare class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
40
+ get warehouseId(): any;
41
+ handleFieldTd: SubTableCore['handleFieldTd'];
42
+ calcFieldQuery: SubTableCore['calcFieldQuery'];
43
+ handleChange(params: {
44
+ rowData: any;
45
+ field: string;
46
+ value: any;
47
+ option?: any;
48
+ }): void;
49
+ }
50
+ /**
51
+ * EQM 出库 / 盘点 / 消耗:Profile 驱动(库存选择后续按备件能力补齐)
52
+ */
53
+ export declare class WarehouseOutboundTableCore extends ProfileDrivenSubTableCore {
54
+ }
55
+ export declare class PartStocktakeTableCore extends ProfileDrivenSubTableCore {
56
+ }
57
+ export declare class DevicePartConsumeTableCore extends ProfileDrivenSubTableCore {
58
+ }
@@ -1,17 +1,22 @@
1
+ import { ProfileDrivenSubTableCore } from './profile-driven-sub-table-core';
1
2
  import { SubTableCore } from './sub-table-core';
2
3
  import { IFieldStatus } from '../types';
3
4
  /**
4
- * 盘点表核心
5
- * @export
6
- * @class StocktakeTableCore
5
+ * 库存盘点表 Core
6
+ * - Profile:只读信息字段 / 行默认仓库 / 物料清空 / 盘点衍生
7
+ * - 物料:allocateProduct + FILL_FROM_INVENTORY_OPTION
8
+ * - 保留:按 row_source_ 禁用、自动加载、扫码合并
7
9
  */
8
- export declare class StocktakeTableCore extends SubTableCore {
10
+ export declare class StocktakeTableCore extends ProfileDrivenSubTableCore {
9
11
  initData: any[];
10
12
  get isGroupByWarehouse(): boolean;
11
13
  get paramsWarehouseId(): any;
12
- /** 绘制UI相关工具 */
13
14
  get render(): import('../..').ISubTableRender;
14
15
  compUnmount(): Promise<void>;
16
+ /**
17
+ * 运行态禁用优先按 row_source_(manual / auto / scan),
18
+ * Profile READONLY_INFO_FIELDS 作为基线由 super 合并。
19
+ */
15
20
  calcFieldStatus(params: {
16
21
  rowData: any;
17
22
  field: string;
@@ -19,24 +24,17 @@ export declare class StocktakeTableCore extends SubTableCore {
19
24
  calcFieldQuery: SubTableCore['calcFieldQuery'];
20
25
  handleFieldTd: SubTableCore['handleFieldTd'];
21
26
  calcSubTableActionMenu: SubTableCore['calcSubTableActionMenu'];
22
- /**
23
- * 初始化时,需要执行的异步方法
24
- */
25
27
  init(): Promise<void>;
26
- /**
27
- * @param params 初始化塞默认数据,不能用异步,只有未填报时才会执行
28
- * @returns
29
- */
30
- handleInitializeFormState(params: {
31
- /** 所有的表单数据 */
28
+ handleInitializeFormState(_params: {
32
29
  formState: any;
33
- /** 所有的默认值 */
34
30
  defaultMap: Record<string, any>;
35
31
  }): any[];
36
- handleChange: SubTableCore['handleChange'];
37
- /**
38
- * 解析扫码的数据
39
- */
32
+ handleChange(params: {
33
+ rowData: any;
34
+ field: string;
35
+ value: any;
36
+ option?: any;
37
+ }): void;
40
38
  protected onScan({ barcode, type }: {
41
39
  barcode: any;
42
40
  type: any;
@@ -1,119 +1,4 @@
1
1
  /**
2
- * 预处理表字段 key 统一定义
2
+ * 预处理表字段 key — 统一从 domain Profile 导出,保持原 import 路径兼容
3
3
  */
4
- /** 单字段 key */
5
- export declare const F: {
6
- /** 物料 */
7
- readonly product: "product_id_";
8
- /** 物料名称 */
9
- readonly productName: "product_id_name_";
10
- /** 编码 */
11
- readonly productCode: "product_id_code_";
12
- /** 规格 */
13
- readonly productSpec: "product_id_spec_";
14
- /** 生产批次号 */
15
- readonly productionContainer: "production_container_id_";
16
- /** 生产批次号标签 */
17
- readonly productionContainerLb: "production_container_id__lb_";
18
- /** 数量 */
19
- readonly qty: "qty_";
20
- /** 工单号 */
21
- readonly mfgOrderCode: "mfg_order_code_";
22
- /** 工单 */
23
- readonly mfgOrder: "mfg_order_id_";
24
- /** 生产日期 */
25
- readonly productionDate: "production_date_";
26
- /** 物料批号 */
27
- readonly materialContainerNo: "material_container_no_";
28
- /** 物料批号 ID */
29
- readonly materialContainerNoId: "material_container_no__id_";
30
- };
31
- /** 预处理表:必然禁用字段(展示字段,禁止手填) */
32
- export declare const PRETREATMENT_ALWAYS_DISABLED_FIELDS: readonly ["product_id_code_", "product_id_spec_", "product_id_name_"];
33
- /** 工单清空时联动清空 */
34
- export declare const CLEAR_ON_MFG_ORDER_EMPTY: readonly ["mfg_order_code_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "production_date_"];
35
- /** 生产批次号清空时联动清空 */
36
- export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "production_date_"];
37
- /** 物料批号清空时联动清空 */
38
- export declare const CLEAR_ON_MATERIAL_CONTAINER_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "production_date_", "material_container_no__id_", "production_container_id_"];
39
- /**
40
- * 生产批次号 / 工单 / 物料批号 三选一互斥:
41
- * 选中某一项时清空另外两项(及物料批关联 id)
42
- */
43
- export declare const CLEAR_ON_MFG_ORDER_SELECT: readonly ["production_container_id_", "material_container_no_", "material_container_no__id_"];
44
- export declare const CLEAR_ON_PROD_CONTAINER_SELECT: readonly ["mfg_order_id_", "mfg_order_code_", "material_container_no_", "material_container_no__id_"];
45
- export declare const CLEAR_ON_MATERIAL_CONTAINER_SELECT: readonly ["production_container_id_", "mfg_order_id_", "mfg_order_code_"];
46
- /** 数据源回填映射 */
47
- export declare const fillFromOption: ({
48
- optionField: "product_id_";
49
- toField: "product_id_";
50
- } | {
51
- optionField: "product_id_name_";
52
- toField: "product_id_name_";
53
- } | {
54
- optionField: "product_id_code_";
55
- toField: "product_id_code_";
56
- } | {
57
- optionField: "product_id_spec_";
58
- toField: "product_id_spec_";
59
- } | {
60
- optionField: "mfg_order_id_";
61
- toField: "mfg_order_id_";
62
- } | {
63
- optionField: "mfg_order_code_";
64
- toField: "mfg_order_code_";
65
- } | {
66
- optionField: string;
67
- toField: "production_date_";
68
- } | {
69
- optionField: "qty_";
70
- toField: "qty_";
71
- })[];
72
- /** 工单实体(em_mfg_order)回填映射:id_/code_ → 行内 mfg_order_id_/mfg_order_code_ */
73
- export declare const fillFromMfgOrderOption: readonly [{
74
- readonly optionField: "id_";
75
- readonly toField: "mfg_order_id_";
76
- }, {
77
- readonly optionField: "code_";
78
- readonly toField: "mfg_order_code_";
79
- }, {
80
- readonly optionField: "product_id_";
81
- readonly toField: "product_id_";
82
- }, {
83
- readonly optionField: "product_id_name_";
84
- readonly toField: "product_id_name_";
85
- }, {
86
- readonly optionField: "product_id_code_";
87
- readonly toField: "product_id_code_";
88
- }, {
89
- readonly optionField: "product_id_spec_";
90
- readonly toField: "product_id_spec_";
91
- }, {
92
- readonly optionField: "real_start_date_";
93
- readonly toField: "production_date_";
94
- }, {
95
- readonly optionField: "qty_";
96
- readonly toField: "qty_";
97
- }];
98
- /** 物料字段回填映射 */
99
- export declare const fillFromProductOption: ({
100
- optionField: string;
101
- toField: "product_id_name_";
102
- } | {
103
- optionField: string;
104
- toField: "product_id_code_";
105
- } | {
106
- optionField: string;
107
- toField: "product_id_spec_";
108
- })[];
109
- /** 物料字段清空时联动清空(仅 fillFromProductOption 负责填充的字段) */
110
- export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
111
- /**
112
- * 根据 fillFromOption 映射关系,将对象 B 中的字段值回填到对象 A
113
- * B 中不存在的字段不会修改 A 中对应属性
114
- */
115
- export declare function applyFillFromOption<T extends Record<string, any>>(A: T, B: Record<string, any>): T;
116
- /** 根据 fillFromProductOption 映射关系,将物料选项回填到当前行 */
117
- export declare function applyFillFromProductOption<T extends Record<string, any>>(A: T, B: Record<string, any>): T;
118
- /** 根据 fillFromMfgOrderOption 映射关系,将工单选项回填到当前行 */
119
- export declare function applyFillFromMfgOrderOption<T extends Record<string, any>>(A: T, B: Record<string, any>): T;
4
+ export * from '../../../../../../domain/table/business/preprocess/pretreatment-list/profile/field-keys';
@@ -1,62 +1,4 @@
1
1
  /**
2
- * 盘点表字段 key 统一定义
2
+ * 盘点表字段 key — 统一从 domain Profile 导出,保持原 import 路径兼容
3
3
  */
4
- /** 单字段 key */
5
- export declare const F: {
6
- readonly batch: "production_identification_id_";
7
- readonly batchLb: "production_identification_id__lb_";
8
- readonly product: "product_id_";
9
- readonly productLb: "product_id__lb_";
10
- readonly productName: "product_id_name_";
11
- readonly productCode: "product_id_code_";
12
- readonly productSpec: "product_id_spec_";
13
- readonly warehouse: "warehouse_id_";
14
- readonly location: "location_id_";
15
- readonly locationLb: "location_id__lb_";
16
- readonly stock: "stock_num_";
17
- readonly stocktake: "stocktake_num_";
18
- readonly diff: "diff_num_";
19
- readonly stocktakeStatus: "stocktake_status_";
20
- readonly stocktakeStatusLb: "stocktake_status__lb_";
21
- readonly matno: "material_no_";
22
- readonly matcode: "product_code_";
23
- readonly locationAutoResolved: "_location_auto_resolved_";
24
- readonly inventoryLocationIds: "_inventory_location_ids_";
25
- readonly rowSource: "row_source_";
26
- };
27
- export type InventoryFieldKey = (typeof F)[keyof typeof F];
28
- /** 含 label 的身份字段组 */
29
- export declare const BATCH_IDENTITY: readonly ["production_identification_id_", "production_identification_id__lb_"];
30
- export declare const PRODUCT_IDENTITY: readonly ["product_id_", "product_id__lb_"];
31
- export declare const PRODUCT_DESC: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
32
- export declare const LOCATION_FIELDS: readonly ["location_id_", "location_id__lb_"];
33
- export declare const STOCK_FIELDS: readonly ["stock_num_", "stocktake_num_"];
34
- /** remoteSync 触发字段(含仅触发、不入请求的库位) */
35
- export declare const INVENTORY_IDENTITY_FIELDS: readonly ["production_identification_id_", "warehouse_id_", "location_id_", "product_id_"];
36
- /** remoteSync 请求体字段 */
37
- export declare const INVENTORY_REMOTE_SYNC_REQUEST_FIELDS: readonly ["production_identification_id_", "warehouse_id_", "product_id_", "material_no_", "product_code_"];
38
- /** remoteSync 仅触发、排除出请求的字段 */
39
- export declare const INVENTORY_REMOTE_SYNC_EXCLUDE_REQUEST_FIELDS: readonly ["location_id_"];
40
- export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["production_identification_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_", "location_id_", "stock_num_"];
41
- /** remoteSync 查无数据时清空的字段 */
42
- export declare const INVENTORY_INFO_CLEAR_FIELDS: readonly ["production_identification_id_", "production_identification_id__lb_", "product_id_", "product_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
43
- /** 行变更 handler:批次清空 / 切换时的字段集 */
44
- export declare const CLEAR_ON_BATCH_EMPTY: readonly ["product_id_", "product_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
45
- export declare const CLEAR_ON_BATCH_SWITCH: readonly ["location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
46
- /** 行变更 handler:物料清空 / 切换时的字段集 */
47
- export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["production_identification_id_", "production_identification_id__lb_", "product_id_name_", "product_id_code_", "product_id_spec_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
48
- export declare const CLEAR_ON_PRODUCT_SWITCH: readonly ["production_identification_id_", "production_identification_id__lb_", "location_id_", "location_id__lb_", "stock_num_", "stocktake_num_"];
49
- /** runtimeRules:始终只读的信息字段 */
50
- export declare const READONLY_INFO_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_", "stock_num_", "diff_num_", "stocktake_status_"];
51
- /** auto 行只读的可选字段 */
52
- export declare const AUTO_LOAD_READONLY_SELECT_FIELDS: readonly ["product_id_", "production_identification_id_", "location_id_"];
53
- /** scan 行只读:物料/批次;库位待选时可编辑,单库位自动解析后走 _location_auto_resolved_ 只读 */
54
- export declare const SCAN_READONLY_SELECT_FIELDS: readonly ["product_id_", "production_identification_id_"];
55
- /** rowHandlers:盘点衍生字段监听 */
56
- export declare const STOCKTAKE_DERIVED_WATCH_FIELDS: readonly ["stocktake_num_", "stock_num_"];
57
- /** 按批次+物料+仓库分组 */
58
- export declare const WAREHOUSE_IDENTITY_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_"];
59
- /** 扫码合并键(含库位) */
60
- export declare const SCAN_MERGE_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_", "location_id_"];
61
- /** 库存唯一标识基础字段 */
62
- export declare const INVENTORY_BASE_FIELDS: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_"];
4
+ export * from '../../../../../../domain/table/business/warehouse/warehouse-inventory/profile/field-keys';
@@ -16,3 +16,7 @@ export declare function getSuiteKey(): Promise<string | undefined>;
16
16
  * @return {*}
17
17
  */
18
18
  export declare function isEdhrSuite(): Promise<boolean>;
19
+ /**
20
+ * 是否是 EQM 应用套件
21
+ */
22
+ export declare function isEqmSuite(): Promise<boolean>;
@@ -7,12 +7,18 @@ import { DeviceInterconnectionResponse } from '@gct-paas/api/platform';
7
7
  * @class DeviceLinkTmplController
8
8
  */
9
9
  export declare class DeviceLinkTmplUtil {
10
+ static readonly DEFAULT_RECOMMENDED_PROMPT = "\u4EFB\u52A1\uFF1A\u56FE\u7247OCR\u6587\u5B57\u63D0\u53D6\n\u89C4\u5219\uFF1A\u4E0D\u865A\u6784\u5185\u5BB9\uFF0C\u627E\u4E0D\u5230\u6570\u636E\u8FD4\u56DE\u7A7A\uFF0C\u4EC5\u8F93\u51FA\u63D0\u53D6\u7ED3\u679C\n\u7ED3\u679C\u586B\u5145\u81F3${\u76EE\u6807\u5B57\u6BB5}\n\u586B\u5199\u63D0\u53D6\u89C4\u5219\uFF1A";
10
11
  /**
11
12
  * 创建模板数据
12
13
  * @param type
13
14
  * @return {*}
14
15
  */
15
16
  static createTmpl(type: DeviceLink.TmplTypeEnum): DeviceLink.BasicTmpl;
17
+ /**
18
+ * 补齐 OCR 模板新增字段,并保持历史配置的原有行为。
19
+ * 历史模板没有提示词模式时按原来的普通模式处理。
20
+ */
21
+ static normalizeAIOcrTmpl(tmpl: DeviceLink.AIOcrTmpl): DeviceLink.AIOcrTmpl;
16
22
  /**
17
23
  * 计算完整的提示词
18
24
  * @static
@@ -107,6 +107,8 @@ export declare namespace DeviceLink {
107
107
  runtimeDeviceType?: string;
108
108
  }
109
109
  interface AIOcrTmplIdentifyParams {
110
+ /** 前端排序用唯一标识 */
111
+ id?: string;
110
112
  /** 提示词 */
111
113
  prompt: string;
112
114
  /** 表单字段id(模型key.字段key)*/
@@ -122,6 +124,14 @@ export declare namespace DeviceLink {
122
124
  name: string;
123
125
  /** 设备名称 */
124
126
  deviceName: string;
127
+ /** 模型精度 */
128
+ modelPrecision?: string;
129
+ /** 是否开启高级配置 */
130
+ enableAdvancedConfig?: boolean;
131
+ /** 提示词配置模式 */
132
+ promptMode?: 'RECOMMENDED' | 'NORMAL';
133
+ /** 推荐模式提示词 */
134
+ recommendedPrompt?: string;
125
135
  /** 是否启用降噪 */
126
136
  enableDenoise: boolean;
127
137
  /** 降噪方法 */
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { IFormModel, IFormModelFetcher } from './types';
2
+ import { FormFieldOption, IFormModel, IFormModelFetcher } from './types';
3
3
  import { FieldMetaDTO } from '@gct-paas/api/apaas';
4
4
  /**
5
5
  * 表单模型处理
@@ -23,6 +23,11 @@ export declare class FormModelController {
23
23
  getSubModel(subModelKey: string): any;
24
24
  /** 获取子模型字段集合 */
25
25
  getSubModelFields(subModelKey: string): any;
26
+ /**
27
+ * 表单字段下拉选项(排除系统字段和子表字段)
28
+ * value 格式为 modelKey.fieldKey,与字段映射存储格式一致
29
+ */
30
+ getFormFieldOptions(subModelKey?: string): FormFieldOption[];
26
31
  /**
27
32
  * 初始化
28
33
  *
@@ -9,6 +9,11 @@ export interface IFormModel {
9
9
  /** 字段列表 */
10
10
  fields: FieldMetaDTO[];
11
11
  }
12
+ /** 表单字段下拉选项,value 为 modelKey.fieldKey */
13
+ export interface FormFieldOption {
14
+ label: string;
15
+ value: string;
16
+ }
12
17
  /**
13
18
  * 表单模型加载请求器接口
14
19
  * @export
@@ -1,5 +1,10 @@
1
1
  import { DeviceLink, DeviceLinkTmplUtil } from '../device-link';
2
2
  import { DeviceConnector } from './device-connector';
3
+ export declare const OCR_MODEL_PRECISION_ENUM_KEY = "enu_model_precision";
4
+ export interface OcrModelPrecisionOption {
5
+ label: string;
6
+ value: string;
7
+ }
3
8
  /**
4
9
  * 表单模板配置控制器
5
10
  * @export
@@ -43,6 +48,10 @@ export declare class FormTmplConfigController {
43
48
  }[];
44
49
  IOTPermission: boolean;
45
50
  OCRPermission: boolean;
51
+ OCRModelPrecisionOptions: {
52
+ label: string;
53
+ value: string;
54
+ }[];
46
55
  };
47
56
  /** 表单模板id */
48
57
  tmplId: string;
@@ -52,6 +61,13 @@ export declare class FormTmplConfigController {
52
61
  * 初始化权限
53
62
  */
54
63
  initPermissions(): Promise<void>;
64
+ /**
65
+ * 从枚举模型加载 OCR 模型精度,避免前端硬编码枚举值。
66
+ */
67
+ refreshOcrModelPrecisionOptions(): Promise<{
68
+ label: string;
69
+ value: string;
70
+ }[]>;
55
71
  /**
56
72
  * 初始化
57
73
  *