@expcat/tigercat-vue 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DN5GU5PC.js → chunk-2LNNB55E.js} +18 -2
- package/dist/{chunk-RB7KVVWE.mjs → chunk-2X3ZPH2H.mjs} +20 -28
- package/dist/{chunk-SEKYX56R.js → chunk-2Z2CJEUL.js} +10 -13
- package/dist/{chunk-TDL4BUUB.js → chunk-33YTJPF7.js} +4 -3
- package/dist/{chunk-NXGCLBVG.js → chunk-47Z4MGKP.js} +92 -12
- package/dist/{chunk-243JSTYQ.mjs → chunk-4CWRNKPE.mjs} +3 -2
- package/dist/{chunk-BUTNEKFD.js → chunk-4VB6I3CA.js} +11 -15
- package/dist/{chunk-U7CCKZAG.js → chunk-5436FG3B.js} +18 -16
- package/dist/{chunk-AGAJJYP2.js → chunk-56EI2AYV.js} +53 -12
- package/dist/{chunk-JGUXQMYL.mjs → chunk-5D2UAWWP.mjs} +21 -5
- package/dist/{chunk-FOF7UBMU.js → chunk-5RA26RRN.js} +75 -37
- package/dist/{chunk-LW3LFCRZ.mjs → chunk-5X3GXNGM.mjs} +58 -13
- package/dist/{chunk-WNF7XUX4.mjs → chunk-5YFSAKRQ.mjs} +4 -2
- package/dist/chunk-63LJVB2M.js +491 -0
- package/dist/{chunk-VITTXNTD.js → chunk-656KMUL3.js} +125 -17
- package/dist/{chunk-5XF5IAUD.mjs → chunk-6EI23IND.mjs} +86 -49
- package/dist/{chunk-6XU5PSC2.js → chunk-6PJ3JANP.js} +37 -10
- package/dist/{chunk-MKLJ2LJW.mjs → chunk-6WACKCWM.mjs} +10 -13
- package/dist/{chunk-JIMDJWZZ.js → chunk-7ADONGSB.js} +2 -4
- package/dist/{chunk-MADOTDW7.mjs → chunk-7PY6OQVE.mjs} +23 -27
- package/dist/{chunk-VDNAGLQJ.js → chunk-7QX4QWWN.js} +26 -29
- package/dist/{chunk-CU4M5ABS.mjs → chunk-7RIWAO2A.mjs} +40 -6
- package/dist/{chunk-GJFT5IQR.js → chunk-A5HHG53Z.js} +30 -27
- package/dist/{chunk-Q57TYGO4.js → chunk-A5HRX7EG.js} +12 -1
- package/dist/{chunk-3G7QYQYL.js → chunk-A7FN3S4I.js} +47 -2
- package/dist/{chunk-JN63Z5E5.js → chunk-ABLH42TR.js} +3 -3
- package/dist/{chunk-BKTQ6RWR.js → chunk-ACYYQJ6M.js} +4 -3
- package/dist/{chunk-GA5S2KNZ.js → chunk-AEU46D6B.js} +12 -13
- package/dist/{chunk-XQKIMRRF.js → chunk-AGVXMB4Q.js} +11 -6
- package/dist/{chunk-T52TU2RW.mjs → chunk-AXDBME5A.mjs} +29 -18
- package/dist/{chunk-564LMZQL.mjs → chunk-BMT5PGAQ.mjs} +22 -19
- package/dist/{chunk-S2PMAXBQ.js → chunk-BQRXHUIC.js} +49 -6
- package/dist/{chunk-V4PBWEAU.js → chunk-BZBQUUXF.js} +34 -2
- package/dist/{chunk-4L5UYIV6.mjs → chunk-C6ER6OUB.mjs} +25 -6
- package/dist/{chunk-GMYSHJCU.mjs → chunk-C7VGTRHE.mjs} +12 -7
- package/dist/{chunk-7DGAOCPX.mjs → chunk-CERGNVW2.mjs} +175 -133
- package/dist/{chunk-GTSS7RAT.mjs → chunk-CN2SP53A.mjs} +129 -9
- package/dist/chunk-CRGGJKV2.js +286 -0
- package/dist/{chunk-2SK6T4WB.js → chunk-CSJQKBDJ.js} +20 -4
- package/dist/{chunk-Z2NMFYF4.mjs → chunk-CZALMJH3.mjs} +3 -2
- package/dist/{chunk-6A57RY3H.mjs → chunk-DBTS5QBX.mjs} +2 -2
- package/dist/{chunk-XYYZAQ6Z.mjs → chunk-DIQGHFAT.mjs} +3 -3
- package/dist/{chunk-S276SM7L.mjs → chunk-DMV26JNR.mjs} +29 -26
- package/dist/{chunk-UUGAOKYR.js → chunk-DZXZ3YEL.js} +16 -10
- package/dist/chunk-E3BSOB7P.mjs +89 -0
- package/dist/{chunk-LRHJZP2C.mjs → chunk-E6RGBYI3.mjs} +110 -31
- package/dist/{chunk-TYFUO6PE.mjs → chunk-E74ERZGQ.mjs} +92 -17
- package/dist/{chunk-LHPBK4MG.js → chunk-EHBPMUT2.js} +25 -4
- package/dist/{chunk-XGJWUZWS.js → chunk-EVOXC3CD.js} +36 -17
- package/dist/{chunk-4BMFV4CH.mjs → chunk-F7G7K3TF.mjs} +58 -83
- package/dist/{chunk-3FVWZYBQ.js → chunk-FC27Q4CL.js} +89 -52
- package/dist/{chunk-WB6JGQWN.js → chunk-FE2HR4E5.js} +5 -4
- package/dist/{chunk-I5K3R4FN.mjs → chunk-FMH4CLSA.mjs} +19 -1
- package/dist/{chunk-U2K7CF67.js → chunk-FMLNJXCX.js} +12 -34
- package/dist/{chunk-3PQ2I5IQ.mjs → chunk-FQHYU76P.mjs} +19 -16
- package/dist/{chunk-HFCVHAQ6.mjs → chunk-FRFCXRUJ.mjs} +4 -4
- package/dist/{chunk-3ICMBQPM.mjs → chunk-FRMMT3K3.mjs} +47 -5
- package/dist/chunk-G2IZAKJY.mjs +375 -0
- package/dist/{chunk-K2U3FEL7.js → chunk-GAWIICIB.js} +55 -2
- package/dist/{chunk-LFV3KYO2.js → chunk-GDKYQ7U6.js} +9 -8
- package/dist/chunk-GEPFTYKC.js +378 -0
- package/dist/{chunk-W6TMZ7ZT.js → chunk-GOBWUEHV.js} +57 -82
- package/dist/{chunk-IOBJYUUO.mjs → chunk-GVZRR2WP.mjs} +29 -26
- package/dist/{chunk-RSBAFDUA.mjs → chunk-GWNXDOIG.mjs} +26 -5
- package/dist/{chunk-FLAJKB2O.js → chunk-GZK6R2E3.js} +8 -1
- package/dist/{chunk-T77L326M.mjs → chunk-H2BH6TJN.mjs} +55 -2
- package/dist/chunk-H4F4G2E4.mjs +74 -0
- package/dist/{chunk-QDFUM2QT.js → chunk-HU2XBA2A.js} +4 -3
- package/dist/{chunk-JM3ZZYTE.mjs → chunk-I34OWAAY.mjs} +45 -12
- package/dist/{chunk-HXLCWM2J.mjs → chunk-I6E3GY64.mjs} +5 -4
- package/dist/{chunk-MYFQ3B2D.mjs → chunk-IFD7PZDO.mjs} +5 -5
- package/dist/{chunk-NHCCPMLC.mjs → chunk-IV4HFG36.mjs} +55 -14
- package/dist/{chunk-TG4PXQKX.mjs → chunk-J73M5UTG.mjs} +83 -7
- package/dist/{chunk-RQREJGY3.js → chunk-JACGMHFI.js} +25 -13
- package/dist/{chunk-IVTBNUKQ.js → chunk-JDCVS4SJ.js} +40 -3
- package/dist/{chunk-BFS7XO3E.js → chunk-JFIVDZFK.js} +12 -14
- package/dist/{chunk-UPPRQ3ZS.js → chunk-JKZ5ZRDG.js} +22 -26
- package/dist/{chunk-7VSD3NPI.js → chunk-JTTSX3NM.js} +12 -21
- package/dist/{chunk-MX2KCWM2.js → chunk-K3CIXMN4.js} +28 -17
- package/dist/{chunk-RDV4BMTK.js → chunk-KOI6AQ5H.js} +8 -12
- package/dist/{chunk-AAO2B46J.js → chunk-KVJKG4D3.js} +47 -1
- package/dist/{chunk-ABPOLQLE.mjs → chunk-LBHKQW3U.mjs} +24 -12
- package/dist/{chunk-FK2XBMC3.mjs → chunk-LBIQHIXN.mjs} +122 -14
- package/dist/{chunk-XFZZWZ6Q.js → chunk-LG6KGO5D.js} +28 -25
- package/dist/{chunk-EXQSRZJX.mjs → chunk-LL4ASJ4O.mjs} +13 -15
- package/dist/{chunk-2WZGK7XJ.js → chunk-LWDA7ABQ.js} +5 -5
- package/dist/{chunk-2SCIJ2RW.mjs → chunk-M3G6LJKZ.mjs} +3 -2
- package/dist/{chunk-P4X7GS2X.mjs → chunk-MDPHUCVS.mjs} +23 -9
- package/dist/{chunk-LV3BMS4U.mjs → chunk-ML2QP5KF.mjs} +12 -13
- package/dist/{chunk-G4ZD6COW.js → chunk-MRMKZTC6.js} +6 -17
- package/dist/{chunk-MVIHUPCX.js → chunk-MSKAWM7K.js} +4 -4
- package/dist/chunk-MZHQAT4I.mjs +761 -0
- package/dist/{chunk-DU2NXX75.mjs → chunk-N4GS2LSN.mjs} +10 -3
- package/dist/{chunk-LAAPLTP3.js → chunk-NCFY3VXA.js} +2 -2
- package/dist/{chunk-TW64ZNZY.mjs → chunk-NG7TLPQQ.mjs} +67 -5
- package/dist/{chunk-THEYWGOT.js → chunk-NJLNZ73T.js} +49 -14
- package/dist/{chunk-WLKOJFOC.mjs → chunk-NNNG6NIA.mjs} +14 -3
- package/dist/{chunk-5NOZXKMU.js → chunk-O3JPGBAK.js} +8 -8
- package/dist/{chunk-LGVPLGK3.mjs → chunk-OCL22D5E.mjs} +21 -31
- package/dist/{chunk-GHPSCR6M.js → chunk-ODQOYMUQ.js} +8 -12
- package/dist/{chunk-FXGIIFGN.mjs → chunk-OK4PVFQG.mjs} +7 -7
- package/dist/{chunk-5AXCKK6Z.js → chunk-OKSLWGXR.js} +67 -5
- package/dist/{chunk-W5A4E4C7.js → chunk-OMVVPNU7.js} +95 -20
- package/dist/{chunk-M6PEW6V5.mjs → chunk-OSOA7LWH.mjs} +12 -21
- package/dist/{chunk-PBWSBNDS.js → chunk-OZYJ3U4H.js} +3 -21
- package/dist/{chunk-LLU76X6I.js → chunk-P4XGEFV3.js} +23 -9
- package/dist/{chunk-4Y2SJZB5.js → chunk-P7RXZVLT.js} +19 -27
- package/dist/{chunk-ECUROLZ7.js → chunk-PBQVYZRB.js} +174 -132
- package/dist/{chunk-Q6OYCTQO.mjs → chunk-PCUUTKQZ.mjs} +19 -3
- package/dist/{chunk-BQEVLY2O.mjs → chunk-PUSTYAMS.mjs} +141 -21
- package/dist/{chunk-2J54DRDA.js → chunk-Q4OPUKWF.js} +94 -20
- package/dist/{chunk-YH7N5GZF.mjs → chunk-QDYF23NQ.mjs} +11 -15
- package/dist/chunk-QRAV345L.js +78 -0
- package/dist/{chunk-D2I2NNYI.js → chunk-QV7XYS5P.js} +22 -19
- package/dist/{chunk-R77ZKZ5F.js → chunk-QYSFZA5V.js} +108 -28
- package/dist/chunk-QZ5OPNL4.mjs +75 -0
- package/dist/chunk-RDJZOMI6.js +77 -0
- package/dist/{chunk-SAMKKXAW.mjs → chunk-REF5Q6PG.mjs} +1 -1
- package/dist/{chunk-UHGRUTGW.js → chunk-RHCW2WXG.js} +23 -4
- package/dist/chunk-RKU54YLW.mjs +283 -0
- package/dist/{chunk-I6RGE7XQ.js → chunk-RKZN3URO.js} +19 -1
- package/dist/{chunk-34ZZLKQ4.js → chunk-RPWBZLHL.js} +44 -11
- package/dist/{chunk-QDNTISP7.mjs → chunk-RRTB7O7Q.mjs} +8 -30
- package/dist/chunk-RVU47MU6.mjs +156 -0
- package/dist/{chunk-4DJ2HAYO.js → chunk-S4DT7LXD.js} +2 -2
- package/dist/{chunk-5G5Q3TTH.js → chunk-SB2SX5EH.js} +38 -30
- package/dist/{chunk-FDYZ7NTQ.mjs → chunk-SC3WTLKG.mjs} +58 -21
- package/dist/{chunk-UNR5RUET.mjs → chunk-SPFWZCRX.mjs} +91 -17
- package/dist/{chunk-OXOCGMPN.mjs → chunk-TGIXSJI3.mjs} +4 -1
- package/dist/{chunk-Q6CGPWQF.js → chunk-TOE2XSEO.js} +23 -20
- package/dist/{chunk-UWL2XUAH.mjs → chunk-TVDLZZNO.mjs} +4 -4
- package/dist/{chunk-URYEEQD7.mjs → chunk-UANF7XE5.mjs} +17 -11
- package/dist/chunk-UCDB56MB.mjs +486 -0
- package/dist/{chunk-FCV4ML6I.js → chunk-UHVUKLHF.js} +39 -4
- package/dist/{chunk-M7JUNLA7.mjs → chunk-UM5GGKIX.mjs} +20 -18
- package/dist/{chunk-ZA2PLF7O.mjs → chunk-UNTTADHL.mjs} +4 -4
- package/dist/chunk-UT6T25YJ.js +159 -0
- package/dist/{chunk-HK2TAPQX.js → chunk-UUJ7A3CN.js} +56 -11
- package/dist/{chunk-EZ6GXQMP.mjs → chunk-UYN5WLHQ.mjs} +32 -24
- package/dist/{chunk-KFE7T7CN.js → chunk-V32X2OEO.js} +4 -1
- package/dist/{chunk-YFD6RD7P.mjs → chunk-V55ZONWZ.mjs} +7 -18
- package/dist/{chunk-XNORTTVQ.mjs → chunk-V667FK4C.mjs} +47 -1
- package/dist/{chunk-WCZGYU7M.js → chunk-VPNIZPIF.js} +142 -20
- package/dist/{chunk-F5HOHSFH.mjs → chunk-VVS2CQS4.mjs} +4 -3
- package/dist/chunk-VYFJ3LYD.js +90 -0
- package/dist/{chunk-D6AWPRGV.js → chunk-VYGI74MJ.js} +2 -0
- package/dist/chunk-W5RZPTFD.mjs +103 -0
- package/dist/{chunk-NAHD6ZRR.mjs → chunk-W6ZFHHD3.mjs} +10 -14
- package/dist/{chunk-PCGHIFIJ.js → chunk-WGNJHM34.js} +84 -6
- package/dist/{chunk-HSXB2ASL.mjs → chunk-WLRLKW2W.mjs} +93 -13
- package/dist/{chunk-KYQAAQKV.mjs → chunk-WOFQV2N7.mjs} +34 -7
- package/dist/{chunk-W2WGLETE.mjs → chunk-WOVUC5FQ.mjs} +72 -34
- package/dist/{chunk-665NGSV3.mjs → chunk-WPEFGEAK.mjs} +7 -11
- package/dist/chunk-WU2KCS6H.js +1096 -0
- package/dist/{chunk-XV5DEK27.js → chunk-XH4ZZ6KJ.js} +57 -20
- package/dist/{chunk-AFKNO6SF.js → chunk-XJXGVNNF.js} +39 -6
- package/dist/chunk-XMOYCYVK.js +768 -0
- package/dist/{chunk-KI35GUL5.js → chunk-XOLTA3IE.js} +130 -10
- package/dist/{chunk-I2BZURVP.js → chunk-XUOGT4HG.js} +2 -1
- package/dist/{chunk-NVJRZYES.mjs → chunk-XVUATQPD.mjs} +46 -11
- package/dist/chunk-XWE54AWW.mjs +1093 -0
- package/dist/{chunk-35VYCSVH.js → chunk-XXBMPKS7.js} +9 -9
- package/dist/{chunk-QK3KKTYV.js → chunk-XY4A73TK.js} +2 -9
- package/dist/{chunk-YYRJA6VQ.mjs → chunk-YIYLO6AG.mjs} +33 -14
- package/dist/chunk-YQRRW4ZR.mjs +87 -0
- package/dist/{chunk-W3Y22PMU.mjs → chunk-Z2ZECCGD.mjs} +3 -5
- package/dist/{chunk-AGQNHT65.mjs → chunk-Z4SG7REU.mjs} +49 -4
- package/dist/{chunk-NMGH5YTV.mjs → chunk-Z7ETXBOL.mjs} +6 -5
- package/dist/{chunk-CQPHZU3H.mjs → chunk-ZIOGRGN5.mjs} +41 -8
- package/dist/{chunk-I2B4CO22.mjs → chunk-ZMNX4SCS.mjs} +3 -10
- package/dist/{chunk-EPE6OOV7.js → chunk-ZOUJFFG4.js} +6 -6
- package/dist/{chunk-U5ABMOOV.js → chunk-ZSCOAOJJ.js} +20 -30
- package/dist/{chunk-OMYSFPX6.mjs → chunk-ZSQ5I2KL.mjs} +27 -30
- package/dist/{chunk-QNODDATK.mjs → chunk-ZWTC2CUB.mjs} +13 -31
- package/dist/components/ActivityFeed.d.mts +6 -6
- package/dist/components/ActivityFeed.d.ts +6 -6
- package/dist/components/ActivityFeed.js +5 -5
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/Affix.js +3 -4
- package/dist/components/Affix.mjs +1 -2
- package/dist/components/Alert.d.mts +2 -2
- package/dist/components/Alert.d.ts +2 -2
- package/dist/components/Alert.js +0 -1
- package/dist/components/Alert.mjs +0 -1
- package/dist/components/Anchor.d.mts +68 -3
- package/dist/components/Anchor.d.ts +68 -3
- package/dist/components/Anchor.js +8 -5
- package/dist/components/Anchor.mjs +1 -2
- package/dist/components/AnchorLink.d.mts +6 -67
- package/dist/components/AnchorLink.d.ts +6 -67
- package/dist/components/AnchorLink.js +5 -9
- package/dist/components/AnchorLink.mjs +7 -3
- package/dist/components/AreaChart.d.mts +21 -3
- package/dist/components/AreaChart.d.ts +21 -3
- package/dist/components/AreaChart.js +7 -8
- package/dist/components/AreaChart.mjs +5 -6
- package/dist/components/AutoComplete.d.mts +3 -3
- package/dist/components/AutoComplete.d.ts +3 -3
- package/dist/components/AutoComplete.js +3 -4
- package/dist/components/AutoComplete.mjs +1 -2
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Avatar.js +0 -1
- package/dist/components/Avatar.mjs +0 -1
- package/dist/components/AvatarGroup.js +4 -5
- package/dist/components/AvatarGroup.mjs +1 -2
- package/dist/components/BackTop.d.mts +2 -2
- package/dist/components/BackTop.d.ts +2 -2
- package/dist/components/BackTop.js +3 -4
- package/dist/components/BackTop.mjs +1 -2
- package/dist/components/Badge.d.mts +4 -4
- package/dist/components/Badge.d.ts +4 -4
- package/dist/components/Badge.js +0 -1
- package/dist/components/Badge.mjs +0 -1
- package/dist/components/BarChart.d.mts +3 -3
- package/dist/components/BarChart.d.ts +3 -3
- package/dist/components/BarChart.js +7 -8
- package/dist/components/BarChart.mjs +5 -6
- package/dist/components/Breadcrumb.d.mts +134 -3
- package/dist/components/Breadcrumb.d.ts +134 -3
- package/dist/components/Breadcrumb.js +8 -5
- package/dist/components/Breadcrumb.mjs +1 -2
- package/dist/components/BreadcrumbItem.d.mts +6 -135
- package/dist/components/BreadcrumbItem.d.ts +6 -135
- package/dist/components/BreadcrumbItem.js +5 -9
- package/dist/components/BreadcrumbItem.mjs +7 -3
- package/dist/components/Button.d.mts +6 -6
- package/dist/components/Button.d.ts +6 -6
- package/dist/components/Button.js +3 -4
- package/dist/components/Button.mjs +1 -2
- package/dist/components/ButtonGroup.js +4 -5
- package/dist/components/ButtonGroup.mjs +1 -2
- package/dist/components/Calendar.d.mts +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Calendar.js +0 -1
- package/dist/components/Calendar.mjs +0 -1
- package/dist/components/Card.d.mts +3 -3
- package/dist/components/Card.d.ts +3 -3
- package/dist/components/Card.js +0 -1
- package/dist/components/Card.mjs +0 -1
- package/dist/components/Carousel.js +3 -4
- package/dist/components/Carousel.mjs +1 -2
- package/dist/components/Cascader.d.mts +1 -1
- package/dist/components/Cascader.d.ts +1 -1
- package/dist/components/Cascader.js +3 -4
- package/dist/components/Cascader.mjs +1 -2
- package/dist/components/ChartAxis.js +0 -1
- package/dist/components/ChartAxis.mjs +0 -1
- package/dist/components/ChartCanvas.d.mts +10 -1
- package/dist/components/ChartCanvas.d.ts +10 -1
- package/dist/components/ChartCanvas.js +3 -4
- package/dist/components/ChartCanvas.mjs +1 -2
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartGrid.d.ts +1 -1
- package/dist/components/ChartGrid.js +0 -1
- package/dist/components/ChartGrid.mjs +0 -1
- package/dist/components/ChartLegend.js +3 -4
- package/dist/components/ChartLegend.mjs +1 -2
- package/dist/components/ChartSeries.js +0 -1
- package/dist/components/ChartSeries.mjs +0 -1
- package/dist/components/ChartTooltip.js +3 -4
- package/dist/components/ChartTooltip.mjs +1 -2
- package/dist/components/ChatWindow.d.mts +39 -3
- package/dist/components/ChatWindow.d.ts +39 -3
- package/dist/components/ChatWindow.js +5 -5
- package/dist/components/ChatWindow.mjs +3 -3
- package/dist/components/Checkbox.js +0 -1
- package/dist/components/Checkbox.mjs +0 -1
- package/dist/components/CheckboxGroup.d.mts +1 -1
- package/dist/components/CheckboxGroup.d.ts +1 -1
- package/dist/components/CheckboxGroup.js +0 -1
- package/dist/components/CheckboxGroup.mjs +0 -1
- package/dist/components/Code.js +3 -4
- package/dist/components/Code.mjs +1 -2
- package/dist/components/CodeEditor.d.mts +19 -3
- package/dist/components/CodeEditor.d.ts +19 -3
- package/dist/components/CodeEditor.js +3 -4
- package/dist/components/CodeEditor.mjs +1 -2
- package/dist/components/Col.js +3 -4
- package/dist/components/Col.mjs +2 -3
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/Collapse.js +0 -1
- package/dist/components/Collapse.mjs +0 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/CollapsePanel.d.ts +1 -1
- package/dist/components/CollapsePanel.js +3 -4
- package/dist/components/CollapsePanel.mjs +1 -2
- package/dist/components/ColorPicker.d.mts +1 -1
- package/dist/components/ColorPicker.d.ts +1 -1
- package/dist/components/ColorPicker.js +0 -1
- package/dist/components/ColorPicker.mjs +0 -1
- package/dist/components/CommentThread.d.mts +2 -2
- package/dist/components/CommentThread.d.ts +2 -2
- package/dist/components/CommentThread.js +4 -5
- package/dist/components/CommentThread.mjs +2 -3
- package/dist/components/ConfigProvider.d.mts +5 -4
- package/dist/components/ConfigProvider.d.ts +5 -4
- package/dist/components/ConfigProvider.js +5 -6
- package/dist/components/ConfigProvider.mjs +1 -2
- package/dist/components/Container.d.mts +8 -2
- package/dist/components/Container.d.ts +8 -2
- package/dist/components/Container.js +0 -1
- package/dist/components/Container.mjs +0 -1
- package/dist/components/Content.js +0 -1
- package/dist/components/Content.mjs +0 -1
- package/dist/components/CropUpload.d.mts +1 -1
- package/dist/components/CropUpload.d.ts +1 -1
- package/dist/components/CropUpload.js +7 -7
- package/dist/components/CropUpload.mjs +5 -5
- package/dist/components/DataTableWithToolbar.d.mts +12 -12
- package/dist/components/DataTableWithToolbar.d.ts +12 -12
- package/dist/components/DataTableWithToolbar.js +6 -8
- package/dist/components/DataTableWithToolbar.mjs +4 -6
- package/dist/components/DatePicker.d.mts +7 -7
- package/dist/components/DatePicker.d.ts +7 -7
- package/dist/components/DatePicker.js +3 -4
- package/dist/components/DatePicker.mjs +1 -2
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/Descriptions.d.ts +2 -2
- package/dist/components/Descriptions.js +0 -1
- package/dist/components/Descriptions.mjs +0 -1
- package/dist/components/Divider.d.mts +8 -1
- package/dist/components/Divider.d.ts +8 -1
- package/dist/components/Divider.js +0 -1
- package/dist/components/Divider.mjs +0 -1
- package/dist/components/DonutChart.d.mts +12 -3
- package/dist/components/DonutChart.d.ts +12 -3
- package/dist/components/DonutChart.js +8 -9
- package/dist/components/DonutChart.mjs +6 -7
- package/dist/components/Drawer.d.mts +5 -7
- package/dist/components/Drawer.d.ts +5 -7
- package/dist/components/Drawer.js +4 -5
- package/dist/components/Drawer.mjs +2 -3
- package/dist/components/Dropdown.d.mts +36 -4
- package/dist/components/Dropdown.d.ts +36 -4
- package/dist/components/Dropdown.js +9 -7
- package/dist/components/Dropdown.mjs +2 -4
- package/dist/components/DropdownItem.d.mts +1 -1
- package/dist/components/DropdownItem.d.ts +1 -1
- package/dist/components/DropdownItem.js +5 -7
- package/dist/components/DropdownItem.mjs +3 -5
- package/dist/components/DropdownMenu.d.mts +6 -36
- package/dist/components/DropdownMenu.d.ts +6 -36
- package/dist/components/DropdownMenu.js +6 -8
- package/dist/components/DropdownMenu.mjs +8 -2
- package/dist/components/Empty.js +0 -1
- package/dist/components/Empty.mjs +0 -1
- package/dist/components/FileManager.d.mts +1 -1
- package/dist/components/FileManager.d.ts +1 -1
- package/dist/components/FileManager.js +3 -4
- package/dist/components/FileManager.mjs +1 -2
- package/dist/components/FloatButton.d.mts +4 -4
- package/dist/components/FloatButton.d.ts +4 -4
- package/dist/components/FloatButton.js +0 -1
- package/dist/components/FloatButton.mjs +0 -1
- package/dist/components/Footer.js +0 -1
- package/dist/components/Footer.mjs +0 -1
- package/dist/components/Form.d.mts +19 -3
- package/dist/components/Form.d.ts +19 -3
- package/dist/components/Form.js +4 -5
- package/dist/components/Form.mjs +1 -2
- package/dist/components/FormItem.d.mts +12 -1
- package/dist/components/FormItem.d.ts +12 -1
- package/dist/components/FormItem.js +4 -5
- package/dist/components/FormItem.mjs +2 -3
- package/dist/components/FormWizard.d.mts +4 -4
- package/dist/components/FormWizard.d.ts +4 -4
- package/dist/components/FormWizard.js +6 -8
- package/dist/components/FormWizard.mjs +4 -6
- package/dist/components/FunnelChart.d.mts +12 -3
- package/dist/components/FunnelChart.d.ts +12 -3
- package/dist/components/FunnelChart.js +7 -8
- package/dist/components/FunnelChart.mjs +5 -6
- package/dist/components/GaugeChart.d.mts +11 -2
- package/dist/components/GaugeChart.d.ts +11 -2
- package/dist/components/GaugeChart.js +4 -5
- package/dist/components/GaugeChart.mjs +2 -3
- package/dist/components/Header.js +0 -1
- package/dist/components/Header.mjs +0 -1
- package/dist/components/HeatmapChart.d.mts +26 -2
- package/dist/components/HeatmapChart.d.ts +26 -2
- package/dist/components/HeatmapChart.js +6 -7
- package/dist/components/HeatmapChart.mjs +4 -5
- package/dist/components/Icon.js +0 -1
- package/dist/components/Icon.mjs +0 -1
- package/dist/components/Image.d.mts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Image.js +5 -6
- package/dist/components/Image.mjs +2 -3
- package/dist/components/ImageCropper.js +3 -4
- package/dist/components/ImageCropper.mjs +1 -2
- package/dist/components/ImageGroup.js +5 -6
- package/dist/components/ImageGroup.mjs +2 -3
- package/dist/components/ImagePreview.js +4 -5
- package/dist/components/ImagePreview.mjs +1 -5
- package/dist/components/ImageViewer.js +3 -4
- package/dist/components/ImageViewer.mjs +1 -2
- package/dist/components/InfiniteScroll.d.mts +2 -2
- package/dist/components/InfiniteScroll.d.ts +2 -2
- package/dist/components/InfiniteScroll.js +3 -4
- package/dist/components/InfiniteScroll.mjs +1 -2
- package/dist/components/Input.d.mts +4 -4
- package/dist/components/Input.d.ts +4 -4
- package/dist/components/Input.js +0 -1
- package/dist/components/Input.mjs +0 -1
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputGroup.d.ts +1 -1
- package/dist/components/InputGroup.js +0 -1
- package/dist/components/InputGroup.mjs +0 -1
- package/dist/components/InputNumber.d.mts +2 -2
- package/dist/components/InputNumber.d.ts +2 -2
- package/dist/components/InputNumber.js +3 -4
- package/dist/components/InputNumber.mjs +1 -2
- package/dist/components/Kanban.d.mts +3 -3
- package/dist/components/Kanban.d.ts +3 -3
- package/dist/components/Kanban.js +5 -5
- package/dist/components/Kanban.mjs +3 -3
- package/dist/components/Layout.js +0 -1
- package/dist/components/Layout.mjs +0 -1
- package/dist/components/LineChart.d.mts +20 -2
- package/dist/components/LineChart.d.ts +20 -2
- package/dist/components/LineChart.js +7 -8
- package/dist/components/LineChart.mjs +5 -6
- package/dist/components/Link.d.mts +12 -3
- package/dist/components/Link.d.ts +12 -3
- package/dist/components/Link.js +0 -1
- package/dist/components/Link.mjs +0 -1
- package/dist/components/List.d.mts +67 -5
- package/dist/components/List.d.ts +67 -5
- package/dist/components/List.js +4 -4
- package/dist/components/List.mjs +2 -2
- package/dist/components/Loading.d.mts +22 -4
- package/dist/components/Loading.d.ts +22 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Loading.mjs +2 -2
- package/dist/components/Mentions.d.mts +3 -3
- package/dist/components/Mentions.d.ts +3 -3
- package/dist/components/Mentions.js +3 -4
- package/dist/components/Mentions.mjs +1 -2
- package/dist/components/Menu.d.mts +265 -4
- package/dist/components/Menu.d.ts +265 -4
- package/dist/components/Menu.js +16 -5
- package/dist/components/Menu.mjs +1 -2
- package/dist/components/MenuItem.d.mts +6 -95
- package/dist/components/MenuItem.d.ts +6 -95
- package/dist/components/MenuItem.js +5 -9
- package/dist/components/MenuItem.mjs +7 -3
- package/dist/components/MenuItemGroup.d.mts +6 -57
- package/dist/components/MenuItemGroup.d.ts +6 -57
- package/dist/components/MenuItemGroup.js +5 -8
- package/dist/components/MenuItemGroup.mjs +7 -2
- package/dist/components/Message.d.mts +4 -1
- package/dist/components/Message.d.ts +4 -1
- package/dist/components/Message.js +4 -5
- package/dist/components/Message.mjs +1 -2
- package/dist/components/Modal.d.mts +7 -9
- package/dist/components/Modal.d.ts +7 -9
- package/dist/components/Modal.js +5 -5
- package/dist/components/Modal.mjs +3 -3
- package/dist/components/Notification.d.mts +4 -1
- package/dist/components/Notification.d.ts +4 -1
- package/dist/components/Notification.js +4 -5
- package/dist/components/Notification.mjs +1 -2
- package/dist/components/NotificationCenter.d.mts +5 -5
- package/dist/components/NotificationCenter.d.ts +5 -5
- package/dist/components/NotificationCenter.js +9 -9
- package/dist/components/NotificationCenter.mjs +7 -7
- package/dist/components/Pagination.d.mts +30 -8
- package/dist/components/Pagination.d.ts +30 -8
- package/dist/components/Pagination.js +3 -4
- package/dist/components/Pagination.mjs +1 -2
- package/dist/components/PieChart.d.mts +12 -3
- package/dist/components/PieChart.d.ts +12 -3
- package/dist/components/PieChart.js +7 -8
- package/dist/components/PieChart.mjs +5 -6
- package/dist/components/Popconfirm.d.mts +4 -4
- package/dist/components/Popconfirm.d.ts +4 -4
- package/dist/components/Popconfirm.js +5 -6
- package/dist/components/Popconfirm.mjs +3 -4
- package/dist/components/Popover.d.mts +2 -2
- package/dist/components/Popover.d.ts +2 -2
- package/dist/components/Popover.js +5 -6
- package/dist/components/Popover.mjs +3 -4
- package/dist/components/PrintLayout.js +0 -1
- package/dist/components/PrintLayout.mjs +0 -1
- package/dist/components/Progress.d.mts +2 -2
- package/dist/components/Progress.d.ts +2 -2
- package/dist/components/Progress.js +0 -1
- package/dist/components/Progress.mjs +0 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +0 -1
- package/dist/components/QRCode.mjs +0 -1
- package/dist/components/RadarChart.d.mts +30 -3
- package/dist/components/RadarChart.d.ts +30 -3
- package/dist/components/RadarChart.js +7 -8
- package/dist/components/RadarChart.mjs +5 -6
- package/dist/components/Radio.js +0 -1
- package/dist/components/Radio.mjs +0 -1
- package/dist/components/RadioGroup.d.mts +1 -1
- package/dist/components/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup.js +0 -1
- package/dist/components/RadioGroup.mjs +0 -1
- package/dist/components/Rate.d.mts +1 -1
- package/dist/components/Rate.d.ts +1 -1
- package/dist/components/Rate.js +0 -1
- package/dist/components/Rate.mjs +0 -1
- package/dist/components/Resizable.d.mts +1 -1
- package/dist/components/Resizable.d.ts +1 -1
- package/dist/components/Resizable.js +3 -4
- package/dist/components/Resizable.mjs +1 -2
- package/dist/components/Result.js +0 -1
- package/dist/components/Result.mjs +0 -1
- package/dist/components/RichTextEditor.d.mts +22 -6
- package/dist/components/RichTextEditor.d.ts +22 -6
- package/dist/components/RichTextEditor.js +3 -4
- package/dist/components/RichTextEditor.mjs +1 -2
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/Row.d.ts +1 -1
- package/dist/components/Row.js +3 -4
- package/dist/components/Row.mjs +1 -2
- package/dist/components/ScatterChart.d.mts +3 -3
- package/dist/components/ScatterChart.d.ts +3 -3
- package/dist/components/ScatterChart.js +7 -8
- package/dist/components/ScatterChart.mjs +5 -6
- package/dist/components/Segmented.d.mts +1 -1
- package/dist/components/Segmented.d.ts +1 -1
- package/dist/components/Segmented.js +3 -4
- package/dist/components/Segmented.mjs +1 -2
- package/dist/components/Select.d.mts +18 -3
- package/dist/components/Select.d.ts +18 -3
- package/dist/components/Select.js +3 -4
- package/dist/components/Select.mjs +1 -2
- package/dist/components/Sidebar.js +0 -1
- package/dist/components/Sidebar.mjs +0 -1
- package/dist/components/Skeleton.d.mts +2 -2
- package/dist/components/Skeleton.d.ts +2 -2
- package/dist/components/Skeleton.js +0 -1
- package/dist/components/Skeleton.mjs +0 -1
- package/dist/components/Slider.d.mts +1 -1
- package/dist/components/Slider.d.ts +1 -1
- package/dist/components/Slider.js +0 -1
- package/dist/components/Slider.mjs +0 -1
- package/dist/components/Space.d.mts +1 -1
- package/dist/components/Space.d.ts +1 -1
- package/dist/components/Space.js +0 -1
- package/dist/components/Space.mjs +0 -1
- package/dist/components/Splitter.d.mts +2 -2
- package/dist/components/Splitter.d.ts +2 -2
- package/dist/components/Splitter.js +3 -4
- package/dist/components/Splitter.mjs +1 -2
- package/dist/components/Statistic.d.mts +18 -0
- package/dist/components/Statistic.d.ts +18 -0
- package/dist/components/Statistic.js +3 -4
- package/dist/components/Statistic.mjs +1 -2
- package/dist/components/Stepper.d.mts +1 -1
- package/dist/components/Stepper.d.ts +1 -1
- package/dist/components/Stepper.js +3 -4
- package/dist/components/Stepper.mjs +1 -2
- package/dist/components/Steps.d.mts +139 -2
- package/dist/components/Steps.d.ts +139 -2
- package/dist/components/Steps.js +8 -5
- package/dist/components/Steps.mjs +1 -2
- package/dist/components/StepsItem.d.mts +6 -141
- package/dist/components/StepsItem.d.ts +6 -141
- package/dist/components/StepsItem.js +5 -9
- package/dist/components/StepsItem.mjs +7 -3
- package/dist/components/SubMenu.d.mts +6 -117
- package/dist/components/SubMenu.d.ts +6 -117
- package/dist/components/SubMenu.js +5 -9
- package/dist/components/SubMenu.mjs +7 -3
- package/dist/components/SunburstChart.d.mts +11 -2
- package/dist/components/SunburstChart.d.ts +11 -2
- package/dist/components/SunburstChart.js +7 -8
- package/dist/components/SunburstChart.mjs +5 -6
- package/dist/components/Switch.d.mts +1 -1
- package/dist/components/Switch.d.ts +1 -1
- package/dist/components/Switch.js +3 -4
- package/dist/components/Switch.mjs +1 -2
- package/dist/components/TabPane.d.mts +6 -169
- package/dist/components/TabPane.d.ts +6 -169
- package/dist/components/TabPane.js +5 -9
- package/dist/components/TabPane.mjs +7 -3
- package/dist/components/Table.d.mts +274 -395
- package/dist/components/Table.d.ts +274 -395
- package/dist/components/Table.js +3 -4
- package/dist/components/Table.mjs +1 -2
- package/dist/components/Tabs.d.mts +168 -2
- package/dist/components/Tabs.d.ts +168 -2
- package/dist/components/Tabs.js +8 -5
- package/dist/components/Tabs.mjs +1 -2
- package/dist/components/Tag.d.mts +2 -2
- package/dist/components/Tag.d.ts +2 -2
- package/dist/components/Tag.js +0 -1
- package/dist/components/Tag.mjs +0 -1
- package/dist/components/TaskBoard.d.mts +53 -2
- package/dist/components/TaskBoard.d.ts +53 -2
- package/dist/components/TaskBoard.js +4 -5
- package/dist/components/TaskBoard.mjs +2 -3
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Text.d.ts +3 -3
- package/dist/components/Text.js +0 -1
- package/dist/components/Text.mjs +0 -1
- package/dist/components/Textarea.d.mts +2 -2
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/Textarea.js +0 -1
- package/dist/components/Textarea.mjs +0 -1
- package/dist/components/TimePicker.d.mts +4 -4
- package/dist/components/TimePicker.d.ts +4 -4
- package/dist/components/TimePicker.js +3 -4
- package/dist/components/TimePicker.mjs +1 -2
- package/dist/components/Timeline.d.mts +2 -2
- package/dist/components/Timeline.d.ts +2 -2
- package/dist/components/Timeline.js +0 -1
- package/dist/components/Timeline.mjs +0 -1
- package/dist/components/Tooltip.d.mts +2 -2
- package/dist/components/Tooltip.d.ts +2 -2
- package/dist/components/Tooltip.js +5 -6
- package/dist/components/Tooltip.mjs +3 -4
- package/dist/components/Tour.d.mts +4 -4
- package/dist/components/Tour.d.ts +4 -4
- package/dist/components/Tour.js +0 -1
- package/dist/components/Tour.mjs +0 -1
- package/dist/components/Transfer.d.mts +1 -1
- package/dist/components/Transfer.d.ts +1 -1
- package/dist/components/Transfer.js +3 -4
- package/dist/components/Transfer.mjs +1 -2
- package/dist/components/Tree.d.mts +51 -2
- package/dist/components/Tree.d.ts +51 -2
- package/dist/components/Tree.js +4 -4
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.d.mts +11 -2
- package/dist/components/TreeMapChart.d.ts +11 -2
- package/dist/components/TreeMapChart.js +7 -8
- package/dist/components/TreeMapChart.mjs +5 -6
- package/dist/components/TreeSelect.d.mts +1 -1
- package/dist/components/TreeSelect.d.ts +1 -1
- package/dist/components/TreeSelect.js +3 -4
- package/dist/components/TreeSelect.mjs +1 -2
- package/dist/components/Upload.d.mts +5 -5
- package/dist/components/Upload.d.ts +5 -5
- package/dist/components/Upload.js +4 -5
- package/dist/components/Upload.mjs +2 -3
- package/dist/components/VirtualList.d.mts +29 -0
- package/dist/components/VirtualList.d.ts +29 -0
- package/dist/components/VirtualList.js +3 -4
- package/dist/components/VirtualList.mjs +1 -2
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/VirtualTable.d.ts +3 -3
- package/dist/components/VirtualTable.js +3 -4
- package/dist/components/VirtualTable.mjs +1 -2
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +1 -1
- package/dist/components/Watermark.js +3 -4
- package/dist/components/Watermark.mjs +1 -2
- package/dist/index.d.mts +36 -24
- package/dist/index.d.ts +36 -24
- package/dist/index.js +340 -216
- package/dist/index.mjs +224 -102
- package/package.json +13 -8
- package/dist/chunk-33C5E3AQ.mjs +0 -328
- package/dist/chunk-3AM6WEUE.mjs +0 -174
- package/dist/chunk-53M2BTB5.mjs +0 -22
- package/dist/chunk-5JSU44MQ.js +0 -242
- package/dist/chunk-5WHLXWWT.mjs +0 -68
- package/dist/chunk-5Y3HYEQD.js +0 -64
- package/dist/chunk-6DP7XE77.js +0 -267
- package/dist/chunk-7UU4PULK.mjs +0 -138
- package/dist/chunk-AN3HKOCS.mjs +0 -50
- package/dist/chunk-BDMWFNTC.js +0 -443
- package/dist/chunk-BMW2Z3G3.mjs +0 -94
- package/dist/chunk-BNIUWON3.js +0 -243
- package/dist/chunk-CG3AMK5U.mjs +0 -38
- package/dist/chunk-CXJUEG75.js +0 -331
- package/dist/chunk-EBQ4WSQS.js +0 -97
- package/dist/chunk-ELEAQEMV.mjs +0 -61
- package/dist/chunk-ESALMEHU.js +0 -343
- package/dist/chunk-GLW3P75K.js +0 -72
- package/dist/chunk-HKYYO326.mjs +0 -238
- package/dist/chunk-HRIKUP6R.js +0 -106
- package/dist/chunk-HTG6ISVH.mjs +0 -1094
- package/dist/chunk-JHY57P4P.mjs +0 -69
- package/dist/chunk-JSIQIWYP.js +0 -41
- package/dist/chunk-N5I5Y5JG.js +0 -53
- package/dist/chunk-NOTJRUAK.js +0 -142
- package/dist/chunk-O2SABM5H.js +0 -178
- package/dist/chunk-PICYE2CM.js +0 -176
- package/dist/chunk-PNKVD2UK.js +0 -26
- package/dist/chunk-TT5LWQIZ.js +0 -1097
- package/dist/chunk-TTDBR2B4.mjs +0 -340
- package/dist/chunk-U6WHPSWN.mjs +0 -83
- package/dist/chunk-VTLTKTCK.js +0 -87
- package/dist/chunk-XA5QMUZX.mjs +0 -440
- package/dist/chunk-XCJONKFL.mjs +0 -173
- package/dist/chunk-XP5M2GK7.mjs +0 -57
- package/dist/chunk-YUEBMBOH.mjs +0 -103
- package/dist/chunk-ZUVR5UZL.mjs +0 -264
- package/dist/chunk-ZXR4DAAO.mjs +0 -240
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onBeforeUnmount, h } from 'vue';
|
|
2
|
-
import { defaultResizeHandles, classNames, resizableBaseClasses, coerceClassValue, getResizableHandleClasses, calculateResizeDelta, applyAspectRatio, clampDimensions } from '@expcat/tigercat-core';
|
|
2
|
+
import { defaultResizeHandles, classNames, resizableBaseClasses, coerceClassValue, getResizableHandleClasses, createDocumentDragSession, calculateResizeDelta, applyAspectRatio, clampDimensions } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
// src/components/Resizable.ts
|
|
5
5
|
var Resizable = defineComponent({
|
|
@@ -36,6 +36,7 @@ var Resizable = defineComponent({
|
|
|
36
36
|
const startMouseY = ref(0);
|
|
37
37
|
const startWidth = ref(0);
|
|
38
38
|
const startHeight = ref(0);
|
|
39
|
+
let dragSession = null;
|
|
39
40
|
const containerClasses = computed(
|
|
40
41
|
() => classNames(
|
|
41
42
|
resizableBaseClasses,
|
|
@@ -50,9 +51,14 @@ var Resizable = defineComponent({
|
|
|
50
51
|
if (height.value != null) s.height = `${height.value}px`;
|
|
51
52
|
return s;
|
|
52
53
|
});
|
|
54
|
+
const cleanupDragSession = () => {
|
|
55
|
+
dragSession?.dispose();
|
|
56
|
+
dragSession = null;
|
|
57
|
+
};
|
|
53
58
|
const onMouseDown = (handle, e) => {
|
|
54
59
|
if (props.disabled) return;
|
|
55
60
|
e.preventDefault();
|
|
61
|
+
cleanupDragSession();
|
|
56
62
|
draggingHandle.value = handle;
|
|
57
63
|
startMouseX.value = e.clientX;
|
|
58
64
|
startMouseY.value = e.clientY;
|
|
@@ -65,15 +71,27 @@ var Resizable = defineComponent({
|
|
|
65
71
|
deltaX: 0,
|
|
66
72
|
deltaY: 0
|
|
67
73
|
});
|
|
68
|
-
|
|
69
|
-
|
|
74
|
+
dragSession = createDocumentDragSession({
|
|
75
|
+
startX: e.clientX,
|
|
76
|
+
startY: e.clientY,
|
|
77
|
+
ownerDocument: e.currentTarget?.ownerDocument,
|
|
78
|
+
onMove: ({ currentX, currentY }) => {
|
|
79
|
+
applyResize(currentX, currentY, (event) => emit("resize", event));
|
|
80
|
+
},
|
|
81
|
+
onEnd: ({ currentX, currentY }) => {
|
|
82
|
+
applyResize(currentX, currentY, (event) => emit("resize-end", event));
|
|
83
|
+
draggingHandle.value = null;
|
|
84
|
+
dragSession = null;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
70
87
|
};
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
const
|
|
88
|
+
const applyResize = (currentX, currentY, notify) => {
|
|
89
|
+
const handle = draggingHandle.value;
|
|
90
|
+
if (!handle) return;
|
|
91
|
+
const mouseDeltaX = currentX - startMouseX.value;
|
|
92
|
+
const mouseDeltaY = currentY - startMouseY.value;
|
|
75
93
|
const { deltaWidth, deltaHeight } = calculateResizeDelta(
|
|
76
|
-
|
|
94
|
+
handle,
|
|
77
95
|
mouseDeltaX,
|
|
78
96
|
mouseDeltaY,
|
|
79
97
|
props.axis
|
|
@@ -95,31 +113,16 @@ var Resizable = defineComponent({
|
|
|
95
113
|
);
|
|
96
114
|
width.value = clamped.width;
|
|
97
115
|
height.value = clamped.height;
|
|
98
|
-
|
|
116
|
+
notify({
|
|
99
117
|
width: clamped.width,
|
|
100
118
|
height: clamped.height,
|
|
101
|
-
handle
|
|
119
|
+
handle,
|
|
102
120
|
deltaX: clamped.width - startWidth.value,
|
|
103
121
|
deltaY: clamped.height - startHeight.value
|
|
104
122
|
});
|
|
105
123
|
};
|
|
106
|
-
const onMouseUp = () => {
|
|
107
|
-
if (draggingHandle.value) {
|
|
108
|
-
emit("resize-end", {
|
|
109
|
-
width: width.value ?? 0,
|
|
110
|
-
height: height.value ?? 0,
|
|
111
|
-
handle: draggingHandle.value,
|
|
112
|
-
deltaX: (width.value ?? 0) - startWidth.value,
|
|
113
|
-
deltaY: (height.value ?? 0) - startHeight.value
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
draggingHandle.value = null;
|
|
117
|
-
document.removeEventListener("mousemove", onMouseMove);
|
|
118
|
-
document.removeEventListener("mouseup", onMouseUp);
|
|
119
|
-
};
|
|
120
124
|
onBeforeUnmount(() => {
|
|
121
|
-
|
|
122
|
-
document.removeEventListener("mouseup", onMouseUp);
|
|
125
|
+
cleanupDragSession();
|
|
123
126
|
});
|
|
124
127
|
return () => {
|
|
125
128
|
const handleNodes = props.handles.map(
|
|
@@ -38,7 +38,7 @@ var BackTop = vue.defineComponent({
|
|
|
38
38
|
default: () => window
|
|
39
39
|
},
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Use immediate scroll when set to 0; positive values use native smooth scrolling
|
|
42
42
|
* @default 450
|
|
43
43
|
*/
|
|
44
44
|
duration: {
|
|
@@ -58,11 +58,7 @@ var BackTop = vue.defineComponent({
|
|
|
58
58
|
setup(props, { slots, emit, attrs }) {
|
|
59
59
|
const visible = vue.ref(false);
|
|
60
60
|
const targetElement = vue.shallowRef(null);
|
|
61
|
-
|
|
62
|
-
if (!targetElement.value) return;
|
|
63
|
-
const scrollTop = tigercatCore.getScrollTop(targetElement.value);
|
|
64
|
-
visible.value = scrollTop >= props.visibilityHeight;
|
|
65
|
-
};
|
|
61
|
+
let visibilityController;
|
|
66
62
|
const handleClick = (event) => {
|
|
67
63
|
if (!targetElement.value) return;
|
|
68
64
|
tigercatCore.scrollToTop(targetElement.value, props.duration);
|
|
@@ -70,13 +66,23 @@ var BackTop = vue.defineComponent({
|
|
|
70
66
|
};
|
|
71
67
|
vue.onMounted(() => {
|
|
72
68
|
targetElement.value = props.target() ?? window;
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
visibilityController = tigercatCore.createBackTopVisibilityController({
|
|
70
|
+
target: targetElement.value,
|
|
71
|
+
getVisibilityHeight: () => props.visibilityHeight,
|
|
72
|
+
onChange: (nextVisible) => {
|
|
73
|
+
visible.value = nextVisible;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
targetElement.value.addEventListener("scroll", visibilityController.schedule, {
|
|
77
|
+
passive: true
|
|
78
|
+
});
|
|
79
|
+
visibilityController.update();
|
|
75
80
|
});
|
|
76
81
|
vue.onBeforeUnmount(() => {
|
|
77
|
-
if (targetElement.value) {
|
|
78
|
-
targetElement.value.removeEventListener("scroll",
|
|
82
|
+
if (targetElement.value && visibilityController) {
|
|
83
|
+
targetElement.value.removeEventListener("scroll", visibilityController.schedule);
|
|
79
84
|
}
|
|
85
|
+
visibilityController?.cancel();
|
|
80
86
|
});
|
|
81
87
|
const buttonClasses = vue.computed(() => {
|
|
82
88
|
const target = targetElement.value ?? props.target();
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent, ref, watch, computed, provide, inject } from 'vue';
|
|
2
|
+
import { getImmediateTigerLocale, isLazyTigerLocale, resolveTigerLocale, mergeTigerLocale, ThemeManager } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
// src/components/ConfigProvider.ts
|
|
5
|
+
var TigerConfigKey = /* @__PURE__ */ Symbol("TigerConfig");
|
|
6
|
+
function useTigerConfig() {
|
|
7
|
+
return inject(
|
|
8
|
+
TigerConfigKey,
|
|
9
|
+
computed(() => ({}))
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
var ConfigProvider = defineComponent({
|
|
13
|
+
name: "TigerConfigProvider",
|
|
14
|
+
props: {
|
|
15
|
+
locale: {
|
|
16
|
+
type: [Object, Function, Promise],
|
|
17
|
+
default: void 0
|
|
18
|
+
},
|
|
19
|
+
theme: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: void 0
|
|
22
|
+
},
|
|
23
|
+
colorScheme: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: void 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
setup(props, { slots }) {
|
|
29
|
+
const parent = useTigerConfig();
|
|
30
|
+
const resolvedLocale = ref(
|
|
31
|
+
isLazyTigerLocale(props.locale) ? void 0 : getImmediateTigerLocale(props.locale)
|
|
32
|
+
);
|
|
33
|
+
const localeLoading = ref(isLazyTigerLocale(props.locale));
|
|
34
|
+
let loadId = 0;
|
|
35
|
+
watch(
|
|
36
|
+
() => props.locale,
|
|
37
|
+
(locale) => {
|
|
38
|
+
if (!isLazyTigerLocale(locale)) {
|
|
39
|
+
resolvedLocale.value = getImmediateTigerLocale(locale);
|
|
40
|
+
localeLoading.value = false;
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const thisId = ++loadId;
|
|
44
|
+
localeLoading.value = true;
|
|
45
|
+
resolveTigerLocale(locale).then(
|
|
46
|
+
(result) => {
|
|
47
|
+
if (thisId === loadId) {
|
|
48
|
+
resolvedLocale.value = result;
|
|
49
|
+
localeLoading.value = false;
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
() => {
|
|
53
|
+
if (thisId === loadId) {
|
|
54
|
+
localeLoading.value = false;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
},
|
|
59
|
+
{ immediate: true }
|
|
60
|
+
);
|
|
61
|
+
const merged = computed(() => {
|
|
62
|
+
return {
|
|
63
|
+
locale: mergeTigerLocale(parent.value.locale, resolvedLocale.value),
|
|
64
|
+
localeLoading: localeLoading.value || parent.value.localeLoading,
|
|
65
|
+
theme: props.theme ?? parent.value.theme,
|
|
66
|
+
colorScheme: props.colorScheme ?? parent.value.colorScheme
|
|
67
|
+
};
|
|
68
|
+
});
|
|
69
|
+
watch(
|
|
70
|
+
() => merged.value.theme,
|
|
71
|
+
(name) => {
|
|
72
|
+
if (name) ThemeManager.setTheme(name);
|
|
73
|
+
},
|
|
74
|
+
{ immediate: true }
|
|
75
|
+
);
|
|
76
|
+
watch(
|
|
77
|
+
() => merged.value.colorScheme,
|
|
78
|
+
(scheme) => {
|
|
79
|
+
if (scheme) ThemeManager.setColorScheme(scheme);
|
|
80
|
+
},
|
|
81
|
+
{ immediate: true }
|
|
82
|
+
);
|
|
83
|
+
provide(TigerConfigKey, merged);
|
|
84
|
+
return () => slots.default?.();
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
var ConfigProvider_default = ConfigProvider;
|
|
88
|
+
|
|
89
|
+
export { ConfigProvider, ConfigProvider_default, TigerConfigKey, useTigerConfig };
|
|
@@ -1,8 +1,95 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { classNames,
|
|
1
|
+
import { defineComponent, inject, onMounted, onBeforeUnmount, computed, h, ref, watch, nextTick, reactive, provide } from 'vue';
|
|
2
|
+
import { classNames, getAnchorLinkClasses, coerceClassValue, getAnchorWrapperClasses, getAnchorInkContainerClasses, getAnchorInkActiveClasses, getAnchorLinkListClasses, mergeStyleValues, createAnchorObserver, scrollToAnchor } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
// src/components/Anchor.ts
|
|
5
5
|
var AnchorContextKey = /* @__PURE__ */ Symbol("AnchorContext");
|
|
6
|
+
var AnchorLink = defineComponent({
|
|
7
|
+
name: "TigerAnchorLink",
|
|
8
|
+
inheritAttrs: false,
|
|
9
|
+
props: {
|
|
10
|
+
/**
|
|
11
|
+
* Target anchor ID (with #)
|
|
12
|
+
*/
|
|
13
|
+
href: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
/**
|
|
18
|
+
* Link title/text
|
|
19
|
+
*/
|
|
20
|
+
title: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: void 0
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* Link target attribute
|
|
26
|
+
*/
|
|
27
|
+
target: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: void 0
|
|
30
|
+
},
|
|
31
|
+
className: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: void 0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
setup(props, { slots, attrs }) {
|
|
37
|
+
const anchorContext = inject(AnchorContextKey, null);
|
|
38
|
+
onMounted(() => {
|
|
39
|
+
anchorContext?.registerLink(props.href);
|
|
40
|
+
});
|
|
41
|
+
onBeforeUnmount(() => {
|
|
42
|
+
anchorContext?.unregisterLink(props.href);
|
|
43
|
+
});
|
|
44
|
+
const handleClick = (event) => {
|
|
45
|
+
event.preventDefault();
|
|
46
|
+
anchorContext?.handleLinkClick(props.href, event);
|
|
47
|
+
};
|
|
48
|
+
const linkClasses = computed(() => {
|
|
49
|
+
const isActive = anchorContext?.activeLink === props.href;
|
|
50
|
+
return classNames(
|
|
51
|
+
getAnchorLinkClasses(isActive, props.className),
|
|
52
|
+
coerceClassValue(attrs.class)
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
return () => {
|
|
56
|
+
const slotContent = slots.default?.();
|
|
57
|
+
const hasNestedLinks = slotContent && Array.isArray(slotContent) && slotContent.some(
|
|
58
|
+
(vnode) => vnode.type && vnode.type.name === "TigerAnchorLink"
|
|
59
|
+
);
|
|
60
|
+
if (hasNestedLinks) {
|
|
61
|
+
return h("div", { class: "anchor-link-wrapper" }, [
|
|
62
|
+
h(
|
|
63
|
+
"a",
|
|
64
|
+
{
|
|
65
|
+
...attrs,
|
|
66
|
+
href: props.href,
|
|
67
|
+
target: props.target,
|
|
68
|
+
class: linkClasses.value,
|
|
69
|
+
"data-anchor-href": props.href,
|
|
70
|
+
onClick: handleClick
|
|
71
|
+
},
|
|
72
|
+
props.title
|
|
73
|
+
),
|
|
74
|
+
h("div", { class: "pl-3 mt-1 space-y-1" }, slotContent)
|
|
75
|
+
]);
|
|
76
|
+
}
|
|
77
|
+
const content = slotContent ?? props.title;
|
|
78
|
+
return h(
|
|
79
|
+
"a",
|
|
80
|
+
{
|
|
81
|
+
...attrs,
|
|
82
|
+
href: props.href,
|
|
83
|
+
target: props.target,
|
|
84
|
+
class: linkClasses.value,
|
|
85
|
+
"data-anchor-href": props.href,
|
|
86
|
+
onClick: handleClick
|
|
87
|
+
},
|
|
88
|
+
content
|
|
89
|
+
);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
});
|
|
6
93
|
var Anchor = defineComponent({
|
|
7
94
|
name: "TigerAnchor",
|
|
8
95
|
inheritAttrs: false,
|
|
@@ -85,7 +172,6 @@ var Anchor = defineComponent({
|
|
|
85
172
|
const anchorRef = ref(null);
|
|
86
173
|
const inkRef = ref(null);
|
|
87
174
|
const isScrolling = ref(false);
|
|
88
|
-
let animationFrameId = null;
|
|
89
175
|
let scrollTimeoutId = null;
|
|
90
176
|
const getContainer = () => props.getContainer();
|
|
91
177
|
const scrollOffset = computed(() => props.targetOffset ?? props.offsetTop);
|
|
@@ -97,23 +183,21 @@ var Anchor = defineComponent({
|
|
|
97
183
|
const unregisterLink = (href) => {
|
|
98
184
|
links.value = links.value.filter((l) => l !== href);
|
|
99
185
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
props.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
activeLink.value = finalActiveLink;
|
|
116
|
-
emit("change", finalActiveLink);
|
|
186
|
+
let stopObserver = null;
|
|
187
|
+
const setupObserver = () => {
|
|
188
|
+
stopObserver?.();
|
|
189
|
+
const container = getContainer();
|
|
190
|
+
const root = container === window ? null : container;
|
|
191
|
+
stopObserver = createAnchorObserver(links.value, {
|
|
192
|
+
offsetTop: scrollOffset.value,
|
|
193
|
+
root,
|
|
194
|
+
onChange: (newActiveLink) => {
|
|
195
|
+
if (isScrolling.value) return;
|
|
196
|
+
const finalActiveLink = props.getCurrentAnchor ? props.getCurrentAnchor(newActiveLink) : newActiveLink;
|
|
197
|
+
if (finalActiveLink !== activeLink.value) {
|
|
198
|
+
activeLink.value = finalActiveLink;
|
|
199
|
+
emit("change", finalActiveLink);
|
|
200
|
+
}
|
|
117
201
|
}
|
|
118
202
|
});
|
|
119
203
|
};
|
|
@@ -155,22 +239,17 @@ var Anchor = defineComponent({
|
|
|
155
239
|
updateInkPosition();
|
|
156
240
|
});
|
|
157
241
|
watch(() => props.direction, updateInkPosition);
|
|
158
|
-
let currentContainer = null;
|
|
159
242
|
onMounted(() => {
|
|
160
243
|
nextTick(() => {
|
|
161
|
-
|
|
162
|
-
currentContainer.addEventListener("scroll", handleScroll, { passive: true });
|
|
163
|
-
handleScroll();
|
|
244
|
+
setupObserver();
|
|
164
245
|
setTimeout(updateInkPosition, 0);
|
|
165
246
|
});
|
|
166
247
|
});
|
|
248
|
+
watch([links, scrollOffset, () => props.getContainer], () => {
|
|
249
|
+
nextTick(() => setupObserver());
|
|
250
|
+
});
|
|
167
251
|
onBeforeUnmount(() => {
|
|
168
|
-
|
|
169
|
-
currentContainer.removeEventListener("scroll", handleScroll);
|
|
170
|
-
}
|
|
171
|
-
if (animationFrameId !== null) {
|
|
172
|
-
cancelAnimationFrame(animationFrameId);
|
|
173
|
-
}
|
|
252
|
+
stopObserver?.();
|
|
174
253
|
if (scrollTimeoutId !== null) {
|
|
175
254
|
clearTimeout(scrollTimeoutId);
|
|
176
255
|
}
|
|
@@ -244,4 +323,4 @@ var Anchor = defineComponent({
|
|
|
244
323
|
});
|
|
245
324
|
var Anchor_default = Anchor;
|
|
246
325
|
|
|
247
|
-
export { Anchor, AnchorContextKey, Anchor_default };
|
|
326
|
+
export { Anchor, AnchorContextKey, AnchorLink, Anchor_default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { useChartInteraction } from './chunk-
|
|
2
|
-
import { ChartLegend } from './chunk-
|
|
1
|
+
import { useChartInteraction } from './chunk-N4GS2LSN.mjs';
|
|
2
|
+
import { ChartLegend } from './chunk-VVS2CQS4.mjs';
|
|
3
3
|
import { ChartSeries } from './chunk-2ZUEXCVJ.mjs';
|
|
4
|
-
import { ChartTooltip } from './chunk-
|
|
4
|
+
import { ChartTooltip } from './chunk-OK4PVFQG.mjs';
|
|
5
5
|
import { ChartAxis } from './chunk-ZWVA7HT3.mjs';
|
|
6
|
-
import { ChartCanvas } from './chunk-
|
|
6
|
+
import { ChartCanvas } from './chunk-W5RZPTFD.mjs';
|
|
7
7
|
import { ChartGrid } from './chunk-MI6TL3CQ.mjs';
|
|
8
8
|
import { defineComponent, ref, computed, h } from 'vue';
|
|
9
|
-
import { getAreaGradientPrefix, getChartInnerRect, resolveSeriesData, stackSeriesData, getNumberExtent, createLinearScale, createPointScale, resolveChartPalette, createLinePath, createAreaPath, getChartElementOpacity, buildChartLegendItems, resolveMultiSeriesTooltipContent, defaultSeriesXYTooltipFormatter, classNames } from '@expcat/tigercat-core';
|
|
9
|
+
import { getAreaGradientPrefix, getChartInnerRect, resolveSeriesData, stackSeriesData, getNumberExtent, createLinearScale, createPointScale, resolveChartPalette, buildChartSeriesKeys, createLinePath, createAreaPath, getChartElementOpacity, buildChartLegendItems, resolveMultiSeriesTooltipContent, defaultSeriesXYTooltipFormatter, classNames, linePointTransitionClasses } from '@expcat/tigercat-core';
|
|
10
10
|
|
|
11
11
|
var AreaChart = defineComponent({
|
|
12
12
|
name: "TigerAreaChart",
|
|
@@ -172,7 +172,7 @@ var AreaChart = defineComponent({
|
|
|
172
172
|
},
|
|
173
173
|
gradient: {
|
|
174
174
|
type: Boolean,
|
|
175
|
-
default:
|
|
175
|
+
default: true
|
|
176
176
|
},
|
|
177
177
|
animated: {
|
|
178
178
|
type: Boolean,
|
|
@@ -182,6 +182,14 @@ var AreaChart = defineComponent({
|
|
|
182
182
|
type: Boolean,
|
|
183
183
|
default: false
|
|
184
184
|
},
|
|
185
|
+
strokeGradient: {
|
|
186
|
+
type: Boolean,
|
|
187
|
+
default: false
|
|
188
|
+
},
|
|
189
|
+
pointGradient: {
|
|
190
|
+
type: Boolean,
|
|
191
|
+
default: false
|
|
192
|
+
},
|
|
185
193
|
tooltipFormatter: {
|
|
186
194
|
type: Function
|
|
187
195
|
},
|
|
@@ -270,9 +278,13 @@ var AreaChart = defineComponent({
|
|
|
270
278
|
const shouldShowXAxis = computed(() => props.showAxis && props.showXAxis);
|
|
271
279
|
const shouldShowYAxis = computed(() => props.showAxis && props.showYAxis);
|
|
272
280
|
const palette = computed(() => resolveChartPalette(props.colors));
|
|
281
|
+
const seriesKeys = computed(
|
|
282
|
+
() => buildChartSeriesKeys(resolvedSeries.value, { prefix: "area-" })
|
|
283
|
+
);
|
|
273
284
|
const seriesData = computed(() => {
|
|
274
285
|
const stackedData = props.stacked ? stackSeriesData(resolvedSeries.value.map((s) => s.data)) : null;
|
|
275
286
|
return resolvedSeries.value.map((series, seriesIndex) => {
|
|
287
|
+
const seriesKey = seriesKeys.value[seriesIndex];
|
|
276
288
|
const color = series.color ?? palette.value[seriesIndex % palette.value.length];
|
|
277
289
|
const fillColor = series.fillColor ?? color;
|
|
278
290
|
const seriesFillOpacity = series.fillOpacity ?? props.fillOpacity;
|
|
@@ -313,6 +325,7 @@ var AreaChart = defineComponent({
|
|
|
313
325
|
return {
|
|
314
326
|
series,
|
|
315
327
|
seriesIndex,
|
|
328
|
+
seriesKey,
|
|
316
329
|
color,
|
|
317
330
|
fillColor,
|
|
318
331
|
fillOpacity: seriesFillOpacity,
|
|
@@ -393,7 +406,7 @@ var AreaChart = defineComponent({
|
|
|
393
406
|
{
|
|
394
407
|
default: () => [
|
|
395
408
|
// Gradient defs and animation styles
|
|
396
|
-
props.gradient || props.animated ? h("defs", null, [
|
|
409
|
+
props.gradient || props.animated || props.strokeGradient || props.pointGradient ? h("defs", null, [
|
|
397
410
|
// Animation keyframes
|
|
398
411
|
props.animated ? h(
|
|
399
412
|
"style",
|
|
@@ -413,8 +426,8 @@ var AreaChart = defineComponent({
|
|
|
413
426
|
(sd) => h(
|
|
414
427
|
"linearGradient",
|
|
415
428
|
{
|
|
416
|
-
key: `area-grad-${sd.
|
|
417
|
-
id: `${gradientPrefix}-${sd.
|
|
429
|
+
key: `area-grad-${sd.seriesKey}`,
|
|
430
|
+
id: `${gradientPrefix}-${sd.seriesKey}`,
|
|
418
431
|
x1: "0",
|
|
419
432
|
y1: "0",
|
|
420
433
|
x2: "0",
|
|
@@ -433,6 +446,61 @@ var AreaChart = defineComponent({
|
|
|
433
446
|
})
|
|
434
447
|
]
|
|
435
448
|
)
|
|
449
|
+
) : [],
|
|
450
|
+
// Point fill radial gradients (bright center → series color edge)
|
|
451
|
+
...props.pointGradient ? reversedSeriesData.map(
|
|
452
|
+
(sd) => h(
|
|
453
|
+
"radialGradient",
|
|
454
|
+
{
|
|
455
|
+
key: `point-grad-${sd.seriesKey}`,
|
|
456
|
+
id: `${gradientPrefix}-point-${sd.seriesKey}`,
|
|
457
|
+
cx: "0.5",
|
|
458
|
+
cy: "0.5",
|
|
459
|
+
r: "0.5"
|
|
460
|
+
},
|
|
461
|
+
[
|
|
462
|
+
h("stop", {
|
|
463
|
+
offset: "0%",
|
|
464
|
+
"stop-color": `color-mix(in oklab, ${sd.color} 100%, white 30%)`
|
|
465
|
+
}),
|
|
466
|
+
h("stop", {
|
|
467
|
+
offset: "70%",
|
|
468
|
+
"stop-color": sd.color
|
|
469
|
+
}),
|
|
470
|
+
h("stop", {
|
|
471
|
+
offset: "100%",
|
|
472
|
+
"stop-color": `color-mix(in oklab, ${sd.color} 100%, black 12%)`
|
|
473
|
+
})
|
|
474
|
+
]
|
|
475
|
+
)
|
|
476
|
+
) : [],
|
|
477
|
+
// Stroke gradients (3-stop horizontal brightness ramp)
|
|
478
|
+
...props.strokeGradient ? reversedSeriesData.map(
|
|
479
|
+
(sd) => h(
|
|
480
|
+
"linearGradient",
|
|
481
|
+
{
|
|
482
|
+
key: `stroke-grad-${sd.seriesKey}`,
|
|
483
|
+
id: `${gradientPrefix}-stroke-${sd.seriesKey}`,
|
|
484
|
+
x1: "0",
|
|
485
|
+
y1: "0",
|
|
486
|
+
x2: "1",
|
|
487
|
+
y2: "0"
|
|
488
|
+
},
|
|
489
|
+
[
|
|
490
|
+
h("stop", {
|
|
491
|
+
offset: "0%",
|
|
492
|
+
"stop-color": `color-mix(in oklab, ${sd.color} 100%, white 12%)`
|
|
493
|
+
}),
|
|
494
|
+
h("stop", {
|
|
495
|
+
offset: "50%",
|
|
496
|
+
"stop-color": sd.color
|
|
497
|
+
}),
|
|
498
|
+
h("stop", {
|
|
499
|
+
offset: "100%",
|
|
500
|
+
"stop-color": `color-mix(in oklab, ${sd.color} 100%, black 8%)`
|
|
501
|
+
})
|
|
502
|
+
]
|
|
503
|
+
)
|
|
436
504
|
) : []
|
|
437
505
|
]) : null,
|
|
438
506
|
props.showGrid ? h(ChartGrid, {
|
|
@@ -468,11 +536,12 @@ var AreaChart = defineComponent({
|
|
|
468
536
|
(sd) => h(
|
|
469
537
|
ChartSeries,
|
|
470
538
|
{
|
|
471
|
-
key:
|
|
539
|
+
key: sd.seriesKey,
|
|
472
540
|
data: sd.series.data,
|
|
473
541
|
name: sd.series.name,
|
|
474
542
|
type: "area",
|
|
475
543
|
opacity: sd.opacity,
|
|
544
|
+
"data-series-key": sd.seriesKey,
|
|
476
545
|
class: classNames(
|
|
477
546
|
sd.series.className,
|
|
478
547
|
(props.hoverable || props.selectable) && "cursor-pointer",
|
|
@@ -489,17 +558,18 @@ var AreaChart = defineComponent({
|
|
|
489
558
|
// Area fill
|
|
490
559
|
h("path", {
|
|
491
560
|
d: sd.areaPath,
|
|
492
|
-
fill: props.gradient ? `url(#${gradientPrefix}-${sd.
|
|
561
|
+
fill: props.gradient ? `url(#${gradientPrefix}-${sd.seriesKey})` : sd.fillColor,
|
|
493
562
|
"fill-opacity": props.gradient ? 1 : sd.fillOpacity,
|
|
494
563
|
stroke: "none",
|
|
495
564
|
class: "transition-opacity duration-300",
|
|
496
|
-
"data-area-series": sd.seriesIndex
|
|
565
|
+
"data-area-series": sd.seriesIndex,
|
|
566
|
+
"data-series-key": sd.seriesKey
|
|
497
567
|
}),
|
|
498
568
|
// Line stroke
|
|
499
569
|
h("path", {
|
|
500
570
|
d: sd.linePath,
|
|
501
571
|
fill: "none",
|
|
502
|
-
stroke: sd.color,
|
|
572
|
+
stroke: props.strokeGradient ? `url(#${gradientPrefix}-stroke-${sd.seriesKey})` : sd.color,
|
|
503
573
|
"stroke-width": sd.strokeWidth,
|
|
504
574
|
"stroke-dasharray": props.animated ? sd.strokeDasharray ?? "1" : sd.strokeDasharray,
|
|
505
575
|
"stroke-dashoffset": props.animated ? "1" : void 0,
|
|
@@ -519,21 +589,26 @@ var AreaChart = defineComponent({
|
|
|
519
589
|
...seriesData.value.filter((sd) => sd.showPoints).map(
|
|
520
590
|
(sd) => h(
|
|
521
591
|
"g",
|
|
522
|
-
{
|
|
592
|
+
{
|
|
593
|
+
key: `points-${sd.seriesKey}`,
|
|
594
|
+
opacity: sd.opacity,
|
|
595
|
+
"data-series-key": sd.seriesKey
|
|
596
|
+
},
|
|
523
597
|
sd.points.map((point) => {
|
|
524
598
|
const isHovered = hoveredPointInfo.value?.seriesIndex === sd.seriesIndex && hoveredPointInfo.value?.pointIndex === point.pointIndex;
|
|
525
599
|
const hoverSize = sd.pointSize + 2;
|
|
526
600
|
return h("circle", {
|
|
527
|
-
key: `point-${sd.
|
|
601
|
+
key: `point-${sd.seriesKey}-${point.pointIndex}`,
|
|
528
602
|
cx: point.x,
|
|
529
603
|
cy: point.y,
|
|
530
604
|
r: isHovered ? hoverSize : sd.pointSize,
|
|
531
|
-
fill: sd.pointHollow ? "white" : sd.pointColor,
|
|
605
|
+
fill: sd.pointHollow ? "white" : props.pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
|
|
532
606
|
stroke: sd.pointHollow ? sd.pointColor : "none",
|
|
533
607
|
"stroke-width": sd.pointHollow ? 2 : 0,
|
|
534
|
-
class:
|
|
608
|
+
class: linePointTransitionClasses,
|
|
535
609
|
style: isHovered ? `filter: drop-shadow(0 0 4px ${sd.color})` : void 0,
|
|
536
610
|
"data-point-index": point.pointIndex,
|
|
611
|
+
"data-series-key": sd.seriesKey,
|
|
537
612
|
onMouseenter: (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e),
|
|
538
613
|
onMousemove: handlePointMouseMove,
|
|
539
614
|
onMouseleave: handlePointMouseLeave,
|