@expcat/tigercat-react 1.0.7 → 1.1.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-2EC4F7VG.js +134 -0
- package/dist/{chunk-NZNSUKPT.js → chunk-2HDQRMGU.js} +3 -21
- package/dist/{chunk-LVC43YX2.mjs → chunk-2IUTFPQQ.mjs} +6 -6
- package/dist/{chunk-LPNHBHS2.mjs → chunk-2LER76UK.mjs} +40 -5
- package/dist/{chunk-PXPUPQRO.js → chunk-2N3CQT4X.js} +23 -4
- package/dist/{chunk-BJ2GUKPU.mjs → chunk-2PLPUM5J.mjs} +7 -17
- package/dist/{chunk-C443YA4U.js → chunk-2QV56L36.js} +15 -11
- package/dist/{chunk-M375I56K.js → chunk-36ATCHP4.js} +5 -5
- package/dist/{chunk-AUP3PMDD.mjs → chunk-36WZNVQ5.mjs} +59 -50
- package/dist/{chunk-VHHEP5G7.js → chunk-3E76U2RG.js} +22 -2
- package/dist/chunk-3HPDLIX3.mjs +108 -0
- package/dist/{chunk-QHG7KJH6.js → chunk-3RRYDYVB.js} +23 -27
- package/dist/{chunk-3GW3UAKB.js → chunk-466OSPRM.js} +48 -8
- package/dist/{chunk-RUROWRB5.mjs → chunk-4G74P6YD.mjs} +4 -3
- package/dist/{chunk-AY5Z3NIW.js → chunk-4LIDROT4.js} +11 -7
- package/dist/chunk-4R5YXNU4.mjs +42 -0
- package/dist/{chunk-VVO4V4IK.js → chunk-4TEILQSN.js} +1 -1
- package/dist/{chunk-MQ5ZP5RW.mjs → chunk-4V2HSSQN.mjs} +5 -2
- package/dist/{chunk-D6BHFGTN.js → chunk-4YVXF45R.js} +3 -2
- package/dist/{chunk-HSHVLIEL.mjs → chunk-564WBQ77.mjs} +11 -11
- package/dist/{chunk-QO3GGQAV.mjs → chunk-5HFHHFQS.mjs} +25 -28
- package/dist/{chunk-SDWJSALH.js → chunk-5OLE7XM3.js} +156 -137
- package/dist/{chunk-DBNAL6G6.mjs → chunk-5OMSQ5PV.mjs} +72 -260
- package/dist/{chunk-YLZEOXFS.mjs → chunk-6GU5NH5F.mjs} +22 -2
- package/dist/{chunk-XEYP62CR.js → chunk-6LDJSFUQ.js} +71 -14
- package/dist/{chunk-RYW4CV7U.js → chunk-6N6CWBPP.js} +16 -6
- package/dist/{chunk-6P3JIUSI.mjs → chunk-6OOGL43U.mjs} +3 -2
- package/dist/{chunk-3CDAG4HD.mjs → chunk-6QML6T3Y.mjs} +20 -6
- package/dist/{chunk-BALJCZ62.mjs → chunk-6QQBMZQ6.mjs} +34 -43
- package/dist/{chunk-2XOFRGY6.js → chunk-6YBLWFP5.js} +34 -2
- package/dist/{chunk-VILZFNR7.js → chunk-7KNOOFRA.js} +70 -21
- package/dist/{chunk-ET5YJELZ.js → chunk-7P4MIU6I.js} +9 -8
- package/dist/{chunk-5CGXFQND.mjs → chunk-7Y5XUZJ4.mjs} +27 -11
- package/dist/{chunk-HU3VDVH6.js → chunk-A4PPPGJ5.js} +87 -60
- package/dist/{chunk-HCZA4LV6.mjs → chunk-A7DZX5X5.mjs} +2 -2
- package/dist/{chunk-VONFSF4S.mjs → chunk-AAI6EZZA.mjs} +19 -16
- package/dist/{chunk-KNBNE74O.js → chunk-ACQLSECT.js} +32 -4
- package/dist/{chunk-KQJYSG23.js → chunk-AIYOQ5MX.js} +8 -8
- package/dist/{chunk-EIMAQHCQ.mjs → chunk-AZDNGGV7.mjs} +14 -3
- package/dist/{chunk-67FVBKBC.js → chunk-B5TUTAVX.js} +72 -9
- package/dist/{chunk-2UQC3WOI.mjs → chunk-C745DPLU.mjs} +13 -4
- package/dist/chunk-CBWRSICK.mjs +929 -0
- package/dist/{chunk-N66WEQ6M.js → chunk-CBYJXDW4.js} +12 -13
- package/dist/{chunk-2EOXY2LP.mjs → chunk-CCDZLSOL.mjs} +70 -3
- package/dist/{chunk-4GV7UQJJ.js → chunk-CHPJPIW6.js} +26 -35
- package/dist/{chunk-ZD4BVRYG.mjs → chunk-CPQS3IFF.mjs} +1 -1
- package/dist/chunk-CVXDKGNX.mjs +312 -0
- package/dist/{chunk-YJ4W6DMX.mjs → chunk-D45GM4YH.mjs} +51 -29
- package/dist/{chunk-FXX3GD35.mjs → chunk-DAMJCFFS.mjs} +119 -15
- package/dist/{chunk-WK5QJO57.js → chunk-DBGPINKE.js} +74 -52
- package/dist/chunk-DKNVSQSV.mjs +64 -0
- package/dist/{chunk-CDT3P2ZN.js → chunk-DSLKTIPD.js} +20 -17
- package/dist/{chunk-4QJZT6QK.js → chunk-DUZM2SKR.js} +124 -99
- package/dist/{chunk-7BVXG3Z5.mjs → chunk-DVL53XDJ.mjs} +1 -1
- package/dist/{chunk-H3NLKNR4.mjs → chunk-DVUND2QM.mjs} +69 -46
- package/dist/{chunk-TMQA74FM.js → chunk-EF5ZTNHX.js} +34 -29
- package/dist/{chunk-RWZIWKZR.js → chunk-F7VY6ATM.js} +54 -32
- package/dist/{chunk-UBKOITHT.mjs → chunk-FQW26554.mjs} +30 -11
- package/dist/{chunk-DEQWHJLQ.mjs → chunk-FW3O54GP.mjs} +11 -7
- package/dist/chunk-G3PBQ4B4.mjs +60 -0
- package/dist/{chunk-HWWNBCFB.js → chunk-GAT4ZATZ.js} +17 -1
- package/dist/chunk-GDONQIOK.mjs +470 -0
- package/dist/{chunk-3KMKMAE3.mjs → chunk-GKJNQUTW.mjs} +20 -18
- package/dist/{chunk-TVJZB7ZC.js → chunk-GOGLPCUH.js} +122 -18
- package/dist/chunk-GOQ6ZG7H.mjs +56 -0
- package/dist/{chunk-BCNKTT5C.js → chunk-GRXBGL6Q.js} +18 -16
- package/dist/{chunk-XNMSECO4.mjs → chunk-GUHNLUZ3.mjs} +66 -16
- package/dist/{chunk-B3MNIAM5.mjs → chunk-GYQJJUJP.mjs} +29 -9
- package/dist/{chunk-IWP22YTF.js → chunk-HCKV7ONR.js} +3 -0
- package/dist/{chunk-I4SKKEU3.js → chunk-HR5GBE3P.js} +24 -27
- package/dist/{chunk-HUCBHFSL.mjs → chunk-HTXUF4RH.mjs} +6 -20
- package/dist/{chunk-EOYJLBFD.js → chunk-ITLA7OLQ.js} +6 -20
- package/dist/{chunk-INBSKSZG.mjs → chunk-ITVLIR7T.mjs} +57 -12
- package/dist/{chunk-FNDPGSEW.mjs → chunk-IXQAECFP.mjs} +87 -33
- package/dist/{chunk-34DLDOGP.mjs → chunk-IZTNHCIO.mjs} +5 -2
- package/dist/{chunk-73BP3WQN.mjs → chunk-J4OQ2VRH.mjs} +13 -31
- package/dist/{chunk-AJQPGAYL.js → chunk-JFOSDCCG.js} +5 -5
- package/dist/{chunk-6744DTEB.mjs → chunk-JSUDEK2D.mjs} +159 -140
- package/dist/{chunk-U3JOBIDU.js → chunk-K64M7IMP.js} +69 -2
- package/dist/{chunk-FPURO6QB.mjs → chunk-KGWPSVEQ.mjs} +5 -6
- package/dist/{chunk-OHIZYM65.mjs → chunk-KPACLRQH.mjs} +3 -6
- package/dist/chunk-KPRUZCKN.js +318 -0
- package/dist/{chunk-UE234MW4.mjs → chunk-KR3EVG7G.mjs} +4 -4
- package/dist/chunk-L5HVRTUO.js +935 -0
- package/dist/chunk-L6CL63GI.js +93 -0
- package/dist/{chunk-RNEL4XIO.js → chunk-LA3CJOWA.js} +13 -2
- package/dist/{chunk-EBLAM3YP.mjs → chunk-LE5VFMRR.mjs} +21 -12
- package/dist/{chunk-4QQZ5H4V.mjs → chunk-LQT6ZGME.mjs} +35 -30
- package/dist/{chunk-VAQDUVBP.mjs → chunk-LY2OTQ4E.mjs} +17 -1
- package/dist/{chunk-RRJTIKU6.mjs → chunk-M5GSLKUX.mjs} +13 -14
- package/dist/{chunk-TZNTHABR.js → chunk-M73NMNZX.js} +37 -6
- package/dist/{chunk-TKZO5UBH.js → chunk-MB3QU3US.js} +47 -2
- package/dist/{chunk-6E7FPBRR.mjs → chunk-ME5BLIFX.mjs} +73 -16
- package/dist/{chunk-ZDL3GE3Q.mjs → chunk-MO3V34YL.mjs} +67 -18
- package/dist/{chunk-H3JAEEEE.js → chunk-MOSVX52I.js} +72 -260
- package/dist/{chunk-2GKTVAAB.js → chunk-MPO7Y76D.js} +9 -3
- package/dist/{chunk-JLM4LBUS.js → chunk-MU6Z5DCI.js} +6 -3
- package/dist/{chunk-5MALB34H.js → chunk-MUUOE2NT.js} +31 -11
- package/dist/chunk-N2JYU4JI.js +62 -0
- package/dist/{chunk-C6WJ4GQW.js → chunk-NHBNPK5J.js} +40 -37
- package/dist/{chunk-JUWFVIDP.mjs → chunk-NQV2H4SC.mjs} +25 -6
- package/dist/{chunk-WAIXKROS.mjs → chunk-NSEO2B74.mjs} +12 -8
- package/dist/{chunk-2WBPUW75.mjs → chunk-O4JI4FC6.mjs} +39 -36
- package/dist/{chunk-SQ7OL2X5.mjs → chunk-OFTLPYYC.mjs} +30 -10
- package/dist/{chunk-JQK354YN.js → chunk-OFWK2B23.js} +234 -10
- package/dist/chunk-ONTRGV5T.js +159 -0
- package/dist/{chunk-IVGKPD2L.mjs → chunk-OPHYFC5W.mjs} +5 -5
- package/dist/{chunk-2LUDQBVY.mjs → chunk-OUARQFZ7.mjs} +4 -4
- package/dist/{chunk-DAR2BMMV.js → chunk-PFYK2V3E.js} +32 -41
- package/dist/{chunk-ZYPEO2KY.js → chunk-PGBKMW4Q.js} +30 -0
- package/dist/{chunk-DXXYPVJJ.js → chunk-PR5ZPB6J.js} +3 -3
- package/dist/{chunk-PNSWIJG3.mjs → chunk-PSYDHEXN.mjs} +36 -26
- package/dist/{chunk-CMGI5WHZ.js → chunk-PTWCIG3Y.js} +2 -2
- package/dist/{chunk-FHE4D56E.js → chunk-PVNHW3PY.js} +26 -9
- package/dist/{chunk-QLHFXYWA.mjs → chunk-QOEE2PW5.mjs} +73 -10
- package/dist/{chunk-AQ72JVUG.js → chunk-QQKP437L.js} +5 -5
- package/dist/{chunk-IOHPB4CF.js → chunk-QYJBMQ5P.js} +29 -10
- package/dist/{chunk-NZLOLMT2.mjs → chunk-RFB4M3WM.mjs} +50 -10
- package/dist/{chunk-TFPIRBHL.js → chunk-RLQITKTC.js} +26 -10
- package/dist/{chunk-7CAJK2ZK.mjs → chunk-RPSHILHD.mjs} +2 -2
- package/dist/{chunk-GX74TC62.js → chunk-RTHC4KWM.js} +2 -5
- package/dist/{chunk-65VXCN5N.js → chunk-SKMZTW3K.js} +56 -11
- package/dist/{chunk-VHWTMNQN.js → chunk-SO6POTSO.js} +10 -10
- package/dist/chunk-SQGFNVYT.js +222 -0
- package/dist/{chunk-RFPXIDAK.js → chunk-SR5OHSI7.js} +34 -24
- package/dist/{chunk-GBTKAKUD.mjs → chunk-SRNBEFJO.mjs} +24 -28
- package/dist/{chunk-SQK2CPSV.mjs → chunk-SXNHXUUF.mjs} +16 -5
- package/dist/{chunk-OE6WTZES.js → chunk-TLJD4GFY.js} +69 -19
- package/dist/{chunk-R5XY4EQL.js → chunk-TQOWIDQT.js} +8 -15
- package/dist/{chunk-IPLK4AIE.mjs → chunk-TR4DGL3U.mjs} +7 -6
- package/dist/{chunk-QAO5KANE.mjs → chunk-TULQETJ5.mjs} +4 -3
- package/dist/{chunk-4APNERYR.js → chunk-U356F7GU.js} +12 -30
- package/dist/{chunk-AGR3FM3V.js → chunk-UB6SHKPR.js} +8 -7
- package/dist/{chunk-Z6F67MJE.mjs → chunk-UBP7HZSU.mjs} +4 -3
- package/dist/{chunk-HZ5Z5Y2J.mjs → chunk-UJ5NMLZN.mjs} +13 -31
- package/dist/chunk-UKLVOR4E.js +67 -0
- package/dist/{chunk-CKFE2B36.js → chunk-ULODU52Q.js} +9 -19
- package/dist/{chunk-QQDKQLHJ.mjs → chunk-UPO4LLNK.mjs} +71 -49
- package/dist/chunk-V4JIZN3E.mjs +156 -0
- package/dist/{chunk-R3QWJ7GT.mjs → chunk-V5557VIB.mjs} +23 -6
- package/dist/{chunk-NG3GA5LF.js → chunk-VBBOH5HA.js} +2 -2
- package/dist/chunk-VBZE77VM.mjs +65 -0
- package/dist/{chunk-XLVEI7GS.js → chunk-VE3SYUMH.js} +3 -2
- package/dist/{chunk-SWF7GJYT.mjs → chunk-VHW7NWXM.mjs} +85 -58
- package/dist/{chunk-YHFBPSMF.js → chunk-VTOMFVSF.js} +72 -49
- package/dist/{chunk-QPGL4YEO.mjs → chunk-W7UGU2O6.mjs} +12 -24
- package/dist/{chunk-AYDTXJOR.mjs → chunk-WDRYAP7T.mjs} +18 -15
- package/dist/{chunk-AMOH5AMN.mjs → chunk-WFIQIBLC.mjs} +2 -2
- package/dist/{chunk-BR5OSUZT.mjs → chunk-WI4N5DD3.mjs} +38 -7
- package/dist/{chunk-TQEIMVJD.mjs → chunk-WK45IRP7.mjs} +28 -37
- package/dist/{chunk-HLJQZUIY.mjs → chunk-WNX4TH7U.mjs} +32 -4
- package/dist/{chunk-7MASYF4S.mjs → chunk-WT6CULN3.mjs} +12 -13
- package/dist/{chunk-6PBNFLM7.js → chunk-WV5XHYW6.js} +4 -3
- package/dist/{chunk-CQGAZ5JQ.js → chunk-X7WESYRG.js} +15 -4
- package/dist/{chunk-PUYT62KC.js → chunk-XAALCDGD.js} +5 -6
- package/dist/{chunk-YPHOVEVU.mjs → chunk-XATXFVKR.mjs} +8 -2
- package/dist/chunk-XHF3L4ET.mjs +132 -0
- package/dist/{chunk-QPOH6SOO.mjs → chunk-XISZACMA.mjs} +126 -101
- package/dist/{chunk-QYGBT4NL.js → chunk-XN43YK75.js} +16 -28
- package/dist/{chunk-H5MZ54PM.js → chunk-XPA2YCQO.js} +58 -49
- package/dist/{chunk-CHH7DWIO.js → chunk-XRNKHQTL.js} +7 -1
- package/dist/{chunk-WLIFEALE.mjs → chunk-XTSG362L.mjs} +29 -2
- package/dist/{chunk-KQZ4F7FZ.js → chunk-XTV5JLLC.js} +18 -4
- package/dist/{chunk-AHF6JE43.js → chunk-YACOKYDW.js} +21 -18
- package/dist/{chunk-4Q4GADHJ.js → chunk-YI6ORD3U.js} +40 -5
- package/dist/{chunk-ASALMHFI.js → chunk-YMKA4L3Z.js} +1 -6
- package/dist/{chunk-3JGOTJZM.js → chunk-YTLJPWXL.js} +4 -4
- package/dist/{chunk-XR6B2URW.js → chunk-Z52PUIAH.js} +22 -13
- package/dist/{chunk-AVUXDQYO.mjs → chunk-Z5B7VNEG.mjs} +10 -4
- package/dist/{chunk-3USEV7EV.js → chunk-ZDK4LEPB.js} +12 -13
- package/dist/chunk-ZDXIP33Y.js +58 -0
- package/dist/{chunk-XFJ5Q5PF.mjs → chunk-ZJWUBR2X.mjs} +2 -7
- package/dist/components/ActivityFeed.js +5 -4
- package/dist/components/ActivityFeed.mjs +3 -2
- package/dist/components/Affix.js +2 -2
- package/dist/components/Affix.mjs +1 -1
- package/dist/components/Anchor.d.mts +20 -1
- package/dist/components/Anchor.d.ts +20 -1
- package/dist/components/Anchor.js +8 -4
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AnchorLink.d.mts +3 -23
- package/dist/components/AnchorLink.d.ts +3 -23
- package/dist/components/AnchorLink.js +3 -4
- package/dist/components/AnchorLink.mjs +1 -2
- package/dist/components/AreaChart.d.mts +2 -0
- package/dist/components/AreaChart.d.ts +2 -0
- package/dist/components/AreaChart.js +7 -7
- package/dist/components/AreaChart.mjs +5 -5
- package/dist/components/AutoComplete.js +2 -2
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/AvatarGroup.js +3 -3
- package/dist/components/AvatarGroup.mjs +1 -1
- package/dist/components/BackTop.js +3 -3
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/BarChart.js +7 -7
- package/dist/components/BarChart.mjs +5 -5
- package/dist/components/Breadcrumb.d.mts +18 -2
- package/dist/components/Breadcrumb.d.ts +18 -2
- package/dist/components/Breadcrumb.js +7 -3
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.d.mts +3 -21
- package/dist/components/BreadcrumbItem.d.ts +3 -21
- package/dist/components/BreadcrumbItem.js +2 -3
- package/dist/components/BreadcrumbItem.mjs +1 -2
- package/dist/components/Button.js +2 -2
- package/dist/components/Button.mjs +1 -1
- package/dist/components/ButtonGroup.js +4 -4
- package/dist/components/ButtonGroup.mjs +1 -1
- package/dist/components/Carousel.js +2 -2
- package/dist/components/Carousel.mjs +1 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartCanvas.js +3 -3
- package/dist/components/ChartCanvas.mjs +1 -1
- package/dist/components/ChartLegend.js +3 -3
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartTooltip.js +3 -3
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.js +5 -4
- package/dist/components/ChatWindow.mjs +3 -2
- package/dist/components/Code.js +3 -3
- package/dist/components/Code.mjs +1 -1
- package/dist/components/CodeEditor.d.mts +8 -1
- package/dist/components/CodeEditor.d.ts +8 -1
- package/dist/components/CodeEditor.js +3 -3
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/Col.js +3 -3
- package/dist/components/Col.mjs +2 -2
- package/dist/components/CollapsePanel.js +3 -3
- package/dist/components/CollapsePanel.mjs +1 -1
- package/dist/components/CommentThread.js +4 -4
- package/dist/components/CommentThread.mjs +2 -2
- package/dist/components/ConfigProvider.d.mts +3 -2
- package/dist/components/ConfigProvider.d.ts +3 -2
- package/dist/components/ConfigProvider.js +3 -3
- package/dist/components/ConfigProvider.mjs +1 -1
- package/dist/components/CropUpload.js +6 -6
- package/dist/components/CropUpload.mjs +5 -5
- package/dist/components/DataTableWithToolbar.d.mts +2 -7
- package/dist/components/DataTableWithToolbar.d.ts +2 -7
- package/dist/components/DataTableWithToolbar.js +6 -7
- package/dist/components/DataTableWithToolbar.mjs +4 -5
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DonutChart.js +8 -8
- package/dist/components/DonutChart.mjs +6 -6
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Drawer.mjs +2 -2
- package/dist/components/Dropdown.d.mts +10 -2
- package/dist/components/Dropdown.d.ts +10 -2
- package/dist/components/Dropdown.js +8 -5
- package/dist/components/Dropdown.mjs +2 -3
- package/dist/components/DropdownItem.js +4 -5
- package/dist/components/DropdownItem.mjs +3 -4
- package/dist/components/DropdownMenu.d.mts +3 -13
- package/dist/components/DropdownMenu.d.ts +3 -13
- package/dist/components/DropdownMenu.js +9 -2
- package/dist/components/DropdownMenu.mjs +2 -1
- package/dist/components/FileManager.js +3 -3
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/Form.d.mts +1 -0
- package/dist/components/Form.d.ts +1 -0
- package/dist/components/Form.js +3 -3
- 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 +6 -6
- package/dist/components/FormWizard.mjs +4 -4
- package/dist/components/FunnelChart.js +6 -6
- package/dist/components/FunnelChart.mjs +5 -5
- package/dist/components/GaugeChart.js +3 -3
- package/dist/components/GaugeChart.mjs +2 -2
- package/dist/components/HeatmapChart.js +5 -5
- package/dist/components/HeatmapChart.mjs +4 -4
- package/dist/components/Image.js +5 -5
- package/dist/components/Image.mjs +4 -4
- package/dist/components/ImageCropper.js +2 -2
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImageGroup.js +5 -5
- package/dist/components/ImageGroup.mjs +3 -3
- package/dist/components/ImagePreview.js +3 -3
- package/dist/components/ImagePreview.mjs +2 -2
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.js +3 -3
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/InputNumber.js +2 -2
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.js +5 -5
- package/dist/components/Kanban.mjs +3 -3
- package/dist/components/LineChart.js +7 -7
- package/dist/components/LineChart.mjs +5 -5
- package/dist/components/List.d.mts +22 -1
- package/dist/components/List.d.ts +22 -1
- package/dist/components/List.js +3 -2
- package/dist/components/List.mjs +2 -1
- package/dist/components/Loading.js +3 -2
- package/dist/components/Loading.mjs +2 -1
- package/dist/components/Mentions.js +3 -3
- package/dist/components/Mentions.mjs +1 -1
- package/dist/components/Menu.d.mts +43 -2
- package/dist/components/Menu.d.ts +43 -2
- package/dist/components/Menu.js +15 -3
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/MenuItem.d.mts +3 -20
- package/dist/components/MenuItem.d.ts +3 -20
- package/dist/components/MenuItem.js +8 -3
- package/dist/components/MenuItem.mjs +1 -2
- package/dist/components/MenuItemGroup.d.mts +3 -16
- package/dist/components/MenuItemGroup.d.ts +3 -16
- package/dist/components/MenuItemGroup.js +8 -4
- package/dist/components/MenuItemGroup.mjs +1 -3
- package/dist/components/Modal.js +4 -4
- package/dist/components/Modal.mjs +3 -3
- package/dist/components/Notification.js +4 -4
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/NotificationCenter.js +9 -7
- package/dist/components/NotificationCenter.mjs +7 -5
- package/dist/components/Pagination.d.mts +2 -2
- package/dist/components/Pagination.d.ts +2 -2
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/PieChart.js +7 -7
- package/dist/components/PieChart.mjs +5 -5
- package/dist/components/Popconfirm.js +4 -4
- package/dist/components/Popconfirm.mjs +3 -3
- package/dist/components/Popover.js +4 -4
- package/dist/components/Popover.mjs +3 -3
- package/dist/components/RadarChart.d.mts +3 -0
- package/dist/components/RadarChart.d.ts +3 -0
- package/dist/components/RadarChart.js +7 -7
- package/dist/components/RadarChart.mjs +5 -5
- package/dist/components/Resizable.js +3 -3
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/RichTextEditor.d.mts +10 -3
- package/dist/components/RichTextEditor.d.ts +10 -3
- package/dist/components/RichTextEditor.js +3 -3
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/Row.js +3 -3
- package/dist/components/Row.mjs +1 -1
- package/dist/components/ScatterChart.js +7 -7
- package/dist/components/ScatterChart.mjs +5 -5
- 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/Splitter.js +3 -3
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/Statistic.js +2 -2
- package/dist/components/Statistic.mjs +1 -1
- package/dist/components/Stepper.js +2 -2
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Steps.d.mts +32 -1
- package/dist/components/Steps.d.ts +32 -1
- package/dist/components/Steps.js +7 -3
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.d.mts +3 -36
- package/dist/components/StepsItem.d.ts +3 -36
- package/dist/components/StepsItem.js +2 -2
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SubMenu.d.mts +3 -20
- package/dist/components/SubMenu.d.ts +3 -20
- package/dist/components/SubMenu.js +8 -5
- package/dist/components/SubMenu.mjs +1 -4
- package/dist/components/SunburstChart.js +6 -6
- package/dist/components/SunburstChart.mjs +5 -5
- package/dist/components/Switch.js +2 -2
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/TabPane.d.mts +3 -57
- package/dist/components/TabPane.d.ts +3 -57
- package/dist/components/TabPane.js +2 -2
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.d.mts +4 -59
- package/dist/components/Table.d.ts +4 -59
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tabs.d.mts +54 -1
- package/dist/components/Tabs.d.ts +54 -1
- package/dist/components/Tabs.js +7 -3
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TaskBoard.js +4 -4
- package/dist/components/TaskBoard.mjs +2 -2
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/Tooltip.mjs +3 -3
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +19 -0
- package/dist/components/Tree.d.ts +19 -0
- package/dist/components/Tree.js +4 -3
- package/dist/components/Tree.mjs +2 -1
- package/dist/components/TreeMapChart.js +6 -6
- package/dist/components/TreeMapChart.mjs +5 -5
- package/dist/components/TreeSelect.js +2 -2
- package/dist/components/TreeSelect.mjs +1 -1
- package/dist/components/Upload.js +3 -3
- package/dist/components/Upload.mjs +2 -2
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.js +3 -3
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/components/Watermark.js +2 -2
- package/dist/components/Watermark.mjs +1 -1
- package/dist/index.d.mts +32 -18
- package/dist/index.d.ts +32 -18
- package/dist/index.js +359 -210
- package/dist/index.mjs +243 -95
- package/dist/types-BT4oTXQ_.d.mts +31 -0
- package/dist/types-BT4oTXQ_.d.ts +31 -0
- package/package.json +13 -8
- package/dist/chunk-3NE6VZRY.js +0 -67
- package/dist/chunk-7YLVAZJQ.mjs +0 -47
- package/dist/chunk-A3PYG3D6.js +0 -107
- package/dist/chunk-B3LRUKXM.mjs +0 -65
- package/dist/chunk-B53R2U2R.mjs +0 -86
- package/dist/chunk-BKYE77F2.js +0 -171
- package/dist/chunk-CRSMECWE.mjs +0 -33
- package/dist/chunk-D5KYIQWB.mjs +0 -105
- package/dist/chunk-DUWAV47E.js +0 -42
- package/dist/chunk-DZGDCRBH.mjs +0 -30
- package/dist/chunk-EQWQXURG.js +0 -18
- package/dist/chunk-F6KHZNRS.js +0 -32
- package/dist/chunk-GJEWBALW.js +0 -38
- package/dist/chunk-GOUMB34F.mjs +0 -168
- package/dist/chunk-H36CWHUP.mjs +0 -30
- package/dist/chunk-HZHFFVP7.mjs +0 -63
- package/dist/chunk-IBYIPXIO.js +0 -88
- package/dist/chunk-IS467WAO.mjs +0 -39
- package/dist/chunk-MB7CJ32C.mjs +0 -878
- package/dist/chunk-OFBK35TK.mjs +0 -32
- package/dist/chunk-OWUGXP6K.js +0 -37
- package/dist/chunk-QBZODEIG.js +0 -49
- package/dist/chunk-R5P72RIT.js +0 -180
- package/dist/chunk-RARHRSPQ.js +0 -72
- package/dist/chunk-SIVJX7VU.mjs +0 -16
- package/dist/chunk-SMC2RV3V.mjs +0 -250
- package/dist/chunk-T5FAKJ6C.mjs +0 -49
- package/dist/chunk-XID6T65A.js +0 -163
- package/dist/chunk-XO6NSGV3.js +0 -884
- package/dist/chunk-Y3NDP56G.mjs +0 -174
- package/dist/chunk-Z6CRXABX.js +0 -88
- package/dist/chunk-ZIUOENTL.mjs +0 -85
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Textarea } from './chunk-7QZ4XT2P.mjs';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-GKJNQUTW.mjs';
|
|
3
3
|
import { Tag } from './chunk-TGKNEMD4.mjs';
|
|
4
4
|
import { Text } from './chunk-HLS4CHWX.mjs';
|
|
5
5
|
import { Avatar } from './chunk-FE7PEZTI.mjs';
|
|
@@ -178,7 +178,7 @@ var CommentThread = ({
|
|
|
178
178
|
] }),
|
|
179
179
|
/* @__PURE__ */ jsx("div", { className: "text-sm text-[var(--tiger-text-secondary,#4b5563)] leading-relaxed break-words mt-1.5 mb-2", children: node.content }),
|
|
180
180
|
actions.length > 0 ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center gap-1", children: actions }) : null,
|
|
181
|
-
replyingTo === node.id ? /* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-2 bg-[var(--tiger-surface-muted,#f9fafb)] p-3 rounded-
|
|
181
|
+
replyingTo === node.id ? /* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-2 bg-[var(--tiger-surface-muted,#f9fafb)] p-3 rounded-[var(--tiger-radius-md,0.5rem)]", children: [
|
|
182
182
|
/* @__PURE__ */ jsx(
|
|
183
183
|
Textarea,
|
|
184
184
|
{
|
|
@@ -249,6 +249,7 @@ var CommentThread = ({
|
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
251
|
className: classNames("tiger-comment-thread flex flex-col", className),
|
|
252
|
+
role: divProps.role ?? "feed",
|
|
252
253
|
"data-tiger-comment-thread": true,
|
|
253
254
|
"aria-label": divProps["aria-label"] ?? (divProps["aria-labelledby"] ? void 0 : "\u8BC4\u8BBA\u7EBF\u7A0B"),
|
|
254
255
|
...divProps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useState, useMemo, useCallback } from 'react';
|
|
2
|
-
import { getChartElementOpacity, classNames } from '@expcat/tigercat-core';
|
|
1
|
+
import { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
2
|
+
import { createChartPointerMoveScheduler, getChartElementOpacity, classNames } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
// src/hooks/useChartInteraction.ts
|
|
5
5
|
function useChartInteraction(options) {
|
|
@@ -19,6 +19,16 @@ function useChartInteraction(options) {
|
|
|
19
19
|
const [localHoveredIndex, setLocalHoveredIndex] = useState(null);
|
|
20
20
|
const [localSelectedIndex, setLocalSelectedIndex] = useState(null);
|
|
21
21
|
const [tooltipPosition, setTooltipPosition] = useState({ x: 0, y: 0 });
|
|
22
|
+
const tooltipSchedulerRef = useRef(null);
|
|
23
|
+
if (tooltipSchedulerRef.current === null) {
|
|
24
|
+
tooltipSchedulerRef.current = createChartPointerMoveScheduler({
|
|
25
|
+
onPositionChange: setTooltipPosition
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
const tooltipScheduler = tooltipSchedulerRef.current;
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
return () => tooltipScheduler.cancel();
|
|
31
|
+
}, [tooltipScheduler]);
|
|
22
32
|
const resolvedHoveredIndex = hoveredIndexProp !== void 0 ? hoveredIndexProp : localHoveredIndex;
|
|
23
33
|
const resolvedSelectedIndex = selectedIndexProp !== void 0 ? selectedIndexProp : localSelectedIndex;
|
|
24
34
|
const activeIndex = useMemo(() => {
|
|
@@ -49,17 +59,21 @@ function useChartInteraction(options) {
|
|
|
49
59
|
},
|
|
50
60
|
[hoverable, hoveredIndexProp, onHoveredIndexChange, callbacks, getData]
|
|
51
61
|
);
|
|
52
|
-
const handleMouseMove = useCallback(
|
|
53
|
-
|
|
54
|
-
|
|
62
|
+
const handleMouseMove = useCallback(
|
|
63
|
+
(event) => {
|
|
64
|
+
tooltipScheduler.schedule({ x: event.clientX, y: event.clientY });
|
|
65
|
+
},
|
|
66
|
+
[tooltipScheduler]
|
|
67
|
+
);
|
|
55
68
|
const handleMouseLeave = useCallback(() => {
|
|
69
|
+
tooltipScheduler.cancel();
|
|
56
70
|
if (!hoverable) return;
|
|
57
71
|
if (hoveredIndexProp === void 0) {
|
|
58
72
|
setLocalHoveredIndex(null);
|
|
59
73
|
}
|
|
60
74
|
onHoveredIndexChange?.(null);
|
|
61
75
|
callbacks?.onHover?.(null, null);
|
|
62
|
-
}, [hoverable, hoveredIndexProp, onHoveredIndexChange, callbacks]);
|
|
76
|
+
}, [hoverable, tooltipScheduler, hoveredIndexProp, onHoveredIndexChange, callbacks]);
|
|
63
77
|
const handleClick = useCallback(
|
|
64
78
|
(index) => {
|
|
65
79
|
if (!selectable) return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useState, useRef, useCallback, useMemo } from 'react';
|
|
2
|
-
import { classNames, resizableBaseClasses, defaultResizeHandles, getResizableHandleClasses, calculateResizeDelta, applyAspectRatio, clampDimensions } from '@expcat/tigercat-core';
|
|
1
|
+
import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
2
|
+
import { createDocumentDragSession, classNames, resizableBaseClasses, defaultResizeHandles, getResizableHandleClasses, calculateResizeDelta, applyAspectRatio, clampDimensions } from '@expcat/tigercat-core';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
// src/components/Resizable.tsx
|
|
@@ -24,11 +24,18 @@ var Resizable = ({
|
|
|
24
24
|
const [width, setWidth] = useState(defaultWidth);
|
|
25
25
|
const [height, setHeight] = useState(defaultHeight);
|
|
26
26
|
const [draggingHandle, setDraggingHandle] = useState(null);
|
|
27
|
+
const dragSessionRef = useRef(null);
|
|
27
28
|
const dragRef = useRef(null);
|
|
29
|
+
const cleanupDragSession = useCallback(() => {
|
|
30
|
+
dragSessionRef.current?.dispose();
|
|
31
|
+
dragSessionRef.current = null;
|
|
32
|
+
}, []);
|
|
33
|
+
useEffect(() => cleanupDragSession, [cleanupDragSession]);
|
|
28
34
|
const handleMouseDown = useCallback(
|
|
29
35
|
(handle, e) => {
|
|
30
36
|
if (disabled) return;
|
|
31
37
|
e.preventDefault();
|
|
38
|
+
cleanupDragSession();
|
|
32
39
|
const sw = width ?? 0;
|
|
33
40
|
const sh = height ?? 0;
|
|
34
41
|
dragRef.current = {
|
|
@@ -40,11 +47,11 @@ var Resizable = ({
|
|
|
40
47
|
};
|
|
41
48
|
setDraggingHandle(handle);
|
|
42
49
|
onResizeStart?.({ width: sw, height: sh, handle, deltaX: 0, deltaY: 0 });
|
|
43
|
-
const
|
|
50
|
+
const calculateResize = (currentX, currentY) => {
|
|
44
51
|
const drag = dragRef.current;
|
|
45
|
-
if (!drag) return;
|
|
46
|
-
const mouseDeltaX =
|
|
47
|
-
const mouseDeltaY =
|
|
52
|
+
if (!drag) return null;
|
|
53
|
+
const mouseDeltaX = currentX - drag.startX;
|
|
54
|
+
const mouseDeltaY = currentY - drag.startY;
|
|
48
55
|
const { deltaWidth, deltaHeight } = calculateResizeDelta(
|
|
49
56
|
drag.handle,
|
|
50
57
|
mouseDeltaX,
|
|
@@ -59,50 +66,33 @@ var Resizable = ({
|
|
|
59
66
|
newH = ar.height;
|
|
60
67
|
}
|
|
61
68
|
const clamped = clampDimensions(newW, newH, minWidth, minHeight, maxWidth, maxHeight);
|
|
62
|
-
|
|
63
|
-
setHeight(clamped.height);
|
|
64
|
-
onResize?.({
|
|
69
|
+
return {
|
|
65
70
|
width: clamped.width,
|
|
66
71
|
height: clamped.height,
|
|
67
72
|
handle: drag.handle,
|
|
68
73
|
deltaX: clamped.width - drag.startW,
|
|
69
74
|
deltaY: clamped.height - drag.startH
|
|
70
|
-
}
|
|
75
|
+
};
|
|
71
76
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
if (
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
const clamped = clampDimensions(newW, newH, minWidth, minHeight, maxWidth, maxHeight);
|
|
91
|
-
onResizeEnd?.({
|
|
92
|
-
width: clamped.width,
|
|
93
|
-
height: clamped.height,
|
|
94
|
-
handle: drag.handle,
|
|
95
|
-
deltaX: clamped.width - drag.startW,
|
|
96
|
-
deltaY: clamped.height - drag.startH
|
|
97
|
-
});
|
|
77
|
+
dragSessionRef.current = createDocumentDragSession({
|
|
78
|
+
startX: e.clientX,
|
|
79
|
+
startY: e.clientY,
|
|
80
|
+
ownerDocument: e.currentTarget.ownerDocument,
|
|
81
|
+
onMove: ({ currentX, currentY }) => {
|
|
82
|
+
const next = calculateResize(currentX, currentY);
|
|
83
|
+
if (!next) return;
|
|
84
|
+
setWidth(next.width);
|
|
85
|
+
setHeight(next.height);
|
|
86
|
+
onResize?.(next);
|
|
87
|
+
},
|
|
88
|
+
onEnd: ({ currentX, currentY }) => {
|
|
89
|
+
const next = calculateResize(currentX, currentY);
|
|
90
|
+
if (next) onResizeEnd?.(next);
|
|
91
|
+
dragRef.current = null;
|
|
92
|
+
dragSessionRef.current = null;
|
|
93
|
+
setDraggingHandle(null);
|
|
98
94
|
}
|
|
99
|
-
|
|
100
|
-
setDraggingHandle(null);
|
|
101
|
-
document.removeEventListener("mousemove", onMouseMove);
|
|
102
|
-
document.removeEventListener("mouseup", onMouseUp);
|
|
103
|
-
};
|
|
104
|
-
document.addEventListener("mousemove", onMouseMove);
|
|
105
|
-
document.addEventListener("mouseup", onMouseUp);
|
|
95
|
+
});
|
|
106
96
|
},
|
|
107
97
|
[
|
|
108
98
|
disabled,
|
|
@@ -114,6 +104,7 @@ var Resizable = ({
|
|
|
114
104
|
minHeight,
|
|
115
105
|
maxWidth,
|
|
116
106
|
maxHeight,
|
|
107
|
+
cleanupDragSession,
|
|
117
108
|
onResizeStart,
|
|
118
109
|
onResize,
|
|
119
110
|
onResizeEnd
|
|
@@ -17,13 +17,45 @@ var ConfigProvider = ({
|
|
|
17
17
|
children
|
|
18
18
|
}) => {
|
|
19
19
|
const parent = React.useContext(TigerConfigContext);
|
|
20
|
+
const isLazy = tigercatCore.isLazyTigerLocale(locale);
|
|
21
|
+
const immediateLocale = isLazy ? void 0 : tigercatCore.getImmediateTigerLocale(locale);
|
|
22
|
+
const [resolvedLocale, setResolvedLocale] = React.useState(
|
|
23
|
+
immediateLocale
|
|
24
|
+
);
|
|
25
|
+
const [localeLoading, setLocaleLoading] = React.useState(isLazy);
|
|
26
|
+
React.useEffect(() => {
|
|
27
|
+
if (!tigercatCore.isLazyTigerLocale(locale)) {
|
|
28
|
+
setResolvedLocale(tigercatCore.getImmediateTigerLocale(locale));
|
|
29
|
+
setLocaleLoading(false);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
let cancelled = false;
|
|
33
|
+
setLocaleLoading(true);
|
|
34
|
+
tigercatCore.resolveTigerLocale(locale).then(
|
|
35
|
+
(result) => {
|
|
36
|
+
if (!cancelled) {
|
|
37
|
+
setResolvedLocale(result);
|
|
38
|
+
setLocaleLoading(false);
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
() => {
|
|
42
|
+
if (!cancelled) {
|
|
43
|
+
setLocaleLoading(false);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
return () => {
|
|
48
|
+
cancelled = true;
|
|
49
|
+
};
|
|
50
|
+
}, [locale]);
|
|
20
51
|
const value = React.useMemo(() => {
|
|
21
52
|
return {
|
|
22
|
-
locale: tigercatCore.mergeTigerLocale(parent.locale,
|
|
53
|
+
locale: tigercatCore.mergeTigerLocale(parent.locale, resolvedLocale),
|
|
54
|
+
localeLoading: localeLoading || parent.localeLoading,
|
|
23
55
|
theme: theme ?? parent.theme,
|
|
24
56
|
colorScheme: colorScheme ?? parent.colorScheme
|
|
25
57
|
};
|
|
26
|
-
}, [parent.locale,
|
|
58
|
+
}, [parent.locale, resolvedLocale, localeLoading, parent.localeLoading, theme, parent.theme, colorScheme, parent.colorScheme]);
|
|
27
59
|
React.useEffect(() => {
|
|
28
60
|
if (value.theme) tigercatCore.ThemeManager.setTheme(value.theme);
|
|
29
61
|
}, [value.theme]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkXTV5JLLC_js = require('./chunk-XTV5JLLC.js');
|
|
4
|
+
var chunkWV5XHYW6_js = require('./chunk-WV5XHYW6.js');
|
|
5
5
|
var chunkAX5XRD2Q_js = require('./chunk-AX5XRD2Q.js');
|
|
6
|
-
var
|
|
6
|
+
var chunk36ATCHP4_js = require('./chunk-36ATCHP4.js');
|
|
7
7
|
var chunkE5GD3H7L_js = require('./chunk-E5GD3H7L.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkUKLVOR4E_js = require('./chunk-UKLVOR4E.js');
|
|
9
9
|
var chunk3QFHVAZT_js = require('./chunk-3QFHVAZT.js');
|
|
10
10
|
var react = require('react');
|
|
11
11
|
var tigercatCore = require('@expcat/tigercat-core');
|
|
@@ -54,9 +54,11 @@ var AreaChart = ({
|
|
|
54
54
|
legendMarkerSize = 10,
|
|
55
55
|
legendGap = 8,
|
|
56
56
|
showTooltip = true,
|
|
57
|
-
gradient =
|
|
57
|
+
gradient = true,
|
|
58
58
|
animated = false,
|
|
59
59
|
pointHollow = false,
|
|
60
|
+
strokeGradient = false,
|
|
61
|
+
pointGradient = false,
|
|
60
62
|
tooltipFormatter,
|
|
61
63
|
legendFormatter,
|
|
62
64
|
title,
|
|
@@ -89,7 +91,7 @@ var AreaChart = ({
|
|
|
89
91
|
handleLegendHover,
|
|
90
92
|
handleLegendLeave,
|
|
91
93
|
wrapperClasses
|
|
92
|
-
} =
|
|
94
|
+
} = chunkXTV5JLLC_js.useChartInteraction({
|
|
93
95
|
hoverable,
|
|
94
96
|
hoveredIndexProp,
|
|
95
97
|
selectable,
|
|
@@ -138,9 +140,14 @@ var AreaChart = ({
|
|
|
138
140
|
const shouldShowXAxis = showAxis && showXAxis;
|
|
139
141
|
const shouldShowYAxis = showAxis && showYAxis;
|
|
140
142
|
const palette = react.useMemo(() => tigercatCore.resolveChartPalette(colors), [colors]);
|
|
143
|
+
const seriesKeys = react.useMemo(
|
|
144
|
+
() => tigercatCore.buildChartSeriesKeys(resolvedSeries, { prefix: "area-" }),
|
|
145
|
+
[resolvedSeries]
|
|
146
|
+
);
|
|
141
147
|
const seriesData = react.useMemo(() => {
|
|
142
148
|
const stackedData = stacked ? tigercatCore.stackSeriesData(resolvedSeries.map((s) => s.data)) : null;
|
|
143
149
|
return resolvedSeries.map((s, seriesIndex) => {
|
|
150
|
+
const seriesKey = seriesKeys[seriesIndex];
|
|
144
151
|
const color = s.color ?? palette[seriesIndex % palette.length];
|
|
145
152
|
const seriesFillColor = s.fillColor ?? color;
|
|
146
153
|
const seriesFillOpacity = s.fillOpacity ?? fillOpacity;
|
|
@@ -181,6 +188,7 @@ var AreaChart = ({
|
|
|
181
188
|
return {
|
|
182
189
|
series: s,
|
|
183
190
|
seriesIndex,
|
|
191
|
+
seriesKey,
|
|
184
192
|
color,
|
|
185
193
|
fillColor: seriesFillColor,
|
|
186
194
|
fillOpacity: seriesFillOpacity,
|
|
@@ -198,6 +206,7 @@ var AreaChart = ({
|
|
|
198
206
|
});
|
|
199
207
|
}, [
|
|
200
208
|
resolvedSeries,
|
|
209
|
+
seriesKeys,
|
|
201
210
|
palette,
|
|
202
211
|
resolvedXScale,
|
|
203
212
|
resolvedYScale,
|
|
@@ -265,7 +274,7 @@ var AreaChart = ({
|
|
|
265
274
|
);
|
|
266
275
|
const reversedSeriesData = react.useMemo(() => [...seriesData].reverse(), [seriesData]);
|
|
267
276
|
const chart = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
268
|
-
|
|
277
|
+
chunkUKLVOR4E_js.ChartCanvas,
|
|
269
278
|
{
|
|
270
279
|
width,
|
|
271
280
|
height,
|
|
@@ -274,7 +283,7 @@ var AreaChart = ({
|
|
|
274
283
|
desc,
|
|
275
284
|
className: tigercatCore.classNames(className),
|
|
276
285
|
children: [
|
|
277
|
-
(gradient || animated) && /* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
286
|
+
(gradient || animated || strokeGradient || pointGradient) && /* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
278
287
|
animated && /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
|
|
279
288
|
.tiger-area-animated {
|
|
280
289
|
animation: tiger-area-draw 1.2s cubic-bezier(.4,0,.2,1) forwards;
|
|
@@ -287,7 +296,7 @@ var AreaChart = ({
|
|
|
287
296
|
gradient && reversedSeriesData.map((sd) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
288
297
|
"linearGradient",
|
|
289
298
|
{
|
|
290
|
-
id: `${gradientPrefix}-${sd.
|
|
299
|
+
id: `${gradientPrefix}-${sd.seriesKey}`,
|
|
291
300
|
x1: "0",
|
|
292
301
|
y1: "0",
|
|
293
302
|
x2: "0",
|
|
@@ -297,7 +306,44 @@ var AreaChart = ({
|
|
|
297
306
|
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: sd.fillColor, stopOpacity: 0.02 })
|
|
298
307
|
]
|
|
299
308
|
},
|
|
300
|
-
`area-grad-${sd.
|
|
309
|
+
`area-grad-${sd.seriesKey}`
|
|
310
|
+
)),
|
|
311
|
+
pointGradient && reversedSeriesData.map((sd) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
312
|
+
"radialGradient",
|
|
313
|
+
{
|
|
314
|
+
id: `${gradientPrefix}-point-${sd.seriesKey}`,
|
|
315
|
+
cx: "0.5",
|
|
316
|
+
cy: "0.5",
|
|
317
|
+
r: "0.5",
|
|
318
|
+
children: [
|
|
319
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: `color-mix(in oklab, ${sd.color} 100%, white 30%)` }),
|
|
320
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "70%", stopColor: sd.color }),
|
|
321
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
322
|
+
"stop",
|
|
323
|
+
{
|
|
324
|
+
offset: "100%",
|
|
325
|
+
stopColor: `color-mix(in oklab, ${sd.color} 100%, black 12%)`
|
|
326
|
+
}
|
|
327
|
+
)
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
`point-grad-${sd.seriesKey}`
|
|
331
|
+
)),
|
|
332
|
+
strokeGradient && reversedSeriesData.map((sd) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
333
|
+
"linearGradient",
|
|
334
|
+
{
|
|
335
|
+
id: `${gradientPrefix}-stroke-${sd.seriesKey}`,
|
|
336
|
+
x1: "0",
|
|
337
|
+
y1: "0",
|
|
338
|
+
x2: "1",
|
|
339
|
+
y2: "0",
|
|
340
|
+
children: [
|
|
341
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: `color-mix(in oklab, ${sd.color} 100%, white 12%)` }),
|
|
342
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "50%", stopColor: sd.color }),
|
|
343
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: `color-mix(in oklab, ${sd.color} 100%, black 8%)` })
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
`stroke-grad-${sd.seriesKey}`
|
|
301
347
|
))
|
|
302
348
|
] }),
|
|
303
349
|
showGrid && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -344,6 +390,7 @@ var AreaChart = ({
|
|
|
344
390
|
name: sd.series.name,
|
|
345
391
|
type: "area",
|
|
346
392
|
opacity: sd.opacity,
|
|
393
|
+
"data-series-key": sd.seriesKey,
|
|
347
394
|
className: tigercatCore.classNames(
|
|
348
395
|
sd.series.className,
|
|
349
396
|
(hoverable || selectable) && "cursor-pointer",
|
|
@@ -359,11 +406,12 @@ var AreaChart = ({
|
|
|
359
406
|
"path",
|
|
360
407
|
{
|
|
361
408
|
d: sd.areaPath,
|
|
362
|
-
fill: gradient ? `url(#${gradientPrefix}-${sd.
|
|
409
|
+
fill: gradient ? `url(#${gradientPrefix}-${sd.seriesKey})` : sd.fillColor,
|
|
363
410
|
fillOpacity: gradient ? 1 : sd.fillOpacity,
|
|
364
411
|
stroke: "none",
|
|
365
412
|
className: "transition-opacity duration-300",
|
|
366
|
-
"data-area-series": sd.seriesIndex
|
|
413
|
+
"data-area-series": sd.seriesIndex,
|
|
414
|
+
"data-series-key": sd.seriesKey
|
|
367
415
|
}
|
|
368
416
|
),
|
|
369
417
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -371,7 +419,7 @@ var AreaChart = ({
|
|
|
371
419
|
{
|
|
372
420
|
d: sd.linePath,
|
|
373
421
|
fill: "none",
|
|
374
|
-
stroke: sd.color,
|
|
422
|
+
stroke: strokeGradient ? `url(#${gradientPrefix}-stroke-${sd.seriesKey})` : sd.color,
|
|
375
423
|
strokeWidth: sd.strokeWidth,
|
|
376
424
|
strokeDasharray: animated ? sd.strokeDasharray ?? "1" : sd.strokeDasharray,
|
|
377
425
|
strokeDashoffset: animated ? "1" : void 0,
|
|
@@ -386,10 +434,10 @@ var AreaChart = ({
|
|
|
386
434
|
)
|
|
387
435
|
]
|
|
388
436
|
},
|
|
389
|
-
|
|
437
|
+
sd.seriesKey
|
|
390
438
|
)),
|
|
391
439
|
seriesData.map(
|
|
392
|
-
(sd) => sd.showPoints && /* @__PURE__ */ jsxRuntime.jsx("g", { opacity: sd.opacity, children: sd.points.map((point) => {
|
|
440
|
+
(sd) => sd.showPoints && /* @__PURE__ */ jsxRuntime.jsx("g", { opacity: sd.opacity, "data-series-key": sd.seriesKey, children: sd.points.map((point) => {
|
|
393
441
|
const isHovered = hoveredPointInfo?.seriesIndex === sd.seriesIndex && hoveredPointInfo?.pointIndex === point.pointIndex;
|
|
394
442
|
const hoverSize = sd.pointSize + 2;
|
|
395
443
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -398,12 +446,13 @@ var AreaChart = ({
|
|
|
398
446
|
cx: point.x,
|
|
399
447
|
cy: point.y,
|
|
400
448
|
r: isHovered ? hoverSize : sd.pointSize,
|
|
401
|
-
fill: sd.pointHollow ? "white" : sd.pointColor,
|
|
449
|
+
fill: sd.pointHollow ? "white" : pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
|
|
402
450
|
stroke: sd.pointHollow ? sd.pointColor : "none",
|
|
403
451
|
strokeWidth: sd.pointHollow ? 2 : 0,
|
|
404
|
-
className:
|
|
452
|
+
className: tigercatCore.linePointTransitionClasses,
|
|
405
453
|
style: isHovered ? { filter: `drop-shadow(0 0 4px ${sd.color})` } : void 0,
|
|
406
454
|
"data-point-index": point.pointIndex,
|
|
455
|
+
"data-series-key": sd.seriesKey,
|
|
407
456
|
onMouseEnter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
|
|
408
457
|
onMouseMove: handlePointMouseMove,
|
|
409
458
|
onMouseLeave: handlePointMouseLeave,
|
|
@@ -412,15 +461,15 @@ var AreaChart = ({
|
|
|
412
461
|
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
413
462
|
}
|
|
414
463
|
},
|
|
415
|
-
`point-${sd.
|
|
464
|
+
`point-${sd.seriesKey}-${point.pointIndex}`
|
|
416
465
|
);
|
|
417
|
-
}) }, `points-${sd.
|
|
466
|
+
}) }, `points-${sd.seriesKey}`)
|
|
418
467
|
)
|
|
419
468
|
]
|
|
420
469
|
}
|
|
421
470
|
);
|
|
422
471
|
const tooltip = showTooltip && /* @__PURE__ */ jsxRuntime.jsx(
|
|
423
|
-
|
|
472
|
+
chunk36ATCHP4_js.ChartTooltip,
|
|
424
473
|
{
|
|
425
474
|
content: tooltipContent,
|
|
426
475
|
visible: hoveredPointInfo !== null && tooltipContent !== "",
|
|
@@ -437,7 +486,7 @@ var AreaChart = ({
|
|
|
437
486
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: wrapperClasses, children: [
|
|
438
487
|
chart,
|
|
439
488
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
440
|
-
|
|
489
|
+
chunkWV5XHYW6_js.ChartLegend,
|
|
441
490
|
{
|
|
442
491
|
items: legendItems,
|
|
443
492
|
position: legendPosition,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkWVVXZKNI_js = require('./chunk-WVVXZKNI.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkGRXBGL6Q_js = require('./chunk-GRXBGL6Q.js');
|
|
5
5
|
var chunkVCULFIZ5_js = require('./chunk-VCULFIZ5.js');
|
|
6
6
|
var chunkUF3DXKCI_js = require('./chunk-UF3DXKCI.js');
|
|
7
7
|
var chunkCI2WHAT2_js = require('./chunk-CI2WHAT2.js');
|
|
@@ -85,7 +85,7 @@ var CommentThread = ({
|
|
|
85
85
|
const ACTION_BTN = `${BTN_BASE} text-gray-400 hover:text-gray-600 font-normal hover:bg-gray-50`;
|
|
86
86
|
const PRIMARY_BTN = `${BTN_BASE} text-[var(--tiger-primary,#2563eb)] hover:text-[var(--tiger-primary-hover,#1d4ed8)] font-medium hover:bg-[var(--tiger-primary,#2563eb)]/5`;
|
|
87
87
|
const renderActionButton = (label, key, onClick, active) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
88
|
-
|
|
88
|
+
chunkGRXBGL6Q_js.Button,
|
|
89
89
|
{
|
|
90
90
|
size: "sm",
|
|
91
91
|
variant: "ghost",
|
|
@@ -135,7 +135,7 @@ var CommentThread = ({
|
|
|
135
135
|
const actionKey = action.key ?? `${node.id}-action-${index}`;
|
|
136
136
|
actions.push(
|
|
137
137
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
138
|
-
|
|
138
|
+
chunkGRXBGL6Q_js.Button,
|
|
139
139
|
{
|
|
140
140
|
size: "sm",
|
|
141
141
|
variant: action.variant ?? "ghost",
|
|
@@ -180,7 +180,7 @@ var CommentThread = ({
|
|
|
180
180
|
] }),
|
|
181
181
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-[var(--tiger-text-secondary,#4b5563)] leading-relaxed break-words mt-1.5 mb-2", children: node.content }),
|
|
182
182
|
actions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1", children: actions }) : null,
|
|
183
|
-
replyingTo === node.id ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-3 space-y-2 bg-[var(--tiger-surface-muted,#f9fafb)] p-3 rounded-
|
|
183
|
+
replyingTo === node.id ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-3 space-y-2 bg-[var(--tiger-surface-muted,#f9fafb)] p-3 rounded-[var(--tiger-radius-md,0.5rem)]", children: [
|
|
184
184
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
185
185
|
chunkWVVXZKNI_js.Textarea,
|
|
186
186
|
{
|
|
@@ -193,7 +193,7 @@ var CommentThread = ({
|
|
|
193
193
|
),
|
|
194
194
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 justify-end", children: [
|
|
195
195
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
196
|
-
|
|
196
|
+
chunkGRXBGL6Q_js.Button,
|
|
197
197
|
{
|
|
198
198
|
size: "sm",
|
|
199
199
|
variant: "ghost",
|
|
@@ -204,11 +204,11 @@ var CommentThread = ({
|
|
|
204
204
|
children: cancelReplyText
|
|
205
205
|
}
|
|
206
206
|
),
|
|
207
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
207
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkGRXBGL6Q_js.Button, { size: "sm", variant: "primary", onClick: () => handleReplySubmit(node), children: replyButtonText })
|
|
208
208
|
] })
|
|
209
209
|
] }) : null,
|
|
210
210
|
hasChildren ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
211
|
-
|
|
211
|
+
chunkGRXBGL6Q_js.Button,
|
|
212
212
|
{
|
|
213
213
|
size: "sm",
|
|
214
214
|
variant: "ghost",
|
|
@@ -229,7 +229,7 @@ var CommentThread = ({
|
|
|
229
229
|
(child, index) => renderNode(child, depth + 1, index === visibleChildren.length - 1)
|
|
230
230
|
),
|
|
231
231
|
showLoadMoreBtn ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
232
|
-
|
|
232
|
+
chunkGRXBGL6Q_js.Button,
|
|
233
233
|
{
|
|
234
234
|
size: "sm",
|
|
235
235
|
variant: "ghost",
|
|
@@ -251,6 +251,7 @@ var CommentThread = ({
|
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
253
|
className: tigercatCore.classNames("tiger-comment-thread flex flex-col", className),
|
|
254
|
+
role: divProps.role ?? "feed",
|
|
254
255
|
"data-tiger-comment-thread": true,
|
|
255
256
|
"aria-label": divProps["aria-label"] ?? (divProps["aria-labelledby"] ? void 0 : "\u8BC4\u8BBA\u7EBF\u7A0B"),
|
|
256
257
|
...divProps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRef, useState, useMemo, useCallback } from 'react';
|
|
2
|
-
import { calculateVirtualRange, getVirtualTableContainerClasses, classNames, virtualTableHeaderClasses, virtualTableHeaderCellClasses, getVirtualRowKey, getVirtualTableRowClasses, virtualTableCellClasses, virtualTableEmptyClasses, virtualTableLoadingClasses } from '@expcat/tigercat-core';
|
|
2
|
+
import { calculateVirtualRange, getVirtualTableContainerClasses, getVirtualTableFixedInfo, classNames, virtualTableHeaderClasses, getVirtualTableFixedCellStyle, virtualTableHeaderCellClasses, getVirtualRowKey, getVirtualTableRowClasses, virtualTableCellClasses, virtualTableEmptyClasses, virtualTableLoadingClasses } from '@expcat/tigercat-core';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
// src/components/VirtualTable.tsx
|
|
@@ -43,6 +43,10 @@ var VirtualTable = ({
|
|
|
43
43
|
() => getVirtualTableContainerClasses(bordered, className),
|
|
44
44
|
[bordered, className]
|
|
45
45
|
);
|
|
46
|
+
const fixedInfo = useMemo(
|
|
47
|
+
() => getVirtualTableFixedInfo(columns),
|
|
48
|
+
[columns]
|
|
49
|
+
);
|
|
46
50
|
const bottomHeight = Math.max(0, range.totalHeight - range.end * rowHeight);
|
|
47
51
|
return /* @__PURE__ */ jsxs(
|
|
48
52
|
"div",
|
|
@@ -58,15 +62,19 @@ var VirtualTable = ({
|
|
|
58
62
|
"aria-rowcount": data.length,
|
|
59
63
|
children: [
|
|
60
64
|
/* @__PURE__ */ jsxs("table", { className: "w-full table-fixed", children: [
|
|
61
|
-
/* @__PURE__ */ jsx("thead", { className: stickyHeader ? virtualTableHeaderClasses : void 0, children: /* @__PURE__ */ jsx("tr", { children: columns.map((col) =>
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
/* @__PURE__ */ jsx("thead", { className: stickyHeader ? virtualTableHeaderClasses : void 0, children: /* @__PURE__ */ jsx("tr", { children: columns.map((col) => {
|
|
66
|
+
const widthStyle = col.width ? { width: typeof col.width === "number" ? `${col.width}px` : col.width } : {};
|
|
67
|
+
const stickyStyle = getVirtualTableFixedCellStyle(col.key, fixedInfo);
|
|
68
|
+
return /* @__PURE__ */ jsx(
|
|
69
|
+
"th",
|
|
70
|
+
{
|
|
71
|
+
className: virtualTableHeaderCellClasses,
|
|
72
|
+
style: { ...widthStyle, ...stickyStyle },
|
|
73
|
+
children: col.title ?? ""
|
|
74
|
+
},
|
|
75
|
+
col.key
|
|
76
|
+
);
|
|
77
|
+
}) }) }),
|
|
70
78
|
/* @__PURE__ */ jsxs("tbody", { children: [
|
|
71
79
|
/* @__PURE__ */ jsx("tr", { style: { height: `${range.offsetTop}px` }, "aria-hidden": true }),
|
|
72
80
|
visibleData.map((row, localIdx) => {
|
|
@@ -81,7 +89,15 @@ var VirtualTable = ({
|
|
|
81
89
|
onRowClick?.(row, globalIdx);
|
|
82
90
|
if (selectable) onSelect?.(key, row, globalIdx);
|
|
83
91
|
},
|
|
84
|
-
children: columns.map((col) => /* @__PURE__ */ jsx(
|
|
92
|
+
children: columns.map((col) => /* @__PURE__ */ jsx(
|
|
93
|
+
"td",
|
|
94
|
+
{
|
|
95
|
+
className: virtualTableCellClasses,
|
|
96
|
+
style: getVirtualTableFixedCellStyle(col.key, fixedInfo),
|
|
97
|
+
children: renderCell ? renderCell(row[col.key], row, col) : String(row[col.key] ?? "")
|
|
98
|
+
},
|
|
99
|
+
col.key
|
|
100
|
+
))
|
|
85
101
|
},
|
|
86
102
|
key
|
|
87
103
|
);
|