@expcat/tigercat-vue 1.3.4 → 1.5.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 (592) hide show
  1. package/dist/{chunk-PCJHGWTU.js → chunk-2FYVPPTD.js} +53 -7
  2. package/dist/{chunk-MJP2SNLK.mjs → chunk-2HRJGOAV.mjs} +62 -27
  3. package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
  4. package/dist/{chunk-DS7RQFEG.js → chunk-2RCBEBBR.js} +20 -13
  5. package/dist/{chunk-25VVIM45.mjs → chunk-2YPPXZ4I.mjs} +60 -6
  6. package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
  7. package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
  8. package/dist/{chunk-RNQOMMLM.mjs → chunk-3VFZB5ZK.mjs} +3 -3
  9. package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
  10. package/dist/{chunk-IPZVGA6Y.mjs → chunk-4QCJUILG.mjs} +66 -97
  11. package/dist/{chunk-NWS45JQP.mjs → chunk-4RK5BDGR.mjs} +58 -10
  12. package/dist/{chunk-RKZN3URO.js → chunk-55BSMMUN.js} +27 -6
  13. package/dist/{chunk-NHBN6VAY.mjs → chunk-57VPT3MN.mjs} +2 -2
  14. package/dist/{chunk-BWIHL7LK.mjs → chunk-5CHHWMES.mjs} +28 -10
  15. package/dist/chunk-5FTM7R3P.js +142 -0
  16. package/dist/{chunk-LZHCKW2Z.js → chunk-5PVDNJA5.js} +12 -2
  17. package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
  18. package/dist/{chunk-Q3IZQUW7.js → chunk-67RSRWWY.js} +3 -3
  19. package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
  20. package/dist/{chunk-PZH2RTSS.mjs → chunk-6FV2OMB7.mjs} +38 -9
  21. package/dist/{chunk-6BFGY5W7.mjs → chunk-6G5FEZLT.mjs} +13 -15
  22. package/dist/{chunk-XQRKFOXS.mjs → chunk-6WF3336O.mjs} +13 -2
  23. package/dist/{chunk-5D2UAWWP.mjs → chunk-6WFFP4K2.mjs} +2 -4
  24. package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
  25. package/dist/{chunk-FQWEOBQ4.mjs → chunk-7BU4TW5A.mjs} +13 -3
  26. package/dist/{chunk-A5HRX7EG.js → chunk-7CR6MLD5.js} +5 -4
  27. package/dist/{chunk-LAWBHGPK.js → chunk-7FWZIAFP.js} +2 -2
  28. package/dist/{chunk-CSJQKBDJ.js → chunk-7GYYIDMA.js} +2 -4
  29. package/dist/{chunk-3XCQRM3L.js → chunk-7J7JIIHX.js} +30 -12
  30. package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
  31. package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
  32. package/dist/{chunk-JJXYM6QR.js → chunk-7RMBEWN2.js} +2 -2
  33. package/dist/{chunk-L5E3L6ID.js → chunk-AF7JZUTA.js} +66 -97
  34. package/dist/{chunk-PIF4M4TR.mjs → chunk-ALFEFDVG.mjs} +125 -17
  35. package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
  36. package/dist/{chunk-WUEP3PFN.js → chunk-ANQRW442.js} +31 -8
  37. package/dist/{chunk-X5CFXNVK.js → chunk-APBWQGXW.js} +14 -10
  38. package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
  39. package/dist/{chunk-6FXYRDYH.js → chunk-AWXSJNNP.js} +22 -2
  40. package/dist/{chunk-ZOUJFFG4.js → chunk-AYQER5UD.js} +17 -14
  41. package/dist/{chunk-K4VUUEFQ.mjs → chunk-BJV62I73.mjs} +111 -70
  42. package/dist/{chunk-XJXGVNNF.js → chunk-BNUR72YP.js} +27 -5
  43. package/dist/{chunk-FE2HR4E5.js → chunk-BPJOIFND.js} +59 -22
  44. package/dist/{chunk-OKR3GRG5.mjs → chunk-BRGQXIKA.mjs} +58 -10
  45. package/dist/{chunk-QYSFZA5V.js → chunk-BV6XWFRF.js} +14 -7
  46. package/dist/{chunk-ODQOYMUQ.js → chunk-BYNTPLGC.js} +8 -1
  47. package/dist/{chunk-SVWZOIBI.js → chunk-BZ56UKUK.js} +4 -4
  48. package/dist/{chunk-5X3GXNGM.mjs → chunk-CF4GX6BD.mjs} +43 -12
  49. package/dist/{chunk-AEOREYSJ.js → chunk-CFJST2X2.js} +126 -28
  50. package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
  51. package/dist/{chunk-2X3ZPH2H.mjs → chunk-CIDINFA2.mjs} +44 -4
  52. package/dist/{chunk-KVJIJJ4M.mjs → chunk-CVFXUYH2.mjs} +58 -32
  53. package/dist/{chunk-LILAZ4UJ.mjs → chunk-CW5TEG7N.mjs} +3 -3
  54. package/dist/{chunk-GOBWUEHV.js → chunk-D43IFX7J.js} +4 -5
  55. package/dist/{chunk-RBHF7NOQ.js → chunk-D6Y3KVJF.js} +22 -2
  56. package/dist/{chunk-ZDKGABPQ.mjs → chunk-DMQLA35L.mjs} +11 -1
  57. package/dist/{chunk-NNNG6NIA.mjs → chunk-DWPZRG7A.mjs} +6 -5
  58. package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
  59. package/dist/{chunk-JFIVDZFK.js → chunk-E36I27WK.js} +30 -4
  60. package/dist/chunk-E7NE5HEC.mjs +351 -0
  61. package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
  62. package/dist/{chunk-WNKF2OD5.mjs → chunk-EVIZXEB2.mjs} +31 -7
  63. package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
  64. package/dist/{chunk-5JKQPOG2.js → chunk-F5TZIFMW.js} +15 -3
  65. package/dist/{chunk-7WQN5BYE.mjs → chunk-FAQL7HFW.mjs} +36 -3
  66. package/dist/{chunk-4K2CCBFT.mjs → chunk-FISKCPTN.mjs} +3 -2
  67. package/dist/{chunk-IORFQMZH.mjs → chunk-FT2HWF7P.mjs} +4 -4
  68. package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
  69. package/dist/{chunk-HFRPZA5S.js → chunk-GBYNY77G.js} +6 -6
  70. package/dist/{chunk-OGDZTDZ6.mjs → chunk-GHG2MCLM.mjs} +28 -7
  71. package/dist/{chunk-ZUPVK5L7.js → chunk-GJ5HJOQP.js} +72 -51
  72. package/dist/{chunk-F7WZCYYD.mjs → chunk-GL63FRI4.mjs} +1 -1
  73. package/dist/{chunk-JZJEZKGN.js → chunk-GV3LRZSR.js} +37 -13
  74. package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
  75. package/dist/{chunk-BYNMOQBB.js → chunk-H2XEJHGR.js} +23 -9
  76. package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
  77. package/dist/{chunk-FUI6WG2F.js → chunk-H7GAWNOW.js} +35 -5
  78. package/dist/{chunk-ZSCOAOJJ.js → chunk-HI45DI7S.js} +35 -7
  79. package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
  80. package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
  81. package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
  82. package/dist/{chunk-RE7K3KNW.mjs → chunk-HWL36OCD.mjs} +21 -14
  83. package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
  84. package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
  85. package/dist/{chunk-25EYT2CB.js → chunk-IXTYS3EK.js} +3 -2
  86. package/dist/{chunk-P7RXZVLT.js → chunk-J77GQQEC.js} +45 -5
  87. package/dist/{chunk-ZIOGRGN5.mjs → chunk-JCGWN7WV.mjs} +26 -4
  88. package/dist/{chunk-Q4MH333P.js → chunk-JCPTFBLY.js} +1 -1
  89. package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
  90. package/dist/chunk-JICPYKCT.js +297 -0
  91. package/dist/{chunk-S6K6IR3Y.js → chunk-JMRR4KDB.js} +4 -4
  92. package/dist/{chunk-KDA4XDXT.js → chunk-K2NJI5MW.js} +2 -2
  93. package/dist/{chunk-ACYYQJ6M.js → chunk-KLOUOXNA.js} +8 -3
  94. package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
  95. package/dist/chunk-KTNT2JHB.js +351 -0
  96. package/dist/{chunk-C4HYZH7H.mjs → chunk-LGDJDBE3.mjs} +103 -47
  97. package/dist/{chunk-LA5YKXPH.mjs → chunk-LHOSPU6V.mjs} +3 -3
  98. package/dist/{chunk-IKEZDGRO.mjs → chunk-LHZ5MRFQ.mjs} +2 -2
  99. package/dist/{chunk-5F6P5Y4K.js → chunk-LKRT27JW.js} +45 -11
  100. package/dist/{chunk-FP7SBCPO.js → chunk-LODEICSN.js} +4 -4
  101. package/dist/{chunk-35NT2WJR.mjs → chunk-LOX2KCML.mjs} +8 -9
  102. package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
  103. package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
  104. package/dist/{chunk-Z7ETXBOL.mjs → chunk-MF7BKYGN.mjs} +59 -22
  105. package/dist/chunk-MNVMGJUF.js +341 -0
  106. package/dist/{chunk-OKLDFVDJ.js → chunk-MPVL53GP.js} +61 -7
  107. package/dist/{chunk-SEDENBOO.mjs → chunk-N2QGYEOQ.mjs} +30 -17
  108. package/dist/{chunk-3NRRNQYJ.js → chunk-NQYE64IF.js} +31 -7
  109. package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
  110. package/dist/{chunk-VXULMOIW.js → chunk-OQBWITHA.js} +29 -16
  111. package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
  112. package/dist/{chunk-TAA6DDJ2.mjs → chunk-OSPHI5TV.mjs} +116 -9
  113. package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
  114. package/dist/{chunk-CPV7INZ4.mjs → chunk-P3VAY2IQ.mjs} +1 -1
  115. package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
  116. package/dist/{chunk-2YFXJUBT.js → chunk-PFWRFHSB.js} +2 -2
  117. package/dist/{chunk-NYR6OQO4.js → chunk-PFZFPN7M.js} +65 -30
  118. package/dist/{chunk-S6Q7TD6H.js → chunk-PH6ERFC7.js} +38 -9
  119. package/dist/{chunk-Y3BQSELH.mjs → chunk-PJX2DHO5.mjs} +2 -2
  120. package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
  121. package/dist/{chunk-RFFPMC22.mjs → chunk-PMN2MQ26.mjs} +1 -1
  122. package/dist/{chunk-IZQ7BRHC.mjs → chunk-QH3YF5B6.mjs} +126 -28
  123. package/dist/{chunk-WZBOHL2F.js → chunk-QKJATAJP.js} +120 -13
  124. package/dist/{chunk-VG6E4NX6.mjs → chunk-R6WFL6NI.mjs} +3 -2
  125. package/dist/{chunk-6XI4VDU4.js → chunk-RBWJSHKR.js} +13 -2
  126. package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
  127. package/dist/{chunk-WUHW7AIM.mjs → chunk-RHV6DWY6.mjs} +5 -7
  128. package/dist/{chunk-VCBBWDOV.mjs → chunk-RTZUIWCN.mjs} +22 -2
  129. package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
  130. package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
  131. package/dist/{chunk-7VHDBN6U.js → chunk-SJSZHQWX.js} +4 -4
  132. package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
  133. package/dist/{chunk-TZDNF5SK.js → chunk-SOSHYDIX.js} +115 -74
  134. package/dist/{chunk-Q47OK3FR.js → chunk-TCB3WFYM.js} +12 -13
  135. package/dist/{chunk-SCSGLSPY.mjs → chunk-TM73IWEY.mjs} +53 -12
  136. package/dist/{chunk-NKVEXKM5.js → chunk-TNKULOHK.js} +36 -3
  137. package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
  138. package/dist/{chunk-OCL22D5E.mjs → chunk-TRN5PL5D.mjs} +34 -6
  139. package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
  140. package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
  141. package/dist/{chunk-EW2IW2JW.js → chunk-U5TSCS34.js} +16 -18
  142. package/dist/{chunk-6NFACBDB.js → chunk-UFY654LD.js} +5 -7
  143. package/dist/{chunk-2BNQGU7E.mjs → chunk-UKMOWUYH.mjs} +1 -1
  144. package/dist/{chunk-SLYUQ67P.js → chunk-UKR3IJF3.js} +3 -1
  145. package/dist/{chunk-M5PGWW25.mjs → chunk-UTGFGMZT.mjs} +33 -3
  146. package/dist/chunk-V5ANPH5R.mjs +341 -0
  147. package/dist/{chunk-D74XCQCK.mjs → chunk-V5ZEPAWV.mjs} +56 -10
  148. package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
  149. package/dist/{chunk-2VVXW53X.js → chunk-VDKUKZS2.js} +124 -68
  150. package/dist/{chunk-MHNCH2YI.js → chunk-VJ72Y54M.js} +14 -4
  151. package/dist/{chunk-LS4VI4RG.mjs → chunk-VJJ7RAC6.mjs} +36 -12
  152. package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
  153. package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
  154. package/dist/{chunk-MUJLT2YG.js → chunk-VXRFE72I.js} +61 -35
  155. package/dist/{chunk-3A7H2CTW.mjs → chunk-VYBRLIKF.mjs} +73 -52
  156. package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
  157. package/dist/{chunk-F7G7K3TF.mjs → chunk-WBT3WSRE.mjs} +4 -5
  158. package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
  159. package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
  160. package/dist/{chunk-W6VKVYWZ.mjs → chunk-WSUCJHJX.mjs} +2 -2
  161. package/dist/{chunk-KY3O3FWK.mjs → chunk-WWB7VKKH.mjs} +24 -11
  162. package/dist/{chunk-GQAVLQEZ.mjs → chunk-X43QLJ5E.mjs} +1 -1
  163. package/dist/{chunk-ULUH6UNV.js → chunk-X73BZFBH.js} +4 -4
  164. package/dist/{chunk-KA7DILCI.js → chunk-X7PQRYUS.js} +61 -13
  165. package/dist/chunk-XFNHZ7SV.mjs +142 -0
  166. package/dist/{chunk-LL4ASJ4O.mjs → chunk-XJ5VGC5V.mjs} +30 -4
  167. package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
  168. package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
  169. package/dist/{chunk-JNIKT6AL.js → chunk-XVNN6D55.js} +29 -8
  170. package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
  171. package/dist/{chunk-H6V26X2R.js → chunk-YI25YL5W.js} +4 -4
  172. package/dist/{chunk-UUJ7A3CN.js → chunk-YLMQZR6F.js} +43 -12
  173. package/dist/{chunk-PY6P4N2Q.js → chunk-YMUYN4IR.js} +53 -12
  174. package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
  175. package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
  176. package/dist/{chunk-BH4AJQTL.mjs → chunk-YZATP4VF.mjs} +1 -1
  177. package/dist/{chunk-5WG4OFXH.mjs → chunk-Z7QUWBFR.mjs} +15 -3
  178. package/dist/{chunk-FUGSQXFR.js → chunk-ZHSXICH7.js} +3 -2
  179. package/dist/components/ActivityFeed.d.mts +6 -6
  180. package/dist/components/ActivityFeed.d.ts +6 -6
  181. package/dist/components/ActivityFeed.js +8 -7
  182. package/dist/components/ActivityFeed.mjs +7 -6
  183. package/dist/components/Alert.d.mts +3 -3
  184. package/dist/components/Alert.d.ts +3 -3
  185. package/dist/components/Alert.js +2 -2
  186. package/dist/components/Alert.mjs +1 -1
  187. package/dist/components/Anchor.d.mts +1 -1
  188. package/dist/components/Anchor.d.ts +1 -1
  189. package/dist/components/Anchor.js +2 -2
  190. package/dist/components/Anchor.mjs +1 -1
  191. package/dist/components/AnchorLink.js +3 -3
  192. package/dist/components/AnchorLink.mjs +1 -1
  193. package/dist/components/AreaChart.d.mts +3 -3
  194. package/dist/components/AreaChart.d.ts +3 -3
  195. package/dist/components/AreaChart.js +4 -4
  196. package/dist/components/AreaChart.mjs +3 -3
  197. package/dist/components/AutoComplete.d.mts +14 -5
  198. package/dist/components/AutoComplete.d.ts +14 -5
  199. package/dist/components/AutoComplete.js +3 -2
  200. package/dist/components/AutoComplete.mjs +2 -1
  201. package/dist/components/Avatar.d.mts +1 -1
  202. package/dist/components/Avatar.d.ts +1 -1
  203. package/dist/components/Avatar.js +3 -3
  204. package/dist/components/Avatar.mjs +2 -2
  205. package/dist/components/AvatarGroup.js +2 -2
  206. package/dist/components/AvatarGroup.mjs +1 -1
  207. package/dist/components/BackTop.d.mts +2 -2
  208. package/dist/components/BackTop.d.ts +2 -2
  209. package/dist/components/BackTop.js +2 -2
  210. package/dist/components/BackTop.mjs +1 -1
  211. package/dist/components/Badge.d.mts +13 -4
  212. package/dist/components/Badge.d.ts +13 -4
  213. package/dist/components/Badge.js +3 -2
  214. package/dist/components/Badge.mjs +2 -1
  215. package/dist/components/BarChart.d.mts +2 -2
  216. package/dist/components/BarChart.d.ts +2 -2
  217. package/dist/components/BarChart.js +4 -4
  218. package/dist/components/BarChart.mjs +3 -3
  219. package/dist/components/Breadcrumb.d.mts +3 -3
  220. package/dist/components/Breadcrumb.d.ts +3 -3
  221. package/dist/components/Breadcrumb.js +2 -2
  222. package/dist/components/Breadcrumb.mjs +1 -1
  223. package/dist/components/BreadcrumbItem.js +3 -3
  224. package/dist/components/BreadcrumbItem.mjs +1 -1
  225. package/dist/components/Button.d.mts +3 -3
  226. package/dist/components/Button.d.ts +3 -3
  227. package/dist/components/ButtonGroup.d.mts +1 -1
  228. package/dist/components/ButtonGroup.d.ts +1 -1
  229. package/dist/components/Calendar.d.mts +17 -7
  230. package/dist/components/Calendar.d.ts +17 -7
  231. package/dist/components/Calendar.js +3 -2
  232. package/dist/components/Calendar.mjs +2 -1
  233. package/dist/components/Card.d.mts +2 -2
  234. package/dist/components/Card.d.ts +2 -2
  235. package/dist/components/Cascader.d.mts +19 -3
  236. package/dist/components/Cascader.d.ts +19 -3
  237. package/dist/components/Cascader.js +3 -2
  238. package/dist/components/Cascader.mjs +2 -1
  239. package/dist/components/ChartCanvas.d.mts +1 -1
  240. package/dist/components/ChartCanvas.d.ts +1 -1
  241. package/dist/components/ChartGrid.d.mts +1 -1
  242. package/dist/components/ChartGrid.d.ts +1 -1
  243. package/dist/components/ChartLegend.js +2 -2
  244. package/dist/components/ChartLegend.mjs +1 -1
  245. package/dist/components/ChartTooltip.js +2 -2
  246. package/dist/components/ChartTooltip.mjs +1 -1
  247. package/dist/components/ChatWindow.d.mts +9 -9
  248. package/dist/components/ChatWindow.d.ts +9 -9
  249. package/dist/components/ChatWindow.js +10 -8
  250. package/dist/components/ChatWindow.mjs +9 -7
  251. package/dist/components/Checkbox.js +3 -3
  252. package/dist/components/Checkbox.mjs +2 -2
  253. package/dist/components/CheckboxGroup.js +2 -2
  254. package/dist/components/CheckboxGroup.mjs +1 -1
  255. package/dist/components/CodeEditor.d.mts +2 -2
  256. package/dist/components/CodeEditor.d.ts +2 -2
  257. package/dist/components/CodeEditor.js +2 -2
  258. package/dist/components/CodeEditor.mjs +1 -1
  259. package/dist/components/Collapse.d.mts +1 -1
  260. package/dist/components/Collapse.d.ts +1 -1
  261. package/dist/components/CollapsePanel.d.mts +1 -1
  262. package/dist/components/CollapsePanel.d.ts +1 -1
  263. package/dist/components/ColorSwatch.d.mts +2 -2
  264. package/dist/components/ColorSwatch.d.ts +2 -2
  265. package/dist/components/CommentThread.d.mts +9 -5
  266. package/dist/components/CommentThread.d.ts +9 -5
  267. package/dist/components/CommentThread.js +8 -6
  268. package/dist/components/CommentThread.mjs +7 -5
  269. package/dist/components/ConfigProvider.d.mts +1 -1
  270. package/dist/components/ConfigProvider.d.ts +1 -1
  271. package/dist/components/ConfigProvider.js +2 -2
  272. package/dist/components/ConfigProvider.mjs +1 -1
  273. package/dist/components/Container.d.mts +1 -1
  274. package/dist/components/Container.d.ts +1 -1
  275. package/dist/components/Countdown.d.mts +2 -2
  276. package/dist/components/Countdown.d.ts +2 -2
  277. package/dist/components/CronEditor.d.mts +1 -1
  278. package/dist/components/CronEditor.d.ts +1 -1
  279. package/dist/components/CropUpload.d.mts +13 -3
  280. package/dist/components/CropUpload.d.ts +13 -3
  281. package/dist/components/CropUpload.js +5 -5
  282. package/dist/components/CropUpload.mjs +4 -4
  283. package/dist/components/DataTableWithToolbar.d.mts +235 -13
  284. package/dist/components/DataTableWithToolbar.d.ts +235 -13
  285. package/dist/components/DataTableWithToolbar.js +10 -9
  286. package/dist/components/DataTableWithToolbar.mjs +9 -8
  287. package/dist/components/DatePicker.d.mts +8 -3
  288. package/dist/components/DatePicker.d.ts +8 -3
  289. package/dist/components/DatePicker.js +3 -2
  290. package/dist/components/DatePicker.mjs +2 -1
  291. package/dist/components/Descriptions.d.mts +2 -2
  292. package/dist/components/Descriptions.d.ts +2 -2
  293. package/dist/components/DonutChart.d.mts +12 -3
  294. package/dist/components/DonutChart.d.ts +12 -3
  295. package/dist/components/DonutChart.js +5 -5
  296. package/dist/components/DonutChart.mjs +4 -4
  297. package/dist/components/Drawer.d.mts +5 -5
  298. package/dist/components/Drawer.d.ts +5 -5
  299. package/dist/components/Drawer.js +3 -3
  300. package/dist/components/Drawer.mjs +2 -2
  301. package/dist/components/Dropdown.d.mts +1 -1
  302. package/dist/components/Dropdown.d.ts +1 -1
  303. package/dist/components/Dropdown.js +2 -2
  304. package/dist/components/Dropdown.mjs +1 -1
  305. package/dist/components/DropdownItem.js +3 -3
  306. package/dist/components/DropdownItem.mjs +2 -2
  307. package/dist/components/DropdownMenu.js +3 -3
  308. package/dist/components/DropdownMenu.mjs +1 -1
  309. package/dist/components/Empty.d.mts +11 -1
  310. package/dist/components/Empty.d.ts +11 -1
  311. package/dist/components/Empty.js +3 -2
  312. package/dist/components/Empty.mjs +2 -1
  313. package/dist/components/FileManager.d.mts +31 -21
  314. package/dist/components/FileManager.d.ts +31 -21
  315. package/dist/components/FileManager.js +3 -2
  316. package/dist/components/FileManager.mjs +2 -1
  317. package/dist/components/FloatButton.d.mts +6 -6
  318. package/dist/components/FloatButton.d.ts +6 -6
  319. package/dist/components/FloatButton.js +2 -2
  320. package/dist/components/FloatButton.mjs +1 -1
  321. package/dist/components/Form.d.mts +19 -2
  322. package/dist/components/Form.d.ts +19 -2
  323. package/dist/components/Form.js +3 -2
  324. package/dist/components/Form.mjs +2 -1
  325. package/dist/components/FormItem.js +4 -3
  326. package/dist/components/FormItem.mjs +3 -2
  327. package/dist/components/FormWizard.d.mts +5 -5
  328. package/dist/components/FormWizard.d.ts +5 -5
  329. package/dist/components/FormWizard.js +4 -4
  330. package/dist/components/FormWizard.mjs +3 -3
  331. package/dist/components/FunnelChart.d.mts +2 -2
  332. package/dist/components/FunnelChart.d.ts +2 -2
  333. package/dist/components/FunnelChart.js +4 -4
  334. package/dist/components/FunnelChart.mjs +3 -3
  335. package/dist/components/Gantt.d.mts +3 -3
  336. package/dist/components/Gantt.d.ts +3 -3
  337. package/dist/components/GaugeChart.d.mts +17 -2
  338. package/dist/components/GaugeChart.d.ts +17 -2
  339. package/dist/components/GaugeChart.js +3 -2
  340. package/dist/components/GaugeChart.mjs +2 -1
  341. package/dist/components/HeatmapChart.d.mts +3 -3
  342. package/dist/components/HeatmapChart.d.ts +3 -3
  343. package/dist/components/HeatmapChart.js +3 -3
  344. package/dist/components/HeatmapChart.mjs +2 -2
  345. package/dist/components/Icon.d.mts +1 -1
  346. package/dist/components/Icon.d.ts +1 -1
  347. package/dist/components/Image.d.mts +2 -2
  348. package/dist/components/Image.d.ts +2 -2
  349. package/dist/components/Image.js +4 -3
  350. package/dist/components/Image.mjs +3 -2
  351. package/dist/components/ImageAnnotation.d.mts +15 -5
  352. package/dist/components/ImageAnnotation.d.ts +15 -5
  353. package/dist/components/ImageAnnotation.js +3 -2
  354. package/dist/components/ImageAnnotation.mjs +2 -1
  355. package/dist/components/ImageCropper.d.mts +11 -0
  356. package/dist/components/ImageCropper.d.ts +11 -0
  357. package/dist/components/ImageCropper.js +3 -2
  358. package/dist/components/ImageCropper.mjs +2 -1
  359. package/dist/components/ImageGroup.js +4 -3
  360. package/dist/components/ImageGroup.mjs +3 -2
  361. package/dist/components/ImagePreview.d.mts +11 -0
  362. package/dist/components/ImagePreview.d.ts +11 -0
  363. package/dist/components/ImagePreview.js +3 -2
  364. package/dist/components/ImagePreview.mjs +2 -1
  365. package/dist/components/ImageViewer.d.mts +11 -0
  366. package/dist/components/ImageViewer.d.ts +11 -0
  367. package/dist/components/ImageViewer.js +3 -2
  368. package/dist/components/ImageViewer.mjs +2 -1
  369. package/dist/components/InfiniteScroll.d.mts +17 -6
  370. package/dist/components/InfiniteScroll.d.ts +17 -6
  371. package/dist/components/InfiniteScroll.js +3 -2
  372. package/dist/components/InfiniteScroll.mjs +2 -1
  373. package/dist/components/Input.d.mts +4 -4
  374. package/dist/components/Input.d.ts +4 -4
  375. package/dist/components/Input.js +3 -2
  376. package/dist/components/Input.mjs +2 -1
  377. package/dist/components/InputGroup.d.mts +1 -1
  378. package/dist/components/InputGroup.d.ts +1 -1
  379. package/dist/components/InputNumber.d.mts +21 -1
  380. package/dist/components/InputNumber.d.ts +21 -1
  381. package/dist/components/InputNumber.js +3 -2
  382. package/dist/components/InputNumber.mjs +2 -1
  383. package/dist/components/Kanban.d.mts +22 -2
  384. package/dist/components/Kanban.d.ts +22 -2
  385. package/dist/components/Kanban.js +4 -4
  386. package/dist/components/Kanban.mjs +3 -3
  387. package/dist/components/LineChart.d.mts +2 -2
  388. package/dist/components/LineChart.d.ts +2 -2
  389. package/dist/components/LineChart.js +4 -4
  390. package/dist/components/LineChart.mjs +3 -3
  391. package/dist/components/Link.d.mts +1 -1
  392. package/dist/components/Link.d.ts +1 -1
  393. package/dist/components/List.d.mts +24 -9
  394. package/dist/components/List.d.ts +24 -9
  395. package/dist/components/List.js +4 -3
  396. package/dist/components/List.mjs +3 -2
  397. package/dist/components/Loading.d.mts +16 -6
  398. package/dist/components/Loading.d.ts +16 -6
  399. package/dist/components/Loading.js +3 -2
  400. package/dist/components/Loading.mjs +2 -1
  401. package/dist/components/MarkdownEditor.d.mts +2 -2
  402. package/dist/components/MarkdownEditor.d.ts +2 -2
  403. package/dist/components/MarkdownEditor.js +2 -2
  404. package/dist/components/MarkdownEditor.mjs +1 -1
  405. package/dist/components/Mentions.d.mts +2 -2
  406. package/dist/components/Mentions.d.ts +2 -2
  407. package/dist/components/Mentions.js +2 -2
  408. package/dist/components/Mentions.mjs +1 -1
  409. package/dist/components/Menu.d.mts +5 -5
  410. package/dist/components/Menu.d.ts +5 -5
  411. package/dist/components/Menu.js +2 -2
  412. package/dist/components/Menu.mjs +1 -1
  413. package/dist/components/MenuItem.js +3 -3
  414. package/dist/components/MenuItem.mjs +1 -1
  415. package/dist/components/MenuItemGroup.js +3 -3
  416. package/dist/components/MenuItemGroup.mjs +1 -1
  417. package/dist/components/Message.d.mts +11 -1
  418. package/dist/components/Message.d.ts +11 -1
  419. package/dist/components/Message.js +2 -2
  420. package/dist/components/Message.mjs +1 -1
  421. package/dist/components/Modal.d.mts +8 -8
  422. package/dist/components/Modal.d.ts +8 -8
  423. package/dist/components/Modal.js +3 -3
  424. package/dist/components/Modal.mjs +2 -2
  425. package/dist/components/Notification.js +2 -2
  426. package/dist/components/Notification.mjs +1 -1
  427. package/dist/components/NotificationCenter.d.mts +5 -5
  428. package/dist/components/NotificationCenter.d.ts +5 -5
  429. package/dist/components/NotificationCenter.js +7 -6
  430. package/dist/components/NotificationCenter.mjs +6 -5
  431. package/dist/components/NumberKeyboard.d.mts +17 -8
  432. package/dist/components/NumberKeyboard.d.ts +17 -8
  433. package/dist/components/NumberKeyboard.js +3 -2
  434. package/dist/components/NumberKeyboard.mjs +2 -1
  435. package/dist/components/OrgChart.d.mts +3 -3
  436. package/dist/components/OrgChart.d.ts +3 -3
  437. package/dist/components/Pagination.d.mts +4 -4
  438. package/dist/components/Pagination.d.ts +4 -4
  439. package/dist/components/Pagination.js +3 -3
  440. package/dist/components/Pagination.mjs +2 -2
  441. package/dist/components/PieChart.d.mts +12 -3
  442. package/dist/components/PieChart.d.ts +12 -3
  443. package/dist/components/PieChart.js +4 -4
  444. package/dist/components/PieChart.mjs +3 -3
  445. package/dist/components/Popconfirm.d.mts +2 -2
  446. package/dist/components/Popconfirm.d.ts +2 -2
  447. package/dist/components/Popover.d.mts +1 -1
  448. package/dist/components/Popover.d.ts +1 -1
  449. package/dist/components/Progress.d.mts +3 -3
  450. package/dist/components/Progress.d.ts +3 -3
  451. package/dist/components/QRCode.d.mts +13 -3
  452. package/dist/components/QRCode.d.ts +13 -3
  453. package/dist/components/QRCode.js +3 -2
  454. package/dist/components/QRCode.mjs +2 -1
  455. package/dist/components/RadarChart.d.mts +3 -3
  456. package/dist/components/RadarChart.d.ts +3 -3
  457. package/dist/components/RadarChart.js +4 -4
  458. package/dist/components/RadarChart.mjs +3 -3
  459. package/dist/components/Rate.js +2 -2
  460. package/dist/components/Rate.mjs +1 -1
  461. package/dist/components/Resizable.js +2 -2
  462. package/dist/components/Resizable.mjs +1 -1
  463. package/dist/components/Result.d.mts +1 -1
  464. package/dist/components/Result.d.ts +1 -1
  465. package/dist/components/Result.js +2 -2
  466. package/dist/components/Result.mjs +1 -1
  467. package/dist/components/RichTextEditor.d.mts +1 -1
  468. package/dist/components/RichTextEditor.d.ts +1 -1
  469. package/dist/components/RichTextEditor.js +2 -2
  470. package/dist/components/RichTextEditor.mjs +1 -1
  471. package/dist/components/Row.d.mts +1 -1
  472. package/dist/components/Row.d.ts +1 -1
  473. package/dist/components/ScatterChart.d.mts +2 -2
  474. package/dist/components/ScatterChart.d.ts +2 -2
  475. package/dist/components/ScatterChart.js +4 -4
  476. package/dist/components/ScatterChart.mjs +3 -3
  477. package/dist/components/ScrollSpy.d.mts +3 -3
  478. package/dist/components/ScrollSpy.d.ts +3 -3
  479. package/dist/components/Segmented.js +2 -2
  480. package/dist/components/Segmented.mjs +1 -1
  481. package/dist/components/Select.d.mts +22 -6
  482. package/dist/components/Select.d.ts +22 -6
  483. package/dist/components/Select.js +3 -2
  484. package/dist/components/Select.mjs +2 -1
  485. package/dist/components/Signature.d.mts +16 -7
  486. package/dist/components/Signature.d.ts +16 -7
  487. package/dist/components/Signature.js +3 -2
  488. package/dist/components/Signature.mjs +2 -1
  489. package/dist/components/Skeleton.d.mts +1 -1
  490. package/dist/components/Skeleton.d.ts +1 -1
  491. package/dist/components/Slider.js +2 -2
  492. package/dist/components/Slider.mjs +1 -1
  493. package/dist/components/Space.d.mts +2 -2
  494. package/dist/components/Space.d.ts +2 -2
  495. package/dist/components/Splitter.d.mts +1 -1
  496. package/dist/components/Splitter.d.ts +1 -1
  497. package/dist/components/Spotlight.d.mts +17 -9
  498. package/dist/components/Spotlight.d.ts +17 -9
  499. package/dist/components/Spotlight.js +3 -2
  500. package/dist/components/Spotlight.mjs +2 -1
  501. package/dist/components/Steps.d.mts +3 -3
  502. package/dist/components/Steps.d.ts +3 -3
  503. package/dist/components/Steps.js +2 -2
  504. package/dist/components/Steps.mjs +1 -1
  505. package/dist/components/StepsItem.js +3 -3
  506. package/dist/components/StepsItem.mjs +1 -1
  507. package/dist/components/SubMenu.js +3 -3
  508. package/dist/components/SubMenu.mjs +1 -1
  509. package/dist/components/SunburstChart.d.mts +2 -2
  510. package/dist/components/SunburstChart.d.ts +2 -2
  511. package/dist/components/SunburstChart.js +4 -4
  512. package/dist/components/SunburstChart.mjs +3 -3
  513. package/dist/components/TabPane.js +3 -3
  514. package/dist/components/TabPane.mjs +1 -1
  515. package/dist/components/Table.d.mts +8 -8
  516. package/dist/components/Table.d.ts +8 -8
  517. package/dist/components/Table.js +7 -7
  518. package/dist/components/Table.mjs +6 -6
  519. package/dist/components/Tabs.d.mts +4 -2
  520. package/dist/components/Tabs.d.ts +4 -2
  521. package/dist/components/Tabs.js +2 -2
  522. package/dist/components/Tabs.mjs +1 -1
  523. package/dist/components/Tag.d.mts +14 -4
  524. package/dist/components/Tag.d.ts +14 -4
  525. package/dist/components/Tag.js +3 -2
  526. package/dist/components/Tag.mjs +2 -1
  527. package/dist/components/TaskBoard.d.mts +23 -3
  528. package/dist/components/TaskBoard.d.ts +23 -3
  529. package/dist/components/TaskBoard.js +3 -3
  530. package/dist/components/TaskBoard.mjs +2 -2
  531. package/dist/components/Text.d.mts +3 -3
  532. package/dist/components/Text.d.ts +3 -3
  533. package/dist/components/Textarea.d.mts +2 -2
  534. package/dist/components/Textarea.d.ts +2 -2
  535. package/dist/components/Textarea.js +3 -2
  536. package/dist/components/Textarea.mjs +2 -1
  537. package/dist/components/TimePicker.d.mts +7 -7
  538. package/dist/components/TimePicker.d.ts +7 -7
  539. package/dist/components/TimePicker.js +3 -2
  540. package/dist/components/TimePicker.mjs +2 -1
  541. package/dist/components/Timeline.d.mts +14 -4
  542. package/dist/components/Timeline.d.ts +14 -4
  543. package/dist/components/Timeline.js +3 -2
  544. package/dist/components/Timeline.mjs +2 -1
  545. package/dist/components/Tooltip.d.mts +1 -1
  546. package/dist/components/Tooltip.d.ts +1 -1
  547. package/dist/components/Tour.d.mts +20 -12
  548. package/dist/components/Tour.d.ts +20 -12
  549. package/dist/components/Tour.js +4 -2
  550. package/dist/components/Tour.mjs +3 -1
  551. package/dist/components/Transfer.d.mts +37 -5
  552. package/dist/components/Transfer.d.ts +37 -5
  553. package/dist/components/Transfer.js +3 -2
  554. package/dist/components/Transfer.mjs +2 -1
  555. package/dist/components/Tree.d.mts +23 -7
  556. package/dist/components/Tree.d.ts +23 -7
  557. package/dist/components/Tree.js +4 -3
  558. package/dist/components/Tree.mjs +3 -2
  559. package/dist/components/TreeMapChart.d.mts +2 -2
  560. package/dist/components/TreeMapChart.d.ts +2 -2
  561. package/dist/components/TreeMapChart.js +4 -4
  562. package/dist/components/TreeMapChart.mjs +3 -3
  563. package/dist/components/TreeSelect.d.mts +18 -3
  564. package/dist/components/TreeSelect.d.ts +18 -3
  565. package/dist/components/TreeSelect.js +3 -2
  566. package/dist/components/TreeSelect.mjs +2 -1
  567. package/dist/components/Upload.d.mts +4 -4
  568. package/dist/components/Upload.d.ts +4 -4
  569. package/dist/components/Upload.js +3 -3
  570. package/dist/components/Upload.mjs +2 -2
  571. package/dist/components/VirtualList.d.mts +11 -0
  572. package/dist/components/VirtualList.d.ts +11 -0
  573. package/dist/components/VirtualList.js +2 -2
  574. package/dist/components/VirtualList.mjs +1 -1
  575. package/dist/components/VirtualTable.d.mts +44 -5
  576. package/dist/components/VirtualTable.d.ts +44 -5
  577. package/dist/components/VirtualTable.js +3 -2
  578. package/dist/components/VirtualTable.mjs +2 -1
  579. package/dist/components/Watermark.d.mts +1 -1
  580. package/dist/components/Watermark.d.ts +1 -1
  581. package/dist/index.d.mts +134 -134
  582. package/dist/index.d.ts +134 -134
  583. package/dist/index.js +96 -96
  584. package/dist/index.mjs +97 -97
  585. package/package.json +6 -6
  586. package/dist/chunk-7QX4QWWN.js +0 -194
  587. package/dist/chunk-DJCTERZH.js +0 -92
  588. package/dist/chunk-LD7ZJCTO.mjs +0 -167
  589. package/dist/chunk-XAQID5IO.js +0 -167
  590. package/dist/chunk-XGO5Q6KK.js +0 -189
  591. package/dist/chunk-ZSQ5I2KL.mjs +0 -194
  592. package/dist/chunk-ZYCOHZCM.mjs +0 -92
