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