@expcat/tigercat-vue 0.3.0 → 0.3.70
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-WO332QT2.js → chunk-27T3QDSF.js} +3 -3
- package/dist/{chunk-YLP24JN3.mjs → chunk-2BNQGU7E.mjs} +19 -22
- package/dist/{chunk-CCI3RIZU.js → chunk-2KDSHEZT.js} +9 -7
- package/dist/{chunk-NF7ADPEN.mjs → chunk-2R5HISQA.mjs} +19 -28
- package/dist/{chunk-74P7RUAY.mjs → chunk-2SCIJ2RW.mjs} +9 -11
- package/dist/{chunk-KQOJTNUP.js → chunk-2YFXJUBT.js} +19 -22
- package/dist/{chunk-ENBDEPNV.mjs → chunk-327O6FN7.mjs} +67 -74
- package/dist/{chunk-UAMYOMEU.mjs → chunk-37WD7WPC.mjs} +6 -8
- package/dist/{chunk-FKON56SN.mjs → chunk-3AM6WEUE.mjs} +14 -27
- package/dist/{chunk-LNQYYW3E.mjs → chunk-3G4VPV4D.mjs} +9 -7
- package/dist/{chunk-ZFDUZQML.js → chunk-3L36R3UN.js} +107 -45
- package/dist/{chunk-CGJTYURK.js → chunk-3PQIZBT5.js} +54 -91
- package/dist/{chunk-JHOTXOGL.js → chunk-3QV2D54H.js} +18 -19
- package/dist/chunk-3WM7WK7E.js +122 -0
- package/dist/chunk-3ZHQJ4W6.mjs +119 -0
- package/dist/{chunk-X5BEVY5O.mjs → chunk-46DEQQMB.mjs} +14 -15
- package/dist/{chunk-QVMU7OT7.mjs → chunk-4L5UYIV6.mjs} +1 -1
- package/dist/{chunk-CDZHYIXG.js → chunk-4NSRGKRB.js} +132 -66
- package/dist/chunk-4YHOD7LT.mjs +82 -0
- package/dist/chunk-53M2BTB5.mjs +22 -0
- package/dist/{chunk-CKC7W6BL.mjs → chunk-5BAN4GHQ.mjs} +1 -1
- package/dist/{chunk-TTZDVYGX.mjs → chunk-5XY7MXWC.mjs} +57 -39
- package/dist/{chunk-SF63KE5T.js → chunk-6FXYRDYH.js} +6 -13
- package/dist/{chunk-UBMNR3BJ.js → chunk-6MJBCXPO.js} +47 -48
- package/dist/{chunk-6SC33HJA.js → chunk-6PZZNM3S.js} +2 -9
- package/dist/{chunk-BWKN2DGI.mjs → chunk-6V7XCCXN.mjs} +3 -24
- package/dist/chunk-7AFJ7TKW.js +266 -0
- package/dist/{chunk-CJYWTPAS.mjs → chunk-7FCHU5KV.mjs} +28 -69
- package/dist/{chunk-2EMI5OHM.mjs → chunk-7J44XQKW.mjs} +2 -9
- package/dist/chunk-7LUATGJU.mjs +171 -0
- package/dist/chunk-7RRA3TIG.mjs +31 -0
- package/dist/{chunk-L44HKVK5.js → chunk-7TGLZQV5.js} +6 -8
- package/dist/{chunk-BCMEJAC7.mjs → chunk-7UU4PULK.mjs} +15 -35
- package/dist/{chunk-E3FDI3Y5.js → chunk-AGAJJYP2.js} +46 -120
- package/dist/{chunk-ROM2NNJX.mjs → chunk-AO4QQVBB.mjs} +7 -7
- package/dist/chunk-ATGOHL6L.mjs +251 -0
- package/dist/{chunk-QIS3MLLN.js → chunk-ATOLZW76.js} +56 -38
- package/dist/{chunk-DONDDWQU.js → chunk-B6ER2B2D.js} +7 -4
- package/dist/chunk-BFNHRBWN.js +113 -0
- package/dist/{chunk-Y4KDPUTV.mjs → chunk-BMW2Z3G3.mjs} +1 -1
- package/dist/{chunk-5CGS2CPE.mjs → chunk-BQEVLY2O.mjs} +9 -32
- package/dist/{chunk-DCW4EFNZ.mjs → chunk-BS45PHVI.mjs} +124 -46
- package/dist/{chunk-BR7FIC54.js → chunk-CEAMHLIL.js} +78 -109
- package/dist/{chunk-3JANYZE3.js → chunk-CKXZONMO.js} +14 -15
- package/dist/{chunk-U5ZMB6RE.mjs → chunk-COCECPMG.mjs} +1 -15
- package/dist/{chunk-NTXRWISS.js → chunk-CODQKVQV.js} +15 -21
- package/dist/{chunk-JUIOGBBB.mjs → chunk-D5CR2P7K.mjs} +49 -50
- package/dist/{chunk-YMIO4A2U.mjs → chunk-D6MR5YRE.mjs} +11 -17
- package/dist/{chunk-HRTL6ZTJ.mjs → chunk-D7VMY6WX.mjs} +7 -7
- package/dist/{chunk-DPWYCNNS.mjs → chunk-DATFV22V.mjs} +107 -45
- package/dist/{chunk-2ONL76L4.js → chunk-DELTFEEJ.js} +11 -17
- package/dist/{chunk-ZK26QLSW.js → chunk-DN5GU5PC.js} +1 -37
- package/dist/{chunk-264DR3I2.mjs → chunk-DU2NXX75.mjs} +12 -10
- package/dist/{chunk-I7GSAVM7.js → chunk-DUQ7Q2GO.js} +2 -23
- package/dist/{chunk-OVFGETP7.mjs → chunk-DVFDA2P2.mjs} +16 -22
- package/dist/{chunk-4DCSGWCJ.js → chunk-EAMHOEAJ.js} +16 -16
- package/dist/{chunk-SUZB7IAA.js → chunk-EBQ4WSQS.js} +2 -2
- package/dist/chunk-EJCHNSVG.mjs +41 -0
- package/dist/chunk-ENVHCXM5.js +287 -0
- package/dist/{chunk-V2F7IOSD.mjs → chunk-EVOLGCGW.mjs} +20 -36
- package/dist/chunk-EZZG57TK.js +44 -0
- package/dist/{chunk-FA2BQGLO.js → chunk-F5AI7CPC.js} +20 -36
- package/dist/{chunk-U5VOJ4G2.js → chunk-FC7RXQTM.js} +2 -15
- package/dist/{chunk-4QIOLPLB.mjs → chunk-FDYZ7NTQ.mjs} +33 -56
- package/dist/{chunk-JFZDIY7D.js → chunk-FLAJKB2O.js} +12 -10
- package/dist/{chunk-7WLOYIVN.mjs → chunk-GALASVSG.mjs} +31 -75
- package/dist/{chunk-LFJQD3ZJ.js → chunk-GCKACSWD.js} +124 -46
- package/dist/chunk-GNKXBRXH.js +189 -0
- package/dist/{chunk-SZD2UCM5.mjs → chunk-GQPSQJ5I.mjs} +7 -14
- package/dist/{chunk-3VTOJCER.js → chunk-GWJSBFLF.js} +7 -7
- package/dist/{chunk-Y4W6MMYO.js → chunk-HNQZ5JRB.js} +30 -74
- package/dist/chunk-HTMTOXUO.mjs +186 -0
- package/dist/{chunk-H4NZLUJ4.mjs → chunk-HVVPFQW2.mjs} +14 -64
- package/dist/{chunk-SUM4V2WN.mjs → chunk-I2B4CO22.mjs} +22 -26
- package/dist/{chunk-IQA52MC4.js → chunk-I2BZURVP.js} +9 -11
- package/dist/{chunk-QKKXUTDF.js → chunk-I4LQXUMW.js} +6 -13
- package/dist/{chunk-WSMKQUNB.mjs → chunk-IGSAOYXD.mjs} +14 -15
- package/dist/{chunk-Y4QBDL7S.mjs → chunk-IIU6FINW.mjs} +180 -87
- package/dist/{chunk-6NWG6SG3.mjs → chunk-J5J4UYGP.mjs} +4 -24
- package/dist/chunk-K2U3FEL7.js +373 -0
- package/dist/chunk-K6HDRMPN.js +197 -0
- package/dist/{chunk-JYGZCLJH.js → chunk-KCJPJQIS.js} +19 -19
- package/dist/{chunk-P2DJR6YG.js → chunk-KUJ75OHX.js} +28 -69
- package/dist/{chunk-HSXPJCRK.js → chunk-KVZLGW45.js} +15 -15
- package/dist/{chunk-YLILPFDU.js → chunk-LAAPLTP3.js} +2 -5
- package/dist/{chunk-ZCPYALXT.mjs → chunk-LBGTABIU.mjs} +3 -3
- package/dist/chunk-LDCTSE6Y.mjs +60 -0
- package/dist/{chunk-LQYBXAL4.mjs → chunk-LDN2MZEU.mjs} +132 -66
- package/dist/{chunk-OTTMBYP2.mjs → chunk-LLK2OK3K.mjs} +5 -5
- package/dist/chunk-LNWRZKX2.js +64 -0
- package/dist/{chunk-74PW5YAR.mjs → chunk-LRHJZP2C.mjs} +20 -19
- package/dist/chunk-M7EBWJZ5.mjs +41 -0
- package/dist/chunk-MB7W46IY.mjs +193 -0
- package/dist/{chunk-TT2SIKZ2.mjs → chunk-MJ7RGL34.mjs} +7 -6
- package/dist/{chunk-E6LSCXQM.mjs → chunk-MKBIVETW.mjs} +7 -14
- package/dist/chunk-MMQ34S5M.mjs +263 -0
- package/dist/chunk-MVIHUPCX.js +62 -0
- package/dist/{chunk-EK7Z226S.mjs → chunk-MYF3ZRV3.mjs} +7 -7
- package/dist/{chunk-36KWP3NX.js → chunk-N3T6BQGK.js} +2 -2
- package/dist/{chunk-AYNQTRO4.mjs → chunk-ND4XDRYR.mjs} +60 -84
- package/dist/{chunk-3G2QV4TL.js → chunk-NGW5UMAN.js} +19 -19
- package/dist/{chunk-XMBCYUDD.mjs → chunk-NHCCPMLC.mjs} +47 -121
- package/dist/{chunk-5XW532JA.js → chunk-NOTJRUAK.js} +14 -34
- package/dist/{chunk-UYWPZDRU.mjs → chunk-NTUGEHEI.mjs} +4 -4
- package/dist/{chunk-CQJQJERX.mjs → chunk-NV6GZPJP.mjs} +4 -11
- package/dist/{chunk-WEFTEDUS.js → chunk-O2SABM5H.js} +13 -26
- package/dist/{chunk-42ILM3BR.js → chunk-OO5UMN5M.js} +131 -155
- package/dist/chunk-OOKS4KMK.js +34 -0
- package/dist/{chunk-YZM7I5AM.mjs → chunk-P2ASDGNV.mjs} +120 -35
- package/dist/{chunk-25P4HFCO.mjs → chunk-P47EXOAW.mjs} +8 -17
- package/dist/{chunk-ZLMJ3SZQ.js → chunk-PCGHIFIJ.js} +3 -4
- package/dist/{chunk-HOJP5HTJ.js → chunk-PICYE2CM.js} +12 -45
- package/dist/chunk-PNKVD2UK.js +26 -0
- package/dist/{chunk-F6TZCXCL.js → chunk-PQMZ3YN3.js} +13 -63
- package/dist/{chunk-VWPHAKBA.mjs → chunk-PVPLDEC5.mjs} +7 -14
- package/dist/{chunk-6E73XACM.mjs → chunk-Q6OYCTQO.mjs} +1 -37
- package/dist/{chunk-L5QECL5P.mjs → chunk-QERCB3HM.mjs} +36 -55
- package/dist/{chunk-4FUWM7WP.js → chunk-QK3KKTYV.js} +21 -25
- package/dist/{chunk-4VHNAGSP.js → chunk-QLK4ZC2B.js} +8 -8
- package/dist/chunk-QY6PYAJA.js +174 -0
- package/dist/{chunk-I3Z247PO.js → chunk-R77ZKZ5F.js} +19 -18
- package/dist/{chunk-3ZXOARGD.mjs → chunk-R7DMRLHV.mjs} +10 -64
- package/dist/{chunk-6AZFL3WJ.js → chunk-R7S7O3YU.js} +180 -87
- package/dist/{chunk-XS7OPLPB.mjs → chunk-RKPYLBPU.mjs} +15 -15
- package/dist/{chunk-HXHMGLWX.js → chunk-ROKUXJBS.js} +9 -63
- package/dist/{chunk-IE57VDN4.js → chunk-RY2I56HB.js} +11 -38
- package/dist/{chunk-3F2QHERR.js → chunk-S4GFEADD.js} +36 -55
- package/dist/{chunk-GGV4STQD.js → chunk-SKV2HHBC.js} +3 -23
- package/dist/{chunk-FJ2ZZHIW.js → chunk-SLYUQ67P.js} +17 -26
- package/dist/{chunk-LGKMVPIB.js → chunk-SWOQMMOT.js} +14 -15
- package/dist/chunk-T4DF24UV.js +108 -0
- package/dist/chunk-T77L326M.mjs +370 -0
- package/dist/{chunk-GO3JWOB6.mjs → chunk-TG4PXQKX.mjs} +2 -3
- package/dist/{chunk-RZ6K7TWA.js → chunk-TGLAMZ4N.js} +120 -35
- package/dist/{chunk-U2JWZTDN.js → chunk-TLXEFLPA.js} +6 -13
- package/dist/chunk-TQOMX62N.js +104 -0
- package/dist/{chunk-LFIZI5Z4.mjs → chunk-U6WHPSWN.mjs} +6 -19
- package/dist/{chunk-JBSSXJZ2.mjs → chunk-U7MDGSCQ.mjs} +80 -111
- package/dist/{chunk-54IA7YWJ.js → chunk-UHGRUTGW.js} +2 -2
- package/dist/{chunk-YS2WMH5I.js → chunk-UKJSG75K.js} +10 -57
- package/dist/{chunk-W57RIOYG.mjs → chunk-URYEEQD7.mjs} +4 -5
- package/dist/{chunk-JQ73I2Q6.js → chunk-UUGAOKYR.js} +3 -4
- package/dist/{chunk-UZMGKLJE.js → chunk-UWVUDZVA.js} +4 -11
- package/dist/chunk-VBXPDCRX.js +254 -0
- package/dist/{chunk-IK3ZLVPR.js → chunk-VTLTKTCK.js} +6 -19
- package/dist/{chunk-G6YTJ7IE.mjs → chunk-VURU7TLN.mjs} +30 -53
- package/dist/{chunk-JSERNUJX.mjs → chunk-W2OCMRRH.mjs} +11 -58
- package/dist/{chunk-RBZ7ADKL.js → chunk-W36SYMVH.js} +9 -18
- package/dist/{chunk-ZAEX6EMJ.js → chunk-WC4B72TZ.js} +29 -52
- package/dist/{chunk-R2DKSTP4.js → chunk-WCZGYU7M.js} +9 -32
- package/dist/{chunk-SKUTVXHP.js → chunk-WEFQCJAG.js} +5 -8
- package/dist/chunk-WIPPSHI6.mjs +111 -0
- package/dist/{chunk-3JWW6FIN.mjs → chunk-WMM3FR3W.mjs} +7 -4
- package/dist/{chunk-U65XZCPB.js → chunk-WPIDP6IG.js} +1 -15
- package/dist/{chunk-VP4ZSIY3.mjs → chunk-WQXZ3234.mjs} +12 -39
- package/dist/{chunk-CF5D36KB.mjs → chunk-XCJONKFL.mjs} +12 -45
- package/dist/{chunk-HWHMM3QE.js → chunk-XEU42TLP.js} +6 -5
- package/dist/{chunk-TKTAGTDP.js → chunk-XV5DEK27.js} +32 -55
- package/dist/{chunk-HPTXW2VK.mjs → chunk-XYYZAQ6Z.mjs} +2 -5
- package/dist/{chunk-SHXM2ZXC.mjs → chunk-Y4V7BOVR.mjs} +3 -16
- package/dist/{chunk-YRFK5X43.js → chunk-Y5AZNO2W.js} +60 -71
- package/dist/chunk-YCI7GRQY.mjs +101 -0
- package/dist/{chunk-FVL7HDPG.mjs → chunk-YCUO6ZKS.mjs} +61 -72
- package/dist/chunk-YEHKQ3JZ.mjs +105 -0
- package/dist/{chunk-WNLRR2NM.mjs → chunk-YXN3YY5Y.mjs} +6 -9
- package/dist/{chunk-ZMU5PLEQ.js → chunk-YZK2HXRT.js} +63 -87
- package/dist/{chunk-I77ACTTI.mjs → chunk-YZP4K6KI.mjs} +18 -19
- package/dist/chunk-ZA2PLF7O.mjs +60 -0
- package/dist/chunk-ZED7TU62.js +85 -0
- package/dist/{chunk-6NHAWLQA.mjs → chunk-ZLYXAZUY.mjs} +132 -156
- package/dist/chunk-ZNVQ2OFX.js +44 -0
- package/dist/chunk-ZREPAOSW.mjs +284 -0
- package/dist/{chunk-PZOSCHRV.mjs → chunk-ZTJTIQZY.mjs} +54 -91
- package/dist/{chunk-WPWMXSXK.js → chunk-ZZ5LMO3X.js} +66 -73
- package/dist/components/ActivityFeed.js +11 -10
- package/dist/components/ActivityFeed.mjs +9 -8
- package/dist/components/Alert.js +5 -3
- package/dist/components/Alert.mjs +3 -1
- package/dist/components/Anchor.js +5 -4
- package/dist/components/Anchor.mjs +2 -1
- package/dist/components/AnchorLink.js +5 -4
- package/dist/components/AnchorLink.mjs +3 -2
- package/dist/components/AreaChart.d.mts +29 -2
- package/dist/components/AreaChart.d.ts +29 -2
- package/dist/components/AreaChart.js +5 -4
- package/dist/components/AreaChart.mjs +3 -2
- package/dist/components/Avatar.js +4 -3
- package/dist/components/Avatar.mjs +2 -1
- package/dist/components/BackTop.js +4 -3
- package/dist/components/BackTop.mjs +2 -1
- package/dist/components/Badge.d.mts +10 -93
- package/dist/components/Badge.d.ts +10 -93
- package/dist/components/Badge.js +4 -3
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.d.mts +58 -1
- package/dist/components/BarChart.d.ts +58 -1
- package/dist/components/BarChart.js +5 -4
- package/dist/components/BarChart.mjs +3 -2
- package/dist/components/Breadcrumb.js +5 -4
- package/dist/components/Breadcrumb.mjs +2 -1
- package/dist/components/BreadcrumbItem.d.mts +8 -6
- package/dist/components/BreadcrumbItem.d.ts +8 -6
- package/dist/components/BreadcrumbItem.js +5 -4
- package/dist/components/BreadcrumbItem.mjs +3 -2
- package/dist/components/Button.d.mts +4 -4
- package/dist/components/Button.d.ts +4 -4
- package/dist/components/Button.js +4 -3
- package/dist/components/Button.mjs +2 -1
- package/dist/components/Card.js +4 -3
- package/dist/components/Card.mjs +2 -1
- package/dist/components/Carousel.js +4 -3
- package/dist/components/Carousel.mjs +2 -1
- package/dist/components/ChartAxis.js +1 -0
- package/dist/components/ChartAxis.mjs +1 -0
- package/dist/components/ChartCanvas.js +1 -0
- package/dist/components/ChartCanvas.mjs +1 -0
- package/dist/components/ChartGrid.js +1 -0
- package/dist/components/ChartGrid.mjs +1 -0
- package/dist/components/ChartLegend.d.mts +1 -1
- package/dist/components/ChartLegend.d.ts +1 -1
- package/dist/components/ChartLegend.js +1 -0
- package/dist/components/ChartLegend.mjs +1 -0
- package/dist/components/ChartSeries.js +1 -0
- package/dist/components/ChartSeries.mjs +1 -0
- package/dist/components/ChartTooltip.js +1 -0
- package/dist/components/ChartTooltip.mjs +1 -0
- package/dist/components/ChatWindow.js +8 -7
- package/dist/components/ChatWindow.mjs +6 -5
- package/dist/components/Checkbox.js +4 -3
- package/dist/components/Checkbox.mjs +2 -1
- package/dist/components/CheckboxGroup.js +1 -0
- package/dist/components/CheckboxGroup.mjs +1 -0
- package/dist/components/Code.js +4 -3
- package/dist/components/Code.mjs +2 -1
- package/dist/components/Col.d.mts +8 -28
- package/dist/components/Col.d.ts +8 -28
- package/dist/components/Col.js +4 -3
- package/dist/components/Col.mjs +3 -2
- package/dist/components/Collapse.js +5 -4
- package/dist/components/Collapse.mjs +2 -1
- package/dist/components/CollapsePanel.js +5 -4
- package/dist/components/CollapsePanel.mjs +3 -2
- package/dist/components/CommentThread.js +9 -8
- package/dist/components/CommentThread.mjs +7 -6
- package/dist/components/ConfigProvider.js +1 -0
- package/dist/components/ConfigProvider.mjs +1 -0
- package/dist/components/Container.js +1 -0
- package/dist/components/Container.mjs +1 -0
- package/dist/components/Content.js +4 -3
- package/dist/components/Content.mjs +2 -1
- package/dist/components/CropUpload.d.mts +97 -0
- package/dist/components/CropUpload.d.ts +97 -0
- package/dist/components/CropUpload.js +20 -0
- package/dist/components/CropUpload.mjs +5 -0
- package/dist/components/DataTableWithToolbar.d.mts +2 -2
- package/dist/components/DataTableWithToolbar.d.ts +2 -2
- package/dist/components/DataTableWithToolbar.js +9 -11
- package/dist/components/DataTableWithToolbar.mjs +7 -9
- package/dist/components/DatePicker.js +4 -3
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/Descriptions.d.ts +2 -2
- package/dist/components/Descriptions.js +4 -3
- package/dist/components/Descriptions.mjs +2 -1
- package/dist/components/Divider.d.mts +10 -18
- package/dist/components/Divider.d.ts +10 -18
- package/dist/components/Divider.js +4 -3
- package/dist/components/Divider.mjs +2 -1
- package/dist/components/DonutChart.d.mts +66 -0
- package/dist/components/DonutChart.d.ts +66 -0
- package/dist/components/DonutChart.js +6 -5
- package/dist/components/DonutChart.mjs +4 -3
- package/dist/components/Drawer.d.mts +2 -2
- package/dist/components/Drawer.d.ts +2 -2
- package/dist/components/Drawer.js +4 -3
- package/dist/components/Drawer.mjs +2 -1
- package/dist/components/Dropdown.d.mts +18 -1
- package/dist/components/Dropdown.d.ts +18 -1
- package/dist/components/Dropdown.js +5 -4
- package/dist/components/Dropdown.mjs +2 -1
- package/dist/components/DropdownItem.js +5 -4
- package/dist/components/DropdownItem.mjs +3 -2
- package/dist/components/DropdownMenu.js +1 -0
- package/dist/components/DropdownMenu.mjs +1 -0
- package/dist/components/Footer.js +4 -3
- package/dist/components/Footer.mjs +2 -1
- package/dist/components/Form.js +5 -4
- package/dist/components/Form.mjs +2 -1
- package/dist/components/FormItem.js +5 -4
- package/dist/components/FormItem.mjs +3 -2
- package/dist/components/FormWizard.d.mts +17 -7
- package/dist/components/FormWizard.d.ts +17 -7
- package/dist/components/FormWizard.js +8 -7
- package/dist/components/FormWizard.mjs +6 -5
- package/dist/components/Header.js +4 -3
- package/dist/components/Header.mjs +2 -1
- package/dist/components/Icon.d.mts +1 -33
- package/dist/components/Icon.d.ts +1 -33
- package/dist/components/Icon.js +4 -3
- package/dist/components/Icon.mjs +2 -1
- package/dist/components/Image.d.mts +119 -0
- package/dist/components/Image.d.ts +119 -0
- package/dist/components/Image.js +22 -0
- package/dist/components/Image.mjs +3 -0
- package/dist/components/ImageCropper.d.mts +105 -0
- package/dist/components/ImageCropper.d.ts +105 -0
- package/dist/components/ImageCropper.js +17 -0
- package/dist/components/ImageCropper.mjs +2 -0
- package/dist/components/ImageGroup.d.mts +30 -0
- package/dist/components/ImageGroup.d.ts +30 -0
- package/dist/components/ImageGroup.js +22 -0
- package/dist/components/ImageGroup.mjs +3 -0
- package/dist/components/ImagePreview.d.mts +97 -0
- package/dist/components/ImagePreview.d.ts +97 -0
- package/dist/components/ImagePreview.js +17 -0
- package/dist/components/ImagePreview.mjs +5 -0
- package/dist/components/Input.d.mts +43 -70
- package/dist/components/Input.d.ts +43 -70
- package/dist/components/Input.js +4 -3
- package/dist/components/Input.mjs +2 -1
- package/dist/components/Layout.js +4 -3
- package/dist/components/Layout.mjs +2 -1
- package/dist/components/LineChart.d.mts +37 -1
- package/dist/components/LineChart.d.ts +37 -1
- package/dist/components/LineChart.js +5 -4
- package/dist/components/LineChart.mjs +3 -2
- package/dist/components/Link.d.mts +11 -83
- package/dist/components/Link.d.ts +11 -83
- package/dist/components/Link.js +4 -3
- package/dist/components/Link.mjs +2 -1
- package/dist/components/List.js +4 -3
- package/dist/components/List.mjs +2 -1
- package/dist/components/Loading.d.mts +5 -86
- package/dist/components/Loading.d.ts +5 -86
- package/dist/components/Loading.js +4 -3
- package/dist/components/Loading.mjs +2 -1
- package/dist/components/Menu.d.mts +4 -4
- package/dist/components/Menu.d.ts +4 -4
- package/dist/components/Menu.js +5 -4
- package/dist/components/Menu.mjs +2 -1
- package/dist/components/MenuItem.js +5 -4
- package/dist/components/MenuItem.mjs +3 -2
- package/dist/components/MenuItemGroup.js +1 -0
- package/dist/components/MenuItemGroup.mjs +1 -0
- package/dist/components/Message.d.mts +0 -18
- package/dist/components/Message.d.ts +0 -18
- package/dist/components/Message.js +6 -4
- package/dist/components/Message.mjs +3 -1
- package/dist/components/Modal.d.mts +2 -2
- package/dist/components/Modal.d.ts +2 -2
- package/dist/components/Modal.js +5 -4
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/Notification.d.mts +0 -15
- package/dist/components/Notification.d.ts +0 -15
- package/dist/components/Notification.js +6 -4
- package/dist/components/Notification.mjs +3 -1
- package/dist/components/NotificationCenter.js +11 -10
- package/dist/components/NotificationCenter.mjs +9 -8
- package/dist/components/Pagination.js +4 -3
- package/dist/components/Pagination.mjs +2 -1
- package/dist/components/PieChart.d.mts +45 -0
- package/dist/components/PieChart.d.ts +45 -0
- package/dist/components/PieChart.js +5 -4
- package/dist/components/PieChart.mjs +3 -2
- package/dist/components/Popconfirm.d.mts +26 -96
- package/dist/components/Popconfirm.d.ts +26 -96
- package/dist/components/Popconfirm.js +5 -3
- package/dist/components/Popconfirm.mjs +3 -1
- package/dist/components/Popover.d.mts +20 -72
- package/dist/components/Popover.d.ts +20 -72
- package/dist/components/Popover.js +5 -3
- package/dist/components/Popover.mjs +3 -1
- package/dist/components/Progress.d.mts +6 -130
- package/dist/components/Progress.d.ts +6 -130
- package/dist/components/Progress.js +4 -3
- package/dist/components/Progress.mjs +2 -1
- package/dist/components/RadarChart.d.mts +71 -8
- package/dist/components/RadarChart.d.ts +71 -8
- package/dist/components/RadarChart.js +6 -4
- package/dist/components/RadarChart.mjs +4 -2
- package/dist/components/Radio.js +5 -4
- package/dist/components/Radio.mjs +3 -2
- package/dist/components/RadioGroup.js +5 -4
- package/dist/components/RadioGroup.mjs +2 -1
- package/dist/components/Row.js +4 -3
- package/dist/components/Row.mjs +2 -1
- package/dist/components/ScatterChart.d.mts +45 -0
- package/dist/components/ScatterChart.d.ts +45 -0
- package/dist/components/ScatterChart.js +5 -4
- package/dist/components/ScatterChart.mjs +3 -2
- package/dist/components/Select.js +4 -3
- package/dist/components/Select.mjs +2 -1
- package/dist/components/Sidebar.js +4 -3
- package/dist/components/Sidebar.mjs +2 -1
- package/dist/components/Skeleton.d.mts +3 -79
- package/dist/components/Skeleton.d.ts +3 -79
- package/dist/components/Skeleton.js +4 -3
- package/dist/components/Skeleton.mjs +2 -1
- package/dist/components/Slider.js +4 -3
- package/dist/components/Slider.mjs +2 -1
- package/dist/components/Space.d.mts +2 -7
- package/dist/components/Space.d.ts +2 -7
- package/dist/components/Space.js +4 -3
- package/dist/components/Space.mjs +2 -1
- package/dist/components/Steps.js +5 -4
- package/dist/components/Steps.mjs +2 -1
- package/dist/components/StepsItem.js +5 -4
- package/dist/components/StepsItem.mjs +3 -2
- package/dist/components/SubMenu.js +5 -4
- package/dist/components/SubMenu.mjs +3 -2
- package/dist/components/Switch.js +4 -3
- package/dist/components/Switch.mjs +2 -1
- package/dist/components/TabPane.d.mts +8 -6
- package/dist/components/TabPane.d.ts +8 -6
- package/dist/components/TabPane.js +5 -4
- package/dist/components/TabPane.mjs +3 -2
- package/dist/components/Table.d.mts +1 -1
- package/dist/components/Table.d.ts +1 -1
- package/dist/components/Table.js +4 -3
- package/dist/components/Table.mjs +2 -1
- package/dist/components/Tabs.js +5 -4
- package/dist/components/Tabs.mjs +2 -1
- package/dist/components/Tag.d.mts +4 -4
- package/dist/components/Tag.d.ts +4 -4
- package/dist/components/Tag.js +4 -3
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/Text.d.mts +2 -12
- package/dist/components/Text.d.ts +2 -12
- package/dist/components/Text.js +4 -3
- package/dist/components/Text.mjs +2 -1
- package/dist/components/Textarea.js +4 -3
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +4 -3
- package/dist/components/TimePicker.mjs +2 -1
- package/dist/components/Timeline.js +4 -3
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tooltip.d.mts +16 -58
- package/dist/components/Tooltip.d.ts +16 -58
- package/dist/components/Tooltip.js +5 -3
- package/dist/components/Tooltip.mjs +3 -1
- package/dist/components/Tree.js +4 -3
- package/dist/components/Tree.mjs +2 -1
- package/dist/components/Upload.js +4 -3
- package/dist/components/Upload.mjs +2 -1
- package/dist/index.d.mts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +225 -195
- package/dist/index.mjs +90 -79
- package/package.json +2 -2
- package/dist/chunk-5MKAKQK6.mjs +0 -124
- package/dist/chunk-6WIVOHTB.mjs +0 -157
- package/dist/chunk-7SCADPTJ.mjs +0 -79
- package/dist/chunk-BXFYOGMO.js +0 -59
- package/dist/chunk-D45QLF65.js +0 -270
- package/dist/chunk-H6CUKJYY.mjs +0 -300
- package/dist/chunk-J7OYLV6I.mjs +0 -447
- package/dist/chunk-K6NKVCEO.js +0 -57
- package/dist/chunk-PQQUAUFM.mjs +0 -54
- package/dist/chunk-QJWFKTRQ.js +0 -160
- package/dist/chunk-R3YK5LUH.mjs +0 -267
- package/dist/chunk-RN25EUD2.js +0 -303
- package/dist/chunk-RUD3FPP2.js +0 -301
- package/dist/chunk-T3TN26BD.mjs +0 -56
- package/dist/chunk-U6JCAP2C.js +0 -188
- package/dist/chunk-W2CCYPSO.mjs +0 -185
- package/dist/chunk-WH6OTVYF.js +0 -450
- package/dist/chunk-XLSGZUPU.mjs +0 -298
- package/dist/chunk-Y6C455RB.js +0 -81
- package/dist/chunk-YFMXWX6H.js +0 -127
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import { PieChart } from './chunk-DATFV22V.mjs';
|
|
2
|
+
import { defineComponent, computed, h } from 'vue';
|
|
3
|
+
import { getChartInnerRect, normalizeChartPadding, classNames } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
var DONUT_PALETTE = [
|
|
6
|
+
"#5470c6",
|
|
7
|
+
"#91cc75",
|
|
8
|
+
"#fac858",
|
|
9
|
+
"#ee6666",
|
|
10
|
+
"#73c0de",
|
|
11
|
+
"#3ba272",
|
|
12
|
+
"#fc8452",
|
|
13
|
+
"#9a60b4",
|
|
14
|
+
"#ea7ccc"
|
|
15
|
+
];
|
|
16
|
+
var DonutChart = defineComponent({
|
|
17
|
+
name: "TigerDonutChart",
|
|
18
|
+
props: {
|
|
19
|
+
width: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 320
|
|
22
|
+
},
|
|
23
|
+
height: {
|
|
24
|
+
type: Number,
|
|
25
|
+
default: 240
|
|
26
|
+
},
|
|
27
|
+
padding: {
|
|
28
|
+
type: [Number, Object],
|
|
29
|
+
default: 24
|
|
30
|
+
},
|
|
31
|
+
data: {
|
|
32
|
+
type: Array,
|
|
33
|
+
required: true
|
|
34
|
+
},
|
|
35
|
+
innerRadius: {
|
|
36
|
+
type: Number
|
|
37
|
+
},
|
|
38
|
+
innerRadiusRatio: {
|
|
39
|
+
type: Number,
|
|
40
|
+
default: 0.62
|
|
41
|
+
},
|
|
42
|
+
outerRadius: {
|
|
43
|
+
type: Number
|
|
44
|
+
},
|
|
45
|
+
startAngle: {
|
|
46
|
+
type: Number,
|
|
47
|
+
default: 0
|
|
48
|
+
},
|
|
49
|
+
endAngle: {
|
|
50
|
+
type: Number,
|
|
51
|
+
default: Math.PI * 2
|
|
52
|
+
},
|
|
53
|
+
padAngle: {
|
|
54
|
+
type: Number,
|
|
55
|
+
default: 0.04
|
|
56
|
+
},
|
|
57
|
+
colors: {
|
|
58
|
+
type: Array
|
|
59
|
+
},
|
|
60
|
+
showLabels: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: false
|
|
63
|
+
},
|
|
64
|
+
labelFormatter: {
|
|
65
|
+
type: Function
|
|
66
|
+
},
|
|
67
|
+
// Interaction props
|
|
68
|
+
hoverable: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false
|
|
71
|
+
},
|
|
72
|
+
hoveredIndex: {
|
|
73
|
+
type: Number,
|
|
74
|
+
default: void 0
|
|
75
|
+
},
|
|
76
|
+
activeOpacity: {
|
|
77
|
+
type: Number,
|
|
78
|
+
default: 1
|
|
79
|
+
},
|
|
80
|
+
inactiveOpacity: {
|
|
81
|
+
type: Number,
|
|
82
|
+
default: 0.3
|
|
83
|
+
},
|
|
84
|
+
selectable: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false
|
|
87
|
+
},
|
|
88
|
+
selectedIndex: {
|
|
89
|
+
type: Number,
|
|
90
|
+
default: void 0
|
|
91
|
+
},
|
|
92
|
+
// Legend props
|
|
93
|
+
showLegend: {
|
|
94
|
+
type: Boolean,
|
|
95
|
+
default: false
|
|
96
|
+
},
|
|
97
|
+
legendPosition: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: "bottom"
|
|
100
|
+
},
|
|
101
|
+
legendMarkerSize: {
|
|
102
|
+
type: Number,
|
|
103
|
+
default: 10
|
|
104
|
+
},
|
|
105
|
+
legendGap: {
|
|
106
|
+
type: Number,
|
|
107
|
+
default: 8
|
|
108
|
+
},
|
|
109
|
+
// Tooltip props
|
|
110
|
+
showTooltip: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
default: true
|
|
113
|
+
},
|
|
114
|
+
tooltipFormatter: {
|
|
115
|
+
type: Function
|
|
116
|
+
},
|
|
117
|
+
// Accessibility
|
|
118
|
+
title: {
|
|
119
|
+
type: String
|
|
120
|
+
},
|
|
121
|
+
desc: {
|
|
122
|
+
type: String
|
|
123
|
+
},
|
|
124
|
+
className: {
|
|
125
|
+
type: String
|
|
126
|
+
},
|
|
127
|
+
// Visual enhancements
|
|
128
|
+
borderWidth: {
|
|
129
|
+
type: Number,
|
|
130
|
+
default: 0
|
|
131
|
+
},
|
|
132
|
+
borderColor: {
|
|
133
|
+
type: String,
|
|
134
|
+
default: "#ffffff"
|
|
135
|
+
},
|
|
136
|
+
hoverOffset: {
|
|
137
|
+
type: Number,
|
|
138
|
+
default: 10
|
|
139
|
+
},
|
|
140
|
+
labelPosition: {
|
|
141
|
+
type: String,
|
|
142
|
+
default: "inside"
|
|
143
|
+
},
|
|
144
|
+
shadow: {
|
|
145
|
+
type: Boolean,
|
|
146
|
+
default: true
|
|
147
|
+
},
|
|
148
|
+
// DonutChart-specific
|
|
149
|
+
centerValue: {
|
|
150
|
+
type: [String, Number]
|
|
151
|
+
},
|
|
152
|
+
centerLabel: {
|
|
153
|
+
type: String
|
|
154
|
+
},
|
|
155
|
+
animated: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
default: false
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
emits: ["update:hoveredIndex", "update:selectedIndex", "slice-click", "slice-hover"],
|
|
161
|
+
setup(props, { emit }) {
|
|
162
|
+
const innerRect = computed(() => getChartInnerRect(props.width, props.height, props.padding));
|
|
163
|
+
const pad = computed(() => normalizeChartPadding(props.padding));
|
|
164
|
+
const resolvedOuterRadius = computed(() => {
|
|
165
|
+
if (typeof props.outerRadius === "number") return Math.max(0, props.outerRadius);
|
|
166
|
+
return Math.max(0, Math.min(innerRect.value.width, innerRect.value.height) / 2);
|
|
167
|
+
});
|
|
168
|
+
const resolvedInnerRadius = computed(() => {
|
|
169
|
+
if (typeof props.innerRadius === "number") {
|
|
170
|
+
return Math.min(Math.max(0, props.innerRadius), resolvedOuterRadius.value);
|
|
171
|
+
}
|
|
172
|
+
const ratio = Math.min(Math.max(props.innerRadiusRatio ?? 0.62, 0), 1);
|
|
173
|
+
return resolvedOuterRadius.value * ratio;
|
|
174
|
+
});
|
|
175
|
+
const centerPos = computed(() => ({
|
|
176
|
+
x: pad.value.left + innerRect.value.width / 2,
|
|
177
|
+
y: pad.value.top + innerRect.value.height / 2
|
|
178
|
+
}));
|
|
179
|
+
const hasCenterContent = computed(
|
|
180
|
+
() => props.centerValue !== void 0 || props.centerLabel !== void 0
|
|
181
|
+
);
|
|
182
|
+
const resolvedColors = computed(
|
|
183
|
+
() => props.colors && props.colors.length > 0 ? props.colors : DONUT_PALETTE
|
|
184
|
+
);
|
|
185
|
+
const donutTooltipFormatter = computed(() => {
|
|
186
|
+
if (props.tooltipFormatter) return props.tooltipFormatter;
|
|
187
|
+
const total = props.data.reduce((s, d) => s + d.value, 0);
|
|
188
|
+
return (datum, index) => {
|
|
189
|
+
const pct = total > 0 ? (datum.value / total * 100).toFixed(1) : "0";
|
|
190
|
+
const label = datum.label ?? `#${index + 1}`;
|
|
191
|
+
return `${label}: ${datum.value} (${pct}%)`;
|
|
192
|
+
};
|
|
193
|
+
});
|
|
194
|
+
const handleHoveredIndexUpdate = (index) => {
|
|
195
|
+
emit("update:hoveredIndex", index);
|
|
196
|
+
};
|
|
197
|
+
const handleSelectedIndexUpdate = (index) => {
|
|
198
|
+
emit("update:selectedIndex", index);
|
|
199
|
+
};
|
|
200
|
+
const handleSliceClick = (datum, index) => {
|
|
201
|
+
emit("slice-click", datum, index);
|
|
202
|
+
};
|
|
203
|
+
const handleSliceHover = (datum, index) => {
|
|
204
|
+
emit("slice-hover", datum, index);
|
|
205
|
+
};
|
|
206
|
+
return () => {
|
|
207
|
+
const pie = h(PieChart, {
|
|
208
|
+
width: props.width,
|
|
209
|
+
height: props.height,
|
|
210
|
+
padding: props.padding,
|
|
211
|
+
data: props.data,
|
|
212
|
+
innerRadius: resolvedInnerRadius.value,
|
|
213
|
+
outerRadius: props.outerRadius,
|
|
214
|
+
startAngle: props.startAngle,
|
|
215
|
+
endAngle: props.endAngle,
|
|
216
|
+
padAngle: props.padAngle,
|
|
217
|
+
colors: resolvedColors.value,
|
|
218
|
+
showLabels: props.showLabels,
|
|
219
|
+
labelFormatter: props.labelFormatter,
|
|
220
|
+
labelPosition: props.labelPosition,
|
|
221
|
+
borderWidth: props.borderWidth,
|
|
222
|
+
borderColor: props.borderColor,
|
|
223
|
+
hoverOffset: props.hoverOffset,
|
|
224
|
+
shadow: props.shadow,
|
|
225
|
+
hoverable: props.hoverable,
|
|
226
|
+
hoveredIndex: props.hoveredIndex,
|
|
227
|
+
activeOpacity: props.activeOpacity,
|
|
228
|
+
inactiveOpacity: props.inactiveOpacity,
|
|
229
|
+
selectable: props.selectable,
|
|
230
|
+
selectedIndex: props.selectedIndex,
|
|
231
|
+
showLegend: props.showLegend,
|
|
232
|
+
legendPosition: props.legendPosition,
|
|
233
|
+
legendMarkerSize: props.legendMarkerSize,
|
|
234
|
+
legendGap: props.legendGap,
|
|
235
|
+
showTooltip: props.showTooltip,
|
|
236
|
+
tooltipFormatter: donutTooltipFormatter.value,
|
|
237
|
+
title: props.title,
|
|
238
|
+
desc: props.desc,
|
|
239
|
+
className: classNames(props.className),
|
|
240
|
+
"onUpdate:hoveredIndex": handleHoveredIndexUpdate,
|
|
241
|
+
"onUpdate:selectedIndex": handleSelectedIndexUpdate,
|
|
242
|
+
onSliceClick: handleSliceClick,
|
|
243
|
+
onSliceHover: handleSliceHover
|
|
244
|
+
});
|
|
245
|
+
const center = hasCenterContent.value ? h(
|
|
246
|
+
"div",
|
|
247
|
+
{
|
|
248
|
+
style: {
|
|
249
|
+
position: "absolute",
|
|
250
|
+
left: `${centerPos.value.x}px`,
|
|
251
|
+
top: `${centerPos.value.y}px`,
|
|
252
|
+
transform: "translate(-50%, -50%)",
|
|
253
|
+
textAlign: "center",
|
|
254
|
+
pointerEvents: "none",
|
|
255
|
+
lineHeight: "1.3"
|
|
256
|
+
},
|
|
257
|
+
"data-donut-center": "true"
|
|
258
|
+
},
|
|
259
|
+
[
|
|
260
|
+
props.centerValue !== void 0 ? h(
|
|
261
|
+
"div",
|
|
262
|
+
{
|
|
263
|
+
class: "text-xl font-semibold text-[color:var(--tiger-text,#1f2937)]",
|
|
264
|
+
style: { lineHeight: "1.2" }
|
|
265
|
+
},
|
|
266
|
+
`${props.centerValue}`
|
|
267
|
+
) : null,
|
|
268
|
+
props.centerLabel !== void 0 ? h(
|
|
269
|
+
"div",
|
|
270
|
+
{
|
|
271
|
+
class: "text-xs text-[color:var(--tiger-text-secondary,#6b7280)]",
|
|
272
|
+
style: { marginTop: "2px" }
|
|
273
|
+
},
|
|
274
|
+
props.centerLabel
|
|
275
|
+
) : null
|
|
276
|
+
]
|
|
277
|
+
) : null;
|
|
278
|
+
return h("div", { class: "inline-block relative", "data-donut-chart": "true" }, [pie, center]);
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
var DonutChart_default = DonutChart;
|
|
283
|
+
|
|
284
|
+
export { DonutChart, DonutChart_default };
|
|
@@ -4,42 +4,18 @@ import { getSpinnerSVG, getFixedColumnOffsets, filterData, sortData, paginateDat
|
|
|
4
4
|
// src/components/Table.ts
|
|
5
5
|
var spinnerSvg = getSpinnerSVG("spinner");
|
|
6
6
|
var SortIcon = (direction) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"svg",
|
|
10
|
-
{
|
|
11
|
-
class: getSortIconClasses(true),
|
|
12
|
-
width: "16",
|
|
13
|
-
height: "16",
|
|
14
|
-
viewBox: icon16ViewBox,
|
|
15
|
-
fill: "currentColor"
|
|
16
|
-
},
|
|
17
|
-
[h("path", { d: sortAscIcon16PathD })]
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
if (direction === "desc") {
|
|
21
|
-
return h(
|
|
22
|
-
"svg",
|
|
23
|
-
{
|
|
24
|
-
class: getSortIconClasses(true),
|
|
25
|
-
width: "16",
|
|
26
|
-
height: "16",
|
|
27
|
-
viewBox: icon16ViewBox,
|
|
28
|
-
fill: "currentColor"
|
|
29
|
-
},
|
|
30
|
-
[h("path", { d: sortDescIcon16PathD })]
|
|
31
|
-
);
|
|
32
|
-
}
|
|
7
|
+
const active = direction !== null;
|
|
8
|
+
const pathD = direction === "asc" ? sortAscIcon16PathD : direction === "desc" ? sortDescIcon16PathD : sortBothIcon16PathD;
|
|
33
9
|
return h(
|
|
34
10
|
"svg",
|
|
35
11
|
{
|
|
36
|
-
class: getSortIconClasses(
|
|
12
|
+
class: getSortIconClasses(active),
|
|
37
13
|
width: "16",
|
|
38
14
|
height: "16",
|
|
39
15
|
viewBox: icon16ViewBox,
|
|
40
16
|
fill: "currentColor"
|
|
41
17
|
},
|
|
42
|
-
[h("path", { d:
|
|
18
|
+
[h("path", { d: pathD })]
|
|
43
19
|
);
|
|
44
20
|
};
|
|
45
21
|
var LockIcon = (locked) => {
|
|
@@ -223,8 +199,8 @@ var Table = defineComponent({
|
|
|
223
199
|
});
|
|
224
200
|
const isSortControlled = computed(() => props.sort !== void 0);
|
|
225
201
|
const isFiltersControlled = computed(() => props.filters !== void 0);
|
|
226
|
-
|
|
227
|
-
|
|
202
|
+
computed(() => paginationConfig.value?.current !== void 0);
|
|
203
|
+
computed(() => paginationConfig.value?.pageSize !== void 0);
|
|
228
204
|
const isSelectionControlled = computed(() => props.rowSelection?.selectedRowKeys !== void 0);
|
|
229
205
|
const uncontrolledSortState = ref(props.defaultSort);
|
|
230
206
|
const uncontrolledFilterState = ref(props.defaultFilters);
|
|
@@ -393,11 +369,7 @@ var Table = defineComponent({
|
|
|
393
369
|
});
|
|
394
370
|
}
|
|
395
371
|
function handlePageChange(page) {
|
|
396
|
-
|
|
397
|
-
uncontrolledCurrentPage.value = page;
|
|
398
|
-
} else {
|
|
399
|
-
uncontrolledCurrentPage.value = page;
|
|
400
|
-
}
|
|
372
|
+
uncontrolledCurrentPage.value = page;
|
|
401
373
|
emit("page-change", { current: page, pageSize: currentPageSize.value });
|
|
402
374
|
emit("change", {
|
|
403
375
|
sort: sortState.value,
|
|
@@ -409,16 +381,8 @@ var Table = defineComponent({
|
|
|
409
381
|
});
|
|
410
382
|
}
|
|
411
383
|
function handlePageSizeChange(pageSize) {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
} else {
|
|
415
|
-
uncontrolledCurrentPageSize.value = pageSize;
|
|
416
|
-
}
|
|
417
|
-
if (!isCurrentPageControlled.value) {
|
|
418
|
-
uncontrolledCurrentPage.value = 1;
|
|
419
|
-
} else {
|
|
420
|
-
uncontrolledCurrentPage.value = 1;
|
|
421
|
-
}
|
|
384
|
+
uncontrolledCurrentPageSize.value = pageSize;
|
|
385
|
+
uncontrolledCurrentPage.value = 1;
|
|
422
386
|
emit("page-change", { current: 1, pageSize });
|
|
423
387
|
emit("change", {
|
|
424
388
|
sort: sortState.value,
|
|
@@ -512,13 +476,11 @@ var Table = defineComponent({
|
|
|
512
476
|
} : void 0;
|
|
513
477
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
514
478
|
const headerContent = [];
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
headerContent.push(column.title);
|
|
521
|
-
}
|
|
479
|
+
const slotContent = slots[`header-${column.key}`]?.();
|
|
480
|
+
if (slotContent && slotContent.length > 0) {
|
|
481
|
+
headerContent.push(...slotContent);
|
|
482
|
+
} else if (column.renderHeader) {
|
|
483
|
+
headerContent.push(column.renderHeader());
|
|
522
484
|
} else {
|
|
523
485
|
headerContent.push(column.title);
|
|
524
486
|
}
|
|
@@ -558,7 +520,7 @@ var Table = defineComponent({
|
|
|
558
520
|
!!column.sortable,
|
|
559
521
|
column.headerClassName
|
|
560
522
|
),
|
|
561
|
-
(isFixedLeft || isFixedRight) && "bg-
|
|
523
|
+
(isFixedLeft || isFixedRight) && "bg-[var(--tiger-surface-muted,#f9fafb)]"
|
|
562
524
|
),
|
|
563
525
|
style,
|
|
564
526
|
onClick: column.sortable ? () => handleSort(column.key) : void 0
|
|
@@ -668,8 +630,11 @@ var Table = defineComponent({
|
|
|
668
630
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
669
631
|
} : void 0;
|
|
670
632
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
671
|
-
const stickyBgClass = props.striped && index % 2 === 0 ? "bg-
|
|
672
|
-
const stickyCellClass = isFixedLeft || isFixedRight ? classNames(
|
|
633
|
+
const stickyBgClass = props.striped && index % 2 === 0 ? "bg-[var(--tiger-surface-muted,#f9fafb)]/50" : "bg-[var(--tiger-surface,#ffffff)]";
|
|
634
|
+
const stickyCellClass = isFixedLeft || isFixedRight ? classNames(
|
|
635
|
+
stickyBgClass,
|
|
636
|
+
props.hoverable && "group-hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
|
|
637
|
+
) : void 0;
|
|
673
638
|
cells.push(
|
|
674
639
|
h(
|
|
675
640
|
"td",
|
|
@@ -766,42 +731,40 @@ var Table = defineComponent({
|
|
|
766
731
|
const wrapperStyle = props.maxHeight ? {
|
|
767
732
|
maxHeight: typeof props.maxHeight === "number" ? `${props.maxHeight}px` : props.maxHeight
|
|
768
733
|
} : void 0;
|
|
769
|
-
return h(
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
renderPagination()
|
|
804
|
-
]);
|
|
734
|
+
return h(
|
|
735
|
+
"div",
|
|
736
|
+
{
|
|
737
|
+
class: getTableWrapperClasses(props.bordered, props.maxHeight),
|
|
738
|
+
style: wrapperStyle,
|
|
739
|
+
"aria-busy": props.loading
|
|
740
|
+
},
|
|
741
|
+
[
|
|
742
|
+
h(
|
|
743
|
+
"table",
|
|
744
|
+
{
|
|
745
|
+
class: classNames(
|
|
746
|
+
tableBaseClasses,
|
|
747
|
+
props.tableLayout === "fixed" ? "table-fixed" : "table-auto"
|
|
748
|
+
),
|
|
749
|
+
style: fixedColumnsInfo.value.hasFixedColumns && fixedColumnsInfo.value.minTableWidth ? { minWidth: `${fixedColumnsInfo.value.minTableWidth}px` } : void 0
|
|
750
|
+
},
|
|
751
|
+
[renderTableHeader(), renderTableBody()]
|
|
752
|
+
),
|
|
753
|
+
// Loading overlay
|
|
754
|
+
props.loading && h(
|
|
755
|
+
"div",
|
|
756
|
+
{
|
|
757
|
+
class: tableLoadingOverlayClasses,
|
|
758
|
+
role: "status",
|
|
759
|
+
"aria-live": "polite",
|
|
760
|
+
"aria-label": "Loading"
|
|
761
|
+
},
|
|
762
|
+
[LoadingSpinner(), h("span", { class: "sr-only" }, "Loading")]
|
|
763
|
+
),
|
|
764
|
+
// Pagination
|
|
765
|
+
renderPagination()
|
|
766
|
+
]
|
|
767
|
+
);
|
|
805
768
|
};
|
|
806
769
|
}
|
|
807
770
|
});
|
|
@@ -234,6 +234,10 @@ var DatePicker = vue.defineComponent({
|
|
|
234
234
|
});
|
|
235
235
|
const dayNames = vue.computed(() => tigercatCore.getShortDayNames(props.locale));
|
|
236
236
|
const labels = vue.computed(() => tigercatCore.getDatePickerLabels(props.locale, props.labels));
|
|
237
|
+
const emitValue = (value) => {
|
|
238
|
+
emit("update:modelValue", value);
|
|
239
|
+
emit("change", value);
|
|
240
|
+
};
|
|
237
241
|
const addDays = (date, days) => {
|
|
238
242
|
const next = new Date(date);
|
|
239
243
|
next.setDate(next.getDate() + days);
|
|
@@ -351,7 +355,7 @@ var DatePicker = vue.defineComponent({
|
|
|
351
355
|
if (!props.disabled && !props.readonly) {
|
|
352
356
|
isOpen.value = !isOpen.value;
|
|
353
357
|
if (isOpen.value) {
|
|
354
|
-
restoreFocusEl.value =
|
|
358
|
+
restoreFocusEl.value = inputRef.value ?? null;
|
|
355
359
|
const baseDate = selectedDate.value ?? selectedRange.value[0];
|
|
356
360
|
if (baseDate) {
|
|
357
361
|
viewingMonth.value = baseDate.getMonth();
|
|
@@ -373,34 +377,20 @@ var DatePicker = vue.defineComponent({
|
|
|
373
377
|
return;
|
|
374
378
|
}
|
|
375
379
|
if (!isRangeMode.value) {
|
|
376
|
-
|
|
377
|
-
emit("change", normalizedDate);
|
|
380
|
+
emitValue(normalizedDate);
|
|
378
381
|
closeCalendar();
|
|
379
382
|
return;
|
|
380
383
|
}
|
|
381
384
|
const [start, end] = selectedRange.value;
|
|
382
385
|
if (!start || start && end) {
|
|
383
|
-
|
|
384
|
-
emit("change", [normalizedDate, null]);
|
|
386
|
+
emitValue([normalizedDate, null]);
|
|
385
387
|
return;
|
|
386
388
|
}
|
|
387
|
-
|
|
388
|
-
emit("update:modelValue", [start, start]);
|
|
389
|
-
emit("change", [start, start]);
|
|
390
|
-
} else {
|
|
391
|
-
emit("update:modelValue", [start, normalizedDate]);
|
|
392
|
-
emit("change", [start, normalizedDate]);
|
|
393
|
-
}
|
|
389
|
+
emitValue([start, normalizedDate < start ? start : normalizedDate]);
|
|
394
390
|
}
|
|
395
391
|
function clearDate(event) {
|
|
396
392
|
event.stopPropagation();
|
|
397
|
-
|
|
398
|
-
emit("update:modelValue", null);
|
|
399
|
-
emit("change", null);
|
|
400
|
-
} else {
|
|
401
|
-
emit("update:modelValue", [null, null]);
|
|
402
|
-
emit("change", [null, null]);
|
|
403
|
-
}
|
|
393
|
+
emitValue(!isRangeMode.value ? null : [null, null]);
|
|
404
394
|
emit("clear");
|
|
405
395
|
}
|
|
406
396
|
function previousMonth() {
|
|
@@ -433,13 +423,11 @@ var DatePicker = vue.defineComponent({
|
|
|
433
423
|
}
|
|
434
424
|
}
|
|
435
425
|
function handleInputClick() {
|
|
436
|
-
inputRef.value?.focus();
|
|
437
426
|
toggleCalendar();
|
|
438
427
|
}
|
|
439
428
|
vue.watch(isOpen, (newValue) => {
|
|
440
429
|
if (newValue) {
|
|
441
430
|
document.addEventListener("click", handleClickOutside);
|
|
442
|
-
restoreFocusEl.value = restoreFocusEl.value ?? document.activeElement ?? inputRef.value ?? null;
|
|
443
431
|
const preferred = pendingFocusIso.value ?? getPreferredFocusIso();
|
|
444
432
|
pendingFocusIso.value = null;
|
|
445
433
|
vue.nextTick().then(() => {
|
|
@@ -580,59 +568,64 @@ var DatePicker = vue.defineComponent({
|
|
|
580
568
|
)
|
|
581
569
|
]),
|
|
582
570
|
// Calendar grid
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
"
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
571
|
+
(() => {
|
|
572
|
+
const [rangeStart, rangeEnd] = selectedRange.value;
|
|
573
|
+
const normStart = rangeStart ? tigercatCore.normalizeDate(rangeStart) : null;
|
|
574
|
+
const normEnd = rangeEnd ? tigercatCore.normalizeDate(rangeEnd) : null;
|
|
575
|
+
const isSelectingEnd = isRangeMode.value && Boolean(rangeStart) && !rangeEnd;
|
|
576
|
+
return vue.h(
|
|
577
|
+
"div",
|
|
578
|
+
{
|
|
579
|
+
class: tigercatCore.datePickerCalendarGridClasses,
|
|
580
|
+
role: "grid",
|
|
581
|
+
"aria-rowcount": 6,
|
|
582
|
+
"aria-colcount": 7
|
|
583
|
+
},
|
|
584
|
+
[
|
|
585
|
+
...calendarDays.value.map((date, index) => {
|
|
586
|
+
if (!date) return null;
|
|
587
|
+
const normDate = tigercatCore.normalizeDate(date);
|
|
588
|
+
const isRangeStart = isRangeMode.value && rangeStart ? tigercatCore.isSameDay(date, rangeStart) : false;
|
|
589
|
+
const isRangeEnd = isRangeMode.value && rangeEnd ? tigercatCore.isSameDay(date, rangeEnd) : false;
|
|
590
|
+
const isInRange = isRangeMode.value && normStart && normEnd && normDate >= normStart && normDate <= normEnd;
|
|
591
|
+
const isSelected = !isRangeMode.value ? selectedDate.value ? tigercatCore.isSameDay(date, selectedDate.value) : false : isRangeStart || isRangeEnd;
|
|
592
|
+
const isCurrentMonthDay = isCurrentMonth(date);
|
|
593
|
+
const isTodayDay = tigercatCore.isToday(date);
|
|
594
|
+
const isBeforeRangeStart = isSelectingEnd && normStart && normDate < normStart;
|
|
595
|
+
const isDisabled = isDateDisabled(date) || Boolean(isBeforeRangeStart);
|
|
596
|
+
const iso = tigercatCore.formatDate(date, "yyyy-MM-dd");
|
|
597
|
+
return vue.h(
|
|
598
|
+
"button",
|
|
599
|
+
{
|
|
600
|
+
key: index,
|
|
601
|
+
type: "button",
|
|
602
|
+
class: tigercatCore.getDatePickerDayCellClasses(
|
|
603
|
+
isCurrentMonthDay,
|
|
604
|
+
isSelected,
|
|
605
|
+
isTodayDay,
|
|
606
|
+
isDisabled,
|
|
607
|
+
Boolean(isInRange),
|
|
608
|
+
Boolean(isRangeStart),
|
|
609
|
+
Boolean(isRangeEnd)
|
|
610
|
+
),
|
|
611
|
+
disabled: isDisabled,
|
|
612
|
+
onClick: () => selectDate(date),
|
|
613
|
+
role: "gridcell",
|
|
614
|
+
"data-date": iso,
|
|
615
|
+
onFocus: () => {
|
|
616
|
+
activeDateIso.value = iso;
|
|
617
|
+
},
|
|
618
|
+
tabindex: activeDateIso.value === iso && !isDisabled ? 0 : -1,
|
|
619
|
+
"aria-label": iso,
|
|
620
|
+
"aria-selected": isSelected,
|
|
621
|
+
"aria-current": isTodayDay ? "date" : void 0
|
|
625
622
|
},
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
);
|
|
633
|
-
})
|
|
634
|
-
]
|
|
635
|
-
),
|
|
623
|
+
date.getDate()
|
|
624
|
+
);
|
|
625
|
+
})
|
|
626
|
+
]
|
|
627
|
+
);
|
|
628
|
+
})(),
|
|
636
629
|
// Footer (range mode only)
|
|
637
630
|
isRangeMode.value ? vue.h("div", { class: tigercatCore.datePickerFooterClasses }, [
|
|
638
631
|
vue.h(
|