@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
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-R6WFL6NI.mjs";
4
4
 
5
5
  // src/components/FileManager.ts
6
- import { defineComponent, h, ref, computed } from "vue";
6
+ import { defineComponent, h, ref, computed, nextTick } from "vue";
7
7
  import {
8
8
  classNames,
9
9
  coerceClassValue,
@@ -14,7 +14,9 @@ import {
14
14
  resolveFileOpen,
15
15
  sliceBreadcrumbPath,
16
16
  toFileDragItem,
17
+ applyFileDragReorder,
17
18
  formatFileSizeLabel,
19
+ getFileManagerLabels,
18
20
  fileManagerToolbarClasses,
19
21
  fileManagerBreadcrumbClasses,
20
22
  fileManagerBreadcrumbItemClasses,
@@ -43,6 +45,10 @@ var FileManager = defineComponent({
43
45
  default: () => []
44
46
  },
45
47
  multiple: { type: Boolean, default: false },
48
+ columns: {
49
+ type: Array,
50
+ default: void 0
51
+ },
46
52
  sortField: {
47
53
  type: String,
48
54
  default: "name"
@@ -70,12 +76,48 @@ var FileManager = defineComponent({
70
76
  "navigate",
71
77
  "update:currentPath",
72
78
  "update:searchText",
73
- "update:selectedKeys"
79
+ "update:selectedKeys",
80
+ "update:files",
81
+ "reorder"
74
82
  ],
75
83
  setup(props, { emit, attrs }) {
76
84
  const config = useTigerConfig();
77
85
  const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
86
+ const labels = computed(() => getFileManagerLabels(mergedLocale.value));
78
87
  const localSearch = ref(props.searchText);
88
+ const focusedIndex = ref(0);
89
+ const contentRef = ref(null);
90
+ let dragFromIndex = null;
91
+ function handleDragStart(event, item, index) {
92
+ if (!props.draggable || item.disabled) return;
93
+ dragFromIndex = index;
94
+ if (event.dataTransfer) {
95
+ event.dataTransfer.effectAllowed = "move";
96
+ event.dataTransfer.setData("text/plain", String(toFileDragItem(item, index).id));
97
+ }
98
+ }
99
+ function handleDragOver(event) {
100
+ if (!props.draggable || dragFromIndex === null) return;
101
+ event.preventDefault();
102
+ if (event.dataTransfer) event.dataTransfer.dropEffect = "move";
103
+ }
104
+ function handleDrop(event, toIndex) {
105
+ if (!props.draggable) return;
106
+ const fromIndex = dragFromIndex;
107
+ dragFromIndex = null;
108
+ if (fromIndex === null || fromIndex === toIndex) return;
109
+ event.preventDefault();
110
+ const items = model.value.processedItems;
111
+ const reordered = applyFileDragReorder(items, {
112
+ item: toFileDragItem(items[fromIndex], fromIndex),
113
+ fromIndex,
114
+ toIndex,
115
+ fromContainerId: "",
116
+ toContainerId: ""
117
+ });
118
+ emit("reorder", reordered, fromIndex, toIndex);
119
+ emit("update:files", reordered);
120
+ }
79
121
  const model = computed(
80
122
  () => deriveFileManagerModel({
81
123
  files: props.files,
@@ -111,6 +153,80 @@ var FileManager = defineComponent({
111
153
  emit("update:currentPath", newPath);
112
154
  emit("navigate", newPath);
113
155
  }
156
+ function getFirstEnabledIndex() {
157
+ return model.value.processedItems.findIndex((item) => !item.disabled);
158
+ }
159
+ function getLastEnabledIndex() {
160
+ for (let index = model.value.processedItems.length - 1; index >= 0; index -= 1) {
161
+ if (!model.value.processedItems[index]?.disabled) {
162
+ return index;
163
+ }
164
+ }
165
+ return -1;
166
+ }
167
+ function getFocusedItemIndex() {
168
+ return focusedIndex.value >= 0 && !model.value.processedItems[focusedIndex.value]?.disabled ? focusedIndex.value : getFirstEnabledIndex();
169
+ }
170
+ function focusItemAt(index) {
171
+ nextTick(() => {
172
+ contentRef.value?.querySelector(`[data-option-index="${index}"]`)?.focus();
173
+ });
174
+ }
175
+ function moveFocus(current, direction) {
176
+ if (model.value.processedItems.length === 0) return;
177
+ let next = current;
178
+ for (let i = 0; i < model.value.processedItems.length; i += 1) {
179
+ next = (next + direction + model.value.processedItems.length) % model.value.processedItems.length;
180
+ if (!model.value.processedItems[next]?.disabled) {
181
+ focusedIndex.value = next;
182
+ focusItemAt(next);
183
+ return;
184
+ }
185
+ }
186
+ }
187
+ function handleItemKeydown(event, item, index) {
188
+ switch (event.key) {
189
+ case "ArrowDown":
190
+ case "ArrowRight":
191
+ event.preventDefault();
192
+ moveFocus(index, 1);
193
+ return;
194
+ case "ArrowUp":
195
+ case "ArrowLeft":
196
+ event.preventDefault();
197
+ moveFocus(index, -1);
198
+ return;
199
+ case "Home": {
200
+ event.preventDefault();
201
+ const first = getFirstEnabledIndex();
202
+ if (first >= 0) {
203
+ focusedIndex.value = first;
204
+ focusItemAt(first);
205
+ }
206
+ return;
207
+ }
208
+ case "End": {
209
+ event.preventDefault();
210
+ const last = getLastEnabledIndex();
211
+ if (last >= 0) {
212
+ focusedIndex.value = last;
213
+ focusItemAt(last);
214
+ }
215
+ return;
216
+ }
217
+ case " ":
218
+ event.preventDefault();
219
+ handleSelect(item);
220
+ return;
221
+ case "Enter":
222
+ event.preventDefault();
223
+ handleSelect(item);
224
+ handleOpen(item);
225
+ return;
226
+ default:
227
+ return;
228
+ }
229
+ }
114
230
  return () => {
115
231
  const breadcrumbItems = [
116
232
  h(
@@ -119,7 +235,7 @@ var FileManager = defineComponent({
119
235
  class: fileManagerBreadcrumbItemClasses,
120
236
  onClick: () => navigateToBreadcrumb(0)
121
237
  },
122
- "Root"
238
+ labels.value.rootText
123
239
  ),
124
240
  ...props.currentPath.flatMap((seg, i) => [
125
241
  h("span", { class: fileManagerBreadcrumbSeparatorClasses }, "/"),
@@ -165,10 +281,13 @@ var FileManager = defineComponent({
165
281
  const renderItem = (item, index) => {
166
282
  const isSelected = model.value.selectedSet.has(item.key);
167
283
  const itemClass = getFileItemClasses(props.viewMode, isSelected);
284
+ const focusedItem = getFocusedItemIndex();
168
285
  const nameEl = h("span", { class: fileManagerItemNameClasses }, item.name);
286
+ const metaColumns = props.columns ?? ["size", "modified"];
169
287
  const metaEls = props.viewMode === "list" ? [
170
- item.size !== void 0 ? h("span", { class: fileManagerItemMetaClasses }, formatFileSizeLabel(item.size)) : null,
171
- item.modified ? h("span", { class: fileManagerItemMetaClasses }, item.modified) : null
288
+ metaColumns.includes("type") ? h("span", { class: fileManagerItemMetaClasses }, item.extension ?? item.type) : null,
289
+ metaColumns.includes("size") && item.size !== void 0 ? h("span", { class: fileManagerItemMetaClasses }, formatFileSizeLabel(item.size)) : null,
290
+ metaColumns.includes("modified") && item.modified ? h("span", { class: fileManagerItemMetaClasses }, item.modified) : null
172
291
  ] : [];
173
292
  const dragItem = props.draggable && !item.disabled ? toFileDragItem(item, index) : void 0;
174
293
  return h(
@@ -178,11 +297,20 @@ var FileManager = defineComponent({
178
297
  class: itemClass,
179
298
  role: "option",
180
299
  "aria-selected": isSelected,
300
+ tabindex: !item.disabled && index === focusedItem ? 0 : -1,
301
+ "data-option-index": index,
181
302
  "data-disabled": item.disabled || void 0,
303
+ onFocus: () => {
304
+ if (!item.disabled) focusedIndex.value = index;
305
+ },
306
+ onKeydown: (event) => handleItemKeydown(event, item, index),
182
307
  onClick: () => handleSelect(item),
183
308
  onDblclick: () => handleOpen(item),
184
309
  draggable: props.draggable && !item.disabled,
185
- "data-drag-id": dragItem?.id
310
+ "data-drag-id": dragItem?.id,
311
+ onDragstart: (event) => handleDragStart(event, item, index),
312
+ onDragover: handleDragOver,
313
+ onDrop: (event) => handleDrop(event, index)
186
314
  },
187
315
  [fileIcon(item), nameEl, ...metaEls]
188
316
  );
@@ -190,7 +318,12 @@ var FileManager = defineComponent({
190
318
  const contentClass = props.viewMode === "grid" ? `${fileManagerContentClasses} grid grid-cols-4 gap-2` : fileManagerContentClasses;
191
319
  const content = model.value.processedItems.length > 0 ? h(
192
320
  "div",
193
- { class: contentClass, role: "listbox", "aria-multiselectable": props.multiple },
321
+ {
322
+ ref: contentRef,
323
+ class: contentClass,
324
+ role: "listbox",
325
+ "aria-multiselectable": props.multiple
326
+ },
194
327
  model.value.processedItems.map(renderItem)
195
328
  ) : h(
196
329
  "div",
@@ -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 _chunkUWZSTI3Ejs = require('./chunk-UWZSTI3E.js');
3
+ var _chunkW34IV4ECjs = require('./chunk-W34IV4EC.js');
4
4
 
5
5
  // src/components/DropdownItem.ts
6
6
  var _vue = require('vue');
@@ -47,7 +47,7 @@ var DropdownItem = _vue.defineComponent.call(void 0, {
47
47
  const attrsRecord = attrs;
48
48
  const attrsClass = attrsRecord.class;
49
49
  const attrsStyle = attrsRecord.style;
50
- const context = _vue.inject.call(void 0, _chunkUWZSTI3Ejs.DropdownContextKey, null);
50
+ const context = _vue.inject.call(void 0, _chunkW34IV4ECjs.DropdownContextKey, null);
51
51
  const handleClick = (event) => {
52
52
  if (props.disabled) {
53
53
  event.preventDefault();
@@ -49,6 +49,17 @@ var QRCode = defineComponent({
49
49
  );
50
50
  const mSize = moduleSize.value;
51
51
  const modules = matrix.value;
52
+ const ariaLabel = resolveLocaleText("QR Code", mergedLocale.value?.qrcode?.ariaLabel);
53
+ const expiredText = resolveLocaleText(
54
+ "QR code expired",
55
+ mergedLocale.value?.qrcode?.expiredText
56
+ );
57
+ const refreshText = resolveLocaleText("Refresh", mergedLocale.value?.qrcode?.refreshText);
58
+ const loadingText = resolveLocaleText(
59
+ "Loading...",
60
+ mergedLocale.value?.qrcode?.loadingText,
61
+ mergedLocale.value?.common?.loadingText
62
+ );
52
63
  const rects = modules.flatMap(
53
64
  (row, r) => row.map(
54
65
  (cell, c) => cell ? h("rect", {
@@ -69,7 +80,7 @@ var QRCode = defineComponent({
69
80
  viewBox: `0 0 ${props.size} ${props.size}`,
70
81
  xmlns: "http://www.w3.org/2000/svg",
71
82
  role: "img",
72
- "aria-label": "QR Code"
83
+ "aria-label": ariaLabel
73
84
  },
74
85
  [h("rect", { width: props.size, height: props.size, fill: props.bgColor }), ...rects]
75
86
  );
@@ -77,14 +88,14 @@ var QRCode = defineComponent({
77
88
  if (props.status === "expired") {
78
89
  children.push(
79
90
  h("div", { class: qrcodeOverlayClasses }, [
80
- h("span", { class: qrcodeExpiredTextClasses }, "QR code expired"),
91
+ h("span", { class: qrcodeExpiredTextClasses }, expiredText),
81
92
  h(
82
93
  "span",
83
94
  {
84
95
  class: qrcodeRefreshClasses,
85
96
  onClick: () => emit("refresh")
86
97
  },
87
- "Refresh"
98
+ refreshText
88
99
  )
89
100
  ])
90
101
  );
@@ -92,11 +103,7 @@ var QRCode = defineComponent({
92
103
  if (props.status === "loading") {
93
104
  children.push(
94
105
  h("div", { class: qrcodeOverlayClasses }, [
95
- h(
96
- "span",
97
- { class: "text-sm text-gray-500" },
98
- resolveLocaleText("Loading...", mergedLocale.value?.common?.loadingText)
99
- )
106
+ h("span", { class: "text-sm text-gray-500" }, loadingText)
100
107
  ])
101
108
  );
102
109
  }
@@ -25,6 +25,7 @@ import {
25
25
  getGestureTouchPoint,
26
26
  resolveSwipeGesture,
27
27
  isKeyActive,
28
+ getNextActiveKey,
28
29
  tabAddButtonClasses,
29
30
  tabCloseButtonClasses,
30
31
  tabContentBaseClasses
@@ -132,6 +133,7 @@ var TabPane = defineComponent({
132
133
  }
133
134
  };
134
135
  const handleClose = (event) => {
136
+ event.stopPropagation();
135
137
  if (!props.disabled) {
136
138
  tabsContext.handleTabClose(props.tabKey, event);
137
139
  }
@@ -157,10 +159,8 @@ var TabPane = defineComponent({
157
159
  return;
158
160
  }
159
161
  const tabList = event.currentTarget?.closest('[role="tablist"]');
160
- const tabButtons = Array.from(
161
- tabList?.querySelectorAll('[role="tab"]') ?? []
162
- );
163
- const enabled = tabButtons.filter((button) => !button.disabled);
162
+ const tabButtons = Array.from(tabList?.querySelectorAll('[role="tab"]') ?? []);
163
+ const enabled = tabButtons.filter((button) => button.getAttribute("aria-disabled") !== "true");
164
164
  const currentIndex = enabled.findIndex((button) => button.id === props.tabId);
165
165
  if (currentIndex === -1) {
166
166
  return;
@@ -194,17 +194,15 @@ var TabPane = defineComponent({
194
194
  return () => {
195
195
  if (props.renderMode === "tab") {
196
196
  return h(
197
- "button",
197
+ "div",
198
198
  {
199
- type: "button",
200
199
  class: tabItemClasses.value,
201
200
  role: "tab",
202
201
  id: props.tabId,
203
202
  "aria-controls": props.panelId,
204
203
  "aria-selected": isActive.value,
205
204
  "aria-disabled": props.disabled,
206
- disabled: props.disabled,
207
- tabindex: typeof props.tabIndex === "number" ? props.tabIndex : isActive.value ? 0 : -1,
205
+ tabindex: props.disabled ? -1 : typeof props.tabIndex === "number" ? props.tabIndex : isActive.value ? 0 : -1,
208
206
  "data-tiger-tabs-id": tabsContext.idBase,
209
207
  "data-tiger-tab-key": typeof props.tabKey === "number" ? `n:${props.tabKey}` : `s:${props.tabKey}`,
210
208
  onClick: handleClick,
@@ -214,9 +212,9 @@ var TabPane = defineComponent({
214
212
  props.icon && h("span", { class: "flex items-center" }, props.icon),
215
213
  h("span", props.label),
216
214
  isClosable.value && h(
217
- "span",
215
+ "button",
218
216
  {
219
- role: "button",
217
+ type: "button",
220
218
  class: tabCloseButtonClasses,
221
219
  "aria-label": `Close ${String(props.label)}`,
222
220
  tabindex: -1,
@@ -363,6 +361,7 @@ var Tabs = defineComponent({
363
361
  const idBase = `tiger-tabs-${instance?.uid ?? "0"}`;
364
362
  const internalActiveKey = ref(props.defaultActiveKey);
365
363
  const swipeStart = ref(null);
364
+ let lastTabKeys = [];
366
365
  const currentActiveKey = computed(() => {
367
366
  return props.activeKey !== void 0 ? props.activeKey : internalActiveKey.value;
368
367
  });
@@ -377,6 +376,9 @@ var Tabs = defineComponent({
377
376
  };
378
377
  const handleTabClose = (key, event) => {
379
378
  event.stopPropagation();
379
+ if (props.activeKey === void 0 && key === currentActiveKey.value) {
380
+ internalActiveKey.value = getNextActiveKey(key, currentActiveKey.value, lastTabKeys);
381
+ }
380
382
  emit("edit", { targetKey: key, action: "remove" });
381
383
  };
382
384
  const activateAdjacentTab = (direction, enabledTabKeys) => {
@@ -480,6 +482,7 @@ var Tabs = defineComponent({
480
482
  if (props.activeKey === void 0 && internalActiveKey.value === void 0 && firstTabKey !== void 0) {
481
483
  internalActiveKey.value = firstTabKey;
482
484
  }
485
+ lastTabKeys = tabKeys;
483
486
  const resolvedActiveKey = currentActiveKey.value ?? firstTabKey;
484
487
  const activeTabIndex = tabKeys.indexOf(resolvedActiveKey ?? "");
485
488
  for (const { type, props: childProps, children: childChildren } of validChildren) {
@@ -154,6 +154,7 @@ var Form = defineComponent({
154
154
  validate: (fieldName, isValid, _errorMessage) => typeof fieldName === "string" && typeof isValid === "boolean"
155
155
  },
156
156
  setup(props, { slots, emit, expose }) {
157
+ const initialValues = { ...props.model ?? {} };
157
158
  const errors = reactive([]);
158
159
  const fieldRules = reactive({});
159
160
  const fieldConditions = reactive({});
@@ -350,6 +351,13 @@ var Form = defineComponent({
350
351
  const resetFields = () => {
351
352
  validationDebouncer.cancel();
352
353
  clearValidate();
354
+ if (props.model) {
355
+ Object.keys(props.model).forEach((key) => delete props.model[key]);
356
+ Object.assign(props.model, { ...initialValues });
357
+ }
358
+ if (props.undoable) {
359
+ history.value = createFormHistory({ ...initialValues }, props.maxHistorySize);
360
+ }
353
361
  };
354
362
  const addField = (fieldName, defaultValue) => {
355
363
  if (props.model && fieldName) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Steps,
3
3
  StepsItem
4
- } from "./chunk-6Y4NWO4I.mjs";
4
+ } from "./chunk-HWL36OCD.mjs";
5
5
  import {
6
6
  Button
7
7
  } from "./chunk-YZBQ6IR7.mjs";
@@ -1,6 +1,10 @@
1
1
  // src/components/ChartTooltip.ts
2
2
  import { defineComponent, h, computed, ref, watch, Teleport } from "vue";
3
- import { classNames, getChartTooltipTransform } from "@expcat/tigercat-core";
3
+ import {
4
+ classNames,
5
+ getChartTooltipTransform,
6
+ resolveChartTooltipPosition
7
+ } from "@expcat/tigercat-core";
4
8
  var ChartTooltip = defineComponent({
5
9
  name: "TigerChartTooltip",
6
10
  props: {
@@ -31,25 +35,24 @@ var ChartTooltip = defineComponent({
31
35
  () => [props.x, props.y, props.visible],
32
36
  (_value, _oldValue, onCleanup) => {
33
37
  if (!props.visible) return;
34
- let x = props.x + 12;
35
- let y = props.y - 8;
38
+ const initialPosition = resolveChartTooltipPosition({
39
+ x: props.x,
40
+ y: props.y,
41
+ rect: { width: 0, height: 0 },
42
+ viewport: { width: window.innerWidth, height: window.innerHeight }
43
+ });
36
44
  const frameHandle = requestAnimationFrame(() => {
37
45
  if (!tooltipRef.value) return;
38
46
  const rect = tooltipRef.value.getBoundingClientRect();
39
- const viewportWidth = window.innerWidth;
40
- const viewportHeight = window.innerHeight;
41
- if (x + rect.width > viewportWidth - 8) {
42
- x = props.x - rect.width - 12;
43
- }
44
- if (y + rect.height > viewportHeight - 8) {
45
- y = props.y - rect.height - 8;
46
- }
47
- x = Math.max(8, x);
48
- y = Math.max(8, y);
49
- adjustedPosition.value = { x, y };
47
+ adjustedPosition.value = resolveChartTooltipPosition({
48
+ x: props.x,
49
+ y: props.y,
50
+ rect,
51
+ viewport: { width: window.innerWidth, height: window.innerHeight }
52
+ });
50
53
  });
51
54
  onCleanup(() => cancelAnimationFrame(frameHandle));
52
- adjustedPosition.value = { x, y };
55
+ adjustedPosition.value = initialPosition;
53
56
  },
54
57
  { immediate: true }
55
58
  );
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkNCT5FXQBjs = require('./chunk-NCT5FXQB.js');
4
+ var _chunk2RCBEBBRjs = require('./chunk-2RCBEBBR.js');
5
5
 
6
6
 
7
7
  var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
@@ -251,7 +251,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
251
251
  };
252
252
  return () => {
253
253
  const stepsNodes = props.steps.map(
254
- (step, index) => _vue.h.call(void 0, _chunkNCT5FXQBjs.StepsItem, {
254
+ (step, index) => _vue.h.call(void 0, _chunk2RCBEBBRjs.StepsItem, {
255
255
  key: _nullishCoalesce(step.key, () => ( index)),
256
256
  title: step.title,
257
257
  description: step.description,
@@ -281,7 +281,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
281
281
  [
282
282
  props.showSteps && props.steps.length > 0 ? _vue.h.call(void 0, "div", { class: stepsHeaderClass }, [
283
283
  _vue.h.call(void 0,
284
- _chunkNCT5FXQBjs.Steps,
284
+ _chunk2RCBEBBRjs.Steps,
285
285
  {
286
286
  current: currentIndex.value,
287
287
  direction: props.direction,
@@ -2,6 +2,9 @@
2
2
 
3
3
  var _chunkJCMGBKS6js = require('./chunk-JCMGBKS6.js');
4
4
 
5
+
6
+ var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
7
+
5
8
  // src/components/DatePicker.ts
6
9
  var _vue = require('vue');
7
10
 
@@ -48,6 +51,19 @@ var CalendarIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.
48
51
  var CloseIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.CloseIconPath, "w-4 h-4");
49
52
  var ChevronLeftIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.ChevronLeftIconPath, "w-5 h-5");
50
53
  var ChevronRightIcon = _chunkJCMGBKS6js.createFilledIcon.call(void 0, _tigercatcore.ChevronRightIconPath, "w-5 h-5");
54
+ function normalizeDatePickerLocale(locale) {
55
+ if (!locale) return void 0;
56
+ if (typeof locale === "string") return { locale };
57
+ if ("datePicker" in locale) return locale;
58
+ const preset = locale;
59
+ return {
60
+ locale: hasDatePickerLocaleCode(preset) ? preset.locale : void 0,
61
+ datePicker: preset
62
+ };
63
+ }
64
+ function hasDatePickerLocaleCode(locale) {
65
+ return typeof locale.locale === "string";
66
+ }
51
67
  var isDateLike = (value) => value === null || value instanceof Date || typeof value === "string";
52
68
  var isModelValue = (value) => {
53
69
  if (isDateLike(value)) return true;
@@ -201,7 +217,11 @@ var DatePicker = _vue.defineComponent.call(void 0, {
201
217
  return isModelValue(value);
202
218
  },
203
219
  /**
204
- * Emitted when date changes
220
+ * Convenience event emitted alongside `update:modelValue` on every value
221
+ * change. This is an intentional, non-v-model event (the idiomatic Vue
222
+ * pattern); it always carries the same normalized value as
223
+ * `update:modelValue`. Prefer `v-model` for two-way binding and use
224
+ * `@change` only for side effects.
205
225
  */
206
226
  change: (value) => {
207
227
  return isModelValue(value);
@@ -212,6 +232,7 @@ var DatePicker = _vue.defineComponent.call(void 0, {
212
232
  clear: () => true
213
233
  },
214
234
  setup(props, { emit, attrs }) {
235
+ const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
215
236
  const isOpen = _vue.ref.call(void 0, false);
216
237
  const calendarRef = _vue.ref.call(void 0, null);
217
238
  const mobileCalendarRef = _vue.ref.call(void 0, null);
@@ -234,7 +255,10 @@ var DatePicker = _vue.defineComponent.call(void 0, {
234
255
  });
235
256
  const minDateParsed = _vue.computed.call(void 0, () => _tigercatcore.parseDate.call(void 0, props.minDate));
236
257
  const maxDateParsed = _vue.computed.call(void 0, () => _tigercatcore.parseDate.call(void 0, props.maxDate));
237
- const localeCode = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLocaleCode.call(void 0, props.locale));
258
+ const mergedLocale = _vue.computed.call(void 0,
259
+ () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, normalizeDatePickerLocale(props.locale))
260
+ );
261
+ const localeCode = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLocaleCode.call(void 0, mergedLocale.value));
238
262
  const viewingMonth = _vue.ref.call(void 0,
239
263
  _nullishCoalesce(_optionalChain([(_nullishCoalesce(selectedDate.value, () => ( selectedRange.value[0]))), 'optionalAccess', _2 => _2.getMonth, 'call', _3 => _3()]), () => ( (/* @__PURE__ */ new Date()).getMonth()))
240
264
  );
@@ -268,7 +292,7 @@ var DatePicker = _vue.defineComponent.call(void 0, {
268
292
  const isRtl = _vue.computed.call(void 0, () => _tigercatcore.getLocaleDirection.call(void 0, localeCode.value) === "rtl");
269
293
  const previousMonthIcon = _vue.computed.call(void 0, () => isRtl.value ? ChevronRightIcon : ChevronLeftIcon);
270
294
  const nextMonthIcon = _vue.computed.call(void 0, () => isRtl.value ? ChevronLeftIcon : ChevronRightIcon);
271
- const labels = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLabels.call(void 0, props.locale, props.labels));
295
+ const labels = _vue.computed.call(void 0, () => _tigercatcore.getDatePickerLabels.call(void 0, mergedLocale.value, props.labels));
272
296
  const mobileDate = _vue.computed.call(void 0, () => {
273
297
  if (!isRangeMode.value) return _nullishCoalesce(selectedDate.value, () => ( _tigercatcore.normalizeDate.call(void 0, /* @__PURE__ */ new Date())));
274
298
  const [start, end] = selectedRange.value;
@@ -417,7 +441,18 @@ var DatePicker = _vue.defineComponent.call(void 0, {
417
441
  }
418
442
  function handleShortcut(shortcut) {
419
443
  const val = typeof shortcut.value === "function" ? shortcut.value() : shortcut.value;
420
- emitValue(val);
444
+ if (!isRangeMode.value) {
445
+ const date = val instanceof Date ? _tigercatcore.normalizeDate.call(void 0, val) : val ? _tigercatcore.normalizeDate.call(void 0, _tigercatcore.parseDate.call(void 0, val)) : null;
446
+ emitValue(date);
447
+ } else {
448
+ const range = val;
449
+ if (range && Array.isArray(range)) {
450
+ emitValue([
451
+ range[0] ? _tigercatcore.normalizeDate.call(void 0, range[0] instanceof Date ? range[0] : _tigercatcore.parseDate.call(void 0, range[0])) : null,
452
+ range[1] ? _tigercatcore.normalizeDate.call(void 0, range[1] instanceof Date ? range[1] : _tigercatcore.parseDate.call(void 0, range[1])) : null
453
+ ]);
454
+ }
455
+ }
421
456
  closeCalendar();
422
457
  }
423
458
  function selectDate(date) {
@@ -719,10 +754,6 @@ var DatePicker = _vue.defineComponent.call(void 0, {
719
754
  ]),
720
755
  // Calendar grid
721
756
  (() => {
722
- const [rangeStart, rangeEnd] = selectedRange.value;
723
- const normStart = rangeStart ? _tigercatcore.normalizeDate.call(void 0, rangeStart) : null;
724
- const normEnd = rangeEnd ? _tigercatcore.normalizeDate.call(void 0, rangeEnd) : null;
725
- const isSelectingEnd = isRangeMode.value && Boolean(rangeStart) && !rangeEnd;
726
757
  return _vue.h.call(void 0,
727
758
  "div",
728
759
  {
@@ -734,41 +765,39 @@ var DatePicker = _vue.defineComponent.call(void 0, {
734
765
  [
735
766
  ...calendarDays.value.map((date, index) => {
736
767
  if (!date) return null;
737
- const normDate = _tigercatcore.normalizeDate.call(void 0, date);
738
- const isRangeStart = isRangeMode.value && rangeStart ? _tigercatcore.isSameDay.call(void 0, date, rangeStart) : false;
739
- const isRangeEnd = isRangeMode.value && rangeEnd ? _tigercatcore.isSameDay.call(void 0, date, rangeEnd) : false;
740
- const isInRange = isRangeMode.value && normStart && normEnd && normDate >= normStart && normDate <= normEnd;
741
- const isSelected = !isRangeMode.value ? selectedDate.value ? _tigercatcore.isSameDay.call(void 0, date, selectedDate.value) : false : isRangeStart || isRangeEnd;
742
- const isCurrentMonthDay = isCurrentMonth(date);
743
- const isTodayDay = _tigercatcore.isToday.call(void 0, date);
744
- const isBeforeRangeStart = isSelectingEnd && normStart && normDate < normStart;
745
- const isDisabled = isDateDisabled(date) || Boolean(isBeforeRangeStart);
746
- const iso = _tigercatcore.formatDate.call(void 0, date, "yyyy-MM-dd");
768
+ const cell = _tigercatcore.getDatePickerCalendarCellState.call(void 0, {
769
+ date,
770
+ selectedDate: selectedDate.value,
771
+ selectedRange: selectedRange.value,
772
+ isRangeMode: isRangeMode.value,
773
+ isCurrentMonth,
774
+ isDateDisabled
775
+ });
747
776
  return _vue.h.call(void 0,
748
777
  "button",
749
778
  {
750
779
  key: index,
751
780
  type: "button",
752
781
  class: _tigercatcore.getDatePickerDayCellClasses.call(void 0,
753
- isCurrentMonthDay,
754
- isSelected,
755
- isTodayDay,
756
- isDisabled,
757
- Boolean(isInRange),
758
- Boolean(isRangeStart),
759
- Boolean(isRangeEnd)
782
+ cell.isCurrentMonthDay,
783
+ cell.isSelected,
784
+ cell.isTodayDay,
785
+ cell.isDisabled,
786
+ cell.isInRange,
787
+ cell.isRangeStart,
788
+ cell.isRangeEnd
760
789
  ),
761
- disabled: isDisabled,
790
+ disabled: cell.isDisabled,
762
791
  onClick: () => selectDate(date),
763
792
  role: "gridcell",
764
- "data-date": iso,
793
+ "data-date": cell.iso,
765
794
  onFocus: () => {
766
- activeDateIso.value = iso;
795
+ activeDateIso.value = cell.iso;
767
796
  },
768
- tabindex: activeDateIso.value === iso && !isDisabled ? 0 : -1,
769
- "aria-label": iso,
770
- "aria-selected": isSelected,
771
- "aria-current": isTodayDay ? "date" : void 0
797
+ tabindex: activeDateIso.value === cell.iso && !cell.isDisabled ? 0 : -1,
798
+ "aria-label": cell.iso,
799
+ "aria-selected": cell.isSelected,
800
+ "aria-current": cell.isTodayDay ? "date" : void 0
772
801
  },
773
802
  date.getDate()
774
803
  );