@@ -1,4 +1,8 @@
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/AutoComplete.ts
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; }
2
+
3
+ var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
4
+
5
+ // src/components/AutoComplete.ts
2
6
 
3
7
 
4
8
 
@@ -25,6 +29,8 @@ var _vue = require('vue');
25
29
 
26
30
 
27
31
 
32
+
33
+
28
34
  var _tigercatcore = require('@expcat/tigercat-core');
29
35
  var autoCompleteInstanceId = 0;
30
36
  var ClearIcon = _vue.h.call(void 0,
@@ -72,7 +78,7 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
72
78
  },
73
79
  notFoundText: {
74
80
  type: String,
75
- default: "No matches found"
81
+ default: void 0
76
82
  },
77
83
  filterOption: {
78
84
  type: [Boolean, Function],
@@ -85,10 +91,16 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
85
91
  allowFreeInput: {
86
92
  type: Boolean,
87
93
  default: true
94
+ },
95
+ locale: {
96
+ type: Object,
97
+ default: void 0
88
98
  }
89
99
  },
90
100
  emits: ["update:modelValue", "select", "search", "change"],
91
101
  setup(props, { emit, attrs }) {
102
+ const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
103
+ const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
92
104
  const instanceId = ++autoCompleteInstanceId;
93
105
  const listboxId = `tiger-autocomplete-listbox-${instanceId}`;
94
106
  const isOpen = _vue.ref.call(void 0, false);
@@ -120,6 +132,25 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
120
132
  isOpen.value = false;
121
133
  activeIndex.value = -1;
122
134
  }
