@expcat/tigercat-react 0.4.3 → 1.0.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 (480) hide show
  1. package/dist/chunk-24RUEJWB.js +293 -0
  2. package/dist/{chunk-S4GNTA7V.mjs → chunk-2H43QM4B.mjs} +1 -1
  3. package/dist/{chunk-WGRYO5HX.mjs → chunk-2UQC3WOI.mjs} +63 -49
  4. package/dist/{chunk-V5NIFF2F.mjs → chunk-2WBPUW75.mjs} +7 -7
  5. package/dist/{chunk-QL6UEG3U.js → chunk-2XOFRGY6.js} +16 -3
  6. package/dist/chunk-333325LH.mjs +87 -0
  7. package/dist/{chunk-IGE44BIS.mjs → chunk-34DLDOGP.mjs} +105 -19
  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-QM4GOQDT.js → chunk-4QJZT6QK.js} +44 -6
  17. package/dist/chunk-4QQZ5H4V.mjs +213 -0
  18. package/dist/{chunk-QFYS5QIZ.mjs → chunk-5BBZBI2V.mjs} +3 -3
  19. package/dist/chunk-5CGXFQND.mjs +100 -0
  20. package/dist/{chunk-LXX2ZDJN.js → chunk-5CQEXJF2.js} +9 -9
  21. package/dist/chunk-5EVHVZG5.js +119 -0
  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-LLHUBM6E.mjs → chunk-6SDLSIAO.mjs} +4 -4
  29. package/dist/chunk-73BP3WQN.mjs +210 -0
  30. package/dist/{chunk-77PE7OFK.mjs → chunk-7MASYF4S.mjs} +1 -1
  31. package/dist/{chunk-VCNZEQEB.mjs → chunk-7QZ4XT2P.mjs} +6 -5
  32. package/dist/chunk-7YLVAZJQ.mjs +47 -0
  33. package/dist/{chunk-NV3JUZ3N.js → chunk-AGR3FM3V.js} +4 -4
  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-AYDPWKSW.mjs +186 -0
  39. package/dist/chunk-B53R2U2R.mjs +86 -0
  40. package/dist/chunk-BALJCZ62.mjs +147 -0
  41. package/dist/{chunk-F24IF2QL.js → chunk-BCNKTT5C.js} +14 -9
  42. package/dist/{chunk-JNLX47UL.mjs → chunk-BJ2GUKPU.mjs} +74 -36
  43. package/dist/chunk-BKYE77F2.js +171 -0
  44. package/dist/chunk-BR5OSUZT.mjs +55 -0
  45. package/dist/chunk-BZ3AXFLG.js +149 -0
  46. package/dist/{chunk-SOC74QA2.js → chunk-C6WJ4GQW.js} +8 -8
  47. package/dist/{chunk-LXQOQJMU.js → chunk-CDT3P2ZN.js} +5 -12
  48. package/dist/chunk-CHH7DWIO.js +121 -0
  49. package/dist/{chunk-3T7L3MHX.js → chunk-CKFE2B36.js} +76 -38
  50. package/dist/{chunk-QNRAM3CM.js → chunk-CMGI5WHZ.js} +3 -2
  51. package/dist/chunk-CQGAZ5JQ.js +61 -0
  52. package/dist/chunk-CRSMECWE.mjs +33 -0
  53. package/dist/{chunk-KAWE5LQZ.js → chunk-D6BHFGTN.js} +29 -0
  54. package/dist/chunk-DAR2BMMV.js +150 -0
  55. package/dist/{chunk-OCVQ3LOT.mjs → chunk-DKT2EYVM.mjs} +3 -5
  56. package/dist/{chunk-EHYSER2Z.js → chunk-DR2DFFNQ.js} +6 -6
  57. package/dist/chunk-DZGDCRBH.mjs +30 -0
  58. package/dist/chunk-EEF26RBA.mjs +48 -0
  59. package/dist/{chunk-PJCY45UP.mjs → chunk-EHU3J4B2.mjs} +1 -1
  60. package/dist/{chunk-RKB2VUQO.js → chunk-EOYJLBFD.js} +24 -21
  61. package/dist/{chunk-DTQZPZSJ.mjs → chunk-EPN7QWP6.mjs} +16 -2
  62. package/dist/{chunk-M46L73HR.js → chunk-ET5YJELZ.js} +14 -14
  63. package/dist/{chunk-NTODO3Q3.mjs → chunk-EV6KRX6F.mjs} +38 -8
  64. package/dist/{chunk-GB5G2CJY.js → chunk-F2OF6XZ6.js} +36 -6
  65. package/dist/chunk-F6KHZNRS.js +32 -0
  66. package/dist/{chunk-URM7QDHH.js → chunk-F7H4ALKN.js} +2 -2
  67. package/dist/{chunk-RGFSY3S2.mjs → chunk-FPURO6QB.mjs} +16 -3
  68. package/dist/{chunk-FMF2G6BJ.js → chunk-FRHGRKKT.js} +2 -2
  69. package/dist/{chunk-LL6B4BHF.mjs → chunk-FT6TEMUF.mjs} +3 -3
  70. package/dist/chunk-GBTKAKUD.mjs +300 -0
  71. package/dist/chunk-GOUMB34F.mjs +168 -0
  72. package/dist/chunk-H5CAIMVL.js +45 -0
  73. package/dist/chunk-HADBETZG.js +94 -0
  74. package/dist/{chunk-6W6CRBBG.mjs → chunk-HCZA4LV6.mjs} +8 -5
  75. package/dist/{chunk-5CLXOFRZ.mjs → chunk-HLJQZUIY.mjs} +11 -10
  76. package/dist/chunk-HLS4CHWX.mjs +29 -0
  77. package/dist/{chunk-MTL2QUM3.mjs → chunk-HSHVLIEL.mjs} +2 -2
  78. package/dist/{chunk-SW4I4X6E.mjs → chunk-HUCBHFSL.mjs} +24 -21
  79. package/dist/{chunk-Q57BYUUW.js → chunk-HWWNBCFB.js} +39 -8
  80. package/dist/{chunk-MDZDPGRK.mjs → chunk-HZ5Z5Y2J.mjs} +29 -10
  81. package/dist/chunk-HZHFFVP7.mjs +63 -0
  82. package/dist/chunk-I4SKKEU3.js +151 -0
  83. package/dist/{chunk-RCNTRSUA.mjs → chunk-INBSKSZG.mjs} +51 -69
  84. package/dist/chunk-IOHPB4CF.js +148 -0
  85. package/dist/{chunk-QIJG42YQ.mjs → chunk-IPLK4AIE.mjs} +3 -3
  86. package/dist/{chunk-XWRJVNB6.js → chunk-IWP22YTF.js} +104 -18
  87. package/dist/{chunk-NJCKTIWB.mjs → chunk-IWTY32AW.mjs} +5 -5
  88. package/dist/{chunk-ZBVFM3GJ.js → chunk-J23B66DJ.js} +152 -15
  89. package/dist/{chunk-DQNA57CA.js → chunk-JLM4LBUS.js} +5 -12
  90. package/dist/{chunk-TJFS44SH.js → chunk-JLRRXRZO.js} +2 -4
  91. package/dist/chunk-JR7L67Q3.mjs +186 -0
  92. package/dist/{chunk-GNMOOYHG.js → chunk-KNBNE74O.js} +11 -10
  93. package/dist/chunk-L6WOLPV7.mjs +123 -0
  94. package/dist/chunk-LODDAS62.js +173 -0
  95. package/dist/{chunk-IP3MAJSH.mjs → chunk-MQ5ZP5RW.mjs} +5 -12
  96. package/dist/{chunk-KMTERPME.mjs → chunk-MSHCPJIJ.mjs} +1 -1
  97. package/dist/chunk-N66WEQ6M.js +240 -0
  98. package/dist/{chunk-TDRINUMH.js → chunk-NZNSUKPT.js} +29 -10
  99. package/dist/{chunk-EFLIFXZH.js → chunk-P3XVLJYD.js} +15 -1
  100. package/dist/chunk-P6E3DILH.mjs +51 -0
  101. package/dist/{chunk-HPXLUJFJ.mjs → chunk-PN33UCWB.mjs} +3 -5
  102. package/dist/chunk-PNAWOJ32.js +54 -0
  103. package/dist/{chunk-72MWKUBC.js → chunk-PUYT62KC.js} +17 -4
  104. package/dist/chunk-Q4JMAQXJ.js +41 -0
  105. package/dist/chunk-QBZODEIG.js +49 -0
  106. package/dist/chunk-QHG7KJH6.js +302 -0
  107. package/dist/chunk-QIXQYLH5.js +44 -0
  108. package/dist/chunk-QNFSZYTZ.js +188 -0
  109. package/dist/chunk-QO3GGQAV.mjs +148 -0
  110. package/dist/{chunk-RGZYYVQF.mjs → chunk-QPGL4YEO.mjs} +39 -11
  111. package/dist/{chunk-6IH5QPTR.mjs → chunk-QPOH6SOO.mjs} +44 -6
  112. package/dist/chunk-QVZTZHCJ.mjs +148 -0
  113. package/dist/{chunk-C7UKFKVY.js → chunk-QYGBT4NL.js} +40 -12
  114. package/dist/chunk-R5P72RIT.js +180 -0
  115. package/dist/chunk-R5XY4EQL.js +56 -0
  116. package/dist/chunk-RRJTIKU6.mjs +238 -0
  117. package/dist/{chunk-KBTFBEPE.mjs → chunk-RU6YS4LZ.mjs} +153 -16
  118. package/dist/{chunk-ZFHTSHXS.mjs → chunk-RUROWRB5.mjs} +30 -1
  119. package/dist/{chunk-SAZ6V6DX.js → chunk-RVCUNEBU.js} +2 -4
  120. package/dist/{chunk-HB2UYJBY.js → chunk-RYW4CV7U.js} +61 -47
  121. package/dist/chunk-S5Y6UHAK.mjs +116 -0
  122. package/dist/{chunk-YV6Y7C43.js → chunk-SDWJSALH.js} +8 -3
  123. package/dist/chunk-SJ5GT7Y4.mjs +58 -0
  124. package/dist/chunk-SKJXVYYF.js +188 -0
  125. package/dist/chunk-SQK2CPSV.mjs +59 -0
  126. package/dist/{chunk-XKDWDANG.js → chunk-SULHTYSV.js} +6 -6
  127. package/dist/chunk-SVASEF6K.js +125 -0
  128. package/dist/chunk-T5FAKJ6C.mjs +49 -0
  129. package/dist/chunk-T6KZ73VM.js +198 -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-VUD4BU4K.mjs +192 -0
  149. package/dist/{chunk-XWNVBCJA.js → chunk-VWMVWZMD.js} +13 -13
  150. package/dist/{chunk-JWFEJ4XG.js → chunk-WGPUGPYE.js} +2 -2
  151. package/dist/chunk-WIWTY74F.mjs +44 -0
  152. package/dist/chunk-WNLUUD5N.mjs +179 -0
  153. package/dist/{chunk-VCOBBJLP.js → chunk-WVVXZKNI.js} +5 -4
  154. package/dist/chunk-XEYP62CR.js +194 -0
  155. package/dist/chunk-XFJ5Q5PF.mjs +30 -0
  156. package/dist/chunk-XODGTE2Y.js +61 -0
  157. package/dist/chunk-Y3NDP56G.mjs +174 -0
  158. package/dist/chunk-YID7J6ZK.js +37 -0
  159. package/dist/chunk-YLZEOXFS.mjs +116 -0
  160. package/dist/chunk-YPHOVEVU.mjs +118 -0
  161. package/dist/chunk-YXWRSEP5.mjs +286 -0
  162. package/dist/chunk-Z6CRXABX.js +88 -0
  163. package/dist/chunk-ZCBKAOAX.mjs +40 -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,213 @@
