@expcat/tigercat-vue 1.5.0 → 2.0.0-preview.1
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-MF7BKYGN.mjs → chunk-2QWGVJW6.mjs} +29 -15
- package/dist/{chunk-WWB7VKKH.mjs → chunk-36WSYHJU.mjs} +53 -7
- package/dist/chunk-4RKBXGHQ.mjs +52 -0
- package/dist/{chunk-ALFEFDVG.mjs → chunk-4ZKSTL5P.mjs} +47 -21
- package/dist/{chunk-YZP4K6KI.mjs → chunk-6BDDX2R4.mjs} +9 -9
- package/dist/{chunk-Y4V7BOVR.mjs → chunk-6TTICJR4.mjs} +9 -7
- package/dist/{chunk-S4Z77VIB.mjs → chunk-AZXS4QWC.mjs} +8 -8
- package/dist/{chunk-RD2NFAB6.mjs → chunk-BGO2ILHM.mjs} +9 -9
- package/dist/{chunk-6CS3EEQU.mjs → chunk-BNNTDSLJ.mjs} +83 -0
- package/dist/{chunk-5CHHWMES.mjs → chunk-DOVBKVTB.mjs} +1 -1
- package/dist/chunk-ESBUNMIG.mjs +49 -0
- package/dist/{chunk-KJ6VISRW.mjs → chunk-EUSODI5E.mjs} +1 -1
- package/dist/{chunk-LHOSPU6V.mjs → chunk-FDKJOVXG.mjs} +9 -18
- package/dist/{chunk-LHZ5MRFQ.mjs → chunk-FHJ3R57L.mjs} +9 -9
- package/dist/{chunk-PMN2MQ26.mjs → chunk-FIVVKBBF.mjs} +3 -3
- package/dist/{chunk-JGW7R7AZ.mjs → chunk-G7MOTNJO.mjs} +8 -8
- package/dist/{chunk-WSUCJHJX.mjs → chunk-GAEO66NY.mjs} +2 -2
- package/dist/chunk-GMIKUE67.mjs +201 -0
- package/dist/chunk-GTFAC625.mjs +120 -0
- package/dist/{chunk-LSWTZHBV.mjs → chunk-HGXD57QM.mjs} +23 -2
- package/dist/{chunk-X43QLJ5E.mjs → chunk-IGT4QB7O.mjs} +4 -4
- package/dist/{chunk-3VFZB5ZK.mjs → chunk-IQNZ4UEA.mjs} +10 -13
- package/dist/{chunk-QH3YF5B6.mjs → chunk-JMVALNIO.mjs} +52 -25
- package/dist/{chunk-UTGFGMZT.mjs → chunk-JPCMI3A4.mjs} +8 -8
- package/dist/{chunk-SMCOBLF6.mjs → chunk-KBJANUZZ.mjs} +6 -6
- package/dist/{chunk-M4EP4OVR.mjs → chunk-KE6RGD4Y.mjs} +2 -1
- package/dist/chunk-KIPTVKU2.mjs +104 -0
- package/dist/{chunk-LGDJDBE3.mjs → chunk-KR3D2JOA.mjs} +4 -7
- package/dist/{chunk-VYBRLIKF.mjs → chunk-MJRFB6ZA.mjs} +8 -8
- package/dist/{chunk-UKMOWUYH.mjs → chunk-MYKKKVGK.mjs} +2 -2
- package/dist/{chunk-3AF4VRCD.mjs → chunk-N3C6YI7I.mjs} +8 -8
- package/dist/{chunk-57VPT3MN.mjs → chunk-NYWIBDO6.mjs} +8 -8
- package/dist/{chunk-PJX2DHO5.mjs → chunk-O4F75KHL.mjs} +8 -8
- package/dist/{chunk-CIDINFA2.mjs → chunk-ODDPVS27.mjs} +35 -10
- package/dist/{chunk-64EZRIJL.mjs → chunk-QD5ZCKPR.mjs} +1 -1
- package/dist/{chunk-4RK5BDGR.mjs → chunk-RAO7ZJWR.mjs} +9 -9
- package/dist/{chunk-G2LB4QCL.mjs → chunk-SPFL55TF.mjs} +4 -4
- package/dist/{chunk-6OQLZCQK.mjs → chunk-SYRRMZT2.mjs} +1 -1
- package/dist/{chunk-IJL7YYT7.mjs → chunk-TQDN67YN.mjs} +29 -3
- package/dist/{chunk-SC3WTLKG.mjs → chunk-UD4FNMJN.mjs} +22 -5
- package/dist/{chunk-CVFXUYH2.mjs → chunk-VFUBOKGT.mjs} +4 -4
- package/dist/{chunk-XMGNMKWW.mjs → chunk-VMYV5EWI.mjs} +4 -3
- package/dist/{chunk-OSPHI5TV.mjs → chunk-W7X5ZHJ3.mjs} +4 -9
- package/dist/{chunk-TRN5PL5D.mjs → chunk-WYJ5WOT2.mjs} +28 -12
- package/dist/chunk-Y2HO4IBQ.mjs +150 -0
- package/dist/{chunk-XJ5VGC5V.mjs → chunk-YJSWHGAR.mjs} +24 -10
- package/dist/{chunk-N2QGYEOQ.mjs → chunk-YSKG5FSX.mjs} +1 -1
- package/dist/{chunk-BRGQXIKA.mjs → chunk-Z4NJJ7NI.mjs} +9 -9
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/AreaChart.d.mts +6 -6
- package/dist/components/AreaChart.mjs +5 -5
- package/dist/components/AutoComplete.d.mts +28 -9
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/BackTop.d.mts +28 -1
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/BarChart.mjs +5 -5
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Card.d.mts +7 -7
- package/dist/components/Carousel.d.mts +24 -7
- package/dist/components/Carousel.mjs +1 -1
- package/dist/components/Cascader.d.mts +38 -16
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartTooltip.d.mts +4 -4
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/Checkbox.d.mts +8 -8
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/CheckboxGroup.d.mts +8 -8
- package/dist/components/ColorPicker.d.mts +4 -4
- package/dist/components/ColorSwatch.d.mts +4 -4
- package/dist/components/CommentThread.mjs +1 -1
- package/dist/components/CropUpload.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +1 -11
- package/dist/components/DataTableWithToolbar.mjs +8 -8
- package/dist/components/DatePicker.d.mts +7 -7
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/Descriptions.d.mts +7 -7
- package/dist/components/DonutChart.d.mts +11 -11
- package/dist/components/DonutChart.mjs +5 -5
- package/dist/components/Drawer.d.mts +8 -27
- package/dist/components/Drawer.mjs +1 -1
- package/dist/components/Dropdown.d.mts +69 -2
- package/dist/components/Dropdown.mjs +3 -1
- package/dist/components/FloatButton.d.mts +31 -1
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.d.mts +8 -8
- package/dist/components/FormItem.d.mts +4 -4
- package/dist/components/FunnelChart.mjs +4 -4
- package/dist/components/GaugeChart.mjs +2 -2
- package/dist/components/HeatmapChart.mjs +3 -3
- package/dist/components/Image.mjs +3 -3
- package/dist/components/ImageGroup.d.mts +2 -2
- package/dist/components/ImageGroup.mjs +2 -2
- package/dist/components/ImagePreview.d.mts +22 -12
- package/dist/components/ImagePreview.mjs +1 -1
- package/dist/components/ImageViewer.d.mts +6 -16
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/Input.d.mts +5 -5
- package/dist/components/InputGroup.d.mts +6 -6
- package/dist/components/InputNumber.d.mts +5 -5
- package/dist/components/LineChart.mjs +5 -5
- package/dist/components/List.d.mts +7 -7
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Message.d.mts +4 -39
- package/dist/components/Message.mjs +139 -4
- package/dist/components/{Message.d.ts → MessageContainer.d.mts} +5 -18
- package/dist/components/MessageContainer.mjs +9 -0
- package/dist/components/MessageRoot.d.mts +9 -0
- package/dist/components/MessageRoot.mjs +6 -0
- package/dist/components/Modal.d.mts +2 -20
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Notification.d.mts +4 -29
- package/dist/components/Notification.mjs +189 -4
- package/dist/components/{Notification.d.ts → NotificationContainer.d.mts} +15 -17
- package/dist/components/NotificationContainer.mjs +9 -0
- package/dist/components/NotificationRoot.d.mts +9 -0
- package/dist/components/NotificationRoot.mjs +6 -0
- package/dist/components/PieChart.mjs +4 -4
- package/dist/components/Popconfirm.mjs +2 -2
- package/dist/components/Popover.mjs +2 -2
- package/dist/components/RadarChart.mjs +4 -4
- package/dist/components/Radio.d.mts +15 -15
- package/dist/components/Radio.mjs +2 -2
- package/dist/components/RadioGroup.d.mts +16 -16
- package/dist/components/RadioGroup.mjs +1 -1
- package/dist/components/ScatterChart.mjs +5 -5
- package/dist/components/Segmented.d.mts +4 -4
- package/dist/components/Select.d.mts +37 -36
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Slider.d.mts +7 -7
- package/dist/components/Space.d.mts +11 -11
- package/dist/components/Statistic.d.mts +4 -4
- package/dist/components/Stepper.d.mts +4 -4
- package/dist/components/SunburstChart.mjs +4 -4
- package/dist/components/Switch.d.mts +14 -14
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Table.d.mts +0 -10
- package/dist/components/Table.mjs +5 -5
- package/dist/components/Textarea.d.mts +7 -7
- package/dist/components/TimePicker.d.mts +9 -9
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Tooltip.mjs +2 -2
- package/dist/components/Transfer.d.mts +31 -11
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/TreeMapChart.mjs +4 -4
- package/dist/components/TreeSelect.d.mts +32 -12
- package/dist/components/TreeSelect.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +24 -33
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/composables/useChartInteraction.d.mts +84 -0
- package/dist/composables/useChartInteraction.mjs +6 -0
- package/dist/composables/useDrag.d.mts +40 -0
- package/dist/composables/useDrag.mjs +6 -0
- package/dist/composables/useFormController.d.mts +23 -0
- package/dist/composables/useFormController.mjs +6 -0
- package/dist/index.d.mts +11 -144
- package/dist/index.mjs +2155 -826
- package/package.json +743 -13
- package/dist/chunk-2DC3BMED.js +0 -92
- package/dist/chunk-2FYVPPTD.js +0 -315
- package/dist/chunk-2RCBEBBR.js +0 -376
- package/dist/chunk-2VOZFFW6.js +0 -138
- package/dist/chunk-37LDNXLO.js +0 -243
- package/dist/chunk-3QV2D54H.js +0 -207
- package/dist/chunk-43BLH7DE.js +0 -166
- package/dist/chunk-54VVFMYI.js +0 -69
- package/dist/chunk-55BSMMUN.js +0 -202
- package/dist/chunk-57MJTNDL.js +0 -128
- package/dist/chunk-5FTM7R3P.js +0 -142
- package/dist/chunk-5PVDNJA5.js +0 -103
- package/dist/chunk-5PXTMXXS.js +0 -159
- package/dist/chunk-5UOAWXOQ.js +0 -243
- package/dist/chunk-67RSRWWY.js +0 -451
- package/dist/chunk-6WFFP4K2.mjs +0 -325
- package/dist/chunk-72DDCIVL.js +0 -68
- package/dist/chunk-75TB3YIJ.js +0 -124
- package/dist/chunk-7ADONGSB.js +0 -49
- package/dist/chunk-7CR6MLD5.js +0 -141
- package/dist/chunk-7FWZIAFP.js +0 -482
- package/dist/chunk-7GYYIDMA.js +0 -325
- package/dist/chunk-7J7JIIHX.js +0 -230
- package/dist/chunk-7KYGVEHF.js +0 -364
- package/dist/chunk-7RMBEWN2.js +0 -360
- package/dist/chunk-A7FN3S4I.js +0 -150
- package/dist/chunk-AF7JZUTA.js +0 -755
- package/dist/chunk-ANQRW442.js +0 -468
- package/dist/chunk-APBWQGXW.js +0 -250
- package/dist/chunk-AWXSJNNP.js +0 -267
- package/dist/chunk-AYQER5UD.js +0 -96
- package/dist/chunk-BNUR72YP.js +0 -142
- package/dist/chunk-BPJOIFND.js +0 -305
- package/dist/chunk-BV6XWFRF.js +0 -360
- package/dist/chunk-BYNTPLGC.js +0 -79
- package/dist/chunk-BZ56UKUK.js +0 -483
- package/dist/chunk-CFJST2X2.js +0 -808
- package/dist/chunk-CGZFRSI5.mjs +0 -98
- package/dist/chunk-CTAQ5WEN.js +0 -95
- package/dist/chunk-CWNEDREV.js +0 -165
- package/dist/chunk-D43IFX7J.js +0 -196
- package/dist/chunk-D6Y3KVJF.js +0 -211
- package/dist/chunk-DE5WMG6P.js +0 -291
- package/dist/chunk-DYSLYJ2W.js +0 -92
- package/dist/chunk-E36I27WK.js +0 -362
- package/dist/chunk-EG7XX6U4.js +0 -98
- package/dist/chunk-EQW6IUHG.js +0 -163
- package/dist/chunk-ETTYERGO.js +0 -83
- package/dist/chunk-F5TZIFMW.js +0 -145
- package/dist/chunk-FC7RXQTM.js +0 -153
- package/dist/chunk-GBYNY77G.js +0 -342
- package/dist/chunk-GJ5HJOQP.js +0 -859
- package/dist/chunk-GV3LRZSR.js +0 -257
- package/dist/chunk-H2XEJHGR.js +0 -327
- package/dist/chunk-H7GAWNOW.js +0 -787
- package/dist/chunk-HA5QZ76M.js +0 -143
- package/dist/chunk-HBFFINAI.js +0 -58
- package/dist/chunk-HI45DI7S.js +0 -404
- package/dist/chunk-IUPNDTUF.js +0 -119
- package/dist/chunk-IXTYS3EK.js +0 -140
- package/dist/chunk-J77GQQEC.js +0 -318
- package/dist/chunk-JCMGBKS6.js +0 -59
- package/dist/chunk-JCPTFBLY.js +0 -112
- package/dist/chunk-JICPYKCT.js +0 -297
- package/dist/chunk-JKZ5ZRDG.js +0 -136
- package/dist/chunk-JMRR4KDB.js +0 -736
- package/dist/chunk-JTVFVAM3.js +0 -47
- package/dist/chunk-K2DJDJZR.js +0 -139
- package/dist/chunk-K2NJI5MW.js +0 -67
- package/dist/chunk-K3CIXMN4.js +0 -212
- package/dist/chunk-K6DYTMBE.js +0 -111
- package/dist/chunk-KGDRA475.js +0 -119
- package/dist/chunk-KLOUOXNA.js +0 -111
- package/dist/chunk-KTNT2JHB.js +0 -351
- package/dist/chunk-LKRT27JW.js +0 -149
- package/dist/chunk-LODEICSN.js +0 -253
- package/dist/chunk-LPHDX3UU.js +0 -279
- package/dist/chunk-LUBUJUSH.js +0 -45
- package/dist/chunk-MNVMGJUF.js +0 -341
- package/dist/chunk-MPVL53GP.js +0 -472
- package/dist/chunk-MQ23PX3S.js +0 -218
- package/dist/chunk-MSKAWM7K.js +0 -73
- package/dist/chunk-NCLUMDZB.js +0 -100
- package/dist/chunk-NQYE64IF.js +0 -130
- package/dist/chunk-OOMZBTHW.js +0 -328
- package/dist/chunk-OQBWITHA.js +0 -387
- package/dist/chunk-OQOJI5Q7.js +0 -158
- package/dist/chunk-OVXDO6KJ.js +0 -426
- package/dist/chunk-OXIODAJS.js +0 -192
- package/dist/chunk-PFWRFHSB.js +0 -164
- package/dist/chunk-PFZFPN7M.js +0 -383
- package/dist/chunk-PH6ERFC7.js +0 -545
- package/dist/chunk-QKJATAJP.js +0 -788
- package/dist/chunk-QOMWROWE.js +0 -136
- package/dist/chunk-QY6PYAJA.js +0 -194
- package/dist/chunk-RAUERIPS.js +0 -100
- package/dist/chunk-RBWJSHKR.js +0 -233
- package/dist/chunk-SIVMTPDY.js +0 -741
- package/dist/chunk-SJSZHQWX.js +0 -486
- package/dist/chunk-SOSHYDIX.js +0 -547
- package/dist/chunk-SWOQMMOT.js +0 -60
- package/dist/chunk-T4DF24UV.js +0 -114
- package/dist/chunk-TCB3WFYM.js +0 -374
- package/dist/chunk-TGHB5XST.js +0 -91
- package/dist/chunk-TLXEFLPA.js +0 -39
- package/dist/chunk-TNKULOHK.js +0 -476
- package/dist/chunk-TOD67L2E.js +0 -182
- package/dist/chunk-TXMPLBWW.js +0 -213
- package/dist/chunk-TYYJPEWG.js +0 -119
- package/dist/chunk-U36NBQWP.js +0 -192
- package/dist/chunk-U5TSCS34.js +0 -527
- package/dist/chunk-UFY654LD.js +0 -1005
- package/dist/chunk-UG6O4F2A.js +0 -150
- package/dist/chunk-UHVUKLHF.js +0 -112
- package/dist/chunk-UI7N2ZDU.js +0 -142
- package/dist/chunk-UKR3IJF3.js +0 -374
- package/dist/chunk-VDKUKZS2.js +0 -1866
- package/dist/chunk-VH2GDZBH.js +0 -284
- package/dist/chunk-VJ72Y54M.js +0 -241
- package/dist/chunk-VJJ7RAC6.mjs +0 -257
- package/dist/chunk-VQXDF6CB.js +0 -192
- package/dist/chunk-VUGFSHU2.js +0 -164
- package/dist/chunk-VXRFE72I.js +0 -852
- package/dist/chunk-W34IV4EC.js +0 -401
- package/dist/chunk-WF7KVMBY.js +0 -380
- package/dist/chunk-X73BZFBH.js +0 -238
- package/dist/chunk-X7PQRYUS.js +0 -697
- package/dist/chunk-XH4ZZ6KJ.js +0 -427
- package/dist/chunk-XMCYKHT4.js +0 -307
- package/dist/chunk-XSJKSUED.js +0 -139
- package/dist/chunk-XSMDZOBF.js +0 -154
- package/dist/chunk-XTMGF5YP.js +0 -103
- package/dist/chunk-XUOGT4HG.js +0 -76
- package/dist/chunk-XV6IYXAP.js +0 -140
- package/dist/chunk-XVNN6D55.js +0 -394
- package/dist/chunk-YI25YL5W.js +0 -283
- package/dist/chunk-YLMQZR6F.js +0 -430
- package/dist/chunk-YMUYN4IR.js +0 -434
- package/dist/chunk-YTE45DNC.js +0 -571
- package/dist/chunk-YVSINGGE.js +0 -320
- package/dist/chunk-ZHSXICH7.js +0 -264
- package/dist/chunk-ZMGNQKXL.js +0 -233
- package/dist/chunk-ZNVQ2OFX.js +0 -46
- package/dist/components/ActivityFeed.d.ts +0 -124
- package/dist/components/ActivityFeed.js +0 -18
- package/dist/components/Affix.d.ts +0 -75
- package/dist/components/Affix.js +0 -8
- package/dist/components/Alert.d.ts +0 -221
- package/dist/components/Alert.js +0 -9
- package/dist/components/Anchor.d.ts +0 -251
- package/dist/components/Anchor.js +0 -12
- package/dist/components/AnchorLink.d.mts +0 -8
- package/dist/components/AnchorLink.d.ts +0 -8
- package/dist/components/AnchorLink.js +0 -10
- package/dist/components/AnchorLink.mjs +0 -10
- package/dist/components/AreaChart.d.ts +0 -443
- package/dist/components/AreaChart.js +0 -15
- package/dist/components/AutoComplete.d.ts +0 -117
- package/dist/components/AutoComplete.js +0 -9
- package/dist/components/Avatar.d.ts +0 -162
- package/dist/components/Avatar.js +0 -9
- package/dist/components/AvatarGroup.d.ts +0 -49
- package/dist/components/AvatarGroup.js +0 -10
- package/dist/components/BackTop.d.ts +0 -88
- package/dist/components/BackTop.js +0 -8
- package/dist/components/Badge.d.ts +0 -116
- package/dist/components/Badge.js +0 -9
- package/dist/components/BarChart.d.ts +0 -400
- package/dist/components/BarChart.js +0 -15
- package/dist/components/Breadcrumb.d.ts +0 -235
- package/dist/components/Breadcrumb.js +0 -12
- package/dist/components/BreadcrumbItem.d.mts +0 -8
- package/dist/components/BreadcrumbItem.d.ts +0 -8
- package/dist/components/BreadcrumbItem.js +0 -10
- package/dist/components/BreadcrumbItem.mjs +0 -10
- package/dist/components/Button.d.ts +0 -146
- package/dist/components/Button.js +0 -9
- package/dist/components/ButtonGroup.d.ts +0 -42
- package/dist/components/ButtonGroup.js +0 -10
- package/dist/components/Calendar.d.ts +0 -78
- package/dist/components/Calendar.js +0 -9
- package/dist/components/Card.d.ts +0 -170
- package/dist/components/Card.js +0 -8
- package/dist/components/Carousel.d.ts +0 -247
- package/dist/components/Carousel.js +0 -8
- package/dist/components/Cascader.d.ts +0 -143
- package/dist/components/Cascader.js +0 -9
- package/dist/components/ChartAxis.d.ts +0 -110
- package/dist/components/ChartAxis.js +0 -8
- package/dist/components/ChartCanvas.d.ts +0 -69
- package/dist/components/ChartCanvas.js +0 -8
- package/dist/components/ChartGrid.d.ts +0 -109
- package/dist/components/ChartGrid.js +0 -8
- package/dist/components/ChartLegend.d.ts +0 -74
- package/dist/components/ChartLegend.js +0 -8
- package/dist/components/ChartSeries.d.ts +0 -52
- package/dist/components/ChartSeries.js +0 -8
- package/dist/components/ChartTooltip.d.ts +0 -58
- package/dist/components/ChartTooltip.js +0 -8
- package/dist/components/ChatWindow.d.ts +0 -255
- package/dist/components/ChatWindow.js +0 -18
- package/dist/components/Checkbox.d.ts +0 -144
- package/dist/components/Checkbox.js +0 -9
- package/dist/components/CheckboxGroup.d.ts +0 -126
- package/dist/components/CheckboxGroup.js +0 -10
- package/dist/components/Code.d.ts +0 -71
- package/dist/components/Code.js +0 -8
- package/dist/components/CodeEditor.d.ts +0 -183
- package/dist/components/CodeEditor.js +0 -8
- package/dist/components/Col.d.ts +0 -52
- package/dist/components/Col.js +0 -7
- package/dist/components/Collapse.d.ts +0 -162
- package/dist/components/Collapse.js +0 -10
- package/dist/components/CollapsePanel.d.ts +0 -112
- package/dist/components/CollapsePanel.js +0 -9
- package/dist/components/ColorPicker.d.ts +0 -70
- package/dist/components/ColorPicker.js +0 -8
- package/dist/components/ColorSwatch.d.ts +0 -79
- package/dist/components/ColorSwatch.js +0 -8
- package/dist/components/CommentThread.d.ts +0 -225
- package/dist/components/CommentThread.js +0 -17
- package/dist/components/ConfigProvider.d.ts +0 -76
- package/dist/components/ConfigProvider.js +0 -14
- package/dist/components/Container.d.ts +0 -86
- package/dist/components/Container.js +0 -8
- package/dist/components/Content.d.ts +0 -63
- package/dist/components/Content.js +0 -8
- package/dist/components/Countdown.d.ts +0 -107
- package/dist/components/Countdown.js +0 -8
- package/dist/components/CronEditor.d.ts +0 -80
- package/dist/components/CronEditor.js +0 -8
- package/dist/components/CropUpload.d.ts +0 -107
- package/dist/components/CropUpload.js +0 -14
- package/dist/components/DataTableWithToolbar.d.ts +0 -588
- package/dist/components/DataTableWithToolbar.js +0 -23
- package/dist/components/DatePicker.d.ts +0 -333
- package/dist/components/DatePicker.js +0 -10
- package/dist/components/Descriptions.d.ts +0 -204
- package/dist/components/Descriptions.js +0 -8
- package/dist/components/Divider.d.ts +0 -50
- package/dist/components/Divider.js +0 -8
- package/dist/components/DonutChart.d.ts +0 -332
- package/dist/components/DonutChart.js +0 -14
- package/dist/components/Drawer.d.ts +0 -396
- package/dist/components/Drawer.js +0 -10
- package/dist/components/Dropdown.d.ts +0 -241
- package/dist/components/Dropdown.js +0 -13
- package/dist/components/DropdownItem.d.mts +0 -73
- package/dist/components/DropdownItem.d.ts +0 -73
- package/dist/components/DropdownItem.js +0 -10
- package/dist/components/DropdownItem.mjs +0 -10
- package/dist/components/DropdownMenu.d.mts +0 -8
- package/dist/components/DropdownMenu.d.ts +0 -8
- package/dist/components/DropdownMenu.js +0 -11
- package/dist/components/DropdownMenu.mjs +0 -11
- package/dist/components/Empty.d.ts +0 -74
- package/dist/components/Empty.js +0 -9
- package/dist/components/FileManager.d.ts +0 -171
- package/dist/components/FileManager.js +0 -9
- package/dist/components/FloatButton.d.ts +0 -156
- package/dist/components/FloatButton.js +0 -10
- package/dist/components/Footer.d.ts +0 -63
- package/dist/components/Footer.js +0 -8
- package/dist/components/Form.d.ts +0 -291
- package/dist/components/Form.js +0 -11
- package/dist/components/FormItem.d.ts +0 -152
- package/dist/components/FormItem.js +0 -10
- package/dist/components/FormWizard.d.ts +0 -206
- package/dist/components/FormWizard.js +0 -12
- package/dist/components/FunnelChart.d.ts +0 -221
- package/dist/components/FunnelChart.js +0 -13
- package/dist/components/Gantt.d.ts +0 -231
- package/dist/components/Gantt.js +0 -9
- package/dist/components/GaugeChart.d.ts +0 -197
- package/dist/components/GaugeChart.js +0 -10
- package/dist/components/Header.d.ts +0 -82
- package/dist/components/Header.js +0 -8
- package/dist/components/HeatmapChart.d.ts +0 -233
- package/dist/components/HeatmapChart.js +0 -11
- package/dist/components/Icon.d.ts +0 -68
- package/dist/components/Icon.js +0 -8
- package/dist/components/Image.d.ts +0 -129
- package/dist/components/Image.js +0 -14
- package/dist/components/ImageAnnotation.d.ts +0 -189
- package/dist/components/ImageAnnotation.js +0 -9
- package/dist/components/ImageCropper.d.ts +0 -116
- package/dist/components/ImageCropper.js +0 -9
- package/dist/components/ImageGroup.d.ts +0 -30
- package/dist/components/ImageGroup.js +0 -12
- package/dist/components/ImagePreview.d.ts +0 -108
- package/dist/components/ImagePreview.js +0 -9
- package/dist/components/ImageViewer.d.ts +0 -137
- package/dist/components/ImageViewer.js +0 -9
- package/dist/components/InfiniteScroll.d.ts +0 -116
- package/dist/components/InfiniteScroll.js +0 -9
- package/dist/components/Input.d.ts +0 -268
- package/dist/components/Input.js +0 -9
- package/dist/components/InputGroup.d.ts +0 -77
- package/dist/components/InputGroup.js +0 -12
- package/dist/components/InputNumber.d.ts +0 -190
- package/dist/components/InputNumber.js +0 -9
- package/dist/components/Kanban.d.ts +0 -200
- package/dist/components/Kanban.js +0 -10
- package/dist/components/Layout.d.ts +0 -45
- package/dist/components/Layout.js +0 -8
- package/dist/components/LineChart.d.ts +0 -434
- package/dist/components/LineChart.js +0 -15
- package/dist/components/Link.d.ts +0 -89
- package/dist/components/Link.js +0 -8
- package/dist/components/List.d.ts +0 -342
- package/dist/components/List.js +0 -10
- package/dist/components/Loading.d.ts +0 -133
- package/dist/components/Loading.js +0 -10
- package/dist/components/MarkdownEditor.d.ts +0 -149
- package/dist/components/MarkdownEditor.js +0 -8
- package/dist/components/Mentions.d.ts +0 -88
- package/dist/components/Mentions.js +0 -8
- package/dist/components/Menu.d.ts +0 -554
- package/dist/components/Menu.js +0 -17
- package/dist/components/MenuItem.d.mts +0 -8
- package/dist/components/MenuItem.d.ts +0 -8
- package/dist/components/MenuItem.js +0 -11
- package/dist/components/MenuItem.mjs +0 -11
- package/dist/components/MenuItemGroup.d.mts +0 -8
- package/dist/components/MenuItemGroup.d.ts +0 -8
- package/dist/components/MenuItemGroup.js +0 -11
- package/dist/components/MenuItemGroup.mjs +0 -11
- package/dist/components/Message.js +0 -11
- package/dist/components/Modal.d.ts +0 -381
- package/dist/components/Modal.js +0 -12
- package/dist/components/Notification.js +0 -11
- package/dist/components/NotificationCenter.d.ts +0 -213
- package/dist/components/NotificationCenter.js +0 -18
- package/dist/components/NumberKeyboard.d.ts +0 -154
- package/dist/components/NumberKeyboard.js +0 -9
- package/dist/components/OrgChart.d.ts +0 -195
- package/dist/components/OrgChart.js +0 -9
- package/dist/components/Pagination.d.ts +0 -392
- package/dist/components/Pagination.js +0 -9
- package/dist/components/PieChart.d.ts +0 -305
- package/dist/components/PieChart.js +0 -13
- package/dist/components/Popconfirm.d.ts +0 -173
- package/dist/components/Popconfirm.js +0 -10
- package/dist/components/Popover.d.ts +0 -138
- package/dist/components/Popover.js +0 -10
- package/dist/components/PrintLayout.d.ts +0 -97
- package/dist/components/PrintLayout.js +0 -10
- package/dist/components/Progress.d.ts +0 -150
- package/dist/components/Progress.js +0 -8
- package/dist/components/QRCode.d.ts +0 -95
- package/dist/components/QRCode.js +0 -9
- package/dist/components/RadarChart.d.ts +0 -454
- package/dist/components/RadarChart.js +0 -13
- package/dist/components/Radio.d.ts +0 -143
- package/dist/components/Radio.js +0 -9
- package/dist/components/RadioGroup.d.ts +0 -135
- package/dist/components/RadioGroup.js +0 -10
- package/dist/components/Rate.d.ts +0 -80
- package/dist/components/Rate.js +0 -8
- package/dist/components/Resizable.d.ts +0 -138
- package/dist/components/Resizable.js +0 -8
- package/dist/components/Result.d.ts +0 -64
- package/dist/components/Result.js +0 -9
- package/dist/components/RichTextEditor.d.ts +0 -123
- package/dist/components/RichTextEditor.js +0 -8
- package/dist/components/Row.d.ts +0 -90
- package/dist/components/Row.js +0 -8
- package/dist/components/ScatterChart.d.ts +0 -391
- package/dist/components/ScatterChart.js +0 -15
- package/dist/components/ScrollSpy.d.ts +0 -125
- package/dist/components/ScrollSpy.js +0 -8
- package/dist/components/Segmented.d.ts +0 -70
- package/dist/components/Segmented.js +0 -8
- package/dist/components/Select.d.ts +0 -292
- package/dist/components/Select.js +0 -9
- package/dist/components/Sidebar.d.ts +0 -101
- package/dist/components/Sidebar.js +0 -8
- package/dist/components/Signature.d.ts +0 -163
- package/dist/components/Signature.js +0 -9
- package/dist/components/Skeleton.d.ts +0 -96
- package/dist/components/Skeleton.js +0 -8
- package/dist/components/Slider.d.ts +0 -228
- package/dist/components/Slider.js +0 -8
- package/dist/components/Space.d.ts +0 -49
- package/dist/components/Space.js +0 -8
- package/dist/components/Splitter.d.ts +0 -99
- package/dist/components/Splitter.js +0 -8
- package/dist/components/Spotlight.d.ts +0 -206
- package/dist/components/Spotlight.js +0 -10
- package/dist/components/Statistic.d.ts +0 -103
- package/dist/components/Statistic.js +0 -8
- package/dist/components/Stepper.d.ts +0 -79
- package/dist/components/Stepper.js +0 -8
- package/dist/components/Steps.d.ts +0 -298
- package/dist/components/Steps.js +0 -12
- package/dist/components/StepsItem.d.mts +0 -8
- package/dist/components/StepsItem.d.ts +0 -8
- package/dist/components/StepsItem.js +0 -10
- package/dist/components/StepsItem.mjs +0 -10
- package/dist/components/SubMenu.d.mts +0 -8
- package/dist/components/SubMenu.d.ts +0 -8
- package/dist/components/SubMenu.js +0 -11
- package/dist/components/SubMenu.mjs +0 -11
- package/dist/components/SunburstChart.d.ts +0 -212
- package/dist/components/SunburstChart.js +0 -13
- package/dist/components/Switch.d.ts +0 -94
- package/dist/components/Switch.js +0 -8
- package/dist/components/TabPane.d.mts +0 -8
- package/dist/components/TabPane.d.ts +0 -8
- package/dist/components/TabPane.js +0 -10
- package/dist/components/TabPane.mjs +0 -10
- package/dist/components/Table.d.ts +0 -509
- package/dist/components/Table.js +0 -15
- package/dist/components/Tabs.d.ts +0 -410
- package/dist/components/Tabs.js +0 -12
- package/dist/components/Tag.d.ts +0 -130
- package/dist/components/Tag.js +0 -9
- package/dist/components/TaskBoard.d.ts +0 -210
- package/dist/components/TaskBoard.js +0 -9
- package/dist/components/Text.d.ts +0 -161
- package/dist/components/Text.js +0 -8
- package/dist/components/Textarea.d.ts +0 -308
- package/dist/components/Textarea.js +0 -9
- package/dist/components/TimePicker.d.ts +0 -372
- package/dist/components/TimePicker.js +0 -10
- package/dist/components/Timeline.d.ts +0 -124
- package/dist/components/Timeline.js +0 -9
- package/dist/components/Tooltip.d.ts +0 -116
- package/dist/components/Tooltip.js +0 -10
- package/dist/components/Tour.d.ts +0 -127
- package/dist/components/Tour.js +0 -11
- package/dist/components/Transfer.d.ts +0 -129
- package/dist/components/Transfer.js +0 -9
- package/dist/components/Tree.d.ts +0 -485
- package/dist/components/Tree.js +0 -10
- package/dist/components/TreeMapChart.d.ts +0 -221
- package/dist/components/TreeMapChart.js +0 -13
- package/dist/components/TreeSelect.d.ts +0 -121
- package/dist/components/TreeSelect.js +0 -9
- package/dist/components/Upload.d.ts +0 -355
- package/dist/components/Upload.js +0 -9
- package/dist/components/VirtualList.d.ts +0 -89
- package/dist/components/VirtualList.js +0 -8
- package/dist/components/VirtualTable.d.ts +0 -196
- package/dist/components/VirtualTable.js +0 -9
- package/dist/components/Watermark.d.ts +0 -144
- package/dist/components/Watermark.js +0 -8
- package/dist/index.d.ts +0 -286
- package/dist/index.js +0 -838
- package/dist/{chunk-2HRJGOAV.mjs → chunk-B47QLHVW.mjs} +3 -3
- /package/dist/{chunk-R2HO74FE.mjs → chunk-PE5OA4YG.mjs} +0 -0
package/dist/chunk-X7PQRYUS.js
DELETED
|
@@ -1,697 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
var _chunk2VOZFFW6js = require('./chunk-2VOZFFW6.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkKLOUOXNAjs = require('./chunk-KLOUOXNA.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _chunkHBFFINAIjs = require('./chunk-HBFFINAI.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var _chunk5PXTMXXSjs = require('./chunk-5PXTMXXS.js');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var _chunk57MJTNDLjs = require('./chunk-57MJTNDL.js');
|
|
22
|
-
|
|
23
|
-
// src/components/LineChart.ts
|
|
24
|
-
var _vue = require('vue');
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
43
|
-
var LineChart = _vue.defineComponent.call(void 0, {
|
|
44
|
-
name: "TigerLineChart",
|
|
45
|
-
props: {
|
|
46
|
-
width: {
|
|
47
|
-
type: Number,
|
|
48
|
-
default: 320
|
|
49
|
-
},
|
|
50
|
-
height: {
|
|
51
|
-
type: Number,
|
|
52
|
-
default: 200
|
|
53
|
-
},
|
|
54
|
-
padding: {
|
|
55
|
-
type: [Number, Object],
|
|
56
|
-
default: 24
|
|
57
|
-
},
|
|
58
|
-
data: {
|
|
59
|
-
type: Array
|
|
60
|
-
},
|
|
61
|
-
series: {
|
|
62
|
-
type: Array
|
|
63
|
-
},
|
|
64
|
-
xScale: {
|
|
65
|
-
type: Object
|
|
66
|
-
},
|
|
67
|
-
yScale: {
|
|
68
|
-
type: Object
|
|
69
|
-
},
|
|
70
|
-
lineColor: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: "var(--tiger-primary,#2563eb)"
|
|
73
|
-
},
|
|
74
|
-
strokeWidth: {
|
|
75
|
-
type: Number,
|
|
76
|
-
default: 2
|
|
77
|
-
},
|
|
78
|
-
curve: {
|
|
79
|
-
type: String,
|
|
80
|
-
default: "linear"
|
|
81
|
-
},
|
|
82
|
-
showPoints: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: true
|
|
85
|
-
},
|
|
86
|
-
pointSize: {
|
|
87
|
-
type: Number,
|
|
88
|
-
default: 4
|
|
89
|
-
},
|
|
90
|
-
pointColor: {
|
|
91
|
-
type: String
|
|
92
|
-
},
|
|
93
|
-
showGrid: {
|
|
94
|
-
type: Boolean,
|
|
95
|
-
default: true
|
|
96
|
-
},
|
|
97
|
-
showAxis: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
default: true
|
|
100
|
-
},
|
|
101
|
-
showXAxis: {
|
|
102
|
-
type: Boolean,
|
|
103
|
-
default: true
|
|
104
|
-
},
|
|
105
|
-
showYAxis: {
|
|
106
|
-
type: Boolean,
|
|
107
|
-
default: true
|
|
108
|
-
},
|
|
109
|
-
includeZero: {
|
|
110
|
-
type: Boolean,
|
|
111
|
-
default: false
|
|
112
|
-
},
|
|
113
|
-
xAxisLabel: {
|
|
114
|
-
type: String
|
|
115
|
-
},
|
|
116
|
-
yAxisLabel: {
|
|
117
|
-
type: String
|
|
118
|
-
},
|
|
119
|
-
xTicks: {
|
|
120
|
-
type: Number,
|
|
121
|
-
default: 5
|
|
122
|
-
},
|
|
123
|
-
yTicks: {
|
|
124
|
-
type: Number,
|
|
125
|
-
default: 5
|
|
126
|
-
},
|
|
127
|
-
xTickValues: {
|
|
128
|
-
type: Array
|
|
129
|
-
},
|
|
130
|
-
yTickValues: {
|
|
131
|
-
type: Array
|
|
132
|
-
},
|
|
133
|
-
xTickFormat: {
|
|
134
|
-
type: Function
|
|
135
|
-
},
|
|
136
|
-
yTickFormat: {
|
|
137
|
-
type: Function
|
|
138
|
-
},
|
|
139
|
-
gridLineStyle: {
|
|
140
|
-
type: String,
|
|
141
|
-
default: "solid"
|
|
142
|
-
},
|
|
143
|
-
gridStrokeWidth: {
|
|
144
|
-
type: Number,
|
|
145
|
-
default: 1
|
|
146
|
-
},
|
|
147
|
-
colors: {
|
|
148
|
-
type: Array
|
|
149
|
-
},
|
|
150
|
-
// Interaction props
|
|
151
|
-
hoverable: {
|
|
152
|
-
type: Boolean,
|
|
153
|
-
default: false
|
|
154
|
-
},
|
|
155
|
-
hoveredIndex: {
|
|
156
|
-
type: Number,
|
|
157
|
-
default: void 0
|
|
158
|
-
},
|
|
159
|
-
activeOpacity: {
|
|
160
|
-
type: Number,
|
|
161
|
-
default: 1
|
|
162
|
-
},
|
|
163
|
-
inactiveOpacity: {
|
|
164
|
-
type: Number,
|
|
165
|
-
default: 0.25
|
|
166
|
-
},
|
|
167
|
-
selectable: {
|
|
168
|
-
type: Boolean,
|
|
169
|
-
default: false
|
|
170
|
-
},
|
|
171
|
-
selectedIndex: {
|
|
172
|
-
type: Number,
|
|
173
|
-
default: void 0
|
|
174
|
-
},
|
|
175
|
-
// Legend props
|
|
176
|
-
showLegend: {
|
|
177
|
-
type: Boolean,
|
|
178
|
-
default: false
|
|
179
|
-
},
|
|
180
|
-
legendPosition: {
|
|
181
|
-
type: String,
|
|
182
|
-
default: "bottom"
|
|
183
|
-
},
|
|
184
|
-
legendMarkerSize: {
|
|
185
|
-
type: Number,
|
|
186
|
-
default: 10
|
|
187
|
-
},
|
|
188
|
-
legendGap: {
|
|
189
|
-
type: Number,
|
|
190
|
-
default: 8
|
|
191
|
-
},
|
|
192
|
-
// Area fill props
|
|
193
|
-
showArea: {
|
|
194
|
-
type: Boolean,
|
|
195
|
-
default: false
|
|
196
|
-
},
|
|
197
|
-
areaOpacity: {
|
|
198
|
-
type: Number,
|
|
199
|
-
default: 0.15
|
|
200
|
-
},
|
|
201
|
-
// Point styling
|
|
202
|
-
pointHollow: {
|
|
203
|
-
type: Boolean,
|
|
204
|
-
default: false
|
|
205
|
-
},
|
|
206
|
-
// Animation
|
|
207
|
-
animated: {
|
|
208
|
-
type: Boolean,
|
|
209
|
-
default: false
|
|
210
|
-
},
|
|
211
|
-
// Stroke gradient (modern look — opt-in)
|
|
212
|
-
strokeGradient: {
|
|
213
|
-
type: Boolean,
|
|
214
|
-
default: false
|
|
215
|
-
},
|
|
216
|
-
// Point fill radial gradient (modern look — opt-in)
|
|
217
|
-
pointGradient: {
|
|
218
|
-
type: Boolean,
|
|
219
|
-
default: false
|
|
220
|
-
},
|
|
221
|
-
// Tooltip props
|
|
222
|
-
showTooltip: {
|
|
223
|
-
type: Boolean,
|
|
224
|
-
default: true
|
|
225
|
-
},
|
|
226
|
-
tooltipFormatter: {
|
|
227
|
-
type: Function
|
|
228
|
-
},
|
|
229
|
-
legendFormatter: {
|
|
230
|
-
type: Function
|
|
231
|
-
},
|
|
232
|
-
// Accessibility
|
|
233
|
-
title: {
|
|
234
|
-
type: String
|
|
235
|
-
},
|
|
236
|
-
desc: {
|
|
237
|
-
type: String
|
|
238
|
-
},
|
|
239
|
-
className: {
|
|
240
|
-
type: String
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
emits: [
|
|
244
|
-
"update:hoveredIndex",
|
|
245
|
-
"update:selectedIndex",
|
|
246
|
-
"series-click",
|
|
247
|
-
"series-hover",
|
|
248
|
-
"point-click",
|
|
249
|
-
"point-hover"
|
|
250
|
-
],
|
|
251
|
-
setup(props, { emit }) {
|
|
252
|
-
const instance = _vue.getCurrentInstance.call(void 0, );
|
|
253
|
-
const hoveredPointInfo = _vue.ref.call(void 0, null);
|
|
254
|
-
const tooltipPosition = _vue.ref.call(void 0, { x: 0, y: 0 });
|
|
255
|
-
const gradientPrefix = _tigercatcore.getStableChartGradientPrefix.call(void 0, "line", _vue.useId.call(void 0, ));
|
|
256
|
-
const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
|
|
257
|
-
const resolvedSeries = _vue.computed.call(void 0,
|
|
258
|
-
() => _tigercatcore.resolveSeriesData.call(void 0, props.series, props.data, {
|
|
259
|
-
color: props.lineColor,
|
|
260
|
-
pointColor: props.pointColor
|
|
261
|
-
})
|
|
262
|
-
);
|
|
263
|
-
const {
|
|
264
|
-
activeIndex,
|
|
265
|
-
handleMouseEnter: handleSeriesHoverEnter,
|
|
266
|
-
handleMouseLeave: handleSeriesHoverLeave,
|
|
267
|
-
handleClick: handleSeriesSelect,
|
|
268
|
-
handleLegendClick,
|
|
269
|
-
handleLegendHover,
|
|
270
|
-
handleLegendLeave,
|
|
271
|
-
wrapperClasses
|
|
272
|
-
} = _chunk2VOZFFW6js.useChartInteraction.call(void 0, {
|
|
273
|
-
hoverable: _vue.computed.call(void 0, () => props.hoverable),
|
|
274
|
-
hoveredIndexProp: () => props.hoveredIndex,
|
|
275
|
-
selectable: _vue.computed.call(void 0, () => props.selectable),
|
|
276
|
-
selectedIndexProp: () => props.selectedIndex,
|
|
277
|
-
activeOpacity: _vue.computed.call(void 0, () => props.activeOpacity),
|
|
278
|
-
inactiveOpacity: _vue.computed.call(void 0, () => props.inactiveOpacity),
|
|
279
|
-
legendPosition: _vue.computed.call(void 0, () => props.legendPosition),
|
|
280
|
-
emit,
|
|
281
|
-
getData: (index) => resolvedSeries.value[index],
|
|
282
|
-
eventNames: {
|
|
283
|
-
hover: "series-hover",
|
|
284
|
-
click: "series-click"
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
const allData = _vue.computed.call(void 0, () => resolvedSeries.value.flatMap((s) => s.data));
|
|
288
|
-
const xValues = _vue.computed.call(void 0, () => allData.value.map((d) => d.x));
|
|
289
|
-
const yValues = _vue.computed.call(void 0, () => allData.value.map((d) => d.y));
|
|
290
|
-
const isXNumeric = _vue.computed.call(void 0, () => xValues.value.every((v) => typeof v === "number"));
|
|
291
|
-
const resolvedXScale = _vue.computed.call(void 0, () => {
|
|
292
|
-
if (props.xScale) return props.xScale;
|
|
293
|
-
if (isXNumeric.value) {
|
|
294
|
-
const extent = _tigercatcore.getNumberExtent.call(void 0, xValues.value, { includeZero: false });
|
|
295
|
-
return _tigercatcore.createLinearScale.call(void 0, extent, [0, innerRect.value.width]);
|
|
296
|
-
} else {
|
|
297
|
-
const categories = [...new Set(xValues.value.map(String))];
|
|
298
|
-
return _tigercatcore.createPointScale.call(void 0, categories, [0, innerRect.value.width], { padding: 0 });
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
const resolvedYScale = _vue.computed.call(void 0, () => {
|
|
302
|
-
if (props.yScale) return props.yScale;
|
|
303
|
-
const extent = _tigercatcore.getNumberExtent.call(void 0, yValues.value, { includeZero: props.includeZero });
|
|
304
|
-
return _tigercatcore.createLinearScale.call(void 0, extent, [innerRect.value.height, 0]);
|
|
305
|
-
});
|
|
306
|
-
const shouldShowXAxis = _vue.computed.call(void 0, () => props.showAxis && props.showXAxis);
|
|
307
|
-
const shouldShowYAxis = _vue.computed.call(void 0, () => props.showAxis && props.showYAxis);
|
|
308
|
-
const palette = _vue.computed.call(void 0, () => _tigercatcore.resolveChartPalette.call(void 0, props.colors));
|
|
309
|
-
const seriesKeys = _vue.computed.call(void 0,
|
|
310
|
-
() => _tigercatcore.buildChartSeriesKeys.call(void 0, resolvedSeries.value, { prefix: "line-" })
|
|
311
|
-
);
|
|
312
|
-
const seriesData = _vue.computed.call(void 0,
|
|
313
|
-
() => resolvedSeries.value.map((series, seriesIndex) => {
|
|
314
|
-
const seriesKey = seriesKeys.value[seriesIndex];
|
|
315
|
-
const color = _nullishCoalesce(series.color, () => ( palette.value[seriesIndex % palette.value.length]));
|
|
316
|
-
const points = series.data.map((datum, pointIndex) => ({
|
|
317
|
-
x: resolvedXScale.value.map(datum.x),
|
|
318
|
-
y: resolvedYScale.value.map(datum.y),
|
|
319
|
-
datum,
|
|
320
|
-
pointIndex
|
|
321
|
-
}));
|
|
322
|
-
const linePath = _tigercatcore.createLinePath.call(void 0, points, props.curve);
|
|
323
|
-
const seriesShowArea = _nullishCoalesce(series.showArea, () => ( props.showArea));
|
|
324
|
-
const areaPath = seriesShowArea ? _tigercatcore.createAreaPath.call(void 0, points, innerRect.value.height, props.curve) : "";
|
|
325
|
-
const opacity = _tigercatcore.getChartElementOpacity.call(void 0, seriesIndex, activeIndex.value, {
|
|
326
|
-
activeOpacity: props.activeOpacity,
|
|
327
|
-
inactiveOpacity: props.inactiveOpacity
|
|
328
|
-
});
|
|
329
|
-
return {
|
|
330
|
-
series,
|
|
331
|
-
seriesIndex,
|
|
332
|
-
seriesKey,
|
|
333
|
-
color,
|
|
334
|
-
linePath,
|
|
335
|
-
areaPath,
|
|
336
|
-
showArea: seriesShowArea,
|
|
337
|
-
areaOpacity: _nullishCoalesce(series.areaOpacity, () => ( props.areaOpacity)),
|
|
338
|
-
points,
|
|
339
|
-
opacity,
|
|
340
|
-
strokeWidth: _nullishCoalesce(series.strokeWidth, () => ( props.strokeWidth)),
|
|
341
|
-
strokeDasharray: series.strokeDasharray,
|
|
342
|
-
showPoints: _nullishCoalesce(series.showPoints, () => ( props.showPoints)),
|
|
343
|
-
pointSize: _nullishCoalesce(series.pointSize, () => ( props.pointSize)),
|
|
344
|
-
pointColor: _nullishCoalesce(series.pointColor, () => ( color)),
|
|
345
|
-
pointHollow: _nullishCoalesce(series.pointHollow, () => ( props.pointHollow))
|
|
346
|
-
};
|
|
347
|
-
})
|
|
348
|
-
);
|
|
349
|
-
const legendItems = _vue.computed.call(void 0,
|
|
350
|
-
() => _tigercatcore.buildChartLegendItems.call(void 0, {
|
|
351
|
-
data: resolvedSeries.value,
|
|
352
|
-
palette: palette.value,
|
|
353
|
-
activeIndex: activeIndex.value,
|
|
354
|
-
getLabel: (s, i) => props.legendFormatter ? props.legendFormatter(s, i) : _nullishCoalesce(s.name, () => ( `Series ${i + 1}`)),
|
|
355
|
-
getColor: (s, i) => _nullishCoalesce(s.color, () => ( palette.value[i % palette.value.length]))
|
|
356
|
-
})
|
|
357
|
-
);
|
|
358
|
-
const tooltipContent = _vue.computed.call(void 0,
|
|
359
|
-
() => _tigercatcore.resolveMultiSeriesTooltipContent.call(void 0,
|
|
360
|
-
hoveredPointInfo.value,
|
|
361
|
-
resolvedSeries.value,
|
|
362
|
-
props.tooltipFormatter,
|
|
363
|
-
_tigercatcore.defaultSeriesXYTooltipFormatter
|
|
364
|
-
)
|
|
365
|
-
);
|
|
366
|
-
const handlePointMouseEnter = (seriesIndex, pointIndex, event) => {
|
|
367
|
-
hoveredPointInfo.value = { seriesIndex, pointIndex };
|
|
368
|
-
tooltipPosition.value = { x: event.clientX, y: event.clientY };
|
|
369
|
-
emit(
|
|
370
|
-
"point-hover",
|
|
371
|
-
seriesIndex,
|
|
372
|
-
pointIndex,
|
|
373
|
-
_optionalChain([resolvedSeries, 'access', _ => _.value, 'access', _2 => _2[seriesIndex], 'optionalAccess', _3 => _3.data, 'access', _4 => _4[pointIndex]])
|
|
374
|
-
);
|
|
375
|
-
};
|
|
376
|
-
const handlePointMouseMove = (event) => {
|
|
377
|
-
tooltipPosition.value = { x: event.clientX, y: event.clientY };
|
|
378
|
-
};
|
|
379
|
-
const handlePointMouseLeave = () => {
|
|
380
|
-
hoveredPointInfo.value = null;
|
|
381
|
-
emit("point-hover", null, null, null);
|
|
382
|
-
};
|
|
383
|
-
const showPointTooltipFromElement = (el, seriesIndex, pointIndex) => {
|
|
384
|
-
if (!props.hoverable) return;
|
|
385
|
-
const rect = el.getBoundingClientRect();
|
|
386
|
-
hoveredPointInfo.value = { seriesIndex, pointIndex };
|
|
387
|
-
tooltipPosition.value = { x: rect.left + rect.width / 2, y: rect.top + rect.height / 2 };
|
|
388
|
-
emit(
|
|
389
|
-
"point-hover",
|
|
390
|
-
seriesIndex,
|
|
391
|
-
pointIndex,
|
|
392
|
-
_optionalChain([resolvedSeries, 'access', _5 => _5.value, 'access', _6 => _6[seriesIndex], 'optionalAccess', _7 => _7.data, 'access', _8 => _8[pointIndex]])
|
|
393
|
-
);
|
|
394
|
-
};
|
|
395
|
-
const handlePointClick = (seriesIndex, pointIndex) => {
|
|
396
|
-
emit(
|
|
397
|
-
"point-click",
|
|
398
|
-
seriesIndex,
|
|
399
|
-
pointIndex,
|
|
400
|
-
_optionalChain([resolvedSeries, 'access', _9 => _9.value, 'access', _10 => _10[seriesIndex], 'optionalAccess', _11 => _11.data, 'access', _12 => _12[pointIndex]])
|
|
401
|
-
);
|
|
402
|
-
handleSeriesSelect(seriesIndex);
|
|
403
|
-
};
|
|
404
|
-
const handleKeyDown = (event, seriesIndex) => {
|
|
405
|
-
if (!props.selectable) return;
|
|
406
|
-
if (event.key !== "Enter" && event.key !== " ") return;
|
|
407
|
-
event.preventDefault();
|
|
408
|
-
handleSeriesSelect(seriesIndex);
|
|
409
|
-
};
|
|
410
|
-
return () => {
|
|
411
|
-
const pointClickable = props.selectable || typeof _optionalChain([instance, 'optionalAccess', _13 => _13.vnode, 'access', _14 => _14.props, 'optionalAccess', _15 => _15.onPointClick]) === "function";
|
|
412
|
-
const chart = _vue.h.call(void 0,
|
|
413
|
-
_chunkUHVUKLHFjs.ChartCanvas,
|
|
414
|
-
{
|
|
415
|
-
width: props.width,
|
|
416
|
-
height: props.height,
|
|
417
|
-
padding: props.padding,
|
|
418
|
-
title: props.title,
|
|
419
|
-
desc: props.desc,
|
|
420
|
-
className: _tigercatcore.classNames.call(void 0, props.className)
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
default: () => [
|
|
424
|
-
props.showGrid ? _vue.h.call(void 0, _chunk57MJTNDLjs.ChartGrid, {
|
|
425
|
-
xScale: resolvedXScale.value,
|
|
426
|
-
yScale: resolvedYScale.value,
|
|
427
|
-
show: "both",
|
|
428
|
-
xTicks: props.xTicks,
|
|
429
|
-
yTicks: props.yTicks,
|
|
430
|
-
xTickValues: props.xTickValues,
|
|
431
|
-
yTickValues: props.yTickValues,
|
|
432
|
-
lineStyle: props.gridLineStyle,
|
|
433
|
-
strokeWidth: props.gridStrokeWidth
|
|
434
|
-
}) : null,
|
|
435
|
-
shouldShowXAxis.value ? _vue.h.call(void 0, _chunk5PXTMXXSjs.ChartAxis, {
|
|
436
|
-
scale: resolvedXScale.value,
|
|
437
|
-
orientation: "bottom",
|
|
438
|
-
y: innerRect.value.height,
|
|
439
|
-
ticks: props.xTicks,
|
|
440
|
-
tickValues: props.xTickValues,
|
|
441
|
-
tickFormat: props.xTickFormat,
|
|
442
|
-
label: props.xAxisLabel
|
|
443
|
-
}) : null,
|
|
444
|
-
shouldShowYAxis.value ? _vue.h.call(void 0, _chunk5PXTMXXSjs.ChartAxis, {
|
|
445
|
-
scale: resolvedYScale.value,
|
|
446
|
-
orientation: "left",
|
|
447
|
-
ticks: props.yTicks,
|
|
448
|
-
tickValues: props.yTickValues,
|
|
449
|
-
tickFormat: props.yTickFormat,
|
|
450
|
-
label: props.yAxisLabel
|
|
451
|
-
}) : null,
|
|
452
|
-
// Gradient defs and animation styles
|
|
453
|
-
seriesData.value.some((sd) => sd.showArea) || props.animated || props.strokeGradient || props.pointGradient ? _vue.h.call(void 0, "defs", null, [
|
|
454
|
-
// Animation keyframes
|
|
455
|
-
props.animated ? _vue.h.call(void 0,
|
|
456
|
-
"style",
|
|
457
|
-
null,
|
|
458
|
-
`
|
|
459
|
-
.tiger-line-animated {
|
|
460
|
-
animation: tiger-line-draw var(--tiger-motion-duration-slow,1.2s) var(--tiger-motion-ease-emphasized,cubic-bezier(.4,0,.2,1)) forwards;
|
|
461
|
-
}
|
|
462
|
-
@keyframes tiger-line-draw {
|
|
463
|
-
from { stroke-dashoffset: 1; }
|
|
464
|
-
to { stroke-dashoffset: 0; }
|
|
465
|
-
}
|
|
466
|
-
@media (prefers-reduced-motion: reduce) {
|
|
467
|
-
.tiger-line-animated { animation-duration: 0ms; }
|
|
468
|
-
}
|
|
469
|
-
`
|
|
470
|
-
) : null,
|
|
471
|
-
// Area fill gradients
|
|
472
|
-
...seriesData.value.filter((sd) => sd.showArea).map(
|
|
473
|
-
(sd) => _vue.h.call(void 0,
|
|
474
|
-
"linearGradient",
|
|
475
|
-
{
|
|
476
|
-
key: `area-grad-${sd.seriesKey}`,
|
|
477
|
-
id: `${gradientPrefix}-${sd.seriesKey}`,
|
|
478
|
-
x1: "0",
|
|
479
|
-
y1: "0",
|
|
480
|
-
x2: "0",
|
|
481
|
-
y2: "1"
|
|
482
|
-
},
|
|
483
|
-
[
|
|
484
|
-
_vue.h.call(void 0, "stop", {
|
|
485
|
-
offset: "0%",
|
|
486
|
-
"stop-color": sd.color,
|
|
487
|
-
"stop-opacity": sd.areaOpacity
|
|
488
|
-
}),
|
|
489
|
-
_vue.h.call(void 0, "stop", {
|
|
490
|
-
offset: "100%",
|
|
491
|
-
"stop-color": sd.color,
|
|
492
|
-
"stop-opacity": 0.02
|
|
493
|
-
})
|
|
494
|
-
]
|
|
495
|
-
)
|
|
496
|
-
),
|
|
497
|
-
// Point fill radial gradients (bright center → series color edge)
|
|
498
|
-
...props.pointGradient ? seriesData.value.map(
|
|
499
|
-
(sd) => _vue.h.call(void 0,
|
|
500
|
-
"radialGradient",
|
|
501
|
-
{
|
|
502
|
-
key: `point-grad-${sd.seriesKey}`,
|
|
503
|
-
id: `${gradientPrefix}-point-${sd.seriesKey}`,
|
|
504
|
-
cx: "0.5",
|
|
505
|
-
cy: "0.5",
|
|
506
|
-
r: "0.5"
|
|
507
|
-
},
|
|
508
|
-
[
|
|
509
|
-
_vue.h.call(void 0, "stop", {
|
|
510
|
-
offset: "0%",
|
|
511
|
-
"stop-color": `color-mix(in oklab, ${sd.color} 100%, white 30%)`
|
|
512
|
-
}),
|
|
513
|
-
_vue.h.call(void 0, "stop", {
|
|
514
|
-
offset: "70%",
|
|
515
|
-
"stop-color": sd.color
|
|
516
|
-
}),
|
|
517
|
-
_vue.h.call(void 0, "stop", {
|
|
518
|
-
offset: "100%",
|
|
519
|
-
"stop-color": `color-mix(in oklab, ${sd.color} 100%, black 12%)`
|
|
520
|
-
})
|
|
521
|
-
]
|
|
522
|
-
)
|
|
523
|
-
) : [],
|
|
524
|
-
// Stroke gradients (3-stop horizontal lighter→base→darker)
|
|
525
|
-
...props.strokeGradient ? seriesData.value.map(
|
|
526
|
-
(sd) => _vue.h.call(void 0,
|
|
527
|
-
"linearGradient",
|
|
528
|
-
{
|
|
529
|
-
key: `stroke-grad-${sd.seriesKey}`,
|
|
530
|
-
id: `${gradientPrefix}-stroke-${sd.seriesKey}`,
|
|
531
|
-
x1: "0",
|
|
532
|
-
y1: "0",
|
|
533
|
-
x2: "1",
|
|
534
|
-
y2: "0"
|
|
535
|
-
},
|
|
536
|
-
[
|
|
537
|
-
_vue.h.call(void 0, "stop", {
|
|
538
|
-
offset: "0%",
|
|
539
|
-
"stop-color": `color-mix(in oklab, ${sd.color} 100%, white 12%)`
|
|
540
|
-
}),
|
|
541
|
-
_vue.h.call(void 0, "stop", {
|
|
542
|
-
offset: "50%",
|
|
543
|
-
"stop-color": sd.color
|
|
544
|
-
}),
|
|
545
|
-
_vue.h.call(void 0, "stop", {
|
|
546
|
-
offset: "100%",
|
|
547
|
-
"stop-color": `color-mix(in oklab, ${sd.color} 100%, black 8%)`
|
|
548
|
-
})
|
|
549
|
-
]
|
|
550
|
-
)
|
|
551
|
-
) : []
|
|
552
|
-
]) : null,
|
|
553
|
-
// Render each series
|
|
554
|
-
...seriesData.value.map(
|
|
555
|
-
(sd) => _vue.h.call(void 0,
|
|
556
|
-
_chunkHBFFINAIjs.ChartSeries,
|
|
557
|
-
{
|
|
558
|
-
key: sd.seriesKey,
|
|
559
|
-
data: sd.series.data,
|
|
560
|
-
name: sd.series.name,
|
|
561
|
-
type: "line",
|
|
562
|
-
opacity: sd.opacity,
|
|
563
|
-
"data-series-key": sd.seriesKey,
|
|
564
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
565
|
-
sd.series.className,
|
|
566
|
-
(props.hoverable || props.selectable) && "cursor-pointer"
|
|
567
|
-
),
|
|
568
|
-
onMouseenter: (e) => handleSeriesHoverEnter(sd.seriesIndex, e),
|
|
569
|
-
onMouseleave: handleSeriesHoverLeave,
|
|
570
|
-
onClick: () => handleSeriesSelect(sd.seriesIndex),
|
|
571
|
-
tabindex: props.selectable ? 0 : void 0,
|
|
572
|
-
onKeydown: (e) => handleKeyDown(e, sd.seriesIndex)
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
default: () => [
|
|
576
|
-
// Area fill path
|
|
577
|
-
sd.showArea && sd.areaPath ? _vue.h.call(void 0, "path", {
|
|
578
|
-
d: sd.areaPath,
|
|
579
|
-
fill: `url(#${gradientPrefix}-${sd.seriesKey})`,
|
|
580
|
-
stroke: "none",
|
|
581
|
-
class: "transition-opacity duration-300",
|
|
582
|
-
"data-area-series": sd.seriesIndex,
|
|
583
|
-
"data-series-key": sd.seriesKey
|
|
584
|
-
}) : null,
|
|
585
|
-
// Line path
|
|
586
|
-
_vue.h.call(void 0, "path", {
|
|
587
|
-
d: sd.linePath,
|
|
588
|
-
fill: "none",
|
|
589
|
-
stroke: props.strokeGradient ? `url(#${gradientPrefix}-stroke-${sd.seriesKey})` : sd.color,
|
|
590
|
-
"stroke-width": sd.strokeWidth,
|
|
591
|
-
"stroke-dasharray": props.animated ? _nullishCoalesce(sd.strokeDasharray, () => ( "1")) : sd.strokeDasharray,
|
|
592
|
-
"stroke-dashoffset": props.animated ? "1" : void 0,
|
|
593
|
-
"stroke-linecap": "round",
|
|
594
|
-
"stroke-linejoin": "round",
|
|
595
|
-
pathLength: props.animated ? 1 : void 0,
|
|
596
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
597
|
-
"transition-opacity [transition-duration:var(--tiger-motion-duration-base,200ms)]",
|
|
598
|
-
props.animated && "tiger-line-animated"
|
|
599
|
-
),
|
|
600
|
-
"data-line-series": sd.seriesIndex,
|
|
601
|
-
"data-series-key": sd.seriesKey
|
|
602
|
-
}),
|
|
603
|
-
// Data points
|
|
604
|
-
sd.showPoints ? sd.points.map((point) => {
|
|
605
|
-
const isHovered = _optionalChain([hoveredPointInfo, 'access', _16 => _16.value, 'optionalAccess', _17 => _17.seriesIndex]) === sd.seriesIndex && _optionalChain([hoveredPointInfo, 'access', _18 => _18.value, 'optionalAccess', _19 => _19.pointIndex]) === point.pointIndex;
|
|
606
|
-
const hoverSize = sd.pointSize + 2;
|
|
607
|
-
const datum = _optionalChain([resolvedSeries, 'access', _20 => _20.value, 'access', _21 => _21[sd.seriesIndex], 'optionalAccess', _22 => _22.data, 'optionalAccess', _23 => _23[point.pointIndex]]);
|
|
608
|
-
const pointInteractive = props.hoverable || pointClickable;
|
|
609
|
-
return _vue.h.call(void 0, "circle", {
|
|
610
|
-
key: `point-${sd.seriesKey}-${point.pointIndex}`,
|
|
611
|
-
cx: point.x,
|
|
612
|
-
cy: point.y,
|
|
613
|
-
r: isHovered ? hoverSize : sd.pointSize,
|
|
614
|
-
fill: sd.pointHollow ? "white" : props.pointGradient ? `url(#${gradientPrefix}-point-${sd.seriesKey})` : sd.pointColor,
|
|
615
|
-
stroke: sd.pointHollow ? sd.pointColor : "none",
|
|
616
|
-
"stroke-width": sd.pointHollow ? 2 : 0,
|
|
617
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
618
|
-
_tigercatcore.linePointTransitionClasses,
|
|
619
|
-
pointInteractive && "cursor-pointer"
|
|
620
|
-
),
|
|
621
|
-
style: isHovered ? `filter: drop-shadow(0 0 4px ${sd.color})` : void 0,
|
|
622
|
-
role: pointInteractive ? "button" : "img",
|
|
623
|
-
"aria-label": _nullishCoalesce(_optionalChain([datum, 'optionalAccess', _24 => _24.label]), () => ( String(_nullishCoalesce(_optionalChain([datum, 'optionalAccess', _25 => _25.y]), () => ( ""))))),
|
|
624
|
-
tabindex: pointInteractive ? 0 : void 0,
|
|
625
|
-
"data-point-index": point.pointIndex,
|
|
626
|
-
"data-series-key": sd.seriesKey,
|
|
627
|
-
onMouseenter: props.hoverable ? (e) => handlePointMouseEnter(sd.seriesIndex, point.pointIndex, e) : void 0,
|
|
628
|
-
onMousemove: props.hoverable ? handlePointMouseMove : void 0,
|
|
629
|
-
onMouseleave: props.hoverable ? handlePointMouseLeave : void 0,
|
|
630
|
-
onClick: pointClickable ? (e) => {
|
|
631
|
-
e.stopPropagation();
|
|
632
|
-
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
633
|
-
} : void 0,
|
|
634
|
-
onFocus: props.hoverable ? (e) => showPointTooltipFromElement(
|
|
635
|
-
e.currentTarget,
|
|
636
|
-
sd.seriesIndex,
|
|
637
|
-
point.pointIndex
|
|
638
|
-
) : void 0,
|
|
639
|
-
onBlur: props.hoverable ? handlePointMouseLeave : void 0,
|
|
640
|
-
onKeydown: pointInteractive ? (e) => {
|
|
641
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
642
|
-
e.preventDefault();
|
|
643
|
-
e.stopPropagation();
|
|
644
|
-
if (pointClickable) {
|
|
645
|
-
handlePointClick(sd.seriesIndex, point.pointIndex);
|
|
646
|
-
} else {
|
|
647
|
-
showPointTooltipFromElement(
|
|
648
|
-
e.currentTarget,
|
|
649
|
-
sd.seriesIndex,
|
|
650
|
-
point.pointIndex
|
|
651
|
-
);
|
|
652
|
-
}
|
|
653
|
-
} else if (e.key === "Escape" && props.hoverable) {
|
|
654
|
-
handlePointMouseLeave();
|
|
655
|
-
}
|
|
656
|
-
} : void 0
|
|
657
|
-
});
|
|
658
|
-
}) : null
|
|
659
|
-
]
|
|
660
|
-
}
|
|
661
|
-
)
|
|
662
|
-
)
|
|
663
|
-
].filter(Boolean)
|
|
664
|
-
}
|
|
665
|
-
);
|
|
666
|
-
const tooltip = props.showTooltip ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
667
|
-
content: tooltipContent.value,
|
|
668
|
-
visible: hoveredPointInfo.value !== null && tooltipContent.value !== "",
|
|
669
|
-
x: tooltipPosition.value.x,
|
|
670
|
-
y: tooltipPosition.value.y
|
|
671
|
-
}) : null;
|
|
672
|
-
if (!props.showLegend) {
|
|
673
|
-
return _vue.h.call(void 0, "div", { class: "inline-block relative" }, [chart, tooltip]);
|
|
674
|
-
}
|
|
675
|
-
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
676
|
-
chart,
|
|
677
|
-
_vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
|
|
678
|
-
items: legendItems.value,
|
|
679
|
-
position: props.legendPosition,
|
|
680
|
-
markerSize: props.legendMarkerSize,
|
|
681
|
-
gap: props.legendGap,
|
|
682
|
-
interactive: props.hoverable || props.selectable,
|
|
683
|
-
onItemClick: handleLegendClick,
|
|
684
|
-
onItemHover: handleLegendHover,
|
|
685
|
-
onItemLeave: handleLegendLeave
|
|
686
|
-
}),
|
|
687
|
-
tooltip
|
|
688
|
-
]);
|
|
689
|
-
};
|
|
690
|
-
}
|
|
691
|
-
});
|
|
692
|
-
var LineChart_default = LineChart;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
exports.LineChart = LineChart; exports.LineChart_default = LineChart_default;
|