@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
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Select
3
- } from "./chunk-WFWEMXO7.mjs";
3
+ } from "./chunk-LUABLBKS.mjs";
4
4
  import {
5
5
  Radio
6
6
  } from "./chunk-3RBRWBUG.mjs";
7
7
  import {
8
8
  Empty
9
- } from "./chunk-WIWTY74F.mjs";
9
+ } from "./chunk-NJHZQBA7.mjs";
10
10
  import {
11
11
  Checkbox
12
12
  } from "./chunk-6BOSSZM3.mjs";
@@ -27,6 +27,7 @@ import {
27
27
  getTableResponsiveCardListClasses,
28
28
  getTableResponsiveTableClasses,
29
29
  getTableVirtualRecommendation,
30
+ getTableVirtualWindow,
30
31
  formatTableSelectRowAriaLabel,
31
32
  formatTableSortByText as formatTableSortByText2,
32
33
  getTableLabels,
@@ -111,7 +112,7 @@ var LoadingSpinner = () => /* @__PURE__ */ jsx(
111
112
  import { useEffect, useMemo, useState } from "react";
112
113
  import {
113
114
  sortData,
114
- filterData,
115
+ filterTableData,
115
116
  paginateData,
116
117
  calculatePagination,
117
118
  createTableRowKeyCache,
@@ -120,7 +121,10 @@ import {
120
121
  getFixedColumnOffsets,
121
122
  freezeTableColumnWidths,
122
123
  filterHiddenColumns,
123
- orderTableFixedColumns
124
+ orderTableFixedColumns,
125
+ getNextTableSelectAllKeys,
126
+ getTableSelectionState,
127
+ hasTableSelectionColumn
124
128
  } from "@expcat/tigercat-core";
125
129
  import { exportTableData, downloadTableExport } from "@expcat/tigercat-core";
126
130
  function useTableState(input) {
@@ -238,7 +242,7 @@ function useTableState(input) {
238
242
  }, [columns, fixedOverrides, effectiveHiddenColumnKeys]);
239
243
  const totalColumnCount = useMemo(() => {
240
244
  let count = displayColumns.length;
241
- if (rowSelection && rowSelection.showCheckbox !== false) count++;
245
+ if (hasTableSelectionColumn(rowSelection)) count++;
242
246
  if (expandable) count++;
243
247
  return count;
244
248
  }, [displayColumns.length, rowSelection, expandable]);
@@ -281,14 +285,14 @@ function useTableState(input) {
281
285
  if (filterMode === "advanced" && advancedFilterRules.length > 0) {
282
286
  data = filterDataAdvanced(data, advancedFilterRules);
283
287
  } else {
284
- data = filterData(data, filterState);
288
+ data = filterTableData(data, columns, filterState);
285
289
  }
286
290
  if (sortState.key && sortState.direction) {
287
291
  const column = columnByKey[sortState.key];
288
292
  data = sortData(data, sortState.key, sortState.direction, column?.sortFn);
289
293
  }
290
294
  return data;
291
- }, [dataSource, filterState, sortState, columnByKey, filterMode, advancedFilterRules]);
295
+ }, [dataSource, columns, filterState, sortState, columnByKey, filterMode, advancedFilterRules]);
292
296
  const paginatedData = useMemo(() => {
293
297
  if (pagination === false) {
294
298
  return processedData;
@@ -406,28 +410,28 @@ function useTableState(input) {
406
410
  }
407
411
  onSelectionChange?.(newKeys);
408
412
  }
413
+ const selectionState = useMemo(
414
+ () => getTableSelectionState({
415
+ records: paginatedData,
416
+ rowKeys: pageRowKeys,
417
+ selectedRowKeys,
418
+ getCheckboxProps: rowSelection?.getCheckboxProps
419
+ }),
420
+ [paginatedData, pageRowKeys, selectedRowKeys, rowSelection]
421
+ );
409
422
  function handleSelectAll(checked) {
410
- if (checked) {
411
- const newKeys = pageRowKeys;
412
- if (!isSelectionControlled) {
413
- setUncontrolledSelectedRowKeys(newKeys);
414
- }
415
- onSelectionChange?.(newKeys);
416
- } else {
417
- if (!isSelectionControlled) {
418
- setUncontrolledSelectedRowKeys([]);
419
- }
420
- onSelectionChange?.([]);
423
+ const newKeys = getNextTableSelectAllKeys(
424
+ selectedRowKeys,
425
+ selectionState.selectableRowKeys,
426
+ checked
427
+ );
428
+ if (!isSelectionControlled) {
429
+ setUncontrolledSelectedRowKeys(newKeys);
421
430
  }
431
+ onSelectionChange?.(newKeys);
422
432
  }
423
- const allSelected = useMemo(() => {
424
- if (pageRowKeys.length === 0) return false;
425
- return pageRowKeys.every((key) => selectedRowKeySet.has(key));
426
- }, [pageRowKeys, selectedRowKeySet]);
427
- const someSelected = useMemo(
428
- () => selectedRowKeys.length > 0 && !allSelected,
429
- [selectedRowKeys.length, allSelected]
430
- );
433
+ const allSelected = selectionState.allSelected;
434
+ const someSelected = selectionState.someSelected;
431
435
  const [editingCell, setEditingCell] = useState(
432
436
  null
433
437
  );
@@ -557,9 +561,10 @@ function renderTableHeader(ctx, view) {
557
561
  columnLockable,
558
562
  columnDraggable,
559
563
  lockColumnAriaLabel,
560
- unlockColumnAriaLabel
564
+ unlockColumnAriaLabel,
565
+ labels
561
566
  } = view;
562
- const expandHeaderTh = expandable ? /* @__PURE__ */ jsx2("th", { className: getExpandIconCellClasses(size), "aria-label": "Expand" }) : null;
567
+ const expandHeaderTh = expandable ? /* @__PURE__ */ jsx2("th", { className: getExpandIconCellClasses(size), "aria-label": labels.expandText }) : null;
563
568
  const expandAtStart = expandable?.expandIconPosition !== "end";
564
569
  return /* @__PURE__ */ jsx2("thead", { className: getTableHeaderClasses(stickyHeader), children: /* @__PURE__ */ jsxs("tr", { children: [
565
570
  expandAtStart && expandHeaderTh,
@@ -640,7 +645,7 @@ function renderTableHeader(ctx, view) {
640
645
  onChange: (e) => ctx.handleFilter(column.key, e.target.value),
641
646
  onClick: (e) => e.stopPropagation(),
642
647
  children: [
643
- /* @__PURE__ */ jsx2("option", { value: "", children: "All" }),
648
+ /* @__PURE__ */ jsx2("option", { value: "", children: labels.allText }),
644
649
  column.filter.options.map((opt) => /* @__PURE__ */ jsx2("option", { value: opt.value, children: opt.label }, opt.value))
645
650
  ]
646
651
  }
@@ -649,7 +654,7 @@ function renderTableHeader(ctx, view) {
649
654
  {
650
655
  type: "text",
651
656
  className: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
652
- placeholder: column.filter.placeholder || "Filter...",
657
+ placeholder: column.filter.placeholder || labels.filterPlaceholder,
653
658
  onInput: (e) => ctx.handleFilter(column.key, e.target.value),
654
659
  onClick: (e) => e.stopPropagation()
655
660
  }
@@ -667,6 +672,7 @@ function renderTableHeader(ctx, view) {
667
672
  import React from "react";
668
673
  import {
669
674
  classNames as classNames2,
675
+ isActivationKey,
670
676
  getTableRowClasses,
671
677
  getTableCellClasses,
672
678
  getTableFixedCellClasses,
@@ -691,8 +697,11 @@ function renderTableBody(ctx, view) {
691
697
  emptyText,
692
698
  rowSelection,
693
699
  expandable,
700
+ labels,
694
701
  rowClassName,
695
- rowDraggable
702
+ rowDraggable,
703
+ interactiveRows,
704
+ virtualWindow
696
705
  } = view;
697
706
  if (loading) {
698
707
  return null;
@@ -744,7 +753,7 @@ function renderTableBody(ctx, view) {
744
753
  {
745
754
  type: "button",
746
755
  className: "inline-flex items-center justify-center",
747
- "aria-label": isExpanded ? "Collapse row" : "Expand row",
756
+ "aria-label": isExpanded ? labels.collapseRowAriaLabel : labels.expandRowAriaLabel,
748
757
  "aria-expanded": isExpanded,
749
758
  onClick: (e) => {
750
759
  e.stopPropagation();
@@ -762,6 +771,15 @@ function renderTableBody(ctx, view) {
762
771
  getTableRowClasses(hoverable, striped, index % 2 === 0, rowClass),
763
772
  ctx.fixedColumnsInfo.hasFixedColumns && "group"
764
773
  ),
774
+ "aria-selected": rowSelection ? isSelected : void 0,
775
+ tabIndex: interactiveRows ? 0 : void 0,
776
+ onKeyDown: interactiveRows ? (e) => {
777
+ if (e.target !== e.currentTarget) return;
778
+ if (isActivationKey(e)) {
779
+ e.preventDefault();
780
+ ctx.handleRowClick(record, index, key);
781
+ }
782
+ } : void 0,
765
783
  draggable: rowDraggable ? true : void 0,
766
784
  children: [
767
785
  expandAtStart && expandToggleCell,
@@ -862,6 +880,33 @@ function renderTableBody(ctx, view) {
862
880
  }
863
881
  );
864
882
  }
883
+ if (virtualWindow && virtualWindow.endIndex >= virtualWindow.startIndex) {
884
+ const { startIndex, endIndex, topPad, bottomPad } = virtualWindow;
885
+ const windowed = [];
886
+ if (topPad > 0) {
887
+ windowed.push(
888
+ /* @__PURE__ */ jsx3("tr", { "aria-hidden": "true", children: /* @__PURE__ */ jsx3("td", { colSpan: ctx.totalColumnCount, style: { height: `${topPad}px`, padding: 0 } }) }, "virtual-top")
889
+ );
890
+ }
891
+ for (let index = startIndex; index <= endIndex; index++) {
892
+ windowed.push(renderDataRow(ctx.paginatedData[index], index));
893
+ }
894
+ if (bottomPad > 0) {
895
+ windowed.push(
896
+ /* @__PURE__ */ jsx3("tr", { "aria-hidden": "true", children: /* @__PURE__ */ jsx3("td", { colSpan: ctx.totalColumnCount, style: { height: `${bottomPad}px`, padding: 0 } }) }, "virtual-bottom")
897
+ );
898
+ }
899
+ return /* @__PURE__ */ jsx3(
900
+ "tbody",
901
+ {
902
+ onClick: handleBodyClick,
903
+ onDragStart: rowDraggable ? handleBodyDragStart : void 0,
904
+ onDragOver: rowDraggable ? handleBodyDragOver : void 0,
905
+ onDrop: rowDraggable ? handleBodyDrop : void 0,
906
+ children: windowed
907
+ }
908
+ );
909
+ }
865
910
  return /* @__PURE__ */ jsx3(
866
911
  "tbody",
867
912
  {
@@ -1031,7 +1076,7 @@ function Table({
1031
1076
  virtual = false,
1032
1077
  autoVirtual = true,
1033
1078
  virtualHeight = 400,
1034
- virtualItemHeight: _virtualItemHeight = 40,
1079
+ virtualItemHeight = 40,
1035
1080
  autoVirtualThreshold = 1e4,
1036
1081
  virtualThreshold = 1e3,
1037
1082
  editable = false,
@@ -1184,6 +1229,16 @@ function Table({
1184
1229
  [autoVirtual, autoVirtualThreshold, dataSource.length, virtual, virtualThreshold]
1185
1230
  );
1186
1231
  const effectiveVirtual = virtualRecommendation.enabled;
1232
+ const [virtualScrollTop, setVirtualScrollTop] = useState2(0);
1233
+ const virtualWindow = useMemo2(
1234
+ () => effectiveVirtual ? getTableVirtualWindow(
1235
+ virtualScrollTop,
1236
+ typeof virtualHeight === "number" ? virtualHeight : 400,
1237
+ virtualItemHeight,
1238
+ ctx.paginatedData.length
1239
+ ) : void 0,
1240
+ [effectiveVirtual, virtualScrollTop, virtualHeight, virtualItemHeight, ctx.paginatedData.length]
1241
+ );
1187
1242
  const wrapperStyle = useMemo2(() => {
1188
1243
  if (effectiveVirtual) {
1189
1244
  return {
@@ -1222,6 +1277,7 @@ function Table({
1222
1277
  maxHeight || (virtual ? virtualHeight : void 0)
1223
1278
  ),
1224
1279
  style: wrapperStyle,
1280
+ onScroll: effectiveVirtual ? (e) => setVirtualScrollTop(e.target.scrollTop) : void 0,
1225
1281
  "data-tiger-virtual": virtualRecommendation.enabled ? "enabled" : void 0,
1226
1282
  "data-tiger-virtual-auto": virtualRecommendation.autoEnabled ? "true" : void 0,
1227
1283
  "data-tiger-virtual-recommended": virtualRecommendation.recommended ? "true" : void 0,
@@ -1229,7 +1285,16 @@ function Table({
1229
1285
  "data-tiger-measured-row-height": measuredRowHeights[0] || void 0,
1230
1286
  "aria-busy": loading,
1231
1287
  children: [
1232
- exportable && /* @__PURE__ */ jsx6("div", { className: "mb-2 flex justify-end", children: /* @__PURE__ */ jsx6("button", { type: "button", className: tableExportButtonClasses, onClick: ctx.handleExport, children: exportFormat === "excel" ? "Export Excel" : "Export CSV" }) }),
1288
+ exportable && /* @__PURE__ */ jsx6("div", { className: "mb-2 flex justify-end", children: /* @__PURE__ */ jsx6(
1289
+ "button",
1290
+ {
1291
+ type: "button",
1292
+ className: tableExportButtonClasses,
1293
+ "aria-label": exportFormat === "excel" ? tableLabels.exportExcelAriaLabel : tableLabels.exportCsvAriaLabel,
1294
+ onClick: ctx.handleExport,
1295
+ children: exportFormat === "excel" ? tableLabels.exportExcelText : tableLabels.exportCsvText
1296
+ }
1297
+ ) }),
1233
1298
  /* @__PURE__ */ jsxs5(
1234
1299
  "table",
1235
1300
  {
@@ -1267,7 +1332,8 @@ function Table({
1267
1332
  columnLockable,
1268
1333
  columnDraggable,
1269
1334
  lockColumnAriaLabel: tableLabels.lockColumnAriaLabel,
1270
- unlockColumnAriaLabel: tableLabels.unlockColumnAriaLabel
1335
+ unlockColumnAriaLabel: tableLabels.unlockColumnAriaLabel,
1336
+ labels: tableLabels
1271
1337
  }),
1272
1338
  renderTableBody(ctx, {
1273
1339
  size,
@@ -1277,8 +1343,11 @@ function Table({
1277
1343
  emptyText: tableLabels.emptyText,
1278
1344
  rowSelection: internalRowSelection,
1279
1345
  expandable: internalExpandable,
1346
+ labels: tableLabels,
1280
1347
  rowClassName: internalRowClassName,
1281
- rowDraggable
1348
+ rowDraggable,
1349
+ interactiveRows: !!onRowClick || !!internalRowSelection,
1350
+ virtualWindow
1282
1351
  }),
1283
1352
  renderSummaryRow(ctx, {
1284
1353
  size,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
  var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
4
4
 
@@ -23,12 +23,14 @@ var _react = require('react');
23
23
 
24
24
 
25
25
 
26
+
26
27
 
27
28
 
28
29
  var _tigercatcore = require('@expcat/tigercat-core');
29
30
  var _jsxruntime = require('react/jsx-runtime');
30
31
  var TRANSFER_KEYS = /* @__PURE__ */ new Set([
31
32
  "value",
33
+ "targetKeys",
32
34
  "dataSource",
33
35
  "size",
34
36
  "disabled",
@@ -39,9 +41,11 @@ var TRANSFER_KEYS = /* @__PURE__ */ new Set([
39
41
  "filterOption",
40
42
  "onChange"
41
43
  ]);
44
+ var EMPTY_TRANSFER_VALUE = [];
42
45
  var Transfer = (props) => {
43
46
  const {
44
- value = [],
47
+ value,
48
+ targetKeys,
45
49
  dataSource = [],
46
50
  size = "md",
47
51
  disabled = false,
@@ -55,6 +59,7 @@ var Transfer = (props) => {
55
59
  locale,
56
60
  ...rest
57
61
  } = props;
62
+ const resolvedValue = _nullishCoalesce(_nullishCoalesce(value, () => ( targetKeys)), () => ( EMPTY_TRANSFER_VALUE));
58
63
  const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
59
64
  const mergedLocale = _react.useMemo.call(void 0,
60
65
  () => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
@@ -71,8 +76,8 @@ var Transfer = (props) => {
71
76
  const [sourceSearch, setSourceSearch] = _react.useState.call(void 0, "");
72
77
  const [targetSearch, setTargetSearch] = _react.useState.call(void 0, "");
73
78
  const { sourceItems, targetItems } = _react.useMemo.call(void 0,
74
- () => _tigercatcore.splitTransferData.call(void 0, dataSource, value),
75
- [dataSource, value]
79
+ () => _tigercatcore.splitTransferData.call(void 0, dataSource, resolvedValue),
80
+ [dataSource, resolvedValue]
76
81
  );
77
82
  const filteredSourceItems = _react.useMemo.call(void 0,
78
83
  () => _tigercatcore.filterTransferItems.call(void 0, sourceItems, sourceSearch, filterOption),
@@ -108,25 +113,25 @@ var Transfer = (props) => {
108
113
  }
109
114
  function moveRight() {
110
115
  if (!canMoveRight) return;
111
- const keysToMove = [...sourceSelectedKeys].filter((key) => {
112
- const item = dataSource.find((d) => d.key === key);
113
- return item && !item.disabled;
114
- });
115
- const newTargetKeys = [...value, ...keysToMove];
116
+ const { targetKeys: newTargetKeys, movedKeys } = _tigercatcore.moveTransferItems.call(void 0,
117
+ "right",
118
+ resolvedValue,
119
+ sourceSelectedKeys,
120
+ dataSource
121
+ );
116
122
  setSourceSelectedKeys(/* @__PURE__ */ new Set());
117
- _optionalChain([onChange, 'optionalCall', _ => _(newTargetKeys, "right", keysToMove)]);
123
+ _optionalChain([onChange, 'optionalCall', _ => _(newTargetKeys, "right", movedKeys)]);
118
124
  }
119
125
  function moveLeft() {
120
126
  if (!canMoveLeft) return;
121
- const keysToRemove = new Set(
122
- [...targetSelectedKeys].filter((key) => {
123
- const item = dataSource.find((d) => d.key === key);
124
- return item && !item.disabled;
125
- })
127
+ const { targetKeys: newTargetKeys, movedKeys } = _tigercatcore.moveTransferItems.call(void 0,
128
+ "left",
129
+ resolvedValue,
130
+ targetSelectedKeys,
131
+ dataSource
126
132
  );
127
- const newTargetKeys = value.filter((k) => !keysToRemove.has(k));
128
133
  setTargetSelectedKeys(/* @__PURE__ */ new Set());
129
- _optionalChain([onChange, 'optionalCall', _2 => _2(newTargetKeys, "left", [...keysToRemove])]);
134
+ _optionalChain([onChange, 'optionalCall', _2 => _2(newTargetKeys, "left", movedKeys)]);
130
135
  }
131
136
  function renderPanel(title, items, selectedKeys, toggleFn, searchValue, onSearch) {
132
137
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.transferPanelClasses, role: "group", "aria-label": title, children: [
@@ -10,6 +10,9 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
10
10
 
11
11
 
12
12
 
13
+
14
+
15
+
13
16
  var _tigercatcore = require('@expcat/tigercat-core');
14
17
  var _jsxruntime = require('react/jsx-runtime');
15
18
  var StepsContext = _react.createContext.call(void 0, null);
@@ -70,9 +73,9 @@ var StepsItem = ({
70
73
  className: "w-4 h-4 shrink-0 transition-transform duration-300 animate-fade-in",
71
74
  fill: "none",
72
75
  stroke: "currentColor",
73
- strokeWidth: "3",
74
- viewBox: "0 0 24 24",
75
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 12.75l6 6 9-13.5" })
76
+ strokeWidth: _tigercatcore.stepFinishIconStrokeWidth,
77
+ viewBox: _tigercatcore.stepFinishIconViewBox,
78
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", d: _tigercatcore.stepFinishIconPathD })
76
79
  }
77
80
  ) });
78
81
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TaskBoard
3
- } from "./chunk-JOB47R6Q.mjs";
3
+ } from "./chunk-GCOA4AO6.mjs";
4
4
 
5
5
  // src/components/Kanban.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -15,7 +15,8 @@ var Segmented = ({
15
15
  size = "md",
16
16
  block = false,
17
17
  className,
18
- onChange
18
+ onChange,
19
+ ...rest
19
20
  }) => {
20
21
  function handleSelect(opt) {
21
22
  if (opt.disabled || disabled) return;
@@ -23,12 +24,59 @@ var Segmented = ({
23
24
  _optionalChain([onChange, 'optionalCall', _ => _(opt.value)]);
24
25
  }
25
26
  const selectedIndex = options.findIndex((opt) => opt.value === value);
27
+ const firstEnabledIndex = options.findIndex((opt) => !opt.disabled);
28
+ const rovingIndex = selectedIndex >= 0 ? selectedIndex : firstEnabledIndex;
29
+ function focusOption(container, index) {
30
+ if (!container) return;
31
+ const els = container.querySelectorAll('[role="radio"]');
32
+ _optionalChain([els, 'access', _2 => _2[index], 'optionalAccess', _3 => _3.focus, 'call', _4 => _4()]);
33
+ }
34
+ function handleKeyDown(e, index) {
35
+ if (disabled) return;
36
+ const enabledIdxs = options.reduce((acc, opt, i) => {
37
+ if (!opt.disabled) acc.push(i);
38
+ return acc;
39
+ }, []);
40
+ if (enabledIdxs.length === 0) return;
41
+ if (e.key === "Enter" || e.key === " ") {
42
+ e.preventDefault();
43
+ handleSelect(options[index]);
44
+ return;
45
+ }
46
+ const pos = enabledIdxs.indexOf(index);
47
+ let target = null;
48
+ switch (e.key) {
49
+ case "ArrowRight":
50
+ case "ArrowDown":
51
+ target = enabledIdxs[(pos + 1 + enabledIdxs.length) % enabledIdxs.length];
52
+ break;
53
+ case "ArrowLeft":
54
+ case "ArrowUp":
55
+ target = enabledIdxs[(pos - 1 + enabledIdxs.length) % enabledIdxs.length];
56
+ break;
57
+ case "Home":
58
+ target = enabledIdxs[0];
59
+ break;
60
+ case "End":
61
+ target = enabledIdxs[enabledIdxs.length - 1];
62
+ break;
63
+ default:
64
+ return;
65
+ }
66
+ if (target == null) return;
67
+ e.preventDefault();
68
+ const container = e.currentTarget.closest('[role="radiogroup"]');
69
+ focusOption(container, target);
70
+ handleSelect(options[target]);
71
+ }
26
72
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
27
73
  "div",
28
74
  {
75
+ ...rest,
29
76
  className: _tigercatcore.classNames.call(void 0, _tigercatcore.getSegmentedContainerClasses.call(void 0, size, block), className),
30
77
  style: _tigercatcore.getSegmentedContainerStyle.call(void 0, options.length),
31
78
  role: "radiogroup",
79
+ "aria-disabled": disabled || void 0,
32
80
  children: [
33
81
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34
82
  "div",
@@ -39,7 +87,7 @@ var Segmented = ({
39
87
  style: _tigercatcore.getSegmentedIndicatorStyle.call(void 0, selectedIndex, options.length, size)
40
88
  }
41
89
  ),
42
- options.map((opt) => {
90
+ options.map((opt, index) => {
43
91
  const selected = opt.value === value;
44
92
  const isDisabled = !!opt.disabled || disabled;
45
93
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -52,7 +100,9 @@ var Segmented = ({
52
100
  role: "radio",
53
101
  "aria-checked": selected,
54
102
  "aria-disabled": isDisabled,
103
+ tabIndex: isDisabled ? -1 : index === rovingIndex ? 0 : -1,
55
104
  onClick: () => handleSelect(opt),
105
+ onKeyDown: (e) => handleKeyDown(e, index),
56
106
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: opt.label })
57
107
  },
58
108
  opt.value
@@ -77,6 +77,8 @@ var Modal = ({
77
77
  );
78
78
  const [hasBeenOpened, setHasBeenOpened] = React.useState(open);
79
79
  const [dragOffset, setDragOffset] = React.useState({ x: 0, y: 0 });
80
+ const prevOpenRef = useRef(open);
81
+ const suppressNextCloseRef = useRef(false);
80
82
  useEffect(() => {
81
83
  if (open) {
82
84
  setHasBeenOpened(true);
@@ -106,20 +108,28 @@ var Modal = ({
106
108
  [isDraggable, dragOffset]
107
109
  );
108
110
  useEffect(() => {
109
- onOpenChange?.(open);
110
- if (!open && onClose) {
111
- onClose();
111
+ if (prevOpenRef.current && !open) {
112
+ if (suppressNextCloseRef.current) {
113
+ suppressNextCloseRef.current = false;
114
+ } else {
115
+ onClose?.();
116
+ }
112
117
  }
113
- }, [open, onOpenChange, onClose]);
118
+ prevOpenRef.current = open;
119
+ }, [open, onClose]);
114
120
  const shouldRender = destroyOnClose ? open : hasBeenOpened;
115
121
  const handleClose = useCallback(() => {
116
122
  onCancel?.();
117
123
  onOpenChange?.(false);
118
- }, [onCancel, onOpenChange]);
124
+ suppressNextCloseRef.current = true;
125
+ onClose?.();
126
+ }, [onCancel, onOpenChange, onClose]);
119
127
  const handleOk = useCallback(() => {
120
128
  onOk?.();
121
129
  onOpenChange?.(false);
122
- }, [onOk, onOpenChange]);
130
+ suppressNextCloseRef.current = true;
131
+ onClose?.();
132
+ }, [onOk, onOpenChange, onClose]);
123
133
  const handleMaskClick = useCallback(
124
134
  (event) => {
125
135
  if (shouldCloseOnMaskClick(event, maskClosable)) {
@@ -1,6 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/components/ChartTooltip.tsx
2
2
  var _react = require('react');
3
3
  var _reactdom = require('react-dom');
4
+
5
+
6
+
7
+
8
+
4
9
  var _tigercatcore = require('@expcat/tigercat-core');
5
10
  var _jsxruntime = require('react/jsx-runtime');
6
11
  var ChartTooltip = ({
@@ -14,24 +19,28 @@ var ChartTooltip = ({
14
19
  const [adjustedPosition, setAdjustedPosition] = _react.useState.call(void 0, { x, y });
15
20
  _react.useEffect.call(void 0, () => {
16
21
  if (!visible) return;
17
- let newX = x + 12;
18
- let newY = y - 8;
22
+ const initialPosition = _tigercatcore.resolveChartTooltipPosition.call(void 0, {
23
+ x,
24
+ y,
25
+ rect: { width: 0, height: 0 },
26
+ viewport: {
27
+ width: typeof window === "undefined" ? 0 : window.innerWidth,
28
+ height: typeof window === "undefined" ? 0 : window.innerHeight
29
+ }
30
+ });
19
31
  const frameHandle = requestAnimationFrame(() => {
20
32
  if (!tooltipRef.current) return;
21
33
  const rect = tooltipRef.current.getBoundingClientRect();
22
- const viewportWidth = window.innerWidth;
23
- const viewportHeight = window.innerHeight;
24
- if (newX + rect.width > viewportWidth - 8) {
25
- newX = x - rect.width - 12;
26
- }
27
- if (newY + rect.height > viewportHeight - 8) {
28
- newY = y - rect.height - 8;
29
- }
30
- newX = Math.max(8, newX);
31
- newY = Math.max(8, newY);
32
- setAdjustedPosition({ x: newX, y: newY });
34
+ setAdjustedPosition(
35
+ _tigercatcore.resolveChartTooltipPosition.call(void 0, {
36
+ x,
37
+ y,
38
+ rect,
39
+ viewport: { width: window.innerWidth, height: window.innerHeight }
40
+ })
41
+ );
33
42
  });
34
- setAdjustedPosition({ x: newX, y: newY });
43
+ setAdjustedPosition(initialPosition);
35
44
  return () => cancelAnimationFrame(frameHandle);
36
45
  }, [x, y, visible]);
37
46
  const tooltipClasses = _react.useMemo.call(void 0,