@web-utils/form-ui 1.0.0-beta87 → 1.0.0-beta89

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 (408) hide show
  1. package/address-input/index.mjs +1 -1
  2. package/affix/index.mjs +1 -1
  3. package/capsule-tab/index.mjs +1 -1
  4. package/card/index.mjs +15 -15
  5. package/chunks/{BjZf7WL6.mjs → 2t188JoC2.mjs} +2 -2
  6. package/chunks/6eDDQWcr.mjs +69 -0
  7. package/chunks/9ec0Wti82.mjs +37 -0
  8. package/chunks/{BkEjtrWy.mjs → B7BaAm4k2.mjs} +2 -2
  9. package/chunks/{B14qtsOg2.mjs → BCYFaOiB.mjs} +7 -8
  10. package/chunks/{BBlZh4pj.mjs → BFhVUqpP2.mjs} +2 -2
  11. package/chunks/{BF0OBs7P.mjs → BJDeTpmp2.mjs} +14 -15
  12. package/chunks/BQytQPLa.mjs +780 -0
  13. package/chunks/{y9rz_ZSp.mjs → BSOrm2U4.mjs} +36 -37
  14. package/chunks/BaQBwVz32.mjs +63 -0
  15. package/chunks/{B0rLJ6br2.mjs → BcsscZAM.mjs} +26 -27
  16. package/chunks/{CTCW5Zu02.mjs → BegZOXrr.mjs} +134 -135
  17. package/chunks/{BZb0RMw12.mjs → BfW25VbY.mjs} +13 -15
  18. package/chunks/Bg01eBVa2.mjs +50 -0
  19. package/chunks/BhPVs8Ju.mjs +30 -0
  20. package/chunks/{BCqOe0lx.mjs → BjccroM8.mjs} +1 -1
  21. package/chunks/{BPQMbzNr.mjs → Br3whXEJ2.mjs} +2 -2
  22. package/chunks/{CsckXzQC.mjs → BsqIRxSS.mjs} +6 -7
  23. package/chunks/BuI82QMb2.mjs +29 -0
  24. package/chunks/{C5SO6LJW.mjs → Bv7b2DXh2.mjs} +2 -2
  25. package/chunks/{Cqn3fqrC.mjs → C-iN5MJZ.mjs} +6 -6
  26. package/chunks/{losZHy0P.mjs → C-s-88fN2.mjs} +1 -1
  27. package/chunks/C54nZqvy2.mjs +39 -0
  28. package/chunks/{DsSXjU752.mjs → C6Qr094V.mjs} +862 -1599
  29. package/chunks/{DNicIC4X.mjs → CB0zQsKV2.mjs} +31 -32
  30. package/chunks/{kWflpyKd.mjs → CFpGTE5U2.mjs} +2 -2
  31. package/chunks/{BuwISkjU.mjs → CHqxWrj7.mjs} +11 -12
  32. package/chunks/{_wUx1zSH2.mjs → CIihGrgY.mjs} +3 -3
  33. package/chunks/{Bi2y9LWO2.mjs → CJcEBXw-.mjs} +92 -90
  34. package/chunks/{DUzoabyA2.mjs → CJwAjhLy.mjs} +68 -69
  35. package/chunks/CW021IPm2.mjs +34 -0
  36. package/chunks/{DOPqetRk2.mjs → CW1nopZH.mjs} +1 -1
  37. package/chunks/{BgQktI__2.mjs → CbedyG4s.mjs} +385 -384
  38. package/chunks/{C_mXAGw2.mjs → CdvD0NRo2.mjs} +2 -2
  39. package/chunks/ClVh1Lek.mjs +130 -0
  40. package/chunks/{Dk_ATXDY.mjs → CpmWELPU.mjs} +1 -1
  41. package/chunks/{DcIBy4G3.mjs → Ctx93AFS.mjs} +6 -6
  42. package/chunks/D1mQTnJ8.mjs +672 -0
  43. package/chunks/D20CQ-B6.mjs +58 -0
  44. package/chunks/D2kLAzxW.mjs +61 -0
  45. package/chunks/{XGboXSyJ2.mjs → D8_fl5Oq.mjs} +138 -139
  46. package/chunks/{1EH2Ca7m2.mjs → D9ft-f6n.mjs} +29 -31
  47. package/chunks/DC3DNg_r.mjs +68 -0
  48. package/chunks/{CFfhckpA.mjs → DNq7pbXh2.mjs} +27 -26
  49. package/chunks/{Cwgd7PoY.mjs → DSbWLRCq2.mjs} +4 -4
  50. package/chunks/DYaPbj-G.mjs +99 -0
  51. package/chunks/Dd4RtBO02.mjs +31 -0
  52. package/chunks/DdACGFy3.mjs +90 -0
  53. package/chunks/DdHN2Nv72.mjs +108 -0
  54. package/chunks/{LnWJAAlm2.mjs → DmJaItEY.mjs} +178 -178
  55. package/chunks/Dnapnskp2.mjs +29 -0
  56. package/chunks/{CuU6RbNj2.mjs → Dodxnwze.mjs} +6 -6
  57. package/chunks/{BXdCyPVV.mjs → MUk_IdeO2.mjs} +2 -2
  58. package/chunks/PMFCDS7v.mjs +517 -0
  59. package/chunks/{Cxhpz5pM.mjs → SbDhX-Iz2.mjs} +112 -112
  60. package/chunks/{BvdCIFp_.mjs → Skjlt6fi2.mjs} +31 -32
  61. package/chunks/V-Js6hNd.mjs +179 -0
  62. package/chunks/aOv3rI7q.mjs +32 -0
  63. package/chunks/{DrrpjVlS.mjs → dxZzZgUn.mjs} +17 -18
  64. package/chunks/{DZ1RiRcl2.mjs → fT8tFJVO.mjs} +29 -31
  65. package/chunks/{wkrB-kab.mjs → jG7vu3RX.mjs} +1 -1
  66. package/chunks/m5oFTe8Y2.mjs +25 -0
  67. package/chunks/mQG01w6Y.mjs +155 -0
  68. package/chunks/{2Bhi7uIl.mjs → mnqSaATq.mjs} +19 -18
  69. package/chunks/{BsBVCVnp2.mjs → v7SkpvNZ.mjs} +33 -27
  70. package/chunks/{Bi03Pb_j2.mjs → vCOhFr2x.mjs} +1 -1
  71. package/code-mirror-editor/index.mjs +1 -1
  72. package/confirm-button/index.mjs +1 -1
  73. package/confirmable/index.mjs +1 -1
  74. package/context-menu/index.mjs +1 -1
  75. package/count-up/index.mjs +1 -1
  76. package/custom-scrollbar/index.mjs +1 -1
  77. package/data-box/index.mjs +1 -1
  78. package/data-card/index.mjs +8 -8
  79. package/data-card-text/index.mjs +8 -8
  80. package/data-display/index.mjs +9 -9
  81. package/data-icons/index.mjs +9 -9
  82. package/data-imgtext/index.mjs +9 -10
  83. package/data-operatext/index.mjs +8 -8
  84. package/data-panel/index.mjs +9 -9
  85. package/data-pay/index.mjs +10 -11
  86. package/data-price/index.mjs +8 -8
  87. package/data-progress/index.mjs +10 -10
  88. package/data-rotate/index.mjs +1 -1
  89. package/data-table-picker/index.mjs +15 -15
  90. package/data-tabs/index.mjs +1 -1
  91. package/dialog-form/index.mjs +49 -49
  92. package/dict-render/index.mjs +1 -1
  93. package/e-charts/index.mjs +2 -2
  94. package/easy-popup/index.mjs +1 -1
  95. package/editable-progress/index.mjs +8 -8
  96. package/editable-tree/index.mjs +596 -2
  97. package/editable-tree/style.css +1 -1
  98. package/element-dialog/index.mjs +1 -1
  99. package/element-dialog/style.css +1 -1
  100. package/element-resize-observer/index.mjs +1 -1
  101. package/flex-box/index.mjs +1 -1
  102. package/flex-column/index.mjs +1 -1
  103. package/flex-item/index.mjs +1 -1
  104. package/flex-row/index.mjs +1 -1
  105. package/flex-scroller/index.mjs +1 -1
  106. package/flow-designer/index.mjs +1 -1
  107. package/flow-viewer/index.mjs +1 -1
  108. package/form-cascader/index.mjs +1 -1
  109. package/form-checkbox/index.mjs +1 -1
  110. package/form-checkbox-group/index.mjs +1 -1
  111. package/form-checkbox-group/style.css +1 -1
  112. package/form-date-picker/index.mjs +1 -1
  113. package/form-holder/index.mjs +1 -1
  114. package/form-image/index.mjs +1 -1
  115. package/form-input/index.mjs +1 -1
  116. package/form-input-cron-expression/index.mjs +1 -1
  117. package/form-input-email/index.mjs +1 -1
  118. package/form-input-id-card/index.mjs +1 -1
  119. package/form-input-number/index.mjs +1 -1
  120. package/form-input-phone-number/index.mjs +1 -1
  121. package/form-input-tag/index.mjs +1 -1
  122. package/form-input-time/index.mjs +1 -1
  123. package/form-item/index.mjs +1 -1
  124. package/form-item-group/index.mjs +1 -1
  125. package/form-radio-group/index.mjs +1 -1
  126. package/form-rate/index.mjs +1 -1
  127. package/form-row/index.mjs +1 -1
  128. package/form-select/index.mjs +1 -1
  129. package/form-slider/index.mjs +1 -1
  130. package/form-switch/index.mjs +1 -1
  131. package/form-table/index.mjs +1 -1
  132. package/form-table-plus/index.mjs +1 -1
  133. package/form-text/index.mjs +1 -1
  134. package/form-textarea/index.mjs +1 -1
  135. package/form-time-select/index.mjs +1 -1
  136. package/form-tree-select/index.mjs +1 -1
  137. package/form-tree-select-multiple/index.mjs +1 -1
  138. package/form-view/index.mjs +3 -3
  139. package/fy-array/index.d.ts +264 -1
  140. package/fy-array/index.mjs +130 -2
  141. package/fy-array/style.css +1 -1
  142. package/fy-button/index.mjs +1 -1
  143. package/fy-cascader/index.d.ts +264 -1
  144. package/fy-cascader/index.mjs +27 -27
  145. package/fy-checkbox/index.d.ts +264 -1
  146. package/fy-checkbox/index.mjs +29 -29
  147. package/fy-curd/index.mjs +1 -1
  148. package/fy-date/index.d.ts +264 -1
  149. package/fy-date/index.mjs +31 -31
  150. package/fy-dynamic/index.d.ts +264 -1
  151. package/fy-dynamic/index.mjs +1 -1
  152. package/fy-empty/index.mjs +2 -2
  153. package/fy-form/index.mjs +1 -1
  154. package/fy-form/style.css +1 -1
  155. package/fy-input/index.d.ts +264 -1
  156. package/fy-input/index.mjs +36 -37
  157. package/fy-input-color/index.d.ts +264 -1
  158. package/fy-input-color/index.mjs +80 -2
  159. package/fy-input-icon/index.d.ts +264 -1
  160. package/fy-input-icon/index.mjs +35 -36
  161. package/fy-input-map/index.d.ts +264 -1
  162. package/fy-input-map/index.mjs +30 -31
  163. package/fy-input-number/index.d.ts +264 -1
  164. package/fy-input-number/index.mjs +26 -26
  165. package/fy-input-table/index.d.ts +264 -1
  166. package/fy-input-table/index.mjs +24 -25
  167. package/fy-input-tree/index.d.ts +264 -1
  168. package/fy-input-tree/index.mjs +43 -43
  169. package/fy-radio/index.d.ts +264 -1
  170. package/fy-radio/index.mjs +20 -21
  171. package/fy-rate/index.d.ts +264 -1
  172. package/fy-rate/index.mjs +27 -27
  173. package/fy-select/index.d.ts +264 -1
  174. package/fy-select/index.mjs +1 -1
  175. package/fy-slider/index.d.ts +264 -1
  176. package/fy-slider/index.mjs +29 -29
  177. package/fy-switch/index.d.ts +264 -1
  178. package/fy-switch/index.mjs +24 -24
  179. package/fy-tabs/index.mjs +8 -8
  180. package/fy-time/index.d.ts +264 -1
  181. package/fy-time/index.mjs +10 -10
  182. package/fy-title/index.d.ts +264 -1
  183. package/fy-title/index.mjs +2 -2
  184. package/fy-tree/index.mjs +57 -59
  185. package/fy-u-editor/index.mjs +1 -1
  186. package/fy-upload/index.d.ts +264 -1
  187. package/fy-upload/index.mjs +1 -1
  188. package/fy-upload/style.css +1 -1
  189. package/guide-steps/index.mjs +77 -2
  190. package/guide-steps/style.css +1 -1
  191. package/helper/dictionary.mjs +1 -1
  192. package/helper/input.mjs +1 -1
  193. package/highlight-j-s/index.mjs +1 -1
  194. package/icon-temp/index.mjs +1 -1
  195. package/iframe-window/index.mjs +1 -1
  196. package/image-cropper/index.mjs +5 -5
  197. package/image-preview/index.mjs +201 -2
  198. package/image-preview/style.css +1 -1
  199. package/image-viewer/index.mjs +1 -1
  200. package/index.css +1 -1
  201. package/index.mjs +147 -147
  202. package/input-number-range/index.mjs +7 -7
  203. package/keyboard/index.mjs +1 -1
  204. package/loading-view/index.mjs +1 -1
  205. package/monaco-editor/index.mjs +1 -1
  206. package/name-avatar/index.mjs +1 -1
  207. package/nav-bar/index.mjs +3 -3
  208. package/package.json +1 -1
  209. package/page-index/index.mjs +14 -14
  210. package/page-index-top/index.mjs +12 -12
  211. package/pageable-table/index.mjs +1 -1
  212. package/photo-swipe/index.mjs +1 -1
  213. package/props/col.mjs +1 -1
  214. package/props/form-item.mjs +1 -1
  215. package/resolver/index.mjs +1 -1
  216. package/sign-panel/index.mjs +1 -1
  217. package/skeleton-panel/index.mjs +3 -3
  218. package/split-pane/index.mjs +1 -1
  219. package/sub-table/index.mjs +1 -1
  220. package/sub-table-plus/index.mjs +1 -1
  221. package/swiper/index.mjs +2 -2
  222. package/table-column/index.mjs +1 -1
  223. package/table-column-def/index.mjs +1 -1
  224. package/table-view/index.mjs +103 -104
  225. package/tag-render/index.mjs +7 -9
  226. package/text-ellipsis/index.mjs +1 -1
  227. package/toolbar/index.mjs +1 -1
  228. package/toolbar-button/index.mjs +1 -1
  229. package/vue-cron/index.mjs +1 -1
  230. package/vue-tags-input/index.mjs +1 -1
  231. package/vue-tree-select/index.mjs +1 -1
  232. package/vue-video-player/index.mjs +1 -1
  233. package/watermark/index.mjs +1 -1
  234. package/web-types.json +1 -1
  235. package/x-input-tag/index.mjs +20 -24
  236. package/year-calendar/index.mjs +1 -1
  237. package/base2.css +0 -1
  238. package/chunks/2Hag_Aho.mjs +0 -4
  239. package/chunks/6Lm-ZabT2.mjs +0 -439
  240. package/chunks/7OAy-mrx.mjs +0 -642
  241. package/chunks/7cy48wUQ.mjs +0 -25
  242. package/chunks/8ldF4QwW.mjs +0 -209
  243. package/chunks/B2vpUK0j.mjs +0 -13
  244. package/chunks/B7fnIBG_2.mjs +0 -346
  245. package/chunks/B9BRO_ca2.mjs +0 -2
  246. package/chunks/B9rfY77Q.mjs +0 -107
  247. package/chunks/BBYzYVET.mjs +0 -173
  248. package/chunks/BBbwcaCo.mjs +0 -196
  249. package/chunks/BFY-akW92.mjs +0 -1
  250. package/chunks/BGjN3ifV.mjs +0 -34
  251. package/chunks/BMouE3MT.mjs +0 -48
  252. package/chunks/BVD_ePZC.mjs +0 -37
  253. package/chunks/BVSJF8GY.mjs +0 -670
  254. package/chunks/BZuJ9dKq2.mjs +0 -69
  255. package/chunks/BaM7vJ3h.mjs +0 -1920
  256. package/chunks/BbJd8Pij.mjs +0 -734
  257. package/chunks/BhIjXcRj2.mjs +0 -617
  258. package/chunks/BnNJk0GR2.mjs +0 -4
  259. package/chunks/Bpp7HhpF.mjs +0 -446
  260. package/chunks/Bs0Qas8r.mjs +0 -14
  261. package/chunks/Bs8cIxmy.mjs +0 -384
  262. package/chunks/BtGJbKCB.mjs +0 -4
  263. package/chunks/BwVhaeaN2.mjs +0 -8
  264. package/chunks/BxfDXlNF.mjs +0 -5
  265. package/chunks/C1rRv4L7.mjs +0 -1094
  266. package/chunks/C2ILQE4o.mjs +0 -15
  267. package/chunks/C6wieT3K2.mjs +0 -4
  268. package/chunks/C7L-0D2c.mjs +0 -18
  269. package/chunks/CAXQZ1D92.mjs +0 -158
  270. package/chunks/CAmsy3d12.mjs +0 -1
  271. package/chunks/CBrMFZX-.mjs +0 -39
  272. package/chunks/CDhbz_dU.mjs +0 -5
  273. package/chunks/CEAep1cG2.mjs +0 -88
  274. package/chunks/CEDUulAx.mjs +0 -245
  275. package/chunks/CEaiqlCR.mjs +0 -678
  276. package/chunks/CG-vyVAP2.mjs +0 -2
  277. package/chunks/CHqbeWkw.mjs +0 -99
  278. package/chunks/CI6Nw27a2.mjs +0 -299
  279. package/chunks/CNcSX5f1.mjs +0 -1
  280. package/chunks/CPAK-Btp2.mjs +0 -58
  281. package/chunks/CRScbQff2.mjs +0 -1
  282. package/chunks/CShykH0i.mjs +0 -1
  283. package/chunks/CTAUFbNL.mjs +0 -222
  284. package/chunks/CZbhVowA2.mjs +0 -105
  285. package/chunks/C_rLHaAm.mjs +0 -41
  286. package/chunks/C_ykwQIT.mjs +0 -25
  287. package/chunks/Cm5l5wtF.mjs +0 -21
  288. package/chunks/CogUVyM32.mjs +0 -161
  289. package/chunks/CtqI9iHR.mjs +0 -108
  290. package/chunks/Cu_oMKPd.mjs +0 -250
  291. package/chunks/Cum802WQ.mjs +0 -13
  292. package/chunks/Cx2xXO7o.mjs +0 -52
  293. package/chunks/CyF0QYX72.mjs +0 -1098
  294. package/chunks/D0SsqlhV2.mjs +0 -2381
  295. package/chunks/D5OVW2kN.mjs +0 -34
  296. package/chunks/D6WqEUFG2.mjs +0 -98
  297. package/chunks/D8iXlrtZ2.mjs +0 -1038
  298. package/chunks/D98jjbwV2.mjs +0 -61
  299. package/chunks/D9Pg_OCD2.mjs +0 -6
  300. package/chunks/DA1LVvTS.mjs +0 -577
  301. package/chunks/DHUKKHoT.mjs +0 -1
  302. package/chunks/DJQH0NMv.mjs +0 -276
  303. package/chunks/DK7E0MrC2.mjs +0 -990
  304. package/chunks/DTS-uhBE.mjs +0 -25
  305. package/chunks/DUQs5bPg.mjs +0 -188
  306. package/chunks/DV-c1hfn2.mjs +0 -6
  307. package/chunks/DVvu0kbn2.mjs +0 -69
  308. package/chunks/DZZdwRGN.mjs +0 -479
  309. package/chunks/Dd5QuF1x.mjs +0 -26
  310. package/chunks/DeXyq_xW2.mjs +0 -936
  311. package/chunks/DgXDFUzM2.mjs +0 -60
  312. package/chunks/DhA6VYyn.mjs +0 -588
  313. package/chunks/DiQUqii-.mjs +0 -486
  314. package/chunks/DlhCJLng.mjs +0 -211
  315. package/chunks/Dq9YiS-H.mjs +0 -26
  316. package/chunks/DuIXSS2d.mjs +0 -454
  317. package/chunks/DvCdN2bU.mjs +0 -1
  318. package/chunks/DvG4VjQh.mjs +0 -216
  319. package/chunks/DvenxcV4.mjs +0 -186
  320. package/chunks/DxG4FcLQ2.mjs +0 -58
  321. package/chunks/E-zZdDOp.mjs +0 -48
  322. package/chunks/HQd8AhfS.mjs +0 -225
  323. package/chunks/HsqImdEj.mjs +0 -69
  324. package/chunks/IAX-2m4F.mjs +0 -31
  325. package/chunks/JvWWISEH2.mjs +0 -243
  326. package/chunks/K7NMn1cU.mjs +0 -12
  327. package/chunks/NiAjkTEH2.mjs +0 -32
  328. package/chunks/OWDOBaZL.mjs +0 -467
  329. package/chunks/R_GWm9EB.mjs +0 -41
  330. package/chunks/Rn-X08l92.mjs +0 -273
  331. package/chunks/STHbzblo.mjs +0 -55
  332. package/chunks/TWAjK03p.mjs +0 -3092
  333. package/chunks/ZIHPaVeg.mjs +0 -105
  334. package/chunks/ZxxDJBOG2.mjs +0 -180
  335. package/chunks/_NG8ze6x.mjs +0 -42
  336. package/chunks/aeYRYRdi.mjs +0 -29
  337. package/chunks/b58kljs82.mjs +0 -525
  338. package/chunks/cGGsl8YM2.mjs +0 -2
  339. package/chunks/cvUTkWmm.mjs +0 -98
  340. package/chunks/el7WAt3q.mjs +0 -4
  341. package/chunks/f-0LSLCC.mjs +0 -17
  342. package/chunks/g1H2yYXi.mjs +0 -35
  343. package/chunks/hczonP-N2.mjs +0 -206
  344. package/chunks/jkTWyLZa.mjs +0 -17
  345. package/chunks/kN7dSjtl.mjs +0 -1278
  346. package/chunks/lJ7uxiQe2.mjs +0 -46
  347. package/chunks/lKeVGJZg.mjs +0 -62
  348. package/chunks/qNngJ9B9.mjs +0 -29
  349. package/chunks/r6tERHEL.mjs +0 -438
  350. package/chunks/tSJE9_uL.mjs +0 -1
  351. package/chunks/vRQzbLgj.mjs +0 -2
  352. package/chunks/wfxM1ecI.mjs +0 -17
  353. package/chunks/zG9cElaH.mjs +0 -1209
  354. package/css/style.css +0 -1
  355. package/css/style10.css +0 -1
  356. package/css/style11.css +0 -1
  357. package/css/style12.css +0 -1
  358. package/css/style13.css +0 -1
  359. package/css/style14.css +0 -1
  360. package/css/style15.css +0 -1
  361. package/css/style16.css +0 -1
  362. package/css/style17.css +0 -1
  363. package/css/style18.css +0 -1
  364. package/css/style19.css +0 -1
  365. package/css/style2.css +0 -1
  366. package/css/style20.css +0 -1
  367. package/css/style21.css +0 -1
  368. package/css/style22.css +0 -1
  369. package/css/style23.css +0 -1
  370. package/css/style24.css +0 -1
  371. package/css/style25.css +0 -1
  372. package/css/style26.css +0 -1
  373. package/css/style27.css +0 -1
  374. package/css/style28.css +0 -1
  375. package/css/style29.css +0 -1
  376. package/css/style3.css +0 -1
  377. package/css/style30.css +0 -1
  378. package/css/style31.css +0 -1
  379. package/css/style32.css +0 -1
  380. package/css/style33.css +0 -1
  381. package/css/style34.css +0 -1
  382. package/css/style35.css +0 -1
  383. package/css/style36.css +0 -1
  384. package/css/style37.css +0 -1
  385. package/css/style38.css +0 -1
  386. package/css/style39.css +0 -1
  387. package/css/style4.css +0 -1
  388. package/css/style5.css +0 -1
  389. package/css/style6.css +0 -1
  390. package/css/style7.css +0 -1
  391. package/css/style8.css +0 -1
  392. package/css/style9.css +0 -1
  393. package/form-image/style.css +0 -1
  394. package/form-radio-group/style.css +0 -1
  395. package/fy-input-color/style.css +0 -1
  396. /package/chunks/{hFCEXdXW.mjs → B1MSrc6f.mjs} +0 -0
  397. /package/chunks/{DdkcOQQ02.mjs → BbUUI4mF.mjs} +0 -0
  398. /package/chunks/{wm9pxXuv.mjs → Br0vC3nS2.mjs} +0 -0
  399. /package/chunks/{BEOl740t2.mjs → CBHGpbDK.mjs} +0 -0
  400. /package/chunks/{gQwOnofw.mjs → CY2YrwMT.mjs} +0 -0
  401. /package/chunks/{DX29uO-O.mjs → CZnwC17w.mjs} +0 -0
  402. /package/chunks/{nvUgyH-A.mjs → C_QfuxeQ.mjs} +0 -0
  403. /package/chunks/{CyNGeUTh.mjs → Cp1olyWc.mjs} +0 -0
  404. /package/chunks/{CVDxIjGg.mjs → DEHzWyyp.mjs} +0 -0
  405. /package/chunks/{BMdSzPpD2.mjs → DJe2Reym.mjs} +0 -0
  406. /package/chunks/{CISLTyi_2.mjs → DOLQ28wD.mjs} +0 -0
  407. /package/chunks/{CeLNtZZw.mjs → DokYQ49m.mjs} +0 -0
  408. /package/chunks/{Xe_0bP0H.mjs → tzjUpVIj.mjs} +0 -0
