@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
@@ -1,5 +1,5 @@
1
- import { A as commonjsGlobal, D as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
2
- import { c as commonjsRequire } from "./index-CDLpl1vT.js";
1
+ import { I as commonjsGlobal, J as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
2
+ import { c as commonjsRequire } from "./index-DapZh4vf.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
2
- import { A as AlignEditor } from "./align-editor-B4gydK1M.js";
2
+ import { A as AlignEditor } from "./align-editor-aEWznFoT.js";
3
3
  import { pick } from "lodash-es";
4
- import { J as _sfc_main$1, G as ColorPicker } from "./index-CDLpl1vT.js";
5
- import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
4
+ import { n as _sfc_main$1, C as ColorPicker } from "./index-DapZh4vf.js";
5
+ import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "font-editor",
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, normalizeStyle } from "vue";
2
- import { u as useWebUpload } from "./index-DCyS2gPu.js";
2
+ import { u as useWebUpload } from "./index-B9hn-Xpy.js";
3
3
  import "ant-design-vue";
4
- import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
4
+ import { a4 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
5
5
  import "@gct-paas/form-base";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
+ import "vxe-table";
8
9
  const _hoisted_1 = ["src"];
9
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  __name: "image-design",
@@ -1,9 +1,9 @@
1
1
  import { get } from "lodash-es";
2
- import { m as ComponentTypeEnum, al as ImageDisplayModeEnum, V as SignatureNumberTypeEnum, W as SignatureTimeTypeEnum, X as SignShowTypeEnum, Y as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
2
+ import { C as ComponentTypeEnum, av as ImageDisplayModeEnum, a0 as SignatureNumberTypeEnum, a1 as SignatureTimeTypeEnum, a2 as SignShowTypeEnum, a3 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-yoXj5Q9c.js";
6
+ import { B as BaseComponent } from "./BaseComponent-9YPaGJfR.js";
7
7
  class Sign extends BaseComponent {
8
8
  component = ComponentTypeEnum.Sign;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,11 @@
1
- import { ab as noop, cH as tryOnScopeDispose, cI as isClient, cJ as tryOnMounted, cK as resolveUnref, ac as isIOS, cL as isString, cM as identity, w as api, _ as _export_sfc, cN as getAugmentedNamespace, A as commonjsGlobal, D as getDefaultExportFromCjs, cO as watchDebounced, c4 as getParseRuleConfig, aP as getLotLockedReason, bw as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
1
+ import { al as noop, dn as tryOnScopeDispose, dp as isClient, dq as tryOnMounted, dr as resolveUnref, am as isIOS, ds as isString, dt as identity, z as api, a4 as _export_sfc, du as getAugmentedNamespace, I as commonjsGlobal, J as getDefaultExportFromCjs, ay as watchDebounced, cK as getParseRuleConfig, c9 as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
2
2
  import { message, Modal, Form } from "ant-design-vue";
3
- import { watch, ref as ref$1, defineComponent, inject, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, onUnmounted, createVNode, h, onMounted, mergeProps, unref, reactive, Fragment, renderList, toRaw, toHandlers, toRef, watchEffect } from "vue";
3
+ import { watch, ref as ref$1, defineComponent, inject, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, onUnmounted, createVNode, h, onMounted, mergeProps, unref, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
4
4
  import { debounce, cloneDeep } from "lodash-es";
5
5
  import "dayjs";
6
- import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-DNA0sAdk.js";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-BBRR_byl.js";
7
7
  import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
8
+ import { VxeGrid } from "vxe-table";
8
9
  function unrefElement(elRef) {
9
10
  var _a;
10
11
  const plain = resolveUnref(elRef);
@@ -201,34 +202,6 @@ const _TransitionPresets = {
201
202
  __spreadValues({
202
203
  linear: identity
203
204
  }, _TransitionPresets);
204
- function useWindowSize(options = {}) {
205
- const {
206
- window: window2 = defaultWindow,
207
- initialWidth = Infinity,
208
- initialHeight = Infinity,
209
- listenOrientation = true,
210
- includeScrollbar = true
211
- } = options;
212
- const width = ref$1(initialWidth);
213
- const height = ref$1(initialHeight);
214
- const update = () => {
215
- if (window2) {
216
- if (includeScrollbar) {
217
- width.value = window2.innerWidth;
218
- height.value = window2.innerHeight;
219
- } else {
220
- width.value = window2.document.documentElement.clientWidth;
221
- height.value = window2.document.documentElement.clientHeight;
222
- }
223
- }
224
- };
225
- update();
226
- tryOnMounted(update);
227
- useEventListener("resize", update, { passive: true });
228
- if (listenOrientation)
229
- useEventListener("orientationchange", update, { passive: true });
230
- return { width, height };
231
- }
232
205
  const uploadApis = {
233
206
  upload: null,
234
207
  transfer: (filename) => filename
@@ -381,6 +354,8 @@ class OpenUtilWeb {
381
354
  return new Promise((resolve) => {
382
355
  Modal.confirm({
383
356
  ...options,
357
+ okText: $t("sys.okText"),
358
+ cancelText: $t("sys.cancel"),
384
359
  onOk: () => {
385
360
  resolve(true);
386
361
  },
@@ -422,12 +397,12 @@ class ModalManager {
422
397
  this.modals = [];
423
398
  }
424
399
  }
425
- const _hoisted_1$6 = { class: "modal-wrapper__content" };
426
- const _hoisted_2$2 = {
400
+ const _hoisted_1$4 = { class: "modal-wrapper__content" };
401
+ const _hoisted_2$1 = {
427
402
  key: 0,
428
403
  class: "modal-wrapper__footer"
429
404
  };
430
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
405
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
431
406
  __name: "modal-wrapper",
432
407
  props: {
433
408
  opts: { default: () => ({}) },
@@ -486,10 +461,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
486
461
  return openBlock(), createElementBlock("div", {
487
462
  class: normalizeClass(["modal-wrapper", _options.value.height && "modal-wrapper--has-height"])
488
463
  }, [
489
- createElementVNode("div", _hoisted_1$6, [
464
+ createElementVNode("div", _hoisted_1$4, [
490
465
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
491
466
  ]),
492
- showFooter.value ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
467
+ showFooter.value ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
493
468
  _options.value.showCancelBtn ? (openBlock(), createBlock(_component_a_button, {
494
469
  key: 0,
495
470
  onClick: onCancel
@@ -515,7 +490,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
515
490
  };
516
491
  }
517
492
  });
518
- const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f2d43ec5"]]);
493
+ const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-f2d43ec5"]]);
519
494
  var type;
520
495
  var hasRequiredType;
521
496
  function requireType() {
@@ -3156,7 +3131,7 @@ class MemoryCache {
3156
3131
  }
3157
3132
  }
3158
3133
  }
3159
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3134
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3160
3135
  __name: "select-more",
3161
3136
  emits: ["next"],
3162
3137
  setup(__props, { emit: __emit }) {
@@ -3312,7 +3287,7 @@ function useAsyncOptions({ bindModelKey, modelCategory }) {
3312
3287
  if (!complete) {
3313
3288
  treeData.value?.push({
3314
3289
  selectable: false,
3315
- title: () => h(_sfc_main$8, {
3290
+ title: () => h(_sfc_main$6, {
3316
3291
  onNextOnce: () => {
3317
3292
  arg.pageNo += 1;
3318
3293
  getAsyncOptions(arg);
@@ -3339,7 +3314,7 @@ function useAsyncOptions({ bindModelKey, modelCategory }) {
3339
3314
  treeData
3340
3315
  };
3341
3316
  }
3342
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3317
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3343
3318
  __name: "rdo-tree-select",
3344
3319
  props: {
3345
3320
  modelValue: {},
@@ -3442,11 +3417,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3442
3417
  };
3443
3418
  }
3444
3419
  });
3445
- const _hoisted_1$5 = {
3420
+ const _hoisted_1$3 = {
3446
3421
  key: 0,
3447
3422
  class: "form-field-select--readonly"
3448
3423
  };
3449
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3424
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3450
3425
  __name: "form-field-select",
3451
3426
  props: {
3452
3427
  modelValue: { default: void 0 },
@@ -3497,7 +3472,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3497
3472
  };
3498
3473
  return (_ctx, _cache) => {
3499
3474
  const _component_a_select = resolveComponent("a-select");
3500
- return __props.readonly ? (openBlock(), createElementBlock("span", _hoisted_1$5, toDisplayString(readonlyText.value), 1)) : (openBlock(), createBlock(_component_a_select, mergeProps({
3475
+ return __props.readonly ? (openBlock(), createElementBlock("span", _hoisted_1$3, toDisplayString(readonlyText.value), 1)) : (openBlock(), createBlock(_component_a_select, mergeProps({
3501
3476
  key: 1,
3502
3477
  class: "form-field-select",
3503
3478
  value: props.modelValue,
@@ -3512,11 +3487,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3512
3487
  };
3513
3488
  }
3514
3489
  });
3515
- const FormFieldSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4bfc82a8"]]);
3516
- const _hoisted_1$4 = {
3490
+ const FormFieldSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-4bfc82a8"]]);
3491
+ const _hoisted_1$2 = {
3517
3492
  class: /* @__PURE__ */ normalizeClass(["parse-rule-modal__content"])
3518
3493
  };
3519
- const _hoisted_2$1 = {
3494
+ const _hoisted_2 = {
3520
3495
  key: 0,
3521
3496
  class: "mb12px"
3522
3497
  };
@@ -3527,7 +3502,7 @@ const _hoisted_5 = {
3527
3502
  class: "parse-rule-modal__actions"
3528
3503
  };
3529
3504
  const _hoisted_6 = ["onClick", "title"];
3530
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3505
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3531
3506
  __name: "parse-rule-modal",
3532
3507
  props: {
3533
3508
  modal: {},
@@ -3613,14 +3588,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3613
3588
  "do-ok": doOk
3614
3589
  }, {
3615
3590
  default: withCtx(() => [
3616
- createElementVNode("div", _hoisted_1$4, [
3591
+ createElementVNode("div", _hoisted_1$2, [
3617
3592
  createVNode(_component_a_form_item, {
3618
3593
  class: "parse-rule-modal__rule w-425px",
3619
3594
  label: _ctx.$t("sys.edhr.mcTable.parseRule") + ":",
3620
3595
  name: "parsingRuleId"
3621
3596
  }, {
3622
3597
  default: withCtx(() => [
3623
- createVNode(_sfc_main$7, {
3598
+ createVNode(_sfc_main$5, {
3624
3599
  "model-value": formState.parsingRuleId,
3625
3600
  "onUpdate:modelValue": onRuleChange,
3626
3601
  modelKey: "em_barcode_parsing_rules",
@@ -3629,7 +3604,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3629
3604
  ]),
3630
3605
  _: 1
3631
3606
  }, 8, ["label"]),
3632
- __props.ruleTip ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
3607
+ __props.ruleTip ? (openBlock(), createElementBlock("div", _hoisted_2, [
3633
3608
  createVNode(_component_a_alert, {
3634
3609
  message: __props.ruleTip,
3635
3610
  type: "info",
@@ -3721,118 +3696,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3721
3696
  };
3722
3697
  }
3723
3698
  });
3724
- const ParseRuleModal = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-2712d5f4"]]);
3725
- const _hoisted_1$3 = {
3726
- class: /* @__PURE__ */ normalizeClass(["multi-rows-modal__content"])
3727
- };
3728
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3729
- __name: "multi-rows-modal",
3730
- props: {
3731
- modal: {},
3732
- rows: {}
3733
- },
3734
- setup(__props) {
3735
- const modalOptions = reactive({
3736
- width: 800,
3737
- draggable: true,
3738
- showFooter: true,
3739
- canFullscreen: false,
3740
- title: $t("sys.kit.selectMaterial"),
3741
- wrapClassName: "gct-draggable-modal"
3742
- });
3743
- const props = __props;
3744
- const selectedRow = ref$1();
3745
- const tableData = computed(
3746
- () => (props.rows ?? []).map((row, index) => ({
3747
- ...row,
3748
- _rowKey: `${row.materialId ?? ""}_${row.productionIdentificationId ?? ""}_${index}`
3749
- }))
3750
- );
3751
- const gridOptions = reactive({
3752
- round: true,
3753
- maxHeight: 420,
3754
- rowConfig: {
3755
- isHover: true,
3756
- keyField: "_rowKey"
3757
- },
3758
- radioConfig: {
3759
- trigger: "row",
3760
- highlight: true
3761
- },
3762
- columns: [
3763
- { type: "radio", width: 48 },
3764
- {
3765
- field: "productId",
3766
- title: $t("sys.model.product"),
3767
- showOverflow: "tooltip",
3768
- minWidth: 140
3769
- },
3770
- {
3771
- field: "materialNo",
3772
- title: $t("sys.edhr.materialNo"),
3773
- showOverflow: "tooltip",
3774
- minWidth: 160
3775
- }
3776
- ]
3777
- });
3778
- const gridEvents = {
3779
- radioChange({ row }) {
3780
- selectedRow.value = row;
3781
- }
3782
- };
3783
- const doOk = async () => {
3784
- if (!selectedRow.value) {
3785
- message.error($t("请选择一条数据"));
3786
- return false;
3787
- }
3788
- const {
3789
- _rowKey: _,
3790
- productionIdentificationIsLocked,
3791
- productionIdentificationId,
3792
- ...rest
3793
- } = selectedRow.value;
3794
- if (productionIdentificationIsLocked) {
3795
- const msg = await getLotLockedReason(productionIdentificationId);
3796
- message.error(msg);
3797
- throw new Error("物料批次已被锁定");
3798
- }
3799
- return {
3800
- ok: true,
3801
- data: rest
3802
- };
3803
- };
3804
- return (_ctx, _cache) => {
3805
- const _component_vxe_grid = resolveComponent("vxe-grid");
3806
- return openBlock(), createBlock(unref(ModalWrapper), {
3807
- opts: modalOptions,
3808
- class: normalizeClass(["multi-rows-modal"]),
3809
- "do-ok": doOk
3810
- }, {
3811
- default: withCtx(() => [
3812
- createElementVNode("div", _hoisted_1$3, [
3813
- createVNode(_component_vxe_grid, mergeProps({
3814
- class: "multi-rows-modal__grid default vxetable",
3815
- data: tableData.value,
3816
- "max-height": "420px"
3817
- }, gridOptions, toHandlers(gridEvents)), null, 16, ["data"])
3818
- ])
3819
- ]),
3820
- _: 1
3821
- }, 8, ["opts"]);
3822
- };
3823
- }
3824
- });
3825
- const MultiRowsModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-c36488c5"]]);
3699
+ const ParseRuleModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-2712d5f4"]]);
3826
3700
  class SubTableRender {
3827
3701
  modalManager = new ModalManager();
3828
3702
  openScanModal(opts) {
3829
3703
  return useFormBaseModal(
3830
3704
  "COMMON_SCAN",
3831
3705
  {
3832
- title: opts.title,
3706
+ // title: opts.title,
3833
3707
  formFieldOptions: opts.formModelController.getFormFieldOptions(opts.subModelKey),
3834
3708
  scanRules: opts.scanRules,
3835
3709
  scanParam: opts.scanParam,
3710
+ ruleTip: $t("sys.scanRuleTipSubTable"),
3836
3711
  onScan: opts.onScan
3837
3712
  },
3838
3713
  { mask: false, draggable: true }
@@ -3848,8 +3723,8 @@ class SubTableRender {
3848
3723
  }
3849
3724
  };
3850
3725
  openMultiRowsModal = async (opts) => {
3851
- const res = await this.modalManager.openModal(
3852
- MultiRowsModal,
3726
+ const { success, result } = await useFormBaseModal(
3727
+ "SCAN_MULTI_ROWS_MODAL",
3853
3728
  { rows: opts.rows },
3854
3729
  {
3855
3730
  title: opts.title ?? $t("sys.kit.selectMaterial"),
@@ -3858,8 +3733,8 @@ class SubTableRender {
3858
3733
  draggable: true
3859
3734
  }
3860
3735
  );
3861
- if (res?.ok && res.data) {
3862
- return res.data;
3736
+ if (success && result) {
3737
+ return result;
3863
3738
  }
3864
3739
  };
3865
3740
  destroyAllModals() {
@@ -3869,8 +3744,8 @@ class SubTableRender {
3869
3744
  }
3870
3745
  class AllocateWebRender extends SubTableRender {
3871
3746
  }
3872
- const _hoisted_1$2 = { class: "p24px" };
3873
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3747
+ const _hoisted_1$1 = { class: "p24px" };
3748
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3874
3749
  __name: "material-consume-modal",
3875
3750
  props: {
3876
3751
  modal: {},
@@ -3910,7 +3785,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3910
3785
  class: normalizeClass(["material-consume-modal"])
3911
3786
  }, {
3912
3787
  default: withCtx(() => [
3913
- createElementVNode("div", _hoisted_1$2, [
3788
+ createElementVNode("div", _hoisted_1$1, [
3914
3789
  createVNode(_component_a_table, {
3915
3790
  columns,
3916
3791
  "data-source": tableData.value,
@@ -3938,7 +3813,7 @@ class MbWebRender extends MBRender {
3938
3813
  return;
3939
3814
  }
3940
3815
  this.modalHtml = window.NocodeAdapter.utils.overlay.createModal(
3941
- _sfc_main$3,
3816
+ _sfc_main$2,
3942
3817
  {
3943
3818
  data
3944
3819
  },
@@ -3963,10 +3838,10 @@ class MbWebRender extends MBRender {
3963
3838
  }
3964
3839
  }
3965
3840
  }
3966
- const _hoisted_1$1 = {
3841
+ const _hoisted_1 = {
3967
3842
  class: /* @__PURE__ */ normalizeClass(["bom-modal__content"])
3968
3843
  };
3969
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3844
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3970
3845
  __name: "bom-modal",
3971
3846
  props: {
3972
3847
  modal: {},
@@ -4041,14 +3916,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4041
3916
  ]
4042
3917
  });
4043
3918
  return (_ctx, _cache) => {
4044
- const _component_vxe_grid = resolveComponent("vxe-grid");
4045
3919
  return openBlock(), createBlock(unref(ModalWrapper), {
4046
3920
  opts: modalOptions,
4047
3921
  class: normalizeClass(["bom-modal"])
4048
3922
  }, {
4049
3923
  default: withCtx(() => [
4050
- createElementVNode("div", _hoisted_1$1, [
4051
- (openBlock(), createBlock(_component_vxe_grid, mergeProps({
3924
+ createElementVNode("div", _hoisted_1, [
3925
+ (openBlock(), createBlock(unref(VxeGrid), mergeProps({
4052
3926
  key: refreshKey.value,
4053
3927
  class: "device-table__grid default vxetable",
4054
3928
  data: tableData.value
@@ -4060,7 +3934,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4060
3934
  };
4061
3935
  }
4062
3936
  });
4063
- const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-2a48426e"]]);
3937
+ const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d267371"]]);
4064
3938
  class McWebRender extends MCRender {
4065
3939
  /**
4066
3940
  * 所有打开的modal集合
@@ -4096,7 +3970,7 @@ class McWebRender extends MCRender {
4096
3970
  await useFormBaseModal(
4097
3971
  "COMMON_SCAN",
4098
3972
  {
4099
- title: opts.title,
3973
+ // title: opts.title,
4100
3974
  formFieldOptions: opts.formModelController.getFormFieldOptions(opts.subModelKey),
4101
3975
  scanRules: opts.scanRules,
4102
3976
  scanParam: opts.scanParam,
@@ -4116,8 +3990,8 @@ class McWebRender extends MCRender {
4116
3990
  }
4117
3991
  }
4118
3992
  async openMultiRowsModal(opts) {
4119
- const res = await window.NocodeAdapter.utils.overlay.modal(
4120
- MultiRowsModal,
3993
+ const { success, result } = await useFormBaseModal(
3994
+ "SCAN_MULTI_ROWS_MODAL",
4121
3995
  { rows: opts.rows },
4122
3996
  {
4123
3997
  title: opts.title ?? $t("sys.kit.selectMaterial"),
@@ -4126,94 +4000,24 @@ class McWebRender extends MCRender {
4126
4000
  draggable: true
4127
4001
  }
4128
4002
  );
4129
- if (res?.ok && res.data) {
4130
- return res.data;
4003
+ if (success && result) {
4004
+ return result;
4131
4005
  }
4132
4006
  }
4133
4007
  }
4134
- const _hoisted_1 = { class: "pt20px px16px pb20px" };
4135
- const _hoisted_2 = { class: "bg-radio" };
4136
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4137
- __name: "scan-modal",
4138
- props: {
4139
- onScan: { type: Function }
4140
- },
4141
- setup(__props) {
4142
- const props = __props;
4143
- const barcode = ref$1();
4144
- const activeType = ref$1("add");
4145
- function changeCalculation(type2) {
4146
- activeType.value = type2;
4147
- }
4148
- async function handleEnter(e) {
4149
- console.log("handleEnter", e, barcode.value);
4150
- if (barcode.value?.trim()) {
4151
- await props.onScan({ barcode: barcode.value, type: activeType.value });
4152
- barcode.value = void 0;
4153
- }
4154
- }
4155
- return (_ctx, _cache) => {
4156
- const _component_a_input = resolveComponent("a-input");
4157
- const _component_a_form_item = resolveComponent("a-form-item");
4158
- const _component_a_form = resolveComponent("a-form");
4159
- return openBlock(), createElementBlock("div", _hoisted_1, [
4160
- createElementVNode("div", _hoisted_2, [
4161
- createElementVNode("div", {
4162
- class: normalizeClass(["bg-radio-item", [activeType.value === "add" && "active"]]),
4163
- onClick: _cache[0] || (_cache[0] = ($event) => changeCalculation("add"))
4164
- }, [
4165
- _cache[3] || (_cache[3] = createElementVNode("i", { class: "iconfont icon-chuangjian" }, null, -1)),
4166
- createTextVNode(" " + toDisplayString(_ctx.$t("sys.edhr.addStocktakeNum")), 1)
4167
- ], 2),
4168
- createElementVNode("div", {
4169
- class: normalizeClass(["bg-radio-item", [activeType.value === "minus" && "active"]]),
4170
- onClick: _cache[1] || (_cache[1] = ($event) => changeCalculation("minus"))
4171
- }, [
4172
- _cache[4] || (_cache[4] = createElementVNode("i", { class: "iconfont icon-jiantouxia_arrow-down" }, null, -1)),
4173
- createTextVNode(" " + toDisplayString(_ctx.$t("sys.edhr.plusStocktakeNum")), 1)
4174
- ], 2)
4175
- ]),
4176
- createVNode(_component_a_form, { class: "mt20px" }, {
4177
- default: withCtx(() => [
4178
- createVNode(_component_a_form_item, {
4179
- label: _ctx.$t("sys.edhr.materialNo2"),
4180
- rules: [{ required: true }]
4181
- }, {
4182
- default: withCtx(() => [
4183
- createVNode(_component_a_input, {
4184
- value: barcode.value,
4185
- "onUpdate:value": _cache[2] || (_cache[2] = ($event) => barcode.value = $event),
4186
- placeholder: _ctx.$t("sys.inputText"),
4187
- allowClear: "",
4188
- onPressEnter: handleEnter
4189
- }, null, 8, ["value", "placeholder"])
4190
- ]),
4191
- _: 1
4192
- }, 8, ["label"])
4193
- ]),
4194
- _: 1
4195
- })
4196
- ]);
4197
- };
4198
- }
4199
- });
4200
- const ScanModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-954013ba"]]);
4201
4008
  class StocktakeWebRender extends SubTableRender {
4202
4009
  openScanModal(opts) {
4203
- return this.modalManager.openModal(
4204
- ScanModal,
4010
+ return useFormBaseModal(
4011
+ "COMMON_SCAN",
4205
4012
  {
4013
+ formFieldOptions: opts.formModelController?.getFormFieldOptions(opts.subModelKey),
4014
+ scanRules: opts.scanRules,
4015
+ scanParam: opts.scanParam,
4016
+ ruleTip: $t("sys.scanRuleTipSubTable"),
4017
+ showScanAdjustBtn: true,
4206
4018
  onScan: opts.onScan
4207
4019
  },
4208
- {
4209
- width: 400,
4210
- draggable: true,
4211
- showFooter: false,
4212
- canFullscreen: false,
4213
- mask: false,
4214
- title: opts.title ?? $t("sys.onlineForm.subTableType.STOCKTAKE"),
4215
- wrapClassName: "gct-draggable-modal"
4216
- }
4020
+ { mask: false, draggable: true }
4217
4021
  );
4218
4022
  }
4219
4023
  }
@@ -4232,15 +4036,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4232
4036
  const emit = __emit;
4233
4037
  const handleClick = async () => {
4234
4038
  if (props.disabled && !props.modelValue) return;
4235
- const res = await window.NocodeAdapter.utils.overlay.modal(ParseRuleModal, {
4039
+ const { success, result } = await useFormBaseModal("PARSE_RULE_MODAL", {
4236
4040
  config: props.modelValue,
4237
- subModelKey: props.subModelKey,
4238
- formModelController,
4041
+ formFieldOptions: formModelController.getFormFieldOptions(props.subModelKey),
4239
4042
  ruleTip: props.ruleTip,
4240
4043
  readonly: !!props.disabled
4241
4044
  });
4242
- if (res?.ok && !props.disabled) {
4243
- emit("update:modelValue", res.data);
4045
+ if (success && !props.disabled) {
4046
+ emit("update:modelValue", result);
4244
4047
  }
4245
4048
  };
4246
4049
  const btnAttrs = computed(() => {
@@ -4269,7 +4072,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4269
4072
  };
4270
4073
  }
4271
4074
  });
4272
- const AddRuleBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8bf17209"]]);
4075
+ const AddRuleBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-54f27da9"]]);
4273
4076
  function initRenderToAdapter() {
4274
4077
  const adapter = window.NocodeAdapter;
4275
4078
  adapter.openUtil = new OpenUtilWeb();
@@ -4290,17 +4093,15 @@ export {
4290
4093
  ParseRuleModal as P,
4291
4094
  StocktakeWebRender as S,
4292
4095
  Uploader as U,
4293
- _sfc_main$7 as _,
4096
+ _sfc_main$5 as _,
4294
4097
  useEventListener as a,
4295
4098
  unrefElement as b,
4296
- useWindowSize as c,
4099
+ useIntersectionObserver as c,
4297
4100
  defaultWindow as d,
4298
- MultiRowsModal as e,
4101
+ cacheAdapter as e,
4299
4102
  initWebNocodeAdapter as f,
4300
4103
  initRenderToAdapter as g,
4301
- useIntersectionObserver as h,
4302
4104
  initWebPaasUploadApis as i,
4303
- cacheAdapter as j,
4304
4105
  onClickOutside as o,
4305
4106
  require$$0 as r,
4306
4107
  useWebUpload as u
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-yoXj5Q9c.js";
6
+ import { B as BaseComponent } from "./BaseComponent-9YPaGJfR.js";
7
7
  class UploadFile extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadFile;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { has, get, pick } from "lodash-es";
2
- import { m as ComponentTypeEnum, aE as DecimalDisplayMode, bR as RangeCompareOp, aQ as RangeValidateMode, aD as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
2
+ import { C as ComponentTypeEnum, au as DecimalDisplayMode, at as RangeCompareOp, as as RangeValidateMode, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-yoXj5Q9c.js";
6
+ import { B as BaseComponent } from "./BaseComponent-9YPaGJfR.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-yoXj5Q9c.js";
6
+ import { B as BaseComponent } from "./BaseComponent-9YPaGJfR.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  wrapperCmpConfig({ data }) {