@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
|
@@ -6,78 +6,42 @@ var Loading = defineComponent({
|
|
|
6
6
|
name: "TigerLoading",
|
|
7
7
|
inheritAttrs: false,
|
|
8
8
|
props: {
|
|
9
|
-
/**
|
|
10
|
-
* Loading spinner variant - determines animation style
|
|
11
|
-
* @default 'spinner'
|
|
12
|
-
*/
|
|
13
9
|
variant: {
|
|
14
10
|
type: String,
|
|
15
11
|
default: "spinner"
|
|
16
12
|
},
|
|
17
|
-
/**
|
|
18
|
-
* Size of the loading indicator
|
|
19
|
-
* @default 'md'
|
|
20
|
-
*/
|
|
21
13
|
size: {
|
|
22
14
|
type: String,
|
|
23
15
|
default: "md"
|
|
24
16
|
},
|
|
25
|
-
/**
|
|
26
|
-
* Color variant
|
|
27
|
-
* @default 'primary'
|
|
28
|
-
*/
|
|
29
17
|
color: {
|
|
30
18
|
type: String,
|
|
31
19
|
default: "primary"
|
|
32
20
|
},
|
|
33
|
-
/**
|
|
34
|
-
* Custom text to display below the spinner
|
|
35
|
-
*/
|
|
36
21
|
text: {
|
|
37
22
|
type: String,
|
|
38
23
|
default: void 0
|
|
39
24
|
},
|
|
40
|
-
/**
|
|
41
|
-
* Whether to show loading as fullscreen overlay
|
|
42
|
-
* @default false
|
|
43
|
-
*/
|
|
44
25
|
fullscreen: {
|
|
45
26
|
type: Boolean,
|
|
46
27
|
default: false
|
|
47
28
|
},
|
|
48
|
-
/**
|
|
49
|
-
* Delay before showing the loading indicator (ms)
|
|
50
|
-
* @default 0
|
|
51
|
-
*/
|
|
52
29
|
delay: {
|
|
53
30
|
type: Number,
|
|
54
31
|
default: 0
|
|
55
32
|
},
|
|
56
|
-
/**
|
|
57
|
-
* Custom background color (for fullscreen mode)
|
|
58
|
-
* @default 'rgba(255, 255, 255, 0.9)'
|
|
59
|
-
*/
|
|
60
33
|
background: {
|
|
61
34
|
type: String,
|
|
62
35
|
default: "rgba(255, 255, 255, 0.9)"
|
|
63
36
|
},
|
|
64
|
-
/**
|
|
65
|
-
* Custom spinner color (overrides color variant)
|
|
66
|
-
*/
|
|
67
37
|
customColor: {
|
|
68
38
|
type: String,
|
|
69
39
|
default: void 0
|
|
70
40
|
},
|
|
71
|
-
/**
|
|
72
|
-
* Additional CSS classes
|
|
73
|
-
*/
|
|
74
41
|
className: {
|
|
75
42
|
type: String,
|
|
76
|
-
default:
|
|
43
|
+
default: void 0
|
|
77
44
|
},
|
|
78
|
-
/**
|
|
79
|
-
* Custom styles
|
|
80
|
-
*/
|
|
81
45
|
style: {
|
|
82
46
|
type: Object,
|
|
83
47
|
default: void 0
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { FormContextKey } from './chunk-
|
|
1
|
+
import { FormContextKey } from './chunk-5XY7MXWC.mjs';
|
|
2
2
|
import { defineComponent, inject, computed, ref, watch, onUnmounted, isVNode, cloneVNode, h } from 'vue';
|
|
3
|
-
import { getFieldError, getFormItemClasses, getFormItemLabelClasses, getFormItemContentClasses, classNames, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemAsteriskClasses
|
|
3
|
+
import { getFieldError, getFormItemClasses, getFormItemLabelClasses, getFormItemContentClasses, classNames, getFormItemErrorClasses, getFormItemFieldClasses, getFormItemAsteriskClasses } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
|
+
function mergeAriaDescribedBy(existing, next) {
|
|
6
|
+
if (!existing) return next;
|
|
7
|
+
if (!next) return existing;
|
|
8
|
+
const parts = new Set(
|
|
9
|
+
`${existing} ${next}`.split(" ").map((s) => s.trim()).filter(Boolean)
|
|
10
|
+
);
|
|
11
|
+
return Array.from(parts).join(" ");
|
|
12
|
+
}
|
|
5
13
|
var formItemIdCounter = 0;
|
|
6
14
|
var FormItem = defineComponent({
|
|
7
15
|
name: "TigerFormItem",
|
|
@@ -61,6 +69,8 @@ var FormItem = defineComponent({
|
|
|
61
69
|
const formContextRef = inject(FormContextKey, null);
|
|
62
70
|
const formContext = computed(() => formContextRef?.value ?? null);
|
|
63
71
|
const errorMessage = ref("");
|
|
72
|
+
const shakeTrigger = ref(0);
|
|
73
|
+
const prevFormError = ref("");
|
|
64
74
|
const instanceId = ++formItemIdCounter;
|
|
65
75
|
const baseId = `tiger-form-item-${instanceId}`;
|
|
66
76
|
const labelId = `${baseId}-label`;
|
|
@@ -116,8 +126,12 @@ var FormItem = defineComponent({
|
|
|
116
126
|
() => formContext.value?.errors,
|
|
117
127
|
(errors) => {
|
|
118
128
|
if (props.name && errors) {
|
|
119
|
-
const error = getFieldError(props.name, errors);
|
|
120
|
-
errorMessage.value = error
|
|
129
|
+
const error = getFieldError(props.name, errors) || "";
|
|
130
|
+
errorMessage.value = error;
|
|
131
|
+
if (error && error !== prevFormError.value) {
|
|
132
|
+
shakeTrigger.value++;
|
|
133
|
+
}
|
|
134
|
+
prevFormError.value = error;
|
|
121
135
|
}
|
|
122
136
|
},
|
|
123
137
|
{ deep: true, immediate: true }
|
|
@@ -195,27 +209,11 @@ var FormItem = defineComponent({
|
|
|
195
209
|
});
|
|
196
210
|
const contentClasses = computed(() => getFormItemContentClasses(labelPosition.value));
|
|
197
211
|
const errorClasses = computed(() => {
|
|
198
|
-
return classNames(
|
|
199
|
-
getFormItemErrorClasses(actualSize.value),
|
|
200
|
-
hasError.value && "tiger-form-item__error--show"
|
|
201
|
-
);
|
|
212
|
+
return classNames(getFormItemErrorClasses(actualSize.value), hasError.value && "opacity-100");
|
|
202
213
|
});
|
|
203
|
-
const fieldClasses =
|
|
204
|
-
const asteriskClasses =
|
|
205
|
-
const asteriskStyle = computed(() => getFormItemAsteriskStyle());
|
|
214
|
+
const fieldClasses = getFormItemFieldClasses();
|
|
215
|
+
const asteriskClasses = getFormItemAsteriskClasses();
|
|
206
216
|
return () => {
|
|
207
|
-
const mergeAriaDescribedBy = (existing, next) => {
|
|
208
|
-
if (!existing) {
|
|
209
|
-
return next;
|
|
210
|
-
}
|
|
211
|
-
if (!next) {
|
|
212
|
-
return existing;
|
|
213
|
-
}
|
|
214
|
-
const parts = new Set(
|
|
215
|
-
`${existing} ${next}`.split(" ").map((s) => s.trim()).filter(Boolean)
|
|
216
|
-
);
|
|
217
|
-
return Array.from(parts).join(" ");
|
|
218
|
-
};
|
|
219
217
|
const defaultSlot = slots.default?.() ?? [];
|
|
220
218
|
const only = defaultSlot.length === 1 ? defaultSlot[0] : void 0;
|
|
221
219
|
const isSingleVNode = only != null && isVNode(only);
|
|
@@ -232,36 +230,22 @@ var FormItem = defineComponent({
|
|
|
232
230
|
}
|
|
233
231
|
const vnode = only;
|
|
234
232
|
const existingProps = vnode.props ?? {};
|
|
235
|
-
const
|
|
236
|
-
const existingOnFocusout = existingProps.onFocusout;
|
|
237
|
-
const existingOnInput = existingProps.onInput;
|
|
238
|
-
const existingOnChange = existingProps.onChange;
|
|
233
|
+
const isNativeElement = typeof vnode.type === "string";
|
|
239
234
|
const merged = cloneVNode(
|
|
240
235
|
vnode,
|
|
241
236
|
{
|
|
242
237
|
id: effectiveFieldId,
|
|
238
|
+
status: !isNativeElement && hasError.value ? "error" : existingProps.status,
|
|
239
|
+
errorMessage: !isNativeElement && hasError.value && !props.showMessage ? errorMessage.value : existingProps.errorMessage,
|
|
240
|
+
_shakeTrigger: !isNativeElement && hasError.value ? shakeTrigger.value : void 0,
|
|
243
241
|
"aria-invalid": hasError.value ? "true" : existingProps["aria-invalid"],
|
|
244
242
|
"aria-required": isRequired.value ? "true" : existingProps["aria-required"],
|
|
245
243
|
"aria-describedby": mergeAriaDescribedBy(
|
|
246
244
|
existingProps["aria-describedby"],
|
|
247
245
|
describedById.value
|
|
248
246
|
),
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
handleBlur();
|
|
252
|
-
},
|
|
253
|
-
onFocusout: (event) => {
|
|
254
|
-
existingOnFocusout?.(event);
|
|
255
|
-
handleBlur();
|
|
256
|
-
},
|
|
257
|
-
onInput: (event) => {
|
|
258
|
-
existingOnInput?.(event);
|
|
259
|
-
handleChange();
|
|
260
|
-
},
|
|
261
|
-
onChange: (event) => {
|
|
262
|
-
existingOnChange?.(event);
|
|
263
|
-
handleChange();
|
|
264
|
-
}
|
|
247
|
+
onFocusout: handleBlur,
|
|
248
|
+
onInput: handleChange
|
|
265
249
|
},
|
|
266
250
|
true
|
|
267
251
|
);
|
|
@@ -275,10 +259,7 @@ var FormItem = defineComponent({
|
|
|
275
259
|
id: labelId,
|
|
276
260
|
for: effectiveFieldId
|
|
277
261
|
},
|
|
278
|
-
[
|
|
279
|
-
isRequired.value && h("span", { class: asteriskClasses.value, style: asteriskStyle.value }, "*"),
|
|
280
|
-
props.label
|
|
281
|
-
]
|
|
262
|
+
[isRequired.value && h("span", { class: asteriskClasses }, "*"), props.label]
|
|
282
263
|
) : null;
|
|
283
264
|
const contentElement = h(
|
|
284
265
|
"div",
|
|
@@ -289,26 +270,26 @@ var FormItem = defineComponent({
|
|
|
289
270
|
h(
|
|
290
271
|
"div",
|
|
291
272
|
{
|
|
292
|
-
class: fieldClasses
|
|
273
|
+
class: fieldClasses,
|
|
293
274
|
role: "group",
|
|
294
275
|
"aria-labelledby": props.label ? labelId : void 0,
|
|
295
276
|
"aria-describedby": describedById.value,
|
|
296
277
|
"aria-invalid": hasError.value ? "true" : void 0,
|
|
297
278
|
"aria-required": isRequired.value ? "true" : void 0,
|
|
298
279
|
onFocusout: isSingleVNode ? void 0 : handleBlur,
|
|
299
|
-
onInput: isSingleVNode ? void 0 : handleChange
|
|
300
|
-
onChange: isSingleVNode ? void 0 : handleChange
|
|
280
|
+
onInput: isSingleVNode ? void 0 : handleChange
|
|
301
281
|
},
|
|
302
282
|
fieldChildren
|
|
303
283
|
),
|
|
304
|
-
props.showMessage &&
|
|
284
|
+
props.showMessage && h(
|
|
305
285
|
"div",
|
|
306
286
|
{
|
|
307
|
-
id: errorId,
|
|
308
|
-
role: "alert",
|
|
309
|
-
class: errorClasses.value
|
|
287
|
+
id: hasError.value ? errorId : void 0,
|
|
288
|
+
role: hasError.value ? "alert" : void 0,
|
|
289
|
+
class: errorClasses.value,
|
|
290
|
+
"aria-hidden": hasError.value ? void 0 : "true"
|
|
310
291
|
},
|
|
311
|
-
errorMessage.value
|
|
292
|
+
hasError.value ? errorMessage.value : ""
|
|
312
293
|
)
|
|
313
294
|
]
|
|
314
295
|
);
|
|
@@ -72,31 +72,27 @@ var Code = vue.defineComponent({
|
|
|
72
72
|
vue.onBeforeUnmount(() => {
|
|
73
73
|
clearTimer();
|
|
74
74
|
});
|
|
75
|
-
return () =>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
) : null
|
|
97
|
-
]
|
|
98
|
-
);
|
|
99
|
-
};
|
|
75
|
+
return () => vue.h(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
...attrs,
|
|
79
|
+
class: containerClasses.value,
|
|
80
|
+
style: props.style
|
|
81
|
+
},
|
|
82
|
+
[
|
|
83
|
+
vue.h("pre", { class: tigercatCore.codeBlockPreClasses }, [vue.h("code", { class: "block" }, props.code)]),
|
|
84
|
+
props.copyable ? vue.h(
|
|
85
|
+
"button",
|
|
86
|
+
{
|
|
87
|
+
type: "button",
|
|
88
|
+
class: copyButtonClasses.value,
|
|
89
|
+
onClick: handleCopy,
|
|
90
|
+
"aria-label": isCopied.value ? props.copiedLabel : props.copyLabel
|
|
91
|
+
},
|
|
92
|
+
isCopied.value ? props.copiedLabel : props.copyLabel
|
|
93
|
+
) : null
|
|
94
|
+
]
|
|
95
|
+
);
|
|
100
96
|
}
|
|
101
97
|
});
|
|
102
98
|
var Code_default = Code;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkWC4B72TZ_js = require('./chunk-WC4B72TZ.js');
|
|
4
|
+
var chunk6FXYRDYH_js = require('./chunk-6FXYRDYH.js');
|
|
5
|
+
var chunkDELTFEEJ_js = require('./chunk-DELTFEEJ.js');
|
|
6
|
+
var chunkWPIDP6IG_js = require('./chunk-WPIDP6IG.js');
|
|
7
7
|
var vue = require('vue');
|
|
8
8
|
var tigercatCore = require('@expcat/tigercat-core');
|
|
9
9
|
|
|
@@ -173,7 +173,7 @@ var ChatWindow = vue.defineComponent({
|
|
|
173
173
|
key: message.id ?? index
|
|
174
174
|
},
|
|
175
175
|
[
|
|
176
|
-
props.showAvatar && message.user ? vue.h(
|
|
176
|
+
props.showAvatar && message.user ? vue.h(chunkWPIDP6IG_js.Avatar, {
|
|
177
177
|
size: "sm",
|
|
178
178
|
src: message.user.avatar,
|
|
179
179
|
text: message.user.name,
|
|
@@ -223,9 +223,9 @@ var ChatWindow = vue.defineComponent({
|
|
|
223
223
|
"aria-label": resolvedInputLabel
|
|
224
224
|
};
|
|
225
225
|
if (props.inputType === "input") {
|
|
226
|
-
return vue.h(
|
|
226
|
+
return vue.h(chunkWC4B72TZ_js.Input, commonProps);
|
|
227
227
|
}
|
|
228
|
-
return vue.h(
|
|
228
|
+
return vue.h(chunk6FXYRDYH_js.Textarea, { ...commonProps, rows: props.inputRows });
|
|
229
229
|
};
|
|
230
230
|
return () => vue.h(
|
|
231
231
|
"div",
|
|
@@ -270,7 +270,7 @@ var ChatWindow = vue.defineComponent({
|
|
|
270
270
|
[
|
|
271
271
|
vue.h("div", { class: "flex-1" }, [renderInput()]),
|
|
272
272
|
vue.h(
|
|
273
|
-
|
|
273
|
+
chunkDELTFEEJ_js.Button,
|
|
274
274
|
{
|
|
275
275
|
disabled: !canSend.value,
|
|
276
276
|
onClick: handleSend,
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var tigercatCore = require('@expcat/tigercat-core');
|
|
5
|
+
|
|
6
|
+
// src/components/Progress.ts
|
|
7
|
+
var Progress = vue.defineComponent({
|
|
8
|
+
name: "TigerProgress",
|
|
9
|
+
inheritAttrs: false,
|
|
10
|
+
props: {
|
|
11
|
+
variant: { type: String, default: "primary" },
|
|
12
|
+
size: { type: String, default: "md" },
|
|
13
|
+
type: { type: String, default: "line" },
|
|
14
|
+
percentage: { type: Number, default: 0 },
|
|
15
|
+
status: { type: String, default: "normal" },
|
|
16
|
+
showText: { type: Boolean, default: void 0 },
|
|
17
|
+
text: { type: String, default: void 0 },
|
|
18
|
+
format: { type: Function, default: void 0 },
|
|
19
|
+
striped: { type: Boolean, default: false },
|
|
20
|
+
stripedAnimation: { type: Boolean, default: false },
|
|
21
|
+
strokeWidth: { type: Number, default: 6 },
|
|
22
|
+
width: { type: [String, Number], default: "auto" },
|
|
23
|
+
height: { type: Number, default: void 0 },
|
|
24
|
+
className: { type: String, default: void 0 },
|
|
25
|
+
style: { type: Object, default: void 0 }
|
|
26
|
+
},
|
|
27
|
+
setup(props, { attrs }) {
|
|
28
|
+
const clamped = vue.computed(() => tigercatCore.clampPercentage(props.percentage));
|
|
29
|
+
const effectiveVariant = vue.computed(
|
|
30
|
+
() => tigercatCore.getStatusVariant(props.status) || props.variant
|
|
31
|
+
);
|
|
32
|
+
const shouldShowText = vue.computed(() => props.showText ?? props.type === "line");
|
|
33
|
+
const displayText = vue.computed(
|
|
34
|
+
() => shouldShowText.value ? tigercatCore.formatProgressText(clamped.value, props.text, props.format) : ""
|
|
35
|
+
);
|
|
36
|
+
const resolvedAriaLabel = vue.computed(() => {
|
|
37
|
+
const label = attrs["aria-label"];
|
|
38
|
+
return label ?? (attrs["aria-labelledby"] != null ? void 0 : `Progress: ${clamped.value}%`);
|
|
39
|
+
});
|
|
40
|
+
const ariaProps = vue.computed(() => ({
|
|
41
|
+
role: "progressbar",
|
|
42
|
+
"aria-label": resolvedAriaLabel.value,
|
|
43
|
+
"aria-labelledby": attrs["aria-labelledby"],
|
|
44
|
+
"aria-describedby": attrs["aria-describedby"],
|
|
45
|
+
"aria-valuenow": clamped.value,
|
|
46
|
+
"aria-valuemin": 0,
|
|
47
|
+
"aria-valuemax": 100
|
|
48
|
+
}));
|
|
49
|
+
const renderLineProgress = () => {
|
|
50
|
+
const containerStyle = props.width !== "auto" ? { width: typeof props.width === "number" ? `${props.width}px` : props.width } : {};
|
|
51
|
+
return vue.h(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
...attrs,
|
|
55
|
+
class: tigercatCore.classNames(
|
|
56
|
+
"flex items-center w-full",
|
|
57
|
+
tigercatCore.coerceClassValue(attrs.class),
|
|
58
|
+
props.className
|
|
59
|
+
),
|
|
60
|
+
style: {
|
|
61
|
+
...attrs.style,
|
|
62
|
+
...props.style ?? {},
|
|
63
|
+
...containerStyle
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
[
|
|
67
|
+
vue.h(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
class: tigercatCore.classNames(
|
|
71
|
+
tigercatCore.progressLineBaseClasses,
|
|
72
|
+
tigercatCore.progressTrackBgClasses,
|
|
73
|
+
!props.height && tigercatCore.progressLineSizeClasses[props.size]
|
|
74
|
+
),
|
|
75
|
+
style: { flex: 1, ...props.height ? { height: `${props.height}px` } : {} }
|
|
76
|
+
},
|
|
77
|
+
[
|
|
78
|
+
vue.h("div", {
|
|
79
|
+
class: tigercatCore.classNames(
|
|
80
|
+
tigercatCore.progressLineInnerClasses,
|
|
81
|
+
tigercatCore.getProgressVariantClasses(effectiveVariant.value),
|
|
82
|
+
props.striped && tigercatCore.progressStripedClasses,
|
|
83
|
+
props.striped && props.stripedAnimation && tigercatCore.progressStripedAnimationClasses
|
|
84
|
+
),
|
|
85
|
+
style: { width: `${clamped.value}%` },
|
|
86
|
+
...ariaProps.value
|
|
87
|
+
})
|
|
88
|
+
]
|
|
89
|
+
),
|
|
90
|
+
shouldShowText.value ? vue.h(
|
|
91
|
+
"span",
|
|
92
|
+
{
|
|
93
|
+
class: tigercatCore.classNames(
|
|
94
|
+
tigercatCore.progressTextBaseClasses,
|
|
95
|
+
tigercatCore.progressTextSizeClasses[props.size],
|
|
96
|
+
tigercatCore.getProgressTextColorClasses(effectiveVariant.value)
|
|
97
|
+
)
|
|
98
|
+
},
|
|
99
|
+
displayText.value
|
|
100
|
+
) : void 0
|
|
101
|
+
].filter(Boolean)
|
|
102
|
+
);
|
|
103
|
+
};
|
|
104
|
+
const renderCircleProgress = () => {
|
|
105
|
+
const { width, height, radius, cx, cy } = tigercatCore.getCircleSize(props.size, props.strokeWidth);
|
|
106
|
+
const { strokeDasharray, strokeDashoffset } = tigercatCore.calculateCirclePath(radius, clamped.value);
|
|
107
|
+
return vue.h(
|
|
108
|
+
"div",
|
|
109
|
+
{
|
|
110
|
+
...attrs,
|
|
111
|
+
class: tigercatCore.classNames(
|
|
112
|
+
tigercatCore.progressCircleBaseClasses,
|
|
113
|
+
tigercatCore.coerceClassValue(attrs.class),
|
|
114
|
+
props.className
|
|
115
|
+
),
|
|
116
|
+
style: {
|
|
117
|
+
...attrs.style,
|
|
118
|
+
...props.style ?? {},
|
|
119
|
+
width: `${width}px`,
|
|
120
|
+
height: `${height}px`
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
[
|
|
124
|
+
vue.h("svg", { width, height, viewBox: `0 0 ${width} ${height}` }, [
|
|
125
|
+
vue.h("circle", {
|
|
126
|
+
cx,
|
|
127
|
+
cy,
|
|
128
|
+
r: radius,
|
|
129
|
+
fill: "none",
|
|
130
|
+
stroke: "currentColor",
|
|
131
|
+
class: tigercatCore.progressCircleTrackStrokeClasses,
|
|
132
|
+
"stroke-width": props.strokeWidth
|
|
133
|
+
}),
|
|
134
|
+
vue.h("circle", {
|
|
135
|
+
cx,
|
|
136
|
+
cy,
|
|
137
|
+
r: radius,
|
|
138
|
+
fill: "none",
|
|
139
|
+
stroke: "currentColor",
|
|
140
|
+
class: tigercatCore.getProgressVariantClasses(effectiveVariant.value).replace("bg-", "text-"),
|
|
141
|
+
"stroke-width": props.strokeWidth,
|
|
142
|
+
"stroke-linecap": "round",
|
|
143
|
+
"stroke-dasharray": strokeDasharray,
|
|
144
|
+
"stroke-dashoffset": strokeDashoffset,
|
|
145
|
+
style: {
|
|
146
|
+
transition: "stroke-dashoffset 0.3s ease",
|
|
147
|
+
transform: "rotate(-90deg)",
|
|
148
|
+
transformOrigin: "center"
|
|
149
|
+
},
|
|
150
|
+
...ariaProps.value
|
|
151
|
+
})
|
|
152
|
+
]),
|
|
153
|
+
shouldShowText.value ? vue.h(
|
|
154
|
+
"div",
|
|
155
|
+
{
|
|
156
|
+
class: tigercatCore.classNames(
|
|
157
|
+
tigercatCore.progressCircleTextClasses,
|
|
158
|
+
tigercatCore.progressTextSizeClasses[props.size],
|
|
159
|
+
"font-medium",
|
|
160
|
+
tigercatCore.getProgressTextColorClasses(effectiveVariant.value)
|
|
161
|
+
)
|
|
162
|
+
},
|
|
163
|
+
displayText.value
|
|
164
|
+
) : void 0
|
|
165
|
+
].filter(Boolean)
|
|
166
|
+
);
|
|
167
|
+
};
|
|
168
|
+
return () => props.type === "circle" ? renderCircleProgress() : renderLineProgress();
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
var Progress_default = Progress;
|
|
172
|
+
|
|
173
|
+
exports.Progress = Progress;
|
|
174
|
+
exports.Progress_default = Progress_default;
|
|
@@ -88,7 +88,9 @@ var Anchor = vue.defineComponent({
|
|
|
88
88
|
const inkRef = vue.ref(null);
|
|
89
89
|
const isScrolling = vue.ref(false);
|
|
90
90
|
let animationFrameId = null;
|
|
91
|
+
let scrollTimeoutId = null;
|
|
91
92
|
const getContainer = () => props.getContainer();
|
|
93
|
+
const scrollOffset = vue.computed(() => props.targetOffset ?? props.offsetTop);
|
|
92
94
|
const registerLink = (href) => {
|
|
93
95
|
if (href && !links.value.includes(href)) {
|
|
94
96
|
links.value = [...links.value, href];
|
|
@@ -104,8 +106,12 @@ var Anchor = vue.defineComponent({
|
|
|
104
106
|
}
|
|
105
107
|
animationFrameId = requestAnimationFrame(() => {
|
|
106
108
|
const container = getContainer();
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
+
const newActiveLink = tigercatCore.findActiveAnchor(
|
|
110
|
+
links.value,
|
|
111
|
+
container,
|
|
112
|
+
props.bounds,
|
|
113
|
+
scrollOffset.value
|
|
114
|
+
);
|
|
109
115
|
const finalActiveLink = props.getCurrentAnchor ? props.getCurrentAnchor(newActiveLink) : newActiveLink;
|
|
110
116
|
if (finalActiveLink !== activeLink.value) {
|
|
111
117
|
activeLink.value = finalActiveLink;
|
|
@@ -114,17 +120,17 @@ var Anchor = vue.defineComponent({
|
|
|
114
120
|
});
|
|
115
121
|
};
|
|
116
122
|
const scrollTo = (href) => {
|
|
117
|
-
|
|
118
|
-
const scrollOffset = props.targetOffset ?? props.offsetTop;
|
|
119
|
-
tigercatCore.scrollToAnchor(href, container, scrollOffset);
|
|
123
|
+
tigercatCore.scrollToAnchor(href, getContainer(), scrollOffset.value);
|
|
120
124
|
};
|
|
121
125
|
const handleLinkClick = (href, event) => {
|
|
122
126
|
emit("click", event, href);
|
|
123
127
|
isScrolling.value = true;
|
|
124
128
|
activeLink.value = href;
|
|
125
129
|
scrollTo(href);
|
|
126
|
-
|
|
130
|
+
if (scrollTimeoutId !== null) clearTimeout(scrollTimeoutId);
|
|
131
|
+
scrollTimeoutId = setTimeout(() => {
|
|
127
132
|
isScrolling.value = false;
|
|
133
|
+
scrollTimeoutId = null;
|
|
128
134
|
}, 500);
|
|
129
135
|
};
|
|
130
136
|
const updateInkPosition = () => {
|
|
@@ -167,6 +173,9 @@ var Anchor = vue.defineComponent({
|
|
|
167
173
|
if (animationFrameId !== null) {
|
|
168
174
|
cancelAnimationFrame(animationFrameId);
|
|
169
175
|
}
|
|
176
|
+
if (scrollTimeoutId !== null) {
|
|
177
|
+
clearTimeout(scrollTimeoutId);
|
|
178
|
+
}
|
|
170
179
|
});
|
|
171
180
|
const wrapperClasses = vue.computed(() => {
|
|
172
181
|
return tigercatCore.classNames(
|
|
@@ -183,10 +192,7 @@ var Anchor = vue.defineComponent({
|
|
|
183
192
|
const linkListClasses = vue.computed(() => {
|
|
184
193
|
return tigercatCore.getAnchorLinkListClasses(props.direction);
|
|
185
194
|
});
|
|
186
|
-
const showInk = vue.computed(() =>
|
|
187
|
-
if (!props.affix) return true;
|
|
188
|
-
return props.showInkInFixed;
|
|
189
|
-
});
|
|
195
|
+
const showInk = vue.computed(() => !props.affix || props.showInkInFixed);
|
|
190
196
|
const wrapperStyle = vue.computed(() => {
|
|
191
197
|
const baseStyle = {};
|
|
192
198
|
if (props.affix && props.offsetTop > 0) {
|
|
@@ -202,15 +208,10 @@ var Anchor = vue.defineComponent({
|
|
|
202
208
|
handleLinkClick,
|
|
203
209
|
scrollTo
|
|
204
210
|
});
|
|
205
|
-
vue.watch(activeLink, (
|
|
206
|
-
contextValue.activeLink =
|
|
211
|
+
vue.watch([activeLink, () => props.direction], ([newActive, newDir]) => {
|
|
212
|
+
contextValue.activeLink = newActive;
|
|
213
|
+
contextValue.direction = newDir;
|
|
207
214
|
});
|
|
208
|
-
vue.watch(
|
|
209
|
-
() => props.direction,
|
|
210
|
-
(newVal) => {
|
|
211
|
-
contextValue.direction = newVal;
|
|
212
|
-
}
|
|
213
|
-
);
|
|
214
215
|
vue.provide(AnchorContextKey, contextValue);
|
|
215
216
|
return () => {
|
|
216
217
|
const inkIndicator = showInk.value ? [
|