@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,4 +1,9 @@
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; }// src/components/ImageCropper.tsx
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; }
2
+
3
+ var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
4
+
5
+ // src/components/ImageCropper.tsx
6
+
2
7
 
3
8
 
4
9
 
@@ -22,6 +27,8 @@ var _react = require('react');
22
27
 
23
28
 
24
29
 
30
+
31
+
25
32
  var _tigercatcore = require('@expcat/tigercat-core');
26
33
  var _jsxruntime = require('react/jsx-runtime');
27
34
  var ImageCropper = _react.forwardRef.call(void 0,
@@ -33,11 +40,20 @@ var ImageCropper = _react.forwardRef.call(void 0,
33
40
  outputType = "image/png",
34
41
  quality = 0.92,
35
42
  guides = true,
43
+ locale,
36
44
  className,
37
45
  style,
38
46
  onCropChange,
39
47
  onReady
40
48
  }, ref) => {
49
+ const reactId = _react.useId.call(void 0, );
50
+ const maskId = `tiger-crop-mask-${reactId.replace(/:/g, "")}`;
51
+ const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
52
+ const mergedLocale = _react.useMemo.call(void 0,
53
+ () => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
54
+ [config.locale, locale]
55
+ );
56
+ const labels = _react.useMemo.call(void 0, () => _tigercatcore.getImageEditorLabels.call(void 0, mergedLocale), [mergedLocale]);
41
57
  const containerRef = _react.useRef.call(void 0, null);
42
58
  const imageRef = _react.useRef.call(void 0, null);
43
59
  const [imageLoaded, setImageLoaded] = _react.useState.call(void 0, false);
@@ -267,7 +283,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
267
283
  className: _tigercatcore.classNames.call(void 0, containerClasses, "flex items-center justify-center"),
268
284
  style: { ...style, minHeight: "200px" },
269
285
  role: "img",
270
- "aria-label": "Loading image for cropping",
286
+ "aria-label": labels.loadingCropImageAriaLabel,
271
287
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 border-2 border-white/30 border-t-white rounded-full animate-spin" })
272
288
  }
273
289
  );
@@ -283,7 +299,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
283
299
  height: `${displayHeight}px`
284
300
  },
285
301
  role: "application",
286
- "aria-label": "Image cropper",
302
+ "aria-label": labels.cropperDialogAriaLabel,
287
303
  "aria-roledescription": "image cropper",
288
304
  children: [
289
305
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -293,7 +309,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
293
309
  className: _tigercatcore.imageCropperImgClasses,
294
310
  style: { width: `${displayWidth}px`, height: `${displayHeight}px` },
295
311
  draggable: false,
296
- alt: "Image to crop"
312
+ alt: labels.imageToCropAriaLabel
297
313
  }
298
314
  ),
299
315
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -304,7 +320,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
304
320
  height: displayHeight,
305
321
  xmlns: "http://www.w3.org/2000/svg",
306
322
  children: [
307
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "mask", { id: "crop-mask", children: [
323
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "mask", { id: maskId, children: [
308
324
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: displayWidth, height: displayHeight, fill: "white" }),
309
325
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: cr.x, y: cr.y, width: cr.width, height: cr.height, fill: "black" })
310
326
  ] }) }),
@@ -314,7 +330,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
314
330
  width: displayWidth,
315
331
  height: displayHeight,
316
332
  fill: "var(--tiger-image-cropper-mask, rgba(0,0,0,0.55))",
317
- mask: "url(#crop-mask)"
333
+ mask: `url(#${maskId})`
318
334
  }
319
335
  )
320
336
  ]
@@ -344,7 +360,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
344
360
  },
345
361
  role: "button",
346
362
  tabIndex: 0,
347
- "aria-label": "Move crop area",
363
+ "aria-label": labels.moveCropAreaAriaLabel,
348
364
  onMouseDown: (e) => handleMouseDown(e, "move"),
349
365
  onTouchStart: (e) => handleTouchStart(e, "move"),
350
366
  onKeyDown: handleMoveKeyDown