135
+ function constrainToOption() {
136
+ if (props.allowFreeInput) return;
137
+ const match = props.options.find((o) => !o.disabled && o.label === inputValue.value);
138
+ if (match) {
139
+ if (String(match.value) !== String(props.modelValue)) {
140
+ emit("update:modelValue", match.value);
141
+ emit("select", match.value, match);
142
+ emit("change", match.value);
143
+ }
144
+ return;
145
+ }
146
+ const current = props.options.find((o) => String(o.value) === String(props.modelValue));
147
+ const revertLabel = current ? current.label : "";
148
+ if (revertLabel !== inputValue.value) {
149
+ inputValue.value = revertLabel;
150
+ emit("update:modelValue", current ? current.value : "");
151
+ emit("change", current ? current.value : "");
152
+ }
153
+ }
123
154
  function handleInput(e) {
124
155
  const val = e.target.value;
125
156
  inputValue.value = val;
@@ -167,6 +198,9 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
167
198
  e.preventDefault();
168
199
  if (activeIndex.value >= 0 && activeIndex.value < options.length) {
169
200
  handleSelect(options[activeIndex.value]);
201
+ } else {
202
+ constrainToOption();
203
+ closeDropdown();
170
204
  }
171
205
  break;
172
206
  case "Escape":
@@ -216,7 +250,8 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
216
250
  autocomplete: "off",
217
251
  onInput: handleInput,
218
252
  onFocus: openDropdown,
219
- onKeydown: handleKeyDown
253
+ onKeydown: handleKeyDown,
254
+ onBlur: constrainToOption
220
255
  }),
