@expcat/tigercat-react 0.4.3 → 1.0.4

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 (480) hide show
  1. package/dist/chunk-24RUEJWB.js +293 -0
  2. package/dist/{chunk-WGRYO5HX.mjs → chunk-2UQC3WOI.mjs} +63 -49
  3. package/dist/{chunk-V5NIFF2F.mjs → chunk-2WBPUW75.mjs} +7 -7
  4. package/dist/{chunk-QL6UEG3U.js → chunk-2XOFRGY6.js} +16 -3
  5. package/dist/chunk-32PAZTVF.mjs +123 -0
  6. package/dist/{chunk-IGE44BIS.mjs → chunk-34DLDOGP.mjs} +105 -19
  7. package/dist/chunk-34VGG7AK.mjs +40 -0
  8. package/dist/chunk-3EB42WFR.mjs +35 -0
  9. package/dist/{chunk-Z7SXK2KO.js → chunk-3JGOTJZM.js} +10 -7
  10. package/dist/{chunk-ENSLMM3L.mjs → chunk-3KMKMAE3.mjs} +15 -10
  11. package/dist/{chunk-SFALTVPS.js → chunk-3USEV7EV.js} +2 -2
  12. package/dist/chunk-45H3JEI3.js +155 -0
  13. package/dist/chunk-4APNERYR.js +212 -0
  14. package/dist/chunk-4GV7UQJJ.js +96 -0
  15. package/dist/chunk-4MKMM2OI.js +112 -0
  16. package/dist/{chunk-XKDWDANG.js → chunk-4Q4GADHJ.js} +7 -7
  17. package/dist/{chunk-QM4GOQDT.js → chunk-4QJZT6QK.js} +44 -6
  18. package/dist/chunk-4QQZ5H4V.mjs +213 -0
  19. package/dist/chunk-5CGXFQND.mjs +100 -0
  20. package/dist/chunk-5EVHVZG5.js +119 -0
  21. package/dist/{chunk-LXX2ZDJN.js → chunk-5MALB34H.js} +9 -9
  22. package/dist/chunk-5ZYZQXEM.mjs +167 -0
  23. package/dist/{chunk-PEGJ2KHC.js → chunk-65VXCN5N.js} +50 -68
  24. package/dist/{chunk-6PXNWGR5.mjs → chunk-6744DTEB.mjs} +9 -4
  25. package/dist/chunk-6E7FPBRR.mjs +192 -0
  26. package/dist/{chunk-NQFHS4W2.mjs → chunk-6KKUJT6B.mjs} +1 -1
  27. package/dist/{chunk-OXT5RN55.mjs → chunk-6P3JIUSI.mjs} +3 -3
  28. package/dist/chunk-73BP3WQN.mjs +210 -0
  29. package/dist/{chunk-77PE7OFK.mjs → chunk-7MASYF4S.mjs} +1 -1
  30. package/dist/{chunk-VCNZEQEB.mjs → chunk-7QZ4XT2P.mjs} +6 -5
  31. package/dist/chunk-7YLVAZJQ.mjs +47 -0
  32. package/dist/{chunk-NV3JUZ3N.js → chunk-AGR3FM3V.js} +4 -4
  33. package/dist/{chunk-EHYSER2Z.js → chunk-AHF6JE43.js} +7 -7
  34. package/dist/{chunk-MWH6FCSE.js → chunk-AJQPGAYL.js} +8 -8
  35. package/dist/{chunk-3PV2MDST.mjs → chunk-AMOH5AMN.mjs} +8 -8
  36. package/dist/chunk-AOZLBASY.mjs +38 -0
  37. package/dist/chunk-ASALMHFI.js +34 -0
  38. package/dist/chunk-AUW7DCXL.js +61 -0
  39. package/dist/{chunk-QFYS5QIZ.mjs → chunk-AYDTXJOR.mjs} +4 -4
  40. package/dist/{chunk-LLHUBM6E.mjs → chunk-B3MNIAM5.mjs} +4 -4
  41. package/dist/chunk-B53R2U2R.mjs +86 -0
  42. package/dist/chunk-BALJCZ62.mjs +147 -0
  43. package/dist/{chunk-F24IF2QL.js → chunk-BCNKTT5C.js} +14 -9
  44. package/dist/{chunk-JNLX47UL.mjs → chunk-BJ2GUKPU.mjs} +74 -36
  45. package/dist/chunk-BKYE77F2.js +171 -0
  46. package/dist/chunk-BR5OSUZT.mjs +55 -0
  47. package/dist/chunk-BZ3AXFLG.js +149 -0
  48. package/dist/{chunk-SOC74QA2.js → chunk-C6WJ4GQW.js} +8 -8
  49. package/dist/{chunk-LXQOQJMU.js → chunk-CDT3P2ZN.js} +5 -12
  50. package/dist/chunk-CHH7DWIO.js +121 -0
  51. package/dist/{chunk-3T7L3MHX.js → chunk-CKFE2B36.js} +76 -38
  52. package/dist/{chunk-QNRAM3CM.js → chunk-CMGI5WHZ.js} +3 -2
  53. package/dist/chunk-CQGAZ5JQ.js +61 -0
  54. package/dist/chunk-CRSMECWE.mjs +33 -0
  55. package/dist/{chunk-KAWE5LQZ.js → chunk-D6BHFGTN.js} +29 -0
  56. package/dist/chunk-DAR2BMMV.js +150 -0
  57. package/dist/{chunk-OCVQ3LOT.mjs → chunk-DKT2EYVM.mjs} +3 -5
  58. package/dist/chunk-DZGDCRBH.mjs +30 -0
  59. package/dist/{chunk-S4GNTA7V.mjs → chunk-EBLAM3YP.mjs} +2 -2
  60. package/dist/chunk-EEF26RBA.mjs +48 -0
  61. package/dist/{chunk-PJCY45UP.mjs → chunk-EHU3J4B2.mjs} +1 -1
  62. package/dist/{chunk-RKB2VUQO.js → chunk-EOYJLBFD.js} +24 -21
  63. package/dist/{chunk-DTQZPZSJ.mjs → chunk-EPN7QWP6.mjs} +16 -2
  64. package/dist/{chunk-M46L73HR.js → chunk-ET5YJELZ.js} +14 -14
  65. package/dist/{chunk-NTODO3Q3.mjs → chunk-EV6KRX6F.mjs} +38 -8
  66. package/dist/{chunk-GB5G2CJY.js → chunk-F2OF6XZ6.js} +36 -6
  67. package/dist/chunk-F6KHZNRS.js +32 -0
  68. package/dist/{chunk-URM7QDHH.js → chunk-F7H4ALKN.js} +2 -2
  69. package/dist/chunk-FHE4D56E.js +188 -0
  70. package/dist/chunk-FNK4ZATV.js +94 -0
  71. package/dist/{chunk-RGFSY3S2.mjs → chunk-FPURO6QB.mjs} +16 -3
  72. package/dist/chunk-GBTKAKUD.mjs +300 -0
  73. package/dist/chunk-GOUMB34F.mjs +168 -0
  74. package/dist/chunk-H3NLKNR4.mjs +192 -0
  75. package/dist/{chunk-6W6CRBBG.mjs → chunk-HCZA4LV6.mjs} +8 -5
  76. package/dist/{chunk-5CLXOFRZ.mjs → chunk-HLJQZUIY.mjs} +11 -10
  77. package/dist/chunk-HLS4CHWX.mjs +29 -0
  78. package/dist/{chunk-MTL2QUM3.mjs → chunk-HSHVLIEL.mjs} +2 -2
  79. package/dist/{chunk-XWNVBCJA.js → chunk-HU3VDVH6.js} +14 -15
  80. package/dist/{chunk-SW4I4X6E.mjs → chunk-HUCBHFSL.mjs} +24 -21
  81. package/dist/{chunk-Q57BYUUW.js → chunk-HWWNBCFB.js} +39 -8
  82. package/dist/{chunk-MDZDPGRK.mjs → chunk-HZ5Z5Y2J.mjs} +29 -10
  83. package/dist/chunk-HZHFFVP7.mjs +63 -0
  84. package/dist/chunk-I3CDTF4U.js +45 -0
  85. package/dist/chunk-I4SKKEU3.js +151 -0
  86. package/dist/{chunk-RCNTRSUA.mjs → chunk-INBSKSZG.mjs} +51 -69
  87. package/dist/chunk-IOHPB4CF.js +148 -0
  88. package/dist/{chunk-QIJG42YQ.mjs → chunk-IPLK4AIE.mjs} +3 -3
  89. package/dist/{chunk-XWRJVNB6.js → chunk-IWP22YTF.js} +104 -18
  90. package/dist/chunk-J3N24I7A.mjs +58 -0
  91. package/dist/chunk-JB33A4S6.js +125 -0
  92. package/dist/{chunk-DQNA57CA.js → chunk-JLM4LBUS.js} +5 -12
  93. package/dist/{chunk-TJFS44SH.js → chunk-JLRRXRZO.js} +2 -4
  94. package/dist/{chunk-GNMOOYHG.js → chunk-KNBNE74O.js} +11 -10
  95. package/dist/chunk-LODDAS62.js +173 -0
  96. package/dist/{chunk-LL6B4BHF.mjs → chunk-LPNHBHS2.mjs} +4 -4
  97. package/dist/{chunk-KBTFBEPE.mjs → chunk-MB7CJ32C.mjs} +153 -16
  98. package/dist/{chunk-IP3MAJSH.mjs → chunk-MQ5ZP5RW.mjs} +5 -12
  99. package/dist/{chunk-KMTERPME.mjs → chunk-MSHCPJIJ.mjs} +1 -1
  100. package/dist/chunk-N66WEQ6M.js +240 -0
  101. package/dist/{chunk-TDRINUMH.js → chunk-NZNSUKPT.js} +29 -10
  102. package/dist/{chunk-EFLIFXZH.js → chunk-P3XVLJYD.js} +15 -1
  103. package/dist/chunk-P6E3DILH.mjs +51 -0
  104. package/dist/{chunk-HPXLUJFJ.mjs → chunk-PN33UCWB.mjs} +3 -5
  105. package/dist/chunk-PNAWOJ32.js +54 -0
  106. package/dist/{chunk-72MWKUBC.js → chunk-PUYT62KC.js} +17 -4
  107. package/dist/chunk-Q4JMAQXJ.js +41 -0
  108. package/dist/chunk-QBZODEIG.js +49 -0
  109. package/dist/chunk-QHG7KJH6.js +302 -0
  110. package/dist/chunk-QIXQYLH5.js +44 -0
  111. package/dist/chunk-QO3GGQAV.mjs +148 -0
  112. package/dist/{chunk-RGZYYVQF.mjs → chunk-QPGL4YEO.mjs} +39 -11
  113. package/dist/{chunk-6IH5QPTR.mjs → chunk-QPOH6SOO.mjs} +44 -6
  114. package/dist/chunk-QVZTZHCJ.mjs +148 -0
  115. package/dist/{chunk-C7UKFKVY.js → chunk-QYGBT4NL.js} +40 -12
  116. package/dist/chunk-QYLNPHKG.mjs +87 -0
  117. package/dist/chunk-R3QWJ7GT.mjs +186 -0
  118. package/dist/chunk-R5P72RIT.js +180 -0
  119. package/dist/chunk-R5XY4EQL.js +56 -0
  120. package/dist/chunk-RRJTIKU6.mjs +238 -0
  121. package/dist/{chunk-ZFHTSHXS.mjs → chunk-RUROWRB5.mjs} +30 -1
  122. package/dist/{chunk-SAZ6V6DX.js → chunk-RVCUNEBU.js} +2 -4
  123. package/dist/chunk-RWZIWKZR.js +188 -0
  124. package/dist/{chunk-HB2UYJBY.js → chunk-RYW4CV7U.js} +61 -47
  125. package/dist/chunk-S5Y6UHAK.mjs +116 -0
  126. package/dist/{chunk-YV6Y7C43.js → chunk-SDWJSALH.js} +8 -3
  127. package/dist/chunk-SQK2CPSV.mjs +59 -0
  128. package/dist/{chunk-NJCKTIWB.mjs → chunk-SWF7GJYT.mjs} +6 -7
  129. package/dist/chunk-T5FAKJ6C.mjs +49 -0
  130. package/dist/chunk-TFPIRBHL.js +103 -0
  131. package/dist/chunk-TKZO5UBH.js +65 -0
  132. package/dist/chunk-TMQA74FM.js +215 -0
  133. package/dist/chunk-TQEIMVJD.mjs +94 -0
  134. package/dist/chunk-TYCRDHE6.mjs +143 -0
  135. package/dist/chunk-TZNTHABR.js +58 -0
  136. package/dist/chunk-UBKOITHT.mjs +142 -0
  137. package/dist/{chunk-RDIEZKV2.js → chunk-UEJHVPE2.js} +2 -2
  138. package/dist/chunk-UF3DXKCI.js +35 -0
  139. package/dist/chunk-UIO6O4MI.js +57 -0
  140. package/dist/chunk-UKGQ7256.js +13 -0
  141. package/dist/chunk-UPQGB5NQ.mjs +38 -0
  142. package/dist/chunk-UQMPEMY7.mjs +11 -0
  143. package/dist/chunk-V3P4ZAGL.mjs +110 -0
  144. package/dist/{chunk-TGPQ4KET.mjs → chunk-VAQDUVBP.mjs} +29 -2
  145. package/dist/chunk-VHHEP5G7.js +123 -0
  146. package/dist/{chunk-J3HKED4B.js → chunk-VHWTMNQN.js} +8 -8
  147. package/dist/{chunk-56KTCMRE.mjs → chunk-VONFSF4S.mjs} +5 -12
  148. package/dist/{chunk-JWFEJ4XG.js → chunk-WGPUGPYE.js} +2 -2
  149. package/dist/chunk-WIWTY74F.mjs +44 -0
  150. package/dist/chunk-WNLUUD5N.mjs +179 -0
  151. package/dist/{chunk-VCOBBJLP.js → chunk-WVVXZKNI.js} +5 -4
  152. package/dist/chunk-XEYP62CR.js +194 -0
  153. package/dist/chunk-XFJ5Q5PF.mjs +30 -0
  154. package/dist/{chunk-ZBVFM3GJ.js → chunk-XO6NSGV3.js} +152 -15
  155. package/dist/{chunk-FMF2G6BJ.js → chunk-XR6B2URW.js} +3 -3
  156. package/dist/chunk-Y3NDP56G.mjs +174 -0
  157. package/dist/chunk-YHFBPSMF.js +198 -0
  158. package/dist/chunk-YID7J6ZK.js +37 -0
  159. package/dist/chunk-YJ4W6DMX.mjs +186 -0
  160. package/dist/chunk-YLZEOXFS.mjs +116 -0
  161. package/dist/chunk-YPHOVEVU.mjs +118 -0
  162. package/dist/chunk-YXWRSEP5.mjs +286 -0
  163. package/dist/chunk-Z6CRXABX.js +88 -0
  164. package/dist/{chunk-24U2DQRP.mjs → chunk-ZD4BVRYG.mjs} +2 -1
  165. package/dist/chunk-ZRHDNGWO.js +46 -0
  166. package/dist/chunk-ZYJTHGQW.js +181 -0
  167. package/dist/components/ActivityFeed.js +5 -5
  168. package/dist/components/ActivityFeed.mjs +3 -3
  169. package/dist/components/Affix.d.mts +11 -0
  170. package/dist/components/Affix.d.ts +11 -0
  171. package/dist/components/Affix.js +10 -0
  172. package/dist/components/Affix.mjs +1 -0
  173. package/dist/components/Alert.js +2 -2
  174. package/dist/components/Alert.mjs +1 -1
  175. package/dist/components/AreaChart.js +5 -5
  176. package/dist/components/AreaChart.mjs +3 -3
  177. package/dist/components/AutoComplete.d.mts +16 -0
  178. package/dist/components/AutoComplete.d.ts +16 -0
  179. package/dist/components/AutoComplete.js +10 -0
  180. package/dist/components/AutoComplete.mjs +1 -0
  181. package/dist/components/AvatarGroup.d.mts +14 -0
  182. package/dist/components/AvatarGroup.d.ts +14 -0
  183. package/dist/components/AvatarGroup.js +14 -0
  184. package/dist/components/AvatarGroup.mjs +1 -0
  185. package/dist/components/Badge.js +2 -2
  186. package/dist/components/Badge.mjs +1 -1
  187. package/dist/components/BarChart.js +5 -5
  188. package/dist/components/BarChart.mjs +3 -3
  189. package/dist/components/Button.d.mts +2 -1
  190. package/dist/components/Button.d.ts +2 -1
  191. package/dist/components/Button.js +2 -2
  192. package/dist/components/Button.mjs +1 -1
  193. package/dist/components/ButtonGroup.d.mts +15 -0
  194. package/dist/components/ButtonGroup.d.ts +15 -0
  195. package/dist/components/ButtonGroup.js +18 -0
  196. package/dist/components/ButtonGroup.mjs +1 -0
  197. package/dist/components/Calendar.d.mts +15 -0
  198. package/dist/components/Calendar.d.ts +15 -0
  199. package/dist/components/Calendar.js +16 -0
  200. package/dist/components/Calendar.mjs +1 -0
  201. package/dist/components/Card.js +2 -2
  202. package/dist/components/Card.mjs +1 -1
  203. package/dist/components/Cascader.d.mts +15 -0
  204. package/dist/components/Cascader.d.ts +15 -0
  205. package/dist/components/Cascader.js +10 -0
  206. package/dist/components/Cascader.mjs +1 -0
  207. package/dist/components/ChatWindow.js +7 -6
  208. package/dist/components/ChatWindow.mjs +5 -4
  209. package/dist/components/Checkbox.js +4 -3
  210. package/dist/components/Checkbox.mjs +3 -2
  211. package/dist/components/CheckboxGroup.js +4 -3
  212. package/dist/components/CheckboxGroup.mjs +2 -1
  213. package/dist/components/CodeEditor.d.mts +11 -0
  214. package/dist/components/CodeEditor.d.ts +11 -0
  215. package/dist/components/CodeEditor.js +16 -0
  216. package/dist/components/CodeEditor.mjs +1 -0
  217. package/dist/components/ColorPicker.d.mts +12 -0
  218. package/dist/components/ColorPicker.d.ts +12 -0
  219. package/dist/components/ColorPicker.js +10 -0
  220. package/dist/components/ColorPicker.mjs +1 -0
  221. package/dist/components/CommentThread.js +7 -6
  222. package/dist/components/CommentThread.mjs +5 -4
  223. package/dist/components/ConfigProvider.d.mts +5 -1
  224. package/dist/components/ConfigProvider.d.ts +5 -1
  225. package/dist/components/ConfigProvider.js +3 -3
  226. package/dist/components/ConfigProvider.mjs +1 -1
  227. package/dist/components/CropUpload.js +4 -4
  228. package/dist/components/CropUpload.mjs +3 -3
  229. package/dist/components/DataTableWithToolbar.js +7 -7
  230. package/dist/components/DataTableWithToolbar.mjs +5 -5
  231. package/dist/components/DatePicker.js +2 -2
  232. package/dist/components/DatePicker.mjs +1 -1
  233. package/dist/components/Descriptions.d.mts +3 -3
  234. package/dist/components/Descriptions.d.ts +3 -3
  235. package/dist/components/Descriptions.js +3 -3
  236. package/dist/components/Descriptions.mjs +1 -1
  237. package/dist/components/Divider.js +2 -2
  238. package/dist/components/Divider.mjs +1 -1
  239. package/dist/components/DonutChart.js +5 -5
  240. package/dist/components/DonutChart.mjs +3 -3
  241. package/dist/components/Drawer.js +2 -2
  242. package/dist/components/Drawer.mjs +1 -1
  243. package/dist/components/Dropdown.d.mts +1 -1
  244. package/dist/components/Dropdown.d.ts +1 -1
  245. package/dist/components/Dropdown.js +3 -3
  246. package/dist/components/Dropdown.mjs +1 -1
  247. package/dist/components/DropdownItem.js +3 -3
  248. package/dist/components/DropdownItem.mjs +2 -2
  249. package/dist/components/Empty.d.mts +14 -0
  250. package/dist/components/Empty.d.ts +14 -0
  251. package/dist/components/Empty.js +10 -0
  252. package/dist/components/Empty.mjs +1 -0
  253. package/dist/components/FileManager.d.mts +29 -0
  254. package/dist/components/FileManager.d.ts +29 -0
  255. package/dist/components/FileManager.js +16 -0
  256. package/dist/components/FileManager.mjs +1 -0
  257. package/dist/components/FloatButton.d.mts +21 -0
  258. package/dist/components/FloatButton.d.ts +21 -0
  259. package/dist/components/FloatButton.js +14 -0
  260. package/dist/components/FloatButton.mjs +1 -0
  261. package/dist/components/Form.d.mts +24 -0
  262. package/dist/components/Form.d.ts +24 -0
  263. package/dist/components/Form.js +3 -3
  264. package/dist/components/Form.mjs +1 -1
  265. package/dist/components/FormItem.js +3 -3
  266. package/dist/components/FormItem.mjs +2 -2
  267. package/dist/components/FormWizard.d.mts +1 -1
  268. package/dist/components/FormWizard.d.ts +1 -1
  269. package/dist/components/FormWizard.js +5 -5
  270. package/dist/components/FormWizard.mjs +3 -3
  271. package/dist/components/FunnelChart.d.mts +15 -0
  272. package/dist/components/FunnelChart.d.ts +15 -0
  273. package/dist/components/FunnelChart.js +14 -0
  274. package/dist/components/FunnelChart.mjs +5 -0
  275. package/dist/components/GaugeChart.d.mts +9 -0
  276. package/dist/components/GaugeChart.d.ts +9 -0
  277. package/dist/components/GaugeChart.js +11 -0
  278. package/dist/components/GaugeChart.mjs +2 -0
  279. package/dist/components/HeatmapChart.d.mts +13 -0
  280. package/dist/components/HeatmapChart.d.ts +13 -0
  281. package/dist/components/HeatmapChart.js +13 -0
  282. package/dist/components/HeatmapChart.mjs +4 -0
  283. package/dist/components/Image.d.mts +4 -0
  284. package/dist/components/Image.d.ts +4 -0
  285. package/dist/components/Image.js +4 -4
  286. package/dist/components/Image.mjs +3 -3
  287. package/dist/components/ImageGroup.js +4 -4
  288. package/dist/components/ImageGroup.mjs +2 -2
  289. package/dist/components/ImagePreview.d.mts +3 -2
  290. package/dist/components/ImagePreview.d.ts +3 -2
  291. package/dist/components/ImagePreview.js +2 -2
  292. package/dist/components/ImagePreview.mjs +1 -1
  293. package/dist/components/ImageViewer.d.mts +20 -0
  294. package/dist/components/ImageViewer.d.ts +20 -0
  295. package/dist/components/ImageViewer.js +10 -0
  296. package/dist/components/ImageViewer.mjs +1 -0
  297. package/dist/components/InfiniteScroll.d.mts +20 -0
  298. package/dist/components/InfiniteScroll.d.ts +20 -0
  299. package/dist/components/InfiniteScroll.js +16 -0
  300. package/dist/components/InfiniteScroll.mjs +1 -0
  301. package/dist/components/Input.d.mts +5 -0
  302. package/dist/components/Input.d.ts +5 -0
  303. package/dist/components/Input.js +2 -2
  304. package/dist/components/Input.mjs +1 -1
  305. package/dist/components/InputGroup.d.mts +20 -0
  306. package/dist/components/InputGroup.d.ts +20 -0
  307. package/dist/components/InputGroup.js +22 -0
  308. package/dist/components/InputGroup.mjs +1 -0
  309. package/dist/components/InputNumber.js +2 -2
  310. package/dist/components/InputNumber.mjs +1 -1
  311. package/dist/components/Kanban.d.mts +46 -0
  312. package/dist/components/Kanban.d.ts +46 -0
  313. package/dist/components/Kanban.js +17 -0
  314. package/dist/components/Kanban.mjs +2 -0
  315. package/dist/components/LineChart.js +5 -5
  316. package/dist/components/LineChart.mjs +3 -3
  317. package/dist/components/List.d.mts +9 -1
  318. package/dist/components/List.d.ts +9 -1
  319. package/dist/components/List.js +2 -2
  320. package/dist/components/List.mjs +1 -1
  321. package/dist/components/Mentions.d.mts +18 -0
  322. package/dist/components/Mentions.d.ts +18 -0
  323. package/dist/components/Mentions.js +16 -0
  324. package/dist/components/Mentions.mjs +1 -0
  325. package/dist/components/Modal.d.mts +2 -2
  326. package/dist/components/Modal.d.ts +2 -2
  327. package/dist/components/Modal.js +3 -3
  328. package/dist/components/Modal.mjs +2 -2
  329. package/dist/components/NotificationCenter.js +8 -8
  330. package/dist/components/NotificationCenter.mjs +6 -6
  331. package/dist/components/PieChart.js +4 -4
  332. package/dist/components/PieChart.mjs +2 -2
  333. package/dist/components/Popconfirm.d.mts +1 -1
  334. package/dist/components/Popconfirm.d.ts +1 -1
  335. package/dist/components/Popconfirm.js +3 -3
  336. package/dist/components/Popconfirm.mjs +2 -2
  337. package/dist/components/Popover.d.mts +1 -1
  338. package/dist/components/Popover.d.ts +1 -1
  339. package/dist/components/Popover.js +3 -3
  340. package/dist/components/Popover.mjs +2 -2
  341. package/dist/components/PrintLayout.d.mts +22 -0
  342. package/dist/components/PrintLayout.d.ts +22 -0
  343. package/dist/components/PrintLayout.js +14 -0
  344. package/dist/components/PrintLayout.mjs +1 -0
  345. package/dist/components/Progress.js +2 -2
  346. package/dist/components/Progress.mjs +1 -1
  347. package/dist/components/QRCode.d.mts +16 -0
  348. package/dist/components/QRCode.d.ts +16 -0
  349. package/dist/components/QRCode.js +16 -0
  350. package/dist/components/QRCode.mjs +1 -0
  351. package/dist/components/RadarChart.js +4 -4
  352. package/dist/components/RadarChart.mjs +2 -2
  353. package/dist/components/Radio.js +4 -3
  354. package/dist/components/Radio.mjs +3 -2
  355. package/dist/components/RadioGroup.js +4 -3
  356. package/dist/components/RadioGroup.mjs +2 -1
  357. package/dist/components/Rate.d.mts +14 -0
  358. package/dist/components/Rate.d.ts +14 -0
  359. package/dist/components/Rate.js +10 -0
  360. package/dist/components/Rate.mjs +1 -0
  361. package/dist/components/Resizable.d.mts +13 -0
  362. package/dist/components/Resizable.d.ts +13 -0
  363. package/dist/components/Resizable.js +16 -0
  364. package/dist/components/Resizable.mjs +1 -0
  365. package/dist/components/Result.d.mts +14 -0
  366. package/dist/components/Result.d.ts +14 -0
  367. package/dist/components/Result.js +11 -0
  368. package/dist/components/Result.mjs +2 -0
  369. package/dist/components/RichTextEditor.d.mts +26 -0
  370. package/dist/components/RichTextEditor.d.ts +26 -0
  371. package/dist/components/RichTextEditor.js +17 -0
  372. package/dist/components/RichTextEditor.mjs +2 -0
  373. package/dist/components/ScatterChart.js +5 -5
  374. package/dist/components/ScatterChart.mjs +3 -3
  375. package/dist/components/Segmented.d.mts +12 -0
  376. package/dist/components/Segmented.d.ts +12 -0
  377. package/dist/components/Segmented.js +10 -0
  378. package/dist/components/Segmented.mjs +1 -0
  379. package/dist/components/Select.js +2 -2
  380. package/dist/components/Select.mjs +1 -1
  381. package/dist/components/Splitter.d.mts +18 -0
  382. package/dist/components/Splitter.d.ts +18 -0
  383. package/dist/components/Splitter.js +16 -0
  384. package/dist/components/Splitter.mjs +1 -0
  385. package/dist/components/Statistic.d.mts +8 -0
  386. package/dist/components/Statistic.d.ts +8 -0
  387. package/dist/components/Statistic.js +10 -0
  388. package/dist/components/Statistic.mjs +1 -0
  389. package/dist/components/Stepper.d.mts +12 -0
  390. package/dist/components/Stepper.d.ts +12 -0
  391. package/dist/components/Stepper.js +10 -0
  392. package/dist/components/Stepper.mjs +1 -0
  393. package/dist/components/SunburstChart.d.mts +15 -0
  394. package/dist/components/SunburstChart.d.ts +15 -0
  395. package/dist/components/SunburstChart.js +14 -0
  396. package/dist/components/SunburstChart.mjs +5 -0
  397. package/dist/components/TabPane.js +2 -2
  398. package/dist/components/TabPane.mjs +1 -1
  399. package/dist/components/Table.d.mts +13 -1
  400. package/dist/components/Table.d.ts +13 -1
  401. package/dist/components/Table.js +2 -2
  402. package/dist/components/Table.mjs +1 -1
  403. package/dist/components/Tabs.d.mts +7 -0
  404. package/dist/components/Tabs.d.ts +7 -0
  405. package/dist/components/Tabs.js +3 -3
  406. package/dist/components/Tabs.mjs +1 -1
  407. package/dist/components/TaskBoard.js +4 -4
  408. package/dist/components/TaskBoard.mjs +2 -2
  409. package/dist/components/Text.js +2 -2
  410. package/dist/components/Text.mjs +1 -1
  411. package/dist/components/Textarea.js +3 -2
  412. package/dist/components/Textarea.mjs +2 -1
  413. package/dist/components/Tooltip.d.mts +1 -1
  414. package/dist/components/Tooltip.d.ts +1 -1
  415. package/dist/components/Tooltip.js +3 -3
  416. package/dist/components/Tooltip.mjs +2 -2
  417. package/dist/components/Tour.d.mts +14 -0
  418. package/dist/components/Tour.d.ts +14 -0
  419. package/dist/components/Tour.js +11 -0
  420. package/dist/components/Tour.mjs +2 -0
  421. package/dist/components/Transfer.d.mts +12 -0
  422. package/dist/components/Transfer.d.ts +12 -0
  423. package/dist/components/Transfer.js +10 -0
  424. package/dist/components/Transfer.mjs +1 -0
  425. package/dist/components/Tree.d.mts +18 -0
  426. package/dist/components/Tree.d.ts +18 -0
  427. package/dist/components/Tree.js +3 -3
  428. package/dist/components/Tree.mjs +1 -1
  429. package/dist/components/TreeMapChart.d.mts +15 -0
  430. package/dist/components/TreeMapChart.d.ts +15 -0
  431. package/dist/components/TreeMapChart.js +14 -0
  432. package/dist/components/TreeMapChart.mjs +5 -0
  433. package/dist/components/TreeSelect.d.mts +12 -0
  434. package/dist/components/TreeSelect.d.ts +12 -0
  435. package/dist/components/TreeSelect.js +10 -0
  436. package/dist/components/TreeSelect.mjs +1 -0
  437. package/dist/components/Upload.js +3 -3
  438. package/dist/components/Upload.mjs +2 -2
  439. package/dist/components/VirtualList.d.mts +14 -0
  440. package/dist/components/VirtualList.d.ts +14 -0
  441. package/dist/components/VirtualList.js +10 -0
  442. package/dist/components/VirtualList.mjs +1 -0
  443. package/dist/components/VirtualTable.d.mts +26 -0
  444. package/dist/components/VirtualTable.d.ts +26 -0
  445. package/dist/components/VirtualTable.js +16 -0
  446. package/dist/components/VirtualTable.mjs +1 -0
  447. package/dist/components/Watermark.d.mts +9 -0
  448. package/dist/components/Watermark.d.ts +9 -0
  449. package/dist/components/Watermark.js +10 -0
  450. package/dist/components/Watermark.mjs +1 -0
  451. package/dist/index.d.mts +85 -2
  452. package/dist/index.d.ts +85 -2
  453. package/dist/index.js +504 -181
  454. package/dist/index.mjs +223 -64
  455. package/package.json +2 -2
  456. package/dist/chunk-3M2IG6IN.mjs +0 -34
  457. package/dist/chunk-4Y7YH32A.mjs +0 -157
  458. package/dist/chunk-FPNT7FV5.mjs +0 -44
  459. package/dist/chunk-FSDZJD7M.js +0 -159
  460. package/dist/chunk-I5TCE5E7.js +0 -32
  461. package/dist/chunk-LIV33O73.mjs +0 -26
  462. package/dist/chunk-O3W3OZ6V.js +0 -37
  463. package/dist/chunk-OYCMGKQ7.js +0 -111
  464. package/dist/chunk-RPTLVIBF.mjs +0 -109
  465. package/dist/chunk-RYWGELJ7.js +0 -46
  466. package/dist/chunk-SSQOCZ6O.js +0 -36
  467. package/dist/chunk-UZ7SBFQV.mjs +0 -35
  468. package/dist/chunk-VEGBO77D.mjs +0 -20
  469. package/dist/{chunk-2DW3WFZI.mjs → chunk-2LUDQBVY.mjs} +2 -2
  470. package/dist/{chunk-JQNKI2ZZ.js → chunk-C443YA4U.js} +2 -2
  471. package/dist/{chunk-QGCQAJGL.mjs → chunk-DEQWHJLQ.mjs} +2 -2
  472. package/dist/{chunk-N4EMXCRQ.mjs → chunk-FXX3GD35.mjs} +1 -1
  473. package/dist/{chunk-GASFXURT.js → chunk-KQJYSG23.js} +2 -2
  474. package/dist/{chunk-NEP3CS6S.js → chunk-OE6WTZES.js} +2 -2
  475. package/dist/{chunk-SH6O6LDJ.mjs → chunk-QQDKQLHJ.mjs} +1 -1
  476. package/dist/{chunk-F4Q5QMX2.js → chunk-TVJZB7ZC.js} +1 -1
  477. package/dist/{chunk-SM7RDJFB.js → chunk-VILZFNR7.js} +2 -2
  478. package/dist/{chunk-W4TFISRK.js → chunk-WK5QJO57.js} +1 -1
  479. package/dist/{chunk-CYZLGYY4.mjs → chunk-XNMSECO4.mjs} +2 -2
  480. package/dist/{chunk-763M6U5U.mjs → chunk-ZDL3GE3Q.mjs} +2 -2