@@ -427,7 +443,7 @@ var ImageCropper = _react.forwardRef.call(void 0,
427
443
  style: pos,
428
444
  role: "button",
429
445
  tabIndex: 0,
430
- "aria-label": `Resize crop area ${handle}`,
446
+ "aria-label": labels.resizeCropAreaAriaLabel.replace("{handle}", handle),
431
447
  onMouseDown: (e) => handleMouseDown(e, "resize", handle),
432
448
  onTouchStart: (e) => handleTouchStart(e, "resize", handle),
433
449
  onKeyDown: (e) => handleResizeKeyDown(e, handle)
@@ -0,0 +1,312 @@
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
+
3
+ var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
4
+
5
+ // src/components/Calendar.tsx
6
+ var _react = require('react');
7
+ var _tigercatcore = require('@expcat/tigercat-core');
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+ var _jsxruntime = require('react/jsx-runtime');
28
+ var Calendar = ({
29
+ value,
30
+ mode = "month",
31
+ fullscreen = false,
32
+ disabledDate,
33
+ locale,
34
+ onChange,
35
+ onPanelChange,
36
+ className
37
+ }) => {
38
+ const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
39
+ const mergedLocale = _react.useMemo.call(void 0,
40
+ () => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
41
+ [config.locale, locale]
42
+ );
43
+ const localeCode = _optionalChain([mergedLocale, 'optionalAccess', _ => _.locale]);
44
+ const labels = _react.useMemo.call(void 0, () => _tigercatcore.getCalendarLabels.call(void 0, mergedLocale), [mergedLocale]);
45
+ const weekdayNames = _react.useMemo.call(void 0, () => _tigercatcore.getShortDayNames.call(void 0, localeCode), [localeCode]);
46
+ const monthNames = _react.useMemo.call(void 0, () => _tigercatcore.getShortMonthNames.call(void 0, localeCode), [localeCode]);
47
+ const today = /* @__PURE__ */ new Date();
48
+ const [viewYear, setViewYear] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([value, 'optionalAccess', _2 => _2.getFullYear, 'call', _3 => _3()]), () => ( today.getFullYear())));
49
+ const [viewMonth, setViewMonth] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([value, 'optionalAccess', _4 => _4.getMonth, 'call', _5 => _5()]), () => ( today.getMonth())));
50
+ const days = _react.useMemo.call(void 0, () => _tigercatcore.getMonthDays.call(void 0, viewYear, viewMonth), [viewYear, viewMonth]);
51
+ const weeks = _react.useMemo.call(void 0, () => {
52
+ const out = [];
53
+ for (let i = 0; i < days.length; i += 7) out.push(days.slice(i, i + 7));
54
+ return out;
55
+ }, [days]);
56
+ const monthRows = _react.useMemo.call(void 0, () => {
57
+ const out = [];
58
+ for (let i = 0; i < monthNames.length; i += 3) out.push(monthNames.slice(i, i + 3));
59
+ return out;
60
+ }, [monthNames]);
61
+ const navigate = _react.useCallback.call(void 0,
62
+ (newYear, newMonth) => {
63
+ setViewYear(newYear);
64
+ setViewMonth(newMonth);
65
+ _optionalChain([onPanelChange, 'optionalCall', _6 => _6(new Date(newYear, newMonth, 1), mode)]);
66
+ },
67
+ [mode, onPanelChange]
68
+ );
69
+ const prevMonth = _react.useCallback.call(void 0, () => {
70
+ if (viewMonth === 0) navigate(viewYear - 1, 11);
71
+ else navigate(viewYear, viewMonth - 1);
72
+ }, [viewYear, viewMonth, navigate]);
73
+ const nextMonth = _react.useCallback.call(void 0, () => {
74
+ if (viewMonth === 11) navigate(viewYear + 1, 0);
75
+ else navigate(viewYear, viewMonth + 1);
76
+ }, [viewYear, viewMonth, navigate]);
77
+ const prevYear = _react.useCallback.call(void 0,
78
+ () => navigate(viewYear - 1, viewMonth),
79
+ [viewYear, viewMonth, navigate]
80
+ );
81
+ const nextYear = _react.useCallback.call(void 0,
82
+ () => navigate(viewYear + 1, viewMonth),
83
+ [viewYear, viewMonth, navigate]
84
+ );
85
+ const selectDay = _react.useCallback.call(void 0,
86
+ (date) => {
87
+ if (_optionalChain([disabledDate, 'optionalCall', _7 => _7(date)])) return;
88
+ _optionalChain([onChange, 'optionalCall', _8 => _8(date)]);
89
+ },
90
+ [disabledDate, onChange]
91
+ );
92
+ const selectMonth = _react.useCallback.call(void 0,
93
+ (monthIdx) => {
94
+ setViewMonth(monthIdx);
95
+ _optionalChain([onPanelChange, 'optionalCall', _9 => _9(new Date(viewYear, monthIdx, 1), mode)]);
96
+ },
97
+ [viewYear, mode, onPanelChange]
98
+ );
99
+ const dayGridRef = _react.useRef.call(void 0, null);
100
+ const pendingFocusIsoRef = _react.useRef.call(void 0, null);
101
+ const [activeIso, setActiveIso] = _react.useState.call(void 0, null);
102
+ const toIso = (d) => _tigercatcore.formatDate.call(void 0, d, "yyyy-MM-dd");
103
+ const defaultDayIso = (() => {
104
+ if (value && value.getFullYear() === viewYear && value.getMonth() === viewMonth)
105
+ return toIso(value);
106
+ if (today.getFullYear() === viewYear && today.getMonth() === viewMonth) return toIso(today);
107
+ return toIso(new Date(viewYear, viewMonth, 1));
108
+ })();
109
+ const rovingDayIso = _nullishCoalesce(activeIso, () => ( defaultDayIso));
110
+ const focusDayIso = (iso) => {
111
+ const el = _optionalChain([dayGridRef, 'access', _10 => _10.current, 'optionalAccess', _11 => _11.querySelector, 'call', _12 => _12(`button[data-date="${iso}"]`)]);
112
+ if (el && !el.disabled) {
113
+ el.focus();
114
+ setActiveIso(iso);
115
+ return true;
116
+ }
117
+ return false;
118
+ };
119
+ const moveDayFocus = (deltaDays) => {
120
+ const activeEl = document.activeElement;
121
+ const currentIso = _nullishCoalesce(_optionalChain([activeEl, 'optionalAccess', _13 => _13.getAttribute, 'call', _14 => _14("data-date")]), () => ( rovingDayIso));
122
+ const base = _tigercatcore.parseDate.call(void 0, currentIso);
123
+ if (!base) return;
124
+ let candidate = _tigercatcore.addDays.call(void 0, base, deltaDays);
125
+ for (let attempts = 0; attempts < 42; attempts++) {
126
+ const iso = toIso(candidate);
127
+ const el = _optionalChain([dayGridRef, 'access', _15 => _15.current, 'optionalAccess', _16 => _16.querySelector, 'call', _17 => _17(`button[data-date="${iso}"]`)]);
128
+ if (el && !el.disabled) {
129
+ el.focus();
130
+ setActiveIso(iso);
131
+ return;
132
+ }
133
+ if (!el) {
134
+ pendingFocusIsoRef.current = iso;
135
+ setActiveIso(iso);
136
+ navigate(candidate.getFullYear(), candidate.getMonth());
137
+ return;
138
+ }
139
+ candidate = _tigercatcore.addDays.call(void 0, candidate, deltaDays);
140
+ }
141
+ };
142
+ _react.useEffect.call(void 0, () => {
143
+ const iso = pendingFocusIsoRef.current;
144
+ if (!iso) return;
145
+ const el = _optionalChain([dayGridRef, 'access', _18 => _18.current, 'optionalAccess', _19 => _19.querySelector, 'call', _20 => _20(`button[data-date="${iso}"]`)]);
146
+ if (el) {
147
+ el.focus();
148
+ pendingFocusIsoRef.current = null;
149
+ }
150
+ }, [days]);
151
+ const handleDayGridKeyDown = (e) => {
152
+ switch (e.key) {
153
+ case "ArrowLeft":
154
+ e.preventDefault();
155
+ moveDayFocus(-1);
156
+ break;
157
+ case "ArrowRight":
158
+ e.preventDefault();
159
+ moveDayFocus(1);
160
+ break;
161
+ case "ArrowUp":
162
+ e.preventDefault();
163
+ moveDayFocus(-7);
164
+ break;
165
+ case "ArrowDown":
166
+ e.preventDefault();
167
+ moveDayFocus(7);
168
+ break;
169
+ case "Home":
170
+ e.preventDefault();
171
+ focusDayIso(toIso(new Date(viewYear, viewMonth, 1)));
172
+ break;
173
+ case "End":
174
+ e.preventDefault();
175
+ focusDayIso(toIso(new Date(viewYear, viewMonth + 1, 0)));
176
+ break;
177
+ case "Enter":
178
+ case " ": {
179
+ const activeEl = document.activeElement;
180
+ const iso = _optionalChain([activeEl, 'optionalAccess', _21 => _21.getAttribute, 'call', _22 => _22("data-date")]);
181
+ if (iso) {
182
+ e.preventDefault();
183
+ const d = _tigercatcore.parseDate.call(void 0, iso);
184
+ if (d) selectDay(d);
185
+ }
186
+ break;
187
+ }
188
+ default:
189
+ break;
190
+ }
191
+ };
192
+ const [activeMonthIdx, setActiveMonthIdx] = _react.useState.call(void 0, null);
193
+ const rovingMonthIdx = _nullishCoalesce(activeMonthIdx, () => ( viewMonth));
194
+ const monthGridRef = _react.useRef.call(void 0, null);
195
+ const focusMonthIdx = (idx) => {
196
+ const els = _optionalChain([monthGridRef, 'access', _23 => _23.current, 'optionalAccess', _24 => _24.querySelectorAll, 'call', _25 => _25('button[role="gridcell"]')]);
197
+ _optionalChain([els, 'optionalAccess', _26 => _26[idx], 'optionalAccess', _27 => _27.focus, 'call', _28 => _28()]);
198
+ setActiveMonthIdx(idx);
199
+ };
200
+ const handleMonthKeyDown = (e, idx) => {
201
+ let target = idx;
202
+ switch (e.key) {
203
+ case "ArrowRight":
204
+ target = Math.min(11, idx + 1);
205
+ break;
206
+ case "ArrowLeft":
207
+ target = Math.max(0, idx - 1);
208
+ break;
209
+ case "ArrowDown":
210
+ target = Math.min(11, idx + 3);
211
+ break;
212
+ case "ArrowUp":
213
+ target = Math.max(0, idx - 3);
214
+ break;
215
+ case "Home":
216
+ target = 0;
217
+ break;
218
+ case "End":
219
+ target = 11;
220
+ break;
221
+ case "Enter":
222
+ case " ":
223
+ e.preventDefault();
224
+ selectMonth(idx);
225
+ return;
226
+ default:
227
+ return;
228
+ }
229
+ e.preventDefault();
230
+ focusMonthIdx(target);
231
+ };
232
+ const containerClass = _tigercatcore.classNames.call(void 0, _tigercatcore.getCalendarContainerClasses.call(void 0, fullscreen), className);
233
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: containerClass, role: "group", children: [
234
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.calendarHeaderClasses, children: [
235
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
236
+ "button",
237
+ {
238
+ type: "button",
239
+ className: _tigercatcore.calendarNavButtonClasses,
240
+ "aria-label": mode === "month" ? labels.previousMonth : labels.previousYear,
241
+ onClick: mode === "month" ? prevMonth : prevYear,
242
+ children: "\u2039"
243
+ }
244
+ ),
245
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _tigercatcore.calendarTitleClasses, children: mode === "month" ? _tigercatcore.formatMonthYear.call(void 0, viewYear, viewMonth, localeCode) : `${viewYear}` }),
246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
247
+ "button",
248
+ {
249
+ type: "button",
250
+ className: _tigercatcore.calendarNavButtonClasses,
251
+ "aria-label": mode === "month" ? labels.nextMonth : labels.nextYear,
252
+ onClick: mode === "month" ? nextMonth : nextYear,
253
+ children: "\u203A"
254
+ }
255
+ )
256
+ ] }),
257
+ mode === "year" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-2", role: "grid", ref: monthGridRef, children: monthRows.map((row, ri) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-3 gap-2", role: "row", children: row.map((m, ci) => {
258
+ const i = ri * 3 + ci;
259
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
260
+ "button",
261
+ {
262
+ type: "button",
263
+ role: "gridcell",
264
+ "aria-selected": viewMonth === i,
265
+ tabIndex: rovingMonthIdx === i ? 0 : -1,
266
+ className: _tigercatcore.getCalendarMonthClasses.call(void 0, viewMonth === i),
267
+ onClick: () => selectMonth(i),
268
+ onFocus: () => setActiveMonthIdx(i),
269
+ onKeyDown: (e) => handleMonthKeyDown(e, i),
270
+ children: m
271
+ },
272
+ i
273
+ );
274
+ }) }, ri)) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "grid", "aria-rowcount": 7, "aria-colcount": 7, ref: dayGridRef, children: [
275
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-7", role: "row", children: weekdayNames.map((wd) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.calendarWeekdayClasses, role: "columnheader", children: wd }, wd)) }),
276
+ weeks.map((week, wi) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-7", role: "row", onKeyDown: handleDayGridKeyDown, children: week.map((date) => {
277
+ const isCurrentMonth = date.getMonth() === viewMonth;
278
+ const isSelected = value ? _tigercatcore.isSameDay.call(void 0, date, value) : false;
279
+ const isTodayDate = _tigercatcore.isSameDay.call(void 0, date, today);
280
+ const isDisabled = !!_optionalChain([disabledDate, 'optionalCall', _29 => _29(date)]);
281
+ const iso = toIso(date);
282
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
283
+ "button",
284
+ {
285
+ type: "button",
286
+ role: "gridcell",
287
+ "data-date": iso,
288
+ "aria-label": iso,
289
+ "aria-selected": isSelected,
290
+ "aria-current": isTodayDate ? "date" : void 0,
291
+ disabled: isDisabled,
292
+ tabIndex: rovingDayIso === iso && !isDisabled ? 0 : -1,
293
+ className: _tigercatcore.classNames.call(void 0,
294
+ _tigercatcore.getCalendarDayClasses.call(void 0, isSelected, isTodayDate, isCurrentMonth, isDisabled),
295
+ "justify-self-center my-0.5"
296
+ ),
297
+ onClick: () => selectDay(date),
298
+ onFocus: () => setActiveIso(iso),
299
+ children: date.getDate()
300
+ },
301
+ iso
302
+ );
303
+ }) }, wi))
304
+ ] })
305
+ ] });
306
+ };
307
+ var Calendar_default = Calendar;
308
+
309
+
310
+
311
+
312
+ exports.Calendar = Calendar; exports.Calendar_default = Calendar_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VirtualList
3
- } from "./chunk-7DUHHRAU.mjs";
3
+ } from "./chunk-Y5X3G2LD.mjs";
4
4
  import {
5
5
  useTigerConfig
6
6
  } from "./chunk-QAIBQHIO.mjs";
