@expcat/tigercat-react 0.4.3 → 1.0.4
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-24RUEJWB.js +293 -0
- package/dist/{chunk-WGRYO5HX.mjs → chunk-2UQC3WOI.mjs} +63 -49
- package/dist/{chunk-V5NIFF2F.mjs → chunk-2WBPUW75.mjs} +7 -7
- package/dist/{chunk-QL6UEG3U.js → chunk-2XOFRGY6.js} +16 -3
- package/dist/chunk-32PAZTVF.mjs +123 -0
- package/dist/{chunk-IGE44BIS.mjs → chunk-34DLDOGP.mjs} +105 -19
- package/dist/chunk-34VGG7AK.mjs +40 -0
- package/dist/chunk-3EB42WFR.mjs +35 -0
- package/dist/{chunk-Z7SXK2KO.js → chunk-3JGOTJZM.js} +10 -7
- package/dist/{chunk-ENSLMM3L.mjs → chunk-3KMKMAE3.mjs} +15 -10
- package/dist/{chunk-SFALTVPS.js → chunk-3USEV7EV.js} +2 -2
- package/dist/chunk-45H3JEI3.js +155 -0
- package/dist/chunk-4APNERYR.js +212 -0
- package/dist/chunk-4GV7UQJJ.js +96 -0
- package/dist/chunk-4MKMM2OI.js +112 -0
- package/dist/{chunk-XKDWDANG.js → chunk-4Q4GADHJ.js} +7 -7
- package/dist/{chunk-QM4GOQDT.js → chunk-4QJZT6QK.js} +44 -6
- package/dist/chunk-4QQZ5H4V.mjs +213 -0
- package/dist/chunk-5CGXFQND.mjs +100 -0
- package/dist/chunk-5EVHVZG5.js +119 -0
- package/dist/{chunk-LXX2ZDJN.js → chunk-5MALB34H.js} +9 -9
- package/dist/chunk-5ZYZQXEM.mjs +167 -0
- package/dist/{chunk-PEGJ2KHC.js → chunk-65VXCN5N.js} +50 -68
- package/dist/{chunk-6PXNWGR5.mjs → chunk-6744DTEB.mjs} +9 -4
- package/dist/chunk-6E7FPBRR.mjs +192 -0
- package/dist/{chunk-NQFHS4W2.mjs → chunk-6KKUJT6B.mjs} +1 -1
- package/dist/{chunk-OXT5RN55.mjs → chunk-6P3JIUSI.mjs} +3 -3
- package/dist/chunk-73BP3WQN.mjs +210 -0
- package/dist/{chunk-77PE7OFK.mjs → chunk-7MASYF4S.mjs} +1 -1
- package/dist/{chunk-VCNZEQEB.mjs → chunk-7QZ4XT2P.mjs} +6 -5
- package/dist/chunk-7YLVAZJQ.mjs +47 -0
- package/dist/{chunk-NV3JUZ3N.js → chunk-AGR3FM3V.js} +4 -4
- package/dist/{chunk-EHYSER2Z.js → chunk-AHF6JE43.js} +7 -7
- package/dist/{chunk-MWH6FCSE.js → chunk-AJQPGAYL.js} +8 -8
- package/dist/{chunk-3PV2MDST.mjs → chunk-AMOH5AMN.mjs} +8 -8
- package/dist/chunk-AOZLBASY.mjs +38 -0
- package/dist/chunk-ASALMHFI.js +34 -0
- package/dist/chunk-AUW7DCXL.js +61 -0
- package/dist/{chunk-QFYS5QIZ.mjs → chunk-AYDTXJOR.mjs} +4 -4
- package/dist/{chunk-LLHUBM6E.mjs → chunk-B3MNIAM5.mjs} +4 -4
- package/dist/chunk-B53R2U2R.mjs +86 -0
- package/dist/chunk-BALJCZ62.mjs +147 -0
- package/dist/{chunk-F24IF2QL.js → chunk-BCNKTT5C.js} +14 -9
- package/dist/{chunk-JNLX47UL.mjs → chunk-BJ2GUKPU.mjs} +74 -36
- package/dist/chunk-BKYE77F2.js +171 -0
- package/dist/chunk-BR5OSUZT.mjs +55 -0
- package/dist/chunk-BZ3AXFLG.js +149 -0
- package/dist/{chunk-SOC74QA2.js → chunk-C6WJ4GQW.js} +8 -8
- package/dist/{chunk-LXQOQJMU.js → chunk-CDT3P2ZN.js} +5 -12
- package/dist/chunk-CHH7DWIO.js +121 -0
- package/dist/{chunk-3T7L3MHX.js → chunk-CKFE2B36.js} +76 -38
- package/dist/{chunk-QNRAM3CM.js → chunk-CMGI5WHZ.js} +3 -2
- package/dist/chunk-CQGAZ5JQ.js +61 -0
- package/dist/chunk-CRSMECWE.mjs +33 -0
- package/dist/{chunk-KAWE5LQZ.js → chunk-D6BHFGTN.js} +29 -0
- package/dist/chunk-DAR2BMMV.js +150 -0
- package/dist/{chunk-OCVQ3LOT.mjs → chunk-DKT2EYVM.mjs} +3 -5
- package/dist/chunk-DZGDCRBH.mjs +30 -0
- package/dist/{chunk-S4GNTA7V.mjs → chunk-EBLAM3YP.mjs} +2 -2
- package/dist/chunk-EEF26RBA.mjs +48 -0
- package/dist/{chunk-PJCY45UP.mjs → chunk-EHU3J4B2.mjs} +1 -1
- package/dist/{chunk-RKB2VUQO.js → chunk-EOYJLBFD.js} +24 -21
- package/dist/{chunk-DTQZPZSJ.mjs → chunk-EPN7QWP6.mjs} +16 -2
- package/dist/{chunk-M46L73HR.js → chunk-ET5YJELZ.js} +14 -14
- package/dist/{chunk-NTODO3Q3.mjs → chunk-EV6KRX6F.mjs} +38 -8
- package/dist/{chunk-GB5G2CJY.js → chunk-F2OF6XZ6.js} +36 -6
- package/dist/chunk-F6KHZNRS.js +32 -0
- package/dist/{chunk-URM7QDHH.js → chunk-F7H4ALKN.js} +2 -2
- package/dist/chunk-FHE4D56E.js +188 -0
- package/dist/chunk-FNK4ZATV.js +94 -0
- package/dist/{chunk-RGFSY3S2.mjs → chunk-FPURO6QB.mjs} +16 -3
- package/dist/chunk-GBTKAKUD.mjs +300 -0
- package/dist/chunk-GOUMB34F.mjs +168 -0
- package/dist/chunk-H3NLKNR4.mjs +192 -0
- package/dist/{chunk-6W6CRBBG.mjs → chunk-HCZA4LV6.mjs} +8 -5
- package/dist/{chunk-5CLXOFRZ.mjs → chunk-HLJQZUIY.mjs} +11 -10
- package/dist/chunk-HLS4CHWX.mjs +29 -0
- package/dist/{chunk-MTL2QUM3.mjs → chunk-HSHVLIEL.mjs} +2 -2
- package/dist/{chunk-XWNVBCJA.js → chunk-HU3VDVH6.js} +14 -15
- package/dist/{chunk-SW4I4X6E.mjs → chunk-HUCBHFSL.mjs} +24 -21
- package/dist/{chunk-Q57BYUUW.js → chunk-HWWNBCFB.js} +39 -8
- package/dist/{chunk-MDZDPGRK.mjs → chunk-HZ5Z5Y2J.mjs} +29 -10
- package/dist/chunk-HZHFFVP7.mjs +63 -0
- package/dist/chunk-I3CDTF4U.js +45 -0
- package/dist/chunk-I4SKKEU3.js +151 -0
- package/dist/{chunk-RCNTRSUA.mjs → chunk-INBSKSZG.mjs} +51 -69
- package/dist/chunk-IOHPB4CF.js +148 -0
- package/dist/{chunk-QIJG42YQ.mjs → chunk-IPLK4AIE.mjs} +3 -3
- package/dist/{chunk-XWRJVNB6.js → chunk-IWP22YTF.js} +104 -18
- package/dist/chunk-J3N24I7A.mjs +58 -0
- package/dist/chunk-JB33A4S6.js +125 -0
- package/dist/{chunk-DQNA57CA.js → chunk-JLM4LBUS.js} +5 -12
- package/dist/{chunk-TJFS44SH.js → chunk-JLRRXRZO.js} +2 -4
- package/dist/{chunk-GNMOOYHG.js → chunk-KNBNE74O.js} +11 -10
- package/dist/chunk-LODDAS62.js +173 -0
- package/dist/{chunk-LL6B4BHF.mjs → chunk-LPNHBHS2.mjs} +4 -4
- package/dist/{chunk-KBTFBEPE.mjs → chunk-MB7CJ32C.mjs} +153 -16
- package/dist/{chunk-IP3MAJSH.mjs → chunk-MQ5ZP5RW.mjs} +5 -12
- package/dist/{chunk-KMTERPME.mjs → chunk-MSHCPJIJ.mjs} +1 -1
- package/dist/chunk-N66WEQ6M.js +240 -0
- package/dist/{chunk-TDRINUMH.js → chunk-NZNSUKPT.js} +29 -10
- package/dist/{chunk-EFLIFXZH.js → chunk-P3XVLJYD.js} +15 -1
- package/dist/chunk-P6E3DILH.mjs +51 -0
- package/dist/{chunk-HPXLUJFJ.mjs → chunk-PN33UCWB.mjs} +3 -5
- package/dist/chunk-PNAWOJ32.js +54 -0
- package/dist/{chunk-72MWKUBC.js → chunk-PUYT62KC.js} +17 -4
- package/dist/chunk-Q4JMAQXJ.js +41 -0
- package/dist/chunk-QBZODEIG.js +49 -0
- package/dist/chunk-QHG7KJH6.js +302 -0
- package/dist/chunk-QIXQYLH5.js +44 -0
- package/dist/chunk-QO3GGQAV.mjs +148 -0
- package/dist/{chunk-RGZYYVQF.mjs → chunk-QPGL4YEO.mjs} +39 -11
- package/dist/{chunk-6IH5QPTR.mjs → chunk-QPOH6SOO.mjs} +44 -6
- package/dist/chunk-QVZTZHCJ.mjs +148 -0
- package/dist/{chunk-C7UKFKVY.js → chunk-QYGBT4NL.js} +40 -12
- package/dist/chunk-QYLNPHKG.mjs +87 -0
- package/dist/chunk-R3QWJ7GT.mjs +186 -0
- package/dist/chunk-R5P72RIT.js +180 -0
- package/dist/chunk-R5XY4EQL.js +56 -0
- package/dist/chunk-RRJTIKU6.mjs +238 -0
- package/dist/{chunk-ZFHTSHXS.mjs → chunk-RUROWRB5.mjs} +30 -1
- package/dist/{chunk-SAZ6V6DX.js → chunk-RVCUNEBU.js} +2 -4
- package/dist/chunk-RWZIWKZR.js +188 -0
- package/dist/{chunk-HB2UYJBY.js → chunk-RYW4CV7U.js} +61 -47
- package/dist/chunk-S5Y6UHAK.mjs +116 -0
- package/dist/{chunk-YV6Y7C43.js → chunk-SDWJSALH.js} +8 -3
- package/dist/chunk-SQK2CPSV.mjs +59 -0
- package/dist/{chunk-NJCKTIWB.mjs → chunk-SWF7GJYT.mjs} +6 -7
- package/dist/chunk-T5FAKJ6C.mjs +49 -0
- package/dist/chunk-TFPIRBHL.js +103 -0
- package/dist/chunk-TKZO5UBH.js +65 -0
- package/dist/chunk-TMQA74FM.js +215 -0
- package/dist/chunk-TQEIMVJD.mjs +94 -0
- package/dist/chunk-TYCRDHE6.mjs +143 -0
- package/dist/chunk-TZNTHABR.js +58 -0
- package/dist/chunk-UBKOITHT.mjs +142 -0
- package/dist/{chunk-RDIEZKV2.js → chunk-UEJHVPE2.js} +2 -2
- package/dist/chunk-UF3DXKCI.js +35 -0
- package/dist/chunk-UIO6O4MI.js +57 -0
- package/dist/chunk-UKGQ7256.js +13 -0
- package/dist/chunk-UPQGB5NQ.mjs +38 -0
- package/dist/chunk-UQMPEMY7.mjs +11 -0
- package/dist/chunk-V3P4ZAGL.mjs +110 -0
- package/dist/{chunk-TGPQ4KET.mjs → chunk-VAQDUVBP.mjs} +29 -2
- package/dist/chunk-VHHEP5G7.js +123 -0
- package/dist/{chunk-J3HKED4B.js → chunk-VHWTMNQN.js} +8 -8
- package/dist/{chunk-56KTCMRE.mjs → chunk-VONFSF4S.mjs} +5 -12
- package/dist/{chunk-JWFEJ4XG.js → chunk-WGPUGPYE.js} +2 -2
- package/dist/chunk-WIWTY74F.mjs +44 -0
- package/dist/chunk-WNLUUD5N.mjs +179 -0
- package/dist/{chunk-VCOBBJLP.js → chunk-WVVXZKNI.js} +5 -4
- package/dist/chunk-XEYP62CR.js +194 -0
- package/dist/chunk-XFJ5Q5PF.mjs +30 -0
- package/dist/{chunk-ZBVFM3GJ.js → chunk-XO6NSGV3.js} +152 -15
- package/dist/{chunk-FMF2G6BJ.js → chunk-XR6B2URW.js} +3 -3
- package/dist/chunk-Y3NDP56G.mjs +174 -0
- package/dist/chunk-YHFBPSMF.js +198 -0
- package/dist/chunk-YID7J6ZK.js +37 -0
- package/dist/chunk-YJ4W6DMX.mjs +186 -0
- package/dist/chunk-YLZEOXFS.mjs +116 -0
- package/dist/chunk-YPHOVEVU.mjs +118 -0
- package/dist/chunk-YXWRSEP5.mjs +286 -0
- package/dist/chunk-Z6CRXABX.js +88 -0
- package/dist/{chunk-24U2DQRP.mjs → chunk-ZD4BVRYG.mjs} +2 -1
- package/dist/chunk-ZRHDNGWO.js +46 -0
- package/dist/chunk-ZYJTHGQW.js +181 -0
- package/dist/components/ActivityFeed.js +5 -5
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/Affix.d.mts +11 -0
- package/dist/components/Affix.d.ts +11 -0
- package/dist/components/Affix.js +10 -0
- package/dist/components/Affix.mjs +1 -0
- package/dist/components/Alert.js +2 -2
- package/dist/components/Alert.mjs +1 -1
- package/dist/components/AreaChart.js +5 -5
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +16 -0
- package/dist/components/AutoComplete.d.ts +16 -0
- package/dist/components/AutoComplete.js +10 -0
- package/dist/components/AutoComplete.mjs +1 -0
- package/dist/components/AvatarGroup.d.mts +14 -0
- package/dist/components/AvatarGroup.d.ts +14 -0
- package/dist/components/AvatarGroup.js +14 -0
- package/dist/components/AvatarGroup.mjs +1 -0
- package/dist/components/Badge.js +2 -2
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/BarChart.js +5 -5
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Button.d.mts +2 -1
- package/dist/components/Button.d.ts +2 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Button.mjs +1 -1
- package/dist/components/ButtonGroup.d.mts +15 -0
- package/dist/components/ButtonGroup.d.ts +15 -0
- package/dist/components/ButtonGroup.js +18 -0
- package/dist/components/ButtonGroup.mjs +1 -0
- package/dist/components/Calendar.d.mts +15 -0
- package/dist/components/Calendar.d.ts +15 -0
- package/dist/components/Calendar.js +16 -0
- package/dist/components/Calendar.mjs +1 -0
- package/dist/components/Card.js +2 -2
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Cascader.d.mts +15 -0
- package/dist/components/Cascader.d.ts +15 -0
- package/dist/components/Cascader.js +10 -0
- package/dist/components/Cascader.mjs +1 -0
- package/dist/components/ChatWindow.js +7 -6
- package/dist/components/ChatWindow.mjs +5 -4
- package/dist/components/Checkbox.js +4 -3
- package/dist/components/Checkbox.mjs +3 -2
- package/dist/components/CheckboxGroup.js +4 -3
- package/dist/components/CheckboxGroup.mjs +2 -1
- package/dist/components/CodeEditor.d.mts +11 -0
- package/dist/components/CodeEditor.d.ts +11 -0
- package/dist/components/CodeEditor.js +16 -0
- package/dist/components/CodeEditor.mjs +1 -0
- package/dist/components/ColorPicker.d.mts +12 -0
- package/dist/components/ColorPicker.d.ts +12 -0
- package/dist/components/ColorPicker.js +10 -0
- package/dist/components/ColorPicker.mjs +1 -0
- package/dist/components/CommentThread.js +7 -6
- package/dist/components/CommentThread.mjs +5 -4
- package/dist/components/ConfigProvider.d.mts +5 -1
- package/dist/components/ConfigProvider.d.ts +5 -1
- package/dist/components/ConfigProvider.js +3 -3
- package/dist/components/ConfigProvider.mjs +1 -1
- package/dist/components/CropUpload.js +4 -4
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.js +7 -7
- package/dist/components/DataTableWithToolbar.mjs +5 -5
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/Descriptions.d.mts +3 -3
- package/dist/components/Descriptions.d.ts +3 -3
- package/dist/components/Descriptions.js +3 -3
- package/dist/components/Descriptions.mjs +1 -1
- package/dist/components/Divider.js +2 -2
- package/dist/components/Divider.mjs +1 -1
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Drawer.js +2 -2
- package/dist/components/Drawer.mjs +1 -1
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/DropdownItem.js +3 -3
- package/dist/components/DropdownItem.mjs +2 -2
- package/dist/components/Empty.d.mts +14 -0
- package/dist/components/Empty.d.ts +14 -0
- package/dist/components/Empty.js +10 -0
- package/dist/components/Empty.mjs +1 -0
- package/dist/components/FileManager.d.mts +29 -0
- package/dist/components/FileManager.d.ts +29 -0
- package/dist/components/FileManager.js +16 -0
- package/dist/components/FileManager.mjs +1 -0
- package/dist/components/FloatButton.d.mts +21 -0
- package/dist/components/FloatButton.d.ts +21 -0
- package/dist/components/FloatButton.js +14 -0
- package/dist/components/FloatButton.mjs +1 -0
- package/dist/components/Form.d.mts +24 -0
- package/dist/components/Form.d.ts +24 -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.d.mts +1 -1
- package/dist/components/FormWizard.d.ts +1 -1
- package/dist/components/FormWizard.js +5 -5
- package/dist/components/FormWizard.mjs +3 -3
- package/dist/components/FunnelChart.d.mts +15 -0
- package/dist/components/FunnelChart.d.ts +15 -0
- package/dist/components/FunnelChart.js +14 -0
- package/dist/components/FunnelChart.mjs +5 -0
- package/dist/components/GaugeChart.d.mts +9 -0
- package/dist/components/GaugeChart.d.ts +9 -0
- package/dist/components/GaugeChart.js +11 -0
- package/dist/components/GaugeChart.mjs +2 -0
- package/dist/components/HeatmapChart.d.mts +13 -0
- package/dist/components/HeatmapChart.d.ts +13 -0
- package/dist/components/HeatmapChart.js +13 -0
- package/dist/components/HeatmapChart.mjs +4 -0
- package/dist/components/Image.d.mts +4 -0
- package/dist/components/Image.d.ts +4 -0
- package/dist/components/Image.js +4 -4
- package/dist/components/Image.mjs +3 -3
- package/dist/components/ImageGroup.js +4 -4
- package/dist/components/ImageGroup.mjs +2 -2
- package/dist/components/ImagePreview.d.mts +3 -2
- package/dist/components/ImagePreview.d.ts +3 -2
- package/dist/components/ImagePreview.js +2 -2
- package/dist/components/ImagePreview.mjs +1 -1
- package/dist/components/ImageViewer.d.mts +20 -0
- package/dist/components/ImageViewer.d.ts +20 -0
- package/dist/components/ImageViewer.js +10 -0
- package/dist/components/ImageViewer.mjs +1 -0
- package/dist/components/InfiniteScroll.d.mts +20 -0
- package/dist/components/InfiniteScroll.d.ts +20 -0
- package/dist/components/InfiniteScroll.js +16 -0
- package/dist/components/InfiniteScroll.mjs +1 -0
- package/dist/components/Input.d.mts +5 -0
- package/dist/components/Input.d.ts +5 -0
- package/dist/components/Input.js +2 -2
- package/dist/components/Input.mjs +1 -1
- package/dist/components/InputGroup.d.mts +20 -0
- package/dist/components/InputGroup.d.ts +20 -0
- package/dist/components/InputGroup.js +22 -0
- package/dist/components/InputGroup.mjs +1 -0
- package/dist/components/InputNumber.js +2 -2
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.d.mts +46 -0
- package/dist/components/Kanban.d.ts +46 -0
- package/dist/components/Kanban.js +17 -0
- package/dist/components/Kanban.mjs +2 -0
- package/dist/components/LineChart.js +5 -5
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.d.mts +9 -1
- package/dist/components/List.d.ts +9 -1
- package/dist/components/List.js +2 -2
- package/dist/components/List.mjs +1 -1
- package/dist/components/Mentions.d.mts +18 -0
- package/dist/components/Mentions.d.ts +18 -0
- package/dist/components/Mentions.js +16 -0
- package/dist/components/Mentions.mjs +1 -0
- package/dist/components/Modal.d.mts +2 -2
- package/dist/components/Modal.d.ts +2 -2
- package/dist/components/Modal.js +3 -3
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/NotificationCenter.js +8 -8
- package/dist/components/NotificationCenter.mjs +6 -6
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/Popconfirm.d.mts +1 -1
- package/dist/components/Popconfirm.d.ts +1 -1
- package/dist/components/Popconfirm.js +3 -3
- package/dist/components/Popconfirm.mjs +2 -2
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Popover.js +3 -3
- package/dist/components/Popover.mjs +2 -2
- package/dist/components/PrintLayout.d.mts +22 -0
- package/dist/components/PrintLayout.d.ts +22 -0
- package/dist/components/PrintLayout.js +14 -0
- package/dist/components/PrintLayout.mjs +1 -0
- package/dist/components/Progress.js +2 -2
- package/dist/components/Progress.mjs +1 -1
- package/dist/components/QRCode.d.mts +16 -0
- package/dist/components/QRCode.d.ts +16 -0
- package/dist/components/QRCode.js +16 -0
- package/dist/components/QRCode.mjs +1 -0
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/Radio.js +4 -3
- package/dist/components/Radio.mjs +3 -2
- package/dist/components/RadioGroup.js +4 -3
- package/dist/components/RadioGroup.mjs +2 -1
- package/dist/components/Rate.d.mts +14 -0
- package/dist/components/Rate.d.ts +14 -0
- package/dist/components/Rate.js +10 -0
- package/dist/components/Rate.mjs +1 -0
- package/dist/components/Resizable.d.mts +13 -0
- package/dist/components/Resizable.d.ts +13 -0
- package/dist/components/Resizable.js +16 -0
- package/dist/components/Resizable.mjs +1 -0
- package/dist/components/Result.d.mts +14 -0
- package/dist/components/Result.d.ts +14 -0
- package/dist/components/Result.js +11 -0
- package/dist/components/Result.mjs +2 -0
- package/dist/components/RichTextEditor.d.mts +26 -0
- package/dist/components/RichTextEditor.d.ts +26 -0
- package/dist/components/RichTextEditor.js +17 -0
- package/dist/components/RichTextEditor.mjs +2 -0
- package/dist/components/ScatterChart.js +5 -5
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/Segmented.d.mts +12 -0
- package/dist/components/Segmented.d.ts +12 -0
- package/dist/components/Segmented.js +10 -0
- package/dist/components/Segmented.mjs +1 -0
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Splitter.d.mts +18 -0
- package/dist/components/Splitter.d.ts +18 -0
- package/dist/components/Splitter.js +16 -0
- package/dist/components/Splitter.mjs +1 -0
- package/dist/components/Statistic.d.mts +8 -0
- package/dist/components/Statistic.d.ts +8 -0
- package/dist/components/Statistic.js +10 -0
- package/dist/components/Statistic.mjs +1 -0
- package/dist/components/Stepper.d.mts +12 -0
- package/dist/components/Stepper.d.ts +12 -0
- package/dist/components/Stepper.js +10 -0
- package/dist/components/Stepper.mjs +1 -0
- package/dist/components/SunburstChart.d.mts +15 -0
- package/dist/components/SunburstChart.d.ts +15 -0
- package/dist/components/SunburstChart.js +14 -0
- package/dist/components/SunburstChart.mjs +5 -0
- package/dist/components/TabPane.js +2 -2
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.d.mts +13 -1
- package/dist/components/Table.d.ts +13 -1
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tabs.d.mts +7 -0
- package/dist/components/Tabs.d.ts +7 -0
- package/dist/components/Tabs.js +3 -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/Text.js +2 -2
- package/dist/components/Text.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/Tooltip.mjs +2 -2
- package/dist/components/Tour.d.mts +14 -0
- package/dist/components/Tour.d.ts +14 -0
- package/dist/components/Tour.js +11 -0
- package/dist/components/Tour.mjs +2 -0
- package/dist/components/Transfer.d.mts +12 -0
- package/dist/components/Transfer.d.ts +12 -0
- package/dist/components/Transfer.js +10 -0
- package/dist/components/Transfer.mjs +1 -0
- package/dist/components/Tree.d.mts +18 -0
- package/dist/components/Tree.d.ts +18 -0
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/TreeMapChart.d.mts +15 -0
- package/dist/components/TreeMapChart.d.ts +15 -0
- package/dist/components/TreeMapChart.js +14 -0
- package/dist/components/TreeMapChart.mjs +5 -0
- package/dist/components/TreeSelect.d.mts +12 -0
- package/dist/components/TreeSelect.d.ts +12 -0
- package/dist/components/TreeSelect.js +10 -0
- package/dist/components/TreeSelect.mjs +1 -0
- package/dist/components/Upload.js +3 -3
- package/dist/components/Upload.mjs +2 -2
- package/dist/components/VirtualList.d.mts +14 -0
- package/dist/components/VirtualList.d.ts +14 -0
- package/dist/components/VirtualList.js +10 -0
- package/dist/components/VirtualList.mjs +1 -0
- package/dist/components/VirtualTable.d.mts +26 -0
- package/dist/components/VirtualTable.d.ts +26 -0
- package/dist/components/VirtualTable.js +16 -0
- package/dist/components/VirtualTable.mjs +1 -0
- package/dist/components/Watermark.d.mts +9 -0
- package/dist/components/Watermark.d.ts +9 -0
- package/dist/components/Watermark.js +10 -0
- package/dist/components/Watermark.mjs +1 -0
- package/dist/index.d.mts +85 -2
- package/dist/index.d.ts +85 -2
- package/dist/index.js +504 -181
- package/dist/index.mjs +223 -64
- package/package.json +2 -2
- package/dist/chunk-3M2IG6IN.mjs +0 -34
- package/dist/chunk-4Y7YH32A.mjs +0 -157
- package/dist/chunk-FPNT7FV5.mjs +0 -44
- package/dist/chunk-FSDZJD7M.js +0 -159
- package/dist/chunk-I5TCE5E7.js +0 -32
- package/dist/chunk-LIV33O73.mjs +0 -26
- package/dist/chunk-O3W3OZ6V.js +0 -37
- package/dist/chunk-OYCMGKQ7.js +0 -111
- package/dist/chunk-RPTLVIBF.mjs +0 -109
- package/dist/chunk-RYWGELJ7.js +0 -46
- package/dist/chunk-SSQOCZ6O.js +0 -36
- package/dist/chunk-UZ7SBFQV.mjs +0 -35
- package/dist/chunk-VEGBO77D.mjs +0 -20
- package/dist/{chunk-2DW3WFZI.mjs → chunk-2LUDQBVY.mjs} +2 -2
- package/dist/{chunk-JQNKI2ZZ.js → chunk-C443YA4U.js} +2 -2
- package/dist/{chunk-QGCQAJGL.mjs → chunk-DEQWHJLQ.mjs} +2 -2
- package/dist/{chunk-N4EMXCRQ.mjs → chunk-FXX3GD35.mjs} +1 -1
- package/dist/{chunk-GASFXURT.js → chunk-KQJYSG23.js} +2 -2
- package/dist/{chunk-NEP3CS6S.js → chunk-OE6WTZES.js} +2 -2
- package/dist/{chunk-SH6O6LDJ.mjs → chunk-QQDKQLHJ.mjs} +1 -1
- package/dist/{chunk-F4Q5QMX2.js → chunk-TVJZB7ZC.js} +1 -1
- package/dist/{chunk-SM7RDJFB.js → chunk-VILZFNR7.js} +2 -2
- package/dist/{chunk-W4TFISRK.js → chunk-WK5QJO57.js} +1 -1
- package/dist/{chunk-CYZLGYY4.mjs → chunk-XNMSECO4.mjs} +2 -2
- package/dist/{chunk-763M6U5U.mjs → chunk-ZDL3GE3Q.mjs} +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,103 +1,262 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { TreeMapChart } from './chunk-H3NLKNR4.mjs';
|
|
2
|
+
export { TreeSelect } from './chunk-RRJTIKU6.mjs';
|
|
3
|
+
export { Upload } from './chunk-7MASYF4S.mjs';
|
|
4
|
+
export { VirtualList } from './chunk-SQK2CPSV.mjs';
|
|
5
|
+
export { VirtualTable } from './chunk-5CGXFQND.mjs';
|
|
6
|
+
export { Watermark } from './chunk-TQEIMVJD.mjs';
|
|
3
7
|
export { TimePicker } from './chunk-UE234MW4.mjs';
|
|
4
|
-
export { Tooltip } from './chunk-
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
8
|
+
export { Tooltip } from './chunk-MQ5ZP5RW.mjs';
|
|
9
|
+
export { Tour } from './chunk-TYCRDHE6.mjs';
|
|
10
|
+
export { Transfer } from './chunk-4QQZ5H4V.mjs';
|
|
11
|
+
export { Tree } from './chunk-QPOH6SOO.mjs';
|
|
7
12
|
export { SubMenu } from './chunk-SMC2RV3V.mjs';
|
|
13
|
+
export { SunburstChart } from './chunk-YJ4W6DMX.mjs';
|
|
8
14
|
export { Switch } from './chunk-7CAJK2ZK.mjs';
|
|
9
|
-
export {
|
|
10
|
-
export { RadioGroup } from './chunk-HPXLUJFJ.mjs';
|
|
11
|
-
export { ScatterChart } from './chunk-2DW3WFZI.mjs';
|
|
12
|
-
export { Sidebar } from './chunk-SHT4TU3T.mjs';
|
|
15
|
+
export { TaskBoard } from './chunk-EHU3J4B2.mjs';
|
|
13
16
|
export { Skeleton } from './chunk-5P5M656V.mjs';
|
|
14
17
|
export { Slider } from './chunk-NKKIJQMV.mjs';
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
18
|
+
export { Space } from './chunk-XJ7U2W7S.mjs';
|
|
19
|
+
export { Splitter } from './chunk-QVZTZHCJ.mjs';
|
|
20
|
+
export { Statistic } from './chunk-DZGDCRBH.mjs';
|
|
21
|
+
export { Stepper } from './chunk-HZHFFVP7.mjs';
|
|
22
|
+
export { Resizable } from './chunk-BALJCZ62.mjs';
|
|
23
|
+
export { Result } from './chunk-3EB42WFR.mjs';
|
|
24
|
+
export { RichTextEditor } from './chunk-GOUMB34F.mjs';
|
|
25
|
+
export { ScatterChart } from './chunk-2LUDQBVY.mjs';
|
|
26
|
+
export { Segmented } from './chunk-7YLVAZJQ.mjs';
|
|
27
|
+
export { Sidebar } from './chunk-SHT4TU3T.mjs';
|
|
28
|
+
export { Popover } from './chunk-VONFSF4S.mjs';
|
|
29
|
+
export { PrintLayout, PrintPageBreak } from './chunk-UPQGB5NQ.mjs';
|
|
30
|
+
export { Progress } from './chunk-5ZYZQXEM.mjs';
|
|
31
|
+
export { QRCode } from './chunk-J3N24I7A.mjs';
|
|
32
|
+
export { RadarChart } from './chunk-FXX3GD35.mjs';
|
|
33
|
+
export { Radio } from './chunk-6KKUJT6B.mjs';
|
|
34
|
+
export { RadioGroup } from './chunk-PN33UCWB.mjs';
|
|
35
|
+
export { Rate } from './chunk-V3P4ZAGL.mjs';
|
|
24
36
|
export { MenuItemGroup } from './chunk-OFBK35TK.mjs';
|
|
25
|
-
export { MenuItem } from './chunk-D5KYIQWB.mjs';
|
|
26
|
-
export { Menu, useMenuContext } from './chunk-ZIUOENTL.mjs';
|
|
27
37
|
export { Message, MessageContainer } from './chunk-IXJMMM26.mjs';
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
38
|
+
export { NotificationContainer, notification } from './chunk-EIMAQHCQ.mjs';
|
|
39
|
+
export { NotificationCenter } from './chunk-SWF7GJYT.mjs';
|
|
40
|
+
export { TabPane, Tabs, useTabsContext } from './chunk-6744DTEB.mjs';
|
|
41
|
+
export { Popconfirm } from './chunk-2WBPUW75.mjs';
|
|
42
|
+
import './chunk-AMOH5AMN.mjs';
|
|
32
43
|
export { Layout } from './chunk-7O2OQKVY.mjs';
|
|
33
|
-
export { LineChart } from './chunk-
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
44
|
+
export { LineChart } from './chunk-XNMSECO4.mjs';
|
|
45
|
+
export { List } from './chunk-VAQDUVBP.mjs';
|
|
46
|
+
export { Mentions } from './chunk-YPHOVEVU.mjs';
|
|
47
|
+
export { MenuItem } from './chunk-D5KYIQWB.mjs';
|
|
48
|
+
export { Menu, useMenuContext } from './chunk-ZIUOENTL.mjs';
|
|
49
|
+
export { ImageViewer } from './chunk-6E7FPBRR.mjs';
|
|
50
|
+
export { InfiniteScroll } from './chunk-BR5OSUZT.mjs';
|
|
51
|
+
export { InputGroup, InputGroupAddon } from './chunk-34VGG7AK.mjs';
|
|
52
|
+
export { InputNumber } from './chunk-INBSKSZG.mjs';
|
|
53
|
+
export { Kanban } from './chunk-YXWRSEP5.mjs';
|
|
54
|
+
export { FormWizard } from './chunk-QPGL4YEO.mjs';
|
|
39
55
|
export { Steps, StepsItem, useStepsContext } from './chunk-AUP3PMDD.mjs';
|
|
56
|
+
export { FunnelChart } from './chunk-R3QWJ7GT.mjs';
|
|
57
|
+
export { GaugeChart } from './chunk-UBKOITHT.mjs';
|
|
40
58
|
export { Header } from './chunk-HUMGEP7S.mjs';
|
|
59
|
+
export { HeatmapChart } from './chunk-Y3NDP56G.mjs';
|
|
41
60
|
export { Icon } from './chunk-TUA5PDRX.mjs';
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
61
|
+
export { Image } from './chunk-HCZA4LV6.mjs';
|
|
62
|
+
export { ImageGroup, ImageGroupContext } from './chunk-IPLK4AIE.mjs';
|
|
63
|
+
export { ImagePreview } from './chunk-HLJQZUIY.mjs';
|
|
64
|
+
export { DropdownItem } from './chunk-ZD4BVRYG.mjs';
|
|
65
|
+
export { Empty } from './chunk-WIWTY74F.mjs';
|
|
66
|
+
export { FileManager } from './chunk-QO3GGQAV.mjs';
|
|
67
|
+
export { FloatButton, FloatButtonGroup } from './chunk-QYLNPHKG.mjs';
|
|
68
|
+
export { Footer } from './chunk-SJ5RFU2O.mjs';
|
|
69
|
+
export { FormItem } from './chunk-FPURO6QB.mjs';
|
|
70
|
+
export { Form, useFormContext } from './chunk-34DLDOGP.mjs';
|
|
71
|
+
export { CropUpload } from './chunk-AYDTXJOR.mjs';
|
|
72
|
+
export { Modal } from './chunk-BJ2GUKPU.mjs';
|
|
44
73
|
export { ImageCropper } from './chunk-2EOXY2LP.mjs';
|
|
45
|
-
export { DataTableWithToolbar } from './chunk-
|
|
46
|
-
export { Table } from './chunk-
|
|
47
|
-
export { Select } from './chunk-
|
|
74
|
+
export { DataTableWithToolbar } from './chunk-B3MNIAM5.mjs';
|
|
75
|
+
export { Table } from './chunk-MB7CJ32C.mjs';
|
|
76
|
+
export { Select } from './chunk-HZ5Z5Y2J.mjs';
|
|
48
77
|
export { Pagination } from './chunk-NZLOLMT2.mjs';
|
|
49
|
-
export { DatePicker } from './chunk-
|
|
50
|
-
export { Descriptions } from './chunk-
|
|
51
|
-
export { Divider } from './chunk-
|
|
52
|
-
export { DonutChart } from './chunk-
|
|
53
|
-
export { PieChart } from './chunk-
|
|
54
|
-
export { Drawer } from './chunk-
|
|
55
|
-
export { Dropdown } from './chunk-
|
|
78
|
+
export { DatePicker } from './chunk-RUROWRB5.mjs';
|
|
79
|
+
export { Descriptions } from './chunk-EPN7QWP6.mjs';
|
|
80
|
+
export { Divider } from './chunk-AOZLBASY.mjs';
|
|
81
|
+
export { DonutChart } from './chunk-EBLAM3YP.mjs';
|
|
82
|
+
export { PieChart } from './chunk-QQDKQLHJ.mjs';
|
|
83
|
+
export { Drawer } from './chunk-HUCBHFSL.mjs';
|
|
84
|
+
export { Dropdown } from './chunk-2UQC3WOI.mjs';
|
|
56
85
|
export { DropdownMenu } from './chunk-SIVJX7VU.mjs';
|
|
57
86
|
import './chunk-WLIFEALE.mjs';
|
|
58
|
-
export { Code } from './chunk-OHIZYM65.mjs';
|
|
59
87
|
export { Col } from './chunk-IVGKPD2L.mjs';
|
|
60
88
|
export { Row } from './chunk-QAO5KANE.mjs';
|
|
61
89
|
export { CollapsePanel } from './chunk-JUWFVIDP.mjs';
|
|
62
90
|
export { Collapse, useCollapseContext } from './chunk-Y6557RWE.mjs';
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
91
|
+
export { ColorPicker } from './chunk-32PAZTVF.mjs';
|
|
92
|
+
export { CommentThread } from './chunk-6P3JIUSI.mjs';
|
|
93
|
+
export { ConfigProvider, useTigerConfig } from './chunk-CRSMECWE.mjs';
|
|
65
94
|
export { Container } from './chunk-472D2S4R.mjs';
|
|
66
95
|
export { Content } from './chunk-OQTPXPAP.mjs';
|
|
67
|
-
export { ChatWindow } from './chunk-
|
|
68
|
-
export { Input } from './chunk-
|
|
69
|
-
export { Textarea } from './chunk-
|
|
70
|
-
export { Checkbox } from './chunk-
|
|
71
|
-
export { CheckboxGroup } from './chunk-
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
96
|
+
export { ChatWindow } from './chunk-LPNHBHS2.mjs';
|
|
97
|
+
export { Input } from './chunk-WNLUUD5N.mjs';
|
|
98
|
+
export { Textarea } from './chunk-7QZ4XT2P.mjs';
|
|
99
|
+
export { Checkbox } from './chunk-MSHCPJIJ.mjs';
|
|
100
|
+
export { CheckboxGroup } from './chunk-DKT2EYVM.mjs';
|
|
101
|
+
export { useControlledState } from './chunk-UQMPEMY7.mjs';
|
|
102
|
+
export { Code } from './chunk-OHIZYM65.mjs';
|
|
103
|
+
export { CodeEditor } from './chunk-YLZEOXFS.mjs';
|
|
104
|
+
export { ButtonGroup } from './chunk-XFJ5Q5PF.mjs';
|
|
105
|
+
export { Calendar } from './chunk-S5Y6UHAK.mjs';
|
|
106
|
+
export { Carousel } from './chunk-QLHFXYWA.mjs';
|
|
107
|
+
export { Cascader } from './chunk-GBTKAKUD.mjs';
|
|
108
|
+
export { AvatarGroup } from './chunk-T5FAKJ6C.mjs';
|
|
109
|
+
export { BackTop } from './chunk-WAIXKROS.mjs';
|
|
110
|
+
export { Badge } from './chunk-EEF26RBA.mjs';
|
|
111
|
+
export { BarChart } from './chunk-DEQWHJLQ.mjs';
|
|
74
112
|
export { BreadcrumbItem } from './chunk-SQ7OL2X5.mjs';
|
|
75
113
|
export { Breadcrumb, useBreadcrumbContext } from './chunk-H36CWHUP.mjs';
|
|
76
|
-
export { Button } from './chunk-
|
|
77
|
-
export {
|
|
78
|
-
export { ActivityFeed } from './chunk-MTL2QUM3.mjs';
|
|
114
|
+
export { Button } from './chunk-3KMKMAE3.mjs';
|
|
115
|
+
export { ActivityFeed } from './chunk-HSHVLIEL.mjs';
|
|
79
116
|
export { Timeline } from './chunk-JVTAKNRO.mjs';
|
|
80
117
|
export { Link } from './chunk-XZVQ3PJS.mjs';
|
|
81
118
|
export { Loading } from './chunk-AVUXDQYO.mjs';
|
|
82
119
|
export { Tag } from './chunk-TGKNEMD4.mjs';
|
|
83
|
-
export { Text } from './chunk-
|
|
84
|
-
export { Card } from './chunk-
|
|
85
|
-
export {
|
|
120
|
+
export { Text } from './chunk-HLS4CHWX.mjs';
|
|
121
|
+
export { Card } from './chunk-P6E3DILH.mjs';
|
|
122
|
+
export { Avatar } from './chunk-FE7PEZTI.mjs';
|
|
123
|
+
export { Affix } from './chunk-B53R2U2R.mjs';
|
|
124
|
+
export { Alert } from './chunk-EV6KRX6F.mjs';
|
|
86
125
|
import './chunk-FLYJVZED.mjs';
|
|
87
126
|
export { AnchorLink } from './chunk-B3LRUKXM.mjs';
|
|
88
127
|
export { Anchor, useAnchorContext } from './chunk-FNDPGSEW.mjs';
|
|
89
|
-
export { AreaChart } from './chunk-
|
|
128
|
+
export { AreaChart } from './chunk-ZDL3GE3Q.mjs';
|
|
90
129
|
export { useChartInteraction } from './chunk-3CDAG4HD.mjs';
|
|
91
|
-
export { ChartCanvas } from './chunk-IS467WAO.mjs';
|
|
92
|
-
export { ChartGrid } from './chunk-677VSTPW.mjs';
|
|
93
130
|
export { ChartLegend } from './chunk-Z6F67MJE.mjs';
|
|
94
131
|
export { ChartSeries } from './chunk-SDLMB34Y.mjs';
|
|
95
132
|
export { ChartTooltip } from './chunk-LVC43YX2.mjs';
|
|
96
133
|
export { ChartAxis } from './chunk-RQSQXQN6.mjs';
|
|
97
|
-
export {
|
|
98
|
-
export {
|
|
134
|
+
export { ChartCanvas } from './chunk-IS467WAO.mjs';
|
|
135
|
+
export { ChartGrid } from './chunk-677VSTPW.mjs';
|
|
136
|
+
export { AutoComplete } from './chunk-73BP3WQN.mjs';
|
|
137
|
+
import { resolveDragConfig, createDragState, isDragEnabled, isValidDragHandle, handleDragStart, handleDragOver, handleDrop, handleDragEnd, reorderItems, moveItemBetweenContainers, isCrossContainerDrag, isSameContainerDrag } from '@expcat/tigercat-core';
|
|
99
138
|
export * from '@expcat/tigercat-core';
|
|
139
|
+
import { useMemo, useState, useCallback } from 'react';
|
|
140
|
+
|
|
141
|
+
function useDrag(options = {}) {
|
|
142
|
+
const config = useMemo(() => resolveDragConfig(options.config), [options.config]);
|
|
143
|
+
const containerId = options.containerId ?? "default";
|
|
144
|
+
const callbacks = useMemo(
|
|
145
|
+
() => ({
|
|
146
|
+
onDragStart: options.onDragStart,
|
|
147
|
+
onDragOver: options.onDragOver,
|
|
148
|
+
onDrop: options.onDrop,
|
|
149
|
+
onDragEnd: options.onDragEnd
|
|
150
|
+
}),
|
|
151
|
+
[options.onDragStart, options.onDragOver, options.onDrop, options.onDragEnd]
|
|
152
|
+
);
|
|
153
|
+
const [state, setState] = useState(createDragState);
|
|
154
|
+
const updateState = useCallback((updater) => {
|
|
155
|
+
setState((prev) => {
|
|
156
|
+
const next = { ...prev };
|
|
157
|
+
updater(next);
|
|
158
|
+
return next;
|
|
159
|
+
});
|
|
160
|
+
}, []);
|
|
161
|
+
const startDrag = useCallback(
|
|
162
|
+
(item, event) => {
|
|
163
|
+
if (!isDragEnabled(config)) return;
|
|
164
|
+
if (event) {
|
|
165
|
+
const target = event.target;
|
|
166
|
+
if (!isValidDragHandle(target, config)) return;
|
|
167
|
+
}
|
|
168
|
+
updateState((s) => handleDragStart(s, item, containerId, callbacks));
|
|
169
|
+
},
|
|
170
|
+
[config, containerId, callbacks, updateState]
|
|
171
|
+
);
|
|
172
|
+
const dragOver = useCallback(
|
|
173
|
+
(item, event) => {
|
|
174
|
+
if (event) event.preventDefault();
|
|
175
|
+
updateState((s) => handleDragOver(s, item, containerId, callbacks));
|
|
176
|
+
},
|
|
177
|
+
[containerId, callbacks, updateState]
|
|
178
|
+
);
|
|
179
|
+
const drop = useCallback(
|
|
180
|
+
(event) => {
|
|
181
|
+
if (event) event.preventDefault();
|
|
182
|
+
let result = null;
|
|
183
|
+
setState((prev) => {
|
|
184
|
+
const next = { ...prev };
|
|
185
|
+
result = handleDrop(next, callbacks);
|
|
186
|
+
return next;
|
|
187
|
+
});
|
|
188
|
+
return result;
|
|
189
|
+
},
|
|
190
|
+
[callbacks]
|
|
191
|
+
);
|
|
192
|
+
const endDrag = useCallback(
|
|
193
|
+
(cancelled = false) => {
|
|
194
|
+
updateState((s) => handleDragEnd(s, cancelled, callbacks));
|
|
195
|
+
},
|
|
196
|
+
[callbacks, updateState]
|
|
197
|
+
);
|
|
198
|
+
const reorder = useCallback(
|
|
199
|
+
(items) => {
|
|
200
|
+
if (!state.isDragging) return null;
|
|
201
|
+
return reorderItems(items, state.sourceIndex, state.targetIndex);
|
|
202
|
+
},
|
|
203
|
+
[state.isDragging, state.sourceIndex, state.targetIndex]
|
|
204
|
+
);
|
|
205
|
+
const moveBetween = useCallback(
|
|
206
|
+
(sourceItems, targetItems) => {
|
|
207
|
+
if (!state.isDragging) return null;
|
|
208
|
+
return moveItemBetweenContainers(
|
|
209
|
+
sourceItems,
|
|
210
|
+
targetItems,
|
|
211
|
+
state.sourceIndex,
|
|
212
|
+
state.targetIndex
|
|
213
|
+
);
|
|
214
|
+
},
|
|
215
|
+
[state.isDragging, state.sourceIndex, state.targetIndex]
|
|
216
|
+
);
|
|
217
|
+
const getDragItemProps = useCallback(
|
|
218
|
+
(item) => ({
|
|
219
|
+
draggable: !config.disabled,
|
|
220
|
+
"data-drag-id": item.id,
|
|
221
|
+
"data-drag-index": item.index,
|
|
222
|
+
className: state.isDragging && state.draggedItem?.id === item.id ? config.dragClass : void 0,
|
|
223
|
+
"aria-grabbed": state.isDragging && state.draggedItem?.id === item.id,
|
|
224
|
+
role: "listitem",
|
|
225
|
+
onDragStart: (e) => startDrag(item, e),
|
|
226
|
+
onDragOver: (e) => dragOver(item, e),
|
|
227
|
+
onDragEnd: () => endDrag(false)
|
|
228
|
+
}),
|
|
229
|
+
[config, state.isDragging, state.draggedItem, startDrag, dragOver, endDrag]
|
|
230
|
+
);
|
|
231
|
+
const getDropZoneProps = useCallback(
|
|
232
|
+
() => ({
|
|
233
|
+
"aria-dropeffect": state.isDragging ? "move" : "none",
|
|
234
|
+
onDragOver: (e) => {
|
|
235
|
+
e.preventDefault();
|
|
236
|
+
dragOver(null, e);
|
|
237
|
+
},
|
|
238
|
+
onDrop: (e) => drop(e)
|
|
239
|
+
}),
|
|
240
|
+
[state.isDragging, dragOver, drop]
|
|
241
|
+
);
|
|
242
|
+
return {
|
|
243
|
+
state,
|
|
244
|
+
isDragging: state.isDragging,
|
|
245
|
+
draggedItem: state.draggedItem,
|
|
246
|
+
startDrag,
|
|
247
|
+
dragOver,
|
|
248
|
+
drop,
|
|
249
|
+
endDrag,
|
|
250
|
+
reorder,
|
|
251
|
+
moveBetween,
|
|
252
|
+
isSameContainer: isSameContainerDrag(state),
|
|
253
|
+
isCrossContainer: isCrossContainerDrag(state),
|
|
254
|
+
getDragItemProps,
|
|
255
|
+
getDropZoneProps
|
|
256
|
+
};
|
|
257
|
+
}
|
|
100
258
|
|
|
259
|
+
// src/index.tsx
|
|
101
260
|
var version = "0.0.1";
|
|
102
261
|
|
|
103
|
-
export { version };
|
|
262
|
+
export { useDrag, version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-react",
|
|
3
|
-
"version": "0.4
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "React components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@expcat/tigercat-core": "0.4
|
|
45
|
+
"@expcat/tigercat-core": "1.0.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^25.0.3",
|
package/dist/chunk-3M2IG6IN.mjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { cardSizeClasses, classNames, getCardClasses, cardCoverWrapperClasses, cardCoverClasses, cardActionsClasses, cardFooterClasses, cardHeaderClasses } from '@expcat/tigercat-core';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
// src/components/Card.tsx
|
|
5
|
-
var Card = ({
|
|
6
|
-
variant = "default",
|
|
7
|
-
size = "md",
|
|
8
|
-
hoverable = false,
|
|
9
|
-
cover,
|
|
10
|
-
coverAlt = "Card cover image",
|
|
11
|
-
header,
|
|
12
|
-
footer,
|
|
13
|
-
actions,
|
|
14
|
-
className,
|
|
15
|
-
children,
|
|
16
|
-
...props
|
|
17
|
-
}) => {
|
|
18
|
-
const sectionSizeClass = cover ? cardSizeClasses[size] : void 0;
|
|
19
|
-
const cardClasses = classNames(
|
|
20
|
-
getCardClasses(variant, hoverable),
|
|
21
|
-
!cover && cardSizeClasses[size],
|
|
22
|
-
className
|
|
23
|
-
);
|
|
24
|
-
const getSectionClasses = (baseClasses) => classNames(baseClasses, sectionSizeClass);
|
|
25
|
-
return /* @__PURE__ */ jsxs("div", { className: cardClasses, ...props, children: [
|
|
26
|
-
cover && /* @__PURE__ */ jsx("div", { className: cardCoverWrapperClasses, children: /* @__PURE__ */ jsx("img", { src: cover, alt: coverAlt, className: cardCoverClasses }) }),
|
|
27
|
-
header != null && /* @__PURE__ */ jsx("div", { className: getSectionClasses(cardHeaderClasses), children: header }),
|
|
28
|
-
children != null && /* @__PURE__ */ jsx("div", { className: sectionSizeClass, children }),
|
|
29
|
-
footer != null && /* @__PURE__ */ jsx("div", { className: getSectionClasses(cardFooterClasses), children: footer }),
|
|
30
|
-
actions != null && /* @__PURE__ */ jsx("div", { className: getSectionClasses(classNames(cardActionsClasses, cardFooterClasses)), children: actions })
|
|
31
|
-
] });
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { Card };
|
package/dist/chunk-4Y7YH32A.mjs
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { clampPercentage, getStatusVariant, formatProgressText, classNames, progressLineInnerClasses, getProgressVariantClasses, progressStripedClasses, progressStripedAnimationClasses, progressLineBaseClasses, progressTrackBgClasses, progressLineSizeClasses, progressTextBaseClasses, progressTextSizeClasses, getProgressTextColorClasses, getCircleSize, calculateCirclePath, progressCircleTrackStrokeClasses, progressCircleTextClasses, progressCircleBaseClasses } from '@expcat/tigercat-core';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
// src/components/Progress.tsx
|
|
5
|
-
var Progress = ({
|
|
6
|
-
variant = "primary",
|
|
7
|
-
size = "md",
|
|
8
|
-
type = "line",
|
|
9
|
-
percentage = 0,
|
|
10
|
-
status = "normal",
|
|
11
|
-
showText,
|
|
12
|
-
text,
|
|
13
|
-
format,
|
|
14
|
-
striped = false,
|
|
15
|
-
stripedAnimation = false,
|
|
16
|
-
strokeWidth = 6,
|
|
17
|
-
width = "auto",
|
|
18
|
-
height,
|
|
19
|
-
className,
|
|
20
|
-
style,
|
|
21
|
-
"aria-label": ariaLabel,
|
|
22
|
-
"aria-labelledby": ariaLabelledby,
|
|
23
|
-
"aria-describedby": ariaDescribedby,
|
|
24
|
-
...props
|
|
25
|
-
}) => {
|
|
26
|
-
const clampedPercentage = clampPercentage(percentage);
|
|
27
|
-
const effectiveVariant = getStatusVariant(status) || variant;
|
|
28
|
-
const shouldShowText = showText ?? type === "line";
|
|
29
|
-
const displayText = shouldShowText ? formatProgressText(clampedPercentage, text, format) : "";
|
|
30
|
-
const resolvedAriaLabel = ariaLabel ?? (ariaLabelledby ? void 0 : `Progress: ${clampedPercentage}%`);
|
|
31
|
-
const ariaAttrs = {
|
|
32
|
-
role: "progressbar",
|
|
33
|
-
"aria-label": resolvedAriaLabel,
|
|
34
|
-
"aria-labelledby": ariaLabelledby,
|
|
35
|
-
"aria-describedby": ariaDescribedby,
|
|
36
|
-
"aria-valuenow": clampedPercentage,
|
|
37
|
-
"aria-valuemin": 0,
|
|
38
|
-
"aria-valuemax": 100
|
|
39
|
-
};
|
|
40
|
-
const renderLineProgress = () => {
|
|
41
|
-
const containerStyle = width !== "auto" ? { width: typeof width === "number" ? `${width}px` : width } : {};
|
|
42
|
-
return /* @__PURE__ */ jsxs(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
...props,
|
|
46
|
-
className: classNames("flex items-center w-full", className),
|
|
47
|
-
style: { ...style ?? {}, ...containerStyle },
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
className: classNames(
|
|
53
|
-
progressLineBaseClasses,
|
|
54
|
-
progressTrackBgClasses,
|
|
55
|
-
!height && progressLineSizeClasses[size]
|
|
56
|
-
),
|
|
57
|
-
style: { flex: 1, ...height ? { height: `${height}px` } : {} },
|
|
58
|
-
children: /* @__PURE__ */ jsx(
|
|
59
|
-
"div",
|
|
60
|
-
{
|
|
61
|
-
className: classNames(
|
|
62
|
-
progressLineInnerClasses,
|
|
63
|
-
getProgressVariantClasses(effectiveVariant),
|
|
64
|
-
striped && progressStripedClasses,
|
|
65
|
-
striped && stripedAnimation && progressStripedAnimationClasses
|
|
66
|
-
),
|
|
67
|
-
style: { width: `${clampedPercentage}%` },
|
|
68
|
-
...ariaAttrs
|
|
69
|
-
}
|
|
70
|
-
)
|
|
71
|
-
}
|
|
72
|
-
),
|
|
73
|
-
shouldShowText && /* @__PURE__ */ jsx(
|
|
74
|
-
"span",
|
|
75
|
-
{
|
|
76
|
-
className: classNames(
|
|
77
|
-
progressTextBaseClasses,
|
|
78
|
-
progressTextSizeClasses[size],
|
|
79
|
-
getProgressTextColorClasses(effectiveVariant)
|
|
80
|
-
),
|
|
81
|
-
children: displayText
|
|
82
|
-
}
|
|
83
|
-
)
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
);
|
|
87
|
-
};
|
|
88
|
-
const renderCircleProgress = () => {
|
|
89
|
-
const { width: svgWidth, height: svgHeight, radius, cx, cy } = getCircleSize(size, strokeWidth);
|
|
90
|
-
const { strokeDasharray, strokeDashoffset } = calculateCirclePath(radius, clampedPercentage);
|
|
91
|
-
return /* @__PURE__ */ jsxs(
|
|
92
|
-
"div",
|
|
93
|
-
{
|
|
94
|
-
...props,
|
|
95
|
-
className: classNames(progressCircleBaseClasses, className),
|
|
96
|
-
style: {
|
|
97
|
-
...style ?? {},
|
|
98
|
-
width: `${svgWidth}px`,
|
|
99
|
-
height: `${svgHeight}px`
|
|
100
|
-
},
|
|
101
|
-
children: [
|
|
102
|
-
/* @__PURE__ */ jsxs("svg", { width: svgWidth, height: svgHeight, viewBox: `0 0 ${svgWidth} ${svgHeight}`, children: [
|
|
103
|
-
/* @__PURE__ */ jsx(
|
|
104
|
-
"circle",
|
|
105
|
-
{
|
|
106
|
-
cx,
|
|
107
|
-
cy,
|
|
108
|
-
r: radius,
|
|
109
|
-
fill: "none",
|
|
110
|
-
stroke: "currentColor",
|
|
111
|
-
className: progressCircleTrackStrokeClasses,
|
|
112
|
-
strokeWidth
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
/* @__PURE__ */ jsx(
|
|
116
|
-
"circle",
|
|
117
|
-
{
|
|
118
|
-
cx,
|
|
119
|
-
cy,
|
|
120
|
-
r: radius,
|
|
121
|
-
fill: "none",
|
|
122
|
-
stroke: "currentColor",
|
|
123
|
-
className: getProgressVariantClasses(effectiveVariant).replace("bg-", "text-"),
|
|
124
|
-
strokeWidth,
|
|
125
|
-
strokeLinecap: "round",
|
|
126
|
-
strokeDasharray,
|
|
127
|
-
strokeDashoffset,
|
|
128
|
-
style: {
|
|
129
|
-
transition: "stroke-dashoffset 0.3s ease",
|
|
130
|
-
transform: "rotate(-90deg)",
|
|
131
|
-
transformOrigin: "center"
|
|
132
|
-
},
|
|
133
|
-
...ariaAttrs
|
|
134
|
-
}
|
|
135
|
-
)
|
|
136
|
-
] }),
|
|
137
|
-
shouldShowText && /* @__PURE__ */ jsx(
|
|
138
|
-
"div",
|
|
139
|
-
{
|
|
140
|
-
className: classNames(
|
|
141
|
-
progressCircleTextClasses,
|
|
142
|
-
progressTextSizeClasses[size],
|
|
143
|
-
"font-medium",
|
|
144
|
-
getProgressTextColorClasses(effectiveVariant)
|
|
145
|
-
),
|
|
146
|
-
children: displayText
|
|
147
|
-
}
|
|
148
|
-
)
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
);
|
|
152
|
-
};
|
|
153
|
-
if (type === "circle") return renderCircleProgress();
|
|
154
|
-
return renderLineProgress();
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
export { Progress };
|
package/dist/chunk-FPNT7FV5.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { shouldHideBadge, formatBadgeContent, classNames, badgeBaseClasses, getBadgeVariantClasses, dotSizeClasses, badgeSizeClasses, badgeTypeClasses, badgePositionClasses, badgeWrapperClasses } from '@expcat/tigercat-core';
|
|
2
|
-
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
// src/components/Badge.tsx
|
|
5
|
-
var Badge = ({
|
|
6
|
-
variant = "danger",
|
|
7
|
-
size = "md",
|
|
8
|
-
type = "number",
|
|
9
|
-
content,
|
|
10
|
-
max = 99,
|
|
11
|
-
showZero = false,
|
|
12
|
-
position = "top-right",
|
|
13
|
-
standalone = true,
|
|
14
|
-
className,
|
|
15
|
-
children,
|
|
16
|
-
["aria-label"]: ariaLabelProp,
|
|
17
|
-
...props
|
|
18
|
-
}) => {
|
|
19
|
-
const isDot = type === "dot";
|
|
20
|
-
const isHidden = shouldHideBadge(content, type, showZero);
|
|
21
|
-
const displayContent = formatBadgeContent(content, max, showZero);
|
|
22
|
-
const badgeClasses = classNames(
|
|
23
|
-
badgeBaseClasses,
|
|
24
|
-
getBadgeVariantClasses(variant),
|
|
25
|
-
isDot ? dotSizeClasses[size] : badgeSizeClasses[size],
|
|
26
|
-
badgeTypeClasses[type],
|
|
27
|
-
!standalone && badgePositionClasses[position],
|
|
28
|
-
className
|
|
29
|
-
);
|
|
30
|
-
const computedAriaLabel = ariaLabelProp ?? (isDot ? "notification" : type === "number" ? `${displayContent} notifications` : `${displayContent ?? ""}`);
|
|
31
|
-
if (isHidden) {
|
|
32
|
-
return standalone ? null : /* @__PURE__ */ jsx(Fragment, { children });
|
|
33
|
-
}
|
|
34
|
-
const badgeElement = /* @__PURE__ */ jsx("span", { ...props, className: badgeClasses, role: "status", "aria-label": computedAriaLabel, children: !isDot && displayContent });
|
|
35
|
-
if (standalone) {
|
|
36
|
-
return badgeElement;
|
|
37
|
-
}
|
|
38
|
-
return /* @__PURE__ */ jsxs("span", { className: badgeWrapperClasses, children: [
|
|
39
|
-
children,
|
|
40
|
-
badgeElement
|
|
41
|
-
] });
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export { Badge };
|