@cldemo/ui-kit 1.1.0 → 1.1.2

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 (901) hide show
  1. package/COMPONENT_CATALOG.md +125 -42
  2. package/README.md +8 -7
  3. package/buildLibs/all/{BallColor4-CYDMNYIL.js → BallColor4-B1tO7Tbf.js} +1 -1
  4. package/buildLibs/{web/BallColor4-CvdyEpUB.cjs → all/BallColor4-XAmB3sGF.cjs} +1 -1
  5. package/buildLibs/{web/ToastRing-KEtXZej2.cjs → all/ToastRing-BIV-zK0K.cjs} +1 -1
  6. package/buildLibs/{web/ToastRing-DxVDUCSx.js → all/ToastRing-D7_Cqd_W.js} +1 -1
  7. package/buildLibs/all/{Video-Bbk0_YWw.js → Video-BCsixuXq.js} +1 -1
  8. package/buildLibs/all/{Video-BV-GRW4X.cjs → Video-kyxIjktP.cjs} +1 -1
  9. package/buildLibs/all/{index-Cap0WJgK.cjs → index-0NOmwWqO.cjs} +9 -9
  10. package/buildLibs/all/{index-sPYdePtz.js → index-CIctx5VJ.js} +110 -102
  11. package/buildLibs/all/index.cjs +1 -1
  12. package/buildLibs/all/index.js +1 -1
  13. package/buildLibs/common/Element/Event/index.d.ts +2 -0
  14. package/buildLibs/common/Element/index.d.ts +2 -0
  15. package/buildLibs/common/Tools/index.d.ts +2 -0
  16. package/buildLibs/common/axios.d.ts +2 -0
  17. package/buildLibs/common/base.d.ts +2 -0
  18. package/buildLibs/common/browserProgress.cjs +1 -1
  19. package/buildLibs/common/browserProgress.d.ts +2 -0
  20. package/buildLibs/common/browserProgress.js +24 -15
  21. package/buildLibs/common/day.d.ts +2 -0
  22. package/buildLibs/common/echart.d.ts +2 -0
  23. package/buildLibs/common/globalConfig.cjs +1 -1
  24. package/buildLibs/common/globalConfig.d.ts +2 -0
  25. package/buildLibs/common/globalConfig.js +12 -8
  26. package/buildLibs/common/globalTypes.d.ts +1 -0
  27. package/buildLibs/common/i18n/index.d.ts +2 -0
  28. package/buildLibs/common/log.d.ts +2 -0
  29. package/buildLibs/common/promise.d.ts +2 -0
  30. package/buildLibs/common/tooltip.d.ts +2 -0
  31. package/buildLibs/core/alert.cjs +1 -0
  32. package/buildLibs/core/alert.d.ts +1 -0
  33. package/buildLibs/core/alert.js +1 -0
  34. package/buildLibs/core/clipboard.cjs +1 -0
  35. package/buildLibs/core/clipboard.d.ts +1 -0
  36. package/buildLibs/core/clipboard.js +1 -0
  37. package/buildLibs/core/codeHighlight.cjs +1 -0
  38. package/buildLibs/core/codeHighlight.d.ts +1 -0
  39. package/buildLibs/core/codeHighlight.js +1 -0
  40. package/buildLibs/core/languagePack.cjs +1 -0
  41. package/buildLibs/core/languagePack.d.ts +1 -0
  42. package/buildLibs/core/languagePack.js +1 -0
  43. package/buildLibs/core/lazyImage.cjs +1 -0
  44. package/buildLibs/core/lazyImage.d.ts +1 -0
  45. package/buildLibs/core/lazyImage.js +1 -0
  46. package/buildLibs/core/loadScreen.cjs +1 -0
  47. package/buildLibs/core/loadScreen.d.ts +1 -0
  48. package/buildLibs/core/loadScreen.js +1 -0
  49. package/buildLibs/core/notify.cjs +1 -0
  50. package/buildLibs/core/notify.d.ts +1 -0
  51. package/buildLibs/core/notify.js +1 -0
  52. package/buildLibs/core/notifyM.cjs +1 -0
  53. package/buildLibs/core/notifyM.d.ts +1 -0
  54. package/buildLibs/core/notifyM.js +1 -0
  55. package/buildLibs/core/preview.cjs +1 -0
  56. package/buildLibs/core/preview.d.ts +1 -0
  57. package/buildLibs/core/preview.js +1 -0
  58. package/buildLibs/core/toast.cjs +1 -0
  59. package/buildLibs/core/toast.d.ts +1 -0
  60. package/buildLibs/core/toast.js +1 -0
  61. package/buildLibs/core/tooltip.cjs +1 -0
  62. package/buildLibs/core/tooltip.d.ts +1 -0
  63. package/buildLibs/core/tooltip.js +1 -0
  64. package/buildLibs/core/validate.cjs +1 -0
  65. package/buildLibs/core/validate.d.ts +1 -0
  66. package/buildLibs/core/validate.js +1 -0
  67. package/buildLibs/core/waves.cjs +1 -0
  68. package/buildLibs/core/waves.d.ts +1 -0
  69. package/buildLibs/core/waves.js +1 -0
  70. package/buildLibs/{all/BallColor4-CaqTfMcX.cjs → mobile/BallColor4-D5cOCCwS.cjs} +1 -1
  71. package/buildLibs/mobile/{BallColor4-DogqtiHo.js → BallColor4-DW64tRd6.js} +1 -1
  72. package/buildLibs/{all/ToastRing-BW0hddZN.js → mobile/ToastRing-CBnFEhCg.js} +1 -1
  73. package/buildLibs/mobile/{ToastRing-BQAASeWu.cjs → ToastRing-DUy5-KJI.cjs} +1 -1
  74. package/buildLibs/mobile/{index-Bh4jt080.js → index-Ccqb6JSg.js} +1276 -1269
  75. package/buildLibs/mobile/{index-DmdxP8hd.cjs → index-SXa7oZIH.cjs} +5 -5
  76. package/buildLibs/mobile/index.cjs +1 -1
  77. package/buildLibs/mobile/index.js +1 -1
  78. package/buildLibs/modules/actionSheet.d.ts +1 -1
  79. package/buildLibs/modules/actionSheet.js +1 -212
  80. package/buildLibs/modules/anchorNav.d.ts +1 -1
  81. package/buildLibs/modules/anchorNav.js +1 -147
  82. package/buildLibs/modules/backTop.d.ts +1 -1
  83. package/buildLibs/modules/backTop.js +1 -139
  84. package/buildLibs/modules/badge.d.ts +1 -1
  85. package/buildLibs/modules/badge.js +1 -4
  86. package/buildLibs/modules/banner.d.ts +1 -1
  87. package/buildLibs/modules/banner.js +2 -332
  88. package/buildLibs/modules/breadcrumb.d.ts +1 -1
  89. package/buildLibs/modules/breadcrumb.js +1 -73
  90. package/buildLibs/modules/button.d.ts +1 -1
  91. package/buildLibs/modules/button.js +1 -4
  92. package/buildLibs/modules/calendar.d.ts +1 -1
  93. package/buildLibs/modules/calendar.js +1 -353
  94. package/buildLibs/modules/calendarM.d.ts +1 -1
  95. package/buildLibs/modules/calendarM.js +1 -473
  96. package/buildLibs/modules/callout.d.ts +1 -1
  97. package/buildLibs/modules/callout.js +1 -45
  98. package/buildLibs/modules/card.d.ts +1 -1
  99. package/buildLibs/modules/card.js +1 -4
  100. package/buildLibs/modules/cardColor.d.ts +1 -1
  101. package/buildLibs/modules/cardColor.js +1 -54
  102. package/buildLibs/modules/cell.d.ts +1 -1
  103. package/buildLibs/modules/cell.js +1 -109
  104. package/buildLibs/modules/cellSwipe.d.ts +1 -1
  105. package/buildLibs/modules/cellSwipe.js +1 -159
  106. package/buildLibs/modules/checkbox.d.ts +1 -1
  107. package/buildLibs/modules/checkbox.js +1 -4
  108. package/buildLibs/modules/checkboxOne.d.ts +1 -1
  109. package/buildLibs/modules/checkboxOne.js +1 -4
  110. package/buildLibs/modules/clipboard.d.ts +1 -1
  111. package/buildLibs/modules/clipboard.js +1 -4
  112. package/buildLibs/modules/codeLegend.d.ts +1 -1
  113. package/buildLibs/modules/codeLegend.js +1 -149
  114. package/buildLibs/modules/codeLegendM.d.ts +1 -1
  115. package/buildLibs/modules/codeLegendM.js +1 -196
  116. package/buildLibs/modules/collapse.d.ts +1 -1
  117. package/buildLibs/modules/collapse.js +1 -133
  118. package/buildLibs/modules/colorPicker.d.ts +1 -1
  119. package/buildLibs/modules/colorPicker.js +1 -1196
  120. package/buildLibs/modules/countDown.d.ts +1 -1
  121. package/buildLibs/modules/countDown.js +1 -139
  122. package/buildLibs/modules/cropper.d.ts +1 -1
  123. package/buildLibs/modules/cropper.js +1 -4
  124. package/buildLibs/modules/cropperM.d.ts +1 -1
  125. package/buildLibs/modules/cropperM.js +1 -450
  126. package/buildLibs/modules/cropperPreview.d.ts +1 -1
  127. package/buildLibs/modules/cropperPreview.js +1 -222
  128. package/buildLibs/modules/darg.d.ts +1 -1
  129. package/buildLibs/modules/darg.js +1 -2160
  130. package/buildLibs/modules/dateTime.d.ts +1 -1
  131. package/buildLibs/modules/dateTime.js +1 -4
  132. package/buildLibs/modules/divider.d.ts +1 -1
  133. package/buildLibs/modules/divider.js +1 -4
  134. package/buildLibs/modules/dropdownMenu.d.ts +1 -1
  135. package/buildLibs/modules/dropdownMenu.js +1 -168
  136. package/buildLibs/modules/dropdownMenuItem.d.ts +1 -1
  137. package/buildLibs/modules/dropdownMenuItem.js +1 -88
  138. package/buildLibs/modules/dropdownMenuM.d.ts +1 -1
  139. package/buildLibs/modules/dropdownMenuM.js +1 -216
  140. package/buildLibs/modules/dropdownMenuMItem.d.ts +1 -1
  141. package/buildLibs/modules/dropdownMenuMItem.js +1 -178
  142. package/buildLibs/modules/dropdownPopup.d.ts +1 -1
  143. package/buildLibs/modules/dropdownPopup.js +1 -122
  144. package/buildLibs/modules/echarts.d.ts +1 -1
  145. package/buildLibs/modules/echarts.js +1 -4
  146. package/buildLibs/modules/echartsLineAxisTag.d.ts +1 -1
  147. package/buildLibs/modules/echartsLineAxisTag.js +1 -920
  148. package/buildLibs/modules/ellipsis.d.ts +1 -1
  149. package/buildLibs/modules/ellipsis.js +1 -4
  150. package/buildLibs/modules/empty.d.ts +1 -1
  151. package/buildLibs/modules/empty.js +1 -65
  152. package/buildLibs/modules/fileUpload.d.ts +1 -1
  153. package/buildLibs/modules/fileUpload.js +1 -4
  154. package/buildLibs/modules/floatBubble.d.ts +1 -1
  155. package/buildLibs/modules/floatBubble.js +1 -192
  156. package/buildLibs/modules/floatPanel.d.ts +1 -1
  157. package/buildLibs/modules/floatPanel.js +1 -279
  158. package/buildLibs/modules/form.d.ts +1 -1
  159. package/buildLibs/modules/form.js +1 -4
  160. package/buildLibs/modules/formGroupBtns.d.ts +1 -1
  161. package/buildLibs/modules/formGroupBtns.js +1 -87
  162. package/buildLibs/modules/formGroupHorizontal.d.ts +1 -1
  163. package/buildLibs/modules/formGroupHorizontal.js +1 -4
  164. package/buildLibs/modules/formGroupVertical.d.ts +1 -1
  165. package/buildLibs/modules/formGroupVertical.js +1 -62
  166. package/buildLibs/modules/formValidate.d.ts +1 -1
  167. package/buildLibs/modules/formValidate.js +1 -4
  168. package/buildLibs/modules/framePhone.d.ts +1 -1
  169. package/buildLibs/modules/framePhone.js +1 -71
  170. package/buildLibs/modules/grid.d.ts +1 -1
  171. package/buildLibs/modules/grid.js +1 -95
  172. package/buildLibs/modules/iconFont.d.ts +1 -1
  173. package/buildLibs/modules/iconFont.js +1 -4
  174. package/buildLibs/modules/image.d.ts +1 -1
  175. package/buildLibs/modules/image.js +1 -4
  176. package/buildLibs/modules/indexBar.d.ts +1 -1
  177. package/buildLibs/modules/indexBar.js +1 -173
  178. package/buildLibs/modules/input.d.ts +1 -1
  179. package/buildLibs/modules/input.js +1 -4
  180. package/buildLibs/modules/inputCaptcha.d.ts +1 -1
  181. package/buildLibs/modules/inputCaptcha.js +1 -136
  182. package/buildLibs/modules/inputNumber.d.ts +1 -1
  183. package/buildLibs/modules/inputNumber.js +1 -4
  184. package/buildLibs/modules/inputNumberStepper.d.ts +1 -1
  185. package/buildLibs/modules/inputNumberStepper.js +1 -4
  186. package/buildLibs/modules/inputPassword.d.ts +1 -1
  187. package/buildLibs/modules/inputPassword.js +1 -149
  188. package/buildLibs/modules/inputPin.d.ts +1 -1
  189. package/buildLibs/modules/inputPin.js +1 -182
  190. package/buildLibs/modules/inputSearch.d.ts +1 -1
  191. package/buildLibs/modules/inputSearch.js +1 -4
  192. package/buildLibs/modules/inputTag.d.ts +1 -1
  193. package/buildLibs/modules/inputTag.js +1 -4
  194. package/buildLibs/modules/inputTextarea.d.ts +1 -1
  195. package/buildLibs/modules/inputTextarea.js +1 -4
  196. package/buildLibs/modules/link.d.ts +1 -1
  197. package/buildLibs/modules/link.js +1 -4
  198. package/buildLibs/modules/load.d.ts +1 -1
  199. package/buildLibs/modules/load.js +1 -4
  200. package/buildLibs/modules/loadFullCenter.d.ts +1 -1
  201. package/buildLibs/modules/loadFullCenter.js +1 -44
  202. package/buildLibs/modules/loadIng.d.ts +1 -1
  203. package/buildLibs/modules/loadIng.js +1 -4
  204. package/buildLibs/modules/loadScreen.d.ts +1 -1
  205. package/buildLibs/modules/loadScreen.js +1 -74
  206. package/buildLibs/modules/loadWarp.d.ts +1 -1
  207. package/buildLibs/modules/loadWarp.js +1 -52
  208. package/buildLibs/modules/modal.d.ts +1 -1
  209. package/buildLibs/modules/modal.js +1 -4
  210. package/buildLibs/modules/navBar.d.ts +1 -1
  211. package/buildLibs/modules/navBar.js +1 -119
  212. package/buildLibs/modules/noticeBar.d.ts +1 -1
  213. package/buildLibs/modules/noticeBar.js +1 -145
  214. package/buildLibs/modules/notifyM.d.ts +1 -1
  215. package/buildLibs/modules/notifyM.js +1 -277
  216. package/buildLibs/modules/numberKeyboard.d.ts +1 -1
  217. package/buildLibs/modules/numberKeyboard.js +1 -287
  218. package/buildLibs/modules/numberRoll.d.ts +1 -1
  219. package/buildLibs/modules/numberRoll.js +1 -96
  220. package/buildLibs/modules/overlay.d.ts +1 -1
  221. package/buildLibs/modules/overlay.js +1 -4
  222. package/buildLibs/modules/paginate.d.ts +1 -1
  223. package/buildLibs/modules/paginate.js +1 -4
  224. package/buildLibs/modules/picker.d.ts +1 -1
  225. package/buildLibs/modules/picker.js +1 -4
  226. package/buildLibs/modules/pickerArea.d.ts +1 -1
  227. package/buildLibs/modules/pickerArea.js +1 -255
  228. package/buildLibs/modules/pickerCascader.d.ts +1 -1
  229. package/buildLibs/modules/pickerCascader.js +1 -316
  230. package/buildLibs/modules/pickerDate.d.ts +1 -1
  231. package/buildLibs/modules/pickerDate.js +1 -220
  232. package/buildLibs/modules/pickerTime.d.ts +1 -1
  233. package/buildLibs/modules/pickerTime.js +1 -230
  234. package/buildLibs/modules/popup.d.ts +1 -1
  235. package/buildLibs/modules/popup.js +1 -4
  236. package/buildLibs/modules/portlet.d.ts +1 -1
  237. package/buildLibs/modules/portlet.js +1 -51
  238. package/buildLibs/modules/previewExample.d.ts +1 -1
  239. package/buildLibs/modules/previewExample.js +1 -4
  240. package/buildLibs/modules/progress.d.ts +1 -1
  241. package/buildLibs/modules/progress.js +1 -262
  242. package/buildLibs/modules/pullToRefresh.d.ts +1 -1
  243. package/buildLibs/modules/pullToRefresh.js +1 -4
  244. package/buildLibs/modules/radio.d.ts +1 -1
  245. package/buildLibs/modules/radio.js +1 -4
  246. package/buildLibs/modules/radioOne.d.ts +1 -1
  247. package/buildLibs/modules/radioOne.js +1 -4
  248. package/buildLibs/modules/rate.d.ts +1 -1
  249. package/buildLibs/modules/rate.js +1 -235
  250. package/buildLibs/modules/scrollCard.d.ts +1 -1
  251. package/buildLibs/modules/scrollCard.js +1 -368
  252. package/buildLibs/modules/scrollXFence.d.ts +1 -1
  253. package/buildLibs/modules/scrollXFence.js +1 -4
  254. package/buildLibs/modules/select.d.ts +1 -1
  255. package/buildLibs/modules/select.js +1 -4
  256. package/buildLibs/modules/selectCascade.d.ts +1 -1
  257. package/buildLibs/modules/selectCascade.js +1 -4
  258. package/buildLibs/modules/selectMove.d.ts +1 -1
  259. package/buildLibs/modules/selectMove.js +1 -1352
  260. package/buildLibs/modules/selectTag.d.ts +1 -1
  261. package/buildLibs/modules/selectTag.js +1 -4
  262. package/buildLibs/modules/selectTree.d.ts +1 -1
  263. package/buildLibs/modules/selectTree.js +1 -377
  264. package/buildLibs/modules/sharePanel.d.ts +1 -1
  265. package/buildLibs/modules/sharePanel.js +1 -151
  266. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-GSyMXu17.js → Index.vue_vue_type_script_setup_true_lang-C4t0E13G.js} +1 -1
  267. package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DtsjjKBG.js → Index.vue_vue_type_script_setup_true_lang-DfsrIstV.js} +274 -273
  268. package/buildLibs/modules/shared/Validate.vue_vue_type_script_setup_true_lang-CJNHymo3.js +419 -0
  269. package/buildLibs/modules/sideMenu.d.ts +1 -1
  270. package/buildLibs/modules/sideMenu.js +1 -227
  271. package/buildLibs/modules/sidebar.d.ts +1 -1
  272. package/buildLibs/modules/sidebar.js +1 -63
  273. package/buildLibs/modules/sidebarSelect.d.ts +1 -1
  274. package/buildLibs/modules/sidebarSelect.js +1 -86
  275. package/buildLibs/modules/signature.d.ts +1 -1
  276. package/buildLibs/modules/signature.js +1 -250
  277. package/buildLibs/modules/slider.d.ts +1 -1
  278. package/buildLibs/modules/slider.js +1 -4
  279. package/buildLibs/modules/steps.d.ts +1 -1
  280. package/buildLibs/modules/steps.js +1 -112
  281. package/buildLibs/modules/swipe.d.ts +1 -1
  282. package/buildLibs/modules/swipe.js +1 -177
  283. package/buildLibs/modules/switchery.d.ts +1 -1
  284. package/buildLibs/modules/switchery.js +1 -261
  285. package/buildLibs/modules/tabM.d.ts +1 -1
  286. package/buildLibs/modules/tabM.js +1 -115
  287. package/buildLibs/modules/tabbar.d.ts +1 -1
  288. package/buildLibs/modules/tabbar.js +1 -119
  289. package/buildLibs/modules/table.d.ts +1 -1
  290. package/buildLibs/modules/table.js +1 -2409
  291. package/buildLibs/modules/tableEdit.d.ts +1 -1
  292. package/buildLibs/modules/tableEdit.js +1 -79
  293. package/buildLibs/modules/tableSimple.d.ts +1 -1
  294. package/buildLibs/modules/tableSimple.js +1 -74
  295. package/buildLibs/modules/tabs.d.ts +1 -1
  296. package/buildLibs/modules/tabs.js +1 -358
  297. package/buildLibs/modules/tags.d.ts +1 -1
  298. package/buildLibs/modules/tags.js +1 -4
  299. package/buildLibs/modules/textHighlight.d.ts +1 -1
  300. package/buildLibs/modules/textHighlight.js +1 -68
  301. package/buildLibs/modules/toast.d.ts +1 -1
  302. package/buildLibs/modules/toast.js +1 -198
  303. package/buildLibs/modules/transitionSlideUpDown.d.ts +1 -1
  304. package/buildLibs/modules/transitionSlideUpDown.js +1 -4
  305. package/buildLibs/modules/tree.d.ts +1 -1
  306. package/buildLibs/modules/tree.js +1 -4
  307. package/buildLibs/modules/waterfall.d.ts +1 -1
  308. package/buildLibs/modules/waterfall.js +1 -174
  309. package/buildLibs/modules/waterfallImage.d.ts +1 -1
  310. package/buildLibs/modules/waterfallImage.js +1 -49
  311. package/buildLibs/modules/watermark.d.ts +1 -1
  312. package/buildLibs/modules/watermark.js +1 -77
  313. package/buildLibs/modules/weekHour.d.ts +1 -1
  314. package/buildLibs/modules/weekHour.js +1 -765
  315. package/buildLibs/modules/xEditable.d.ts +1 -1
  316. package/buildLibs/modules/xEditable.js +1 -772
  317. package/buildLibs/styles/Common/meta.json +2 -0
  318. package/buildLibs/styles/Element/__provide__/LoadScreen.css +0 -31
  319. package/buildLibs/types/Common/browserProgress.d.ts +3 -1
  320. package/buildLibs/types/Common/globalConfig.d.ts +35 -2
  321. package/buildLibs/types/Common/globalTypes.d.ts +12 -2
  322. package/buildLibs/types/Web/Preview/lazy.d.ts +21 -0
  323. package/buildLibs/utils/Element/ClBadge.cjs +1 -1
  324. package/buildLibs/utils/Element/ClBadge.d.ts +1 -1
  325. package/buildLibs/utils/Element/ClBadge.js +1 -1
  326. package/buildLibs/utils/Element/ClBreadcrumb.cjs +1 -1
  327. package/buildLibs/utils/Element/ClBreadcrumb.d.ts +1 -1
  328. package/buildLibs/utils/Element/ClBreadcrumb.js +1 -1
  329. package/buildLibs/utils/Element/ClButton.cjs +1 -1
  330. package/buildLibs/utils/Element/ClButton.d.ts +1 -1
  331. package/buildLibs/utils/Element/ClButton.js +1 -1
  332. package/buildLibs/utils/Element/ClCallout.d.ts +1 -1
  333. package/buildLibs/utils/Element/ClCard.cjs +1 -1
  334. package/buildLibs/utils/Element/ClCard.d.ts +1 -1
  335. package/buildLibs/utils/Element/ClCard.js +1 -1
  336. package/buildLibs/utils/Element/ClCardColor.d.ts +1 -1
  337. package/buildLibs/utils/Element/ClCheckbox.cjs +1 -1
  338. package/buildLibs/utils/Element/ClCheckbox.d.ts +1 -1
  339. package/buildLibs/utils/Element/ClCheckbox.js +1 -1
  340. package/buildLibs/utils/Element/ClCheckboxOne.cjs +1 -1
  341. package/buildLibs/utils/Element/ClCheckboxOne.d.ts +1 -1
  342. package/buildLibs/utils/Element/ClCheckboxOne.js +1 -1
  343. package/buildLibs/utils/Element/ClClipboard.cjs +1 -1
  344. package/buildLibs/utils/Element/ClClipboard.d.ts +1 -1
  345. package/buildLibs/utils/Element/ClClipboard.js +1 -1
  346. package/buildLibs/utils/Element/ClCollapse.cjs +1 -1
  347. package/buildLibs/utils/Element/ClCollapse.d.ts +1 -1
  348. package/buildLibs/utils/Element/ClCollapse.js +1 -1
  349. package/buildLibs/utils/Element/ClCountDown.d.ts +1 -1
  350. package/buildLibs/utils/Element/ClDarg.cjs +1 -1
  351. package/buildLibs/utils/Element/ClDarg.d.ts +1 -1
  352. package/buildLibs/utils/Element/ClDarg.js +1 -1
  353. package/buildLibs/utils/Element/ClDivider.cjs +1 -1
  354. package/buildLibs/utils/Element/ClDivider.d.ts +1 -1
  355. package/buildLibs/utils/Element/ClDivider.js +1 -1
  356. package/buildLibs/utils/Element/ClEllipsis.cjs +1 -1
  357. package/buildLibs/utils/Element/ClEllipsis.d.ts +1 -1
  358. package/buildLibs/utils/Element/ClEllipsis.js +1 -1
  359. package/buildLibs/utils/Element/ClEmpty.d.ts +1 -1
  360. package/buildLibs/utils/Element/ClForm.cjs +1 -1
  361. package/buildLibs/utils/Element/ClForm.d.ts +1 -1
  362. package/buildLibs/utils/Element/ClForm.js +1 -1
  363. package/buildLibs/utils/Element/ClFormGroupBtns.cjs +1 -1
  364. package/buildLibs/utils/Element/ClFormGroupBtns.d.ts +1 -1
  365. package/buildLibs/utils/Element/ClFormGroupBtns.js +1 -1
  366. package/buildLibs/utils/Element/ClFormGroupHorizontal.cjs +1 -1
  367. package/buildLibs/utils/Element/ClFormGroupHorizontal.d.ts +1 -1
  368. package/buildLibs/utils/Element/ClFormGroupHorizontal.js +1 -1
  369. package/buildLibs/utils/Element/ClFormGroupVertical.d.ts +1 -1
  370. package/buildLibs/utils/Element/ClFormValidate.cjs +1 -1
  371. package/buildLibs/utils/Element/ClFormValidate.d.ts +1 -1
  372. package/buildLibs/utils/Element/ClFormValidate.js +1 -1
  373. package/buildLibs/utils/Element/ClIconFont.cjs +1 -1
  374. package/buildLibs/utils/Element/ClIconFont.d.ts +1 -1
  375. package/buildLibs/utils/Element/ClIconFont.js +1 -1
  376. package/buildLibs/utils/Element/ClImage.cjs +1 -1
  377. package/buildLibs/utils/Element/ClImage.d.ts +1 -1
  378. package/buildLibs/utils/Element/ClImage.js +1 -1
  379. package/buildLibs/utils/Element/ClInput.cjs +1 -1
  380. package/buildLibs/utils/Element/ClInput.d.ts +1 -1
  381. package/buildLibs/utils/Element/ClInput.js +1 -1
  382. package/buildLibs/utils/Element/ClInputCaptcha.cjs +1 -1
  383. package/buildLibs/utils/Element/ClInputCaptcha.d.ts +1 -1
  384. package/buildLibs/utils/Element/ClInputCaptcha.js +2 -2
  385. package/buildLibs/utils/Element/ClInputNumber.cjs +1 -1
  386. package/buildLibs/utils/Element/ClInputNumber.d.ts +1 -1
  387. package/buildLibs/utils/Element/ClInputNumber.js +1 -1
  388. package/buildLibs/utils/Element/ClInputNumberStepper.cjs +1 -1
  389. package/buildLibs/utils/Element/ClInputNumberStepper.d.ts +1 -1
  390. package/buildLibs/utils/Element/ClInputNumberStepper.js +1 -1
  391. package/buildLibs/utils/Element/ClInputPassword.cjs +1 -1
  392. package/buildLibs/utils/Element/ClInputPassword.d.ts +1 -1
  393. package/buildLibs/utils/Element/ClInputPassword.js +2 -2
  394. package/buildLibs/utils/Element/ClInputSearch.cjs +1 -1
  395. package/buildLibs/utils/Element/ClInputSearch.d.ts +1 -1
  396. package/buildLibs/utils/Element/ClInputSearch.js +1 -1
  397. package/buildLibs/utils/Element/ClInputTextarea.cjs +1 -1
  398. package/buildLibs/utils/Element/ClInputTextarea.d.ts +1 -1
  399. package/buildLibs/utils/Element/ClInputTextarea.js +1 -1
  400. package/buildLibs/utils/Element/ClLink.cjs +1 -1
  401. package/buildLibs/utils/Element/ClLink.d.ts +1 -1
  402. package/buildLibs/utils/Element/ClLink.js +1 -1
  403. package/buildLibs/utils/Element/ClLoad.cjs +1 -1
  404. package/buildLibs/utils/Element/ClLoad.d.ts +1 -1
  405. package/buildLibs/utils/Element/ClLoad.js +1 -1
  406. package/buildLibs/utils/Element/ClLoadFullCenter.cjs +1 -1
  407. package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +1 -1
  408. package/buildLibs/utils/Element/ClLoadFullCenter.js +2 -2
  409. package/buildLibs/utils/Element/ClLoadIng.cjs +1 -1
  410. package/buildLibs/utils/Element/ClLoadIng.d.ts +1 -1
  411. package/buildLibs/utils/Element/ClLoadIng.js +1 -1
  412. package/buildLibs/utils/Element/ClLoadScreen.cjs +1 -1
  413. package/buildLibs/utils/Element/ClLoadScreen.d.ts +1 -1
  414. package/buildLibs/utils/Element/ClLoadScreen.js +2 -72
  415. package/buildLibs/utils/Element/ClLoadWarp.cjs +1 -1
  416. package/buildLibs/utils/Element/ClLoadWarp.d.ts +1 -1
  417. package/buildLibs/utils/Element/ClLoadWarp.js +1 -1
  418. package/buildLibs/utils/Element/ClModal.cjs +1 -1
  419. package/buildLibs/utils/Element/ClModal.d.ts +1 -1
  420. package/buildLibs/utils/Element/ClModal.js +1 -1
  421. package/buildLibs/utils/Element/ClNumberRoll.d.ts +1 -1
  422. package/buildLibs/utils/Element/ClOverlay.cjs +1 -1
  423. package/buildLibs/utils/Element/ClOverlay.d.ts +1 -1
  424. package/buildLibs/utils/Element/ClOverlay.js +1 -1
  425. package/buildLibs/utils/Element/ClProgress.cjs +1 -1
  426. package/buildLibs/utils/Element/ClProgress.d.ts +1 -1
  427. package/buildLibs/utils/Element/ClProgress.js +1 -1
  428. package/buildLibs/utils/Element/ClRadio.cjs +1 -1
  429. package/buildLibs/utils/Element/ClRadio.d.ts +1 -1
  430. package/buildLibs/utils/Element/ClRadio.js +1 -1
  431. package/buildLibs/utils/Element/ClRadioOne.cjs +1 -1
  432. package/buildLibs/utils/Element/ClRadioOne.d.ts +1 -1
  433. package/buildLibs/utils/Element/ClRadioOne.js +1 -1
  434. package/buildLibs/utils/Element/ClSlider.cjs +1 -1
  435. package/buildLibs/utils/Element/ClSlider.d.ts +1 -1
  436. package/buildLibs/utils/Element/ClSlider.js +1 -1
  437. package/buildLibs/utils/Element/ClSwitchery.cjs +1 -1
  438. package/buildLibs/utils/Element/ClSwitchery.d.ts +1 -1
  439. package/buildLibs/utils/Element/ClSwitchery.js +2 -2
  440. package/buildLibs/utils/Element/ClTags.cjs +1 -1
  441. package/buildLibs/utils/Element/ClTags.d.ts +1 -1
  442. package/buildLibs/utils/Element/ClTags.js +1 -1
  443. package/buildLibs/utils/Element/ClTransitionSlideUpDown.d.ts +1 -1
  444. package/buildLibs/utils/Element/ClWaterfall.d.ts +1 -1
  445. package/buildLibs/utils/Element/ClWaterfallImage.cjs +1 -1
  446. package/buildLibs/utils/Element/ClWaterfallImage.d.ts +1 -1
  447. package/buildLibs/utils/Element/ClWaterfallImage.js +2 -2
  448. package/buildLibs/utils/Element/__directive__/LazyImage.cjs +1 -0
  449. package/buildLibs/utils/Element/__directive__/LazyImage.d.ts +1 -0
  450. package/buildLibs/utils/Element/__directive__/LazyImage.js +6 -0
  451. package/buildLibs/utils/Element/__provide__/Clipboard.cjs +1 -0
  452. package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +1 -0
  453. package/buildLibs/utils/Element/__provide__/Clipboard.js +37 -0
  454. package/buildLibs/utils/Element/__provide__/LanguagePack.cjs +1 -0
  455. package/buildLibs/utils/Element/__provide__/LanguagePack.d.ts +1 -0
  456. package/buildLibs/utils/Element/__provide__/LanguagePack.js +28 -0
  457. package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +1 -0
  458. package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +1 -0
  459. package/buildLibs/utils/Element/__provide__/LoadScreen.js +23 -0
  460. package/buildLibs/utils/Element/__provide__/Validate.cjs +1 -0
  461. package/buildLibs/utils/Element/__provide__/Validate.d.ts +1 -0
  462. package/buildLibs/utils/Element/__provide__/Validate.js +104 -0
  463. package/buildLibs/utils/Element/installCommon.cjs +1 -0
  464. package/buildLibs/utils/Element/installCommon.d.ts +1 -0
  465. package/buildLibs/utils/Element/installCommon.js +24 -0
  466. package/buildLibs/utils/Mobile/ClActionSheet.cjs +1 -1
  467. package/buildLibs/utils/Mobile/ClActionSheet.d.ts +1 -1
  468. package/buildLibs/utils/Mobile/ClActionSheet.js +3 -3
  469. package/buildLibs/utils/Mobile/ClBackTop.cjs +1 -1
  470. package/buildLibs/utils/Mobile/ClBackTop.d.ts +1 -1
  471. package/buildLibs/utils/Mobile/ClBackTop.js +2 -2
  472. package/buildLibs/utils/Mobile/ClBanner.cjs +1 -1
  473. package/buildLibs/utils/Mobile/ClBanner.d.ts +1 -1
  474. package/buildLibs/utils/Mobile/ClBanner.js +3 -3
  475. package/buildLibs/utils/Mobile/ClCalendarM.cjs +1 -1
  476. package/buildLibs/utils/Mobile/ClCalendarM.d.ts +1 -1
  477. package/buildLibs/utils/Mobile/ClCalendarM.js +4 -4
  478. package/buildLibs/utils/Mobile/ClCell.cjs +1 -1
  479. package/buildLibs/utils/Mobile/ClCell.d.ts +1 -1
  480. package/buildLibs/utils/Mobile/ClCell.js +2 -2
  481. package/buildLibs/utils/Mobile/ClCellSwipe.d.ts +1 -1
  482. package/buildLibs/utils/Mobile/ClCodeLegendM.cjs +1 -1
  483. package/buildLibs/utils/Mobile/ClCodeLegendM.d.ts +1 -1
  484. package/buildLibs/utils/Mobile/ClCodeLegendM.js +2 -2
  485. package/buildLibs/utils/Mobile/ClCropperM.cjs +1 -1
  486. package/buildLibs/utils/Mobile/ClCropperM.d.ts +1 -1
  487. package/buildLibs/utils/Mobile/ClCropperM.js +4 -4
  488. package/buildLibs/utils/Mobile/ClDropdownMenuM.d.ts +1 -1
  489. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs +1 -1
  490. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.d.ts +1 -1
  491. package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js +3 -3
  492. package/buildLibs/utils/Mobile/ClFloatBubble.d.ts +1 -1
  493. package/buildLibs/utils/Mobile/ClFloatPanel.d.ts +1 -1
  494. package/buildLibs/utils/Mobile/ClGrid.cjs +1 -1
  495. package/buildLibs/utils/Mobile/ClGrid.d.ts +1 -1
  496. package/buildLibs/utils/Mobile/ClGrid.js +1 -1
  497. package/buildLibs/utils/Mobile/ClIndexBar.d.ts +1 -1
  498. package/buildLibs/utils/Mobile/ClInputPin.d.ts +1 -1
  499. package/buildLibs/utils/Mobile/ClNavBar.cjs +1 -1
  500. package/buildLibs/utils/Mobile/ClNavBar.d.ts +1 -1
  501. package/buildLibs/utils/Mobile/ClNavBar.js +1 -1
  502. package/buildLibs/utils/Mobile/ClNoticeBar.cjs +1 -1
  503. package/buildLibs/utils/Mobile/ClNoticeBar.d.ts +1 -1
  504. package/buildLibs/utils/Mobile/ClNoticeBar.js +1 -1
  505. package/buildLibs/utils/Mobile/ClNotifyM.cjs +1 -1
  506. package/buildLibs/utils/Mobile/ClNotifyM.d.ts +1 -1
  507. package/buildLibs/utils/Mobile/ClNotifyM.js +1 -1
  508. package/buildLibs/utils/Mobile/ClNumberKeyboard.cjs +1 -1
  509. package/buildLibs/utils/Mobile/ClNumberKeyboard.d.ts +1 -1
  510. package/buildLibs/utils/Mobile/ClNumberKeyboard.js +2 -2
  511. package/buildLibs/utils/Mobile/ClPicker.cjs +1 -1
  512. package/buildLibs/utils/Mobile/ClPicker.d.ts +1 -1
  513. package/buildLibs/utils/Mobile/ClPicker.js +1 -1
  514. package/buildLibs/utils/Mobile/ClPickerArea.cjs +1 -1
  515. package/buildLibs/utils/Mobile/ClPickerArea.d.ts +1 -1
  516. package/buildLibs/utils/Mobile/ClPickerArea.js +1 -1
  517. package/buildLibs/utils/Mobile/ClPickerCascader.cjs +1 -1
  518. package/buildLibs/utils/Mobile/ClPickerCascader.d.ts +1 -1
  519. package/buildLibs/utils/Mobile/ClPickerCascader.js +2 -2
  520. package/buildLibs/utils/Mobile/ClPickerDate.cjs +1 -1
  521. package/buildLibs/utils/Mobile/ClPickerDate.d.ts +1 -1
  522. package/buildLibs/utils/Mobile/ClPickerDate.js +2 -2
  523. package/buildLibs/utils/Mobile/ClPickerTime.cjs +1 -1
  524. package/buildLibs/utils/Mobile/ClPickerTime.d.ts +1 -1
  525. package/buildLibs/utils/Mobile/ClPickerTime.js +2 -2
  526. package/buildLibs/utils/Mobile/ClPopup.cjs +1 -1
  527. package/buildLibs/utils/Mobile/ClPopup.d.ts +1 -1
  528. package/buildLibs/utils/Mobile/ClPopup.js +1 -1
  529. package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +1 -1
  530. package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +1 -1
  531. package/buildLibs/utils/Mobile/ClPullToRefresh.js +1 -1
  532. package/buildLibs/utils/Mobile/ClRate.cjs +1 -1
  533. package/buildLibs/utils/Mobile/ClRate.d.ts +1 -1
  534. package/buildLibs/utils/Mobile/ClRate.js +2 -2
  535. package/buildLibs/utils/Mobile/ClScrollCard.cjs +1 -1
  536. package/buildLibs/utils/Mobile/ClScrollCard.d.ts +1 -1
  537. package/buildLibs/utils/Mobile/ClScrollCard.js +3 -3
  538. package/buildLibs/utils/Mobile/ClSharePanel.cjs +1 -1
  539. package/buildLibs/utils/Mobile/ClSharePanel.d.ts +1 -1
  540. package/buildLibs/utils/Mobile/ClSharePanel.js +2 -2
  541. package/buildLibs/utils/Mobile/ClSidebar.d.ts +1 -1
  542. package/buildLibs/utils/Mobile/ClSidebarSelect.cjs +1 -1
  543. package/buildLibs/utils/Mobile/ClSidebarSelect.d.ts +1 -1
  544. package/buildLibs/utils/Mobile/ClSidebarSelect.js +1 -1
  545. package/buildLibs/utils/Mobile/ClSignature.cjs +1 -1
  546. package/buildLibs/utils/Mobile/ClSignature.d.ts +1 -1
  547. package/buildLibs/utils/Mobile/ClSignature.js +1 -1
  548. package/buildLibs/utils/Mobile/ClSteps.cjs +1 -1
  549. package/buildLibs/utils/Mobile/ClSteps.d.ts +1 -1
  550. package/buildLibs/utils/Mobile/ClSteps.js +1 -1
  551. package/buildLibs/utils/Mobile/ClSwipe.d.ts +1 -1
  552. package/buildLibs/utils/Mobile/ClTabM.d.ts +1 -1
  553. package/buildLibs/utils/Mobile/ClTabbar.cjs +1 -1
  554. package/buildLibs/utils/Mobile/ClTabbar.d.ts +1 -1
  555. package/buildLibs/utils/Mobile/ClTabbar.js +2 -2
  556. package/buildLibs/utils/Mobile/ClTextHighlight.d.ts +1 -1
  557. package/buildLibs/utils/Mobile/ClToast.cjs +1 -1
  558. package/buildLibs/utils/Mobile/ClToast.d.ts +1 -1
  559. package/buildLibs/utils/Mobile/ClToast.js +1 -1
  560. package/buildLibs/utils/Mobile/ClWatermark.d.ts +1 -1
  561. package/buildLibs/utils/Mobile/__provide__/NotifyM.cjs +1 -1
  562. package/buildLibs/utils/Mobile/__provide__/NotifyM.d.ts +1 -1
  563. package/buildLibs/utils/Mobile/__provide__/NotifyM.js +11 -11
  564. package/buildLibs/utils/Mobile/__provide__/Toast.cjs +1 -1
  565. package/buildLibs/utils/Mobile/__provide__/Toast.d.ts +1 -1
  566. package/buildLibs/utils/Mobile/__provide__/Toast.js +17 -17
  567. package/buildLibs/utils/Shared/{Base.vue_vue_type_script_setup_true_lang-5_vbZ_4R.js → Base.vue_vue_type_script_setup_true_lang-Dl0UiFuI.js} +1 -1
  568. package/buildLibs/utils/Shared/{Base.vue_vue_type_script_setup_true_lang-BReU8HHD.js → Base.vue_vue_type_script_setup_true_lang-Dn7s_GGz.js} +1 -1
  569. package/buildLibs/utils/Shared/{BaseTransition.vue_vue_type_script_setup_true_lang-CmETUA__.js → BaseTransition.vue_vue_type_script_setup_true_lang-DA34fqR6.js} +1 -1
  570. package/buildLibs/utils/Shared/{BaseTransition.vue_vue_type_script_setup_true_lang-D4VcdHQo.js → BaseTransition.vue_vue_type_script_setup_true_lang-I6J8vBkR.js} +1 -1
  571. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BJuly3Dc.js → Index.vue_vue_type_script_setup_true_lang-2ZL3h4ke.js} +1 -1
  572. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-yQG3rOxU.js → Index.vue_vue_type_script_setup_true_lang-B2xxe-gj.js} +1 -1
  573. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BTikeo7T.js → Index.vue_vue_type_script_setup_true_lang-B4wLYUS7.js} +5 -5
  574. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B-LBJS_U.js → Index.vue_vue_type_script_setup_true_lang-B6aiJ0T_.js} +1 -1
  575. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-d8FRnWoo.js → Index.vue_vue_type_script_setup_true_lang-B6mrwacu.js} +1 -1
  576. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BC8lIalF.js +1 -0
  577. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BKNG_Cdl.js +1 -0
  578. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CPwtuGiA.js → Index.vue_vue_type_script_setup_true_lang-BKrRiRoF.js} +1 -1
  579. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D53FO2PF.js → Index.vue_vue_type_script_setup_true_lang-BPu2Wq9y.js} +2 -2
  580. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BQwt39eR.js +120 -0
  581. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BXQl9ZJr.js → Index.vue_vue_type_script_setup_true_lang-BXWa903T.js} +1 -1
  582. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DsTDQ4p-.js → Index.vue_vue_type_script_setup_true_lang-BZ0pwI22.js} +1 -1
  583. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-WePMnXeI.js → Index.vue_vue_type_script_setup_true_lang-Bbk1BxEq.js} +1 -1
  584. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BahSP_of.js → Index.vue_vue_type_script_setup_true_lang-BeY40OpW.js} +2 -2
  585. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BRyvdWb7.js → Index.vue_vue_type_script_setup_true_lang-Bfji2Whf.js} +1 -1
  586. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BppPP2_o.js → Index.vue_vue_type_script_setup_true_lang-Bj0lKDBR.js} +1 -1
  587. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-SE1_-Y3D.js → Index.vue_vue_type_script_setup_true_lang-BnFtwIqC.js} +1 -1
  588. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLr46kTp.js → Index.vue_vue_type_script_setup_true_lang-Br1jq8i6.js} +6 -6
  589. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DiFMOo2n.js → Index.vue_vue_type_script_setup_true_lang-BtlpTQO-.js} +8 -8
  590. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DBEuF9lY.js → Index.vue_vue_type_script_setup_true_lang-BuEtcpnj.js} +1 -1
  591. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Butq4gj-.js +1 -0
  592. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DlaLkFjd.js → Index.vue_vue_type_script_setup_true_lang-ByrpuVbR.js} +1 -1
  593. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BO2XU-fq.js → Index.vue_vue_type_script_setup_true_lang-Bz0g83T6.js} +2 -2
  594. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BzhSu_r3.js +1 -0
  595. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DTnllTwD.js → Index.vue_vue_type_script_setup_true_lang-BzuiaXQe.js} +2 -2
  596. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B-K0phQ2.js → Index.vue_vue_type_script_setup_true_lang-C52WPuaY.js} +1 -1
  597. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CIky1_fS.js → Index.vue_vue_type_script_setup_true_lang-C7M_3HR0.js} +1 -1
  598. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BFq7G64T.js → Index.vue_vue_type_script_setup_true_lang-CCor2Ugz.js} +3 -3
  599. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B2cccX6M.js → Index.vue_vue_type_script_setup_true_lang-CFen6ULY.js} +1 -1
  600. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNLr4FbS.js +1 -0
  601. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNoHvb2F.js +1 -0
  602. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-08Gdtb7o.js → Index.vue_vue_type_script_setup_true_lang-CUq-x89X.js} +2 -2
  603. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-COprcd8r.js → Index.vue_vue_type_script_setup_true_lang-Ch6eF_cp.js} +2 -2
  604. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-PraAnYLk.js → Index.vue_vue_type_script_setup_true_lang-ChmL4TJs.js} +1 -1
  605. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D15_sdie.js → Index.vue_vue_type_script_setup_true_lang-Cl7fkQ6_.js} +1 -1
  606. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLoX4k7J.js → Index.vue_vue_type_script_setup_true_lang-CumsUcci.js} +1 -1
  607. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CSt6K9AQ.js → Index.vue_vue_type_script_setup_true_lang-D4PQKd5b.js} +1 -1
  608. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bn3f-2m-.js → Index.vue_vue_type_script_setup_true_lang-D6yVZJvt.js} +1 -1
  609. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DjwVdgdl.js → Index.vue_vue_type_script_setup_true_lang-D7M1S5lI.js} +279 -278
  610. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-0xVPFBUW.js → Index.vue_vue_type_script_setup_true_lang-DFppMubk.js} +7 -6
  611. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cm8_ZNJ7.js → Index.vue_vue_type_script_setup_true_lang-DJYEGSnc.js} +1 -1
  612. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-b4R4PHf0.js → Index.vue_vue_type_script_setup_true_lang-DK0hs8bb.js} +1 -1
  613. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DNjo2kbg.js +74 -0
  614. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CQVg87mD.js → Index.vue_vue_type_script_setup_true_lang-DQBa9Pny.js} +1 -1
  615. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bd56L0m6.js → Index.vue_vue_type_script_setup_true_lang-DQmXTEq-.js} +3 -3
  616. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BhGGH7ms.js → Index.vue_vue_type_script_setup_true_lang-DX9SitGp.js} +11 -11
  617. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DAuZLHen.js → Index.vue_vue_type_script_setup_true_lang-D_GsoOLm.js} +1 -1
  618. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-M72THnHz.js → Index.vue_vue_type_script_setup_true_lang-DfHi5Zuv.js} +1 -1
  619. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B5MSug5Q.js → Index.vue_vue_type_script_setup_true_lang-DfvtkXRU.js} +4 -4
  620. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CgNMWZqs.js → Index.vue_vue_type_script_setup_true_lang-DjeTtNM6.js} +34 -34
  621. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B2kyuq50.js → Index.vue_vue_type_script_setup_true_lang-DmeDtJvz.js} +1 -1
  622. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dnw-Opme.js → Index.vue_vue_type_script_setup_true_lang-Dn63CT7W.js} +1 -1
  623. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-bKzsLLvg.js → Index.vue_vue_type_script_setup_true_lang-DuZNkaR0.js} +1 -1
  624. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-EG5hgxoY.js +1 -0
  625. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B9xISM7N.js → Index.vue_vue_type_script_setup_true_lang-RBYo7N7Z.js} +1 -1
  626. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CtBOIjdU.js → Index.vue_vue_type_script_setup_true_lang-_F9J4-Q1.js} +4 -4
  627. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DZSulESm.js → Index.vue_vue_type_script_setup_true_lang-_jJNPocq.js} +1 -1
  628. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B0NaQAuE.js → Index.vue_vue_type_script_setup_true_lang-bYE_Eer4.js} +3 -3
  629. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cx56SGXr.js → Index.vue_vue_type_script_setup_true_lang-bybpF3my.js} +1 -1
  630. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BRJ2Ll2r.js → Index.vue_vue_type_script_setup_true_lang-c085vJ-u.js} +1 -1
  631. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-qOys54ns.js → Index.vue_vue_type_script_setup_true_lang-ef-Lbwxl.js} +1 -1
  632. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CnLyIXBs.js → Index.vue_vue_type_script_setup_true_lang-f6va8eHF.js} +1 -1
  633. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dq-sCBRz.js → Index.vue_vue_type_script_setup_true_lang-fgqA2nof.js} +1 -1
  634. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-8-8svPDH.js → Index.vue_vue_type_script_setup_true_lang-gR6txSCA.js} +1 -1
  635. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-jyymIwdR.js +1 -0
  636. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-K7pBVuwe.js → Index.vue_vue_type_script_setup_true_lang-tmqr2c2p.js} +1 -1
  637. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BxWYROZH.js → Index.vue_vue_type_script_setup_true_lang-wPTIA5Lr.js} +1 -1
  638. package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BAUA1fQJ.js → Index.vue_vue_type_script_setup_true_lang-xW9nixd_.js} +1 -1
  639. package/buildLibs/utils/Shared/Index10.css +1 -1
  640. package/buildLibs/utils/Shared/Index11.css +1 -1
  641. package/buildLibs/utils/Shared/Index12.css +1 -1
  642. package/buildLibs/utils/Shared/Index13.css +1 -1
  643. package/buildLibs/utils/Shared/Index14.css +1 -1
  644. package/buildLibs/utils/Shared/Index15.css +1 -1
  645. package/buildLibs/utils/Shared/Index16.css +1 -1
  646. package/buildLibs/utils/Shared/Index17.css +1 -1
  647. package/buildLibs/utils/Shared/Index18.css +1 -1
  648. package/buildLibs/utils/Shared/Index19.css +1 -1
  649. package/buildLibs/utils/Shared/Index20.css +1 -1
  650. package/buildLibs/utils/Shared/Index21.css +1 -1
  651. package/buildLibs/utils/Shared/Index22.css +1 -1
  652. package/buildLibs/utils/Shared/Index23.css +1 -1
  653. package/buildLibs/utils/Shared/Index24.css +1 -1
  654. package/buildLibs/utils/Shared/Index25.css +1 -1
  655. package/buildLibs/utils/Shared/Index26.css +1 -1
  656. package/buildLibs/utils/Shared/Index27.css +1 -1
  657. package/buildLibs/utils/Shared/Index28.css +1 -1
  658. package/buildLibs/utils/Shared/Index29.css +1 -1
  659. package/buildLibs/utils/Shared/Index30.css +1 -1
  660. package/buildLibs/utils/Shared/Index31.css +1 -1
  661. package/buildLibs/utils/Shared/Index32.css +1 -1
  662. package/buildLibs/utils/Shared/Index33.css +1 -1
  663. package/buildLibs/utils/Shared/Index34.css +1 -1
  664. package/buildLibs/utils/Shared/Index35.css +1 -1
  665. package/buildLibs/utils/Shared/Index36.css +1 -1
  666. package/buildLibs/utils/Shared/Index37.css +1 -1
  667. package/buildLibs/utils/Shared/Index38.css +1 -1
  668. package/buildLibs/utils/Shared/Index39.css +1 -0
  669. package/buildLibs/utils/Shared/Index4.css +1 -1
  670. package/buildLibs/utils/Shared/Index40.css +1 -0
  671. package/buildLibs/utils/Shared/Index41.css +1 -0
  672. package/buildLibs/utils/Shared/Index5.css +1 -1
  673. package/buildLibs/utils/Shared/Index6.css +1 -1
  674. package/buildLibs/utils/Shared/Index7.css +1 -1
  675. package/buildLibs/utils/Shared/Index8.css +1 -1
  676. package/buildLibs/utils/Shared/Index9.css +1 -1
  677. package/buildLibs/utils/Shared/{Ing.vue_vue_type_script_setup_true_lang-DPFunPx2.js → Ing.vue_vue_type_script_setup_true_lang-CGFlREiD.js} +1 -1
  678. package/buildLibs/utils/Shared/{Ing.vue_vue_type_script_setup_true_lang-Zb0-4POE.js → Ing.vue_vue_type_script_setup_true_lang-CXLxBRdP.js} +1 -1
  679. package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-BLgui2Zv.js → List.vue_vue_type_script_setup_true_lang-0EtOdp73.js} +3 -3
  680. package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-DJAqJJnH.js → List.vue_vue_type_script_setup_true_lang-G2klceWn.js} +1 -1
  681. package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-BRIVGray.js → One.vue_vue_type_script_setup_true_lang-CLUQLstT.js} +2 -2
  682. package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-Du9X7x9H.js → One.vue_vue_type_script_setup_true_lang-CREhY2it.js} +2 -2
  683. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-D89MNwcx.js +1 -0
  684. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-_Oip87Q5.js +1 -0
  685. package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js → Popup.vue_vue_type_script_setup_true_lang-B1FPgy2w.js} +1 -1
  686. package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-hfNlyh_i.js → Popup.vue_vue_type_script_setup_true_lang-lq2pb7vN.js} +2 -2
  687. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-BwcOP-Dw.js +321 -0
  688. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-iQhIBpru.js +1 -0
  689. package/buildLibs/utils/Shared/core-C6MTnOZl.js +17 -0
  690. package/buildLibs/utils/Shared/core-DkTnn6Hr.js +1 -0
  691. package/buildLibs/utils/Shared/globalConfig-BjG8BDet.js +1 -0
  692. package/buildLibs/utils/Shared/globalConfig-C5mivGXK.js +20 -0
  693. package/buildLibs/utils/Shared/index-BHXq3tfy.js +1 -0
  694. package/buildLibs/utils/Shared/{language-pMmux6Js.js → index-BIzRLXG5.js} +44 -151
  695. package/buildLibs/utils/Shared/index-C2go56jd.js +1 -0
  696. package/buildLibs/utils/Shared/index-CH1kcNPT.js +23 -0
  697. package/buildLibs/utils/Shared/index-CZoT585K.js +1 -0
  698. package/buildLibs/utils/Shared/index-CmFWmRVX.js +1 -0
  699. package/buildLibs/utils/Shared/index-CmQXtjeZ.js +370 -0
  700. package/buildLibs/utils/Shared/index-CtGhbcyx.js +1 -0
  701. package/buildLibs/utils/Shared/index-DDMSc-Kb.js +59 -0
  702. package/buildLibs/utils/Shared/index-DOlH83KS.js +19 -0
  703. package/buildLibs/utils/Shared/index-Dc_m9J6h.js +1 -0
  704. package/buildLibs/utils/Shared/index-DoxFaAkn.js +420 -0
  705. package/buildLibs/utils/Shared/language-BaLIp7bA.js +111 -0
  706. package/buildLibs/utils/Shared/language-CBZjQ9dC.js +1 -0
  707. package/buildLibs/utils/Shared/{use-CRdlCpEV.js → lazy-BnJvXuIy.js} +34 -47
  708. package/buildLibs/utils/Shared/lazy-CkM9Gsf2.js +1 -0
  709. package/buildLibs/utils/Shared/{log-BbLqiWNM.js → log-CSNil8va.js} +1 -1
  710. package/buildLibs/utils/Shared/{log-C2ZbqiAV.js → log-gqSePaMZ.js} +1 -1
  711. package/buildLibs/utils/Shared/use-BDiunhgx.js +1 -0
  712. package/buildLibs/utils/Shared/use-DJuwo6MI.js +17 -0
  713. package/buildLibs/utils/Web/ClAnchorNav.cjs +1 -1
  714. package/buildLibs/utils/Web/ClAnchorNav.d.ts +1 -1
  715. package/buildLibs/utils/Web/ClAnchorNav.js +2 -2
  716. package/buildLibs/utils/Web/ClCalendar.cjs +1 -1
  717. package/buildLibs/utils/Web/ClCalendar.d.ts +1 -1
  718. package/buildLibs/utils/Web/ClCalendar.js +4 -4
  719. package/buildLibs/utils/Web/ClCodeLegend.cjs +1 -1
  720. package/buildLibs/utils/Web/ClCodeLegend.d.ts +1 -1
  721. package/buildLibs/utils/Web/ClCodeLegend.js +2 -2
  722. package/buildLibs/utils/Web/ClColorPicker.cjs +1 -1
  723. package/buildLibs/utils/Web/ClColorPicker.d.ts +1 -1
  724. package/buildLibs/utils/Web/ClColorPicker.js +5 -5
  725. package/buildLibs/utils/Web/ClCropper.cjs +1 -1
  726. package/buildLibs/utils/Web/ClCropper.d.ts +1 -1
  727. package/buildLibs/utils/Web/ClCropper.js +1 -1
  728. package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
  729. package/buildLibs/utils/Web/ClCropperPreview.d.ts +1 -1
  730. package/buildLibs/utils/Web/ClCropperPreview.js +5 -5
  731. package/buildLibs/utils/Web/ClDateTime.cjs +1 -1
  732. package/buildLibs/utils/Web/ClDateTime.d.ts +1 -1
  733. package/buildLibs/utils/Web/ClDateTime.js +1 -1
  734. package/buildLibs/utils/Web/ClDropdownMenu.cjs +1 -1
  735. package/buildLibs/utils/Web/ClDropdownMenu.d.ts +1 -1
  736. package/buildLibs/utils/Web/ClDropdownMenu.js +2 -2
  737. package/buildLibs/utils/Web/ClDropdownMenuItem.cjs +1 -1
  738. package/buildLibs/utils/Web/ClDropdownMenuItem.d.ts +1 -1
  739. package/buildLibs/utils/Web/ClDropdownMenuItem.js +1 -1
  740. package/buildLibs/utils/Web/ClDropdownPopup.cjs +1 -1
  741. package/buildLibs/utils/Web/ClDropdownPopup.d.ts +1 -1
  742. package/buildLibs/utils/Web/ClDropdownPopup.js +2 -2
  743. package/buildLibs/utils/Web/ClEcharts.cjs +1 -1
  744. package/buildLibs/utils/Web/ClEcharts.d.ts +1 -1
  745. package/buildLibs/utils/Web/ClEcharts.js +1 -1
  746. package/buildLibs/utils/Web/ClEchartsLineAxisTag.cjs +1 -1
  747. package/buildLibs/utils/Web/ClEchartsLineAxisTag.d.ts +1 -1
  748. package/buildLibs/utils/Web/ClEchartsLineAxisTag.js +2 -2
  749. package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
  750. package/buildLibs/utils/Web/ClFileUpload.d.ts +1 -1
  751. package/buildLibs/utils/Web/ClFileUpload.js +1 -1
  752. package/buildLibs/utils/Web/ClFramePhone.d.ts +1 -1
  753. package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
  754. package/buildLibs/utils/Web/ClInputTag.d.ts +1 -1
  755. package/buildLibs/utils/Web/ClInputTag.js +1 -1
  756. package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
  757. package/buildLibs/utils/Web/ClPaginate.d.ts +1 -1
  758. package/buildLibs/utils/Web/ClPaginate.js +1 -1
  759. package/buildLibs/utils/Web/ClPortlet.d.ts +1 -1
  760. package/buildLibs/utils/Web/ClPreviewExample.cjs +1 -1
  761. package/buildLibs/utils/Web/ClPreviewExample.d.ts +1 -1
  762. package/buildLibs/utils/Web/ClPreviewExample.js +1 -1
  763. package/buildLibs/utils/Web/ClScrollXFence.cjs +1 -1
  764. package/buildLibs/utils/Web/ClScrollXFence.d.ts +1 -1
  765. package/buildLibs/utils/Web/ClScrollXFence.js +1 -1
  766. package/buildLibs/utils/Web/ClSelect.cjs +1 -1
  767. package/buildLibs/utils/Web/ClSelect.d.ts +1 -1
  768. package/buildLibs/utils/Web/ClSelect.js +1 -1
  769. package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
  770. package/buildLibs/utils/Web/ClSelectCascade.d.ts +1 -1
  771. package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
  772. package/buildLibs/utils/Web/ClSelectMove.cjs +1 -1
  773. package/buildLibs/utils/Web/ClSelectMove.d.ts +1 -1
  774. package/buildLibs/utils/Web/ClSelectMove.js +7 -7
  775. package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
  776. package/buildLibs/utils/Web/ClSelectTag.d.ts +1 -1
  777. package/buildLibs/utils/Web/ClSelectTag.js +1 -1
  778. package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
  779. package/buildLibs/utils/Web/ClSelectTree.d.ts +1 -1
  780. package/buildLibs/utils/Web/ClSelectTree.js +4 -4
  781. package/buildLibs/utils/Web/ClSideMenu.cjs +1 -1
  782. package/buildLibs/utils/Web/ClSideMenu.d.ts +1 -1
  783. package/buildLibs/utils/Web/ClSideMenu.js +2 -2
  784. package/buildLibs/utils/Web/ClTable.cjs +1 -1
  785. package/buildLibs/utils/Web/ClTable.d.ts +1 -1
  786. package/buildLibs/utils/Web/ClTable.js +10 -10
  787. package/buildLibs/utils/Web/ClTableEdit.d.ts +1 -1
  788. package/buildLibs/utils/Web/ClTableSimple.d.ts +1 -1
  789. package/buildLibs/utils/Web/ClTabs.cjs +1 -1
  790. package/buildLibs/utils/Web/ClTabs.d.ts +1 -1
  791. package/buildLibs/utils/Web/ClTabs.js +3 -3
  792. package/buildLibs/utils/Web/ClTree.cjs +1 -1
  793. package/buildLibs/utils/Web/ClTree.d.ts +1 -1
  794. package/buildLibs/utils/Web/ClTree.js +1 -1
  795. package/buildLibs/utils/Web/ClWeekHour.cjs +1 -1
  796. package/buildLibs/utils/Web/ClWeekHour.d.ts +1 -1
  797. package/buildLibs/utils/Web/ClWeekHour.js +3 -3
  798. package/buildLibs/utils/Web/ClXEditable.cjs +1 -1
  799. package/buildLibs/utils/Web/ClXEditable.d.ts +1 -1
  800. package/buildLibs/utils/Web/ClXEditable.js +19 -19
  801. package/buildLibs/utils/Web/__directive__/CodeHighlight.cjs +1 -1
  802. package/buildLibs/utils/Web/__directive__/CodeHighlight.js +3 -16
  803. package/buildLibs/utils/Web/__directive__/Tooltip.cjs +1 -1
  804. package/buildLibs/utils/Web/__directive__/Tooltip.js +6 -410
  805. package/buildLibs/utils/Web/__directive__/Waves.cjs +1 -1
  806. package/buildLibs/utils/Web/__directive__/Waves.js +4 -51
  807. package/buildLibs/utils/Web/__provide__/Alert.cjs +1 -1
  808. package/buildLibs/utils/Web/__provide__/Alert.d.ts +1 -1
  809. package/buildLibs/utils/Web/__provide__/Alert.js +39 -39
  810. package/buildLibs/utils/Web/__provide__/Notify.cjs +1 -1
  811. package/buildLibs/utils/Web/__provide__/Notify.d.ts +1 -1
  812. package/buildLibs/utils/Web/__provide__/Notify.js +8 -8
  813. package/buildLibs/utils/Web/__provide__/Preview.cjs +1 -1
  814. package/buildLibs/utils/Web/__provide__/Preview.d.ts +1 -1
  815. package/buildLibs/utils/Web/__provide__/Preview.js +8 -365
  816. package/buildLibs/utils/core/all.cjs +1 -0
  817. package/buildLibs/utils/core/all.js +7 -0
  818. package/buildLibs/utils/core/mobile.cjs +1 -0
  819. package/buildLibs/utils/core/mobile.js +14 -0
  820. package/buildLibs/utils/core/web.cjs +1 -0
  821. package/buildLibs/utils/core/web.js +26 -0
  822. package/buildLibs/web/{BallColor4-Bk0PbmjR.js → BallColor4-CGz84e-8.js} +1 -1
  823. package/buildLibs/{mobile/BallColor4-C7lQaABY.cjs → web/BallColor4-DsHSwHqh.cjs} +1 -1
  824. package/buildLibs/{mobile/ToastRing-ZSOlED5s.js → web/ToastRing-D7GSFx_o.js} +1 -1
  825. package/buildLibs/{all/ToastRing-DqiGLTLN.cjs → web/ToastRing-DyynyXeD.cjs} +1 -1
  826. package/buildLibs/web/{Video-7bB5a3gv.cjs → Video-DbKxr-i7.cjs} +1 -1
  827. package/buildLibs/web/{Video-D36W46Pk.js → Video-b6MvLQBG.js} +1 -1
  828. package/buildLibs/web/{index-jOBQ0InH.cjs → index-By7v49Ku.cjs} +4 -4
  829. package/buildLibs/web/{index-ai_LrIsJ.js → index-CJJp0mfH.js} +120 -112
  830. package/buildLibs/web/index.cjs +1 -1
  831. package/buildLibs/web/index.js +1 -1
  832. package/docs/tools/CommonBrowserProgress.md +39 -0
  833. package/docs/tools/CommonGlobalConfig.md +46 -0
  834. package/docs/tools/clLog.md +39 -0
  835. package/docs/tools/globalTypes.md +43 -0
  836. package/package.json +42 -1
  837. package/buildLibs/common/Common/Element/Event/drag.d.ts +0 -30
  838. package/buildLibs/common/Common/Element/Event/index.d.ts +0 -9
  839. package/buildLibs/common/Common/Element/Event/resize.d.ts +0 -20
  840. package/buildLibs/common/Common/Element/index.d.ts +0 -111
  841. package/buildLibs/common/Common/Tools/animateEasing.d.ts +0 -27
  842. package/buildLibs/common/Common/Tools/cookie.d.ts +0 -8
  843. package/buildLibs/common/Common/Tools/delayFun.d.ts +0 -9
  844. package/buildLibs/common/Common/Tools/device.d.ts +0 -33
  845. package/buildLibs/common/Common/Tools/index.d.ts +0 -18
  846. package/buildLibs/common/Common/Tools/localStorage.d.ts +0 -9
  847. package/buildLibs/common/Common/Tools/number.d.ts +0 -9
  848. package/buildLibs/common/Common/axios.d.ts +0 -28
  849. package/buildLibs/common/Common/base.d.ts +0 -233
  850. package/buildLibs/common/Common/browserProgress.d.ts +0 -26
  851. package/buildLibs/common/Common/day.d.ts +0 -30
  852. package/buildLibs/common/Common/echart.d.ts +0 -91
  853. package/buildLibs/common/Common/globalConfig.d.ts +0 -28
  854. package/buildLibs/common/Common/globalTypes.d.ts +0 -88
  855. package/buildLibs/common/Common/i18n/a11y.d.ts +0 -62
  856. package/buildLibs/common/Common/i18n/en.d.ts +0 -112
  857. package/buildLibs/common/Common/i18n/index.d.ts +0 -25
  858. package/buildLibs/common/Common/i18n/zh_CN.d.ts +0 -112
  859. package/buildLibs/common/Common/index.d.ts +0 -13
  860. package/buildLibs/common/Common/log.d.ts +0 -7
  861. package/buildLibs/common/Common/promise.d.ts +0 -14
  862. package/buildLibs/common/Common/tooltip.d.ts +0 -40
  863. package/buildLibs/common/browserProgress.css +0 -1
  864. package/buildLibs/modules/shared/Validate.vue_vue_type_script_setup_true_lang-FZ6qiA6w.js +0 -411
  865. package/buildLibs/utils/Element/ClLoadScreen.css +0 -1
  866. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CDslbo4h.js +0 -1
  867. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CFNQBTiQ.js +0 -1
  868. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D4BokTL9.js +0 -1
  869. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D8TDafMl.js +0 -1
  870. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DYj0GzN0.js +0 -1
  871. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtTJLC6m.js +0 -1
  872. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Gp7OJJx5.js +0 -1
  873. package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-oFF20mhc.js +0 -152
  874. package/buildLibs/utils/Shared/Index2.css +0 -1
  875. package/buildLibs/utils/Shared/Index3.css +0 -1
  876. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BC8yzPg5.js +0 -1
  877. package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BKTdt1M7.js +0 -1
  878. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DidPD12P.js +0 -411
  879. package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DyOZ5QGN.js +0 -1
  880. package/buildLibs/utils/Shared/globalConfig-D1-9RCQO.js +0 -5
  881. package/buildLibs/utils/Shared/globalConfig-vNEDVL2C.js +0 -1
  882. package/buildLibs/utils/Shared/language-Q4AGYtUe.js +0 -1
  883. package/buildLibs/utils/Shared/use-BBpYjALT.js +0 -1
  884. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DlFdXr6k.js → Index.vue_vue_type_script_setup_true_lang-BGGMHKo2.js} +0 -0
  885. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-0GHFohjQ.js → Index.vue_vue_type_script_setup_true_lang-BHonqwfb.js} +0 -0
  886. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js → Index.vue_vue_type_script_setup_true_lang-BmRO42R2.js} +0 -0
  887. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BbxnIsLt.js → Index.vue_vue_type_script_setup_true_lang-BwZ2C-6b.js} +0 -0
  888. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dyo4Sh1B.js → Index.vue_vue_type_script_setup_true_lang-D5_ktvRf.js} +0 -0
  889. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js → Index.vue_vue_type_script_setup_true_lang-DU1H_1lY.js} +0 -0
  890. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C242QFDV.js → Index.vue_vue_type_script_setup_true_lang-Db7kCHWV.js} +0 -0
  891. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D3h6Q_pB.js → Index.vue_vue_type_script_setup_true_lang-DfJX3uyy.js} +0 -0
  892. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cb49VSDS.js → Index.vue_vue_type_script_setup_true_lang-DyBY0DG5.js} +0 -0
  893. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CyYCIkzr.js → Index.vue_vue_type_script_setup_true_lang-KKIG3pkE.js} +0 -0
  894. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DQBXyVuV.js → Index.vue_vue_type_script_setup_true_lang-cceO6cqW.js} +0 -0
  895. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C1Z3g7mN.js → Index.vue_vue_type_script_setup_true_lang-hGx0sqwu.js} +0 -0
  896. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CAEbDVL3.js → Index.vue_vue_type_script_setup_true_lang-p_9-WY4K.js} +0 -0
  897. /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BsE_zUs_.js → Index.vue_vue_type_script_setup_true_lang-vm_cblnn.js} +0 -0
  898. /package/buildLibs/utils/Shared/{Waves.css → index2.css} +0 -0
  899. /package/buildLibs/utils/Shared/{Tooltip.css → index3.css} +0 -0
  900. /package/buildLibs/utils/Shared/{Preview.css → index42.css} +0 -0
  901. /package/buildLibs/utils/Shared/{index39.css → index43.css} +0 -0
