@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.
- package/dist/{chunk-WV5XHYW6.js → chunk-23XPDNCA.js} +6 -4
- package/dist/{chunk-UAM3RQY4.js → chunk-24NDLFPK.js} +22 -28
- package/dist/{chunk-NMKFR435.js → chunk-2LKX6CE7.js} +7 -4
- package/dist/{chunk-BEZO5IE4.js → chunk-2PV3F47T.js} +2 -2
- package/dist/{chunk-ANN5P7TJ.js → chunk-2ZA4MUO2.js} +72 -29
- package/dist/{chunk-H4AR4GXH.js → chunk-3NVMKDMH.js} +1 -8
- package/dist/{chunk-7CHTTM6D.js → chunk-3RQ3FHJ7.js} +2 -2
- package/dist/{chunk-ELRZ2ZHM.mjs → chunk-4DRJA5ZK.mjs} +15 -17
- package/dist/{chunk-J3N24I7A.mjs → chunk-4F3UTDFE.mjs} +24 -6
- package/dist/{chunk-56CTXEJS.mjs → chunk-4HMMH4XS.mjs} +24 -11
- package/dist/{chunk-ZQSMJS2Q.mjs → chunk-4MREOFVE.mjs} +3 -3
- package/dist/{chunk-EEF26RBA.mjs → chunk-4SU6D2E7.mjs} +15 -3
- package/dist/{chunk-ZZAR4IDS.js → chunk-4TPRBVW7.js} +19 -2
- package/dist/{chunk-NSEO2B74.mjs → chunk-4V5RL25M.mjs} +8 -5
- package/dist/{chunk-AUW7DCXL.js → chunk-5JYVN65W.js} +24 -6
- package/dist/{chunk-YRVAF2ID.js → chunk-5QLSTNA3.js} +7 -1
- package/dist/chunk-5SX2M3LU.mjs +319 -0
- package/dist/{chunk-FI53LYZ6.js → chunk-5UREMEDS.js} +24 -8
- package/dist/chunk-6LGCAGNG.js +312 -0
- package/dist/{chunk-KED5S2WG.mjs → chunk-6REMGSLS.mjs} +22 -11
- package/dist/{chunk-PNAWOJ32.js → chunk-6S5QOTXZ.js} +14 -2
- package/dist/{chunk-4AMSYFYC.js → chunk-6SG2N4WF.js} +7 -7
- package/dist/{chunk-YSGM22AH.mjs → chunk-6UIVNRAR.mjs} +7 -4
- package/dist/{chunk-IZGXDHPB.mjs → chunk-7RI5W465.mjs} +19 -25
- package/dist/{chunk-DCKBVRLI.js → chunk-7UZ7O7KX.js} +63 -16
- package/dist/{chunk-WZUADPYB.js → chunk-7YI5TAPT.js} +2 -5
- package/dist/chunk-AI4V7L6K.mjs +230 -0
- package/dist/chunk-AQOXANET.mjs +222 -0
- package/dist/{chunk-HHMYERHY.mjs → chunk-ATSI3UKS.mjs} +2 -1
- package/dist/{chunk-ZRHDNGWO.js → chunk-BR3WLDH7.js} +16 -2
- package/dist/{chunk-2Y5NIPHB.mjs → chunk-BRPOEVRT.mjs} +32 -3
- package/dist/{chunk-I7FEGKX2.mjs → chunk-CR4QBH46.mjs} +36 -11
- package/dist/{chunk-7U6VWD4H.mjs → chunk-CSJGNEHR.mjs} +2 -2
- package/dist/{chunk-ANBNSUSR.js → chunk-CXXOZLP4.js} +31 -21
- package/dist/{chunk-DVEK5SO6.mjs → chunk-D4X3NBAI.mjs} +8 -3
- package/dist/{chunk-QIL24WZD.mjs → chunk-DEQZZKY5.mjs} +12 -7
- package/dist/{chunk-TEYL5X56.js → chunk-DH4B2COV.js} +105 -36
- package/dist/{chunk-BONUUJU3.mjs → chunk-DJOFM2VO.mjs} +1 -8
- package/dist/{chunk-SQTOVSDU.mjs → chunk-DO3MVZZN.mjs} +12 -6
- package/dist/{chunk-SDZKL3IB.mjs → chunk-E355NVP7.mjs} +35 -14
- package/dist/{chunk-CNNEUJR2.js → chunk-ENJMHEQU.js} +44 -19
- package/dist/{chunk-BRA3PO53.js → chunk-FBIBHTBG.js} +2 -2
- package/dist/{chunk-P36GX65N.js → chunk-FCCHM2B4.js} +40 -4
- package/dist/{chunk-4LIDROT4.js → chunk-FFDK6PEP.js} +7 -4
- package/dist/{chunk-R2KUNFDN.mjs → chunk-GA4YOE57.mjs} +2 -2
- package/dist/{chunk-3E76U2RG.js → chunk-GADCSCH2.js} +33 -5
- package/dist/{chunk-JOB47R6Q.mjs → chunk-GCOA4AO6.mjs} +72 -29
- package/dist/{chunk-M6YXUNOU.mjs → chunk-GOUSXJEY.mjs} +2 -2
- package/dist/{chunk-GDPU5MYA.js → chunk-GPAY5F7D.js} +11 -6
- package/dist/{chunk-TNTOSFGN.mjs → chunk-GQPKHMHA.mjs} +1 -1
- package/dist/{chunk-NKSYX4R7.mjs → chunk-GTDLZF7K.mjs} +2 -2
- package/dist/{chunk-OXQOKKTP.mjs → chunk-H7D7UBDC.mjs} +2 -2
- package/dist/{chunk-KYNWNTGO.js → chunk-HFGTJEQW.js} +82 -29
- package/dist/{chunk-J6OZWT3P.js → chunk-HVAG26CK.js} +3 -3
- package/dist/{chunk-SLEXEH7R.mjs → chunk-HWZSMV2M.mjs} +3 -11
- package/dist/{chunk-EJKOUI26.js → chunk-I5UB4FN3.js} +3 -3
- package/dist/{chunk-NVI2P7VH.js → chunk-I6VHGILW.js} +21 -9
- package/dist/{chunk-EOU6WZTS.js → chunk-I7OSNH5T.js} +34 -5
- package/dist/{chunk-L24PPXLV.js → chunk-IFB3OECJ.js} +1 -0
- package/dist/{chunk-376X7SDZ.mjs → chunk-IXAPFTTD.mjs} +7 -6
- package/dist/{chunk-EHIXCFD7.js → chunk-JHRFG5PG.js} +57 -12
- package/dist/{chunk-3EB42WFR.mjs → chunk-KCPGFO5R.mjs} +2 -2
- package/dist/{chunk-G3PBQ4B4.mjs → chunk-KQ4ZKXXN.mjs} +52 -2
- package/dist/{chunk-MC26ORSN.js → chunk-KSXGH3FO.js} +7 -7
- package/dist/{chunk-X7JAYXPY.js → chunk-KVWSVDAJ.js} +4 -4
- package/dist/{chunk-OFRKYQOZ.mjs → chunk-LACDTZTE.mjs} +4 -4
- package/dist/{chunk-YH57D4AV.mjs → chunk-LAKPYMBZ.mjs} +1 -0
- package/dist/{chunk-6GU5NH5F.mjs → chunk-LBXNMCXN.mjs} +33 -5
- package/dist/{chunk-KGMVRIYC.mjs → chunk-LOM6NNQK.mjs} +29 -16
- package/dist/{chunk-WFWEMXO7.mjs → chunk-LUABLBKS.mjs} +83 -30
- package/dist/{chunk-K2TXT5HQ.js → chunk-M577W3TS.js} +101 -85
- package/dist/{chunk-3EDASNTG.js → chunk-MOYZF62V.js} +29 -16
- package/dist/{chunk-ZDNQGS4O.js → chunk-MQIVMK24.js} +4 -4
- package/dist/{chunk-WMPCN7OF.mjs → chunk-MZCGQED3.mjs} +15 -3
- package/dist/{chunk-KDXKF6B2.mjs → chunk-MZPKFMQC.mjs} +1 -1
- package/dist/{chunk-AG4HRAW2.mjs → chunk-NEHSCSQP.mjs} +2 -2
- package/dist/chunk-NG3OBMKV.js +319 -0
- package/dist/{chunk-RFHPG4KN.js → chunk-NGSJGXUZ.js} +15 -17
- package/dist/{chunk-WIWTY74F.mjs → chunk-NJHZQBA7.mjs} +16 -2
- package/dist/{chunk-EQD2U4KM.js → chunk-O2N7ITWQ.js} +63 -16
- package/dist/{chunk-NASC6XHN.mjs → chunk-O6YIPNXX.mjs} +24 -15
- package/dist/{chunk-VHGCWZ6V.mjs → chunk-OTRPN5ZG.mjs} +58 -13
- package/dist/{chunk-QIKR5EFI.js → chunk-OVJO5NYW.js} +4 -4
- package/dist/{chunk-KXT2TP6A.mjs → chunk-P2WQIVXD.mjs} +22 -10
- package/dist/{chunk-PT5T5F4H.js → chunk-PQF5VLNX.js} +22 -11
- package/dist/chunk-PQOUWJAT.mjs +211 -0
- package/dist/{chunk-OS6M3IZF.js → chunk-PSCPLUGP.js} +5 -13
- package/dist/{chunk-ULWT6W6M.mjs → chunk-PZB24FST.mjs} +10 -5
- package/dist/{chunk-BO45CU4Q.js → chunk-PZWI4YNN.js} +6 -4
- package/dist/{chunk-PFYK2V3E.js → chunk-Q2OXQNWU.js} +73 -9
- package/dist/{chunk-VM4ZQHT5.mjs → chunk-QANWBRNU.mjs} +59 -12
- package/dist/{chunk-XBM76P27.mjs → chunk-QFUIGOOM.mjs} +4 -2
- package/dist/{chunk-BN4ZKCAI.mjs → chunk-QKNORS26.mjs} +49 -36
- package/dist/{chunk-LROHXQWX.js → chunk-R4PMBWU3.js} +2 -2
- package/dist/chunk-R56UOY6C.js +222 -0
- package/dist/chunk-RNHC7BON.js +230 -0
- package/dist/{chunk-7PXALKLM.js → chunk-RRO752KE.js} +11 -10
- package/dist/{chunk-RVLV63SI.mjs → chunk-S4NGDDAM.mjs} +105 -36
- package/dist/{chunk-D5MQBUP2.js → chunk-SA3N2LUB.js} +22 -17
- package/dist/{chunk-BROIZ266.js → chunk-SFBSI3J7.js} +6 -3
- package/dist/{chunk-RVO6R37N.mjs → chunk-SHDQJ5BJ.mjs} +1 -1
- package/dist/{chunk-N2JYU4JI.js → chunk-SHU7L4NM.js} +52 -2
- package/dist/{chunk-M3MOSUZO.mjs → chunk-SI3P3V75.mjs} +16 -6
- package/dist/{chunk-UVMQJOTX.js → chunk-SK7PXSVE.js} +23 -14
- package/dist/{chunk-U356F7GU.js → chunk-SO2ADQTB.js} +52 -11
- package/dist/{chunk-NKKIJQMV.mjs → chunk-SPIPFOGD.mjs} +4 -2
- package/dist/{chunk-NQNHM4OL.mjs → chunk-SRC7JHME.mjs} +1 -1
- package/dist/{chunk-2RBHQBSG.js → chunk-SXTMVZ4W.js} +25 -12
- package/dist/{chunk-BEM7XG2L.js → chunk-SYJJKI7U.js} +35 -14
- package/dist/{chunk-RYNLPRUM.mjs → chunk-SYVMCKPR.mjs} +1 -1
- package/dist/{chunk-SY23FAXK.mjs → chunk-T6HNFCOW.mjs} +24 -8
- package/dist/{chunk-ZITBUGBH.mjs → chunk-TBMDIAZI.mjs} +59 -12
- package/dist/{chunk-B63GEB2Y.js → chunk-TIDVBSXR.js} +47 -34
- package/dist/{chunk-ZJI2VLIL.js → chunk-TLDTBCT6.js} +15 -3
- package/dist/{chunk-XFPJYKBQ.js → chunk-TN7GMDME.js} +13 -9
- package/dist/{chunk-M3FVPPMM.js → chunk-TO4SSBAJ.js} +17 -12
- package/dist/{chunk-XTQUPDRI.js → chunk-TPU6S7G7.js} +2 -2
- package/dist/{chunk-NEZ445D4.mjs → chunk-TRXNHYWB.mjs} +3 -3
- package/dist/{chunk-H6NC6SBX.js → chunk-TVEO2CFD.js} +2 -2
- package/dist/{chunk-6QQBMZQ6.mjs → chunk-U2ZXZ2KQ.mjs} +74 -10
- package/dist/{chunk-AVLIUHOS.mjs → chunk-U337RHJB.mjs} +4 -4
- package/dist/{chunk-VC26SAXB.js → chunk-UQZ4RLTI.js} +12 -6
- package/dist/{chunk-PXO2F2CS.mjs → chunk-V23KR23W.mjs} +47 -4
- package/dist/{chunk-BA6TJQZL.js → chunk-V3QEV3TL.js} +6 -6
- package/dist/{chunk-GG72T6JK.js → chunk-VOSN3IQC.js} +47 -4
- package/dist/{chunk-J4OQ2VRH.mjs → chunk-W6T3CG7U.mjs} +45 -4
- package/dist/{chunk-OTEM4FVX.mjs → chunk-WGKNAOW7.mjs} +11 -7
- package/dist/chunk-WLFLQB4R.mjs +312 -0
- package/dist/{chunk-W6AWN7BC.js → chunk-WLORVPTR.js} +4 -4
- package/dist/{chunk-J5N5OQWB.mjs → chunk-WOEX4S6J.mjs} +5 -2
- package/dist/{chunk-CAQPYJFA.mjs → chunk-WT72F56O.mjs} +1 -1
- package/dist/{chunk-7Z64GEMN.js → chunk-WTASPL6V.js} +3 -1
- package/dist/{chunk-2LYV6NBJ.mjs → chunk-WTIEJCRV.mjs} +7 -1
- package/dist/{chunk-L6KSO66F.mjs → chunk-WYPTAUCX.mjs} +2 -5
- package/dist/{chunk-CC5GFX6F.js → chunk-XKMZ5AMS.js} +2 -1
- package/dist/{chunk-WCTNQYXO.js → chunk-XMD7CQQ2.js} +12 -7
- package/dist/{chunk-7DUHHRAU.mjs → chunk-Y5X3G2LD.mjs} +41 -5
- package/dist/{chunk-ZA5EFHET.mjs → chunk-Z6BDNV3S.mjs} +18 -1
- package/dist/{chunk-UBP7HZSU.mjs → chunk-ZG2W4HS5.mjs} +6 -4
- package/dist/{chunk-UIIOZEUP.js → chunk-ZLCVJXGL.js} +4 -4
- package/dist/{chunk-CME2IFUT.mjs → chunk-ZLP4XEAO.mjs} +21 -16
- package/dist/{chunk-YID7J6ZK.js → chunk-ZXVLZKLT.js} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.js +3 -2
- package/dist/components/AutoComplete.mjs +2 -1
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Breadcrumb.d.ts +1 -1
- package/dist/components/Calendar.d.mts +2 -10
- package/dist/components/Calendar.d.ts +2 -10
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartAxis.d.mts +1 -2
- package/dist/components/ChartAxis.d.ts +1 -2
- package/dist/components/ChartGrid.d.mts +1 -2
- package/dist/components/ChartGrid.d.ts +1 -2
- package/dist/components/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartSeries.d.mts +1 -2
- package/dist/components/ChartSeries.d.ts +1 -2
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.js +8 -6
- package/dist/components/ChatWindow.mjs +7 -5
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/CommentThread.js +6 -4
- package/dist/components/CommentThread.mjs +5 -3
- package/dist/components/CropUpload.d.mts +6 -2
- package/dist/components/CropUpload.d.ts +6 -2
- package/dist/components/CropUpload.js +4 -4
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.d.mts +1 -2
- package/dist/components/DataTableWithToolbar.d.ts +1 -2
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +3 -23
- package/dist/components/FileManager.d.ts +3 -23
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.js +2 -2
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.js +3 -3
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.js +3 -3
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.js +3 -3
- package/dist/components/HeatmapChart.mjs +2 -2
- package/dist/components/Image.js +5 -4
- package/dist/components/Image.mjs +4 -3
- package/dist/components/ImageAnnotation.d.mts +1 -1
- package/dist/components/ImageAnnotation.d.ts +1 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.js +3 -2
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.js +4 -3
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +2 -0
- package/dist/components/ImageViewer.d.ts +2 -0
- package/dist/components/ImageViewer.js +3 -2
- package/dist/components/ImageViewer.mjs +2 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +5 -1
- package/dist/components/Kanban.d.ts +5 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.d.mts +1 -2
- package/dist/components/List.d.ts +1 -2
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/Loading.js +2 -2
- package/dist/components/Loading.mjs +1 -1
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Menu.d.mts +2 -2
- package/dist/components/Menu.d.ts +2 -2
- package/dist/components/MenuItem.d.mts +1 -1
- package/dist/components/MenuItem.d.ts +1 -1
- package/dist/components/MenuItemGroup.d.mts +1 -1
- package/dist/components/MenuItemGroup.d.ts +1 -1
- package/dist/components/Message.d.mts +2 -1
- package/dist/components/Message.d.ts +2 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.js +2 -2
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/NotificationCenter.js +6 -6
- package/dist/components/NotificationCenter.mjs +5 -5
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/QRCode.d.mts +2 -1
- package/dist/components/QRCode.d.ts +2 -1
- package/dist/components/QRCode.js +3 -2
- package/dist/components/QRCode.mjs +2 -1
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.js +2 -2
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Resizable.js +2 -2
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.js +2 -2
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/Segmented.d.mts +1 -1
- package/dist/components/Segmented.d.ts +1 -1
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Splitter.js +2 -2
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +2 -2
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SubMenu.d.mts +1 -1
- package/dist/components/SubMenu.d.ts +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +2 -2
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.d.ts +2 -2
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +0 -4
- package/dist/components/Tabs.d.ts +0 -4
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +3 -1
- package/dist/components/TaskBoard.d.ts +3 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.d.mts +5 -1
- package/dist/components/Timeline.d.ts +5 -1
- package/dist/components/Timeline.js +3 -2
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tour.js +4 -3
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +7 -2
- package/dist/components/VirtualTable.d.ts +7 -2
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +52 -53
- package/dist/index.d.ts +52 -53
- package/dist/index.js +81 -81
- package/dist/index.mjs +80 -80
- package/dist/{types-DaC4a0Ny.d.ts → types-CcgZY0mv.d.mts} +2 -2
- package/dist/{types-DaC4a0Ny.d.mts → types-CcgZY0mv.d.ts} +2 -2
- package/package.json +6 -6
- package/dist/chunk-5EVHVZG5.js +0 -131
- package/dist/chunk-AF2AEZKM.js +0 -165
- package/dist/chunk-CDRQSKXT.mjs +0 -195
- package/dist/chunk-EPJ6W4VI.mjs +0 -165
- package/dist/chunk-GYQ2DN6Z.mjs +0 -174
- package/dist/chunk-MTIGGMHG.mjs +0 -180
- package/dist/chunk-NDGA3N6H.js +0 -180
- package/dist/chunk-S5Y6UHAK.mjs +0 -131
- package/dist/chunk-T7KO6EVK.js +0 -174
|
@@ -394,7 +394,7 @@ var Upload = ({
|
|
|
394
394
|
const imageUrl = file.url || (file.file ? URL.createObjectURL(file.file) : "");
|
|
395
395
|
return /* @__PURE__ */ jsxs("div", { className: getPictureCardClasses(file.status), children: [
|
|
396
396
|
imageUrl && /* @__PURE__ */ jsx("img", { src: imageUrl, alt: file.name, className: "w-full h-full object-cover" }),
|
|
397
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 bg-black
|
|
397
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 bg-black/0 hover:bg-black/50 transition-all flex items-center justify-center space-x-2 opacity-0 hover:opacity-100", children: [
|
|
398
398
|
/* @__PURE__ */ jsx(
|
|
399
399
|
"button",
|
|
400
400
|
{
|
|
@@ -456,7 +456,7 @@ var Upload = ({
|
|
|
456
456
|
}
|
|
457
457
|
)
|
|
458
458
|
] }),
|
|
459
|
-
file.status === "uploading" && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-white
|
|
459
|
+
file.status === "uploading" && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-white/75 flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
460
460
|
"svg",
|
|
461
461
|
{
|
|
462
462
|
className: getUploadStatusIconClasses("uploading", "lg", {
|
|
@@ -64,6 +64,8 @@ function useSelectState(props) {
|
|
|
64
64
|
searchDebounce = 0,
|
|
65
65
|
creatable = false,
|
|
66
66
|
createOptionText = "Create",
|
|
67
|
+
virtual = false,
|
|
68
|
+
listHeight = 256,
|
|
67
69
|
onSearch,
|
|
68
70
|
onCreate,
|
|
69
71
|
className,
|
|
@@ -421,6 +423,8 @@ function useSelectState(props) {
|
|
|
421
423
|
searchInputRef,
|
|
422
424
|
isMultiple,
|
|
423
425
|
size,
|
|
426
|
+
virtual,
|
|
427
|
+
listHeight,
|
|
424
428
|
disabled,
|
|
425
429
|
placeholder,
|
|
426
430
|
searchable,
|
|
@@ -439,6 +443,7 @@ function useSelectState(props) {
|
|
|
439
443
|
className,
|
|
440
444
|
divProps,
|
|
441
445
|
searchPlaceholder: _tigercatcore.resolveLocaleText.call(void 0, "Search...", _optionalChain([mergedLocale, 'optionalAccess', _42 => _42.common, 'optionalAccess', _43 => _43.searchPlaceholder])),
|
|
446
|
+
clearAriaLabel: _tigercatcore.resolveLocaleText.call(void 0, "Clear selection", _optionalChain([mergedLocale, 'optionalAccess', _44 => _44.common, 'optionalAccess', _45 => _45.clearText])),
|
|
442
447
|
filteredOptions,
|
|
443
448
|
flatSelectableOptions,
|
|
444
449
|
creatableOption,
|
|
@@ -468,6 +473,10 @@ function useSelectState(props) {
|
|
|
468
473
|
|
|
469
474
|
|
|
470
475
|
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
471
480
|
// src/components/Select/icons.tsx
|
|
472
481
|
|
|
473
482
|
|
|
@@ -513,14 +522,16 @@ var SelectChevronIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
|
513
522
|
function renderOption(ctx, option, index, displayLabel = option.label) {
|
|
514
523
|
const optionSelected = ctx.isSelected(option);
|
|
515
524
|
const optionActive = index === ctx.activeIndex;
|
|
525
|
+
const optionAria = _tigercatcore.getPickerOptionAria.call(void 0, {
|
|
526
|
+
selected: optionSelected,
|
|
527
|
+
disabled: !!option.disabled
|
|
528
|
+
});
|
|
516
529
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
517
530
|
"div",
|
|
518
531
|
{
|
|
519
532
|
id: ctx.getOptionId(index),
|
|
520
533
|
"data-option-index": index,
|
|
521
|
-
|
|
522
|
-
"aria-selected": optionSelected,
|
|
523
|
-
"aria-disabled": option.disabled ? true : void 0,
|
|
534
|
+
...optionAria,
|
|
524
535
|
tabIndex: optionActive ? 0 : -1,
|
|
525
536
|
className: _tigercatcore.getSelectOptionClasses.call(void 0, optionSelected, !!option.disabled, ctx.size),
|
|
526
537
|
onMouseEnter: () => {
|
|
@@ -537,10 +548,53 @@ function renderOption(ctx, option, index, displayLabel = option.label) {
|
|
|
537
548
|
option.value
|
|
538
549
|
);
|
|
539
550
|
}
|
|
551
|
+
var VirtualSelectOptions = ({
|
|
552
|
+
ctx,
|
|
553
|
+
options
|
|
554
|
+
}) => {
|
|
555
|
+
const itemHeight = _tigercatcore.getSelectVirtualItemHeight.call(void 0, ctx.size);
|
|
556
|
+
const containerRef = _react.useRef.call(void 0, null);
|
|
557
|
+
const [scrollTop, setScrollTop] = _react.useState.call(void 0, 0);
|
|
558
|
+
const strategy = _tigercatcore.fixedSizeStrategy.call(void 0, itemHeight);
|
|
559
|
+
const { startIndex, endIndex, totalHeight } = strategy.getRange(
|
|
560
|
+
scrollTop,
|
|
561
|
+
ctx.listHeight,
|
|
562
|
+
options.length,
|
|
563
|
+
5
|
|
564
|
+
);
|
|
565
|
+
_react.useEffect.call(void 0, () => {
|
|
566
|
+
const el = containerRef.current;
|
|
567
|
+
if (!el || ctx.activeIndex < 0) return;
|
|
568
|
+
const top = ctx.activeIndex * itemHeight;
|
|
569
|
+
if (top < el.scrollTop) el.scrollTop = top;
|
|
570
|
+
else if (top + itemHeight > el.scrollTop + ctx.listHeight)
|
|
571
|
+
el.scrollTop = top + itemHeight - ctx.listHeight;
|
|
572
|
+
}, [ctx.activeIndex, itemHeight, ctx.listHeight]);
|
|
573
|
+
const visible = [];
|
|
574
|
+
for (let i = startIndex; i <= endIndex; i++) {
|
|
575
|
+
visible.push(renderOption(ctx, options[i], i));
|
|
576
|
+
}
|
|
577
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
578
|
+
"div",
|
|
579
|
+
{
|
|
580
|
+
ref: containerRef,
|
|
581
|
+
"data-tiger-select-virtual": "",
|
|
582
|
+
style: { maxHeight: `${ctx.listHeight}px`, overflowY: "auto" },
|
|
583
|
+
onScroll: (e) => setScrollTop(e.currentTarget.scrollTop),
|
|
584
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { height: `${totalHeight}px`, position: "relative" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { transform: `translateY(${startIndex * itemHeight}px)` }, children: visible }) })
|
|
585
|
+
}
|
|
586
|
+
);
|
|
587
|
+
};
|
|
540
588
|
function renderOptions(ctx) {
|
|
541
589
|
if (!ctx.hasOptions && !ctx.creatableOption) {
|
|
542
590
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.selectEmptyStateClasses, children: ctx.optionsLength === 0 ? ctx.noDataText : ctx.noOptionsText });
|
|
543
591
|
}
|
|
592
|
+
const hasGroups = ctx.filteredOptions.some(_tigercatcore.isOptionGroup);
|
|
593
|
+
if (ctx.virtual && !hasGroups) {
|
|
594
|
+
const flat = ctx.filteredOptions.filter((o) => !_tigercatcore.isOptionGroup.call(void 0, o));
|
|
595
|
+
const all = ctx.creatableOption ? [...flat, ctx.creatableOption] : flat;
|
|
596
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VirtualSelectOptions, { ctx, options: all });
|
|
597
|
+
}
|
|
544
598
|
let optionIndex = -1;
|
|
545
599
|
const optionNodes = ctx.filteredOptions.map((item) => {
|
|
546
600
|
if (_tigercatcore.isOptionGroup.call(void 0, item)) {
|
|
@@ -574,12 +628,12 @@ function renderOptions(ctx) {
|
|
|
574
628
|
var Select = (props) => {
|
|
575
629
|
const ctx = useSelectState(props);
|
|
576
630
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ...ctx.divProps, className: ctx.containerClasses, children: [
|
|
577
|
-
/* @__PURE__ */ _jsxruntime.
|
|
631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
578
632
|
"button",
|
|
579
633
|
{
|
|
580
634
|
ref: ctx.triggerRef,
|
|
581
635
|
type: "button",
|
|
582
|
-
className: ctx.triggerClasses,
|
|
636
|
+
className: _tigercatcore.classNames.call(void 0, ctx.triggerClasses, "pr-16"),
|
|
583
637
|
disabled: ctx.disabled,
|
|
584
638
|
onClick: ctx.toggleDropdown,
|
|
585
639
|
onKeyDown: ctx.handleTriggerKeyDown,
|
|
@@ -588,33 +642,32 @@ var Select = (props) => {
|
|
|
588
642
|
"aria-controls": ctx.listboxId,
|
|
589
643
|
"aria-activedescendant": ctx.isOpen && ctx.activeIndex >= 0 ? ctx.getOptionId(ctx.activeIndex) : void 0,
|
|
590
644
|
"data-state": ctx.isOpen ? "open" : "closed",
|
|
591
|
-
children:
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
ctx.displayText === ctx.placeholder && "text-[var(--tiger-select-placeholder,var(--tiger-text-muted,#9ca3af))]"
|
|
598
|
-
),
|
|
599
|
-
children: ctx.displayText
|
|
600
|
-
}
|
|
601
|
-
),
|
|
602
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1", children: [
|
|
603
|
-
ctx.showClearButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
604
|
-
"span",
|
|
605
|
-
{
|
|
606
|
-
className: "inline-flex",
|
|
607
|
-
"data-tiger-select-clear": true,
|
|
608
|
-
"aria-label": "Clear selection",
|
|
609
|
-
onClick: ctx.clearSelection,
|
|
610
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectClearIcon, {})
|
|
611
|
-
}
|
|
645
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
646
|
+
"span",
|
|
647
|
+
{
|
|
648
|
+
className: _tigercatcore.classNames.call(void 0,
|
|
649
|
+
"flex-1 text-left truncate",
|
|
650
|
+
ctx.displayText === ctx.placeholder && "text-[var(--tiger-select-placeholder,var(--tiger-text-muted,#9ca3af))]"
|
|
612
651
|
),
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
652
|
+
children: ctx.displayText
|
|
653
|
+
}
|
|
654
|
+
)
|
|
616
655
|
}
|
|
617
656
|
),
|
|
657
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute inset-y-0 right-3 flex items-center gap-1", children: [
|
|
658
|
+
ctx.showClearButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
659
|
+
"button",
|
|
660
|
+
{
|
|
661
|
+
type: "button",
|
|
662
|
+
className: "pointer-events-auto inline-flex rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--tiger-select-ring,var(--tiger-primary,#2563eb))]",
|
|
663
|
+
"data-tiger-select-clear": true,
|
|
664
|
+
"aria-label": ctx.clearAriaLabel,
|
|
665
|
+
onClick: ctx.clearSelection,
|
|
666
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectClearIcon, {})
|
|
667
|
+
}
|
|
668
|
+
),
|
|
669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _tigercatcore.classNames.call(void 0, "inline-flex", ctx.isOpen && "rotate-180"), "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectChevronIcon, {}) })
|
|
670
|
+
] }),
|
|
618
671
|
ctx.isOpen && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
619
672
|
"div",
|
|
620
673
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkSFBSI3J7js = require('./chunk-SFBSI3J7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkZLNBE4ISjs = require('./chunk-ZLNBE4IS.js');
|
|
@@ -171,7 +171,7 @@ var FormWizard = ({
|
|
|
171
171
|
}, [currentIndex, currentStep, renderStep]);
|
|
172
172
|
const stepsNodes = _react.useMemo.call(void 0,
|
|
173
173
|
() => steps.map((step, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
174
|
-
|
|
174
|
+
_chunkSFBSI3J7js.StepsItem,
|
|
175
175
|
{
|
|
176
176
|
title: step.title,
|
|
177
177
|
description: step.description,
|
|
@@ -192,7 +192,7 @@ var FormWizard = ({
|
|
|
192
192
|
bordered ? "border-b border-[var(--tiger-border,#e5e7eb)]" : ""
|
|
193
193
|
),
|
|
194
194
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
-
|
|
195
|
+
_chunkSFBSI3J7js.Steps,
|
|
196
196
|
{
|
|
197
197
|
current: currentIndex,
|
|
198
198
|
direction,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TabPane,
|
|
3
3
|
Tabs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4DRJA5ZK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
List
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6REMGSLS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
10
|
} from "./chunk-5TE7KLE5.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Loading
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WTIEJCRV.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Text
|
|
16
16
|
} from "./chunk-HLS4CHWX.mjs";
|
|
@@ -89,14 +89,6 @@ var NotificationCenter = ({
|
|
|
89
89
|
setInternalGroupKey(keys[0]);
|
|
90
90
|
}
|
|
91
91
|
}, [activeGroupKey, currentGroupKey, resolvedGroups]);
|
|
92
|
-
const _currentGroup = useMemo(() => {
|
|
93
|
-
if (resolvedGroups.length === 0) return void 0;
|
|
94
|
-
if (currentGroupKey === void 0) return resolvedGroups[0];
|
|
95
|
-
const index = resolvedGroups.findIndex(
|
|
96
|
-
(group, groupIndex) => getGroupKey(group, groupIndex) === currentGroupKey
|
|
97
|
-
);
|
|
98
|
-
return index >= 0 ? resolvedGroups[index] : resolvedGroups[0];
|
|
99
|
-
}, [currentGroupKey, resolvedGroups]);
|
|
100
92
|
const [readStateOverrides, setReadStateOverrides] = useState(
|
|
101
93
|
() => /* @__PURE__ */ new Map()
|
|
102
94
|
);
|
|
@@ -88,8 +88,8 @@ var Cascader = (props) => {
|
|
|
88
88
|
const isSearchMode = showSearch && searchQuery.length > 0;
|
|
89
89
|
const flattenedOptions = _react.useMemo.call(void 0, () => {
|
|
90
90
|
if (!showSearch) return [];
|
|
91
|
-
return _tigercatcore.flattenCascaderOptions.call(void 0, options);
|
|
92
|
-
}, [showSearch, options]);
|
|
91
|
+
return _tigercatcore.flattenCascaderOptions.call(void 0, options, [], [], changeOnSelect);
|
|
92
|
+
}, [showSearch, options, changeOnSelect]);
|
|
93
93
|
const searchResults = _react.useMemo.call(void 0, () => {
|
|
94
94
|
if (!isSearchMode) return [];
|
|
95
95
|
return _tigercatcore.filterCascaderOptions.call(void 0, flattenedOptions, searchQuery, showSearch);
|
|
@@ -270,7 +270,7 @@ var Cascader = (props) => {
|
|
|
270
270
|
disabled: item.disabled
|
|
271
271
|
}),
|
|
272
272
|
onClick: () => handleSearchResultClick(item.valuePath, item.disabled),
|
|
273
|
-
children: item.label
|
|
273
|
+
children: typeof showSearch === "object" && showSearch.render ? showSearch.render(searchQuery, item.path) : item.label
|
|
274
274
|
},
|
|
275
275
|
item.valuePath.join(",")
|
|
276
276
|
)) })
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
var _chunkSTTQ5LXXjs = require('./chunk-STTQ5LXX.js');
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
|
|
8
|
+
|
|
6
9
|
// src/components/ImagePreview.tsx
|
|
7
10
|
var _react = require('react');
|
|
8
11
|
|
|
@@ -29,6 +32,8 @@ var _react = require('react');
|
|
|
29
32
|
|
|
30
33
|
|
|
31
34
|
|
|
35
|
+
|
|
36
|
+
|
|
32
37
|
|
|
33
38
|
|
|
34
39
|
|
|
@@ -54,10 +59,17 @@ var ImagePreview = ({
|
|
|
54
59
|
scaleStep = 0.5,
|
|
55
60
|
minScale = 0.25,
|
|
56
61
|
maxScale = 5,
|
|
62
|
+
locale,
|
|
57
63
|
onOpenChange,
|
|
58
64
|
onCurrentIndexChange,
|
|
59
65
|
onScaleChange
|
|
60
66
|
}) => {
|
|
67
|
+
const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
|
|
68
|
+
const mergedLocale = _react.useMemo.call(void 0,
|
|
69
|
+
() => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
|
|
70
|
+
[config.locale, locale]
|
|
71
|
+
);
|
|
72
|
+
const labels = _react.useMemo.call(void 0, () => _tigercatcore.getImageViewerLabels.call(void 0, mergedLocale), [mergedLocale]);
|
|
61
73
|
const isOpen = _nullishCoalesce(open, () => ( false));
|
|
62
74
|
const [scale, setScale] = _react.useState.call(void 0, 1);
|
|
63
75
|
const [rotation, setRotation] = _react.useState.call(void 0, 0);
|
|
@@ -231,7 +243,7 @@ var ImagePreview = ({
|
|
|
231
243
|
style: { zIndex },
|
|
232
244
|
role: "dialog",
|
|
233
245
|
"aria-modal": "true",
|
|
234
|
-
"aria-label":
|
|
246
|
+
"aria-label": labels.previewDialogAriaLabel,
|
|
235
247
|
onClick: handleMaskClick,
|
|
236
248
|
onWheel: handleWheel,
|
|
237
249
|
children: [
|
|
@@ -259,7 +271,7 @@ var ImagePreview = ({
|
|
|
259
271
|
{
|
|
260
272
|
className: _tigercatcore.imagePreviewCloseBtnClasses,
|
|
261
273
|
onClick: handleClose,
|
|
262
|
-
"aria-label":
|
|
274
|
+
"aria-label": labels.closePreviewAriaLabel,
|
|
263
275
|
type: "button",
|
|
264
276
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.previewCloseIconPath })
|
|
265
277
|
}
|
|
@@ -270,7 +282,7 @@ var ImagePreview = ({
|
|
|
270
282
|
className: _tigercatcore.classNames.call(void 0, _tigercatcore.imagePreviewNavBtnClasses, "left-4"),
|
|
271
283
|
onClick: handlePrev,
|
|
272
284
|
disabled: !navState.hasPrev,
|
|
273
|
-
"aria-label":
|
|
285
|
+
"aria-label": labels.previousImageAriaLabel,
|
|
274
286
|
type: "button",
|
|
275
287
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.prevIconPath })
|
|
276
288
|
}
|
|
@@ -281,7 +293,7 @@ var ImagePreview = ({
|
|
|
281
293
|
className: _tigercatcore.classNames.call(void 0, _tigercatcore.imagePreviewNavBtnClasses, "right-4"),
|
|
282
294
|
onClick: handleNext,
|
|
283
295
|
disabled: !navState.hasNext,
|
|
284
|
-
"aria-label":
|
|
296
|
+
"aria-label": labels.nextImageAriaLabel,
|
|
285
297
|
type: "button",
|
|
286
298
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.nextIconPath })
|
|
287
299
|
}
|
|
@@ -292,7 +304,7 @@ var ImagePreview = ({
|
|
|
292
304
|
{
|
|
293
305
|
className: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
294
306
|
onClick: handleZoomOut,
|
|
295
|
-
"aria-label":
|
|
307
|
+
"aria-label": labels.zoomOutAriaLabel,
|
|
296
308
|
type: "button",
|
|
297
309
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.zoomOutIconPath })
|
|
298
310
|
}
|
|
@@ -302,7 +314,7 @@ var ImagePreview = ({
|
|
|
302
314
|
{
|
|
303
315
|
className: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
304
316
|
onClick: handleReset,
|
|
305
|
-
"aria-label":
|
|
317
|
+
"aria-label": labels.resetAriaLabel,
|
|
306
318
|
type: "button",
|
|
307
319
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.resetIconPath })
|
|
308
320
|
}
|
|
@@ -312,7 +324,7 @@ var ImagePreview = ({
|
|
|
312
324
|
{
|
|
313
325
|
className: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
314
326
|
onClick: handleZoomIn,
|
|
315
|
-
"aria-label":
|
|
327
|
+
"aria-label": labels.zoomInAriaLabel,
|
|
316
328
|
type: "button",
|
|
317
329
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.zoomInIconPath })
|
|
318
330
|
}
|
|
@@ -322,7 +334,7 @@ var ImagePreview = ({
|
|
|
322
334
|
{
|
|
323
335
|
className: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
324
336
|
onClick: handleRotateLeft,
|
|
325
|
-
"aria-label":
|
|
337
|
+
"aria-label": labels.rotateLeftAriaLabel,
|
|
326
338
|
type: "button",
|
|
327
339
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.imageViewerIcons.rotateLeft })
|
|
328
340
|
}
|
|
@@ -332,7 +344,7 @@ var ImagePreview = ({
|
|
|
332
344
|
{
|
|
333
345
|
className: _tigercatcore.imagePreviewToolbarBtnClasses,
|
|
334
346
|
onClick: handleRotateRight,
|
|
335
|
-
"aria-label":
|
|
347
|
+
"aria-label": labels.rotateRightAriaLabel,
|
|
336
348
|
type: "button",
|
|
337
349
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SvgIcon, { d: _tigercatcore.imageViewerIcons.rotateRight })
|
|
338
350
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunkXTV5JLLCjs = require('./chunk-XTV5JLLC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk23XPDNCAjs = require('./chunk-23XPDNCA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkAX5XRD2Qjs = require('./chunk-AX5XRD2Q.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkSK7PXSVEjs = require('./chunk-SK7PXSVE.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkUKLVOR4Ejs = require('./chunk-UKLVOR4E.js');
|
|
@@ -158,6 +158,18 @@ var RadarChart = ({
|
|
|
158
158
|
setHoveredPoint(null);
|
|
159
159
|
handleHoverLeave();
|
|
160
160
|
}, [handleHoverLeave]);
|
|
161
|
+
const showPointTooltipFromElement = _react.useCallback.call(void 0,
|
|
162
|
+
(el, seriesIndex, pointIndex) => {
|
|
163
|
+
if (!hoverable) return;
|
|
164
|
+
const rect = el.getBoundingClientRect();
|
|
165
|
+
setHoveredPoint({ seriesIndex, pointIndex });
|
|
166
|
+
handleHoverEnter(seriesIndex, {
|
|
167
|
+
clientX: rect.left + rect.width / 2,
|
|
168
|
+
clientY: rect.top + rect.height / 2
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
[hoverable, handleHoverEnter]
|
|
172
|
+
);
|
|
161
173
|
const innerRect = _react.useMemo.call(void 0,
|
|
162
174
|
() => _tigercatcore.getChartInnerRect.call(void 0, width, height, padding),
|
|
163
175
|
[width, height, padding]
|
|
@@ -562,13 +574,30 @@ var RadarChart = ({
|
|
|
562
574
|
showTooltip && hoverable ? "cursor-pointer" : void 0,
|
|
563
575
|
"transition-[r] duration-150 ease-out"
|
|
564
576
|
),
|
|
577
|
+
role: showTooltip && hoverable ? "button" : "img",
|
|
578
|
+
"aria-label": _nullishCoalesce(point.data.label, () => ( String(point.data.value))),
|
|
579
|
+
tabIndex: showTooltip && hoverable ? 0 : void 0,
|
|
565
580
|
"data-radar-point": "true",
|
|
566
581
|
"data-series-index": seriesIndex,
|
|
567
582
|
"data-series-key": item.seriesKey,
|
|
568
583
|
"data-point-index": point.index,
|
|
569
584
|
onMouseEnter: showTooltip && hoverable ? (e) => handlePointEnter(seriesIndex, point.index, e) : void 0,
|
|
570
585
|
onMouseMove: showTooltip && hoverable ? handlePointMove : void 0,
|
|
571
|
-
onMouseLeave: showTooltip && hoverable ? handlePointLeave : void 0
|
|
586
|
+
onMouseLeave: showTooltip && hoverable ? handlePointLeave : void 0,
|
|
587
|
+
onFocus: showTooltip && hoverable ? (e) => showPointTooltipFromElement(e.currentTarget, seriesIndex, point.index) : void 0,
|
|
588
|
+
onBlur: showTooltip && hoverable ? handlePointLeave : void 0,
|
|
589
|
+
onKeyDown: showTooltip && hoverable ? (e) => {
|
|
590
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
591
|
+
e.preventDefault();
|
|
592
|
+
showPointTooltipFromElement(
|
|
593
|
+
e.currentTarget,
|
|
594
|
+
seriesIndex,
|
|
595
|
+
point.index
|
|
596
|
+
);
|
|
597
|
+
} else if (e.key === "Escape") {
|
|
598
|
+
handlePointLeave();
|
|
599
|
+
}
|
|
600
|
+
} : void 0
|
|
572
601
|
},
|
|
573
602
|
`point-${item.seriesKey}-${point.index}`
|
|
574
603
|
);
|
|
@@ -607,7 +636,7 @@ var RadarChart = ({
|
|
|
607
636
|
}
|
|
608
637
|
);
|
|
609
638
|
const tooltip = showTooltip && hoverable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
-
|
|
639
|
+
_chunkSK7PXSVEjs.ChartTooltip,
|
|
611
640
|
{
|
|
612
641
|
content: tooltipContent,
|
|
613
642
|
visible: hoveredPoint !== null && tooltipContent !== "",
|
|
@@ -624,7 +653,7 @@ var RadarChart = ({
|
|
|
624
653
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: wrapperClasses, children: [
|
|
625
654
|
chart,
|
|
626
655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
-
|
|
656
|
+
_chunk23XPDNCAjs.ChartLegend,
|
|
628
657
|
{
|
|
629
658
|
items: legendItems,
|
|
630
659
|
position: legendPosition,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VirtualList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y5X3G2LD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Input
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DEQZZKY5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Empty
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NJHZQBA7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Textarea
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-D4X3NBAI.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Button
|
|
15
15
|
} from "./chunk-5TE7KLE5.mjs";
|
|
@@ -22,6 +22,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
|
22
22
|
import {
|
|
23
23
|
classNames,
|
|
24
24
|
getChatMessageStatusInfo,
|
|
25
|
+
getChatStatusBarClasses,
|
|
25
26
|
formatChatTime
|
|
26
27
|
} from "@expcat/tigercat-core";
|
|
27
28
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -38,7 +39,7 @@ var ChatWindow = ({
|
|
|
38
39
|
inputAriaLabel,
|
|
39
40
|
sendAriaLabel,
|
|
40
41
|
statusText,
|
|
41
|
-
statusVariant
|
|
42
|
+
statusVariant = "info",
|
|
42
43
|
showAvatar = true,
|
|
43
44
|
showName = true,
|
|
44
45
|
showTime = false,
|
|
@@ -207,7 +208,7 @@ var ChatWindow = ({
|
|
|
207
208
|
children: messages.length === 0 ? /* @__PURE__ */ jsx("div", { className: "h-full flex items-center justify-center py-8", children: /* @__PURE__ */ jsx(Empty, { description: emptyText }) }) : messages.map(renderMessageItem)
|
|
208
209
|
}
|
|
209
210
|
),
|
|
210
|
-
statusText && /* @__PURE__ */ jsx("div", { className:
|
|
211
|
+
statusText && /* @__PURE__ */ jsx("div", { className: getChatStatusBarClasses(statusVariant), children: statusText }),
|
|
211
212
|
/* @__PURE__ */ jsxs("div", { className: "flex items-end gap-3 px-5 py-4 border-t border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] rounded-b-lg", children: [
|
|
212
213
|
/* @__PURE__ */ jsx("div", { className: "flex-1", children: inputType === "input" ? /* @__PURE__ */ jsx(
|
|
213
214
|
Input,
|