@expcat/tigercat-vue 1.0.7 → 1.2.0

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 (910) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-25EYT2CB.js +139 -0
  3. package/dist/chunk-27T3QDSF.js +61 -48
  4. package/dist/chunk-2BNQGU7E.mjs +22 -4
  5. package/dist/{chunk-WBY2ILFK.js → chunk-2C5TOAYI.js} +12 -9
  6. package/dist/{chunk-YFD6RD7P.mjs → chunk-2GQE47OY.mjs} +86 -19
  7. package/dist/chunk-2KDSHEZT.js +41 -28
  8. package/dist/chunk-2LNNB55E.js +222 -0
  9. package/dist/{chunk-EZ6GXQMP.mjs → chunk-2PFP44AI.mjs} +61 -30
  10. package/dist/chunk-2R5HISQA.mjs +16 -4
  11. package/dist/chunk-2S5CNU36.js +40 -31
  12. package/dist/chunk-2TNZ4JNT.mjs +14 -4
  13. package/dist/{chunk-5G5Q3TTH.js → chunk-2VBUCW5G.js} +116 -88
  14. package/dist/chunk-2VOZFFW6.js +138 -0
  15. package/dist/chunk-2WJADO6O.mjs +19 -4
  16. package/dist/{chunk-RB7KVVWE.mjs → chunk-2X3ZPH2H.mjs} +50 -31
  17. package/dist/chunk-2YFXJUBT.js +40 -25
  18. package/dist/chunk-2ZUEXCVJ.mjs +9 -4
  19. package/dist/{chunk-TDL4BUUB.js → chunk-33YTJPF7.js} +81 -53
  20. package/dist/{chunk-HXLCWM2J.mjs → chunk-3A7H2CTW.mjs} +183 -14
  21. package/dist/chunk-3G4VPV4D.mjs +20 -4
  22. package/dist/chunk-3MC45EXP.mjs +13 -4
  23. package/dist/chunk-3QV2D54H.js +55 -37
  24. package/dist/{chunk-QDNTISP7.mjs → chunk-3W4CM7KO.mjs} +31 -32
  25. package/dist/chunk-43BLH7DE.js +49 -37
  26. package/dist/chunk-44N7LE3Q.js +568 -0
  27. package/dist/chunk-46DEQQMB.mjs +11 -4
  28. package/dist/{chunk-243JSTYQ.mjs → chunk-4CWRNKPE.mjs} +36 -5
  29. package/dist/chunk-4DWOTV7J.js +369 -0
  30. package/dist/chunk-4K2CCBFT.mjs +30 -4
  31. package/dist/chunk-4OOR4524.js +910 -0
  32. package/dist/chunk-4YHOD7LT.mjs +13 -4
  33. package/dist/chunk-5436FG3B.js +136 -0
  34. package/dist/chunk-54VVFMYI.js +13 -14
  35. package/dist/chunk-57MJTNDL.js +25 -20
  36. package/dist/{chunk-JGUXQMYL.mjs → chunk-5D2UAWWP.mjs} +57 -8
  37. package/dist/chunk-5F6P5Y4K.js +115 -0
  38. package/dist/chunk-5JKQPOG2.js +133 -0
  39. package/dist/chunk-5PXTMXXS.js +27 -20
  40. package/dist/chunk-5UOAWXOQ.js +243 -0
  41. package/dist/{chunk-W5A4E4C7.js → chunk-5VSKQLK3.js} +216 -105
  42. package/dist/chunk-5WG4OFXH.mjs +133 -0
  43. package/dist/{chunk-LW3LFCRZ.mjs → chunk-5X3GXNGM.mjs} +83 -15
  44. package/dist/{chunk-PLGYRHPX.mjs → chunk-5ZAIW5W3.mjs} +9 -3
  45. package/dist/{chunk-3PQ2I5IQ.mjs → chunk-6DVWLGSZ.mjs} +43 -18
  46. package/dist/chunk-6FXYRDYH.js +30 -25
  47. package/dist/chunk-6HM77SWE.js +392 -0
  48. package/dist/chunk-6V7XCCXN.mjs +8 -4
  49. package/dist/chunk-7ADONGSB.js +49 -0
  50. package/dist/chunk-7LUATGJU.mjs +27 -4
  51. package/dist/{chunk-MADOTDW7.mjs → chunk-7PY6OQVE.mjs} +37 -30
  52. package/dist/chunk-7QX4QWWN.js +194 -0
  53. package/dist/{chunk-CU4M5ABS.mjs → chunk-7RIWAO2A.mjs} +55 -7
  54. package/dist/chunk-7SFB77JR.mjs +192 -0
  55. package/dist/chunk-7W3NALIL.mjs +165 -0
  56. package/dist/chunk-A5HHG53Z.js +135 -0
  57. package/dist/{chunk-Q57TYGO4.js → chunk-A5HRX7EG.js} +44 -27
  58. package/dist/chunk-A7FN3S4I.js +150 -0
  59. package/dist/{chunk-BKTQ6RWR.js → chunk-ACYYQJ6M.js} +20 -20
  60. package/dist/chunk-AGVXMB4Q.js +164 -0
  61. package/dist/{chunk-T52TU2RW.mjs → chunk-AXDBME5A.mjs} +43 -21
  62. package/dist/{chunk-D6AWPRGV.js → chunk-B2RH4CMG.js} +157 -36
  63. package/dist/chunk-B67RJSXR.mjs +142 -0
  64. package/dist/chunk-BEIPGX74.mjs +233 -0
  65. package/dist/chunk-BEIZXMHW.js +470 -0
  66. package/dist/{chunk-PBWSBNDS.js → chunk-BGMAWKWV.js} +208 -101
  67. package/dist/chunk-BGMQIUPP.js +409 -0
  68. package/dist/{chunk-564LMZQL.mjs → chunk-BMT5PGAQ.mjs} +40 -22
  69. package/dist/chunk-BPAN6T7H.mjs +16 -4
  70. package/dist/chunk-BYNMOQBB.js +54 -42
  71. package/dist/chunk-BZBVSB43.js +37 -28
  72. package/dist/{chunk-GMYSHJCU.mjs → chunk-C7VGTRHE.mjs} +31 -10
  73. package/dist/chunk-CBECE4ZO.mjs +373 -0
  74. package/dist/chunk-CKXZONMO.js +18 -14
  75. package/dist/{chunk-J7VTGSHX.mjs → chunk-CN7HFUFN.mjs} +97 -189
  76. package/dist/chunk-COCECPMG.mjs +17 -4
  77. package/dist/chunk-CPV7INZ4.mjs +10 -4
  78. package/dist/{chunk-2SK6T4WB.js → chunk-CSJQKBDJ.js} +90 -45
  79. package/dist/chunk-CWNEDREV.js +165 -0
  80. package/dist/chunk-CWQOEU6G.js +373 -0
  81. package/dist/{chunk-Z2NMFYF4.mjs → chunk-CZALMJH3.mjs} +31 -9
  82. package/dist/chunk-D3U2NJ32.mjs +154 -0
  83. package/dist/{chunk-YYZBVHVC.mjs → chunk-D74XCQCK.mjs} +78 -12
  84. package/dist/{chunk-6A57RY3H.mjs → chunk-DBTS5QBX.mjs} +15 -5
  85. package/dist/{chunk-M6PEW6V5.mjs → chunk-DDNRF5U7.mjs} +96 -20
  86. package/dist/{chunk-46XPSPG4.js → chunk-DE5WMG6P.js} +69 -53
  87. package/dist/{chunk-T77L326M.mjs → chunk-DEJKRMMU.mjs} +81 -6
  88. package/dist/{chunk-XYYZAQ6Z.mjs → chunk-DIQGHFAT.mjs} +8 -6
  89. package/dist/{chunk-S276SM7L.mjs → chunk-DMV26JNR.mjs} +44 -29
  90. package/dist/{chunk-7DGAOCPX.mjs → chunk-DQFTTJJ5.mjs} +209 -134
  91. package/dist/{chunk-EJCHNSVG.mjs → chunk-DTUTHYQY.mjs} +10 -7
  92. package/dist/chunk-DUQ7Q2GO.js +10 -9
  93. package/dist/chunk-DYSLYJ2W.js +29 -25
  94. package/dist/chunk-DZXZ3YEL.js +137 -0
  95. package/dist/chunk-E2GQSWHK.mjs +14 -4
  96. package/dist/{chunk-LRHJZP2C.mjs → chunk-E6RGBYI3.mjs} +138 -32
  97. package/dist/chunk-EJNPSYTS.js +44 -0
  98. package/dist/{chunk-TW64ZNZY.mjs → chunk-EKWJTB5H.mjs} +92 -10
  99. package/dist/chunk-EL2224DN.js +291 -0
  100. package/dist/chunk-EQDCFOWR.mjs +243 -0
  101. package/dist/chunk-ETTYERGO.js +23 -17
  102. package/dist/chunk-EZXW4HIZ.mjs +19 -4
  103. package/dist/{chunk-4BMFV4CH.mjs → chunk-F7G7K3TF.mjs} +79 -86
  104. package/dist/{chunk-S2PMAXBQ.js → chunk-FAYSOSR7.js} +127 -59
  105. package/dist/chunk-FC7RXQTM.js +30 -20
  106. package/dist/{chunk-WB6JGQWN.js → chunk-FE2HR4E5.js} +68 -48
  107. package/dist/chunk-FIV4PKWT.js +26 -20
  108. package/dist/{chunk-I5K3R4FN.mjs → chunk-FMH4CLSA.mjs} +37 -5
  109. package/dist/chunk-FP7SBCPO.js +253 -0
  110. package/dist/chunk-FQWEOBQ4.mjs +231 -0
  111. package/dist/{chunk-SEKYX56R.js → chunk-FRI62O2J.js} +104 -69
  112. package/dist/chunk-FUGSQXFR.js +65 -42
  113. package/dist/{chunk-VITTXNTD.js → chunk-FUI6WG2F.js} +248 -110
  114. package/dist/chunk-FXS5GHQZ.js +388 -0
  115. package/dist/{chunk-MKLJ2LJW.mjs → chunk-G36MH6G4.mjs} +57 -19
  116. package/dist/chunk-G3SWTL27.js +45 -29
  117. package/dist/{chunk-LFV3KYO2.js → chunk-GDKYQ7U6.js} +94 -75
  118. package/dist/{chunk-U2K7CF67.js → chunk-GIQQOHDA.js} +60 -64
  119. package/dist/{chunk-D2I2NNYI.js → chunk-GL6KRUVO.js} +71 -49
  120. package/dist/chunk-GOBWUEHV.js +197 -0
  121. package/dist/{chunk-665NGSV3.mjs → chunk-GQAVLQEZ.mjs} +19 -12
  122. package/dist/chunk-GQPSQJ5I.mjs +6 -4
  123. package/dist/{chunk-IOBJYUUO.mjs → chunk-GVZRR2WP.mjs} +49 -29
  124. package/dist/chunk-H4F4G2E4.mjs +84 -0
  125. package/dist/chunk-HBFFINAI.js +13 -11
  126. package/dist/chunk-HKRMZODL.mjs +246 -0
  127. package/dist/chunk-HVVPFQW2.mjs +19 -4
  128. package/dist/chunk-I4LQXUMW.js +13 -14
  129. package/dist/chunk-IGSAOYXD.mjs +11 -4
  130. package/dist/{chunk-MYFQ3B2D.mjs → chunk-IKEZDGRO.mjs} +48 -14
  131. package/dist/chunk-IZF4VHJ2.mjs +23 -4
  132. package/dist/{chunk-TG4PXQKX.mjs → chunk-J73M5UTG.mjs} +101 -8
  133. package/dist/{chunk-4DJ2HAYO.js → chunk-JAAIL4XS.js} +24 -16
  134. package/dist/chunk-JCMGBKS6.js +23 -17
  135. package/dist/chunk-JDCVS4SJ.js +162 -0
  136. package/dist/{chunk-BFS7XO3E.js → chunk-JFIVDZFK.js} +85 -67
  137. package/dist/{chunk-6XU5PSC2.js → chunk-JKEF7NB3.js} +94 -46
  138. package/dist/chunk-JKZ5ZRDG.js +136 -0
  139. package/dist/{chunk-P4X7GS2X.mjs → chunk-JL526HSV.mjs} +66 -17
  140. package/dist/{chunk-CODQKVQV.js → chunk-K2DJDJZR.js} +25 -22
  141. package/dist/{chunk-MX2KCWM2.js → chunk-K3CIXMN4.js} +65 -46
  142. package/dist/{chunk-5XF5IAUD.mjs → chunk-K5ZZZ4TL.mjs} +112 -52
  143. package/dist/{chunk-2J54DRDA.js → chunk-KA7DILCI.js} +208 -99
  144. package/dist/chunk-KDA4XDXT.js +67 -0
  145. package/dist/chunk-KOTSKHPQ.mjs +19 -4
  146. package/dist/{chunk-4L5UYIV6.mjs → chunk-KU2Q5V3L.mjs} +54 -8
  147. package/dist/{chunk-UWL2XUAH.mjs → chunk-KVJIJJ4M.mjs} +116 -8
  148. package/dist/chunk-KY3O3FWK.mjs +367 -0
  149. package/dist/{chunk-YH7N5GZF.mjs → chunk-KZP3B3FQ.mjs} +41 -20
  150. package/dist/chunk-LBGTABIU.mjs +20 -4
  151. package/dist/chunk-LDDGBB3V.mjs +910 -0
  152. package/dist/{chunk-WNF7XUX4.mjs → chunk-LFKY2QRD.mjs} +140 -15
  153. package/dist/chunk-LG6KGO5D.js +161 -0
  154. package/dist/{chunk-LV3BMS4U.mjs → chunk-LILAZ4UJ.mjs} +146 -37
  155. package/dist/{chunk-EXQSRZJX.mjs → chunk-LL4ASJ4O.mjs} +39 -18
  156. package/dist/chunk-LWDA7ABQ.js +121 -0
  157. package/dist/{chunk-5NOZXKMU.js → chunk-M2XA7VU5.js} +107 -75
  158. package/dist/{chunk-2SCIJ2RW.mjs → chunk-M3G6LJKZ.mjs} +14 -5
  159. package/dist/{chunk-FK2XBMC3.mjs → chunk-M5PGWW25.mjs} +158 -17
  160. package/dist/chunk-M7EBWJZ5.mjs +9 -4
  161. package/dist/{chunk-ECUROLZ7.js → chunk-MFYBHMQL.js} +277 -205
  162. package/dist/chunk-MHNCH2YI.js +231 -0
  163. package/dist/chunk-MI6TL3CQ.mjs +12 -4
  164. package/dist/chunk-MKBIVETW.mjs +12 -4
  165. package/dist/chunk-MNH3KNSN.js +49 -37
  166. package/dist/chunk-MQ23PX3S.js +218 -0
  167. package/dist/chunk-MSKAWM7K.js +73 -0
  168. package/dist/{chunk-JN63Z5E5.js → chunk-MUJLT2YG.js} +224 -119
  169. package/dist/{chunk-LAAPLTP3.js → chunk-NCFY3VXA.js} +14 -15
  170. package/dist/{chunk-NVJRZYES.mjs → chunk-NDS2DLUS.mjs} +79 -14
  171. package/dist/{chunk-W2WGLETE.mjs → chunk-NHBN6VAY.mjs} +98 -37
  172. package/dist/chunk-NMVKDWMK.mjs +1324 -0
  173. package/dist/{chunk-WLKOJFOC.mjs → chunk-NNNG6NIA.mjs} +25 -5
  174. package/dist/chunk-NOZ65AMO.js +32 -22
  175. package/dist/{chunk-TYFUO6PE.mjs → chunk-NWS45JQP.mjs} +139 -25
  176. package/dist/{chunk-NHCCPMLC.mjs → chunk-NZUQ2KCW.mjs} +103 -20
  177. package/dist/{chunk-LGVPLGK3.mjs → chunk-OCL22D5E.mjs} +49 -34
  178. package/dist/chunk-ODQOYMUQ.js +72 -0
  179. package/dist/{chunk-FXGIIFGN.mjs → chunk-OK4PVFQG.mjs} +12 -10
  180. package/dist/{chunk-UNR5RUET.mjs → chunk-OKR3GRG5.mjs} +137 -25
  181. package/dist/chunk-OW5D4LU6.js +1324 -0
  182. package/dist/chunk-OXIODAJS.js +192 -0
  183. package/dist/{chunk-4Y2SJZB5.js → chunk-P7RXZVLT.js} +78 -62
  184. package/dist/chunk-PCJHGWTU.js +269 -0
  185. package/dist/{chunk-Q6OYCTQO.mjs → chunk-PCUUTKQZ.mjs} +43 -4
  186. package/dist/{chunk-RSBAFDUA.mjs → chunk-PENI3H3I.mjs} +39 -13
  187. package/dist/chunk-PQMZ3YN3.js +37 -25
  188. package/dist/{chunk-BQEVLY2O.mjs → chunk-PUSTYAMS.mjs} +166 -22
  189. package/dist/chunk-PVPLDEC5.mjs +6 -4
  190. package/dist/chunk-PXRF4IJO.mjs +17 -4
  191. package/dist/chunk-PY6P4N2Q.js +393 -0
  192. package/dist/{chunk-QNODDATK.mjs → chunk-PYT5DTQQ.mjs} +149 -39
  193. package/dist/{chunk-XNORTTVQ.mjs → chunk-PZH2RTSS.mjs} +92 -3
  194. package/dist/chunk-Q4MH333P.js +18 -16
  195. package/dist/{chunk-AGAJJYP2.js → chunk-QO2JYX6Q.js} +142 -62
  196. package/dist/chunk-QRAV345L.js +88 -0
  197. package/dist/{chunk-THEYWGOT.js → chunk-QUIRQ7OA.js} +127 -65
  198. package/dist/chunk-QY6PYAJA.js +73 -53
  199. package/dist/chunk-QYSFZA5V.js +353 -0
  200. package/dist/chunk-QZ5OPNL4.mjs +88 -0
  201. package/dist/{chunk-DU2NXX75.mjs → chunk-R2HO74FE.mjs} +19 -5
  202. package/dist/chunk-RDJZOMI6.js +84 -0
  203. package/dist/{chunk-GTSS7RAT.mjs → chunk-RFFPMC22.mjs} +149 -10
  204. package/dist/{chunk-3ICMBQPM.mjs → chunk-RHAIJVMW.mjs} +86 -14
  205. package/dist/chunk-RKZN3URO.js +181 -0
  206. package/dist/chunk-RY2I56HB.js +36 -24
  207. package/dist/{chunk-GA5S2KNZ.js → chunk-S6K6IR3Y.js} +225 -119
  208. package/dist/{chunk-AAO2B46J.js → chunk-S6Q7TD6H.js} +153 -67
  209. package/dist/{chunk-FDYZ7NTQ.mjs → chunk-SC3WTLKG.mjs} +94 -24
  210. package/dist/{chunk-YYRJA6VQ.mjs → chunk-SCRSO3ES.mjs} +61 -22
  211. package/dist/chunk-SCSGLSPY.mjs +393 -0
  212. package/dist/{chunk-HSXB2ASL.mjs → chunk-SEDENBOO.mjs} +125 -16
  213. package/dist/chunk-SGRUGYQ6.mjs +568 -0
  214. package/dist/chunk-SLYUQ67P.js +39 -30
  215. package/dist/{chunk-35VYCSVH.js → chunk-SVWZOIBI.js} +101 -70
  216. package/dist/chunk-SWOQMMOT.js +18 -14
  217. package/dist/chunk-T4DF24UV.js +26 -20
  218. package/dist/{chunk-RQREJGY3.js → chunk-TAU447CL.js} +53 -34
  219. package/dist/{chunk-OXOCGMPN.mjs → chunk-TGIXSJI3.mjs} +39 -5
  220. package/dist/chunk-TLXEFLPA.js +13 -14
  221. package/dist/chunk-TOE2XSEO.js +119 -0
  222. package/dist/{chunk-SAMKKXAW.mjs → chunk-TOOENSVT.mjs} +15 -4
  223. package/dist/{chunk-DBPY5M7Y.mjs → chunk-TSF5O3MA.mjs} +25 -6
  224. package/dist/chunk-U36NBQWP.js +192 -0
  225. package/dist/{chunk-HFCVHAQ6.mjs → chunk-UAD2XROX.mjs} +47 -12
  226. package/dist/{chunk-URYEEQD7.mjs → chunk-UANF7XE5.mjs} +41 -14
  227. package/dist/chunk-UHVUKLHF.js +112 -0
  228. package/dist/chunk-UI7N2ZDU.js +142 -0
  229. package/dist/chunk-ULUH6UNV.js +238 -0
  230. package/dist/{chunk-M7JUNLA7.mjs → chunk-UM5GGKIX.mjs} +34 -20
  231. package/dist/{chunk-ABPOLQLE.mjs → chunk-UMQUWX7U.mjs} +37 -15
  232. package/dist/{chunk-ZA2PLF7O.mjs → chunk-UNTTADHL.mjs} +19 -6
  233. package/dist/chunk-UQK22ZMC.mjs +19 -4
  234. package/dist/{chunk-HK2TAPQX.js → chunk-UUJ7A3CN.js} +126 -61
  235. package/dist/{chunk-KFE7T7CN.js → chunk-V32X2OEO.js} +64 -34
  236. package/dist/chunk-VAXO5NEM.js +320 -0
  237. package/dist/chunk-VG6E4NX6.mjs +139 -0
  238. package/dist/chunk-VIIGYWUY.mjs +13 -4
  239. package/dist/chunk-VJ6YM2EW.mjs +192 -0
  240. package/dist/chunk-VL7GENWD.mjs +6 -4
  241. package/dist/chunk-VPNIZPIF.js +356 -0
  242. package/dist/{chunk-F5HOHSFH.mjs → chunk-VVS2CQS4.mjs} +10 -7
  243. package/dist/chunk-VXULMOIW.js +374 -0
  244. package/dist/{chunk-BUTNEKFD.js → chunk-W55GCQ2D.js} +73 -56
  245. package/dist/chunk-W5RZPTFD.mjs +112 -0
  246. package/dist/{chunk-NAHD6ZRR.mjs → chunk-W6ZFHHD3.mjs} +23 -16
  247. package/dist/{chunk-DVFDA2P2.mjs → chunk-WE4DGU2T.mjs} +14 -7
  248. package/dist/chunk-WFISP42H.mjs +17 -4
  249. package/dist/chunk-WGNJHM34.js +230 -0
  250. package/dist/chunk-WM4ESIHG.mjs +13 -4
  251. package/dist/chunk-WPIDP6IG.js +35 -25
  252. package/dist/chunk-WQXZ3234.mjs +19 -4
  253. package/dist/{chunk-K2U3FEL7.js → chunk-WUEP3PFN.js} +133 -61
  254. package/dist/chunk-X5CFXNVK.js +246 -0
  255. package/dist/chunk-X6FG4RPF.js +367 -0
  256. package/dist/chunk-XGXGAK27.js +40 -28
  257. package/dist/chunk-XH4ZZ6KJ.js +427 -0
  258. package/dist/chunk-XJXGVNNF.js +120 -0
  259. package/dist/chunk-XSMDZOBF.js +154 -0
  260. package/dist/chunk-XTMGF5YP.js +27 -21
  261. package/dist/chunk-XUOGT4HG.js +76 -0
  262. package/dist/{chunk-QK3KKTYV.js → chunk-XY4A73TK.js} +23 -25
  263. package/dist/chunk-XZMU7B54.js +230 -0
  264. package/dist/{chunk-KYQAAQKV.mjs → chunk-Y3BQSELH.mjs} +62 -11
  265. package/dist/chunk-Y4V7BOVR.mjs +18 -4
  266. package/dist/chunk-YEHKQ3JZ.mjs +13 -4
  267. package/dist/{chunk-JM3ZZYTE.mjs → chunk-YSUT2GRP.mjs} +62 -13
  268. package/dist/chunk-YZP4K6KI.mjs +25 -4
  269. package/dist/{chunk-W3Y22PMU.mjs → chunk-Z2ZECCGD.mjs} +9 -8
  270. package/dist/{chunk-AGQNHT65.mjs → chunk-Z4SG7REU.mjs} +64 -6
  271. package/dist/{chunk-NMGH5YTV.mjs → chunk-Z7ETXBOL.mjs} +31 -8
  272. package/dist/chunk-ZED7TU62.js +22 -16
  273. package/dist/chunk-ZIOGRGN5.mjs +120 -0
  274. package/dist/chunk-ZMGNQKXL.js +233 -0
  275. package/dist/{chunk-I2B4CO22.mjs → chunk-ZMNX4SCS.mjs} +14 -13
  276. package/dist/chunk-ZNVQ2OFX.js +13 -11
  277. package/dist/{chunk-EPE6OOV7.js → chunk-ZOUJFFG4.js} +21 -22
  278. package/dist/{chunk-U5ABMOOV.js → chunk-ZSCOAOJJ.js} +106 -94
  279. package/dist/{chunk-OMYSFPX6.mjs → chunk-ZSQ5I2KL.mjs} +54 -33
  280. package/dist/chunk-ZUPVK5L7.js +838 -0
  281. package/dist/chunk-ZWVA7HT3.mjs +14 -4
  282. package/dist/components/ActivityFeed.d.mts +3 -3
  283. package/dist/components/ActivityFeed.d.ts +3 -3
  284. package/dist/components/ActivityFeed.js +5 -13
  285. package/dist/components/ActivityFeed.mjs +16 -9
  286. package/dist/components/Affix.d.mts +1 -1
  287. package/dist/components/Affix.d.ts +1 -1
  288. package/dist/components/Affix.js +3 -12
  289. package/dist/components/Affix.mjs +8 -2
  290. package/dist/components/Alert.d.mts +3 -3
  291. package/dist/components/Alert.d.ts +3 -3
  292. package/dist/components/Alert.js +3 -12
  293. package/dist/components/Alert.mjs +9 -3
  294. package/dist/components/Anchor.d.mts +74 -9
  295. package/dist/components/Anchor.d.ts +74 -9
  296. package/dist/components/Anchor.js +7 -16
  297. package/dist/components/Anchor.mjs +12 -2
  298. package/dist/components/AnchorLink.d.mts +6 -67
  299. package/dist/components/AnchorLink.d.ts +6 -67
  300. package/dist/components/AnchorLink.js +5 -13
  301. package/dist/components/AnchorLink.mjs +10 -3
  302. package/dist/components/AreaChart.d.mts +21 -3
  303. package/dist/components/AreaChart.d.ts +21 -3
  304. package/dist/components/AreaChart.js +7 -16
  305. package/dist/components/AreaChart.mjs +15 -9
  306. package/dist/components/AutoComplete.d.mts +1 -1
  307. package/dist/components/AutoComplete.d.ts +1 -1
  308. package/dist/components/AutoComplete.js +3 -12
  309. package/dist/components/AutoComplete.mjs +8 -2
  310. package/dist/components/Avatar.d.mts +1 -1
  311. package/dist/components/Avatar.d.ts +1 -1
  312. package/dist/components/Avatar.js +3 -12
  313. package/dist/components/Avatar.mjs +8 -2
  314. package/dist/components/AvatarGroup.js +5 -16
  315. package/dist/components/AvatarGroup.mjs +10 -2
  316. package/dist/components/BackTop.d.mts +3 -3
  317. package/dist/components/BackTop.d.ts +3 -3
  318. package/dist/components/BackTop.js +3 -12
  319. package/dist/components/BackTop.mjs +8 -2
  320. package/dist/components/Badge.d.mts +2 -2
  321. package/dist/components/Badge.d.ts +2 -2
  322. package/dist/components/Badge.js +3 -12
  323. package/dist/components/Badge.mjs +8 -2
  324. package/dist/components/BarChart.d.mts +1 -1
  325. package/dist/components/BarChart.d.ts +1 -1
  326. package/dist/components/BarChart.js +7 -16
  327. package/dist/components/BarChart.mjs +15 -9
  328. package/dist/components/Breadcrumb.d.mts +135 -4
  329. package/dist/components/Breadcrumb.d.ts +135 -4
  330. package/dist/components/Breadcrumb.js +7 -16
  331. package/dist/components/Breadcrumb.mjs +12 -2
  332. package/dist/components/BreadcrumbItem.d.mts +6 -135
  333. package/dist/components/BreadcrumbItem.d.ts +6 -135
  334. package/dist/components/BreadcrumbItem.js +5 -13
  335. package/dist/components/BreadcrumbItem.mjs +10 -3
  336. package/dist/components/Button.d.mts +2 -2
  337. package/dist/components/Button.d.ts +2 -2
  338. package/dist/components/Button.js +3 -12
  339. package/dist/components/Button.mjs +8 -2
  340. package/dist/components/ButtonGroup.js +5 -16
  341. package/dist/components/ButtonGroup.mjs +10 -2
  342. package/dist/components/Calendar.js +3 -12
  343. package/dist/components/Calendar.mjs +8 -2
  344. package/dist/components/Card.d.mts +3 -3
  345. package/dist/components/Card.d.ts +3 -3
  346. package/dist/components/Card.js +3 -12
  347. package/dist/components/Card.mjs +8 -2
  348. package/dist/components/Carousel.d.mts +2 -2
  349. package/dist/components/Carousel.d.ts +2 -2
  350. package/dist/components/Carousel.js +3 -12
  351. package/dist/components/Carousel.mjs +8 -2
  352. package/dist/components/Cascader.d.mts +1 -1
  353. package/dist/components/Cascader.d.ts +1 -1
  354. package/dist/components/Cascader.js +3 -12
  355. package/dist/components/Cascader.mjs +8 -2
  356. package/dist/components/ChartAxis.js +3 -12
  357. package/dist/components/ChartAxis.mjs +8 -2
  358. package/dist/components/ChartCanvas.d.mts +9 -0
  359. package/dist/components/ChartCanvas.d.ts +9 -0
  360. package/dist/components/ChartCanvas.js +3 -12
  361. package/dist/components/ChartCanvas.mjs +8 -2
  362. package/dist/components/ChartGrid.d.mts +1 -1
  363. package/dist/components/ChartGrid.d.ts +1 -1
  364. package/dist/components/ChartGrid.js +3 -12
  365. package/dist/components/ChartGrid.mjs +8 -2
  366. package/dist/components/ChartLegend.js +3 -12
  367. package/dist/components/ChartLegend.mjs +8 -2
  368. package/dist/components/ChartSeries.js +3 -12
  369. package/dist/components/ChartSeries.mjs +8 -2
  370. package/dist/components/ChartTooltip.js +3 -12
  371. package/dist/components/ChartTooltip.mjs +8 -2
  372. package/dist/components/ChatWindow.d.mts +37 -1
  373. package/dist/components/ChatWindow.d.ts +37 -1
  374. package/dist/components/ChatWindow.js +5 -13
  375. package/dist/components/ChatWindow.mjs +13 -6
  376. package/dist/components/Checkbox.js +3 -12
  377. package/dist/components/Checkbox.mjs +9 -3
  378. package/dist/components/CheckboxGroup.d.mts +1 -1
  379. package/dist/components/CheckboxGroup.d.ts +1 -1
  380. package/dist/components/CheckboxGroup.js +5 -16
  381. package/dist/components/CheckboxGroup.mjs +10 -2
  382. package/dist/components/Code.d.mts +1 -1
  383. package/dist/components/Code.d.ts +1 -1
  384. package/dist/components/Code.js +3 -12
  385. package/dist/components/Code.mjs +8 -2
  386. package/dist/components/CodeEditor.d.mts +18 -2
  387. package/dist/components/CodeEditor.d.ts +18 -2
  388. package/dist/components/CodeEditor.js +3 -12
  389. package/dist/components/CodeEditor.mjs +8 -2
  390. package/dist/components/Col.js +4 -9
  391. package/dist/components/Col.mjs +7 -3
  392. package/dist/components/Collapse.d.mts +1 -1
  393. package/dist/components/Collapse.d.ts +1 -1
  394. package/dist/components/Collapse.js +5 -16
  395. package/dist/components/Collapse.mjs +10 -2
  396. package/dist/components/CollapsePanel.d.mts +2 -2
  397. package/dist/components/CollapsePanel.d.ts +2 -2
  398. package/dist/components/CollapsePanel.js +4 -13
  399. package/dist/components/CollapsePanel.mjs +9 -3
  400. package/dist/components/ColorPicker.d.mts +1 -1
  401. package/dist/components/ColorPicker.d.ts +1 -1
  402. package/dist/components/ColorPicker.js +3 -12
  403. package/dist/components/ColorPicker.mjs +8 -2
  404. package/dist/components/ColorSwatch.d.mts +79 -0
  405. package/dist/components/ColorSwatch.d.ts +79 -0
  406. package/dist/components/ColorSwatch.js +8 -0
  407. package/dist/components/ColorSwatch.mjs +8 -0
  408. package/dist/components/CommentThread.d.mts +2 -2
  409. package/dist/components/CommentThread.d.ts +2 -2
  410. package/dist/components/CommentThread.js +4 -13
  411. package/dist/components/CommentThread.mjs +13 -7
  412. package/dist/components/ConfigProvider.d.mts +38 -8
  413. package/dist/components/ConfigProvider.d.ts +38 -8
  414. package/dist/components/ConfigProvider.js +14 -25
  415. package/dist/components/ConfigProvider.mjs +14 -2
  416. package/dist/components/Container.d.mts +8 -2
  417. package/dist/components/Container.d.ts +8 -2
  418. package/dist/components/Container.js +3 -12
  419. package/dist/components/Container.mjs +8 -2
  420. package/dist/components/Content.d.mts +1 -1
  421. package/dist/components/Content.d.ts +1 -1
  422. package/dist/components/Content.js +3 -12
  423. package/dist/components/Content.mjs +8 -2
  424. package/dist/components/Countdown.d.mts +107 -0
  425. package/dist/components/Countdown.d.ts +107 -0
  426. package/dist/components/Countdown.js +8 -0
  427. package/dist/components/Countdown.mjs +8 -0
  428. package/dist/components/CronEditor.d.mts +80 -0
  429. package/dist/components/CronEditor.d.ts +80 -0
  430. package/dist/components/CronEditor.js +8 -0
  431. package/dist/components/CronEditor.mjs +8 -0
  432. package/dist/components/CropUpload.d.mts +1 -1
  433. package/dist/components/CropUpload.d.ts +1 -1
  434. package/dist/components/CropUpload.js +7 -15
  435. package/dist/components/CropUpload.mjs +12 -5
  436. package/dist/components/DataTableWithToolbar.d.mts +9 -9
  437. package/dist/components/DataTableWithToolbar.d.ts +9 -9
  438. package/dist/components/DataTableWithToolbar.js +6 -16
  439. package/dist/components/DataTableWithToolbar.mjs +12 -7
  440. package/dist/components/DatePicker.d.mts +8 -8
  441. package/dist/components/DatePicker.d.ts +8 -8
  442. package/dist/components/DatePicker.js +3 -12
  443. package/dist/components/DatePicker.mjs +9 -3
  444. package/dist/components/Descriptions.d.mts +2 -2
  445. package/dist/components/Descriptions.d.ts +2 -2
  446. package/dist/components/Descriptions.js +3 -12
  447. package/dist/components/Descriptions.mjs +8 -2
  448. package/dist/components/Divider.d.mts +8 -1
  449. package/dist/components/Divider.d.ts +8 -1
  450. package/dist/components/Divider.js +3 -12
  451. package/dist/components/Divider.mjs +8 -2
  452. package/dist/components/DonutChart.d.mts +11 -2
  453. package/dist/components/DonutChart.d.ts +11 -2
  454. package/dist/components/DonutChart.js +8 -17
  455. package/dist/components/DonutChart.mjs +14 -8
  456. package/dist/components/Drawer.d.mts +6 -8
  457. package/dist/components/Drawer.d.ts +6 -8
  458. package/dist/components/Drawer.js +4 -13
  459. package/dist/components/Drawer.mjs +9 -3
  460. package/dist/components/Dropdown.d.mts +36 -4
  461. package/dist/components/Dropdown.d.ts +36 -4
  462. package/dist/components/Dropdown.js +8 -18
  463. package/dist/components/Dropdown.mjs +13 -4
  464. package/dist/components/DropdownItem.d.mts +1 -1
  465. package/dist/components/DropdownItem.d.ts +1 -1
  466. package/dist/components/DropdownItem.js +5 -15
  467. package/dist/components/DropdownItem.mjs +10 -5
  468. package/dist/components/DropdownMenu.d.mts +6 -36
  469. package/dist/components/DropdownMenu.d.ts +6 -36
  470. package/dist/components/DropdownMenu.js +6 -12
  471. package/dist/components/DropdownMenu.mjs +11 -2
  472. package/dist/components/Empty.d.mts +1 -1
  473. package/dist/components/Empty.d.ts +1 -1
  474. package/dist/components/Empty.js +3 -12
  475. package/dist/components/Empty.mjs +8 -2
  476. package/dist/components/FileManager.d.mts +1 -1
  477. package/dist/components/FileManager.d.ts +1 -1
  478. package/dist/components/FileManager.js +3 -12
  479. package/dist/components/FileManager.mjs +8 -2
  480. package/dist/components/FloatButton.d.mts +4 -4
  481. package/dist/components/FloatButton.d.ts +4 -4
  482. package/dist/components/FloatButton.js +5 -16
  483. package/dist/components/FloatButton.mjs +10 -2
  484. package/dist/components/Footer.d.mts +1 -1
  485. package/dist/components/Footer.d.ts +1 -1
  486. package/dist/components/Footer.js +3 -12
  487. package/dist/components/Footer.mjs +8 -2
  488. package/dist/components/Form.d.mts +41 -3
  489. package/dist/components/Form.d.ts +41 -3
  490. package/dist/components/Form.js +5 -16
  491. package/dist/components/Form.mjs +10 -2
  492. package/dist/components/FormItem.d.mts +24 -3
  493. package/dist/components/FormItem.d.ts +24 -3
  494. package/dist/components/FormItem.js +4 -13
  495. package/dist/components/FormItem.mjs +9 -3
  496. package/dist/components/FormWizard.d.mts +6 -6
  497. package/dist/components/FormWizard.d.ts +6 -6
  498. package/dist/components/FormWizard.js +6 -16
  499. package/dist/components/FormWizard.mjs +11 -6
  500. package/dist/components/FunnelChart.d.mts +10 -1
  501. package/dist/components/FunnelChart.d.ts +10 -1
  502. package/dist/components/FunnelChart.js +7 -16
  503. package/dist/components/FunnelChart.mjs +13 -7
  504. package/dist/components/Gantt.d.mts +231 -0
  505. package/dist/components/Gantt.d.ts +231 -0
  506. package/dist/components/Gantt.js +9 -0
  507. package/dist/components/Gantt.mjs +9 -0
  508. package/dist/components/GaugeChart.d.mts +10 -1
  509. package/dist/components/GaugeChart.d.ts +10 -1
  510. package/dist/components/GaugeChart.js +4 -13
  511. package/dist/components/GaugeChart.mjs +9 -3
  512. package/dist/components/Header.d.mts +1 -1
  513. package/dist/components/Header.d.ts +1 -1
  514. package/dist/components/Header.js +3 -12
  515. package/dist/components/Header.mjs +8 -2
  516. package/dist/components/HeatmapChart.d.mts +24 -0
  517. package/dist/components/HeatmapChart.d.ts +24 -0
  518. package/dist/components/HeatmapChart.js +6 -15
  519. package/dist/components/HeatmapChart.mjs +11 -5
  520. package/dist/components/Icon.js +3 -12
  521. package/dist/components/Icon.mjs +8 -2
  522. package/dist/components/Image.d.mts +2 -3
  523. package/dist/components/Image.d.ts +2 -3
  524. package/dist/components/Image.js +6 -17
  525. package/dist/components/Image.mjs +11 -3
  526. package/dist/components/ImageAnnotation.d.mts +179 -0
  527. package/dist/components/ImageAnnotation.d.ts +179 -0
  528. package/dist/components/ImageAnnotation.js +8 -0
  529. package/dist/components/ImageAnnotation.mjs +8 -0
  530. package/dist/components/ImageCropper.d.mts +2 -2
  531. package/dist/components/ImageCropper.d.ts +2 -2
  532. package/dist/components/ImageCropper.js +3 -12
  533. package/dist/components/ImageCropper.mjs +8 -2
  534. package/dist/components/ImageGroup.js +6 -17
  535. package/dist/components/ImageGroup.mjs +11 -3
  536. package/dist/components/ImagePreview.d.mts +2 -2
  537. package/dist/components/ImagePreview.d.ts +2 -2
  538. package/dist/components/ImagePreview.js +4 -13
  539. package/dist/components/ImagePreview.mjs +8 -5
  540. package/dist/components/ImageViewer.js +3 -12
  541. package/dist/components/ImageViewer.mjs +8 -2
  542. package/dist/components/InfiniteScroll.d.mts +2 -2
  543. package/dist/components/InfiniteScroll.d.ts +2 -2
  544. package/dist/components/InfiniteScroll.js +3 -12
  545. package/dist/components/InfiniteScroll.mjs +8 -2
  546. package/dist/components/Input.d.mts +2 -2
  547. package/dist/components/Input.d.ts +2 -2
  548. package/dist/components/Input.js +3 -12
  549. package/dist/components/Input.mjs +8 -2
  550. package/dist/components/InputGroup.js +12 -25
  551. package/dist/components/InputGroup.mjs +12 -2
  552. package/dist/components/InputNumber.d.mts +3 -3
  553. package/dist/components/InputNumber.d.ts +3 -3
  554. package/dist/components/InputNumber.js +3 -12
  555. package/dist/components/InputNumber.mjs +8 -2
  556. package/dist/components/Kanban.d.mts +1 -1
  557. package/dist/components/Kanban.d.ts +1 -1
  558. package/dist/components/Kanban.js +5 -14
  559. package/dist/components/Kanban.mjs +10 -4
  560. package/dist/components/Layout.d.mts +1 -1
  561. package/dist/components/Layout.d.ts +1 -1
  562. package/dist/components/Layout.js +3 -12
  563. package/dist/components/Layout.mjs +8 -2
  564. package/dist/components/LineChart.d.mts +19 -1
  565. package/dist/components/LineChart.d.ts +19 -1
  566. package/dist/components/LineChart.js +7 -16
  567. package/dist/components/LineChart.mjs +15 -9
  568. package/dist/components/Link.d.mts +11 -2
  569. package/dist/components/Link.d.ts +11 -2
  570. package/dist/components/Link.js +3 -12
  571. package/dist/components/Link.mjs +8 -2
  572. package/dist/components/List.d.mts +65 -3
  573. package/dist/components/List.d.ts +65 -3
  574. package/dist/components/List.js +4 -12
  575. package/dist/components/List.mjs +9 -2
  576. package/dist/components/Loading.d.mts +23 -5
  577. package/dist/components/Loading.d.ts +23 -5
  578. package/dist/components/Loading.js +4 -12
  579. package/dist/components/Loading.mjs +9 -2
  580. package/dist/components/MarkdownEditor.d.mts +149 -0
  581. package/dist/components/MarkdownEditor.d.ts +149 -0
  582. package/dist/components/MarkdownEditor.js +8 -0
  583. package/dist/components/MarkdownEditor.mjs +8 -0
  584. package/dist/components/Mentions.d.mts +1 -1
  585. package/dist/components/Mentions.d.ts +1 -1
  586. package/dist/components/Mentions.js +3 -12
  587. package/dist/components/Mentions.mjs +8 -2
  588. package/dist/components/Menu.d.mts +335 -6
  589. package/dist/components/Menu.d.ts +335 -6
  590. package/dist/components/Menu.js +11 -16
  591. package/dist/components/Menu.mjs +16 -2
  592. package/dist/components/MenuItem.d.mts +6 -95
  593. package/dist/components/MenuItem.d.ts +6 -95
  594. package/dist/components/MenuItem.js +5 -13
  595. package/dist/components/MenuItem.mjs +10 -3
  596. package/dist/components/MenuItemGroup.d.mts +6 -57
  597. package/dist/components/MenuItemGroup.d.ts +6 -57
  598. package/dist/components/MenuItemGroup.js +5 -12
  599. package/dist/components/MenuItemGroup.mjs +10 -2
  600. package/dist/components/Message.d.mts +6 -1
  601. package/dist/components/Message.d.ts +6 -1
  602. package/dist/components/Message.js +5 -16
  603. package/dist/components/Message.mjs +11 -3
  604. package/dist/components/Modal.d.mts +26 -10
  605. package/dist/components/Modal.d.ts +26 -10
  606. package/dist/components/Modal.js +5 -13
  607. package/dist/components/Modal.mjs +10 -3
  608. package/dist/components/Notification.d.mts +6 -1
  609. package/dist/components/Notification.d.ts +6 -1
  610. package/dist/components/Notification.js +5 -16
  611. package/dist/components/Notification.mjs +11 -3
  612. package/dist/components/NotificationCenter.d.mts +4 -4
  613. package/dist/components/NotificationCenter.d.ts +4 -4
  614. package/dist/components/NotificationCenter.js +9 -17
  615. package/dist/components/NotificationCenter.mjs +16 -9
  616. package/dist/components/NumberKeyboard.d.mts +145 -0
  617. package/dist/components/NumberKeyboard.d.ts +145 -0
  618. package/dist/components/NumberKeyboard.js +8 -0
  619. package/dist/components/NumberKeyboard.mjs +8 -0
  620. package/dist/components/OrgChart.d.mts +195 -0
  621. package/dist/components/OrgChart.d.ts +195 -0
  622. package/dist/components/OrgChart.js +9 -0
  623. package/dist/components/OrgChart.mjs +9 -0
  624. package/dist/components/Pagination.d.mts +31 -9
  625. package/dist/components/Pagination.d.ts +31 -9
  626. package/dist/components/Pagination.js +3 -12
  627. package/dist/components/Pagination.mjs +8 -2
  628. package/dist/components/PieChart.d.mts +11 -2
  629. package/dist/components/PieChart.d.ts +11 -2
  630. package/dist/components/PieChart.js +7 -16
  631. package/dist/components/PieChart.mjs +13 -7
  632. package/dist/components/Popconfirm.d.mts +7 -7
  633. package/dist/components/Popconfirm.d.ts +7 -7
  634. package/dist/components/Popconfirm.js +5 -14
  635. package/dist/components/Popconfirm.mjs +10 -4
  636. package/dist/components/Popover.d.mts +4 -4
  637. package/dist/components/Popover.d.ts +4 -4
  638. package/dist/components/Popover.js +5 -14
  639. package/dist/components/Popover.mjs +10 -4
  640. package/dist/components/PrintLayout.js +5 -16
  641. package/dist/components/PrintLayout.mjs +10 -2
  642. package/dist/components/Progress.d.mts +4 -4
  643. package/dist/components/Progress.d.ts +4 -4
  644. package/dist/components/Progress.js +3 -12
  645. package/dist/components/Progress.mjs +8 -2
  646. package/dist/components/QRCode.d.mts +1 -1
  647. package/dist/components/QRCode.d.ts +1 -1
  648. package/dist/components/QRCode.js +3 -12
  649. package/dist/components/QRCode.mjs +8 -2
  650. package/dist/components/RadarChart.d.mts +31 -4
  651. package/dist/components/RadarChart.d.ts +31 -4
  652. package/dist/components/RadarChart.js +7 -16
  653. package/dist/components/RadarChart.mjs +13 -7
  654. package/dist/components/Radio.js +3 -12
  655. package/dist/components/Radio.mjs +9 -3
  656. package/dist/components/RadioGroup.d.mts +1 -1
  657. package/dist/components/RadioGroup.d.ts +1 -1
  658. package/dist/components/RadioGroup.js +5 -16
  659. package/dist/components/RadioGroup.mjs +10 -2
  660. package/dist/components/Rate.d.mts +1 -1
  661. package/dist/components/Rate.d.ts +1 -1
  662. package/dist/components/Rate.js +3 -12
  663. package/dist/components/Rate.mjs +8 -2
  664. package/dist/components/Resizable.d.mts +1 -1
  665. package/dist/components/Resizable.d.ts +1 -1
  666. package/dist/components/Resizable.js +3 -12
  667. package/dist/components/Resizable.mjs +8 -2
  668. package/dist/components/Result.d.mts +1 -1
  669. package/dist/components/Result.d.ts +1 -1
  670. package/dist/components/Result.js +3 -12
  671. package/dist/components/Result.mjs +9 -3
  672. package/dist/components/RichTextEditor.d.mts +21 -5
  673. package/dist/components/RichTextEditor.d.ts +21 -5
  674. package/dist/components/RichTextEditor.js +3 -12
  675. package/dist/components/RichTextEditor.mjs +8 -2
  676. package/dist/components/Row.d.mts +2 -2
  677. package/dist/components/Row.d.ts +2 -2
  678. package/dist/components/Row.js +4 -11
  679. package/dist/components/Row.mjs +8 -2
  680. package/dist/components/ScatterChart.d.mts +1 -1
  681. package/dist/components/ScatterChart.d.ts +1 -1
  682. package/dist/components/ScatterChart.js +7 -16
  683. package/dist/components/ScatterChart.mjs +15 -9
  684. package/dist/components/ScrollSpy.d.mts +125 -0
  685. package/dist/components/ScrollSpy.d.ts +125 -0
  686. package/dist/components/ScrollSpy.js +8 -0
  687. package/dist/components/ScrollSpy.mjs +8 -0
  688. package/dist/components/Segmented.d.mts +1 -1
  689. package/dist/components/Segmented.d.ts +1 -1
  690. package/dist/components/Segmented.js +3 -12
  691. package/dist/components/Segmented.mjs +8 -2
  692. package/dist/components/Select.d.mts +75 -3
  693. package/dist/components/Select.d.ts +75 -3
  694. package/dist/components/Select.js +3 -12
  695. package/dist/components/Select.mjs +8 -2
  696. package/dist/components/Sidebar.d.mts +1 -1
  697. package/dist/components/Sidebar.d.ts +1 -1
  698. package/dist/components/Sidebar.js +3 -12
  699. package/dist/components/Sidebar.mjs +8 -2
  700. package/dist/components/Signature.d.mts +154 -0
  701. package/dist/components/Signature.d.ts +154 -0
  702. package/dist/components/Signature.js +8 -0
  703. package/dist/components/Signature.mjs +8 -0
  704. package/dist/components/Skeleton.d.mts +2 -2
  705. package/dist/components/Skeleton.d.ts +2 -2
  706. package/dist/components/Skeleton.js +3 -12
  707. package/dist/components/Skeleton.mjs +8 -2
  708. package/dist/components/Slider.d.mts +2 -2
  709. package/dist/components/Slider.d.ts +2 -2
  710. package/dist/components/Slider.js +3 -12
  711. package/dist/components/Slider.mjs +8 -2
  712. package/dist/components/Space.d.mts +2 -2
  713. package/dist/components/Space.d.ts +2 -2
  714. package/dist/components/Space.js +3 -12
  715. package/dist/components/Space.mjs +8 -2
  716. package/dist/components/Splitter.d.mts +2 -2
  717. package/dist/components/Splitter.d.ts +2 -2
  718. package/dist/components/Splitter.js +3 -12
  719. package/dist/components/Splitter.mjs +8 -2
  720. package/dist/components/Spotlight.d.mts +198 -0
  721. package/dist/components/Spotlight.d.ts +198 -0
  722. package/dist/components/Spotlight.js +9 -0
  723. package/dist/components/Spotlight.mjs +9 -0
  724. package/dist/components/Statistic.d.mts +20 -2
  725. package/dist/components/Statistic.d.ts +20 -2
  726. package/dist/components/Statistic.js +3 -12
  727. package/dist/components/Statistic.mjs +8 -2
  728. package/dist/components/Stepper.d.mts +1 -1
  729. package/dist/components/Stepper.d.ts +1 -1
  730. package/dist/components/Stepper.js +3 -12
  731. package/dist/components/Stepper.mjs +8 -2
  732. package/dist/components/Steps.d.mts +140 -3
  733. package/dist/components/Steps.d.ts +140 -3
  734. package/dist/components/Steps.js +7 -16
  735. package/dist/components/Steps.mjs +12 -2
  736. package/dist/components/StepsItem.d.mts +6 -141
  737. package/dist/components/StepsItem.d.ts +6 -141
  738. package/dist/components/StepsItem.js +5 -13
  739. package/dist/components/StepsItem.mjs +10 -3
  740. package/dist/components/SubMenu.d.mts +6 -117
  741. package/dist/components/SubMenu.d.ts +6 -117
  742. package/dist/components/SubMenu.js +5 -13
  743. package/dist/components/SubMenu.mjs +10 -3
  744. package/dist/components/SunburstChart.d.mts +10 -1
  745. package/dist/components/SunburstChart.d.ts +10 -1
  746. package/dist/components/SunburstChart.js +7 -16
  747. package/dist/components/SunburstChart.mjs +13 -7
  748. package/dist/components/Switch.d.mts +1 -1
  749. package/dist/components/Switch.d.ts +1 -1
  750. package/dist/components/Switch.js +3 -12
  751. package/dist/components/Switch.mjs +8 -2
  752. package/dist/components/TabPane.d.mts +6 -169
  753. package/dist/components/TabPane.d.ts +6 -169
  754. package/dist/components/TabPane.js +5 -13
  755. package/dist/components/TabPane.mjs +10 -3
  756. package/dist/components/Table.d.mts +326 -396
  757. package/dist/components/Table.d.ts +326 -396
  758. package/dist/components/Table.js +3 -12
  759. package/dist/components/Table.mjs +8 -2
  760. package/dist/components/Tabs.d.mts +187 -2
  761. package/dist/components/Tabs.d.ts +187 -2
  762. package/dist/components/Tabs.js +7 -16
  763. package/dist/components/Tabs.mjs +12 -2
  764. package/dist/components/Tag.d.mts +3 -3
  765. package/dist/components/Tag.d.ts +3 -3
  766. package/dist/components/Tag.js +3 -12
  767. package/dist/components/Tag.mjs +8 -2
  768. package/dist/components/TaskBoard.d.mts +1 -1
  769. package/dist/components/TaskBoard.d.ts +1 -1
  770. package/dist/components/TaskBoard.js +4 -13
  771. package/dist/components/TaskBoard.mjs +9 -3
  772. package/dist/components/Text.d.mts +2 -2
  773. package/dist/components/Text.d.ts +2 -2
  774. package/dist/components/Text.js +3 -12
  775. package/dist/components/Text.mjs +8 -2
  776. package/dist/components/Textarea.d.mts +2 -2
  777. package/dist/components/Textarea.d.ts +2 -2
  778. package/dist/components/Textarea.js +3 -12
  779. package/dist/components/Textarea.mjs +8 -2
  780. package/dist/components/TimePicker.d.mts +4 -4
  781. package/dist/components/TimePicker.d.ts +4 -4
  782. package/dist/components/TimePicker.js +3 -12
  783. package/dist/components/TimePicker.mjs +9 -3
  784. package/dist/components/Timeline.d.mts +1 -1
  785. package/dist/components/Timeline.d.ts +1 -1
  786. package/dist/components/Timeline.js +3 -12
  787. package/dist/components/Timeline.mjs +8 -2
  788. package/dist/components/Tooltip.d.mts +3 -3
  789. package/dist/components/Tooltip.d.ts +3 -3
  790. package/dist/components/Tooltip.js +5 -14
  791. package/dist/components/Tooltip.mjs +10 -4
  792. package/dist/components/Tour.d.mts +15 -5
  793. package/dist/components/Tour.d.ts +15 -5
  794. package/dist/components/Tour.js +3 -12
  795. package/dist/components/Tour.mjs +9 -3
  796. package/dist/components/Transfer.d.mts +1 -1
  797. package/dist/components/Transfer.d.ts +1 -1
  798. package/dist/components/Transfer.js +3 -12
  799. package/dist/components/Transfer.mjs +8 -2
  800. package/dist/components/Tree.d.mts +51 -2
  801. package/dist/components/Tree.d.ts +51 -2
  802. package/dist/components/Tree.js +4 -12
  803. package/dist/components/Tree.mjs +9 -2
  804. package/dist/components/TreeMapChart.d.mts +10 -1
  805. package/dist/components/TreeMapChart.d.ts +10 -1
  806. package/dist/components/TreeMapChart.js +7 -16
  807. package/dist/components/TreeMapChart.mjs +13 -7
  808. package/dist/components/TreeSelect.d.mts +1 -1
  809. package/dist/components/TreeSelect.d.ts +1 -1
  810. package/dist/components/TreeSelect.js +3 -12
  811. package/dist/components/TreeSelect.mjs +8 -2
  812. package/dist/components/Upload.d.mts +48 -4
  813. package/dist/components/Upload.d.ts +48 -4
  814. package/dist/components/Upload.js +4 -13
  815. package/dist/components/Upload.mjs +9 -3
  816. package/dist/components/VirtualList.d.mts +29 -0
  817. package/dist/components/VirtualList.d.ts +29 -0
  818. package/dist/components/VirtualList.js +3 -12
  819. package/dist/components/VirtualList.mjs +8 -2
  820. package/dist/components/VirtualTable.d.mts +3 -3
  821. package/dist/components/VirtualTable.d.ts +3 -3
  822. package/dist/components/VirtualTable.js +3 -12
  823. package/dist/components/VirtualTable.mjs +8 -2
  824. package/dist/components/Watermark.d.mts +1 -1
  825. package/dist/components/Watermark.d.ts +1 -1
  826. package/dist/components/Watermark.js +3 -12
  827. package/dist/components/Watermark.mjs +8 -2
  828. package/dist/index.d.mts +50 -27
  829. package/dist/index.d.ts +50 -27
  830. package/dist/index.js +766 -729
  831. package/dist/index.mjs +755 -151
  832. package/package.json +15 -10
  833. package/dist/chunk-2WZGK7XJ.js +0 -113
  834. package/dist/chunk-34ZZLKQ4.js +0 -184
  835. package/dist/chunk-3AM6WEUE.mjs +0 -174
  836. package/dist/chunk-3FVWZYBQ.js +0 -196
  837. package/dist/chunk-3G7QYQYL.js +0 -95
  838. package/dist/chunk-53M2BTB5.mjs +0 -22
  839. package/dist/chunk-5AXCKK6Z.js +0 -290
  840. package/dist/chunk-5JSU44MQ.js +0 -242
  841. package/dist/chunk-5WHLXWWT.mjs +0 -68
  842. package/dist/chunk-5Y3HYEQD.js +0 -64
  843. package/dist/chunk-6DP7XE77.js +0 -267
  844. package/dist/chunk-6VG6ARQG.js +0 -206
  845. package/dist/chunk-7UU4PULK.mjs +0 -138
  846. package/dist/chunk-7VSD3NPI.js +0 -397
  847. package/dist/chunk-AFKNO6SF.js +0 -76
  848. package/dist/chunk-AN3HKOCS.mjs +0 -50
  849. package/dist/chunk-BMW2Z3G3.mjs +0 -94
  850. package/dist/chunk-BNIUWON3.js +0 -243
  851. package/dist/chunk-CG3AMK5U.mjs +0 -38
  852. package/dist/chunk-CQPHZU3H.mjs +0 -73
  853. package/dist/chunk-DN5GU5PC.js +0 -186
  854. package/dist/chunk-EBQ4WSQS.js +0 -97
  855. package/dist/chunk-ELEAQEMV.mjs +0 -61
  856. package/dist/chunk-ESALMEHU.js +0 -343
  857. package/dist/chunk-EZZG57TK.js +0 -44
  858. package/dist/chunk-FCV4ML6I.js +0 -71
  859. package/dist/chunk-FLAJKB2O.js +0 -126
  860. package/dist/chunk-FOF7UBMU.js +0 -180
  861. package/dist/chunk-G4ZD6COW.js +0 -324
  862. package/dist/chunk-GHPSCR6M.js +0 -69
  863. package/dist/chunk-GJFT5IQR.js +0 -118
  864. package/dist/chunk-GLW3P75K.js +0 -72
  865. package/dist/chunk-HKYYO326.mjs +0 -238
  866. package/dist/chunk-HRIKUP6R.js +0 -106
  867. package/dist/chunk-HTG6ISVH.mjs +0 -1094
  868. package/dist/chunk-I2BZURVP.js +0 -70
  869. package/dist/chunk-I6RGE7XQ.js +0 -152
  870. package/dist/chunk-IVTBNUKQ.js +0 -118
  871. package/dist/chunk-JHY57P4P.mjs +0 -69
  872. package/dist/chunk-JIMDJWZZ.js +0 -52
  873. package/dist/chunk-JSIQIWYP.js +0 -41
  874. package/dist/chunk-KI35GUL5.js +0 -184
  875. package/dist/chunk-LHPBK4MG.js +0 -92
  876. package/dist/chunk-LLU76X6I.js +0 -245
  877. package/dist/chunk-MVIHUPCX.js +0 -62
  878. package/dist/chunk-N5I5Y5JG.js +0 -53
  879. package/dist/chunk-NOTJRUAK.js +0 -142
  880. package/dist/chunk-NXGCLBVG.js +0 -268
  881. package/dist/chunk-O2Q4UYDA.js +0 -504
  882. package/dist/chunk-O2SABM5H.js +0 -178
  883. package/dist/chunk-PCGHIFIJ.js +0 -140
  884. package/dist/chunk-PICYE2CM.js +0 -176
  885. package/dist/chunk-PNKVD2UK.js +0 -26
  886. package/dist/chunk-Q6CGPWQF.js +0 -104
  887. package/dist/chunk-QDFUM2QT.js +0 -672
  888. package/dist/chunk-R77ZKZ5F.js +0 -251
  889. package/dist/chunk-RDV4BMTK.js +0 -64
  890. package/dist/chunk-TT5LWQIZ.js +0 -1097
  891. package/dist/chunk-TTDBR2B4.mjs +0 -340
  892. package/dist/chunk-U6WHPSWN.mjs +0 -83
  893. package/dist/chunk-U7CCKZAG.js +0 -125
  894. package/dist/chunk-UHGRUTGW.js +0 -175
  895. package/dist/chunk-UPPRQ3ZS.js +0 -132
  896. package/dist/chunk-UUGAOKYR.js +0 -113
  897. package/dist/chunk-V4PBWEAU.js +0 -62
  898. package/dist/chunk-VDNAGLQJ.js +0 -176
  899. package/dist/chunk-VTLTKTCK.js +0 -87
  900. package/dist/chunk-W6TMZ7ZT.js +0 -207
  901. package/dist/chunk-WCZGYU7M.js +0 -215
  902. package/dist/chunk-XCJONKFL.mjs +0 -173
  903. package/dist/chunk-XFZZWZ6Q.js +0 -149
  904. package/dist/chunk-XGJWUZWS.js +0 -356
  905. package/dist/chunk-XP5M2GK7.mjs +0 -57
  906. package/dist/chunk-XQKIMRRF.js +0 -146
  907. package/dist/chunk-XV5DEK27.js +0 -360
  908. package/dist/chunk-YUEBMBOH.mjs +0 -103
  909. package/dist/chunk-ZUVR5UZL.mjs +0 -264
  910. package/dist/chunk-ZXR4DAAO.mjs +0 -240
