@expcat/tigercat-vue 1.3.4 → 1.4.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 (397) hide show
  1. package/dist/{chunk-NKVEXKM5.js → chunk-24CBIC75.js} +28 -3
  2. package/dist/{chunk-S6K6IR3Y.js → chunk-2MLORMN2.js} +2 -2
  3. package/dist/{chunk-PIF4M4TR.mjs → chunk-3UQECWNL.mjs} +22 -5
  4. package/dist/{chunk-RNQOMMLM.mjs → chunk-3VFZB5ZK.mjs} +3 -3
  5. package/dist/{chunk-ZSQ5I2KL.mjs → chunk-62ZSNASF.mjs} +30 -6
  6. package/dist/{chunk-Q3IZQUW7.js → chunk-67RSRWWY.js} +3 -3
  7. package/dist/{chunk-25VVIM45.mjs → chunk-6K4UE5MK.mjs} +1 -1
  8. package/dist/{chunk-5X3GXNGM.mjs → chunk-6NJXI66G.mjs} +7 -8
  9. package/dist/{chunk-XQRKFOXS.mjs → chunk-6WF3336O.mjs} +13 -2
  10. package/dist/{chunk-5D2UAWWP.mjs → chunk-6WFFP4K2.mjs} +2 -4
  11. package/dist/{chunk-RE7K3KNW.mjs → chunk-6Y4NWO4I.mjs} +17 -13
  12. package/dist/{chunk-FQWEOBQ4.mjs → chunk-7BU4TW5A.mjs} +13 -3
  13. package/dist/{chunk-A5HRX7EG.js → chunk-7CR6MLD5.js} +5 -4
  14. package/dist/{chunk-LAWBHGPK.js → chunk-7FWZIAFP.js} +2 -2
  15. package/dist/{chunk-CSJQKBDJ.js → chunk-7GYYIDMA.js} +2 -4
  16. package/dist/{chunk-BWIHL7LK.mjs → chunk-7VSNXYFM.mjs} +1 -1
  17. package/dist/{chunk-SCSGLSPY.mjs → chunk-A6T2IHFC.mjs} +2 -1
  18. package/dist/{chunk-D74XCQCK.mjs → chunk-AZ6SASY5.mjs} +23 -6
  19. package/dist/{chunk-SEDENBOO.mjs → chunk-BHNBLQ5S.mjs} +19 -4
  20. package/dist/{chunk-PZH2RTSS.mjs → chunk-BYX756N5.mjs} +16 -2
  21. package/dist/{chunk-LZHCKW2Z.js → chunk-CGZPOI6H.js} +2 -2
  22. package/dist/{chunk-35NT2WJR.mjs → chunk-DOBGVCZJ.mjs} +1 -3
  23. package/dist/{chunk-VCBBWDOV.mjs → chunk-DOJPPVAN.mjs} +18 -2
  24. package/dist/{chunk-2X3ZPH2H.mjs → chunk-DSNPEWYP.mjs} +13 -1
  25. package/dist/{chunk-VXULMOIW.js → chunk-DUMPRNDR.js} +18 -3
  26. package/dist/{chunk-NNNG6NIA.mjs → chunk-DWPZRG7A.mjs} +6 -5
  27. package/dist/{chunk-F7G7K3TF.mjs → chunk-E363N2BJ.mjs} +3 -1
  28. package/dist/{chunk-JFIVDZFK.js → chunk-E36I27WK.js} +30 -4
  29. package/dist/{chunk-PCJHGWTU.js → chunk-EIH6ABOR.js} +25 -8
  30. package/dist/{chunk-5JKQPOG2.js → chunk-F5TZIFMW.js} +15 -3
  31. package/dist/{chunk-WZBOHL2F.js → chunk-FGM7KB2Q.js} +12 -12
  32. package/dist/{chunk-4K2CCBFT.mjs → chunk-FISKCPTN.mjs} +3 -2
  33. package/dist/{chunk-OGDZTDZ6.mjs → chunk-GHG2MCLM.mjs} +28 -7
  34. package/dist/{chunk-F7WZCYYD.mjs → chunk-GL63FRI4.mjs} +1 -1
  35. package/dist/{chunk-K4VUUEFQ.mjs → chunk-GRP54POG.mjs} +107 -66
  36. package/dist/{chunk-TZDNF5SK.js → chunk-GY75BFAV.js} +107 -66
  37. package/dist/{chunk-ZSCOAOJJ.js → chunk-HMYVPBWI.js} +33 -5
  38. package/dist/{chunk-P7RXZVLT.js → chunk-HZBE2RY4.js} +14 -2
  39. package/dist/{chunk-25EYT2CB.js → chunk-IXTYS3EK.js} +3 -2
  40. package/dist/{chunk-W6VKVYWZ.mjs → chunk-J6YCXMVY.mjs} +1 -1
  41. package/dist/{chunk-Q4MH333P.js → chunk-JCPTFBLY.js} +1 -1
  42. package/dist/{chunk-C4HYZH7H.mjs → chunk-KH2CF6JU.mjs} +14 -13
  43. package/dist/{chunk-Q47OK3FR.js → chunk-KN64NDJS.js} +1 -3
  44. package/dist/{chunk-MJP2SNLK.mjs → chunk-KY6AJRGT.mjs} +59 -24
  45. package/dist/{chunk-IPZVGA6Y.mjs → chunk-L6ZD3ZCO.mjs} +65 -96
  46. package/dist/{chunk-NYR6OQO4.js → chunk-LG55VN6B.js} +60 -25
  47. package/dist/{chunk-LA5YKXPH.mjs → chunk-LHOSPU6V.mjs} +3 -3
  48. package/dist/{chunk-OKLDFVDJ.js → chunk-LYF6AAQ7.js} +2 -2
  49. package/dist/{chunk-Z7ETXBOL.mjs → chunk-M2ECZQ2D.mjs} +32 -4
  50. package/dist/{chunk-ZDKGABPQ.mjs → chunk-MOLGN476.mjs} +1 -1
  51. package/dist/{chunk-DS7RQFEG.js → chunk-NCT5FXQB.js} +17 -13
  52. package/dist/{chunk-EW2IW2JW.js → chunk-NEVDRG6C.js} +13 -5
  53. package/dist/{chunk-MUJLT2YG.js → chunk-NHNJUBYZ.js} +23 -30
  54. package/dist/{chunk-ZUPVK5L7.js → chunk-NTZ7LQTY.js} +11 -19
  55. package/dist/{chunk-3A7H2CTW.mjs → chunk-OOS3QQFK.mjs} +9 -17
  56. package/dist/{chunk-3XCQRM3L.js → chunk-OTNVA2UT.js} +2 -2
  57. package/dist/{chunk-GOBWUEHV.js → chunk-OUBJHKWX.js} +3 -1
  58. package/dist/{chunk-CPV7INZ4.mjs → chunk-P3VAY2IQ.mjs} +1 -1
  59. package/dist/{chunk-2YFXJUBT.js → chunk-PFWRFHSB.js} +2 -2
  60. package/dist/{chunk-XJXGVNNF.js → chunk-PGOTPYRG.js} +26 -5
  61. package/dist/{chunk-7QX4QWWN.js → chunk-PJ66WE62.js} +31 -7
  62. package/dist/{chunk-7WQN5BYE.mjs → chunk-PPEAQDD5.mjs} +28 -3
  63. package/dist/{chunk-IORFQMZH.mjs → chunk-PTAWLJCV.mjs} +4 -4
  64. package/dist/{chunk-IZQ7BRHC.mjs → chunk-QAMXVTNN.mjs} +31 -5
  65. package/dist/{chunk-LILAZ4UJ.mjs → chunk-QKP5C26H.mjs} +1 -1
  66. package/dist/{chunk-JZJEZKGN.js → chunk-QZQYKC2N.js} +2 -4
  67. package/dist/{chunk-VG6E4NX6.mjs → chunk-R6WFL6NI.mjs} +3 -2
  68. package/dist/{chunk-6XI4VDU4.js → chunk-RBWJSHKR.js} +13 -2
  69. package/dist/{chunk-WNKF2OD5.mjs → chunk-RHLP2ED5.mjs} +21 -4
  70. package/dist/{chunk-WUHW7AIM.mjs → chunk-RHV6DWY6.mjs} +5 -7
  71. package/dist/{chunk-TAA6DDJ2.mjs → chunk-RKL4Y7CW.mjs} +8 -8
  72. package/dist/{chunk-AEOREYSJ.js → chunk-RLPSCEBP.js} +31 -5
  73. package/dist/{chunk-OCL22D5E.mjs → chunk-RPWKAGN5.mjs} +32 -4
  74. package/dist/{chunk-2VVXW53X.js → chunk-RUXIQ5EP.js} +17 -16
  75. package/dist/{chunk-3NRRNQYJ.js → chunk-SGXLMKMO.js} +21 -4
  76. package/dist/{chunk-S6Q7TD6H.js → chunk-SJIW7SNA.js} +16 -2
  77. package/dist/{chunk-7VHDBN6U.js → chunk-SJSZHQWX.js} +4 -4
  78. package/dist/{chunk-L5E3L6ID.js → chunk-SYTYUC67.js} +64 -95
  79. package/dist/{chunk-H6V26X2R.js → chunk-T5N2UHVP.js} +2 -2
  80. package/dist/{chunk-UUJ7A3CN.js → chunk-TAAHD4R7.js} +7 -8
  81. package/dist/{chunk-ZIOGRGN5.mjs → chunk-TUSWQVI2.mjs} +25 -4
  82. package/dist/{chunk-RBHF7NOQ.js → chunk-TXQEHRQB.js} +18 -2
  83. package/dist/{chunk-6NFACBDB.js → chunk-UFY654LD.js} +5 -7
  84. package/dist/{chunk-2BNQGU7E.mjs → chunk-UKMOWUYH.mjs} +1 -1
  85. package/dist/{chunk-MHNCH2YI.js → chunk-VJ72Y54M.js} +14 -4
  86. package/dist/{chunk-6BFGY5W7.mjs → chunk-VN4SKDFO.mjs} +12 -4
  87. package/dist/{chunk-BH4AJQTL.mjs → chunk-VPHM5WEL.mjs} +1 -1
  88. package/dist/{chunk-FE2HR4E5.js → chunk-W5DLRGQL.js} +32 -4
  89. package/dist/{chunk-HFRPZA5S.js → chunk-WGRNO4PB.js} +6 -6
  90. package/dist/{chunk-PY6P4N2Q.js → chunk-WNYWWGNM.js} +2 -1
  91. package/dist/{chunk-XGO5Q6KK.js → chunk-WYVA3JBH.js} +22 -5
  92. package/dist/{chunk-KVJIJJ4M.mjs → chunk-WZRC7PJH.mjs} +20 -27
  93. package/dist/{chunk-LL4ASJ4O.mjs → chunk-XJ5VGC5V.mjs} +30 -4
  94. package/dist/{chunk-JNIKT6AL.js → chunk-XVNN6D55.js} +29 -8
  95. package/dist/{chunk-JJXYM6QR.js → chunk-Z6MMA7ZE.js} +2 -2
  96. package/dist/{chunk-5WG4OFXH.mjs → chunk-Z7QUWBFR.mjs} +15 -3
  97. package/dist/{chunk-FUGSQXFR.js → chunk-ZHSXICH7.js} +3 -2
  98. package/dist/{chunk-LS4VI4RG.mjs → chunk-ZQD2MCNX.mjs} +2 -4
  99. package/dist/components/ActivityFeed.d.mts +6 -6
  100. package/dist/components/ActivityFeed.d.ts +6 -6
  101. package/dist/components/ActivityFeed.js +5 -4
  102. package/dist/components/ActivityFeed.mjs +4 -3
  103. package/dist/components/Alert.d.mts +3 -3
  104. package/dist/components/Alert.d.ts +3 -3
  105. package/dist/components/Alert.js +2 -2
  106. package/dist/components/Alert.mjs +1 -1
  107. package/dist/components/Anchor.d.mts +1 -1
  108. package/dist/components/Anchor.d.ts +1 -1
  109. package/dist/components/AreaChart.d.mts +3 -3
  110. package/dist/components/AreaChart.d.ts +3 -3
  111. package/dist/components/AutoComplete.d.mts +12 -3
  112. package/dist/components/AutoComplete.d.ts +12 -3
  113. package/dist/components/AutoComplete.js +3 -2
  114. package/dist/components/AutoComplete.mjs +2 -1
  115. package/dist/components/Avatar.d.mts +1 -1
  116. package/dist/components/Avatar.d.ts +1 -1
  117. package/dist/components/Badge.d.mts +3 -3
  118. package/dist/components/Badge.d.ts +3 -3
  119. package/dist/components/BarChart.d.mts +2 -2
  120. package/dist/components/BarChart.d.ts +2 -2
  121. package/dist/components/Breadcrumb.d.mts +3 -3
  122. package/dist/components/Breadcrumb.d.ts +3 -3
  123. package/dist/components/Button.d.mts +3 -3
  124. package/dist/components/Button.d.ts +3 -3
  125. package/dist/components/ButtonGroup.d.mts +1 -1
  126. package/dist/components/ButtonGroup.d.ts +1 -1
  127. package/dist/components/Calendar.d.mts +1 -1
  128. package/dist/components/Calendar.d.ts +1 -1
  129. package/dist/components/Card.d.mts +2 -2
  130. package/dist/components/Card.d.ts +2 -2
  131. package/dist/components/Cascader.d.mts +19 -3
  132. package/dist/components/Cascader.d.ts +19 -3
  133. package/dist/components/Cascader.js +3 -2
  134. package/dist/components/Cascader.mjs +2 -1
  135. package/dist/components/ChartCanvas.d.mts +1 -1
  136. package/dist/components/ChartCanvas.d.ts +1 -1
  137. package/dist/components/ChartGrid.d.mts +1 -1
  138. package/dist/components/ChartGrid.d.ts +1 -1
  139. package/dist/components/ChatWindow.d.mts +3 -3
  140. package/dist/components/ChatWindow.d.ts +3 -3
  141. package/dist/components/ChatWindow.js +2 -2
  142. package/dist/components/ChatWindow.mjs +1 -1
  143. package/dist/components/Checkbox.js +3 -3
  144. package/dist/components/Checkbox.mjs +2 -2
  145. package/dist/components/CheckboxGroup.js +2 -2
  146. package/dist/components/CheckboxGroup.mjs +1 -1
  147. package/dist/components/CodeEditor.d.mts +2 -2
  148. package/dist/components/CodeEditor.d.ts +2 -2
  149. package/dist/components/Collapse.d.mts +1 -1
  150. package/dist/components/Collapse.d.ts +1 -1
  151. package/dist/components/CollapsePanel.d.mts +1 -1
  152. package/dist/components/CollapsePanel.d.ts +1 -1
  153. package/dist/components/ColorSwatch.d.mts +1 -1
  154. package/dist/components/ColorSwatch.d.ts +1 -1
  155. package/dist/components/CommentThread.d.mts +4 -4
  156. package/dist/components/CommentThread.d.ts +4 -4
  157. package/dist/components/CommentThread.js +2 -2
  158. package/dist/components/CommentThread.mjs +1 -1
  159. package/dist/components/ConfigProvider.d.mts +1 -1
  160. package/dist/components/ConfigProvider.d.ts +1 -1
  161. package/dist/components/ConfigProvider.js +2 -2
  162. package/dist/components/ConfigProvider.mjs +1 -1
  163. package/dist/components/Container.d.mts +1 -1
  164. package/dist/components/Container.d.ts +1 -1
  165. package/dist/components/Countdown.d.mts +1 -1
  166. package/dist/components/Countdown.d.ts +1 -1
  167. package/dist/components/CropUpload.js +4 -4
  168. package/dist/components/CropUpload.mjs +3 -3
  169. package/dist/components/DataTableWithToolbar.d.mts +12 -12
  170. package/dist/components/DataTableWithToolbar.d.ts +12 -12
  171. package/dist/components/DataTableWithToolbar.js +7 -7
  172. package/dist/components/DataTableWithToolbar.mjs +6 -6
  173. package/dist/components/DatePicker.d.mts +2 -2
  174. package/dist/components/DatePicker.d.ts +2 -2
  175. package/dist/components/DatePicker.js +2 -2
  176. package/dist/components/DatePicker.mjs +1 -1
  177. package/dist/components/Descriptions.d.mts +2 -2
  178. package/dist/components/Descriptions.d.ts +2 -2
  179. package/dist/components/DonutChart.d.mts +3 -3
  180. package/dist/components/DonutChart.d.ts +3 -3
  181. package/dist/components/Drawer.d.mts +5 -5
  182. package/dist/components/Drawer.d.ts +5 -5
  183. package/dist/components/Drawer.js +3 -3
  184. package/dist/components/Drawer.mjs +2 -2
  185. package/dist/components/FileManager.d.mts +14 -4
  186. package/dist/components/FileManager.d.ts +14 -4
  187. package/dist/components/FileManager.js +3 -2
  188. package/dist/components/FileManager.mjs +2 -1
  189. package/dist/components/FloatButton.d.mts +3 -3
  190. package/dist/components/FloatButton.d.ts +3 -3
  191. package/dist/components/Form.d.mts +19 -2
  192. package/dist/components/Form.d.ts +19 -2
  193. package/dist/components/Form.js +3 -2
  194. package/dist/components/Form.mjs +2 -1
  195. package/dist/components/FormItem.js +4 -3
  196. package/dist/components/FormItem.mjs +3 -2
  197. package/dist/components/FormWizard.d.mts +5 -5
  198. package/dist/components/FormWizard.d.ts +5 -5
  199. package/dist/components/FormWizard.js +4 -4
  200. package/dist/components/FormWizard.mjs +3 -3
  201. package/dist/components/FunnelChart.d.mts +2 -2
  202. package/dist/components/FunnelChart.d.ts +2 -2
  203. package/dist/components/Gantt.d.mts +2 -2
  204. package/dist/components/Gantt.d.ts +2 -2
  205. package/dist/components/GaugeChart.d.mts +2 -2
  206. package/dist/components/GaugeChart.d.ts +2 -2
  207. package/dist/components/HeatmapChart.d.mts +3 -3
  208. package/dist/components/HeatmapChart.d.ts +3 -3
  209. package/dist/components/Icon.d.mts +1 -1
  210. package/dist/components/Icon.d.ts +1 -1
  211. package/dist/components/Image.d.mts +2 -2
  212. package/dist/components/Image.d.ts +2 -2
  213. package/dist/components/Image.js +2 -2
  214. package/dist/components/Image.mjs +1 -1
  215. package/dist/components/ImageAnnotation.d.mts +4 -4
  216. package/dist/components/ImageAnnotation.d.ts +4 -4
  217. package/dist/components/ImageAnnotation.js +2 -2
  218. package/dist/components/ImageAnnotation.mjs +1 -1
  219. package/dist/components/ImageViewer.d.mts +10 -0
  220. package/dist/components/ImageViewer.d.ts +10 -0
  221. package/dist/components/ImageViewer.js +3 -2
  222. package/dist/components/ImageViewer.mjs +2 -1
  223. package/dist/components/InfiniteScroll.d.mts +17 -6
  224. package/dist/components/InfiniteScroll.d.ts +17 -6
  225. package/dist/components/InfiniteScroll.js +3 -2
  226. package/dist/components/InfiniteScroll.mjs +2 -1
  227. package/dist/components/Input.d.mts +4 -4
  228. package/dist/components/Input.d.ts +4 -4
  229. package/dist/components/InputGroup.d.mts +1 -1
  230. package/dist/components/InputGroup.d.ts +1 -1
  231. package/dist/components/InputNumber.d.mts +1 -1
  232. package/dist/components/InputNumber.d.ts +1 -1
  233. package/dist/components/InputNumber.js +2 -2
  234. package/dist/components/InputNumber.mjs +1 -1
  235. package/dist/components/Kanban.d.mts +1 -1
  236. package/dist/components/Kanban.d.ts +1 -1
  237. package/dist/components/Kanban.js +4 -4
  238. package/dist/components/Kanban.mjs +3 -3
  239. package/dist/components/LineChart.d.mts +2 -2
  240. package/dist/components/LineChart.d.ts +2 -2
  241. package/dist/components/Link.d.mts +1 -1
  242. package/dist/components/Link.d.ts +1 -1
  243. package/dist/components/List.d.mts +24 -9
  244. package/dist/components/List.d.ts +24 -9
  245. package/dist/components/List.js +3 -2
  246. package/dist/components/List.mjs +2 -1
  247. package/dist/components/Loading.d.mts +16 -6
  248. package/dist/components/Loading.d.ts +16 -6
  249. package/dist/components/Loading.js +3 -2
  250. package/dist/components/Loading.mjs +2 -1
  251. package/dist/components/MarkdownEditor.d.mts +2 -2
  252. package/dist/components/MarkdownEditor.d.ts +2 -2
  253. package/dist/components/Mentions.d.mts +2 -2
  254. package/dist/components/Mentions.d.ts +2 -2
  255. package/dist/components/Mentions.js +2 -2
  256. package/dist/components/Mentions.mjs +1 -1
  257. package/dist/components/Menu.d.mts +5 -5
  258. package/dist/components/Menu.d.ts +5 -5
  259. package/dist/components/Menu.js +2 -2
  260. package/dist/components/Menu.mjs +1 -1
  261. package/dist/components/MenuItem.js +3 -3
  262. package/dist/components/MenuItem.mjs +1 -1
  263. package/dist/components/MenuItemGroup.js +3 -3
  264. package/dist/components/MenuItemGroup.mjs +1 -1
  265. package/dist/components/Message.js +2 -2
  266. package/dist/components/Message.mjs +1 -1
  267. package/dist/components/Modal.d.mts +8 -8
  268. package/dist/components/Modal.d.ts +8 -8
  269. package/dist/components/Modal.js +3 -3
  270. package/dist/components/Modal.mjs +2 -2
  271. package/dist/components/Notification.js +2 -2
  272. package/dist/components/Notification.mjs +1 -1
  273. package/dist/components/NotificationCenter.d.mts +5 -5
  274. package/dist/components/NotificationCenter.d.ts +5 -5
  275. package/dist/components/NotificationCenter.js +5 -4
  276. package/dist/components/NotificationCenter.mjs +4 -3
  277. package/dist/components/NumberKeyboard.d.mts +15 -6
  278. package/dist/components/NumberKeyboard.d.ts +15 -6
  279. package/dist/components/NumberKeyboard.js +3 -2
  280. package/dist/components/NumberKeyboard.mjs +2 -1
  281. package/dist/components/OrgChart.d.mts +2 -2
  282. package/dist/components/OrgChart.d.ts +2 -2
  283. package/dist/components/Pagination.d.mts +4 -4
  284. package/dist/components/Pagination.d.ts +4 -4
  285. package/dist/components/Pagination.js +3 -3
  286. package/dist/components/Pagination.mjs +2 -2
  287. package/dist/components/PieChart.d.mts +3 -3
  288. package/dist/components/PieChart.d.ts +3 -3
  289. package/dist/components/Popconfirm.d.mts +2 -2
  290. package/dist/components/Popconfirm.d.ts +2 -2
  291. package/dist/components/Popover.d.mts +1 -1
  292. package/dist/components/Popover.d.ts +1 -1
  293. package/dist/components/Progress.d.mts +3 -3
  294. package/dist/components/Progress.d.ts +3 -3
  295. package/dist/components/QRCode.d.mts +12 -2
  296. package/dist/components/QRCode.d.ts +12 -2
  297. package/dist/components/QRCode.js +3 -2
  298. package/dist/components/QRCode.mjs +2 -1
  299. package/dist/components/RadarChart.d.mts +3 -3
  300. package/dist/components/RadarChart.d.ts +3 -3
  301. package/dist/components/RichTextEditor.d.mts +1 -1
  302. package/dist/components/RichTextEditor.d.ts +1 -1
  303. package/dist/components/RichTextEditor.js +2 -2
  304. package/dist/components/RichTextEditor.mjs +1 -1
  305. package/dist/components/Row.d.mts +1 -1
  306. package/dist/components/Row.d.ts +1 -1
  307. package/dist/components/ScatterChart.d.mts +2 -2
  308. package/dist/components/ScatterChart.d.ts +2 -2
  309. package/dist/components/ScrollSpy.d.mts +2 -2
  310. package/dist/components/ScrollSpy.d.ts +2 -2
  311. package/dist/components/Select.d.mts +22 -6
  312. package/dist/components/Select.d.ts +22 -6
  313. package/dist/components/Select.js +3 -2
  314. package/dist/components/Select.mjs +2 -1
  315. package/dist/components/Signature.d.mts +15 -6
  316. package/dist/components/Signature.d.ts +15 -6
  317. package/dist/components/Signature.js +3 -2
  318. package/dist/components/Signature.mjs +2 -1
  319. package/dist/components/Skeleton.d.mts +1 -1
  320. package/dist/components/Skeleton.d.ts +1 -1
  321. package/dist/components/Space.d.mts +2 -2
  322. package/dist/components/Space.d.ts +2 -2
  323. package/dist/components/Splitter.d.mts +1 -1
  324. package/dist/components/Splitter.d.ts +1 -1
  325. package/dist/components/Spotlight.d.mts +17 -9
  326. package/dist/components/Spotlight.d.ts +17 -9
  327. package/dist/components/Spotlight.js +3 -2
  328. package/dist/components/Spotlight.mjs +2 -1
  329. package/dist/components/Steps.d.mts +2 -2
  330. package/dist/components/Steps.d.ts +2 -2
  331. package/dist/components/Steps.js +2 -2
  332. package/dist/components/Steps.mjs +1 -1
  333. package/dist/components/StepsItem.js +3 -3
  334. package/dist/components/StepsItem.mjs +1 -1
  335. package/dist/components/SubMenu.js +3 -3
  336. package/dist/components/SubMenu.mjs +1 -1
  337. package/dist/components/SunburstChart.d.mts +2 -2
  338. package/dist/components/SunburstChart.d.ts +2 -2
  339. package/dist/components/Table.d.mts +8 -8
  340. package/dist/components/Table.d.ts +8 -8
  341. package/dist/components/Table.js +6 -6
  342. package/dist/components/Table.mjs +5 -5
  343. package/dist/components/Tabs.d.mts +2 -2
  344. package/dist/components/Tabs.d.ts +2 -2
  345. package/dist/components/Tag.d.mts +1 -1
  346. package/dist/components/Tag.d.ts +1 -1
  347. package/dist/components/TaskBoard.d.mts +2 -2
  348. package/dist/components/TaskBoard.d.ts +2 -2
  349. package/dist/components/TaskBoard.js +3 -3
  350. package/dist/components/TaskBoard.mjs +2 -2
  351. package/dist/components/Text.d.mts +3 -3
  352. package/dist/components/Text.d.ts +3 -3
  353. package/dist/components/Textarea.d.mts +2 -2
  354. package/dist/components/Textarea.d.ts +2 -2
  355. package/dist/components/TimePicker.d.mts +7 -7
  356. package/dist/components/TimePicker.d.ts +7 -7
  357. package/dist/components/TimePicker.js +3 -2
  358. package/dist/components/TimePicker.mjs +2 -1
  359. package/dist/components/Timeline.d.mts +14 -4
  360. package/dist/components/Timeline.d.ts +14 -4
  361. package/dist/components/Timeline.js +3 -2
  362. package/dist/components/Timeline.mjs +2 -1
  363. package/dist/components/Tooltip.d.mts +1 -1
  364. package/dist/components/Tooltip.d.ts +1 -1
  365. package/dist/components/Tour.d.mts +19 -9
  366. package/dist/components/Tour.d.ts +19 -9
  367. package/dist/components/Tour.js +3 -2
  368. package/dist/components/Tour.mjs +2 -1
  369. package/dist/components/Transfer.d.mts +18 -3
  370. package/dist/components/Transfer.d.ts +18 -3
  371. package/dist/components/Transfer.js +3 -2
  372. package/dist/components/Transfer.mjs +2 -1
  373. package/dist/components/Tree.d.mts +21 -5
  374. package/dist/components/Tree.d.ts +21 -5
  375. package/dist/components/Tree.js +3 -2
  376. package/dist/components/Tree.mjs +2 -1
  377. package/dist/components/TreeMapChart.d.mts +2 -2
  378. package/dist/components/TreeMapChart.d.ts +2 -2
  379. package/dist/components/TreeSelect.d.mts +18 -3
  380. package/dist/components/TreeSelect.d.ts +18 -3
  381. package/dist/components/TreeSelect.js +3 -2
  382. package/dist/components/TreeSelect.mjs +2 -1
  383. package/dist/components/Upload.d.mts +4 -4
  384. package/dist/components/Upload.d.ts +4 -4
  385. package/dist/components/Upload.js +3 -3
  386. package/dist/components/Upload.mjs +2 -2
  387. package/dist/components/VirtualTable.d.mts +14 -5
  388. package/dist/components/VirtualTable.d.ts +14 -5
  389. package/dist/components/VirtualTable.js +3 -2
  390. package/dist/components/VirtualTable.mjs +2 -1
  391. package/dist/components/Watermark.d.mts +1 -1
  392. package/dist/components/Watermark.d.ts +1 -1
  393. package/dist/index.d.mts +1 -1
  394. package/dist/index.d.ts +1 -1
  395. package/dist/index.js +54 -54
  396. package/dist/index.mjs +53 -53
  397. package/package.json +2 -2
