@expcat/tigercat-vue 1.4.0 → 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 (407) hide show
  1. package/dist/{chunk-EIH6ABOR.js → chunk-2FYVPPTD.js} +44 -15
  2. package/dist/{chunk-KY6AJRGT.mjs → chunk-2HRJGOAV.mjs} +4 -4
  3. package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
  4. package/dist/{chunk-NCT5FXQB.js → chunk-2RCBEBBR.js} +6 -3
  5. package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
  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-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
  9. package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
  10. package/dist/{chunk-NWS45JQP.mjs → chunk-4RK5BDGR.mjs} +58 -10
  11. package/dist/{chunk-RKZN3URO.js → chunk-55BSMMUN.js} +27 -6
  12. package/dist/{chunk-NHBN6VAY.mjs → chunk-57VPT3MN.mjs} +2 -2
  13. package/dist/{chunk-7VSNXYFM.mjs → chunk-5CHHWMES.mjs} +27 -9
  14. package/dist/chunk-5FTM7R3P.js +142 -0
  15. package/dist/{chunk-CGZPOI6H.js → chunk-5PVDNJA5.js} +12 -2
  16. package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
  17. package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
  18. package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
  19. package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
  20. package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
  21. package/dist/{chunk-OTNVA2UT.js → chunk-7J7JIIHX.js} +28 -10
  22. package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
  23. package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
  24. package/dist/{chunk-Z6MMA7ZE.js → chunk-7RMBEWN2.js} +2 -2
  25. package/dist/{chunk-SYTYUC67.js → chunk-AF7JZUTA.js} +2 -2
  26. package/dist/{chunk-3UQECWNL.mjs → chunk-ALFEFDVG.mjs} +103 -12
  27. package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
  28. package/dist/{chunk-WUEP3PFN.js → chunk-ANQRW442.js} +31 -8
  29. package/dist/{chunk-X5CFXNVK.js → chunk-APBWQGXW.js} +14 -10
  30. package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
  31. package/dist/{chunk-6FXYRDYH.js → chunk-AWXSJNNP.js} +22 -2
  32. package/dist/{chunk-ZOUJFFG4.js → chunk-AYQER5UD.js} +17 -14
  33. package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
  34. package/dist/{chunk-PGOTPYRG.js → chunk-BNUR72YP.js} +1 -0
  35. package/dist/{chunk-W5DLRGQL.js → chunk-BPJOIFND.js} +28 -19
  36. package/dist/{chunk-OKR3GRG5.mjs → chunk-BRGQXIKA.mjs} +58 -10
  37. package/dist/{chunk-QYSFZA5V.js → chunk-BV6XWFRF.js} +14 -7
  38. package/dist/{chunk-ODQOYMUQ.js → chunk-BYNTPLGC.js} +8 -1
  39. package/dist/{chunk-SVWZOIBI.js → chunk-BZ56UKUK.js} +4 -4
  40. package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
  41. package/dist/{chunk-RLPSCEBP.js → chunk-CFJST2X2.js} +98 -26
  42. package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
  43. package/dist/{chunk-DSNPEWYP.mjs → chunk-CIDINFA2.mjs} +31 -3
  44. package/dist/{chunk-WZRC7PJH.mjs → chunk-CVFXUYH2.mjs} +38 -5
  45. package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
  46. package/dist/{chunk-OUBJHKWX.js → chunk-D43IFX7J.js} +1 -4
  47. package/dist/{chunk-TXQEHRQB.js → chunk-D6Y3KVJF.js} +5 -1
  48. package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
  49. package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
  50. package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
  51. package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
  52. package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
  53. package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
  54. package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
  55. package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
  56. package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
  57. package/dist/{chunk-WGRNO4PB.js → chunk-GBYNY77G.js} +3 -3
  58. package/dist/{chunk-NTZ7LQTY.js → chunk-GJ5HJOQP.js} +61 -32
  59. package/dist/{chunk-QZQYKC2N.js → chunk-GV3LRZSR.js} +35 -9
  60. package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
  61. package/dist/{chunk-BYNMOQBB.js → chunk-H2XEJHGR.js} +23 -9
  62. package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
  63. package/dist/{chunk-FUI6WG2F.js → chunk-H7GAWNOW.js} +35 -5
  64. package/dist/{chunk-HMYVPBWI.js → chunk-HI45DI7S.js} +2 -2
  65. package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
  66. package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
  67. package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
  68. package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
  69. package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
  70. package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
  71. package/dist/{chunk-HZBE2RY4.js → chunk-J77GQQEC.js} +31 -3
  72. package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
  73. package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
  74. package/dist/{chunk-WYVA3JBH.js → chunk-JICPYKCT.js} +103 -12
  75. package/dist/{chunk-2MLORMN2.js → chunk-JMRR4KDB.js} +2 -2
  76. package/dist/{chunk-KDA4XDXT.js → chunk-K2NJI5MW.js} +2 -2
  77. package/dist/{chunk-ACYYQJ6M.js → chunk-KLOUOXNA.js} +8 -3
  78. package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
  79. package/dist/{chunk-PJ66WE62.js → chunk-KTNT2JHB.js} +143 -10
  80. package/dist/{chunk-KH2CF6JU.mjs → chunk-LGDJDBE3.mjs} +90 -35
  81. package/dist/{chunk-IKEZDGRO.mjs → chunk-LHZ5MRFQ.mjs} +2 -2
  82. package/dist/{chunk-5F6P5Y4K.js → chunk-LKRT27JW.js} +45 -11
  83. package/dist/{chunk-FP7SBCPO.js → chunk-LODEICSN.js} +4 -4
  84. package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
  85. package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
  86. package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
  87. package/dist/{chunk-M2ECZQ2D.mjs → chunk-MF7BKYGN.mjs} +27 -18
  88. package/dist/chunk-MNVMGJUF.js +341 -0
  89. package/dist/{chunk-LYF6AAQ7.js → chunk-MPVL53GP.js} +59 -5
  90. package/dist/{chunk-BHNBLQ5S.mjs → chunk-N2QGYEOQ.mjs} +17 -19
  91. package/dist/{chunk-SGXLMKMO.js → chunk-NQYE64IF.js} +15 -8
  92. package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
  93. package/dist/{chunk-DUMPRNDR.js → chunk-OQBWITHA.js} +17 -19
  94. package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
  95. package/dist/{chunk-RKL4Y7CW.mjs → chunk-OSPHI5TV.mjs} +110 -3
  96. package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
  97. package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
  98. package/dist/{chunk-LG55VN6B.js → chunk-PFZFPN7M.js} +7 -7
  99. package/dist/{chunk-SJIW7SNA.js → chunk-PH6ERFC7.js} +22 -7
  100. package/dist/{chunk-Y3BQSELH.mjs → chunk-PJX2DHO5.mjs} +2 -2
  101. package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
  102. package/dist/{chunk-RFFPMC22.mjs → chunk-PMN2MQ26.mjs} +1 -1
  103. package/dist/{chunk-QAMXVTNN.mjs → chunk-QH3YF5B6.mjs} +95 -23
  104. package/dist/{chunk-FGM7KB2Q.js → chunk-QKJATAJP.js} +113 -6
  105. package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
  106. package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
  107. package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
  108. package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
  109. package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
  110. package/dist/{chunk-GY75BFAV.js → chunk-SOSHYDIX.js} +9 -9
  111. package/dist/{chunk-KN64NDJS.js → chunk-TCB3WFYM.js} +12 -11
  112. package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
  113. package/dist/{chunk-24CBIC75.js → chunk-TNKULOHK.js} +8 -0
  114. package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
  115. package/dist/{chunk-RPWKAGN5.mjs → chunk-TRN5PL5D.mjs} +2 -2
  116. package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
  117. package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
  118. package/dist/{chunk-NEVDRG6C.js → chunk-U5TSCS34.js} +5 -15
  119. package/dist/{chunk-SLYUQ67P.js → chunk-UKR3IJF3.js} +3 -1
  120. package/dist/{chunk-M5PGWW25.mjs → chunk-UTGFGMZT.mjs} +33 -3
  121. package/dist/chunk-V5ANPH5R.mjs +341 -0
  122. package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
  123. package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
  124. package/dist/{chunk-RUXIQ5EP.js → chunk-VDKUKZS2.js} +110 -55
  125. package/dist/{chunk-ZQD2MCNX.mjs → chunk-VJJ7RAC6.mjs} +34 -8
  126. package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
  127. package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
  128. package/dist/{chunk-NHNJUBYZ.js → chunk-VXRFE72I.js} +38 -5
  129. package/dist/{chunk-OOS3QQFK.mjs → chunk-VYBRLIKF.mjs} +64 -35
  130. package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
  131. package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
  132. package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
  133. package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
  134. package/dist/{chunk-J6YCXMVY.mjs → chunk-WSUCJHJX.mjs} +1 -1
  135. package/dist/{chunk-KY3O3FWK.mjs → chunk-WWB7VKKH.mjs} +24 -11
  136. package/dist/{chunk-GQAVLQEZ.mjs → chunk-X43QLJ5E.mjs} +1 -1
  137. package/dist/{chunk-ULUH6UNV.js → chunk-X73BZFBH.js} +4 -4
  138. package/dist/{chunk-KA7DILCI.js → chunk-X7PQRYUS.js} +61 -13
  139. package/dist/chunk-XFNHZ7SV.mjs +142 -0
  140. package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
  141. package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
  142. package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
  143. package/dist/{chunk-T5N2UHVP.js → chunk-YI25YL5W.js} +2 -2
  144. package/dist/{chunk-TAAHD4R7.js → chunk-YLMQZR6F.js} +36 -4
  145. package/dist/{chunk-WNYWWGNM.js → chunk-YMUYN4IR.js} +51 -11
  146. package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
  147. package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
  148. package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
  149. package/dist/components/ActivityFeed.js +6 -6
  150. package/dist/components/ActivityFeed.mjs +5 -5
  151. package/dist/components/Anchor.js +2 -2
  152. package/dist/components/Anchor.mjs +1 -1
  153. package/dist/components/AnchorLink.js +3 -3
  154. package/dist/components/AnchorLink.mjs +1 -1
  155. package/dist/components/AreaChart.js +4 -4
  156. package/dist/components/AreaChart.mjs +3 -3
  157. package/dist/components/AutoComplete.d.mts +2 -2
  158. package/dist/components/AutoComplete.d.ts +2 -2
  159. package/dist/components/AutoComplete.js +2 -2
  160. package/dist/components/AutoComplete.mjs +1 -1
  161. package/dist/components/Avatar.js +3 -3
  162. package/dist/components/Avatar.mjs +2 -2
  163. package/dist/components/AvatarGroup.js +2 -2
  164. package/dist/components/AvatarGroup.mjs +1 -1
  165. package/dist/components/BackTop.d.mts +2 -2
  166. package/dist/components/BackTop.d.ts +2 -2
  167. package/dist/components/BackTop.js +2 -2
  168. package/dist/components/BackTop.mjs +1 -1
  169. package/dist/components/Badge.d.mts +10 -1
  170. package/dist/components/Badge.d.ts +10 -1
  171. package/dist/components/Badge.js +3 -2
  172. package/dist/components/Badge.mjs +2 -1
  173. package/dist/components/BarChart.js +4 -4
  174. package/dist/components/BarChart.mjs +3 -3
  175. package/dist/components/Breadcrumb.js +2 -2
  176. package/dist/components/Breadcrumb.mjs +1 -1
  177. package/dist/components/BreadcrumbItem.js +3 -3
  178. package/dist/components/BreadcrumbItem.mjs +1 -1
  179. package/dist/components/Calendar.d.mts +16 -6
  180. package/dist/components/Calendar.d.ts +16 -6
  181. package/dist/components/Calendar.js +3 -2
  182. package/dist/components/Calendar.mjs +2 -1
  183. package/dist/components/Cascader.js +2 -2
  184. package/dist/components/Cascader.mjs +1 -1
  185. package/dist/components/ChartLegend.js +2 -2
  186. package/dist/components/ChartLegend.mjs +1 -1
  187. package/dist/components/ChartTooltip.js +2 -2
  188. package/dist/components/ChartTooltip.mjs +1 -1
  189. package/dist/components/ChatWindow.d.mts +7 -7
  190. package/dist/components/ChatWindow.d.ts +7 -7
  191. package/dist/components/ChatWindow.js +10 -8
  192. package/dist/components/ChatWindow.mjs +9 -7
  193. package/dist/components/CodeEditor.js +2 -2
  194. package/dist/components/CodeEditor.mjs +1 -1
  195. package/dist/components/ColorSwatch.d.mts +1 -1
  196. package/dist/components/ColorSwatch.d.ts +1 -1
  197. package/dist/components/CommentThread.d.mts +5 -1
  198. package/dist/components/CommentThread.d.ts +5 -1
  199. package/dist/components/CommentThread.js +8 -6
  200. package/dist/components/CommentThread.mjs +7 -5
  201. package/dist/components/Countdown.d.mts +1 -1
  202. package/dist/components/Countdown.d.ts +1 -1
  203. package/dist/components/CronEditor.d.mts +1 -1
  204. package/dist/components/CronEditor.d.ts +1 -1
  205. package/dist/components/CropUpload.d.mts +13 -3
  206. package/dist/components/CropUpload.d.ts +13 -3
  207. package/dist/components/CropUpload.js +3 -3
  208. package/dist/components/CropUpload.mjs +2 -2
  209. package/dist/components/DataTableWithToolbar.d.mts +223 -1
  210. package/dist/components/DataTableWithToolbar.d.ts +223 -1
  211. package/dist/components/DataTableWithToolbar.js +7 -6
  212. package/dist/components/DataTableWithToolbar.mjs +6 -5
  213. package/dist/components/DatePicker.d.mts +6 -1
  214. package/dist/components/DatePicker.d.ts +6 -1
  215. package/dist/components/DatePicker.js +3 -2
  216. package/dist/components/DatePicker.mjs +2 -1
  217. package/dist/components/DonutChart.d.mts +9 -0
  218. package/dist/components/DonutChart.d.ts +9 -0
  219. package/dist/components/DonutChart.js +5 -5
  220. package/dist/components/DonutChart.mjs +4 -4
  221. package/dist/components/Dropdown.d.mts +1 -1
  222. package/dist/components/Dropdown.d.ts +1 -1
  223. package/dist/components/Dropdown.js +2 -2
  224. package/dist/components/Dropdown.mjs +1 -1
  225. package/dist/components/DropdownItem.js +3 -3
  226. package/dist/components/DropdownItem.mjs +2 -2
  227. package/dist/components/DropdownMenu.js +3 -3
  228. package/dist/components/DropdownMenu.mjs +1 -1
  229. package/dist/components/Empty.d.mts +11 -1
  230. package/dist/components/Empty.d.ts +11 -1
  231. package/dist/components/Empty.js +3 -2
  232. package/dist/components/Empty.mjs +2 -1
  233. package/dist/components/FileManager.d.mts +19 -19
  234. package/dist/components/FileManager.d.ts +19 -19
  235. package/dist/components/FileManager.js +2 -2
  236. package/dist/components/FileManager.mjs +1 -1
  237. package/dist/components/FloatButton.d.mts +3 -3
  238. package/dist/components/FloatButton.d.ts +3 -3
  239. package/dist/components/FloatButton.js +2 -2
  240. package/dist/components/FloatButton.mjs +1 -1
  241. package/dist/components/Form.js +2 -2
  242. package/dist/components/Form.mjs +1 -1
  243. package/dist/components/FormItem.js +3 -3
  244. package/dist/components/FormItem.mjs +2 -2
  245. package/dist/components/FormWizard.js +3 -3
  246. package/dist/components/FormWizard.mjs +2 -2
  247. package/dist/components/FunnelChart.js +4 -4
  248. package/dist/components/FunnelChart.mjs +3 -3
  249. package/dist/components/Gantt.d.mts +1 -1
  250. package/dist/components/Gantt.d.ts +1 -1
  251. package/dist/components/GaugeChart.d.mts +15 -0
  252. package/dist/components/GaugeChart.d.ts +15 -0
  253. package/dist/components/GaugeChart.js +3 -2
  254. package/dist/components/GaugeChart.mjs +2 -1
  255. package/dist/components/HeatmapChart.js +3 -3
  256. package/dist/components/HeatmapChart.mjs +2 -2
  257. package/dist/components/Icon.d.mts +1 -1
  258. package/dist/components/Icon.d.ts +1 -1
  259. package/dist/components/Image.js +4 -3
  260. package/dist/components/Image.mjs +3 -2
  261. package/dist/components/ImageAnnotation.d.mts +11 -1
  262. package/dist/components/ImageAnnotation.d.ts +11 -1
  263. package/dist/components/ImageAnnotation.js +3 -2
  264. package/dist/components/ImageAnnotation.mjs +2 -1
  265. package/dist/components/ImageCropper.d.mts +11 -0
  266. package/dist/components/ImageCropper.d.ts +11 -0
  267. package/dist/components/ImageCropper.js +3 -2
  268. package/dist/components/ImageCropper.mjs +2 -1
  269. package/dist/components/ImageGroup.js +4 -3
  270. package/dist/components/ImageGroup.mjs +3 -2
  271. package/dist/components/ImagePreview.d.mts +11 -0
  272. package/dist/components/ImagePreview.d.ts +11 -0
  273. package/dist/components/ImagePreview.js +3 -2
  274. package/dist/components/ImagePreview.mjs +2 -1
  275. package/dist/components/ImageViewer.d.mts +1 -0
  276. package/dist/components/ImageViewer.d.ts +1 -0
  277. package/dist/components/ImageViewer.js +2 -2
  278. package/dist/components/ImageViewer.mjs +1 -1
  279. package/dist/components/InfiniteScroll.js +2 -2
  280. package/dist/components/InfiniteScroll.mjs +1 -1
  281. package/dist/components/Input.d.mts +1 -1
  282. package/dist/components/Input.d.ts +1 -1
  283. package/dist/components/Input.js +3 -2
  284. package/dist/components/Input.mjs +2 -1
  285. package/dist/components/InputNumber.d.mts +21 -1
  286. package/dist/components/InputNumber.d.ts +21 -1
  287. package/dist/components/InputNumber.js +3 -2
  288. package/dist/components/InputNumber.mjs +2 -1
  289. package/dist/components/Kanban.d.mts +21 -1
  290. package/dist/components/Kanban.d.ts +21 -1
  291. package/dist/components/Kanban.js +3 -3
  292. package/dist/components/Kanban.mjs +2 -2
  293. package/dist/components/LineChart.js +4 -4
  294. package/dist/components/LineChart.mjs +3 -3
  295. package/dist/components/List.js +3 -3
  296. package/dist/components/List.mjs +2 -2
  297. package/dist/components/MarkdownEditor.js +2 -2
  298. package/dist/components/MarkdownEditor.mjs +1 -1
  299. package/dist/components/Message.d.mts +11 -1
  300. package/dist/components/Message.d.ts +11 -1
  301. package/dist/components/Message.js +2 -2
  302. package/dist/components/Message.mjs +1 -1
  303. package/dist/components/NotificationCenter.js +5 -5
  304. package/dist/components/NotificationCenter.mjs +4 -4
  305. package/dist/components/NumberKeyboard.d.mts +2 -2
  306. package/dist/components/NumberKeyboard.d.ts +2 -2
  307. package/dist/components/OrgChart.d.mts +1 -1
  308. package/dist/components/OrgChart.d.ts +1 -1
  309. package/dist/components/PieChart.d.mts +9 -0
  310. package/dist/components/PieChart.d.ts +9 -0
  311. package/dist/components/PieChart.js +4 -4
  312. package/dist/components/PieChart.mjs +3 -3
  313. package/dist/components/Progress.d.mts +1 -1
  314. package/dist/components/Progress.d.ts +1 -1
  315. package/dist/components/QRCode.d.mts +1 -1
  316. package/dist/components/QRCode.d.ts +1 -1
  317. package/dist/components/QRCode.js +2 -2
  318. package/dist/components/QRCode.mjs +1 -1
  319. package/dist/components/RadarChart.js +4 -4
  320. package/dist/components/RadarChart.mjs +3 -3
  321. package/dist/components/Rate.js +2 -2
  322. package/dist/components/Rate.mjs +1 -1
  323. package/dist/components/Resizable.js +2 -2
  324. package/dist/components/Resizable.mjs +1 -1
  325. package/dist/components/Result.d.mts +1 -1
  326. package/dist/components/Result.d.ts +1 -1
  327. package/dist/components/Result.js +2 -2
  328. package/dist/components/Result.mjs +1 -1
  329. package/dist/components/RichTextEditor.js +2 -2
  330. package/dist/components/RichTextEditor.mjs +1 -1
  331. package/dist/components/ScatterChart.js +4 -4
  332. package/dist/components/ScatterChart.mjs +3 -3
  333. package/dist/components/ScrollSpy.d.mts +1 -1
  334. package/dist/components/ScrollSpy.d.ts +1 -1
  335. package/dist/components/Segmented.js +2 -2
  336. package/dist/components/Segmented.mjs +1 -1
  337. package/dist/components/Select.js +2 -2
  338. package/dist/components/Select.mjs +1 -1
  339. package/dist/components/Signature.d.mts +1 -1
  340. package/dist/components/Signature.d.ts +1 -1
  341. package/dist/components/Slider.js +2 -2
  342. package/dist/components/Slider.mjs +1 -1
  343. package/dist/components/Steps.d.mts +2 -2
  344. package/dist/components/Steps.d.ts +2 -2
  345. package/dist/components/Steps.js +2 -2
  346. package/dist/components/Steps.mjs +1 -1
  347. package/dist/components/StepsItem.js +3 -3
  348. package/dist/components/StepsItem.mjs +1 -1
  349. package/dist/components/SunburstChart.js +4 -4
  350. package/dist/components/SunburstChart.mjs +3 -3
  351. package/dist/components/TabPane.js +3 -3
  352. package/dist/components/TabPane.mjs +1 -1
  353. package/dist/components/Table.js +4 -4
  354. package/dist/components/Table.mjs +3 -3
  355. package/dist/components/Tabs.d.mts +2 -0
  356. package/dist/components/Tabs.d.ts +2 -0
  357. package/dist/components/Tabs.js +2 -2
  358. package/dist/components/Tabs.mjs +1 -1
  359. package/dist/components/Tag.d.mts +13 -3
  360. package/dist/components/Tag.d.ts +13 -3
  361. package/dist/components/Tag.js +3 -2
  362. package/dist/components/Tag.mjs +2 -1
  363. package/dist/components/TaskBoard.d.mts +21 -1
  364. package/dist/components/TaskBoard.d.ts +21 -1
  365. package/dist/components/TaskBoard.js +2 -2
  366. package/dist/components/TaskBoard.mjs +1 -1
  367. package/dist/components/Textarea.js +3 -2
  368. package/dist/components/Textarea.mjs +2 -1
  369. package/dist/components/TimePicker.js +2 -2
  370. package/dist/components/TimePicker.mjs +1 -1
  371. package/dist/components/Timeline.js +2 -2
  372. package/dist/components/Timeline.mjs +1 -1
  373. package/dist/components/Tour.d.mts +1 -3
  374. package/dist/components/Tour.d.ts +1 -3
  375. package/dist/components/Tour.js +3 -2
  376. package/dist/components/Tour.mjs +2 -1
  377. package/dist/components/Transfer.d.mts +19 -2
  378. package/dist/components/Transfer.d.ts +19 -2
  379. package/dist/components/Transfer.js +2 -2
  380. package/dist/components/Transfer.mjs +1 -1
  381. package/dist/components/Tree.d.mts +2 -2
  382. package/dist/components/Tree.d.ts +2 -2
  383. package/dist/components/Tree.js +3 -3
  384. package/dist/components/Tree.mjs +2 -2
  385. package/dist/components/TreeMapChart.js +4 -4
  386. package/dist/components/TreeMapChart.mjs +3 -3
  387. package/dist/components/Upload.d.mts +1 -1
  388. package/dist/components/Upload.d.ts +1 -1
  389. package/dist/components/Upload.js +2 -2
  390. package/dist/components/Upload.mjs +1 -1
  391. package/dist/components/VirtualList.d.mts +11 -0
  392. package/dist/components/VirtualList.d.ts +11 -0
  393. package/dist/components/VirtualList.js +2 -2
  394. package/dist/components/VirtualList.mjs +1 -1
  395. package/dist/components/VirtualTable.d.mts +30 -0
  396. package/dist/components/VirtualTable.d.ts +30 -0
  397. package/dist/components/VirtualTable.js +2 -2
  398. package/dist/components/VirtualTable.mjs +1 -1
  399. package/dist/index.d.mts +134 -134
  400. package/dist/index.d.ts +134 -134
  401. package/dist/index.js +80 -80
  402. package/dist/index.mjs +79 -79
  403. package/package.json +6 -6
  404. package/dist/chunk-DJCTERZH.js +0 -92
  405. package/dist/chunk-LD7ZJCTO.mjs +0 -167
  406. package/dist/chunk-XAQID5IO.js +0 -167
  407. package/dist/chunk-ZYCOHZCM.mjs +0 -92