@@ -1,1094 +0,0 @@
1
- import { defineComponent, computed, ref, watch, h } from 'vue';
2
- import { getSpinnerSVG, getFixedColumnOffsets, filterDataAdvanced, filterData, sortData, paginateData, getRowKey, calculatePagination, getFixedVirtualRange, groupDataByColumn, classNames, tableBaseClasses, getTableWrapperClasses, tableExportButtonClasses, tableLoadingOverlayClasses, getExpandIconCellClasses, getCheckboxCellClasses, getTableHeaderCellClasses, getTableHeaderClasses, tableEmptyStateClasses, tableGroupHeaderClasses, getGroupHeaderCellClasses, getTableCellClasses, tableSummaryRowClasses, getSimplePaginationContainerClasses, getSimplePaginationTotalClasses, getSimplePaginationControlsClasses, getSimplePaginationSelectClasses, getSimplePaginationButtonsWrapperClasses, getSimplePaginationButtonClasses, getSimplePaginationPageIndicatorClasses, exportTableToCsv, downloadCsv, getLoadingOverlaySpinnerClasses, normalizeSvgAttrs, icon24ViewBox, lockClosedIcon24PathD, lockOpenIcon24PathD, icon16ViewBox, getSortIconClasses, sortAscIcon16PathD, sortDescIcon16PathD, sortBothIcon16PathD, editableCellInputClasses, getEditableCellClasses, getTableRowClasses, getExpandedRowClasses, getExpandedRowContentClasses, getExpandIconClasses, expandChevronIcon16PathD } from '@expcat/tigercat-core';
3
-
4
- // src/components/Table.ts
5
- var spinnerSvg = getSpinnerSVG("spinner");
6
- var SortIcon = (direction) => {
7
- const active = direction !== null;
8
- const pathD = direction === "asc" ? sortAscIcon16PathD : direction === "desc" ? sortDescIcon16PathD : sortBothIcon16PathD;
9
- return h(
10
- "svg",
11
- {
12
- class: getSortIconClasses(active),
13
- width: "16",
14
- height: "16",
15
- viewBox: icon16ViewBox,
16
- fill: "currentColor"
17
- },
18
- [h("path", { d: pathD })]
19
- );
20
- };
21
- var LockIcon = (locked) => {
22
- return h(
23
- "svg",
24
- {
25
- width: "14",
26
- height: "14",
27
- viewBox: icon24ViewBox,
28
- fill: "currentColor",
29
- "aria-hidden": "true"
30
- },
31
- [h("path", { d: locked ? lockClosedIcon24PathD : lockOpenIcon24PathD })]
32
- );
33
- };
34
- var ExpandIcon = (expanded) => {
35
- return h(
36
- "svg",
37
- {
38
- class: getExpandIconClasses(expanded),
39
- width: "16",
40
- height: "16",
41
- viewBox: icon16ViewBox,
42
- fill: "currentColor",
43
- "aria-hidden": "true"
44
- },
45
- [h("path", { d: expandChevronIcon16PathD })]
46
- );
47
- };
48
- var LoadingSpinner = () => {
49
- return h(
50
- "svg",
51
- {
52
- class: getLoadingOverlaySpinnerClasses(),
53
- xmlns: "http://www.w3.org/2000/svg",
54
- fill: "none",
55
- viewBox: spinnerSvg.viewBox
56
- },
57
- spinnerSvg.elements.map((el) => h(el.type, normalizeSvgAttrs(el.attrs)))
58
- );
59
- };
60
- var Table = defineComponent({
61
- name: "TigerTable",
62
- props: {
63
- /**
64
- * Table columns configuration
65
- */
66
- columns: {
67
- type: Array,
68
- required: true
69
- },
70
- /**
71
- * Whether to show a lock button in each column header.
72
- */
73
- columnLockable: {
74
- type: Boolean,
75
- default: false
76
- },
77
- /**
78
- * Table data source
79
- */
80
- dataSource: {
81
- type: Array,
82
- default: () => []
83
- },
84
- /**
85
- * Controlled sort state.
86
- */
87
- sort: {
88
- type: Object
89
- },
90
- /**
91
- * Default sort state for uncontrolled mode.
92
- */
93
- defaultSort: {
94
- type: Object,
95
- default: () => ({
96
- key: null,
97
- direction: null
98
- })
99
- },
100
- /**
101
- * Controlled filters.
102
- */
103
- filters: {
104
- type: Object
105
- },
106
- /**
107
- * Default filters for uncontrolled mode.
108
- */
109
- defaultFilters: {
110
- type: Object,
111
- default: () => ({})
112
- },
113
- /**
114
- * Table size
115
- */
116
- size: {
117
- type: String,
118
- default: "md"
119
- },
120
- /**
121
- * Whether to show border
122
- */
123
- bordered: {
124
- type: Boolean,
125
- default: false
126
- },
127
- /**
128
- * Whether to show striped rows
129
- */
130
- striped: {
131
- type: Boolean,
132
- default: false
133
- },
134
- /**
135
- * Whether to highlight row on hover
136
- */
137
- hoverable: {
138
- type: Boolean,
139
- default: true
140
- },
141
- /**
142
- * Loading state
143
- */
144
- loading: {
145
- type: Boolean,
146
- default: false
147
- },
148
- /**
149
- * Empty state text
150
- */
151
- emptyText: {
152
- type: String,
153
- default: "No data"
154
- },
155
- /**
156
- * Pagination configuration
157
- */
158
- pagination: {
159
- type: [Object, Boolean],
160
- default: () => ({
161
- current: 1,
162
- pageSize: 10,
163
- total: 0,
164
- pageSizeOptions: [10, 20, 50, 100],
165
- showSizeChanger: true,
166
- showTotal: true
167
- })
168
- },
169
- /**
170
- * Row selection configuration
171
- */
172
- rowSelection: {
173
- type: Object
174
- },
175
- /**
176
- * Row expansion configuration
177
- */
178
- expandable: {
179
- type: Object
180
- },
181
- /**
182
- * Function to get row key
183
- */
184
- rowKey: {
185
- type: [String, Function],
186
- default: "id"
187
- },
188
- /**
189
- * Custom row class name
190
- */
191
- rowClassName: {
192
- type: [String, Function]
193
- },
194
- /**
195
- * Whether table head is sticky
196
- */
197
- stickyHeader: {
198
- type: Boolean,
199
- default: false
200
- },
201
- /**
202
- * Max height for scrollable table
203
- */
204
- maxHeight: {
205
- type: [String, Number]
206
- },
207
- /**
208
- * Table layout algorithm
209
- */
210
- tableLayout: {
211
- type: String,
212
- default: "auto"
213
- },
214
- // --- v0.6.0 props ---
215
- virtual: { type: Boolean, default: false },
216
- virtualHeight: { type: Number, default: 400 },
217
- virtualItemHeight: { type: Number, default: 40 },
218
- editable: { type: Boolean, default: false },
219
- editableCells: { type: Object },
220
- filterMode: { type: String, default: "basic" },
221
- advancedFilterRules: { type: Array, default: () => [] },
222
- columnDraggable: { type: Boolean, default: false },
223
- summaryRow: { type: Object },
224
- groupBy: { type: String },
225
- exportable: { type: Boolean, default: false },
226
- exportFilename: { type: String, default: "export" }
227
- },
228
- emits: [
229
- "change",
230
- "row-click",
231
- "selection-change",
232
- "sort-change",
233
- "filter-change",
234
- "page-change",
235
- "expand-change",
236
- "cell-change",
237
- "column-order-change",
238
- "export"
239
- ],
240
- setup(props, { emit, slots }) {
241
- const paginationConfig = computed(() => {
242
- return props.pagination !== false && typeof props.pagination === "object" ? props.pagination : null;
243
- });
244
- const isSortControlled = computed(() => props.sort !== void 0);
245
- const isFiltersControlled = computed(() => props.filters !== void 0);
246
- computed(() => paginationConfig.value?.current !== void 0);
247
- computed(() => paginationConfig.value?.pageSize !== void 0);
248
- const isSelectionControlled = computed(() => props.rowSelection?.selectedRowKeys !== void 0);
249
- const isExpandControlled = computed(() => props.expandable?.expandedRowKeys !== void 0);
250
- const uncontrolledSortState = ref(props.defaultSort);
251
- const uncontrolledFilterState = ref(props.defaultFilters);
252
- const uncontrolledCurrentPage = ref(
253
- paginationConfig.value?.defaultCurrent ?? paginationConfig.value?.current ?? 1
254
- );
255
- const uncontrolledCurrentPageSize = ref(
256
- paginationConfig.value?.defaultPageSize ?? paginationConfig.value?.pageSize ?? 10
257
- );
258
- const uncontrolledSelectedRowKeys = ref(
259
- props.rowSelection?.defaultSelectedRowKeys ?? props.rowSelection?.selectedRowKeys ?? []
260
- );
261
- const uncontrolledExpandedRowKeys = ref(
262
- props.expandable?.defaultExpandedRowKeys ?? props.expandable?.expandedRowKeys ?? []
263
- );
264
- const sortState = computed(() => props.sort ?? uncontrolledSortState.value);
265
- const filterState = computed(() => props.filters ?? uncontrolledFilterState.value);
266
- const currentPage = computed(() => {
267
- return paginationConfig.value?.current ?? uncontrolledCurrentPage.value;
268
- });
269
- const currentPageSize = computed(() => {
270
- return paginationConfig.value?.pageSize ?? uncontrolledCurrentPageSize.value;
271
- });
272
- const selectedRowKeys = computed(() => {
273
- return props.rowSelection?.selectedRowKeys ?? uncontrolledSelectedRowKeys.value;
274
- });
275
- const expandedRowKeys = computed(() => {
276
- return props.expandable?.expandedRowKeys ?? uncontrolledExpandedRowKeys.value;
277
- });
278
- watch(
279
- () => props.sort,
280
- (next) => {
281
- if (next !== void 0) {
282
- uncontrolledSortState.value = next;
283
- }
284
- }
285
- );
286
- watch(
287
- () => props.filters,
288
- (next) => {
289
- if (next !== void 0) {
290
- uncontrolledFilterState.value = next;
291
- }
292
- }
293
- );
294
- watch(
295
- () => paginationConfig.value?.current,
296
- (next) => {
297
- if (next !== void 0) {
298
- uncontrolledCurrentPage.value = next;
299
- }
300
- }
301
- );
302
- watch(
303
- () => paginationConfig.value?.pageSize,
304
- (next) => {
305
- if (next !== void 0) {
306
- uncontrolledCurrentPageSize.value = next;
307
- }
308
- }
309
- );
310
- watch(
311
- () => props.rowSelection?.selectedRowKeys,
312
- (next) => {
313
- if (next !== void 0) {
314
- uncontrolledSelectedRowKeys.value = next;
315
- }
316
- }
317
- );
318
- watch(
319
- () => props.expandable?.expandedRowKeys,
320
- (next) => {
321
- if (next !== void 0) {
322
- uncontrolledExpandedRowKeys.value = next;
323
- }
324
- }
325
- );
326
- const fixedOverrides = ref({});
327
- const displayColumns = computed(() => {
328
- return props.columns.map((column) => {
329
- const hasOverride = column.key in fixedOverrides.value;
330
- return {
331
- ...column,
332
- fixed: hasOverride ? fixedOverrides.value[column.key] : column.fixed
333
- };
334
- });
335
- });
336
- const fixedColumnsInfo = computed(() => {
337
- return getFixedColumnOffsets(displayColumns.value);
338
- });
339
- const columnByKey = computed(() => {
340
- const map = {};
341
- for (const column of displayColumns.value) {
342
- map[column.key] = column;
343
- }
344
- return map;
345
- });
346
- function toggleColumnLock(columnKey) {
347
- const original = props.columns.find((c) => c.key === columnKey)?.fixed;
348
- const hasOverride = columnKey in fixedOverrides.value;
349
- const current = hasOverride ? fixedOverrides.value[columnKey] : original;
350
- const isLocked = current === "left" || current === "right";
351
- fixedOverrides.value[columnKey] = isLocked ? false : "left";
352
- }
353
- const processedData = computed(() => {
354
- let data = props.dataSource;
355
- if (props.filterMode === "advanced" && props.advancedFilterRules.length > 0) {
356
- data = filterDataAdvanced(data, props.advancedFilterRules);
357
- } else {
358
- data = filterData(data, filterState.value);
359
- }
360
- if (sortState.value.key && sortState.value.direction) {
361
- const column = columnByKey.value[sortState.value.key];
362
- data = sortData(data, sortState.value.key, sortState.value.direction, column?.sortFn);
363
- }
364
- return data;
365
- });
366
- const paginatedData = computed(() => {
367
- if (props.pagination === false) {
368
- return processedData.value;
369
- }
370
- return paginateData(processedData.value, currentPage.value, currentPageSize.value);
371
- });
372
- const paginatedRowKeys = computed(() => {
373
- return paginatedData.value.map((record, index) => getRowKey(record, props.rowKey, index));
374
- });
375
- const selectedRowKeySet = computed(() => {
376
- return new Set(selectedRowKeys.value);
377
- });
378
- const expandedRowKeySet = computed(() => {
379
- return new Set(expandedRowKeys.value);
380
- });
381
- const totalColumnCount = computed(() => {
382
- let count = displayColumns.value.length;
383
- if (props.rowSelection) count += 1;
384
- if (props.expandable) count += 1;
385
- return count;
386
- });
387
- const paginationInfo = computed(() => {
388
- if (props.pagination === false) {
389
- return null;
390
- }
391
- const total = processedData.value.length;
392
- return calculatePagination(total, currentPage.value, currentPageSize.value);
393
- });
394
- function handleSort(columnKey) {
395
- const column = displayColumns.value.find((col) => col.key === columnKey);
396
- if (!column || !column.sortable) {
397
- return;
398
- }
399
- let newDirection = "asc";
400
- if (sortState.value.key === columnKey) {
401
- if (sortState.value.direction === "asc") {
402
- newDirection = "desc";
403
- } else if (sortState.value.direction === "desc") {
404
- newDirection = null;
405
- }
406
- }
407
- const nextSortState = {
408
- key: newDirection ? columnKey : null,
409
- direction: newDirection
410
- };
411
- if (!isSortControlled.value) {
412
- uncontrolledSortState.value = nextSortState;
413
- }
414
- emit("sort-change", nextSortState);
415
- emit("change", {
416
- sort: nextSortState,
417
- filters: filterState.value,
418
- pagination: props.pagination !== false ? {
419
- current: currentPage.value,
420
- pageSize: currentPageSize.value
421
- } : null
422
- });
423
- }
424
- function handleFilter(columnKey, value) {
425
- const nextFilterState = {
426
- ...filterState.value,
427
- [columnKey]: value
428
- };
429
- if (!isFiltersControlled.value) {
430
- uncontrolledFilterState.value = nextFilterState;
431
- }
432
- uncontrolledCurrentPage.value = 1;
433
- emit("filter-change", nextFilterState);
434
- emit("change", {
435
- sort: sortState.value,
436
- filters: nextFilterState,
437
- pagination: props.pagination !== false ? {
438
- current: 1,
439
- pageSize: currentPageSize.value
440
- } : null
441
- });
442
- }
443
- function handlePageChange(page) {
444
- uncontrolledCurrentPage.value = page;
445
- emit("page-change", { current: page, pageSize: currentPageSize.value });
446
- emit("change", {
447
- sort: sortState.value,
448
- filters: filterState.value,
449
- pagination: {
450
- current: page,
451
- pageSize: currentPageSize.value
452
- }
453
- });
454
- }
455
- function handlePageSizeChange(pageSize) {
456
- uncontrolledCurrentPageSize.value = pageSize;
457
- uncontrolledCurrentPage.value = 1;
458
- emit("page-change", { current: 1, pageSize });
459
- emit("change", {
460
- sort: sortState.value,
461
- filters: filterState.value,
462
- pagination: {
463
- current: 1,
464
- pageSize
465
- }
466
- });
467
- }
468
- function handleRowClick(record, index) {
469
- emit("row-click", record, index);
470
- if (props.expandable?.expandRowByClick) {
471
- const key = getRowKey(record, props.rowKey, index);
472
- const isExpandable = props.expandable?.rowExpandable ? props.expandable.rowExpandable(record) : true;
473
- if (isExpandable) {
474
- handleToggleExpand(key, record);
475
- }
476
- }
477
- }
478
- function handleToggleExpand(key, record) {
479
- const isExpanded = expandedRowKeySet.value.has(key);
480
- const newKeys = isExpanded ? expandedRowKeys.value.filter((k) => k !== key) : [...expandedRowKeys.value, key];
481
- if (!isExpandControlled.value) {
482
- uncontrolledExpandedRowKeys.value = newKeys;
483
- }
484
- emit("expand-change", newKeys, record, !isExpanded);
485
- }
486
- function handleSelectRow(key, checked) {
487
- let newKeys;
488
- if (props.rowSelection?.type === "radio") {
489
- newKeys = checked ? [key] : [];
490
- } else {
491
- if (checked) {
492
- newKeys = [...selectedRowKeys.value, key];
493
- } else {
494
- newKeys = selectedRowKeys.value.filter((k) => k !== key);
495
- }
496
- }
497
- if (!isSelectionControlled.value) {
498
- uncontrolledSelectedRowKeys.value = newKeys;
499
- }
500
- emit("selection-change", newKeys);
501
- }
502
- function handleSelectAll(checked) {
503
- if (checked) {
504
- const nextKeys = paginatedRowKeys.value;
505
- if (!isSelectionControlled.value) {
506
- uncontrolledSelectedRowKeys.value = nextKeys;
507
- }
508
- emit("selection-change", nextKeys);
509
- } else {
510
- if (!isSelectionControlled.value) {
511
- uncontrolledSelectedRowKeys.value = [];
512
- }
513
- emit("selection-change", []);
514
- }
515
- }
516
- const allSelected = computed(() => {
517
- if (paginatedRowKeys.value.length === 0) {
518
- return false;
519
- }
520
- return paginatedRowKeys.value.every((key) => selectedRowKeySet.value.has(key));
521
- });
522
- const someSelected = computed(() => {
523
- return selectedRowKeys.value.length > 0 && !allSelected.value;
524
- });
525
- const editingCell = ref(null);
526
- const editingValue = ref("");
527
- function isCellEditable(columnKey, rowIndex) {
528
- if (!props.editable) return false;
529
- if (!props.editableCells) return true;
530
- return !!props.editableCells.get(columnKey)?.has(rowIndex);
531
- }
532
- function startEditing(rowIndex, columnKey, currentValue) {
533
- editingCell.value = { rowIndex, columnKey };
534
- editingValue.value = String(currentValue ?? "");
535
- }
536
- function commitEdit() {
537
- if (editingCell.value) {
538
- emit(
539
- "cell-change",
540
- editingCell.value.rowIndex,
541
- editingCell.value.columnKey,
542
- editingValue.value
543
- );
544
- editingCell.value = null;
545
- }
546
- }
547
- function cancelEdit() {
548
- editingCell.value = null;
549
- }
550
- function handleExport() {
551
- const csv = exportTableToCsv(displayColumns.value, processedData.value);
552
- downloadCsv(csv, props.exportFilename);
553
- emit("export", csv);
554
- }
555
- const dragColumnKey = ref(null);
556
- function handleDragStart(columnKey) {
557
- dragColumnKey.value = columnKey;
558
- }
559
- function handleDrop(targetKey) {
560
- if (!dragColumnKey.value || dragColumnKey.value === targetKey) return;
561
- const cols = [...displayColumns.value];
562
- const fromIdx = cols.findIndex((c) => c.key === dragColumnKey.value);
563
- const toIdx = cols.findIndex((c) => c.key === targetKey);
564
- if (fromIdx >= 0 && toIdx >= 0) {
565
- const [moved] = cols.splice(fromIdx, 1);
566
- cols.splice(toIdx, 0, moved);
567
- emit("column-order-change", cols);
568
- }
569
- dragColumnKey.value = null;
570
- }
571
- const virtualScrollTop = ref(0);
572
- computed(() => {
573
- if (!props.virtual) return null;
574
- return getFixedVirtualRange(
575
- virtualScrollTop.value,
576
- props.virtualHeight,
577
- props.virtualItemHeight,
578
- paginatedData.value.length,
579
- 5
580
- );
581
- });
582
- const groupedData = computed(() => {
583
- if (!props.groupBy) return null;
584
- return groupDataByColumn(paginatedData.value, props.groupBy);
585
- });
586
- function renderSummaryRow() {
587
- if (!props.summaryRow?.show) return null;
588
- const emptyCells = [];
589
- if (props.rowSelection) {
590
- emptyCells.push(h("td", { class: getTableCellClasses(props.size, "left") }));
591
- }
592
- if (props.expandable) {
593
- emptyCells.push(h("td", { class: getTableCellClasses(props.size, "left") }));
594
- }
595
- const dataCells = displayColumns.value.map((col) => {
596
- const dataKey = col.dataKey || col.key;
597
- const val = props.summaryRow.data[dataKey];
598
- return h(
599
- "td",
600
- {
601
- key: col.key,
602
- class: getTableCellClasses(props.size, col.align || "left", col.className)
603
- },
604
- val != null ? String(val) : ""
605
- );
606
- });
607
- return h("tfoot", [h("tr", { class: tableSummaryRowClasses }, [...emptyCells, ...dataCells])]);
608
- }
609
- function renderTableHeader() {
610
- const headerCells = [];
611
- const expandAtStart = props.expandable && props.expandable.expandIconPosition !== "end";
612
- const expandAtEnd = props.expandable && props.expandable.expandIconPosition === "end";
613
- const expandHeaderTh = props.expandable ? h("th", {
614
- class: getExpandIconCellClasses(props.size),
615
- "aria-label": "Expand"
616
- }) : null;
617
- if (expandAtStart && expandHeaderTh) {
618
- headerCells.push(expandHeaderTh);
619
- }
620
- if (props.rowSelection && props.rowSelection.showCheckbox !== false && props.rowSelection.type !== "radio") {
621
- headerCells.push(
622
- h(
623
- "th",
624
- {
625
- class: getCheckboxCellClasses(props.size)
626
- },
627
- [
628
- h("input", {
629
- type: "checkbox",
630
- class: "rounded border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]",
631
- checked: allSelected.value,
632
- indeterminate: someSelected.value,
633
- onChange: (e) => handleSelectAll(e.target.checked)
634
- })
635
- ]
636
- )
637
- );
638
- }
639
- displayColumns.value.forEach((column) => {
640
- const isSorted = sortState.value.key === column.key;
641
- const sortDirection = isSorted ? sortState.value.direction : null;
642
- const ariaSort = column.sortable ? sortDirection === "asc" ? "ascending" : sortDirection === "desc" ? "descending" : "none" : void 0;
643
- const isFixedLeft = column.fixed === "left";
644
- const isFixedRight = column.fixed === "right";
645
- const fixedStyle = isFixedLeft ? {
646
- position: "sticky",
647
- left: `${fixedColumnsInfo.value.leftOffsets[column.key] || 0}px`,
648
- zIndex: 15
649
- } : isFixedRight ? {
650
- position: "sticky",
651
- right: `${fixedColumnsInfo.value.rightOffsets[column.key] || 0}px`,
652
- zIndex: 15
653
- } : void 0;
654
- const widthStyle = column.width ? {
655
- width: typeof column.width === "number" ? `${column.width}px` : column.width
656
- } : void 0;
657
- const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
658
- const headerContent = [];
659
- const slotContent = slots[`header-${column.key}`]?.();
660
- if (slotContent && slotContent.length > 0) {
661
- headerContent.push(...slotContent);
662
- } else if (column.renderHeader) {
663
- headerContent.push(column.renderHeader());
664
- } else {
665
- headerContent.push(column.title);
666
- }
667
- if (props.columnLockable) {
668
- headerContent.push(
669
- h(
670
- "button",
671
- {
672
- type: "button",
673
- class: classNames(
674
- "inline-flex items-center",
675
- column.fixed === "left" || column.fixed === "right" ? "text-[var(--tiger-primary,#2563eb)]" : "text-gray-400 hover:text-gray-700"
676
- ),
677
- "aria-label": column.fixed === "left" || column.fixed === "right" ? `Unlock column ${column.title}` : `Lock column ${column.title}`,
678
- onClick: (e) => {
679
- e.stopPropagation();
680
- toggleColumnLock(column.key);
681
- }
682
- },
683
- [LockIcon(column.fixed === "left" || column.fixed === "right")]
684
- )
685
- );
686
- }
687
- if (column.sortable) {
688
- headerContent.push(SortIcon(sortDirection));
689
- }
690
- headerCells.push(
691
- h(
692
- "th",
693
- {
694
- key: column.key,
695
- "aria-sort": ariaSort,
696
- class: classNames(
697
- getTableHeaderCellClasses(
698
- props.size,
699
- column.align || "left",
700
- !!column.sortable,
701
- column.headerClassName
702
- ),
703
- (isFixedLeft || isFixedRight) && "bg-[var(--tiger-surface-muted,#f9fafb)]"
704
- ),
705
- style,
706
- draggable: props.columnDraggable ? "true" : void 0,
707
- onDragstart: props.columnDraggable ? () => handleDragStart(column.key) : void 0,
708
- onDragover: props.columnDraggable ? (e) => e.preventDefault() : void 0,
709
- onDrop: props.columnDraggable ? () => handleDrop(column.key) : void 0,
710
- onClick: column.sortable ? () => handleSort(column.key) : void 0
711
- },
712
- [
713
- h("div", { class: "flex items-center gap-2" }, headerContent),
714
- // Filter input
715
- ...column.filter ? [
716
- h("div", { class: "mt-2" }, [
717
- column.filter.type === "select" && column.filter.options ? h(
718
- "select",
719
- {
720
- class: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
721
- onChange: (e) => handleFilter(column.key, e.target.value),
722
- onClick: (e) => e.stopPropagation()
723
- },
724
- [
725
- h("option", { value: "" }, "All"),
726
- ...column.filter.options.map(
727
- (opt) => h("option", { value: opt.value }, opt.label)
728
- )
729
- ]
730
- ) : h("input", {
731
- type: "text",
732
- class: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
733
- placeholder: column.filter.placeholder || "Filter...",
734
- onInput: (e) => handleFilter(column.key, e.target.value),
735
- onClick: (e) => e.stopPropagation()
736
- })
737
- ])
738
- ] : []
739
- ]
740
- )
741
- );
742
- });
743
- if (expandAtEnd && expandHeaderTh) {
744
- headerCells.push(expandHeaderTh);
745
- }
746
- return h("thead", { class: getTableHeaderClasses(props.stickyHeader) }, [
747
- h("tr", headerCells)
748
- ]);
749
- }
750
- function renderTableBody() {
751
- if (props.loading) {
752
- return null;
753
- }
754
- if (paginatedData.value.length === 0) {
755
- return h("tbody", [
756
- h("tr", [
757
- h(
758
- "td",
759
- {
760
- colspan: totalColumnCount.value,
761
- class: tableEmptyStateClasses
762
- },
763
- [
764
- h(
765
- "div",
766
- {
767
- role: "status",
768
- "aria-live": "polite"
769
- },
770
- props.emptyText
771
- )
772
- ]
773
- )
774
- ])
775
- ]);
776
- }
777
- function renderDataRow(record, index) {
778
- const key = getRowKey(record, props.rowKey, index);
779
- const isSelected = selectedRowKeySet.value.has(key);
780
- const isExpanded = expandedRowKeySet.value.has(key);
781
- const isRowExpandable = props.expandable ? props.expandable.rowExpandable ? props.expandable.rowExpandable(record) : true : false;
782
- const rowClass = typeof props.rowClassName === "function" ? props.rowClassName(record, index) : props.rowClassName;
783
- const cells = [];
784
- const expandAtStart = props.expandable && props.expandable.expandIconPosition !== "end";
785
- const expandToggleCell = props.expandable ? h(
786
- "td",
787
- {
788
- class: getExpandIconCellClasses(props.size)
789
- },
790
- isRowExpandable ? [
791
- h(
792
- "button",
793
- {
794
- type: "button",
795
- class: "inline-flex items-center justify-center",
796
- "aria-label": isExpanded ? "Collapse row" : "Expand row",
797
- "aria-expanded": isExpanded,
798
- onClick: (e) => {
799
- e.stopPropagation();
800
- handleToggleExpand(key, record);
801
- }
802
- },
803
- [ExpandIcon(isExpanded)]
804
- )
805
- ] : []
806
- ) : null;
807
- if (expandAtStart && expandToggleCell) {
808
- cells.push(expandToggleCell);
809
- }
810
- if (props.rowSelection && props.rowSelection.showCheckbox !== false) {
811
- const checkboxProps = props.rowSelection?.getCheckboxProps?.(record) || {};
812
- cells.push(
813
- h(
814
- "td",
815
- {
816
- class: getCheckboxCellClasses(props.size)
817
- },
818
- [
819
- h("input", {
820
- type: props.rowSelection?.type === "radio" ? "radio" : "checkbox",
821
- class: props.rowSelection?.type === "radio" ? "border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]" : "rounded border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]",
822
- checked: isSelected,
823
- disabled: checkboxProps.disabled,
824
- onClick: (e) => e.stopPropagation(),
825
- onChange: (e) => handleSelectRow(key, e.target.checked)
826
- })
827
- ]
828
- )
829
- );
830
- }
831
- displayColumns.value.forEach((column) => {
832
- const dataKey = column.dataKey || column.key;
833
- const cellValue = record[dataKey];
834
- const isFixedLeft = column.fixed === "left";
835
- const isFixedRight = column.fixed === "right";
836
- const fixedStyle = isFixedLeft ? {
837
- position: "sticky",
838
- left: `${fixedColumnsInfo.value.leftOffsets[column.key] || 0}px`,
839
- zIndex: 10
840
- } : isFixedRight ? {
841
- position: "sticky",
842
- right: `${fixedColumnsInfo.value.rightOffsets[column.key] || 0}px`,
843
- zIndex: 10
844
- } : void 0;
845
- const widthStyle = column.width ? {
846
- width: typeof column.width === "number" ? `${column.width}px` : column.width
847
- } : void 0;
848
- const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
849
- const stickyBgClass = props.striped && index % 2 === 0 ? "bg-[var(--tiger-surface-muted,#f9fafb)]/50" : "bg-[var(--tiger-surface,#ffffff)]";
850
- const stickyCellClass = isFixedLeft || isFixedRight ? classNames(
851
- stickyBgClass,
852
- props.hoverable && "group-hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
853
- ) : void 0;
854
- const isEditing = editingCell.value?.rowIndex === index && editingCell.value?.columnKey === column.key;
855
- const isEditableCell = isCellEditable(column.key, index);
856
- const cellContent = isEditing ? h("input", {
857
- type: "text",
858
- class: editableCellInputClasses,
859
- value: editingValue.value,
860
- autofocus: true,
861
- onInput: (e) => {
862
- editingValue.value = e.target.value;
863
- },
864
- onBlur: () => commitEdit(),
865
- onKeydown: (e) => {
866
- if (e.key === "Enter") commitEdit();
867
- if (e.key === "Escape") cancelEdit();
868
- }
869
- }) : slots[`cell-${column.key}`]?.({ record, index }) ?? (column.render ? column.render(record, index) : cellValue);
870
- cells.push(
871
- h(
872
- "td",
873
- {
874
- key: column.key,
875
- class: classNames(
876
- getTableCellClasses(props.size, column.align || "left", column.className),
877
- stickyCellClass,
878
- isEditableCell && !isEditing && getEditableCellClasses(false)
879
- ),
880
- style,
881
- onDblclick: isEditableCell && !isEditing ? () => startEditing(index, column.key, cellValue) : void 0
882
- },
883
- [cellContent]
884
- )
885
- );
886
- });
887
- if (!expandAtStart && expandToggleCell) {
888
- cells.push(expandToggleCell);
889
- }
890
- const rowNode = h(
891
- "tr",
892
- {
893
- key,
894
- class: classNames(
895
- getTableRowClasses(props.hoverable, props.striped, index % 2 === 0, rowClass),
896
- fixedColumnsInfo.value.hasFixedColumns && "group"
897
- ),
898
- onClick: () => handleRowClick(record, index)
899
- },
900
- cells
901
- );
902
- if (props.expandable && isExpanded && isRowExpandable) {
903
- const expandedContent = slots["expanded-row"]?.({ record, index }) || (props.expandable.expandedRowRender ? props.expandable.expandedRowRender(record, index) : null);
904
- const expandedRow = h(
905
- "tr",
906
- {
907
- key: `${key}-expanded`,
908
- class: getExpandedRowClasses()
909
- },
910
- [
911
- h(
912
- "td",
913
- {
914
- colspan: totalColumnCount.value,
915
- class: getExpandedRowContentClasses(props.size)
916
- },
917
- [expandedContent]
918
- )
919
- ]
920
- );
921
- return [rowNode, expandedRow];
922
- }
923
- return rowNode;
924
- }
925
- if (groupedData.value) {
926
- const groupRows = [];
927
- for (const [groupKey, groupItems] of groupedData.value) {
928
- groupRows.push(
929
- h("tr", { key: `group-${groupKey}`, class: tableGroupHeaderClasses }, [
930
- h(
931
- "td",
932
- {
933
- colspan: totalColumnCount.value,
934
- class: getGroupHeaderCellClasses(props.size)
935
- },
936
- `${props.groupBy}: ${groupKey} (${groupItems.length})`
937
- )
938
- ])
939
- );
940
- groupItems.forEach((record, i) => {
941
- const globalIndex = paginatedData.value.indexOf(record);
942
- const result = renderDataRow(record, globalIndex >= 0 ? globalIndex : i);
943
- if (Array.isArray(result)) {
944
- groupRows.push(...result);
945
- } else {
946
- groupRows.push(result);
947
- }
948
- });
949
- }
950
- return h("tbody", groupRows);
951
- }
952
- const rows = paginatedData.value.flatMap((record, index) => renderDataRow(record, index));
953
- return h("tbody", rows);
954
- }
955
- function renderPagination() {
956
- if (props.pagination === false || !paginationInfo.value) {
957
- return null;
958
- }
959
- const { totalPages, startIndex, endIndex, hasNext, hasPrev } = paginationInfo.value;
960
- const total = processedData.value.length;
961
- const paginationConfig2 = props.pagination;
962
- return h("div", { class: getSimplePaginationContainerClasses() }, [
963
- // Total info
964
- paginationConfig2.showTotal !== false && h(
965
- "div",
966
- { class: getSimplePaginationTotalClasses() },
967
- paginationConfig2.totalText ? paginationConfig2.totalText(total, [startIndex, endIndex]) : `Showing ${startIndex} to ${endIndex} of ${total} results`
968
- ),
969
- // Pagination controls
970
- h("div", { class: getSimplePaginationControlsClasses() }, [
971
- // Page size selector
972
- paginationConfig2.showSizeChanger !== false && h(
973
- "select",
974
- {
975
- class: getSimplePaginationSelectClasses(),
976
- value: currentPageSize.value,
977
- onChange: (e) => handlePageSizeChange(Number(e.target.value))
978
- },
979
- (paginationConfig2.pageSizeOptions || [10, 20, 50, 100]).map(
980
- (size) => h("option", { value: size }, `${size} / page`)
981
- )
982
- ),
983
- // Page buttons
984
- h("div", { class: getSimplePaginationButtonsWrapperClasses() }, [
985
- // Previous button
986
- h(
987
- "button",
988
- {
989
- class: getSimplePaginationButtonClasses(!hasPrev),
990
- disabled: !hasPrev,
991
- onClick: () => handlePageChange(currentPage.value - 1)
992
- },
993
- "Previous"
994
- ),
995
- // Current page indicator
996
- h(
997
- "span",
998
- { class: getSimplePaginationPageIndicatorClasses() },
999
- `Page ${currentPage.value} of ${totalPages}`
1000
- ),
1001
- // Next button
1002
- h(
1003
- "button",
1004
- {
1005
- class: getSimplePaginationButtonClasses(!hasNext),
1006
- disabled: !hasNext,
1007
- onClick: () => handlePageChange(currentPage.value + 1)
1008
- },
1009
- "Next"
1010
- )
1011
- ])
1012
- ])
1013
- ]);
1014
- }
1015
- return () => {
1016
- const wrapperStyle = props.maxHeight ? {
1017
- maxHeight: typeof props.maxHeight === "number" ? `${props.maxHeight}px` : props.maxHeight
1018
- } : void 0;
1019
- const tableChildren = [renderTableHeader(), renderTableBody(), renderSummaryRow()];
1020
- const tableContent = props.virtual ? h(
1021
- "div",
1022
- {
1023
- style: { height: `${props.virtualHeight}px`, overflow: "auto" },
1024
- onScroll: (e) => {
1025
- virtualScrollTop.value = e.target.scrollTop;
1026
- }
1027
- },
1028
- [
1029
- h(
1030
- "table",
1031
- {
1032
- class: classNames(
1033
- tableBaseClasses,
1034
- props.tableLayout === "fixed" ? "table-fixed" : "table-auto"
1035
- ),
1036
- style: fixedColumnsInfo.value.hasFixedColumns && fixedColumnsInfo.value.minTableWidth ? { minWidth: `${fixedColumnsInfo.value.minTableWidth}px` } : void 0
1037
- },
1038
- tableChildren
1039
- )
1040
- ]
1041
- ) : h(
1042
- "table",
1043
- {
1044
- class: classNames(
1045
- tableBaseClasses,
1046
- props.tableLayout === "fixed" ? "table-fixed" : "table-auto"
1047
- ),
1048
- style: fixedColumnsInfo.value.hasFixedColumns && fixedColumnsInfo.value.minTableWidth ? { minWidth: `${fixedColumnsInfo.value.minTableWidth}px` } : void 0
1049
- },
1050
- tableChildren
1051
- );
1052
- return h(
1053
- "div",
1054
- {
1055
- class: getTableWrapperClasses(props.bordered, props.maxHeight),
1056
- style: wrapperStyle,
1057
- "aria-busy": props.loading
1058
- },
1059
- [
1060
- // Export button
1061
- props.exportable && h("div", { class: "flex justify-end p-2" }, [
1062
- h(
1063
- "button",
1064
- {
1065
- type: "button",
1066
- class: tableExportButtonClasses,
1067
- onClick: handleExport,
1068
- "aria-label": "Export to CSV"
1069
- },
1070
- "Export CSV"
1071
- )
1072
- ]),
1073
- tableContent,
1074
- // Loading overlay
1075
- props.loading && h(
1076
- "div",
1077
- {
1078
- class: tableLoadingOverlayClasses,
1079
- role: "status",
1080
- "aria-live": "polite",
1081
- "aria-label": "Loading"
1082
- },
1083
- [LoadingSpinner(), h("span", { class: "sr-only" }, "Loading")]
1084
- ),
1085
- // Pagination
1086
- renderPagination()
1087
- ]
1088
- );
1089
- };
1090
- }
1091
- });
1092
- var Table_default = Table;
1093
-
1094
- export { Table, Table_default };