@@ -4,6 +4,9 @@ import {
4
4
  useVueEscapeKey,
5
5
  useVueFocusTrap
6
6
  } from "./chunk-BDTPFPSB.mjs";
7
+ import {
8
+ useTigerConfig
9
+ } from "./chunk-R6WFL6NI.mjs";
7
10
 
8
11
  // src/components/Spotlight.ts
9
12
  import {
@@ -31,6 +34,8 @@ import {
31
34
  getSpotlightSearchState,
32
35
  getSpotlightShortcutLabel,
33
36
  mergeStyleValues,
37
+ mergeTigerLocale,
38
+ resolveLocaleText,
34
39
  restoreFocus,
35
40
  shouldCloseOnMaskClick,
36
41
  spotlightEmptyClasses,
@@ -76,11 +81,15 @@ var Spotlight = defineComponent({
76
81
  },
77
82
  placeholder: {
78
83
  type: String,
79
- default: "Search"
84
+ default: void 0
80
85
  },
81
86
  emptyText: {
82
87
  type: String,
83
- default: "No results found"
88
+ default: void 0
89
+ },
90
+ locale: {
91
+ type: Object,
92
+ default: void 0
84
93
  },
85
94
  inputAriaLabel: {
86
95
  type: String,
@@ -131,8 +140,13 @@ var Spotlight = defineComponent({
131
140
  default: false
132
141
  }
133
142
  },
134
- emits: ["update:open", "open-change", "close", "update:query", "query-change", "select"],
143
+ emits: ["update:open", "open-change", "update:query", "query-change", "select"],
135
144
  setup(props, { emit, attrs, slots }) {
145
+ const config = useTigerConfig();
146
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
147
+ const placeholderText = computed(
148
+ () => resolveLocaleText("Search", props.placeholder, mergedLocale.value?.common?.searchPlaceholder)
149
+ );
136
150
  const uncontrolledOpen = ref(props.defaultOpen);
137
151
  const uncontrolledQuery = ref(props.defaultQuery);
138
152
  const activeIndex = ref(-1);
@@ -154,7 +168,6 @@ var Spotlight = defineComponent({
154
168
  if (props.open === void 0) uncontrolledOpen.value = nextOpen;
155
169
  emit("update:open", nextOpen);
156
170
  emit("open-change", nextOpen);
157
- if (!nextOpen) emit("close");
158
171
  };
159
172
  const setQueryValue = (nextQuery) => {
160
173
  if (props.query === void 0) uncontrolledQuery.value = nextQuery;
@@ -275,8 +288,8 @@ var Spotlight = defineComponent({
275
288
  value: resolvedQuery.value,
276
289
  type: "search",
277
290
  class: spotlightInputClasses,
278
- placeholder: props.placeholder,
279
- "aria-label": props.inputAriaLabel ?? props.placeholder,
291
+ placeholder: placeholderText.value,
292
+ "aria-label": props.inputAriaLabel ?? placeholderText.value,
280
293
  autocomplete: "off",
281
294
  ...getPickerComboboxAria({
282
295
  expanded: true,
@@ -356,7 +369,15 @@ var Spotlight = defineComponent({
356
369
  ]
357
370
  )
358
371
  )
359
- ) : h("div", { class: spotlightEmptyClasses }, props.emptyText)
372
+ ) : h(
373
+ "div",
374
+ { class: spotlightEmptyClasses },
375
+ resolveLocaleText(
376
+ "No results found",
377
+ props.emptyText,
378
+ mergedLocale.value?.common?.emptyText
379
+ )
380
+ )
360
381
  ]
361
382
  )
362
383
  ]
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-VG6E4NX6.mjs";
3
+ } from "./chunk-R6WFL6NI.mjs";
4
4
 
5
5
  // src/components/Pagination.ts
6
6
  import {
@@ -117,7 +117,7 @@ var CommentThread = defineComponent({
117
117
  default: void 0
118
118
  }
119
119
  },
120
- emits: ["like", "reply", "more", "action", "expand-change", "load-more"],
120
+ emits: ["like", "reply", "more", "action", "update:expandedKeys", "load-more"],
121
121
  setup(props, { emit, attrs }) {
122
122
  const innerExpandedKeys = ref([...props.defaultExpandedKeys]);
123
123
  const expandedAllKeys = ref(/* @__PURE__ */ new Set());
@@ -141,7 +141,7 @@ var CommentThread = defineComponent({
141
141
  if (!props.expandedKeys) {
142
142
  innerExpandedKeys.value = next;
143
143
  }
144
- emit("expand-change", next);
144
+ emit("update:expandedKeys", next);
145
145
  };
146
146
  const toggleExpanded = (id) => {
147
147
  const current = mergedExpandedKeys.value;
@@ -167,13 +167,14 @@ var CommentThread = defineComponent({
167
167
  const ACTION_BTN = `${BTN_BASE} text-gray-500 dark:text-gray-400 font-medium flex items-center gap-1.5`;
168
168
  const PRIMARY_BTN = `${BTN_BASE} text-[var(--tiger-primary,#2563eb)] hover:text-[var(--tiger-primary-hover,#1d4ed8)] dark:text-blue-400 dark:hover:text-blue-300 font-semibold hover:bg-[var(--tiger-primary,#2563eb)]/10 dark:hover:bg-blue-400/10`;
169
169
  const renderNode = (node, depth, isLast) => {
170
- const hasChildren = !!node.children && node.children.length > 0;
170
+ const children = node.children ?? [];
171
+ const hasChildren = children.length > 0;
171
172
  const isExpanded = expandedSet.value.has(node.id);
172
173
  const showReplies = hasChildren && isExpanded;
173
174
  const showAllReplies = expandedAllKeys.value.has(node.id);
174
175
  const repliesId = `tiger-comment-replies-${node.id}`;
175
- const visibleChildren = showReplies ? props.maxReplies > 0 && !showAllReplies ? node.children.slice(0, props.maxReplies) : node.children : [];
176
- const showLoadMore = showReplies && props.maxReplies > 0 && node.children.length > props.maxReplies && !showAllReplies;
176
+ const visibleChildren = showReplies ? props.maxReplies > 0 && !showAllReplies ? children.slice(0, props.maxReplies) : children : [];
177
+ const showLoadMore = showReplies && props.maxReplies > 0 && children.length > props.maxReplies && !showAllReplies;
177
178
  const actions = [];
178
179
  if (props.showLike) {
179
180
  const likeLabel = node.liked ? props.likedText : props.likeText;
@@ -194,17 +195,24 @@ var CommentThread = defineComponent({
194
195
  },
195
196
  {
196
197
  default: () => h("span", { class: "flex items-center gap-1.5" }, [
197
- h("svg", {
198
- class: classNames("w-3.5 h-3.5 transition-transform duration-200 active:scale-125", node.liked ? "fill-current" : "stroke-current fill-none"),
199
- viewBox: "0 0 24 24",
200
- strokeWidth: "2"
201
- }, [
202
- h("path", {
203
- strokeLinecap: "round",
204
- strokeLinejoin: "round",
205
- d: "M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.421.068.848.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 010-7.764c.26-.85.1083-1.368 1.972-1.368h.908c.445 0 .72.498.523.898a8.963 8.963 0 00-.27.602"
206
- })
207
- ]),
198
+ h(
199
+ "svg",
200
+ {
201
+ class: classNames(
202
+ "w-3.5 h-3.5 transition-transform duration-200 active:scale-125",
203
+ node.liked ? "fill-current" : "stroke-current fill-none"
204
+ ),
205
+ viewBox: "0 0 24 24",
206
+ strokeWidth: "2"
207
+ },
208
+ [
209
+ h("path", {
210
+ strokeLinecap: "round",
211
+ strokeLinejoin: "round",
212
+ d: "M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.421.068.848.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 010-7.764c.26-.85.1083-1.368 1.972-1.368h.908c.445 0 .72.498.523.898a8.963 8.963 0 00-.27.602"
213
+ })
214
+ ]
215
+ ),
208
216
  h("span", `${likeLabel}${likeCount}`)
209
217
  ])
210
218
  }
@@ -230,19 +238,23 @@ var CommentThread = defineComponent({
230
238
  },
231
239
  {
232
240
  default: () => h("span", { class: "flex items-center gap-1.5" }, [
233
- h("svg", {
234
- class: "w-3.5 h-3.5",
235
- viewBox: "0 0 24 24",
236
- fill: "none",
237
- stroke: "currentColor",
238
- strokeWidth: "2"
239
- }, [
240
- h("path", {
241
- strokeLinecap: "round",
242
- strokeLinejoin: "round",
243
- d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
244
- })
245
- ]),
241
+ h(
242
+ "svg",
243
+ {
244
+ class: "w-3.5 h-3.5",
245
+ viewBox: "0 0 24 24",
246
+ fill: "none",
247
+ stroke: "currentColor",
248
+ strokeWidth: "2"
249
+ },
250
+ [
251
+ h("path", {
252
+ strokeLinecap: "round",
253
+ strokeLinejoin: "round",
254
+ d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
255
+ })
256
+ ]
257
+ ),
246
258
  h("span", props.replyText)
247
259
  ])
248
260
  }
@@ -265,19 +277,23 @@ var CommentThread = defineComponent({
265
277
  },
266
278
  {
267
279
  default: () => h("span", { class: "flex items-center gap-1.5" }, [
268
- h("svg", {
269
- class: "w-3.5 h-3.5",
270
- viewBox: "0 0 24 24",
271
- fill: "none",
272
- stroke: "currentColor",
273
- strokeWidth: "2"
274
- }, [
275
- h("path", {
276
- strokeLinecap: "round",
277
- strokeLinejoin: "round",
278
- d: "M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
279
- })
280
- ]),
280
+ h(
281
+ "svg",
282
+ {
283
+ class: "w-3.5 h-3.5",
284
+ viewBox: "0 0 24 24",
285
+ fill: "none",
286
+ stroke: "currentColor",
287
+ strokeWidth: "2"
288
+ },
289
+ [
290
+ h("path", {
291
+ strokeLinecap: "round",
292
+ strokeLinejoin: "round",
293
+ d: "M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
294
+ })
295
+ ]
296
+ ),
281
297
  h("span", props.moreText)
282
298
  ])
283
299
  }
@@ -294,10 +310,7 @@ var CommentThread = defineComponent({
294
310
  key: actionKey,
295
311
  size: "sm",
296
312
  variant: action.variant ?? "ghost",
297
- className: classNames(
298
- ACTION_BTN,
299
- "hover:bg-gray-100 dark:hover:bg-gray-800"
300
- ),
313
+ className: classNames(ACTION_BTN, "hover:bg-gray-100 dark:hover:bg-gray-800"),
301
314
  disabled: action.disabled,
302
315
  onClick: () => {
303
316
  action.onClick?.(node, action);
@@ -331,17 +344,31 @@ var CommentThread = defineComponent({
331
344
  h("div", { class: "flex items-center gap-2 flex-wrap" }, [
332
345
  node.user?.name ? h(
333
346
  Text,
334
- { tag: "span", size: "sm", weight: "bold", class: "text-gray-900 dark:text-gray-100 hover:text-blue-600 dark:hover:text-blue-400 transition-colors cursor-pointer" },
347
+ {
348
+ tag: "span",
349
+ size: "sm",
350
+ weight: "bold",
351
+ class: "text-gray-900 dark:text-gray-100 hover:text-blue-600 dark:hover:text-blue-400 transition-colors cursor-pointer"
352
+ },
335
353
  { default: () => node.user?.name }
336
354
  ) : null,
337
355
  node.user?.title ? h(
338
356
  Text,
339
- { tag: "span", size: "xs", color: "muted", class: "bg-gray-100 dark:bg-gray-800 px-1.5 py-0.5 rounded text-gray-500 dark:text-gray-400 font-medium" },
357
+ {
358
+ tag: "span",
359
+ size: "xs",
360
+ color: "muted",
361
+ class: "bg-gray-100 dark:bg-gray-800 px-1.5 py-0.5 rounded text-gray-500 dark:text-gray-400 font-medium"
362
+ },
340
363
  { default: () => node.user?.title }
341
364
  ) : null,
342
365
  node.tag ? h(
343
366
  Tag,
344
- { size: "sm", variant: node.tag.variant ?? "default", className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10" },
367
+ {
368
+ size: "sm",
369
+ variant: node.tag.variant ?? "default",
370
+ className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10"
371
+ },
345
372
  { default: () => node.tag?.label }
346
373
  ) : null,
347
374
  ...(node.tags ?? []).map(
@@ -358,7 +385,12 @@ var CommentThread = defineComponent({
358
385
  ),
359
386
  node.time ? h(
360
387
  Text,
361
- { tag: "span", size: "xs", color: "muted", class: "ml-auto text-gray-400 dark:text-gray-500 font-normal" },
388
+ {
389
+ tag: "span",
390
+ size: "xs",
391
+ color: "muted",
392
+ class: "ml-auto text-gray-400 dark:text-gray-500 font-normal"
393
+ },
362
394
  { default: () => formatCommentTime(node.time) }
363
395
  ) : null
364
396
  ]),
@@ -417,13 +449,16 @@ var CommentThread = defineComponent({
417
449
  {
418
450
  size: "sm",
419
451
  variant: "ghost",
420
- className: classNames("mt-2 font-semibold hover:bg-[var(--tiger-primary,#2563eb)]/10 dark:hover:bg-blue-400/10 transition-colors", PRIMARY_BTN),
452
+ className: classNames(
453
+ "mt-2 font-semibold hover:bg-[var(--tiger-primary,#2563eb)]/10 dark:hover:bg-blue-400/10 transition-colors",
454
+ PRIMARY_BTN
455
+ ),
421
456
  "aria-expanded": isExpanded,
422
457
  "aria-controls": repliesId,
423
458
  onClick: () => toggleExpanded(node.id)
424
459
  },
425
460
  {
426
- default: () => isExpanded ? "\u25BE \u6536\u8D77\u56DE\u590D" : `\u25B8 \u5C55\u5F00 ${node.children.length} \u6761\u56DE\u590D`
461
+ default: () => isExpanded ? "\u25BE \u6536\u8D77\u56DE\u590D" : `\u25B8 \u5C55\u5F00 ${children.length} \u6761\u56DE\u590D`
427
462
  }
428
463
  ) : null,
429
464
  showReplies ? h(
@@ -458,21 +493,27 @@ var CommentThread = defineComponent({
458
493
  const children = resolvedNodes.value.length === 0 ? [
459
494
  h(
460
495
  "div",
461
- { class: "flex flex-col items-center justify-center border border-dashed border-gray-200 dark:border-gray-800/80 rounded-xl py-12 px-4 bg-gray-50/20 dark:bg-gray-900/5 transition-colors" },
496
+ {
497
+ class: "flex flex-col items-center justify-center border border-dashed border-gray-200 dark:border-gray-800/80 rounded-xl py-12 px-4 bg-gray-50/20 dark:bg-gray-900/5 transition-colors"
498
+ },
462
499
  [
463
- h("svg", {
464
- class: "w-10 h-10 text-gray-300 dark:text-gray-600 mb-3",
465
- fill: "none",
466
- viewBox: "0 0 24 24",
467
- stroke: "currentColor",
468
- strokeWidth: "1.5"
469
- }, [
470
- h("path", {
471
- strokeLinecap: "round",
472
- strokeLinejoin: "round",
473
- d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
474
- })
475
- ]),
500
+ h(
501
+ "svg",
502
+ {
503
+ class: "w-10 h-10 text-gray-300 dark:text-gray-600 mb-3",
504
+ fill: "none",
505
+ viewBox: "0 0 24 24",
506
+ stroke: "currentColor",
507
+ strokeWidth: "1.5"
508
+ },
509
+ [
510
+ h("path", {
511
+ strokeLinecap: "round",
512
+ strokeLinejoin: "round",
513
+ d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
514
+ })
515
+ ]
516
+ ),
476
517
  h(
477
518
  Text,
478
519
  { tag: "div", size: "sm", color: "muted", class: "font-medium" },
@@ -117,7 +117,7 @@ var CommentThread = _vue.defineComponent.call(void 0, {
117
117
  default: void 0
118
118
  }
119
119
  },
120
- emits: ["like", "reply", "more", "action", "expand-change", "load-more"],
120
+ emits: ["like", "reply", "more", "action", "update:expandedKeys", "load-more"],
121
121
  setup(props, { emit, attrs }) {
122
122
  const innerExpandedKeys = _vue.ref.call(void 0, [...props.defaultExpandedKeys]);
123
123
  const expandedAllKeys = _vue.ref.call(void 0, /* @__PURE__ */ new Set());
@@ -141,7 +141,7 @@ var CommentThread = _vue.defineComponent.call(void 0, {
141
141
  if (!props.expandedKeys) {
142
142
  innerExpandedKeys.value = next;
143
143
  }
144
- emit("expand-change", next);
144
+ emit("update:expandedKeys", next);
145
145
  };
146
146
  const toggleExpanded = (id) => {
147
147
  const current = mergedExpandedKeys.value;
@@ -167,13 +167,14 @@ var CommentThread = _vue.defineComponent.call(void 0, {
167
167
  const ACTION_BTN = `${BTN_BASE} text-gray-500 dark:text-gray-400 font-medium flex items-center gap-1.5`;
168
168
  const PRIMARY_BTN = `${BTN_BASE} text-[var(--tiger-primary,#2563eb)] hover:text-[var(--tiger-primary-hover,#1d4ed8)] dark:text-blue-400 dark:hover:text-blue-300 font-semibold hover:bg-[var(--tiger-primary,#2563eb)]/10 dark:hover:bg-blue-400/10`;
169
169
  const renderNode = (node, depth, isLast) => {
170
- const hasChildren = !!node.children && node.children.length > 0;
170
+ const children = _nullishCoalesce(node.children, () => ( []));
171
+ const hasChildren = children.length > 0;
171
172
  const isExpanded = expandedSet.value.has(node.id);
172
173
  const showReplies = hasChildren && isExpanded;
173
174
  const showAllReplies = expandedAllKeys.value.has(node.id);
174
175
  const repliesId = `tiger-comment-replies-${node.id}`;
175
- const visibleChildren = showReplies ? props.maxReplies > 0 && !showAllReplies ? node.children.slice(0, props.maxReplies) : node.children : [];
176
- const showLoadMore = showReplies && props.maxReplies > 0 && node.children.length > props.maxReplies && !showAllReplies;
176
+ const visibleChildren = showReplies ? props.maxReplies > 0 && !showAllReplies ? children.slice(0, props.maxReplies) : children : [];
177
+ const showLoadMore = showReplies && props.maxReplies > 0 && children.length > props.maxReplies && !showAllReplies;
177
178
  const actions = [];
178
179
  if (props.showLike) {
179
180
  const likeLabel = node.liked ? props.likedText : props.likeText;
@@ -194,17 +195,24 @@ var CommentThread = _vue.defineComponent.call(void 0, {
194
195
  },
195
196
  {
196
197
  default: () => _vue.h.call(void 0, "span", { class: "flex items-center gap-1.5" }, [
197
- _vue.h.call(void 0, "svg", {
198
- class: _tigercatcore.classNames.call(void 0, "w-3.5 h-3.5 transition-transform duration-200 active:scale-125", node.liked ? "fill-current" : "stroke-current fill-none"),
199
- viewBox: "0 0 24 24",
200
- strokeWidth: "2"
201
- }, [
202
- _vue.h.call(void 0, "path", {
203
- strokeLinecap: "round",
204
- strokeLinejoin: "round",
205
- d: "M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.421.068.848.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 010-7.764c.26-.85.1083-1.368 1.972-1.368h.908c.445 0 .72.498.523.898a8.963 8.963 0 00-.27.602"
206
- })
207
- ]),
198
+ _vue.h.call(void 0,
199
+ "svg",
200
+ {
201
+ class: _tigercatcore.classNames.call(void 0,
202
+ "w-3.5 h-3.5 transition-transform duration-200 active:scale-125",
203
+ node.liked ? "fill-current" : "stroke-current fill-none"
204
+ ),
205
+ viewBox: "0 0 24 24",
206
+ strokeWidth: "2"
207
+ },
208
+ [
209
+ _vue.h.call(void 0, "path", {
210
+ strokeLinecap: "round",
211
+ strokeLinejoin: "round",
212
+ d: "M6.633 10.5c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75A2.25 2.25 0 0116.5 4.5c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.421.068.848.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23H5.904M14.25 9h2.25M5.904 18.75c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 010-7.764c.26-.85.1083-1.368 1.972-1.368h.908c.445 0 .72.498.523.898a8.963 8.963 0 00-.27.602"
213
+ })
214
+ ]
215
+ ),
208
216
  _vue.h.call(void 0, "span", `${likeLabel}${likeCount}`)
209
217
  ])
210
218
  }
@@ -230,19 +238,23 @@ var CommentThread = _vue.defineComponent.call(void 0, {
230
238
  },
231
239
  {
232
240
  default: () => _vue.h.call(void 0, "span", { class: "flex items-center gap-1.5" }, [
233
- _vue.h.call(void 0, "svg", {
234
- class: "w-3.5 h-3.5",
235
- viewBox: "0 0 24 24",
236
- fill: "none",
237
- stroke: "currentColor",
238
- strokeWidth: "2"
239
- }, [
240
- _vue.h.call(void 0, "path", {
241
- strokeLinecap: "round",
242
- strokeLinejoin: "round",
243
- d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
244
- })
245
- ]),
241
+ _vue.h.call(void 0,
242
+ "svg",
243
+ {
244
+ class: "w-3.5 h-3.5",
245
+ viewBox: "0 0 24 24",
246
+ fill: "none",
247
+ stroke: "currentColor",
248
+ strokeWidth: "2"
249
+ },
250
+ [
251
+ _vue.h.call(void 0, "path", {
252
+ strokeLinecap: "round",
253
+ strokeLinejoin: "round",
254
+ d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
255
+ })
256
+ ]
257
+ ),
246
258
  _vue.h.call(void 0, "span", props.replyText)
247
259
  ])
248
260
  }
@@ -265,19 +277,23 @@ var CommentThread = _vue.defineComponent.call(void 0, {
265
277
  },
266
278
  {
267
279
  default: () => _vue.h.call(void 0, "span", { class: "flex items-center gap-1.5" }, [
268
- _vue.h.call(void 0, "svg", {
269
- class: "w-3.5 h-3.5",
270
- viewBox: "0 0 24 24",
271
- fill: "none",
272
- stroke: "currentColor",
273
- strokeWidth: "2"
274
- }, [
275
- _vue.h.call(void 0, "path", {
276
- strokeLinecap: "round",
277
- strokeLinejoin: "round",
278
- d: "M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
279
- })
280
- ]),
280
+ _vue.h.call(void 0,
281
+ "svg",
282
+ {
283
+ class: "w-3.5 h-3.5",
284
+ viewBox: "0 0 24 24",
285
+ fill: "none",
286
+ stroke: "currentColor",
287
+ strokeWidth: "2"
288
+ },
289
+ [
290
+ _vue.h.call(void 0, "path", {
291
+ strokeLinecap: "round",
292
+ strokeLinejoin: "round",
293
+ d: "M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"
294
+ })
295
+ ]
296
+ ),
281
297
  _vue.h.call(void 0, "span", props.moreText)
282
298
  ])
283
299
  }
@@ -294,10 +310,7 @@ var CommentThread = _vue.defineComponent.call(void 0, {
294
310
  key: actionKey,
295
311
  size: "sm",
296
312
  variant: _nullishCoalesce(action.variant, () => ( "ghost")),
297
- className: _tigercatcore.classNames.call(void 0,
298
- ACTION_BTN,
299
- "hover:bg-gray-100 dark:hover:bg-gray-800"
300
- ),
313
+ className: _tigercatcore.classNames.call(void 0, ACTION_BTN, "hover:bg-gray-100 dark:hover:bg-gray-800"),
301
314
  disabled: action.disabled,
302
315
  onClick: () => {
303
316
  _optionalChain([action, 'access', _ => _.onClick, 'optionalCall', _2 => _2(node, action)]);
@@ -331,17 +344,31 @@ var CommentThread = _vue.defineComponent.call(void 0, {
331
344
  _vue.h.call(void 0, "div", { class: "flex items-center gap-2 flex-wrap" }, [
332
345
  _optionalChain([node, 'access', _3 => _3.user, 'optionalAccess', _4 => _4.name]) ? _vue.h.call(void 0,
333
346
  _chunkTGHB5XSTjs.Text,
334
- { tag: "span", size: "sm", weight: "bold", class: "text-gray-900 dark:text-gray-100 hover:text-blue-600 dark:hover:text-blue-400 transition-colors cursor-pointer" },
347
+ {
348
+ tag: "span",
349
+ size: "sm",
350
+ weight: "bold",
351
+ class: "text-gray-900 dark:text-gray-100 hover:text-blue-600 dark:hover:text-blue-400 transition-colors cursor-pointer"
352
+ },
335
353
  { default: () => _optionalChain([node, 'access', _5 => _5.user, 'optionalAccess', _6 => _6.name]) }
336
354
  ) : null,
337
355
  _optionalChain([node, 'access', _7 => _7.user, 'optionalAccess', _8 => _8.title]) ? _vue.h.call(void 0,
338
356
  _chunkTGHB5XSTjs.Text,
339
- { tag: "span", size: "xs", color: "muted", class: "bg-gray-100 dark:bg-gray-800 px-1.5 py-0.5 rounded text-gray-500 dark:text-gray-400 font-medium" },
357
+ {
358
+ tag: "span",
359
+ size: "xs",
360
+ color: "muted",
361
+ class: "bg-gray-100 dark:bg-gray-800 px-1.5 py-0.5 rounded text-gray-500 dark:text-gray-400 font-medium"
362
+ },
340
363
  { default: () => _optionalChain([node, 'access', _9 => _9.user, 'optionalAccess', _10 => _10.title]) }
341
364
  ) : null,
342
365
  node.tag ? _vue.h.call(void 0,
343
366
  _chunkBPAZBRCRjs.Tag,
344
- { size: "sm", variant: _nullishCoalesce(node.tag.variant, () => ( "default")), className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10" },
367
+ {
368
+ size: "sm",
369
+ variant: _nullishCoalesce(node.tag.variant, () => ( "default")),
370
+ className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10"
371
+ },
345
372
  { default: () => _optionalChain([node, 'access', _11 => _11.tag, 'optionalAccess', _12 => _12.label]) }
346
373
  ) : null,
347
374
  ...(_nullishCoalesce(node.tags, () => ( []))).map(
@@ -358,7 +385,12 @@ var CommentThread = _vue.defineComponent.call(void 0, {
358
385
  ),
359
386
  node.time ? _vue.h.call(void 0,
360
387
  _chunkTGHB5XSTjs.Text,
361
- { tag: "span", size: "xs", color: "muted", class: "ml-auto text-gray-400 dark:text-gray-500 font-normal" },
388
+ {
389
+ tag: "span",
390
+ size: "xs",
391
+ color: "muted",
392
+ class: "ml-auto text-gray-400 dark:text-gray-500 font-normal"
393
+ },
362
394
  { default: () => _tigercatcore.formatCommentTime.call(void 0, node.time) }
363
395
  ) : null
364
396
  ]),
@@ -417,13 +449,16 @@ var CommentThread = _vue.defineComponent.call(void 0, {
417
449
  {
418
450
  size: "sm",
419
451
  variant: "ghost",
420
- className: _tigercatcore.classNames.call(void 0, "mt-2 font-semibold hover:bg-[var(--tiger-primary,#2563eb)]/10 dark:hover:bg-blue-400/10 transition-colors", PRIMARY_BTN),
452
+ className: _tigercatcore.classNames.call(void 0,
453
+ "mt-2 font-semibold hover:bg-[var(--tiger-primary,#2563eb)]/10 dark:hover:bg-blue-400/10 transition-colors",
454
+ PRIMARY_BTN
455
+ ),
421
456
  "aria-expanded": isExpanded,
422
457
  "aria-controls": repliesId,
423
458
  onClick: () => toggleExpanded(node.id)
424
459
  },
425
460
  {
426
- default: () => isExpanded ? "\u25BE \u6536\u8D77\u56DE\u590D" : `\u25B8 \u5C55\u5F00 ${node.children.length} \u6761\u56DE\u590D`
461
+ default: () => isExpanded ? "\u25BE \u6536\u8D77\u56DE\u590D" : `\u25B8 \u5C55\u5F00 ${children.length} \u6761\u56DE\u590D`
427
462
  }
428
463
  ) : null,
429
464
  showReplies ? _vue.h.call(void 0,
@@ -458,21 +493,27 @@ var CommentThread = _vue.defineComponent.call(void 0, {
458
493
  const children = resolvedNodes.value.length === 0 ? [
459
494
  _vue.h.call(void 0,
460
495
  "div",
461
- { class: "flex flex-col items-center justify-center border border-dashed border-gray-200 dark:border-gray-800/80 rounded-xl py-12 px-4 bg-gray-50/20 dark:bg-gray-900/5 transition-colors" },
496
+ {
497
+ class: "flex flex-col items-center justify-center border border-dashed border-gray-200 dark:border-gray-800/80 rounded-xl py-12 px-4 bg-gray-50/20 dark:bg-gray-900/5 transition-colors"
498
+ },
462
499
  [
463
- _vue.h.call(void 0, "svg", {
464
- class: "w-10 h-10 text-gray-300 dark:text-gray-600 mb-3",
465
- fill: "none",
466
- viewBox: "0 0 24 24",
467
- stroke: "currentColor",
468
- strokeWidth: "1.5"
469
- }, [
470
- _vue.h.call(void 0, "path", {
471
- strokeLinecap: "round",
472
- strokeLinejoin: "round",
473
- d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
474
- })
475
- ]),
500
+ _vue.h.call(void 0,
501
+ "svg",
502
+ {
503
+ class: "w-10 h-10 text-gray-300 dark:text-gray-600 mb-3",
504
+ fill: "none",
505
+ viewBox: "0 0 24 24",
506
+ stroke: "currentColor",
507
+ strokeWidth: "1.5"
508
+ },
509
+ [
510
+ _vue.h.call(void 0, "path", {
511
+ strokeLinecap: "round",
512
+ strokeLinejoin: "round",
513
+ d: "M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
514
+ })
515
+ ]
516
+ ),
476
517
  _vue.h.call(void 0,
477
518
  _chunkTGHB5XSTjs.Text,
478
519
  { tag: "div", size: "sm", color: "muted", class: "font-medium" },