@expcat/tigercat-vue 1.1.0 → 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 (710) 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-VYFJ3LYD.js → chunk-2C5TOAYI.js} +12 -9
  6. package/dist/{chunk-V55ZONWZ.mjs → chunk-2GQE47OY.mjs} +82 -4
  7. package/dist/chunk-2KDSHEZT.js +41 -28
  8. package/dist/chunk-2LNNB55E.js +59 -39
  9. package/dist/{chunk-UYN5WLHQ.mjs → chunk-2PFP44AI.mjs} +34 -11
  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-SB2SX5EH.js → chunk-2VBUCW5G.js} +96 -76
  14. package/dist/{chunk-GZK6R2E3.js → chunk-2VOZFFW6.js} +33 -28
  15. package/dist/chunk-2WJADO6O.mjs +19 -4
  16. package/dist/chunk-2X3ZPH2H.mjs +31 -4
  17. package/dist/chunk-2YFXJUBT.js +40 -25
  18. package/dist/chunk-2ZUEXCVJ.mjs +9 -4
  19. package/dist/chunk-33YTJPF7.js +81 -54
  20. package/dist/{chunk-I6E3GY64.mjs → chunk-3A7H2CTW.mjs} +180 -12
  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-RRTB7O7Q.mjs → chunk-3W4CM7KO.mjs} +27 -6
  25. package/dist/chunk-43BLH7DE.js +49 -37
  26. package/dist/{chunk-63LJVB2M.js → chunk-44N7LE3Q.js} +141 -64
  27. package/dist/chunk-46DEQQMB.mjs +11 -4
  28. package/dist/chunk-4CWRNKPE.mjs +35 -5
  29. package/dist/{chunk-OKSLWGXR.js → chunk-4DWOTV7J.js} +77 -60
  30. package/dist/chunk-4K2CCBFT.mjs +30 -4
  31. package/dist/{chunk-XMOYCYVK.js → chunk-4OOR4524.js} +280 -138
  32. package/dist/chunk-4YHOD7LT.mjs +13 -4
  33. package/dist/chunk-5436FG3B.js +32 -23
  34. package/dist/chunk-54VVFMYI.js +13 -14
  35. package/dist/chunk-57MJTNDL.js +25 -20
  36. package/dist/chunk-5D2UAWWP.mjs +37 -4
  37. package/dist/{chunk-EHBPMUT2.js → chunk-5F6P5Y4K.js} +29 -27
  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-OMVVPNU7.js → chunk-5VSKQLK3.js} +141 -105
  42. package/dist/chunk-5WG4OFXH.mjs +133 -0
  43. package/dist/chunk-5X3GXNGM.mjs +27 -4
  44. package/dist/{chunk-YQRRW4ZR.mjs → chunk-5ZAIW5W3.mjs} +9 -3
  45. package/dist/{chunk-FQHYU76P.mjs → chunk-6DVWLGSZ.mjs} +28 -6
  46. package/dist/chunk-6FXYRDYH.js +30 -25
  47. package/dist/{chunk-EVOXC3CD.js → chunk-6HM77SWE.js} +92 -75
  48. package/dist/chunk-6V7XCCXN.mjs +8 -4
  49. package/dist/chunk-7ADONGSB.js +14 -15
  50. package/dist/chunk-7LUATGJU.mjs +27 -4
  51. package/dist/chunk-7PY6OQVE.mjs +15 -4
  52. package/dist/chunk-7QX4QWWN.js +61 -40
  53. package/dist/chunk-7RIWAO2A.mjs +18 -4
  54. package/dist/chunk-7SFB77JR.mjs +192 -0
  55. package/dist/{chunk-RVU47MU6.mjs → chunk-7W3NALIL.mjs} +15 -6
  56. package/dist/chunk-A5HHG53Z.js +38 -24
  57. package/dist/chunk-A5HRX7EG.js +37 -31
  58. package/dist/chunk-A7FN3S4I.js +33 -23
  59. package/dist/chunk-ACYYQJ6M.js +16 -17
  60. package/dist/chunk-AGVXMB4Q.js +52 -39
  61. package/dist/chunk-AXDBME5A.mjs +15 -4
  62. package/dist/{chunk-VYGI74MJ.js → chunk-B2RH4CMG.js} +156 -37
  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-OZYJ3U4H.js → chunk-BGMAWKWV.js} +208 -83
  67. package/dist/{chunk-GEPFTYKC.js → chunk-BGMQIUPP.js} +108 -77
  68. package/dist/chunk-BMT5PGAQ.mjs +20 -5
  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-C7VGTRHE.mjs +20 -4
  73. package/dist/chunk-CBECE4ZO.mjs +373 -0
  74. package/dist/chunk-CKXZONMO.js +18 -14
  75. package/dist/{chunk-G2IZAKJY.mjs → chunk-CN7HFUFN.mjs} +38 -4
  76. package/dist/chunk-COCECPMG.mjs +17 -4
  77. package/dist/chunk-CPV7INZ4.mjs +10 -4
  78. package/dist/chunk-CSJQKBDJ.js +73 -44
  79. package/dist/{chunk-UT6T25YJ.js → chunk-CWNEDREV.js} +42 -36
  80. package/dist/chunk-CWQOEU6G.js +373 -0
  81. package/dist/chunk-CZALMJH3.mjs +29 -8
  82. package/dist/chunk-D3U2NJ32.mjs +154 -0
  83. package/dist/{chunk-YYZBVHVC.mjs → chunk-D74XCQCK.mjs} +78 -12
  84. package/dist/chunk-DBTS5QBX.mjs +14 -4
  85. package/dist/{chunk-OSOA7LWH.mjs → chunk-DDNRF5U7.mjs} +91 -6
  86. package/dist/{chunk-46XPSPG4.js → chunk-DE5WMG6P.js} +69 -53
  87. package/dist/{chunk-H2BH6TJN.mjs → chunk-DEJKRMMU.mjs} +26 -4
  88. package/dist/chunk-DIQGHFAT.mjs +6 -4
  89. package/dist/chunk-DMV26JNR.mjs +16 -4
  90. package/dist/{chunk-CERGNVW2.mjs → chunk-DQFTTJJ5.mjs} +37 -4
  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 +44 -26
  95. package/dist/chunk-E2GQSWHK.mjs +14 -4
  96. package/dist/chunk-E6RGBYI3.mjs +31 -4
  97. package/dist/chunk-EJNPSYTS.js +44 -0
  98. package/dist/{chunk-NG7TLPQQ.mjs → chunk-EKWJTB5H.mjs} +28 -8
  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-F7G7K3TF.mjs +22 -4
  104. package/dist/{chunk-BQRXHUIC.js → chunk-FAYSOSR7.js} +89 -64
  105. package/dist/chunk-FC7RXQTM.js +30 -20
  106. package/dist/chunk-FE2HR4E5.js +66 -47
  107. package/dist/chunk-FIV4PKWT.js +26 -20
  108. package/dist/chunk-FMH4CLSA.mjs +18 -4
  109. package/dist/{chunk-FC27Q4CL.js → chunk-FP7SBCPO.js} +65 -45
  110. package/dist/chunk-FQWEOBQ4.mjs +231 -0
  111. package/dist/{chunk-2Z2CJEUL.js → chunk-FRI62O2J.js} +97 -59
  112. package/dist/chunk-FUGSQXFR.js +65 -42
  113. package/dist/{chunk-656KMUL3.js → chunk-FUI6WG2F.js} +154 -124
  114. package/dist/chunk-FXS5GHQZ.js +388 -0
  115. package/dist/{chunk-6WACKCWM.mjs → chunk-G36MH6G4.mjs} +49 -8
  116. package/dist/chunk-G3SWTL27.js +45 -29
  117. package/dist/chunk-GDKYQ7U6.js +93 -75
  118. package/dist/{chunk-FMLNJXCX.js → chunk-GIQQOHDA.js} +59 -41
  119. package/dist/{chunk-QV7XYS5P.js → chunk-GL6KRUVO.js} +61 -42
  120. package/dist/chunk-GOBWUEHV.js +60 -45
  121. package/dist/{chunk-WPEFGEAK.mjs → chunk-GQAVLQEZ.mjs} +15 -4
  122. package/dist/chunk-GQPSQJ5I.mjs +6 -4
  123. package/dist/chunk-GVZRR2WP.mjs +22 -5
  124. package/dist/chunk-H4F4G2E4.mjs +14 -4
  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-IFD7PZDO.mjs → chunk-IKEZDGRO.mjs} +47 -13
  131. package/dist/chunk-IZF4VHJ2.mjs +23 -4
  132. package/dist/chunk-J73M5UTG.mjs +21 -4
  133. package/dist/{chunk-S4DT7LXD.js → chunk-JAAIL4XS.js} +24 -16
  134. package/dist/chunk-JCMGBKS6.js +23 -17
  135. package/dist/chunk-JDCVS4SJ.js +38 -31
  136. package/dist/chunk-JFIVDZFK.js +77 -57
  137. package/dist/{chunk-6PJ3JANP.js → chunk-JKEF7NB3.js} +70 -49
  138. package/dist/chunk-JKZ5ZRDG.js +44 -36
  139. package/dist/{chunk-MDPHUCVS.mjs → chunk-JL526HSV.mjs} +49 -14
  140. package/dist/{chunk-CODQKVQV.js → chunk-K2DJDJZR.js} +25 -22
  141. package/dist/chunk-K3CIXMN4.js +40 -32
  142. package/dist/{chunk-6EI23IND.mjs → chunk-K5ZZZ4TL.mjs} +33 -10
  143. package/dist/{chunk-Q4OPUKWF.js → chunk-KA7DILCI.js} +134 -99
  144. package/dist/chunk-KDA4XDXT.js +67 -0
  145. package/dist/chunk-KOTSKHPQ.mjs +19 -4
  146. package/dist/{chunk-C6ER6OUB.mjs → chunk-KU2Q5V3L.mjs} +31 -4
  147. package/dist/{chunk-TVDLZZNO.mjs → chunk-KVJIJJ4M.mjs} +113 -5
  148. package/dist/{chunk-RKU54YLW.mjs → chunk-KY3O3FWK.mjs} +91 -7
  149. package/dist/{chunk-QDYF23NQ.mjs → chunk-KZP3B3FQ.mjs} +32 -7
  150. package/dist/chunk-LBGTABIU.mjs +20 -4
  151. package/dist/{chunk-MZHQAT4I.mjs → chunk-LDDGBB3V.mjs} +157 -8
  152. package/dist/{chunk-5YFSAKRQ.mjs → chunk-LFKY2QRD.mjs} +138 -15
  153. package/dist/chunk-LG6KGO5D.js +42 -33
  154. package/dist/{chunk-ML2QP5KF.mjs → chunk-LILAZ4UJ.mjs} +136 -26
  155. package/dist/chunk-LL4ASJ4O.mjs +27 -4
  156. package/dist/chunk-LWDA7ABQ.js +36 -28
  157. package/dist/{chunk-O3JPGBAK.js → chunk-M2XA7VU5.js} +107 -75
  158. package/dist/chunk-M3G6LJKZ.mjs +12 -4
  159. package/dist/{chunk-LBIQHIXN.mjs → chunk-M5PGWW25.mjs} +42 -9
  160. package/dist/chunk-M7EBWJZ5.mjs +9 -4
  161. package/dist/{chunk-PBQVYZRB.js → chunk-MFYBHMQL.js} +117 -87
  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 +30 -19
  168. package/dist/{chunk-ABLH42TR.js → chunk-MUJLT2YG.js} +224 -119
  169. package/dist/chunk-NCFY3VXA.js +13 -14
  170. package/dist/{chunk-XVUATQPD.mjs → chunk-NDS2DLUS.mjs} +40 -10
  171. package/dist/{chunk-WOVUC5FQ.mjs → chunk-NHBN6VAY.mjs} +33 -10
  172. package/dist/{chunk-XWE54AWW.mjs → chunk-NMVKDWMK.mjs} +303 -72
  173. package/dist/chunk-NNNG6NIA.mjs +13 -4
  174. package/dist/chunk-NOZ65AMO.js +32 -22
  175. package/dist/{chunk-E74ERZGQ.mjs → chunk-NWS45JQP.mjs} +52 -13
  176. package/dist/{chunk-IV4HFG36.mjs → chunk-NZUQ2KCW.mjs} +50 -8
  177. package/dist/chunk-OCL22D5E.mjs +29 -4
  178. package/dist/chunk-ODQOYMUQ.js +25 -18
  179. package/dist/chunk-OK4PVFQG.mjs +6 -4
  180. package/dist/{chunk-SPFWZCRX.mjs → chunk-OKR3GRG5.mjs} +51 -13
  181. package/dist/{chunk-WU2KCS6H.js → chunk-OW5D4LU6.js} +423 -195
  182. package/dist/chunk-OXIODAJS.js +192 -0
  183. package/dist/chunk-P7RXZVLT.js +66 -42
  184. package/dist/chunk-PCJHGWTU.js +269 -0
  185. package/dist/chunk-PCUUTKQZ.mjs +27 -4
  186. package/dist/{chunk-GWNXDOIG.mjs → chunk-PENI3H3I.mjs} +15 -10
  187. package/dist/chunk-PQMZ3YN3.js +37 -25
  188. package/dist/chunk-PUSTYAMS.mjs +28 -4
  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-ZWTC2CUB.mjs → chunk-PYT5DTQQ.mjs} +158 -30
  193. package/dist/{chunk-V667FK4C.mjs → chunk-PZH2RTSS.mjs} +47 -4
  194. package/dist/chunk-Q4MH333P.js +18 -16
  195. package/dist/{chunk-56EI2AYV.js → chunk-QO2JYX6Q.js} +104 -65
  196. package/dist/chunk-QRAV345L.js +35 -25
  197. package/dist/{chunk-NJLNZ73T.js → chunk-QUIRQ7OA.js} +93 -66
  198. package/dist/chunk-QY6PYAJA.js +73 -53
  199. package/dist/chunk-QYSFZA5V.js +87 -65
  200. package/dist/chunk-QZ5OPNL4.mjs +17 -4
  201. package/dist/{chunk-N4GS2LSN.mjs → chunk-R2HO74FE.mjs} +12 -5
  202. package/dist/chunk-RDJZOMI6.js +26 -19
  203. package/dist/{chunk-CN2SP53A.mjs → chunk-RFFPMC22.mjs} +26 -7
  204. package/dist/{chunk-FRMMT3K3.mjs → chunk-RHAIJVMW.mjs} +43 -13
  205. package/dist/chunk-RKZN3URO.js +49 -38
  206. package/dist/chunk-RY2I56HB.js +36 -24
  207. package/dist/{chunk-AEU46D6B.js → chunk-S6K6IR3Y.js} +218 -111
  208. package/dist/{chunk-KVJKG4D3.js → chunk-S6Q7TD6H.js} +110 -70
  209. package/dist/chunk-SC3WTLKG.mjs +37 -4
  210. package/dist/{chunk-YIYLO6AG.mjs → chunk-SCRSO3ES.mjs} +32 -12
  211. package/dist/chunk-SCSGLSPY.mjs +393 -0
  212. package/dist/{chunk-WLRLKW2W.mjs → chunk-SEDENBOO.mjs} +34 -5
  213. package/dist/{chunk-UCDB56MB.mjs → chunk-SGRUGYQ6.mjs} +87 -5
  214. package/dist/chunk-SLYUQ67P.js +39 -30
  215. package/dist/{chunk-XXBMPKS7.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-JACGMHFI.js → chunk-TAU447CL.js} +30 -23
  219. package/dist/chunk-TGIXSJI3.mjs +35 -4
  220. package/dist/chunk-TLXEFLPA.js +13 -14
  221. package/dist/chunk-TOE2XSEO.js +32 -20
  222. package/dist/{chunk-REF5Q6PG.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-FRFCXRUJ.mjs → chunk-UAD2XROX.mjs} +47 -12
  226. package/dist/chunk-UANF7XE5.mjs +25 -4
  227. package/dist/chunk-UHVUKLHF.js +32 -26
  228. package/dist/chunk-UI7N2ZDU.js +142 -0
  229. package/dist/{chunk-5RA26RRN.js → chunk-ULUH6UNV.js} +68 -48
  230. package/dist/chunk-UM5GGKIX.mjs +16 -4
  231. package/dist/{chunk-LBHKQW3U.mjs → chunk-UMQUWX7U.mjs} +14 -4
  232. package/dist/chunk-UNTTADHL.mjs +17 -4
  233. package/dist/chunk-UQK22ZMC.mjs +19 -4
  234. package/dist/chunk-UUJ7A3CN.js +75 -55
  235. package/dist/chunk-V32X2OEO.js +61 -34
  236. package/dist/{chunk-XOLTA3IE.js → chunk-VAXO5NEM.js} +62 -46
  237. package/dist/{chunk-E3BSOB7P.mjs → chunk-VG6E4NX6.mjs} +68 -18
  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 +79 -60
  242. package/dist/chunk-VVS2CQS4.mjs +6 -4
  243. package/dist/{chunk-47Z4MGKP.js → chunk-VXULMOIW.js} +90 -64
  244. package/dist/{chunk-4VB6I3CA.js → chunk-W55GCQ2D.js} +65 -44
  245. package/dist/chunk-W5RZPTFD.mjs +13 -4
  246. package/dist/chunk-W6ZFHHD3.mjs +15 -4
  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 +46 -34
  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-GAWIICIB.js → chunk-WUEP3PFN.js} +80 -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 +94 -64
  258. package/dist/chunk-XJXGVNNF.js +41 -30
  259. package/dist/chunk-XSMDZOBF.js +154 -0
  260. package/dist/chunk-XTMGF5YP.js +27 -21
  261. package/dist/chunk-XUOGT4HG.js +22 -17
  262. package/dist/chunk-XY4A73TK.js +23 -18
  263. package/dist/{chunk-RPWBZLHL.js → chunk-XZMU7B54.js} +61 -48
  264. package/dist/{chunk-WOFQV2N7.mjs → chunk-Y3BQSELH.mjs} +34 -10
  265. package/dist/chunk-Y4V7BOVR.mjs +18 -4
  266. package/dist/chunk-YEHKQ3JZ.mjs +13 -4
  267. package/dist/{chunk-I34OWAAY.mjs → chunk-YSUT2GRP.mjs} +21 -5
  268. package/dist/chunk-YZP4K6KI.mjs +25 -4
  269. package/dist/chunk-Z2ZECCGD.mjs +7 -4
  270. package/dist/chunk-Z4SG7REU.mjs +17 -4
  271. package/dist/chunk-Z7ETXBOL.mjs +26 -4
  272. package/dist/chunk-ZED7TU62.js +22 -16
  273. package/dist/chunk-ZIOGRGN5.mjs +18 -4
  274. package/dist/chunk-ZMGNQKXL.js +233 -0
  275. package/dist/chunk-ZMNX4SCS.mjs +12 -4
  276. package/dist/chunk-ZNVQ2OFX.js +13 -11
  277. package/dist/chunk-ZOUJFFG4.js +16 -17
  278. package/dist/chunk-ZSCOAOJJ.js +93 -71
  279. package/dist/chunk-ZSQ5I2KL.mjs +28 -4
  280. package/dist/chunk-ZUPVK5L7.js +838 -0
  281. package/dist/chunk-ZWVA7HT3.mjs +14 -4
  282. package/dist/components/ActivityFeed.js +4 -12
  283. package/dist/components/ActivityFeed.mjs +16 -9
  284. package/dist/components/Affix.js +3 -11
  285. package/dist/components/Affix.mjs +8 -1
  286. package/dist/components/Alert.js +3 -11
  287. package/dist/components/Alert.mjs +9 -2
  288. package/dist/components/Anchor.d.mts +5 -5
  289. package/dist/components/Anchor.d.ts +5 -5
  290. package/dist/components/Anchor.js +12 -24
  291. package/dist/components/Anchor.mjs +12 -1
  292. package/dist/components/AnchorLink.js +6 -10
  293. package/dist/components/AnchorLink.mjs +7 -4
  294. package/dist/components/AreaChart.d.mts +4 -4
  295. package/dist/components/AreaChart.d.ts +4 -4
  296. package/dist/components/AreaChart.js +4 -12
  297. package/dist/components/AreaChart.mjs +15 -8
  298. package/dist/components/AutoComplete.js +3 -11
  299. package/dist/components/AutoComplete.mjs +8 -1
  300. package/dist/components/Avatar.js +3 -11
  301. package/dist/components/Avatar.mjs +8 -1
  302. package/dist/components/AvatarGroup.js +5 -15
  303. package/dist/components/AvatarGroup.mjs +10 -1
  304. package/dist/components/BackTop.js +3 -11
  305. package/dist/components/BackTop.mjs +8 -1
  306. package/dist/components/Badge.js +3 -11
  307. package/dist/components/Badge.mjs +8 -1
  308. package/dist/components/BarChart.d.mts +2 -2
  309. package/dist/components/BarChart.d.ts +2 -2
  310. package/dist/components/BarChart.js +4 -12
  311. package/dist/components/BarChart.mjs +15 -8
  312. package/dist/components/Breadcrumb.js +12 -24
  313. package/dist/components/Breadcrumb.mjs +12 -1
  314. package/dist/components/BreadcrumbItem.js +6 -10
  315. package/dist/components/BreadcrumbItem.mjs +7 -4
  316. package/dist/components/Button.js +3 -11
  317. package/dist/components/Button.mjs +8 -1
  318. package/dist/components/ButtonGroup.js +5 -15
  319. package/dist/components/ButtonGroup.mjs +10 -1
  320. package/dist/components/Calendar.js +3 -11
  321. package/dist/components/Calendar.mjs +8 -1
  322. package/dist/components/Card.d.mts +1 -1
  323. package/dist/components/Card.d.ts +1 -1
  324. package/dist/components/Card.js +3 -11
  325. package/dist/components/Card.mjs +8 -1
  326. package/dist/components/Carousel.js +3 -11
  327. package/dist/components/Carousel.mjs +8 -1
  328. package/dist/components/Cascader.js +3 -11
  329. package/dist/components/Cascader.mjs +8 -1
  330. package/dist/components/ChartAxis.js +3 -11
  331. package/dist/components/ChartAxis.mjs +8 -1
  332. package/dist/components/ChartCanvas.d.mts +1 -1
  333. package/dist/components/ChartCanvas.d.ts +1 -1
  334. package/dist/components/ChartCanvas.js +3 -11
  335. package/dist/components/ChartCanvas.mjs +8 -1
  336. package/dist/components/ChartGrid.js +3 -11
  337. package/dist/components/ChartGrid.mjs +8 -1
  338. package/dist/components/ChartLegend.js +3 -11
  339. package/dist/components/ChartLegend.mjs +8 -1
  340. package/dist/components/ChartSeries.js +3 -11
  341. package/dist/components/ChartSeries.mjs +8 -1
  342. package/dist/components/ChartTooltip.js +3 -11
  343. package/dist/components/ChartTooltip.mjs +8 -1
  344. package/dist/components/ChatWindow.js +4 -12
  345. package/dist/components/ChatWindow.mjs +13 -6
  346. package/dist/components/Checkbox.js +3 -11
  347. package/dist/components/Checkbox.mjs +9 -2
  348. package/dist/components/CheckboxGroup.js +5 -15
  349. package/dist/components/CheckboxGroup.mjs +10 -1
  350. package/dist/components/Code.js +3 -11
  351. package/dist/components/Code.mjs +8 -1
  352. package/dist/components/CodeEditor.js +3 -11
  353. package/dist/components/CodeEditor.mjs +8 -1
  354. package/dist/components/Col.js +3 -7
  355. package/dist/components/Col.mjs +7 -2
  356. package/dist/components/Collapse.js +5 -15
  357. package/dist/components/Collapse.mjs +10 -1
  358. package/dist/components/CollapsePanel.js +4 -12
  359. package/dist/components/CollapsePanel.mjs +9 -2
  360. package/dist/components/ColorPicker.js +3 -11
  361. package/dist/components/ColorPicker.mjs +8 -1
  362. package/dist/components/ColorSwatch.d.mts +79 -0
  363. package/dist/components/ColorSwatch.d.ts +79 -0
  364. package/dist/components/ColorSwatch.js +8 -0
  365. package/dist/components/ColorSwatch.mjs +8 -0
  366. package/dist/components/CommentThread.js +3 -11
  367. package/dist/components/CommentThread.mjs +13 -6
  368. package/dist/components/ConfigProvider.d.mts +34 -5
  369. package/dist/components/ConfigProvider.d.ts +34 -5
  370. package/dist/components/ConfigProvider.js +14 -24
  371. package/dist/components/ConfigProvider.mjs +14 -1
  372. package/dist/components/Container.js +3 -11
  373. package/dist/components/Container.mjs +8 -1
  374. package/dist/components/Content.js +3 -11
  375. package/dist/components/Content.mjs +8 -1
  376. package/dist/components/Countdown.d.mts +107 -0
  377. package/dist/components/Countdown.d.ts +107 -0
  378. package/dist/components/Countdown.js +8 -0
  379. package/dist/components/Countdown.mjs +8 -0
  380. package/dist/components/CronEditor.d.mts +80 -0
  381. package/dist/components/CronEditor.d.ts +80 -0
  382. package/dist/components/CronEditor.js +8 -0
  383. package/dist/components/CronEditor.mjs +8 -0
  384. package/dist/components/CropUpload.js +5 -13
  385. package/dist/components/CropUpload.mjs +12 -5
  386. package/dist/components/DataTableWithToolbar.js +5 -13
  387. package/dist/components/DataTableWithToolbar.mjs +12 -5
  388. package/dist/components/DatePicker.d.mts +1 -1
  389. package/dist/components/DatePicker.d.ts +1 -1
  390. package/dist/components/DatePicker.js +3 -11
  391. package/dist/components/DatePicker.mjs +9 -2
  392. package/dist/components/Descriptions.js +3 -11
  393. package/dist/components/Descriptions.mjs +8 -1
  394. package/dist/components/Divider.js +3 -11
  395. package/dist/components/Divider.mjs +8 -1
  396. package/dist/components/DonutChart.d.mts +3 -3
  397. package/dist/components/DonutChart.d.ts +3 -3
  398. package/dist/components/DonutChart.js +5 -13
  399. package/dist/components/DonutChart.mjs +14 -7
  400. package/dist/components/Drawer.d.mts +1 -1
  401. package/dist/components/Drawer.d.ts +1 -1
  402. package/dist/components/Drawer.js +3 -11
  403. package/dist/components/Drawer.mjs +9 -2
  404. package/dist/components/Dropdown.js +7 -19
  405. package/dist/components/Dropdown.mjs +13 -2
  406. package/dist/components/DropdownItem.js +4 -12
  407. package/dist/components/DropdownItem.mjs +10 -3
  408. package/dist/components/DropdownMenu.js +6 -10
  409. package/dist/components/DropdownMenu.mjs +8 -5
  410. package/dist/components/Empty.js +3 -11
  411. package/dist/components/Empty.mjs +8 -1
  412. package/dist/components/FileManager.js +3 -11
  413. package/dist/components/FileManager.mjs +8 -1
  414. package/dist/components/FloatButton.d.mts +1 -1
  415. package/dist/components/FloatButton.d.ts +1 -1
  416. package/dist/components/FloatButton.js +5 -15
  417. package/dist/components/FloatButton.mjs +10 -1
  418. package/dist/components/Footer.js +3 -11
  419. package/dist/components/Footer.mjs +8 -1
  420. package/dist/components/Form.d.mts +23 -1
  421. package/dist/components/Form.d.ts +23 -1
  422. package/dist/components/Form.js +5 -15
  423. package/dist/components/Form.mjs +10 -1
  424. package/dist/components/FormItem.d.mts +12 -2
  425. package/dist/components/FormItem.d.ts +12 -2
  426. package/dist/components/FormItem.js +4 -12
  427. package/dist/components/FormItem.mjs +9 -2
  428. package/dist/components/FormWizard.d.mts +2 -2
  429. package/dist/components/FormWizard.d.ts +2 -2
  430. package/dist/components/FormWizard.js +4 -12
  431. package/dist/components/FormWizard.mjs +11 -4
  432. package/dist/components/FunnelChart.d.mts +3 -3
  433. package/dist/components/FunnelChart.d.ts +3 -3
  434. package/dist/components/FunnelChart.js +4 -12
  435. package/dist/components/FunnelChart.mjs +13 -6
  436. package/dist/components/Gantt.d.mts +231 -0
  437. package/dist/components/Gantt.d.ts +231 -0
  438. package/dist/components/Gantt.js +9 -0
  439. package/dist/components/Gantt.mjs +9 -0
  440. package/dist/components/GaugeChart.d.mts +2 -2
  441. package/dist/components/GaugeChart.d.ts +2 -2
  442. package/dist/components/GaugeChart.js +3 -11
  443. package/dist/components/GaugeChart.mjs +9 -2
  444. package/dist/components/Header.js +3 -11
  445. package/dist/components/Header.mjs +8 -1
  446. package/dist/components/HeatmapChart.d.mts +1 -1
  447. package/dist/components/HeatmapChart.d.ts +1 -1
  448. package/dist/components/HeatmapChart.js +4 -12
  449. package/dist/components/HeatmapChart.mjs +11 -4
  450. package/dist/components/Icon.js +3 -11
  451. package/dist/components/Icon.mjs +8 -1
  452. package/dist/components/Image.d.mts +1 -2
  453. package/dist/components/Image.d.ts +1 -2
  454. package/dist/components/Image.js +6 -16
  455. package/dist/components/Image.mjs +11 -2
  456. package/dist/components/ImageAnnotation.d.mts +179 -0
  457. package/dist/components/ImageAnnotation.d.ts +179 -0
  458. package/dist/components/ImageAnnotation.js +8 -0
  459. package/dist/components/ImageAnnotation.mjs +8 -0
  460. package/dist/components/ImageCropper.d.mts +1 -1
  461. package/dist/components/ImageCropper.d.ts +1 -1
  462. package/dist/components/ImageCropper.js +3 -11
  463. package/dist/components/ImageCropper.mjs +8 -1
  464. package/dist/components/ImageGroup.js +6 -16
  465. package/dist/components/ImageGroup.mjs +11 -2
  466. package/dist/components/ImagePreview.d.mts +2 -2
  467. package/dist/components/ImagePreview.d.ts +2 -2
  468. package/dist/components/ImagePreview.js +3 -11
  469. package/dist/components/ImagePreview.mjs +8 -1
  470. package/dist/components/ImageViewer.js +3 -11
  471. package/dist/components/ImageViewer.mjs +8 -1
  472. package/dist/components/InfiniteScroll.d.mts +1 -1
  473. package/dist/components/InfiniteScroll.d.ts +1 -1
  474. package/dist/components/InfiniteScroll.js +3 -11
  475. package/dist/components/InfiniteScroll.mjs +8 -1
  476. package/dist/components/Input.d.mts +1 -1
  477. package/dist/components/Input.d.ts +1 -1
  478. package/dist/components/Input.js +3 -11
  479. package/dist/components/Input.mjs +8 -1
  480. package/dist/components/InputGroup.js +12 -24
  481. package/dist/components/InputGroup.mjs +12 -1
  482. package/dist/components/InputNumber.d.mts +2 -2
  483. package/dist/components/InputNumber.d.ts +2 -2
  484. package/dist/components/InputNumber.js +3 -11
  485. package/dist/components/InputNumber.mjs +8 -1
  486. package/dist/components/Kanban.js +5 -13
  487. package/dist/components/Kanban.mjs +10 -3
  488. package/dist/components/Layout.js +3 -11
  489. package/dist/components/Layout.mjs +8 -1
  490. package/dist/components/LineChart.d.mts +2 -2
  491. package/dist/components/LineChart.d.ts +2 -2
  492. package/dist/components/LineChart.js +4 -12
  493. package/dist/components/LineChart.mjs +15 -8
  494. package/dist/components/Link.js +3 -11
  495. package/dist/components/Link.mjs +8 -1
  496. package/dist/components/List.js +4 -12
  497. package/dist/components/List.mjs +9 -2
  498. package/dist/components/Loading.d.mts +1 -1
  499. package/dist/components/Loading.d.ts +1 -1
  500. package/dist/components/Loading.js +3 -11
  501. package/dist/components/Loading.mjs +9 -2
  502. package/dist/components/MarkdownEditor.d.mts +149 -0
  503. package/dist/components/MarkdownEditor.d.ts +149 -0
  504. package/dist/components/MarkdownEditor.js +8 -0
  505. package/dist/components/MarkdownEditor.mjs +8 -0
  506. package/dist/components/Mentions.js +3 -11
  507. package/dist/components/Mentions.mjs +8 -1
  508. package/dist/components/Menu.d.mts +70 -2
  509. package/dist/components/Menu.d.ts +70 -2
  510. package/dist/components/Menu.js +16 -32
  511. package/dist/components/Menu.mjs +16 -1
  512. package/dist/components/MenuItem.js +6 -10
  513. package/dist/components/MenuItem.mjs +7 -4
  514. package/dist/components/MenuItemGroup.js +6 -10
  515. package/dist/components/MenuItemGroup.mjs +7 -4
  516. package/dist/components/Message.d.mts +3 -1
  517. package/dist/components/Message.d.ts +3 -1
  518. package/dist/components/Message.js +5 -15
  519. package/dist/components/Message.mjs +11 -2
  520. package/dist/components/Modal.d.mts +19 -1
  521. package/dist/components/Modal.d.ts +19 -1
  522. package/dist/components/Modal.js +3 -11
  523. package/dist/components/Modal.mjs +10 -3
  524. package/dist/components/Notification.d.mts +3 -1
  525. package/dist/components/Notification.d.ts +3 -1
  526. package/dist/components/Notification.js +5 -15
  527. package/dist/components/Notification.mjs +11 -2
  528. package/dist/components/NotificationCenter.js +6 -14
  529. package/dist/components/NotificationCenter.mjs +16 -9
  530. package/dist/components/NumberKeyboard.d.mts +145 -0
  531. package/dist/components/NumberKeyboard.d.ts +145 -0
  532. package/dist/components/NumberKeyboard.js +8 -0
  533. package/dist/components/NumberKeyboard.mjs +8 -0
  534. package/dist/components/OrgChart.d.mts +195 -0
  535. package/dist/components/OrgChart.d.ts +195 -0
  536. package/dist/components/OrgChart.js +9 -0
  537. package/dist/components/OrgChart.mjs +9 -0
  538. package/dist/components/Pagination.js +3 -11
  539. package/dist/components/Pagination.mjs +8 -1
  540. package/dist/components/PieChart.d.mts +3 -3
  541. package/dist/components/PieChart.d.ts +3 -3
  542. package/dist/components/PieChart.js +4 -12
  543. package/dist/components/PieChart.mjs +13 -6
  544. package/dist/components/Popconfirm.d.mts +2 -2
  545. package/dist/components/Popconfirm.d.ts +2 -2
  546. package/dist/components/Popconfirm.js +3 -11
  547. package/dist/components/Popconfirm.mjs +10 -3
  548. package/dist/components/Popover.d.mts +1 -1
  549. package/dist/components/Popover.d.ts +1 -1
  550. package/dist/components/Popover.js +3 -11
  551. package/dist/components/Popover.mjs +10 -3
  552. package/dist/components/PrintLayout.js +5 -15
  553. package/dist/components/PrintLayout.mjs +10 -1
  554. package/dist/components/Progress.d.mts +2 -2
  555. package/dist/components/Progress.d.ts +2 -2
  556. package/dist/components/Progress.js +3 -11
  557. package/dist/components/Progress.mjs +8 -1
  558. package/dist/components/QRCode.d.mts +1 -1
  559. package/dist/components/QRCode.d.ts +1 -1
  560. package/dist/components/QRCode.js +3 -11
  561. package/dist/components/QRCode.mjs +8 -1
  562. package/dist/components/RadarChart.d.mts +5 -5
  563. package/dist/components/RadarChart.d.ts +5 -5
  564. package/dist/components/RadarChart.js +4 -12
  565. package/dist/components/RadarChart.mjs +13 -6
  566. package/dist/components/Radio.js +3 -11
  567. package/dist/components/Radio.mjs +9 -2
  568. package/dist/components/RadioGroup.js +5 -15
  569. package/dist/components/RadioGroup.mjs +10 -1
  570. package/dist/components/Rate.js +3 -11
  571. package/dist/components/Rate.mjs +8 -1
  572. package/dist/components/Resizable.js +3 -11
  573. package/dist/components/Resizable.mjs +8 -1
  574. package/dist/components/Result.js +3 -11
  575. package/dist/components/Result.mjs +9 -2
  576. package/dist/components/RichTextEditor.d.mts +1 -1
  577. package/dist/components/RichTextEditor.d.ts +1 -1
  578. package/dist/components/RichTextEditor.js +3 -11
  579. package/dist/components/RichTextEditor.mjs +8 -1
  580. package/dist/components/Row.js +4 -10
  581. package/dist/components/Row.mjs +8 -1
  582. package/dist/components/ScatterChart.d.mts +2 -2
  583. package/dist/components/ScatterChart.d.ts +2 -2
  584. package/dist/components/ScatterChart.js +4 -12
  585. package/dist/components/ScatterChart.mjs +15 -8
  586. package/dist/components/ScrollSpy.d.mts +125 -0
  587. package/dist/components/ScrollSpy.d.ts +125 -0
  588. package/dist/components/ScrollSpy.js +8 -0
  589. package/dist/components/ScrollSpy.mjs +8 -0
  590. package/dist/components/Segmented.js +3 -11
  591. package/dist/components/Segmented.mjs +8 -1
  592. package/dist/components/Select.d.mts +58 -1
  593. package/dist/components/Select.d.ts +58 -1
  594. package/dist/components/Select.js +3 -11
  595. package/dist/components/Select.mjs +8 -1
  596. package/dist/components/Sidebar.js +3 -11
  597. package/dist/components/Sidebar.mjs +8 -1
  598. package/dist/components/Signature.d.mts +154 -0
  599. package/dist/components/Signature.d.ts +154 -0
  600. package/dist/components/Signature.js +8 -0
  601. package/dist/components/Signature.mjs +8 -0
  602. package/dist/components/Skeleton.d.mts +1 -1
  603. package/dist/components/Skeleton.d.ts +1 -1
  604. package/dist/components/Skeleton.js +3 -11
  605. package/dist/components/Skeleton.mjs +8 -1
  606. package/dist/components/Slider.js +3 -11
  607. package/dist/components/Slider.mjs +8 -1
  608. package/dist/components/Space.d.mts +1 -1
  609. package/dist/components/Space.d.ts +1 -1
  610. package/dist/components/Space.js +3 -11
  611. package/dist/components/Space.mjs +8 -1
  612. package/dist/components/Splitter.d.mts +1 -1
  613. package/dist/components/Splitter.d.ts +1 -1
  614. package/dist/components/Splitter.js +3 -11
  615. package/dist/components/Splitter.mjs +8 -1
  616. package/dist/components/Spotlight.d.mts +198 -0
  617. package/dist/components/Spotlight.d.ts +198 -0
  618. package/dist/components/Spotlight.js +9 -0
  619. package/dist/components/Spotlight.mjs +9 -0
  620. package/dist/components/Statistic.d.mts +1 -1
  621. package/dist/components/Statistic.d.ts +1 -1
  622. package/dist/components/Statistic.js +3 -11
  623. package/dist/components/Statistic.mjs +8 -1
  624. package/dist/components/Stepper.js +3 -11
  625. package/dist/components/Stepper.mjs +8 -1
  626. package/dist/components/Steps.d.mts +1 -1
  627. package/dist/components/Steps.d.ts +1 -1
  628. package/dist/components/Steps.js +12 -24
  629. package/dist/components/Steps.mjs +12 -1
  630. package/dist/components/StepsItem.js +6 -10
  631. package/dist/components/StepsItem.mjs +7 -4
  632. package/dist/components/SubMenu.js +6 -10
  633. package/dist/components/SubMenu.mjs +7 -4
  634. package/dist/components/SunburstChart.d.mts +3 -3
  635. package/dist/components/SunburstChart.d.ts +3 -3
  636. package/dist/components/SunburstChart.js +4 -12
  637. package/dist/components/SunburstChart.mjs +13 -6
  638. package/dist/components/Switch.js +3 -11
  639. package/dist/components/Switch.mjs +8 -1
  640. package/dist/components/TabPane.js +6 -10
  641. package/dist/components/TabPane.mjs +7 -4
  642. package/dist/components/Table.d.mts +52 -1
  643. package/dist/components/Table.d.ts +52 -1
  644. package/dist/components/Table.js +3 -11
  645. package/dist/components/Table.mjs +8 -1
  646. package/dist/components/Tabs.d.mts +19 -0
  647. package/dist/components/Tabs.d.ts +19 -0
  648. package/dist/components/Tabs.js +12 -24
  649. package/dist/components/Tabs.mjs +12 -1
  650. package/dist/components/Tag.js +3 -11
  651. package/dist/components/Tag.mjs +8 -1
  652. package/dist/components/TaskBoard.js +4 -12
  653. package/dist/components/TaskBoard.mjs +9 -2
  654. package/dist/components/Text.js +3 -11
  655. package/dist/components/Text.mjs +8 -1
  656. package/dist/components/Textarea.d.mts +1 -1
  657. package/dist/components/Textarea.d.ts +1 -1
  658. package/dist/components/Textarea.js +3 -11
  659. package/dist/components/Textarea.mjs +8 -1
  660. package/dist/components/TimePicker.d.mts +1 -1
  661. package/dist/components/TimePicker.d.ts +1 -1
  662. package/dist/components/TimePicker.js +3 -11
  663. package/dist/components/TimePicker.mjs +9 -2
  664. package/dist/components/Timeline.js +3 -11
  665. package/dist/components/Timeline.mjs +8 -1
  666. package/dist/components/Tooltip.js +3 -11
  667. package/dist/components/Tooltip.mjs +10 -3
  668. package/dist/components/Tour.d.mts +12 -2
  669. package/dist/components/Tour.d.ts +12 -2
  670. package/dist/components/Tour.js +3 -11
  671. package/dist/components/Tour.mjs +9 -2
  672. package/dist/components/Transfer.js +3 -11
  673. package/dist/components/Transfer.mjs +8 -1
  674. package/dist/components/Tree.d.mts +2 -2
  675. package/dist/components/Tree.d.ts +2 -2
  676. package/dist/components/Tree.js +4 -12
  677. package/dist/components/Tree.mjs +9 -2
  678. package/dist/components/TreeMapChart.d.mts +3 -3
  679. package/dist/components/TreeMapChart.d.ts +3 -3
  680. package/dist/components/TreeMapChart.js +4 -12
  681. package/dist/components/TreeMapChart.mjs +13 -6
  682. package/dist/components/TreeSelect.js +3 -11
  683. package/dist/components/TreeSelect.mjs +8 -1
  684. package/dist/components/Upload.d.mts +45 -1
  685. package/dist/components/Upload.d.ts +45 -1
  686. package/dist/components/Upload.js +4 -12
  687. package/dist/components/Upload.mjs +9 -2
  688. package/dist/components/VirtualList.js +3 -11
  689. package/dist/components/VirtualList.mjs +8 -1
  690. package/dist/components/VirtualTable.js +3 -11
  691. package/dist/components/VirtualTable.mjs +8 -1
  692. package/dist/components/Watermark.d.mts +1 -1
  693. package/dist/components/Watermark.d.ts +1 -1
  694. package/dist/components/Watermark.js +3 -11
  695. package/dist/components/Watermark.mjs +8 -1
  696. package/dist/index.d.mts +16 -5
  697. package/dist/index.d.ts +16 -5
  698. package/dist/index.js +661 -748
  699. package/dist/index.mjs +638 -156
  700. package/package.json +4 -4
  701. package/dist/chunk-6VG6ARQG.js +0 -206
  702. package/dist/chunk-BZBQUUXF.js +0 -94
  703. package/dist/chunk-CRGGJKV2.js +0 -286
  704. package/dist/chunk-EZZG57TK.js +0 -44
  705. package/dist/chunk-HU2XBA2A.js +0 -673
  706. package/dist/chunk-JTTSX3NM.js +0 -388
  707. package/dist/chunk-KOI6AQ5H.js +0 -60
  708. package/dist/chunk-MRMKZTC6.js +0 -313
  709. package/dist/chunk-P4XGEFV3.js +0 -259
  710. package/dist/chunk-RHCW2WXG.js +0 -194