@@ -0,0 +1,168 @@
1
+ import { useControlledState } from './chunk-UQMPEMY7.mjs';
2
+ import { useRef, useState, useEffect, useCallback, useMemo } from 'react';
3
+ import { isContentEmpty, sanitizeHtml, mapToolbarAction, isValidUrl, findHotkeyMatch, defaultToolbar, classNames, getRichTextContainerClasses, getEditorAreaClasses, parseHeight, richTextToolbarClasses, getToolbarButtonClasses, isInlineFormat, richTextPlaceholderClasses } from '@expcat/tigercat-core';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var RichTextEditor = ({
7
+ value,
8
+ defaultValue = "",
9
+ placeholder,
10
+ mode: _mode = "html",
11
+ toolbar,
12
+ height = 300,
13
+ readOnly = false,
14
+ disabled = false,
15
+ onChange,
16
+ className,
17
+ ...restProps
18
+ }) => {
19
+ const editorRef = useRef(null);
20
+ const [currentContent, setInternalValue, isControlled] = useControlledState(value, defaultValue);
21
+ const [activeFormats, setActiveFormats] = useState(/* @__PURE__ */ new Set());
22
+ const toolbarButtons = toolbar ?? defaultToolbar;
23
+ const empty = isContentEmpty(currentContent);
24
+ useEffect(() => {
25
+ if (isControlled && editorRef.current) {
26
+ const sanitized = sanitizeHtml(value);
27
+ if (editorRef.current.innerHTML !== sanitized) {
28
+ editorRef.current.innerHTML = sanitized;
29
+ }
30
+ }
31
+ }, [value, isControlled]);
32
+ useEffect(() => {
33
+ if (editorRef.current) {
34
+ const initial = sanitizeHtml(isControlled ? value : defaultValue);
35
+ if (initial) {
36
+ editorRef.current.innerHTML = initial;
37
+ }
38
+ }
39
+ }, []);
40
+ const updateActiveFormats = useCallback(() => {
41
+ if (typeof document === "undefined") return;
42
+ const next = /* @__PURE__ */ new Set();
43
+ if (document.queryCommandState("bold")) next.add("bold");
44
+ if (document.queryCommandState("italic")) next.add("italic");
45
+ if (document.queryCommandState("underline")) next.add("underline");
46
+ if (document.queryCommandState("strikeThrough")) next.add("strikethrough");
47
+ if (document.queryCommandState("insertUnorderedList")) next.add("bulletList");
48
+ if (document.queryCommandState("insertOrderedList")) next.add("orderedList");
49
+ setActiveFormats(next);
50
+ }, []);
51
+ useEffect(() => {
52
+ if (typeof document === "undefined") return;
53
+ document.addEventListener("selectionchange", updateActiveFormats);
54
+ return () => {
55
+ document.removeEventListener("selectionchange", updateActiveFormats);
56
+ };
57
+ }, [updateActiveFormats]);
58
+ const handleInput = useCallback(() => {
59
+ if (!editorRef.current) return;
60
+ const html = editorRef.current.innerHTML;
61
+ const sanitized = sanitizeHtml(html);
62
+ if (!isControlled) {
63
+ setInternalValue(sanitized);
64
+ }
65
+ onChange?.(sanitized);
66
+ }, [isControlled, onChange]);
67
+ const execAction = useCallback(
68
+ (actionName) => {
69
+ if (readOnly || disabled) return;
70
+ editorRef.current?.focus();
71
+ const mapping = mapToolbarAction(actionName);
72
+ if (mapping) {
73
+ document.execCommand(mapping.command, false, mapping.argument);
74
+ handleInput();
75
+ updateActiveFormats();
76
+ return;
77
+ }
78
+ if (actionName === "codeBlock") {
79
+ document.execCommand("formatBlock", false, "PRE");
80
+ handleInput();
81
+ return;
82
+ }
83
+ if (actionName === "link") {
84
+ const url = typeof window !== "undefined" ? window.prompt("Enter URL:") : null;
85
+ if (url && isValidUrl(url)) {
86
+ document.execCommand("createLink", false, url);
87
+ handleInput();
88
+ }
89
+ return;
90
+ }
91
+ if (actionName === "image") {
92
+ const url = typeof window !== "undefined" ? window.prompt("Enter image URL:") : null;
93
+ if (url && isValidUrl(url)) {
94
+ document.execCommand("insertImage", false, url);
95
+ handleInput();
96
+ }
97
+ }
98
+ },
99
+ [readOnly, disabled, handleInput, updateActiveFormats]
100
+ );
101
+ const handleKeydown = useCallback(
102
+ (e) => {
103
+ const match = findHotkeyMatch(toolbarButtons, e.nativeEvent);
104
+ if (match) {
105
+ e.preventDefault();
106
+ execAction(match);
107
+ }
108
+ },
109
+ [toolbarButtons, execAction]
110
+ );
111
+ const containerClasses = useMemo(
112
+ () => classNames(getRichTextContainerClasses(disabled, className)),
113
+ [disabled, className]
114
+ );
115
+ const editorAreaClasses = useMemo(() => getEditorAreaClasses(readOnly), [readOnly]);
116
+ const containerStyle = useMemo(() => {
117
+ const ht = parseHeight(height);
118
+ if (!ht) return void 0;
119
+ return { height: ht };
120
+ }, [height]);
121
+ return /* @__PURE__ */ jsxs("div", { className: containerClasses, style: containerStyle, ...restProps, children: [
122
+ /* @__PURE__ */ jsx("div", { className: richTextToolbarClasses, role: "toolbar", "aria-label": "Text formatting", children: toolbarButtons.map((btn) => /* @__PURE__ */ jsx(
123
+ "button",
124
+ {
125
+ type: "button",
126
+ className: getToolbarButtonClasses(activeFormats.has(btn.name)),
127
+ title: btn.tooltip ?? btn.label,
128
+ "aria-label": btn.label,
129
+ "aria-pressed": isInlineFormat(btn.name) ? activeFormats.has(btn.name) : void 0,
130
+ disabled: disabled || readOnly,
131
+ onMouseDown: (e) => e.preventDefault(),
132
+ onClick: () => execAction(btn.name),
133
+ children: btn.label
134
+ },
135
+ btn.name
136
+ )) }),
137
+ /* @__PURE__ */ jsxs("div", { className: "relative flex-1 overflow-hidden", children: [
138
+ /* @__PURE__ */ jsx(
139
+ "div",
140
+ {
141
+ ref: editorRef,
142
+ className: editorAreaClasses,
143
+ contentEditable: !(readOnly || disabled),
144
+ role: "textbox",
145
+ "aria-multiline": true,
146
+ "aria-readonly": readOnly || void 0,
147
+ "aria-disabled": disabled || void 0,
148
+ "aria-placeholder": placeholder,
149
+ "data-placeholder": placeholder,
150
+ onInput: handleInput,
151
+ onKeyDown: handleKeydown,
152
+ suppressContentEditableWarning: true
153
+ }
154
+ ),
155
+ empty && placeholder && /* @__PURE__ */ jsx(
156
+ "div",
157
+ {
158
+ className: `${richTextPlaceholderClasses} absolute top-0 left-0 p-4 pointer-events-none text-sm`,
159
+ "aria-hidden": true,
160
+ children: placeholder
161
+ }
162
+ )
163
+ ] })
164
+ ] });
165
+ };
166
+ var RichTextEditor_default = RichTextEditor;
167
+
168
+ export { RichTextEditor, RichTextEditor_default };
@@ -0,0 +1,192 @@
1
+ import { useChartInteraction } from './chunk-3CDAG4HD.mjs';
2
+ import { ChartLegend } from './chunk-Z6F67MJE.mjs';
3
+ import { ChartTooltip } from './chunk-LVC43YX2.mjs';
4
+ import { ChartCanvas } from './chunk-IS467WAO.mjs';
5
+ import React, { useMemo } from 'react';
6
+ import { getChartInnerRect, resolveChartPalette, computeTreeMapNodes, buildChartLegendItems, resolveChartTooltipContent, classNames, getChartElementOpacity } from '@expcat/tigercat-core';
7
+ import { jsx, jsxs } from 'react/jsx-runtime';
8
+
9
+ var TreeMapChart = ({
10
+ width = 400,
11
+ height = 300,
12
+ padding = 8,
13
+ data,
14
+ gap = 2,
15
+ showLabels = true,
16
+ minLabelSize = 10,
17
+ colors,
18
+ hoverable = false,
19
+ hoveredIndex: hoveredIndexProp,
20
+ activeOpacity = 1,
21
+ inactiveOpacity = 0.25,
22
+ selectable = false,
23
+ selectedIndex: selectedIndexProp,
24
+ showLegend = false,
25
+ legendPosition = "bottom",
26
+ legendMarkerSize = 10,
27
+ legendGap = 8,
28
+ showTooltip = true,
29
+ tooltipFormatter: _tooltipFormatter,
30
+ title,
31
+ desc,
32
+ className,
33
+ onHoveredIndexChange,
34
+ onSelectedIndexChange,
35
+ onNodeClick,
36
+ onNodeHover
37
+ }) => {
38
+ const innerRect = useMemo(
39
+ () => getChartInnerRect(width, height, padding),
40
+ [width, height, padding]
41
+ );
42
+ const palette = useMemo(() => resolveChartPalette(colors), [colors]);
43
+ const nodes = useMemo(
44
+ () => computeTreeMapNodes(data, {
45
+ width: innerRect.width,
46
+ height: innerRect.height,
47
+ gap,
48
+ colors: palette
49
+ }),
50
+ [data, innerRect.width, innerRect.height, gap, palette]
51
+ );
52
+ const {
53
+ tooltipPosition,
54
+ resolvedHoveredIndex,
55
+ activeIndex,
56
+ handleMouseEnter,
57
+ handleMouseMove,
58
+ handleMouseLeave,
59
+ handleClick,
60
+ handleLegendClick,
61
+ handleLegendHover,
62
+ handleLegendLeave,
63
+ wrapperClasses
64
+ } = useChartInteraction({
65
+ hoverable,
66
+ hoveredIndexProp,
67
+ selectable,
68
+ selectedIndexProp,
69
+ activeOpacity,
70
+ inactiveOpacity,
71
+ legendPosition,
72
+ getData: (index) => {
73
+ const node = nodes[index];
74
+ return node ? { label: node.label, value: node.value } : {};
75
+ },
76
+ onHoveredIndexChange: (index) => {
77
+ onHoveredIndexChange?.(index);
78
+ const node = index !== null ? nodes[index] : null;
79
+ onNodeHover?.(
80
+ index,
81
+ node ? { label: node.label, value: node.value } : null
82
+ );
83
+ },
84
+ onSelectedIndexChange,
85
+ callbacks: { onClick: onNodeClick }
86
+ });
87
+ const total = useMemo(() => nodes.reduce((s, n) => s + n.value, 0), [nodes]);
88
+ const legendItems = useMemo(
89
+ () => buildChartLegendItems({
90
+ data: nodes,
91
+ palette,
92
+ activeIndex,
93
+ getLabel: (d) => d.label,
94
+ getColor: (d) => d.color
95
+ }),
96
+ [nodes, palette, activeIndex]
97
+ );
98
+ const tooltipContent = useMemo(
99
+ () => resolveChartTooltipContent(resolvedHoveredIndex, nodes, void 0, (node) => {
100
+ const pct = total > 0 ? (node.value / total * 100).toFixed(1) : "0";
101
+ return `${node.label}: ${node.value} (${pct}%)`;
102
+ }),
103
+ [resolvedHoveredIndex, nodes, total]
104
+ );
105
+ const interactive = hoverable || selectable;
106
+ const chart = /* @__PURE__ */ jsx(
107
+ ChartCanvas,
108
+ {
109
+ width,
110
+ height,
111
+ padding,
112
+ title,
113
+ desc,
114
+ className: classNames(className),
115
+ children: /* @__PURE__ */ jsx("g", { "data-series-type": "treemap", children: nodes.map((node) => {
116
+ const opacity = getChartElementOpacity(node.index, activeIndex, {
117
+ activeOpacity,
118
+ inactiveOpacity
119
+ });
120
+ return /* @__PURE__ */ jsxs(React.Fragment, { children: [
121
+ /* @__PURE__ */ jsx(
122
+ "rect",
123
+ {
124
+ x: node.x,
125
+ y: node.y,
126
+ width: node.w,
127
+ height: node.h,
128
+ rx: 2,
129
+ fill: node.color,
130
+ opacity,
131
+ className: classNames(interactive && "cursor-pointer"),
132
+ style: { transition: "opacity 0.2s ease-out" },
133
+ onMouseEnter: (e) => handleMouseEnter(node.index, e),
134
+ onMouseMove: handleMouseMove,
135
+ onMouseLeave: handleMouseLeave,
136
+ onClick: () => handleClick(node.index)
137
+ }
138
+ ),
139
+ showLabels && node.w > 30 && node.h > minLabelSize + 4 && /* @__PURE__ */ jsx(
140
+ "text",
141
+ {
142
+ x: node.x + node.w / 2,
143
+ y: node.y + node.h / 2,
144
+ className: "fill-white text-xs",
145
+ textAnchor: "middle",
146
+ dominantBaseline: "middle",
147
+ style: {
148
+ pointerEvents: "none",
149
+ fontSize: `${Math.min(12, node.h * 0.3)}px`
150
+ },
151
+ children: node.label
152
+ }
153
+ )
154
+ ] }, `node-${node.index}`);
155
+ }) })
156
+ }
157
+ );
158
+ const tooltip = showTooltip && hoverable ? /* @__PURE__ */ jsx(
159
+ ChartTooltip,
160
+ {
161
+ content: tooltipContent,
162
+ visible: resolvedHoveredIndex !== null && tooltipContent !== "",
163
+ x: tooltipPosition.x,
164
+ y: tooltipPosition.y
165
+ }
166
+ ) : null;
167
+ if (!showLegend) {
168
+ return /* @__PURE__ */ jsxs("div", { className: "inline-block relative", children: [
169
+ chart,
170
+ tooltip
171
+ ] });
172
+ }
173
+ return /* @__PURE__ */ jsxs("div", { className: wrapperClasses, children: [
174
+ chart,
175
+ /* @__PURE__ */ jsx(
176
+ ChartLegend,
177
+ {
178
+ items: legendItems,
179
+ position: legendPosition,
180
+ markerSize: legendMarkerSize,
181
+ gap: legendGap,
182
+ interactive,
183
+ onItemClick: handleLegendClick,
184
+ onItemHover: handleLegendHover,
185
+ onItemLeave: handleLegendLeave
186
+ }
187
+ ),
188
+ tooltip
189
+ ] });
190
+ };
191
+
192
+ export { TreeMapChart };
@@ -1,5 +1,5 @@
1
- import { ImageGroupContext } from './chunk-QIJG42YQ.mjs';
2
- import { ImagePreview } from './chunk-5CLXOFRZ.mjs';
1
+ import { ImageGroupContext } from './chunk-IPLK4AIE.mjs';
2
+ import { ImagePreview } from './chunk-HLJQZUIY.mjs';
3
3
  import { useState, useRef, useContext, useEffect, useCallback, useMemo } from 'react';