221
256
  // Clear button
222
257
  showClearButton.value ? _vue.h.call(void 0,
@@ -224,7 +259,7 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
224
259
  {
225
260
  type: "button",
226
261
  class: "absolute right-2 top-1/2 -translate-y-1/2 text-[var(--tiger-autocomplete-clear,var(--tiger-text-muted,#9ca3af))] hover:text-[var(--tiger-autocomplete-clear-hover,var(--tiger-text,#111827))] transition-colors",
227
- "aria-label": "Clear",
262
+ "aria-label": _tigercatcore.resolveLocaleText.call(void 0, "Clear", _optionalChain([mergedLocale, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.common, 'optionalAccess', _6 => _6.clearText])),
228
263
  onClick: handleClear
229
264
  },
230
265
  [ClearIcon]
@@ -250,6 +285,7 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
250
285
  !!option.disabled,
251
286
  props.size
252
287
  ),
288
+ onMousedown: (e) => e.preventDefault(),
253
289
  onClick: () => handleSelect(option),
254
290
  onMouseenter: () => {
255
291
  activeIndex.value = index;
@@ -263,7 +299,11 @@ var AutoComplete = _vue.defineComponent.call(void 0, {
263
299
  {
264
300
  class: _tigercatcore.classNames.call(void 0, _tigercatcore.autoCompleteDropdownClasses, _tigercatcore.autoCompleteEmptyStateClasses)
265
301
  },
266
- props.notFoundText
302
+ _tigercatcore.resolveLocaleText.call(void 0,
303
+ "No matches found",
304
+ props.notFoundText,
305
+ _optionalChain([mergedLocale, 'access', _7 => _7.value, 'optionalAccess', _8 => _8.common, 'optionalAccess', _9 => _9.emptyText])
306
+ )
267
307
  ) : null
268
308
  ]
269
309
  );