@@ -0,0 +1,672 @@
1
+ import { h as e, m as t, n, r } from "./ClVh1Lek.mjs";
2
+ import i from "../element-resize-observer/index.mjs";
3
+ import { cellClickHandlerContextKey as a, pageableTableContextKey as o } from "../constants/index.mjs";
4
+ import { t as s } from "./mnqSaATq.mjs";
5
+ import { getDictLabel as c } from "../helper/dictionary.mjs";
6
+ import { t as l } from "./C_QfuxeQ.mjs";
7
+ import { t as u } from "./6eDDQWcr.mjs";
8
+ import { useVisibilityChange as ee } from "../hook/useVisibilityChange.mjs";
9
+ import { ElCheckbox as d, ElDrawer as f, ElEmpty as te, ElMessage as ne, ElPagination as p, ElRadio as m, ElTable as h, ElTableColumn as g } from "element-plus/es";
10
+ import "element-plus/es/components/base/style/css";
11
+ import { Fragment as re, computed as _, createBlock as v, createTextVNode as y, createVNode as b, inject as x, isVNode as S, mergeModels as C, mergeProps as w, nextTick as ie, onUpdated as ae, openBlock as T, provide as E, reactive as D, ref as O, toDisplayString as k, useModel as A, useTemplateRef as oe, watch as j, withCtx as M } from "vue";
12
+ import { isFunction as N } from "@web-utils/core";
13
+ import "element-plus/es/components/message/style/css";
14
+ import "element-plus/es/components/drawer/style/css";
15
+ import "element-plus/es/components/table/style/css";
16
+ import "element-plus/es/components/checkbox/style/css";
17
+ import "element-plus/es/components/table-column/style/css";
18
+ import "element-plus/es/components/pagination/style/css";
19
+ import "element-plus/es/components/empty/style/css";
20
+ import "element-plus/es/components/radio/style/css";
21
+ import { useEventBus as se } from "@web-utils/vue/hooks/useEventBus";
22
+ import { uuid as ce } from "@web-utils/integrations/uuid";
23
+ //#region src/components/table/components/TableColumnSettingPanel.vue
24
+ var P = /* @__PURE__ */ Object.assign({ name: "TableColumnSettingPanel" }, {
25
+ __name: "TableColumnSettingPanel",
26
+ props: /* @__PURE__ */ C({ columns: {
27
+ type: Array,
28
+ default: () => []
29
+ } }, {
30
+ modelValue: {
31
+ type: Boolean,
32
+ default: !1
33
+ },
34
+ modelModifiers: {}
35
+ }),
36
+ emits: /* @__PURE__ */ C(["update:settings"], ["update:modelValue"]),
37
+ setup(e, { expose: t, emit: n }) {
38
+ let r = A(e, "modelValue"), i = n, a = D({
39
+ hideProps: {},
40
+ fixedProps: {},
41
+ filterableProps: {},
42
+ sortableProps: {}
43
+ }), o = (e, t, n) => {
44
+ n === "hide" ? a.hideProps[t.prop] = e : n === "fixed" ? a.fixedProps[t.prop] = e : n === "filterable" ? a.filterableProps[t.prop] = e : n === "sortable" && (a.sortableProps[t.prop] = e), i("update:settings", a);
45
+ };
46
+ return t({ settings: a }), (t, n) => {
47
+ let i = g, a = d, s = h, c = f;
48
+ return T(), v(c, {
49
+ modelValue: r.value,
50
+ "onUpdate:modelValue": n[0] || (n[0] = (e) => r.value = e),
51
+ class: "table-column-filter",
52
+ title: "表格设置",
53
+ "append-to-body": ""
54
+ }, {
55
+ default: M(() => [b(s, {
56
+ data: e.columns,
57
+ border: ""
58
+ }, {
59
+ default: M(() => [
60
+ b(i, { label: "列名" }, {
61
+ default: M(({ row: e }) => [y(k(e.label), 1)]),
62
+ _: 1
63
+ }),
64
+ b(i, {
65
+ label: "隐藏",
66
+ align: "center"
67
+ }, {
68
+ default: M(({ row: e }) => [b(a, { onChange: (t) => o(t, e, "hide") }, null, 8, ["onChange"])]),
69
+ _: 1
70
+ }),
71
+ b(i, {
72
+ label: "冻结",
73
+ align: "center"
74
+ }, {
75
+ default: M(({ row: e }) => [b(a, { onChange: (t) => o(t, e, "fixed") }, null, 8, ["onChange"])]),
76
+ _: 1
77
+ }),
78
+ b(i, {
79
+ label: "过滤",
80
+ align: "center"
81
+ }, {
82
+ default: M(({ row: e }) => [b(a, { onChange: (t) => o(t, e, "filterable") }, null, 8, ["onChange"])]),
83
+ _: 1
84
+ }),
85
+ b(i, {
86
+ label: "排序",
87
+ align: "center"
88
+ }, {
89
+ default: M(({ row: e }) => [b(a, {
90
+ title: e.allowSort ? null : "该列不支持排序!",
91
+ disabled: !e.allowSort,
92
+ onChange: (t) => o(t, e, "sortable")
93
+ }, null, 8, [
94
+ "title",
95
+ "disabled",
96
+ "onChange"
97
+ ])]),
98
+ _: 1
99
+ })
100
+ ]),
101
+ _: 1
102
+ }, 8, ["data"])]),
103
+ _: 1
104
+ }, 8, ["modelValue"]);
105
+ };
106
+ }
107
+ });
108
+ //#endregion
109
+ //#region src/components/table/components/TableColumnFilterable.vue?vue&type=script&lang.jsx
110
+ function F(e) {
111
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !S(e);
112
+ }
113
+ //#endregion
114
+ //#region src/components/table/components/TableColumnFilterable.vue
115
+ var le = {
116
+ name: "TableColumnFilterable",
117
+ props: { ...l },
118
+ setup(t, { slots: n }) {
119
+ let r = x(o, null), i = e(t, (e) => e !== "filterMethod" && e !== "filters"), a = _(() => {
120
+ if (t.filterable && r) return (e, t, n) => t[n.property] === e;
121
+ }), s = _(() => {
122
+ if (t.filterable && r) return [...new Set(r.records.value.map((e) => e[t.prop]).filter((e) => e))].map((e) => ({
123
+ text: e,
124
+ value: e
125
+ }));
126
+ });
127
+ return () => b(u, w(i.value, {
128
+ filterMethod: a.value,
129
+ filters: s.value
130
+ }), F(n) ? n : { default: () => [n] });
131
+ }
132
+ }, I = {
133
+ data: {
134
+ type: Array,
135
+ default: () => []
136
+ },
137
+ height: [String, Number],
138
+ maxHeight: [String, Number],
139
+ stripe: {
140
+ type: Boolean,
141
+ default: !1
142
+ },
143
+ border: {
144
+ type: Boolean,
145
+ default: !0
146
+ },
147
+ size: String,
148
+ fit: {
149
+ type: Boolean,
150
+ default: !0
151
+ },
152
+ showHeader: {
153
+ type: Boolean,
154
+ default: !0
155
+ },
156
+ highlightCurrentRow: {
157
+ type: Boolean,
158
+ default: !1
159
+ },
160
+ currentRowKey: [String, Number],
161
+ rowClassName: [Function, String],
162
+ rowStyle: [Function, Object],
163
+ cellClassName: [Function, String],
164
+ cellStyle: [Function, Object],
165
+ headerRowClassName: [Function, String],
166
+ headerRowStyle: [Function, Object],
167
+ headerCellClassName: [Function, String],
168
+ headerCellStyle: [Function, Object],
169
+ rowKey: {
170
+ type: [Function, String],
171
+ default: "id"
172
+ },
173
+ emptyText: {
174
+ type: String,
175
+ default: "No Data"
176
+ },
177
+ defaultExpandAll: {
178
+ type: Boolean,
179
+ default: !1
180
+ },
181
+ expandRowKeys: {
182
+ type: Array,
183
+ default: () => []
184
+ },
185
+ defaultSort: Object,
186
+ tooltipEffect: {
187
+ type: String,
188
+ default: "dark"
189
+ },
190
+ tooltipOptions: {
191
+ type: Object,
192
+ default: () => ({})
193
+ },
194
+ appendFilterPanelTo: String,
195
+ showSummary: {
196
+ type: Boolean,
197
+ default: !1
198
+ },
199
+ sumText: {
200
+ type: String,
201
+ default: "Sum"
202
+ },
203
+ summaryMethod: Function,
204
+ spanMethod: Function,
205
+ selectOnIndeterminate: {
206
+ type: Boolean,
207
+ default: !0
208
+ },
209
+ indent: {
210
+ type: Number,
211
+ default: 16
212
+ },
213
+ lazy: {
214
+ type: Boolean,
215
+ default: !1
216
+ },
217
+ load: Function,
218
+ treeProps: {
219
+ type: Object,
220
+ default: () => ({})
221
+ },
222
+ tableLayout: {
223
+ type: String,
224
+ default: "fixed"
225
+ },
226
+ scrollbarAlwaysOn: {
227
+ type: Boolean,
228
+ default: !1
229
+ },
230
+ showOverflowTooltip: [Boolean, Object],
231
+ flexible: {
232
+ type: Boolean,
233
+ default: !1
234
+ },
235
+ scrollbarTabindex: [String, Number],
236
+ allowDragLastColumn: {
237
+ type: Boolean,
238
+ default: !0
239
+ },
240
+ tooltipFormatter: Function,
241
+ preserveExpandedContent: {
242
+ type: Boolean,
243
+ default: !1
244
+ },
245
+ nativeScrollbar: {
246
+ type: Boolean,
247
+ default: !1
248
+ },
249
+ rowExpandable: Function,
250
+ selectionWidth: {
251
+ type: String,
252
+ default: "45"
253
+ },
254
+ viewId: String,
255
+ url: String,
256
+ hideOnSinglePage: Boolean,
257
+ api: Function,
258
+ model: Object,
259
+ ascs: {
260
+ type: Array,
261
+ default: () => []
262
+ },
263
+ descs: {
264
+ type: Array,
265
+ default: () => []
266
+ },
267
+ headerBold: Boolean,
268
+ autoHeight: Boolean,
269
+ immediate: {
270
+ type: Boolean,
271
+ default: !0
272
+ },
273
+ index: {
274
+ type: Boolean,
275
+ default: !0
276
+ },
277
+ multiple: {
278
+ type: Boolean,
279
+ default: !0
280
+ },
281
+ selection: {
282
+ type: Boolean,
283
+ default: !0
284
+ },
285
+ reloadOnModelChange: {
286
+ type: Boolean,
287
+ default: !1
288
+ },
289
+ columns: Array,
290
+ pageSize: {
291
+ type: Number,
292
+ default: 25
293
+ },
294
+ dicOptions: {
295
+ type: Array,
296
+ default: () => []
297
+ },
298
+ paging: {
299
+ type: Boolean,
300
+ default: !0
301
+ },
302
+ clickRowSelect: Boolean,
303
+ payloadStyle: String,
304
+ disabledRowKeys: Array,
305
+ selectExport: Boolean,
306
+ useVisibilityChange: Boolean,
307
+ rowDbClick: Function
308
+ }, L = {
309
+ data: !0,
310
+ rowDbClick: !0,
311
+ selectionWidth: !0,
312
+ hideOnSinglePage: !0,
313
+ ascs: !0,
314
+ descs: !0,
315
+ headerBold: !0,
316
+ autoHeight: !0,
317
+ immediate: !0,
318
+ index: !0,
319
+ multiple: !0,
320
+ selection: !0,
321
+ reloadOnModelChange: !0,
322
+ pageSize: !0,
323
+ dicOptions: !0,
324
+ paging: !0,
325
+ clickRowSelect: !0,
326
+ selectExport: !0,
327
+ useVisibilityChange: !0,
328
+ viewId: !0,
329
+ url: !0,
330
+ api: !0,
331
+ model: !0,
332
+ columns: !0,
333
+ payloadStyle: !0,
334
+ disabledRowKeys: !0
335
+ }, ue = (e) => L[e] !== !0;
336
+ //#endregion
337
+ //#region src/components/table/PageableTable.vue?vue&type=script&lang.jsx
338
+ function de(e) {
339
+ let t = "";
340
+ for (let n in e) t += `<TableColumnDef prop="${n}" label="${n}"/>\n`;
341
+ return t;
342
+ }
343
+ var R = {
344
+ loading: 1,
345
+ error: -1,
346
+ empty: 2,
347
+ success: 0
348
+ }, z = {
349
+ name: "PageableTable",
350
+ emits: { "page-loaded": null },
351
+ inheritAttrs: !1,
352
+ props: { ...I },
353
+ setup(e, { emit: l, attrs: u, slots: d, expose: f }) {
354
+ E(a, e.rowDbClick);
355
+ let v = oe("table"), x = O({
356
+ hideProps: {},
357
+ fixedProps: {},
358
+ filterableProps: {},
359
+ sortableProps: {}
360
+ }), S = O(R.empty), C = O([]), T = O(null), D = O(!1), k = O([]), A = O({
361
+ total: 0,
362
+ page: 1,
363
+ limit: e.pageSize,
364
+ ascs: e.ascs,
365
+ descs: e.descs
366
+ }), M = O(0), F = O(0), I = _(() => e.reloadOnModelChange ? {
367
+ asc: A.value.ascs,
368
+ desc: A.value.descs,
369
+ page: A.value.page,
370
+ limit: A.value.limit,
371
+ model: e.model
372
+ } : {
373
+ asc: A.value.ascs,
374
+ desc: A.value.descs,
375
+ page: A.value.page,
376
+ limit: A.value.limit
377
+ }), L = _(() => {
378
+ var e;
379
+ let t = `${(A.value.page - 1) * A.value.limit + (((e = C.value) == null ? void 0 : e.length) ?? 0)}`;
380
+ return t.length > 3 ? 60 + (t.length - 3) * 10 : 60;
381
+ }), z = () => {
382
+ V();
383
+ }, B = (t, n, r) => {
384
+ if (e.clickRowSelect && Z(t)) {
385
+ var i;
386
+ if (k.value.find((n) => n[e.rowKey] === t[e.rowKey])) {
387
+ var a;
388
+ (a = v.value) == null || a.toggleRowSelection(t, !1);
389
+ return;
390
+ }
391
+ (i = v.value) == null || i.toggleRowSelection(t);
392
+ }
393
+ }, V = () => {
394
+ var e, t;
395
+ let n = (e = v.value) == null || (e = e.$children) == null ? void 0 : e.find((e) => {
396
+ var t;
397
+ return ((t = e.$options) == null ? void 0 : t.name) === "ElTableBody";
398
+ });
399
+ n == null || (t = n.$refs) == null || (t = t.tooltip) == null || t.hide();
400
+ }, H = ({ scrollLeft: e, scrollTop: t }) => {
401
+ M.value = t, F.value = e;
402
+ }, fe = () => {
403
+ _e(M.value, F.value);
404
+ }, pe = (e) => n(de(e)), me = ({ prop: t, order: n }) => {
405
+ e.payloadStyle === "body" ? (A.value.ascs = n === "ascending" ? [t] : e.ascs, A.value.descs = n === "descending" ? [t] : e.descs) : (A.value.ascs = n === "ascending" ? t : "", A.value.descs = n === "descending" ? t : "");
406
+ }, he = (e) => {
407
+ Z(e) && (T.value = e);
408
+ }, ge = (e) => {
409
+ k.value = e;
410
+ }, U = () => {
411
+ var e;
412
+ (e = v.value) == null || e.clearSelection();
413
+ }, W = () => {
414
+ let t;
415
+ return t = e.payloadStyle === "body" ? {
416
+ page: {
417
+ ...A.value,
418
+ current: A.value.page,
419
+ size: A.value.limit
420
+ },
421
+ example: e.model || {}
422
+ } : {
423
+ ...A.value,
424
+ current: A.value.page,
425
+ size: A.value.limit,
426
+ ...e.model || {}
427
+ }, e.selectExport && (e.rowKey ? t.exportKeys = k.value.map((t) => t[e.rowKey]) : t.exportKeys = k.value.map((e) => C.value.indexOf(e))), t;
428
+ }, G = async (t = !0) => {
429
+ if (!e.api && e.data !== !1) {
430
+ var n;
431
+ C.value = e.data, A.value.page = 1, A.value.total = (n = C.value) == null ? void 0 : n.length, A.value.limit = A.value.total < 1 ? e.pageSize : A.value.total;
432
+ return;
433
+ }
434
+ t !== !1 && (C.value = []);
435
+ let r, i = W();
436
+ if (e.api) {
437
+ t !== !1 && (S.value = R.loading);
438
+ try {
439
+ e.api && (r = await e.api(i));
440
+ } catch {
441
+ S.value = R.error;
442
+ return;
443
+ }
444
+ } else if (e.data) r = { data: { data: {
445
+ total: e.data.length,
446
+ records: e.data
447
+ } } };
448
+ else {
449
+ ne.warning({
450
+ title: "开发提示!",
451
+ message: "PageableTable api(Function) 属性"
452
+ });
453
+ return;
454
+ }
455
+ let { data: { data: a } = {} } = r || {}, { total: o, records: s } = a || {};
456
+ A.value.total = Number(o), C.value = await ve(s), !s || !s.length ? S.value = R.empty : S.value = R.success, K(), l("page-loaded", a);
457
+ }, K = () => {
458
+ ie(() => {
459
+ var e;
460
+ (e = v.value) == null || e.doLayout();
461
+ });
462
+ }, q = async (e) => {
463
+ await G(e);
464
+ }, J = () => {
465
+ A.value = {
466
+ total: 0,
467
+ page: 1,
468
+ limit: e.pageSize,
469
+ ascs: e.ascs,
470
+ descs: e.descs
471
+ };
472
+ }, _e = (e, t) => {
473
+ v.value.setScrollTop(e), v.value.setScrollLeft(t);
474
+ }, Y = (e, t) => {
475
+ var n;
476
+ (n = v.value) == null || n.toggleRowSelection(e, t);
477
+ }, ve = async (t) => {
478
+ if (!t) return [];
479
+ let n = [...t];
480
+ for (let t of n) for (let n of e.dicOptions) if (t[`$${n.prop}`] = t[n.prop], n.dicData) {
481
+ var r;
482
+ t[n.prop] = ((r = n.dicData.find((e) => e.modelValue === t[n.prop])) == null ? void 0 : r.label) || t[n.prop];
483
+ } else t[n.prop] = await c(n.dicType, t[n.prop]);
484
+ return n;
485
+ }, X = () => {
486
+ D.value = !D.value;
487
+ }, Z = (t) => {
488
+ var n;
489
+ return !(t != null && t.disabled) && !((n = e.disabledRowKeys) != null && n.includes(t == null ? void 0 : t[e.rowKey]));
490
+ };
491
+ e.useVisibilityChange && ee({ onPageVisible: () => {
492
+ q(!1);
493
+ } }), se("reloadTableView", (t) => {
494
+ t === e.viewId && G();
495
+ }), j(() => e.url, J), j(() => e.api, J), j(() => e.data, G), j(() => I.value, G, {
496
+ deep: !0,
497
+ immediate: e.immediate
498
+ });
499
+ let Q = (t) => {
500
+ let n;
501
+ if (N(e.rowKey)) {
502
+ if (n = e.rowKey(t), n) return n;
503
+ } else if (e.rowKey && (n = t[e.rowKey], n)) return n;
504
+ return n = "__rowKey", t[n] || (t[n] = ce(!1)), t[n];
505
+ }, $ = _(() => {
506
+ let t = [];
507
+ if (d.default) {
508
+ var n;
509
+ let e = r((n = d.default) == null ? void 0 : n.call(d));
510
+ for (let n = 0; n < e.length; n++) {
511
+ let { props: r, children: i } = e[n];
512
+ if (!r) continue;
513
+ let { sortable: a, prop: o, fixed: s, ...c } = r, l = {
514
+ ...c,
515
+ prop: o,
516
+ allowSort: a !== !1
517
+ };
518
+ i && (l.headerSlot = i.header, l.defaultSlot = i.default, l.expandSlot = i.expand, l.iconSlot = i["filter-icon"]), l.hide = x.value.hideProps[o], l.filterable = x.value.filterableProps[o], l.sortable = x.value.sortableProps[o] === !0, l.fixed = s || x.value.fixedProps[o], t.push(l);
519
+ }
520
+ } else if (e.columns) for (let n = 0; n < e.columns.length; n++) {
521
+ let { prop: r, sortable: i, fixed: a, ...o } = e.columns[n], s = {
522
+ ...o,
523
+ prop: r,
524
+ allowSort: i !== !1
525
+ };
526
+ s.hide = x.value.hideProps[r], s.filterable = x.value.filterableProps[r], s.sortable = x.value.sortableProps[r] === !0, s.fixed = a || x.value.fixedProps[r], t.push(s);
527
+ }
528
+ return t;
529
+ });
530
+ ae(() => {
531
+ fe();
532
+ }), f({
533
+ records: C,
534
+ getPage: G,
535
+ refresh: q,
536
+ reload: J,
537
+ doLayout: K,
538
+ clearSelection: U,
539
+ toggleRowSelection: Y,
540
+ toggleSettings: X,
541
+ currentRow: T,
542
+ getPageQuery: W,
543
+ tableColumns: $
544
+ }), E(o, {
545
+ records: C,
546
+ getPage: G,
547
+ refresh: q,
548
+ reload: J,
549
+ doLayout: K,
550
+ clearSelection: U,
551
+ toggleRowSelection: Y,
552
+ toggleSettings: X
553
+ });
554
+ let { autoBindProps: ye, listeners: be } = t(e, { predicate: ue });
555
+ return () => b("div", {
556
+ class: [
557
+ "pageable-table",
558
+ { "auto-height": e.autoHeight },
559
+ u.class
560
+ ],
561
+ style: u.style
562
+ }, [b("div", { class: "pageable-table-wrapper" }, [
563
+ d.toolbar && d.toolbar({ selectedRows: k.value }),
564
+ b(h, w(be.value, ye.value, {
565
+ ref: "table",
566
+ data: C.value,
567
+ class: ["flex-item", { "header-bold": e.headerBold }],
568
+ border: e.border,
569
+ stripe: !0,
570
+ rowKey: Q,
571
+ size: "default",
572
+ height: e.autoHeight ? null : "auto",
573
+ onScroll: H,
574
+ onSortChange: me,
575
+ onRowDblclick: z,
576
+ onRowClick: B,
577
+ onCellClick: V,
578
+ onCurrentChange: he,
579
+ onSelectionChange: ge
580
+ }), {
581
+ default: () => {
582
+ let t = [];
583
+ if (e.multiple && e.selection && t.push(b(g, {
584
+ key: "selection",
585
+ type: "selection",
586
+ selectable: Z,
587
+ width: e.selectionWidth,
588
+ align: "center"
589
+ }, null)), !e.multiple && e.selection && t.push(b(g, {
590
+ key: "single-selection",
591
+ type: "single-selection",
592
+ "class-name": "single-select-column",
593
+ width: e.selectionWidth,
594
+ align: "center"
595
+ }, {
596
+ header: () => b(m, {
597
+ modelValue: !!T.value,
598
+ label: !0
599
+ }, { default: () => [b("span", null, null)] }),
600
+ default: ({ row: e }) => b(m, {
601
+ label: !0,
602
+ disabled: !Z(e),
603
+ modelValue: T.value && Q(T.value) === Q(e)
604
+ }, { default: () => [b("span", null, null)] })
605
+ })), e.index && t.push(b(g, {
606
+ key: "index",
607
+ type: "index",
608
+ label: "序号",
609
+ width: L.value,
610
+ align: "center"
611
+ }, { default: ({ $index: e }) => (A.value.page - 1) * A.value.limit + e + 1 || e + 1 })), $.value.length > 0) for (let e = 0; e < $.value.length; e++) {
612
+ let n = $.value[e];
613
+ if (n.hide) continue;
614
+ let { prop: r, headerSlot: i, defaultSlot: a, expandSlot: o, iconSlot: s, ...c } = n;
615
+ t.push(b(le, w(c, { prop: r }), {
616
+ default: d[r] ? ({ row: e }) => d[r]({ row: e }) : a,
617
+ header: i,
618
+ expand: o,
619
+ "filter-icon": s
620
+ }));
621
+ }
622
+ else t.push(b(g, {
623
+ key: "default",
624
+ label: "点击表格行复制模板"
625
+ }, { default: ({ row: e }) => b("pre", {
626
+ class: "pointer",
627
+ onClick: () => pe(e)
628
+ }, [JSON.stringify(e, null, " ")]) }));
629
+ return t;
630
+ },
631
+ empty: () => d.empty ? d.empty() : b(re, null, [
632
+ S.value === R.loading && b("span", { class: "pageable-table-loading" }, [b("i", { class: "table-status-icon el-icon-loading" }, null), y("加载中...")]),
633
+ S.value === R.error && b(s, {
634
+ class: "pageable-table-error",
635
+ onClick: q
636
+ }, { default: () => [b("i", { class: "table-status-icon el-icon-error" }, null), y("加载失败,点击重试!")] }),
637
+ S.value !== R.loading && S.value !== R.error && b(te, null, null)
638
+ ]),
639
+ append: d.append
640
+ }),
641
+ e.paging && b(p, {
642
+ "current-page": A.value.page,
643
+ "onUpdate:current-page": (e) => A.value.page = e,
644
+ "hide-on-single-page": e.hideOnSinglePage,
645
+ "page-size": A.value.limit,
646
+ "onUpdate:page-size": (e) => A.value.limit = e,
647
+ total: A.value.total,
648
+ "page-sizes": [
649
+ 10,
650
+ 25,
651
+ 50,
652
+ 100,
653
+ 500,
654
+ 1e3,
655
+ 2e3
656
+ ],
657
+ class: "flex-not-shrink",
658
+ background: !0,
659
+ layout: "total, sizes, prev, pager, next, jumper"
660
+ }, null),
661
+ b(P, {
662
+ settings: x.value,
663
+ "onUpdate:settings": (e) => x.value = e,
664
+ modelValue: D.value,
665
+ "onUpdate:modelValue": (e) => D.value = e,
666
+ columns: $.value
667
+ }, null)
668
+ ]), b(i, { onNotify: K }, null)]);
669
+ }
670
+ };
671
+ //#endregion
672
+ export { z as t };