hs-admin-ui 15.5.1 → 15.5.3

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 (713) hide show
  1. package/LICENSE +21 -0
  2. package/dist/401-CaFGhD56.js +1 -0
  3. package/dist/401-dNBqBBQB.mjs +56 -0
  4. package/dist/404-BBjjPQnq.js +1 -0
  5. package/dist/404-BBjjPQnq.js.gz +0 -0
  6. package/dist/404-CXaFz1H_.mjs +61 -0
  7. package/dist/404-CXaFz1H_.mjs.gz +0 -0
  8. package/dist/account-Dl2F8kzB.mjs +215 -0
  9. package/dist/account-j6DmqhU5.js +1 -0
  10. package/dist/aside-DYuDthGf.js +1 -0
  11. package/dist/aside-U9WBrI1F.mjs +164 -0
  12. package/dist/baseBtnConfig-C6KLedE5.mjs +273 -0
  13. package/dist/baseBtnConfig-DRxjBT8Z.js +1 -0
  14. package/dist/baseFormConfig-BaFbaMWd.mjs +722 -0
  15. package/dist/baseFormConfig-BaFbaMWd.mjs.gz +0 -0
  16. package/dist/baseFormConfig-BfwuF6e2.mjs +504 -0
  17. package/dist/baseFormConfig-BfwuF6e2.mjs.gz +0 -0
  18. package/dist/baseFormConfig-D0n1_pUw.js +1 -0
  19. package/dist/baseFormConfig-D5Q35Bo3.js +1 -0
  20. package/dist/baseTableConfig-Cqz33Bik.mjs +2624 -0
  21. package/dist/baseTableConfig-Cqz33Bik.mjs.gz +0 -0
  22. package/dist/baseTableConfig-Tc9NkB4Z.js +1 -0
  23. package/dist/baseTableConfig-Tc9NkB4Z.js.gz +0 -0
  24. package/dist/bcFormConfig-De_NDIJX.js +1 -0
  25. package/dist/bcFormConfig-k01YVL7i.mjs +234 -0
  26. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Cinv4rqH.mjs +131 -0
  27. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DYPKK-F9.js +1 -0
  28. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-CBnZ0Gtd.js +1 -0
  29. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-ap2SoWQx.mjs +101 -0
  30. package/dist/btnIndex-BWYqart_.js +1 -0
  31. package/dist/btnIndex-CIxuTGaV.mjs +287 -0
  32. package/dist/btnIndex-CIxuTGaV.mjs.gz +0 -0
  33. package/dist/classic-BHDWrphH.mjs +81 -0
  34. package/dist/classic-Cggtuvww.js +1 -0
  35. package/dist/cloneConfigDialog-C-Wgt6lp.mjs +817 -0
  36. package/dist/cloneConfigDialog-C-Wgt6lp.mjs.gz +0 -0
  37. package/dist/cloneConfigDialog-DStfblnx.js +1 -0
  38. package/dist/cloneConfigDialog-DStfblnx.js.gz +0 -0
  39. package/dist/columns-Co0sc2Vp.mjs +87 -0
  40. package/dist/columns-KUgBQ-bi.js +1 -0
  41. package/dist/columnsAside-6e_Rdbm2.js +1 -0
  42. package/dist/columnsAside-BqApWcwH.mjs +220 -0
  43. package/dist/contextmenu-0Efiyp1u.mjs +125 -0
  44. package/dist/contextmenu-BBMMi-TN.mjs +125 -0
  45. package/dist/contextmenu-CCDgfmrK.js +1 -0
  46. package/dist/contextmenu-D5Ssw8tr.js +1 -0
  47. package/dist/copyMenuConfig-M_voURcU.mjs +4 -0
  48. package/dist/copyMenuConfig-reOnQJ5_.js +1 -0
  49. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-1WltOLrD.mjs +85 -0
  50. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-Bn7uwbn6.js +1 -0
  51. package/dist/copySystem-BYNmlnJJ.js +1 -0
  52. package/dist/copySystem-CU-ec_wc.mjs +4 -0
  53. package/dist/copySystem.vue_vue_type_script_setup_true_lang-BQdZABZN.mjs +78 -0
  54. package/dist/copySystem.vue_vue_type_script_setup_true_lang-DVIPeHaZ.js +1 -0
  55. package/dist/defaults-C8u0Ixi6.js +1 -0
  56. package/dist/defaults-DbE_9uBD.mjs +86 -0
  57. package/dist/dialog-BpY5TPcI.mjs +365 -0
  58. package/dist/dialog-BpY5TPcI.mjs.gz +0 -0
  59. package/dist/dialog-C3qdP9_7.mjs +4 -0
  60. package/dist/dialog-CbtiX4bf.js +1 -0
  61. package/dist/dialog-Crw1svNb.mjs +4 -0
  62. package/dist/dialog-D2oaUQ1K.js +1 -0
  63. package/dist/dialog-DQP53khI.mjs +359 -0
  64. package/dist/dialog-DQP53khI.mjs.gz +0 -0
  65. package/dist/dialog-DpdeHbfb.js +1 -0
  66. package/dist/dialog-DxBOYlwo.js +1 -0
  67. package/dist/dialog-TFJ52Qpk.js +1 -0
  68. package/dist/dialog-yPzNGOhd.mjs +10 -0
  69. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BXa1w9sl.js +1 -0
  70. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-Cj6QZ_1n.mjs +220 -0
  71. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C-2ohzef.mjs +694 -0
  72. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C-2ohzef.mjs.gz +0 -0
  73. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DDxJaope.js +1 -0
  74. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DDxJaope.js.gz +0 -0
  75. package/dist/dictDialog-2-XNTIeA.js +1 -0
  76. package/dist/dictDialog-Xiry_5wf.mjs +4 -0
  77. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CYIV2qih.js +1 -0
  78. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-nAtI0_qU.mjs +154 -0
  79. package/dist/dictItemDialog-Clje_DKj.mjs +4 -0
  80. package/dist/dictItemDialog-z9uIEmqs.js +1 -0
  81. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-BYoT3YIw.mjs +231 -0
  82. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C7wUo8tZ.js +1 -0
  83. package/dist/favicon.ico +0 -0
  84. package/dist/formConfig-Ci7tuaaU.js +1 -0
  85. package/dist/formConfig-Ci7tuaaU.js.gz +0 -0
  86. package/dist/formConfig-DwB-R3is.mjs +592 -0
  87. package/dist/formConfig-DwB-R3is.mjs.gz +0 -0
  88. package/dist/header-BIFSpl3F.mjs +28 -0
  89. package/dist/header-SxlPkWE1.js +1 -0
  90. package/dist/horizontal-BMBXN_h_.js +1 -0
  91. package/dist/horizontal-DEV7AR_G.mjs +151 -0
  92. package/dist/hsAttrBtn-CFzqiBsx.mjs +4 -0
  93. package/dist/hsAttrBtn-R49LSu_d.js +1 -0
  94. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BA5qD9D_.mjs +128 -0
  95. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-l3_0rFKn.js +1 -0
  96. package/dist/hsAttrForm-B2BhYTdK.mjs +4 -0
  97. package/dist/hsAttrForm-Dax6V0Jm.js +1 -0
  98. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CKrb7xs8.js +1 -0
  99. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CT1OxoWO.mjs +439 -0
  100. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CT1OxoWO.mjs.gz +0 -0
  101. package/dist/hsBtnConfigList-BOlR66mr.js +1 -0
  102. package/dist/hsBtnConfigList-CL1Pbm8t.mjs +117 -0
  103. package/dist/hsBtnItemConfig-ChdcqgZp.mjs +4 -0
  104. package/dist/hsBtnItemConfig-pecTB5lk.js +1 -0
  105. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-2guM43p0.js +1 -0
  106. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-lsmFzJFI.mjs +147 -0
  107. package/dist/hsBtnPanel-83nht1UQ.js +1 -0
  108. package/dist/hsBtnPanel-CDXIlZ_p.mjs +4 -0
  109. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DA7FmG0n.mjs +67 -0
  110. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-u2pZC_gR.js +1 -0
  111. package/dist/hsCheckbox-BKa_El3s.js +1 -0
  112. package/dist/hsCheckbox-CalDndlZ.mjs +4 -0
  113. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-Dh-lqGjq.js +1 -0
  114. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-XCUyHi8X.mjs +28 -0
  115. package/dist/hsExpand-B1cUAaAw.mjs +4 -0
  116. package/dist/hsExpand-Bwd73fvo.js +1 -0
  117. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BNyT0h7t.js +1 -0
  118. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-ezt_aGUO.mjs +285 -0
  119. package/dist/hsFormConfig-B6c-_yYP.js +1 -0
  120. package/dist/hsFormConfig-XU9bJ3kx.mjs +207 -0
  121. package/dist/hsFormConfigList-TKRLW26e.mjs +414 -0
  122. package/dist/hsFormConfigList-TKRLW26e.mjs.gz +0 -0
  123. package/dist/hsFormConfigList-dZqSrJSK.js +1 -0
  124. package/dist/hsFormPanel-CGFysBUk.mjs +238 -0
  125. package/dist/hsFormPanel-CGFysBUk.mjs.gz +0 -0
  126. package/dist/hsFormPanel-kYjgElFR.js +1 -0
  127. package/dist/hsFormParse-BNbnHW6i.mjs +4 -0
  128. package/dist/hsFormParse-CORdqc6m.js +1 -0
  129. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Ch8RhdXV.mjs +242 -0
  130. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Dhlc8D2i.js +1 -0
  131. package/dist/hsPanelItem-BOZ1av6y.js +1 -0
  132. package/dist/hsPanelItem-tPpJnnJd.mjs +4 -0
  133. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Dao7NDhZ.mjs +86 -0
  134. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-KozoMnkD.js +1 -0
  135. package/dist/iframes-CWdXFiYU.mjs +122 -0
  136. package/dist/iframes-DnAW1ZV2.js +1 -0
  137. package/dist/index copy-DFE_yWCx.mjs +69 -0
  138. package/dist/index copy-DkSt5nzl.js +1 -0
  139. package/dist/index copy-DtsDgBF8.mjs +134 -0
  140. package/dist/index copy-tJ9FVsS0.js +1 -0
  141. package/dist/index-0EMZK_Ri.mjs +10 -0
  142. package/dist/index-24BJiQB9.js +1 -0
  143. package/dist/index-3R5jyrHz.mjs +4 -0
  144. package/dist/index-4ncpQ4eO.js +1 -0
  145. package/dist/index-7sWorN-E.mjs +10 -0
  146. package/dist/index-B1OFpRFB.js +1 -0
  147. package/dist/index-B3waQo6j.mjs +331 -0
  148. package/dist/index-B3waQo6j.mjs.gz +0 -0
  149. package/dist/index-B9WSj98p.mjs +173 -0
  150. package/dist/index-BENZ2WH6.mjs +1009 -0
  151. package/dist/index-BENZ2WH6.mjs.gz +0 -0
  152. package/dist/index-BIgnSPCb.js +1 -0
  153. package/dist/index-BLGhN7h0.js +1 -0
  154. package/dist/index-BM5nAlyo.js +1 -0
  155. package/dist/index-BO1FveAU.js +1 -0
  156. package/dist/index-BPcf0Qgl.js +1 -0
  157. package/dist/index-BRmPrBX8.js +1 -0
  158. package/dist/index-BTs82niR.js +1 -0
  159. package/dist/index-BU8dO1hT.js +1 -0
  160. package/dist/index-BUojF4y6.mjs +4 -0
  161. package/dist/index-BXJWAHGd.mjs +254 -0
  162. package/dist/index-BfOP9sXo.js +1 -0
  163. package/dist/index-Bg2dWQkx.mjs +152 -0
  164. package/dist/index-BhMp70XH.mjs +94 -0
  165. package/dist/index-Bhj2Qelk.js +1 -0
  166. package/dist/index-BiE_2Gfj.js +1 -0
  167. package/dist/index-BmHxBvI1.js +1 -0
  168. package/dist/index-BoPRlzO3.mjs +4 -0
  169. package/dist/index-BpCPATgk.js +1 -0
  170. package/dist/index-BrlBUe6h.mjs +133 -0
  171. package/dist/index-Bvr5XYtq.mjs +73 -0
  172. package/dist/index-CF51_jlI.js +1 -0
  173. package/dist/index-CH_1fUdz.mjs +30 -0
  174. package/dist/index-CJNK6Cjy.js +1 -0
  175. package/dist/index-CLq_LQxX.js +1 -0
  176. package/dist/index-CLq_LQxX.js.gz +0 -0
  177. package/dist/index-CPj-Yh8g.js +1 -0
  178. package/dist/index-CPz6ggKd.mjs +4 -0
  179. package/dist/index-CUE6cOFE.mjs +76 -0
  180. package/dist/index-CVRPmktf.js +1 -0
  181. package/dist/index-CXgFr4Ld.mjs +65 -0
  182. package/dist/index-CYGyHWBv.mjs +258264 -0
  183. package/dist/index-CYGyHWBv.mjs.gz +0 -0
  184. package/dist/index-C_ugVEaP.mjs +119 -0
  185. package/dist/index-CbCppT2z.js +1 -0
  186. package/dist/index-CbgKih92.js +1 -0
  187. package/dist/index-Ci6RD5--.js +1 -0
  188. package/dist/index-Ci6RD5--.js.gz +0 -0
  189. package/dist/index-CjgoMe9f.mjs +5403 -0
  190. package/dist/index-CjgoMe9f.mjs.gz +0 -0
  191. package/dist/index-CnF3_P-G.js +1 -0
  192. package/dist/index-Cqp3Jnya.mjs +95 -0
  193. package/dist/index-CyV3ZVir.js +1 -0
  194. package/dist/index-D-2xfhbK.js +1 -0
  195. package/dist/index-D2GFhA-V.mjs +47 -0
  196. package/dist/index-D2Jd-mM6.mjs +4 -0
  197. package/dist/index-D6ZLwYDH.mjs +89 -0
  198. package/dist/index-DC-Js6Hi.js +1 -0
  199. package/dist/index-DCbmeDfO.js +1 -0
  200. package/dist/index-DCqtHRF9.mjs +23 -0
  201. package/dist/index-DDqY4_A5.mjs +14 -0
  202. package/dist/index-DEykAVeO.js +1 -0
  203. package/dist/index-DFIV43KD.js +1 -0
  204. package/dist/index-DHHcO6BG.js +1 -0
  205. package/dist/index-DJA7OrZO.js +1 -0
  206. package/dist/index-DKCFYKAH.js +1 -0
  207. package/dist/index-DNDaCoMF.js +1 -0
  208. package/dist/index-DRBjUBTG.mjs +65 -0
  209. package/dist/index-DT3c6iM1.mjs +49 -0
  210. package/dist/index-DTZW2hE_.js +1 -0
  211. package/dist/index-DWkT7_xS.mjs +200 -0
  212. package/dist/index-DXXKvOqN.mjs +67 -0
  213. package/dist/index-DZ_UFJE2.mjs +43 -0
  214. package/dist/index-Db25V09U.mjs +73 -0
  215. package/dist/index-DdVbsoiV.js +1 -0
  216. package/dist/index-Dgj5D7n5.mjs +262 -0
  217. package/dist/index-Dlp-NK3p.mjs +172 -0
  218. package/dist/index-DnFBRN9K.js +110 -0
  219. package/dist/index-DnFBRN9K.js.gz +0 -0
  220. package/dist/index-DvbPzC-6.js +1 -0
  221. package/dist/index-Dz9KzQ5V.mjs +50 -0
  222. package/dist/index-DzuU21Ls.js +1 -0
  223. package/dist/index-GKB-XroO.mjs +22 -0
  224. package/dist/index-J73yPVKq.mjs +285 -0
  225. package/dist/index-OdAUnbSV.mjs +131 -0
  226. package/dist/index-PCI3lWru.mjs +38 -0
  227. package/dist/index-PFUkwGmD.js +1 -0
  228. package/dist/index-PFUkwGmD.js.gz +0 -0
  229. package/dist/index-TmdsXxg4.mjs +403 -0
  230. package/dist/index-TmdsXxg4.mjs.gz +0 -0
  231. package/dist/index-URGFFXl5.js +1 -0
  232. package/dist/index-W8MzP83s.mjs +213 -0
  233. package/dist/index-YTNJNmBt.js +1 -0
  234. package/dist/index-Z83-84L3.js +1 -0
  235. package/dist/index-ZKhBU3tw.js +1 -0
  236. package/dist/index-aOzMz2B9.mjs +51 -0
  237. package/dist/index-bZH91HoC.mjs +2208 -0
  238. package/dist/index-bZH91HoC.mjs.gz +0 -0
  239. package/dist/index-feq0FF6W.mjs +23 -0
  240. package/dist/index-g_BDa62N.mjs +19 -0
  241. package/dist/index.js +1 -1
  242. package/dist/index.mjs +169 -171
  243. package/dist/index.vue_vue_type_script_setup_true_lang-B1f-mj3k.mjs +103 -0
  244. package/dist/index.vue_vue_type_script_setup_true_lang-BtDusFoW.js +1 -0
  245. package/dist/index.vue_vue_type_script_setup_true_lang-BxsT79jf.js +1 -0
  246. package/dist/index.vue_vue_type_script_setup_true_lang-C0UurXCc.js +1 -0
  247. package/dist/index.vue_vue_type_script_setup_true_lang-CFxpNArv.mjs +97 -0
  248. package/dist/index.vue_vue_type_script_setup_true_lang-Ch2lZaTn.mjs +194 -0
  249. package/dist/index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs +267 -0
  250. package/dist/index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs.gz +0 -0
  251. package/dist/index.vue_vue_type_script_setup_true_lang-IJKBTB3Y.js +1 -0
  252. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-CZUzRg_n.js +1 -0
  253. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-NkgQCBte.mjs +288 -0
  254. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-NkgQCBte.mjs.gz +0 -0
  255. package/dist/lib-generate-test-usersig.min.js +2 -0
  256. package/dist/lib-generate-test-usersig.min.js.gz +0 -0
  257. package/dist/link-B9jZK3Co.js +1 -0
  258. package/dist/link-x-yMf2aU.mjs +63 -0
  259. package/dist/list-CGMCMNPw.js +1 -0
  260. package/dist/list-CpLsLqR3.mjs +85 -0
  261. package/dist/logo-mini-BQ9BrQ1U.mjs +4 -0
  262. package/dist/logo-mini-DwRdfcE7.js +1 -0
  263. package/dist/main-CeHb7mmf.mjs +72 -0
  264. package/dist/main-VC_qocWi.js +1 -0
  265. package/dist/mobile-BYhQ989p.mjs +115 -0
  266. package/dist/mobile-DKd-GevH.js +1 -0
  267. package/dist/parent-BrZUDcxI.mjs +131 -0
  268. package/dist/parent-Cqft6ke8.js +1 -0
  269. package/dist/popup-B8dQsRMA.mjs +4 -0
  270. package/dist/popup-BhaF4a5x.js +1 -0
  271. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-6oT8xreJ.mjs +89 -0
  272. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-UweFIPnt.js +1 -0
  273. package/dist/roleItem-sC4o_Aj4.mjs +103 -0
  274. package/dist/roleItem-yqdApgll.js +1 -0
  275. package/dist/saveForm-C2E9Y6ON.mjs +160 -0
  276. package/dist/saveForm-TjA9LESw.js +1 -0
  277. package/dist/scan-BnUS-AoC.js +1 -0
  278. package/dist/scan-BnUS-AoC.js.gz +0 -0
  279. package/dist/scan-DoY8mPqe.mjs +945 -0
  280. package/dist/scan-DoY8mPqe.mjs.gz +0 -0
  281. package/dist/search-BS0R6DrM.js +1 -0
  282. package/dist/search-DI-pcuZu.mjs +114 -0
  283. package/dist/selectConfig-CnxTVchz.mjs +546 -0
  284. package/dist/selectConfig-CnxTVchz.mjs.gz +0 -0
  285. package/dist/selectConfig-D2HVovD8.js +1 -0
  286. package/dist/shortcutList-BXBGQdNn.mjs +76 -0
  287. package/dist/shortcutList-WSi4lUlm.js +1 -0
  288. package/dist/style.css +1 -0
  289. package/dist/style.css.gz +0 -0
  290. package/dist/subItem-BfyxcMb4.js +1 -0
  291. package/dist/subItem-DUZskY5M.mjs +77 -0
  292. package/dist/tagsView-Dft974Qb.mjs +2695 -0
  293. package/dist/tagsView-Dft974Qb.mjs.gz +0 -0
  294. package/dist/tagsView-PBsI_cCp.js +8 -0
  295. package/dist/tagsView-PBsI_cCp.js.gz +0 -0
  296. package/dist/transverse-CjKbGMR0.js +1 -0
  297. package/dist/transverse-cTm57se-.mjs +65 -0
  298. package/dist/types/components/business/bcBox/bcBox.vue.d.ts +66 -0
  299. package/dist/types/{src/components → components}/business/bcBox/utils.d.ts +11 -10
  300. package/dist/types/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +23 -0
  301. package/dist/types/{src/components → components}/business/bcBreadcrumb/index.d.ts +2 -1
  302. package/dist/types/components/business/bcForm/baseForm.vue.d.ts +273 -0
  303. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +42 -0
  304. package/dist/types/{src/components → components}/business/bcForm/type.d.ts +7 -6
  305. package/dist/types/components/business/bcForm/useGuide.d.ts +564 -0
  306. package/dist/types/components/business/bcSystemAuth/components/data.vue.d.ts +3 -0
  307. package/dist/types/components/business/bcSystemAuth/components/dict.vue.d.ts +3 -0
  308. package/dist/types/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +17 -0
  309. package/dist/types/components/business/bcSystemAuth/components/field.vue.d.ts +3 -0
  310. package/dist/types/components/business/bcSystemAuth/components/form.vue.d.ts +13 -0
  311. package/dist/types/{src/components → components}/business/bcSystemAuth/components/selectAll/index.d.ts +3 -2
  312. package/dist/types/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +5 -0
  313. package/dist/types/components/business/bcSystemAuth/components/table.vue.d.ts +13 -0
  314. package/dist/types/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +15 -0
  315. package/dist/types/components/business/bcSystemAuth/components/widget/form.vue.d.ts +15 -0
  316. package/dist/types/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +45 -0
  317. package/dist/types/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +15 -0
  318. package/dist/types/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +15 -0
  319. package/dist/types/{src/components → components}/business/bcSystemAuth/fastStore.d.ts +49 -48
  320. package/dist/types/{src/components → components}/business/bcSystemAuth/fastUtils.d.ts +30 -28
  321. package/dist/types/components/business/bcSystemAuth/index.d.ts +3 -0
  322. package/dist/types/components/business/bcSystemAuth/index.vue.d.ts +26 -0
  323. package/dist/types/{src/components → components}/business/bcSystemAuth/store.d.ts +49 -48
  324. package/dist/types/components/business/bcSystemAuth/type.d.ts +42 -0
  325. package/dist/types/components/business/bcSystemAuth/useAuth.d.ts +28 -0
  326. package/dist/types/{src/components → components}/business/bcSystemAuth/utils.d.ts +30 -28
  327. package/dist/types/components/business/bcSystemField/components/field.vue.d.ts +3 -0
  328. package/dist/types/components/business/bcSystemField/components/form.vue.d.ts +13 -0
  329. package/dist/types/{src/components → components}/business/bcSystemField/components/selectAll/index.d.ts +5 -4
  330. package/dist/types/components/business/bcSystemField/components/selectAll/index.vue.d.ts +5 -0
  331. package/dist/types/components/business/bcSystemField/components/table.vue.d.ts +13 -0
  332. package/dist/types/components/business/bcSystemField/components/widget/form.vue.d.ts +15 -0
  333. package/dist/types/components/business/bcSystemField/components/widget/tab.vue.d.ts +45 -0
  334. package/dist/types/components/business/bcSystemField/components/widget/tables.vue.d.ts +15 -0
  335. package/dist/types/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +15 -0
  336. package/dist/types/components/business/bcSystemField/index.d.ts +3 -0
  337. package/dist/types/components/business/bcSystemField/index.vue.d.ts +16 -0
  338. package/dist/types/{src/components → components}/business/bcSystemField/store.d.ts +40 -39
  339. package/dist/types/components/business/bcSystemField/useAuth.d.ts +16 -0
  340. package/dist/types/{src/components → components}/business/bcSystemField/utils.d.ts +21 -20
  341. package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +142 -0
  342. package/dist/types/components/business/bcTable/bcTable.vue.d.ts +51 -0
  343. package/dist/types/components/business/bcTable/components/btn/btn.vue.d.ts +77 -0
  344. package/dist/types/components/business/bcTable/components/popup/index.d.ts +3 -0
  345. package/dist/types/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +23 -0
  346. package/dist/types/components/business/bcTable/components/query/drag.vue.d.ts +244 -0
  347. package/dist/types/components/business/bcTable/components/query/query.vue.d.ts +249 -0
  348. package/dist/types/{src/components → components}/business/bcTable/components/query/useQuickSearch.d.ts +3 -2
  349. package/dist/types/components/business/bcTable/components/table/colgroup.vue.d.ts +28 -0
  350. package/dist/types/components/business/bcTable/components/table/column.vue.d.ts +35 -0
  351. package/dist/types/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +25 -0
  352. package/dist/types/{src/components → components}/business/bcTable/components/table/components/sortColumn/types.d.ts +2 -1
  353. package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +67 -0
  354. package/dist/types/{src/components → components}/business/bcTable/components/table/useTable.d.ts +5 -5
  355. package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +25 -0
  356. package/dist/types/{src/components → components}/business/bcTable/methods/cellDetailMethod.d.ts +1 -0
  357. package/dist/types/{src/components → components}/business/bcTable/methods/filterAgeMethod.d.ts +1 -0
  358. package/dist/types/{src/components → components}/business/bcTable/methods/footerMethod.d.ts +2 -1
  359. package/dist/types/{src/components → components}/business/bcTable/methods/formBtnMethod.d.ts +2 -1
  360. package/dist/types/{src/components → components}/business/bcTable/methods/index.d.ts +2 -1
  361. package/dist/types/{src/components → components}/business/bcTable/utils/authField.d.ts +2 -1
  362. package/dist/types/{src/components → components}/business/bcTable/utils/onFormKey.d.ts +5 -4
  363. package/dist/types/{src/components → components}/business/bcTable/utils/onTableKey.d.ts +6 -5
  364. package/dist/types/{src/components → components}/business/bcTable/utils/parseTable.d.ts +21 -20
  365. package/dist/types/{src/components → components}/business/bcTable/utils/type.d.ts +12 -11
  366. package/dist/types/{src/components → components}/business/bcTable/utils/useBcTable.d.ts +7080 -7070
  367. package/dist/types/{src/components → components}/business/bcTable/utils/useButon.d.ts +6 -5
  368. package/dist/types/components/business/bcTable/utils/useFormTableHeight.d.ts +20 -0
  369. package/dist/types/{src/components → components}/business/bcTable/utils/useKeydownEvent.d.ts +18 -17
  370. package/dist/types/{src/components → components}/business/bcVisual/bcVisual.vue.d.ts +8 -9
  371. package/dist/types/{src/components → components}/business/bcVisual/components/setting/dragItem.vue.d.ts +9 -16
  372. package/dist/types/components/business/bcVisual/components/setting/extendItem.vue.d.ts +13 -0
  373. package/dist/types/components/business/bcVisual/components/setting/setting.vue.d.ts +3 -0
  374. package/dist/types/{src/components → components}/business/bcVisual/components/setting/useDrag.d.ts +4 -2
  375. package/dist/types/components/business/bcVisual/components/table/table.vue.d.ts +6 -0
  376. package/dist/types/components/business/bcVisual/components/updateName/popup.vue.d.ts +17 -0
  377. package/dist/types/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +23 -0
  378. package/dist/types/{src/components → components}/business/bcVisual/components/updateSql/index.d.ts +2 -1
  379. package/dist/types/{src/components → components}/business/bcVisual/components/updateSql/nodeTree/index.d.ts +2 -1
  380. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +21 -0
  381. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +19 -0
  382. package/dist/types/components/business/bcVisual/components/updateSql/popup.vue.d.ts +17 -0
  383. package/dist/types/{src/components → components}/business/bcVisual/useTableFormat.d.ts +29 -28
  384. package/dist/types/{src/components → components}/business/bcVisual/utils.d.ts +3 -1
  385. package/dist/types/index.d.ts +1 -35
  386. package/dist/types/plugins/index.d.ts +33 -0
  387. package/dist/types/{src/types → types}/auth.d.ts +2 -1
  388. package/dist/types/{src/types → types}/components.d.ts +2 -1
  389. package/dist/types/{src/types → types}/customData.d.ts +18 -16
  390. package/dist/types/{src/types → types}/form.d.ts +2 -1
  391. package/dist/types/{src/types → types}/formItem/autocomplete.d.ts +2 -1
  392. package/dist/types/{src/types → types}/formItem/checkbox.d.ts +2 -1
  393. package/dist/types/{src/types → types}/formItem/input.d.ts +2 -1
  394. package/dist/types/{src/types → types}/formItem/inputGroup.d.ts +2 -1
  395. package/dist/types/{src/types → types}/formItem/inputNumber.d.ts +2 -1
  396. package/dist/types/{src/types → types}/formItem/radio.d.ts +2 -1
  397. package/dist/types/{src/types → types}/formItem/selelct.d.ts +2 -1
  398. package/dist/types/{src/types → types}/formItem/treeSelect.d.ts +2 -1
  399. package/dist/types/types/system.d.ts +14 -0
  400. package/dist/types/{src/utils → utils}/arrayOperation.d.ts +1 -1
  401. package/dist/types/utils/authFunction.d.ts +18 -0
  402. package/dist/types/utils/build.d.ts +11 -0
  403. package/dist/types/{src/utils → utils}/common.d.ts +4 -3
  404. package/dist/types/utils/commonFunction.d.ts +29 -0
  405. package/dist/types/{src/utils → utils}/download.d.ts +4 -4
  406. package/dist/types/utils/file.d.ts +6 -0
  407. package/dist/types/{src/utils → utils}/getDataType.d.ts +3 -2
  408. package/dist/types/utils/getStyleSheets.d.ts +11 -0
  409. package/dist/types/utils/index.d.ts +29 -0
  410. package/dist/types/{src/utils/loading/index.d.ts → utils/loading.d.ts} +1 -1
  411. package/dist/types/utils/lodash.d.ts +3 -0
  412. package/dist/types/{src/utils → utils}/mitt.d.ts +3 -2
  413. package/dist/types/{src/utils → utils}/number.d.ts +14 -2
  414. package/dist/types/{src/utils → utils}/other.d.ts +12 -11
  415. package/dist/types/utils/request/index.d.ts +6 -0
  416. package/dist/types/{src/utils → utils}/request/interceptors/request/authorization.interceptor.d.ts +2 -1
  417. package/dist/types/{src/utils → utils}/request/interceptors/request/result.type.interceptor.d.ts +2 -6
  418. package/dist/types/{src/utils → utils}/request/interceptors/request/undefined-params-handler.interceptor.d.ts +2 -13
  419. package/dist/types/{src/utils → utils}/request/interceptors/response/error-handler.interceptor.d.ts +2 -1
  420. package/dist/types/{src/utils → utils}/request/repeatRequest.d.ts +2 -1
  421. package/dist/types/utils/request/request.d.ts +7 -0
  422. package/dist/types/utils/setIconfont.d.ts +11 -0
  423. package/dist/types/utils/showMessage.d.ts +6 -0
  424. package/dist/types/utils/showMessageBox.d.ts +6 -0
  425. package/dist/types/utils/showNotification.d.ts +6 -0
  426. package/dist/types/{src/utils → utils}/showPopup/index.d.ts +6 -5
  427. package/dist/types/{src/utils → utils}/storage.d.ts +14 -12
  428. package/dist/types/{src/utils → utils}/tree.d.ts +4 -3
  429. package/dist/types/{src/utils → utils}/url.d.ts +3 -2
  430. package/dist/useConfigInfo-2zEYLSSs.js +1 -0
  431. package/dist/useConfigInfo-PTkkdx-l.mjs +19 -0
  432. package/dist/user-BVfFipEN.js +1 -0
  433. package/dist/user-BwTaSlHV.mjs +246 -0
  434. package/dist/userNews-Bu82hvh-.mjs +72 -0
  435. package/dist/userNews-CqtqTrvp.js +1 -0
  436. package/dist/userSelect-CTM8Fa6N.mjs +4 -0
  437. package/dist/userSelect-CpdC2OeS.js +1 -0
  438. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BAeRpB4d.js +1 -0
  439. package/dist/userSelect.vue_vue_type_script_setup_true_lang-bmpwfuqr.mjs +100 -0
  440. package/dist/vertical-CQrO0kp6.js +1 -0
  441. package/dist/vertical-vdV35A3P.mjs +133 -0
  442. package/package.json +41 -16
  443. package/dist/bcIcon-Bn7YpkQ0.js +0 -1
  444. package/dist/bcIcon-DqkzkIx5.mjs +0 -4
  445. package/dist/index-BN12NNPY.js +0 -349
  446. package/dist/index-CB7zMO7C.mjs +0 -144143
  447. package/dist/index.css +0 -1
  448. package/dist/types/element-plus.d.ts +0 -2
  449. package/dist/types/src/components/base/Affix/index.d.ts +0 -1
  450. package/dist/types/src/components/base/Affix/src/Affix.vue.d.ts +0 -3
  451. package/dist/types/src/components/base/Alert/index.d.ts +0 -1
  452. package/dist/types/src/components/base/Alert/src/Alert.vue.d.ts +0 -3
  453. package/dist/types/src/components/base/Aside/index.d.ts +0 -1
  454. package/dist/types/src/components/base/Aside/src/Aside.vue.d.ts +0 -3
  455. package/dist/types/src/components/base/Autocomplete/index.d.ts +0 -1
  456. package/dist/types/src/components/base/Autocomplete/src/Autocomplete.vue.d.ts +0 -3
  457. package/dist/types/src/components/base/Badge/index.d.ts +0 -1
  458. package/dist/types/src/components/base/Badge/src/Badge.vue.d.ts +0 -3
  459. package/dist/types/src/components/base/Button/index.d.ts +0 -2
  460. package/dist/types/src/components/base/Button/src/Button.vue.d.ts +0 -3
  461. package/dist/types/src/components/base/Button/src/ButtonGroup.vue.d.ts +0 -3
  462. package/dist/types/src/components/base/Calendar/index.d.ts +0 -1
  463. package/dist/types/src/components/base/Calendar/src/Calendar.vue.d.ts +0 -3
  464. package/dist/types/src/components/base/Card/index.d.ts +0 -1
  465. package/dist/types/src/components/base/Card/src/Card.vue.d.ts +0 -3
  466. package/dist/types/src/components/base/Carousel/index.d.ts +0 -2
  467. package/dist/types/src/components/base/Carousel/src/Carousel.vue.d.ts +0 -3
  468. package/dist/types/src/components/base/Carousel/src/CarouselItem.vue.d.ts +0 -3
  469. package/dist/types/src/components/base/Cascader/index.d.ts +0 -2
  470. package/dist/types/src/components/base/Cascader/src/Cascader.vue.d.ts +0 -3
  471. package/dist/types/src/components/base/Cascader/src/CascaderPanel.vue.d.ts +0 -3
  472. package/dist/types/src/components/base/Checkbox/index.d.ts +0 -3
  473. package/dist/types/src/components/base/Checkbox/src/Checkbox.vue.d.ts +0 -3
  474. package/dist/types/src/components/base/Checkbox/src/CheckboxButton.vue.d.ts +0 -3
  475. package/dist/types/src/components/base/Checkbox/src/CheckboxGroup.vue.d.ts +0 -3
  476. package/dist/types/src/components/base/Col/index.d.ts +0 -1
  477. package/dist/types/src/components/base/Col/src/Col.vue.d.ts +0 -3
  478. package/dist/types/src/components/base/Collapse/index.d.ts +0 -2
  479. package/dist/types/src/components/base/Collapse/src/Collapse.vue.d.ts +0 -3
  480. package/dist/types/src/components/base/Collapse/src/CollapseItem.vue.d.ts +0 -3
  481. package/dist/types/src/components/base/ColorPicker/index.d.ts +0 -1
  482. package/dist/types/src/components/base/ColorPicker/src/ColorPicker.vue.d.ts +0 -3
  483. package/dist/types/src/components/base/Container/index.d.ts +0 -1
  484. package/dist/types/src/components/base/Container/src/Container.vue.d.ts +0 -3
  485. package/dist/types/src/components/base/DatePicker/index.d.ts +0 -1
  486. package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +0 -3
  487. package/dist/types/src/components/base/Descriptions/index.d.ts +0 -2
  488. package/dist/types/src/components/base/Descriptions/src/Descriptions.vue.d.ts +0 -3
  489. package/dist/types/src/components/base/Descriptions/src/DescriptionsItem.vue.d.ts +0 -3
  490. package/dist/types/src/components/base/Dialog/index.d.ts +0 -1
  491. package/dist/types/src/components/base/Dialog/src/Dialog.vue.d.ts +0 -3
  492. package/dist/types/src/components/base/Divider/index.d.ts +0 -1
  493. package/dist/types/src/components/base/Divider/src/Divider.vue.d.ts +0 -3
  494. package/dist/types/src/components/base/Drawer/index.d.ts +0 -1
  495. package/dist/types/src/components/base/Drawer/src/Drawer.vue.d.ts +0 -3
  496. package/dist/types/src/components/base/Dropdown/index.d.ts +0 -3
  497. package/dist/types/src/components/base/Dropdown/src/Dropdown.vue.d.ts +0 -3
  498. package/dist/types/src/components/base/Dropdown/src/DropdownItem.vue.d.ts +0 -3
  499. package/dist/types/src/components/base/Dropdown/src/DropdownMenu.vue.d.ts +0 -3
  500. package/dist/types/src/components/base/Empty/index.d.ts +0 -1
  501. package/dist/types/src/components/base/Empty/src/Empty.vue.d.ts +0 -3
  502. package/dist/types/src/components/base/Footer/index.d.ts +0 -1
  503. package/dist/types/src/components/base/Footer/src/Footer.vue.d.ts +0 -3
  504. package/dist/types/src/components/base/Form/index.d.ts +0 -2
  505. package/dist/types/src/components/base/Form/src/Form.vue.d.ts +0 -3
  506. package/dist/types/src/components/base/Form/src/FormItem.vue.d.ts +0 -3
  507. package/dist/types/src/components/base/Header/index.d.ts +0 -1
  508. package/dist/types/src/components/base/Header/src/Header.vue.d.ts +0 -3
  509. package/dist/types/src/components/base/Icon/index.d.ts +0 -1
  510. package/dist/types/src/components/base/Icon/src/Icon.vue.d.ts +0 -3
  511. package/dist/types/src/components/base/Image/index.d.ts +0 -1
  512. package/dist/types/src/components/base/Image/src/Image.vue.d.ts +0 -3
  513. package/dist/types/src/components/base/ImageViewer/index.d.ts +0 -1
  514. package/dist/types/src/components/base/ImageViewer/src/ImageViewer.vue.d.ts +0 -3
  515. package/dist/types/src/components/base/Input/index.d.ts +0 -1
  516. package/dist/types/src/components/base/Input/src/Input.vue.d.ts +0 -30
  517. package/dist/types/src/components/base/InputNumber/index.d.ts +0 -1
  518. package/dist/types/src/components/base/InputNumber/src/InputNumber.vue.d.ts +0 -3
  519. package/dist/types/src/components/base/Main/index.d.ts +0 -1
  520. package/dist/types/src/components/base/Main/src/Main.vue.d.ts +0 -3
  521. package/dist/types/src/components/base/Menu/index.d.ts +0 -3
  522. package/dist/types/src/components/base/Menu/src/Menu.vue.d.ts +0 -3
  523. package/dist/types/src/components/base/Menu/src/MenuItem.vue.d.ts +0 -3
  524. package/dist/types/src/components/base/Menu/src/SubMenu.vue.d.ts +0 -3
  525. package/dist/types/src/components/base/Pagination/index.d.ts +0 -1
  526. package/dist/types/src/components/base/Pagination/src/Pagination.vue.d.ts +0 -3
  527. package/dist/types/src/components/base/Popconfirm/index.d.ts +0 -1
  528. package/dist/types/src/components/base/Popconfirm/src/Popconfirm.vue.d.ts +0 -3
  529. package/dist/types/src/components/base/Popover/index.d.ts +0 -1
  530. package/dist/types/src/components/base/Popover/src/Popover.vue.d.ts +0 -3
  531. package/dist/types/src/components/base/Progress/index.d.ts +0 -1
  532. package/dist/types/src/components/base/Progress/src/Progress.vue.d.ts +0 -3
  533. package/dist/types/src/components/base/Qr/index.d.ts +0 -1
  534. package/dist/types/src/components/base/Qr/src/Qr.vue.d.ts +0 -3
  535. package/dist/types/src/components/base/Radio/index.d.ts +0 -3
  536. package/dist/types/src/components/base/Radio/src/Radio.vue.d.ts +0 -17
  537. package/dist/types/src/components/base/Radio/src/RadioButton.vue.d.ts +0 -3
  538. package/dist/types/src/components/base/Radio/src/RadioGroup.vue.d.ts +0 -3
  539. package/dist/types/src/components/base/Rate/index.d.ts +0 -1
  540. package/dist/types/src/components/base/Rate/src/Rate.vue.d.ts +0 -3
  541. package/dist/types/src/components/base/Result/index.d.ts +0 -1
  542. package/dist/types/src/components/base/Result/src/Result.vue.d.ts +0 -3
  543. package/dist/types/src/components/base/Row/index.d.ts +0 -1
  544. package/dist/types/src/components/base/Row/src/Row.vue.d.ts +0 -3
  545. package/dist/types/src/components/base/Scrollbar/index.d.ts +0 -1
  546. package/dist/types/src/components/base/Scrollbar/src/Scrollbar.vue.d.ts +0 -3
  547. package/dist/types/src/components/base/Select/index.d.ts +0 -3
  548. package/dist/types/src/components/base/Select/src/Option.vue.d.ts +0 -3
  549. package/dist/types/src/components/base/Select/src/OptionGroup.vue.d.ts +0 -3
  550. package/dist/types/src/components/base/Select/src/Select.vue.d.ts +0 -37
  551. package/dist/types/src/components/base/SelectV2/index.d.ts +0 -1
  552. package/dist/types/src/components/base/SelectV2/src/SelectV2.vue.d.ts +0 -3
  553. package/dist/types/src/components/base/Slider/index.d.ts +0 -1
  554. package/dist/types/src/components/base/Slider/src/Slider.vue.d.ts +0 -3
  555. package/dist/types/src/components/base/Steps/index.d.ts +0 -1
  556. package/dist/types/src/components/base/Steps/src/Step.vue.d.ts +0 -3
  557. package/dist/types/src/components/base/Steps/src/Steps.vue.d.ts +0 -3
  558. package/dist/types/src/components/base/Switch/index.d.ts +0 -1
  559. package/dist/types/src/components/base/Switch/src/Switch.vue.d.ts +0 -3
  560. package/dist/types/src/components/base/Table/index.d.ts +0 -2
  561. package/dist/types/src/components/base/Table/src/Table.vue.d.ts +0 -3
  562. package/dist/types/src/components/base/Table/src/TableColumn.vue.d.ts +0 -3
  563. package/dist/types/src/components/base/Tabs/index.d.ts +0 -2
  564. package/dist/types/src/components/base/Tabs/src/TabPane.vue.d.ts +0 -3
  565. package/dist/types/src/components/base/Tabs/src/Tabs.vue.d.ts +0 -3
  566. package/dist/types/src/components/base/Tag/index.d.ts +0 -2
  567. package/dist/types/src/components/base/Tag/src/CheckTag.vue.d.ts +0 -3
  568. package/dist/types/src/components/base/Tag/src/Tag.vue.d.ts +0 -3
  569. package/dist/types/src/components/base/Text/index.d.ts +0 -1
  570. package/dist/types/src/components/base/Text/src/Text.vue.d.ts +0 -3
  571. package/dist/types/src/components/base/Tooltip/index.d.ts +0 -1
  572. package/dist/types/src/components/base/Tooltip/src/Tooltip.vue.d.ts +0 -3
  573. package/dist/types/src/components/base/Tour/index.d.ts +0 -2
  574. package/dist/types/src/components/base/Tour/src/Tour.vue.d.ts +0 -3
  575. package/dist/types/src/components/base/Tour/src/TourStep.vue.d.ts +0 -3
  576. package/dist/types/src/components/base/Transfer/index.d.ts +0 -1
  577. package/dist/types/src/components/base/Transfer/src/Transfer.vue.d.ts +0 -3
  578. package/dist/types/src/components/base/Tree/index.d.ts +0 -1
  579. package/dist/types/src/components/base/Tree/src/Tree.vue.d.ts +0 -3
  580. package/dist/types/src/components/base/TreeSelect/index.d.ts +0 -1
  581. package/dist/types/src/components/base/TreeSelect/src/TreeSelect.vue.d.ts +0 -3
  582. package/dist/types/src/components/base/TreeV2/index.d.ts +0 -1
  583. package/dist/types/src/components/base/TreeV2/src/TreeV2.vue.d.ts +0 -3
  584. package/dist/types/src/components/base/Upload/index.d.ts +0 -1
  585. package/dist/types/src/components/base/Upload/src/Upload.vue.d.ts +0 -3
  586. package/dist/types/src/components/base/Watermark/index.d.ts +0 -1
  587. package/dist/types/src/components/base/Watermark/src/Watermark.vue.d.ts +0 -3
  588. package/dist/types/src/components/base/components.d.ts +0 -57
  589. package/dist/types/src/components/base/index.d.ts +0 -185
  590. package/dist/types/src/components/business/bcBox/bcBox.vue.d.ts +0 -48
  591. package/dist/types/src/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +0 -14
  592. package/dist/types/src/components/business/bcButton/bcButton.vue.d.ts +0 -13
  593. package/dist/types/src/components/business/bcCheckbox/bcCheckbox.vue.d.ts +0 -23
  594. package/dist/types/src/components/business/bcContextBox/bcContextBox.vue.d.ts +0 -40
  595. package/dist/types/src/components/business/bcContextBox/useContextMenu.d.ts +0 -34
  596. package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +0 -38
  597. package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +0 -24
  598. package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +0 -275
  599. package/dist/types/src/components/business/bcForm/bcForm.vue.d.ts +0 -33
  600. package/dist/types/src/components/business/bcForm/useGuide.d.ts +0 -559
  601. package/dist/types/src/components/business/bcGroup/bcGroup.vue.d.ts +0 -36
  602. package/dist/types/src/components/business/bcIcon/bcIcon.vue.d.ts +0 -27
  603. package/dist/types/src/components/business/bcInputGroup/bcInputGroup.vue.d.ts +0 -20
  604. package/dist/types/src/components/business/bcRadio/bcRadio.vue.d.ts +0 -18
  605. package/dist/types/src/components/business/bcSelect/bcSelect.vue.d.ts +0 -33
  606. package/dist/types/src/components/business/bcSignature/index.vue.d.ts +0 -19
  607. package/dist/types/src/components/business/bcSystemAuth/components/data.vue.d.ts +0 -3
  608. package/dist/types/src/components/business/bcSystemAuth/components/dict.vue.d.ts +0 -3
  609. package/dist/types/src/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +0 -17
  610. package/dist/types/src/components/business/bcSystemAuth/components/field.vue.d.ts +0 -3
  611. package/dist/types/src/components/business/bcSystemAuth/components/form.vue.d.ts +0 -11
  612. package/dist/types/src/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +0 -5
  613. package/dist/types/src/components/business/bcSystemAuth/components/table.vue.d.ts +0 -11
  614. package/dist/types/src/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +0 -11
  615. package/dist/types/src/components/business/bcSystemAuth/components/widget/form.vue.d.ts +0 -11
  616. package/dist/types/src/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +0 -17
  617. package/dist/types/src/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +0 -11
  618. package/dist/types/src/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +0 -11
  619. package/dist/types/src/components/business/bcSystemAuth/index.d.ts +0 -2
  620. package/dist/types/src/components/business/bcSystemAuth/index.vue.d.ts +0 -17
  621. package/dist/types/src/components/business/bcSystemAuth/type.d.ts +0 -342
  622. package/dist/types/src/components/business/bcSystemAuth/useAuth.d.ts +0 -26
  623. package/dist/types/src/components/business/bcSystemField/components/field.vue.d.ts +0 -3
  624. package/dist/types/src/components/business/bcSystemField/components/form.vue.d.ts +0 -11
  625. package/dist/types/src/components/business/bcSystemField/components/selectAll/index.vue.d.ts +0 -5
  626. package/dist/types/src/components/business/bcSystemField/components/table.vue.d.ts +0 -11
  627. package/dist/types/src/components/business/bcSystemField/components/widget/form.vue.d.ts +0 -11
  628. package/dist/types/src/components/business/bcSystemField/components/widget/tab.vue.d.ts +0 -17
  629. package/dist/types/src/components/business/bcSystemField/components/widget/tables.vue.d.ts +0 -11
  630. package/dist/types/src/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +0 -11
  631. package/dist/types/src/components/business/bcSystemField/index.d.ts +0 -2
  632. package/dist/types/src/components/business/bcSystemField/index.vue.d.ts +0 -7
  633. package/dist/types/src/components/business/bcSystemField/useAuth.d.ts +0 -14
  634. package/dist/types/src/components/business/bcTable/bcFormTable.vue.d.ts +0 -143
  635. package/dist/types/src/components/business/bcTable/bcTable.vue.d.ts +0 -32
  636. package/dist/types/src/components/business/bcTable/components/btn/btn.vue.d.ts +0 -58
  637. package/dist/types/src/components/business/bcTable/components/popup/index.d.ts +0 -2
  638. package/dist/types/src/components/business/bcTable/components/popup/popup.vue.d.ts +0 -49
  639. package/dist/types/src/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +0 -14
  640. package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +0 -222
  641. package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +0 -226
  642. package/dist/types/src/components/business/bcTable/components/table/colgroup.vue.d.ts +0 -25
  643. package/dist/types/src/components/business/bcTable/components/table/column.vue.d.ts +0 -49
  644. package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -16
  645. package/dist/types/src/components/business/bcTable/components/table/table.vue.d.ts +0 -64
  646. package/dist/types/src/components/business/bcTable/components/table/useTableHeight.d.ts +0 -23
  647. package/dist/types/src/components/business/bcTable/utils/useFormTableHeight.d.ts +0 -18
  648. package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +0 -61
  649. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.d.ts +0 -2
  650. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.vue.d.ts +0 -33
  651. package/dist/types/src/components/business/bcTreeSearch/bcTreeSearch.vue.d.ts +0 -55
  652. package/dist/types/src/components/business/bcTreeSelect/bcTreeSelect.vue.d.ts +0 -28
  653. package/dist/types/src/components/business/bcTrtc/bcTrtc.vue.d.ts +0 -104
  654. package/dist/types/src/components/business/bcTrtc/hooks/useOperateLog.d.ts +0 -8
  655. package/dist/types/src/components/business/bcTrtc/hooks/useTrtcRoomEvent.d.ts +0 -50
  656. package/dist/types/src/components/business/bcTrtc/type.d.ts +0 -124
  657. package/dist/types/src/components/business/bcTrtc/useTrtc.d.ts +0 -39
  658. package/dist/types/src/components/business/bcTrtc/util/generateTestUserSig.d.ts +0 -64
  659. package/dist/types/src/components/business/bcTrtc/util/lib-generate-test-usersig-es.min.d.ts +0 -20
  660. package/dist/types/src/components/business/bcTrtc/util/utils.d.ts +0 -4
  661. package/dist/types/src/components/business/bcUpload/bcUpload.vue.d.ts +0 -13
  662. package/dist/types/src/components/business/bcUpload/component/highSpeedCamera.vue.d.ts +0 -19
  663. package/dist/types/src/components/business/bcUpload/component/qwebchannel.d.ts +0 -15
  664. package/dist/types/src/components/business/bcUpload/component/type.d.ts +0 -44
  665. package/dist/types/src/components/business/bcUpload/type.d.ts +0 -83
  666. package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +0 -272
  667. package/dist/types/src/components/business/bcUpload/useUpload.d.ts +0 -21
  668. package/dist/types/src/components/business/bcVisual/components/setting/extendItem.vue.d.ts +0 -13
  669. package/dist/types/src/components/business/bcVisual/components/setting/setting.vue.d.ts +0 -3
  670. package/dist/types/src/components/business/bcVisual/components/table/table.vue.d.ts +0 -6
  671. package/dist/types/src/components/business/bcVisual/components/updateName/popup.vue.d.ts +0 -17
  672. package/dist/types/src/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +0 -23
  673. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +0 -21
  674. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +0 -27
  675. package/dist/types/src/components/business/bcVisual/components/updateSql/popup.vue.d.ts +0 -17
  676. package/dist/types/src/components/business/index.d.ts +0 -52
  677. package/dist/types/src/hooks/index.d.ts +0 -3
  678. package/dist/types/src/hooks/onKeyStroke.d.ts +0 -13
  679. package/dist/types/src/hooks/useExpose.d.ts +0 -23
  680. package/dist/types/src/hooks/useKeyStroke.d.ts +0 -22
  681. package/dist/types/src/utils/commonFunction.d.ts +0 -14
  682. package/dist/types/src/utils/index.d.ts +0 -26
  683. package/dist/types/src/utils/lodash.d.ts +0 -2
  684. package/dist/types/src/utils/request/index.d.ts +0 -6
  685. package/dist/types/src/utils/request/request.d.ts +0 -6
  686. package/dist/types/src/utils/showMessage.d.ts +0 -3
  687. package/dist/types/src/utils/showMessageBox.d.ts +0 -3
  688. package/dist/types/src/utils/showNotification.d.ts +0 -3
  689. package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +0 -56
  690. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/fastSet/index.d.ts +0 -0
  691. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/index.d.ts +0 -0
  692. /package/dist/types/{src/components → components}/business/bcSystemAuth/components/widget/index.d.ts +0 -0
  693. /package/dist/types/{src/components → components}/business/bcSystemField/components/index.d.ts +0 -0
  694. /package/dist/types/{src/components → components}/business/bcSystemField/components/widget/index.d.ts +0 -0
  695. /package/dist/types/{src/components → components}/business/bcTable/components/index.d.ts +0 -0
  696. /package/dist/types/{src/components → components}/business/bcTable/components/query/components/sortForm/index.d.ts +0 -0
  697. /package/dist/types/{src/components → components}/business/bcTable/components/table/components/sortColumn/index.d.ts +0 -0
  698. /package/dist/types/{src/components → components}/business/bcVisual/components/updateName/index.d.ts +0 -0
  699. /package/dist/types/{src/components → components}/business/bcVisual/type.d.ts +0 -0
  700. /package/dist/types/{src/types → types}/formItem/button.d.ts +0 -0
  701. /package/dist/types/{src/types → types}/formItem/index.d.ts +0 -0
  702. /package/dist/types/{src/types → types}/index.d.ts +0 -0
  703. /package/dist/types/{src/utils → utils}/cfprint.d.ts +0 -0
  704. /package/dist/types/{src/utils → utils}/crypto.d.ts +0 -0
  705. /package/dist/types/{src/utils → utils}/device_info.d.ts +0 -0
  706. /package/dist/types/{src/utils → utils}/formatTime.d.ts +0 -0
  707. /package/dist/types/{src/utils → utils}/request/interceptors/request/index.d.ts +0 -0
  708. /package/dist/types/{src/utils → utils}/request/interceptors/response/index.d.ts +0 -0
  709. /package/dist/types/{src/utils → utils}/shortcutList.d.ts +0 -0
  710. /package/dist/types/{src/utils → utils}/theme.d.ts +0 -0
  711. /package/dist/types/{src/utils → utils}/toolsValidate.d.ts +0 -0
  712. /package/dist/types/{src/utils → utils}/update.d.ts +0 -0
  713. /package/dist/types/{src/utils → utils}/watermark.d.ts +0 -0
