@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
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import { Table } from './chunk-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Input } from './chunk-G6YTJ7IE.mjs';
|
|
7
|
-
import { Button } from './chunk-YMIO4A2U.mjs';
|
|
1
|
+
import { Table } from './chunk-ZTJTIQZY.mjs';
|
|
2
|
+
import { Select } from './chunk-GALASVSG.mjs';
|
|
3
|
+
import { Pagination } from './chunk-NHCCPMLC.mjs';
|
|
4
|
+
import { Input } from './chunk-VURU7TLN.mjs';
|
|
5
|
+
import { Button } from './chunk-D6MR5YRE.mjs';
|
|
8
6
|
import { defineComponent, ref, getCurrentInstance, watch, computed, h } from 'vue';
|
|
9
7
|
import { classNames, coerceClassValue, mergeStyleValues } from '@expcat/tigercat-core';
|
|
10
8
|
|
|
11
|
-
var resolveFilterLabel = (filter, value) => {
|
|
12
|
-
const option = filter.options.find((item) => item.value === value);
|
|
13
|
-
if (option) return `${filter.label}: ${option.label}`;
|
|
14
|
-
if (value !== null && value !== void 0 && value !== "") {
|
|
15
|
-
return `${filter.label}: ${String(value)}`;
|
|
16
|
-
}
|
|
17
|
-
return filter.placeholder ?? filter.label;
|
|
18
|
-
};
|
|
19
9
|
var DataTableWithToolbar = defineComponent({
|
|
20
10
|
name: "TigerDataTableWithToolbar",
|
|
21
11
|
inheritAttrs: false,
|
|
@@ -216,79 +206,57 @@ var DataTableWithToolbar = defineComponent({
|
|
|
216
206
|
if (hasSearch.value) {
|
|
217
207
|
const showButton = props.toolbar?.showSearchButton ?? true;
|
|
218
208
|
leftNodes.push(
|
|
219
|
-
h(
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
"onUpdate:modelValue": (value) => handleSearchChange(String(value ?? "")),
|
|
226
|
-
onKeydown: (event) => {
|
|
227
|
-
if (event.key === "Enter") {
|
|
228
|
-
handleSearchSubmit();
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}),
|
|
232
|
-
showButton ? h(
|
|
233
|
-
Button,
|
|
234
|
-
{
|
|
209
|
+
h(
|
|
210
|
+
"div",
|
|
211
|
+
{ class: "flex items-center gap-2 w-full sm:w-auto sm:min-w-[200px] sm:max-w-[320px]" },
|
|
212
|
+
[
|
|
213
|
+
h(Input, {
|
|
214
|
+
type: "search",
|
|
235
215
|
size: "sm",
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
216
|
+
modelValue: searchValue.value,
|
|
217
|
+
placeholder: props.toolbar?.searchPlaceholder ?? "\u641C\u7D22",
|
|
218
|
+
"onUpdate:modelValue": (value) => handleSearchChange(String(value ?? "")),
|
|
219
|
+
onKeydown: (event) => {
|
|
220
|
+
if (event.key === "Enter") {
|
|
221
|
+
handleSearchSubmit();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}),
|
|
225
|
+
showButton ? h(
|
|
226
|
+
Button,
|
|
227
|
+
{
|
|
228
|
+
size: "sm",
|
|
229
|
+
variant: "primary",
|
|
230
|
+
class: "whitespace-nowrap shrink-0",
|
|
231
|
+
onClick: handleSearchSubmit,
|
|
232
|
+
disabled: !canSearch.value
|
|
233
|
+
},
|
|
234
|
+
{ default: () => props.toolbar?.searchButtonText ?? "\u641C\u7D22" }
|
|
235
|
+
) : null
|
|
236
|
+
]
|
|
237
|
+
)
|
|
244
238
|
);
|
|
245
239
|
}
|
|
246
240
|
if (hasFilters.value) {
|
|
247
241
|
props.toolbar?.filters?.forEach((filter) => {
|
|
248
242
|
const currentValue = resolvedFilters.value[filter.key];
|
|
249
|
-
const triggerLabel = resolveFilterLabel(filter, currentValue);
|
|
250
243
|
const clearable = filter.clearable !== false;
|
|
251
|
-
const clearLabel = filter.clearLabel ?? "\u5168\u90E8";
|
|
252
|
-
const isActive = currentValue !== null && currentValue !== void 0 && currentValue !== "";
|
|
253
244
|
leftNodes.push(
|
|
254
|
-
h(
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
default: () => [
|
|
270
|
-
...clearable ? [
|
|
271
|
-
h(
|
|
272
|
-
DropdownItem,
|
|
273
|
-
{ onClick: () => handleFilterSelect(filter, null) },
|
|
274
|
-
{ default: () => clearLabel }
|
|
275
|
-
)
|
|
276
|
-
] : [],
|
|
277
|
-
...filter.options.map(
|
|
278
|
-
(option) => h(
|
|
279
|
-
DropdownItem,
|
|
280
|
-
{
|
|
281
|
-
key: String(option.value),
|
|
282
|
-
onClick: () => handleFilterSelect(filter, option.value)
|
|
283
|
-
},
|
|
284
|
-
{ default: () => option.label }
|
|
285
|
-
)
|
|
286
|
-
)
|
|
287
|
-
]
|
|
288
|
-
})
|
|
289
|
-
]
|
|
290
|
-
}
|
|
291
|
-
)
|
|
245
|
+
h("div", { class: "w-full sm:w-auto sm:min-w-[120px] sm:max-w-[180px]" }, [
|
|
246
|
+
h(Select, {
|
|
247
|
+
size: "sm",
|
|
248
|
+
options: filter.options.map((opt) => ({
|
|
249
|
+
label: opt.label,
|
|
250
|
+
value: opt.value
|
|
251
|
+
})),
|
|
252
|
+
modelValue: currentValue ?? void 0,
|
|
253
|
+
placeholder: filter.placeholder ?? filter.label,
|
|
254
|
+
clearable,
|
|
255
|
+
"onUpdate:modelValue": (value) => {
|
|
256
|
+
handleFilterSelect(filter, value ?? null);
|
|
257
|
+
}
|
|
258
|
+
})
|
|
259
|
+
])
|
|
292
260
|
);
|
|
293
261
|
});
|
|
294
262
|
}
|
|
@@ -319,10 +287,18 @@ var DataTableWithToolbar = defineComponent({
|
|
|
319
287
|
);
|
|
320
288
|
});
|
|
321
289
|
}
|
|
322
|
-
return h(
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
290
|
+
return h(
|
|
291
|
+
"div",
|
|
292
|
+
{ class: "tiger-data-table-toolbar flex flex-wrap items-center gap-2 pb-3" },
|
|
293
|
+
[
|
|
294
|
+
h("div", { class: "flex items-center gap-2 flex-wrap flex-1 min-w-0" }, leftNodes),
|
|
295
|
+
hasBulkActions.value ? h(
|
|
296
|
+
"div",
|
|
297
|
+
{ class: "flex items-center gap-2 flex-wrap ml-auto shrink-0" },
|
|
298
|
+
bulkChildren
|
|
299
|
+
) : null
|
|
300
|
+
]
|
|
301
|
+
);
|
|
326
302
|
};
|
|
327
303
|
return () => {
|
|
328
304
|
const { class: _class, style: _style, ...restAttrs } = attrs;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
3
|
+
var chunk27T3QDSF_js = require('./chunk-27T3QDSF.js');
|
|
4
|
+
var chunkDN5GU5PC_js = require('./chunk-DN5GU5PC.js');
|
|
5
|
+
var chunkZED7TU62_js = require('./chunk-ZED7TU62.js');
|
|
6
|
+
var chunk2KDSHEZT_js = require('./chunk-2KDSHEZT.js');
|
|
7
|
+
var chunkDUQ7Q2GO_js = require('./chunk-DUQ7Q2GO.js');
|
|
8
|
+
var chunkWEFQCJAG_js = require('./chunk-WEFQCJAG.js');
|
|
9
|
+
var chunkWPIDP6IG_js = require('./chunk-WPIDP6IG.js');
|
|
10
10
|
var vue = require('vue');
|
|
11
11
|
var tigercatCore = require('@expcat/tigercat-core');
|
|
12
12
|
|
|
13
13
|
var renderAction = (item, action, index) => {
|
|
14
14
|
const key = action.key ?? `${item.id}-action-${index}`;
|
|
15
15
|
return vue.h(
|
|
16
|
-
|
|
16
|
+
chunkZED7TU62_js.Link,
|
|
17
17
|
{
|
|
18
18
|
key,
|
|
19
19
|
size: "sm",
|
|
@@ -115,7 +115,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
115
115
|
},
|
|
116
116
|
[
|
|
117
117
|
vue.h("div", { class: "flex gap-3 items-start" }, [
|
|
118
|
-
props.showAvatar && item.user ? vue.h(
|
|
118
|
+
props.showAvatar && item.user ? vue.h(chunkWPIDP6IG_js.Avatar, {
|
|
119
119
|
size: "sm",
|
|
120
120
|
src: item.user.avatar,
|
|
121
121
|
text: item.user.name,
|
|
@@ -125,12 +125,12 @@ var ActivityFeed = vue.defineComponent({
|
|
|
125
125
|
vue.h("div", { class: "flex items-center justify-between gap-2 mb-1" }, [
|
|
126
126
|
vue.h("div", { class: "flex items-center gap-2 min-w-0" }, [
|
|
127
127
|
titleText ? vue.h(
|
|
128
|
-
|
|
128
|
+
chunkDUQ7Q2GO_js.Text,
|
|
129
129
|
{ tag: "div", size: "sm", weight: "medium", class: "truncate" },
|
|
130
130
|
{ default: () => titleText }
|
|
131
131
|
) : null,
|
|
132
132
|
item.status ? vue.h(
|
|
133
|
-
|
|
133
|
+
chunk2KDSHEZT_js.Tag,
|
|
134
134
|
{
|
|
135
135
|
variant: item.status.variant ?? "default",
|
|
136
136
|
size: "sm",
|
|
@@ -140,7 +140,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
140
140
|
) : null
|
|
141
141
|
]),
|
|
142
142
|
timeText ? vue.h(
|
|
143
|
-
|
|
143
|
+
chunkDUQ7Q2GO_js.Text,
|
|
144
144
|
{
|
|
145
145
|
tag: "div",
|
|
146
146
|
size: "xs",
|
|
@@ -151,7 +151,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
151
151
|
) : null
|
|
152
152
|
]),
|
|
153
153
|
descriptionText ? vue.h(
|
|
154
|
-
|
|
154
|
+
chunkDUQ7Q2GO_js.Text,
|
|
155
155
|
{ tag: "div", size: "sm", color: "muted", class: "mb-2 break-words" },
|
|
156
156
|
{ default: () => descriptionText }
|
|
157
157
|
) : null,
|
|
@@ -163,7 +163,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
163
163
|
};
|
|
164
164
|
return () => {
|
|
165
165
|
if (props.loading) {
|
|
166
|
-
const loadingNode = slots.loading ? slots.loading() : vue.h(
|
|
166
|
+
const loadingNode = slots.loading ? slots.loading() : vue.h(chunkDN5GU5PC_js.Loading, { text: props.loadingText });
|
|
167
167
|
return vue.h(
|
|
168
168
|
"div",
|
|
169
169
|
{
|
|
@@ -174,7 +174,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
174
174
|
},
|
|
175
175
|
[
|
|
176
176
|
vue.h(
|
|
177
|
-
|
|
177
|
+
chunkWEFQCJAG_js.Card,
|
|
178
178
|
{ variant: "bordered", size: "sm", className: "tiger-activity-feed-loading" },
|
|
179
179
|
{
|
|
180
180
|
default: () => vue.h("div", { class: "flex items-center justify-center py-4" }, loadingNode)
|
|
@@ -184,7 +184,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
186
|
if (resolvedGroups.value.length === 0) {
|
|
187
|
-
const emptyNode = slots.empty ? slots.empty() : vue.h(
|
|
187
|
+
const emptyNode = slots.empty ? slots.empty() : vue.h(chunkDUQ7Q2GO_js.Text, { tag: "div", size: "sm", color: "muted" }, { default: () => props.emptyText });
|
|
188
188
|
return vue.h(
|
|
189
189
|
"div",
|
|
190
190
|
{
|
|
@@ -195,7 +195,7 @@ var ActivityFeed = vue.defineComponent({
|
|
|
195
195
|
},
|
|
196
196
|
[
|
|
197
197
|
vue.h(
|
|
198
|
-
|
|
198
|
+
chunkWEFQCJAG_js.Card,
|
|
199
199
|
{ variant: "bordered", size: "sm", className: "tiger-activity-feed-empty" },
|
|
200
200
|
{
|
|
201
201
|
default: () => vue.h("div", { class: "flex items-center justify-center py-6" }, emptyNode)
|
|
@@ -218,12 +218,12 @@ var ActivityFeed = vue.defineComponent({
|
|
|
218
218
|
const timelineItems = tigercatCore.toActivityTimelineItems(group.items);
|
|
219
219
|
return vue.h("div", { key: group.key ?? groupIndex, class: "space-y-3" }, [
|
|
220
220
|
props.showGroupTitle && groupTitle ? headerNode ?? vue.h(
|
|
221
|
-
|
|
221
|
+
chunkDUQ7Q2GO_js.Text,
|
|
222
222
|
{ tag: "div", size: "sm", weight: "medium", color: "muted" },
|
|
223
223
|
{ default: () => groupTitle }
|
|
224
224
|
) : null,
|
|
225
225
|
vue.h(
|
|
226
|
-
|
|
226
|
+
chunk27T3QDSF_js.Timeline,
|
|
227
227
|
{ items: timelineItems },
|
|
228
228
|
{
|
|
229
229
|
item: ({ item, index }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, h } from 'vue';
|
|
2
|
-
import { getPaginationLabels, getTotalPages, validateCurrentPage, getPageRange, classNames, getPaginationContainerClasses, coerceClassValue, mergeStyleValues, defaultTotalText, getTotalTextClasses, getPaginationButtonBaseClasses, getPageNumbers, getPaginationEllipsisClasses, formatPageAriaLabel, getPaginationButtonActiveClasses, getPageSizeSelectorClasses, getQuickJumperInputClasses } from '@expcat/tigercat-core';
|
|
2
|
+
import { getPaginationLabels, getTotalPages, validateCurrentPage, getPageRange, classNames, getPaginationContainerClasses, coerceClassValue, mergeStyleValues, defaultTotalText, getTotalTextClasses, getPaginationButtonBaseClasses, getSizeTextClasses, getPageNumbers, getPaginationEllipsisClasses, formatPageAriaLabel, getPaginationButtonActiveClasses, getPageSizeSelectorClasses, getQuickJumperInputClasses } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
// src/components/Pagination.ts
|
|
5
5
|
var Pagination = defineComponent({
|
|
@@ -246,102 +246,53 @@ var Pagination = defineComponent({
|
|
|
246
246
|
return null;
|
|
247
247
|
}
|
|
248
248
|
const elements = [];
|
|
249
|
+
const size = props.size;
|
|
250
|
+
const page = validatedCurrentPage.value;
|
|
251
|
+
const pages = totalPages.value;
|
|
252
|
+
const prevDisabled = page <= 1 || props.disabled;
|
|
253
|
+
const nextDisabled = page >= pages || props.disabled;
|
|
249
254
|
if (props.showTotal) {
|
|
250
255
|
const totalTextFn = props.totalText || defaultTotalText;
|
|
251
|
-
const totalTextContent = totalTextFn(props.total, pageRange.value);
|
|
252
256
|
elements.push(
|
|
253
|
-
h(
|
|
254
|
-
"span",
|
|
255
|
-
{
|
|
256
|
-
class: getTotalTextClasses(props.size)
|
|
257
|
-
},
|
|
258
|
-
totalTextContent
|
|
259
|
-
)
|
|
257
|
+
h("span", { class: getTotalTextClasses(size) }, totalTextFn(props.total, pageRange.value))
|
|
260
258
|
);
|
|
261
259
|
}
|
|
260
|
+
elements.push(
|
|
261
|
+
h(
|
|
262
|
+
"button",
|
|
263
|
+
{
|
|
264
|
+
type: "button",
|
|
265
|
+
class: getPaginationButtonBaseClasses(size),
|
|
266
|
+
disabled: prevDisabled,
|
|
267
|
+
onClick: () => handlePageChange(page - 1),
|
|
268
|
+
"aria-label": labels.value.prevPageAriaLabel
|
|
269
|
+
},
|
|
270
|
+
"\u2039"
|
|
271
|
+
)
|
|
272
|
+
);
|
|
262
273
|
if (props.simple) {
|
|
263
|
-
const prevDisabled = validatedCurrentPage.value <= 1 || props.disabled;
|
|
264
|
-
const nextDisabled = validatedCurrentPage.value >= totalPages.value || props.disabled;
|
|
265
|
-
elements.push(
|
|
266
|
-
h(
|
|
267
|
-
"button",
|
|
268
|
-
{
|
|
269
|
-
type: "button",
|
|
270
|
-
class: getPaginationButtonBaseClasses(props.size),
|
|
271
|
-
disabled: prevDisabled,
|
|
272
|
-
onClick: () => handlePageChange(validatedCurrentPage.value - 1),
|
|
273
|
-
"aria-label": labels.value.prevPageAriaLabel
|
|
274
|
-
},
|
|
275
|
-
"\u2039"
|
|
276
|
-
)
|
|
277
|
-
);
|
|
278
|
-
elements.push(
|
|
279
|
-
h(
|
|
280
|
-
"span",
|
|
281
|
-
{
|
|
282
|
-
class: classNames(
|
|
283
|
-
"mx-2",
|
|
284
|
-
props.size === "small" ? "text-sm" : props.size === "large" ? "text-lg" : "text-base"
|
|
285
|
-
)
|
|
286
|
-
},
|
|
287
|
-
`${validatedCurrentPage.value} / ${totalPages.value}`
|
|
288
|
-
)
|
|
289
|
-
);
|
|
290
274
|
elements.push(
|
|
291
|
-
h(
|
|
292
|
-
"button",
|
|
293
|
-
{
|
|
294
|
-
type: "button",
|
|
295
|
-
class: getPaginationButtonBaseClasses(props.size),
|
|
296
|
-
disabled: nextDisabled,
|
|
297
|
-
onClick: () => handlePageChange(validatedCurrentPage.value + 1),
|
|
298
|
-
"aria-label": labels.value.nextPageAriaLabel
|
|
299
|
-
},
|
|
300
|
-
"\u203A"
|
|
301
|
-
)
|
|
275
|
+
h("span", { class: classNames("mx-2", getSizeTextClasses(size)) }, `${page} / ${pages}`)
|
|
302
276
|
);
|
|
303
277
|
} else {
|
|
304
|
-
|
|
305
|
-
const nextDisabled = validatedCurrentPage.value >= totalPages.value || props.disabled;
|
|
306
|
-
elements.push(
|
|
307
|
-
h(
|
|
308
|
-
"button",
|
|
309
|
-
{
|
|
310
|
-
type: "button",
|
|
311
|
-
class: getPaginationButtonBaseClasses(props.size),
|
|
312
|
-
disabled: prevDisabled,
|
|
313
|
-
onClick: () => handlePageChange(validatedCurrentPage.value - 1),
|
|
314
|
-
"aria-label": labels.value.prevPageAriaLabel
|
|
315
|
-
},
|
|
316
|
-
"\u2039"
|
|
317
|
-
)
|
|
318
|
-
);
|
|
319
|
-
const pageNumbers = getPageNumbers(
|
|
320
|
-
validatedCurrentPage.value,
|
|
321
|
-
totalPages.value,
|
|
322
|
-
props.showLessItems
|
|
323
|
-
);
|
|
324
|
-
pageNumbers.forEach((pageNum) => {
|
|
278
|
+
getPageNumbers(page, pages, props.showLessItems).forEach((pageNum) => {
|
|
325
279
|
if (pageNum === "...") {
|
|
326
280
|
elements.push(
|
|
327
281
|
h(
|
|
328
282
|
"span",
|
|
329
|
-
{
|
|
330
|
-
class: getPaginationEllipsisClasses(props.size),
|
|
331
|
-
"aria-hidden": "true"
|
|
332
|
-
},
|
|
283
|
+
{ class: getPaginationEllipsisClasses(size), "aria-hidden": "true" },
|
|
333
284
|
"..."
|
|
334
285
|
)
|
|
335
286
|
);
|
|
336
287
|
} else {
|
|
337
|
-
const isActive = pageNum ===
|
|
288
|
+
const isActive = pageNum === page;
|
|
338
289
|
elements.push(
|
|
339
290
|
h(
|
|
340
291
|
"button",
|
|
341
292
|
{
|
|
342
293
|
type: "button",
|
|
343
294
|
class: classNames(
|
|
344
|
-
getPaginationButtonBaseClasses(
|
|
295
|
+
getPaginationButtonBaseClasses(size),
|
|
345
296
|
isActive && getPaginationButtonActiveClasses()
|
|
346
297
|
),
|
|
347
298
|
disabled: props.disabled,
|
|
@@ -354,85 +305,60 @@ var Pagination = defineComponent({
|
|
|
354
305
|
);
|
|
355
306
|
}
|
|
356
307
|
});
|
|
357
|
-
elements.push(
|
|
358
|
-
h(
|
|
359
|
-
"button",
|
|
360
|
-
{
|
|
361
|
-
type: "button",
|
|
362
|
-
class: getPaginationButtonBaseClasses(props.size),
|
|
363
|
-
disabled: nextDisabled,
|
|
364
|
-
onClick: () => handlePageChange(validatedCurrentPage.value + 1),
|
|
365
|
-
"aria-label": labels.value.nextPageAriaLabel
|
|
366
|
-
},
|
|
367
|
-
"\u203A"
|
|
368
|
-
)
|
|
369
|
-
);
|
|
370
308
|
}
|
|
309
|
+
elements.push(
|
|
310
|
+
h(
|
|
311
|
+
"button",
|
|
312
|
+
{
|
|
313
|
+
type: "button",
|
|
314
|
+
class: getPaginationButtonBaseClasses(size),
|
|
315
|
+
disabled: nextDisabled,
|
|
316
|
+
onClick: () => handlePageChange(page + 1),
|
|
317
|
+
"aria-label": labels.value.nextPageAriaLabel
|
|
318
|
+
},
|
|
319
|
+
"\u203A"
|
|
320
|
+
)
|
|
321
|
+
);
|
|
371
322
|
if (props.showSizeChanger) {
|
|
372
323
|
elements.push(
|
|
373
324
|
h(
|
|
374
325
|
"select",
|
|
375
326
|
{
|
|
376
|
-
class: getPageSizeSelectorClasses(
|
|
327
|
+
class: getPageSizeSelectorClasses(size),
|
|
377
328
|
disabled: props.disabled,
|
|
378
329
|
value: currentPageSize.value,
|
|
379
330
|
onChange: (e) => {
|
|
380
|
-
|
|
381
|
-
handlePageSizeChange(parseInt(target.value, 10));
|
|
331
|
+
handlePageSizeChange(parseInt(e.target.value, 10));
|
|
382
332
|
},
|
|
383
333
|
"aria-label": labels.value.itemsPerPageText
|
|
384
334
|
},
|
|
385
335
|
normalizedPageSizeOptions.value.map(
|
|
386
|
-
(sizeOption) => h(
|
|
387
|
-
"option",
|
|
388
|
-
{
|
|
389
|
-
value: sizeOption.value,
|
|
390
|
-
key: sizeOption.value
|
|
391
|
-
},
|
|
392
|
-
sizeOption.label
|
|
393
|
-
)
|
|
336
|
+
(sizeOption) => h("option", { value: sizeOption.value, key: sizeOption.value }, sizeOption.label)
|
|
394
337
|
)
|
|
395
338
|
)
|
|
396
339
|
);
|
|
397
340
|
}
|
|
398
341
|
if (props.showQuickJumper) {
|
|
342
|
+
const sizeText = getSizeTextClasses(size);
|
|
399
343
|
elements.push(
|
|
400
|
-
h(
|
|
401
|
-
"span",
|
|
402
|
-
{
|
|
403
|
-
class: classNames(
|
|
404
|
-
"ml-2",
|
|
405
|
-
props.size === "small" ? "text-sm" : props.size === "large" ? "text-lg" : "text-base"
|
|
406
|
-
)
|
|
407
|
-
},
|
|
408
|
-
labels.value.jumpToText
|
|
409
|
-
)
|
|
344
|
+
h("span", { class: classNames("ml-2", sizeText) }, labels.value.jumpToText)
|
|
410
345
|
);
|
|
411
346
|
elements.push(
|
|
412
347
|
h("input", {
|
|
413
348
|
type: "number",
|
|
414
|
-
class: classNames(getQuickJumperInputClasses(
|
|
349
|
+
class: classNames(getQuickJumperInputClasses(size), "mx-2"),
|
|
415
350
|
disabled: props.disabled,
|
|
416
351
|
value: quickJumperValue.value,
|
|
417
352
|
onInput: (e) => {
|
|
418
|
-
|
|
419
|
-
quickJumperValue.value = target.value;
|
|
353
|
+
quickJumperValue.value = e.target.value;
|
|
420
354
|
},
|
|
421
355
|
onKeydown: handleQuickJumperKeypress,
|
|
422
356
|
min: 1,
|
|
423
|
-
max:
|
|
357
|
+
max: pages,
|
|
424
358
|
"aria-label": labels.value.jumpToText
|
|
425
359
|
})
|
|
426
360
|
);
|
|
427
|
-
elements.push(
|
|
428
|
-
h(
|
|
429
|
-
"span",
|
|
430
|
-
{
|
|
431
|
-
class: props.size === "small" ? "text-sm" : props.size === "large" ? "text-lg" : "text-base"
|
|
432
|
-
},
|
|
433
|
-
labels.value.pageText
|
|
434
|
-
)
|
|
435
|
-
);
|
|
361
|
+
elements.push(h("span", { class: sizeText }, labels.value.pageText));
|
|
436
362
|
}
|
|
437
363
|
const {
|
|
438
364
|
class: _class,
|
|
@@ -71,17 +71,14 @@ var Steps = vue.defineComponent({
|
|
|
71
71
|
},
|
|
72
72
|
emits: ["change", "update:current"],
|
|
73
73
|
setup(props, { slots, attrs, emit }) {
|
|
74
|
-
const attrsRecord = attrs;
|
|
75
|
-
const attrsClass = attrsRecord.class;
|
|
76
|
-
const attrsStyle = attrsRecord.style;
|
|
77
74
|
const containerClasses = vue.computed(
|
|
78
75
|
() => tigercatCore.classNames(
|
|
79
76
|
tigercatCore.getStepsContainerClasses(props.direction),
|
|
80
77
|
props.className,
|
|
81
|
-
tigercatCore.coerceClassValue(
|
|
78
|
+
tigercatCore.coerceClassValue(attrs.class)
|
|
82
79
|
)
|
|
83
80
|
);
|
|
84
|
-
const mergedStyle = vue.computed(() => tigercatCore.mergeStyleValues(
|
|
81
|
+
const mergedStyle = vue.computed(() => tigercatCore.mergeStyleValues(attrs.style, props.style));
|
|
85
82
|
const handleStepClick = (index) => {
|
|
86
83
|
if (!props.clickable) {
|
|
87
84
|
return;
|
|
@@ -89,42 +86,25 @@ var Steps = vue.defineComponent({
|
|
|
89
86
|
emit("update:current", index);
|
|
90
87
|
emit("change", index);
|
|
91
88
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
props.current,
|
|
104
|
-
props.status,
|
|
105
|
-
props.direction,
|
|
106
|
-
props.size,
|
|
107
|
-
props.simple,
|
|
108
|
-
props.clickable
|
|
109
|
-
],
|
|
110
|
-
([current, status, direction, size, simple, clickable]) => {
|
|
111
|
-
stepsContextValue.current = current;
|
|
112
|
-
stepsContextValue.status = status;
|
|
113
|
-
stepsContextValue.direction = direction;
|
|
114
|
-
stepsContextValue.size = size;
|
|
115
|
-
stepsContextValue.simple = simple;
|
|
116
|
-
stepsContextValue.clickable = clickable;
|
|
117
|
-
stepsContextValue.handleStepClick = clickable ? handleStepClick : void 0;
|
|
118
|
-
}
|
|
89
|
+
vue.provide(
|
|
90
|
+
StepsContextKey,
|
|
91
|
+
vue.reactive({
|
|
92
|
+
current: vue.computed(() => props.current),
|
|
93
|
+
status: vue.computed(() => props.status),
|
|
94
|
+
direction: vue.computed(() => props.direction),
|
|
95
|
+
size: vue.computed(() => props.size),
|
|
96
|
+
simple: vue.computed(() => props.simple),
|
|
97
|
+
clickable: vue.computed(() => props.clickable),
|
|
98
|
+
handleStepClick: vue.computed(() => props.clickable ? handleStepClick : void 0)
|
|
99
|
+
})
|
|
119
100
|
);
|
|
120
|
-
vue.provide(StepsContextKey, stepsContextValue);
|
|
121
101
|
return () => {
|
|
122
102
|
const children = slots.default?.() || [];
|
|
123
103
|
const {
|
|
124
104
|
class: _class,
|
|
125
105
|
style: _style,
|
|
126
106
|
...restAttrs
|
|
127
|
-
} =
|
|
107
|
+
} = attrs;
|
|
128
108
|
const stepsWithProps = children.map((child, index) => {
|
|
129
109
|
const childType = child?.type;
|
|
130
110
|
const childName = typeof childType === "object" && childType && "name" in childType ? childType.name : void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Input } from './chunk-
|
|
2
|
-
import { Textarea } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { Avatar } from './chunk-
|
|
1
|
+
import { Input } from './chunk-VURU7TLN.mjs';
|
|
2
|
+
import { Textarea } from './chunk-MKBIVETW.mjs';
|
|
3
|
+
import { Button } from './chunk-D6MR5YRE.mjs';
|
|
4
|
+
import { Avatar } from './chunk-COCECPMG.mjs';
|
|
5
5
|
import { defineComponent, ref, watch, computed, h } from 'vue';
|
|
6
6
|
import { classNames, coerceClassValue, mergeStyleValues, getChatMessageStatusInfo, formatChatTime } from '@expcat/tigercat-core';
|
|
7
7
|
|
|
@@ -282,14 +282,8 @@ var TimePicker = defineComponent({
|
|
|
282
282
|
function togglePanel() {
|
|
283
283
|
if (!props.disabled && !props.readonly) {
|
|
284
284
|
isOpen.value = !isOpen.value;
|
|
285
|
-
if (isOpen.value
|
|
286
|
-
|
|
287
|
-
selectedMinutes.value = parsedTime.value.minutes;
|
|
288
|
-
selectedSeconds.value = parsedTime.value.seconds;
|
|
289
|
-
if (props.format === "12") {
|
|
290
|
-
const { period } = to12HourFormat(parsedTime.value.hours);
|
|
291
|
-
selectedPeriod.value = period;
|
|
292
|
-
}
|
|
285
|
+
if (isOpen.value) {
|
|
286
|
+
syncSelectionFromActiveValue();
|
|
293
287
|
}
|
|
294
288
|
}
|
|
295
289
|
}
|
|
@@ -594,7 +588,6 @@ var TimePicker = defineComponent({
|
|
|
594
588
|
"div",
|
|
595
589
|
{ class: timePickerColumnListClasses },
|
|
596
590
|
hoursList.value.map((hour) => {
|
|
597
|
-
const displayHour = props.format === "12" ? hour : hour;
|
|
598
591
|
const hours24 = props.format === "12" ? to24HourFormat(hour, selectedPeriod.value) : hour;
|
|
599
592
|
const isSelected = selectedHours.value === hours24;
|
|
600
593
|
const isDisabled = isHourDisabled(hour);
|
|
@@ -608,14 +601,14 @@ var TimePicker = defineComponent({
|
|
|
608
601
|
onClick: () => selectHour(hour),
|
|
609
602
|
"data-tiger-timepicker-unit": "hour",
|
|
610
603
|
"aria-label": getTimePickerOptionAriaLabel(
|
|
611
|
-
|
|
604
|
+
hour,
|
|
612
605
|
"hour",
|
|
613
606
|
props.locale,
|
|
614
607
|
props.labels
|
|
615
608
|
),
|
|
616
609
|
"aria-selected": isSelected
|
|
617
610
|
},
|
|
618
|
-
|
|
611
|
+
hour.toString().padStart(2, "0")
|
|
619
612
|
);
|
|
620
613
|
})
|
|
621
614
|
)
|