@@ -1,9 +1,20 @@
1
- 'use strict';
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/components/Table.ts
2
+ var _vue = require('vue');
3
+
4
+
5
+
6
+
7
+
8
+
2
9
 
3
- var vue = require('vue');
4
- var tigercatCore = require('@expcat/tigercat-core');
5
10
 
6
- // src/components/Table.ts
11
+
12
+
13
+
14
+
15
+
16
+ var _tigercatcore = require('@expcat/tigercat-core');
17
+
7
18
 
8
19
  // src/components/Table/props.ts
9
20
  var tableProps = {
@@ -95,19 +106,27 @@ var tableProps = {
95
106
  type: String,
96
107
  default: "auto"
97
108
  },
109
+ responsiveMode: {
110
+ type: String,
111
+ default: "scroll"
112
+ },
98
113
  // --- v0.6.0 props ---
99
114
  virtual: { type: Boolean, default: false },
115
+ autoVirtual: { type: Boolean, default: true },
100
116
  virtualHeight: { type: Number, default: 400 },
101
117
  virtualItemHeight: { type: Number, default: 40 },
118
+ autoVirtualThreshold: { type: Number, default: 1e4 },
102
119
  virtualThreshold: { type: Number, default: 1e3 },
103
120
  editable: { type: Boolean, default: false },
104
121
  editableCells: { type: Object },
105
122
  filterMode: { type: String, default: "basic" },
106
123
  advancedFilterRules: { type: Array, default: () => [] },
107
124
  columnDraggable: { type: Boolean, default: false },
125
+ rowDraggable: { type: Boolean, default: false },
108
126
  summaryRow: { type: Object },
109
127
  groupBy: { type: String },
110
128
  exportable: { type: Boolean, default: false },
129
+ exportFormat: { type: String, default: "csv" },
111
130
  exportFilename: { type: String, default: "export" }
112
131
  };