@@ -0,0 +1,2624 @@
1
+ import { defineComponent, mergeModels, useModel, resolveComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, createVNode, toDisplayString, renderSlot, ref } from "vue";
2
+ import { b as configElList } from "./baseFormConfig-BfwuF6e2.mjs";
3
+ const _hoisted_1 = { key: 0 };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "hsExpand",
6
+ props: /* @__PURE__ */ mergeModels({
7
+ expandConfig: {
8
+ type: Object,
9
+ default: () => {
10
+ return {
11
+ iconSize: 18,
12
+ subTitle: "",
13
+ class: "",
14
+ rightSlot: ""
15
+ };
16
+ }
17
+ }
18
+ }, {
19
+ "modelValue": {},
20
+ "modelModifiers": {}
21
+ }),
22
+ emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
23
+ setup(__props, { emit: __emit }) {
24
+ const emit = __emit;
25
+ const visible = useModel(__props, "modelValue");
26
+ const toggleExpand = () => {
27
+ visible.value = !visible.value;
28
+ emit("change", visible.value);
29
+ };
30
+ return (_ctx, _cache) => {
31
+ const _component_bc_icon = resolveComponent("bc-icon");
32
+ return openBlock(), createElementBlock("div", {
33
+ class: normalizeClass(["flex align-center justify-between cursor-pointer hover:bg-red-200", __props.expandConfig.class])
34
+ }, [
35
+ createElementVNode("div", {
36
+ class: "flex align-center flex-1",
37
+ onClick: toggleExpand
38
+ }, [
39
+ createVNode(_component_bc_icon, {
40
+ name: visible.value ? "ele-CaretBottom" : "ele-CaretRight",
41
+ size: 18
42
+ }, null, 8, ["name"]),
43
+ createElementVNode("div", null, toDisplayString(__props.expandConfig["subTitle"]), 1)
44
+ ]),
45
+ __props.expandConfig.rightSlot ? (openBlock(), createElementBlock("div", _hoisted_1, [
46
+ renderSlot(_ctx.$slots, "default")
47
+ ])) : createCommentVNode("", true)
48
+ ], 2);
49
+ };
50
+ }
51
+ });
52
+ let baseData = ref({
53
+ id: "",
54
+ // 表格唯一标识
55
+ tableName: "表格配置名称",
56
+ // 表格配置名称
57
+ method: "get",
58
+ // 请求方式
59
+ requestParams: "",
60
+ // 默认不可变更参数
61
+ is_apply_page: true,
62
+ // 是否分页
63
+ showPagerAll: false,
64
+ // 是否显示总页全选数据复选框
65
+ isSimulate: false,
66
+ // 是否开启模拟分页
67
+ isGetCanche: false,
68
+ // 是否获取本地缓存数据
69
+ enablePopup: false,
70
+ // 是否允许自定义弹窗
71
+ isClosedKeyStroke: false,
72
+ // 是否关闭键盘事件
73
+ isClosedEditRow: false,
74
+ // 是否关闭点击行编辑模式
75
+ tabs: "card",
76
+ // 多标签显示模式
77
+ isCloseInitData: true,
78
+ // 是否关闭初始化数据
79
+ table_page_data: {
80
+ loading: false,
81
+ currentPage: 1,
82
+ pageSize: 10,
83
+ total: 0,
84
+ pagerCount: 7,
85
+ pageSizes: "string=[10,15,20,50,100]",
86
+ align: "right",
87
+ border: false,
88
+ background: false,
89
+ perfect: false,
90
+ autoHidden: false
91
+ },
92
+ // 表格分页配置
93
+ // 动态配置列
94
+ dynamicColumn: {
95
+ isDynamicRequestConfig: false,
96
+ // 是否动态请求配置
97
+ requestDynamicUrl: "",
98
+ // 请求动态配置地址
99
+ requestDynamicParams: "",
100
+ // 请求动态配置参数
101
+ dynamicMethod: "get",
102
+ //请求动态配置方式
103
+ dynamicProxy: ""
104
+ // 请求动态配置代理
105
+ },
106
+ // 'auto-resize': '', // 是否监听父元素变化重新计算表格
107
+ // 'sync-resize': '', // 是否随属性的变化重新计算表格
108
+ stripe: true,
109
+ // 是否带有斑马纹
110
+ border: "full",
111
+ // 是否带有边框
112
+ round: false,
113
+ // 是否为圆角边框
114
+ size: "small",
115
+ // 表格的尺寸
116
+ loading: false,
117
+ //表格是否显示加载中
118
+ align: "left",
119
+ // 所有的列对齐方式
120
+ headerAlign: "left",
121
+ // 所有的表头列的对齐方式
122
+ footerAlign: "left",
123
+ //所有的表尾列的对齐方式
124
+ showHeader: true,
125
+ // 是否显示表头
126
+ // rowClassName: '', // 给行附加样式类
127
+ // 'cell-class-name': '', // 给单元格附加样式类
128
+ // 'header-row-class-name': '', // 给表头的行附加样式类
129
+ // 'header-cell-class-name': '', // 给表头的单元格附加样式类
130
+ // 'footer-row-class-name': '', // 给表尾的行附加样式类
131
+ // 'footer-cell-class-name': '', // 给表尾的单元格附加样式类
132
+ showFooter: false,
133
+ // 是否显示表尾
134
+ // 'footer-method': '', // 表尾的数据获取方法
135
+ // 'merge-cells': '', // 临时合并指定的单元格
136
+ // 'merge-footer-items': '', // 临时合并表尾
137
+ showOverflow: "tooltip",
138
+ // 设置所有内容溢出显示
139
+ // 'show-header-overflow': '', // 设置表头内容溢出显示
140
+ // 'show-footer-overflow': '', // 设置表尾内容溢出显示
141
+ // 'keep-source': '', // 保持原始值的状态
142
+ // 'empty-text': '', // 空数据时显示的内容
143
+ // 'params': '', // 自定义参数
144
+ columnConfig: {
145
+ useKey: false,
146
+ isCurrent: false,
147
+ isHover: true,
148
+ resizable: false,
149
+ maxFixedSize: 4
150
+ },
151
+ // 列的默认参数
152
+ rowConfig: {
153
+ useKey: false,
154
+ keyField: "_X_ROW_KEY",
155
+ isCurrent: true,
156
+ isHover: true
157
+ },
158
+ // 行配置信息
159
+ resizeConfig: { refreshDelay: 250 },
160
+ // 响应式布局配置项
161
+ resizableConfig: { minWidth: "auto" },
162
+ // 列宽拖动配置项
163
+ seqConfig: {},
164
+ // 序号配置项
165
+ sortConfig: {
166
+ defaultSort: {},
167
+ multiple: false,
168
+ chronological: false,
169
+ remote: true,
170
+ showIcon: true
171
+ },
172
+ // 排序配置项
173
+ filterConfig: { remote: false, filterMethod: "", showIcon: true },
174
+ // 筛选配置项
175
+ radioConfig: { strict: true, reserve: false, highlight: false },
176
+ // 单选框配置项
177
+ checkboxConfig: {},
178
+ // 复选框配置项
179
+ tooltipConfig: {},
180
+ // tooltip 配置项
181
+ expandConfig: {
182
+ expandAll: false,
183
+ accordion: false,
184
+ trigger: "default",
185
+ lazy: false,
186
+ reserve: false,
187
+ showIcon: true
188
+ },
189
+ //展开行配置项(不支持虚拟滚动)
190
+ treeConfig: {
191
+ transform: false,
192
+ rowField: "id",
193
+ parentField: "parentId",
194
+ childrenField: "children",
195
+ indent: 20,
196
+ showLine: false,
197
+ expandAll: false,
198
+ accordion: false,
199
+ trigger: "default",
200
+ lazy: false,
201
+ hasChildField: "hasChild",
202
+ reserve: false,
203
+ showIcon: true
204
+ },
205
+ // 树形结构配置项
206
+ editConfig: {
207
+ trigger: "click",
208
+ enabled: true,
209
+ mode: "cell",
210
+ showIcon: true,
211
+ showStatus: false,
212
+ showUpdateStatus: false,
213
+ showInsertStatus: false,
214
+ showAsterisk: true,
215
+ autoClear: true
216
+ },
217
+ // 可编辑配置项
218
+ validConfig: { autoPos: true, showMessage: true },
219
+ // 校验配置项
220
+ editRules: {},
221
+ // 校验规则配置项
222
+ emptyRender: {},
223
+ // 空内容渲染配置项,empty-render 的优先级大于 empty-text
224
+ loadingConfig: {},
225
+ // 加载中配置项
226
+ scrollX: {},
227
+ scrollY: {}
228
+ });
229
+ let baseTableConfig = [
230
+ {
231
+ prop: "id",
232
+ label: "表格唯一标识",
233
+ type: "",
234
+ tooltip: "唯一标识(被某些特定的功能所依赖)",
235
+ disabled: true,
236
+ el: "hs-input"
237
+ },
238
+ {
239
+ prop: "tableName",
240
+ label: "表格配置名称",
241
+ type: "",
242
+ el: "hs-input"
243
+ },
244
+ {
245
+ prop: "requestParams",
246
+ label: "请求参数",
247
+ type: "",
248
+ el: "hs-input",
249
+ attr: {
250
+ placeholder: "{type: 1} 默认不可变更参数"
251
+ }
252
+ },
253
+ {
254
+ prop: "requestUrl",
255
+ label: "请求地址",
256
+ type: "",
257
+ el: "hs-input"
258
+ },
259
+ {
260
+ prop: "method",
261
+ label: "请求方式",
262
+ type: "",
263
+ op: [
264
+ { label: " POST", value: "post" },
265
+ { label: "GET", value: "get" },
266
+ { label: "DELETE", value: "delete" },
267
+ { label: "PUT", value: "put" }
268
+ ],
269
+ el: "hs-select",
270
+ cel: "hs-option"
271
+ },
272
+ {
273
+ prop: "proxy",
274
+ label: "系统代理",
275
+ type: "",
276
+ el: "hs-input"
277
+ },
278
+ {
279
+ prop: "border",
280
+ label: "是否带有边框",
281
+ type: "",
282
+ op: [
283
+ { label: "默认", value: "default" },
284
+ { label: "完整边框", value: "full" },
285
+ { label: "外边框", value: "outer" },
286
+ { label: "内边框", value: "inner" },
287
+ { label: "无边框", value: "none" }
288
+ ],
289
+ el: "hs-select",
290
+ cel: "hs-option"
291
+ },
292
+ {
293
+ prop: "size",
294
+ label: "表格的尺寸",
295
+ type: "",
296
+ op: [
297
+ { label: "中等", value: "medium" },
298
+ { label: "小", value: "small" },
299
+ { label: "超小", value: "mini" }
300
+ ],
301
+ el: "hs-select",
302
+ cel: "hs-option"
303
+ },
304
+ {
305
+ prop: "align",
306
+ label: "所有的列对齐方式",
307
+ type: "",
308
+ op: [
309
+ { label: "左对齐", value: "left" },
310
+ { label: "居中对齐", value: "center" },
311
+ { label: "右对齐", value: "right" }
312
+ ],
313
+ el: "hs-select",
314
+ cel: "hs-option"
315
+ },
316
+ {
317
+ prop: "headerAlign",
318
+ label: "所有的表头列的对齐方式",
319
+ tooltip: "所有的表头列的对齐方式",
320
+ type: "",
321
+ op: [
322
+ { label: "左对齐", value: "left" },
323
+ { label: "居中对齐", value: "center" },
324
+ { label: "右对齐", value: "right" }
325
+ ],
326
+ el: "hs-select",
327
+ cel: "hs-option"
328
+ },
329
+ {
330
+ prop: "footerAlign",
331
+ label: "所有的表尾列的对齐方式",
332
+ type: "",
333
+ tooltip: "所有的表尾列的对齐方式",
334
+ op: [
335
+ { label: "左对齐", value: "left" },
336
+ { label: "居中对齐", value: "center" },
337
+ { label: "右对齐", value: "right" }
338
+ ],
339
+ el: "hs-select",
340
+ cel: "hs-option"
341
+ },
342
+ {
343
+ prop: "emptyText",
344
+ label: "空数据时显示的内容",
345
+ type: "",
346
+ el: "hs-input"
347
+ },
348
+ {
349
+ prop: "showOverflow",
350
+ label: "设置所有内容溢出显示",
351
+ tooltip: "设置所有内容过长时显示为省略号(如果是固定列建议设置该值,提升渲染速度)",
352
+ type: "",
353
+ op: [
354
+ { label: "ellipsis", value: "ellipsis" },
355
+ { label: "title", value: "title" },
356
+ { label: "tooltip", value: "tooltip" }
357
+ ],
358
+ el: "hs-select",
359
+ cel: "hs-option"
360
+ },
361
+ {
362
+ prop: "showHeaderOverflow",
363
+ label: "设置表头内容溢出显示",
364
+ type: "",
365
+ tooltip: "设置表头所有内容过长时显示为省略号",
366
+ op: [
367
+ { label: "ellipsis", value: "ellipsis" },
368
+ { label: "title", value: "title" },
369
+ { label: "tooltip", value: "tooltip" }
370
+ ],
371
+ el: "hs-select",
372
+ cel: "hs-option"
373
+ },
374
+ {
375
+ prop: "showFooterOverflow",
376
+ label: "设置表尾内容溢出显示",
377
+ type: "",
378
+ tooltip: "设置表尾所有内容过长时显示为省略号",
379
+ op: [
380
+ { label: "ellipsis", value: "ellipsis" },
381
+ { label: "title", value: "title" },
382
+ { label: "tooltip", value: "tooltip" }
383
+ ],
384
+ el: "hs-select",
385
+ cel: "hs-option"
386
+ },
387
+ {
388
+ prop: "showHeader",
389
+ label: "是否显示表头",
390
+ type: "",
391
+ el: "hs-switch"
392
+ },
393
+ {
394
+ prop: "keepSource",
395
+ label: "保持原始值的状态",
396
+ type: "",
397
+ tooltip: "保持原始值的状态,被某些功能所依赖,比如编辑状态、还原数据等(开启后影响性能,具体取决于数据量)",
398
+ el: "hs-switch"
399
+ },
400
+ {
401
+ prop: "loading",
402
+ label: "表格是否显示加载中",
403
+ type: "",
404
+ el: "hs-switch"
405
+ },
406
+ {
407
+ prop: "round",
408
+ label: "是否为圆角边框",
409
+ type: "",
410
+ el: "hs-switch"
411
+ },
412
+ {
413
+ prop: "stripe",
414
+ label: "是否带有斑马纹",
415
+ type: "",
416
+ tooltip: "是否带有斑马纹(需要注意的是,在可编辑表格场景下,临时插入的数据不会有斑马纹样式)",
417
+ el: "hs-switch"
418
+ },
419
+ {
420
+ prop: "autoResize",
421
+ label: "监听父元素变化重新计算表格",
422
+ tooltip: "自动监听父元素的变化去重新计算表格(对于父元素可能存在动态变化、显示隐藏的容器中、列宽异常等场景中的可能会用到)",
423
+ type: "",
424
+ el: "hs-switch"
425
+ },
426
+ {
427
+ prop: "syncResize",
428
+ label: "随属性的变化重新计算表格",
429
+ type: "",
430
+ tooltip: "自动跟随某个属性的变化去重新计算表格,和手动调用 recalculate 方法是一样的效果(对于通过某个属性来控制显示/隐藏切换时可能会用到)",
431
+ el: "hs-switch"
432
+ },
433
+ {
434
+ prop: "showFooter",
435
+ label: "是否显示表尾",
436
+ el: "hs-switch"
437
+ },
438
+ {
439
+ prop: "rowClassName",
440
+ label: "给行附加样式类",
441
+ tooltip: "给行附加 className",
442
+ type: "textarea",
443
+ el: "hs-input"
444
+ },
445
+ {
446
+ prop: "cellClassName",
447
+ label: "给单元格附加样式类",
448
+ type: "textarea",
449
+ tooltip: "给单元格附加 className",
450
+ el: "hs-input"
451
+ },
452
+ {
453
+ prop: "headerRowClassName",
454
+ label: "给表头的行附加样式类",
455
+ tooltip: "给表头的行附加 className",
456
+ type: "textarea",
457
+ el: "hs-input"
458
+ },
459
+ {
460
+ prop: "headerCellClass-name",
461
+ label: "给表头的单元格附加样式类",
462
+ type: "textarea",
463
+ tooltip: "给表头的单元格附加 className",
464
+ el: "hs-input"
465
+ },
466
+ {
467
+ prop: "footerRowClassName",
468
+ label: "给表尾的行附加样式类",
469
+ tooltip: "给表尾的行附加 className",
470
+ type: "textarea",
471
+ el: "hs-input"
472
+ },
473
+ {
474
+ prop: "footerCellClassName",
475
+ label: "给表尾的单元格附加样式类",
476
+ type: "textarea",
477
+ el: "hs-input"
478
+ },
479
+ {
480
+ prop: "footerMethod",
481
+ label: "表尾的数据获取方法",
482
+ tooltip: "示例:functionBody=function({columns,data}){return[columns.map((column,columnIndex)=>{if(columnIndex===0){return '合计'};return data[0]?.customTotal?.[column.field]||''})]};",
483
+ type: "textarea",
484
+ el: "hs-input"
485
+ },
486
+ {
487
+ prop: "mergeCells",
488
+ label: "临时合并指定的单元格",
489
+ tooltip: "临时合并指定的单元格 (不能用于展开行,不建议用于固定列、树形结构)",
490
+ type: "textarea",
491
+ el: "hs-input"
492
+ },
493
+ {
494
+ prop: "mergeFooterItems",
495
+ label: "临时合并表尾",
496
+ tooltip: "临时合并表尾 (不能用于展开行,不建议用于固定列、树形结构)",
497
+ type: "textarea",
498
+ el: "hs-input"
499
+ },
500
+ {
501
+ prop: "is_apply_page",
502
+ label: "是否分页",
503
+ el: "hs-switch"
504
+ },
505
+ {
506
+ prop: "isCloseInitData",
507
+ label: "是否关闭初始化数据",
508
+ tooltip: "是否关闭第一次加载数据",
509
+ el: "hs-switch"
510
+ },
511
+ {
512
+ prop: "isSimulate",
513
+ label: "是否开启模拟分页",
514
+ tooltip: "开启此功能,需要开启分页功能,(未配置url获取本地缓存数据,配置url获取接口数据)",
515
+ el: "hs-switch"
516
+ },
517
+ {
518
+ prop: "isSplitInterface",
519
+ label: "是否拆分接口",
520
+ tooltip: "分页接口与数据接口分离,此时为两个接口",
521
+ el: "hs-switch"
522
+ },
523
+ {
524
+ prop: "isGetCanche",
525
+ label: "开启本地缓存",
526
+ tooltip: "setData 会将数据缓存本地数据库。getData 获取为此时缓存的数据,调用接口获取的也为本地缓存数据(模拟分页功能若未配置url等同该功能)",
527
+ el: "hs-switch"
528
+ },
529
+ {
530
+ prop: "showPagerAll",
531
+ label: "是否显示总页全选数据复选框",
532
+ el: "hs-switch"
533
+ },
534
+ {
535
+ prop: "isRemoteTotal",
536
+ label: "是否开启远程合计",
537
+ tooltip: "开启的同时需要开启显示表尾合计开关,此时为三个接口",
538
+ el: "hs-switch"
539
+ },
540
+ {
541
+ prop: "enablePopup",
542
+ label: "是否允许自定义弹窗",
543
+ tooltip: "是否允许自定义弹窗",
544
+ el: "hs-switch"
545
+ },
546
+ {
547
+ prop: "isClosedKeyStroke",
548
+ label: "是否关闭键盘事件",
549
+ el: "hs-switch"
550
+ },
551
+ {
552
+ prop: "isClosedEditRow",
553
+ label: "是否关闭点击行编辑模式",
554
+ el: "hs-switch"
555
+ },
556
+ {
557
+ prop: "tabs",
558
+ label: "多标签显示模式",
559
+ type: "",
560
+ tooltip: "表格多标签显示模式,默认卡片模式",
561
+ op: [
562
+ { label: "卡片", value: "card" },
563
+ { label: "下划线", value: "line" }
564
+ ],
565
+ el: "hs-select",
566
+ cel: "hs-option"
567
+ }
568
+ ];
569
+ const tableAttrConfig = [
570
+ {
571
+ key: "dynamicColumn",
572
+ visible: false,
573
+ title: "动态配置列",
574
+ dynamicColumn: [
575
+ // ====================== 配置项取自接口 【 start 】 =====================
576
+ {
577
+ prop: "isDynamicRequestConfig",
578
+ label: "是否请求动态配置",
579
+ el: "hs-switch"
580
+ },
581
+ {
582
+ prop: "requestDynamicUrl",
583
+ label: "请求动态配置地址",
584
+ el: "hs-input"
585
+ },
586
+ {
587
+ prop: "requestDynamicParams",
588
+ label: "请求动态配置参数",
589
+ el: "hs-input"
590
+ },
591
+ {
592
+ prop: "dynamicMethod",
593
+ label: "请求动态配置方式",
594
+ op: [
595
+ { label: " POST", value: "post" },
596
+ { label: "GET", value: "get" },
597
+ { label: "DELETE", value: "delete" },
598
+ { label: "PUT", value: "put" }
599
+ ],
600
+ el: "hs-select",
601
+ cel: "hs-option"
602
+ },
603
+ {
604
+ prop: "dynamicProxy",
605
+ label: "请求动态配置代理",
606
+ el: "hs-input"
607
+ }
608
+ // ====================== 配置项取自接口 【 end 】 =====================
609
+ ]
610
+ },
611
+ {
612
+ key: "columnConfig",
613
+ visible: false,
614
+ title: "列的默认参数",
615
+ columnConfig: [
616
+ {
617
+ prop: "useKey",
618
+ label: "是否为每列设置key属性",
619
+ tooltip: "是否需要为每一列的 VNode 设置 key 属性",
620
+ type: "",
621
+ el: "hs-switch"
622
+ },
623
+ {
624
+ prop: "isCurrent",
625
+ label: "点击列头当前列是否高亮",
626
+ tooltip: "当鼠标点击列头时,是否要高亮当前列",
627
+ type: "",
628
+ el: "hs-switch"
629
+ },
630
+ {
631
+ prop: "isHover",
632
+ label: "当鼠标移到列头时,是否要高亮当前头",
633
+ tooltip: "当鼠标移到列头时,是否要高亮当前列头",
634
+ type: "",
635
+ el: "hs-switch"
636
+ },
637
+ {
638
+ prop: "resizable",
639
+ label: "每一列是否启用列宽调整",
640
+ type: "",
641
+ tooltip: "每一列是否启用列宽调整",
642
+ el: "hs-switch"
643
+ },
644
+ {
645
+ prop: "width",
646
+ label: "每一列的宽度",
647
+ tooltip: "每一列的宽度",
648
+ type: "",
649
+ el: "hs-input"
650
+ },
651
+ {
652
+ prop: "minWidth",
653
+ label: "每一列的最小宽度",
654
+ tooltip: "每一列的最小宽度",
655
+ type: "",
656
+ el: "hs-input"
657
+ },
658
+ {
659
+ prop: "maxFixedSize",
660
+ label: "固定列允许设置的最大数量",
661
+ tooltip: "固定列允许设置的最大数量(如果是分组,则一个分组算一个",
662
+ type: "number",
663
+ el: "hs-input-number"
664
+ },
665
+ {
666
+ prop: "header-export-method",
667
+ label: "每一列的自定义表头单元格数据导出方法",
668
+ tooltip: "每一列的自定义表头单元格数据导出方法,返回自定义的标题",
669
+ type: "textarea",
670
+ el: "hs-input"
671
+ },
672
+ {
673
+ prop: "export-method",
674
+ label: "每一列的自定义单元格数据导出方法",
675
+ tooltip: "每一列的自定义单元格数据导出方法,返回自定义的值",
676
+ type: "textarea",
677
+ el: "hs-input"
678
+ },
679
+ {
680
+ prop: "footer-export-method",
681
+ label: "每一列的自定义表尾单元格数据导出方法",
682
+ tooltip: "每一列的自定义表尾单元格数据导出方法,返回自定义的值",
683
+ type: "textarea",
684
+ el: "hs-input"
685
+ }
686
+ ]
687
+ },
688
+ {
689
+ key: "rowConfig",
690
+ visible: false,
691
+ title: "行配置信息",
692
+ rowConfig: [
693
+ {
694
+ prop: "drag",
695
+ label: "拖拽调整行顺序",
696
+ type: "",
697
+ tooltip: "允许行拖拽进行数据排序",
698
+ el: "hs-switch"
699
+ },
700
+ {
701
+ prop: "useKey",
702
+ label: "是否为每行设置key属性",
703
+ type: "",
704
+ tooltip: "是否需要为每一行的 VNode 设置 key 属性",
705
+ el: "hs-switch"
706
+ },
707
+ {
708
+ prop: "keyField",
709
+ label: "自定义行主键的字段名",
710
+ type: "",
711
+ tooltip: "自定义行数据唯一主键的字段名(默认自动生成)",
712
+ el: "hs-input"
713
+ },
714
+ {
715
+ prop: "isCurrent",
716
+ label: "点击行是否要高亮当前行",
717
+ tooltip: "当鼠标点击行时,是否要高亮当前行",
718
+ type: "",
719
+ el: "hs-switch"
720
+ },
721
+ {
722
+ prop: "isHover",
723
+ label: "鼠标悬浮行是否高亮显示",
724
+ tooltip: "当鼠标移到行时,是否要高亮当前行",
725
+ type: "",
726
+ el: "hs-switch"
727
+ },
728
+ {
729
+ prop: "height",
730
+ label: "每一行的高度",
731
+ tooltip: "只对 show-overflow 有效,每一行的高度",
732
+ type: "number",
733
+ el: "hs-input-number"
734
+ }
735
+ ]
736
+ },
737
+ {
738
+ key: "resizeConfig",
739
+ visible: false,
740
+ title: "响应式布局配置项",
741
+ resizeConfig: [
742
+ {
743
+ prop: "refreshDelay",
744
+ label: "刷新延时时长(毫秒)",
745
+ type: "number",
746
+ el: "hs-input-number",
747
+ tooltip: "只对 auto-resize 有效,刷新延时,当父容器发生变化时,至少多少毫秒刷新布局"
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ key: "resizableConfig",
753
+ visible: false,
754
+ title: "列宽拖动配置项",
755
+ resizableConfig: [
756
+ {
757
+ prop: "minWidth",
758
+ label: "列宽拖动的最小宽度",
759
+ type: "",
760
+ tooltip: "列宽拖动的最小宽度",
761
+ el: "hs-input"
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ key: "seqConfig",
767
+ visible: false,
768
+ title: "序号配置项",
769
+ seqConfig: [
770
+ {
771
+ prop: "seqMethod",
772
+ label: "自定义序号的方法",
773
+ type: "textarea",
774
+ el: "hs-input",
775
+ tooltip: "自定义序号的方法返回处理后的值"
776
+ }
777
+ ]
778
+ },
779
+ {
780
+ key: "sortConfig",
781
+ visible: false,
782
+ title: "排序配置项",
783
+ sortConfig: [
784
+ {
785
+ prop: "orders",
786
+ label: "自定义序号的方法",
787
+ type: "textarea",
788
+ tooltip: "自定义轮转顺序",
789
+ el: "hs-input"
790
+ },
791
+ {
792
+ prop: "sortMethod",
793
+ label: "全局排序方法",
794
+ type: "textarea",
795
+ tooltip: "全局排序方法,当触发排序时会调用该函数返回排序后的列表",
796
+ el: "hs-input"
797
+ },
798
+ {
799
+ prop: "multiple",
800
+ label: "是否启用多列组合筛选",
801
+ type: "",
802
+ tooltip: "是否启用多列组合筛选",
803
+ el: "hs-switch"
804
+ },
805
+ {
806
+ prop: "chronological",
807
+ label: "是否按照触发顺序进行排序",
808
+ type: "",
809
+ tooltip: "只对 multiple 有效,是否按照先后触发顺序进行排序",
810
+ el: "hs-switch"
811
+ },
812
+ {
813
+ prop: "remote",
814
+ label: "所有列是否使用服务端排序",
815
+ type: "",
816
+ tooltip: "所有列是否使用服务端排序,如果设置为 true 则不会对数据进行处理",
817
+ el: "hs-switch"
818
+ },
819
+ {
820
+ prop: "trigger",
821
+ label: "触发方式",
822
+ type: "",
823
+ tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
824
+ el: "hs-select",
825
+ cel: "hs-option",
826
+ op: [
827
+ {
828
+ label: "点击按钮",
829
+ value: "default"
830
+ },
831
+ {
832
+ label: "点击表头",
833
+ value: "cell"
834
+ }
835
+ ]
836
+ },
837
+ {
838
+ prop: "showIcon",
839
+ label: "是否显示列头排序图标",
840
+ type: "",
841
+ tooltip: "是否显示列头排序图标",
842
+ el: "hs-switch"
843
+ },
844
+ {
845
+ prop: "iconAsc",
846
+ label: "自定义升序的图标",
847
+ tooltip: "自定义升序的图标",
848
+ type: "",
849
+ el: "hs-input"
850
+ },
851
+ {
852
+ prop: "iconDesc",
853
+ label: "自定义降序的图标",
854
+ tooltip: "自定义降序的图标",
855
+ type: "",
856
+ el: "hs-input"
857
+ }
858
+ ],
859
+ second_config: [
860
+ {
861
+ key: "defaultSort",
862
+ visible: false,
863
+ title: "默认排序",
864
+ defaultSort: [
865
+ {
866
+ prop: "field",
867
+ label: "列字段名",
868
+ el: "hs-input"
869
+ },
870
+ {
871
+ prop: "order",
872
+ label: "排序方式",
873
+ el: "hs-input"
874
+ }
875
+ ]
876
+ }
877
+ ]
878
+ },
879
+ {
880
+ key: "filterConfig",
881
+ visible: false,
882
+ title: "筛选配置项",
883
+ filterConfig: [
884
+ {
885
+ prop: "remote",
886
+ label: "所有列是否使用服务端筛选",
887
+ type: "",
888
+ tooltip: "所有列是否使用服务端筛选,如果设置为 true 则不会对数据进行处理",
889
+ el: "hs-switch"
890
+ },
891
+ {
892
+ prop: "filterMethod",
893
+ label: "全局筛选方法",
894
+ type: "textarea",
895
+ tooltip: "全局筛选方法,当触发筛选时会调用该函数返回是否有效",
896
+ el: "hs-input"
897
+ },
898
+ {
899
+ prop: "showIcon",
900
+ label: "是否显示列头筛选图标",
901
+ tooltip: "是否显示列头筛选图标",
902
+ type: "",
903
+ el: "hs-switch"
904
+ },
905
+ {
906
+ prop: "iconNone",
907
+ label: "自定义无条件时显示的图标",
908
+ type: "",
909
+ tooltip: "自定义无条件时显示的图标",
910
+ el: "hs-input"
911
+ },
912
+ {
913
+ prop: "iconMatch",
914
+ label: "自定义带条件时显示的图标",
915
+ tooltip: "自定义带条件时显示的图标",
916
+ type: "",
917
+ el: "hs-input"
918
+ },
919
+ {
920
+ prop: "confirmButtonText",
921
+ label: "自定义确认按钮文本",
922
+ tooltip: "自定义确认按钮文本",
923
+ type: "",
924
+ el: "hs-input"
925
+ },
926
+ {
927
+ prop: "resetButtonText",
928
+ label: "自定义重置按钮文本",
929
+ type: "",
930
+ el: "hs-input"
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ key: "radioConfig",
936
+ visible: false,
937
+ title: "单选框配置项",
938
+ radioConfig: [
939
+ {
940
+ prop: "strict",
941
+ label: "严格模式,选中后不能取消",
942
+ tooltip: "严格模式,选中后不能取消",
943
+ type: "",
944
+ el: "hs-switch"
945
+ },
946
+ {
947
+ prop: "reserve",
948
+ label: "是否保留勾选状态",
949
+ tooltip: "是否保留勾选状态,例如:数据被刷新或者分页之后还保留之前选中的状态(需要有 rowConfig.keyField)",
950
+ type: "",
951
+ el: "hs-switch"
952
+ },
953
+ {
954
+ prop: "labelField",
955
+ label: "单选框显示的字段名",
956
+ tooltip: "单选框显示的字段名,可以直接显示在单选框中",
957
+ type: "",
958
+ el: "hs-input"
959
+ },
960
+ {
961
+ prop: "checkRowKey",
962
+ label: "默认选中指定行",
963
+ tooltip: "默认选中指定行(只会在初始化时被触发一次,需要有 rowConfig.keyField)",
964
+ type: "",
965
+ el: "hs-input"
966
+ },
967
+ {
968
+ prop: "visibleMethod",
969
+ label: "是否允许勾选的方法",
970
+ tooltip: "是否允许勾选的方法,该方法,的返回值用来决定这一行的 radio 是否显示",
971
+ type: "textarea",
972
+ el: "hs-input"
973
+ },
974
+ {
975
+ prop: "checkMethod",
976
+ label: "是否允许选中的方法",
977
+ tooltip: "是否允许选中的方法,该方法的返回值用来决定这一行的 radio 是否可以选中",
978
+ type: "textarea",
979
+ el: "hs-input"
980
+ },
981
+ {
982
+ prop: "trigger",
983
+ label: "触发方式",
984
+ type: "",
985
+ tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
986
+ el: "hs-select",
987
+ cel: "hs-option",
988
+ op: [
989
+ { label: "默认", value: "default" },
990
+ { label: "点击单元格触发", value: "cell" },
991
+ { label: "点击行触发", value: "row" }
992
+ ]
993
+ },
994
+ {
995
+ prop: "highlight",
996
+ label: "高亮选中行",
997
+ type: "",
998
+ el: "hs-switch"
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ key: "checkboxConfig",
1004
+ visible: false,
1005
+ title: "复选框配置项",
1006
+ checkboxConfig: [
1007
+ {
1008
+ prop: "labelField",
1009
+ label: "复选框显示的字段名",
1010
+ tooltip: "复选框显示的字段名,可以直接显示在复选框中",
1011
+ type: "",
1012
+ el: "hs-input"
1013
+ },
1014
+ {
1015
+ prop: "checkField",
1016
+ label: "绑定选中属性",
1017
+ tooltip: "绑定选中属性(行数据中必须存在该字段,否则无效)",
1018
+ type: "",
1019
+ el: "hs-input"
1020
+ },
1021
+ {
1022
+ prop: "indeterminateField",
1023
+ label: "绑定半选属性",
1024
+ tooltip: "绑定半选属性(行数据中必须存在该字段,否则无效)",
1025
+ type: "",
1026
+ el: "hs-input"
1027
+ },
1028
+ {
1029
+ prop: "showHeader",
1030
+ label: "是否显示全选按钮",
1031
+ tooltip: "是否显示全选按钮(如果 checkStrictly=true 则默认为 false)",
1032
+ type: "",
1033
+ el: "hs-switch"
1034
+ },
1035
+ {
1036
+ prop: "checkAll",
1037
+ label: "默认勾选所有",
1038
+ tooltip: "默认勾选所有(只会在初始化时被触发一次)",
1039
+ type: "",
1040
+ el: "hs-switch"
1041
+ },
1042
+ {
1043
+ prop: "checkRowKeys",
1044
+ label: "默认勾选指定行",
1045
+ type: "textarea",
1046
+ tooltip: "默认勾选指定行(只会在初始化时被触发一次,需要有 rowConfig.keyField)",
1047
+ el: "hs-input"
1048
+ },
1049
+ {
1050
+ prop: "checkStrictly",
1051
+ label: "是否严格的遵循父子不互相关联的做法",
1052
+ type: "",
1053
+ tooltip: "是否严格的遵循父子不互相关联的做法",
1054
+ el: "hs-switch"
1055
+ },
1056
+ {
1057
+ prop: "strict",
1058
+ label: "严格模式",
1059
+ type: "",
1060
+ tooltip: "严格模式,当数据为空或全部禁用时,列头的复选框为禁用状态",
1061
+ el: "hs-switch"
1062
+ },
1063
+ {
1064
+ prop: "visibleMethod",
1065
+ label: "是否允许勾选的方法",
1066
+ tooltip: "是否允许勾选的方法,该方法,的返回值用来决定这一行的 checkbox 是否显示",
1067
+ type: "textarea",
1068
+ el: "hs-input"
1069
+ },
1070
+ {
1071
+ prop: "checkMethod",
1072
+ label: "是否允许勾选的方法",
1073
+ tooltip: "是否允许勾选的方法,该方法的返回值用来决定这一行的 checkbox 是否可以勾选",
1074
+ type: "textarea",
1075
+ el: "hs-input"
1076
+ },
1077
+ {
1078
+ prop: "trigger",
1079
+ label: "触发方式",
1080
+ type: "",
1081
+ tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
1082
+ el: "hs-select",
1083
+ cel: "hs-option",
1084
+ op: [
1085
+ { label: "默认", value: "default" },
1086
+ { label: "点击单元格触发", value: "cell" },
1087
+ { label: "点击行触发", value: "row" }
1088
+ ]
1089
+ },
1090
+ {
1091
+ prop: "highlight",
1092
+ label: "高亮勾选行",
1093
+ type: "",
1094
+ el: "hs-switch"
1095
+ },
1096
+ {
1097
+ prop: "reserve",
1098
+ label: "是否保留勾选状态",
1099
+ tooltip: "是否保留勾选状态,对于某些场景可能会用到,比如数据被刷新之后还保留之前选中的状态(需要有 rowConfig.keyField)",
1100
+ type: "",
1101
+ el: "hs-switch"
1102
+ },
1103
+ {
1104
+ prop: "range",
1105
+ label: "开启复选框范围选择功能",
1106
+ type: "",
1107
+ tooltip: "开启复选框范围选择功能(启用后通过鼠标在复选框的列内滑动选中或取消指定行)",
1108
+ el: "hs-switch"
1109
+ },
1110
+ {
1111
+ prop: "isShiftKey",
1112
+ label: "开启复选框指定行选择功能",
1113
+ tooltip: "开启复选框指定行选择功能(启用后通过鼠标点击和 shift 键选取指定范围的行)",
1114
+ type: "",
1115
+ el: "hs-switch"
1116
+ }
1117
+ ]
1118
+ },
1119
+ {
1120
+ key: "tooltipConfig",
1121
+ visible: false,
1122
+ title: "tooltip 配置项",
1123
+ tooltipConfig: [
1124
+ {
1125
+ prop: "showAll",
1126
+ label: "所有单元格开启工具提示",
1127
+ tooltip: "所有单元格开启工具提示",
1128
+ type: "",
1129
+ el: "hs-switch"
1130
+ },
1131
+ {
1132
+ prop: "theme",
1133
+ label: "主题颜色",
1134
+ tooltip: "tooltip 的主题颜色",
1135
+ type: "",
1136
+ el: "hs-select",
1137
+ cel: "hs-option",
1138
+ op: [
1139
+ { label: "暗黑", value: "dark" },
1140
+ { label: "明亮", value: "light" }
1141
+ ]
1142
+ },
1143
+ {
1144
+ prop: "enterable",
1145
+ label: "鼠标是否可进入到工具提示中",
1146
+ tooltip: "鼠标是否可进入到工具提示中",
1147
+ type: "",
1148
+ el: "hs-switch"
1149
+ },
1150
+ {
1151
+ prop: "enterDelay",
1152
+ label: "鼠标移入后延时多少才显示工具提示",
1153
+ tooltip: "鼠标移入后延时多少才显示工具提示",
1154
+ type: "number",
1155
+ el: "hs-input-number"
1156
+ },
1157
+ {
1158
+ prop: "leaveDelay",
1159
+ label: "鼠标移出后延时多少才隐藏工具提示",
1160
+ type: "number",
1161
+ el: "hs-input-number"
1162
+ },
1163
+ {
1164
+ prop: "contentMethod",
1165
+ label: "通过返回值来重写默认的提示内容",
1166
+ type: "textarea",
1167
+ el: "hs-input",
1168
+ tooltip: "该方法可以通过返回值来重写默认的提示内容,可以返回 null 使用默认的提示内容,可以返回空内容去掉指定单元格的提示内容"
1169
+ }
1170
+ ]
1171
+ },
1172
+ {
1173
+ key: "expandConfig",
1174
+ visible: false,
1175
+ title: "展开行配置项(不支持虚拟滚动)",
1176
+ expandConfig: [
1177
+ {
1178
+ prop: "labelField",
1179
+ label: "展开列显示的字段名",
1180
+ type: "",
1181
+ tooltip: "展开列显示的字段名,可以直接显示在单元格中",
1182
+ el: "hs-input"
1183
+ },
1184
+ {
1185
+ prop: "expandAll",
1186
+ label: "默认展开所有行",
1187
+ type: "",
1188
+ tooltip: "默认展开所有行(只会在初始化时被触发一次)",
1189
+ el: "hs-switch"
1190
+ },
1191
+ {
1192
+ prop: "expandRowKeys",
1193
+ label: "默认展开指定行",
1194
+ type: "textarea",
1195
+ tooltip: "默认展开指定行(只会在初始化时被触发一次,需要有 rowConfig.keyField)",
1196
+ el: "hs-input"
1197
+ },
1198
+ {
1199
+ prop: "accordion",
1200
+ label: "每次只能展开一行",
1201
+ type: "",
1202
+ el: "hs-switch"
1203
+ },
1204
+ {
1205
+ prop: "height",
1206
+ label: "展开内容的高度",
1207
+ tooltip: "展开内容的高度,默认自适应高度",
1208
+ type: "",
1209
+ el: "hs-input"
1210
+ },
1211
+ {
1212
+ prop: "trigger",
1213
+ label: "触发方式",
1214
+ type: "",
1215
+ tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
1216
+ el: "hs-select",
1217
+ cel: "hs-option",
1218
+ op: [
1219
+ { label: "默认", value: "default" },
1220
+ { label: "点击单元格触发", value: "cell" },
1221
+ { label: "点击行触发", value: "row" }
1222
+ ]
1223
+ },
1224
+ {
1225
+ prop: "lazy",
1226
+ label: "是否使用懒加载",
1227
+ type: "",
1228
+ el: "hs-switch"
1229
+ },
1230
+ {
1231
+ prop: "loadMethod",
1232
+ label: "该方法用于异步加载展开后的内容",
1233
+ type: "textarea",
1234
+ tooltip: "该方法用于异步加载展开后的内容(必须返回 Promise<any[]> 对象)",
1235
+ el: "hs-input"
1236
+ },
1237
+ {
1238
+ prop: "toggleMethod",
1239
+ label: "该方法在展开或关闭触发之前调用",
1240
+ tooltip: "该方法在展开或关闭触发之前调用,可以通过返回值来决定是否允许继续执行",
1241
+ type: "textarea",
1242
+ el: "hs-input"
1243
+ },
1244
+ {
1245
+ prop: "visibleMethod",
1246
+ label: "是否允许显示展开按钮",
1247
+ tooltip: "该函数的返回值用来决定是否允许显示展开按钮",
1248
+ type: "textarea",
1249
+ el: "hs-input"
1250
+ },
1251
+ {
1252
+ prop: "reserve",
1253
+ label: "是否保留展开状态",
1254
+ type: "",
1255
+ tooltip: "是否保留展开状态,对于某些场景可能会用到,比如数据被刷新之后还保留之前展开的状态(需要有 rowConfig.keyField)",
1256
+ el: "hs-switch"
1257
+ },
1258
+ {
1259
+ prop: "showIcon",
1260
+ label: "是否显示图标按钮",
1261
+ type: "",
1262
+ el: "hs-switch"
1263
+ },
1264
+ {
1265
+ prop: "iconOpen",
1266
+ label: "自定义展开后显示的图标",
1267
+ type: "",
1268
+ el: "hs-input"
1269
+ },
1270
+ {
1271
+ prop: "iconClose",
1272
+ label: "自定义收起后显示的图标",
1273
+ type: "",
1274
+ el: "hs-input"
1275
+ },
1276
+ {
1277
+ prop: "iconLoaded",
1278
+ label: "自定义懒加载中显示的图标",
1279
+ type: "",
1280
+ el: "hs-input"
1281
+ }
1282
+ ]
1283
+ },
1284
+ {
1285
+ key: "treeConfig",
1286
+ visible: false,
1287
+ title: "树形结构配置项",
1288
+ treeConfig: [
1289
+ {
1290
+ prop: "transform",
1291
+ label: "自动将列表转为树结构",
1292
+ tooltip: "自动将列表转为树结构(支持虚拟滚动)",
1293
+ type: "",
1294
+ el: "hs-switch"
1295
+ },
1296
+ {
1297
+ prop: "rowField",
1298
+ label: "树节点的字段名",
1299
+ tooltip: "用于 treeConfig.transform,树节点的字段名",
1300
+ type: "",
1301
+ el: "hs-input"
1302
+ },
1303
+ {
1304
+ prop: "parentField",
1305
+ label: "树父节点的字段名",
1306
+ tooltip: "用于 treeConfig.transform,树父节点的字段名",
1307
+ type: "",
1308
+ el: "hs-input"
1309
+ },
1310
+ {
1311
+ prop: "childrenField",
1312
+ label: "树子节点的字段名",
1313
+ type: "",
1314
+ el: "hs-input"
1315
+ },
1316
+ {
1317
+ prop: "indent",
1318
+ label: "树节点的缩进",
1319
+ type: "number",
1320
+ el: "hs-input-number"
1321
+ },
1322
+ {
1323
+ prop: "showLine",
1324
+ label: "树节点的连接线",
1325
+ type: "",
1326
+ tooltip: "树节点的连接线(启用连接线会降低渲染性能)",
1327
+ el: "hs-switch"
1328
+ },
1329
+ {
1330
+ prop: "expandAll",
1331
+ label: "默认展开所有子孙树节点",
1332
+ type: "",
1333
+ tooltip: "默认展开所有子孙树节点(只会在初始化时被触发一次)",
1334
+ el: "hs-switch"
1335
+ },
1336
+ {
1337
+ prop: "expandRowKeys",
1338
+ label: "默认展开指定树节点",
1339
+ type: "textarea",
1340
+ el: "hs-input",
1341
+ tooltip: "默认展开指定树节点(只会在初始化时被触发一次,需要有 rowConfig.keyField)"
1342
+ },
1343
+ {
1344
+ prop: "accordion",
1345
+ label: "同级节点每次只展开一个",
1346
+ tooltip: "对于同一级的节点,每次只能展开一个",
1347
+ type: "",
1348
+ el: "hs-switch"
1349
+ },
1350
+ {
1351
+ prop: "trigger",
1352
+ label: "触发方式",
1353
+ type: "",
1354
+ tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
1355
+ el: "hs-select",
1356
+ cel: "hs-option",
1357
+ op: [
1358
+ { label: "默认", value: "default" },
1359
+ { label: "点击单元格触发", value: "cell" },
1360
+ { label: "点击行触发", value: "row" }
1361
+ ]
1362
+ },
1363
+ {
1364
+ prop: "lazy",
1365
+ label: "是否使用懒加载",
1366
+ type: "",
1367
+ tooltip: "是否使用懒加载(启用后只有指定 hasChild 字段的节点才允许被点击)",
1368
+ el: "hs-switch"
1369
+ },
1370
+ {
1371
+ prop: "hasChildField",
1372
+ label: "标识是否存在子节点",
1373
+ tooltip: "只对 lazy 启用后有效,标识是否存在子节点,从而控制是否允许被点击",
1374
+ type: "",
1375
+ el: "hs-input"
1376
+ },
1377
+ {
1378
+ prop: "loadMethod",
1379
+ label: "该方法用于异步加载子节点",
1380
+ type: "textarea",
1381
+ tooltip: "该方法用于异步加载子节点(必须返回 Promise<any[]> 对象)",
1382
+ el: "hs-input"
1383
+ },
1384
+ {
1385
+ prop: "toggleMethod",
1386
+ label: "在展开或关闭触发判断是否继续执行",
1387
+ tooltip: "该方法在展开或关闭触发之前调用,可以通过返回值来决定是否允许继续执行",
1388
+ type: "textarea",
1389
+ el: "hs-input"
1390
+ },
1391
+ {
1392
+ prop: "reserve",
1393
+ label: "是否保留展开状态",
1394
+ type: "",
1395
+ tooltip: "是否保留展开状态,对于某些场景可能会用到,比如数据被刷新之后还保留之前展开的状态(需要有 rowConfig.keyField)",
1396
+ el: "hs-switch"
1397
+ },
1398
+ {
1399
+ prop: "showIcon",
1400
+ label: "是否显示图标按钮",
1401
+ type: "",
1402
+ el: "hs-switch"
1403
+ },
1404
+ {
1405
+ prop: "iconOpen",
1406
+ label: "自定义展开后显示的图标",
1407
+ type: "",
1408
+ el: "hs-input"
1409
+ },
1410
+ {
1411
+ prop: "iconClose",
1412
+ label: "自定义收起后显示的图标",
1413
+ type: "",
1414
+ el: "hs-input"
1415
+ },
1416
+ {
1417
+ prop: "iconLoaded",
1418
+ label: "自定义懒加载中显示的图标",
1419
+ type: "",
1420
+ el: "hs-input"
1421
+ }
1422
+ ]
1423
+ },
1424
+ {
1425
+ key: "editConfig",
1426
+ visible: false,
1427
+ title: "可编辑配置项",
1428
+ editConfig: [
1429
+ {
1430
+ prop: "trigger",
1431
+ label: "触发方式",
1432
+ type: "",
1433
+ el: "hs-select",
1434
+ cel: "hs-option",
1435
+ op: [
1436
+ { label: "手动触发(用于行编辑模式)", value: "manual" },
1437
+ { label: "点击触发编辑", value: "click" },
1438
+ { label: "双击触发编辑", value: "dblclick" }
1439
+ ]
1440
+ },
1441
+ {
1442
+ prop: "enabled",
1443
+ label: "是否启用",
1444
+ type: "",
1445
+ el: "hs-switch"
1446
+ },
1447
+ {
1448
+ prop: "mode",
1449
+ label: "编辑模式",
1450
+ type: "",
1451
+ el: "hs-select",
1452
+ cel: "hs-option",
1453
+ op: [
1454
+ { label: "单元格编辑模式", value: "cell" },
1455
+ { label: "行编辑模式", value: "row" }
1456
+ ]
1457
+ },
1458
+ {
1459
+ prop: "showIcon",
1460
+ label: "是否显示列头编辑图标",
1461
+ tooltip: "是否显示列头编辑图标",
1462
+ type: "",
1463
+ el: "hs-switch"
1464
+ },
1465
+ {
1466
+ prop: "showStatus",
1467
+ label: "是否显示单元格新增与修改状态",
1468
+ type: "",
1469
+ tooltip: "只对 keep-source 开启有效,是否显示单元格新增与修改状态",
1470
+ el: "hs-switch"
1471
+ },
1472
+ {
1473
+ prop: "showUpdateStatus",
1474
+ label: "是否显示单元格修改状态",
1475
+ type: "",
1476
+ tooltip: "只对 keep-source 开启有效,是否显示单元格修改状态",
1477
+ el: "hs-switch"
1478
+ },
1479
+ {
1480
+ prop: "showInsertStatus",
1481
+ label: "是否显示单元格新增状态",
1482
+ tooltip: "只对 keep-source 开启有效,是否显示单元格新增状态",
1483
+ type: "",
1484
+ el: "hs-switch"
1485
+ },
1486
+ {
1487
+ prop: "showAsterisk",
1488
+ label: "是否显示必填字段的红色星号",
1489
+ tooltip: "是否显示必填字段的红色星号",
1490
+ type: "",
1491
+ el: "hs-switch"
1492
+ },
1493
+ {
1494
+ prop: "autoClear",
1495
+ label: "点空白处是否清除激活状态",
1496
+ type: "",
1497
+ tooltip: "当点击非编辑列之后,是否自动清除单元格的激活状态",
1498
+ el: "hs-switch"
1499
+ },
1500
+ {
1501
+ prop: "beforeEditMethod",
1502
+ label: "该单元格是否允许编辑",
1503
+ tooltip: "该方法的返回值用来决定该单元格是否允许编辑",
1504
+ type: "textarea",
1505
+ el: "hs-input"
1506
+ },
1507
+ {
1508
+ prop: "icon",
1509
+ label: "自定义可编辑列的状态图标",
1510
+ type: "",
1511
+ el: "hs-input"
1512
+ }
1513
+ ]
1514
+ },
1515
+ {
1516
+ key: "validConfig",
1517
+ visible: false,
1518
+ title: "校验配置项",
1519
+ validConfig: [
1520
+ {
1521
+ prop: "autoPos",
1522
+ label: "是否自动定位到校验不通过的单元格",
1523
+ tooltip: "是否自动定位到校验不通过的单元格",
1524
+ type: "",
1525
+ el: "hs-switch"
1526
+ },
1527
+ {
1528
+ prop: "showMessage",
1529
+ label: "是否显示错误显示",
1530
+ type: "",
1531
+ el: "hs-switch"
1532
+ }
1533
+ ]
1534
+ },
1535
+ {
1536
+ key: "editRules",
1537
+ visible: false,
1538
+ title: "校验规则配置项",
1539
+ editRules: [
1540
+ {
1541
+ prop: "required",
1542
+ label: "是否必填",
1543
+ type: "",
1544
+ el: "hs-switch"
1545
+ },
1546
+ {
1547
+ prop: "min",
1548
+ label: "校验值最小长度",
1549
+ tooltip: "校验值最小长度(如果 type=number 则比较值大小)",
1550
+ type: "number",
1551
+ el: "hs-input-number"
1552
+ },
1553
+ {
1554
+ prop: "max",
1555
+ label: "校验值最大长度",
1556
+ tooltip: "校验值最大长度(如果 type=number 则比较值大小)",
1557
+ type: "number",
1558
+ el: "hs-input-number"
1559
+ },
1560
+ {
1561
+ prop: "type",
1562
+ label: "数据校验的类型",
1563
+ type: "",
1564
+ op: [
1565
+ { label: "数值", value: "number" },
1566
+ { label: "字符串", value: "string" },
1567
+ { label: "数组", value: "array" }
1568
+ ],
1569
+ el: "hs-select",
1570
+ cel: "hs-option"
1571
+ },
1572
+ {
1573
+ prop: "pattern",
1574
+ label: "正则校验",
1575
+ type: "textarea",
1576
+ el: "hs-input"
1577
+ },
1578
+ {
1579
+ prop: "validator",
1580
+ label: '"自定义校验方法',
1581
+ tooltip: '自定义校验方法返回一个 Error 或者 Promise<new Error("提示消息")>',
1582
+ type: "textarea",
1583
+ el: "hs-input"
1584
+ },
1585
+ {
1586
+ prop: "message",
1587
+ label: "校验提示内容",
1588
+ tooltip: "校验提示内容(支持开启国际化)",
1589
+ type: "",
1590
+ el: "hs-input"
1591
+ }
1592
+ ]
1593
+ },
1594
+ {
1595
+ key: "emptyRender",
1596
+ visible: false,
1597
+ title: "空内容渲染配置项",
1598
+ emptyRender: [
1599
+ {
1600
+ prop: "name",
1601
+ label: "渲染器名称",
1602
+ type: "",
1603
+ el: "hs-input"
1604
+ }
1605
+ ]
1606
+ },
1607
+ {
1608
+ key: "loadingConfig",
1609
+ visible: false,
1610
+ title: "加载中配置项",
1611
+ loadingConfig: [
1612
+ {
1613
+ prop: "icon",
1614
+ label: "显示图标",
1615
+ type: "",
1616
+ el: "hs-input"
1617
+ },
1618
+ {
1619
+ prop: "text",
1620
+ label: "显示文字",
1621
+ type: "",
1622
+ el: "hs-input"
1623
+ }
1624
+ ]
1625
+ },
1626
+ {
1627
+ key: "scrollX",
1628
+ visible: false,
1629
+ title: "横向虚拟滚动配置",
1630
+ scrollX: [
1631
+ {
1632
+ prop: "enabled",
1633
+ label: "是否启用",
1634
+ el: "hs-switch"
1635
+ },
1636
+ {
1637
+ prop: "gt",
1638
+ label: "指定大于指定列时自动启动横向虚拟滚动",
1639
+ tooltip: "指定大于指定列时自动启动横向虚拟滚动,如果为 0 则总是启用;如果需要关闭,可以设置 enabled 为 false",
1640
+ type: "number",
1641
+ el: "hs-input-number"
1642
+ },
1643
+ {
1644
+ prop: "oSize",
1645
+ label: "指定每次渲染的数据偏移量",
1646
+ tooltip: "指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久(对于低性能浏览器可以设置大一点,减低渲染次数)",
1647
+ type: "number",
1648
+ el: "hs-input-number"
1649
+ },
1650
+ {
1651
+ prop: "scrollToLeftOnChange",
1652
+ label: "数据改变滚动条是否复位",
1653
+ tooltip: "当数据源被更改时,自动将横向滚动条滚动到左侧",
1654
+ type: "",
1655
+ el: "hs-switch"
1656
+ }
1657
+ ]
1658
+ },
1659
+ {
1660
+ key: "scrollY",
1661
+ visible: false,
1662
+ title: "纵向虚拟滚动配置",
1663
+ scrollY: [
1664
+ {
1665
+ prop: "enabled",
1666
+ label: "是否启用",
1667
+ type: "",
1668
+ el: "hs-switch"
1669
+ },
1670
+ {
1671
+ prop: "mode",
1672
+ label: "滚动模式",
1673
+ type: "",
1674
+ op: [
1675
+ { label: "默认", value: "default" },
1676
+ { label: "无限滚动", value: "wheel" }
1677
+ ],
1678
+ el: "hs-select",
1679
+ cel: "hs-option"
1680
+ },
1681
+ {
1682
+ prop: "gt",
1683
+ label: "指定大于指定行时自动启动纵向虚拟滚动",
1684
+ tooltip: "指定大于指定行时自动启动纵向虚拟滚动,如果为 0 则总是启用;如果需要关闭,可以设置 enabled 为 false(注:启用纵向虚拟滚动之后将不能支持动态行高)",
1685
+ type: "number",
1686
+ el: "hs-input-number"
1687
+ },
1688
+ {
1689
+ prop: "oSize",
1690
+ label: "指定每次渲染的数据偏移量",
1691
+ tooltip: "指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久(对于低性能浏览器可以设置大一点,减低渲染次数)",
1692
+ type: "number",
1693
+ el: "hs-input-number"
1694
+ },
1695
+ {
1696
+ prop: "scrollToTopOnChange",
1697
+ label: "数据改变滚动条是否复位",
1698
+ tooltip: "当数据源被更改时,自动将纵向滚动条滚动到顶部",
1699
+ type: "",
1700
+ el: "hs-switch"
1701
+ }
1702
+ ]
1703
+ }
1704
+ ];
1705
+ const tablePageConfig = [
1706
+ {
1707
+ prop: "size",
1708
+ label: "尺寸",
1709
+ el: "hs-select",
1710
+ cel: "hs-option",
1711
+ op: [
1712
+ { label: "中等", value: "medium" },
1713
+ { label: "小号", value: "small" },
1714
+ { label: "迷你", value: "mini" }
1715
+ ]
1716
+ },
1717
+ {
1718
+ prop: "loading",
1719
+ label: "是否加载中",
1720
+ el: "hs-switch"
1721
+ },
1722
+ {
1723
+ prop: "layouts",
1724
+ label: "自定义布局",
1725
+ type: "textarea",
1726
+ el: "hs-input"
1727
+ },
1728
+ {
1729
+ prop: "currentPage",
1730
+ label: "当前页",
1731
+ type: "number",
1732
+ el: "hs-input-number"
1733
+ },
1734
+ {
1735
+ prop: "pageSize",
1736
+ label: "每页大小",
1737
+ type: "number",
1738
+ el: "hs-input-number"
1739
+ },
1740
+ {
1741
+ prop: "total",
1742
+ label: "总条数",
1743
+ type: "number",
1744
+ el: "hs-input-number"
1745
+ },
1746
+ {
1747
+ prop: "pagerCount",
1748
+ label: "显示页码按钮的数量",
1749
+ type: "number",
1750
+ el: "hs-input-number"
1751
+ },
1752
+ {
1753
+ prop: "pageSizes",
1754
+ label: "每页大小选项列表",
1755
+ type: "textarea",
1756
+ el: "hs-input"
1757
+ },
1758
+ {
1759
+ prop: "align",
1760
+ label: "对齐方式",
1761
+ el: "hs-select",
1762
+ cel: "hs-option",
1763
+ op: [
1764
+ { label: "左对齐", value: "left" },
1765
+ { label: "居中对齐", value: "center" },
1766
+ { label: "右对齐", value: "right" }
1767
+ ]
1768
+ },
1769
+ {
1770
+ prop: "border",
1771
+ label: "带边框",
1772
+ el: "hs-switch"
1773
+ },
1774
+ {
1775
+ prop: "background",
1776
+ label: "带背景颜色",
1777
+ el: "hs-switch"
1778
+ },
1779
+ {
1780
+ prop: "perfect",
1781
+ label: "配套的样式",
1782
+ el: "hs-switch"
1783
+ },
1784
+ {
1785
+ prop: "className",
1786
+ label: "给分页附加 className",
1787
+ type: "textarea",
1788
+ el: "hs-input"
1789
+ },
1790
+ {
1791
+ prop: "autoHidden",
1792
+ label: "当只有一页时自动隐藏",
1793
+ el: "hs-switch"
1794
+ },
1795
+ {
1796
+ prop: "iconPrevPage",
1797
+ label: "自定义上一页图标",
1798
+ el: "hs-input"
1799
+ },
1800
+ {
1801
+ prop: "iconJumpPrev",
1802
+ label: "自定义向上跳页图标",
1803
+ el: "hs-input"
1804
+ },
1805
+ {
1806
+ prop: "iconJumpNext",
1807
+ label: "自定义向下跳页图标",
1808
+ el: "hs-input"
1809
+ },
1810
+ {
1811
+ prop: "iconnextPage",
1812
+ label: "自定义下一页图标",
1813
+ el: "hs-input"
1814
+ },
1815
+ {
1816
+ prop: "iconJumpMore",
1817
+ label: "自定义跳页显示图标",
1818
+ el: "hs-input"
1819
+ }
1820
+ ];
1821
+ const tableColumnConfigData = {
1822
+ // type: undefined, //列的类型
1823
+ field: "",
1824
+ // 列字段名
1825
+ parent_field: "",
1826
+ // 父级字段名
1827
+ title: "展示列名称",
1828
+ // 列标题
1829
+ isSlot: false,
1830
+ // 是否启用插槽
1831
+ isApply: true,
1832
+ // 是否启用
1833
+ isShow: true,
1834
+ // 是否显示
1835
+ returnValueType: "string",
1836
+ // 返回值类型
1837
+ width: "",
1838
+ //列宽度
1839
+ minWidth: "",
1840
+ // 最小列宽度
1841
+ formatAmount: false,
1842
+ // 是否开启金额格式化
1843
+ resizable: true,
1844
+ // 是否允许调整列宽
1845
+ visible: true,
1846
+ // 默认是否显示
1847
+ // TODO:
1848
+ slotTemplateConfig: {},
1849
+ // 插槽模板配置
1850
+ // fixed: '', //列固定位置
1851
+ // align: '', // 列对齐方式
1852
+ // headerAlign: '', // 表头列的对齐方式
1853
+ // footerAlign: '', // 表尾列的对齐方式
1854
+ // showOverflow: '', // 当内容过长时显示为省略号
1855
+ // showHeaderOverflow: '', // 当表头内容过长时显示为省略号
1856
+ // showFooterOverflow: '', // 当表尾内容过长时显示为省略号
1857
+ // className: '', // 给单元格附加 className
1858
+ // headerClassName: '', // 给表头的单元格附加 className
1859
+ // footerClassName: '', // 给表尾的单元格附加 className
1860
+ // formatter: '', // 格式化显示内容
1861
+ dragSort: false,
1862
+ // 数据拖拽排序,是否允许列拖拽排序
1863
+ sortable: true,
1864
+ // 数据排序,是否允许列排序
1865
+ // sortBy: '', // 指定排序的字段
1866
+ sortType: "auto",
1867
+ // 排序的字段类型
1868
+ filterMultiple: true,
1869
+ // 筛选是否允许多选
1870
+ // filterMethod: '', // 方法的返回值用来决定该行是否显示
1871
+ // filterResetMethod: '', // 数据筛选,只对 filters 有效,自定义筛选重置方法
1872
+ // filterRecoverMethod: '', // 数据筛选,只对 filters 有效,自定义筛选复原方法(使用自定义筛选时可能会用到)
1873
+ cellType: "auto",
1874
+ // 只对特定功能有效,单元格值类型(例如:导出数据类型设置)
1875
+ treeNode: false,
1876
+ // 只对 treeConfig 配置时有效,指定为树节点
1877
+ // colId: '', // 自定义列的唯一主键
1878
+ filters: [],
1879
+ // 数据筛选,配置筛选条件(注:筛选只能用于列表,如果是树结构则过滤根节点)
1880
+ filterRender: {},
1881
+ // 数据筛选,筛选渲染器配置项
1882
+ titlePrefix: {},
1883
+ // 标题前缀图标配置项
1884
+ cellRender: {},
1885
+ // 默认的渲染器配置项
1886
+ editRender: {},
1887
+ // {
1888
+ // name: '',
1889
+ // enabled: true,
1890
+ // props: '',
1891
+ // attrs: '',
1892
+ // options: '',
1893
+ // optionProps: '{ value, label }',
1894
+ // optionGroups: '',
1895
+ // optionGroupProps: '{ options, label }',
1896
+ // events: '',
1897
+ // content: '',
1898
+ // autofocus: '.el-input__inner',
1899
+ // autoselect: true,
1900
+ // defaultValue: null,
1901
+ // immediate: false,
1902
+ // placeholder: '',
1903
+ // }, // 可编辑渲染器配置项
1904
+ contentRender: {}
1905
+ // 内容渲染配置项
1906
+ // ===================================
1907
+ // 'filters':{'checked': false,}, // 数据筛选,配置筛选条件(注:筛选只能用于列表,如果是树结构则过滤根节点)
1908
+ // 'filter-render': {}, // 数据筛选,筛选渲染器配置项
1909
+ // 'title-prefix':{}, // 标题前缀图标配置项
1910
+ // 'cell-render':{'optionProps':"{ value, label }", 'optionGroupProps':'{ options, label }',}, // 默认的渲染器配置项
1911
+ // 'edit-render': {'enabled':true,'optionProps': '{ value, label }', 'optionGroupProps':'{ options, label }', 'autoselect':false, 'defaultValue':null, 'immediate':false,}, // 可编辑渲染器配置项
1912
+ // 'content-render': {}, // 内容渲染配置项
1913
+ };
1914
+ const tableItemType = {
1915
+ seq: "序号",
1916
+ checkbox: "复选框",
1917
+ radio: "单选框",
1918
+ expand: "展开行",
1919
+ html: "HTML 标签"
1920
+ };
1921
+ const tableColumnConfig = ref([
1922
+ {
1923
+ prop: "type",
1924
+ label: "列的类型",
1925
+ tooltip: "列的类型(部分功能需要设置 columnConfig.useKey",
1926
+ type: "",
1927
+ el: "hs-select",
1928
+ cel: "hs-option",
1929
+ op: [
1930
+ { label: "序号", value: "seq" },
1931
+ { label: "复选框", value: "checkbox" },
1932
+ { label: "单选框", value: "radio" },
1933
+ { label: "展开行", value: "expand" }
1934
+ ]
1935
+ },
1936
+ {
1937
+ prop: "parent_field",
1938
+ label: "父级字段",
1939
+ type: "",
1940
+ tooltip: "父级字段,用于多级表头合并",
1941
+ el: "hs-input"
1942
+ },
1943
+ {
1944
+ prop: "title",
1945
+ label: "列标题",
1946
+ type: "",
1947
+ // required: true,
1948
+ tooltip: "列标题(支持开启国际化)",
1949
+ el: "hs-input"
1950
+ },
1951
+ {
1952
+ prop: "field",
1953
+ label: "列字段名",
1954
+ slotValue: "field",
1955
+ // required: true,
1956
+ tooltip: "列字段名(注:属性层级越深,渲染性能就越差,例如:aa.bb.cc.dd.ee)",
1957
+ type: "",
1958
+ el: "hs-input"
1959
+ },
1960
+ {
1961
+ prop: "returnValueType",
1962
+ label: "返回值类型",
1963
+ el: "hs-select",
1964
+ cel: "hs-option",
1965
+ op: [
1966
+ { label: "String", value: "string" },
1967
+ { label: "Number", value: "number" },
1968
+ { label: "String|Number", value: "string|number" },
1969
+ { label: "Boolean", value: "boolean" }
1970
+ ]
1971
+ },
1972
+ {
1973
+ prop: "isSlot",
1974
+ label: "是否自定义插槽",
1975
+ el: "hs-switch",
1976
+ tooltip: "下拉选择,自定义模板,选择的名称就是模板名称"
1977
+ },
1978
+ {
1979
+ prop: "el",
1980
+ label: "插槽模版",
1981
+ tooltip: "下拉选择组件类型,组件类型取自配置文件",
1982
+ el: "hs-select",
1983
+ cel: "hs-option",
1984
+ op: configElList.value
1985
+ },
1986
+ {
1987
+ prop: "isApply",
1988
+ label: "是否启用",
1989
+ el: "hs-switch"
1990
+ },
1991
+ {
1992
+ prop: "isShow",
1993
+ label: "是否显示",
1994
+ el: "hs-switch"
1995
+ },
1996
+ {
1997
+ prop: "width",
1998
+ label: "列宽度",
1999
+ type: "",
2000
+ tooltip: "首先设置列宽属性,当有需要时在设置最小列宽属性",
2001
+ el: "hs-input"
2002
+ },
2003
+ {
2004
+ prop: "minWidth",
2005
+ label: "最小列宽度",
2006
+ type: "",
2007
+ tooltip: "金额列设置为0时,会自动撑开",
2008
+ el: "hs-input"
2009
+ },
2010
+ {
2011
+ prop: "formatAmount",
2012
+ label: "是否开启金额格式化",
2013
+ type: "",
2014
+ tooltip: "是否开启金额格式化",
2015
+ el: "hs-switch"
2016
+ },
2017
+ {
2018
+ prop: "resizable",
2019
+ label: "是否允许调整列宽",
2020
+ type: "",
2021
+ tooltip: "列是否允许拖动列宽调整大小",
2022
+ el: "hs-switch"
2023
+ },
2024
+ {
2025
+ prop: "visible",
2026
+ label: "默认是否显示",
2027
+ type: "",
2028
+ el: "hs-switch"
2029
+ },
2030
+ {
2031
+ prop: "fixed",
2032
+ label: "列固定位置",
2033
+ tooltip: "将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)",
2034
+ type: "",
2035
+ el: "hs-select",
2036
+ cel: "hs-option",
2037
+ op: [
2038
+ { label: "不固定", value: "" },
2039
+ { label: "固定左侧", value: "left" },
2040
+ { label: "固定右侧", value: "right" }
2041
+ ]
2042
+ },
2043
+ {
2044
+ prop: "align",
2045
+ label: "列对齐方式",
2046
+ type: "",
2047
+ el: "hs-select",
2048
+ cel: "hs-option",
2049
+ op: [
2050
+ { label: "左对齐", value: "left" },
2051
+ { label: "居中对齐", value: "center" },
2052
+ { label: "右对齐", value: "right" }
2053
+ ]
2054
+ },
2055
+ {
2056
+ prop: "headerAlign",
2057
+ label: "表头列的对齐方式",
2058
+ el: "hs-select",
2059
+ cel: "hs-option",
2060
+ op: [
2061
+ { label: "左对齐", value: "left" },
2062
+ { label: "居中对齐", value: "center" },
2063
+ { label: "右对齐", value: "right" }
2064
+ ]
2065
+ },
2066
+ {
2067
+ prop: "footerAlign",
2068
+ label: "表尾列的对齐方式",
2069
+ el: "hs-select",
2070
+ cel: "hs-option",
2071
+ op: [
2072
+ { label: "左对齐", value: "left" },
2073
+ { label: "居中对齐", value: "center" },
2074
+ { label: "右对齐", value: "right" }
2075
+ ]
2076
+ },
2077
+ {
2078
+ prop: "showOverflow",
2079
+ label: "当内容过长时显示为省略号",
2080
+ el: "hs-select",
2081
+ cel: "hs-option",
2082
+ op: [
2083
+ { label: "只显示省略号", value: "ellipsis" },
2084
+ { label: "显示原生title", value: "title" },
2085
+ { label: "显示tooltip提示", value: "tooltip" }
2086
+ ]
2087
+ },
2088
+ {
2089
+ prop: "showHeaderOverflow",
2090
+ label: "当表头内容过长时显示为省略号",
2091
+ el: "hs-select",
2092
+ cel: "hs-option",
2093
+ op: [
2094
+ { label: "只显示省略号", value: "ellipsis" },
2095
+ { label: "显示原生title", value: "title" },
2096
+ { label: "显示tooltip提示", value: "tooltip" }
2097
+ ]
2098
+ },
2099
+ {
2100
+ prop: "showFooterOverflow",
2101
+ label: "当表尾内容过长时显示为省略号",
2102
+ el: "hs-select",
2103
+ cel: "hs-option",
2104
+ op: [
2105
+ { label: "只显示省略号", value: "ellipsis" },
2106
+ { label: "显示原生title", value: "title" },
2107
+ { label: "显示tooltip提示", value: "tooltip" }
2108
+ ]
2109
+ },
2110
+ {
2111
+ prop: "className",
2112
+ label: "给单元格附加 className",
2113
+ type: "textarea",
2114
+ el: "hs-input"
2115
+ },
2116
+ {
2117
+ prop: "headerClassName",
2118
+ label: "给表头的单元格附加 className",
2119
+ type: "textarea",
2120
+ el: "hs-input"
2121
+ },
2122
+ {
2123
+ prop: "footerClassName",
2124
+ label: "给表尾的单元格附加 className",
2125
+ type: "textarea",
2126
+ el: "hs-input"
2127
+ },
2128
+ {
2129
+ prop: "formatter",
2130
+ label: "格式化显示内容",
2131
+ tooltip: "formatter: 示例: functionBody=function({row}){return row.name}",
2132
+ type: "textarea",
2133
+ el: "hs-input"
2134
+ },
2135
+ {
2136
+ prop: "dragSort",
2137
+ label: "是否允许列拖拽",
2138
+ tooltip: "数据拖拽排序,是否允许列拖拽排序",
2139
+ type: "",
2140
+ el: "hs-switch"
2141
+ },
2142
+ {
2143
+ prop: "sortable",
2144
+ label: "是否允许列排序",
2145
+ tooltip: "数据排序,是否允许列排序",
2146
+ type: "",
2147
+ el: "hs-switch"
2148
+ },
2149
+ {
2150
+ prop: "sortBy",
2151
+ label: "指定排序字段",
2152
+ tooltip: "数据排序,只对 sortable 有效,指定排序的字段(当值 formatter 格式化后,可以设置该字段,使用值进行排序)",
2153
+ type: "textarea",
2154
+ el: "hs-input"
2155
+ },
2156
+ {
2157
+ prop: "sortType",
2158
+ label: "排序的字段类型",
2159
+ tooltip: "数据排序,排序的字段类型,比如字符串转数值等",
2160
+ type: "",
2161
+ el: "hs-select",
2162
+ cel: "hs-option",
2163
+ op: [
2164
+ { label: "auto", value: "auto" },
2165
+ { label: "数值", value: "number" },
2166
+ { label: "字符串", value: "string" }
2167
+ ]
2168
+ },
2169
+ // ================================ 数据筛选 start ===============================
2170
+ {
2171
+ prop: "filterMultiple",
2172
+ label: "筛选是否允许多选",
2173
+ tooltip: "数据筛选,只对 filters 有效,筛选是否允许多选",
2174
+ type: "",
2175
+ el: "hs-switch"
2176
+ },
2177
+ {
2178
+ prop: "filterMethod",
2179
+ label: "列的筛选方法",
2180
+ tooltip: "数据筛选,只对 filters 有效,列的筛选方法,该方法的返回值用来决定该行是否显示",
2181
+ type: "textarea",
2182
+ el: "hs-input"
2183
+ },
2184
+ {
2185
+ prop: "filterResetMethod",
2186
+ label: "自定义筛选重置方法",
2187
+ tooltip: "数据筛选,只对 filters 有效,自定义筛选重置方法",
2188
+ type: "textarea",
2189
+ el: "hs-input"
2190
+ },
2191
+ {
2192
+ prop: "filterRecoverMethod",
2193
+ label: "自定义筛选复原方法",
2194
+ tooltip: "数据筛选,只对 filters 有效,自定义筛选复原方法(使用自定义筛选时可能会用到)",
2195
+ type: "textarea",
2196
+ el: "hs-input"
2197
+ },
2198
+ {
2199
+ prop: "cellType",
2200
+ label: "单元格值类型",
2201
+ tooltip: "只对特定功能有效,单元格值类型(例如:导出数据类型设置)",
2202
+ type: "",
2203
+ el: "hs-select",
2204
+ cel: "hs-option",
2205
+ op: [
2206
+ { label: "默认自动转换", value: "auto" },
2207
+ { label: "数值", value: "number" },
2208
+ { label: "字符串", value: "string" }
2209
+ ]
2210
+ },
2211
+ {
2212
+ prop: "treeNode",
2213
+ label: "是否指定为树节点",
2214
+ tooltip: "只对 treeConfig 配置时有效,指定为树节点",
2215
+ type: "",
2216
+ el: "hs-switch"
2217
+ },
2218
+ {
2219
+ prop: "params",
2220
+ label: "额外的参数",
2221
+ tooltip: "额外的参数(可以用来存放一些私有参数)",
2222
+ type: "",
2223
+ el: "hs-input"
2224
+ },
2225
+ {
2226
+ prop: "colId",
2227
+ label: "自定义列的唯一主键",
2228
+ tooltip: "自定义列的唯一主键(注:列主键必须确保唯一,操作不正确将导致出现问题)",
2229
+ type: "",
2230
+ el: "hs-input"
2231
+ }
2232
+ ]);
2233
+ const tableColumnRule = {
2234
+ title: [{ required: true, message: "请输入列标题" }],
2235
+ field: [{ required: true, message: "请输入列字段名" }],
2236
+ returnValueType: [{ required: true, message: "请输入返回值类型" }]
2237
+ };
2238
+ const tableColumnConfigItem = ref([
2239
+ {
2240
+ key: "filterRender",
2241
+ visible: false,
2242
+ title: "筛选渲染器配置项",
2243
+ filterRender: [
2244
+ {
2245
+ prop: "name",
2246
+ label: "渲染器名称",
2247
+ type: "",
2248
+ el: "hs-input"
2249
+ },
2250
+ {
2251
+ prop: "props",
2252
+ label: "渲染的参数",
2253
+ tooltip: "渲染的参数(请查看自定义的 Props)",
2254
+ type: "",
2255
+ el: "hs-input"
2256
+ },
2257
+ {
2258
+ prop: "events",
2259
+ label: "渲染组件的事件(请查看自定义的 Events)",
2260
+ type: "textarea",
2261
+ el: "hs-input"
2262
+ },
2263
+ {
2264
+ prop: "content",
2265
+ label: "渲染组件的内容(仅用于特殊组件)",
2266
+ type: "",
2267
+ el: "hs-input"
2268
+ }
2269
+ ]
2270
+ },
2271
+ {
2272
+ key: "titlePrefix",
2273
+ visible: false,
2274
+ title: "标题前缀图标配置项",
2275
+ titlePrefix: [
2276
+ {
2277
+ prop: "content",
2278
+ label: "提示消息",
2279
+ tooltip: "提示消息(支持开启国际化)",
2280
+ el: "hs-input"
2281
+ },
2282
+ {
2283
+ prop: "useHTML",
2284
+ label: "是否显示为HTML标签",
2285
+ tooltip: "是否显示为HTML标签(动态渲染任意 HTML 是非常危险的,很容易导致 XSS 攻击,请确保内容是可信的)",
2286
+ type: "",
2287
+ el: "hs-input"
2288
+ },
2289
+ {
2290
+ prop: "icon",
2291
+ label: "自定义图标",
2292
+ type: "",
2293
+ el: "hs-input"
2294
+ }
2295
+ ]
2296
+ },
2297
+ {
2298
+ key: "cellRender",
2299
+ visible: false,
2300
+ title: "默认的渲染器配置项",
2301
+ cellRender: [
2302
+ {
2303
+ prop: "name",
2304
+ label: "渲染器名称",
2305
+ el: "hs-input"
2306
+ },
2307
+ {
2308
+ prop: "props",
2309
+ label: "渲染的参数",
2310
+ tooltip: "渲染的参数(请查看自定义的 Props)",
2311
+ type: "textarea",
2312
+ el: "hs-input"
2313
+ },
2314
+ {
2315
+ prop: "options",
2316
+ label: "下拉选项列表",
2317
+ tooltip: "只对 name=select 有效,下拉选项列表",
2318
+ type: "textarea",
2319
+ el: "hs-input"
2320
+ },
2321
+ {
2322
+ prop: "optionProps",
2323
+ label: "下拉选项属性参数配置",
2324
+ tooltip: "只对 name=select 有效,下拉选项属性参数配置",
2325
+ type: "textarea",
2326
+ el: "hs-input"
2327
+ },
2328
+ {
2329
+ prop: "optionGroups",
2330
+ label: "下拉分组选项列表",
2331
+ tooltip: "只对 name=select 有效,下拉分组选项列表",
2332
+ type: "textarea",
2333
+ el: "hs-input"
2334
+ },
2335
+ {
2336
+ prop: "optionGroupProps",
2337
+ label: "下拉分组选项属性参数配置",
2338
+ tooltip: "只对 name=select 有效,下拉分组选项属性参数配置",
2339
+ type: "textarea",
2340
+ el: "hs-input"
2341
+ },
2342
+ {
2343
+ prop: "events",
2344
+ label: "渲染组件的事件",
2345
+ tooltip: "渲染组件的事件(请查看自定义的 Events)",
2346
+ type: "textarea",
2347
+ el: "hs-input"
2348
+ },
2349
+ {
2350
+ prop: "content",
2351
+ label: "渲染组件的内容(仅用于特殊组件)",
2352
+ el: "hs-input"
2353
+ }
2354
+ ]
2355
+ },
2356
+ {
2357
+ key: "editRender",
2358
+ visible: false,
2359
+ title: "可编辑渲染器配置项",
2360
+ editRender: [
2361
+ {
2362
+ prop: "name",
2363
+ label: "渲染器名称",
2364
+ el: "hs-input"
2365
+ },
2366
+ {
2367
+ prop: "enabled",
2368
+ label: "是否启用",
2369
+ el: "hs-switch"
2370
+ },
2371
+ {
2372
+ prop: "props",
2373
+ label: "渲染的参数",
2374
+ tooltip: "渲染的参数(请查看自定义的 Props)",
2375
+ type: "textarea",
2376
+ el: "hs-input"
2377
+ },
2378
+ {
2379
+ prop: "attrs",
2380
+ label: "渲染的属性",
2381
+ tooltip: "渲染的属性(请查看自定义的 Attribute)",
2382
+ type: "textarea",
2383
+ el: "hs-input"
2384
+ },
2385
+ {
2386
+ prop: "options",
2387
+ label: "下拉选项列表",
2388
+ tooltip: "只对 name=select 有效,下拉选项列表",
2389
+ type: "textarea",
2390
+ el: "hs-input"
2391
+ },
2392
+ {
2393
+ prop: "optionProps",
2394
+ label: "下拉选项属性参数配置",
2395
+ tooltip: "只对 name=select 有效,下拉选项属性参数配置",
2396
+ type: "textarea",
2397
+ el: "hs-input"
2398
+ },
2399
+ {
2400
+ prop: "optionGroups",
2401
+ label: "下拉分组选项列表",
2402
+ tooltip: "只对 name=select 有效,下拉分组选项列表",
2403
+ type: "textarea",
2404
+ el: "hs-input"
2405
+ },
2406
+ {
2407
+ prop: "optionGroupProps",
2408
+ label: "下拉分组选项属性参数配置",
2409
+ tooltip: "只对 name=select 有效,下拉分组选项属性参数配置",
2410
+ type: "textarea",
2411
+ el: "hs-input"
2412
+ },
2413
+ {
2414
+ prop: "events",
2415
+ label: "渲染组件的事件(请查看自定义的 Events)",
2416
+ type: "",
2417
+ default: "{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[自定义的 arguments]",
2418
+ param: "",
2419
+ el: "hs-input"
2420
+ },
2421
+ {
2422
+ prop: "content",
2423
+ label: "渲染组件的内容",
2424
+ tooltip: "渲染组件的内容(仅用于特殊组件)",
2425
+ type: "",
2426
+ el: "hs-input"
2427
+ },
2428
+ {
2429
+ prop: "autofocus",
2430
+ label: "指定聚焦的选择器",
2431
+ tooltip: "如果是自定义渲染可以指定聚焦的选择器,例如 .el-input__inner",
2432
+ type: "",
2433
+ el: "hs-input"
2434
+ },
2435
+ {
2436
+ prop: "autoselect",
2437
+ label: "自动选中内容",
2438
+ tooltip: "是否在激活编辑之后自动选中输入框内容",
2439
+ type: "",
2440
+ el: "hs-input"
2441
+ },
2442
+ {
2443
+ prop: "defaultValue",
2444
+ label: "默认值",
2445
+ tooltip: "默认值(插入数据时列的默认值)",
2446
+ type: "",
2447
+ el: "hs-input"
2448
+ },
2449
+ {
2450
+ prop: "immediate",
2451
+ label: "输入值实时更新",
2452
+ tooltip: "输入值实时同步更新(默认情况下单元格编辑的值只会在被触发时同步,如果需要实时同步可以设置为 true)",
2453
+ type: "",
2454
+ el: "hs-switch"
2455
+ },
2456
+ {
2457
+ prop: "placeholder",
2458
+ label: "单元格占位符",
2459
+ tooltip: "单元格占位符,但单元格为空值时显示的占位符",
2460
+ type: "",
2461
+ el: "hs-input"
2462
+ }
2463
+ ]
2464
+ },
2465
+ {
2466
+ key: "contentRender",
2467
+ visible: false,
2468
+ title: "内容渲染配置项",
2469
+ contentRender: [
2470
+ {
2471
+ prop: "name",
2472
+ label: "渲染器名称",
2473
+ type: "",
2474
+ el: "hs-input"
2475
+ },
2476
+ {
2477
+ prop: "props",
2478
+ label: "渲染的参数",
2479
+ tooltip: "渲染的参数(请查看自定义的 Props)",
2480
+ type: "textarea",
2481
+ el: "hs-input"
2482
+ },
2483
+ {
2484
+ prop: "attrs",
2485
+ tooltip: "渲染的属性",
2486
+ label: "渲染的属性(请查看自定义的 Attribute)",
2487
+ type: "textarea",
2488
+ el: "hs-input"
2489
+ },
2490
+ {
2491
+ prop: "events",
2492
+ label: "渲染组件的事件",
2493
+ tooltip: "渲染组件的事件(请查看自定义的 Events)",
2494
+ type: "textarea",
2495
+ el: "hs-input"
2496
+ }
2497
+ ]
2498
+ }
2499
+ ]);
2500
+ const filterItemConfig = ref({
2501
+ key: "filters",
2502
+ visible: false,
2503
+ title: "配置数据筛选条件",
2504
+ filters: [
2505
+ {
2506
+ prop: "label",
2507
+ label: "显示的值",
2508
+ type: "",
2509
+ el: "hs-input"
2510
+ },
2511
+ {
2512
+ prop: "value",
2513
+ label: "实际的值",
2514
+ type: "",
2515
+ el: "hs-input"
2516
+ },
2517
+ {
2518
+ prop: "checked",
2519
+ label: "默认是否选中",
2520
+ type: "",
2521
+ el: "hs-switch"
2522
+ },
2523
+ {
2524
+ prop: "resetValue",
2525
+ label: "重置时的默认值",
2526
+ type: "textarea",
2527
+ el: "hs-input"
2528
+ },
2529
+ {
2530
+ prop: "data",
2531
+ label: "自定义渲染的数据值(当使用自定义模板时可能会用到)",
2532
+ type: "textarea",
2533
+ el: "hs-input"
2534
+ }
2535
+ ]
2536
+ });
2537
+ let tableItemConfig = ref({
2538
+ id: "",
2539
+ sort: 0,
2540
+ // 排序
2541
+ // 配置绑定的值
2542
+ data: tableColumnConfigData,
2543
+ // 按钮配置
2544
+ btnData: []
2545
+ });
2546
+ const tableConfig = {
2547
+ list: tableColumnConfig.value,
2548
+ second_config: tableColumnConfigItem.value,
2549
+ filterConfig: filterItemConfig.value,
2550
+ rules: {
2551
+ list: tableColumnRule
2552
+ }
2553
+ // 校验规则
2554
+ };
2555
+ let emptyTableItemData = ref({
2556
+ id: "",
2557
+ // 配置绑定的值
2558
+ data: {
2559
+ // 是否启用插槽
2560
+ isSlot: false,
2561
+ /** 是否启用 */
2562
+ isApply: true,
2563
+ /** 是否显示 */
2564
+ isShow: true,
2565
+ /** 返回值类型 */
2566
+ returnValueType: ""
2567
+ },
2568
+ /** 表格列中按钮配置 */
2569
+ btnData: []
2570
+ });
2571
+ let tableTitleConfig = ref({
2572
+ code: {
2573
+ visible: false,
2574
+ subTitle: "表格配置代码",
2575
+ class: "font-bold my-3",
2576
+ iconSize: 20
2577
+ },
2578
+ table: {
2579
+ visible: false,
2580
+ subTitle: "表格配置",
2581
+ class: "font-bold my-3",
2582
+ iconSize: 20
2583
+ },
2584
+ tableItem: {
2585
+ visible: true,
2586
+ subTitle: "表格元素配置项集合",
2587
+ class: "font-bold my-3",
2588
+ iconSize: 20
2589
+ },
2590
+ dynamicTableItem: {
2591
+ visible: true,
2592
+ subTitle: "动态配置列元素配置项集合",
2593
+ class: "font-bold my-3",
2594
+ iconSize: 20
2595
+ }
2596
+ });
2597
+ let baseConfig = {
2598
+ baseTableConfig,
2599
+ baseVisible: false,
2600
+ pageVisible: false,
2601
+ tableAttrConfig,
2602
+ tablePageConfig
2603
+ };
2604
+ let tableItemAspectData = {
2605
+ id: {
2606
+ isShow: false,
2607
+ title: "id",
2608
+ returnValueType: "string"
2609
+ }
2610
+ };
2611
+ export {
2612
+ _sfc_main as _,
2613
+ tableColumnConfigData as a,
2614
+ tableColumnRule as b,
2615
+ tableItemConfig as c,
2616
+ tableItemAspectData as d,
2617
+ baseData as e,
2618
+ filterItemConfig as f,
2619
+ emptyTableItemData as g,
2620
+ tableItemType as h,
2621
+ tableTitleConfig as i,
2622
+ baseConfig as j,
2623
+ tableConfig as t
2624
+ };