@expcat/tigercat-react 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/dist/{chunk-WV5XHYW6.js → chunk-23XPDNCA.js} +6 -4
  2. package/dist/{chunk-UAM3RQY4.js → chunk-24NDLFPK.js} +22 -28
  3. package/dist/{chunk-NMKFR435.js → chunk-2LKX6CE7.js} +7 -4
  4. package/dist/{chunk-BEZO5IE4.js → chunk-2PV3F47T.js} +2 -2
  5. package/dist/{chunk-ANN5P7TJ.js → chunk-2ZA4MUO2.js} +72 -29
  6. package/dist/{chunk-H4AR4GXH.js → chunk-3NVMKDMH.js} +1 -8
  7. package/dist/{chunk-7CHTTM6D.js → chunk-3RQ3FHJ7.js} +2 -2
  8. package/dist/{chunk-ELRZ2ZHM.mjs → chunk-4DRJA5ZK.mjs} +15 -17
  9. package/dist/{chunk-J3N24I7A.mjs → chunk-4F3UTDFE.mjs} +24 -6
  10. package/dist/{chunk-56CTXEJS.mjs → chunk-4HMMH4XS.mjs} +24 -11
  11. package/dist/{chunk-ZQSMJS2Q.mjs → chunk-4MREOFVE.mjs} +3 -3
  12. package/dist/{chunk-EEF26RBA.mjs → chunk-4SU6D2E7.mjs} +15 -3
  13. package/dist/{chunk-ZZAR4IDS.js → chunk-4TPRBVW7.js} +19 -2
  14. package/dist/{chunk-NSEO2B74.mjs → chunk-4V5RL25M.mjs} +8 -5
  15. package/dist/{chunk-AUW7DCXL.js → chunk-5JYVN65W.js} +24 -6
  16. package/dist/{chunk-YRVAF2ID.js → chunk-5QLSTNA3.js} +7 -1
  17. package/dist/chunk-5SX2M3LU.mjs +319 -0
  18. package/dist/{chunk-FI53LYZ6.js → chunk-5UREMEDS.js} +24 -8
  19. package/dist/chunk-6LGCAGNG.js +312 -0
  20. package/dist/{chunk-KED5S2WG.mjs → chunk-6REMGSLS.mjs} +22 -11
  21. package/dist/{chunk-PNAWOJ32.js → chunk-6S5QOTXZ.js} +14 -2
  22. package/dist/{chunk-4AMSYFYC.js → chunk-6SG2N4WF.js} +7 -7
  23. package/dist/{chunk-YSGM22AH.mjs → chunk-6UIVNRAR.mjs} +7 -4
  24. package/dist/{chunk-IZGXDHPB.mjs → chunk-7RI5W465.mjs} +19 -25
  25. package/dist/{chunk-DCKBVRLI.js → chunk-7UZ7O7KX.js} +63 -16
  26. package/dist/{chunk-WZUADPYB.js → chunk-7YI5TAPT.js} +2 -5
  27. package/dist/chunk-AI4V7L6K.mjs +230 -0
  28. package/dist/chunk-AQOXANET.mjs +222 -0
  29. package/dist/{chunk-HHMYERHY.mjs → chunk-ATSI3UKS.mjs} +2 -1
  30. package/dist/{chunk-ZRHDNGWO.js → chunk-BR3WLDH7.js} +16 -2
  31. package/dist/{chunk-2Y5NIPHB.mjs → chunk-BRPOEVRT.mjs} +32 -3
  32. package/dist/{chunk-I7FEGKX2.mjs → chunk-CR4QBH46.mjs} +36 -11
  33. package/dist/{chunk-7U6VWD4H.mjs → chunk-CSJGNEHR.mjs} +2 -2
  34. package/dist/{chunk-ANBNSUSR.js → chunk-CXXOZLP4.js} +31 -21
  35. package/dist/{chunk-DVEK5SO6.mjs → chunk-D4X3NBAI.mjs} +8 -3
  36. package/dist/{chunk-QIL24WZD.mjs → chunk-DEQZZKY5.mjs} +12 -7
  37. package/dist/{chunk-TEYL5X56.js → chunk-DH4B2COV.js} +105 -36
  38. package/dist/{chunk-BONUUJU3.mjs → chunk-DJOFM2VO.mjs} +1 -8
  39. package/dist/{chunk-SQTOVSDU.mjs → chunk-DO3MVZZN.mjs} +12 -6
  40. package/dist/{chunk-SDZKL3IB.mjs → chunk-E355NVP7.mjs} +35 -14
  41. package/dist/{chunk-CNNEUJR2.js → chunk-ENJMHEQU.js} +44 -19
  42. package/dist/{chunk-BRA3PO53.js → chunk-FBIBHTBG.js} +2 -2
  43. package/dist/{chunk-P36GX65N.js → chunk-FCCHM2B4.js} +40 -4
  44. package/dist/{chunk-4LIDROT4.js → chunk-FFDK6PEP.js} +7 -4
  45. package/dist/{chunk-R2KUNFDN.mjs → chunk-GA4YOE57.mjs} +2 -2
  46. package/dist/{chunk-3E76U2RG.js → chunk-GADCSCH2.js} +33 -5
  47. package/dist/{chunk-JOB47R6Q.mjs → chunk-GCOA4AO6.mjs} +72 -29
  48. package/dist/{chunk-M6YXUNOU.mjs → chunk-GOUSXJEY.mjs} +2 -2
  49. package/dist/{chunk-GDPU5MYA.js → chunk-GPAY5F7D.js} +11 -6
  50. package/dist/{chunk-TNTOSFGN.mjs → chunk-GQPKHMHA.mjs} +1 -1
  51. package/dist/{chunk-NKSYX4R7.mjs → chunk-GTDLZF7K.mjs} +2 -2
  52. package/dist/{chunk-OXQOKKTP.mjs → chunk-H7D7UBDC.mjs} +2 -2
  53. package/dist/{chunk-KYNWNTGO.js → chunk-HFGTJEQW.js} +82 -29
  54. package/dist/{chunk-J6OZWT3P.js → chunk-HVAG26CK.js} +3 -3
  55. package/dist/{chunk-SLEXEH7R.mjs → chunk-HWZSMV2M.mjs} +3 -11
  56. package/dist/{chunk-EJKOUI26.js → chunk-I5UB4FN3.js} +3 -3
  57. package/dist/{chunk-NVI2P7VH.js → chunk-I6VHGILW.js} +21 -9
  58. package/dist/{chunk-EOU6WZTS.js → chunk-I7OSNH5T.js} +34 -5
  59. package/dist/{chunk-L24PPXLV.js → chunk-IFB3OECJ.js} +1 -0
  60. package/dist/{chunk-376X7SDZ.mjs → chunk-IXAPFTTD.mjs} +7 -6
  61. package/dist/{chunk-EHIXCFD7.js → chunk-JHRFG5PG.js} +57 -12
  62. package/dist/{chunk-3EB42WFR.mjs → chunk-KCPGFO5R.mjs} +2 -2
  63. package/dist/{chunk-G3PBQ4B4.mjs → chunk-KQ4ZKXXN.mjs} +52 -2
  64. package/dist/{chunk-MC26ORSN.js → chunk-KSXGH3FO.js} +7 -7
  65. package/dist/{chunk-X7JAYXPY.js → chunk-KVWSVDAJ.js} +4 -4
  66. package/dist/{chunk-OFRKYQOZ.mjs → chunk-LACDTZTE.mjs} +4 -4
  67. package/dist/{chunk-YH57D4AV.mjs → chunk-LAKPYMBZ.mjs} +1 -0
  68. package/dist/{chunk-6GU5NH5F.mjs → chunk-LBXNMCXN.mjs} +33 -5
  69. package/dist/{chunk-KGMVRIYC.mjs → chunk-LOM6NNQK.mjs} +29 -16
  70. package/dist/{chunk-WFWEMXO7.mjs → chunk-LUABLBKS.mjs} +83 -30
  71. package/dist/{chunk-K2TXT5HQ.js → chunk-M577W3TS.js} +101 -85
  72. package/dist/{chunk-3EDASNTG.js → chunk-MOYZF62V.js} +29 -16
  73. package/dist/{chunk-ZDNQGS4O.js → chunk-MQIVMK24.js} +4 -4
  74. package/dist/{chunk-WMPCN7OF.mjs → chunk-MZCGQED3.mjs} +15 -3
  75. package/dist/{chunk-KDXKF6B2.mjs → chunk-MZPKFMQC.mjs} +1 -1
  76. package/dist/{chunk-AG4HRAW2.mjs → chunk-NEHSCSQP.mjs} +2 -2
  77. package/dist/chunk-NG3OBMKV.js +319 -0
  78. package/dist/{chunk-RFHPG4KN.js → chunk-NGSJGXUZ.js} +15 -17
  79. package/dist/{chunk-WIWTY74F.mjs → chunk-NJHZQBA7.mjs} +16 -2
  80. package/dist/{chunk-EQD2U4KM.js → chunk-O2N7ITWQ.js} +63 -16
  81. package/dist/{chunk-NASC6XHN.mjs → chunk-O6YIPNXX.mjs} +24 -15
  82. package/dist/{chunk-VHGCWZ6V.mjs → chunk-OTRPN5ZG.mjs} +58 -13
  83. package/dist/{chunk-QIKR5EFI.js → chunk-OVJO5NYW.js} +4 -4
  84. package/dist/{chunk-KXT2TP6A.mjs → chunk-P2WQIVXD.mjs} +22 -10
  85. package/dist/{chunk-PT5T5F4H.js → chunk-PQF5VLNX.js} +22 -11
  86. package/dist/chunk-PQOUWJAT.mjs +211 -0
  87. package/dist/{chunk-OS6M3IZF.js → chunk-PSCPLUGP.js} +5 -13
  88. package/dist/{chunk-ULWT6W6M.mjs → chunk-PZB24FST.mjs} +10 -5
  89. package/dist/{chunk-BO45CU4Q.js → chunk-PZWI4YNN.js} +6 -4
  90. package/dist/{chunk-PFYK2V3E.js → chunk-Q2OXQNWU.js} +73 -9
  91. package/dist/{chunk-VM4ZQHT5.mjs → chunk-QANWBRNU.mjs} +59 -12
  92. package/dist/{chunk-XBM76P27.mjs → chunk-QFUIGOOM.mjs} +4 -2
  93. package/dist/{chunk-BN4ZKCAI.mjs → chunk-QKNORS26.mjs} +49 -36
  94. package/dist/{chunk-LROHXQWX.js → chunk-R4PMBWU3.js} +2 -2
  95. package/dist/chunk-R56UOY6C.js +222 -0
  96. package/dist/chunk-RNHC7BON.js +230 -0
  97. package/dist/{chunk-7PXALKLM.js → chunk-RRO752KE.js} +11 -10
  98. package/dist/{chunk-RVLV63SI.mjs → chunk-S4NGDDAM.mjs} +105 -36
  99. package/dist/{chunk-D5MQBUP2.js → chunk-SA3N2LUB.js} +22 -17
  100. package/dist/{chunk-BROIZ266.js → chunk-SFBSI3J7.js} +6 -3
  101. package/dist/{chunk-RVO6R37N.mjs → chunk-SHDQJ5BJ.mjs} +1 -1
  102. package/dist/{chunk-N2JYU4JI.js → chunk-SHU7L4NM.js} +52 -2
  103. package/dist/{chunk-M3MOSUZO.mjs → chunk-SI3P3V75.mjs} +16 -6
  104. package/dist/{chunk-UVMQJOTX.js → chunk-SK7PXSVE.js} +23 -14
  105. package/dist/{chunk-U356F7GU.js → chunk-SO2ADQTB.js} +52 -11
  106. package/dist/{chunk-NKKIJQMV.mjs → chunk-SPIPFOGD.mjs} +4 -2
  107. package/dist/{chunk-NQNHM4OL.mjs → chunk-SRC7JHME.mjs} +1 -1
  108. package/dist/{chunk-2RBHQBSG.js → chunk-SXTMVZ4W.js} +25 -12
  109. package/dist/{chunk-BEM7XG2L.js → chunk-SYJJKI7U.js} +35 -14
  110. package/dist/{chunk-RYNLPRUM.mjs → chunk-SYVMCKPR.mjs} +1 -1
  111. package/dist/{chunk-SY23FAXK.mjs → chunk-T6HNFCOW.mjs} +24 -8
  112. package/dist/{chunk-ZITBUGBH.mjs → chunk-TBMDIAZI.mjs} +59 -12
  113. package/dist/{chunk-B63GEB2Y.js → chunk-TIDVBSXR.js} +47 -34
  114. package/dist/{chunk-ZJI2VLIL.js → chunk-TLDTBCT6.js} +15 -3
  115. package/dist/{chunk-XFPJYKBQ.js → chunk-TN7GMDME.js} +13 -9
  116. package/dist/{chunk-M3FVPPMM.js → chunk-TO4SSBAJ.js} +17 -12
  117. package/dist/{chunk-XTQUPDRI.js → chunk-TPU6S7G7.js} +2 -2
  118. package/dist/{chunk-NEZ445D4.mjs → chunk-TRXNHYWB.mjs} +3 -3
  119. package/dist/{chunk-H6NC6SBX.js → chunk-TVEO2CFD.js} +2 -2
  120. package/dist/{chunk-6QQBMZQ6.mjs → chunk-U2ZXZ2KQ.mjs} +74 -10
  121. package/dist/{chunk-AVLIUHOS.mjs → chunk-U337RHJB.mjs} +4 -4
  122. package/dist/{chunk-VC26SAXB.js → chunk-UQZ4RLTI.js} +12 -6
  123. package/dist/{chunk-PXO2F2CS.mjs → chunk-V23KR23W.mjs} +47 -4
  124. package/dist/{chunk-BA6TJQZL.js → chunk-V3QEV3TL.js} +6 -6
  125. package/dist/{chunk-GG72T6JK.js → chunk-VOSN3IQC.js} +47 -4
  126. package/dist/{chunk-J4OQ2VRH.mjs → chunk-W6T3CG7U.mjs} +45 -4
  127. package/dist/{chunk-OTEM4FVX.mjs → chunk-WGKNAOW7.mjs} +11 -7
  128. package/dist/chunk-WLFLQB4R.mjs +312 -0
  129. package/dist/{chunk-W6AWN7BC.js → chunk-WLORVPTR.js} +4 -4
  130. package/dist/{chunk-J5N5OQWB.mjs → chunk-WOEX4S6J.mjs} +5 -2
  131. package/dist/{chunk-CAQPYJFA.mjs → chunk-WT72F56O.mjs} +1 -1
  132. package/dist/{chunk-7Z64GEMN.js → chunk-WTASPL6V.js} +3 -1
  133. package/dist/{chunk-2LYV6NBJ.mjs → chunk-WTIEJCRV.mjs} +7 -1
  134. package/dist/{chunk-L6KSO66F.mjs → chunk-WYPTAUCX.mjs} +2 -5
  135. package/dist/{chunk-CC5GFX6F.js → chunk-XKMZ5AMS.js} +2 -1
  136. package/dist/{chunk-WCTNQYXO.js → chunk-XMD7CQQ2.js} +12 -7
  137. package/dist/{chunk-7DUHHRAU.mjs → chunk-Y5X3G2LD.mjs} +41 -5
  138. package/dist/{chunk-ZA5EFHET.mjs → chunk-Z6BDNV3S.mjs} +18 -1
  139. package/dist/{chunk-UBP7HZSU.mjs → chunk-ZG2W4HS5.mjs} +6 -4
  140. package/dist/{chunk-UIIOZEUP.js → chunk-ZLCVJXGL.js} +4 -4
  141. package/dist/{chunk-CME2IFUT.mjs → chunk-ZLP4XEAO.mjs} +21 -16
  142. package/dist/{chunk-YID7J6ZK.js → chunk-ZXVLZKLT.js} +1 -1
  143. package/dist/components/ActivityFeed.js +6 -6
  144. package/dist/components/ActivityFeed.mjs +5 -5
  145. package/dist/components/AreaChart.js +4 -4
  146. package/dist/components/AreaChart.mjs +3 -3
  147. package/dist/components/AutoComplete.js +3 -2
  148. package/dist/components/AutoComplete.mjs +2 -1
  149. package/dist/components/BackTop.js +2 -2
  150. package/dist/components/BackTop.mjs +1 -1
  151. package/dist/components/Badge.js +3 -2
  152. package/dist/components/Badge.mjs +2 -1
  153. package/dist/components/BarChart.js +4 -4
  154. package/dist/components/BarChart.mjs +3 -3
  155. package/dist/components/Breadcrumb.d.mts +1 -1
  156. package/dist/components/Breadcrumb.d.ts +1 -1
  157. package/dist/components/Calendar.d.mts +2 -10
  158. package/dist/components/Calendar.d.ts +2 -10
  159. package/dist/components/Calendar.js +3 -2
  160. package/dist/components/Calendar.mjs +2 -1
  161. package/dist/components/Cascader.js +2 -2
  162. package/dist/components/Cascader.mjs +1 -1
  163. package/dist/components/ChartAxis.d.mts +1 -2
  164. package/dist/components/ChartAxis.d.ts +1 -2
  165. package/dist/components/ChartGrid.d.mts +1 -2
  166. package/dist/components/ChartGrid.d.ts +1 -2
  167. package/dist/components/ChartLegend.js +2 -2
  168. package/dist/components/ChartLegend.mjs +1 -1
  169. package/dist/components/ChartSeries.d.mts +1 -2
  170. package/dist/components/ChartSeries.d.ts +1 -2
  171. package/dist/components/ChartTooltip.js +2 -2
  172. package/dist/components/ChartTooltip.mjs +1 -1
  173. package/dist/components/ChatWindow.js +8 -6
  174. package/dist/components/ChatWindow.mjs +7 -5
  175. package/dist/components/CodeEditor.js +2 -2
  176. package/dist/components/CodeEditor.mjs +1 -1
  177. package/dist/components/CommentThread.js +6 -4
  178. package/dist/components/CommentThread.mjs +5 -3
  179. package/dist/components/CropUpload.d.mts +6 -2
  180. package/dist/components/CropUpload.d.ts +6 -2
  181. package/dist/components/CropUpload.js +4 -4
  182. package/dist/components/CropUpload.mjs +3 -3
  183. package/dist/components/DataTableWithToolbar.d.mts +1 -2
  184. package/dist/components/DataTableWithToolbar.d.ts +1 -2
  185. package/dist/components/DataTableWithToolbar.js +7 -6
  186. package/dist/components/DataTableWithToolbar.mjs +6 -5
  187. package/dist/components/DatePicker.js +3 -2
  188. package/dist/components/DatePicker.mjs +2 -1
  189. package/dist/components/DonutChart.js +5 -5
  190. package/dist/components/DonutChart.mjs +4 -4
  191. package/dist/components/Empty.js +3 -2
  192. package/dist/components/Empty.mjs +2 -1
  193. package/dist/components/FileManager.d.mts +3 -23
  194. package/dist/components/FileManager.d.ts +3 -23
  195. package/dist/components/FileManager.js +2 -2
  196. package/dist/components/FileManager.mjs +1 -1
  197. package/dist/components/FloatButton.js +2 -2
  198. package/dist/components/FloatButton.mjs +1 -1
  199. package/dist/components/Form.js +2 -2
  200. package/dist/components/Form.mjs +1 -1
  201. package/dist/components/FormItem.js +3 -3
  202. package/dist/components/FormItem.mjs +2 -2
  203. package/dist/components/FormWizard.js +3 -3
  204. package/dist/components/FormWizard.mjs +2 -2
  205. package/dist/components/FunnelChart.js +4 -4
  206. package/dist/components/FunnelChart.mjs +3 -3
  207. package/dist/components/GaugeChart.js +3 -2
  208. package/dist/components/GaugeChart.mjs +2 -1
  209. package/dist/components/HeatmapChart.js +3 -3
  210. package/dist/components/HeatmapChart.mjs +2 -2
  211. package/dist/components/Image.js +5 -4
  212. package/dist/components/Image.mjs +4 -3
  213. package/dist/components/ImageAnnotation.d.mts +1 -1
  214. package/dist/components/ImageAnnotation.d.ts +1 -1
  215. package/dist/components/ImageAnnotation.js +3 -2
  216. package/dist/components/ImageAnnotation.mjs +2 -1
  217. package/dist/components/ImageCropper.js +3 -2
  218. package/dist/components/ImageCropper.mjs +2 -1
  219. package/dist/components/ImageGroup.js +4 -3
  220. package/dist/components/ImageGroup.mjs +3 -2
  221. package/dist/components/ImagePreview.js +3 -2
  222. package/dist/components/ImagePreview.mjs +2 -1
  223. package/dist/components/ImageViewer.d.mts +2 -0
  224. package/dist/components/ImageViewer.d.ts +2 -0
  225. package/dist/components/ImageViewer.js +3 -2
  226. package/dist/components/ImageViewer.mjs +2 -1
  227. package/dist/components/InfiniteScroll.js +2 -2
  228. package/dist/components/InfiniteScroll.mjs +1 -1
  229. package/dist/components/Input.js +3 -2
  230. package/dist/components/Input.mjs +2 -1
  231. package/dist/components/InputNumber.js +3 -2
  232. package/dist/components/InputNumber.mjs +2 -1
  233. package/dist/components/Kanban.d.mts +5 -1
  234. package/dist/components/Kanban.d.ts +5 -1
  235. package/dist/components/Kanban.js +3 -3
  236. package/dist/components/Kanban.mjs +2 -2
  237. package/dist/components/LineChart.js +4 -4
  238. package/dist/components/LineChart.mjs +3 -3
  239. package/dist/components/List.d.mts +1 -2
  240. package/dist/components/List.d.ts +1 -2
  241. package/dist/components/List.js +3 -3
  242. package/dist/components/List.mjs +2 -2
  243. package/dist/components/Loading.js +2 -2
  244. package/dist/components/Loading.mjs +1 -1
  245. package/dist/components/MarkdownEditor.js +2 -2
  246. package/dist/components/MarkdownEditor.mjs +1 -1
  247. package/dist/components/Menu.d.mts +2 -2
  248. package/dist/components/Menu.d.ts +2 -2
  249. package/dist/components/MenuItem.d.mts +1 -1
  250. package/dist/components/MenuItem.d.ts +1 -1
  251. package/dist/components/MenuItemGroup.d.mts +1 -1
  252. package/dist/components/MenuItemGroup.d.ts +1 -1
  253. package/dist/components/Message.d.mts +2 -1
  254. package/dist/components/Message.d.ts +2 -1
  255. package/dist/components/Message.js +2 -2
  256. package/dist/components/Message.mjs +1 -1
  257. package/dist/components/Modal.js +2 -2
  258. package/dist/components/Modal.mjs +1 -1
  259. package/dist/components/NotificationCenter.js +6 -6
  260. package/dist/components/NotificationCenter.mjs +5 -5
  261. package/dist/components/PieChart.js +4 -4
  262. package/dist/components/PieChart.mjs +3 -3
  263. package/dist/components/QRCode.d.mts +2 -1
  264. package/dist/components/QRCode.d.ts +2 -1
  265. package/dist/components/QRCode.js +3 -2
  266. package/dist/components/QRCode.mjs +2 -1
  267. package/dist/components/RadarChart.js +4 -4
  268. package/dist/components/RadarChart.mjs +3 -3
  269. package/dist/components/Rate.js +2 -2
  270. package/dist/components/Rate.mjs +1 -1
  271. package/dist/components/Resizable.js +2 -2
  272. package/dist/components/Resizable.mjs +1 -1
  273. package/dist/components/Result.js +2 -2
  274. package/dist/components/Result.mjs +1 -1
  275. package/dist/components/RichTextEditor.js +2 -2
  276. package/dist/components/RichTextEditor.mjs +1 -1
  277. package/dist/components/ScatterChart.js +4 -4
  278. package/dist/components/ScatterChart.mjs +3 -3
  279. package/dist/components/Segmented.d.mts +1 -1
  280. package/dist/components/Segmented.d.ts +1 -1
  281. package/dist/components/Segmented.js +2 -2
  282. package/dist/components/Segmented.mjs +1 -1
  283. package/dist/components/Select.js +2 -2
  284. package/dist/components/Select.mjs +1 -1
  285. package/dist/components/Slider.js +2 -2
  286. package/dist/components/Slider.mjs +1 -1
  287. package/dist/components/Splitter.js +2 -2
  288. package/dist/components/Splitter.mjs +1 -1
  289. package/dist/components/Steps.js +2 -2
  290. package/dist/components/Steps.mjs +1 -1
  291. package/dist/components/StepsItem.js +2 -2
  292. package/dist/components/StepsItem.mjs +1 -1
  293. package/dist/components/SubMenu.d.mts +1 -1
  294. package/dist/components/SubMenu.d.ts +1 -1
  295. package/dist/components/SunburstChart.js +4 -4
  296. package/dist/components/SunburstChart.mjs +3 -3
  297. package/dist/components/TabPane.js +2 -2
  298. package/dist/components/TabPane.mjs +1 -1
  299. package/dist/components/Table.d.mts +2 -2
  300. package/dist/components/Table.d.ts +2 -2
  301. package/dist/components/Table.js +4 -4
  302. package/dist/components/Table.mjs +3 -3
  303. package/dist/components/Tabs.d.mts +0 -4
  304. package/dist/components/Tabs.d.ts +0 -4
  305. package/dist/components/Tabs.js +2 -2
  306. package/dist/components/Tabs.mjs +1 -1
  307. package/dist/components/Tag.js +3 -2
  308. package/dist/components/Tag.mjs +2 -1
  309. package/dist/components/TaskBoard.d.mts +3 -1
  310. package/dist/components/TaskBoard.d.ts +3 -1
  311. package/dist/components/TaskBoard.js +2 -2
  312. package/dist/components/TaskBoard.mjs +1 -1
  313. package/dist/components/Textarea.js +3 -2
  314. package/dist/components/Textarea.mjs +2 -1
  315. package/dist/components/TimePicker.js +2 -2
  316. package/dist/components/TimePicker.mjs +1 -1
  317. package/dist/components/Timeline.d.mts +5 -1
  318. package/dist/components/Timeline.d.ts +5 -1
  319. package/dist/components/Timeline.js +3 -2
  320. package/dist/components/Timeline.mjs +2 -1
  321. package/dist/components/Tour.js +4 -3
  322. package/dist/components/Tour.mjs +3 -2
  323. package/dist/components/Transfer.js +2 -2
  324. package/dist/components/Transfer.mjs +1 -1
  325. package/dist/components/Tree.js +3 -3
  326. package/dist/components/Tree.mjs +2 -2
  327. package/dist/components/TreeMapChart.js +4 -4
  328. package/dist/components/TreeMapChart.mjs +3 -3
  329. package/dist/components/Upload.js +2 -2
  330. package/dist/components/Upload.mjs +1 -1
  331. package/dist/components/VirtualList.js +2 -2
  332. package/dist/components/VirtualList.mjs +1 -1
  333. package/dist/components/VirtualTable.d.mts +7 -2
  334. package/dist/components/VirtualTable.d.ts +7 -2
  335. package/dist/components/VirtualTable.js +2 -2
  336. package/dist/components/VirtualTable.mjs +1 -1
  337. package/dist/index.d.mts +52 -53
  338. package/dist/index.d.ts +52 -53
  339. package/dist/index.js +81 -81
  340. package/dist/index.mjs +80 -80
  341. package/dist/{types-DaC4a0Ny.d.ts → types-CcgZY0mv.d.mts} +2 -2
  342. package/dist/{types-DaC4a0Ny.d.mts → types-CcgZY0mv.d.ts} +2 -2
  343. package/package.json +6 -6
  344. package/dist/chunk-5EVHVZG5.js +0 -131
  345. package/dist/chunk-AF2AEZKM.js +0 -165
  346. package/dist/chunk-CDRQSKXT.mjs +0 -195
  347. package/dist/chunk-EPJ6W4VI.mjs +0 -165
  348. package/dist/chunk-GYQ2DN6Z.mjs +0 -174
  349. package/dist/chunk-MTIGGMHG.mjs +0 -180
  350. package/dist/chunk-NDGA3N6H.js +0 -180
  351. package/dist/chunk-S5Y6UHAK.mjs +0 -131
  352. package/dist/chunk-T7KO6EVK.js +0 -174