4
4
  import { classNames, imageBaseClasses, imagePreviewCursorClass, getImageImgClasses, toCSSSize, imageErrorClasses, imageErrorIconPath, imageLoadingClasses } from '@expcat/tigercat-core';
5
5
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -27,6 +27,7 @@ var Image = ({
27
27
  className,
28
28
  errorRender,
29
29
  placeholderRender,
30
+ onPreviewOpenChange,
30
31
  onPreviewVisibleChange,
31
32
  onClick,
32
33
  onKeyDown,
@@ -90,10 +91,11 @@ var Image = ({
90
91
  group.openPreview(registeredIndexRef.current >= 0 ? registeredIndexRef.current : 0);
91
92
  } else {
92
93
  setPreviewVisible(true);
94
+ onPreviewOpenChange?.(true);
93
95
  onPreviewVisibleChange?.(true);
94
96
  }
95
97
  },
96
- [preview, group, onClick, onPreviewVisibleChange]
98
+ [preview, group, onClick, onPreviewOpenChange, onPreviewVisibleChange]
97
99
  );
98
100
  const handleKeyDown = useCallback(
99
101
  (e) => {
@@ -154,11 +156,12 @@ var Image = ({
154
156
  !group && previewVisible && src && /* @__PURE__ */ jsx(
155
157
  ImagePreview,
156
158
  {
157
- visible: previewVisible,
159
+ open: previewVisible,
158
160
  images: [src],
159
161
  currentIndex: 0,
160
- onVisibleChange: (val) => {
162
+ onOpenChange: (val) => {
161
163
  setPreviewVisible(val);
164
+ onPreviewOpenChange?.(val);
162
165
  onPreviewVisibleChange?.(val);
163
166
  }
164
167
  }
@@ -16,7 +16,7 @@ var SvgIcon = ({ d, cls = "w-5 h-5" }) => /* @__PURE__ */ jsx(
16
16
  }
17
17
  );
18
18
  var ImagePreview = ({
19
- visible,
19
+ open,
20
20
  images,
21
21
  currentIndex = 0,
22
22
  zIndex = 1050,
@@ -24,10 +24,11 @@ var ImagePreview = ({
24
24
  scaleStep = 0.5,
25
25
  minScale = 0.25,
26
26
  maxScale = 5,
27
- onVisibleChange,
27
+ onOpenChange,
28
28
  onCurrentIndexChange,
29
29
  onScaleChange
30
30
  }) => {
31
+ const isOpen = open;
31
32
  const [scale, setScale] = useState(1);
32
33
  const [offsetX, setOffsetX] = useState(0);
33
34
  const [offsetY, setOffsetY] = useState(0);
@@ -44,7 +45,7 @@ var ImagePreview = ({
44
45
  resetTransform();
45
46
  }, [currentIndex, resetTransform]);
46
47
  useEffect(() => {
47
- if (visible) {
48
+ if (isOpen) {
48
49
  resetTransform();
49
50
  setIndex(currentIndex);
50
51
  document.body.style.overflow = "hidden";
@@ -54,11 +55,11 @@ var ImagePreview = ({
54
55
  return () => {
55
56
  document.body.style.overflow = "";
56
57
  };
57
- }, [visible, currentIndex, resetTransform]);
58
+ }, [isOpen, currentIndex, resetTransform]);
58
59
  const handleClose = useCallback(() => {
59
- onVisibleChange?.(false);
60
- }, [onVisibleChange]);
61
- useEscapeKey({ enabled: !!visible, onEscape: handleClose });
60
+ onOpenChange?.(false);
61
+ }, [onOpenChange]);
62
+ useEscapeKey({ enabled: !!isOpen, onEscape: handleClose });
62
63
  const navState = useMemo(() => getPreviewNavState(index, images.length), [index, images.length]);
63
64
  const handleZoomIn = useCallback(() => {
64
65
  setScale((s) => {
@@ -95,14 +96,14 @@ var ImagePreview = ({
95
96
  }
96
97
  }, [index, images.length, resetTransform, onCurrentIndexChange]);
97
98
  useEffect(() => {
98
- if (!visible) return;
99
+ if (!isOpen) return;
99
100
  const handler = (e) => {
100
101
  if (e.key === "ArrowLeft") handlePrev();
101
102
  if (e.key === "ArrowRight") handleNext();
102
103
  };
103
104
  document.addEventListener("keydown", handler);
104
105
  return () => document.removeEventListener("keydown", handler);
105
- }, [visible, handlePrev, handleNext]);
106
+ }, [isOpen, handlePrev, handleNext]);
106
107
  const handleWheel = useCallback(
107
108
  (e) => {
108
109
  e.preventDefault();
@@ -144,7 +145,7 @@ var ImagePreview = ({
144
145
  () => calculateTransform(scale, offsetX, offsetY),
145
146
  [scale, offsetX, offsetY]
146
147
  );
147
- if (!visible || !images.length) return null;
148
+ if (!isOpen || !images.length) return null;
148
149
  const currentSrc = images[index] || images[0];
149
150
  return createPortal(
150
151
  /* @__PURE__ */ jsxs(
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import { classNames, getTextClasses } from '@expcat/tigercat-core';
3
+
4
+ // src/components/Text.tsx
5
+ var Text = React.memo(
6
+ ({
7
+ tag = "p",
8
+ size,
9
+ weight,
10
+ align,
11
+ color,
12
+ truncate,
13
+ italic,
14
+ underline,
15
+ lineThrough,
16
+ children,
17
+ className,
18
+ ...props
19
+ }) => {
20
+ const textClasses = classNames(
21
+ getTextClasses({ size, weight, align, color, truncate, italic, underline, lineThrough }),
22
+ className
23
+ );
24
+ return React.createElement(tag, { ...props, className: textClasses }, children);
25
+ }
26
+ );
27
+ Text.displayName = "Text";
28
+
29
+ export { Text };
@@ -2,8 +2,8 @@ import { Timeline } from './chunk-JVTAKNRO.mjs';
2
2
  import { Link } from './chunk-XZVQ3PJS.mjs';
3
3
  import { Loading } from './chunk-AVUXDQYO.mjs';
4
4
  import { Tag } from './chunk-TGKNEMD4.mjs';
5
- import { Text } from './chunk-LIV33O73.mjs';
6
- import { Card } from './chunk-3M2IG6IN.mjs';
5
+ import { Text } from './chunk-HLS4CHWX.mjs';
6
+ import { Card } from './chunk-P6E3DILH.mjs';
7
7
  import { Avatar } from './chunk-FE7PEZTI.mjs';
8
8
  import { useMemo } from 'react';
9
9
  import { buildActivityGroups, classNames, toActivityTimelineItems, formatActivityTime } from '@expcat/tigercat-core';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkYV6Y7C43_js = require('./chunk-YV6Y7C43.js');
4
- var chunkQ57BYUUW_js = require('./chunk-Q57BYUUW.js');
5
- var chunkF24IF2QL_js = require('./chunk-F24IF2QL.js');
3
+ var chunkSDWJSALH_js = require('./chunk-SDWJSALH.js');
4
+ var chunkHWWNBCFB_js = require('./chunk-HWWNBCFB.js');
5
+ var chunkBCNKTT5C_js = require('./chunk-BCNKTT5C.js');
6
6
  var chunk2GKTVAAB_js = require('./chunk-2GKTVAAB.js');
7
- var chunkI5TCE5E7_js = require('./chunk-I5TCE5E7.js');
8
- var chunkSSQOCZ6O_js = require('./chunk-SSQOCZ6O.js');
7
+ var chunkUF3DXKCI_js = require('./chunk-UF3DXKCI.js');
8
+ var chunkUIO6O4MI_js = require('./chunk-UIO6O4MI.js');
9
9
  var react = require('react');
10
10
  var tigercatCore = require('@expcat/tigercat-core');
11
11
  var jsxRuntime = require('react/jsx-runtime');
@@ -100,7 +100,6 @@ var NotificationCenter = ({
100
100
  ...group,
101
101
  items: applyReadOverrides(group.items)
102
102
  })),
103
- // eslint-disable-next-line react-hooks/exhaustive-deps
104
103
  [resolvedGroups, readStateOverrides]
105
104
  );
106
105
  const effectiveCurrentGroup = react.useMemo(() => {
@@ -145,7 +144,7 @@ var NotificationCenter = ({
145
144
  }
146
145
  onMarkAllRead?.(currentGroupKey, effectiveCurrentGroupItems);
147
146
  };
148
- const renderItem = (item, index) => {
147
+ const renderItem = (item, _index) => {
149
148
  const isRead = Boolean(item.read);
150
149
  const timeText = item.time ? tigercatCore.formatActivityTime(item.time) : "";
151
150
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -158,13 +157,13 @@ var NotificationCenter = ({
158
157
  children: [
159
158
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
160
159
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-baseline justify-between gap-2", children: [
161
- /* @__PURE__ */ jsxRuntime.jsx(chunkI5TCE5E7_js.Text, { tag: "span", size: "sm", weight: isRead ? "normal" : "semibold", children: item.title }),
160
+ /* @__PURE__ */ jsxRuntime.jsx(chunkUF3DXKCI_js.Text, { tag: "span", size: "sm", weight: isRead ? "normal" : "semibold", children: item.title }),
162
161
  timeText ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-[var(--tiger-text-muted,#6b7280)] whitespace-nowrap flex-shrink-0", children: timeText }) : null
163
162
  ] }),
164
163
  item.description ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-0.5 text-xs text-[var(--tiger-text-muted,#6b7280)] line-clamp-2 leading-relaxed", children: item.description }) : null
165
164
  ] }),
166
165
  /* @__PURE__ */ jsxRuntime.jsx(
167
- chunkF24IF2QL_js.Button,
166
+ chunkBCNKTT5C_js.Button,
168
167
  {
169
168
  size: "sm",
170
169
  variant: "ghost",
@@ -187,7 +186,7 @@ var NotificationCenter = ({
187
186
  );
188
187
  };
189
188
  const renderList = (listItems) => /* @__PURE__ */ jsxRuntime.jsx(
190
- chunkQ57BYUUW_js.List,
189
+ chunkHWWNBCFB_js.List,
191
190
  {
192
191
  dataSource: listItems,
193
192
  split: true,
@@ -203,7 +202,7 @@ var NotificationCenter = ({
203
202
  { key: "unread", label: unreadLabel },
204
203
  { key: "read", label: readLabel }
205
204
  ];
206
- const content = loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(chunk2GKTVAAB_js.Loading, { text: loadingText }) }) : resolvedGroups.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-mx-4 -mb-4", children: /* @__PURE__ */ jsxRuntime.jsx(chunkYV6Y7C43_js.Tabs, { type: "line", size: "small", activeKey: currentGroupKey, onChange: handleGroupChange, children: resolvedGroups.map((group, index) => {
205
+ const content = loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(chunk2GKTVAAB_js.Loading, { text: loadingText }) }) : resolvedGroups.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-mx-4 -mb-4", children: /* @__PURE__ */ jsxRuntime.jsx(chunkSDWJSALH_js.Tabs, { type: "line", size: "small", activeKey: currentGroupKey, onChange: handleGroupChange, children: resolvedGroups.map((group, index) => {
207
206
  const effectiveGroup = effectiveGroups.find(
208
207
  (eg, ei) => getGroupKey(eg, ei) === getGroupKey(group, index)
209
208
  );
@@ -212,7 +211,7 @@ var NotificationCenter = ({
212
211
  const labelBase = group.title || String(group.key ?? index);
213
212
  const label = unreadCount > 0 ? `${labelBase} (${unreadCount})` : labelBase;
214
213
  return /* @__PURE__ */ jsxRuntime.jsx(
215
- chunkYV6Y7C43_js.TabPane,
214
+ chunkSDWJSALH_js.TabPane,
216
215
  {
217
216
  tabKey: getGroupKey(group, index),
218
217
  label,
@@ -222,17 +221,17 @@ var NotificationCenter = ({
222
221
  );
223
222
  }) }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "-mx-4 -mb-4 max-h-[380px] overflow-y-auto", children: renderList(filterItems(effectiveItems, currentReadFilter)) });
224
223
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: wrapperClasses, ...props, "data-tiger-notification-center": true, children: /* @__PURE__ */ jsxRuntime.jsx(
225
- chunkSSQOCZ6O_js.Card,
224
+ chunkUIO6O4MI_js.Card,
226
225
  {
227
226
  variant: "bordered",
228
227
  className: "w-full",
229
228
  header: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
230
229
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
231
230
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2.5", children: [
232
- /* @__PURE__ */ jsxRuntime.jsx(chunkI5TCE5E7_js.Text, { tag: "div", size: "base", weight: "bold", children: title }),
231
+ /* @__PURE__ */ jsxRuntime.jsx(chunkUF3DXKCI_js.Text, { tag: "div", size: "base", weight: "bold", children: title }),
233
232
  totalUnread > 0 ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-xs font-semibold rounded-full bg-[var(--tiger-primary,#2563eb)] text-white", children: totalUnread }) : null
234
233
  ] }),
235
- /* @__PURE__ */ jsxRuntime.jsx(chunkF24IF2QL_js.Button, { size: "sm", variant: "ghost", disabled: !hasUnread, onClick: handleMarkAllRead, children: markAllReadText })
234
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBCNKTT5C_js.Button, { size: "sm", variant: "ghost", disabled: !hasUnread, onClick: handleMarkAllRead, children: markAllReadText })
236
235
  ] }),
237
236
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "inline-flex rounded-md border border-[var(--tiger-border,#e5e7eb)] overflow-hidden self-start", children: filterButtons.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
238
237
  "button",