@@ -1,2409 +1 @@
1
- import { defineComponent as Ie, computed as C, resolveDirective as Wt, unref as G, openBlock as r, createElementBlock as u, normalizeStyle as q, normalizeClass as P, createElementVNode as O, renderSlot as H, withDirectives as ut, createBlock as ce, Fragment as p, useTemplateRef as ae, watch as we, renderList as U, withCtx as K, toDisplayString as Le, createTextVNode as dt, ref as be, createVNode as se, useSlots as li, reactive as ve, onMounted as ai, nextTick as Z, onActivated as si, onDeactivated as ni, onBeforeUnmount as oi, createSlots as Ce, vShow as ri, toRaw as kt } from "vue";
2
- import { c as st } from "./shared/log-BbLqiWNM.js";
3
- import { C as i } from "./shared/base-fr2I80sU.js";
4
- import { C as Q } from "./shared/index-B477PjJ3.js";
5
- import { R as Et } from "./shared/resize-CyrJxi6F.js";
6
- import { _ as Nt } from "./shared/One.vue_vue_type_script_setup_true_lang-rkbdx8Aq.js";
7
- import { _ as Rt } from "./shared/Index.vue_vue_type_script_setup_true_lang-DapaVMSO.js";
8
- import { t as $t } from "./shared/index-C91QEnIE.js";
9
- import { _ as di } from "./shared/One.vue_vue_type_script_setup_true_lang-BkfhsInn.js";
10
- import { _ as Tt } from "./shared/Index.vue_vue_type_script_setup_true_lang-C5i17oB9.js";
11
- import { a as ci } from "./shared/language-pMmux6Js.js";
12
- import { _ as ui } from "./shared/Ing.vue_vue_type_script_setup_true_lang-Bnc9BIaT.js";
13
- import { _ as fi } from "./shared/Index.vue_vue_type_script_setup_true_lang-B9M3m9HE.js";
14
- import { _ as Lt } from "./shared/Index.vue_vue_type_script_setup_true_lang-C1bquiI9.js";
15
- /* empty css */
16
- const Pt = (t) => {
17
- if (i.isNonEmptyString(t)) {
18
- if (t.indexOf("clIcon-") === 0) {
19
- const g = t.substring(7);
20
- return i.isNonEmptyString(g) && /^[a-zA-Z0-9-]+$/.test(g) ? { name: g, className: "" } : { name: "question-circle", className: "" };
21
- }
22
- return /^clicon/i.test(t) ? { name: "question-circle", className: "" } : /^[a-zA-Z0-9-]+$/.test(t) ? { name: t, className: "" } : { name: "", className: t };
23
- }
24
- return { name: "question-circle", className: "" };
25
- }, hi = ["aria-sort"], yi = /* @__PURE__ */ Ie({
26
- name: "ClTableTh",
27
- directives: { cltooltip: $t },
28
- __name: "Th",
29
- props: {
30
- isOrder: {
31
- type: Boolean,
32
- default: !1
33
- // desc: 是否启用排序
34
- },
35
- disabled: {
36
- type: Boolean,
37
- default: !1
38
- // desc: 是否禁用
39
- },
40
- orderSort: {
41
- type: Array,
42
- default: () => []
43
- // desc: 排序配置([列索引, 排序方式])
44
- },
45
- isUseScrollX: {
46
- type: Boolean,
47
- default: !1
48
- // desc: 是否启用横向滚动
49
- },
50
- thIndex: {
51
- type: Number,
52
- default: 0
53
- // desc: 表头单元格索引
54
- },
55
- thInfo: {
56
- type: Object,
57
- default: () => ({})
58
- // desc: 表头配置信息
59
- },
60
- fixedLeftIndex: {
61
- type: Number,
62
- default: -1
63
- // desc: 左固定列索引
64
- },
65
- fixedRightIndex: {
66
- type: Number,
67
- default: -1
68
- // desc: 右固定列索引
69
- },
70
- isInlineWidth: {
71
- type: Boolean,
72
- default: !1
73
- // desc: 是否启用内联列宽兜底(false 时纯类控制,外部 CSS 可覆盖预览)
74
- },
75
- widthClassPrefix: {
76
- type: String,
77
- default: "width-"
78
- // desc: 列宽类前缀
79
- },
80
- widthMinClassPrefix: {
81
- type: String,
82
- default: "width-min-"
83
- // desc: 最小宽列类前缀
84
- }
85
- },
86
- emits: {
87
- onClickOrderBy: (t, g, S) => !0
88
- // desc: 点击排序事件
89
- },
90
- setup(t, { emit: g }) {
91
- const S = t, l = g, B = C(() => Pt(S.thInfo?.tipIcon)), E = C(
92
- () => i.isObject(S.thInfo) && !i.isEmpty(S.thInfo) ? S.thInfo : {}
93
- ), J = C(() => !S.isOrder || i.isEmpty(E.value) ? !1 : i.isEmpty(E.value.sort) ? !0 : E.value.sort === !0), T = C(() => J.value && !S.disabled), w = C(() => {
94
- const m = S.thInfo?.tipMsg;
95
- if (!i.isNonEmptyString(m))
96
- return;
97
- const b = i.removeHTMLTags(m);
98
- return i.isNonEmptyString(b) ? b : void 0;
99
- }), n = C(() => {
100
- if (!J.value)
101
- return "";
102
- const m = i.isEmpty(S.orderSort) ? [] : S.orderSort;
103
- return m.length > 0 && m[0] === S.thIndex ? m.length === 2 ? m[1] === "asc" || m[1] === "desc" ? m[1] : "none" : m.length === 1 ? "desc" : "none" : "none";
104
- }), W = C(() => {
105
- if (n.value === "asc")
106
- return "ascending";
107
- if (n.value === "desc")
108
- return "descending";
109
- if (n.value === "none")
110
- return "none";
111
- }), _ = C(() => {
112
- const m = {}, b = E.value;
113
- if (!i.isEmpty(b.width) && te(b.width) && (m[`${S.widthClassPrefix}${b.width}`] = !0), !i.isEmpty(b.widthMin) && te(b.widthMin) && S.isUseScrollX && (m[`${S.widthMinClassPrefix}${b.widthMin}`] = !0), (S.fixedLeftIndex > -1 || S.fixedRightIndex > -1) && (m["th-hidden"] = S.fixedLeftIndex > -1 && S.thIndex > S.fixedLeftIndex || S.fixedRightIndex > -1 && S.thIndex < S.fixedRightIndex), J.value) {
114
- m["th-sort"] = !0, m["sort-none"] = !0, m["th-sort-near"] = b.sortNear === !0;
115
- const oe = n.value;
116
- (oe === "asc" || oe === "desc") && (m[`sort-${oe}`] = !0, m["sort-none"] = !1);
117
- }
118
- i.isNonEmptyString(b.tipMsg) && (m["th-tip"] = !0, m["th-tip-sideAlign"] = b.tipSideAlign === !0), S.disabled && (m["th-disabled"] = !0), i.isNonEmptyString(b.textAlign) && i.isExistValue(["left", "center", "right"], b.textAlign) && (m[`text-${b.textAlign}`] = !0);
119
- let D = m;
120
- return D = i.getJsonMerge(D, Q.getClassNameJson(b.className)), D = i.getJsonMerge(D, Q.getClassNameJson(b.classTh)), D;
121
- }), ue = C(() => {
122
- const m = {};
123
- if (!S.isInlineWidth)
124
- return m;
125
- const b = E.value;
126
- return !i.isEmpty(b.width) && te(b.width) && (m.width = i.isFinite(Number(b.width)) ? `${Number(b.width)}px` : `${b.width}`), !i.isEmpty(b.widthMin) && te(b.widthMin) && S.isUseScrollX && (m.minWidth = i.isFinite(Number(b.widthMin)) ? `${Number(b.widthMin)}px` : `${b.widthMin}`), m;
127
- }), ne = (m, b) => {
128
- l("onClickOrderBy", m, S.thIndex, b);
129
- }, te = (m) => i.isString(m) || i.getTypeof(m) === "number" && i.isFinite(m), F = () => {
130
- if (T.value) {
131
- const m = n.value === "desc" ? "asc" : "desc";
132
- ne(E.value, m);
133
- }
134
- };
135
- return (m, b) => {
136
- const D = Wt("cltooltip");
137
- return !G(i).isBoolean(t.thInfo?.visible) || t.thInfo.visible ? (r(), u("th", {
138
- key: 0,
139
- class: P(_.value),
140
- style: q(ue.value),
141
- scope: "col",
142
- "aria-sort": W.value
143
- }, [
144
- O("span", {
145
- class: "th-title",
146
- onClick: F
147
- }, [
148
- H(m.$slots, "default")
149
- ]),
150
- G(i).isNonEmptyString(t.thInfo?.tipMsg) ? ut((r(), ce(Rt, {
151
- key: 0,
152
- name: B.value.name,
153
- className: B.value.className,
154
- class: "th-tip-icon",
155
- role: "img",
156
- "aria-label": w.value
157
- }, null, 8, ["name", "className", "aria-label"])), [
158
- [D, { html: t.thInfo.tipMsg, className: "tooltip-modal" }]
159
- ]) : (r(), u(p, { key: 1 }, [], 64)),
160
- n.value !== "" ? (r(), u("i", {
161
- key: 2,
162
- class: "tr-sort-icon",
163
- "aria-hidden": "true",
164
- onClick: F
165
- })) : (r(), u(p, { key: 3 }, [], 64))
166
- ], 14, hi)) : (r(), u(p, { key: 1 }, [], 64));
167
- };
168
- }
169
- }), ct = /* @__PURE__ */ Ie({
170
- name: "ClTableTd",
171
- directives: { cltooltip: $t },
172
- __name: "Td",
173
- props: {
174
- tdIndex: {
175
- type: Number,
176
- default: 0
177
- // desc: 单元格索引
178
- },
179
- tdInfo: {
180
- type: Object,
181
- default: () => ({})
182
- // desc: 单元格配置信息
183
- },
184
- isOrder: {
185
- type: Boolean,
186
- default: !1
187
- // desc: 是否启用排序
188
- },
189
- isUseScrollX: {
190
- type: Boolean,
191
- default: !1
192
- // desc: 是否启用横向滚动
193
- },
194
- fixedLeftIndex: {
195
- type: Number,
196
- default: -1
197
- // desc: 左固定列索引
198
- },
199
- fixedRightIndex: {
200
- type: Number,
201
- default: -1
202
- // desc: 右固定列索引
203
- },
204
- isInlineWidth: {
205
- type: Boolean,
206
- default: !1
207
- // desc: 是否启用内联列宽兜底(false 时纯类控制,外部 CSS 可覆盖预览)
208
- },
209
- widthClassPrefix: {
210
- type: String,
211
- default: "width-"
212
- // desc: 列宽类前缀
213
- },
214
- widthMinClassPrefix: {
215
- type: String,
216
- default: "width-min-"
217
- // desc: 最小宽列类前缀
218
- },
219
- useType: {
220
- type: String,
221
- default: "td",
222
- // desc: 使用类型 | enum: td, total
223
- validator: (t) => ["td", "total"].indexOf(t) > -1
224
- }
225
- },
226
- setup(t) {
227
- const g = t, S = C(() => Pt(g.tdInfo?.tipIcon)), l = C(
228
- () => i.isEmpty(g.tdInfo) ? {} : g.tdInfo
229
- ), B = C(() => {
230
- const w = g.tdInfo?.tipMsg;
231
- if (!i.isNonEmptyString(w))
232
- return;
233
- const n = i.removeHTMLTags(w);
234
- return i.isNonEmptyString(n) ? n : void 0;
235
- }), E = C(() => {
236
- const w = {}, n = l.value;
237
- !i.isEmpty(n.width) && T(n.width) && (w[`${g.widthClassPrefix}${n.width}`] = !0), !i.isEmpty(n.widthMin) && T(n.widthMin) && g.isUseScrollX && (w[`${g.widthMinClassPrefix}${n.widthMin}`] = !0), (g.fixedLeftIndex > -1 || g.fixedRightIndex > -1) && (w["td-hidden"] = g.fixedLeftIndex > -1 && g.tdIndex > g.fixedLeftIndex || g.fixedRightIndex > -1 && g.tdIndex < g.fixedRightIndex), g.isOrder && (i.isEmpty(n.sort) || n.sort === !0) && (w["td-sort"] = !0, w["td-sort-near"] = n.sortNear === !0), i.isNonEmptyString(n.tipMsg) && (w["td-tip"] = !0, w["td-tip-sideAlign"] = n.tipSideAlign === !0), i.isNonEmptyString(n.textAlign) && i.isExistValue(["left", "center", "right"], n.textAlign) && (w[`text-${n.textAlign}`] = !0);
238
- let W = w;
239
- return W = i.getJsonMerge(W, Q.getClassNameJson(n.className)), g.useType === "td" ? W = i.getJsonMerge(W, Q.getClassNameJson(n.classTd)) : g.useType === "total" && (W = i.getJsonMerge(W, Q.getClassNameJson(n.classTotal))), W;
240
- }), J = C(() => {
241
- const w = {};
242
- if (!g.isInlineWidth)
243
- return w;
244
- const n = l.value;
245
- return !i.isEmpty(n.width) && T(n.width) && (w.width = i.isFinite(Number(n.width)) ? `${Number(n.width)}px` : `${n.width}`), !i.isEmpty(n.widthMin) && T(n.widthMin) && g.isUseScrollX && (w.minWidth = i.isFinite(Number(n.widthMin)) ? `${Number(n.widthMin)}px` : `${n.widthMin}`), w;
246
- }), T = (w) => i.isString(w) || i.getTypeof(w) === "number" && i.isFinite(w);
247
- return (w, n) => {
248
- const W = Wt("cltooltip");
249
- return !G(i).isBoolean(t.tdInfo?.visible) || t.tdInfo.visible ? (r(), u("td", {
250
- key: 0,
251
- class: P(E.value),
252
- style: q(J.value)
253
- }, [
254
- H(w.$slots, "default"),
255
- G(i).isNonEmptyString(t.tdInfo?.tipMsg) ? ut((r(), ce(Rt, {
256
- key: 0,
257
- name: S.value.name,
258
- className: S.value.className,
259
- class: "td-tip-icon",
260
- role: "img",
261
- "aria-label": B.value
262
- }, null, 8, ["name", "className", "aria-label"])), [
263
- [W, { html: t.tdInfo.tipMsg, className: "tooltip-modal" }]
264
- ]) : (r(), u(p, { key: 1 }, [], 64))
265
- ], 6)) : (r(), u(p, { key: 1 }, [], 64));
266
- };
267
- }
268
- }), gi = ["aria-hidden"], mi = { key: 0 }, vi = { key: 0 }, nt = 99999999, ot = /* @__PURE__ */ Ie({
269
- name: "ClTableHead",
270
- __name: "Head",
271
- props: {
272
- columns: {
273
- type: Array,
274
- default: () => []
275
- // desc: 列配置信息
276
- },
277
- isOrder: {
278
- type: Boolean,
279
- default: !1
280
- // desc: 是否启用排序
281
- },
282
- orderSort: {
283
- type: Array,
284
- default: () => []
285
- // desc: 排序配置([列索引, 排序方式])
286
- },
287
- isShowTotal: {
288
- type: Boolean,
289
- default: !1
290
- // desc: 是否显示总计行
291
- },
292
- totalInfo: {
293
- type: Object,
294
- default: () => ({})
295
- // desc: 总计数据信息
296
- },
297
- keyIndex: String,
298
- // desc: 唯一键前缀
299
- width: {
300
- type: String,
301
- default: "none"
302
- // desc: 宽度
303
- },
304
- minWidth: {
305
- type: String,
306
- default: "none"
307
- // desc: 最小宽度
308
- },
309
- hoverIndex: {
310
- type: Number,
311
- default: -1
312
- // desc: 悬停行索引(99999999 = 总计行悬停哨兵,与 NO_HOVER_TOTAL_INDEX 契约一致)
313
- },
314
- isUseScrollX: {
315
- type: Boolean,
316
- default: !1
317
- // desc: 是否启用横向滚动
318
- },
319
- isShowRadio: {
320
- type: Boolean,
321
- default: !1
322
- // desc: 是否显示单选列
323
- },
324
- isShowCheckbox: {
325
- type: Boolean,
326
- default: !1
327
- // desc: 是否显示多选列
328
- },
329
- disabled: {
330
- type: Boolean,
331
- default: !1
332
- // desc: 是否禁用
333
- },
334
- isShowCheckboxAll: {
335
- type: Boolean,
336
- default: !0
337
- // desc: 是否显示全选
338
- },
339
- checkboxAllValue: {
340
- type: Boolean,
341
- default: !1
342
- // desc: 全选状态
343
- },
344
- fixedType: {
345
- type: String,
346
- default: "",
347
- // desc: 固定类型 | enum: left, right
348
- validator: (t) => ["", "left", "right"].indexOf(t) > -1
349
- },
350
- fixedLeftIndex: {
351
- type: Number,
352
- default: -1,
353
- // desc: 左固定列索引
354
- validator: (t) => t >= -1
355
- // 校验值不小于 -1
356
- },
357
- fixedRightIndex: {
358
- type: Number,
359
- default: -1,
360
- // desc: 右固定列索引
361
- validator: (t) => t >= -1
362
- // 校验值不小于 -1
363
- },
364
- isInlineWidth: {
365
- type: Boolean,
366
- default: !1
367
- // desc: 是否启用内联列宽兜底(false 时纯类控制,外部 CSS 可覆盖预览)
368
- },
369
- widthClassPrefix: {
370
- type: String,
371
- default: "width-"
372
- // desc: 列宽类前缀
373
- },
374
- widthMinClassPrefix: {
375
- type: String,
376
- default: "width-min-"
377
- // desc: 最小宽列类前缀
378
- }
379
- },
380
- emits: {
381
- onClickAll: () => !0,
382
- // desc: 点击全选事件
383
- onClickOrderBy: (t, g, S) => !0,
384
- // desc: 点击排序事件
385
- onHoverIn: (t) => !0,
386
- // desc: 悬停进入事件
387
- onHoverOut: () => !0
388
- // desc: 悬停离开事件
389
- },
390
- setup(t, { expose: g, emit: S }) {
391
- const l = t, B = S, E = ae("refElTable"), J = C(() => ({
392
- "table-default": !0,
393
- "table-base": !0
394
- })), T = C(() => {
395
- const y = {};
396
- return i.isEmpty(l.fixedType) ? l.isUseScrollX && // 宽度值判空 + 哨兵过滤:空串/非字符串(运行时绕过 String 校验)不输出内联样式(对齐 Body 侧 styTable 口径)
397
- i.isNonEmptyString(l.minWidth) && l.minWidth !== "none" && (y.minWidth = l.minWidth) : i.isNonEmptyString(l.width) && l.width !== "none" && (y.width = l.width), y;
398
- }), w = (y) => y ? i.isUndefined(y.title) ? i.isUndefined(y.data) ? "" : y.data : y.title : "", n = (y, x) => i.isUndefined(y) || !x ? "" : i.isEmpty(x.format) ? y : i.getValueByFormat(y, x.format ?? "", x.formatExt), W = (y, x) => !y || !x ? "" : n(y[x.data], x);
399
- we(
400
- () => l.isShowTotal,
401
- (y) => {
402
- !y && l.hoverIndex === nt && B("onHoverOut");
403
- }
404
- );
405
- const _ = () => {
406
- B("onClickAll");
407
- }, ue = (y, x, M) => {
408
- B("onClickOrderBy", y, x, M);
409
- }, ne = () => {
410
- B("onHoverIn", nt);
411
- }, te = () => {
412
- B("onHoverOut");
413
- };
414
- return g({
415
- getOffsetHeight: () => E.value ? E.value.offsetHeight : 0,
416
- getRcWidth: () => {
417
- let y = 0;
418
- if ((l.isShowRadio || l.isShowCheckbox) && E.value) {
419
- const x = E.value.querySelector(".th-rc");
420
- x && (y = x.clientWidth);
421
- }
422
- return y;
423
- },
424
- getPaddingLr: () => {
425
- let y = 0;
426
- if (!E.value)
427
- return y;
428
- const x = E.value.querySelectorAll("th:not(.th-rc)");
429
- for (let M = 0; M < x.length; M++) {
430
- const c = Q.getStyle(x[M]), N = parseFloat(c.paddingLeft), ie = parseFloat(c.paddingRight), he = i.isFinite(N) ? N : 0, re = i.isFinite(ie) ? ie : 0;
431
- y += he + re;
432
- }
433
- return y;
434
- },
435
- getElTh: () => E.value ? E.value.querySelectorAll("th") : [],
436
- getTotalHeight: () => {
437
- let y = 0;
438
- if (l.isShowTotal && E.value) {
439
- const x = E.value.querySelector(".tr-total");
440
- x && (y = x.clientHeight);
441
- }
442
- return y;
443
- }
444
- }), (y, x) => (r(), u("table", {
445
- class: P(J.value),
446
- style: q(T.value),
447
- "aria-hidden": !G(i).isEmpty(t.fixedType),
448
- ref_key: "refElTable",
449
- ref: E
450
- }, [
451
- O("thead", null, [
452
- O("tr", null, [
453
- t.isShowRadio || t.isShowCheckbox ? (r(), u("th", {
454
- key: 0,
455
- class: P({ "th-rc": !0, "th-hidden": t.fixedRightIndex > -1 }),
456
- scope: "col"
457
- }, [
458
- t.isShowCheckbox && t.isShowCheckboxAll ? (r(), ce(Nt, {
459
- key: 0,
460
- forId: G(i).isNonEmptyString(t.keyIndex) ? `${t.keyIndex}_${t.fixedType}_cb_all` : void 0,
461
- value: t.checkboxAllValue,
462
- disabled: t.disabled,
463
- onOnChange: _
464
- }, null, 8, ["forId", "value", "disabled"])) : (r(), u(p, { key: 1 }, [], 64))
465
- ], 2)) : (r(), u(p, { key: 1 }, [], 64)),
466
- (r(!0), u(p, null, U(t.columns, (M, c) => (r(), ce(yi, {
467
- key: `${t.keyIndex}_${t.fixedType}_head_th_${c}`,
468
- thInfo: M,
469
- thIndex: c,
470
- isOrder: t.isOrder,
471
- disabled: t.disabled,
472
- orderSort: t.orderSort,
473
- isUseScrollX: t.isUseScrollX,
474
- fixedLeftIndex: t.fixedLeftIndex,
475
- fixedRightIndex: t.fixedRightIndex,
476
- isInlineWidth: t.isInlineWidth,
477
- widthClassPrefix: t.widthClassPrefix,
478
- widthMinClassPrefix: t.widthMinClassPrefix,
479
- onOnClickOrderBy: ue
480
- }, {
481
- default: K(() => [
482
- H(y.$slots, `th_${M?.data ?? ""}`, { data: M }, () => [
483
- O("span", null, Le(w(M)), 1)
484
- ])
485
- ]),
486
- _: 2
487
- }, 1032, ["thInfo", "thIndex", "isOrder", "disabled", "orderSort", "isUseScrollX", "fixedLeftIndex", "fixedRightIndex", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"]))), 128))
488
- ])
489
- ]),
490
- t.isShowTotal ? (r(), u("tbody", mi, [
491
- O("tr", {
492
- class: P({
493
- "tr-total": !0,
494
- "tr-hover": t.hoverIndex === nt
495
- }),
496
- onMouseenter: ne,
497
- onMouseleave: te
498
- }, [
499
- t.isShowRadio || t.isShowCheckbox ? (r(), u("td", vi)) : (r(), u(p, { key: 1 }, [], 64)),
500
- (r(!0), u(p, null, U(t.columns, (M, c) => (r(), ce(ct, {
501
- key: `${t.keyIndex}_${t.fixedType}_body_total_td_${c}`,
502
- isOrder: t.isOrder,
503
- tdIndex: c,
504
- tdInfo: M,
505
- isUseScrollX: t.isUseScrollX,
506
- fixedLeftIndex: t.fixedLeftIndex,
507
- fixedRightIndex: t.fixedRightIndex,
508
- isInlineWidth: t.isInlineWidth,
509
- widthClassPrefix: t.widthClassPrefix,
510
- widthMinClassPrefix: t.widthMinClassPrefix,
511
- useType: "total"
512
- }, {
513
- default: K(() => [
514
- H(y.$slots, `total_${M?.data ?? ""}`, { data: t.totalInfo }, () => [
515
- dt(Le(W(t.totalInfo, M)), 1)
516
- ])
517
- ]),
518
- _: 2
519
- }, 1032, ["isOrder", "tdIndex", "tdInfo", "isUseScrollX", "fixedLeftIndex", "fixedRightIndex", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"]))), 128))
520
- ], 34)
521
- ])) : (r(), u(p, { key: 1 }, [], 64))
522
- ], 14, gi));
523
- }
524
- }), xi = ["id"], Si = /* @__PURE__ */ Ie({
525
- name: "ClTableTdChecked",
526
- __name: "TdChecked",
527
- props: {
528
- id: String,
529
- // desc: 组件唯一标识
530
- value: {
531
- type: Boolean,
532
- default: !1
533
- // desc: 选中状态
534
- },
535
- className: String,
536
- // desc: 自定义CSS类名
537
- disabled: {
538
- type: Boolean,
539
- default: !1
540
- // desc: 是否禁用
541
- },
542
- isShowRadio: {
543
- type: Boolean,
544
- default: !1
545
- // desc: 是否显示单选
546
- },
547
- isShowCheckbox: {
548
- type: Boolean,
549
- default: !1
550
- // desc: 是否显示多选
551
- },
552
- keyIndex: String,
553
- // desc: 唯一键前缀
554
- info: {
555
- type: Object,
556
- default: () => ({})
557
- // desc: 数据项信息
558
- }
559
- },
560
- setup(t) {
561
- const g = t, S = g.id, l = C(() => w("cb")), B = C(() => w("rd")), E = C(() => g.value === !0), J = C(
562
- () => g.disabled === !0 || i.isBoolean(g.info?.isDisabled) && g.info.isDisabled
563
- ), T = C(() => {
564
- const n = { "th-rc": !0 };
565
- return i.getJsonMerge(n, Q.getClassNameJson(g.className));
566
- }), w = (n) => i.isNonEmptyString(g.keyIndex) ? `${g.keyIndex}_${n}` : void 0;
567
- return (n, W) => t.isShowRadio || t.isShowCheckbox ? (r(), u("td", {
568
- key: 0,
569
- id: G(S),
570
- class: P(T.value)
571
- }, [
572
- t.isShowCheckbox ? (r(), ce(Nt, {
573
- key: 0,
574
- forId: l.value,
575
- value: E.value,
576
- disabled: J.value
577
- }, null, 8, ["forId", "value", "disabled"])) : t.isShowRadio ? (r(), ce(di, {
578
- key: 1,
579
- forId: B.value,
580
- name: B.value,
581
- value: E.value,
582
- disabled: J.value
583
- }, null, 8, ["forId", "name", "value", "disabled"])) : (r(), u(p, { key: 2 }, [], 64))
584
- ], 10, xi)) : (r(), u(p, { key: 1 }, [], 64));
585
- }
586
- }), Ci = ["onClick", "onMouseenter"], wi = ["onMouseenter"], bi = ["colspan"], Ii = {
587
- key: 0,
588
- class: "panel-elastic-load",
589
- role: "status",
590
- "aria-live": "polite"
591
- }, pi = { class: "elastic-load-container" }, ki = ["data-elastic-id"], Ei = ["onMouseenter"], Ti = ["colspan"], Li = {
592
- class: "panel-elastic-load",
593
- role: "status",
594
- "aria-live": "polite"
595
- }, Oi = { class: "elastic-load-container" }, Bi = ["onMouseenter"], Wi = { key: 2 }, Ni = ["colspan"], Ri = {
596
- class: "panel-table-empty",
597
- role: "status"
598
- }, rt = /* @__PURE__ */ Ie({
599
- name: "ClTableBody",
600
- __name: "Body",
601
- props: {
602
- columns: {
603
- type: Array,
604
- default: () => []
605
- // desc: 列配置信息
606
- },
607
- list: {
608
- type: Array,
609
- default: () => []
610
- // desc: 数据列表
611
- },
612
- disabled: {
613
- type: Boolean,
614
- default: !1
615
- // desc: 是否禁用
616
- },
617
- isOrder: {
618
- type: Boolean,
619
- default: !1
620
- // desc: 是否启用排序
621
- },
622
- selectValue: {
623
- type: Array,
624
- default: () => []
625
- // desc: 选中值列表
626
- },
627
- keyIndex: String,
628
- // desc: 唯一键前缀
629
- width: {
630
- type: String,
631
- default: "none"
632
- // desc: 宽度
633
- },
634
- minWidth: {
635
- type: String,
636
- default: "none"
637
- // desc: 最小宽度
638
- },
639
- hoverIndex: {
640
- type: Number,
641
- default: -1
642
- // desc: 悬停行索引
643
- },
644
- hoverElasticIndex: {
645
- type: Number,
646
- default: -1
647
- // desc: 悬停展开行索引
648
- },
649
- isUseScrollX: {
650
- type: Boolean,
651
- default: !1
652
- // desc: 是否启用横向滚动
653
- },
654
- colspanCount: {
655
- type: Number,
656
- default: 1
657
- // desc: 跨列数
658
- },
659
- isRunLoading: {
660
- type: Boolean,
661
- default: !1
662
- // desc: 是否加载中
663
- },
664
- isShowRadio: {
665
- type: Boolean,
666
- default: !1
667
- // desc: 是否显示单选列
668
- },
669
- isShowCheckbox: {
670
- type: Boolean,
671
- default: !1
672
- // desc: 是否显示多选列
673
- },
674
- isElastic: {
675
- type: Boolean,
676
- default: !1
677
- // desc: 是否启用展开行
678
- },
679
- elasticOpen: {
680
- type: Array,
681
- default: () => []
682
- // desc: 展开的行 id 列表
683
- },
684
- elasticLoading: {
685
- type: Array,
686
- default: () => []
687
- // desc: 展开加载中的行 id 列表
688
- },
689
- elasticType: {
690
- type: String,
691
- default: "default",
692
- // desc: 展开类型 | enum: default, sameDataStructure
693
- validator: (t) => ["default", "sameDataStructure"].indexOf(t) > -1
694
- },
695
- elasticData: {
696
- type: Object,
697
- default: () => ({})
698
- // desc: 展开数据(key 为行 id,值为行列表)
699
- },
700
- fixedType: {
701
- type: String,
702
- default: ""
703
- // desc: 固定类型 | enum: left, right (可自定义)
704
- },
705
- fixedLeftIndex: {
706
- type: Number,
707
- default: -1
708
- // desc: 左固定列索引
709
- },
710
- fixedRightIndex: {
711
- type: Number,
712
- default: -1
713
- // desc: 右固定列索引
714
- },
715
- isInlineWidth: {
716
- type: Boolean,
717
- default: !1
718
- // desc: 是否启用内联列宽兜底(false 时纯类控制,外部 CSS 可覆盖预览)
719
- },
720
- widthClassPrefix: {
721
- type: String,
722
- default: "width-"
723
- // desc: 列宽类前缀
724
- },
725
- widthMinClassPrefix: {
726
- type: String,
727
- default: "width-min-"
728
- // desc: 最小宽列类前缀
729
- },
730
- trIntervalNum: {
731
- type: Number,
732
- default: -1
733
- // desc: 斑马纹间隔数
734
- },
735
- isStriped: {
736
- type: Boolean,
737
- default: !1
738
- // desc: 是否开启间隔色
739
- },
740
- emptyText: String
741
- // desc: 空数据文案
742
- },
743
- emits: {
744
- onClickTr: (t, g, S) => !0,
745
- // desc: 点击行事件
746
- onHoverIn: (t, g) => !0,
747
- // desc: 悬停进入事件
748
- onHoverOut: () => !0
749
- // desc: 悬停离开事件
750
- },
751
- setup(t, { expose: g, emit: S }) {
752
- const l = t, B = S, { optPageLanguage: E, getPageLanguage: J } = ci();
753
- J("common");
754
- const T = ae("refElTable"), w = be(/* @__PURE__ */ new Set()), n = C(
755
- () => new Set(
756
- (Array.isArray(l.selectValue) ? l.selectValue : []).filter((d) => !i.isUndefined(d)).map((d) => String(d))
757
- )
758
- ), W = C(
759
- () => new Set(
760
- (Array.isArray(l.elasticLoading) ? l.elasticLoading : []).filter((d) => !i.isUndefined(d)).map((d) => String(d))
761
- )
762
- ), _ = C(
763
- () => new Set(
764
- (Array.isArray(l.elasticOpen) ? l.elasticOpen : []).filter((d) => !i.isUndefined(d)).map((d) => String(d))
765
- )
766
- ), ue = C(() => {
767
- const d = Number(l.colspanCount);
768
- return i.isFinite(d) && d >= 1 ? Math.floor(d) : 1;
769
- }), ne = C(() => ({
770
- "table-default": !0,
771
- "table-base": !0,
772
- "table-empty": i.isEmpty(l.list)
773
- })), te = C(() => {
774
- const d = {};
775
- return i.isNonEmptyString(l.fixedType) ? i.isNonEmptyString(l.width) && l.width !== "none" && (d.width = l.width) : l.isUseScrollX && i.isNonEmptyString(l.minWidth) && l.minWidth !== "none" && (d.minWidth = l.minWidth), d;
776
- }), F = (d, k, v) => {
777
- B("onClickTr", d, k, v);
778
- }, m = (d, k = -1) => {
779
- B("onHoverIn", d, k);
780
- }, b = () => {
781
- B("onHoverOut");
782
- }, D = (d, k) => i.isEmpty(d) || !k ? "" : i.isEmpty(k.format) ? d : i.getValueByFormat(d, k.format ?? "", k.formatExt), oe = (d) => {
783
- const k = l.elasticData || {};
784
- return Object.prototype.hasOwnProperty.call(k, d) ? k[d] : [];
785
- }, y = (d) => !i.isEmpty(d) && !i.isEmpty(d.id) && n.value.has(d.id.toString()), x = (d) => !i.isEmpty(d) && !i.isEmpty(d.id) && W.value.has(d.id.toString());
786
- return g({
787
- getWidth: () => T.value ? T.value.clientWidth : 0,
788
- getHeight: () => T.value ? T.value.clientHeight : 0,
789
- setElasticWidth: () => {
790
- if (!T.value)
791
- return;
792
- const d = T.value.parentNode;
793
- if (!d)
794
- return;
795
- const k = T.value.querySelectorAll(".panel-elastic-load"), v = d.clientWidth;
796
- for (let I = 0; I < k.length; I++)
797
- k[I].style.width = `${v}px`;
798
- },
799
- setElasticHeight: (d) => {
800
- if (!T.value)
801
- return;
802
- const k = T.value.querySelector(
803
- `[data-elastic-id="${CSS.escape(d)}"]`
804
- );
805
- if (k) {
806
- const v = k.parentNode;
807
- if (v) {
808
- k.style.height = "", v.style.height = "";
809
- const R = `${k.clientHeight}px`;
810
- k.style.height = R, v.style.height = R;
811
- }
812
- const I = w.value;
813
- I.has(d) || (w.value = new Set(I).add(d));
814
- }
815
- },
816
- removeElasticAbsolute: (d) => {
817
- if (w.value.has(d)) {
818
- const k = new Set(w.value);
819
- k.delete(d), w.value = k;
820
- }
821
- },
822
- clearElasticAbsolute: () => {
823
- w.value.size > 0 && (w.value = /* @__PURE__ */ new Set());
824
- },
825
- setElasticLoadLeft: (d) => {
826
- if (!T.value)
827
- return;
828
- const k = T.value.querySelectorAll(".panel-elastic-load"), v = i.isFinite(d) ? Math.max(0, d) : 0;
829
- for (let I = 0; I < k.length; I++)
830
- k[I].style.left = `${v}px`;
831
- },
832
- setEmptyWidth: () => {
833
- if (!T.value)
834
- return;
835
- const d = T.value.querySelector(".panel-table-empty");
836
- if (d) {
837
- const k = T.value.parentNode;
838
- if (k) {
839
- const v = k.clientWidth;
840
- d.style.width = `${v}px`;
841
- }
842
- }
843
- },
844
- setEmptyLeft: (d) => {
845
- const k = T.value ? T.value.querySelector(".panel-table-empty") : null;
846
- if (k) {
847
- const v = i.isFinite(d) ? Math.max(0, d) : 0;
848
- k.style.left = `${v}px`;
849
- }
850
- }
851
- }), (d, k) => (r(), u("table", {
852
- class: P(ne.value),
853
- style: q(te.value),
854
- ref_key: "refElTable",
855
- ref: T
856
- }, [
857
- O("tbody", null, [
858
- G(i).isEmpty(t.list) ? (r(), u(p, { key: 1 }, [], 64)) : (r(!0), u(p, { key: 0 }, U(t.list, (v, I) => (r(), u(p, {
859
- key: `${t.keyIndex}_${t.fixedType}_body_tr_${I}`
860
- }, [
861
- O("tr", {
862
- class: P({
863
- odd: t.isStriped && I % 2 === 0,
864
- "tr-customInterval-odd": t.isStriped && t.trIntervalNum > 0 && Math.floor(I / t.trIntervalNum) % 2 === 0,
865
- "tr-customInterval-even": t.isStriped && t.trIntervalNum > 0 && Math.floor(I / t.trIntervalNum) % 2 === 1,
866
- "tr-disabled": G(i).isBoolean(v?.isDisabled) && v.isDisabled,
867
- "tr-selected": y(v),
868
- "tr-hover": t.hoverIndex === I
869
- }),
870
- onClick: (R) => F(R, v, I),
871
- onMouseenter: (R) => m(I),
872
- onMouseleave: b
873
- }, [
874
- t.isShowRadio || t.isShowCheckbox ? (r(), ce(Si, {
875
- key: 0,
876
- keyIndex: `${t.keyIndex}_${t.fixedType}_body_tr_${I}`,
877
- isShowRadio: t.isShowRadio,
878
- isShowCheckbox: t.isShowCheckbox,
879
- value: y(v),
880
- info: v,
881
- disabled: t.disabled
882
- }, null, 8, ["keyIndex", "isShowRadio", "isShowCheckbox", "value", "info", "disabled"])) : (r(), u(p, { key: 1 }, [], 64)),
883
- (r(!0), u(p, null, U(t.columns, (R, A) => (r(), ce(ct, {
884
- key: `${t.keyIndex}_${t.fixedType}_body_tr_${I}_td_${A}`,
885
- isOrder: t.isOrder,
886
- tdIndex: A,
887
- tdInfo: R,
888
- isUseScrollX: t.isUseScrollX,
889
- fixedLeftIndex: t.fixedLeftIndex,
890
- fixedRightIndex: t.fixedRightIndex,
891
- isInlineWidth: t.isInlineWidth,
892
- widthClassPrefix: t.widthClassPrefix,
893
- widthMinClassPrefix: t.widthMinClassPrefix
894
- }, {
895
- default: K(() => [
896
- H(d.$slots, `td_${R?.data ?? ""}`, {
897
- data: v,
898
- trIndex: I
899
- }, () => [
900
- dt(Le(D(v && R ? v[R.data] : void 0, R)), 1)
901
- ])
902
- ]),
903
- _: 2
904
- }, 1032, ["isOrder", "tdIndex", "tdInfo", "isUseScrollX", "fixedLeftIndex", "fixedRightIndex", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"]))), 128))
905
- ], 42, Ci),
906
- t.isElastic && !G(i).isEmpty(v?.id) && _.value.has(v.id.toString()) ? (r(), u(p, { key: 0 }, [
907
- t.elasticType === "default" ? (r(), u("tr", {
908
- key: 0,
909
- class: P({ "tr-elastic": !0, "tr-hover": t.hoverIndex === I }),
910
- onMouseenter: (R) => m(I),
911
- onMouseleave: b
912
- }, [
913
- O("td", {
914
- colspan: ue.value,
915
- class: P({
916
- "td-elastic-load": x(v)
917
- })
918
- }, [
919
- x(v) ? (r(), u("div", Ii, [
920
- O("div", pi, [
921
- se(Tt, {
922
- theme: "circleBubble",
923
- size: "large"
924
- })
925
- ])
926
- ])) : (r(), u("div", {
927
- key: 1,
928
- class: P([
929
- "elastic-container",
930
- {
931
- "elastic-container-absolute": w.value.has(
932
- v.id.toString()
933
- )
934
- }
935
- ]),
936
- "data-elastic-id": v.id
937
- }, [
938
- H(d.$slots, "tr_elastic_children", {
939
- data: v,
940
- trIndex: I
941
- })
942
- ], 10, ki))
943
- ], 10, bi)
944
- ], 42, wi)) : t.elasticType === "sameDataStructure" ? (r(), u(p, { key: 1 }, [
945
- x(v) ? (r(), u("tr", {
946
- key: 0,
947
- class: P({ "tr-elastic": !0, "tr-hover": t.hoverIndex === I }),
948
- onMouseenter: (R) => m(I),
949
- onMouseleave: b
950
- }, [
951
- O("td", {
952
- colspan: ue.value,
953
- class: "td-elastic-load"
954
- }, [
955
- O("div", Li, [
956
- O("div", Oi, [
957
- se(Tt, {
958
- theme: "circleBubble",
959
- size: "large"
960
- })
961
- ])
962
- ])
963
- ], 8, Ti)
964
- ], 42, Ei)) : (r(!0), u(p, { key: 1 }, U(oe(
965
- v.id.toString()
966
- ), (R, A) => (r(), u("tr", {
967
- key: `${t.keyIndex}_${t.fixedType}_body_tr_${I}_elastic_${A}`,
968
- class: P({
969
- // 预留外部覆盖钩子(无内置 CSS 规则):斑马纹由 odd、悬停由 tr-hover 承载
970
- "tr-elastic-sameDataStructure": !0,
971
- odd: t.isStriped && A % 2 === 0,
972
- "tr-disabled": G(i).isBoolean(R?.isDisabled) && R.isDisabled,
973
- "tr-hover": t.hoverElasticIndex === A && t.hoverIndex === I
974
- }),
975
- onMouseenter: (z) => m(I, A),
976
- onMouseleave: b
977
- }, [
978
- (r(!0), u(p, null, U(t.columns, (z, pe) => (r(), ce(ct, {
979
- key: `${t.keyIndex}_${t.fixedType}_body_tr_${I}_elastic_${A}_td_${pe}`,
980
- isOrder: t.isOrder,
981
- tdIndex: pe,
982
- tdInfo: z,
983
- isUseScrollX: t.isUseScrollX,
984
- fixedLeftIndex: t.fixedLeftIndex,
985
- fixedRightIndex: t.fixedRightIndex,
986
- isInlineWidth: t.isInlineWidth,
987
- widthClassPrefix: t.widthClassPrefix,
988
- widthMinClassPrefix: t.widthMinClassPrefix
989
- }, {
990
- default: K(() => [
991
- H(d.$slots, `td_elastic_${z?.data ?? ""}`, {
992
- data: R,
993
- trIndex: I,
994
- trElasticInx: A
995
- }, () => [
996
- dt(Le(D(
997
- R && z ? R[z.data] : void 0,
998
- z
999
- )), 1)
1000
- ])
1001
- ]),
1002
- _: 2
1003
- }, 1032, ["isOrder", "tdIndex", "tdInfo", "isUseScrollX", "fixedLeftIndex", "fixedRightIndex", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"]))), 128))
1004
- ], 42, Bi))), 128))
1005
- ], 64)) : (r(), u(p, { key: 2 }, [], 64))
1006
- ], 64)) : (r(), u(p, { key: 1 }, [], 64))
1007
- ], 64))), 128)),
1008
- G(i).isEmpty(t.list) && !t.isRunLoading && !G(i).isNonEmptyString(t.fixedType) ? (r(), u("tr", Wi, [
1009
- O("td", {
1010
- colspan: ue.value,
1011
- class: "td-empty"
1012
- }, [
1013
- O("div", Ri, Le(G(i).isNonEmptyString(t.emptyText) ? t.emptyText : G(E).noResultsText), 1)
1014
- ], 8, Ni)
1015
- ])) : (r(), u(p, { key: 3 }, [], 64))
1016
- ])
1017
- ], 6));
1018
- }
1019
- });
1020
- function $i(t) {
1021
- if (!Array.isArray(t)) return [];
1022
- const g = [];
1023
- return t.forEach((S) => {
1024
- if (i.isEmpty(S)) return;
1025
- const l = S;
1026
- !(i.isBoolean(l.isDisabled) ? l.isDisabled : !1) && !i.isEmpty(l.id) && g.push(String(l.id));
1027
- }), g;
1028
- }
1029
- function Pi(t, g, S = !1) {
1030
- if (!Array.isArray(t) || t.length === 0) return [];
1031
- const l = [];
1032
- return t.forEach((B) => {
1033
- const E = String(B);
1034
- g.includes(E) && l.push(E);
1035
- }), S && l.length > 1 ? [l[0]] : l;
1036
- }
1037
- function Mi(t, g) {
1038
- return g.length > 0 && g.length === t.length;
1039
- }
1040
- function Ai(t, g) {
1041
- return t.filter((S) => !g.includes(S));
1042
- }
1043
- const Hi = ["id"], Di = { class: "table-wrapper" }, Xi = {
1044
- key: 0,
1045
- class: "table-fixed-column-left"
1046
- }, Ui = {
1047
- key: 2,
1048
- class: "table-fixed-column-right"
1049
- }, Fi = {
1050
- key: 0,
1051
- class: "table-scroll-occupy-container"
1052
- }, Vi = {
1053
- key: 2,
1054
- class: "table-fixed-column-scrollX"
1055
- }, Ji = {
1056
- key: 4,
1057
- class: "table-fixed-head-load"
1058
- }, zi = {
1059
- key: 0,
1060
- class: "table-fixed-column-left"
1061
- }, Yi = {
1062
- key: 2,
1063
- class: "table-fixed-column-right"
1064
- }, ji = {
1065
- key: 1,
1066
- class: "table-fixed-column-scrollX"
1067
- }, qi = {
1068
- key: 2,
1069
- class: "table-footer-wrapper"
1070
- }, Ki = {
1071
- key: 0,
1072
- class: "table-load",
1073
- role: "status",
1074
- "aria-live": "polite"
1075
- }, Gi = { class: "table-load-wrapper" }, Ot = 15, Zi = 30, Qi = 180, _i = 50, Bt = 300, El = /* @__PURE__ */ Ie({
1076
- name: "ClTable",
1077
- __name: "Index",
1078
- props: {
1079
- id: String,
1080
- // desc: 组件唯一标识
1081
- className: String,
1082
- // desc: 自定义CSS类名
1083
- disabled: {
1084
- type: Boolean,
1085
- default: !1
1086
- // desc: 是否禁用
1087
- },
1088
- columns: {
1089
- type: Array,
1090
- default: () => []
1091
- // desc: 列配置信息;含 null 项(非法输入)时降级渲染空单元格,仅运行时兜底
1092
- },
1093
- list: {
1094
- type: Array,
1095
- default: () => []
1096
- // desc: 数据列表
1097
- },
1098
- totalLength: Number,
1099
- // desc: 数据总条数
1100
- totalData: {
1101
- type: Object,
1102
- default: () => ({})
1103
- // desc: 总计数据
1104
- },
1105
- isServer: {
1106
- type: Boolean,
1107
- default: !0
1108
- // desc: 是否为服务端模式
1109
- },
1110
- isParamTriggerServer: {
1111
- type: Boolean,
1112
- default: !1
1113
- // desc: 本地数据是否触发服务端参数事件
1114
- },
1115
- isLoading: {
1116
- type: Boolean,
1117
- default: !0
1118
- // desc: 加载中状态
1119
- },
1120
- loadTheme: {
1121
- type: String,
1122
- default: "circleBubble"
1123
- // desc: 加载动画主题,透传至 cl-load-ing | enum: rotaryLine, circleNotch, circleBubble, ballColor4, dotTyping, dotWave, dotBounce, dotPulse, dotOrbit, dotFlow, dotSlide, dotSlider, dotFold, dotSquare, barEqualizer, barWave, barPulse, barStretch, barMeter, barBounce, barRamp, ringRotate, ringDot, ringPulse, ringClip, ringFan, circleSpinner, dotRipple, dotRipple3, ringCross, squareTrace, squareTrace2, crossMove, snakePath, squareMirror, dotPulse5, diamondShuttle, barStream, newtonCradle, dotSpin, orbitSwap, typingBounce, ringGlow
1124
- },
1125
- loadColor: {
1126
- type: String,
1127
- default: "var(--cl-primary, #1088f0)"
1128
- // desc: 加载动画颜色,透传至 cl-load-ing
1129
- },
1130
- isShowInitLoadIng: {
1131
- type: Boolean,
1132
- default: !0
1133
- // desc: 是否显示初始加载动画(仅本地模式生效,服务端模式强制显示加载遮罩防误操作)
1134
- },
1135
- isPaginate: {
1136
- type: Boolean,
1137
- default: !0
1138
- // desc: 是否启用分页
1139
- },
1140
- pageOffset: {
1141
- type: Number,
1142
- default: 0
1143
- // desc: 分页偏移量
1144
- },
1145
- isPaginateLimit: {
1146
- type: Boolean,
1147
- default: !0
1148
- // desc: 是否启用每页条数选择
1149
- },
1150
- paginateLimit: {
1151
- type: Number,
1152
- default: 10
1153
- // desc: 每页条数
1154
- },
1155
- paginateLimitData: { type: Array, default: () => [] },
1156
- // desc: 每页条数可选列表
1157
- isOrder: {
1158
- type: Boolean,
1159
- default: !1
1160
- // desc: 是否启用排序
1161
- },
1162
- orderSort: {
1163
- type: Array,
1164
- default: () => []
1165
- // desc: 排序配置
1166
- },
1167
- selectValue: {
1168
- type: [String, Number],
1169
- default: ""
1170
- // desc: 选中值
1171
- },
1172
- checkedRowType: {
1173
- type: String,
1174
- default: "none",
1175
- // desc: 选中行类型 | enum: none, radio, checkbox
1176
- validator: (t) => ["none", "radio", "checkbox"].indexOf(t) > -1
1177
- },
1178
- isShowCheckboxAll: {
1179
- type: Boolean,
1180
- default: !0
1181
- // desc: 是否显示全选
1182
- },
1183
- isScrollX: {
1184
- type: Boolean,
1185
- default: !1
1186
- // desc: 是否启用横向滚动
1187
- },
1188
- isScrollXBottom: {
1189
- type: Boolean,
1190
- default: !1
1191
- // desc: 是否启用底部横向滚动
1192
- },
1193
- isFixedHead: {
1194
- type: Boolean,
1195
- default: !1
1196
- // desc: 是否固定表头
1197
- },
1198
- scrollY: {
1199
- type: Number,
1200
- default: -1
1201
- // desc: 纵向滚动高度
1202
- },
1203
- fixedColumnLeftIndex: {
1204
- type: Number,
1205
- default: -1
1206
- // desc: 左固定列索引
1207
- },
1208
- fixedColumnRightIndex: {
1209
- type: Number,
1210
- default: -1
1211
- // desc: 右固定列索引
1212
- },
1213
- isInlineWidth: {
1214
- type: Boolean,
1215
- default: !1
1216
- // desc: 是否启用内联列宽兜底(false 时纯类控制,外部 CSS 可覆盖预览)
1217
- },
1218
- widthClassPrefix: {
1219
- type: String,
1220
- default: "width-"
1221
- // desc: 列宽类前缀
1222
- },
1223
- widthMinClassPrefix: {
1224
- type: String,
1225
- default: "width-min-"
1226
- // desc: 最小宽列类前缀
1227
- },
1228
- isClickRowLinkage: {
1229
- type: Boolean,
1230
- default: !1
1231
- // desc: 点击行是否联动选中
1232
- },
1233
- isElastic: {
1234
- type: Boolean,
1235
- default: !1
1236
- // desc: 是否启用展开行
1237
- },
1238
- isElasticLoad: {
1239
- type: Boolean,
1240
- default: !0
1241
- // desc: 是否启用展开加载动画
1242
- },
1243
- rowClickKeyInvalid: {
1244
- type: String,
1245
- default: ".tr-click-invalid"
1246
- // desc: 无效点击区域选择器
1247
- },
1248
- rowClickKeyElastic: {
1249
- type: String,
1250
- default: ".tr-click-elastic"
1251
- // desc: 展开点击区域选择器
1252
- },
1253
- elasticIconCls: {
1254
- type: Array,
1255
- default: () => []
1256
- // desc: 展开图标类名列表
1257
- },
1258
- elasticType: {
1259
- type: String,
1260
- default: "default",
1261
- // desc: 展开类型 | enum: default, sameDataStructure
1262
- validator: (t) => ["default", "sameDataStructure"].indexOf(t) > -1
1263
- },
1264
- elasticData: {
1265
- type: Object,
1266
- default: () => ({})
1267
- // desc: 展开数据
1268
- },
1269
- trIntervalNum: {
1270
- type: Number,
1271
- default: -1
1272
- // desc: 斑马纹间隔数
1273
- },
1274
- isStriped: {
1275
- type: Boolean,
1276
- default: !1
1277
- // desc: 是否开启间隔色
1278
- },
1279
- emptyText: String,
1280
- // desc: 空数据文案
1281
- isHead: {
1282
- type: Boolean,
1283
- default: !0
1284
- // desc: 是否显示表头
1285
- }
1286
- },
1287
- emits: {
1288
- onGetData: (t) => !0,
1289
- // desc: 获取数据事件
1290
- onClickRow: (t, g, S) => !0,
1291
- // desc: 点击行事件(isRc: 点击是否落在 th-rc 单元格)
1292
- onClickElastic: (t, g, S, l, B) => !0,
1293
- // desc: 点击展开事件
1294
- onChangeChecked: (t, g, S) => !0,
1295
- // desc: 选中变化事件
1296
- onChangeParams: (t) => !0
1297
- // desc: 参数变化事件
1298
- },
1299
- setup(t, { expose: g, emit: S }) {
1300
- const l = t, B = S, E = li(), J = (e) => {
1301
- let a = [];
1302
- if (l.isOrder) {
1303
- const s = i.isEmpty(e) ? [] : e;
1304
- let o = [0, "desc"];
1305
- const f = i.isEmpty(l.columns) ? [] : l.columns;
1306
- for (let h = 0; h < f.length; h += 1) {
1307
- const L = f[h];
1308
- if (i.isEmpty(L))
1309
- continue;
1310
- const V = L.sort === void 0 || L.sort === null ? !0 : L.sort === !0, $ = i.isBoolean(L.visible) ? L.visible : !0;
1311
- if (V && $) {
1312
- o = [h, "desc"];
1313
- break;
1314
- }
1315
- }
1316
- if (s.length === 0)
1317
- a = o;
1318
- else {
1319
- const h = f[s[0]];
1320
- if (i.isEmpty(h))
1321
- a = o;
1322
- else {
1323
- const L = h.sort === void 0 || h.sort === null ? !0 : h.sort === !0, V = i.isBoolean(h.visible) ? h.visible : !0, $ = Array.isArray(s) ? s[0] : void 0, ge = Array.isArray(s) && (s[1] === "asc" || s[1] === "desc") ? s[1] : void 0;
1324
- a = L && V && !i.isUndefined($) ? [$, ge ?? "desc"] : o;
1325
- }
1326
- }
1327
- }
1328
- return a;
1329
- }, T = () => {
1330
- let e = 1;
1331
- return l.paginateLimit > 0 && l.pageOffset >= 0 && (e = Math.floor(l.pageOffset / l.paginateLimit) + 1), e;
1332
- }, w = J(l.orderSort), n = {
1333
- dataJson: i.getJsonByList(l.list),
1334
- changeNewPaginate: {
1335
- pages: T(),
1336
- limit: l.paginateLimit
1337
- },
1338
- changeNewSort: {
1339
- // isOrder=false 时 _initOrderSort 为空数组,字段实际为 undefined(类型层如实表达,原 as 断言掩盖)
1340
- orderIndex: w[0],
1341
- orderBy: w[1]
1342
- },
1343
- sortLocalData: [],
1344
- scrollBody: {
1345
- left: 0
1346
- },
1347
- scrollHead: {
1348
- left: 0
1349
- },
1350
- resizeEvent: null,
1351
- timerBody: null,
1352
- pendingCanceled: !1
1353
- }, W = {
1354
- observerBodyScrollY: null
1355
- }, _ = `table-${i.getRandom(5)}`, ue = l.id, ne = ae("refElHeadWrapper"), te = ae("refElHeadContainer"), F = ae("refElHeadMain"), m = ae("refElHeadTable"), b = ae("refElHeadFixedScrollX"), D = ae("refElBodyWrapper"), oe = ae("refElBodyContainer"), y = ae("refElBodyMain"), x = ae("refElBodyTable"), M = ae("refElBodyFixedScrollX"), c = ve({
1356
- isRunLoading: !1,
1357
- isCheckedRadio: l.checkedRowType === "radio",
1358
- isCheckedCheckbox: l.checkedRowType === "checkbox",
1359
- colspanCount: 0,
1360
- hoverTrIndex: -1,
1361
- hoverTrElasticIndex: -1,
1362
- totalHeight: "0"
1363
- }), N = be([]), ie = ve({
1364
- pages: n.changeNewPaginate.pages,
1365
- limit: n.changeNewPaginate.limit
1366
- }), he = be(w), re = be(!1), Oe = () => {
1367
- const e = l.selectValue;
1368
- return i.isNonEmptyString(e) ? i.split(e) : i.isNumber(e) ? i.split(e.toString()) : [];
1369
- }, ee = be(Oe()), X = ve({
1370
- open: [],
1371
- loading: []
1372
- }), d = ve({
1373
- isShow: !1,
1374
- minWidth: "auto",
1375
- posType: "left"
1376
- }), k = be(!1), v = ve({
1377
- totalWidth: "0",
1378
- centerWidth: "0",
1379
- leftColumnLength: 0,
1380
- leftWidth: "0",
1381
- rightColumnLength: 0,
1382
- rightWidth: "0"
1383
- }), I = ve({
1384
- isShow: !1,
1385
- width: "auto",
1386
- height: "auto"
1387
- }), R = ve({
1388
- headHeight: 0
1389
- });
1390
- let A = null, z = null, pe = 0;
1391
- const Ae = C(() => Object.keys(E).filter((e) => e.indexOf("th_") === 0)), He = C(() => {
1392
- const e = Object.keys(E).filter(
1393
- (a) => a.indexOf("td_") === 0 && a.indexOf("td_elastic_") !== 0
1394
- );
1395
- return l.isElastic && e.push("tr_elastic_children"), e;
1396
- }), De = C(() => Object.keys(E).filter((e) => e.indexOf("total_") === 0)), Xe = C(() => Object.keys(E).filter((e) => e.indexOf("td_elastic_") === 0)), Ue = C(() => l.isShowCheckboxAll && N.value.length > 0), ke = C(() => !i.isEmpty(l.totalData) && N.value.length > 0), Mt = C(() => l.isServer ? i.isFinite(l.totalLength) ? l.totalLength : 0 : i.isFinite(l.totalLength) ? l.totalLength : l.list?.length || 0), le = C(() => l.isScrollX || l.isScrollXBottom), me = C(() => l.scrollY > 0), Y = C(() => l.isHead && l.fixedColumnLeftIndex > -1 && le.value), j = C(() => l.isHead && l.fixedColumnRightIndex > -1 && le.value && l.fixedColumnRightIndex > l.fixedColumnLeftIndex + 1), At = C(() => {
1397
- const e = {
1398
- "panel-table": !0,
1399
- "table-disabled": l.disabled
1400
- };
1401
- return c.isRunLoading && (e["table-loading"] = !0), i.osType().isMobile && (e["table-mob"] = !0), i.getJsonMerge(e, Q.getClassNameJson(l.className));
1402
- }), Ht = C(() => {
1403
- const e = {
1404
- "table-head-wrapper": !0,
1405
- "table-scrollY": me.value,
1406
- "table-scroll-occupy-y": k.value
1407
- };
1408
- return I.isShow && (e["table-fixed-head"] = !0), e;
1409
- }), Dt = C(() => {
1410
- const e = {
1411
- "table-head-container": !0
1412
- };
1413
- return l.isScrollX && (e["table-scrollX"] = !0), (Y.value || j.value) && (e["table-fixed-column"] = !0, d.isShow ? e[`table-scrollX-${d.posType}`] = !0 : e["table-scrollX-none"] = !0), e;
1414
- }), Xt = C(() => {
1415
- const e = {
1416
- "table-body-wrapper": !0,
1417
- "table-scrollY": me.value,
1418
- "table-scrollX": l.isScrollX,
1419
- "table-scrollX-bottom": d.isShow
1420
- };
1421
- return e["table-scroll-borderT0"] = d.isShow && l.isScrollX, (Y.value || j.value) && (e["table-fixed-column"] = !0, d.isShow ? e[`table-scrollX-${d.posType}`] = !0 : e["table-scrollX-none"] = !0), e;
1422
- }), Ut = C(() => {
1423
- const e = {};
1424
- if ((Y.value || j.value) && me.value) {
1425
- const a = d.isShow ? Math.max(0, l.scrollY - Ot) : l.scrollY;
1426
- e.maxHeight = `${a}px`;
1427
- }
1428
- return e;
1429
- }), Ft = C(() => {
1430
- const e = {};
1431
- return Y.value || j.value || me.value && (e.maxHeight = `${l.scrollY}px`), e;
1432
- }), Vt = C(() => {
1433
- const e = {};
1434
- return c.isRunLoading && (e.height = `${R.headHeight}px`), e;
1435
- }), Jt = (e) => {
1436
- B("onGetData", e);
1437
- }, zt = (e, a, s, o, f) => {
1438
- B("onClickElastic", e, a, s, o, f);
1439
- }, Yt = (e, a, s = !1) => {
1440
- B("onClickRow", e, a, s);
1441
- }, jt = (e, a, s) => {
1442
- B("onChangeChecked", e, a, s);
1443
- }, Be = () => {
1444
- const e = $e();
1445
- B("onChangeParams", e);
1446
- }, Fe = () => {
1447
- Z(() => {
1448
- if (F.value) {
1449
- const e = F.value.querySelector("thead");
1450
- e && (R.headHeight = e.offsetHeight);
1451
- }
1452
- }), c.isRunLoading = !0;
1453
- }, ft = () => {
1454
- c.isRunLoading = !1;
1455
- }, Ve = () => {
1456
- let e = 0, a = 0;
1457
- (c.isCheckedRadio || c.isCheckedCheckbox) && (e = 1, m.value && (a = m.value.getRcWidth())), (i.isEmpty(l.columns) ? [] : l.columns).forEach((f) => {
1458
- (i.isBoolean(f?.visible) ? f.visible : !0) && (e += 1, !i.isEmpty(f) && !i.isEmpty(f.width) ? a += Number(f.width) || 0 : !i.isEmpty(f) && !i.isEmpty(f.widthMin) && (a += Number(f.widthMin) || 0));
1459
- });
1460
- const o = m.value ? m.value.getPaddingLr() : 0;
1461
- a += o, c.colspanCount = e, le.value && (d.minWidth = a > 0 ? `${a}px` : "auto");
1462
- }, Je = () => new Promise((e, a) => {
1463
- Z(() => {
1464
- try {
1465
- if (!x.value) {
1466
- e();
1467
- return;
1468
- }
1469
- const s = x.value.getWidth();
1470
- v.totalWidth = `${s}px`;
1471
- let o = s;
1472
- if (Y.value || j.value) {
1473
- const f = [], h = [];
1474
- (i.isEmpty(l.columns) ? [] : l.columns).forEach((de, Te) => {
1475
- (i.isBoolean(de?.visible) ? de.visible : !0) && (Y.value && Te <= l.fixedColumnLeftIndex && f.push(de), j.value && Te >= l.fixedColumnRightIndex && h.push(de));
1476
- });
1477
- const V = c.isCheckedRadio || c.isCheckedCheckbox, $ = m.value ? m.value.getElTh() : [], ge = $.length;
1478
- let fe = f.length;
1479
- const Ee = h.length;
1480
- let pt = fe - 1;
1481
- const ii = ge - Ee;
1482
- V && (fe += 1, pt += 1);
1483
- let it = 0, lt = 0;
1484
- for (let de = 0; de < ge; de++) {
1485
- const Te = $[de];
1486
- if (!Te)
1487
- continue;
1488
- const at = Te.clientWidth;
1489
- de <= pt && (it += at), de >= ii && (lt += at);
1490
- }
1491
- Y.value && (v.leftColumnLength = f.length, v.leftWidth = `${it}px`, o -= it), j.value && (v.rightColumnLength = h.length, v.rightWidth = `${lt}px`, o -= lt);
1492
- }
1493
- o = Math.max(0, o), v.centerWidth = `${o}px`, Z(() => {
1494
- e();
1495
- });
1496
- } catch (s) {
1497
- a(s);
1498
- }
1499
- });
1500
- }), ht = () => {
1501
- Z(() => {
1502
- x.value && x.value.setElasticWidth();
1503
- });
1504
- }, qt = (e) => {
1505
- (Y.value || j.value) && x.value && x.value.setElasticHeight(e);
1506
- }, yt = (e) => {
1507
- if (l.isElasticLoad) {
1508
- const a = i.getArrClone(X.loading);
1509
- a.indexOf(e) === -1 && (a.push(e), X.loading = a);
1510
- }
1511
- }, gt = (e) => {
1512
- if (l.isElasticLoad) {
1513
- const a = i.getArrClone(X.loading), s = a.indexOf(e);
1514
- s > -1 && (a.splice(s, 1), X.loading = a, Z(() => {
1515
- qt(e);
1516
- }));
1517
- }
1518
- }, ze = (e, a, s, o) => {
1519
- if (i.isEmpty(e) || i.isEmpty(e.id))
1520
- return;
1521
- const f = e.id.toString(), h = i.getArrClone(X.open), L = h.indexOf(f), V = L === -1;
1522
- V ? (h.push(f), yt(f)) : (h.splice(L, 1), gt(f), (Y.value || j.value) && x.value && x.value.removeElasticAbsolute(f)), Gt(s, V);
1523
- const $ = i.isBoolean(o) ? o : !0;
1524
- X.open = h, $ && zt(f, e, a, V, s), ht();
1525
- }, Kt = () => {
1526
- const e = [], a = i.isEmpty(l.elasticIconCls) ? [] : l.elasticIconCls;
1527
- if (a.length === 2) {
1528
- const s = N.value, o = X.open;
1529
- s.forEach((f) => {
1530
- if (!f) {
1531
- e.push(f);
1532
- return;
1533
- }
1534
- const h = i.getJsonClone(f);
1535
- if (!i.isEmpty(h.id)) {
1536
- const L = h.id.toString();
1537
- h._elasticIconCls = o.indexOf(L) > -1 ? a[1] : a[0];
1538
- }
1539
- e.push(h);
1540
- });
1541
- }
1542
- e.length > 0 && (N.value = e);
1543
- }, Gt = (e, a = !1) => {
1544
- if (e) {
1545
- const s = [], o = ["elastic-expand", "elastic-retract"];
1546
- a ? s.push("elastic-expand") : s.push("elastic-retract");
1547
- const f = i.isEmpty(l.elasticIconCls) ? [] : l.elasticIconCls;
1548
- f.length === 2 && (o.push(f[0]), o.push(f[1]), a ? s.push(f[1]) : s.push(f[0]));
1549
- let h = Q.getRemoveClass(e.className, o.join(" "));
1550
- h = Q.getAddClass(h, s), e.className = h;
1551
- }
1552
- }, We = () => $i(N.value), Ne = (e = null) => {
1553
- const a = i.isUndefined(e) || e === null ? ee.value : e;
1554
- return Pi(a, We(), c.isCheckedRadio);
1555
- }, Ye = () => {
1556
- if (c.isCheckedCheckbox) {
1557
- const e = We(), a = Ne();
1558
- re.value = Mi(e, a);
1559
- }
1560
- }, mt = () => {
1561
- const e = [], a = Ne(), s = We(), o = Ai(s, a);
1562
- if (c.isCheckedCheckbox)
1563
- a.forEach((f) => {
1564
- const h = n.dataJson[f.toString()];
1565
- i.isUndefined(h) || e.push(h);
1566
- });
1567
- else if (c.isCheckedRadio && a.length > 0) {
1568
- const f = n.dataJson[a[0]];
1569
- i.isUndefined(f) || e.push(f);
1570
- }
1571
- return { checkedIds: a, unCheckedIds: o, checkedData: e };
1572
- }, je = () => {
1573
- const e = mt();
1574
- jt(e.checkedIds.join(","), e.checkedData, {
1575
- checkedIds: e.checkedIds,
1576
- unCheckedIds: e.unCheckedIds
1577
- });
1578
- }, vt = (e) => {
1579
- if (i.isEmpty(e) || i.isEmpty(e.id))
1580
- return;
1581
- const a = e.id.toString(), s = ee.value;
1582
- let o = [];
1583
- if (c.isCheckedCheckbox) {
1584
- const f = i.isExistValue(s, a);
1585
- s.forEach((h) => {
1586
- h !== a && o.push(h);
1587
- }), f || o.push(a), ee.value = o, Ye(), je();
1588
- } else
1589
- s.length > 0 && s[0] === a || (o = [a], ee.value = o, je());
1590
- }, qe = () => {
1591
- if (le.value && y.value && x.value) {
1592
- const e = y.value.clientWidth, a = x.value.getWidth();
1593
- d.isShow = a > e;
1594
- }
1595
- }, Ke = () => {
1596
- if (me.value && x.value) {
1597
- const e = x.value.getHeight();
1598
- let a = e > l.scrollY;
1599
- if (a || (Y.value || j.value ? oe.value && (a = e > oe.value.clientHeight) : y.value && y.value.offsetHeight >= l.scrollY && (a = e > y.value.clientHeight)), a && ke.value && m.value) {
1600
- const s = m.value.getTotalHeight() - (i.osType().isMobile ? 2 : 0);
1601
- c.totalHeight = `${s}px`;
1602
- }
1603
- k.value = a;
1604
- }
1605
- }, Re = () => {
1606
- if ((Y.value || j.value) && y.value && x.value) {
1607
- let e = y.value.scrollLeft;
1608
- const a = y.value.clientWidth, s = x.value.getWidth();
1609
- let o = "left";
1610
- e > 0 && (a + e >= s ? o = "right" : o = "center"), d.posType = o;
1611
- }
1612
- }, xt = () => {
1613
- if (!D.value || !x.value)
1614
- return;
1615
- let e = F.value ? F.value.scrollLeft : 0;
1616
- const a = D.value.clientWidth, s = x.value.getWidth();
1617
- a + e > s && (e = 0), X.loading.length > 0 && x.value.setElasticLoadLeft(e), N.value.length === 0 && x.value.setEmptyLeft(e);
1618
- }, Ge = (e) => {
1619
- pe = e.target.scrollLeft, A === null && (A = requestAnimationFrame(() => {
1620
- A = null;
1621
- const a = pe;
1622
- F.value && (F.value.scrollLeft = a), y.value && (y.value.scrollLeft = a), b.value && b.value.setScrollLeft(a), M.value && M.value.setScrollLeft(a), Re(), xt();
1623
- }));
1624
- }, St = (e) => {
1625
- const a = e.target, s = a.scrollLeft;
1626
- a.scrollWidth - a.clientWidth - s < 1 && y.value && y.value.scrollLeft > s || (s !== n.scrollHead.left && Ge(e), n.scrollHead.left = s);
1627
- }, Ct = (e) => {
1628
- const a = e.target.scrollLeft;
1629
- a !== n.scrollBody.left && Ge(e), n.scrollBody.left = a;
1630
- }, Ze = () => {
1631
- if (l.isFixedHead && ne.value && !c.isRunLoading) {
1632
- let e = !1, a = "auto", s = "auto";
1633
- const o = ne.value && ne.value.parentNode ? Q.getPositionView(ne.value.parentNode) : null;
1634
- if (o && o.top < 0 && D.value && te.value && m.value) {
1635
- const f = D.value.clientHeight;
1636
- if (o.top > (f - Zi) * -1) {
1637
- e = !0;
1638
- const h = D.value.offsetWidth, L = d.isShow && l.isScrollX ? te.value.offsetHeight : m.value.getOffsetHeight();
1639
- a = `${h}px`, s = `${L}px`;
1640
- }
1641
- }
1642
- I.isShow = e, I.width = a, I.height = s;
1643
- }
1644
- }, Qe = () => {
1645
- N.value.length === 0 && Z(() => {
1646
- x.value && x.value.setEmptyWidth();
1647
- });
1648
- }, $e = () => {
1649
- const e = {};
1650
- if (l.isPaginate) {
1651
- const { pages: a, limit: s } = n.changeNewPaginate;
1652
- e.pages = a, e.limit = s, e.offset = (e.pages - 1) * e.limit;
1653
- }
1654
- if (l.isOrder) {
1655
- const { orderIndex: a, orderBy: s } = n.changeNewSort;
1656
- e.orderIndex = a, e.orderBy = s;
1657
- const o = l.columns[a];
1658
- i.isUndefined(o) || (e.orderColumns = o.data);
1659
- }
1660
- return e;
1661
- }, Zt = () => {
1662
- l.scrollY > 0 && Z(() => {
1663
- if (!y.value)
1664
- return;
1665
- const e = y.value.querySelectorAll(".tr-selected");
1666
- y.value.scrollTop = e && e.length > 0 && e[0].offsetTop > Qi ? e[0].offsetTop - _i : 0;
1667
- });
1668
- }, wt = (e = {}) => {
1669
- if (c.isCheckedRadio || c.isCheckedCheckbox) {
1670
- const a = Oe();
1671
- ee.value = Ne(a), Ye(), Zt();
1672
- }
1673
- l.isElastic && ((!i.isBoolean(e.isElasticCloseAll) || e.isElasticCloseAll) && (X.open = [], (Y.value || j.value) && x.value && x.value.clearElasticAbsolute()), X.loading = [], Kt()), c.hoverTrIndex = -1, c.hoverTrElasticIndex = -1, Z(() => {
1674
- l.isPaginate && (ie.pages = n.changeNewPaginate.pages, ie.limit = n.changeNewPaginate.limit), l.isOrder && (he.value = J([
1675
- n.changeNewSort.orderIndex,
1676
- n.changeNewSort.orderBy
1677
- ])), ft(), Ve(), Z(() => {
1678
- Ke(), qe(), Je().then(() => {
1679
- Re();
1680
- }).catch((a) => {
1681
- st.warn("ClTable", "表格固定列分析失败", a);
1682
- }), Qe(), Ze();
1683
- });
1684
- });
1685
- }, bt = (e, a) => {
1686
- const s = i.isEmpty(l.list) ? [] : l.list;
1687
- let o = [];
1688
- if (a) {
1689
- if (l.isOrder) {
1690
- const f = {}, h = [];
1691
- let L = "string";
1692
- if (!i.isUndefined(e.orderIndex)) {
1693
- const V = e.orderColumns, $ = l.columns[e.orderIndex];
1694
- if (!i.isUndefined($))
1695
- if (i.isEmpty($.sortType))
1696
- switch ($.format) {
1697
- case "int":
1698
- case "float2":
1699
- case "float3":
1700
- L = "number";
1701
- break;
1702
- case "date":
1703
- case "dateTime":
1704
- case "time":
1705
- L = "date";
1706
- break;
1707
- default:
1708
- L = "string";
1709
- }
1710
- else
1711
- L = $.sortType;
1712
- s.forEach((ge) => {
1713
- if (!ge)
1714
- return;
1715
- let fe = ge[V];
1716
- fe = i.isUndefined(fe) || fe === null ? "" : fe;
1717
- const Ee = fe.toString();
1718
- i.isExistJsonKey(f, Ee) || (f[Ee] = [], h.push(fe)), f[Ee].push(i.getJsonClone(ge));
1719
- });
1720
- }
1721
- h.length > 0 && (e.orderBy === "desc" ? i.getArrDesc(h, L) : i.getArrAsc(h, L)).forEach(($) => {
1722
- o.push(...f[$.toString()]);
1723
- });
1724
- } else
1725
- o = i.getListClone(l.list);
1726
- n.sortLocalData = o;
1727
- } else
1728
- o = n.sortLocalData;
1729
- if (l.isPaginate) {
1730
- const f = [], h = o.length, L = e.offset;
1731
- let V = e.offset + e.limit;
1732
- if (V = h < V ? h : V, h && h >= L && h > 0)
1733
- for (let $ = L; $ < V; $ += 1)
1734
- f.push(i.getJsonClone(o[$]));
1735
- return f;
1736
- } else
1737
- return o;
1738
- }, ye = (e = {}) => {
1739
- const a = $e();
1740
- ee.value = [], re.value = !1, Fe(), l.isServer ? (n.timerBody && clearTimeout(n.timerBody), n.timerBody = setTimeout(() => {
1741
- n.timerBody = null, Jt(a);
1742
- }, Bt)) : (n.timerBody && clearTimeout(n.timerBody), n.timerBody = setTimeout(() => {
1743
- n.timerBody = null;
1744
- const s = i.isBoolean(e.isChangePage) ? !e.isChangePage : !0;
1745
- N.value = bt(a, s), wt();
1746
- }, Bt));
1747
- }, Qt = () => {
1748
- le.value && (F.value && F.value.addEventListener("scroll", St), y.value && y.value.addEventListener("scroll", Ct));
1749
- }, _t = () => {
1750
- if (me.value) {
1751
- const e = window, a = e.MutationObserver || e.WebKitMutationObserver || e.MozMutationObserver;
1752
- if (!a)
1753
- return;
1754
- W.observerBodyScrollY = new a(() => {
1755
- Ke();
1756
- });
1757
- const s = W.observerBodyScrollY;
1758
- x.value && x.value.$el && s && s.observe(x.value.$el, {
1759
- childList: !0,
1760
- subtree: !0
1761
- });
1762
- }
1763
- }, Pe = () => {
1764
- qe(), Je().then(() => {
1765
- Re();
1766
- }).catch((e) => {
1767
- st.warn("ClTable", "表格固定列分析失败", e);
1768
- }), ht(), Qe(), xt(), Z(() => {
1769
- Ze();
1770
- });
1771
- }, Me = () => {
1772
- z === null && (z = requestAnimationFrame(() => {
1773
- z = null, Ze();
1774
- }));
1775
- }, ei = () => {
1776
- Ve(), Z(() => {
1777
- l.isServer ? ye() : i.isEmpty(l.list) ? l.isShowInitLoadIng ? Fe() : Z(() => {
1778
- Qe();
1779
- }) : (ye(), l.isShowInitLoadIng || (c.isRunLoading = !1));
1780
- });
1781
- };
1782
- ai(() => {
1783
- Z(() => {
1784
- ei(), Qt(), _t(), n.resizeEvent = new Et({
1785
- isDelay: !0,
1786
- // 拖拽窗口高频触发 resize,DelayFun 默认 200ms 节流(isDelay 默认即 true,显式标注语义)
1787
- callback: () => {
1788
- Pe();
1789
- }
1790
- }), l.isFixedHead && window.addEventListener("scroll", Me);
1791
- });
1792
- }), si(() => {
1793
- l.isFixedHead && window.addEventListener("scroll", Me), n.resizeEvent || (n.resizeEvent = new Et({
1794
- isDelay: !0,
1795
- callback: () => {
1796
- Pe();
1797
- }
1798
- })), Pe(), n.pendingCanceled && (n.pendingCanceled = !1, ye());
1799
- }), ni(() => {
1800
- window.removeEventListener("scroll", Me), n.timerBody && (clearTimeout(n.timerBody), n.timerBody = null, c.isRunLoading = !1, n.pendingCanceled = !0), n.resizeEvent && (n.resizeEvent.destroy(), n.resizeEvent = null), A !== null && (cancelAnimationFrame(A), A = null), z !== null && (cancelAnimationFrame(z), z = null);
1801
- }), oi(() => {
1802
- n.timerBody && (clearTimeout(n.timerBody), n.timerBody = null), W.observerBodyScrollY && (W.observerBodyScrollY.disconnect(), W.observerBodyScrollY.takeRecords(), W.observerBodyScrollY = null), le.value && (F.value && F.value.removeEventListener("scroll", St), y.value && y.value.removeEventListener("scroll", Ct)), n.resizeEvent && n.resizeEvent.destroy(), A !== null && (cancelAnimationFrame(A), A = null), z !== null && (cancelAnimationFrame(z), z = null), window.removeEventListener("scroll", Me);
1803
- }), we(
1804
- () => l.list,
1805
- (e, a) => {
1806
- const s = i.isEmpty(e) ? [] : e;
1807
- if (n.timerBody && (clearTimeout(n.timerBody), n.timerBody = null), n.dataJson = i.getJsonByList(s), l.isServer)
1808
- N.value = i.getListClone(s);
1809
- else if (l.isParamTriggerServer)
1810
- N.value = i.getListClone(s, !0);
1811
- else {
1812
- n.changeNewPaginate.pages = 1;
1813
- const f = $e();
1814
- N.value = bt(f, !0);
1815
- }
1816
- const o = {};
1817
- if (l.isElastic) {
1818
- let f = !1;
1819
- if (a)
1820
- if (s.length === a.length) {
1821
- const h = new Set(a.map((L) => L?.id));
1822
- f = s.some((L) => L && !h.has(L.id));
1823
- } else
1824
- f = !0;
1825
- f || (o.isElasticCloseAll = !1);
1826
- }
1827
- wt(o);
1828
- },
1829
- { deep: !0 }
1830
- ), we(
1831
- () => l.columns,
1832
- () => {
1833
- Z(() => {
1834
- Ve(), Z(() => {
1835
- Ke(), qe(), Je().then(() => {
1836
- Re();
1837
- }).catch((e) => {
1838
- st.warn("ClTable", "表格固定列分析失败", e);
1839
- });
1840
- });
1841
- });
1842
- },
1843
- { deep: !0 }
1844
- ), we(
1845
- () => l.selectValue,
1846
- () => {
1847
- const e = Oe();
1848
- ee.value = Ne(e), Ye();
1849
- }
1850
- ), we(
1851
- () => l.orderSort,
1852
- (e, a) => {
1853
- if (e && e.length >= 2 && !(e[0] === n.changeNewSort.orderIndex && e[1] === n.changeNewSort.orderBy)) {
1854
- const s = J(l.orderSort);
1855
- n.changeNewPaginate.pages = 1, ie.pages = 1, n.changeNewSort = {
1856
- orderIndex: s[0],
1857
- orderBy: s[1]
1858
- }, he.value = s, !l.isServer && l.isParamTriggerServer ? Be() : ye({ isChangePage: !1 });
1859
- }
1860
- },
1861
- { deep: !0 }
1862
- ), we(
1863
- [() => l.pageOffset, () => l.paginateLimit],
1864
- ([e, a], [s, o]) => {
1865
- const f = T();
1866
- n.changeNewPaginate.pages = f, n.changeNewPaginate.limit = a, ie.pages = f, ie.limit = a, !l.isServer && l.isParamTriggerServer ? Be() : ye({ isChangePage: !0 });
1867
- }
1868
- );
1869
- const _e = () => {
1870
- if (l.disabled)
1871
- return;
1872
- const e = !re.value;
1873
- let a = [];
1874
- if (e) {
1875
- const s = We(), o = ee.value, f = [];
1876
- s.forEach((h) => {
1877
- i.isExistValue(o, h) || f.push(h);
1878
- }), a = o.concat(f);
1879
- }
1880
- re.value = e, ee.value = a, je();
1881
- }, et = (e, a, s) => {
1882
- l.disabled || c.isRunLoading || (n.changeNewPaginate.pages = 1, ie.pages = 1, n.changeNewSort.orderIndex = a, n.changeNewSort.orderBy = s, !l.isServer && l.isParamTriggerServer ? Be() : ye({ isChangePage: !1 }));
1883
- }, tt = (e, a, s) => {
1884
- if (!a || i.isEmpty(a) || i.isBoolean(a.isDisabled) && a.isDisabled || l.disabled)
1885
- return;
1886
- const o = i.isNonEmptyString(l.rowClickKeyInvalid) ? Q.getParent(e.target, l.rowClickKeyInvalid, e.currentTarget, !1) : void 0;
1887
- if (i.isUndefined(o)) {
1888
- if (l.isElastic) {
1889
- const h = i.isNonEmptyString(l.rowClickKeyElastic) ? Q.getParent(e.target, l.rowClickKeyElastic, e.currentTarget, !1) : void 0;
1890
- if (i.isUndefined(h))
1891
- l.isClickRowLinkage && ze(a, s);
1892
- else {
1893
- ze(a, s, h);
1894
- return;
1895
- }
1896
- }
1897
- let f = !1;
1898
- if (c.isCheckedRadio || c.isCheckedCheckbox) {
1899
- let h = Q.getParent(e.target, ".th-rc", e.currentTarget, !1);
1900
- h === e.currentTarget && (h = null), i.isUndefined(h) ? l.isClickRowLinkage && vt(a) : (f = !0, vt(a));
1901
- }
1902
- Yt(a, s, f);
1903
- }
1904
- }, xe = (e, a = -1) => {
1905
- c.hoverTrIndex = e, c.hoverTrElasticIndex = a;
1906
- }, Se = () => {
1907
- c.hoverTrIndex = -1, c.hoverTrElasticIndex = -1;
1908
- }, ti = (e, a) => {
1909
- l.disabled || c.isRunLoading || l.isPaginate && (n.changeNewPaginate.pages = e, n.changeNewPaginate.limit = a, !l.isServer && l.isParamTriggerServer ? Be() : ye({ isChangePage: !0 }));
1910
- }, It = (e) => {
1911
- Ge(e);
1912
- };
1913
- return g({
1914
- getParamInfo: () => $e(),
1915
- refresh: (e = !0) => {
1916
- c.isRunLoading || (e && (n.changeNewPaginate.pages = 1), ye());
1917
- },
1918
- getData: () => {
1919
- const e = kt(N.value);
1920
- return i.getListClone(e);
1921
- },
1922
- getDataAll: () => {
1923
- if (l.isServer) {
1924
- const e = kt(N.value);
1925
- return i.getListClone(e);
1926
- }
1927
- return i.getListClone(n.sortLocalData);
1928
- },
1929
- getSelectData: () => {
1930
- const e = mt();
1931
- return { ids: (e?.checkedIds || []).join(","), list: e?.checkedData || [] };
1932
- },
1933
- loadStart: () => {
1934
- Fe();
1935
- },
1936
- loadStop: () => {
1937
- ft();
1938
- },
1939
- loadElasticStart: (e) => {
1940
- i.isUndefined(e) || e === null || yt(e.toString());
1941
- },
1942
- loadElasticStop: (e) => {
1943
- i.isUndefined(e) || e === null || gt(e.toString());
1944
- },
1945
- closeElastic: (e, a, s) => {
1946
- if (i.isEmpty(e) || i.isEmpty(e.id))
1947
- return;
1948
- const o = e.id.toString();
1949
- if (X.open.indexOf(o) === -1)
1950
- return;
1951
- const f = s || (y.value ? y.value.querySelector(
1952
- `[data-elastic-id="${CSS.escape(o)}"]`
1953
- ) : null);
1954
- ze(e, a, f, !1);
1955
- },
1956
- refreshResize: () => {
1957
- Pe();
1958
- }
1959
- }), (e, a) => (r(), u("div", {
1960
- id: G(ue),
1961
- class: P(At.value)
1962
- }, [
1963
- O("div", Di, [
1964
- t.isHead ? (r(), u(p, { key: 0 }, [
1965
- O("div", {
1966
- class: P(Ht.value),
1967
- style: q({ width: I.width }),
1968
- ref_key: "refElHeadWrapper",
1969
- ref: ne
1970
- }, [
1971
- O("div", {
1972
- class: P(Dt.value),
1973
- ref_key: "refElHeadContainer",
1974
- ref: te
1975
- }, [
1976
- O("div", {
1977
- class: "table-head-main",
1978
- ref_key: "refElHeadMain",
1979
- ref: F
1980
- }, [
1981
- se(ot, {
1982
- minWidth: d.minWidth,
1983
- columns: t.columns,
1984
- isOrder: t.isOrder,
1985
- orderSort: he.value,
1986
- isShowTotal: ke.value,
1987
- totalInfo: t.totalData,
1988
- keyIndex: _,
1989
- hoverIndex: c.hoverTrIndex,
1990
- isUseScrollX: le.value,
1991
- isShowRadio: c.isCheckedRadio,
1992
- isShowCheckbox: c.isCheckedCheckbox,
1993
- isShowCheckboxAll: Ue.value,
1994
- disabled: t.disabled,
1995
- checkboxAllValue: re.value,
1996
- isInlineWidth: t.isInlineWidth,
1997
- widthClassPrefix: t.widthClassPrefix,
1998
- widthMinClassPrefix: t.widthMinClassPrefix,
1999
- onOnClickAll: _e,
2000
- onOnClickOrderBy: et,
2001
- onOnHoverIn: xe,
2002
- onOnHoverOut: Se,
2003
- ref_key: "refElHeadTable",
2004
- ref: m
2005
- }, Ce({ _: 2 }, [
2006
- U(Ae.value, (s) => ({
2007
- name: s,
2008
- fn: K((o) => [
2009
- H(e.$slots, s, {
2010
- data: o.data
2011
- })
2012
- ])
2013
- })),
2014
- U(De.value, (s) => ({
2015
- name: s,
2016
- fn: K((o) => [
2017
- H(e.$slots, s, {
2018
- data: o.data
2019
- })
2020
- ])
2021
- }))
2022
- ]), 1032, ["minWidth", "columns", "isOrder", "orderSort", "isShowTotal", "totalInfo", "hoverIndex", "isUseScrollX", "isShowRadio", "isShowCheckbox", "isShowCheckboxAll", "disabled", "checkboxAllValue", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"])
2023
- ], 512),
2024
- Y.value && v.leftColumnLength > 0 ? (r(), u("div", Xi, [
2025
- O("div", {
2026
- class: "table-fixed-column-left-container",
2027
- style: q({ width: v.leftWidth })
2028
- }, [
2029
- se(ot, {
2030
- fixedType: "left",
2031
- fixedLeftIndex: t.fixedColumnLeftIndex,
2032
- width: v.totalWidth,
2033
- columns: t.columns,
2034
- isOrder: t.isOrder,
2035
- orderSort: he.value,
2036
- isShowTotal: ke.value,
2037
- totalInfo: t.totalData,
2038
- keyIndex: _,
2039
- hoverIndex: c.hoverTrIndex,
2040
- isUseScrollX: le.value,
2041
- isShowRadio: c.isCheckedRadio,
2042
- isShowCheckbox: c.isCheckedCheckbox,
2043
- isShowCheckboxAll: Ue.value,
2044
- disabled: t.disabled,
2045
- checkboxAllValue: re.value,
2046
- isInlineWidth: t.isInlineWidth,
2047
- widthClassPrefix: t.widthClassPrefix,
2048
- widthMinClassPrefix: t.widthMinClassPrefix,
2049
- onOnClickAll: _e,
2050
- onOnClickOrderBy: et,
2051
- onOnHoverIn: xe,
2052
- onOnHoverOut: Se
2053
- }, Ce({ _: 2 }, [
2054
- U(Ae.value, (s) => ({
2055
- name: s,
2056
- fn: K((o) => [
2057
- H(e.$slots, s, {
2058
- data: o.data
2059
- })
2060
- ])
2061
- })),
2062
- U(De.value, (s) => ({
2063
- name: s,
2064
- fn: K((o) => [
2065
- H(e.$slots, s, {
2066
- data: o.data
2067
- })
2068
- ])
2069
- }))
2070
- ]), 1032, ["fixedLeftIndex", "width", "columns", "isOrder", "orderSort", "isShowTotal", "totalInfo", "hoverIndex", "isUseScrollX", "isShowRadio", "isShowCheckbox", "isShowCheckboxAll", "disabled", "checkboxAllValue", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"])
2071
- ], 4)
2072
- ])) : (r(), u(p, { key: 1 }, [], 64)),
2073
- j.value && v.rightColumnLength > 0 ? (r(), u("div", Ui, [
2074
- O("div", {
2075
- class: "table-fixed-column-right-container",
2076
- style: q({ width: v.rightWidth })
2077
- }, [
2078
- se(ot, {
2079
- fixedType: "right",
2080
- fixedRightIndex: t.fixedColumnRightIndex,
2081
- width: v.totalWidth,
2082
- columns: t.columns,
2083
- isOrder: t.isOrder,
2084
- orderSort: he.value,
2085
- keyIndex: _,
2086
- hoverIndex: c.hoverTrIndex,
2087
- isShowTotal: ke.value,
2088
- totalInfo: t.totalData,
2089
- isUseScrollX: le.value,
2090
- isShowRadio: c.isCheckedRadio,
2091
- isShowCheckbox: c.isCheckedCheckbox,
2092
- isShowCheckboxAll: Ue.value,
2093
- disabled: t.disabled,
2094
- checkboxAllValue: re.value,
2095
- isInlineWidth: t.isInlineWidth,
2096
- widthClassPrefix: t.widthClassPrefix,
2097
- widthMinClassPrefix: t.widthMinClassPrefix,
2098
- onOnClickAll: _e,
2099
- onOnClickOrderBy: et,
2100
- onOnHoverIn: xe,
2101
- onOnHoverOut: Se
2102
- }, Ce({ _: 2 }, [
2103
- U(Ae.value, (s) => ({
2104
- name: s,
2105
- fn: K((o) => [
2106
- H(e.$slots, s, {
2107
- data: o.data
2108
- })
2109
- ])
2110
- })),
2111
- U(De.value, (s) => ({
2112
- name: s,
2113
- fn: K((o) => [
2114
- H(e.$slots, s, {
2115
- data: o.data
2116
- })
2117
- ])
2118
- }))
2119
- ]), 1032, ["fixedRightIndex", "width", "columns", "isOrder", "orderSort", "hoverIndex", "isShowTotal", "totalInfo", "isUseScrollX", "isShowRadio", "isShowCheckbox", "isShowCheckboxAll", "disabled", "checkboxAllValue", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"])
2120
- ], 4)
2121
- ])) : (r(), u(p, { key: 3 }, [], 64))
2122
- ], 2),
2123
- k.value ? (r(), u("div", Fi, [
2124
- a[0] || (a[0] = O("div", null, null, -1)),
2125
- ke.value ? (r(), u("div", {
2126
- key: 0,
2127
- class: "table-scroll-occupy-total",
2128
- style: q({ height: c.totalHeight })
2129
- }, null, 4)) : (r(), u(p, { key: 1 }, [], 64)),
2130
- t.isScrollX ? (r(), u("div", {
2131
- key: 2,
2132
- class: P({ "table-scroll-occupy-corner": d.isShow })
2133
- }, null, 2)) : (r(), u(p, { key: 3 }, [], 64))
2134
- ])) : (r(), u(p, { key: 1 }, [], 64)),
2135
- t.isScrollX ? ut((r(), u("div", Vi, [
2136
- se(Lt, {
2137
- isShowLeft: Y.value,
2138
- isShowRight: j.value,
2139
- leftWidth: v.leftWidth,
2140
- centerWidth: v.centerWidth,
2141
- rightWidth: v.rightWidth,
2142
- isShowCorner: k.value,
2143
- cornerType: "right-top",
2144
- onOnScrollX: It,
2145
- ref_key: "refElHeadFixedScrollX",
2146
- ref: b
2147
- }, null, 8, ["isShowLeft", "isShowRight", "leftWidth", "centerWidth", "rightWidth", "isShowCorner"])
2148
- ], 512)), [
2149
- [ri, d.isShow]
2150
- ]) : (r(), u(p, { key: 3 }, [], 64)),
2151
- I.isShow && c.isRunLoading ? (r(), u("div", Ji)) : (r(), u(p, { key: 5 }, [], 64))
2152
- ], 6),
2153
- I.isShow ? (r(), u("div", {
2154
- key: 0,
2155
- style: q({ height: I.height, width: I.width })
2156
- }, null, 4)) : (r(), u(p, { key: 1 }, [], 64))
2157
- ], 64)) : (r(), u(p, { key: 1 }, [], 64)),
2158
- O("div", {
2159
- class: P(Xt.value),
2160
- ref_key: "refElBodyWrapper",
2161
- ref: D
2162
- }, [
2163
- O("div", {
2164
- class: "table-body-container",
2165
- style: q(Ut.value),
2166
- ref_key: "refElBodyContainer",
2167
- ref: oe
2168
- }, [
2169
- O("div", {
2170
- class: P({ "table-body-main": !0, "table-body-empty": N.value.length === 0 }),
2171
- style: q(Ft.value),
2172
- ref_key: "refElBodyMain",
2173
- ref: y
2174
- }, [
2175
- se(rt, {
2176
- minWidth: d.minWidth,
2177
- columns: t.columns,
2178
- list: N.value,
2179
- disabled: t.disabled,
2180
- isOrder: t.isOrder,
2181
- selectValue: ee.value,
2182
- keyIndex: _,
2183
- hoverIndex: c.hoverTrIndex,
2184
- hoverElasticIndex: c.hoverTrElasticIndex,
2185
- isUseScrollX: le.value,
2186
- colspanCount: c.colspanCount,
2187
- isRunLoading: c.isRunLoading,
2188
- isShowRadio: c.isCheckedRadio,
2189
- isShowCheckbox: c.isCheckedCheckbox,
2190
- isElastic: t.isElastic,
2191
- elasticOpen: X.open,
2192
- elasticLoading: X.loading,
2193
- elasticType: t.elasticType,
2194
- elasticData: t.elasticData,
2195
- trIntervalNum: t.trIntervalNum,
2196
- isStriped: t.isStriped,
2197
- emptyText: t.emptyText,
2198
- isInlineWidth: t.isInlineWidth,
2199
- widthClassPrefix: t.widthClassPrefix,
2200
- widthMinClassPrefix: t.widthMinClassPrefix,
2201
- onOnClickTr: tt,
2202
- onOnHoverIn: xe,
2203
- onOnHoverOut: Se,
2204
- ref_key: "refElBodyTable",
2205
- ref: x
2206
- }, Ce({ _: 2 }, [
2207
- U(He.value, (s) => ({
2208
- name: s,
2209
- fn: K((o) => [
2210
- H(e.$slots, s, {
2211
- data: o.data,
2212
- trIndex: o.trIndex
2213
- })
2214
- ])
2215
- })),
2216
- U(Xe.value, (s) => ({
2217
- name: s,
2218
- fn: K((o) => [
2219
- H(e.$slots, s, {
2220
- data: o.data,
2221
- trIndex: o.trIndex,
2222
- trElasticInx: o.trElasticInx
2223
- })
2224
- ])
2225
- }))
2226
- ]), 1032, ["minWidth", "columns", "list", "disabled", "isOrder", "selectValue", "hoverIndex", "hoverElasticIndex", "isUseScrollX", "colspanCount", "isRunLoading", "isShowRadio", "isShowCheckbox", "isElastic", "elasticOpen", "elasticLoading", "elasticType", "elasticData", "trIntervalNum", "isStriped", "emptyText", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"])
2227
- ], 6),
2228
- Y.value && v.leftColumnLength > 0 ? (r(), u("div", zi, [
2229
- O("div", {
2230
- class: "table-fixed-column-left-container",
2231
- style: q({ width: v.leftWidth })
2232
- }, [
2233
- se(rt, {
2234
- width: v.totalWidth,
2235
- fixedType: "left",
2236
- fixedLeftIndex: t.fixedColumnLeftIndex,
2237
- columns: t.columns,
2238
- list: N.value,
2239
- disabled: t.disabled,
2240
- isOrder: t.isOrder,
2241
- selectValue: ee.value,
2242
- keyIndex: _,
2243
- hoverIndex: c.hoverTrIndex,
2244
- hoverElasticIndex: c.hoverTrElasticIndex,
2245
- isUseScrollX: le.value,
2246
- colspanCount: c.colspanCount,
2247
- isRunLoading: c.isRunLoading,
2248
- isShowRadio: c.isCheckedRadio,
2249
- isShowCheckbox: c.isCheckedCheckbox,
2250
- isElastic: t.isElastic,
2251
- elasticOpen: X.open,
2252
- elasticLoading: X.loading,
2253
- elasticType: t.elasticType,
2254
- elasticData: t.elasticData,
2255
- trIntervalNum: t.trIntervalNum,
2256
- isStriped: t.isStriped,
2257
- emptyText: t.emptyText,
2258
- isInlineWidth: t.isInlineWidth,
2259
- widthClassPrefix: t.widthClassPrefix,
2260
- widthMinClassPrefix: t.widthMinClassPrefix,
2261
- onOnClickTr: tt,
2262
- onOnHoverIn: xe,
2263
- onOnHoverOut: Se
2264
- }, Ce({ _: 2 }, [
2265
- U(He.value, (s) => ({
2266
- name: s,
2267
- fn: K((o) => [
2268
- H(e.$slots, s, {
2269
- data: o.data,
2270
- trIndex: o.trIndex
2271
- })
2272
- ])
2273
- })),
2274
- U(Xe.value, (s) => ({
2275
- name: s,
2276
- fn: K((o) => [
2277
- H(e.$slots, s, {
2278
- data: o.data,
2279
- trIndex: o.trIndex,
2280
- trElasticInx: o.trElasticInx
2281
- })
2282
- ])
2283
- }))
2284
- ]), 1032, ["width", "fixedLeftIndex", "columns", "list", "disabled", "isOrder", "selectValue", "hoverIndex", "hoverElasticIndex", "isUseScrollX", "colspanCount", "isRunLoading", "isShowRadio", "isShowCheckbox", "isElastic", "elasticOpen", "elasticLoading", "elasticType", "elasticData", "trIntervalNum", "isStriped", "emptyText", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"])
2285
- ], 4)
2286
- ])) : (r(), u(p, { key: 1 }, [], 64)),
2287
- j.value && v.rightColumnLength > 0 ? (r(), u("div", Yi, [
2288
- O("div", {
2289
- class: "table-fixed-column-right-container",
2290
- style: q({ width: v.rightWidth })
2291
- }, [
2292
- se(rt, {
2293
- width: v.totalWidth,
2294
- fixedType: "right",
2295
- fixedRightIndex: t.fixedColumnRightIndex,
2296
- columns: t.columns,
2297
- list: N.value,
2298
- disabled: t.disabled,
2299
- isOrder: t.isOrder,
2300
- selectValue: ee.value,
2301
- keyIndex: _,
2302
- hoverIndex: c.hoverTrIndex,
2303
- hoverElasticIndex: c.hoverTrElasticIndex,
2304
- isUseScrollX: le.value,
2305
- colspanCount: c.colspanCount,
2306
- isRunLoading: c.isRunLoading,
2307
- isShowRadio: c.isCheckedRadio,
2308
- isShowCheckbox: c.isCheckedCheckbox,
2309
- isElastic: t.isElastic,
2310
- elasticOpen: X.open,
2311
- elasticLoading: X.loading,
2312
- elasticType: t.elasticType,
2313
- elasticData: t.elasticData,
2314
- trIntervalNum: t.trIntervalNum,
2315
- isStriped: t.isStriped,
2316
- emptyText: t.emptyText,
2317
- isInlineWidth: t.isInlineWidth,
2318
- widthClassPrefix: t.widthClassPrefix,
2319
- widthMinClassPrefix: t.widthMinClassPrefix,
2320
- onOnClickTr: tt,
2321
- onOnHoverIn: xe,
2322
- onOnHoverOut: Se
2323
- }, Ce({ _: 2 }, [
2324
- U(He.value, (s) => ({
2325
- name: s,
2326
- fn: K((o) => [
2327
- H(e.$slots, s, {
2328
- data: o.data,
2329
- trIndex: o.trIndex
2330
- })
2331
- ])
2332
- })),
2333
- U(Xe.value, (s) => ({
2334
- name: s,
2335
- fn: K((o) => [
2336
- H(e.$slots, s, {
2337
- data: o.data,
2338
- trIndex: o.trIndex,
2339
- trElasticInx: o.trElasticInx
2340
- })
2341
- ])
2342
- }))
2343
- ]), 1032, ["width", "fixedRightIndex", "columns", "list", "disabled", "isOrder", "selectValue", "hoverIndex", "hoverElasticIndex", "isUseScrollX", "colspanCount", "isRunLoading", "isShowRadio", "isShowCheckbox", "isElastic", "elasticOpen", "elasticLoading", "elasticType", "elasticData", "trIntervalNum", "isStriped", "emptyText", "isInlineWidth", "widthClassPrefix", "widthMinClassPrefix"])
2344
- ], 4)
2345
- ])) : (r(), u(p, { key: 3 }, [], 64))
2346
- ], 4),
2347
- t.isScrollX && N.value.length > 0 && d.isShow ? (r(), u(p, { key: 0 }, [
2348
- t.isScrollXBottom ? (r(), u("div", {
2349
- key: 0,
2350
- class: "table-fixed-column-scrollX",
2351
- style: q({ bottom: me.value ? "-1px" : "1px" })
2352
- }, [
2353
- se(Lt, {
2354
- isShowLeft: Y.value,
2355
- isShowRight: j.value,
2356
- leftWidth: v.leftWidth,
2357
- centerWidth: v.centerWidth,
2358
- rightWidth: v.rightWidth,
2359
- isShowCorner: k.value,
2360
- isShowCover: !1,
2361
- cornerType: "right-bottom",
2362
- onOnScrollX: It,
2363
- ref_key: "refElBodyFixedScrollX",
2364
- ref: M
2365
- }, null, 8, ["isShowLeft", "isShowRight", "leftWidth", "centerWidth", "rightWidth", "isShowCorner"])
2366
- ], 4)) : (r(), u("div", ji, [
2367
- O("div", {
2368
- style: q({ height: `${Ot}px` })
2369
- }, null, 4)
2370
- ]))
2371
- ], 64)) : (r(), u(p, { key: 1 }, [], 64))
2372
- ], 2),
2373
- t.isPaginate && N.value.length > 0 ? (r(), u("div", qi, [
2374
- a[1] || (a[1] = O("div", null, null, -1)),
2375
- se(fi, {
2376
- currentPage: ie.pages,
2377
- limitValue: ie.limit,
2378
- limitData: t.paginateLimitData,
2379
- isShowLimit: t.isPaginateLimit,
2380
- totalCount: Mt.value,
2381
- disabled: t.disabled || c.isRunLoading,
2382
- onOnChange: ti
2383
- }, null, 8, ["currentPage", "limitValue", "limitData", "isShowLimit", "totalCount", "disabled"])
2384
- ])) : (r(), u(p, { key: 3 }, [], 64))
2385
- ]),
2386
- c.isRunLoading ? (r(), u("div", Ki, [
2387
- O("div", Gi, [
2388
- O("div", {
2389
- class: "table-load-head",
2390
- style: q(Vt.value)
2391
- }, null, 4),
2392
- O("div", {
2393
- class: P({ "table-load-body": !0, "table-load-bg-gray": t.isLoading })
2394
- }, [
2395
- se(ui, {
2396
- isLoadIng: t.isLoading,
2397
- size: "xxl",
2398
- theme: t.loadTheme,
2399
- color: t.loadColor || void 0
2400
- }, null, 8, ["isLoadIng", "theme", "color"])
2401
- ], 2)
2402
- ])
2403
- ])) : (r(), u(p, { key: 1 }, [], 64))
2404
- ], 10, Hi));
2405
- }
2406
- });
2407
- export {
2408
- El as default
2409
- };
1
+ export { default } from '../utils/Web/ClTable.js';