@@ -70,18 +70,15 @@ var Form = forwardRef(
70
70
  [config.locale, locale]
71
71
  );
72
72
  const [errors, setErrors] = useState([]);
73
- const [formValues, setFormValues] = useState(model);
74
73
  const fieldRulesRef = React.useRef({});
75
74
  const fieldConditionsRef = React.useRef({});
76
75
  const formValuesRef = React.useRef(model);
76
+ const initialValuesRef = React.useRef({ ...model });
77
77
  const validationDebouncerRef = React.useRef(
78
78
  createFormValidationDebouncer({ delay: validateDebounce })
79
79
  );
80
80
  const errorsByField = useMemo(() => createFormErrorMap(errors), [errors]);
81
81
  const [historyState, setHistoryState] = useState(() => createFormHistory(model, maxHistorySize));
82
- React.useEffect(() => {
83
- setFormValues(model);
84
- }, [model]);
85
82
  React.useEffect(() => {
86
83
  validationDebouncerRef.current.cancel();
87
84
  validationDebouncerRef.current = createFormValidationDebouncer({ delay: validateDebounce });
@@ -286,27 +283,28 @@ var Form = forwardRef(
286
283
  }, []);
287
284
  const resetFields = useCallback(() => {
288
285
  clearValidate();
289
- setFormValues(model);
290
- }, [model, clearValidate]);
286
+ const next = { ...initialValuesRef.current };
287
+ formValuesRef.current = next;
288
+ onChange?.(next);
289
+ if (undoable) {
290
+ setHistoryState(createFormHistory(next, maxHistorySize));
291
+ }
292
+ }, [clearValidate, onChange, undoable, maxHistorySize]);
291
293
  const addField = useCallback(
292
294
  (fieldName, defaultValue) => {
293
295
  if (!fieldName) return;
294
- setFormValues((prev) => {
295
- const next = { ...prev, [fieldName]: defaultValue ?? null };
296
- onChange?.(next);
297
- return next;
298
- });
296
+ const next = { ...formValuesRef.current, [fieldName]: defaultValue ?? null };
297
+ formValuesRef.current = next;
298
+ onChange?.(next);
299
299
  },
300
300
  [onChange]
301
301
  );
