@expcat/tigercat-vue 1.0.7 → 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-J7VTGSHX.mjs → chunk-G2IZAKJY.mjs} +61 -187
- package/dist/{chunk-K2U3FEL7.js → chunk-GAWIICIB.js} +55 -2
- package/dist/{chunk-LFV3KYO2.js → chunk-GDKYQ7U6.js} +9 -8
- package/dist/{chunk-O2Q4UYDA.js → chunk-GEPFTYKC.js} +61 -187
- 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-WBY2ILFK.js → chunk-VYFJ3LYD.js} +2 -2
- 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-PLGYRHPX.mjs → chunk-YQRRW4ZR.mjs} +1 -1
- 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 +3 -3
- package/dist/components/ActivityFeed.d.ts +3 -3
- package/dist/components/ActivityFeed.js +5 -5
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/Affix.d.mts +1 -1
- package/dist/components/Affix.d.ts +1 -1
- package/dist/components/Affix.js +3 -4
- package/dist/components/Affix.mjs +1 -2
- package/dist/components/Alert.d.mts +3 -3
- package/dist/components/Alert.d.ts +3 -3
- package/dist/components/Alert.js +0 -1
- package/dist/components/Alert.mjs +0 -1
- package/dist/components/Anchor.d.mts +69 -4
- package/dist/components/Anchor.d.ts +69 -4
- 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 +20 -2
- package/dist/components/AreaChart.d.ts +20 -2
- package/dist/components/AreaChart.js +7 -8
- package/dist/components/AreaChart.mjs +5 -6
- package/dist/components/AutoComplete.d.mts +1 -1
- package/dist/components/AutoComplete.d.ts +1 -1
- 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 +3 -3
- package/dist/components/BackTop.d.ts +3 -3
- package/dist/components/BackTop.js +3 -4
- package/dist/components/BackTop.mjs +1 -2
- package/dist/components/Badge.d.mts +2 -2
- package/dist/components/Badge.d.ts +2 -2
- package/dist/components/Badge.js +0 -1
- package/dist/components/Badge.mjs +0 -1
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.d.ts +2 -2
- package/dist/components/BarChart.js +7 -8
- package/dist/components/BarChart.mjs +5 -6
- package/dist/components/Breadcrumb.d.mts +135 -4
- package/dist/components/Breadcrumb.d.ts +135 -4
- 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 +2 -2
- package/dist/components/Button.d.ts +2 -2
- 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.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.d.mts +2 -2
- package/dist/components/Carousel.d.ts +2 -2
- 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 +37 -1
- package/dist/components/ChatWindow.d.ts +37 -1
- 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.d.mts +1 -1
- package/dist/components/Code.d.ts +1 -1
- package/dist/components/Code.js +3 -4
- package/dist/components/Code.mjs +1 -2
- package/dist/components/CodeEditor.d.mts +18 -2
- package/dist/components/CodeEditor.d.ts +18 -2
- 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 +2 -2
- package/dist/components/CollapsePanel.d.ts +2 -2
- 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.d.mts +1 -1
- package/dist/components/Content.d.ts +1 -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 +9 -9
- package/dist/components/DataTableWithToolbar.d.ts +9 -9
- 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 +10 -1
- package/dist/components/DonutChart.d.ts +10 -1
- 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.d.mts +1 -1
- package/dist/components/Empty.d.ts +1 -1
- 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 +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- package/dist/components/FloatButton.js +0 -1
- package/dist/components/FloatButton.mjs +0 -1
- package/dist/components/Footer.d.mts +1 -1
- package/dist/components/Footer.d.ts +1 -1
- package/dist/components/Footer.js +0 -1
- package/dist/components/Footer.mjs +0 -1
- package/dist/components/Form.d.mts +18 -2
- package/dist/components/Form.d.ts +18 -2
- 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 +10 -1
- package/dist/components/FunnelChart.d.ts +10 -1
- 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.d.mts +1 -1
- package/dist/components/Header.d.ts +1 -1
- package/dist/components/Header.js +0 -1
- package/dist/components/Header.mjs +0 -1
- package/dist/components/HeatmapChart.d.mts +25 -1
- package/dist/components/HeatmapChart.d.ts +25 -1
- 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 +1 -1
- package/dist/components/Image.d.ts +1 -1
- package/dist/components/Image.js +5 -6
- package/dist/components/Image.mjs +2 -3
- package/dist/components/ImageCropper.d.mts +1 -1
- package/dist/components/ImageCropper.d.ts +1 -1
- 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 +1 -1
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/InfiniteScroll.js +3 -4
- package/dist/components/InfiniteScroll.mjs +1 -2
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +0 -1
- package/dist/components/Input.mjs +0 -1
- package/dist/components/InputGroup.js +0 -1
- package/dist/components/InputGroup.mjs +0 -1
- package/dist/components/InputNumber.d.mts +1 -1
- package/dist/components/InputNumber.d.ts +1 -1
- package/dist/components/InputNumber.js +3 -4
- package/dist/components/InputNumber.mjs +1 -2
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.d.ts +1 -1
- package/dist/components/Kanban.js +5 -6
- package/dist/components/Kanban.mjs +3 -4
- package/dist/components/Layout.d.mts +1 -1
- package/dist/components/Layout.d.ts +1 -1
- package/dist/components/Layout.js +0 -1
- package/dist/components/Layout.mjs +0 -1
- package/dist/components/LineChart.d.mts +19 -1
- package/dist/components/LineChart.d.ts +19 -1
- package/dist/components/LineChart.js +7 -8
- package/dist/components/LineChart.mjs +5 -6
- package/dist/components/Link.d.mts +11 -2
- package/dist/components/Link.d.ts +11 -2
- package/dist/components/Link.js +0 -1
- package/dist/components/Link.mjs +0 -1
- package/dist/components/List.d.mts +65 -3
- package/dist/components/List.d.ts +65 -3
- 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 +1 -1
- package/dist/components/Mentions.d.ts +1 -1
- 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 +4 -4
- package/dist/components/NotificationCenter.d.ts +4 -4
- package/dist/components/NotificationCenter.js +9 -9
- package/dist/components/NotificationCenter.mjs +7 -7
- package/dist/components/Pagination.d.mts +31 -9
- package/dist/components/Pagination.d.ts +31 -9
- package/dist/components/Pagination.js +3 -4
- package/dist/components/Pagination.mjs +1 -2
- package/dist/components/PieChart.d.mts +10 -1
- package/dist/components/PieChart.d.ts +10 -1
- package/dist/components/PieChart.js +7 -8
- package/dist/components/PieChart.mjs +5 -6
- package/dist/components/Popconfirm.d.mts +5 -5
- package/dist/components/Popconfirm.d.ts +5 -5
- package/dist/components/Popconfirm.js +5 -6
- package/dist/components/Popconfirm.mjs +3 -4
- package/dist/components/Popover.d.mts +4 -4
- package/dist/components/Popover.d.ts +4 -4
- 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 +29 -2
- package/dist/components/RadarChart.d.ts +29 -2
- 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.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/Result.js +0 -1
- package/dist/components/Result.mjs +0 -1
- package/dist/components/RichTextEditor.d.mts +21 -5
- package/dist/components/RichTextEditor.d.ts +21 -5
- package/dist/components/RichTextEditor.js +3 -4
- package/dist/components/RichTextEditor.mjs +1 -2
- package/dist/components/Row.d.mts +2 -2
- package/dist/components/Row.d.ts +2 -2
- package/dist/components/Row.js +3 -4
- package/dist/components/Row.mjs +1 -2
- package/dist/components/ScatterChart.d.mts +2 -2
- package/dist/components/ScatterChart.d.ts +2 -2
- 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 +17 -2
- package/dist/components/Select.d.ts +17 -2
- package/dist/components/Select.js +3 -4
- package/dist/components/Select.mjs +1 -2
- package/dist/components/Sidebar.d.mts +1 -1
- package/dist/components/Sidebar.d.ts +1 -1
- package/dist/components/Sidebar.js +0 -1
- package/dist/components/Sidebar.mjs +0 -1
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton.js +0 -1
- package/dist/components/Skeleton.mjs +0 -1
- package/dist/components/Slider.d.mts +2 -2
- package/dist/components/Slider.d.ts +2 -2
- 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 +1 -1
- package/dist/components/Splitter.d.ts +1 -1
- package/dist/components/Splitter.js +3 -4
- package/dist/components/Splitter.mjs +1 -2
- package/dist/components/Statistic.d.mts +19 -1
- package/dist/components/Statistic.d.ts +19 -1
- 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 +10 -1
- package/dist/components/SunburstChart.d.ts +10 -1
- 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 +3 -3
- package/dist/components/Tag.d.ts +3 -3
- package/dist/components/Tag.js +0 -1
- package/dist/components/Tag.mjs +0 -1
- package/dist/components/TaskBoard.d.mts +1 -1
- package/dist/components/TaskBoard.d.ts +1 -1
- package/dist/components/TaskBoard.js +4 -5
- package/dist/components/TaskBoard.mjs +2 -3
- package/dist/components/Text.d.mts +2 -2
- package/dist/components/Text.d.ts +2 -2
- package/dist/components/Text.js +0 -1
- package/dist/components/Text.mjs +0 -1
- package/dist/components/Textarea.d.mts +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/Textarea.js +0 -1
- package/dist/components/Textarea.mjs +0 -1
- package/dist/components/TimePicker.d.mts +3 -3
- package/dist/components/TimePicker.d.ts +3 -3
- package/dist/components/TimePicker.js +3 -4
- package/dist/components/TimePicker.mjs +1 -2
- package/dist/components/Timeline.d.mts +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Timeline.js +0 -1
- package/dist/components/Timeline.mjs +0 -1
- package/dist/components/Tooltip.d.mts +3 -3
- package/dist/components/Tooltip.d.ts +3 -3
- package/dist/components/Tooltip.js +5 -6
- package/dist/components/Tooltip.mjs +3 -4
- package/dist/components/Tour.d.mts +3 -3
- package/dist/components/Tour.d.ts +3 -3
- 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 +50 -1
- package/dist/components/Tree.d.ts +50 -1
- package/dist/components/Tree.js +4 -4
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.d.mts +10 -1
- package/dist/components/TreeMapChart.d.ts +10 -1
- 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 +3 -3
- package/dist/components/Upload.d.ts +3 -3
- 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 +2 -2
- package/dist/components/Watermark.d.ts +2 -2
- 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 +337 -213
- package/dist/index.mjs +224 -102
- package/package.json +13 -8
- 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-BMW2Z3G3.mjs +0 -94
- package/dist/chunk-BNIUWON3.js +0 -243
- package/dist/chunk-CG3AMK5U.mjs +0 -38
- 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-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
|
@@ -9,6 +9,15 @@ var VirtualList = vue.defineComponent({
|
|
|
9
9
|
props: {
|
|
10
10
|
itemCount: { type: Number, default: 0 },
|
|
11
11
|
itemHeight: { type: Number, default: 40 },
|
|
12
|
+
estimatedItemHeight: { type: Number, default: void 0 },
|
|
13
|
+
getItemHeight: {
|
|
14
|
+
type: Function,
|
|
15
|
+
default: void 0
|
|
16
|
+
},
|
|
17
|
+
sizeStrategy: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: void 0
|
|
20
|
+
},
|
|
12
21
|
height: { type: Number, default: 400 },
|
|
13
22
|
overscan: { type: Number, default: 5 }
|
|
14
23
|
},
|
|
@@ -16,11 +25,20 @@ var VirtualList = vue.defineComponent({
|
|
|
16
25
|
setup(props, { emit, attrs, slots }) {
|
|
17
26
|
const scrollTop = vue.ref(0);
|
|
18
27
|
const containerRef = vue.ref(null);
|
|
28
|
+
const strategy = vue.computed(() => {
|
|
29
|
+
if (props.sizeStrategy) return props.sizeStrategy;
|
|
30
|
+
if (props.getItemHeight) {
|
|
31
|
+
return tigercatCore.variableSizeStrategy(props.getItemHeight, props.itemCount);
|
|
32
|
+
}
|
|
33
|
+
if (props.estimatedItemHeight !== void 0) {
|
|
34
|
+
return tigercatCore.dynamicSizeStrategy(props.estimatedItemHeight, props.itemCount);
|
|
35
|
+
}
|
|
36
|
+
return tigercatCore.fixedSizeStrategy(props.itemHeight);
|
|
37
|
+
});
|
|
19
38
|
const range = vue.computed(
|
|
20
|
-
() =>
|
|
39
|
+
() => strategy.value.getRange(
|
|
21
40
|
scrollTop.value,
|
|
22
41
|
props.height,
|
|
23
|
-
props.itemHeight,
|
|
24
42
|
props.itemCount,
|
|
25
43
|
props.overscan
|
|
26
44
|
)
|
|
@@ -32,9 +50,11 @@ var VirtualList = vue.defineComponent({
|
|
|
32
50
|
}
|
|
33
51
|
}
|
|
34
52
|
return () => {
|
|
35
|
-
const { startIndex, endIndex,
|
|
53
|
+
const { startIndex, endIndex, totalHeight } = range.value;
|
|
54
|
+
const currentStrategy = strategy.value;
|
|
36
55
|
const items = [];
|
|
37
56
|
for (let i = startIndex; i <= endIndex; i++) {
|
|
57
|
+
const itemH = currentStrategy.getItemHeight(i);
|
|
38
58
|
const slotContent = slots.default?.({ index: i });
|
|
39
59
|
items.push(
|
|
40
60
|
vue.h(
|
|
@@ -42,7 +62,7 @@ var VirtualList = vue.defineComponent({
|
|
|
42
62
|
{
|
|
43
63
|
key: i,
|
|
44
64
|
style: {
|
|
45
|
-
height: `${
|
|
65
|
+
height: `${itemH}px`,
|
|
46
66
|
width: "100%"
|
|
47
67
|
}
|
|
48
68
|
},
|
|
@@ -50,6 +70,7 @@ var VirtualList = vue.defineComponent({
|
|
|
50
70
|
)
|
|
51
71
|
);
|
|
52
72
|
}
|
|
73
|
+
const offsetTop = startIndex >= 0 ? currentStrategy.getItemOffset(startIndex) : 0;
|
|
53
74
|
return vue.h(
|
|
54
75
|
"div",
|
|
55
76
|
{
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var chunkAGAJJYP2_js = require('./chunk-AGAJJYP2.js');
|
|
3
|
+
var chunkWU2KCS6H_js = require('./chunk-WU2KCS6H.js');
|
|
4
|
+
var chunkOZYJ3U4H_js = require('./chunk-OZYJ3U4H.js');
|
|
6
5
|
var chunkBYNMOQBB_js = require('./chunk-BYNMOQBB.js');
|
|
7
|
-
var
|
|
6
|
+
var chunk5436FG3B_js = require('./chunk-5436FG3B.js');
|
|
8
7
|
var vue = require('vue');
|
|
9
8
|
var tigercatCore = require('@expcat/tigercat-core');
|
|
10
9
|
|
|
@@ -117,6 +116,9 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
117
116
|
setup(props, { attrs, emit }) {
|
|
118
117
|
const internalSearch = vue.ref(props.toolbar?.defaultSearchValue ?? "");
|
|
119
118
|
const internalFilters = vue.ref({});
|
|
119
|
+
const previousPageSize = vue.ref(
|
|
120
|
+
props.pagination && typeof props.pagination === "object" ? props.pagination.pageSize ?? props.pagination.defaultPageSize ?? 10 : void 0
|
|
121
|
+
);
|
|
120
122
|
const vnodeProps = vue.getCurrentInstance()?.vnode.props ?? {};
|
|
121
123
|
const hasSearchListener = Boolean(vnodeProps.onSearch || vnodeProps.onSearchChange);
|
|
122
124
|
vue.watch(
|
|
@@ -127,6 +129,14 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
);
|
|
132
|
+
vue.watch(
|
|
133
|
+
() => props.pagination,
|
|
134
|
+
(nextValue) => {
|
|
135
|
+
if (nextValue && typeof nextValue === "object") {
|
|
136
|
+
previousPageSize.value = nextValue.pageSize ?? nextValue.defaultPageSize ?? 10;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
);
|
|
130
140
|
vue.watch(
|
|
131
141
|
() => props.toolbar?.filters,
|
|
132
142
|
(filters) => {
|
|
@@ -202,6 +212,16 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
202
212
|
action.onClick?.(keys);
|
|
203
213
|
emit("bulk-action", action, keys);
|
|
204
214
|
};
|
|
215
|
+
const handleTablePageChange = ({
|
|
216
|
+
current,
|
|
217
|
+
pageSize
|
|
218
|
+
}) => {
|
|
219
|
+
emit("page-change", current, pageSize);
|
|
220
|
+
if (previousPageSize.value !== void 0 && previousPageSize.value !== pageSize) {
|
|
221
|
+
emit("page-size-change", current, pageSize);
|
|
222
|
+
}
|
|
223
|
+
previousPageSize.value = pageSize;
|
|
224
|
+
};
|
|
205
225
|
const renderToolbar = () => {
|
|
206
226
|
if (!hasSearch.value && !hasFilters.value && !hasBulkActions.value) return null;
|
|
207
227
|
const leftNodes = [];
|
|
@@ -225,7 +245,7 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
225
245
|
}
|
|
226
246
|
}),
|
|
227
247
|
showButton ? vue.h(
|
|
228
|
-
|
|
248
|
+
chunk5436FG3B_js.Button,
|
|
229
249
|
{
|
|
230
250
|
size: "sm",
|
|
231
251
|
variant: "primary",
|
|
@@ -245,7 +265,7 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
245
265
|
const clearable = filter.clearable !== false;
|
|
246
266
|
leftNodes.push(
|
|
247
267
|
vue.h("div", { class: "w-full sm:w-auto sm:min-w-[120px] sm:max-w-[180px]" }, [
|
|
248
|
-
vue.h(
|
|
268
|
+
vue.h(chunkOZYJ3U4H_js.Select, {
|
|
249
269
|
size: "sm",
|
|
250
270
|
options: filter.options.map((opt) => ({
|
|
251
271
|
label: opt.label,
|
|
@@ -276,7 +296,7 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
276
296
|
(props.toolbar?.bulkActions ?? []).forEach((action) => {
|
|
277
297
|
bulkChildren.push(
|
|
278
298
|
vue.h(
|
|
279
|
-
|
|
299
|
+
chunk5436FG3B_js.Button,
|
|
280
300
|
{
|
|
281
301
|
key: action.key,
|
|
282
302
|
size: "sm",
|
|
@@ -291,7 +311,11 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
291
311
|
}
|
|
292
312
|
return vue.h(
|
|
293
313
|
"div",
|
|
294
|
-
{
|
|
314
|
+
{
|
|
315
|
+
class: "tiger-data-table-toolbar flex flex-wrap items-center gap-2 pb-3",
|
|
316
|
+
role: "toolbar",
|
|
317
|
+
"aria-label": "\u6570\u636E\u8868\u683C\u5DE5\u5177\u680F"
|
|
318
|
+
},
|
|
295
319
|
[
|
|
296
320
|
vue.h("div", { class: "flex items-center gap-2 flex-wrap flex-1 min-w-0" }, leftNodes),
|
|
297
321
|
hasBulkActions.value ? vue.h(
|
|
@@ -304,7 +328,6 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
304
328
|
};
|
|
305
329
|
return () => {
|
|
306
330
|
const { class: _class, style: _style, ...restAttrs } = attrs;
|
|
307
|
-
const showPagination = props.pagination && typeof props.pagination === "object";
|
|
308
331
|
const tableProps = {
|
|
309
332
|
...restAttrs,
|
|
310
333
|
columns: props.columns,
|
|
@@ -320,14 +343,15 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
320
343
|
hoverable: props.hoverable,
|
|
321
344
|
loading: props.loading,
|
|
322
345
|
emptyText: props.emptyText,
|
|
323
|
-
pagination:
|
|
346
|
+
pagination: props.pagination,
|
|
324
347
|
rowSelection: props.rowSelection,
|
|
325
348
|
rowKey: props.rowKey,
|
|
326
349
|
rowClassName: props.rowClassName,
|
|
327
350
|
stickyHeader: props.stickyHeader,
|
|
328
351
|
maxHeight: props.maxHeight,
|
|
329
352
|
tableLayout: props.tableLayout,
|
|
330
|
-
onSelectionChange: (keys) => emit("selection-change", keys)
|
|
353
|
+
onSelectionChange: (keys) => emit("selection-change", keys),
|
|
354
|
+
onPageChange: handleTablePageChange
|
|
331
355
|
};
|
|
332
356
|
return vue.h(
|
|
333
357
|
"div",
|
|
@@ -339,12 +363,7 @@ var DataTableWithToolbar = vue.defineComponent({
|
|
|
339
363
|
[
|
|
340
364
|
renderToolbar(),
|
|
341
365
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
342
|
-
vue.h(
|
|
343
|
-
showPagination ? vue.h(chunkAGAJJYP2_js.Pagination, {
|
|
344
|
-
...props.pagination,
|
|
345
|
-
onChange: (current, pageSize) => emit("page-change", current, pageSize),
|
|
346
|
-
onPageSizeChange: (current, pageSize) => emit("page-size-change", current, pageSize)
|
|
347
|
-
}) : null
|
|
366
|
+
vue.h(chunkWU2KCS6H_js.Table, tableProps)
|
|
348
367
|
]
|
|
349
368
|
);
|
|
350
369
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, h } from 'vue';
|
|
2
|
-
import { defaultToolbar, isContentEmpty,
|
|
2
|
+
import { defaultToolbar, isContentEmpty, builtinRichTextEngine, classNames, getRichTextContainerClasses, coerceClassValue, getEditorAreaClasses, parseHeight, richTextToolbarClasses, isToolbarSeparator, richTextToolbarSeparatorClasses, getToolbarButtonClasses, isInlineFormat, richTextPlaceholderClasses, findHotkeyMatch } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
// src/components/RichTextEditor.ts
|
|
5
5
|
var RichTextEditor = defineComponent({
|
|
@@ -22,107 +22,75 @@ var RichTextEditor = defineComponent({
|
|
|
22
22
|
},
|
|
23
23
|
readOnly: { type: Boolean, default: false },
|
|
24
24
|
disabled: { type: Boolean, default: false },
|
|
25
|
-
className: { type: String, default: void 0 }
|
|
25
|
+
className: { type: String, default: void 0 },
|
|
26
|
+
engine: {
|
|
27
|
+
type: Object,
|
|
28
|
+
default: void 0
|
|
29
|
+
}
|
|
26
30
|
},
|
|
27
31
|
emits: ["update:value", "change"],
|
|
28
32
|
setup(props, { emit, attrs }) {
|
|
29
33
|
const editorRef = ref(null);
|
|
30
34
|
const internalValue = ref(props.defaultValue || "");
|
|
31
35
|
const activeFormats = ref(/* @__PURE__ */ new Set());
|
|
36
|
+
let engineInstance = null;
|
|
32
37
|
const isControlled = computed(() => props.value !== void 0);
|
|
33
38
|
const currentContent = computed(() => isControlled.value ? props.value : internalValue.value);
|
|
34
|
-
const
|
|
39
|
+
const toolbarItems = computed(() => props.toolbar ?? defaultToolbar);
|
|
35
40
|
const isEmpty = computed(() => isContentEmpty(currentContent.value));
|
|
36
41
|
watch(
|
|
37
42
|
() => props.value,
|
|
38
43
|
(newVal) => {
|
|
39
|
-
if (newVal !== void 0 &&
|
|
40
|
-
|
|
41
|
-
if (editorRef.value.innerHTML !== sanitized) {
|
|
42
|
-
editorRef.value.innerHTML = sanitized;
|
|
43
|
-
}
|
|
44
|
+
if (newVal !== void 0 && engineInstance) {
|
|
45
|
+
engineInstance.setValue(newVal);
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
);
|
|
49
|
+
watch(
|
|
50
|
+
() => [props.readOnly, props.disabled],
|
|
51
|
+
([ro, dis]) => {
|
|
52
|
+
engineInstance?.setReadOnly(ro, dis);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
47
55
|
onMounted(() => {
|
|
48
|
-
if (editorRef.value)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
if (!editorRef.value) return;
|
|
57
|
+
const engine = props.engine ?? builtinRichTextEngine;
|
|
58
|
+
engineInstance = engine.create({
|
|
59
|
+
element: editorRef.value,
|
|
60
|
+
initialValue: currentContent.value,
|
|
61
|
+
readOnly: props.readOnly,
|
|
62
|
+
disabled: props.disabled,
|
|
63
|
+
placeholder: props.placeholder,
|
|
64
|
+
toolbar: toolbarItems.value,
|
|
65
|
+
notifyChange(html) {
|
|
66
|
+
if (!isControlled.value) internalValue.value = html;
|
|
67
|
+
emit("update:value", html);
|
|
68
|
+
emit("change", html);
|
|
69
|
+
},
|
|
70
|
+
notifyActiveFormats(next) {
|
|
71
|
+
activeFormats.value = next;
|
|
52
72
|
}
|
|
53
|
-
}
|
|
73
|
+
});
|
|
54
74
|
});
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if (document.queryCommandState("underline")) next.add("underline");
|
|
61
|
-
if (document.queryCommandState("strikeThrough")) next.add("strikethrough");
|
|
62
|
-
if (document.queryCommandState("insertUnorderedList")) next.add("bulletList");
|
|
63
|
-
if (document.queryCommandState("insertOrderedList")) next.add("orderedList");
|
|
64
|
-
activeFormats.value = next;
|
|
65
|
-
}
|
|
66
|
-
function execAction(actionName) {
|
|
75
|
+
onBeforeUnmount(() => {
|
|
76
|
+
engineInstance?.destroy();
|
|
77
|
+
engineInstance = null;
|
|
78
|
+
});
|
|
79
|
+
function execButtonAction(btn) {
|
|
67
80
|
if (props.readOnly || props.disabled) return;
|
|
68
|
-
editorRef.value
|
|
69
|
-
|
|
70
|
-
if (mapping) {
|
|
71
|
-
document.execCommand(mapping.command, false, mapping.argument);
|
|
72
|
-
handleInput();
|
|
73
|
-
updateActiveFormats();
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
if (actionName === "codeBlock") {
|
|
77
|
-
document.execCommand("formatBlock", false, "PRE");
|
|
78
|
-
handleInput();
|
|
81
|
+
if (btn.action && editorRef.value) {
|
|
82
|
+
btn.action(editorRef.value);
|
|
79
83
|
return;
|
|
80
84
|
}
|
|
81
|
-
|
|
82
|
-
const url = typeof window !== "undefined" ? window.prompt("Enter URL:") : null;
|
|
83
|
-
if (url && isValidUrl(url)) {
|
|
84
|
-
document.execCommand("createLink", false, url);
|
|
85
|
-
handleInput();
|
|
86
|
-
}
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
if (actionName === "image") {
|
|
90
|
-
const url = typeof window !== "undefined" ? window.prompt("Enter image URL:") : null;
|
|
91
|
-
if (url && isValidUrl(url)) {
|
|
92
|
-
document.execCommand("insertImage", false, url);
|
|
93
|
-
handleInput();
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
function handleInput() {
|
|
98
|
-
if (!editorRef.value) return;
|
|
99
|
-
const html = editorRef.value.innerHTML;
|
|
100
|
-
const sanitized = sanitizeHtml(html);
|
|
101
|
-
if (!isControlled.value) {
|
|
102
|
-
internalValue.value = sanitized;
|
|
103
|
-
}
|
|
104
|
-
emit("update:value", sanitized);
|
|
105
|
-
emit("change", sanitized);
|
|
85
|
+
engineInstance?.exec(btn.name);
|
|
106
86
|
}
|
|
107
87
|
function handleKeydown(e) {
|
|
108
|
-
const match = findHotkeyMatch(
|
|
88
|
+
const match = findHotkeyMatch(toolbarItems.value, e);
|
|
109
89
|
if (match) {
|
|
110
90
|
e.preventDefault();
|
|
111
|
-
|
|
91
|
+
execButtonAction(match);
|
|
112
92
|
}
|
|
113
93
|
}
|
|
114
|
-
let selectionHandler = null;
|
|
115
|
-
onMounted(() => {
|
|
116
|
-
if (typeof document !== "undefined") {
|
|
117
|
-
selectionHandler = updateActiveFormats;
|
|
118
|
-
document.addEventListener("selectionchange", selectionHandler);
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
onBeforeUnmount(() => {
|
|
122
|
-
if (selectionHandler && typeof document !== "undefined") {
|
|
123
|
-
document.removeEventListener("selectionchange", selectionHandler);
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
94
|
const containerClasses = computed(
|
|
127
95
|
() => classNames(
|
|
128
96
|
getRichTextContainerClasses(props.disabled, props.className),
|
|
@@ -143,8 +111,17 @@ var RichTextEditor = defineComponent({
|
|
|
143
111
|
role: "toolbar",
|
|
144
112
|
"aria-label": "Text formatting"
|
|
145
113
|
},
|
|
146
|
-
|
|
147
|
-
(
|
|
114
|
+
toolbarItems.value.map((item, idx) => {
|
|
115
|
+
if (isToolbarSeparator(item)) {
|
|
116
|
+
return h("div", {
|
|
117
|
+
key: `sep-${idx}`,
|
|
118
|
+
class: richTextToolbarSeparatorClasses,
|
|
119
|
+
role: "separator",
|
|
120
|
+
"aria-orientation": "vertical"
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
const btn = item;
|
|
124
|
+
return h(
|
|
148
125
|
"button",
|
|
149
126
|
{
|
|
150
127
|
key: btn.name,
|
|
@@ -156,24 +133,22 @@ var RichTextEditor = defineComponent({
|
|
|
156
133
|
disabled: props.disabled || props.readOnly,
|
|
157
134
|
onClick: (e) => {
|
|
158
135
|
e.preventDefault();
|
|
159
|
-
|
|
136
|
+
execButtonAction(btn);
|
|
160
137
|
}
|
|
161
138
|
},
|
|
162
|
-
btn.label
|
|
163
|
-
)
|
|
164
|
-
)
|
|
139
|
+
btn.icon ? h("span", { innerHTML: btn.icon }) : btn.label
|
|
140
|
+
);
|
|
141
|
+
})
|
|
165
142
|
);
|
|
166
143
|
const editorEl = h("div", {
|
|
167
144
|
ref: editorRef,
|
|
168
145
|
class: editorAreaClasses.value,
|
|
169
|
-
contenteditable: !(props.readOnly || props.disabled),
|
|
170
146
|
role: "textbox",
|
|
171
147
|
"aria-multiline": true,
|
|
172
148
|
"aria-readonly": props.readOnly || void 0,
|
|
173
149
|
"aria-disabled": props.disabled || void 0,
|
|
174
150
|
"aria-placeholder": props.placeholder,
|
|
175
151
|
"data-placeholder": props.placeholder,
|
|
176
|
-
onInput: handleInput,
|
|
177
152
|
onKeydown: handleKeydown
|
|
178
153
|
});
|
|
179
154
|
const placeholderEl = isEmpty.value && props.placeholder ? h(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkGZK6R2E3_js = require('./chunk-GZK6R2E3.js');
|
|
4
|
+
var chunkACYYQJ6M_js = require('./chunk-ACYYQJ6M.js');
|
|
5
5
|
var chunkHBFFINAI_js = require('./chunk-HBFFINAI.js');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunkZOUJFFG4_js = require('./chunk-ZOUJFFG4.js');
|
|
7
|
+
var chunkUHVUKLHF_js = require('./chunk-UHVUKLHF.js');
|
|
8
8
|
var vue = require('vue');
|
|
9
9
|
var tigercatCore = require('@expcat/tigercat-core');
|
|
10
10
|
|
|
@@ -19,6 +19,7 @@ var TreeMapChart = vue.defineComponent({
|
|
|
19
19
|
showLabels: { type: Boolean, default: true },
|
|
20
20
|
minLabelSize: { type: Number, default: 10 },
|
|
21
21
|
colors: { type: Array },
|
|
22
|
+
gradient: { type: Boolean, default: false },
|
|
22
23
|
// Interaction
|
|
23
24
|
hoverable: { type: Boolean, default: false },
|
|
24
25
|
hoveredIndex: { type: Number, default: void 0 },
|
|
@@ -55,7 +56,7 @@ var TreeMapChart = vue.defineComponent({
|
|
|
55
56
|
handleLegendHover,
|
|
56
57
|
handleLegendLeave,
|
|
57
58
|
wrapperClasses
|
|
58
|
-
} =
|
|
59
|
+
} = chunkGZK6R2E3_js.useChartInteraction({
|
|
59
60
|
hoverable: vue.computed(() => props.hoverable),
|
|
60
61
|
hoveredIndexProp: () => props.hoveredIndex,
|
|
61
62
|
selectable: vue.computed(() => props.selectable),
|
|
@@ -72,6 +73,7 @@ var TreeMapChart = vue.defineComponent({
|
|
|
72
73
|
});
|
|
73
74
|
const innerRect = vue.computed(() => tigercatCore.getChartInnerRect(props.width, props.height, props.padding));
|
|
74
75
|
const palette = vue.computed(() => tigercatCore.resolveChartPalette(props.colors));
|
|
76
|
+
const gradientPrefix = tigercatCore.getTreeMapGradientPrefix();
|
|
75
77
|
const nodes = vue.computed(
|
|
76
78
|
() => tigercatCore.computeTreeMapNodes(props.data, {
|
|
77
79
|
width: innerRect.value.width,
|
|
@@ -99,7 +101,7 @@ var TreeMapChart = vue.defineComponent({
|
|
|
99
101
|
return () => {
|
|
100
102
|
const interactive = props.hoverable || props.selectable;
|
|
101
103
|
const chart = vue.h(
|
|
102
|
-
|
|
104
|
+
chunkUHVUKLHF_js.ChartCanvas,
|
|
103
105
|
{
|
|
104
106
|
width: props.width,
|
|
105
107
|
height: props.height,
|
|
@@ -110,61 +112,96 @@ var TreeMapChart = vue.defineComponent({
|
|
|
110
112
|
},
|
|
111
113
|
{
|
|
112
114
|
default: () => {
|
|
115
|
+
const gradientDefs = props.gradient ? vue.h(
|
|
116
|
+
"defs",
|
|
117
|
+
null,
|
|
118
|
+
nodes.value.map(
|
|
119
|
+
(node) => vue.h(
|
|
120
|
+
"linearGradient",
|
|
121
|
+
{
|
|
122
|
+
id: `${gradientPrefix}-${node.index}`,
|
|
123
|
+
x1: "0",
|
|
124
|
+
y1: "0",
|
|
125
|
+
x2: "0",
|
|
126
|
+
y2: "1"
|
|
127
|
+
},
|
|
128
|
+
[
|
|
129
|
+
vue.h("stop", {
|
|
130
|
+
offset: "0%",
|
|
131
|
+
"stop-color": node.color,
|
|
132
|
+
"stop-opacity": "1"
|
|
133
|
+
}),
|
|
134
|
+
vue.h("stop", {
|
|
135
|
+
offset: "100%",
|
|
136
|
+
"stop-color": node.color,
|
|
137
|
+
"stop-opacity": "0.7"
|
|
138
|
+
})
|
|
139
|
+
]
|
|
140
|
+
)
|
|
141
|
+
)
|
|
142
|
+
) : null;
|
|
113
143
|
return vue.h(
|
|
114
144
|
chunkHBFFINAI_js.ChartSeries,
|
|
115
145
|
{ data: nodes.value, type: "treemap" },
|
|
116
146
|
{
|
|
117
|
-
default: () =>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
];
|
|
140
|
-
if (props.showLabels && node.w > 30 && node.h > props.minLabelSize + 4) {
|
|
141
|
-
elems.push(
|
|
142
|
-
vue.h(
|
|
143
|
-
"text",
|
|
144
|
-
{
|
|
145
|
-
key: `label-${node.index}`,
|
|
146
|
-
x: node.x + node.w / 2,
|
|
147
|
-
y: node.y + node.h / 2,
|
|
148
|
-
class: "fill-white text-xs",
|
|
149
|
-
"text-anchor": "middle",
|
|
150
|
-
"dominant-baseline": "middle",
|
|
151
|
-
style: {
|
|
152
|
-
pointerEvents: "none",
|
|
153
|
-
fontSize: `${Math.min(12, node.h * 0.3)}px`
|
|
154
|
-
}
|
|
147
|
+
default: () => [
|
|
148
|
+
gradientDefs,
|
|
149
|
+
...nodes.value.map((node) => {
|
|
150
|
+
const opacity = tigercatCore.getChartElementOpacity(node.index, activeIndex.value, {
|
|
151
|
+
activeOpacity: props.activeOpacity,
|
|
152
|
+
inactiveOpacity: props.inactiveOpacity
|
|
153
|
+
});
|
|
154
|
+
const elems = [
|
|
155
|
+
vue.h("rect", {
|
|
156
|
+
key: `node-${node.index}`,
|
|
157
|
+
x: node.x,
|
|
158
|
+
y: node.y,
|
|
159
|
+
width: node.w,
|
|
160
|
+
height: node.h,
|
|
161
|
+
rx: 2,
|
|
162
|
+
fill: props.gradient ? `url(#${gradientPrefix}-${node.index})` : node.color,
|
|
163
|
+
opacity,
|
|
164
|
+
class: tigercatCore.classNames(interactive && "cursor-pointer"),
|
|
165
|
+
style: {
|
|
166
|
+
transition: "opacity 0.2s ease-out, filter 0.2s ease-out",
|
|
167
|
+
rx: "var(--tiger-chart-block-radius, 2px)",
|
|
168
|
+
filter: activeIndex.value === node.index ? "var(--tiger-chart-block-active-filter, none)" : "none"
|
|
155
169
|
},
|
|
156
|
-
node.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
170
|
+
onMouseenter: (e) => handleMouseEnter(node.index, e),
|
|
171
|
+
onMousemove: handleMouseMove,
|
|
172
|
+
onMouseleave: handleMouseLeave,
|
|
173
|
+
onClick: () => handleClick(node.index)
|
|
174
|
+
})
|
|
175
|
+
];
|
|
176
|
+
if (props.showLabels && node.w > 30 && node.h > props.minLabelSize + 4) {
|
|
177
|
+
elems.push(
|
|
178
|
+
vue.h(
|
|
179
|
+
"text",
|
|
180
|
+
{
|
|
181
|
+
key: `label-${node.index}`,
|
|
182
|
+
x: node.x + node.w / 2,
|
|
183
|
+
y: node.y + node.h / 2,
|
|
184
|
+
class: "fill-white text-xs",
|
|
185
|
+
"text-anchor": "middle",
|
|
186
|
+
"dominant-baseline": "middle",
|
|
187
|
+
style: {
|
|
188
|
+
pointerEvents: "none",
|
|
189
|
+
fontSize: `${Math.min(12, node.h * 0.3)}px`
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
node.label
|
|
193
|
+
)
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
return elems;
|
|
197
|
+
}).flat()
|
|
198
|
+
]
|
|
162
199
|
}
|
|
163
200
|
);
|
|
164
201
|
}
|
|
165
202
|
}
|
|
166
203
|
);
|
|
167
|
-
const tooltip = props.showTooltip && props.hoverable ? vue.h(
|
|
204
|
+
const tooltip = props.showTooltip && props.hoverable ? vue.h(chunkZOUJFFG4_js.ChartTooltip, {
|
|
168
205
|
content: tooltipContent.value,
|
|
169
206
|
visible: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
|
|
170
207
|
x: tooltipPosition.value.x,
|
|
@@ -175,7 +212,7 @@ var TreeMapChart = vue.defineComponent({
|
|
|
175
212
|
}
|
|
176
213
|
return vue.h("div", { class: wrapperClasses.value }, [
|
|
177
214
|
chart,
|
|
178
|
-
vue.h(
|
|
215
|
+
vue.h(chunkACYYQJ6M_js.ChartLegend, {
|
|
179
216
|
items: legendItems.value,
|
|
180
217
|
position: props.legendPosition,
|
|
181
218
|
markerSize: props.legendMarkerSize,
|
|
@@ -158,7 +158,10 @@ var Transfer = vue.defineComponent({
|
|
|
158
158
|
// Body
|
|
159
159
|
vue.h(
|
|
160
160
|
"div",
|
|
161
|
-
{
|
|
161
|
+
{
|
|
162
|
+
class: tigercatCore.transferPanelBodyClasses,
|
|
163
|
+
...tigercatCore.getPickerListboxAria({ label: `${title} items` })
|
|
164
|
+
},
|
|
162
165
|
items.length > 0 ? items.map((item) => {
|
|
163
166
|
const isSelected = selectedKeys.has(item.key);
|
|
164
167
|
const isDisabled = props.disabled || !!item.disabled;
|
|
@@ -167,9 +170,7 @@ var Transfer = vue.defineComponent({
|
|
|
167
170
|
{
|
|
168
171
|
key: item.key,
|
|
169
172
|
class: tigercatCore.getTransferItemClasses(isSelected, isDisabled, props.size),
|
|
170
|
-
|
|
171
|
-
"aria-selected": isSelected,
|
|
172
|
-
"aria-disabled": isDisabled
|
|
173
|
+
...tigercatCore.getPickerOptionAria({ selected: isSelected, disabled: isDisabled })
|
|
173
174
|
},
|
|
174
175
|
[
|
|
175
176
|
vue.h("input", {
|
|
@@ -28,6 +28,10 @@ var CodeEditor = defineComponent({
|
|
|
28
28
|
style: {
|
|
29
29
|
type: Object,
|
|
30
30
|
default: void 0
|
|
31
|
+
},
|
|
32
|
+
highlighter: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: void 0
|
|
31
35
|
}
|
|
32
36
|
},
|
|
33
37
|
emits: ["update:value", "change"],
|
|
@@ -83,6 +87,14 @@ var CodeEditor = defineComponent({
|
|
|
83
87
|
}
|
|
84
88
|
};
|
|
85
89
|
const renderHighlightedLine = (line, lineIndex) => {
|
|
90
|
+
const engine = props.highlighter;
|
|
91
|
+
if (engine?.highlightLine) {
|
|
92
|
+
return h("div", {
|
|
93
|
+
key: lineIndex,
|
|
94
|
+
class: "min-h-[1.625rem]",
|
|
95
|
+
innerHTML: engine.highlightLine(line, props.language, props.theme) || (line === "" ? "\n" : "")
|
|
96
|
+
});
|
|
97
|
+
}
|
|
86
98
|
const tokens = tokenizeLine(line, props.language);
|
|
87
99
|
const spans = tokens.map((token, ti) => {
|
|
88
100
|
const cls = getTokenClasses(token.type, props.theme);
|
|
@@ -103,7 +115,13 @@ var CodeEditor = defineComponent({
|
|
|
103
115
|
},
|
|
104
116
|
lineNums.value.map((n) => h("div", { key: n, class: "min-h-[1.625rem]" }, String(n)))
|
|
105
117
|
) : null;
|
|
106
|
-
const
|
|
118
|
+
const blockEngine = props.highlighter;
|
|
119
|
+
const blockHtml = blockEngine && !blockEngine.highlightLine && blockEngine.highlightCode ? blockEngine.highlightCode(code.value, props.language, props.theme) : null;
|
|
120
|
+
const highlightNode = blockHtml !== null ? h("div", {
|
|
121
|
+
class: classNames(codeEditorHighlightClasses, wrapClass),
|
|
122
|
+
"aria-hidden": "true",
|
|
123
|
+
innerHTML: blockHtml
|
|
124
|
+
}) : h(
|
|
107
125
|
"div",
|
|
108
126
|
{ class: classNames(codeEditorHighlightClasses, wrapClass), "aria-hidden": "true" },
|
|
109
127
|
lines.value.map((line, i) => renderHighlightedLine(line, i))
|