@@ -36,7 +36,10 @@ import {
36
36
  getSimplePaginationSelectClasses,
37
37
  getSimplePaginationButtonClasses,
38
38
  getSimplePaginationPageIndicatorClasses,
39
- getSimplePaginationButtonsWrapperClasses
39
+ getSimplePaginationButtonsWrapperClasses,
40
+ getPaginationLabels,
41
+ formatPaginationTotal,
42
+ formatPaginationPageIndicator
40
43
  } from "@expcat/tigercat-core";
41
44
  import { jsx, jsxs } from "react/jsx-runtime";
42
45
  var spinnerSvg = getSpinnerSVG("spinner");
@@ -278,8 +281,15 @@ var List = ({
278
281
  const { totalPages, startIndex, endIndex, hasNext, hasPrev } = paginationInfo;
279
282
  const total = dataSource.length;
280
283
  const paginationConfig = pagination;
284
+ const paginationLabels = getPaginationLabels(mergedLocale);
285
+ const localeCode = mergedLocale?.locale;
281
286
  return /* @__PURE__ */ jsxs("div", { className: getSimplePaginationContainerClasses(), children: [
282
- paginationConfig.showTotal !== false && /* @__PURE__ */ jsx("div", { className: getSimplePaginationTotalClasses(), children: paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : `Showing ${startIndex} to ${endIndex} of ${total} items` }),
287
+ paginationConfig.showTotal !== false && /* @__PURE__ */ jsx("div", { className: getSimplePaginationTotalClasses(), children: paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : formatPaginationTotal(
288
+ paginationLabels.totalText,
289
+ total,
290
+ [startIndex, endIndex],
291
+ localeCode
292
+ ) }),
283
293
  /* @__PURE__ */ jsxs("div", { className: getSimplePaginationControlsClasses(), children: [
284
294
  paginationConfig.showSizeChanger !== false && /* @__PURE__ */ jsx(
285
295
  "select",
@@ -289,7 +299,8 @@ var List = ({
289
299
  onChange: (e) => handlePageSizeChange(Number(e.target.value)),
290
300
  children: (paginationConfig.pageSizeOptions || [10, 20, 50, 100]).map((size2) => /* @__PURE__ */ jsxs("option", { value: size2, children: [
291
301
  size2,
292
- " / page"
302
+ " ",
303
+ paginationLabels.itemsPerPageText
293
304
  ] }, size2))
294
305
  }
295
306
  ),
@@ -300,22 +311,22 @@ var List = ({
300
311
  className: getSimplePaginationButtonClasses(!hasPrev),
301
312
  disabled: !hasPrev,
302
313
  onClick: () => handlePageChange(currentPage - 1),
303
- children: "Previous"
314
+ children: paginationLabels.prevPageAriaLabel
304
315
  }
305
316
  ),
306
- /* @__PURE__ */ jsxs("span", { className: getSimplePaginationPageIndicatorClasses(), children: [
307
- "Page ",
317
+ /* @__PURE__ */ jsx("span", { className: getSimplePaginationPageIndicatorClasses(), children: formatPaginationPageIndicator(
318
+ paginationLabels.pageIndicatorText,
308
319
  currentPage,
309
- " of ",
310
- totalPages
311
- ] }),
320
+ totalPages,
321
+ localeCode
322
+ ) }),
312
323
  /* @__PURE__ */ jsx(
313
324
  "button",
314
325
  {
315
326
  className: getSimplePaginationButtonClasses(!hasNext),
316
327
  disabled: !hasNext,
317
328
  onClick: () => handlePageChange(currentPage + 1),
318
- children: "Next"
329
+ children: paginationLabels.nextPageAriaLabel
319
330
  }
320
331
  )
321
332
  ] })
@@ -1,4 +1,8 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/components/Badge.tsx
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+ var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
4
+
5
+ // src/components/Badge.tsx
2
6
  var _react = require('react'); var _react2 = _interopRequireDefault(_react);
3
7
 
4
8
 
@@ -11,10 +15,13 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
11
15
 
12
16
 
13
17
 
18
+
19
+
14
20
  var _tigercatcore = require('@expcat/tigercat-core');
15
21
  var _jsxruntime = require('react/jsx-runtime');
16
22
  var Badge = _react2.default.memo(
17
23
  ({
24
+ locale,
18
25
  variant = "danger",
19
26
  size = "md",
20
27
  type = "number",
@@ -28,6 +35,11 @@ var Badge = _react2.default.memo(
28
35
  ["aria-label"]: ariaLabelProp,
29
36
  ...props
30
37
  }) => {
38
+ const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
39
+ const labels = _react.useMemo.call(void 0,
40
+ () => _tigercatcore.getStatusLabels.call(void 0, _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale)),
41
+ [config.locale, locale]
42
+ );
31
43
  const isDot = type === "dot";
32
44
  const isHidden = _tigercatcore.shouldHideBadge.call(void 0, content, type, showZero);
33
45
  const displayContent = _tigercatcore.formatBadgeContent.call(void 0, content, max, showZero);
@@ -39,7 +51,7 @@ var Badge = _react2.default.memo(
39
51
  !standalone && _tigercatcore.badgePositionClasses[position],
40
52
  className
41
53
  );
42
- const computedAriaLabel = _nullishCoalesce(ariaLabelProp, () => ( (isDot ? "notification" : type === "number" ? `${displayContent} notifications` : `${_nullishCoalesce(displayContent, () => ( ""))}`)));
54
+ const computedAriaLabel = _nullishCoalesce(ariaLabelProp, () => ( (isDot ? labels.badgeLabel : type === "number" ? labels.badgeCountLabel.replace("{count}", String(displayContent)) : `${_nullishCoalesce(displayContent, () => ( ""))}`)));
43
55
  if (isHidden) {
44
56
  return standalone ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children });
45
57
  }
@@ -1,12 +1,12 @@
1
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
- var _chunkGDPU5MYAjs = require('./chunk-GDPU5MYA.js');
3
+ var _chunkGPAY5F7Djs = require('./chunk-GPAY5F7D.js');
4
4
 
5
5
 
6
6
  var _chunkZLNBE4ISjs = require('./chunk-ZLNBE4IS.js');
7
7
 
8
8
 
9
- var _chunkZJI2VLILjs = require('./chunk-ZJI2VLIL.js');
9
+ var _chunkTLDTBCT6js = require('./chunk-TLDTBCT6.js');
10
10
 
11
11
 
12
12
  var _chunkUF3DXKCIjs = require('./chunk-UF3DXKCI.js');
@@ -292,20 +292,20 @@ var CommentThread = ({
292
292
  }
293
293
  ) : null,
294
294
  node.tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
295
- _chunkZJI2VLILjs.Tag,
295
+ _chunkTLDTBCT6js.Tag,
296
296
  {
297
297
  size: "sm",
298
298
  variant: _nullishCoalesce(node.tag.variant, () => ( "default")),
299
- className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10",
299
+ className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-current/10",
300
300
  children: node.tag.label
301
301
  }
302
302
  ) : null,
303
303
  _optionalChain([node, 'access', _13 => _13.tags, 'optionalAccess', _14 => _14.map, 'call', _15 => _15((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
304
- _chunkZJI2VLILjs.Tag,
304
+ _chunkTLDTBCT6js.Tag,
305
305
  {
306
306
  size: "sm",
307
307
  variant: _nullishCoalesce(tag.variant, () => ( "default")),
308
- className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-opacity-10",
308
+ className: "rounded-full px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase border border-current bg-current/10",
309
309
  children: tag.label
310
310
  },
311
311
  `${node.id}-tag-${index}`
@@ -325,7 +325,7 @@ var CommentThread = ({
325
325
  actions.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-1.5", children: actions }) : null,
326
326
  replyingTo === node.id ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-3 space-y-3 bg-gray-50/50 dark:bg-gray-900/30 border border-gray-100 dark:border-gray-800/80 p-4 rounded-xl shadow-sm backdrop-blur-sm transition-all duration-300", children: [
327
327
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
328
- _chunkGDPU5MYAjs.Textarea,
328
+ _chunkGPAY5F7Djs.Textarea,
329
329
  {
330
330
  rows: 3,
331
331
  value: replyValue,
@@ -9,7 +9,10 @@ import {
9
9
  getStepTailClasses,
10
10
  getStepTitleClasses,
11
11
  getStepsContainerClasses,
12
- calculateStepStatus
12
+ calculateStepStatus,
13
+ stepFinishIconViewBox,
14
+ stepFinishIconStrokeWidth,
15
+ stepFinishIconPathD
13
16
  } from "@expcat/tigercat-core";
14
17
  import { jsx, jsxs } from "react/jsx-runtime";
15
18
  var StepsContext = createContext(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__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 12.75l6 6 9-13.5" })
76
+ strokeWidth: stepFinishIconStrokeWidth,
77
+ viewBox: stepFinishIconViewBox,
78
+ children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: stepFinishIconPathD })
76
79
  }
77
80
  ) });
78
81
  }