302
302
  const removeField = useCallback(
303
303
  (fieldName) => {
304
304
  if (!fieldName) return;
305
- setFormValues((prev) => {
306
- const { [fieldName]: _, ...next } = prev;
307
- onChange?.(next);
308
- return next;
309
- });
305
+ const { [fieldName]: _, ...next } = formValuesRef.current;
306
+ formValuesRef.current = next;
307
+ onChange?.(next);
310
308
  clearValidate(fieldName);
311
309
  },
312
310
  [onChange, clearValidate]
@@ -337,11 +335,9 @@ var Form = forwardRef(
337
335
  }
338
336
  return clone;
339
337
  };
340
- setFormValues((prevValues) => {
341
- const newValues = setValueByPath(prevValues, fieldName, value);
342
- onChange?.(newValues);
343
- return newValues;
344
- });
338
+ const newValues = setValueByPath(formValuesRef.current, fieldName, value);
339
+ formValuesRef.current = newValues;
340
+ onChange?.(newValues);
345
341
  },
346
342
  [onChange]
347
343
  );
@@ -354,7 +350,6 @@ var Form = forwardRef(
354
350
  setHistoryState((prev) => {
355
351
  const result = undoFormHistory(prev);
356
352
  if (result) {
357
- setFormValues(result.present);
358
353
  formValuesRef.current = result.present;
359
354
  onChange?.(result.present);
360
355
  return result;
@@ -367,7 +362,6 @@ var Form = forwardRef(
367
362
  setHistoryState((prev) => {
368
363
  const result = redoFormHistory(prev);
369
364
  if (result) {
370
- setFormValues(result.present);
371
365
  formValuesRef.current = result.present;
372
366
  onChange?.(result.present);
373
367
  return result;
@@ -416,7 +410,7 @@ var Form = forwardRef(
416
410
  );
417
411
  const contextValue = useMemo(
418
412
  () => ({
419
- model: formValues,
413
+ model,
420
414
  rules,
421
415
  labelWidth,
422
416
  labelPosition,
@@ -436,7 +430,7 @@ var Form = forwardRef(
436
430
  updateValue
437
431
  }),
438
432
  [
439
- formValues,
433
+ model,
440
434
  rules,
441
435
  labelWidth,
442
436
  labelPosition,
@@ -3,13 +3,13 @@
3
3
  var _chunkXTV5JLLCjs = require('./chunk-XTV5JLLC.js');
4
4
 
5
5
 
6
- var _chunkWV5XHYW6js = require('./chunk-WV5XHYW6.js');
6
+ var _chunk23XPDNCAjs = require('./chunk-23XPDNCA.js');
7
7
 
8
8
 
9
9
  var _chunkAX5XRD2Qjs = require('./chunk-AX5XRD2Q.js');
10
10
 
11
11
 
12
- var _chunkUVMQJOTXjs = require('./chunk-UVMQJOTX.js');
12
+ var _chunkSK7PXSVEjs = require('./chunk-SK7PXSVE.js');
13
13
 
14
14
 
15
15
  var _chunkE5GD3H7Ljs = require('./chunk-E5GD3H7L.js');
@@ -50,13 +50,13 @@ var AreaChart = ({
50
50
  series,
51
51
  xScale: xScaleProp,
52
52
  yScale: yScaleProp,
53
- areaColor: _areaColor = "var(--tiger-primary,#2563eb)",
53
+ areaColor = "var(--tiger-primary,#2563eb)",
54
54
  strokeWidth = 2,
55
55
  fillOpacity = 0.2,
56
56
  curve = "linear",
57
57
  showPoints = false,
58
58
  pointSize = 4,
59
- pointColor: _pointColor,
59
+ pointColor,
60
60
  stacked = false,
61
61
  showGrid = true,
62
62
  showAxis = true,
@@ -114,8 +114,13 @@ var AreaChart = ({
114
114
  [width, height, padding]
115
115
  );
116
116
  const resolvedSeries = _react.useMemo.call(void 0,
117
- () => _tigercatcore.resolveSeriesData.call(void 0, series, data),
118
- [series, data]
117
+ () => _tigercatcore.resolveSeriesData.call(void 0, series, data, {
118
+ // Single-series colors (`areaColor`/`pointColor`) seed the synthesized
119
+ // series so they take effect when only `data` is provided.
120
+ color: areaColor,
121
+ pointColor
122
+ }),
123
+ [series, data, areaColor, pointColor]
119
124
  );
120
125
  const {
121
126
  activeIndex,
@@ -291,9 +296,19 @@ var AreaChart = ({
291
296
  setHoveredPointInfo(null);
292
297
  _optionalChain([onPointHover, 'optionalCall', _9 => _9(null, null, null)]);
293
298
  }, [onPointHover]);
299
+ const showPointTooltipFromElement = _react.useCallback.call(void 0,
300
+ (el, seriesIndex, pointIndex) => {
301
+ if (!hoverable) return;
302
+ const rect = el.getBoundingClientRect();
303
+ setHoveredPointInfo({ seriesIndex, pointIndex });
304
+ setTooltipPosition({ x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 });
305
+ _optionalChain([onPointHover, 'optionalCall', _10 => _10(seriesIndex, pointIndex, _optionalChain([resolvedSeries, 'access', _11 => _11[seriesIndex], 'optionalAccess', _12 => _12.data, 'access', _13 => _13[pointIndex]]))]);
306
+ },
307
+ [hoverable, onPointHover, resolvedSeries]
308
+ );
294
309
  const handlePointClick = _react.useCallback.call(void 0,
295
310
  (seriesIndex, pointIndex) => {
296
- _optionalChain([onPointClick, 'optionalCall', _10 => _10(seriesIndex, pointIndex, _optionalChain([resolvedSeries, 'access', _11 => _11[seriesIndex], 'optionalAccess', _12 => _12.data, 'access', _13 => _13[pointIndex]]))]);
311
+ _optionalChain([onPointClick, 'optionalCall', _14 => _14(seriesIndex, pointIndex, _optionalChain([resolvedSeries, 'access', _15 => _15[seriesIndex], 'optionalAccess', _16 => _16.data, 'access', _17 => _17[pointIndex]]))]);
297
312
  handleSeriesSelect(seriesIndex);
298
313
  },
299
314
  [onPointClick, resolvedSeries, handleSeriesSelect]
@@ -307,6 +322,7 @@ var AreaChart = ({
307
322
  },
308
323
  [selectable, handleSeriesSelect]
309
324
  );
325
+ const pointClickable = selectable || !!onPointClick;
310
326
  const reversedSeriesData = _react.useMemo.call(void 0, () => [...seriesData].reverse(), [seriesData]);
311
327
  const chart = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
312
328
  _chunkUKLVOR4Ejs.ChartCanvas,
@@ -476,8 +492,10 @@ var AreaChart = ({
476
492
  )),
477
493
  seriesData.map(
478
494
  (sd) => sd.showPoints && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "g", { opacity: sd.opacity, "data-series-key": sd.seriesKey, children: sd.points.map((point) => {
479
- const isHovered = _optionalChain([hoveredPointInfo, 'optionalAccess', _14 => _14.seriesIndex]) === sd.seriesIndex && _optionalChain([hoveredPointInfo, 'optionalAccess', _15 => _15.pointIndex]) === point.pointIndex;
495
+ const isHovered = _optionalChain([hoveredPointInfo, 'optionalAccess', _18 => _18.seriesIndex]) === sd.seriesIndex && _optionalChain([hoveredPointInfo, 'optionalAccess', _19 => _19.pointIndex]) === point.pointIndex;
480
496
  const hoverSize = sd.pointSize + 2;
497
+ const datum = _optionalChain([resolvedSeries, 'access', _20 => _20[sd.seriesIndex], 'optionalAccess', _21 => _21.data, 'optionalAccess', _22 => _22[point.pointIndex]]);
498
+ const pointInteractive = hoverable || pointClickable;
481
499
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
482
500
  "circle",
483
501
  {
@@ -487,17 +505,46 @@ var AreaChart = ({
487
505
  fill: sd.pointHollow ? "white" : pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
488
506
  stroke: sd.pointHollow ? sd.pointColor : "none",
489
507
  strokeWidth: sd.pointHollow ? 2 : 0,
490
- className: _tigercatcore.linePointTransitionClasses,
508
+ className: _tigercatcore.classNames.call(void 0,
509
+ _tigercatcore.linePointTransitionClasses,
510
+ pointInteractive && "cursor-pointer"
511
+ ),
491
512
  style: isHovered ? { filter: `drop-shadow(0 0 4px ${sd.color})` } : void 0,
513
+ role: pointInteractive ? "button" : "img",
514
+ "aria-label": _nullishCoalesce(_optionalChain([datum, 'optionalAccess', _23 => _23.label]), () => ( String(_nullishCoalesce(_optionalChain([datum, 'optionalAccess', _24 => _24.y]), () => ( ""))))),
515
+ tabIndex: pointInteractive ? 0 : void 0,
492
516
  "data-point-index": point.pointIndex,
493
517
  "data-series-key": sd.seriesKey,
494
- onMouseEnter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
495
- onMouseMove: handlePointMouseMove,
496
- onMouseLeave: handlePointMouseLeave,
497
- onClick: (e) => {
518
+ onMouseEnter: hoverable ? (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e) : void 0,
519
+ onMouseMove: hoverable ? handlePointMouseMove : void 0,
520
+ onMouseLeave: hoverable ? handlePointMouseLeave : void 0,
521
+ onClick: pointClickable ? (e) => {
498
522
  e.stopPropagation();
499
523
  handlePointClick(sd.seriesIndex, point.pointIndex);
500
- }
524
+ } : void 0,
525
+ onFocus: hoverable ? (e) => showPointTooltipFromElement(
526
+ e.currentTarget,
527
+ sd.seriesIndex,
528
+ point.pointIndex
529
+ ) : void 0,
530
+ onBlur: hoverable ? handlePointMouseLeave : void 0,
531
+ onKeyDown: pointInteractive ? (e) => {
532
+ if (e.key === "Enter" || e.key === " ") {
533
+ e.preventDefault();
534
+ e.stopPropagation();
535
+ if (pointClickable) {
536
+ handlePointClick(sd.seriesIndex, point.pointIndex);
537
+ } else {
538
+ showPointTooltipFromElement(
539
+ e.currentTarget,
540
+ sd.seriesIndex,
541
+ point.pointIndex
542
+ );
543
+ }
544
+ } else if (e.key === "Escape" && hoverable) {
545
+ handlePointMouseLeave();
546
+ }
547
+ } : void 0
501
548
  },
502
549
  `point-${sd.seriesKey}-${point.pointIndex}`
503
550
  );
@@ -507,7 +554,7 @@ var AreaChart = ({
507
554
  }
508
555
  );
509
556
  const tooltip = showTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
510
- _chunkUVMQJOTXjs.ChartTooltip,
557
+ _chunkSK7PXSVEjs.ChartTooltip,
511
558
  {
512
559
  content: tooltipContent,
513
560
  visible: hoveredPointInfo !== null && tooltipContent !== "",
@@ -524,7 +571,7 @@ var AreaChart = ({
524
571
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: wrapperClasses, children: [
525
572
  chart,
526
573
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
527
- _chunkWV5XHYW6js.ChartLegend,
574
+ _chunk23XPDNCAjs.ChartLegend,
528
575
  {
529
576
  items: legendItems,
530
577
  position: legendPosition,
@@ -25,7 +25,7 @@ var RichTextEditor = ({
25
25
  value,
26
26
  defaultValue = "",
27
27
  placeholder,
28
- mode: _mode = "html",
28
+ mode = "html",
29
29
  toolbar,
30
30
  height = 300,
31
31
  readOnly = false,
@@ -48,6 +48,7 @@ var RichTextEditor = ({
48
48
  const instance = factory.create({
49
49
  element: editorRef.current,
50
50
  initialValue: isControlled ? value : defaultValue,
51
+ mode,
51
52
  readOnly,
52
53
  disabled,
53
54
  placeholder,
@@ -76,10 +77,6 @@ var RichTextEditor = ({
76
77
  const execButtonAction = _react.useCallback.call(void 0,
77
78
  (btn) => {
78
79
  if (readOnly || disabled) return;
79
- if (btn.action && editorRef.current) {
80
- btn.action(editorRef.current);
81
- return;
82
- }
83
80
  _optionalChain([engineRef, 'access', _4 => _4.current, 'optionalAccess', _5 => _5.exec, 'call', _6 => _6(btn.name)]);
84
81
  },
85
82
  [readOnly, disabled]
@@ -0,0 +1,230 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-QAIBQHIO.mjs";
4
+
5
+ // src/components/VirtualTable.tsx
6
+ import { useCallback, useMemo, useRef, useState } from "react";
7
+ import {
8
+ classNames,
9
+ isActivationKey,
10
+ resolveLocaleText,
11
+ mergeTigerLocale,
12
+ calculateVirtualRange,
13
+ calculateVirtualColumnRange,
14
+ getVirtualTableContainerClasses,
15
+ getVirtualTableRowClasses,
16
+ getVirtualRowKey,
17
+ getVirtualTableFixedInfo,
18
+ getVirtualTableFixedCellStyle,
19
+ getTableFixedCellClasses,
20
+ getTableFixedHeaderCellClasses,
21
+ getTableColgroup,
22
+ tableBaseClasses,
23
+ virtualTableHeaderClasses,
24
+ virtualTableHeaderCellClasses,
25
+ virtualTableCellClasses,
26
+ virtualTableEmptyClasses,
27
+ virtualTableLoadingClasses,
28
+ virtualTableFixedCellSelectedClasses
29
+ } from "@expcat/tigercat-core";
30
+ import { jsx, jsxs } from "react/jsx-runtime";
31
+ var DEFAULT_VIRTUAL_COLUMN_WIDTH = 150;
32
+ var VirtualTable = ({
33
+ data = [],
34
+ columns = [],
35
+ rowHeight = 48,
36
+ height = 400,
37
+ width = "auto",
38
+ overscan = 5,
39
+ stickyHeader = true,
40
+ virtualizeColumns = false,
41
+ rowKey,
42
+ rowClassName,
43
+ loading = false,
44
+ emptyText,
45
+ locale,
46
+ selectable = false,
47
+ selectedKeys = [],
48
+ striped = false,
49
+ bordered = false,
50
+ className,
51
+ onRowClick,
52
+ onSelect,
53
+ renderCell,
54
+ ...rest
55
+ }) => {
56
+ const config = useTigerConfig();
57
+ const mergedLocale = useMemo(
58
+ () => mergeTigerLocale(config.locale, locale),
59
+ [config.locale, locale]
60
+ );
61
+ const containerRef = useRef(null);
62
+ const [scrollTop, setScrollTop] = useState(0);
63
+ const [scrollLeft, setScrollLeft] = useState(0);
64
+ const range = useMemo(
65
+ () => calculateVirtualRange(scrollTop, height, data.length, rowHeight, overscan),
66
+ [scrollTop, height, data.length, rowHeight, overscan]
67
+ );
68
+ const visibleData = useMemo(
69
+ () => data.slice(range.start, range.end),
70
+ [data, range.start, range.end]
71
+ );
72
+ const selectedSet = useMemo(() => new Set(selectedKeys), [selectedKeys]);
73
+ const onScroll = useCallback(() => {
74
+ if (containerRef.current) {
75
+ setScrollTop(containerRef.current.scrollTop);
76
+ setScrollLeft(containerRef.current.scrollLeft);
77
+ }
78
+ }, []);
79
+ const containerClasses = useMemo(
80
+ () => getVirtualTableContainerClasses(bordered, className),
81
+ [bordered, className]
82
+ );
83
+ const fixedInfo = useMemo(() => getVirtualTableFixedInfo(columns), [columns]);
84
+ const columnWidths = useMemo(
85
+ () => columns.map((c) => typeof c.width === "number" ? c.width : DEFAULT_VIRTUAL_COLUMN_WIDTH),
86
+ [columns]
87
+ );
88
+ const colVirtualActive = virtualizeColumns && !fixedInfo.hasFixedColumns && width !== "auto";
89
+ const colRange = useMemo(
90
+ () => colVirtualActive ? calculateVirtualColumnRange(scrollLeft, width, columnWidths) : void 0,
91
+ [colVirtualActive, scrollLeft, width, columnWidths]
92
+ );
93
+ const visibleColumns = colRange ? columns.slice(colRange.start, colRange.end) : columns;
94
+ const colIndexOffset = colRange ? colRange.start : 0;
95
+ const colgroupEntries = useMemo(
96
+ () => fixedInfo.hasFixedColumns ? getTableColgroup({
97
+ columns: visibleColumns,
98
+ size: "md",
99
+ hasSelectionColumn: false,
100
+ expand: false
101
+ }) : [],
102
+ [fixedInfo.hasFixedColumns, visibleColumns]
103
+ );
104
+ const resolveRowClassName = (row, index) => typeof rowClassName === "function" ? rowClassName(row, index) : rowClassName;
105
+ const bottomHeight = Math.max(0, range.totalHeight - range.end * rowHeight);
106
+ return /* @__PURE__ */ jsxs(
107
+ "div",
108
+ {
109
+ ref: containerRef,
110
+ className: classNames(
111
+ containerClasses,
112
+ rest.className
113
+ ),
114
+ style: {
115
+ height: `${height}px`,
116
+ ...width !== "auto" ? { width: `${width}px` } : {}
117
+ },
118
+ onScroll,
119
+ role: "grid",
120
+ "aria-rowcount": data.length,
121
+ children: [
122
+ /* @__PURE__ */ jsxs("table", { className: classNames(tableBaseClasses, "table-fixed"), children: [
123
+ colgroupEntries.length > 0 && /* @__PURE__ */ jsx("colgroup", { children: colgroupEntries.map((entry) => /* @__PURE__ */ jsx(
124
+ "col",
125
+ {
126
+ "data-tiger-table-col": entry.key,
127
+ style: entry.width ? { width: entry.width } : void 0
128
+ },
129
+ entry.key
130
+ )) }),
131
+ /* @__PURE__ */ jsx("thead", { className: stickyHeader ? virtualTableHeaderClasses : void 0, children: /* @__PURE__ */ jsxs("tr", { children: [
132
+ colRange && colRange.leftPad > 0 && /* @__PURE__ */ jsx("th", { "aria-hidden": true, style: { width: `${colRange.leftPad}px`, padding: 0 } }),
133
+ visibleColumns.map((col) => {
134
+ const widthStyle = col.width ? { width: typeof col.width === "number" ? `${col.width}px` : col.width } : {};
135
+ const stickyStyle = getVirtualTableFixedCellStyle(col.key, fixedInfo);
136
+ return /* @__PURE__ */ jsx(
137
+ "th",
138
+ {
139
+ className: classNames(
140
+ virtualTableHeaderCellClasses,
141
+ getTableFixedHeaderCellClasses({
142
+ view: "virtual-table",
143
+ column: col,
144
+ stickyHeader,
145
+ fixedInfo
146
+ })
147
+ ),
148
+ style: { ...widthStyle, ...stickyStyle },
149
+ children: col.title ?? ""
150
+ },
151
+ col.key
152
+ );
153
+ }),
154
+ colRange && colRange.rightPad > 0 && /* @__PURE__ */ jsx("th", { "aria-hidden": true, style: { width: `${colRange.rightPad}px`, padding: 0 } })
155
+ ] }) }),
156
+ /* @__PURE__ */ jsxs("tbody", { children: [
157
+ /* @__PURE__ */ jsx("tr", { style: { height: `${range.offsetTop}px` }, "aria-hidden": true }),
158
+ visibleData.map((row, localIdx) => {
159
+ const globalIdx = range.start + localIdx;
160
+ const key = getVirtualRowKey(row, globalIdx, rowKey);
161
+ const isSelected = selectedSet.has(key);
162
+ const isInteractive = !!onRowClick || selectable;
163
+ const activate = () => {
164
+ onRowClick?.(row, globalIdx);
165
+ if (selectable) onSelect?.(key, row, globalIdx);
166
+ };
167
+ return /* @__PURE__ */ jsxs(
168
+ "tr",
169
+ {
170
+ className: classNames(
171
+ getVirtualTableRowClasses(globalIdx, striped, isSelected),
172
+ resolveRowClassName(row, globalIdx)
173
+ ),
174
+ "aria-rowindex": globalIdx + 2,
175
+ "aria-selected": selectable ? isSelected : void 0,
176
+ tabIndex: isInteractive ? 0 : void 0,
177
+ onClick: isInteractive ? activate : void 0,
178
+ onKeyDown: isInteractive ? (e) => {
179
+ if (isActivationKey(e)) {
180
+ e.preventDefault();
181
+ activate();
182
+ }
183
+ } : void 0,
184
+ children: [
185
+ colRange && colRange.leftPad > 0 && /* @__PURE__ */ jsx("td", { "aria-hidden": true, style: { width: `${colRange.leftPad}px`, padding: 0 } }),
186
+ visibleColumns.map((col, colIdx) => /* @__PURE__ */ jsx(
187
+ "td",
188
+ {
189
+ "aria-colindex": colIndexOffset + colIdx + 1,
190
+ className: classNames(
191
+ virtualTableCellClasses,
192
+ getTableFixedCellClasses({
193
+ view: "virtual-table",
194
+ column: col,
195
+ record: row,
196
+ rowIndex: globalIdx,
197
+ striped,
198
+ stripedActive: striped && globalIdx % 2 === 1,
199
+ selected: isSelected,
200
+ hoverable: true,
201
+ fixedInfo,
202
+ selectedClassName: virtualTableFixedCellSelectedClasses
203
+ })
204
+ ),
205
+ style: getVirtualTableFixedCellStyle(col.key, fixedInfo),
206
+ children: renderCell ? renderCell(row[col.key], row, col) : String(row[col.key] ?? "")
207
+ },
208
+ col.key
209
+ )),
210
+ colRange && colRange.rightPad > 0 && /* @__PURE__ */ jsx("td", { "aria-hidden": true, style: { width: `${colRange.rightPad}px`, padding: 0 } })
211
+ ]
212
+ },
213
+ key
214
+ );
215
+ }),
216
+ bottomHeight > 0 && /* @__PURE__ */ jsx("tr", { style: { height: `${bottomHeight}px` }, "aria-hidden": true })
217
+ ] })
218
+ ] }),
219
+ data.length === 0 && !loading && /* @__PURE__ */ jsx("div", { className: virtualTableEmptyClasses, children: resolveLocaleText("No data", emptyText, mergedLocale?.common?.emptyText) }),
220
+ loading && /* @__PURE__ */ jsx("div", { className: virtualTableLoadingClasses, children: resolveLocaleText("Loading...", mergedLocale?.common?.loadingText) })
221
+ ]
222
+ }
223
+ );
224
+ };
225
+ var VirtualTable_default = VirtualTable;
226
+
227
+ export {
228
+ VirtualTable,
229
+ VirtualTable_default
230
+ };