1
+ import { useState, useMemo } from 'react';
2
+ import { splitTransferData, filterTransferItems, classNames, transferOperationClasses, getTransferButtonClasses, icon20ViewBox, chevronRightSolidIcon20PathD, chevronLeftSolidIcon20PathD, transferBaseClasses, transferPanelClasses, transferPanelHeaderClasses, transferSearchClasses, transferPanelBodyClasses, getTransferItemClasses, getTransferCheckboxClasses, transferEmptyClasses } from '@expcat/tigercat-core';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ // src/components/Transfer.tsx
6
+ var TRANSFER_KEYS = /* @__PURE__ */ new Set([
7
+ "value",
8
+ "dataSource",
9
+ "size",
10
+ "disabled",
11
+ "showSearch",
12
+ "sourceTitle",
13
+ "targetTitle",
14
+ "notFoundText",
15
+ "filterOption",
16
+ "onChange"
17
+ ]);
18
+ var Transfer = (props) => {
19
+ const {
20
+ value = [],
21
+ dataSource = [],
22
+ size = "md",
23
+ disabled = false,
24
+ showSearch = false,
25
+ sourceTitle = "Source",
26
+ targetTitle = "Target",
27
+ notFoundText = "No data",
28
+ filterOption,
29
+ className,
30
+ onChange,
31
+ ...rest
32
+ } = props;
33
+ const divProps = {};
34
+ for (const key of Object.keys(rest)) {
35
+ if (!TRANSFER_KEYS.has(key)) {
36
+ divProps[key] = rest[key];
37
+ }
38
+ }
39
+ const [sourceSelectedKeys, setSourceSelectedKeys] = useState(/* @__PURE__ */ new Set());
40
+ const [targetSelectedKeys, setTargetSelectedKeys] = useState(/* @__PURE__ */ new Set());
41
+ const [sourceSearch, setSourceSearch] = useState("");
42
+ const [targetSearch, setTargetSearch] = useState("");
43
+ const { sourceItems, targetItems } = useMemo(
44
+ () => splitTransferData(dataSource, value),
45
+ [dataSource, value]
46
+ );
47
+ const filteredSourceItems = useMemo(
48
+ () => filterTransferItems(sourceItems, sourceSearch, filterOption),
49
+ [sourceItems, sourceSearch, filterOption]
50
+ );
51
+ const filteredTargetItems = useMemo(
52
+ () => filterTransferItems(targetItems, targetSearch, filterOption),
53
+ [targetItems, targetSearch, filterOption]
54
+ );
55
+ const canMoveRight = !disabled && [...sourceSelectedKeys].some((key) => {
56
+ const item = dataSource.find((d) => d.key === key);
57
+ return item && !item.disabled;
58
+ });
59
+ const canMoveLeft = !disabled && [...targetSelectedKeys].some((key) => {
60
+ const item = dataSource.find((d) => d.key === key);
61
+ return item && !item.disabled;
62
+ });
63
+ function toggleSourceItem(key) {
64
+ setSourceSelectedKeys((prev) => {
65
+ const next = new Set(prev);
66
+ if (next.has(key)) next.delete(key);
67
+ else next.add(key);
68
+ return next;
69
+ });
70
+ }
71
+ function toggleTargetItem(key) {
72
+ setTargetSelectedKeys((prev) => {
73
+ const next = new Set(prev);
74
+ if (next.has(key)) next.delete(key);
75
+ else next.add(key);
76
+ return next;
77
+ });
78
+ }
79
+ function moveRight() {
80
+ if (!canMoveRight) return;
81
+ const keysToMove = [...sourceSelectedKeys].filter((key) => {
82
+ const item = dataSource.find((d) => d.key === key);
83
+ return item && !item.disabled;
84
+ });
85
+ const newTargetKeys = [...value, ...keysToMove];
86
+ setSourceSelectedKeys(/* @__PURE__ */ new Set());
87
+ onChange?.(newTargetKeys, "right", keysToMove);
88
+ }
89
+ function moveLeft() {
90
+ if (!canMoveLeft) return;
91
+ const keysToRemove = new Set(
92
+ [...targetSelectedKeys].filter((key) => {
93
+ const item = dataSource.find((d) => d.key === key);
94
+ return item && !item.disabled;
95
+ })
96
+ );
97
+ const newTargetKeys = value.filter((k) => !keysToRemove.has(k));
98
+ setTargetSelectedKeys(/* @__PURE__ */ new Set());
99
+ onChange?.(newTargetKeys, "left", [...keysToRemove]);
100
+ }
101
+ function renderPanel(title, items, selectedKeys, toggleFn, searchValue, onSearch) {
102
+ return /* @__PURE__ */ jsxs("div", { className: transferPanelClasses, role: "group", "aria-label": title, children: [
103
+ /* @__PURE__ */ jsx("div", { className: transferPanelHeaderClasses, children: /* @__PURE__ */ jsxs("span", { className: "font-medium text-[var(--tiger-transfer-title,var(--tiger-text,#111827))]", children: [
104
+ title,
105
+ " (",
106
+ items.length,
107
+ ")"
108
+ ] }) }),
109
+ showSearch && /* @__PURE__ */ jsx(
110
+ "input",
111
+ {
112
+ type: "text",
113
+ className: transferSearchClasses,
114
+ placeholder: "Search...",
115
+ value: searchValue,
116
+ "aria-label": `Search ${title}`,
117
+ onChange: (e) => onSearch(e.target.value)
118
+ }
119
+ ),
120
+ /* @__PURE__ */ jsx("div", { className: transferPanelBodyClasses, role: "listbox", children: items.length > 0 ? items.map((item) => {
121
+ const isSelected = selectedKeys.has(item.key);
122
+ const isDisabled = disabled || !!item.disabled;
123
+ return /* @__PURE__ */ jsxs(
124
+ "label",
125
+ {
126
+ className: getTransferItemClasses(isSelected, isDisabled, size),
127
+ role: "option",
128
+ "aria-selected": isSelected,
129
+ "aria-disabled": isDisabled,
130
+ children: [
131
+ /* @__PURE__ */ jsx(
132
+ "input",
133
+ {
134
+ type: "checkbox",
135
+ className: getTransferCheckboxClasses(size),
136
+ checked: isSelected,
137
+ disabled: isDisabled,
138
+ onChange: () => {
139
+ if (!isDisabled) toggleFn(item.key);
140
+ }
141
+ }
142
+ ),
143
+ /* @__PURE__ */ jsx("span", { className: "flex-1 truncate", children: item.label })
144
+ ]
145
+ },
146
+ String(item.key)
147
+ );
148
+ }) : /* @__PURE__ */ jsx("div", { className: transferEmptyClasses, children: notFoundText }) })
149
+ ] });
150
+ }
151
+ return /* @__PURE__ */ jsxs("div", { className: classNames(transferBaseClasses, className), ...divProps, children: [
152
+ renderPanel(
153
+ sourceTitle,
154
+ filteredSourceItems,
155
+ sourceSelectedKeys,
156
+ toggleSourceItem,
157
+ sourceSearch,
158
+ setSourceSearch
159
+ ),
160
+ /* @__PURE__ */ jsxs("div", { className: transferOperationClasses, children: [
161
+ /* @__PURE__ */ jsx(
162
+ "button",
163
+ {
164
+ type: "button",
165
+ className: getTransferButtonClasses(!canMoveRight),
166
+ disabled: !canMoveRight,
167
+ "aria-label": "Move selected to target",
168
+ onClick: moveRight,
169
+ children: /* @__PURE__ */ jsx(
170
+ "svg",
171
+ {
172
+ className: "w-4 h-4",
173
+ viewBox: icon20ViewBox,
174
+ fill: "currentColor",
175
+ xmlns: "http://www.w3.org/2000/svg",
176
+ children: /* @__PURE__ */ jsx("path", { d: chevronRightSolidIcon20PathD, fillRule: "evenodd", clipRule: "evenodd" })
177
+ }
178
+ )
179
+ }
180
+ ),
181
+ /* @__PURE__ */ jsx(
182
+ "button",
183
+ {
184
+ type: "button",
185
+ className: getTransferButtonClasses(!canMoveLeft),
186
+ disabled: !canMoveLeft,
187
+ "aria-label": "Move selected to source",
188
+ onClick: moveLeft,
189
+ children: /* @__PURE__ */ jsx(
190
+ "svg",
191
+ {
192
+ className: "w-4 h-4",
193
+ viewBox: icon20ViewBox,
194
+ fill: "currentColor",
195
+ xmlns: "http://www.w3.org/2000/svg",
196
+ children: /* @__PURE__ */ jsx("path", { d: chevronLeftSolidIcon20PathD, fillRule: "evenodd", clipRule: "evenodd" })
197
+ }
198
+ )
199
+ }
200
+ )
201
+ ] }),
202
+ renderPanel(
203
+ targetTitle,
204
+ filteredTargetItems,
205
+ targetSelectedKeys,
206
+ toggleTargetItem,
207
+ targetSearch,
208
+ setTargetSearch
209
+ )
210
+ ] });
211
+ };
212
+
213
+ export { Transfer };
@@ -1,6 +1,6 @@
1
- import { Modal } from './chunk-JNLX47UL.mjs';
1
+ import { Modal } from './chunk-BJ2GUKPU.mjs';
2
2
  import { ImageCropper } from './chunk-2EOXY2LP.mjs';