@@ -1,3 +1,7 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-R6WFL6NI.mjs";
4
+
1
5
  // src/components/InfiniteScroll.ts
2
6
  import { defineComponent, h, ref, computed, watch, onMounted, onBeforeUnmount } from "vue";
3
7
  import {
@@ -5,6 +9,8 @@ import {
5
9
  coerceClassValue,
6
10
  shouldLoadMore,
7
11
  createInfiniteScrollObserver,
12
+ resolveLocaleText,
13
+ mergeTigerLocale,
8
14
  getInfiniteScrollContainerClasses,
9
15
  infiniteScrollLoaderClasses,
10
16
  infiniteScrollEndClasses,
@@ -17,8 +23,9 @@ var InfiniteScroll = defineComponent({
17
23
  hasMore: { type: Boolean, default: true },
18
24
  loading: { type: Boolean, default: false },
19
25
  threshold: { type: Number, default: 100 },
20
- loadingText: { type: String, default: "Loading..." },
21
- endText: { type: String, default: "No more data" },
26
+ loadingText: { type: String, default: void 0 },
27
+ endText: { type: String, default: void 0 },
28
+ locale: { type: Object, default: void 0 },
22
29
  direction: {
23
30
  type: String,
24
31
  default: "vertical"
@@ -29,6 +36,8 @@ var InfiniteScroll = defineComponent({
29
36
  },
30
37
  emits: ["load-more"],
31
38
  setup(props, { emit, slots, attrs }) {
39
+ const config = useTigerConfig();
40
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
32
41
  const containerRef = ref(null);
33
42
  const sentinelRef = ref(null);
34
43
  let cleanupObserver = null;
@@ -62,6 +71,7 @@ var InfiniteScroll = defineComponent({
62
71
  threshold: props.threshold,
63
72
  direction: props.direction,
64
73
  root: containerRef.value,
74
+ inverse: props.inverse,
65
75
  onLoadMore: handleLoadMore
66
76
  });
67
77
  if (teardown) {
@@ -97,9 +107,21 @@ var InfiniteScroll = defineComponent({
97
107
  role: "status",
98
108
  "aria-live": "polite"
99
109
  },
100
- slots.loader?.() ?? props.loadingText
110
+ slots.loader?.() ?? resolveLocaleText(
111
+ "Loading...",
112
+ props.loadingText,
113
+ mergedLocale.value?.common?.loadingText
114
+ )
115
+ ) : null;
116
+ const end = !props.hasMore && !props.loading ? h(
117
+ "div",
118
+ { class: infiniteScrollEndClasses },
119
+ slots.end?.() ?? resolveLocaleText(
120
+ "No more data",
121
+ props.endText,
122
+ mergedLocale.value?.common?.noMoreText
123
+ )
101
124
  ) : null;
102
- const end = !props.hasMore && !props.loading ? h("div", { class: infiniteScrollEndClasses }, slots.end?.() ?? props.endText) : null;
103
125
  const children = props.inverse ? [sentinel, loader, content, end] : [content, sentinel, loader, end];
104
126
  return h(
105
127
  "div",
@@ -66,7 +66,7 @@ var CheckboxGroup = _vue.defineComponent.call(void 0, {
66
66
  const internalValue = _vue.ref.call(void 0, props.defaultValue);
67
67
  const isControlled = _vue.computed.call(void 0, () => props.modelValue !== void 0);
68
68
  const value = _vue.computed.call(void 0, () => {
69
- return isControlled.value ? props.modelValue : internalValue.value;
69
+ return props.modelValue !== void 0 ? props.modelValue : internalValue.value;
70
70
  });
71
71
  const updateValue = (val, checked) => {
72
72
  if (props.disabled) return;
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-R2HO74FE.mjs";
4
4
  import {
5
5
  ChartLegend
6
- } from "./chunk-VVS2CQS4.mjs";
6
+ } from "./chunk-HLPSHCXO.mjs";
7
7
  import {
8
8
  ChartSeries
9
9
  } from "./chunk-2ZUEXCVJ.mjs";
10
10
  import {
11
11
  ChartTooltip
12
- } from "./chunk-OK4PVFQG.mjs";
12
+ } from "./chunk-G2LB4QCL.mjs";
13
13
  import {
14
14
  ChartCanvas
15
15
  } from "./chunk-W5RZPTFD.mjs";
@@ -0,0 +1,297 @@
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; }
2
+
3
+ var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
4
+
5
+ // src/components/VirtualTable.ts
6
+ var _vue = require('vue');
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+ var _tigercatcore = require('@expcat/tigercat-core');
31
+ var DEFAULT_VIRTUAL_COLUMN_WIDTH = 150;
32
+ var VirtualTable = _vue.defineComponent.call(void 0, {
33
+ name: "TigerVirtualTable",
34
+ inheritAttrs: false,
35
+ props: {
36
+ data: {
37
+ type: Array,
38
+ default: () => []
39
+ },
40
+ columns: {
41
+ type: Array,
42
+ default: () => []
43
+ },
44
+ rowHeight: { type: Number, default: 48 },
45
+ height: { type: Number, default: 400 },
46
+ width: { type: [Number, String], default: "auto" },
47
+ overscan: { type: Number, default: 5 },
48
+ stickyHeader: { type: Boolean, default: true },
49
+ virtualizeColumns: { type: Boolean, default: false },
50
+ rowKey: {
51
+ type: [String, Function],
52
+ default: void 0
53
+ },
54
+ rowClassName: {
55
+ type: [String, Function],
56
+ default: void 0
57
+ },
58
+ loading: { type: Boolean, default: false },
59
+ emptyText: { type: String, default: void 0 },
60
+ selectable: { type: Boolean, default: false },
61
+ selectedKeys: {
62
+ type: Array,
63
+ default: () => []
64
+ },
65
+ striped: { type: Boolean, default: false },
66
+ bordered: { type: Boolean, default: false },
67
+ className: { type: String, default: void 0 },
68
+ locale: { type: Object, default: void 0 }
69
+ },
70
+ emits: ["row-click", "select"],
71
+ setup(props, { emit, attrs }) {
72
+ const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
73
+ const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
74
+ const containerRef = _vue.ref.call(void 0, null);
75
+ const scrollTop = _vue.ref.call(void 0, 0);
76
+ const scrollLeft = _vue.ref.call(void 0, 0);
77
+ const range = _vue.computed.call(void 0,
78
+ () => _tigercatcore.calculateVirtualRange.call(void 0,
79
+ scrollTop.value,
80
+ props.height,
81
+ props.data.length,
82
+ props.rowHeight,
83
+ props.overscan
84
+ )
85
+ );
86
+ const visibleData = _vue.computed.call(void 0, () => props.data.slice(range.value.start, range.value.end));
87
+ function onScroll() {
88
+ if (containerRef.value) {
89
+ scrollTop.value = containerRef.value.scrollTop;
90
+ scrollLeft.value = containerRef.value.scrollLeft;
91
+ }
92
+ }
93
+ const columnWidths = _vue.computed.call(void 0,
94
+ () => props.columns.map(
95
+ (c) => typeof c.width === "number" ? c.width : DEFAULT_VIRTUAL_COLUMN_WIDTH
96
+ )
97
+ );
98
+ const resolveRowClassName = (row, index) => typeof props.rowClassName === "function" ? props.rowClassName(row, index) : props.rowClassName;
99
+ const containerClasses = _vue.computed.call(void 0,
100
+ () => _tigercatcore.classNames.call(void 0,
101
+ _tigercatcore.getVirtualTableContainerClasses.call(void 0, props.bordered, props.className),
102
+ _tigercatcore.coerceClassValue.call(void 0, attrs.class)
103
+ )
104
+ );
105
+ const selectedSet = _vue.computed.call(void 0, () => new Set(props.selectedKeys));
106
+ const fixedInfo = _vue.computed.call(void 0, () => _tigercatcore.getVirtualTableFixedInfo.call(void 0, props.columns));
107
+ return () => {
108
+ const fi = fixedInfo.value;
109
+ const colVirtualActive = props.virtualizeColumns && !fi.hasFixedColumns && props.width !== "auto";
110
+ const colRange = colVirtualActive ? _tigercatcore.calculateVirtualColumnRange.call(void 0, scrollLeft.value, props.width, columnWidths.value) : void 0;
111
+ const visibleColumns = colRange ? props.columns.slice(colRange.start, colRange.end) : props.columns;
112
+ const colIndexOffset = colRange ? colRange.start : 0;
113
+ const colgroupEntries = fi.hasFixedColumns ? _tigercatcore.getTableColgroup.call(void 0, {
114
+ columns: visibleColumns,
115
+ size: "md",
116
+ hasSelectionColumn: false,
117
+ expand: false
118
+ }) : [];
119
+ const headerCells = visibleColumns.map((col) => {
120
+ const widthStyle = col.width ? { width: typeof col.width === "number" ? `${col.width}px` : col.width } : {};
121
+ const stickyStyle = _tigercatcore.getVirtualTableFixedCellStyle.call(void 0, col.key, fi);
122
+ return _vue.h.call(void 0,
123
+ "th",
124
+ {
125
+ key: col.key,
126
+ class: _tigercatcore.classNames.call(void 0,
127
+ _tigercatcore.virtualTableHeaderCellClasses,
128
+ _tigercatcore.getTableFixedHeaderCellClasses.call(void 0, {
129
+ view: "virtual-table",
130
+ column: col,
131
+ stickyHeader: props.stickyHeader,
132
+ fixedInfo: fi
133
+ })
134
+ ),
135
+ style: { ...widthStyle, ...stickyStyle }
136
+ },
137
+ _nullishCoalesce(col.title, () => ( ""))
138
+ );
139
+ });
140
+ const headerRowChildren = [
141
+ colRange && colRange.leftPad > 0 ? _vue.h.call(void 0, "th", {
142
+ key: "__left-pad",
143
+ "aria-hidden": true,
144
+ style: { width: `${colRange.leftPad}px`, padding: 0 }
145
+ }) : null,
146
+ ...headerCells,
147
+ colRange && colRange.rightPad > 0 ? _vue.h.call(void 0, "th", {
148
+ key: "__right-pad",
149
+ "aria-hidden": true,
150
+ style: { width: `${colRange.rightPad}px`, padding: 0 }
151
+ }) : null
152
+ ];
153
+ const headerRow = _vue.h.call(void 0, "tr", {}, headerRowChildren);
154
+ const thead = _vue.h.call(void 0,
155
+ "thead",
156
+ { class: props.stickyHeader ? _tigercatcore.virtualTableHeaderClasses : void 0 },
157
+ [headerRow]
158
+ );
159
+ const rows = visibleData.value.map((row, localIdx) => {
160
+ const globalIdx = range.value.start + localIdx;
161
+ const key = _tigercatcore.getVirtualRowKey.call(void 0,
162
+ row,
163
+ globalIdx,
164
+ props.rowKey
165
+ );
166
+ const isSelected = selectedSet.value.has(key);
167
+ const isInteractive = props.selectable || typeof attrs.onRowClick === "function";
168
+ const activate = () => {
169
+ emit("row-click", row, globalIdx);
170
+ if (props.selectable) emit("select", key, row, globalIdx);
171
+ };
172
+ const cells = visibleColumns.map(
173
+ (col, colIdx) => _vue.h.call(void 0,
174
+ "td",
175
+ {
176
+ key: col.key,
177
+ "aria-colindex": colIndexOffset + colIdx + 1,
178
+ class: _tigercatcore.classNames.call(void 0,
179
+ _tigercatcore.virtualTableCellClasses,
180
+ _tigercatcore.getTableFixedCellClasses.call(void 0, {
181
+ view: "virtual-table",
182
+ column: col,
183
+ record: row,
184
+ rowIndex: globalIdx,
185
+ striped: props.striped,
186
+ stripedActive: props.striped && globalIdx % 2 === 1,
187
+ selected: isSelected,
188
+ hoverable: true,
189
+ fixedInfo: fi,
190
+ selectedClassName: _tigercatcore.virtualTableFixedCellSelectedClasses
191
+ })
192
+ ),
193
+ style: _tigercatcore.getVirtualTableFixedCellStyle.call(void 0, col.key, fi)
194
+ },
195
+ String(_nullishCoalesce(row[col.key], () => ( "")))
196
+ )
197
+ );
198
+ const rowChildren = [
199
+ colRange && colRange.leftPad > 0 ? _vue.h.call(void 0, "td", {
200
+ key: "__left-pad",
201
+ "aria-hidden": true,
202
+ style: { width: `${colRange.leftPad}px`, padding: 0 }
203
+ }) : null,
204
+ ...cells,
205
+ colRange && colRange.rightPad > 0 ? _vue.h.call(void 0, "td", {
206
+ key: "__right-pad",
207
+ "aria-hidden": true,
208
+ style: { width: `${colRange.rightPad}px`, padding: 0 }
209
+ }) : null
210
+ ];
211
+ return _vue.h.call(void 0,
212
+ "tr",
213
+ {
214
+ key,
215
+ class: _tigercatcore.classNames.call(void 0,
216
+ _tigercatcore.getVirtualTableRowClasses.call(void 0, globalIdx, props.striped, isSelected),
217
+ resolveRowClassName(row, globalIdx)
218
+ ),
219
+ // header occupies aria-rowindex 1
220
+ "aria-rowindex": globalIdx + 2,
221
+ "aria-selected": props.selectable ? isSelected : void 0,
222
+ tabindex: isInteractive ? 0 : void 0,
223
+ // onClick stays attached so `row-click` always fires for consumers
224
+ // that listen for it; keyboard activation is added when interactive.
225
+ onClick: activate,
226
+ onKeydown: isInteractive ? (e) => {
227
+ if (_tigercatcore.isActivationKey.call(void 0, e)) {
228
+ e.preventDefault();
229
+ activate();
230
+ }
231
+ } : void 0
232
+ },
233
+ rowChildren
234
+ );
235
+ });
236
+ const topSpacer = _vue.h.call(void 0, "tr", {
237
+ key: "__top-spacer",
238
+ style: { height: `${range.value.offsetTop}px` },
239
+ "aria-hidden": true
240
+ });
241
+ const bottomHeight = range.value.totalHeight - range.value.end * props.rowHeight;
242
+ const bottomSpacer = bottomHeight > 0 ? _vue.h.call(void 0, "tr", {
243
+ key: "__bottom-spacer",
244
+ style: { height: `${bottomHeight}px` },
245
+ "aria-hidden": true
246
+ }) : null;
247
+ const tbody = _vue.h.call(void 0, "tbody", {}, [topSpacer, ...rows, bottomSpacer]);
248
+ const colgroup = colgroupEntries.length > 0 ? _vue.h.call(void 0,
249
+ "colgroup",
250
+ {},
251
+ colgroupEntries.map(
252
+ (entry) => _vue.h.call(void 0, "col", {
253
+ key: entry.key,
254
+ "data-tiger-table-col": entry.key,
255
+ style: entry.width ? { width: entry.width } : void 0
256
+ })
257
+ )
258
+ ) : null;
259
+ const table = _vue.h.call(void 0, "table", { class: _tigercatcore.classNames.call(void 0, _tigercatcore.tableBaseClasses, "table-fixed") }, [
260
+ colgroup,
261
+ thead,
262
+ tbody
263
+ ]);
264
+ const emptyEl = props.data.length === 0 && !props.loading ? _vue.h.call(void 0,
265
+ "div",
266
+ { class: _tigercatcore.virtualTableEmptyClasses },
267
+ _tigercatcore.resolveLocaleText.call(void 0, "No data", props.emptyText, _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.common, 'optionalAccess', _3 => _3.emptyText]))
268
+ ) : null;
269
+ const loadingEl = props.loading ? _vue.h.call(void 0,
270
+ "div",
271
+ { class: _tigercatcore.virtualTableLoadingClasses },
272
+ _tigercatcore.resolveLocaleText.call(void 0, "Loading...", _optionalChain([mergedLocale, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.common, 'optionalAccess', _6 => _6.loadingText]))
273
+ ) : null;
274
+ return _vue.h.call(void 0,
275
+ "div",
276
+ {
277
+ ref: containerRef,
278
+ class: containerClasses.value,
279
+ style: {
280
+ height: `${props.height}px`,
281
+ ...props.width !== "auto" ? { width: `${props.width}px` } : {}
282
+ },
283
+ onScroll,
284
+ role: "grid",
285
+ "aria-rowcount": props.data.length
286
+ },
287
+ [table, emptyEl, loadingEl]
288
+ );
289
+ };
290
+ }
291
+ });
292
+ var VirtualTable_default = VirtualTable;
293
+
294
+
295
+
296
+
297
+ exports.VirtualTable = VirtualTable; exports.VirtualTable_default = VirtualTable_default;
@@ -1,6 +1,6 @@
1
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; }
2
2
 
3
- var _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
3
+ var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
4
4
 
5
5
  // src/components/Upload.ts
6
6
  var _vue = require('vue');
@@ -196,7 +196,7 @@ var Upload = _vue.defineComponent.call(void 0, {
196
196
  const inputRef = _vue.ref.call(void 0, null);
197
197
  const isDragging = _vue.ref.call(void 0, false);
198
198
  const spinnerSvg = _tigercatcore.getSpinnerSVG.call(void 0, "spinner");
199
- const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
199
+ const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
200
200
  const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
201
201
  const labels = _vue.computed.call(void 0, () => _tigercatcore.getUploadLabels.call(void 0, mergedLocale.value, props.labels));
202
202
  const isControlled = _vue.computed.call(void 0, () => props.fileList !== void 0);
@@ -615,7 +615,7 @@ var Upload = _vue.defineComponent.call(void 0, {
615
615
  _vue.h.call(void 0,
616
616
  "div",
617
617
  {
618
- class: "absolute inset-0 bg-black bg-opacity-0 hover:bg-opacity-50 transition-all flex items-center justify-center space-x-2 opacity-0 hover:opacity-100"
618
+ class: "absolute inset-0 bg-black/0 hover:bg-black/50 transition-all flex items-center justify-center space-x-2 opacity-0 hover:opacity-100"
619
619
  },
620
620
  [
621
621
  // Preview button
@@ -692,7 +692,7 @@ var Upload = _vue.defineComponent.call(void 0, {
692
692
  file.status === "uploading" && _vue.h.call(void 0,
693
693
  "div",
694
694
  {
695
- class: "absolute inset-0 bg-white bg-opacity-75 flex items-center justify-center"
695
+ class: "absolute inset-0 bg-white/75 flex items-center justify-center"
696
696
  },
697
697
  [
698
698
  _vue.h.call(void 0,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
2
2
 
3
- var _chunkX6FG4RPFjs = require('./chunk-X6FG4RPF.js');
3
+ var _chunkWF7KVMBYjs = require('./chunk-WF7KVMBY.js');
4
4
 
5
5
  // src/components/ImageGroup.ts
6
6
  var _vue = require('vue');
@@ -42,7 +42,7 @@ var ImageGroup = _vue.defineComponent.call(void 0, {
42
42
  });
43
43
  return () => {
44
44
  const children = _optionalChain([slots, 'access', _ => _.default, 'optionalCall', _2 => _2()]);
45
- const preview = props.preview ? _vue.h.call(void 0, _chunkX6FG4RPFjs.ImagePreview, {
45
+ const preview = props.preview ? _vue.h.call(void 0, _chunkWF7KVMBYjs.ImagePreview, {
46
46
  open: previewVisible.value,
47
47
  images: images.value,
48
48
  currentIndex: previewIndex.value,
@@ -57,7 +57,9 @@ var ChartLegend = _vue.defineComponent.call(void 0, {
57
57
  {
58
58
  class: containerClasses.value,
59
59
  style: containerStyle.value,
60
- role: "list",
60
+ // A group of toggle buttons is not a "list"; only use list semantics
61
+ // for the static (non-interactive) legend.
62
+ role: props.interactive ? "group" : "list",
61
63
  "aria-label": "Chart legend",
62
64
  "data-chart-legend": "true"
63
65
  },
@@ -73,7 +75,10 @@ var ChartLegend = _vue.defineComponent.call(void 0, {
73
75
  props.interactive ? "cursor-pointer hover:text-[color:var(--tiger-text,#374151)] hover:bg-[var(--tiger-chart-legend-row-hover-bg,transparent)] transition-colors" : "cursor-default",
74
76
  item.active === false ? "opacity-50" : void 0
75
77
  ),
76
- role: "listitem",
78
+ // Interactive items are real buttons; `role="listitem"` would
79
+ // override the button role, so it is only set for the static legend.
80
+ role: props.interactive ? void 0 : "listitem",
81
+ "aria-pressed": props.interactive ? item.active !== false : void 0,
77
82
  "data-legend-item": "true",
78
83
  onClick: props.interactive ? () => handleClick(item) : void 0,
79
84
  onMouseenter: props.interactive ? () => handleHover(item) : void 0,
@@ -91,7 +96,7 @@ var ChartLegend = _vue.defineComponent.call(void 0, {
91
96
  "aria-hidden": "true",
92
97
  "data-legend-marker": "true"
93
98
  }),
94
- _vue.h.call(void 0, "span", { style: { marginRight: `${props.gap}px` } }, item.label)
99
+ _vue.h.call(void 0, "span", null, item.label)
95
100
  ]
96
101
  )
97
102
  )
@@ -1,3 +1,7 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-R6WFL6NI.mjs";
4
+
1
5
  // src/components/Tag.ts
2
6
  import { defineComponent, computed, h, ref } from "vue";
3
7
  import {
@@ -14,7 +18,9 @@ import {
14
18
  tagSizeClasses,
15
19
  tagCloseButtonBaseClasses,
16
20
  tagCloseIconPath,
17
- warnUnsupportedColorProp
21
+ warnUnsupportedColorProp,
22
+ getStatusLabels,
23
+ mergeTigerLocale
18
24
  } from "@expcat/tigercat-core";
19
25
  var CloseIcon = () => h(
20
26
  "svg",
@@ -40,6 +46,10 @@ var Tag = defineComponent({
40
46
  name: "TigerTag",
41
47
  inheritAttrs: false,
42
48
  props: {
49
+ locale: {
50
+ type: Object,
51
+ default: void 0
52
+ },
43
53
  /**
44
54
  * Tag variant style
45
55
  * @default 'default'
@@ -70,7 +80,7 @@ var Tag = defineComponent({
70
80
  */
71
81
  closeAriaLabel: {
72
82
  type: String,
73
- default: "Close tag"
83
+ default: void 0
74
84
  },
75
85
  /**
76
86
  * Additional CSS classes
@@ -89,6 +99,10 @@ var Tag = defineComponent({
89
99
  },
90
100
  emits: ["close"],
91
101
  setup(props, { slots, emit, attrs }) {
102
+ const config = useTigerConfig();
103
+ const labels = computed(
104
+ () => getStatusLabels(mergeTigerLocale(config.value.locale, props.locale))
105
+ );
92
106
  const isVisible = ref(true);
93
107
  const tagClasses = computed(
94
108
  () => classNames(
@@ -132,7 +146,7 @@ var Tag = defineComponent({
132
146
  {
133
147
  class: closeButtonClasses.value,
134
148
  onClick: handleClose,
135
- "aria-label": props.closeAriaLabel,
149
+ "aria-label": props.closeAriaLabel ?? labels.value.tagCloseAriaLabel,
136
150
  type: "button"
137
151
  },
138
152
  CloseIcon()