@gct-paas/excel 0.1.28-beta.9 → 0.1.29

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-BxpkeU3s.js} +2 -2
  5. package/dist/base/index.es.js +718 -466
  6. package/dist/{diagonal-design-C1ZotzUS.js → diagonal-design-TclIHJPn.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-DMs_Il25.js} +2 -2
  12. package/dist/{font-editor-BMzWHu2P.js → font-editor-Jk202Wfw.js} +3 -3
  13. package/dist/{image-design-Cv7Md3br.js → image-design-CV8ivT4U.js} +3 -2
  14. package/dist/index-56SEKe0q.js +56 -0
  15. package/dist/{index-ClwYjOaz.js → index-B94zjbXB.js} +2 -2
  16. package/dist/{index-DCyS2gPu.js → index-B9hn-Xpy.js} +62 -261
  17. package/dist/{index-CTfI5z2v.js → index-BI1w0HuA.js} +2 -2
  18. package/dist/{index-DYJ2NY6r.js → index-BIyoFjsu.js} +1 -1
  19. package/dist/{index-Cf0HUPLj.js → index-BNdFxtuu.js} +2 -2
  20. package/dist/index-BR3okRzi.js +26 -0
  21. package/dist/{index-B_rAitke.js → index-BVy2F-LZ.js} +2 -2
  22. package/dist/{index-CDLpl1vT.js → index-BWSh7ft6.js} +57467 -75573
  23. package/dist/{index-BQLH_u5E.js → index-BgUSwNSn.js} +1 -1
  24. package/dist/{index-DVknMcoI.js → index-BzNleuvF.js} +8 -5
  25. package/dist/{index-BC7ZPYu4.js → index-CJgeCzTz.js} +4 -7
  26. package/dist/{index-KJIuf63z.js → index-CM0bDadW.js} +3 -3
  27. package/dist/{index-DYPfKE_B.js → index-Co8dy8tY.js} +2 -2
  28. package/dist/{index-Ca8Vr4hp.js → index-CslB9Mj3.js} +3 -3
  29. package/dist/{index-B2oEU1dw.js → index-D3RlguP-.js} +2 -2
  30. package/dist/{index-De0lJXBW.js → index-DAokF2RK.js} +2 -2
  31. package/dist/{index-B_qNr-yz.js → index-DUomn6r4.js} +2 -2
  32. package/dist/{index-DGF9F0hk.js → index-DVBGDVN0.js} +2 -2
  33. package/dist/{index-DLhVj92F.js → index-DVCumM_5.js} +2 -2
  34. package/dist/{index-DHCfwj7L.js → index-DX2S50Jz.js} +1 -1
  35. package/dist/{index-b03O87gX.js → index-DXutPZQB.js} +1 -1
  36. package/dist/{index-BMaOAtO5.js → index-DXvugQoP.js} +2 -2
  37. package/dist/{index-t_DIs_9d.js → index-DmLngOvC.js} +2 -2
  38. package/dist/{index-EGCBxJ5U.js → index-Dxiaj_9W.js} +2 -2
  39. package/dist/{index-CB2KdECV.js → index-DzZ4dTHg.js} +2 -2
  40. package/dist/index-P-QlF0da.js +26 -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-DPHsObDL.js → index-iCBdHXeT.js} +2 -2
  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-DWvn4UrB.js} +2 -2
  52. package/dist/paper-widget-design-DZ7tF6Rn.js +4 -0
  53. package/dist/{qrcode-design-CWa7ucIf.js → qrcode-design-yLHw_1Hb.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-hAnlTOzR.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-B9BH6_VT.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-B-PzUZAG.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-BSGmjBMz.js} +2 -2
  271. package/dist/web-render/index.es.js +118 -17
  272. package/dist/{widget-barcode-DAxib6qS.js → widget-barcode-su16tQ64.js} +4 -4
  273. package/dist/{widget-diagonal-BLo6XT0t.js → widget-diagonal-Dl3D3MJK.js} +5 -7
  274. package/dist/{widget-image-D_1erLrE.js → widget-image-C3143nmQ.js} +6 -5
  275. package/dist/{widget-line-BwnSq4--.js → widget-line-B3FO96uu.js} +4 -4
  276. package/dist/{widget-pagination-DZMwe14i.js → widget-pagination-Su-wNAqe.js} +5 -5
  277. package/dist/{widget-power-DfV-8moi.js → widget-power-DLbxegjB.js} +3 -3
  278. package/dist/{widget-qrcode-C3yTAHOn.js → widget-qrcode-BC2Eyf9h.js} +3 -3
  279. package/dist/{widget-rangelimit-DK8hANd1.js → widget-rangelimit-iuZswyH3.js} +3 -3
  280. package/dist/{widget-serialnumber-B2pkh6KT.js → widget-serialnumber-BqZm6cQQ.js} +1 -1
  281. package/dist/{widget-text-98SaLOpt.js → widget-text-DSAv-liE.js} +5 -5
  282. package/dist/{widget-timediff-OD7HVoVr.js → widget-timediff-CD8Jrx8s.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,447 +0,0 @@
1
- import { defineComponent, ref, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, h, computed, onMounted, createBlock, mergeProps, unref, withCtx, Fragment, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import { b as FormItem, C as CellWidgetRenderComp } from "./index-CDLpl1vT.js";
3
- import { N as NumberRange, R as RegexEditor } from "./regex-editor-BctX8jdd.js";
4
- import { w as api, cO as watchDebounced, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
5
- import { h as useIntersectionObserver, j as cacheAdapter } from "./index-DCyS2gPu.js";
6
- import { debounce } from "lodash-es";
7
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8
- __name: "select-more",
9
- emits: ["next"],
10
- setup(__props, { emit: __emit }) {
11
- const target = ref(null);
12
- const emit = __emit;
13
- const targetIsVisible = useIntersectionObserver(
14
- target,
15
- ([{ isIntersecting }], observerElement) => {
16
- if (isIntersecting) {
17
- emit("next");
18
- }
19
- }
20
- );
21
- onUnmounted(() => {
22
- targetIsVisible.stop();
23
- });
24
- return (_ctx, _cache) => {
25
- const _component_a_spin = resolveComponent("a-spin");
26
- return openBlock(), createElementBlock("div", {
27
- ref_key: "target",
28
- ref: target
29
- }, [
30
- createVNode(_component_a_spin, { size: "small" })
31
- ], 512);
32
- };
33
- }
34
- });
35
- function useAsyncOptions({ bindModelKey, modelCategory }) {
36
- const { businessSetting } = window.NocodeAdapter.hooks?.useBusinessSetting?.();
37
- const treeData = ref([]);
38
- const searchField = (businessSetting.productSearchFields || "name_,code_")?.split(",") || [];
39
- const getQueryDateByKeyWord = (keyword) => {
40
- return searchField?.reduce((total, filedKey) => {
41
- const expkey = filedKey.split(".").length > 1 ? filedKey : filedKey + ".like";
42
- total[expkey] = keyword;
43
- return total;
44
- }, {}) || {};
45
- };
46
- const getExp = () => {
47
- return `OR(${searchField.map((key) => `${key}.like`).join(",")})`;
48
- };
49
- async function getRdoAsyncOptions(arg = {}) {
50
- let complete = true;
51
- let optionsData = [];
52
- const queryData = arg.keyword ? getQueryDateByKeyWord(arg.keyword) : {};
53
- const queryExp = arg.keyword ? getExp() : void 0;
54
- const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
55
- { bsKey: "rdoListByPage", modelKey: bindModelKey, modelCategory },
56
- {},
57
- {
58
- exp: queryExp,
59
- query: queryData,
60
- pageSize: 30,
61
- pageNo: arg.pageNo
62
- }
63
- ) || {};
64
- complete = res.totalPage ? res.totalPage <= res.pageNo : true;
65
- optionsData = (res?.data || []).map((i) => {
66
- const rdoLabel = i.__LABEL__ || i.name_;
67
- return {
68
- value: i.id_,
69
- title: rdoLabel,
70
- _info: i.__CHILDREN__?.find((k) => k.default_),
71
- full_path: () => h("div", [
72
- h("span", `${rdoLabel}`),
73
- h("span", { class: "gct-custom-tag ml8px" }, $t("sys.default"))
74
- ]),
75
- children: i.__CHILDREN__?.map((j) => {
76
- const versionLabel = j.__LABEL__ || j.version_;
77
- return {
78
- value: `${i.id_}:${j.id_}`,
79
- title: () => h("div", [
80
- h("span", { class: "version" }, versionLabel),
81
- j.default_ ? h(
82
- "span",
83
- { class: "version gct-custom-tag ml8px" },
84
- $t("sys.component.table.settingDensDefault")
85
- ) : null
86
- ]),
87
- _info: { ...j },
88
- full_path: () => h("div", [h("span", `${rdoLabel}:${versionLabel}`)])
89
- };
90
- })
91
- };
92
- });
93
- return { complete, optionsData };
94
- }
95
- async function getChildrens({ id_ } = {}) {
96
- const [_fId, _cId] = id_?.split(":");
97
- const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
98
- { bsKey: "rdoListVersionByRefIdsWithParent", modelKey: bindModelKey, modelCategory },
99
- {
100
- refIds: id_,
101
- includeDeleted: 1
102
- },
103
- { foreignFields: [] }
104
- ) || {};
105
- const data = res?.data?.[0];
106
- const rdoLabel = data.__LABEL__ || data.name_;
107
- let children = [];
108
- try {
109
- const chl = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
110
- { bsKey: "rdoListVersionById", modelKey: bindModelKey, modelCategory },
111
- { id: _fId },
112
- { foreignFields: [] }
113
- ) || {};
114
- children = chl.data?.map((i) => {
115
- const versionLabel = i.__LABEL__ || i.version_;
116
- return {
117
- value: `${_fId}:${i.id_}`,
118
- title: () => h("div", [
119
- h("span", { class: "version" }, versionLabel),
120
- i.default_ ? h(
121
- "span",
122
- { class: "version gct-custom-tag ml8px" },
123
- $t("sys.component.table.settingDensDefault")
124
- ) : null
125
- ]),
126
- _info: { ...i },
127
- full_path: () => h("div", [h("span", `${rdoLabel}:${versionLabel}`)])
128
- };
129
- });
130
- } catch (error) {
131
- }
132
- return {
133
- value: _fId,
134
- title: rdoLabel,
135
- full_path: () => h("div", [
136
- h("span", `${rdoLabel}`),
137
- h("span", { class: "gct-custom-tag ml8px" }, $t("sys.default"))
138
- ]),
139
- children
140
- };
141
- }
142
- async function getAsyncOptions(arg) {
143
- if (!arg.pageNo) {
144
- arg.pageNo = 1;
145
- }
146
- const { optionsData, complete } = await cacheAdapter({ ...arg }, getRdoAsyncOptions);
147
- if (treeData.value?.length) {
148
- if (arg.pageNo > 1) {
149
- treeData.value?.pop();
150
- } else {
151
- treeData.value = [];
152
- }
153
- }
154
- optionsData.forEach((i) => {
155
- treeData.value?.push(i);
156
- });
157
- if (!complete) {
158
- treeData.value?.push({
159
- selectable: false,
160
- title: () => h(_sfc_main$2, {
161
- onNextOnce: () => {
162
- arg.pageNo += 1;
163
- getAsyncOptions(arg);
164
- }
165
- })
166
- });
167
- }
168
- }
169
- return {
170
- getChildrens: async (id_) => {
171
- try {
172
- if (!id_) return;
173
- const [_fId, _cId] = id_?.split(":");
174
- const existingData = treeData.value?.find((i) => i.value === _fId);
175
- if (existingData) return;
176
- const row = await cacheAdapter({ id_ }, getChildrens);
177
- const checked = treeData.value?.find((i) => i.value === _fId);
178
- if (checked) return;
179
- row && treeData.value?.unshift(row);
180
- } catch (error) {
181
- }
182
- },
183
- getAsyncOptions,
184
- treeData
185
- };
186
- }
187
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
188
- __name: "rdo-parent-select",
189
- props: {
190
- modelValue: {},
191
- modelCategory: { default: "entity" },
192
- modelKey: {},
193
- placeholder: { default: $t("sys.appDesigner.pleaseSelect") },
194
- disabledParent: { type: Boolean },
195
- parentToDefault: { type: Boolean, default: true },
196
- disabled: { type: Boolean },
197
- attr: {}
198
- },
199
- emits: ["update:modelValue", "update:fullPathValue", "change"],
200
- setup(__props, { emit: __emit }) {
201
- const props = __props;
202
- const separatorAttr = computed(() => {
203
- let attr = {
204
- placeholder: props.placeholder,
205
- dropdownMatchSelectWidth: 180,
206
- dropdownClassName: "gct-project-select-dropdown vxe-table--ignore-clear",
207
- allowClear: true,
208
- showSearch: true,
209
- defaultActiveFirstOption: false,
210
- filterOption: false
211
- };
212
- return attr;
213
- });
214
- const emit = __emit;
215
- const { getChildrens, getAsyncOptions, treeData } = useAsyncOptions({
216
- bindModelKey: props.modelKey,
217
- modelCategory: props.modelCategory
218
- });
219
- const actualOptions = computed(() => {
220
- console.log("treeData", treeData.value);
221
- return treeData.value?.map((item) => {
222
- return {
223
- label: item.title,
224
- value: item.value
225
- };
226
- });
227
- });
228
- const value = computed({
229
- get() {
230
- return props.modelValue || void 0;
231
- },
232
- set(v) {
233
- emit("update:modelValue", v || null);
234
- }
235
- });
236
- async function getOptionsByQuery(opts = {}) {
237
- await getAsyncOptions({
238
- modelCategory: props.modelCategory,
239
- pageSize: 9999,
240
- queryData: { ...opts.queryData },
241
- ...opts
242
- });
243
- }
244
- onMounted(getOptionsByQuery);
245
- watchDebounced(
246
- value,
247
- async (v) => {
248
- try {
249
- await getChildrens(value.value);
250
- } catch (error) {
251
- console.log(error);
252
- }
253
- },
254
- { debounce: 200, immediate: true }
255
- );
256
- const search = debounce(async (keyword) => {
257
- console.log("search", keyword);
258
- await getOptionsByQuery({ keyword, pageNo: 1 });
259
- if (!keyword) {
260
- await getChildrens(value.value);
261
- }
262
- }, 200);
263
- return (_ctx, _cache) => {
264
- const _component_a_select = resolveComponent("a-select");
265
- return openBlock(), createBlock(_component_a_select, mergeProps({
266
- value: value.value,
267
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => value.value = $event),
268
- options: actualOptions.value
269
- }, separatorAttr.value, { onSearch: unref(search) }), null, 16, ["value", "options", "onSearch"]);
270
- };
271
- }
272
- });
273
- const _sfc_main = /* @__PURE__ */ defineComponent({
274
- __name: "text-props",
275
- props: {
276
- fieldMeta: {},
277
- widget: {},
278
- readonly: { type: Boolean },
279
- disabled: { type: Boolean }
280
- },
281
- setup(__props) {
282
- const formRef = ref(null);
283
- const props = __props;
284
- const formState = computed({
285
- get() {
286
- return props.widget;
287
- },
288
- set(v) {
289
- Object.assign(props.widget, v);
290
- }
291
- });
292
- const maxlengthVal = computed({
293
- get() {
294
- return formState.value.maxlength;
295
- },
296
- set(v) {
297
- formState.value.maxlength = v;
298
- formRef.value.validate();
299
- }
300
- });
301
- const defaultValueValidator = (rule, value, callback) => {
302
- if (!value) {
303
- return;
304
- }
305
- if (formState.value.minlength && value.length < formState.value.minlength) {
306
- return callback(
307
- $t("sys.onlineForm.atLeastInputCharacterNumberTip", { number: formState.value.minlength })
308
- );
309
- }
310
- if (formState.value.maxlength && value.length > formState.value.maxlength) {
311
- return callback(
312
- $t("sys.onlineForm.atMostInputCharacterNumberTip", { number: formState.value.maxlength })
313
- );
314
- }
315
- };
316
- return (_ctx, _cache) => {
317
- const _component_a_input = resolveComponent("a-input");
318
- const _component_a_select_option = resolveComponent("a-select-option");
319
- const _component_a_select = resolveComponent("a-select");
320
- const _component_a_form = resolveComponent("a-form");
321
- return openBlock(), createBlock(_component_a_form, {
322
- ref_key: "formRef",
323
- ref: formRef,
324
- model: formState.value
325
- }, {
326
- default: withCtx(() => [
327
- !__props.readonly ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
328
- createVNode(FormItem, {
329
- label: `${_ctx.$t("sys.pageDesigner.fieldPlaceholder")}`,
330
- inline: false
331
- }, {
332
- default: withCtx(() => [
333
- createVNode(_component_a_input, {
334
- size: "small",
335
- value: formState.value.placeholder,
336
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.placeholder = $event),
337
- placeholder: _ctx.$t("sys.inputText"),
338
- disabled: __props.disabled,
339
- "show-count": "",
340
- maxlength: 32
341
- }, null, 8, ["value", "placeholder", "disabled"])
342
- ]),
343
- _: 1
344
- }, 8, ["label"]),
345
- createVNode(FormItem, {
346
- label: `${_ctx.$t("sys.defaultValue")}`,
347
- name: "defaultValue",
348
- inline: false,
349
- rules: [{ validator: defaultValueValidator }]
350
- }, {
351
- default: withCtx(() => [
352
- createVNode(_component_a_input, {
353
- size: "small",
354
- value: formState.value.defaultValue,
355
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.defaultValue = $event),
356
- placeholder: _ctx.$t("sys.inputText"),
357
- disabled: __props.disabled,
358
- "show-count": "",
359
- maxlength: formState.value.maxlength || 32
360
- }, null, 8, ["value", "placeholder", "disabled", "maxlength"])
361
- ]),
362
- _: 1
363
- }, 8, ["label", "rules"]),
364
- createVNode(FormItem, {
365
- label: `${_ctx.$t("sys.fieldTypeProps.lengthLimit")}`,
366
- inline: false
367
- }, {
368
- default: withCtx(() => [
369
- createVNode(NumberRange, {
370
- min: formState.value.minlength,
371
- "onUpdate:min": _cache[2] || (_cache[2] = ($event) => formState.value.minlength = $event),
372
- max: maxlengthVal.value,
373
- "onUpdate:max": _cache[3] || (_cache[3] = ($event) => maxlengthVal.value = $event),
374
- precision: 0,
375
- disabled: __props.disabled,
376
- "min-placeholder": _ctx.$t("sys.fieldTypeProps.minLength"),
377
- "max-placeholder": _ctx.$t("sys.fieldTypeProps.maxLength")
378
- }, null, 8, ["min", "max", "disabled", "min-placeholder", "max-placeholder"])
379
- ]),
380
- _: 1
381
- }, 8, ["label"]),
382
- createVNode(RegexEditor, {
383
- regex: formState.value.regex,
384
- "onUpdate:regex": _cache[4] || (_cache[4] = ($event) => formState.value.regex = $event),
385
- "regex-hint": formState.value.regexHint,
386
- "onUpdate:regexHint": _cache[5] || (_cache[5] = ($event) => formState.value.regexHint = $event),
387
- disabled: __props.disabled
388
- }, null, 8, ["regex", "regex-hint", "disabled"])
389
- ], 64)) : createCommentVNode("", true),
390
- createVNode(FormItem, {
391
- label: `${_ctx.$t("sys.pageDesigner.widgetType")}`,
392
- inline: false
393
- }, {
394
- default: withCtx(() => [
395
- createVNode(_component_a_select, {
396
- size: "small",
397
- value: formState.value.renderComp,
398
- "onUpdate:value": _cache[6] || (_cache[6] = ($event) => formState.value.renderComp = $event),
399
- disabled: __props.disabled,
400
- class: "w-full"
401
- }, {
402
- default: withCtx(() => [
403
- createVNode(_component_a_select_option, {
404
- value: unref(CellWidgetRenderComp).Input
405
- }, {
406
- default: withCtx(() => [
407
- createTextVNode(toDisplayString(_ctx.$t("sys.pageDesigner.input")), 1)
408
- ]),
409
- _: 1
410
- }, 8, ["value"]),
411
- createVNode(_component_a_select_option, {
412
- value: unref(CellWidgetRenderComp).Textarea
413
- }, {
414
- default: withCtx(() => [
415
- createTextVNode(toDisplayString(_ctx.$t("sys.pageDesigner.textarea")), 1)
416
- ]),
417
- _: 1
418
- }, 8, ["value"])
419
- ]),
420
- _: 1
421
- }, 8, ["value", "disabled"])
422
- ]),
423
- _: 1
424
- }, 8, ["label"]),
425
- __props.fieldMeta.bizType === unref(FIELD_TYPE).E_SOP_VERSION ? (openBlock(), createBlock(FormItem, {
426
- key: 1,
427
- label: "SOP",
428
- inline: false
429
- }, {
430
- default: withCtx(() => [
431
- createVNode(_sfc_main$1, {
432
- modelValue: formState.value.relatedEsopId,
433
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => formState.value.relatedEsopId = $event),
434
- "model-key": "em_document"
435
- }, null, 8, ["modelValue"])
436
- ]),
437
- _: 1
438
- })) : createCommentVNode("", true)
439
- ]),
440
- _: 1
441
- }, 8, ["model"]);
442
- };
443
- }
444
- });
445
- export {
446
- _sfc_main as default
447
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-Ccv90UWY.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "text-style",
5
- props: {
6
- widget: {},
7
- disabled: { type: Boolean }
8
- },
9
- setup(__props) {
10
- const props = __props;
11
- const formState = computed({
12
- get() {
13
- return props.widget;
14
- },
15
- set(v) {
16
- Object.assign(props.widget, v);
17
- }
18
- });
19
- return (_ctx, _cache) => {
20
- return openBlock(), createBlock(BaseFontEditor, {
21
- "font-size": formState.value.fontSize,
22
- "onUpdate:fontSize": _cache[0] || (_cache[0] = ($event) => formState.value.fontSize = $event),
23
- "letter-space": formState.value.letterSpace,
24
- "onUpdate:letterSpace": _cache[1] || (_cache[1] = ($event) => formState.value.letterSpace = $event),
25
- "no-letter-space": true,
26
- disabled: __props.disabled
27
- }, null, 8, ["font-size", "letter-space", "disabled"]);
28
- };
29
- }
30
- });
31
- export {
32
- _sfc_main as default
33
- };
@@ -1,77 +0,0 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode, unref } from "vue";
2
- import dayjs from "dayjs";
3
- import { F as FieldStateIcon, C as CellWidgetRenderComp } from "./index-CDLpl1vT.js";
4
- import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "trace-design",
7
- props: {
8
- disabled: { type: Boolean },
9
- fieldWidget: {},
10
- fieldMeta: {}
11
- },
12
- setup(__props) {
13
- const props = __props;
14
- const isTraceDate = computed(() => props.fieldMeta.fieldType === FIELD_TYPE.TRACE_DATE);
15
- const isLotSelect = computed(() => {
16
- const fieldType = props.fieldMeta.bizType || props.fieldMeta.fieldType;
17
- return fieldType !== void 0 && [FIELD_TYPE.MATERIAL_NO, FIELD_TYPE.RELATED_LOT_NO, FIELD_TYPE.SCRAP_MATERIAL_NO].some(
18
- (type) => type === fieldType
19
- );
20
- });
21
- const defaultValue = computed(() => {
22
- if (props.fieldWidget.defaultSystemDate) {
23
- return dayjs();
24
- }
25
- return void 0;
26
- });
27
- return (_ctx, _cache) => {
28
- const _component_a_date_picker = resolveComponent("a-date-picker");
29
- const _component_a_select = resolveComponent("a-select");
30
- const _component_a_input = resolveComponent("a-input");
31
- const _component_a_textarea = resolveComponent("a-textarea");
32
- return openBlock(), createElementBlock("div", null, [
33
- isTraceDate.value ? (openBlock(), createBlock(_component_a_date_picker, {
34
- key: 0,
35
- value: defaultValue.value,
36
- class: "w-full",
37
- format: __props.fieldWidget.format,
38
- placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText"),
39
- disabled: __props.disabled
40
- }, {
41
- suffixIcon: withCtx(() => [
42
- createVNode(FieldStateIcon, { type: "date" })
43
- ]),
44
- _: 1
45
- }, 8, ["value", "format", "placeholder", "disabled"])) : isLotSelect.value ? (openBlock(), createBlock(_component_a_select, {
46
- key: 1,
47
- class: "w-full",
48
- disabled: __props.disabled,
49
- placeholder: __props.fieldWidget.placeholder || _ctx.$t("sys.edhr.inputOrSelect"),
50
- value: __props.fieldWidget.defaultValue,
51
- size: "small"
52
- }, {
53
- suffixIcon: withCtx(() => [
54
- createVNode(FieldStateIcon, { type: "select" })
55
- ]),
56
- _: 1
57
- }, 8, ["disabled", "placeholder", "value"])) : __props.fieldWidget.renderComp === unref(CellWidgetRenderComp).Input ? (openBlock(), createBlock(_component_a_input, {
58
- key: 2,
59
- disabled: __props.disabled,
60
- placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.inputText"),
61
- value: __props.fieldWidget.defaultValue,
62
- size: "small"
63
- }, null, 8, ["disabled", "placeholder", "value"])) : (openBlock(), createBlock(_component_a_textarea, {
64
- key: 3,
65
- class: "cell-text-design-textarea-warp",
66
- disabled: __props.disabled,
67
- placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.inputText"),
68
- value: __props.fieldWidget.defaultValue
69
- }, null, 8, ["disabled", "placeholder", "value"]))
70
- ]);
71
- };
72
- }
73
- });
74
- const traceDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-da1a075f"]]);
75
- export {
76
- traceDesign as default
77
- };