3
- import { Button } from './chunk-ENSLMM3L.mjs';
3
+ import { Button } from './chunk-3KMKMAE3.mjs';
4
4
  import { useRef, useState, useCallback, useMemo } from 'react';
5
5
  import { classNames, cropUploadTriggerDisabledClasses, cropUploadTriggerClasses, uploadPlusIconPath } from '@expcat/tigercat-core';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -123,7 +123,7 @@ var CropUpload = ({
123
123
  /* @__PURE__ */ jsx(
124
124
  Modal,
125
125
  {
126
- visible: modalVisible,
126
+ open: modalVisible,
127
127
  size: "lg",
128
128
  title: modalTitle,
129
129
  closable: true,
@@ -0,0 +1,100 @@
1
+ import { useRef, useState, useMemo, useCallback } from 'react';
2
+ import { calculateVirtualRange, getVirtualTableContainerClasses, classNames, virtualTableHeaderClasses, virtualTableHeaderCellClasses, getVirtualRowKey, getVirtualTableRowClasses, virtualTableCellClasses, virtualTableEmptyClasses, virtualTableLoadingClasses } from '@expcat/tigercat-core';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ // src/components/VirtualTable.tsx
6
+ var VirtualTable = ({
7
+ data = [],
8
+ columns = [],
9
+ rowHeight = 48,
10
+ height = 400,
11
+ overscan = 5,
12
+ stickyHeader = true,
13
+ rowKey,
14
+ loading = false,
15
+ emptyText = "No data",
16
+ selectable = false,
17
+ selectedKeys = [],
18
+ striped = false,
19
+ bordered = false,
20
+ className,
21
+ onRowClick,
22
+ onSelect,
23
+ renderCell,
24
+ ...rest
25
+ }) => {
26
+ const containerRef = useRef(null);
27
+ const [scrollTop, setScrollTop] = useState(0);
28
+ const range = useMemo(
29
+ () => calculateVirtualRange(scrollTop, height, data.length, rowHeight, overscan),
30
+ [scrollTop, height, data.length, rowHeight, overscan]
31
+ );
32
+ const visibleData = useMemo(
33
+ () => data.slice(range.start, range.end),
34
+ [data, range.start, range.end]
35
+ );
36
+ const selectedSet = useMemo(() => new Set(selectedKeys), [selectedKeys]);
37
+ const onScroll = useCallback(() => {
38
+ if (containerRef.current) {
39
+ setScrollTop(containerRef.current.scrollTop);
40
+ }
41
+ }, []);
42
+ const containerClasses = useMemo(
43
+ () => getVirtualTableContainerClasses(bordered, className),
44
+ [bordered, className]
45
+ );
46
+ const bottomHeight = Math.max(0, range.totalHeight - range.end * rowHeight);
47
+ return /* @__PURE__ */ jsxs(
48
+ "div",
49
+ {
50
+ ref: containerRef,
51
+ className: classNames(
52
+ containerClasses,
53
+ rest.className
54
+ ),
55
+ style: { height: `${height}px` },
56
+ onScroll,
57
+ role: "grid",
58
+ "aria-rowcount": data.length,
59
+ children: [
60
+ /* @__PURE__ */ jsxs("table", { className: "w-full table-fixed", children: [
61
+ /* @__PURE__ */ jsx("thead", { className: stickyHeader ? virtualTableHeaderClasses : void 0, children: /* @__PURE__ */ jsx("tr", { children: columns.map((col) => /* @__PURE__ */ jsx(
62
+ "th",
63
+ {
64
+ className: virtualTableHeaderCellClasses,
65
+ style: col.width ? { width: typeof col.width === "number" ? `${col.width}px` : col.width } : void 0,
66
+ children: col.title ?? ""
67
+ },
68
+ col.key
69
+ )) }) }),
70
+ /* @__PURE__ */ jsxs("tbody", { children: [
71
+ /* @__PURE__ */ jsx("tr", { style: { height: `${range.offsetTop}px` }, "aria-hidden": true }),
72
+ visibleData.map((row, localIdx) => {
73
+ const globalIdx = range.start + localIdx;
74
+ const key = getVirtualRowKey(row, globalIdx, rowKey);
75
+ const isSelected = selectedSet.has(key);
76
+ return /* @__PURE__ */ jsx(
77
+ "tr",
78
+ {
79
+ className: getVirtualTableRowClasses(globalIdx, striped, isSelected),
80
+ onClick: () => {
81
+ onRowClick?.(row, globalIdx);
82
+ if (selectable) onSelect?.(key, row, globalIdx);
83
+ },
84
+ children: columns.map((col) => /* @__PURE__ */ jsx("td", { className: virtualTableCellClasses, children: renderCell ? renderCell(row[col.key], row, col) : String(row[col.key] ?? "") }, col.key))
85
+ },
86
+ key
87
+ );
88
+ }),
89
+ bottomHeight > 0 && /* @__PURE__ */ jsx("tr", { style: { height: `${bottomHeight}px` }, "aria-hidden": true })
90
+ ] })
91
+ ] }),
92
+ data.length === 0 && !loading && /* @__PURE__ */ jsx("div", { className: virtualTableEmptyClasses, children: emptyText }),
93
+ loading && /* @__PURE__ */ jsx("div", { className: virtualTableLoadingClasses, children: "Loading..." })
94
+ ]
95
+ }
96
+ );
97
+ };
98
+ var VirtualTable_default = VirtualTable;
99
+
100
+ export { VirtualTable, VirtualTable_default };
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkZBVFM3GJ_js = require('./chunk-ZBVFM3GJ.js');
4
- var chunkTDRINUMH_js = require('./chunk-TDRINUMH.js');
3
+ var chunkJ23B66DJ_js = require('./chunk-J23B66DJ.js');
4
+ var chunkNZNSUKPT_js = require('./chunk-NZNSUKPT.js');
5
5
  var chunk3GW3UAKB_js = require('./chunk-3GW3UAKB.js');
6
- var chunkOYCMGKQ7_js = require('./chunk-OYCMGKQ7.js');
7
- var chunkF24IF2QL_js = require('./chunk-F24IF2QL.js');
6
+ var chunkZYJTHGQW_js = require('./chunk-ZYJTHGQW.js');
7
+ var chunkBCNKTT5C_js = require('./chunk-BCNKTT5C.js');
8
8
  var react = require('react');
9
9
  var tigercatCore = require('@expcat/tigercat-core');
10
10
  var jsxRuntime = require('react/jsx-runtime');
@@ -109,7 +109,7 @@ var DataTableWithToolbar = ({
109
109
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 flex-wrap flex-1 min-w-0", children: [
110
110
  hasSearch ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 w-full sm:w-auto sm:min-w-[200px] sm:max-w-[320px]", children: [
111
111
  /* @__PURE__ */ jsxRuntime.jsx(
112
- chunkOYCMGKQ7_js.Input,
112
+ chunkZYJTHGQW_js.Input,
113
113
  {
114
114
  type: "search",
115
115
  size: "sm",
@@ -124,7 +124,7 @@ var DataTableWithToolbar = ({
124
124
  }
125
125
  ),
126
126
  toolbar?.showSearchButton ?? true ? /* @__PURE__ */ jsxRuntime.jsx(
127
- chunkF24IF2QL_js.Button,
127
+ chunkBCNKTT5C_js.Button,
128
128
  {
129
129
  size: "sm",
130
130
  variant: "primary",
@@ -143,7 +143,7 @@ var DataTableWithToolbar = ({
143
143
  {
144
144
  className: "w-full sm:w-auto sm:min-w-[120px] sm:max-w-[180px]",
145
145
  children: /* @__PURE__ */ jsxRuntime.jsx(
146
- chunkTDRINUMH_js.Select,
146
+ chunkNZNSUKPT_js.Select,
147
147
  {
148
148
  size: "sm",
149
149
  options: filter.options.map((opt) => ({
@@ -171,7 +171,7 @@ var DataTableWithToolbar = ({
171
171
  " \u9879"
172
172
  ] }) : null,
173
173
  toolbar?.bulkActions?.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
174
- chunkF24IF2QL_js.Button,
174
+ chunkBCNKTT5C_js.Button,
175
175
  {
176
176
  size: "sm",
177
177
  variant: action.variant ?? "outline",
@@ -187,7 +187,7 @@ var DataTableWithToolbar = ({
187
187
  const showPagination = pagination && typeof pagination === "object";
188
188
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: wrapperClasses, "data-tiger-data-table-with-toolbar": true, children: [
189
189
  renderToolbar(),
190
- /* @__PURE__ */ jsxRuntime.jsx(chunkZBVFM3GJ_js.Table, { ...tableProps, pagination: false, className: tableClassName }),
190
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJ23B66DJ_js.Table, { ...tableProps, pagination: false, className: tableClassName }),
191
191
  showPagination ? /* @__PURE__ */ jsxRuntime.jsx(chunk3GW3UAKB_js.Pagination, { ...pagination, onChange: onPageChange, onPageSizeChange }) : null
192
192
  ] });
193
193
  };
@@ -0,0 +1,119 @@
1
+ 'use strict';
2
+
3
+ var react = require('react');
4
+ var tigercatCore = require('@expcat/tigercat-core');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+
7
+ // src/components/Calendar.tsx
8
+ var Calendar = ({
9
+ value,
10
+ mode = "month",
11
+ fullscreen = false,
12
+ disabledDate,
13
+ onChange,
14
+ onPanelChange,
15
+ className
16
+ }) => {
17
+ const today = /* @__PURE__ */ new Date();
18
+ const [viewYear, setViewYear] = react.useState(value?.getFullYear() ?? today.getFullYear());
19
+ const [viewMonth, setViewMonth] = react.useState(value?.getMonth() ?? today.getMonth());
20
+ const days = react.useMemo(() => tigercatCore.getMonthDays(viewYear, viewMonth), [viewYear, viewMonth]);
21
+ const navigate = react.useCallback(
22
+ (newYear, newMonth) => {
23
+ setViewYear(newYear);
24
+ setViewMonth(newMonth);
25
+ onPanelChange?.(new Date(newYear, newMonth, 1), mode);
26
+ },
27
+ [mode, onPanelChange]
28
+ );
29
+ const prevMonth = react.useCallback(() => {
30
+ if (viewMonth === 0) navigate(viewYear - 1, 11);
31
+ else navigate(viewYear, viewMonth - 1);
32
+ }, [viewYear, viewMonth, navigate]);
33
+ const nextMonth = react.useCallback(() => {
34
+ if (viewMonth === 11) navigate(viewYear + 1, 0);
35
+ else navigate(viewYear, viewMonth + 1);
36
+ }, [viewYear, viewMonth, navigate]);
37
+ const prevYear = react.useCallback(
38
+ () => navigate(viewYear - 1, viewMonth),
39
+ [viewYear, viewMonth, navigate]
40
+ );
41
+ const nextYear = react.useCallback(
42
+ () => navigate(viewYear + 1, viewMonth),
43
+ [viewYear, viewMonth, navigate]
44
+ );
45
+ const selectDay = react.useCallback(
46
+ (date) => {
47
+ if (disabledDate?.(date)) return;
48
+ onChange?.(date);
49
+ },
50
+ [disabledDate, onChange]
51
+ );
52
+ const selectMonth = react.useCallback(
53
+ (monthIdx) => {
54
+ setViewMonth(monthIdx);
55
+ onPanelChange?.(new Date(viewYear, monthIdx, 1), mode);
56
+ },
57
+ [viewYear, mode, onPanelChange]
58
+ );
59
+ const containerClass = tigercatCore.classNames(tigercatCore.getCalendarContainerClasses(fullscreen), className);
60
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: containerClass, role: "group", children: [
61
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: tigercatCore.calendarHeaderClasses, children: [
62
+ /* @__PURE__ */ jsxRuntime.jsx(
63
+ "button",
64
+ {
65
+ type: "button",
66
+ className: tigercatCore.calendarNavButtonClasses,
67
+ "aria-label": mode === "month" ? "Previous month" : "Previous year",
68
+ onClick: mode === "month" ? prevMonth : prevYear,
69
+ children: "\u2039"
70
+ }
71
+ ),
72
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: tigercatCore.calendarTitleClasses, children: mode === "month" ? `${tigercatCore.MONTHS[viewMonth]} ${viewYear}` : `${viewYear}` }),
73
+ /* @__PURE__ */ jsxRuntime.jsx(
74
+ "button",
75
+ {
76
+ type: "button",
77
+ className: tigercatCore.calendarNavButtonClasses,
78
+ "aria-label": mode === "month" ? "Next month" : "Next year",
79
+ onClick: mode === "month" ? nextMonth : nextYear,
80
+ children: "\u203A"
81
+ }
82
+ )
83
+ ] }),
84
+ mode === "year" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-2", children: tigercatCore.MONTHS.map((m, i) => /* @__PURE__ */ jsxRuntime.jsx(
85
+ "div",
86
+ {
87
+ className: tigercatCore.getCalendarMonthClasses(viewMonth === i),
88
+ onClick: () => selectMonth(i),
89
+ children: m
90
+ },
91
+ i
92
+ )) }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
93
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-7", children: tigercatCore.WEEKDAYS.map((wd) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: tigercatCore.calendarWeekdayClasses, children: wd }, wd)) }),
94
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-7", children: days.map((date, i) => {
95
+ const isCurrentMonth = date.getMonth() === viewMonth;
96
+ const isSelected = value ? tigercatCore.isSameDay(date, value) : false;
97
+ const isTodayDate = tigercatCore.isSameDay(date, today);
98
+ const isDisabled = !!disabledDate?.(date);
99
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-0.5", children: /* @__PURE__ */ jsxRuntime.jsx(
100
+ "div",
101
+ {
102
+ className: tigercatCore.getCalendarDayClasses(
103
+ isSelected,
104
+ isTodayDate,
105
+ isCurrentMonth,
106
+ isDisabled
107
+ ),
108
+ onClick: () => selectDay(date),
109
+ children: date.getDate()
110
+ }
111
+ ) }, i);
112
+ }) })
113
+ ] })
114
+ ] });
115
+ };
116
+ var Calendar_default = Calendar;
117
+
118
+ exports.Calendar = Calendar;
119
+ exports.Calendar_default = Calendar_default;
@@ -0,0 +1,167 @@
1
+ import React from 'react';
2
+ import { clampPercentage, getStatusVariant, formatProgressText, getCircleSize, calculateCirclePath, classNames, progressCircleTrackStrokeClasses, getProgressVariantClasses, progressCircleTextClasses, progressTextSizeClasses, getProgressTextColorClasses, progressCircleBaseClasses, progressLineInnerClasses, progressStripedClasses, progressStripedAnimationClasses, progressLineBaseClasses, progressTrackBgClasses, progressLineSizeClasses, progressTextBaseClasses } from '@expcat/tigercat-core';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ // src/components/Progress.tsx
6
+ var Progress = React.memo(
7
+ ({
8
+ variant = "primary",
9
+ size = "md",
10
+ type = "line",
11
+ percentage = 0,
12
+ status = "normal",
13
+ showText,
14
+ text,
15
+ format,
16
+ striped = false,
17
+ stripedAnimation = false,
18
+ strokeWidth = 6,
19
+ width = "auto",
20
+ height,
21
+ className,
22
+ style,
23
+ "aria-label": ariaLabel,
24
+ "aria-labelledby": ariaLabelledby,
25
+ "aria-describedby": ariaDescribedby,
26
+ ...props
27
+ }) => {
28
+ const clampedPercentage = clampPercentage(percentage);
29
+ const effectiveVariant = getStatusVariant(status) || variant;
30
+ const shouldShowText = showText ?? type === "line";
31
+ const displayText = shouldShowText ? formatProgressText(clampedPercentage, text, format) : "";
32
+ const resolvedAriaLabel = ariaLabel ?? (ariaLabelledby ? void 0 : `Progress: ${clampedPercentage}%`);
33
+ const ariaAttrs = {
34
+ role: "progressbar",
35
+ "aria-label": resolvedAriaLabel,
36
+ "aria-labelledby": ariaLabelledby,
37
+ "aria-describedby": ariaDescribedby,
38
+ "aria-valuenow": clampedPercentage,
39
+ "aria-valuemin": 0,
40
+ "aria-valuemax": 100
41
+ };
42
+ const renderLineProgress = () => {
43
+ const containerStyle = width !== "auto" ? { width: typeof width === "number" ? `${width}px` : width } : {};
44
+ return /* @__PURE__ */ jsxs(
45
+ "div",
46
+ {
47
+ ...props,
48
+ className: classNames("flex items-center w-full", className),
49
+ style: { ...style ?? {}, ...containerStyle },
50
+ children: [
51
+ /* @__PURE__ */ jsx(
52
+ "div",
53
+ {
54
+ className: classNames(
55
+ progressLineBaseClasses,
56
+ progressTrackBgClasses,
57
+ !height && progressLineSizeClasses[size]
58
+ ),
59
+ style: { flex: 1, ...height ? { height: `${height}px` } : {} },
60
+ children: /* @__PURE__ */ jsx(
61
+ "div",
62
+ {
63
+ className: classNames(
64
+ progressLineInnerClasses,
65
+ getProgressVariantClasses(effectiveVariant),
66
+ striped && progressStripedClasses,
67
+ striped && stripedAnimation && progressStripedAnimationClasses
68
+ ),
69
+ style: { width: `${clampedPercentage}%` },
70
+ ...ariaAttrs
71
+ }
72
+ )
73
+ }
74
+ ),
75
+ shouldShowText && /* @__PURE__ */ jsx(
76
+ "span",
77
+ {
78
+ className: classNames(
79
+ progressTextBaseClasses,
80
+ progressTextSizeClasses[size],
81
+ getProgressTextColorClasses(effectiveVariant)
82
+ ),
83
+ children: displayText
84
+ }
85
+ )
86
+ ]
87
+ }
88
+ );
89
+ };
90
+ const renderCircleProgress = () => {
91
+ const {
92
+ width: svgWidth,
93
+ height: svgHeight,
94
+ radius,
95
+ cx,
96
+ cy
97
+ } = getCircleSize(size, strokeWidth);
98
+ const { strokeDasharray, strokeDashoffset } = calculateCirclePath(radius, clampedPercentage);
99
+ return /* @__PURE__ */ jsxs(
100
+ "div",
101
+ {
102
+ ...props,
103
+ className: classNames(progressCircleBaseClasses, className),
104
+ style: {
105
+ ...style ?? {},
106
+ width: `${svgWidth}px`,
107
+ height: `${svgHeight}px`
108
+ },
109
+ children: [
110
+ /* @__PURE__ */ jsxs("svg", { width: svgWidth, height: svgHeight, viewBox: `0 0 ${svgWidth} ${svgHeight}`, children: [
111
+ /* @__PURE__ */ jsx(
112
+ "circle",
113
+ {
114
+ cx,
115
+ cy,
116
+ r: radius,
117
+ fill: "none",
118
+ stroke: "currentColor",
119
+ className: progressCircleTrackStrokeClasses,
120
+ strokeWidth
121
+ }
122
+ ),
123
+ /* @__PURE__ */ jsx(
124
+ "circle",
125
+ {
126
+ cx,
127
+ cy,
128
+ r: radius,
129
+ fill: "none",
130
+ stroke: "currentColor",
131
+ className: getProgressVariantClasses(effectiveVariant).replace("bg-", "text-"),
132
+ strokeWidth,
133
+ strokeLinecap: "round",
134
+ strokeDasharray,
135
+ strokeDashoffset,
136
+ style: {
137
+ transition: "stroke-dashoffset 0.3s ease",
138
+ transform: "rotate(-90deg)",
139
+ transformOrigin: "center"
140
+ },
141
+ ...ariaAttrs
142
+ }
143
+ )
144
+ ] }),
145
+ shouldShowText && /* @__PURE__ */ jsx(
146
+ "div",
147
+ {
148
+ className: classNames(
149
+ progressCircleTextClasses,
150
+ progressTextSizeClasses[size],
151
+ "font-medium",
152
+ getProgressTextColorClasses(effectiveVariant)
153
+ ),
154
+ children: displayText
155
+ }
156
+ )
157
+ ]
158
+ }
159
+ );
160
+ };
161
+ if (type === "circle") return renderCircleProgress();
162
+ return renderLineProgress();
163
+ }
164
+ );
165
+ Progress.displayName = "Progress";
166
+
167
+ export { Progress };