113
132
  var tableEmits = [
@@ -120,45 +139,61 @@ var tableEmits = [
120
139
  "expand-change",
121
140
  "cell-change",
122
141
  "column-order-change",
142
+ "row-order-change",
123
143
  "export"
124
144
  ];
145
+
146
+ // src/components/Table/state.ts
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
125
160
  function useTableState(props, emit, measuredColumnWidths) {
126
- const paginationConfig = vue.computed(() => {
161
+ const paginationConfig = _vue.computed.call(void 0, () => {
127
162
  return props.pagination !== false && typeof props.pagination === "object" ? props.pagination : null;
128
163
  });
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
164
+ const isSortControlled = _vue.computed.call(void 0, () => props.sort !== void 0);
165
+ const isFiltersControlled = _vue.computed.call(void 0, () => props.filters !== void 0);
166
+ const isSelectionControlled = _vue.computed.call(void 0, () => _optionalChain([props, 'access', _ => _.rowSelection, 'optionalAccess', _2 => _2.selectedRowKeys]) !== void 0);
167
+ const isExpandControlled = _vue.computed.call(void 0, () => _optionalChain([props, 'access', _3 => _3.expandable, 'optionalAccess', _4 => _4.expandedRowKeys]) !== void 0);
168
+ const uncontrolledSortState = _vue.ref.call(void 0, _nullishCoalesce(props.defaultSort, () => ( { key: null, direction: null })));
169
+ const uncontrolledFilterState = _vue.ref.call(void 0, _nullishCoalesce(props.defaultFilters, () => ( {})));
170
+ const uncontrolledCurrentPage = _vue.ref.call(void 0,
171
+ _nullishCoalesce(_nullishCoalesce(_optionalChain([paginationConfig, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.defaultCurrent]), () => ( _optionalChain([paginationConfig, 'access', _7 => _7.value, 'optionalAccess', _8 => _8.current]))), () => ( 1))
137
172
  );
138
- const uncontrolledCurrentPageSize = vue.ref(
139
- paginationConfig.value?.defaultPageSize ?? paginationConfig.value?.pageSize ?? 10
173
+ const uncontrolledCurrentPageSize = _vue.ref.call(void 0,
174
+ _nullishCoalesce(_nullishCoalesce(_optionalChain([paginationConfig, 'access', _9 => _9.value, 'optionalAccess', _10 => _10.defaultPageSize]), () => ( _optionalChain([paginationConfig, 'access', _11 => _11.value, 'optionalAccess', _12 => _12.pageSize]))), () => ( 10))
140
175
  );
141
- const uncontrolledSelectedRowKeys = vue.ref(
142
- props.rowSelection?.defaultSelectedRowKeys ?? props.rowSelection?.selectedRowKeys ?? []
176
+ const uncontrolledSelectedRowKeys = _vue.ref.call(void 0,
177
+ _nullishCoalesce(_nullishCoalesce(_optionalChain([props, 'access', _13 => _13.rowSelection, 'optionalAccess', _14 => _14.defaultSelectedRowKeys]), () => ( _optionalChain([props, 'access', _15 => _15.rowSelection, 'optionalAccess', _16 => _16.selectedRowKeys]))), () => ( []))
143
178
  );
144
- const uncontrolledExpandedRowKeys = vue.ref(
145
- props.expandable?.defaultExpandedRowKeys ?? props.expandable?.expandedRowKeys ?? []
179
+ const uncontrolledExpandedRowKeys = _vue.ref.call(void 0,
180
+ _nullishCoalesce(_nullishCoalesce(_optionalChain([props, 'access', _17 => _17.expandable, 'optionalAccess', _18 => _18.defaultExpandedRowKeys]), () => ( _optionalChain([props, 'access', _19 => _19.expandable, 'optionalAccess', _20 => _20.expandedRowKeys]))), () => ( []))
146
181
  );
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;
182
+ const sortState = _vue.computed.call(void 0, () => _nullishCoalesce(props.sort, () => ( uncontrolledSortState.value)));
183
+ const filterState = _vue.computed.call(void 0, () => _nullishCoalesce(props.filters, () => ( uncontrolledFilterState.value)));
184
+ const currentPage = _vue.computed.call(void 0, () => {
185
+ return _nullishCoalesce(_optionalChain([paginationConfig, 'access', _21 => _21.value, 'optionalAccess', _22 => _22.current]), () => ( uncontrolledCurrentPage.value));
151
186
  });
152
- const currentPageSize = vue.computed(() => {
153
- return paginationConfig.value?.pageSize ?? uncontrolledCurrentPageSize.value;
187
+ const currentPageSize = _vue.computed.call(void 0, () => {
188
+ return _nullishCoalesce(_optionalChain([paginationConfig, 'access', _23 => _23.value, 'optionalAccess', _24 => _24.pageSize]), () => ( uncontrolledCurrentPageSize.value));
154
189
  });
155
- const selectedRowKeys = vue.computed(() => {
156
- return props.rowSelection?.selectedRowKeys ?? uncontrolledSelectedRowKeys.value;
190
+ const selectedRowKeys = _vue.computed.call(void 0, () => {
191
+ return _nullishCoalesce(_optionalChain([props, 'access', _25 => _25.rowSelection, 'optionalAccess', _26 => _26.selectedRowKeys]), () => ( uncontrolledSelectedRowKeys.value));
157
192
  });
158
- const expandedRowKeys = vue.computed(() => {
159
- return props.expandable?.expandedRowKeys ?? uncontrolledExpandedRowKeys.value;
193
+ const expandedRowKeys = _vue.computed.call(void 0, () => {
194
+ return _nullishCoalesce(_optionalChain([props, 'access', _27 => _27.expandable, 'optionalAccess', _28 => _28.expandedRowKeys]), () => ( uncontrolledExpandedRowKeys.value));
160
195
  });
161
- vue.watch(
196
+ _vue.watch.call(void 0,
162
197
  () => props.sort,
163
198
  (next) => {
164
199
  if (next !== void 0) {
@@ -166,7 +201,7 @@ function useTableState(props, emit, measuredColumnWidths) {
166
201
  }
167
202
  }
168
203
  );
169
- vue.watch(
204
+ _vue.watch.call(void 0,
170
205
  () => props.filters,
171
206
  (next) => {
172
207
  if (next !== void 0) {
@@ -174,40 +209,40 @@ function useTableState(props, emit, measuredColumnWidths) {
174
209
  }
175
210
  }
176
211
  );
177
- vue.watch(
178
- () => paginationConfig.value?.current,
212
+ _vue.watch.call(void 0,
213
+ () => _optionalChain([paginationConfig, 'access', _29 => _29.value, 'optionalAccess', _30 => _30.current]),
179
214
  (next) => {
180
215
  if (next !== void 0) {
181
216
  uncontrolledCurrentPage.value = next;
182
217
  }
183
218
  }
184
219
  );
185
- vue.watch(
186
- () => paginationConfig.value?.pageSize,
220
+ _vue.watch.call(void 0,
221
+ () => _optionalChain([paginationConfig, 'access', _31 => _31.value, 'optionalAccess', _32 => _32.pageSize]),
187
222
  (next) => {
188
223
  if (next !== void 0) {
189
224
  uncontrolledCurrentPageSize.value = next;
190
225
  }
191
226
  }
192
227
  );
193
- vue.watch(
194
- () => props.rowSelection?.selectedRowKeys,
228
+ _vue.watch.call(void 0,
229
+ () => _optionalChain([props, 'access', _33 => _33.rowSelection, 'optionalAccess', _34 => _34.selectedRowKeys]),
195
230
  (next) => {
196
231
  if (next !== void 0) {
197
232
  uncontrolledSelectedRowKeys.value = next;
198
233
  }
199
234
  }
200
235
  );
201
- vue.watch(
202
- () => props.expandable?.expandedRowKeys,
236
+ _vue.watch.call(void 0,
237
+ () => _optionalChain([props, 'access', _35 => _35.expandable, 'optionalAccess', _36 => _36.expandedRowKeys]),
203
238
  (next) => {
204
239
  if (next !== void 0) {
205
240
  uncontrolledExpandedRowKeys.value = next;
206
241
  }
207
242
  }
208
243
  );
209
- const fixedOverrides = vue.ref({});
210
- const displayColumns = vue.computed(() => {
244
+ const fixedOverrides = _vue.ref.call(void 0, {});
245
+ const displayColumns = _vue.computed.call(void 0, () => {
211
246
  return props.columns.map((column) => {
212
247
  const hasOverride = column.key in fixedOverrides.value;
213
248
  return {
@@ -216,10 +251,10 @@ function useTableState(props, emit, measuredColumnWidths) {
216
251
  };
217
252
  });
218
253
  });
219
- const fixedColumnsInfo = vue.computed(() => {
220
- return tigercatCore.getFixedColumnOffsets(displayColumns.value, measuredColumnWidths.value);
254
+ const fixedColumnsInfo = _vue.computed.call(void 0, () => {
255
+ return _tigercatcore.getFixedColumnOffsets.call(void 0, displayColumns.value, measuredColumnWidths.value);
221
256
  });
222
- const columnByKey = vue.computed(() => {
257
+ const columnByKey = _vue.computed.call(void 0, () => {
223
258
  const map = {};
224
259
  for (const column of displayColumns.value) {
225
260
  map[column.key] = column;
@@ -227,54 +262,54 @@ function useTableState(props, emit, measuredColumnWidths) {
227
262
  return map;
228
263
  });
229
264
  function toggleColumnLock(columnKey) {
230
- const original = props.columns.find((c) => c.key === columnKey)?.fixed;
265
+ const original = _optionalChain([props, 'access', _37 => _37.columns, 'access', _38 => _38.find, 'call', _39 => _39((c) => c.key === columnKey), 'optionalAccess', _40 => _40.fixed]);
231
266
  const hasOverride = columnKey in fixedOverrides.value;
232
267
  const current = hasOverride ? fixedOverrides.value[columnKey] : original;
233
268
  const isLocked = current === "left" || current === "right";
234
269
  fixedOverrides.value[columnKey] = isLocked ? false : "left";
235
270
  }
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 ?? []);
271
+ const processedData = _vue.computed.call(void 0, () => {
272
+ let data = _nullishCoalesce(props.dataSource, () => ( []));
273
+ if (props.filterMode === "advanced" && (_nullishCoalesce(_optionalChain([props, 'access', _41 => _41.advancedFilterRules, 'optionalAccess', _42 => _42.length]), () => ( 0))) > 0) {
274
+ data = _tigercatcore.filterDataAdvanced.call(void 0, data, _nullishCoalesce(props.advancedFilterRules, () => ( [])));
240
275
  } else {
241
- data = tigercatCore.filterData(data, filterState.value);
276
+ data = _tigercatcore.filterData.call(void 0, data, filterState.value);
242
277
  }
243
278
  if (sortState.value.key && sortState.value.direction) {
244
279
  const column = columnByKey.value[sortState.value.key];
245
- data = tigercatCore.sortData(data, sortState.value.key, sortState.value.direction, column?.sortFn);
280
+ data = _tigercatcore.sortData.call(void 0, data, sortState.value.key, sortState.value.direction, _optionalChain([column, 'optionalAccess', _43 => _43.sortFn]));
246
281
  }
247
282
  return data;
248
283
  });
249
- const paginatedData = vue.computed(() => {
284
+ const paginatedData = _vue.computed.call(void 0, () => {
250
285
  if (props.pagination === false) {
251
286
  return processedData.value;
252
287
  }
253
- return tigercatCore.paginateData(processedData.value, currentPage.value, currentPageSize.value);
288
+ return _tigercatcore.paginateData.call(void 0, processedData.value, currentPage.value, currentPageSize.value);
254
289
  });
255
- const paginatedRowKeys = vue.computed(() => {
256
- return tigercatCore.createTableRowKeyCache(props.rowKey).getMany(
290
+ const paginatedRowKeys = _vue.computed.call(void 0, () => {
291
+ return _tigercatcore.createTableRowKeyCache.call(void 0, props.rowKey).getMany(
257
292
  paginatedData.value
258
293
  );
259
294
  });
260
- const selectedRowKeySet = vue.computed(() => {
295
+ const selectedRowKeySet = _vue.computed.call(void 0, () => {
261
296
  return new Set(selectedRowKeys.value);
262
297
  });
263
- const expandedRowKeySet = vue.computed(() => {
298
+ const expandedRowKeySet = _vue.computed.call(void 0, () => {
264
299
  return new Set(expandedRowKeys.value);
265
300
  });
266
- const totalColumnCount = vue.computed(() => {
301
+ const totalColumnCount = _vue.computed.call(void 0, () => {
267
302
  let count = displayColumns.value.length;
268
303
  if (props.rowSelection) count += 1;
269
304
  if (props.expandable) count += 1;
270
305
  return count;
271
306
  });
272
- const paginationInfo = vue.computed(() => {
307
+ const paginationInfo = _vue.computed.call(void 0, () => {
273
308
  if (props.pagination === false) {
274
309
  return null;
275
310
  }
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);
311
+ const total = _optionalChain([paginationConfig, 'access', _44 => _44.value, 'optionalAccess', _45 => _45.total]) !== void 0 && paginationConfig.value.total > 0 ? paginationConfig.value.total : processedData.value.length;
312
+ return _tigercatcore.calculatePagination.call(void 0, total, currentPage.value, currentPageSize.value);
278
313
  });
279
314
  function handleSort(columnKey) {
280
315
  const column = displayColumns.value.find((col) => col.key === columnKey);
@@ -360,8 +395,8 @@ function useTableState(props, emit, measuredColumnWidths) {
360
395
  }
361
396
  function handleRowClick(record, index, key) {
362
397
  emit("row-click", record, index);
363
- if (props.expandable?.expandRowByClick) {
364
- const isExpandable = props.expandable?.rowExpandable ? props.expandable.rowExpandable(record) : true;
398
+ if (_optionalChain([props, 'access', _46 => _46.expandable, 'optionalAccess', _47 => _47.expandRowByClick])) {
399
+ const isExpandable = _optionalChain([props, 'access', _48 => _48.expandable, 'optionalAccess', _49 => _49.rowExpandable]) ? props.expandable.rowExpandable(record) : true;
365
400
  if (isExpandable) {
366
401
  handleToggleExpand(key, record);
367
402
  }
@@ -369,7 +404,7 @@ function useTableState(props, emit, measuredColumnWidths) {
369
404
  }
370
405
  function handleSelectRow(key, checked) {
371
406
  let newKeys;
372
- if (props.rowSelection?.type === "radio") {
407
+ if (_optionalChain([props, 'access', _50 => _50.rowSelection, 'optionalAccess', _51 => _51.type]) === "radio") {
373
408
  newKeys = checked ? [key] : [];
374
409
  } else {
375
410
  if (checked) {
@@ -397,25 +432,25 @@ function useTableState(props, emit, measuredColumnWidths) {
397
432
  emit("selection-change", []);
398
433
  }
399
434
  }
400
- const allSelected = vue.computed(() => {
435
+ const allSelected = _vue.computed.call(void 0, () => {
401
436
  if (paginatedRowKeys.value.length === 0) {
402
437
  return false;
403
438
  }
404
439
  return paginatedRowKeys.value.every((key) => selectedRowKeySet.value.has(key));
405
440
  });
406
- const someSelected = vue.computed(() => {
441
+ const someSelected = _vue.computed.call(void 0, () => {
407
442
  return selectedRowKeys.value.length > 0 && !allSelected.value;
408
443
  });
409
- const editingCell = vue.ref(null);
410
- const editingValue = vue.ref("");
444
+ const editingCell = _vue.ref.call(void 0, null);
445
+ const editingValue = _vue.ref.call(void 0, "");
411
446
  function isCellEditable(columnKey, rowIndex) {
412
447
  if (!props.editable) return false;
413
448
  if (!props.editableCells) return true;
414
- return !!props.editableCells.get(columnKey)?.has(rowIndex);
449
+ return !!_optionalChain([props, 'access', _52 => _52.editableCells, 'access', _53 => _53.get, 'call', _54 => _54(columnKey), 'optionalAccess', _55 => _55.has, 'call', _56 => _56(rowIndex)]);
415
450
  }
416
451
  function startEditing(rowIndex, columnKey, currentValue) {
417
452
  editingCell.value = { rowIndex, columnKey };
418
- editingValue.value = String(currentValue ?? "");
453
+ editingValue.value = String(_nullishCoalesce(currentValue, () => ( "")));
419
454
  }
420
455
  function commitEdit() {
421
456
  if (editingCell.value) {
@@ -432,11 +467,11 @@ function useTableState(props, emit, measuredColumnWidths) {
432
467
  editingCell.value = null;
433
468
  }
434
469
  function handleExport() {
435
- const csv = tigercatCore.exportTableToCsv(displayColumns.value, processedData.value);
436
- tigercatCore.downloadCsv(csv, props.exportFilename);
437
- emit("export", csv);
470
+ const content = _tigercatcore.exportTableData.call(void 0, displayColumns.value, processedData.value, props.exportFormat);
471
+ _tigercatcore.downloadTableExport.call(void 0, content, props.exportFilename, props.exportFormat);
472
+ emit("export", content);
438
473
  }
439
- const dragColumnKey = vue.ref(null);
474
+ const dragColumnKey = _vue.ref.call(void 0, null);
440
475
  function handleDragStart(columnKey) {
441
476
  dragColumnKey.value = columnKey;
442
477
  }
@@ -452,10 +487,27 @@ function useTableState(props, emit, measuredColumnWidths) {
452
487
  }
453
488
  dragColumnKey.value = null;
454
489
  }
455
- const virtualScrollTop = vue.ref(0);
456
- const groupedData = vue.computed(() => {
490
+ const dragRowKey = _vue.ref.call(void 0, null);
491
+ function handleRowDragStart(rowKeyValue) {
492
+ dragRowKey.value = rowKeyValue;
493
+ }
494
+ function handleRowDrop(targetKey) {
495
+ if (dragRowKey.value === null || dragRowKey.value === targetKey) return;
496
+ const rows = [...paginatedData.value];
497
+ const fromIdx = paginatedRowKeys.value.findIndex((key) => key === dragRowKey.value);
498
+ const toIdx = paginatedRowKeys.value.findIndex((key) => key === targetKey);
499
+ if (fromIdx >= 0 && toIdx >= 0) {
500
+ const [moved] = rows.splice(fromIdx, 1);
501
+ rows.splice(toIdx, 0, moved);
502
+ emit("row-order-change", rows);
503
+ }
504
+ dragRowKey.value = null;
505
+ }
506
+ const virtualScrollTop = _vue.ref.call(void 0, 0);
507
+ void _tigercatcore.getFixedVirtualRange;
508
+ const groupedData = _vue.computed.call(void 0, () => {
457
509
  if (!props.groupBy) return null;
458
- return tigercatCore.groupDataByColumn(paginatedData.value, props.groupBy);
510
+ return _tigercatcore.groupDataByColumn.call(void 0, paginatedData.value, props.groupBy);
459
511
  });
460
512
  return {
461
513
  paginationConfig,
@@ -496,70 +548,100 @@ function useTableState(props, emit, measuredColumnWidths) {
496
548
  cancelEdit,
497
549
  handleExport,
498
550
  handleDragStart,
499
- handleDrop
551
+ handleDrop,
552
+ handleRowDragStart,
553
+ handleRowDrop
500
554
  };
501
555
  }
502
- var spinnerSvg = tigercatCore.getSpinnerSVG("spinner");
556
+
557
+ // src/components/Table/icons.ts
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+ var spinnerSvg = _tigercatcore.getSpinnerSVG.call(void 0, "spinner");
503
575
  var SortIcon = (direction) => {
504
576
  const active = direction !== null;
505
- const pathD = direction === "asc" ? tigercatCore.sortAscIcon16PathD : direction === "desc" ? tigercatCore.sortDescIcon16PathD : tigercatCore.sortBothIcon16PathD;
506
- return vue.h(
577
+ const pathD = direction === "asc" ? _tigercatcore.sortAscIcon16PathD : direction === "desc" ? _tigercatcore.sortDescIcon16PathD : _tigercatcore.sortBothIcon16PathD;
578
+ return _vue.h.call(void 0,
507
579
  "svg",
508
580
  {
509
- class: tigercatCore.getSortIconClasses(active),
581
+ class: _tigercatcore.getSortIconClasses.call(void 0, active),
510
582
  width: "16",
511
583
  height: "16",
512
- viewBox: tigercatCore.icon16ViewBox,
584
+ viewBox: _tigercatcore.icon16ViewBox,
513
585
  fill: "currentColor"
514
586
  },
515
- [vue.h("path", { d: pathD })]
587
+ [_vue.h.call(void 0, "path", { d: pathD })]
516
588
  );
517
589
  };
518
590
  var LockIcon = (locked) => {
519
- return vue.h(
591
+ return _vue.h.call(void 0,
520
592
  "svg",
521
593
  {
522
594
  width: "14",
523
595
  height: "14",
524
- viewBox: tigercatCore.icon24ViewBox,
596
+ viewBox: _tigercatcore.icon24ViewBox,
525
597
  fill: "currentColor",
526
598
  "aria-hidden": "true"
527
599
  },
528
- [vue.h("path", { d: locked ? tigercatCore.lockClosedIcon24PathD : tigercatCore.lockOpenIcon24PathD })]
600
+ [_vue.h.call(void 0, "path", { d: locked ? _tigercatcore.lockClosedIcon24PathD : _tigercatcore.lockOpenIcon24PathD })]
529
601
  );
530
602
  };
531
603
  var ExpandIcon = (expanded) => {
532
- return vue.h(
604
+ return _vue.h.call(void 0,
533
605
  "svg",
534
606
  {
535
- class: tigercatCore.getExpandIconClasses(expanded),
607
+ class: _tigercatcore.getExpandIconClasses.call(void 0, expanded),
536
608
  width: "16",
537
609
  height: "16",
538
- viewBox: tigercatCore.icon16ViewBox,
610
+ viewBox: _tigercatcore.icon16ViewBox,
539
611
  fill: "currentColor",
540
612
  "aria-hidden": "true"
541
613
  },
542
- [vue.h("path", { d: tigercatCore.expandChevronIcon16PathD })]
614
+ [_vue.h.call(void 0, "path", { d: _tigercatcore.expandChevronIcon16PathD })]
543
615
  );
544
616
  };
545
617
  var LoadingSpinner = () => {
546
- return vue.h(
618
+ return _vue.h.call(void 0,
547
619
  "svg",
548
620
  {
549
- class: tigercatCore.getLoadingOverlaySpinnerClasses(),
621
+ class: _tigercatcore.getLoadingOverlaySpinnerClasses.call(void 0, ),
550
622
  xmlns: "http://www.w3.org/2000/svg",
551
623
  fill: "none",
552
624
  viewBox: spinnerSvg.viewBox
553
625
  },
554
- spinnerSvg.elements.map((el) => vue.h(el.type, tigercatCore.normalizeSvgAttrs(el.attrs)))
626
+ spinnerSvg.elements.map((el) => _vue.h.call(void 0, el.type, _tigercatcore.normalizeSvgAttrs.call(void 0, el.attrs)))
555
627
  );
556
628
  };
629
+
630
+ // src/components/Table/render-header.ts
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
557
639
  function renderTableHeader(ctx, props, slots) {
558
640
  const headerCells = [];
559
641
  const expandAtStart = props.expandable && props.expandable.expandIconPosition !== "end";
560
642
  const expandAtEnd = props.expandable && props.expandable.expandIconPosition === "end";
561
- const expandHeaderTh = props.expandable ? vue.h("th", {
562
- class: tigercatCore.getExpandIconCellClasses(props.size),
643
+ const expandHeaderTh = props.expandable ? _vue.h.call(void 0, "th", {
644
+ class: _tigercatcore.getExpandIconCellClasses.call(void 0, props.size),
563
645
  "aria-label": "Expand"
564
646
  }) : null;
565
647
  if (expandAtStart && expandHeaderTh) {
@@ -567,13 +649,13 @@ function renderTableHeader(ctx, props, slots) {
567
649
  }
568
650
  if (props.rowSelection && props.rowSelection.showCheckbox !== false && props.rowSelection.type !== "radio") {
569
651
  headerCells.push(
570
- vue.h(
652
+ _vue.h.call(void 0,
571
653
  "th",
572
654
  {
573
- class: tigercatCore.getCheckboxCellClasses(props.size)
655
+ class: _tigercatcore.getCheckboxCellClasses.call(void 0, props.size)
574
656
  },
575
657
  [
576
- vue.h("input", {
658
+ _vue.h.call(void 0, "input", {
577
659
  type: "checkbox",
578
660
  class: "rounded border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]",
579
661
  checked: ctx.allSelected.value,
@@ -604,7 +686,7 @@ function renderTableHeader(ctx, props, slots) {
604
686
  } : void 0;
605
687
  const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
606
688
  const headerContent = [];
607
- const slotContent = slots[`header-${column.key}`]?.();
689
+ const slotContent = _optionalChain([slots, 'access', _57 => _57[`header-${column.key}`], 'optionalCall', _58 => _58()]);
608
690
  if (slotContent && slotContent.length > 0) {
609
691
  headerContent.push(...slotContent);
610
692
  } else if (column.renderHeader) {
@@ -614,11 +696,11 @@ function renderTableHeader(ctx, props, slots) {
614
696
  }
615
697
  if (props.columnLockable) {
616
698
  headerContent.push(
617
- vue.h(
699
+ _vue.h.call(void 0,
618
700
  "button",
619
701
  {
620
702
  type: "button",
621
- class: tigercatCore.classNames(
703
+ class: _tigercatcore.classNames.call(void 0,
622
704
  "inline-flex items-center",
623
705
  column.fixed === "left" || column.fixed === "right" ? "text-[var(--tiger-primary,#2563eb)]" : "text-gray-400 hover:text-gray-700"
624
706
  ),
@@ -636,14 +718,14 @@ function renderTableHeader(ctx, props, slots) {
636
718
  headerContent.push(SortIcon(sortDirection));
637
719
  }
638
720
  headerCells.push(
639
- vue.h(
721
+ _vue.h.call(void 0,
640
722
  "th",
641
723
  {
642
724
  key: column.key,
643
725
  "data-tiger-table-column-key": column.key,
644
726
  "aria-sort": ariaSort,
645
- class: tigercatCore.classNames(
646
- tigercatCore.getTableHeaderCellClasses(
727
+ class: _tigercatcore.classNames.call(void 0,
728
+ _tigercatcore.getTableHeaderCellClasses.call(void 0,
647
729
  props.size,
648
730
  column.align || "left",
649
731
  !!column.sortable,
@@ -659,10 +741,10 @@ function renderTableHeader(ctx, props, slots) {
659
741
  onClick: column.sortable ? () => ctx.handleSort(column.key) : void 0
660
742
  },
661
743
  [
662
- vue.h("div", { class: "flex items-center gap-2" }, headerContent),
744
+ _vue.h.call(void 0, "div", { class: "flex items-center gap-2" }, headerContent),
663
745
  ...column.filter ? [
664
- vue.h("div", { class: "mt-2" }, [
665
- column.filter.type === "select" && column.filter.options ? vue.h(
746
+ _vue.h.call(void 0, "div", { class: "mt-2" }, [
747
+ column.filter.type === "select" && column.filter.options ? _vue.h.call(void 0,
666
748
  "select",
667
749
  {
668
750
  class: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
@@ -670,12 +752,12 @@ function renderTableHeader(ctx, props, slots) {
670
752
  onClick: (e) => e.stopPropagation()
671
753
  },
672
754
  [
673
- vue.h("option", { value: "" }, "All"),
755
+ _vue.h.call(void 0, "option", { value: "" }, "All"),
674
756
  ...column.filter.options.map(
675
- (opt) => vue.h("option", { value: opt.value }, opt.label)
757
+ (opt) => _vue.h.call(void 0, "option", { value: opt.value }, opt.label)
676
758
  )
677
759
  ]
678
- ) : vue.h("input", {
760
+ ) : _vue.h.call(void 0, "input", {
679
761
  type: "text",
680
762
  class: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
681
763
  placeholder: column.filter.placeholder || "Filter...",
@@ -691,23 +773,40 @@ function renderTableHeader(ctx, props, slots) {
691
773
  if (expandAtEnd && expandHeaderTh) {
692
774
  headerCells.push(expandHeaderTh);
693
775
  }
694
- return vue.h("thead", { class: tigercatCore.getTableHeaderClasses(props.stickyHeader) }, [vue.h("tr", headerCells)]);
776
+ return _vue.h.call(void 0, "thead", { class: _tigercatcore.getTableHeaderClasses.call(void 0, props.stickyHeader) }, [_vue.h.call(void 0, "tr", headerCells)]);
695
777
  }
778
+
779
+ // src/components/Table/render-body.ts
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
696
795
  function renderTableBody(ctx, props, slots) {
697
796
  if (props.loading) {
698
797
  return null;
699
798
  }
700
799
  if (ctx.paginatedData.value.length === 0) {
701
- return vue.h("tbody", [
702
- vue.h("tr", [
703
- vue.h(
800
+ return _vue.h.call(void 0, "tbody", [
801
+ _vue.h.call(void 0, "tr", [
802
+ _vue.h.call(void 0,
704
803
  "td",
705
804
  {
706
805
  colspan: ctx.totalColumnCount.value,
707
- class: tigercatCore.tableEmptyStateClasses
806
+ class: _tigercatcore.tableEmptyStateClasses
708
807
  },
709
808
  [
710
- vue.h(
809
+ _vue.h.call(void 0,
711
810
  "div",
712
811
  {
713
812
  role: "status",
@@ -720,6 +819,45 @@ function renderTableBody(ctx, props, slots) {
720
819
  ])
721
820
  ]);
722
821
  }
822
+ function getDelegatedRow(event) {
823
+ const row = _optionalChain([event, 'access', _59 => _59.target, 'optionalAccess', _60 => _60.closest, 'call', _61 => _61(
824
+ "tr[data-tiger-table-row-index]"
825
+ )]);
826
+ if (!row) return null;
827
+ const index = Number(row.dataset.tigerTableRowIndex);
828
+ if (!Number.isInteger(index)) return null;
829
+ const record = ctx.paginatedData.value[index];
830
+ const key = ctx.paginatedRowKeys.value[index];
831
+ if (!record || key === void 0) return null;
832
+ return { key, record, index };
833
+ }
834
+ function handleBodyClick(event) {
835
+ const row = getDelegatedRow(event);
836
+ if (!row) return;
837
+ ctx.handleRowClick(row.record, row.index, row.key);
838
+ }
839
+ function handleBodyDragStart(event) {
840
+ if (!props.rowDraggable) return;
841
+ const row = getDelegatedRow(event);
842
+ if (!row) return;
843
+ ctx.handleRowDragStart(row.key);
844
+ }
845
+ function handleBodyDragOver(event) {
846
+ if (!props.rowDraggable) return;
847
+ event.preventDefault();
848
+ }
849
+ function handleBodyDrop(event) {
850
+ if (!props.rowDraggable) return;
851
+ const row = getDelegatedRow(event);
852
+ if (!row) return;
853
+ ctx.handleRowDrop(row.key);
854
+ }
855
+ const delegatedBodyHandlers = {
856
+ onClick: handleBodyClick,
857
+ onDragstart: props.rowDraggable ? handleBodyDragStart : void 0,
858
+ onDragover: props.rowDraggable ? handleBodyDragOver : void 0,
859
+ onDrop: props.rowDraggable ? handleBodyDrop : void 0
860
+ };
723
861
  function renderDataRow(record, index) {
724
862
  const key = ctx.paginatedRowKeys.value[index];
725
863
  const isSelected = ctx.selectedRowKeySet.value.has(key);
@@ -728,13 +866,13 @@ function renderTableBody(ctx, props, slots) {
728
866
  const rowClass = typeof props.rowClassName === "function" ? props.rowClassName(record, index) : props.rowClassName;
729
867
  const cells = [];
730
868
  const expandAtStart = props.expandable && props.expandable.expandIconPosition !== "end";
731
- const expandToggleCell = props.expandable ? vue.h(
869
+ const expandToggleCell = props.expandable ? _vue.h.call(void 0,
732
870
  "td",
733
871
  {
734
- class: tigercatCore.getExpandIconCellClasses(props.size)
872
+ class: _tigercatcore.getExpandIconCellClasses.call(void 0, props.size)
735
873
  },
736
874
  isRowExpandable ? [
737
- vue.h(
875
+ _vue.h.call(void 0,
738
876
  "button",
739
877
  {
740
878
  type: "button",
@@ -754,17 +892,17 @@ function renderTableBody(ctx, props, slots) {
754
892
  cells.push(expandToggleCell);
755
893
  }
756
894
  if (props.rowSelection && props.rowSelection.showCheckbox !== false) {
757
- const checkboxProps = props.rowSelection?.getCheckboxProps?.(record) || {};
895
+ const checkboxProps = _optionalChain([props, 'access', _62 => _62.rowSelection, 'optionalAccess', _63 => _63.getCheckboxProps, 'optionalCall', _64 => _64(record)]) || {};
758
896
  cells.push(
759
- vue.h(
897
+ _vue.h.call(void 0,
760
898
  "td",
761
899
  {
762
- class: tigercatCore.getCheckboxCellClasses(props.size)
900
+ class: _tigercatcore.getCheckboxCellClasses.call(void 0, props.size)
763
901
  },
764
902
  [
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)]",
903
+ _vue.h.call(void 0, "input", {
904
+ type: _optionalChain([props, 'access', _65 => _65.rowSelection, 'optionalAccess', _66 => _66.type]) === "radio" ? "radio" : "checkbox",
905
+ class: _optionalChain([props, 'access', _67 => _67.rowSelection, 'optionalAccess', _68 => _68.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
906
  checked: isSelected,
769
907
  disabled: checkboxProps.disabled,
770
908
  onClick: (e) => e.stopPropagation(),
@@ -793,15 +931,15 @@ function renderTableBody(ctx, props, slots) {
793
931
  } : void 0;
794
932
  const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
795
933
  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(
934
+ const stickyCellClass = isFixedLeft || isFixedRight ? _tigercatcore.classNames.call(void 0,
797
935
  stickyBgClass,
798
936
  props.hoverable && "group-hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
799
937
  ) : void 0;
800
- const isEditing = ctx.editingCell.value?.rowIndex === index && ctx.editingCell.value?.columnKey === column.key;
938
+ const isEditing = _optionalChain([ctx, 'access', _69 => _69.editingCell, 'access', _70 => _70.value, 'optionalAccess', _71 => _71.rowIndex]) === index && _optionalChain([ctx, 'access', _72 => _72.editingCell, 'access', _73 => _73.value, 'optionalAccess', _74 => _74.columnKey]) === column.key;
801
939
  const isEditableCell = ctx.isCellEditable(column.key, index);
802
- const cellContent = isEditing ? vue.h("input", {
940
+ const cellContent = isEditing ? _vue.h.call(void 0, "input", {
803
941
  type: "text",
804
- class: tigercatCore.editableCellInputClasses,
942
+ class: _tigercatcore.editableCellInputClasses,
805
943
  value: ctx.editingValue.value,
806
944
  autofocus: true,
807
945
  onInput: (e) => {
@@ -812,16 +950,16 @@ function renderTableBody(ctx, props, slots) {
812
950
  if (e.key === "Enter") ctx.commitEdit();
813
951
  if (e.key === "Escape") ctx.cancelEdit();
814
952
  }
815
- }) : slots[`cell-${column.key}`]?.({ record, index }) ?? (column.render ? column.render(record, index) : cellValue);
953
+ }) : _nullishCoalesce(_optionalChain([slots, 'access', _75 => _75[`cell-${column.key}`], 'optionalCall', _76 => _76({ record, index })]), () => ( (column.render ? column.render(record, index) : cellValue)));
816
954
  cells.push(
817
- vue.h(
955
+ _vue.h.call(void 0,
818
956
  "td",
819
957
  {
820
958
  key: column.key,
821
- class: tigercatCore.classNames(
822
- tigercatCore.getTableCellClasses(props.size, column.align || "left", column.className),
959
+ class: _tigercatcore.classNames.call(void 0,
960
+ _tigercatcore.getTableCellClasses.call(void 0, props.size, column.align || "left", column.className),
823
961
  stickyCellClass,
824
- isEditableCell && !isEditing && tigercatCore.getEditableCellClasses(false)
962
+ isEditableCell && !isEditing && _tigercatcore.getEditableCellClasses.call(void 0, false)
825
963
  ),
826
964
  style,
827
965
  onDblclick: isEditableCell && !isEditing ? () => ctx.startEditing(index, column.key, cellValue) : void 0
@@ -833,33 +971,33 @@ function renderTableBody(ctx, props, slots) {
833
971
  if (!expandAtStart && expandToggleCell) {
834
972
  cells.push(expandToggleCell);
835
973
  }
836
- const rowNode = vue.h(
974
+ const rowNode = _vue.h.call(void 0,
837
975
  "tr",
838
976
  {
839
977
  key,
840
978
  "data-tiger-table-row-index": index,
841
- class: tigercatCore.classNames(
842
- tigercatCore.getTableRowClasses(props.hoverable, props.striped, index % 2 === 0, rowClass),
979
+ class: _tigercatcore.classNames.call(void 0,
980
+ _tigercatcore.getTableRowClasses.call(void 0, props.hoverable, props.striped, index % 2 === 0, rowClass),
843
981
  ctx.fixedColumnsInfo.value.hasFixedColumns && "group"
844
982
  ),
845
- onClick: () => ctx.handleRowClick(record, index, key)
983
+ draggable: props.rowDraggable ? "true" : void 0
846
984
  },
847
985
  cells
848
986
  );
849
987
  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(
988
+ const expandedContent = _optionalChain([slots, 'access', _77 => _77["expanded-row"], 'optionalCall', _78 => _78({ record, index })]) || (props.expandable.expandedRowRender ? props.expandable.expandedRowRender(record, index) : null);
989
+ const expandedRow = _vue.h.call(void 0,
852
990
  "tr",
853
991
  {
854
992
  key: `${key}-expanded`,
855
- class: tigercatCore.getExpandedRowClasses()
993
+ class: _tigercatcore.getExpandedRowClasses.call(void 0, )
856
994
  },
857
995
  [
858
- vue.h(
996
+ _vue.h.call(void 0,
859
997
  "td",
860
998
  {
861
999
  colspan: ctx.totalColumnCount.value,
862
- class: tigercatCore.getExpandedRowContentClasses(props.size)
1000
+ class: _tigercatcore.getExpandedRowContentClasses.call(void 0, props.size)
863
1001
  },
864
1002
  [expandedContent]
865
1003
  )
@@ -873,12 +1011,12 @@ function renderTableBody(ctx, props, slots) {
873
1011
  const groupRows = [];
874
1012
  for (const [groupKey, groupItems] of ctx.groupedData.value) {
875
1013
  groupRows.push(
876
- vue.h("tr", { key: `group-${groupKey}`, class: tigercatCore.tableGroupHeaderClasses }, [
877
- vue.h(
1014
+ _vue.h.call(void 0, "tr", { key: `group-${groupKey}`, class: _tigercatcore.tableGroupHeaderClasses }, [
1015
+ _vue.h.call(void 0,
878
1016
  "td",
879
1017
  {
880
1018
  colspan: ctx.totalColumnCount.value,
881
- class: tigercatCore.getGroupHeaderCellClasses(props.size)
1019
+ class: _tigercatcore.getGroupHeaderCellClasses.call(void 0, props.size)
882
1020
  },
883
1021
  `${props.groupBy}: ${groupKey} (${groupItems.length})`
884
1022
  )
@@ -894,34 +1032,50 @@ function renderTableBody(ctx, props, slots) {
894
1032
  }
895
1033
  });
896
1034
  }
897
- return vue.h("tbody", groupRows);
1035
+ return _vue.h.call(void 0, "tbody", delegatedBodyHandlers, groupRows);
898
1036
  }
899
1037
  const rows = ctx.paginatedData.value.flatMap((record, index) => renderDataRow(record, index));
900
- return vue.h("tbody", rows);
1038
+ return _vue.h.call(void 0, "tbody", delegatedBodyHandlers, rows);
901
1039
  }
1040
+
1041
+ // src/components/Table/render-summary.ts
1042
+
1043
+
902
1044
  function renderSummaryRow(ctx, props) {
903
- if (!props.summaryRow?.show) return null;
1045
+ if (!_optionalChain([props, 'access', _79 => _79.summaryRow, 'optionalAccess', _80 => _80.show])) return null;
904
1046
  const emptyCells = [];
905
1047
  if (props.rowSelection) {
906
- emptyCells.push(vue.h("td", { class: tigercatCore.getTableCellClasses(props.size, "left") }));
1048
+ emptyCells.push(_vue.h.call(void 0, "td", { class: _tigercatcore.getTableCellClasses.call(void 0, props.size, "left") }));
907
1049
  }
908
1050
  if (props.expandable) {
909
- emptyCells.push(vue.h("td", { class: tigercatCore.getTableCellClasses(props.size, "left") }));
1051
+ emptyCells.push(_vue.h.call(void 0, "td", { class: _tigercatcore.getTableCellClasses.call(void 0, props.size, "left") }));
910
1052
  }
911
1053
  const dataCells = ctx.displayColumns.value.map((col) => {
912
1054
  const dataKey = col.dataKey || col.key;
913
1055
  const val = props.summaryRow.data[dataKey];
914
- return vue.h(
1056
+ return _vue.h.call(void 0,
915
1057
  "td",
916
1058
  {
917
1059
  key: col.key,
918
- class: tigercatCore.getTableCellClasses(props.size, col.align || "left", col.className)
1060
+ class: _tigercatcore.getTableCellClasses.call(void 0, props.size, col.align || "left", col.className)
919
1061
  },
920
1062
  val != null ? String(val) : ""
921
1063
  );
922
1064
  });
923
- return vue.h("tfoot", [vue.h("tr", { class: tigercatCore.tableSummaryRowClasses }, [...emptyCells, ...dataCells])]);
1065
+ return _vue.h.call(void 0, "tfoot", [_vue.h.call(void 0, "tr", { class: _tigercatcore.tableSummaryRowClasses }, [...emptyCells, ...dataCells])]);
924
1066
  }
1067
+
1068
+ // src/components/Table/render-pagination.ts
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
925
1079
  function renderPagination(ctx, props) {
926
1080
  if (props.pagination === false || !ctx.paginationInfo.value) {
927
1081
  return null;
@@ -929,43 +1083,43 @@ function renderPagination(ctx, props) {
929
1083
  const { totalPages, startIndex, endIndex, hasNext, hasPrev } = ctx.paginationInfo.value;
930
1084
  const paginationConfig = props.pagination;
931
1085
  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(
1086
+ return _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ) }, [
1087
+ paginationConfig.showTotal !== false && _vue.h.call(void 0,
934
1088
  "div",
935
- { class: tigercatCore.getSimplePaginationTotalClasses() },
1089
+ { class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) },
936
1090
  paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : `Showing ${startIndex} to ${endIndex} of ${total} results`
937
1091
  ),
938
- vue.h("div", { class: tigercatCore.getSimplePaginationControlsClasses() }, [
939
- paginationConfig.showSizeChanger !== false && vue.h(
1092
+ _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ) }, [
1093
+ paginationConfig.showSizeChanger !== false && _vue.h.call(void 0,
940
1094
  "select",
941
1095
  {
942
- class: tigercatCore.getSimplePaginationSelectClasses(),
1096
+ class: _tigercatcore.getSimplePaginationSelectClasses.call(void 0, ),
943
1097
  value: ctx.currentPageSize.value,
944
1098
  onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value))
945
1099
  },
946
1100
  (paginationConfig.pageSizeOptions || [10, 20, 50, 100]).map(
947
- (size) => vue.h("option", { value: size }, `${size} / page`)
1101
+ (size) => _vue.h.call(void 0, "option", { value: size }, `${size} / page`)
948
1102
  )
949
1103
  ),
950
- vue.h("div", { class: tigercatCore.getSimplePaginationButtonsWrapperClasses() }, [
951
- vue.h(
1104
+ _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationButtonsWrapperClasses.call(void 0, ) }, [
1105
+ _vue.h.call(void 0,
952
1106
  "button",
953
1107
  {
954
- class: tigercatCore.getSimplePaginationButtonClasses(!hasPrev),
1108
+ class: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasPrev),
955
1109
  disabled: !hasPrev,
956
1110
  onClick: () => ctx.handlePageChange(ctx.currentPage.value - 1)
957
1111
  },
958
1112
  "Previous"
959
1113
  ),
960
- vue.h(
1114
+ _vue.h.call(void 0,
961
1115
  "span",
962
- { class: tigercatCore.getSimplePaginationPageIndicatorClasses() },
1116
+ { class: _tigercatcore.getSimplePaginationPageIndicatorClasses.call(void 0, ) },
963
1117
  `Page ${ctx.currentPage.value} of ${totalPages}`
964
1118
  ),
965
- vue.h(
1119
+ _vue.h.call(void 0,
966
1120
  "button",
967
1121
  {
968
- class: tigercatCore.getSimplePaginationButtonClasses(!hasNext),
1122
+ class: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasNext),
969
1123
  disabled: !hasNext,
970
1124
  onClick: () => ctx.handlePageChange(ctx.currentPage.value + 1)
971
1125
  },
@@ -977,17 +1131,17 @@ function renderPagination(ctx, props) {
977
1131
  }
978
1132
 
979
1133
  // src/components/Table.ts
980
- var Table = vue.defineComponent({
1134
+ var Table = _vue.defineComponent.call(void 0, {
981
1135
  name: "TigerTable",
982
1136
  props: tableProps,
983
1137
  emits: tableEmits,
984
1138
  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([]);
1139
+ const wrapperRef = _vue.ref.call(void 0, null);
1140
+ const tableRef = _vue.ref.call(void 0, null);
1141
+ const measuredColumnWidths = _vue.ref.call(void 0, {});
1142
+ const measuredRowHeights = _vue.ref.call(void 0, []);
989
1143
  const ctx = useTableState(props, emit, measuredColumnWidths);
990
- const resizeController = tigercatCore.createTableResizeObserverController({
1144
+ const resizeController = _tigercatcore.createTableResizeObserverController.call(void 0, {
991
1145
  onResize: (snapshot) => {
992
1146
  if (!areNumberRecordsEqual(measuredColumnWidths.value, snapshot.columnWidths)) {
993
1147
  measuredColumnWidths.value = snapshot.columnWidths;
@@ -997,19 +1151,22 @@ var Table = vue.defineComponent({
997
1151
  }
998
1152
  }
999
1153
  });
1000
- vue.onMounted(() => {
1154
+ _vue.onMounted.call(void 0, () => {
1001
1155
  if (wrapperRef.value) {
1002
1156
  resizeController.observe(wrapperRef.value, tableRef.value);
1003
1157
  }
1004
1158
  });
1005
- vue.onBeforeUnmount(() => resizeController.disconnect());
1159
+ _vue.onBeforeUnmount.call(void 0, () => resizeController.disconnect());
1006
1160
  return () => {
1007
1161
  const resolvedProps = props;
1008
- const virtualRecommendation = tigercatCore.getTableVirtualRecommendation({
1162
+ const virtualRecommendation = _tigercatcore.getTableVirtualRecommendation.call(void 0, {
1009
1163
  virtual: resolvedProps.virtual,
1164
+ autoVirtual: resolvedProps.autoVirtual,
1010
1165
  dataLength: resolvedProps.dataSource.length,
1011
- threshold: resolvedProps.virtualThreshold
1166
+ threshold: resolvedProps.virtualThreshold,
1167
+ autoThreshold: resolvedProps.autoVirtualThreshold
1012
1168
  });
1169
+ const effectiveVirtual = virtualRecommendation.enabled;
1013
1170
  const wrapperStyle = resolvedProps.maxHeight ? {
1014
1171
  maxHeight: typeof resolvedProps.maxHeight === "number" ? `${resolvedProps.maxHeight}px` : resolvedProps.maxHeight
1015
1172
  } : void 0;
@@ -1018,19 +1175,20 @@ var Table = vue.defineComponent({
1018
1175
  renderTableBody(ctx, resolvedProps, slots),
1019
1176
  renderSummaryRow(ctx, resolvedProps)
1020
1177
  ];
1021
- const tableInner = vue.h(
1178
+ const tableInner = _vue.h.call(void 0,
1022
1179
  "table",
1023
1180
  {
1024
1181
  ref: tableRef,
1025
- class: tigercatCore.classNames(
1026
- tigercatCore.tableBaseClasses,
1182
+ class: _tigercatcore.classNames.call(void 0,
1183
+ _tigercatcore.tableBaseClasses,
1184
+ _tigercatcore.getTableResponsiveTableClasses.call(void 0, resolvedProps.responsiveMode),
1027
1185
  resolvedProps.tableLayout === "fixed" ? "table-fixed" : "table-auto"
1028
1186
  ),
1029
1187
  style: ctx.fixedColumnsInfo.value.hasFixedColumns && ctx.fixedColumnsInfo.value.minTableWidth ? { minWidth: `${ctx.fixedColumnsInfo.value.minTableWidth}px` } : void 0
1030
1188
  },
1031
1189
  tableChildren
1032
1190
  );
1033
- const tableContent = resolvedProps.virtual ? vue.h(
1191
+ const tableContent = effectiveVirtual ? _vue.h.call(void 0,
1034
1192
  "div",
1035
1193
  {
1036
1194
  style: { height: `${resolvedProps.virtualHeight}px`, overflow: "auto" },
@@ -1040,41 +1198,109 @@ var Table = vue.defineComponent({
1040
1198
  },
1041
1199
  [tableInner]
1042
1200
  ) : tableInner;
1043
- return vue.h(
1201
+ const cardContent = resolvedProps.responsiveMode === "card" ? _vue.h.call(void 0,
1202
+ "div",
1203
+ { class: _tigercatcore.tableResponsiveCardListClasses, "data-tiger-table-mobile": "card" },
1204
+ ctx.paginatedData.value.length === 0 ? [_vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardClasses }, resolvedProps.emptyText)] : ctx.paginatedData.value.map((record, index) => {
1205
+ const key = ctx.paginatedRowKeys.value[index];
1206
+ const isExpanded = ctx.expandedRowKeySet.value.has(key);
1207
+ const isRowExpandable = resolvedProps.expandable ? resolvedProps.expandable.rowExpandable ? resolvedProps.expandable.rowExpandable(record) : true : false;
1208
+ const rows = ctx.displayColumns.value.map((column) => {
1209
+ const dataKey = column.dataKey || column.key;
1210
+ const cellValue = record[dataKey];
1211
+ const cellContent = _nullishCoalesce(_optionalChain([slots, 'access', _81 => _81[`cell-${column.key}`], 'optionalCall', _82 => _82({ record, index })]), () => ( (column.render ? column.render(record, index) : cellValue)));
1212
+ return _vue.h.call(void 0, "div", { key: column.key, class: _tigercatcore.tableResponsiveCardRowClasses }, [
1213
+ _vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardLabelClasses }, column.title),
1214
+ _vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardValueClasses }, [cellContent])
1215
+ ]);
1216
+ });
1217
+ const controls = [];
1218
+ if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
1219
+ const checkboxProps = _optionalChain([resolvedProps, 'access', _83 => _83.rowSelection, 'access', _84 => _84.getCheckboxProps, 'optionalCall', _85 => _85(record)]) || {};
1220
+ controls.push(
1221
+ _vue.h.call(void 0, "input", {
1222
+ type: resolvedProps.rowSelection.type === "radio" ? "radio" : "checkbox",
1223
+ checked: ctx.selectedRowKeySet.value.has(key),
1224
+ disabled: checkboxProps.disabled,
1225
+ onClick: (event) => event.stopPropagation(),
1226
+ onChange: (event) => ctx.handleSelectRow(key, event.target.checked)
1227
+ })
1228
+ );
1229
+ }
1230
+ if (resolvedProps.expandable && isRowExpandable) {
1231
+ controls.push(
1232
+ _vue.h.call(void 0,
1233
+ "button",
1234
+ {
1235
+ type: "button",
1236
+ class: "text-sm text-[var(--tiger-primary,#2563eb)]",
1237
+ "aria-expanded": isExpanded,
1238
+ onClick: (event) => {
1239
+ event.stopPropagation();
1240
+ ctx.handleToggleExpand(key, record);
1241
+ }
1242
+ },
1243
+ isExpanded ? "Collapse" : "Expand"
1244
+ )
1245
+ );
1246
+ }
1247
+ const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access', _86 => _86["expanded-row"], 'optionalCall', _87 => _87({ record, index })]), () => ( _optionalChain([resolvedProps, 'access', _88 => _88.expandable, 'access', _89 => _89.expandedRowRender, 'optionalCall', _90 => _90(record, index)]))) : null;
1248
+ return _vue.h.call(void 0,
1249
+ "div",
1250
+ {
1251
+ key,
1252
+ class: _tigercatcore.tableResponsiveCardClasses,
1253
+ onClick: () => ctx.handleRowClick(record, index, key)
1254
+ },
1255
+ [
1256
+ controls.length ? _vue.h.call(void 0, "div", { class: "mb-2 flex items-center gap-3" }, controls) : null,
1257
+ ...rows,
1258
+ expandedContent ? _vue.h.call(void 0,
1259
+ "div",
1260
+ { class: "mt-3 border-t border-[var(--tiger-border,#e5e7eb)] pt-3" },
1261
+ [expandedContent]
1262
+ ) : null
1263
+ ]
1264
+ );
1265
+ })
1266
+ ) : null;
1267
+ return _vue.h.call(void 0,
1044
1268
  "div",
1045
1269
  {
1046
1270
  ref: wrapperRef,
1047
- class: tigercatCore.getTableWrapperClasses(resolvedProps.bordered, resolvedProps.maxHeight),
1271
+ class: _tigercatcore.getTableWrapperClasses.call(void 0, resolvedProps.bordered, resolvedProps.maxHeight),
1048
1272
  style: wrapperStyle,
1049
1273
  "data-tiger-virtual": virtualRecommendation.enabled ? "enabled" : void 0,
1274
+ "data-tiger-virtual-auto": virtualRecommendation.autoEnabled ? "true" : void 0,
1050
1275
  "data-tiger-virtual-recommended": virtualRecommendation.recommended ? "true" : void 0,
1051
1276
  "data-tiger-virtual-threshold": virtualRecommendation.recommended ? virtualRecommendation.threshold : void 0,
1052
1277
  "data-tiger-measured-row-height": measuredRowHeights.value[0] || void 0,
1053
1278
  "aria-busy": resolvedProps.loading
1054
1279
  },
1055
1280
  [
1056
- resolvedProps.exportable && vue.h("div", { class: "flex justify-end p-2" }, [
1057
- vue.h(
1281
+ resolvedProps.exportable && _vue.h.call(void 0, "div", { class: "flex justify-end p-2" }, [
1282
+ _vue.h.call(void 0,
1058
1283
  "button",
1059
1284
  {
1060
1285
  type: "button",
1061
- class: tigercatCore.tableExportButtonClasses,
1286
+ class: _tigercatcore.tableExportButtonClasses,
1062
1287
  onClick: ctx.handleExport,
1063
- "aria-label": "Export to CSV"
1288
+ "aria-label": resolvedProps.exportFormat === "excel" ? "Export to Excel" : "Export to CSV"
1064
1289
  },
1065
- "Export CSV"
1290
+ resolvedProps.exportFormat === "excel" ? "Export Excel" : "Export CSV"
1066
1291
  )
1067
1292
  ]),
1068
1293
  tableContent,
1069
- resolvedProps.loading && vue.h(
1294
+ cardContent,
1295
+ resolvedProps.loading && _vue.h.call(void 0,
1070
1296
  "div",
1071
1297
  {
1072
- class: tigercatCore.tableLoadingOverlayClasses,
1298
+ class: _tigercatcore.tableLoadingOverlayClasses,
1073
1299
  role: "status",
1074
1300
  "aria-live": "polite",
1075
1301
  "aria-label": "Loading"
1076
1302
  },
1077
- [LoadingSpinner(), vue.h("span", { class: "sr-only" }, "Loading")]
1303
+ [LoadingSpinner(), _vue.h.call(void 0, "span", { class: "sr-only" }, "Loading")]
1078
1304
  ),
1079
1305
  renderPagination(ctx, resolvedProps)
1080
1306
  ]
@@ -1092,5 +1318,7 @@ function areNumberArraysEqual(current, next) {
1092
1318
  return current.length === next.length && next.every((value, index) => current[index] === value);
1093
1319
  }
1094
1320
 
1095
- exports.Table = Table;
1096
- exports.Table_default = Table_default;
1321
+
1322
+
1323
+
1324
+ exports.Table = Table; exports.Table_default = Table_default;