@expcat/tigercat-vue 1.4.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-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-M2ECZQ2D.mjs → chunk-2QWGVJW6.mjs} +56 -33
- package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
- package/dist/{chunk-KY3O3FWK.mjs → chunk-36WSYHJU.mjs} +77 -18
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
- package/dist/chunk-4RKBXGHQ.mjs +52 -0
- package/dist/chunk-4ZKSTL5P.mjs +323 -0
- package/dist/{chunk-YZP4K6KI.mjs → chunk-6BDDX2R4.mjs} +9 -9
- package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
- package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
- package/dist/{chunk-Y4V7BOVR.mjs → chunk-6TTICJR4.mjs} +9 -7
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
- package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
- package/dist/{chunk-NDS2DLUS.mjs → chunk-AZXS4QWC.mjs} +14 -10
- package/dist/{chunk-KY6AJRGT.mjs → chunk-B47QLHVW.mjs} +7 -7
- package/dist/{chunk-UAD2XROX.mjs → chunk-BGO2ILHM.mjs} +9 -9
- package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
- package/dist/{chunk-FSGD24HV.mjs → chunk-BNNTDSLJ.mjs} +92 -1
- package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
- package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
- package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-7VSNXYFM.mjs → chunk-DOVBKVTB.mjs} +28 -10
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
- package/dist/chunk-ESBUNMIG.mjs +49 -0
- package/dist/{chunk-KJ6VISRW.mjs → chunk-EUSODI5E.mjs} +1 -1
- package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
- package/dist/{chunk-LHOSPU6V.mjs → chunk-FDKJOVXG.mjs} +9 -18
- package/dist/{chunk-IKEZDGRO.mjs → chunk-FHJ3R57L.mjs} +9 -9
- package/dist/{chunk-RFFPMC22.mjs → chunk-FIVVKBBF.mjs} +3 -3
- package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-G7MOTNJO.mjs} +9 -9
- package/dist/{chunk-J6YCXMVY.mjs → chunk-GAEO66NY.mjs} +2 -2
- package/dist/chunk-GMIKUE67.mjs +201 -0
- package/dist/chunk-GTFAC625.mjs +120 -0
- package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
- package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
- package/dist/{chunk-PXRF4IJO.mjs → chunk-HGXD57QM.mjs} +46 -5
- package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
- package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
- package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
- package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
- package/dist/{chunk-GQAVLQEZ.mjs → chunk-IGT4QB7O.mjs} +4 -4
- package/dist/{chunk-3VFZB5ZK.mjs → chunk-IQNZ4UEA.mjs} +10 -13
- package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
- package/dist/{chunk-QAMXVTNN.mjs → chunk-JMVALNIO.mjs} +147 -48
- package/dist/{chunk-M5PGWW25.mjs → chunk-JPCMI3A4.mjs} +40 -10
- package/dist/{chunk-YSUT2GRP.mjs → chunk-KBJANUZZ.mjs} +50 -1
- package/dist/{chunk-M4EP4OVR.mjs → chunk-KE6RGD4Y.mjs} +2 -1
- package/dist/chunk-KIPTVKU2.mjs +104 -0
- package/dist/{chunk-KH2CF6JU.mjs → chunk-KR3D2JOA.mjs} +93 -41
- package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
- package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
- package/dist/{chunk-OOS3QQFK.mjs → chunk-MJRFB6ZA.mjs} +72 -43
- package/dist/{chunk-UKMOWUYH.mjs → chunk-MYKKKVGK.mjs} +2 -2
- package/dist/{chunk-3AF4VRCD.mjs → chunk-N3C6YI7I.mjs} +8 -8
- package/dist/{chunk-NHBN6VAY.mjs → chunk-NYWIBDO6.mjs} +9 -9
- package/dist/{chunk-Y3BQSELH.mjs → chunk-O4F75KHL.mjs} +9 -9
- package/dist/{chunk-DSNPEWYP.mjs → chunk-ODDPVS27.mjs} +64 -11
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-QD5ZCKPR.mjs} +26 -4
- package/dist/{chunk-NWS45JQP.mjs → chunk-RAO7ZJWR.mjs} +65 -17
- package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
- package/dist/{chunk-OK4PVFQG.mjs → chunk-SPFL55TF.mjs} +22 -19
- package/dist/{chunk-6OQLZCQK.mjs → chunk-SYRRMZT2.mjs} +1 -1
- package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
- package/dist/{chunk-UANF7XE5.mjs → chunk-TQDN67YN.mjs} +34 -6
- package/dist/{chunk-SC3WTLKG.mjs → chunk-UD4FNMJN.mjs} +22 -5
- package/dist/chunk-V5ANPH5R.mjs +341 -0
- package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-WZRC7PJH.mjs → chunk-VFUBOKGT.mjs} +42 -9
- package/dist/{chunk-XMGNMKWW.mjs → chunk-VMYV5EWI.mjs} +4 -3
- package/dist/{chunk-RKL4Y7CW.mjs → chunk-W7X5ZHJ3.mjs} +107 -5
- package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-RPWKAGN5.mjs → chunk-WYJ5WOT2.mjs} +29 -13
- package/dist/chunk-XFNHZ7SV.mjs +142 -0
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/chunk-Y2HO4IBQ.mjs +150 -0
- package/dist/{chunk-XJ5VGC5V.mjs → chunk-YJSWHGAR.mjs} +24 -10
- package/dist/{chunk-BHNBLQ5S.mjs → chunk-YSKG5FSX.mjs} +18 -20
- package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/{chunk-OKR3GRG5.mjs → chunk-Z4NJJ7NI.mjs} +65 -17
- package/dist/components/ActivityFeed.mjs +6 -6
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AreaChart.d.mts +6 -6
- package/dist/components/AreaChart.mjs +5 -5
- package/dist/components/AutoComplete.d.mts +30 -11
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/Avatar.mjs +2 -2
- package/dist/components/AvatarGroup.mjs +1 -1
- package/dist/components/BackTop.d.mts +30 -3
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.d.mts +10 -1
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.mjs +5 -5
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/Calendar.d.mts +16 -6
- package/dist/components/Calendar.mjs +2 -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/ChartLegend.mjs +1 -1
- package/dist/components/ChartTooltip.d.mts +4 -4
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +7 -7
- package/dist/components/ChatWindow.mjs +9 -7
- 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/CodeEditor.mjs +1 -1
- package/dist/components/ColorPicker.d.mts +4 -4
- package/dist/components/ColorSwatch.d.mts +5 -5
- package/dist/components/CommentThread.d.mts +5 -1
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/CronEditor.d.mts +1 -1
- package/dist/components/CropUpload.d.mts +13 -3
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.d.mts +214 -2
- package/dist/components/DataTableWithToolbar.mjs +11 -10
- package/dist/components/DatePicker.d.mts +13 -8
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/Descriptions.d.mts +7 -7
- package/dist/components/DonutChart.d.mts +17 -8
- package/dist/components/DonutChart.mjs +6 -6
- 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/Empty.d.mts +11 -1
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +19 -19
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.d.mts +34 -4
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.d.mts +8 -8
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.d.mts +4 -4
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.mjs +5 -5
- package/dist/components/Gantt.d.mts +1 -1
- package/dist/components/GaugeChart.d.mts +15 -0
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.mjs +3 -3
- package/dist/components/Icon.d.mts +1 -1
- package/dist/components/Image.mjs +4 -3
- package/dist/components/ImageAnnotation.d.mts +11 -1
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.d.mts +11 -0
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.d.mts +2 -2
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.d.mts +31 -10
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +6 -15
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.d.mts +6 -6
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputGroup.d.mts +6 -6
- package/dist/components/InputNumber.d.mts +26 -6
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +21 -1
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.mjs +5 -5
- package/dist/components/List.d.mts +7 -7
- package/dist/components/List.mjs +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Message.d.mts +4 -29
- package/dist/components/Message.mjs +139 -4
- package/dist/components/{Message.d.ts → MessageContainer.d.mts} +15 -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/NotificationCenter.mjs +4 -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/NumberKeyboard.d.mts +2 -2
- package/dist/components/OrgChart.d.mts +1 -1
- package/dist/components/PieChart.d.mts +9 -0
- package/dist/components/PieChart.mjs +5 -5
- package/dist/components/Popconfirm.mjs +2 -2
- package/dist/components/Popover.mjs +2 -2
- package/dist/components/Progress.d.mts +1 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.mjs +1 -1
- package/dist/components/RadarChart.mjs +5 -5
- 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/Rate.mjs +1 -1
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.mjs +5 -5
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/Segmented.d.mts +4 -4
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.d.mts +37 -36
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Signature.d.mts +1 -1
- package/dist/components/Slider.d.mts +7 -7
- package/dist/components/Slider.mjs +1 -1
- 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/Steps.d.mts +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/SunburstChart.mjs +5 -5
- 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 +6 -6
- package/dist/components/Tabs.d.mts +2 -0
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +13 -3
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +21 -1
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.d.mts +7 -7
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.d.mts +9 -9
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.mjs +1 -1
- package/dist/components/Tooltip.mjs +2 -2
- package/dist/components/Tour.d.mts +1 -3
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +50 -13
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.mjs +5 -5
- package/dist/components/TreeSelect.d.mts +32 -12
- package/dist/components/TreeSelect.mjs +1 -1
- package/dist/components/Upload.d.mts +1 -1
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.d.mts +11 -0
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +54 -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 +141 -274
- package/dist/index.mjs +2155 -826
- package/package.json +747 -17
- package/dist/chunk-24CBIC75.js +0 -468
- package/dist/chunk-2DC3BMED.js +0 -92
- package/dist/chunk-2MLORMN2.js +0 -736
- package/dist/chunk-2S5CNU36.js +0 -172
- package/dist/chunk-2VOZFFW6.js +0 -138
- package/dist/chunk-3QV2D54H.js +0 -207
- package/dist/chunk-3UQECWNL.mjs +0 -206
- package/dist/chunk-43BLH7DE.js +0 -166
- package/dist/chunk-44N7LE3Q.js +0 -568
- package/dist/chunk-54VVFMYI.js +0 -69
- package/dist/chunk-57MJTNDL.js +0 -128
- package/dist/chunk-5F6P5Y4K.js +0 -115
- package/dist/chunk-5PXTMXXS.js +0 -159
- package/dist/chunk-5UOAWXOQ.js +0 -243
- package/dist/chunk-5VSKQLK3.js +0 -693
- package/dist/chunk-67RSRWWY.js +0 -451
- package/dist/chunk-6FXYRDYH.js +0 -247
- package/dist/chunk-6WFFP4K2.mjs +0 -325
- package/dist/chunk-72DDCIVL.js +0 -68
- 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-A7FN3S4I.js +0 -150
- package/dist/chunk-ACYYQJ6M.js +0 -106
- package/dist/chunk-AP42636I.js +0 -98
- package/dist/chunk-BPAZBRCR.js +0 -150
- package/dist/chunk-BYNMOQBB.js +0 -313
- package/dist/chunk-BZBVSB43.js +0 -147
- package/dist/chunk-CGZPOI6H.js +0 -93
- package/dist/chunk-CTAQ5WEN.js +0 -95
- package/dist/chunk-CWNEDREV.js +0 -165
- package/dist/chunk-DE5WMG6P.js +0 -291
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-DUMPRNDR.js +0 -389
- package/dist/chunk-DYSLYJ2W.js +0 -92
- package/dist/chunk-DZXZ3YEL.js +0 -137
- package/dist/chunk-E36I27WK.js +0 -362
- package/dist/chunk-EIH6ABOR.js +0 -286
- package/dist/chunk-EJZBG5RT.js +0 -298
- 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-FGM7KB2Q.js +0 -681
- package/dist/chunk-FP7SBCPO.js +0 -253
- package/dist/chunk-FUI6WG2F.js +0 -757
- package/dist/chunk-G3SWTL27.js +0 -119
- package/dist/chunk-GY75BFAV.js +0 -547
- package/dist/chunk-HA5QZ76M.js +0 -143
- package/dist/chunk-HBFFINAI.js +0 -58
- package/dist/chunk-HMYVPBWI.js +0 -404
- package/dist/chunk-HZBE2RY4.js +0 -290
- package/dist/chunk-IXTYS3EK.js +0 -140
- package/dist/chunk-JCMGBKS6.js +0 -59
- package/dist/chunk-JCPTFBLY.js +0 -112
- package/dist/chunk-JKEF7NB3.js +0 -243
- package/dist/chunk-JKZ5ZRDG.js +0 -136
- package/dist/chunk-JTVFVAM3.js +0 -47
- package/dist/chunk-K2DJDJZR.js +0 -139
- package/dist/chunk-K3CIXMN4.js +0 -212
- package/dist/chunk-K6DYTMBE.js +0 -111
- package/dist/chunk-KA7DILCI.js +0 -649
- package/dist/chunk-KDA4XDXT.js +0 -67
- package/dist/chunk-KGDRA475.js +0 -119
- package/dist/chunk-KN64NDJS.js +0 -373
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-LG55VN6B.js +0 -383
- package/dist/chunk-LG6KGO5D.js +0 -161
- package/dist/chunk-LUBUJUSH.js +0 -45
- package/dist/chunk-LYF6AAQ7.js +0 -418
- package/dist/chunk-M2XA7VU5.js +0 -364
- package/dist/chunk-MQ23PX3S.js +0 -218
- package/dist/chunk-MSKAWM7K.js +0 -73
- package/dist/chunk-NCLUMDZB.js +0 -100
- package/dist/chunk-NCT5FXQB.js +0 -373
- package/dist/chunk-NEVDRG6C.js +0 -537
- package/dist/chunk-NHNJUBYZ.js +0 -819
- package/dist/chunk-NOZ65AMO.js +0 -106
- package/dist/chunk-NTZ7LQTY.js +0 -830
- package/dist/chunk-NUABW6IB.mjs +0 -98
- package/dist/chunk-ODQOYMUQ.js +0 -72
- package/dist/chunk-OTNVA2UT.js +0 -212
- package/dist/chunk-OUBJHKWX.js +0 -199
- package/dist/chunk-OXIODAJS.js +0 -192
- package/dist/chunk-PFWRFHSB.js +0 -164
- package/dist/chunk-PGOTPYRG.js +0 -141
- package/dist/chunk-PJ66WE62.js +0 -218
- package/dist/chunk-PQMZ3YN3.js +0 -110
- package/dist/chunk-QOMWROWE.js +0 -136
- package/dist/chunk-QUIRQ7OA.js +0 -422
- package/dist/chunk-QY6PYAJA.js +0 -194
- package/dist/chunk-QYSFZA5V.js +0 -353
- package/dist/chunk-QZQYKC2N.js +0 -231
- package/dist/chunk-RAUERIPS.js +0 -100
- package/dist/chunk-RBWJSHKR.js +0 -233
- package/dist/chunk-RKZN3URO.js +0 -181
- package/dist/chunk-RLPSCEBP.js +0 -736
- package/dist/chunk-RUXIQ5EP.js +0 -1811
- package/dist/chunk-SGXLMKMO.js +0 -123
- package/dist/chunk-SJIW7SNA.js +0 -530
- package/dist/chunk-SJSZHQWX.js +0 -486
- package/dist/chunk-SLYUQ67P.js +0 -372
- package/dist/chunk-SVWZOIBI.js +0 -483
- package/dist/chunk-SWOQMMOT.js +0 -60
- package/dist/chunk-SYTYUC67.js +0 -755
- package/dist/chunk-T4DF24UV.js +0 -114
- package/dist/chunk-T5N2UHVP.js +0 -283
- package/dist/chunk-TAAHD4R7.js +0 -398
- package/dist/chunk-TAU447CL.js +0 -306
- package/dist/chunk-TGHB5XST.js +0 -91
- package/dist/chunk-TLXEFLPA.js +0 -39
- package/dist/chunk-TXQEHRQB.js +0 -207
- package/dist/chunk-U36NBQWP.js +0 -192
- 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-ULUH6UNV.js +0 -238
- package/dist/chunk-UWZSTI3E.js +0 -393
- package/dist/chunk-VAXO5NEM.js +0 -320
- package/dist/chunk-VH2GDZBH.js +0 -284
- package/dist/chunk-VJ72Y54M.js +0 -241
- package/dist/chunk-W5DLRGQL.js +0 -296
- package/dist/chunk-WGRNO4PB.js +0 -342
- package/dist/chunk-WNYWWGNM.js +0 -394
- package/dist/chunk-WUEP3PFN.js +0 -445
- package/dist/chunk-WYVA3JBH.js +0 -206
- package/dist/chunk-X5CFXNVK.js +0 -246
- package/dist/chunk-X6FG4RPF.js +0 -367
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-XH4ZZ6KJ.js +0 -427
- 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-XZMU7B54.js +0 -230
- package/dist/chunk-Z6HBM73W.js +0 -158
- package/dist/chunk-Z6MMA7ZE.js +0 -360
- package/dist/chunk-ZHSXICH7.js +0 -264
- package/dist/chunk-ZMGNQKXL.js +0 -233
- package/dist/chunk-ZNVQ2OFX.js +0 -46
- package/dist/chunk-ZOUJFFG4.js +0 -93
- package/dist/chunk-ZQD2MCNX.mjs +0 -231
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
- 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 -107
- package/dist/components/Badge.js +0 -8
- 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 -68
- package/dist/components/Calendar.js +0 -8
- 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 -16
- 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 -221
- package/dist/components/CommentThread.js +0 -15
- 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 -97
- package/dist/components/CropUpload.js +0 -14
- package/dist/components/DataTableWithToolbar.d.ts +0 -366
- package/dist/components/DataTableWithToolbar.js +0 -22
- package/dist/components/DatePicker.d.ts +0 -328
- package/dist/components/DatePicker.js +0 -9
- 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 -323
- 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 -64
- package/dist/components/Empty.js +0 -8
- 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 -182
- package/dist/components/GaugeChart.js +0 -9
- 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 -13
- package/dist/components/ImageAnnotation.d.ts +0 -179
- package/dist/components/ImageAnnotation.js +0 -8
- package/dist/components/ImageCropper.d.ts +0 -105
- package/dist/components/ImageCropper.js +0 -8
- package/dist/components/ImageGroup.d.ts +0 -30
- package/dist/components/ImageGroup.js +0 -11
- package/dist/components/ImagePreview.d.ts +0 -97
- package/dist/components/ImagePreview.js +0 -8
- package/dist/components/ImageViewer.d.ts +0 -136
- 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 -8
- package/dist/components/InputGroup.d.ts +0 -77
- package/dist/components/InputGroup.js +0 -12
- package/dist/components/InputNumber.d.ts +0 -170
- package/dist/components/InputNumber.js +0 -8
- package/dist/components/Kanban.d.ts +0 -180
- 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 -296
- 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 -408
- package/dist/components/Tabs.js +0 -12
- package/dist/components/Tag.d.ts +0 -120
- package/dist/components/Tag.js +0 -8
- package/dist/components/TaskBoard.d.ts +0 -190
- 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 -8
- 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 -129
- package/dist/components/Tour.js +0 -10
- package/dist/components/Transfer.d.ts +0 -112
- 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 -78
- package/dist/components/VirtualList.js +0 -8
- package/dist/components/VirtualTable.d.ts +0 -166
- 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-R2HO74FE.mjs → chunk-PE5OA4YG.mjs} +0 -0
package/dist/chunk-FUI6WG2F.js
DELETED
|
@@ -1,757 +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 _chunkACYYQJ6Mjs = require('./chunk-ACYYQJ6M.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _chunkHBFFINAIjs = require('./chunk-HBFFINAI.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkZOUJFFG4js = require('./chunk-ZOUJFFG4.js');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var _chunkUHVUKLHFjs = require('./chunk-UHVUKLHF.js');
|
|
16
|
-
|
|
17
|
-
// src/components/RadarChart.ts
|
|
18
|
-
var _vue = require('vue');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
39
|
-
var RadarChart = _vue.defineComponent.call(void 0, {
|
|
40
|
-
name: "TigerRadarChart",
|
|
41
|
-
props: {
|
|
42
|
-
width: {
|
|
43
|
-
type: Number,
|
|
44
|
-
default: 320
|
|
45
|
-
},
|
|
46
|
-
height: {
|
|
47
|
-
type: Number,
|
|
48
|
-
default: 200
|
|
49
|
-
},
|
|
50
|
-
padding: {
|
|
51
|
-
type: [Number, Object],
|
|
52
|
-
default: 24
|
|
53
|
-
},
|
|
54
|
-
data: {
|
|
55
|
-
type: Array
|
|
56
|
-
},
|
|
57
|
-
series: {
|
|
58
|
-
type: Array
|
|
59
|
-
},
|
|
60
|
-
maxValue: {
|
|
61
|
-
type: Number
|
|
62
|
-
},
|
|
63
|
-
startAngle: {
|
|
64
|
-
type: Number,
|
|
65
|
-
default: -Math.PI / 2
|
|
66
|
-
},
|
|
67
|
-
levels: {
|
|
68
|
-
type: Number,
|
|
69
|
-
default: 5
|
|
70
|
-
},
|
|
71
|
-
showLevelLabels: {
|
|
72
|
-
type: Boolean,
|
|
73
|
-
default: false
|
|
74
|
-
},
|
|
75
|
-
showGrid: {
|
|
76
|
-
type: Boolean,
|
|
77
|
-
default: true
|
|
78
|
-
},
|
|
79
|
-
showAxis: {
|
|
80
|
-
type: Boolean,
|
|
81
|
-
default: true
|
|
82
|
-
},
|
|
83
|
-
showLabels: {
|
|
84
|
-
type: Boolean,
|
|
85
|
-
default: true
|
|
86
|
-
},
|
|
87
|
-
labelOffset: {
|
|
88
|
-
type: Number,
|
|
89
|
-
default: 12
|
|
90
|
-
},
|
|
91
|
-
labelFormatter: {
|
|
92
|
-
type: Function
|
|
93
|
-
},
|
|
94
|
-
levelLabelFormatter: {
|
|
95
|
-
type: Function
|
|
96
|
-
},
|
|
97
|
-
levelLabelOffset: {
|
|
98
|
-
type: Number,
|
|
99
|
-
default: 8
|
|
100
|
-
},
|
|
101
|
-
hoverable: {
|
|
102
|
-
type: Boolean,
|
|
103
|
-
default: false
|
|
104
|
-
},
|
|
105
|
-
hoveredIndex: {
|
|
106
|
-
type: Number,
|
|
107
|
-
default: void 0
|
|
108
|
-
},
|
|
109
|
-
activeOpacity: {
|
|
110
|
-
type: Number,
|
|
111
|
-
default: 1
|
|
112
|
-
},
|
|
113
|
-
inactiveOpacity: {
|
|
114
|
-
type: Number,
|
|
115
|
-
default: 0.25
|
|
116
|
-
},
|
|
117
|
-
selectable: {
|
|
118
|
-
type: Boolean,
|
|
119
|
-
default: false
|
|
120
|
-
},
|
|
121
|
-
selectedIndex: {
|
|
122
|
-
type: Number,
|
|
123
|
-
default: void 0
|
|
124
|
-
},
|
|
125
|
-
showLegend: {
|
|
126
|
-
type: Boolean,
|
|
127
|
-
default: false
|
|
128
|
-
},
|
|
129
|
-
legendPosition: {
|
|
130
|
-
type: String,
|
|
131
|
-
default: "bottom"
|
|
132
|
-
},
|
|
133
|
-
legendFormatter: {
|
|
134
|
-
type: Function
|
|
135
|
-
},
|
|
136
|
-
legendMarkerSize: {
|
|
137
|
-
type: Number,
|
|
138
|
-
default: 10
|
|
139
|
-
},
|
|
140
|
-
legendGap: {
|
|
141
|
-
type: Number,
|
|
142
|
-
default: 8
|
|
143
|
-
},
|
|
144
|
-
showTooltip: {
|
|
145
|
-
type: Boolean,
|
|
146
|
-
default: true
|
|
147
|
-
},
|
|
148
|
-
tooltipFormatter: {
|
|
149
|
-
type: Function
|
|
150
|
-
},
|
|
151
|
-
colors: {
|
|
152
|
-
type: Array
|
|
153
|
-
},
|
|
154
|
-
gridLineStyle: {
|
|
155
|
-
type: String,
|
|
156
|
-
default: "solid"
|
|
157
|
-
},
|
|
158
|
-
gridStrokeWidth: {
|
|
159
|
-
type: Number,
|
|
160
|
-
default: 1
|
|
161
|
-
},
|
|
162
|
-
strokeColor: {
|
|
163
|
-
type: String
|
|
164
|
-
},
|
|
165
|
-
strokeWidth: {
|
|
166
|
-
type: Number,
|
|
167
|
-
default: 2
|
|
168
|
-
},
|
|
169
|
-
fillColor: {
|
|
170
|
-
type: String
|
|
171
|
-
},
|
|
172
|
-
fillOpacity: {
|
|
173
|
-
type: Number,
|
|
174
|
-
default: 0.2
|
|
175
|
-
},
|
|
176
|
-
showPoints: {
|
|
177
|
-
type: Boolean,
|
|
178
|
-
default: true
|
|
179
|
-
},
|
|
180
|
-
pointSize: {
|
|
181
|
-
type: Number,
|
|
182
|
-
default: 3
|
|
183
|
-
},
|
|
184
|
-
pointColor: {
|
|
185
|
-
type: String
|
|
186
|
-
},
|
|
187
|
-
gridShape: {
|
|
188
|
-
type: String,
|
|
189
|
-
default: "polygon"
|
|
190
|
-
},
|
|
191
|
-
showSplitArea: {
|
|
192
|
-
type: Boolean,
|
|
193
|
-
default: false
|
|
194
|
-
},
|
|
195
|
-
gradient: {
|
|
196
|
-
type: Boolean,
|
|
197
|
-
default: false
|
|
198
|
-
},
|
|
199
|
-
strokeGradient: {
|
|
200
|
-
type: Boolean,
|
|
201
|
-
default: false
|
|
202
|
-
},
|
|
203
|
-
pointGradient: {
|
|
204
|
-
type: Boolean,
|
|
205
|
-
default: false
|
|
206
|
-
},
|
|
207
|
-
splitAreaOpacity: {
|
|
208
|
-
type: Number,
|
|
209
|
-
default: 0.06
|
|
210
|
-
},
|
|
211
|
-
splitAreaColors: {
|
|
212
|
-
type: Array
|
|
213
|
-
},
|
|
214
|
-
pointBorderWidth: {
|
|
215
|
-
type: Number,
|
|
216
|
-
default: 2
|
|
217
|
-
},
|
|
218
|
-
pointBorderColor: {
|
|
219
|
-
type: String,
|
|
220
|
-
default: "var(--tiger-surface,#ffffff)"
|
|
221
|
-
},
|
|
222
|
-
pointHoverSize: {
|
|
223
|
-
type: Number,
|
|
224
|
-
default: void 0
|
|
225
|
-
},
|
|
226
|
-
labelAutoAlign: {
|
|
227
|
-
type: Boolean,
|
|
228
|
-
default: true
|
|
229
|
-
},
|
|
230
|
-
title: {
|
|
231
|
-
type: String
|
|
232
|
-
},
|
|
233
|
-
desc: {
|
|
234
|
-
type: String
|
|
235
|
-
},
|
|
236
|
-
className: {
|
|
237
|
-
type: String
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
emits: ["update:hoveredIndex", "update:selectedIndex", "series-click", "series-hover"],
|
|
241
|
-
setup(props, { emit }) {
|
|
242
|
-
const gradientPrefix = _tigercatcore.getStableChartGradientPrefix.call(void 0, "radar", _vue.useId.call(void 0, ));
|
|
243
|
-
const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
|
|
244
|
-
const radius = _vue.computed.call(void 0,
|
|
245
|
-
() => Math.max(0, Math.min(innerRect.value.width, innerRect.value.height) / 2)
|
|
246
|
-
);
|
|
247
|
-
const cx = _vue.computed.call(void 0, () => innerRect.value.width / 2);
|
|
248
|
-
const cy = _vue.computed.call(void 0, () => innerRect.value.height / 2);
|
|
249
|
-
const resolvedSeries = _vue.computed.call(void 0,
|
|
250
|
-
() => _tigercatcore.resolveSeriesData.call(void 0, props.series, props.data, {
|
|
251
|
-
data: []
|
|
252
|
-
})
|
|
253
|
-
);
|
|
254
|
-
const seriesKeys = _vue.computed.call(void 0,
|
|
255
|
-
() => _tigercatcore.buildChartSeriesKeys.call(void 0, resolvedSeries.value, { prefix: "radar-" })
|
|
256
|
-
);
|
|
257
|
-
const {
|
|
258
|
-
resolvedHoveredIndex: _resolvedHoveredIndex,
|
|
259
|
-
resolvedSelectedIndex: _resolvedSelectedIndex,
|
|
260
|
-
activeIndex: resolvedActiveIndex,
|
|
261
|
-
tooltipPosition,
|
|
262
|
-
handleMouseEnter: handleHoverEnter,
|
|
263
|
-
handleMouseMove,
|
|
264
|
-
handleMouseLeave: handleHoverLeave,
|
|
265
|
-
handleClick: handleSelectIndex,
|
|
266
|
-
handleLegendClick,
|
|
267
|
-
handleLegendHover,
|
|
268
|
-
handleLegendLeave,
|
|
269
|
-
wrapperClasses
|
|
270
|
-
} = _chunk2VOZFFW6js.useChartInteraction.call(void 0, {
|
|
271
|
-
hoverable: _vue.computed.call(void 0, () => props.hoverable),
|
|
272
|
-
hoveredIndexProp: () => props.hoveredIndex,
|
|
273
|
-
selectable: _vue.computed.call(void 0, () => props.selectable),
|
|
274
|
-
selectedIndexProp: () => props.selectedIndex,
|
|
275
|
-
activeOpacity: _vue.computed.call(void 0, () => props.activeOpacity),
|
|
276
|
-
inactiveOpacity: _vue.computed.call(void 0, () => props.inactiveOpacity),
|
|
277
|
-
legendPosition: _vue.computed.call(void 0, () => props.legendPosition),
|
|
278
|
-
emit,
|
|
279
|
-
getData: (index) => resolvedSeries.value[index],
|
|
280
|
-
eventNames: {
|
|
281
|
-
hover: "series-hover",
|
|
282
|
-
click: "series-click"
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
const hoveredPoint = _vue.ref.call(void 0, null);
|
|
286
|
-
const handlePointEnter = (seriesIndex, pointIndex, event) => {
|
|
287
|
-
if (!props.hoverable) return;
|
|
288
|
-
hoveredPoint.value = { seriesIndex, pointIndex };
|
|
289
|
-
handleHoverEnter(seriesIndex, event);
|
|
290
|
-
};
|
|
291
|
-
const handlePointMove = (event) => {
|
|
292
|
-
handleMouseMove(event);
|
|
293
|
-
};
|
|
294
|
-
const handlePointLeave = () => {
|
|
295
|
-
hoveredPoint.value = null;
|
|
296
|
-
handleHoverLeave();
|
|
297
|
-
};
|
|
298
|
-
const axisData = _vue.computed.call(void 0, () => {
|
|
299
|
-
if (props.series && props.series.length > 0) return _nullishCoalesce(_optionalChain([props, 'access', _2 => _2.series, 'access', _3 => _3[0], 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
300
|
-
return _nullishCoalesce(props.data, () => ( []));
|
|
301
|
-
});
|
|
302
|
-
const resolvedMaxValue = _vue.computed.call(void 0, () => {
|
|
303
|
-
if (typeof props.maxValue === "number") return Math.max(0, props.maxValue);
|
|
304
|
-
const values = resolvedSeries.value.flatMap((item) => item.data.map((datum) => datum.value));
|
|
305
|
-
const computedMax = values.length > 0 ? Math.max(...values) : 0;
|
|
306
|
-
return computedMax > 0 ? computedMax : 1;
|
|
307
|
-
});
|
|
308
|
-
const angles = _vue.computed.call(void 0, () => _tigercatcore.getRadarAngles.call(void 0, axisData.value.length, props.startAngle));
|
|
309
|
-
const seriesPoints = _vue.computed.call(void 0,
|
|
310
|
-
() => resolvedSeries.value.map((item, seriesIndex) => ({
|
|
311
|
-
series: item,
|
|
312
|
-
seriesKey: seriesKeys.value[seriesIndex],
|
|
313
|
-
points: _tigercatcore.getRadarPoints.call(void 0, item.data, {
|
|
314
|
-
cx: cx.value,
|
|
315
|
-
cy: cy.value,
|
|
316
|
-
radius: radius.value,
|
|
317
|
-
startAngle: props.startAngle,
|
|
318
|
-
maxValue: resolvedMaxValue.value
|
|
319
|
-
})
|
|
320
|
-
}))
|
|
321
|
-
);
|
|
322
|
-
const gridPaths = _vue.computed.call(void 0, () => {
|
|
323
|
-
if (!props.showGrid || angles.value.length === 0) return [];
|
|
324
|
-
const resolvedLevels = Math.max(1, Math.floor(props.levels));
|
|
325
|
-
return Array.from({ length: resolvedLevels }, (_, index) => {
|
|
326
|
-
const levelRadius = radius.value * ((index + 1) / resolvedLevels);
|
|
327
|
-
if (props.gridShape === "circle") {
|
|
328
|
-
return { type: "circle", cx: cx.value, cy: cy.value, r: levelRadius };
|
|
329
|
-
}
|
|
330
|
-
const ringPoints = angles.value.map(
|
|
331
|
-
(angle) => _tigercatcore.polarToCartesian.call(void 0, cx.value, cy.value, levelRadius, angle)
|
|
332
|
-
);
|
|
333
|
-
return {
|
|
334
|
-
type: "polygon",
|
|
335
|
-
d: _tigercatcore.createPolygonPath.call(void 0, ringPoints),
|
|
336
|
-
cx: cx.value,
|
|
337
|
-
cy: cy.value,
|
|
338
|
-
r: levelRadius
|
|
339
|
-
};
|
|
340
|
-
});
|
|
341
|
-
});
|
|
342
|
-
const splitAreaPaths = _vue.computed.call(void 0, () => {
|
|
343
|
-
if (!props.showSplitArea || angles.value.length === 0) return [];
|
|
344
|
-
const resolvedLevels = Math.max(1, Math.floor(props.levels));
|
|
345
|
-
const areaColors = props.splitAreaColors && props.splitAreaColors.length > 0 ? props.splitAreaColors : _tigercatcore.RADAR_SPLIT_AREA_COLORS;
|
|
346
|
-
return Array.from({ length: resolvedLevels }, (_, index) => {
|
|
347
|
-
const outerIndex = resolvedLevels - 1 - index;
|
|
348
|
-
const outerRadius = radius.value * ((outerIndex + 1) / resolvedLevels);
|
|
349
|
-
const innerRadius = radius.value * (outerIndex / resolvedLevels);
|
|
350
|
-
const color = areaColors[outerIndex % areaColors.length];
|
|
351
|
-
if (props.gridShape === "circle") {
|
|
352
|
-
return {
|
|
353
|
-
type: "circle-ring",
|
|
354
|
-
cx: cx.value,
|
|
355
|
-
cy: cy.value,
|
|
356
|
-
outerRadius,
|
|
357
|
-
innerRadius,
|
|
358
|
-
color
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
const outerPoints = angles.value.map(
|
|
362
|
-
(angle) => _tigercatcore.polarToCartesian.call(void 0, cx.value, cy.value, outerRadius, angle)
|
|
363
|
-
);
|
|
364
|
-
const innerPoints = outerIndex > 0 ? angles.value.map((angle) => _tigercatcore.polarToCartesian.call(void 0, cx.value, cy.value, innerRadius, angle)) : [];
|
|
365
|
-
return { type: "polygon-ring", outerPoints, innerPoints, color };
|
|
366
|
-
});
|
|
367
|
-
});
|
|
368
|
-
const axisLines = _vue.computed.call(void 0, () => {
|
|
369
|
-
if (!props.showAxis || angles.value.length === 0) return [];
|
|
370
|
-
return angles.value.map((angle) => {
|
|
371
|
-
const end = _tigercatcore.polarToCartesian.call(void 0, cx.value, cy.value, radius.value, angle);
|
|
372
|
-
return {
|
|
373
|
-
x1: cx.value,
|
|
374
|
-
y1: cy.value,
|
|
375
|
-
x2: end.x,
|
|
376
|
-
y2: end.y
|
|
377
|
-
};
|
|
378
|
-
});
|
|
379
|
-
});
|
|
380
|
-
const labels = _vue.computed.call(void 0, () => {
|
|
381
|
-
if (!props.showLabels || angles.value.length === 0) return [];
|
|
382
|
-
const formatLabel = _nullishCoalesce(props.labelFormatter, () => ( ((datum) => _nullishCoalesce(datum.label, () => ( `${datum.value}`)))));
|
|
383
|
-
return axisData.value.map((datum, index) => {
|
|
384
|
-
const angle = angles.value[index];
|
|
385
|
-
const position = _tigercatcore.polarToCartesian.call(void 0,
|
|
386
|
-
cx.value,
|
|
387
|
-
cy.value,
|
|
388
|
-
radius.value + props.labelOffset,
|
|
389
|
-
angle
|
|
390
|
-
);
|
|
391
|
-
const align = props.labelAutoAlign ? _tigercatcore.getRadarLabelAlign.call(void 0, angle) : { textAnchor: "middle", dominantBaseline: "middle" };
|
|
392
|
-
return {
|
|
393
|
-
x: position.x,
|
|
394
|
-
y: position.y,
|
|
395
|
-
text: formatLabel(datum, index),
|
|
396
|
-
textAnchor: align.textAnchor,
|
|
397
|
-
dominantBaseline: align.dominantBaseline
|
|
398
|
-
};
|
|
399
|
-
});
|
|
400
|
-
});
|
|
401
|
-
const levelLabels = _vue.computed.call(void 0, () => {
|
|
402
|
-
if (!props.showLevelLabels || !props.showGrid || angles.value.length === 0) return [];
|
|
403
|
-
const resolvedLevels = Math.max(1, Math.floor(props.levels));
|
|
404
|
-
const formatLevel = _nullishCoalesce(props.levelLabelFormatter, () => ( ((value) => `${value}`)));
|
|
405
|
-
return Array.from({ length: resolvedLevels }, (_, index) => {
|
|
406
|
-
const ratio = (index + 1) / resolvedLevels;
|
|
407
|
-
const value = resolvedMaxValue.value * ratio;
|
|
408
|
-
const position = _tigercatcore.polarToCartesian.call(void 0,
|
|
409
|
-
cx.value,
|
|
410
|
-
cy.value,
|
|
411
|
-
radius.value * ratio + props.levelLabelOffset,
|
|
412
|
-
props.startAngle
|
|
413
|
-
);
|
|
414
|
-
return {
|
|
415
|
-
x: position.x,
|
|
416
|
-
y: position.y,
|
|
417
|
-
text: formatLevel(value, index)
|
|
418
|
-
};
|
|
419
|
-
});
|
|
420
|
-
});
|
|
421
|
-
const dasharray = _vue.computed.call(void 0, () => _tigercatcore.getChartGridLineDasharray.call(void 0, props.gridLineStyle));
|
|
422
|
-
const palette = _vue.computed.call(void 0, () => _tigercatcore.resolveChartPalette.call(void 0, props.colors));
|
|
423
|
-
const tooltipContent = _vue.computed.call(void 0,
|
|
424
|
-
() => _tigercatcore.resolveMultiSeriesTooltipContent.call(void 0,
|
|
425
|
-
hoveredPoint.value,
|
|
426
|
-
resolvedSeries.value,
|
|
427
|
-
props.tooltipFormatter,
|
|
428
|
-
_tigercatcore.defaultRadarTooltipFormatter
|
|
429
|
-
)
|
|
430
|
-
);
|
|
431
|
-
const legendItems = _vue.computed.call(void 0,
|
|
432
|
-
() => _tigercatcore.buildChartLegendItems.call(void 0, {
|
|
433
|
-
data: resolvedSeries.value,
|
|
434
|
-
palette: palette.value,
|
|
435
|
-
activeIndex: resolvedActiveIndex.value,
|
|
436
|
-
getLabel: (s, i) => props.legendFormatter ? props.legendFormatter(s, i) : _nullishCoalesce(s.name, () => ( `Series ${i + 1}`)),
|
|
437
|
-
getColor: (s, i) => _nullishCoalesce(s.color, () => ( palette.value[i % palette.value.length]))
|
|
438
|
-
})
|
|
439
|
-
);
|
|
440
|
-
return () => {
|
|
441
|
-
const chart = _vue.h.call(void 0,
|
|
442
|
-
_chunkUHVUKLHFjs.ChartCanvas,
|
|
443
|
-
{
|
|
444
|
-
width: props.width,
|
|
445
|
-
height: props.height,
|
|
446
|
-
padding: props.padding,
|
|
447
|
-
title: props.title,
|
|
448
|
-
desc: props.desc,
|
|
449
|
-
className: _tigercatcore.classNames.call(void 0, props.className)
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
default: () => [
|
|
453
|
-
// Gradient defs for area fills
|
|
454
|
-
props.gradient || props.strokeGradient || props.pointGradient ? _vue.h.call(void 0, "defs", null, [
|
|
455
|
-
...props.gradient ? seriesPoints.value.map((item, seriesIndex) => {
|
|
456
|
-
const seriesColor = _nullishCoalesce(item.series.color, () => ( palette.value[seriesIndex % palette.value.length]));
|
|
457
|
-
const resolvedFillColor = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(item.series.fillColor, () => ( seriesColor)), () => ( props.fillColor)), () => ( palette.value[0]));
|
|
458
|
-
const resolvedFillOpacity = _nullishCoalesce(item.series.fillOpacity, () => ( props.fillOpacity));
|
|
459
|
-
return _vue.h.call(void 0,
|
|
460
|
-
"linearGradient",
|
|
461
|
-
{
|
|
462
|
-
key: `radar-grad-${item.seriesKey}`,
|
|
463
|
-
id: `${gradientPrefix}-${item.seriesKey}`,
|
|
464
|
-
x1: "0",
|
|
465
|
-
y1: "0",
|
|
466
|
-
x2: "0",
|
|
467
|
-
y2: "1"
|
|
468
|
-
},
|
|
469
|
-
[
|
|
470
|
-
_vue.h.call(void 0, "stop", {
|
|
471
|
-
offset: "0%",
|
|
472
|
-
"stop-color": resolvedFillColor,
|
|
473
|
-
"stop-opacity": resolvedFillOpacity
|
|
474
|
-
}),
|
|
475
|
-
_vue.h.call(void 0, "stop", {
|
|
476
|
-
offset: "100%",
|
|
477
|
-
"stop-color": resolvedFillColor,
|
|
478
|
-
"stop-opacity": 0.02
|
|
479
|
-
})
|
|
480
|
-
]
|
|
481
|
-
);
|
|
482
|
-
}) : [],
|
|
483
|
-
...props.strokeGradient ? seriesPoints.value.map((item, seriesIndex) => {
|
|
484
|
-
const seriesColor = _nullishCoalesce(item.series.color, () => ( palette.value[seriesIndex % palette.value.length]));
|
|
485
|
-
const resolvedStrokeColor = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(item.series.strokeColor, () => ( seriesColor)), () => ( props.strokeColor)), () => ( palette.value[0]));
|
|
486
|
-
return _vue.h.call(void 0,
|
|
487
|
-
"linearGradient",
|
|
488
|
-
{
|
|
489
|
-
key: `radar-stroke-grad-${item.seriesKey}`,
|
|
490
|
-
id: `${gradientPrefix}-stroke-${item.seriesKey}`,
|
|
491
|
-
x1: "0",
|
|
492
|
-
y1: "0",
|
|
493
|
-
x2: "0",
|
|
494
|
-
y2: "1"
|
|
495
|
-
},
|
|
496
|
-
[
|
|
497
|
-
_vue.h.call(void 0, "stop", {
|
|
498
|
-
offset: "0%",
|
|
499
|
-
"stop-color": `color-mix(in oklab, ${resolvedStrokeColor} 100%, white 12%)`
|
|
500
|
-
}),
|
|
501
|
-
_vue.h.call(void 0, "stop", {
|
|
502
|
-
offset: "50%",
|
|
503
|
-
"stop-color": resolvedStrokeColor
|
|
504
|
-
}),
|
|
505
|
-
_vue.h.call(void 0, "stop", {
|
|
506
|
-
offset: "100%",
|
|
507
|
-
"stop-color": `color-mix(in oklab, ${resolvedStrokeColor} 100%, black 8%)`
|
|
508
|
-
})
|
|
509
|
-
]
|
|
510
|
-
);
|
|
511
|
-
}) : [],
|
|
512
|
-
...props.pointGradient ? seriesPoints.value.map((item, seriesIndex) => {
|
|
513
|
-
const seriesColor = _nullishCoalesce(item.series.color, () => ( palette.value[seriesIndex % palette.value.length]));
|
|
514
|
-
const resolvedPointColor = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(item.series.pointColor, () => ( seriesColor)), () => ( props.pointColor)), () => ( palette.value[0]));
|
|
515
|
-
return _vue.h.call(void 0,
|
|
516
|
-
"radialGradient",
|
|
517
|
-
{
|
|
518
|
-
key: `radar-point-grad-${item.seriesKey}`,
|
|
519
|
-
id: `${gradientPrefix}-point-${item.seriesKey}`,
|
|
520
|
-
cx: "0.5",
|
|
521
|
-
cy: "0.5",
|
|
522
|
-
r: "0.5"
|
|
523
|
-
},
|
|
524
|
-
[
|
|
525
|
-
_vue.h.call(void 0, "stop", {
|
|
526
|
-
offset: "0%",
|
|
527
|
-
"stop-color": `color-mix(in oklab, ${resolvedPointColor} 100%, white 30%)`
|
|
528
|
-
}),
|
|
529
|
-
_vue.h.call(void 0, "stop", {
|
|
530
|
-
offset: "70%",
|
|
531
|
-
"stop-color": resolvedPointColor
|
|
532
|
-
}),
|
|
533
|
-
_vue.h.call(void 0, "stop", {
|
|
534
|
-
offset: "100%",
|
|
535
|
-
"stop-color": `color-mix(in oklab, ${resolvedPointColor} 100%, black 12%)`
|
|
536
|
-
})
|
|
537
|
-
]
|
|
538
|
-
);
|
|
539
|
-
}) : []
|
|
540
|
-
]) : null,
|
|
541
|
-
// Split area (alternating fills – ECharts splitArea style)
|
|
542
|
-
...splitAreaPaths.value.map((area, index) => {
|
|
543
|
-
if (area.type === "circle-ring") {
|
|
544
|
-
return _vue.h.call(void 0, "g", { key: `split-${index}` }, [
|
|
545
|
-
_vue.h.call(void 0, "circle", {
|
|
546
|
-
cx: area.cx,
|
|
547
|
-
cy: area.cy,
|
|
548
|
-
r: area.outerRadius,
|
|
549
|
-
fill: area.color,
|
|
550
|
-
"fill-opacity": props.splitAreaOpacity,
|
|
551
|
-
stroke: "none",
|
|
552
|
-
"data-radar-split-area": "true"
|
|
553
|
-
}),
|
|
554
|
-
area.innerRadius > 0 ? _vue.h.call(void 0, "circle", {
|
|
555
|
-
cx: area.cx,
|
|
556
|
-
cy: area.cy,
|
|
557
|
-
r: area.innerRadius,
|
|
558
|
-
fill: "var(--tiger-bg,#fff)",
|
|
559
|
-
stroke: "none"
|
|
560
|
-
}) : null
|
|
561
|
-
]);
|
|
562
|
-
}
|
|
563
|
-
const outerPath = _tigercatcore.createPolygonPath.call(void 0, area.outerPoints);
|
|
564
|
-
return _vue.h.call(void 0, "g", { key: `split-${index}` }, [
|
|
565
|
-
outerPath ? _vue.h.call(void 0, "path", {
|
|
566
|
-
d: outerPath,
|
|
567
|
-
fill: area.color,
|
|
568
|
-
"fill-opacity": props.splitAreaOpacity,
|
|
569
|
-
stroke: "none",
|
|
570
|
-
"data-radar-split-area": "true"
|
|
571
|
-
}) : null,
|
|
572
|
-
area.innerPoints.length > 0 ? _vue.h.call(void 0, "path", {
|
|
573
|
-
d: _tigercatcore.createPolygonPath.call(void 0, area.innerPoints),
|
|
574
|
-
fill: "var(--tiger-bg,#fff)",
|
|
575
|
-
stroke: "none"
|
|
576
|
-
}) : null
|
|
577
|
-
]);
|
|
578
|
-
}),
|
|
579
|
-
// Grid lines
|
|
580
|
-
...gridPaths.value.map(
|
|
581
|
-
(grid, index) => grid.type === "circle" ? _vue.h.call(void 0, "circle", {
|
|
582
|
-
key: `grid-${index}`,
|
|
583
|
-
cx: grid.cx,
|
|
584
|
-
cy: grid.cy,
|
|
585
|
-
r: grid.r,
|
|
586
|
-
class: _tigercatcore.chartGridLineClasses,
|
|
587
|
-
fill: "none",
|
|
588
|
-
"stroke-width": props.gridStrokeWidth,
|
|
589
|
-
"stroke-dasharray": dasharray.value
|
|
590
|
-
}) : _vue.h.call(void 0, "path", {
|
|
591
|
-
key: `grid-${index}`,
|
|
592
|
-
d: grid.d,
|
|
593
|
-
class: _tigercatcore.chartGridLineClasses,
|
|
594
|
-
fill: "none",
|
|
595
|
-
"stroke-width": props.gridStrokeWidth,
|
|
596
|
-
"stroke-dasharray": dasharray.value
|
|
597
|
-
})
|
|
598
|
-
),
|
|
599
|
-
...axisLines.value.map(
|
|
600
|
-
(line, index) => _vue.h.call(void 0, "line", {
|
|
601
|
-
key: `axis-${index}`,
|
|
602
|
-
x1: line.x1,
|
|
603
|
-
y1: line.y1,
|
|
604
|
-
x2: line.x2,
|
|
605
|
-
y2: line.y2,
|
|
606
|
-
class: _tigercatcore.chartGridLineClasses,
|
|
607
|
-
"stroke-width": props.gridStrokeWidth,
|
|
608
|
-
"stroke-dasharray": dasharray.value
|
|
609
|
-
})
|
|
610
|
-
),
|
|
611
|
-
...seriesPoints.value.map((item, seriesIndex) => {
|
|
612
|
-
const seriesColor = _nullishCoalesce(item.series.color, () => ( palette.value[seriesIndex % palette.value.length]));
|
|
613
|
-
const resolvedStrokeColor = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(item.series.strokeColor, () => ( seriesColor)), () => ( props.strokeColor)), () => ( palette.value[0]));
|
|
614
|
-
const resolvedFillColor = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(item.series.fillColor, () => ( seriesColor)), () => ( props.fillColor)), () => ( palette.value[0]));
|
|
615
|
-
const resolvedFillOpacity = _nullishCoalesce(item.series.fillOpacity, () => ( props.fillOpacity));
|
|
616
|
-
const resolvedStrokeWidth = _nullishCoalesce(item.series.strokeWidth, () => ( props.strokeWidth));
|
|
617
|
-
const resolvedShowPoints = _nullishCoalesce(item.series.showPoints, () => ( props.showPoints));
|
|
618
|
-
const resolvedPointSize = _nullishCoalesce(item.series.pointSize, () => ( props.pointSize));
|
|
619
|
-
const resolvedPointColor = _nullishCoalesce(_nullishCoalesce(item.series.pointColor, () => ( seriesColor)), () => ( props.pointColor));
|
|
620
|
-
const areaPath = _tigercatcore.createPolygonPath.call(void 0,
|
|
621
|
-
item.points.map((point) => ({ x: point.x, y: point.y }))
|
|
622
|
-
);
|
|
623
|
-
const resolvedOpacity = resolvedActiveIndex.value === null ? void 0 : seriesIndex === resolvedActiveIndex.value ? props.activeOpacity : props.inactiveOpacity;
|
|
624
|
-
return _vue.h.call(void 0,
|
|
625
|
-
_chunkHBFFINAIjs.ChartSeries,
|
|
626
|
-
{
|
|
627
|
-
key: item.seriesKey,
|
|
628
|
-
data: item.series.data,
|
|
629
|
-
name: item.series.name,
|
|
630
|
-
type: "radar",
|
|
631
|
-
"data-series-key": item.seriesKey,
|
|
632
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
633
|
-
item.series.className,
|
|
634
|
-
props.hoverable || props.selectable ? "cursor-pointer" : null
|
|
635
|
-
),
|
|
636
|
-
opacity: resolvedOpacity,
|
|
637
|
-
onMouseenter: props.hoverable ? (e) => handleHoverEnter(seriesIndex, e) : void 0,
|
|
638
|
-
onMouseleave: props.hoverable ? handleHoverLeave : void 0,
|
|
639
|
-
onClick: props.selectable ? () => handleSelectIndex(seriesIndex) : void 0,
|
|
640
|
-
tabindex: props.selectable ? 0 : void 0,
|
|
641
|
-
onKeydown: (event) => {
|
|
642
|
-
if (!props.selectable) return;
|
|
643
|
-
if (event.key !== "Enter" && event.key !== " ") return;
|
|
644
|
-
event.preventDefault();
|
|
645
|
-
handleSelectIndex(seriesIndex);
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
default: () => [
|
|
650
|
-
areaPath ? _vue.h.call(void 0, "path", {
|
|
651
|
-
d: areaPath,
|
|
652
|
-
fill: props.gradient ? `url(#${gradientPrefix}-${item.seriesKey})` : resolvedFillColor,
|
|
653
|
-
"fill-opacity": props.gradient ? 1 : resolvedFillOpacity,
|
|
654
|
-
stroke: props.strokeGradient ? `url(#${gradientPrefix}-stroke-${item.seriesKey})` : resolvedStrokeColor,
|
|
655
|
-
"stroke-width": resolvedStrokeWidth,
|
|
656
|
-
"stroke-linejoin": "round",
|
|
657
|
-
class: "transition-[fill-opacity,filter] duration-200 ease-out",
|
|
658
|
-
style: resolvedActiveIndex.value === seriesIndex ? { filter: "drop-shadow(0 2px 6px rgba(0,0,0,0.15))" } : void 0,
|
|
659
|
-
"data-radar-area": "true",
|
|
660
|
-
"data-series-index": seriesIndex,
|
|
661
|
-
"data-series-key": item.seriesKey
|
|
662
|
-
}) : null,
|
|
663
|
-
resolvedShowPoints ? item.points.map((point) => {
|
|
664
|
-
const isHoveredPoint = _optionalChain([hoveredPoint, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.seriesIndex]) === seriesIndex && _optionalChain([hoveredPoint, 'access', _7 => _7.value, 'optionalAccess', _8 => _8.pointIndex]) === point.index;
|
|
665
|
-
const hoverSize = _nullishCoalesce(props.pointHoverSize, () => ( resolvedPointSize + 2));
|
|
666
|
-
const currentSize = isHoveredPoint ? hoverSize : _nullishCoalesce(point.data.size, () => ( resolvedPointSize));
|
|
667
|
-
const resolvedBorderWidth = _nullishCoalesce(item.series.pointBorderWidth, () => ( props.pointBorderWidth));
|
|
668
|
-
const resolvedBorderColor = _nullishCoalesce(item.series.pointBorderColor, () => ( props.pointBorderColor));
|
|
669
|
-
return _vue.h.call(void 0, "circle", {
|
|
670
|
-
key: `point-${item.seriesKey}-${point.index}`,
|
|
671
|
-
cx: point.x,
|
|
672
|
-
cy: point.y,
|
|
673
|
-
r: currentSize,
|
|
674
|
-
fill: props.pointGradient ? `url(#${gradientPrefix}-point-${item.seriesKey})` : _nullishCoalesce(_nullishCoalesce(point.data.color, () => ( resolvedPointColor)), () => ( resolvedStrokeColor)),
|
|
675
|
-
stroke: resolvedBorderColor,
|
|
676
|
-
"stroke-width": resolvedBorderWidth,
|
|
677
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
678
|
-
props.showTooltip && props.hoverable ? "cursor-pointer" : null,
|
|
679
|
-
"transition-[r] duration-150 ease-out"
|
|
680
|
-
),
|
|
681
|
-
"data-radar-point": "true",
|
|
682
|
-
"data-series-index": seriesIndex,
|
|
683
|
-
"data-series-key": item.seriesKey,
|
|
684
|
-
"data-point-index": point.index,
|
|
685
|
-
onMouseenter: props.showTooltip && props.hoverable ? (e) => handlePointEnter(seriesIndex, point.index, e) : void 0,
|
|
686
|
-
onMousemove: props.showTooltip && props.hoverable ? handlePointMove : void 0,
|
|
687
|
-
onMouseleave: props.showTooltip && props.hoverable ? handlePointLeave : void 0
|
|
688
|
-
});
|
|
689
|
-
}) : null
|
|
690
|
-
]
|
|
691
|
-
}
|
|
692
|
-
);
|
|
693
|
-
}),
|
|
694
|
-
...labels.value.map(
|
|
695
|
-
(label, index) => _vue.h.call(void 0,
|
|
696
|
-
"text",
|
|
697
|
-
{
|
|
698
|
-
key: `label-${index}`,
|
|
699
|
-
x: label.x,
|
|
700
|
-
y: label.y,
|
|
701
|
-
class: _tigercatcore.chartAxisTickTextClasses,
|
|
702
|
-
"text-anchor": label.textAnchor,
|
|
703
|
-
"dominant-baseline": label.dominantBaseline
|
|
704
|
-
},
|
|
705
|
-
label.text
|
|
706
|
-
)
|
|
707
|
-
),
|
|
708
|
-
...levelLabels.value.map(
|
|
709
|
-
(label, index) => _vue.h.call(void 0,
|
|
710
|
-
"text",
|
|
711
|
-
{
|
|
712
|
-
key: `level-${index}`,
|
|
713
|
-
x: label.x,
|
|
714
|
-
y: label.y,
|
|
715
|
-
class: _tigercatcore.chartAxisTickTextClasses,
|
|
716
|
-
"text-anchor": "middle",
|
|
717
|
-
"dominant-baseline": "middle",
|
|
718
|
-
"data-radar-level-label": "true"
|
|
719
|
-
},
|
|
720
|
-
label.text
|
|
721
|
-
)
|
|
722
|
-
)
|
|
723
|
-
].filter(Boolean)
|
|
724
|
-
}
|
|
725
|
-
);
|
|
726
|
-
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkZOUJFFG4js.ChartTooltip, {
|
|
727
|
-
content: tooltipContent.value,
|
|
728
|
-
visible: hoveredPoint.value !== null && tooltipContent.value !== "",
|
|
729
|
-
x: tooltipPosition.value.x,
|
|
730
|
-
y: tooltipPosition.value.y
|
|
731
|
-
}) : null;
|
|
732
|
-
if (!props.showLegend) {
|
|
733
|
-
return _vue.h.call(void 0, "div", { class: "inline-block relative" }, [chart, tooltip]);
|
|
734
|
-
}
|
|
735
|
-
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
736
|
-
chart,
|
|
737
|
-
_vue.h.call(void 0, _chunkACYYQJ6Mjs.ChartLegend, {
|
|
738
|
-
items: legendItems.value,
|
|
739
|
-
position: props.legendPosition,
|
|
740
|
-
markerSize: props.legendMarkerSize,
|
|
741
|
-
gap: props.legendGap,
|
|
742
|
-
interactive: props.hoverable || props.selectable,
|
|
743
|
-
onItemClick: handleLegendClick,
|
|
744
|
-
onItemHover: handleLegendHover,
|
|
745
|
-
onItemLeave: handleLegendLeave
|
|
746
|
-
}),
|
|
747
|
-
tooltip
|
|
748
|
-
]);
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
});
|
|
752
|
-
var RadarChart_default = RadarChart;
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
exports.RadarChart = RadarChart; exports.RadarChart_default = RadarChart_default;
|