@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-LKRT27JW.js
DELETED
|
@@ -1,149 +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; }// src/components/VirtualList.ts
|
|
2
|
-
var _vue = require('vue');
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
12
|
-
var VirtualList = _vue.defineComponent.call(void 0, {
|
|
13
|
-
name: "TigerVirtualList",
|
|
14
|
-
props: {
|
|
15
|
-
itemCount: { type: Number, default: 0 },
|
|
16
|
-
itemHeight: { type: Number, default: 40 },
|
|
17
|
-
estimatedItemHeight: { type: Number, default: void 0 },
|
|
18
|
-
getItemHeight: {
|
|
19
|
-
type: Function,
|
|
20
|
-
default: void 0
|
|
21
|
-
},
|
|
22
|
-
sizeStrategy: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: void 0
|
|
25
|
-
},
|
|
26
|
-
height: { type: Number, default: 400 },
|
|
27
|
-
overscan: { type: Number, default: 5 },
|
|
28
|
-
/** Custom class name (merged with the `class` attribute) */
|
|
29
|
-
className: { type: String, default: void 0 }
|
|
30
|
-
},
|
|
31
|
-
emits: ["scroll"],
|
|
32
|
-
setup(props, { emit, attrs, slots }) {
|
|
33
|
-
const scrollTop = _vue.ref.call(void 0, 0);
|
|
34
|
-
const measureVersion = _vue.ref.call(void 0, 0);
|
|
35
|
-
const containerRef = _vue.ref.call(void 0, null);
|
|
36
|
-
const itemEls = /* @__PURE__ */ new Map();
|
|
37
|
-
const isDynamic = _vue.computed.call(void 0,
|
|
38
|
-
() => !props.sizeStrategy && !props.getItemHeight && props.estimatedItemHeight !== void 0
|
|
39
|
-
);
|
|
40
|
-
const strategy = _vue.computed.call(void 0, () => {
|
|
41
|
-
if (props.sizeStrategy) return props.sizeStrategy;
|
|
42
|
-
if (props.getItemHeight) {
|
|
43
|
-
return _tigercatcore.variableSizeStrategy.call(void 0, props.getItemHeight, props.itemCount);
|
|
44
|
-
}
|
|
45
|
-
if (props.estimatedItemHeight !== void 0) {
|
|
46
|
-
return _tigercatcore.dynamicSizeStrategy.call(void 0, props.estimatedItemHeight, props.itemCount);
|
|
47
|
-
}
|
|
48
|
-
return _tigercatcore.fixedSizeStrategy.call(void 0, props.itemHeight);
|
|
49
|
-
});
|
|
50
|
-
const range = _vue.computed.call(void 0, () => {
|
|
51
|
-
void measureVersion.value;
|
|
52
|
-
return strategy.value.getRange(scrollTop.value, props.height, props.itemCount, props.overscan);
|
|
53
|
-
});
|
|
54
|
-
function measureDynamic() {
|
|
55
|
-
if (!isDynamic.value) return;
|
|
56
|
-
const strat = strategy.value;
|
|
57
|
-
if (!strat.updateItemHeight) return;
|
|
58
|
-
let changed = false;
|
|
59
|
-
itemEls.forEach((el, i) => {
|
|
60
|
-
const measured = el.offsetHeight;
|
|
61
|
-
if (measured > 0 && measured !== strat.getItemHeight(i)) {
|
|
62
|
-
strat.updateItemHeight(i, measured);
|
|
63
|
-
changed = true;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
if (changed) measureVersion.value += 1;
|
|
67
|
-
}
|
|
68
|
-
_vue.onMounted.call(void 0, measureDynamic);
|
|
69
|
-
_vue.onUpdated.call(void 0, measureDynamic);
|
|
70
|
-
function handleScroll() {
|
|
71
|
-
if (containerRef.value) {
|
|
72
|
-
scrollTop.value = containerRef.value.scrollTop;
|
|
73
|
-
emit("scroll", scrollTop.value);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return () => {
|
|
77
|
-
const { startIndex, endIndex, totalHeight } = range.value;
|
|
78
|
-
const currentStrategy = strategy.value;
|
|
79
|
-
const items = [];
|
|
80
|
-
const dynamic = isDynamic.value;
|
|
81
|
-
if (dynamic) itemEls.clear();
|
|
82
|
-
for (let i = startIndex; i <= endIndex; i++) {
|
|
83
|
-
const itemH = currentStrategy.getItemHeight(i);
|
|
84
|
-
const slotContent = _optionalChain([slots, 'access', _ => _.default, 'optionalCall', _2 => _2({ index: i })]);
|
|
85
|
-
const index = i;
|
|
86
|
-
items.push(
|
|
87
|
-
_vue.h.call(void 0,
|
|
88
|
-
"div",
|
|
89
|
-
{
|
|
90
|
-
key: index,
|
|
91
|
-
// Auto height in dynamic mode so real content height is measurable.
|
|
92
|
-
style: dynamic ? { width: "100%" } : { height: `${itemH}px`, width: "100%" },
|
|
93
|
-
ref: dynamic ? (el) => {
|
|
94
|
-
if (el)
|
|
95
|
-
itemEls.set(index, _nullishCoalesce(el.$el, () => ( el)));
|
|
96
|
-
else itemEls.delete(index);
|
|
97
|
-
} : void 0
|
|
98
|
-
},
|
|
99
|
-
slotContent
|
|
100
|
-
)
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
const offsetTop = startIndex >= 0 ? currentStrategy.getItemOffset(startIndex) : 0;
|
|
104
|
-
return _vue.h.call(void 0,
|
|
105
|
-
"div",
|
|
106
|
-
{
|
|
107
|
-
ref: containerRef,
|
|
108
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
109
|
-
_tigercatcore.virtualListContainerClasses,
|
|
110
|
-
props.className,
|
|
111
|
-
_tigercatcore.coerceClassValue.call(void 0, attrs.class)
|
|
112
|
-
),
|
|
113
|
-
style: { height: `${props.height}px` },
|
|
114
|
-
onScroll: handleScroll
|
|
115
|
-
},
|
|
116
|
-
[
|
|
117
|
-
_vue.h.call(void 0,
|
|
118
|
-
"div",
|
|
119
|
-
{
|
|
120
|
-
class: _tigercatcore.virtualListInnerClasses,
|
|
121
|
-
style: { height: `${totalHeight}px` }
|
|
122
|
-
},
|
|
123
|
-
[
|
|
124
|
-
_vue.h.call(void 0,
|
|
125
|
-
"div",
|
|
126
|
-
{
|
|
127
|
-
style: {
|
|
128
|
-
transform: `translateY(${offsetTop}px)`,
|
|
129
|
-
position: "absolute",
|
|
130
|
-
top: 0,
|
|
131
|
-
left: 0,
|
|
132
|
-
width: "100%"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
items
|
|
136
|
-
)
|
|
137
|
-
]
|
|
138
|
-
)
|
|
139
|
-
]
|
|
140
|
-
);
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
var VirtualList_default = VirtualList;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
exports.VirtualList = VirtualList; exports.VirtualList_default = VirtualList_default;
|
package/dist/chunk-LODEICSN.js
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
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 _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
|
|
16
|
-
|
|
17
|
-
// src/components/TreeMapChart.ts
|
|
18
|
-
var _vue = require('vue');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
29
|
-
var TreeMapChart = _vue.defineComponent.call(void 0, {
|
|
30
|
-
name: "TigerTreeMapChart",
|
|
31
|
-
props: {
|
|
32
|
-
width: { type: Number, default: 400 },
|
|
33
|
-
height: { type: Number, default: 300 },
|
|
34
|
-
padding: { type: [Number, Object], default: 8 },
|
|
35
|
-
data: { type: Array, required: true },
|
|
36
|
-
gap: { type: Number, default: 2 },
|
|
37
|
-
showLabels: { type: Boolean, default: true },
|
|
38
|
-
minLabelSize: { type: Number, default: 10 },
|
|
39
|
-
colors: { type: Array },
|
|
40
|
-
gradient: { type: Boolean, default: false },
|
|
41
|
-
// Interaction
|
|
42
|
-
hoverable: { type: Boolean, default: false },
|
|
43
|
-
hoveredIndex: { type: Number, default: void 0 },
|
|
44
|
-
activeOpacity: { type: Number, default: 1 },
|
|
45
|
-
inactiveOpacity: { type: Number, default: 0.25 },
|
|
46
|
-
selectable: { type: Boolean, default: false },
|
|
47
|
-
selectedIndex: { type: Number, default: void 0 },
|
|
48
|
-
// Legend
|
|
49
|
-
showLegend: { type: Boolean, default: false },
|
|
50
|
-
legendPosition: { type: String, default: "bottom" },
|
|
51
|
-
legendMarkerSize: { type: Number, default: 10 },
|
|
52
|
-
legendGap: { type: Number, default: 8 },
|
|
53
|
-
// Tooltip
|
|
54
|
-
showTooltip: { type: Boolean, default: true },
|
|
55
|
-
tooltipFormatter: {
|
|
56
|
-
type: Function
|
|
57
|
-
},
|
|
58
|
-
// a11y
|
|
59
|
-
title: { type: String },
|
|
60
|
-
desc: { type: String },
|
|
61
|
-
className: { type: String }
|
|
62
|
-
},
|
|
63
|
-
emits: ["update:hoveredIndex", "update:selectedIndex", "node-click", "node-hover"],
|
|
64
|
-
setup(props, { emit }) {
|
|
65
|
-
const {
|
|
66
|
-
tooltipPosition,
|
|
67
|
-
resolvedHoveredIndex,
|
|
68
|
-
activeIndex,
|
|
69
|
-
handleMouseEnter,
|
|
70
|
-
handleMouseMove,
|
|
71
|
-
handleMouseLeave,
|
|
72
|
-
handleClick,
|
|
73
|
-
handleLegendClick,
|
|
74
|
-
handleLegendHover,
|
|
75
|
-
handleLegendLeave,
|
|
76
|
-
wrapperClasses
|
|
77
|
-
} = _chunk2VOZFFW6js.useChartInteraction.call(void 0, {
|
|
78
|
-
hoverable: _vue.computed.call(void 0, () => props.hoverable),
|
|
79
|
-
hoveredIndexProp: () => props.hoveredIndex,
|
|
80
|
-
selectable: _vue.computed.call(void 0, () => props.selectable),
|
|
81
|
-
selectedIndexProp: () => props.selectedIndex,
|
|
82
|
-
activeOpacity: _vue.computed.call(void 0, () => props.activeOpacity),
|
|
83
|
-
inactiveOpacity: _vue.computed.call(void 0, () => props.inactiveOpacity),
|
|
84
|
-
legendPosition: _vue.computed.call(void 0, () => props.legendPosition),
|
|
85
|
-
emit,
|
|
86
|
-
getData: (index) => {
|
|
87
|
-
const node = nodes.value[index];
|
|
88
|
-
return node ? { label: node.label, value: node.value } : {};
|
|
89
|
-
},
|
|
90
|
-
eventNames: { hover: "node-hover", click: "node-click" }
|
|
91
|
-
});
|
|
92
|
-
const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
|
|
93
|
-
const palette = _vue.computed.call(void 0, () => _tigercatcore.resolveChartPalette.call(void 0, props.colors));
|
|
94
|
-
const gradientPrefix = _tigercatcore.getStableChartGradientPrefix.call(void 0, "treemap", _vue.useId.call(void 0, ));
|
|
95
|
-
const nodes = _vue.computed.call(void 0,
|
|
96
|
-
() => _tigercatcore.computeTreeMapNodes.call(void 0, props.data, {
|
|
97
|
-
width: innerRect.value.width,
|
|
98
|
-
height: innerRect.value.height,
|
|
99
|
-
gap: props.gap,
|
|
100
|
-
colors: palette.value
|
|
101
|
-
})
|
|
102
|
-
);
|
|
103
|
-
const total = _vue.computed.call(void 0, () => nodes.value.reduce((s, n) => s + n.value, 0));
|
|
104
|
-
const legendItems = _vue.computed.call(void 0,
|
|
105
|
-
() => _tigercatcore.buildChartLegendItems.call(void 0, {
|
|
106
|
-
data: nodes.value,
|
|
107
|
-
palette: palette.value,
|
|
108
|
-
activeIndex: activeIndex.value,
|
|
109
|
-
getLabel: (d) => d.label,
|
|
110
|
-
getColor: (d) => d.color
|
|
111
|
-
})
|
|
112
|
-
);
|
|
113
|
-
const tooltipContent = _vue.computed.call(void 0,
|
|
114
|
-
() => _tigercatcore.resolveChartTooltipContent.call(void 0, resolvedHoveredIndex.value, nodes.value, void 0, (node) => {
|
|
115
|
-
const pct = total.value > 0 ? (node.value / total.value * 100).toFixed(1) : "0";
|
|
116
|
-
return `${node.label}: ${node.value} (${pct}%)`;
|
|
117
|
-
})
|
|
118
|
-
);
|
|
119
|
-
return () => {
|
|
120
|
-
const interactive = props.hoverable || props.selectable;
|
|
121
|
-
const chart = _vue.h.call(void 0,
|
|
122
|
-
_chunkUHVUKLHFjs.ChartCanvas,
|
|
123
|
-
{
|
|
124
|
-
width: props.width,
|
|
125
|
-
height: props.height,
|
|
126
|
-
padding: props.padding,
|
|
127
|
-
title: props.title,
|
|
128
|
-
desc: props.desc,
|
|
129
|
-
className: _tigercatcore.classNames.call(void 0, props.className)
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
default: () => {
|
|
133
|
-
const gradientDefs = props.gradient ? _vue.h.call(void 0,
|
|
134
|
-
"defs",
|
|
135
|
-
null,
|
|
136
|
-
nodes.value.map(
|
|
137
|
-
(node) => _vue.h.call(void 0,
|
|
138
|
-
"linearGradient",
|
|
139
|
-
{
|
|
140
|
-
id: `${gradientPrefix}-${node.index}`,
|
|
141
|
-
x1: "0",
|
|
142
|
-
y1: "0",
|
|
143
|
-
x2: "0",
|
|
144
|
-
y2: "1"
|
|
145
|
-
},
|
|
146
|
-
[
|
|
147
|
-
_vue.h.call(void 0, "stop", {
|
|
148
|
-
offset: "0%",
|
|
149
|
-
"stop-color": node.color,
|
|
150
|
-
"stop-opacity": "1"
|
|
151
|
-
}),
|
|
152
|
-
_vue.h.call(void 0, "stop", {
|
|
153
|
-
offset: "100%",
|
|
154
|
-
"stop-color": node.color,
|
|
155
|
-
"stop-opacity": "0.7"
|
|
156
|
-
})
|
|
157
|
-
]
|
|
158
|
-
)
|
|
159
|
-
)
|
|
160
|
-
) : null;
|
|
161
|
-
return _vue.h.call(void 0,
|
|
162
|
-
_chunkHBFFINAIjs.ChartSeries,
|
|
163
|
-
{ data: nodes.value, type: "treemap" },
|
|
164
|
-
{
|
|
165
|
-
default: () => [
|
|
166
|
-
gradientDefs,
|
|
167
|
-
...nodes.value.map((node) => {
|
|
168
|
-
const opacity = _tigercatcore.getChartElementOpacity.call(void 0, node.index, activeIndex.value, {
|
|
169
|
-
activeOpacity: props.activeOpacity,
|
|
170
|
-
inactiveOpacity: props.inactiveOpacity
|
|
171
|
-
});
|
|
172
|
-
const elems = [
|
|
173
|
-
_vue.h.call(void 0, "rect", {
|
|
174
|
-
key: `node-${node.index}`,
|
|
175
|
-
x: node.x,
|
|
176
|
-
y: node.y,
|
|
177
|
-
width: node.w,
|
|
178
|
-
height: node.h,
|
|
179
|
-
rx: 2,
|
|
180
|
-
fill: props.gradient ? `url(#${gradientPrefix}-${node.index})` : node.color,
|
|
181
|
-
opacity,
|
|
182
|
-
class: _tigercatcore.classNames.call(void 0, interactive && "cursor-pointer"),
|
|
183
|
-
style: {
|
|
184
|
-
transition: "opacity var(--tiger-motion-duration-base,0.2s) var(--tiger-motion-ease-decelerate,ease-out), filter var(--tiger-motion-duration-base,0.2s) var(--tiger-motion-ease-decelerate,ease-out)",
|
|
185
|
-
rx: "var(--tiger-chart-block-radius, 2px)",
|
|
186
|
-
filter: activeIndex.value === node.index ? "var(--tiger-chart-block-active-filter, none)" : "none"
|
|
187
|
-
},
|
|
188
|
-
onMouseenter: (e) => handleMouseEnter(node.index, e),
|
|
189
|
-
onMousemove: handleMouseMove,
|
|
190
|
-
onMouseleave: handleMouseLeave,
|
|
191
|
-
onClick: () => handleClick(node.index)
|
|
192
|
-
})
|
|
193
|
-
];
|
|
194
|
-
if (props.showLabels && node.w > 30 && node.h > props.minLabelSize + 4) {
|
|
195
|
-
elems.push(
|
|
196
|
-
_vue.h.call(void 0,
|
|
197
|
-
"text",
|
|
198
|
-
{
|
|
199
|
-
key: `label-${node.index}`,
|
|
200
|
-
x: node.x + node.w / 2,
|
|
201
|
-
y: node.y + node.h / 2,
|
|
202
|
-
class: "fill-white text-xs",
|
|
203
|
-
"text-anchor": "middle",
|
|
204
|
-
"dominant-baseline": "middle",
|
|
205
|
-
style: {
|
|
206
|
-
pointerEvents: "none",
|
|
207
|
-
fontSize: `${Math.min(12, node.h * 0.3)}px`
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
node.label
|
|
211
|
-
)
|
|
212
|
-
);
|
|
213
|
-
}
|
|
214
|
-
return elems;
|
|
215
|
-
}).flat()
|
|
216
|
-
]
|
|
217
|
-
}
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
);
|
|
222
|
-
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
223
|
-
content: tooltipContent.value,
|
|
224
|
-
visible: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
|
|
225
|
-
x: tooltipPosition.value.x,
|
|
226
|
-
y: tooltipPosition.value.y
|
|
227
|
-
}) : null;
|
|
228
|
-
if (!props.showLegend) {
|
|
229
|
-
return _vue.h.call(void 0, "div", { class: "inline-block relative" }, [chart, tooltip]);
|
|
230
|
-
}
|
|
231
|
-
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
232
|
-
chart,
|
|
233
|
-
_vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
|
|
234
|
-
items: legendItems.value,
|
|
235
|
-
position: props.legendPosition,
|
|
236
|
-
markerSize: props.legendMarkerSize,
|
|
237
|
-
gap: props.legendGap,
|
|
238
|
-
interactive,
|
|
239
|
-
onItemClick: handleLegendClick,
|
|
240
|
-
onItemHover: handleLegendHover,
|
|
241
|
-
onItemLeave: handleLegendLeave
|
|
242
|
-
}),
|
|
243
|
-
tooltip
|
|
244
|
-
]);
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
});
|
|
248
|
-
var TreeMapChart_default = TreeMapChart;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
exports.TreeMapChart = TreeMapChart; exports.TreeMapChart_default = TreeMapChart_default;
|
package/dist/chunk-LPHDX3UU.js
DELETED
|
@@ -1,279 +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 _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
|
|
7
|
-
|
|
8
|
-
// src/components/GaugeChart.ts
|
|
9
|
-
var _vue = require('vue');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
21
|
-
var GaugeChart = _vue.defineComponent.call(void 0, {
|
|
22
|
-
name: "TigerGaugeChart",
|
|
23
|
-
props: {
|
|
24
|
-
width: { type: Number, default: 280 },
|
|
25
|
-
height: { type: Number, default: 200 },
|
|
26
|
-
padding: { type: [Number, Object], default: 24 },
|
|
27
|
-
value: { type: Number, required: true },
|
|
28
|
-
min: { type: Number, default: 0 },
|
|
29
|
-
max: { type: Number, default: 100 },
|
|
30
|
-
startAngle: { type: Number, default: 135 },
|
|
31
|
-
endAngle: { type: Number, default: 405 },
|
|
32
|
-
arcWidth: { type: Number, default: 20 },
|
|
33
|
-
showTicks: { type: Boolean, default: true },
|
|
34
|
-
tickCount: { type: Number, default: 5 },
|
|
35
|
-
valueFormatter: { type: Function },
|
|
36
|
-
tooltipFormatter: { type: Function },
|
|
37
|
-
showTooltip: { type: Boolean, default: true },
|
|
38
|
-
label: { type: String },
|
|
39
|
-
segments: {
|
|
40
|
-
type: Array
|
|
41
|
-
},
|
|
42
|
-
trackColor: { type: String, default: "var(--tiger-border,#e5e7eb)" },
|
|
43
|
-
color: { type: String, default: "var(--tiger-primary,#2563eb)" },
|
|
44
|
-
gradient: { type: Boolean, default: false },
|
|
45
|
-
// a11y
|
|
46
|
-
title: { type: String },
|
|
47
|
-
desc: { type: String },
|
|
48
|
-
className: { type: String }
|
|
49
|
-
},
|
|
50
|
-
setup(props) {
|
|
51
|
-
const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
|
|
52
|
-
const radius = _vue.computed.call(void 0, () => Math.min(innerRect.value.width, innerRect.value.height) / 2 - 4);
|
|
53
|
-
const cx = _vue.computed.call(void 0, () => innerRect.value.width / 2);
|
|
54
|
-
const cy = _vue.computed.call(void 0, () => innerRect.value.height / 2);
|
|
55
|
-
const gradientPrefix = _tigercatcore.getStableChartGradientPrefix.call(void 0, "gauge", _vue.useId.call(void 0, ));
|
|
56
|
-
const valueGradientId = `${gradientPrefix}-value`;
|
|
57
|
-
const targetAngle = _vue.computed.call(void 0,
|
|
58
|
-
() => _tigercatcore.valueToGaugeAngle.call(void 0, props.value, props.min, props.max, props.startAngle, props.endAngle)
|
|
59
|
-
);
|
|
60
|
-
const animatedAngle = _vue.ref.call(void 0, targetAngle.value);
|
|
61
|
-
let animCtrl = null;
|
|
62
|
-
_vue.watch.call(void 0, targetAngle, (to, from) => {
|
|
63
|
-
_optionalChain([animCtrl, 'optionalAccess', _ => _.stop, 'call', _2 => _2()]);
|
|
64
|
-
animCtrl = _tigercatcore.createGaugeAnimation.call(void 0, {
|
|
65
|
-
from,
|
|
66
|
-
to,
|
|
67
|
-
onUpdate: (v) => {
|
|
68
|
-
animatedAngle.value = v;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
_vue.onBeforeUnmount.call(void 0, () => {
|
|
73
|
-
_optionalChain([animCtrl, 'optionalAccess', _3 => _3.stop, 'call', _4 => _4()]);
|
|
74
|
-
});
|
|
75
|
-
const wrapperRef = _vue.ref.call(void 0, null);
|
|
76
|
-
const tooltipState = _vue.ref.call(void 0, { visible: false, x: 0, y: 0 });
|
|
77
|
-
const handleTooltipMove = (e) => {
|
|
78
|
-
if (!props.showTooltip) return;
|
|
79
|
-
tooltipState.value = { visible: true, x: e.clientX, y: e.clientY };
|
|
80
|
-
};
|
|
81
|
-
const handleTooltipLeave = () => {
|
|
82
|
-
tooltipState.value = { ...tooltipState.value, visible: false };
|
|
83
|
-
};
|
|
84
|
-
const handleTooltipFocus = () => {
|
|
85
|
-
if (!props.showTooltip) return;
|
|
86
|
-
const rect = _optionalChain([wrapperRef, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.getBoundingClientRect, 'call', _7 => _7()]);
|
|
87
|
-
if (rect) {
|
|
88
|
-
tooltipState.value = {
|
|
89
|
-
visible: true,
|
|
90
|
-
x: rect.left + rect.width / 2,
|
|
91
|
-
y: rect.top + rect.height / 2
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
const ticks = _vue.computed.call(void 0,
|
|
96
|
-
() => props.showTicks ? _tigercatcore.computeGaugeTicks.call(void 0,
|
|
97
|
-
cx.value,
|
|
98
|
-
cy.value,
|
|
99
|
-
radius.value,
|
|
100
|
-
props.min,
|
|
101
|
-
props.max,
|
|
102
|
-
props.startAngle,
|
|
103
|
-
props.endAngle,
|
|
104
|
-
props.tickCount
|
|
105
|
-
) : []
|
|
106
|
-
);
|
|
107
|
-
return () => {
|
|
108
|
-
const r = radius.value;
|
|
109
|
-
const c = cx.value;
|
|
110
|
-
const cY = cy.value;
|
|
111
|
-
const aw = props.arcWidth;
|
|
112
|
-
const trackPath = _tigercatcore.createGaugeArcPath.call(void 0, c, cY, r, props.startAngle, props.endAngle, aw);
|
|
113
|
-
const valuePath = animatedAngle.value > props.startAngle ? _tigercatcore.createGaugeArcPath.call(void 0, c, cY, r, props.startAngle, animatedAngle.value, aw) : null;
|
|
114
|
-
const segmentArcs = _nullishCoalesce(_optionalChain([props, 'access', _8 => _8.segments, 'optionalAccess', _9 => _9.map, 'call', _10 => _10((seg, i) => {
|
|
115
|
-
const sStart = _tigercatcore.valueToGaugeAngle.call(void 0,
|
|
116
|
-
seg.range[0],
|
|
117
|
-
props.min,
|
|
118
|
-
props.max,
|
|
119
|
-
props.startAngle,
|
|
120
|
-
props.endAngle
|
|
121
|
-
);
|
|
122
|
-
const sEnd = _tigercatcore.valueToGaugeAngle.call(void 0,
|
|
123
|
-
seg.range[1],
|
|
124
|
-
props.min,
|
|
125
|
-
props.max,
|
|
126
|
-
props.startAngle,
|
|
127
|
-
props.endAngle
|
|
128
|
-
);
|
|
129
|
-
return _vue.h.call(void 0, "path", {
|
|
130
|
-
key: `seg-${i}`,
|
|
131
|
-
d: _tigercatcore.createGaugeArcPath.call(void 0, c, cY, r, sStart, sEnd, aw),
|
|
132
|
-
fill: seg.color,
|
|
133
|
-
"stroke-width": 0
|
|
134
|
-
});
|
|
135
|
-
})]), () => ( []));
|
|
136
|
-
const needlePath = _tigercatcore.createGaugeNeedlePath.call(void 0, c, cY, r - aw - 6, animatedAngle.value);
|
|
137
|
-
const formattedValue = props.valueFormatter ? props.valueFormatter(props.value) : `${props.value}`;
|
|
138
|
-
const tooltipContent = props.tooltipFormatter ? props.tooltipFormatter(props.value) : props.label ? `${props.label}: ${formattedValue}` : formattedValue;
|
|
139
|
-
const canvas = _vue.h.call(void 0,
|
|
140
|
-
_chunkUHVUKLHFjs.ChartCanvas,
|
|
141
|
-
{
|
|
142
|
-
width: props.width,
|
|
143
|
-
height: props.height,
|
|
144
|
-
padding: props.padding,
|
|
145
|
-
title: props.title,
|
|
146
|
-
desc: props.desc,
|
|
147
|
-
className: _tigercatcore.classNames.call(void 0, props.className)
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
default: () => [
|
|
151
|
-
// Gradient defs (opt-in, only when gradient mode is on and value arc renders)
|
|
152
|
-
props.gradient && !props.segments && valuePath ? _vue.h.call(void 0, "defs", {}, [
|
|
153
|
-
_vue.h.call(void 0,
|
|
154
|
-
"linearGradient",
|
|
155
|
-
{
|
|
156
|
-
id: valueGradientId,
|
|
157
|
-
x1: 0,
|
|
158
|
-
y1: 0,
|
|
159
|
-
x2: 0,
|
|
160
|
-
y2: 1
|
|
161
|
-
},
|
|
162
|
-
[
|
|
163
|
-
_vue.h.call(void 0, "stop", { offset: "0%", "stop-color": props.color, "stop-opacity": 1 }),
|
|
164
|
-
_vue.h.call(void 0, "stop", { offset: "100%", "stop-color": props.color, "stop-opacity": 0.55 })
|
|
165
|
-
]
|
|
166
|
-
)
|
|
167
|
-
]) : null,
|
|
168
|
-
// Track
|
|
169
|
-
_vue.h.call(void 0, "path", {
|
|
170
|
-
d: trackPath,
|
|
171
|
-
fill: props.trackColor,
|
|
172
|
-
"stroke-width": 0
|
|
173
|
-
}),
|
|
174
|
-
// Segments or value arc
|
|
175
|
-
...props.segments ? segmentArcs : valuePath ? [
|
|
176
|
-
_vue.h.call(void 0, "path", {
|
|
177
|
-
d: valuePath,
|
|
178
|
-
fill: props.gradient ? `url(#${valueGradientId})` : props.color,
|
|
179
|
-
"stroke-width": 0
|
|
180
|
-
})
|
|
181
|
-
] : [],
|
|
182
|
-
// Ticks
|
|
183
|
-
...ticks.value.map((tick, i) => [
|
|
184
|
-
_vue.h.call(void 0, "line", {
|
|
185
|
-
key: `tick-${i}`,
|
|
186
|
-
x1: tick.x1,
|
|
187
|
-
y1: tick.y1,
|
|
188
|
-
x2: tick.x2,
|
|
189
|
-
y2: tick.y2,
|
|
190
|
-
stroke: "var(--tiger-text-secondary,#6b7280)",
|
|
191
|
-
"stroke-width": 1
|
|
192
|
-
}),
|
|
193
|
-
_vue.h.call(void 0,
|
|
194
|
-
"text",
|
|
195
|
-
{
|
|
196
|
-
key: `tick-label-${i}`,
|
|
197
|
-
x: tick.x2 + (tick.x2 - tick.x1) * 1.5,
|
|
198
|
-
y: tick.y2 + (tick.y2 - tick.y1) * 1.5,
|
|
199
|
-
class: _tigercatcore.chartAxisTickTextClasses,
|
|
200
|
-
"text-anchor": "middle",
|
|
201
|
-
"dominant-baseline": "middle",
|
|
202
|
-
style: { fontSize: "10px" }
|
|
203
|
-
},
|
|
204
|
-
tick.label
|
|
205
|
-
)
|
|
206
|
-
]).flat(),
|
|
207
|
-
// Needle
|
|
208
|
-
_vue.h.call(void 0, "path", {
|
|
209
|
-
d: needlePath,
|
|
210
|
-
fill: "var(--tiger-text,#374151)"
|
|
211
|
-
}),
|
|
212
|
-
// Center dot
|
|
213
|
-
_vue.h.call(void 0, "circle", {
|
|
214
|
-
cx: c,
|
|
215
|
-
cy: cY,
|
|
216
|
-
r: 5,
|
|
217
|
-
fill: "var(--tiger-text,#374151)"
|
|
218
|
-
}),
|
|
219
|
-
// Value text
|
|
220
|
-
_vue.h.call(void 0,
|
|
221
|
-
"text",
|
|
222
|
-
{
|
|
223
|
-
x: c,
|
|
224
|
-
y: cY + r * 0.35,
|
|
225
|
-
class: "fill-[color:var(--tiger-text,#374151)] text-lg font-semibold tabular-nums",
|
|
226
|
-
"text-anchor": "middle",
|
|
227
|
-
"dominant-baseline": "middle"
|
|
228
|
-
},
|
|
229
|
-
formattedValue
|
|
230
|
-
),
|
|
231
|
-
// Label
|
|
232
|
-
...props.label ? [
|
|
233
|
-
_vue.h.call(void 0,
|
|
234
|
-
"text",
|
|
235
|
-
{
|
|
236
|
-
x: c,
|
|
237
|
-
y: cY + r * 0.35 + 20,
|
|
238
|
-
class: _tigercatcore.chartAxisTickTextClasses,
|
|
239
|
-
"text-anchor": "middle",
|
|
240
|
-
"dominant-baseline": "middle"
|
|
241
|
-
},
|
|
242
|
-
props.label
|
|
243
|
-
)
|
|
244
|
-
] : []
|
|
245
|
-
]
|
|
246
|
-
}
|
|
247
|
-
);
|
|
248
|
-
return _vue.h.call(void 0,
|
|
249
|
-
"div",
|
|
250
|
-
{
|
|
251
|
-
ref: wrapperRef,
|
|
252
|
-
class: "inline-block relative",
|
|
253
|
-
tabindex: props.showTooltip ? 0 : void 0,
|
|
254
|
-
role: "img",
|
|
255
|
-
"aria-label": props.label ? `${props.label}: ${formattedValue}` : formattedValue,
|
|
256
|
-
onMousemove: handleTooltipMove,
|
|
257
|
-
onMouseleave: handleTooltipLeave,
|
|
258
|
-
onFocus: handleTooltipFocus,
|
|
259
|
-
onBlur: handleTooltipLeave
|
|
260
|
-
},
|
|
261
|
-
[
|
|
262
|
-
canvas,
|
|
263
|
-
props.showTooltip ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
264
|
-
content: tooltipContent,
|
|
265
|
-
visible: tooltipState.value.visible && tooltipContent !== "",
|
|
266
|
-
x: tooltipState.value.x,
|
|
267
|
-
y: tooltipState.value.y
|
|
268
|
-
}) : null
|
|
269
|
-
]
|
|
270
|
-
);
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
var GaugeChart_default = GaugeChart;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
exports.GaugeChart = GaugeChart; exports.GaugeChart_default = GaugeChart_default;
|