@@ -1,3 +1,7 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-R6WFL6NI.mjs";
4
+
1
5
  // src/components/ImagePreview.ts
2
6
  import {
3
7
  defineComponent,
@@ -35,7 +39,9 @@ import {
35
39
  movePan,
36
40
  createPinchState,
37
41
  startPinch,
38
- movePinch
42
+ movePinch,
43
+ getImageViewerLabels,
44
+ mergeTigerLocale
39
45
  } from "@expcat/tigercat-core";
40
46
  var svgIcon = (d, cls = "w-5 h-5") => h(
41
47
  "svg",
@@ -66,10 +72,17 @@ var ImagePreview = defineComponent({
66
72
  maskClosable: { type: Boolean, default: true },
67
73
  scaleStep: { type: Number, default: 0.5 },
68
74
  minScale: { type: Number, default: 0.25 },
69
- maxScale: { type: Number, default: 5 }
75
+ maxScale: { type: Number, default: 5 },
76
+ locale: {
77
+ type: Object,
78
+ default: void 0
79
+ }
70
80
  },
71
81
  emits: ["update:open", "update:currentIndex", "scale-change"],
72
82
  setup(props, { emit }) {
83
+ const config = useTigerConfig();
84
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
85
+ const labels = computed(() => getImageViewerLabels(mergedLocale.value));
73
86
  const scale = ref(1);
74
87
  const rotation = ref(0);
75
88
  const offsetX = ref(0);
@@ -262,7 +275,7 @@ var ImagePreview = defineComponent({
262
275
  {
263
276
  class: imagePreviewCloseBtnClasses,
264
277
  onClick: handleClose,
265
- "aria-label": "Close preview",
278
+ "aria-label": labels.value.closePreviewAriaLabel,
266
279
  type: "button"
267
280
  },
268
281
  [svgIcon(previewCloseIconPath)]
@@ -273,7 +286,7 @@ var ImagePreview = defineComponent({
273
286
  {
274
287
  class: imagePreviewToolbarBtnClasses,
275
288
  onClick: handleZoomOut,
276
- "aria-label": "Zoom out",
289
+ "aria-label": labels.value.zoomOutAriaLabel,
277
290
  type: "button"
278
291
  },
279
292
  [svgIcon(zoomOutIconPath)]
@@ -283,7 +296,7 @@ var ImagePreview = defineComponent({
283
296
  {
284
297
  class: imagePreviewToolbarBtnClasses,
285
298
  onClick: handleReset,
286
- "aria-label": "Reset",
299
+ "aria-label": labels.value.resetAriaLabel,
287
300
  type: "button"
288
301
  },
289
302
  [svgIcon(resetIconPath)]
@@ -293,7 +306,7 @@ var ImagePreview = defineComponent({
293
306
  {
294
307
  class: imagePreviewToolbarBtnClasses,
295
308
  onClick: handleZoomIn,
296
- "aria-label": "Zoom in",
309
+ "aria-label": labels.value.zoomInAriaLabel,
297
310
  type: "button"
298
311
  },
299
312
  [svgIcon(zoomInIconPath)]
@@ -303,7 +316,7 @@ var ImagePreview = defineComponent({
303
316
  {
304
317
  class: imagePreviewToolbarBtnClasses,
305
318
  onClick: handleRotateLeft,
306
- "aria-label": "Rotate left",
319
+ "aria-label": labels.value.rotateLeftAriaLabel,
307
320
  type: "button"
308
321
  },
309
322
  [svgIcon(imageViewerIcons.rotateLeft)]
@@ -313,7 +326,7 @@ var ImagePreview = defineComponent({
313
326
  {
314
327
  class: imagePreviewToolbarBtnClasses,
315
328
  onClick: handleRotateRight,
316
- "aria-label": "Rotate right",
329
+ "aria-label": labels.value.rotateRightAriaLabel,
317
330
  type: "button"
318
331
  },
319
332
  [svgIcon(imageViewerIcons.rotateRight)]
@@ -326,7 +339,7 @@ var ImagePreview = defineComponent({
326
339
  class: classNames(imagePreviewNavBtnClasses, "left-4"),
327
340
  onClick: handlePrev,
328
341
  disabled: !navState.value.hasPrev,
329
- "aria-label": "Previous image",
342
+ "aria-label": labels.value.previousImageAriaLabel,
330
343
  type: "button"
331
344
  },
332
345
  [svgIcon(prevIconPath)]
@@ -337,7 +350,7 @@ var ImagePreview = defineComponent({
337
350
  class: classNames(imagePreviewNavBtnClasses, "right-4"),
338
351
  onClick: handleNext,
339
352
  disabled: !navState.value.hasNext,
340
- "aria-label": "Next image",
353
+ "aria-label": labels.value.nextImageAriaLabel,
341
354
  type: "button"
342
355
  },
343
356
  [svgIcon(nextIconPath)]
@@ -349,7 +362,7 @@ var ImagePreview = defineComponent({
349
362
  style: { zIndex: props.zIndex },
350
363
  role: "dialog",
351
364
  "aria-modal": "true",
352
- "aria-label": "Image preview",
365
+ "aria-label": labels.value.previewDialogAriaLabel,
353
366
  onClick: handleMaskClick,
354
367
  onWheel: handleWheel
355
368
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ImagePreview
3
- } from "./chunk-KY3O3FWK.mjs";
3
+ } from "./chunk-WWB7VKKH.mjs";
4
4
 
5
5
  // src/components/ImageGroup.ts
6
6
  import { defineComponent, h, ref, provide, onBeforeUnmount } from "vue";
@@ -3,13 +3,13 @@
3
3
  var _chunk2VOZFFW6js = require('./chunk-2VOZFFW6.js');
4
4
 
5
5
 
6
- var _chunkACYYQJ6Mjs = require('./chunk-ACYYQJ6M.js');
6
+ var _chunkKLOUOXNAjs = require('./chunk-KLOUOXNA.js');
7
7
 
8
8
 
9
9
  var _chunkHBFFINAIjs = require('./chunk-HBFFINAI.js');
10
10
 
11
11
 
12
- var _chunkZOUJFFG4js = require('./chunk-ZOUJFFG4.js');
12
+ var _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
13
13
 
14
14
 
15
15
  var _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
@@ -204,7 +204,7 @@ var SunburstChart = _vue.defineComponent.call(void 0, {
204
204
  }
205
205
  }
206
206
  );
207
- const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkZOUJFFG4js.ChartTooltip, {
207
+ const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
208
208
  content: tooltipContent.value,
209
209
  visible: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
210
210
  x: tooltipPosition.value.x,
@@ -215,7 +215,7 @@ var SunburstChart = _vue.defineComponent.call(void 0, {
215
215
  }
216
216
  return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
217
217
  chart,
218
- _vue.h.call(void 0, _chunkACYYQJ6Mjs.ChartLegend, {
218
+ _vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
219
219
  items: legendItems.value,
220
220
  position: props.legendPosition,
221
221
  markerSize: props.legendMarkerSize,
@@ -3,13 +3,13 @@
3
3
  var _chunk2VOZFFW6js = require('./chunk-2VOZFFW6.js');
4
4
 
5
5
 
6
- var _chunkACYYQJ6Mjs = require('./chunk-ACYYQJ6M.js');
6
+ var _chunkKLOUOXNAjs = require('./chunk-KLOUOXNA.js');
7
7
 
8
8
 
9
9
  var _chunkHBFFINAIjs = require('./chunk-HBFFINAI.js');
10
10
 
11
11
 
12
- var _chunkZOUJFFG4js = require('./chunk-ZOUJFFG4.js');
12
+ var _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
13
13
 
14
14
 
15
15
  var _chunk5PXTMXXSjs = require('./chunk-5PXTMXXS.js');
@@ -249,12 +249,16 @@ var LineChart = _vue.defineComponent.call(void 0, {
249
249
  "point-hover"
250
250
  ],
251
251
  setup(props, { emit }) {
252
+ const instance = _vue.getCurrentInstance.call(void 0, );
252
253
  const hoveredPointInfo = _vue.ref.call(void 0, null);
253
254
  const tooltipPosition = _vue.ref.call(void 0, { x: 0, y: 0 });
254
255
  const gradientPrefix = _tigercatcore.getStableChartGradientPrefix.call(void 0, "line", _vue.useId.call(void 0, ));
255
256
  const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
256
257
  const resolvedSeries = _vue.computed.call(void 0,
257
- () => _tigercatcore.resolveSeriesData.call(void 0, props.series, props.data)
258
+ () => _tigercatcore.resolveSeriesData.call(void 0, props.series, props.data, {
259
+ color: props.lineColor,
260
+ pointColor: props.pointColor
261
+ })
258
262
  );
259
263
  const {
260
264
  activeIndex,
@@ -376,12 +380,24 @@ var LineChart = _vue.defineComponent.call(void 0, {
376
380
  hoveredPointInfo.value = null;
377
381
  emit("point-hover", null, null, null);
378
382
  };
383
+ const showPointTooltipFromElement = (el, seriesIndex, pointIndex) => {
384
+ if (!props.hoverable) return;
385
+ const rect = el.getBoundingClientRect();
386
+ hoveredPointInfo.value = { seriesIndex, pointIndex };
387
+ tooltipPosition.value = { x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 };
388
+ emit(
389
+ "point-hover",
390
+ seriesIndex,
391
+ pointIndex,
392
+ _optionalChain([resolvedSeries, 'access', _5 => _5.value, 'access', _6 => _6[seriesIndex], 'optionalAccess', _7 => _7.data, 'access', _8 => _8[pointIndex]])
393
+ );
394
+ };
379
395
  const handlePointClick = (seriesIndex, pointIndex) => {
380
396
  emit(
381
397
  "point-click",
382
398
  seriesIndex,
383
399
  pointIndex,
384
- _optionalChain([resolvedSeries, 'access', _5 => _5.value, 'access', _6 => _6[seriesIndex], 'optionalAccess', _7 => _7.data, 'access', _8 => _8[pointIndex]])
400
+ _optionalChain([resolvedSeries, 'access', _9 => _9.value, 'access', _10 => _10[seriesIndex], 'optionalAccess', _11 => _11.data, 'access', _12 => _12[pointIndex]])
385
401
  );
386
402
  handleSeriesSelect(seriesIndex);
387
403
  };
@@ -392,6 +408,7 @@ var LineChart = _vue.defineComponent.call(void 0, {
392
408
  handleSeriesSelect(seriesIndex);
393
409
  };
394
410
  return () => {
411
+ const pointClickable = props.selectable || typeof _optionalChain([instance, 'optionalAccess', _13 => _13.vnode, 'access', _14 => _14.props, 'optionalAccess', _15 => _15.onPointClick]) === "function";
395
412
  const chart = _vue.h.call(void 0,
396
413
  _chunkUHVUKLHFjs.ChartCanvas,
397
414
  {
@@ -585,8 +602,10 @@ var LineChart = _vue.defineComponent.call(void 0, {
585
602
  }),
586
603
  // Data points
587
604
  sd.showPoints ? sd.points.map((point) => {
588
- const isHovered = _optionalChain([hoveredPointInfo, 'access', _9 => _9.value, 'optionalAccess', _10 => _10.seriesIndex]) === sd.seriesIndex && _optionalChain([hoveredPointInfo, 'access', _11 => _11.value, 'optionalAccess', _12 => _12.pointIndex]) === point.pointIndex;
605
+ const isHovered = _optionalChain([hoveredPointInfo, 'access', _16 => _16.value, 'optionalAccess', _17 => _17.seriesIndex]) === sd.seriesIndex && _optionalChain([hoveredPointInfo, 'access', _18 => _18.value, 'optionalAccess', _19 => _19.pointIndex]) === point.pointIndex;
589
606
  const hoverSize = sd.pointSize + 2;
607
+ const datum = _optionalChain([resolvedSeries, 'access', _20 => _20.value, 'access', _21 => _21[sd.seriesIndex], 'optionalAccess', _22 => _22.data, 'optionalAccess', _23 => _23[point.pointIndex]]);
608
+ const pointInteractive = props.hoverable || pointClickable;
590
609
  return _vue.h.call(void 0, "circle", {
591
610
  key: `point-${sd.seriesKey}-${point.pointIndex}`,
592
611
  cx: point.x,
@@ -595,17 +614,46 @@ var LineChart = _vue.defineComponent.call(void 0, {
595
614
  fill: sd.pointHollow ? "white" : props.pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
596
615
  stroke: sd.pointHollow ? sd.pointColor : "none",
597
616
  "stroke-width": sd.pointHollow ? 2 : 0,
598
- class: _tigercatcore.linePointTransitionClasses,
617
+ class: _tigercatcore.classNames.call(void 0,
618
+ _tigercatcore.linePointTransitionClasses,
619
+ pointInteractive && "cursor-pointer"
620
+ ),
599
621
  style: isHovered ? `filter: drop-shadow(0 0 4px ${sd.color})` : void 0,
622
+ role: pointInteractive ? "button" : "img",
623
+ "aria-label": _nullishCoalesce(_optionalChain([datum, 'optionalAccess', _24 => _24.label]), () => ( String(_nullishCoalesce(_optionalChain([datum, 'optionalAccess', _25 => _25.y]), () => ( ""))))),
624
+ tabindex: pointInteractive ? 0 : void 0,
600
625
  "data-point-index": point.pointIndex,
601
626
  "data-series-key": sd.seriesKey,
602
- onMouseenter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
603
- onMousemove: handlePointMouseMove,
604
- onMouseleave: handlePointMouseLeave,
605
- onClick: (e) => {
627
+ onMouseenter: props.hoverable ? (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e) : void 0,
628
+ onMousemove: props.hoverable ? handlePointMouseMove : void 0,
629
+ onMouseleave: props.hoverable ? handlePointMouseLeave : void 0,
630
+ onClick: pointClickable ? (e) => {
606
631
  e.stopPropagation();
607
632
  handlePointClick(sd.seriesIndex, point.pointIndex);
608
- }
633
+ } : void 0,
634
+ onFocus: props.hoverable ? (e) => showPointTooltipFromElement(
635
+ e.currentTarget,
636
+ sd.seriesIndex,
637
+ point.pointIndex
638
+ ) : void 0,
639
+ onBlur: props.hoverable ? handlePointMouseLeave : void 0,
640
+ onKeydown: pointInteractive ? (e) => {
641
+ if (e.key === "Enter" || e.key === " ") {
642
+ e.preventDefault();
643
+ e.stopPropagation();
644
+ if (pointClickable) {
645
+ handlePointClick(sd.seriesIndex, point.pointIndex);
646
+ } else {
647
+ showPointTooltipFromElement(
648
+ e.currentTarget,
649
+ sd.seriesIndex,
650
+ point.pointIndex
651
+ );
652
+ }
653
+ } else if (e.key === "Escape" && props.hoverable) {
654
+ handlePointMouseLeave();
655
+ }
656
+ } : void 0
609
657
  });
610
658
  }) : null
611
659
  ]
@@ -615,7 +663,7 @@ var LineChart = _vue.defineComponent.call(void 0, {
615
663
  ].filter(Boolean)
616
664
  }
617
665
  );
618
- const tooltip = props.showTooltip ? _vue.h.call(void 0, _chunkZOUJFFG4js.ChartTooltip, {
666
+ const tooltip = props.showTooltip ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
619
667
  content: tooltipContent.value,
620
668
  visible: hoveredPointInfo.value !== null && tooltipContent.value !== "",
621
669
  x: tooltipPosition.value.x,
@@ -626,7 +674,7 @@ var LineChart = _vue.defineComponent.call(void 0, {
626
674
  }
627
675
  return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
628
676
  chart,
629
- _vue.h.call(void 0, _chunkACYYQJ6Mjs.ChartLegend, {
677
+ _vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
630
678
  items: legendItems.value,
631
679
  position: props.legendPosition,
632
680
  markerSize: props.legendMarkerSize,
@@ -0,0 +1,142 @@
1
+ // src/components/Segmented.ts
2
+ import { defineComponent, h } from "vue";
3
+ import {
4
+ getSegmentedContainerClasses,
5
+ getSegmentedContainerStyle,
6
+ getSegmentedIndicatorClasses,
7
+ getSegmentedIndicatorStyle,
8
+ getSegmentedOptionClasses,
9
+ classNames,
10
+ coerceClassValue,
11
+ mergeStyleValues
12
+ } from "@expcat/tigercat-core";
13
+ var Segmented = defineComponent({
14
+ name: "TigerSegmented",
15
+ inheritAttrs: false,
16
+ props: {
17
+ modelValue: {
18
+ type: [String, Number],
19
+ default: void 0
20
+ },
21
+ options: {
22
+ type: Array,
23
+ default: () => []
24
+ },
25
+ disabled: { type: Boolean, default: false },
26
+ size: { type: String, default: "md" },
27
+ block: { type: Boolean, default: false },
28
+ className: { type: String, default: void 0 }
29
+ },
30
+ emits: ["update:modelValue", "change"],
31
+ setup(props, { emit, attrs }) {
32
+ function handleSelect(option) {
33
+ if (option.disabled || props.disabled) return;
34
+ if (option.value === props.modelValue) return;
35
+ emit("update:modelValue", option.value);
36
+ emit("change", option.value);
37
+ }
38
+ function focusOption(container, index) {
39
+ const els = container?.querySelectorAll('[role="radio"]');
40
+ els?.[index]?.focus();
41
+ }
42
+ function handleKeydown(e, index) {
43
+ if (props.disabled) return;
44
+ const enabledIdxs = props.options.reduce((acc, opt, i) => {
45
+ if (!opt.disabled) acc.push(i);
46
+ return acc;
47
+ }, []);
48
+ if (enabledIdxs.length === 0) return;
49
+ if (e.key === "Enter" || e.key === " ") {
50
+ e.preventDefault();
51
+ handleSelect(props.options[index]);
52
+ return;
53
+ }
54
+ const pos = enabledIdxs.indexOf(index);
55
+ let target = null;
56
+ switch (e.key) {
57
+ case "ArrowRight":
58
+ case "ArrowDown":
59
+ target = enabledIdxs[(pos + 1 + enabledIdxs.length) % enabledIdxs.length];
60
+ break;
61
+ case "ArrowLeft":
62
+ case "ArrowUp":
63
+ target = enabledIdxs[(pos - 1 + enabledIdxs.length) % enabledIdxs.length];
64
+ break;
65
+ case "Home":
66
+ target = enabledIdxs[0];
67
+ break;
68
+ case "End":
69
+ target = enabledIdxs[enabledIdxs.length - 1];
70
+ break;
71
+ default:
72
+ return;
73
+ }
74
+ if (target == null) return;
75
+ e.preventDefault();
76
+ const container = e.currentTarget.closest('[role="radiogroup"]');
77
+ focusOption(container, target);
78
+ handleSelect(props.options[target]);
79
+ }
80
+ return () => {
81
+ const selectedIndex = props.options.findIndex((opt) => opt.value === props.modelValue);
82
+ const firstEnabledIndex = props.options.findIndex((opt) => !opt.disabled);
83
+ const rovingIndex = selectedIndex >= 0 ? selectedIndex : firstEnabledIndex;
84
+ return h(
85
+ "div",
86
+ {
87
+ ...attrs,
88
+ class: classNames(
89
+ getSegmentedContainerClasses(props.size, props.block),
90
+ props.className,
91
+ coerceClassValue(attrs.class)
92
+ ),
93
+ style: mergeStyleValues(
94
+ attrs.style,
95
+ getSegmentedContainerStyle(props.options.length)
96
+ ),
97
+ role: "radiogroup",
98
+ "aria-disabled": props.disabled || void 0
99
+ },
100
+ [
101
+ h("div", {
102
+ "data-tiger-segmented-indicator": "true",
103
+ "aria-hidden": "true",
104
+ class: getSegmentedIndicatorClasses(props.size),
105
+ style: getSegmentedIndicatorStyle(
106
+ props.options.findIndex((opt) => opt.value === props.modelValue),
107
+ props.options.length,
108
+ props.size
109
+ )
110
+ }),
111
+ ...props.options.map((opt, index) => {
112
+ const selected = opt.value === props.modelValue;
113
+ const isDisabled = !!opt.disabled || props.disabled;
114
+ return h(
115
+ "label",
116
+ {
117
+ key: opt.value,
118
+ class: classNames(
119
+ getSegmentedOptionClasses(props.size, selected, isDisabled),
120
+ props.block ? "flex-1 text-center" : ""
121
+ ),
122
+ role: "radio",
123
+ "aria-checked": selected,
124
+ "aria-disabled": isDisabled,
125
+ tabindex: isDisabled ? -1 : index === rovingIndex ? 0 : -1,
126
+ onClick: () => handleSelect(opt),
127
+ onKeydown: (e) => handleKeydown(e, index)
128
+ },
129
+ [h("span", null, opt.label)]
130
+ );
131
+ })
132
+ ]
133
+ );
134
+ };
135
+ }
136
+ });
137
+ var Segmented_default = Segmented;
138
+
139
+ export {
140
+ Segmented,
141
+ Segmented_default
142
+ };
@@ -7,6 +7,8 @@
7
7
 
8
8
 
9
9
 
10
+
11
+
10
12
  var _vue = require('vue');
11
13
 
12
14
 
@@ -202,9 +204,16 @@ var Breadcrumb = _vue.defineComponent.call(void 0, {
202
204
  const containerClasses = _vue.computed.call(void 0, () => {
203
205
  return _tigercatcore.classNames.call(void 0, _tigercatcore.breadcrumbContainerClasses, extraContent.value && "w-full", props.className);
204
206
  });
205
- _vue.provide.call(void 0, BreadcrumbContextKey, {
207
+ const breadcrumbContext = _vue.reactive.call(void 0, {
206
208
  separator: props.separator
207
209
  });
210
+ _vue.watch.call(void 0,
211
+ () => props.separator,
212
+ (separator) => {
213
+ breadcrumbContext.separator = separator;
214
+ }
215
+ );
216
+ _vue.provide.call(void 0, BreadcrumbContextKey, breadcrumbContext);
208
217
  const renderItems = () => {
209
218
  const rawChildren = _optionalChain([slots, 'access', _3 => _3.default, 'optionalCall', _4 => _4()]) || [];
210
219
  const items = [];
@@ -19,6 +19,7 @@ var _vue = require('vue');
19
19
 
20
20
 
21
21
 
22
+
22
23
  var _tigercatcore = require('@expcat/tigercat-core');
23
24
  var DefaultIcon = _vue.h.call(void 0,
24
25
  "svg",
@@ -51,7 +52,7 @@ var BackTop = _vue.defineComponent.call(void 0, {
51
52
  */
52
53
  target: {
53
54
  type: Function,
54
- default: () => window
55
+ default: () => _tigercatcore.isBrowser.call(void 0, ) ? window : null
55
56
  },
56
57
  /**
57
58
  * Use immediate scroll when set to 0; positive values use native smooth scrolling
@@ -81,7 +82,8 @@ var BackTop = _vue.defineComponent.call(void 0, {
81
82
  emit("click", event);
82
83
  };
83
84
  _vue.onMounted.call(void 0, () => {
84
- targetElement.value = _nullishCoalesce(props.target(), () => ( window));
85
+ targetElement.value = _nullishCoalesce(props.target(), () => ( (_tigercatcore.isBrowser.call(void 0, ) ? window : null)));
86
+ if (!targetElement.value) return;
85
87
  visibilityController = _tigercatcore.createBackTopVisibilityController.call(void 0, {
86
88
  target: targetElement.value,
87
89
  getVisibilityHeight: () => props.visibilityHeight,
@@ -101,7 +103,7 @@ var BackTop = _vue.defineComponent.call(void 0, {
101
103
  _optionalChain([visibilityController, 'optionalAccess', _ => _.cancel, 'call', _2 => _2()]);
102
104
  });
103
105
  const buttonClasses = _vue.computed.call(void 0, () => {
104
- const target = _nullishCoalesce(targetElement.value, () => ( props.target()));
106
+ const target = _nullishCoalesce(targetElement.value, () => ( (_tigercatcore.isBrowser.call(void 0, ) ? props.target() : null)));
105
107
  const isWindowTarget = !target || target === window;
106
108
  const positionClasses = isWindowTarget ? _tigercatcore.backTopButtonClasses : _tigercatcore.backTopContainerClasses;
107
109
  return _tigercatcore.classNames.call(void 0,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AVATAR_GROUP_INJECTION_KEY
3
- } from "./chunk-W6ZFHHD3.mjs";
3
+ } from "./chunk-GZWZP5AL.mjs";
4
4
 
5
5
  // src/components/Avatar.ts
6
6
  import { defineComponent, computed, h, ref, inject } from "vue";
@@ -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 _chunkX6FG4RPFjs = require('./chunk-X6FG4RPF.js');
3
+ var _chunkWF7KVMBYjs = require('./chunk-WF7KVMBY.js');
4
4
 
5
5
 
6
6
  var _chunkQOMWROWEjs = require('./chunk-QOMWROWE.js');
@@ -223,7 +223,7 @@ var Image = _vue.defineComponent.call(void 0, {
223
223
  onError: handleError
224
224
  });
225
225
  }
226
- const previewEl = !group && previewVisible.value && props.src ? _vue.h.call(void 0, _chunkX6FG4RPFjs.ImagePreview, {
226
+ const previewEl = !group && previewVisible.value && props.src ? _vue.h.call(void 0, _chunkWF7KVMBYjs.ImagePreview, {
227
227
  open: previewVisible.value,
228
228
  images: [props.src],
229
229
  currentIndex: 0,
@@ -1,4 +1,18 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/components/InputNumber.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 _chunkDYSLYJ2Wjs = require('./chunk-DYSLYJ2W.js');
4
+
5
+ // src/components/InputNumber.ts
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
2
16
  var _vue = require('vue');
3
17
 
4
18
 
@@ -31,6 +45,10 @@ var InputNumber = _vue.defineComponent.call(void 0, {
31
45
  modelValue: {
32
46
  type: [Number, null]
33
47
  },
48
+ defaultValue: {
49
+ type: [Number, null],
50
+ default: void 0
51
+ },
34
52
  size: {
35
53
  type: String,
36
54
  default: "md"
@@ -87,10 +105,20 @@ var InputNumber = _vue.defineComponent.call(void 0, {
87
105
  autoFocus: {
88
106
  type: Boolean,
89
107
  default: false
108
+ },
109
+ className: {
110
+ type: String,
111
+ default: void 0
90
112
  }
91
113
  },
92
114
  emits: ["update:modelValue", "change", "focus", "blur"],
93
115
  setup(props, { emit, attrs }) {
116
+ const instance = _vue.getCurrentInstance.call(void 0, );
117
+ const inputGroup = _vue.inject.call(void 0, _chunkDYSLYJ2Wjs.INPUT_GROUP_INJECTION_KEY, null);
118
+ const effectiveSize = _vue.computed.call(void 0, () => {
119
+ const hasOwnSize = Object.prototype.hasOwnProperty.call(_nullishCoalesce(_optionalChain([instance, 'optionalAccess', _ => _.vnode, 'access', _2 => _2.props]), () => ( {})), "size");
120
+ return hasOwnSize ? props.size : _nullishCoalesce(_optionalChain([inputGroup, 'optionalAccess', _3 => _3.size]), () => ( props.size));
121
+ });
94
122
  const inputRef = _vue.ref.call(void 0, null);
95
123
  const focused = _vue.ref.call(void 0, false);
96
124
  const repeatController = _tigercatcore.createRafRepeatActionController.call(void 0, );
@@ -116,10 +144,13 @@ var InputNumber = _vue.defineComponent.call(void 0, {
116
144
  { immediate: true }
117
145
  );
118
146
  const isControlled = _vue.computed.call(void 0, () => props.modelValue !== void 0);
119
- const internalValue = _vue.ref.call(void 0, _nullishCoalesce(props.modelValue, () => ( null)));
147
+ const internalValue = _vue.ref.call(void 0, _nullishCoalesce(_nullishCoalesce(props.modelValue, () => ( props.defaultValue)), () => ( null)));
120
148
  const currentValue = _vue.computed.call(void 0,
121
149
  () => isControlled.value ? _nullishCoalesce(props.modelValue, () => ( null)) : internalValue.value
122
150
  );
151
+ if (!isControlled.value && internalValue.value !== null) {
152
+ displayValue.value = toDisplayValue(internalValue.value);
153
+ }
123
154
  function commitValue(val) {
124
155
  let finalVal = val;
125
156
  if (finalVal !== null) {
@@ -212,14 +243,15 @@ var InputNumber = _vue.defineComponent.call(void 0, {
212
243
  () => _tigercatcore.classNames.call(void 0,
213
244
  _tigercatcore.getInputNumberWrapperClasses.call(void 0, props.disabled),
214
245
  _tigercatcore.getInputNumberStatusClasses.call(void 0, props.status),
215
- _tigercatcore.getInputNumberSizeClasses.call(void 0, props.size),
246
+ _tigercatcore.getInputNumberSizeClasses.call(void 0, effectiveSize.value),
216
247
  focused.value && `ring-2 ${_tigercatcore.getInputNumberFocusRingColor.call(void 0, props.status)}`,
248
+ props.className,
217
249
  _tigercatcore.coerceClassValue.call(void 0, attrs.class)
218
250
  )
219
251
  );
220
252
  const inputClasses = _vue.computed.call(void 0,
221
253
  () => _tigercatcore.getInputNumberInputClasses.call(void 0,
222
- props.size,
254
+ effectiveSize.value,
223
255
  props.controls && props.controlsPosition === "right",
224
256
  props.controls && props.controlsPosition === "both"
225
257
  )