vue-data-ui 3.1.17 → 3.1.19-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CKzW9w0Q.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D5bgIg6W.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/universal.d.ts +1 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
- package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
- package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
- package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
- package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
- package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
- package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-Lg17rmB1.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DpwLJMsW.js +0 -13
- package/dist/vue-data-ui-lki09wwK.js +0 -325
- package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as _, computed as v, ref as c, toRefs as wt, watch as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
1
|
+
import { defineAsyncComponent as _, computed as v, ref as c, toRefs as wt, watch as Ee, shallowRef as Ve, onMounted as _t, onBeforeUnmount as $t, createElementBlock as u, openBlock as s, unref as r, normalizeStyle as J, normalizeClass as X, createBlock as P, createCommentVNode as d, createElementVNode as $, createVNode as K, createSlots as We, withCtx as h, renderSlot as g, normalizeProps as B, guardReactiveProps as M, Fragment as S, renderList as I, toDisplayString as U, Teleport as Tt, resolveDynamicComponent as At, mergeProps as Pt, createTextVNode as ve, nextTick as Ge } from "vue";
|
|
2
|
+
import { c as xt, t as Ft, b as Ot, p as N, o as St, f as E, e as It, g as Xe, h as Ye, k as qe, q as Nt, a as He, d as Y, X as Lt, s as de, i as Rt, U as je, x as zt, y as Dt, z as Bt, A as Mt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Ut, u as Et } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Vt, a as Je } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as Wt, B as Gt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Xt } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as Ht } from "./useAutoSizeLabelsInsideViewbox-VqESrzQg.js";
|
|
10
|
+
import jt from "./img-CH7J0fYg.js";
|
|
11
|
+
import Jt from "./Title-pI68ZJsq.js";
|
|
12
|
+
import Kt from "./Legend-_Rv594VS.js";
|
|
13
|
+
import { t as Qt } from "./themes-D3cUNuKw.js";
|
|
13
14
|
import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "height"], la = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = { key: 1 }, ua = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ia = { key: 0 }, ca = ["d", "stroke", "stroke-width"], va = ["d", "stroke", "stroke-width"], da = { key: 2 }, pa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], ha = ["points", "stroke", "stroke-width"], ga = ["points", "stroke", "stroke-width", "fill"], fa = { key: 3 }, ma = ["cx", "cy", "fill", "r", "stroke"], ya = {
|
|
15
16
|
key: 4,
|
|
@@ -35,7 +36,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectLegend"],
|
|
37
38
|
setup(Ke, { expose: Qe, emit: Ze }) {
|
|
38
|
-
const et = _(() => import("./Tooltip-
|
|
39
|
+
const et = _(() => import("./Tooltip-Clf2K3CF.js")), tt = _(() => import("./BaseIcon-D2f9w5Z5.js")), at = _(() => import("./vue-ui-sparkbar-DgHvA8ra.js")), ot = _(() => import("./vue-ui-accordion-D-L73-T2.js")), lt = _(() => import("./DataTable-xISHA7Pu.js")), st = _(() => import("./PenAndPaper-CtDMyIvW.js")), nt = _(() => import("./UserOptions-Bn3u4JQu.js")), rt = _(() => import("./PackageVersion-DRpg18lg.js")), ut = _(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_radar: it } = Vt(), x = Ke, pe = v(() => !!x.dataset && Object.keys(x.dataset).length), b = c(xt()), Q = c(!1), Z = c(""), he = c(0), C = c(null), ge = c(null), fe = c(null), me = c(null), ye = c(null), be = c(0), ke = c(0), Ce = c(0), we = c(!1), V = c(null), ee = c(null), e = c(oe()), { loading: _e, FINAL_DATASET: w } = Wt({
|
|
39
40
|
...wt(x),
|
|
40
41
|
FINAL_CONFIG: e,
|
|
41
42
|
prepareConfig: oe,
|
|
@@ -82,7 +83,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
})
|
|
85
|
-
}), { userOptionsVisible: te, setUserOptionsVisibility: $e, keepUserOptionState: Te } =
|
|
86
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Yt({ config: e.value }), { svgRef: ae } = qt({ config: e.value.style.chart.title });
|
|
86
87
|
function oe() {
|
|
87
88
|
const t = Je({
|
|
88
89
|
userConfig: x.config,
|
|
@@ -90,24 +91,24 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
90
91
|
});
|
|
91
92
|
return t.theme ? {
|
|
92
93
|
...Je({
|
|
93
|
-
userConfig:
|
|
94
|
+
userConfig: Qt.vue_ui_radar[t.theme] || x.config,
|
|
94
95
|
defaultConfig: t
|
|
95
96
|
}),
|
|
96
97
|
customPalette: Ot[t.theme] || N
|
|
97
98
|
} : t;
|
|
98
99
|
}
|
|
99
|
-
|
|
100
|
+
Ee(() => x.config, (t) => {
|
|
100
101
|
e.value = oe(), te.value = !e.value.userOptions.showOnChartHover, Ae(), be.value += 1, ke.value += 1, Ce.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
|
|
101
102
|
}, { deep: !0 });
|
|
102
103
|
const T = Ve(null), L = Ve(null), R = v(() => e.value.debug);
|
|
103
104
|
function Ae() {
|
|
104
|
-
if (
|
|
105
|
+
if (St(x.dataset) && E({
|
|
105
106
|
componentName: "VueUiRadar",
|
|
106
107
|
type: "dataset",
|
|
107
108
|
debug: R.value
|
|
108
109
|
}), e.value.responsive) {
|
|
109
|
-
const t =
|
|
110
|
-
const { width: a, height: o } =
|
|
110
|
+
const t = Ut(() => {
|
|
111
|
+
const { width: a, height: o } = Et({
|
|
111
112
|
chart: C.value,
|
|
112
113
|
title: e.value.style.chart.title.text ? ge.value : null,
|
|
113
114
|
legend: e.value.style.chart.legend.show ? fe.value : null,
|
|
@@ -127,11 +128,11 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
127
128
|
}), $t(() => {
|
|
128
129
|
T.value && (L.value && T.value.unobserve(L.value), T.value.disconnect());
|
|
129
130
|
});
|
|
130
|
-
const { isPrinting: Pe, isImaging: xe, generatePdf:
|
|
131
|
+
const { isPrinting: Pe, isImaging: xe, generatePdf: Fe, generateImage: Oe } = Xt({
|
|
131
132
|
elementId: `vue-ui-radar_${b.value}`,
|
|
132
133
|
fileName: e.value.style.chart.title.text || "vue-ui-radar",
|
|
133
134
|
options: e.value.userOptions.print
|
|
134
|
-
}), ct = v(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
135
|
+
}), ct = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = v(() => It(e.value.customPalette)), y = c({
|
|
135
136
|
dataLabels: {
|
|
136
137
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
137
138
|
},
|
|
@@ -177,12 +178,12 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
177
178
|
proportion: t.totalProportion
|
|
178
179
|
}));
|
|
179
180
|
}
|
|
180
|
-
const f = v(() => [null, void 0].includes(w.value.categories) ? (
|
|
181
|
+
const f = v(() => [null, void 0].includes(w.value.categories) ? (E({
|
|
181
182
|
componentName: "VueUiRadar",
|
|
182
183
|
type: "datasetAttribute",
|
|
183
184
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
|
|
184
185
|
debug: R.value
|
|
185
|
-
}), []) : (w.value.categories.length === 0 ?
|
|
186
|
+
}), []) : (w.value.categories.length === 0 ? E({
|
|
186
187
|
componentName: "VueUiRadar",
|
|
187
188
|
type: "datasetAttributeEmpty",
|
|
188
189
|
property: "categories",
|
|
@@ -192,7 +193,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
192
193
|
datasetObject: t,
|
|
193
194
|
requiredAttributes: ["name"]
|
|
194
195
|
}).forEach((o) => {
|
|
195
|
-
|
|
196
|
+
E({
|
|
196
197
|
componentName: "VueUiRadar",
|
|
197
198
|
type: "datasetAttribute",
|
|
198
199
|
property: `category.${o} at index ${a}`,
|
|
@@ -200,7 +201,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
200
201
|
debug: R.value
|
|
201
202
|
});
|
|
202
203
|
});
|
|
203
|
-
}), [null, void 0].includes(w.value.series) ?
|
|
204
|
+
}), [null, void 0].includes(w.value.series) ? E({
|
|
204
205
|
componentName: "VueUiRadar",
|
|
205
206
|
type: "datasetAttribute",
|
|
206
207
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
|
|
@@ -210,7 +211,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
210
211
|
datasetObject: t,
|
|
211
212
|
requiredAttributes: ["name", "values", "target"]
|
|
212
213
|
}).forEach((o) => {
|
|
213
|
-
|
|
214
|
+
E({
|
|
214
215
|
componentName: "VueUiRadar",
|
|
215
216
|
type: "datasetSerieAttribute",
|
|
216
217
|
key: "series",
|
|
@@ -222,15 +223,15 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
222
223
|
}), w.value.categories.map((t, a) => ({
|
|
223
224
|
name: t.name,
|
|
224
225
|
categoryId: `radar_category_${b.value}_${a}`,
|
|
225
|
-
color: Ye(t.color) ||
|
|
226
|
+
color: Ye(t.color) || Se.value[a] || N[a] || N[a % N.length],
|
|
226
227
|
prefix: t.prefix ?? "",
|
|
227
228
|
suffix: t.suffix ?? ""
|
|
228
229
|
})))), k = v(() => w.value.series.map((t, a) => ({
|
|
229
230
|
...t,
|
|
230
|
-
color: Ye(t.color) ||
|
|
231
|
+
color: Ye(t.color) || Se.value[a] || N[a] || N[a % N.length],
|
|
231
232
|
serieId: `radar_serie_${b.value}_${a}`,
|
|
232
233
|
formatter: t.formatter || null
|
|
233
|
-
}))), Ne = v(() => Math.max(...k.value.flatMap((t) => t.values))), Le = v(() => k.value.length), le = v(() => Math.min(i.value.width, i.value.height) / 3), Re = v(() =>
|
|
234
|
+
}))), Ne = v(() => Math.max(...k.value.flatMap((t) => t.values))), Le = v(() => k.value.length), le = v(() => Math.min(i.value.width, i.value.height) / 3), Re = v(() => qe({
|
|
234
235
|
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
235
236
|
radius: le.value,
|
|
236
237
|
sides: Le.value,
|
|
@@ -266,7 +267,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
266
267
|
const gt = v({
|
|
267
268
|
get: () => e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
268
269
|
set: (t) => t
|
|
269
|
-
}), { autoSizeLabels: ze } =
|
|
270
|
+
}), { autoSizeLabels: ze } = Ht({
|
|
270
271
|
svgRef: ae,
|
|
271
272
|
fontSize: e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
272
273
|
minFontSize: 6,
|
|
@@ -283,7 +284,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
283
284
|
const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || Ne.value)));
|
|
284
285
|
return f.value.map((a, o) => ({
|
|
285
286
|
...a,
|
|
286
|
-
totalProportion:
|
|
287
|
+
totalProportion: Nt(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / k.value.length),
|
|
287
288
|
shape: "circle",
|
|
288
289
|
opacity: p.value.includes(o) ? 0.5 : 1,
|
|
289
290
|
segregate: () => Ie(o),
|
|
@@ -296,14 +297,14 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
296
297
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
297
298
|
paddingBottom: 12,
|
|
298
299
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
299
|
-
})),
|
|
300
|
+
})), q = v(() => {
|
|
300
301
|
const t = [
|
|
301
302
|
{ name: e.value.translations.datapoint, color: "" },
|
|
302
303
|
{ name: e.value.translations.target, color: "" },
|
|
303
304
|
...D.value
|
|
304
305
|
], a = w.value.series.map((l) => [
|
|
305
306
|
l.name,
|
|
306
|
-
|
|
307
|
+
He(
|
|
307
308
|
l.formatter,
|
|
308
309
|
l.target,
|
|
309
310
|
Y({
|
|
@@ -313,7 +314,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
313
314
|
r: e.value.table.td.roundingValue
|
|
314
315
|
})
|
|
315
316
|
),
|
|
316
|
-
...l.values.map((n, m) => `${
|
|
317
|
+
...l.values.map((n, m) => `${He(
|
|
317
318
|
l.formatter,
|
|
318
319
|
n,
|
|
319
320
|
Y({ p: f.value[m].prefix, v: n, s: f.value[m].suffix, r: e.value.table.td.roundingValue })
|
|
@@ -336,15 +337,15 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
336
337
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
337
338
|
};
|
|
338
339
|
return { head: t, body: a, config: o, colNames: t };
|
|
339
|
-
}),
|
|
340
|
+
}), H = c(null), ne = c([]), re = c(null);
|
|
340
341
|
function yt(t, a) {
|
|
341
|
-
Q.value = !1,
|
|
342
|
+
Q.value = !1, H.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
|
|
342
343
|
}
|
|
343
344
|
function bt(t, a) {
|
|
344
345
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
|
|
345
346
|
}
|
|
346
347
|
function kt(t, a) {
|
|
347
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ne.value = [],
|
|
348
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ne.value = [], H.value = a, Q.value = !0;
|
|
348
349
|
let o = "";
|
|
349
350
|
re.value = {
|
|
350
351
|
datapoint: t,
|
|
@@ -357,7 +358,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
357
358
|
config: e.value
|
|
358
359
|
};
|
|
359
360
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
360
|
-
if (
|
|
361
|
+
if (Bt(l) && Mt(() => l({
|
|
361
362
|
seriesIndex: a,
|
|
362
363
|
datapoint: t,
|
|
363
364
|
series: { categories: f.value, datapoints: k.value, radar: A.value },
|
|
@@ -386,16 +387,16 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
386
387
|
}
|
|
387
388
|
function ue(t = null) {
|
|
388
389
|
Ge(() => {
|
|
389
|
-
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...D.value.flatMap((
|
|
390
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...D.value.flatMap((O) => [[O.name], ["%"]])], l = w.value.series.map((O, _a) => [O.name, O.target, ...O.values.flatMap((ce) => [
|
|
390
391
|
ce,
|
|
391
|
-
isNaN(ce /
|
|
392
|
-
])]), n = a.concat([o]).concat(l), m =
|
|
393
|
-
t ? t(m) :
|
|
392
|
+
isNaN(ce / O.target) ? "" : ce / O.target * 100
|
|
393
|
+
])]), n = a.concat([o]).concat(l), m = zt(n);
|
|
394
|
+
t ? t(m) : Dt({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
394
395
|
});
|
|
395
396
|
}
|
|
396
|
-
const
|
|
397
|
+
const F = c(!1);
|
|
397
398
|
function De(t) {
|
|
398
|
-
|
|
399
|
+
F.value = t, he.value += 1;
|
|
399
400
|
}
|
|
400
401
|
function Be() {
|
|
401
402
|
y.value.showTable = !y.value.showTable;
|
|
@@ -403,13 +404,13 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
403
404
|
function Me() {
|
|
404
405
|
y.value.showTooltip = !y.value.showTooltip;
|
|
405
406
|
}
|
|
406
|
-
const
|
|
407
|
+
const j = c(!1);
|
|
407
408
|
function ie() {
|
|
408
|
-
|
|
409
|
+
j.value = !j.value;
|
|
409
410
|
}
|
|
410
411
|
async function Ct({ scale: t = 2 } = {}) {
|
|
411
412
|
if (!C.value) return;
|
|
412
|
-
const { width: a, height: o } = C.value.getBoundingClientRect(), l = a / o, { imageUri: n, base64: m } = await
|
|
413
|
+
const { width: a, height: o } = C.value.getBoundingClientRect(), l = a / o, { imageUri: n, base64: m } = await jt({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
413
414
|
return {
|
|
414
415
|
imageUri: n,
|
|
415
416
|
base64: m,
|
|
@@ -429,7 +430,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
429
430
|
color: e.value.table.th.color,
|
|
430
431
|
headerColor: e.value.table.th.color,
|
|
431
432
|
headerBg: e.value.table.th.backgroundColor,
|
|
432
|
-
isFullscreen:
|
|
433
|
+
isFullscreen: F.value,
|
|
433
434
|
fullscreenParent: C.value,
|
|
434
435
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
435
436
|
} : {
|
|
@@ -449,24 +450,24 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
449
450
|
}
|
|
450
451
|
};
|
|
451
452
|
});
|
|
452
|
-
|
|
453
|
+
Ee(() => y.value.showTable, (t) => {
|
|
453
454
|
e.value.table.show || (t && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.value.close());
|
|
454
455
|
});
|
|
455
|
-
function
|
|
456
|
+
function Ue() {
|
|
456
457
|
y.value.showTable = !1, ee.value && ee.value.setTableIconState(!1);
|
|
457
458
|
}
|
|
458
459
|
return Qe({
|
|
459
460
|
getData: pt,
|
|
460
461
|
getImage: Ct,
|
|
461
|
-
generatePdf:
|
|
462
|
+
generatePdf: Fe,
|
|
462
463
|
generateCsv: ue,
|
|
463
|
-
generateImage:
|
|
464
|
+
generateImage: Oe,
|
|
464
465
|
toggleTable: Be,
|
|
465
466
|
toggleTooltip: Me,
|
|
466
467
|
toggleAnnotator: ie,
|
|
467
468
|
toggleFullscreen: De
|
|
468
469
|
}), (t, a) => (s(), u("div", {
|
|
469
|
-
class: X(`vue-ui-radar ${
|
|
470
|
+
class: X(`vue-ui-radar ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
470
471
|
ref_key: "radarChart",
|
|
471
472
|
ref: C,
|
|
472
473
|
id: `vue-ui-radar_${b.value}`,
|
|
@@ -479,7 +480,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
479
480
|
svgRef: r(ae),
|
|
480
481
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
481
482
|
color: e.value.style.chart.color,
|
|
482
|
-
active:
|
|
483
|
+
active: j.value,
|
|
483
484
|
onClose: ie
|
|
484
485
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
485
486
|
ct.value ? (s(), u("div", {
|
|
@@ -495,7 +496,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
495
496
|
ref: ge,
|
|
496
497
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
497
498
|
}, [
|
|
498
|
-
(s(), P(
|
|
499
|
+
(s(), P(Jt, {
|
|
499
500
|
key: `title_${be.value}`,
|
|
500
501
|
config: {
|
|
501
502
|
title: {
|
|
@@ -527,20 +528,20 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
527
528
|
hasXls: e.value.userOptions.buttons.csv,
|
|
528
529
|
hasTable: e.value.userOptions.buttons.table,
|
|
529
530
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
530
|
-
isFullscreen:
|
|
531
|
+
isFullscreen: F.value,
|
|
531
532
|
isTooltip: y.value.showTooltip,
|
|
532
533
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
533
534
|
chartElement: C.value,
|
|
534
535
|
position: e.value.userOptions.position,
|
|
535
536
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
536
|
-
isAnnotation:
|
|
537
|
+
isAnnotation: j.value,
|
|
537
538
|
callbacks: e.value.userOptions.callbacks,
|
|
538
539
|
printScale: e.value.userOptions.print.scale,
|
|
539
540
|
tableDialog: e.value.table.useDialog,
|
|
540
541
|
onToggleFullscreen: De,
|
|
541
|
-
onGeneratePdf: r(
|
|
542
|
+
onGeneratePdf: r(Fe),
|
|
542
543
|
onGenerateCsv: ue,
|
|
543
|
-
onGenerateImage: r(
|
|
544
|
+
onGenerateImage: r(Oe),
|
|
544
545
|
onToggleTable: Be,
|
|
545
546
|
onToggleTooltip: Me,
|
|
546
547
|
onToggleAnnotator: ie,
|
|
@@ -608,8 +609,8 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
608
609
|
(s(), u("svg", {
|
|
609
610
|
ref_key: "svgRef",
|
|
610
611
|
ref: ae,
|
|
611
|
-
xmlns: r(
|
|
612
|
-
class: X({ "vue-data-ui-fullscreen--on":
|
|
612
|
+
xmlns: r(Lt),
|
|
613
|
+
class: X({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
613
614
|
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
614
615
|
style: J(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
615
616
|
}, [
|
|
@@ -627,7 +628,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
627
628
|
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
628
629
|
], 8, oa)) : d("", !0),
|
|
629
630
|
$("defs", null, [
|
|
630
|
-
(s(!0), u(
|
|
631
|
+
(s(!0), u(S, null, I(f.value, (o, l) => (s(), u("radialGradient", {
|
|
631
632
|
cx: "50%",
|
|
632
633
|
cy: "50%",
|
|
633
634
|
r: "50%",
|
|
@@ -637,7 +638,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
637
638
|
}, [
|
|
638
639
|
$("stop", {
|
|
639
640
|
offset: "0%",
|
|
640
|
-
"stop-color": r(de)(r(
|
|
641
|
+
"stop-color": r(de)(r(Rt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
641
642
|
}, null, 8, sa),
|
|
642
643
|
$("stop", {
|
|
643
644
|
offset: "100%",
|
|
@@ -646,7 +647,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
646
647
|
], 8, la))), 256))
|
|
647
648
|
]),
|
|
648
649
|
e.value.style.chart.layout.grid.show ? (s(), u("g", ra, [
|
|
649
|
-
(s(!0), u(
|
|
650
|
+
(s(!0), u(S, null, I(A.value, (o) => (s(), u("line", {
|
|
650
651
|
x1: i.value.width / 2,
|
|
651
652
|
y1: i.value.height / 2,
|
|
652
653
|
x2: o.x,
|
|
@@ -655,8 +656,8 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
655
656
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
656
657
|
}, null, 8, ua))), 256)),
|
|
657
658
|
e.value.style.chart.layout.grid.graduations > 0 ? (s(), u("g", ia, [
|
|
658
|
-
(s(!0), u(
|
|
659
|
-
d: r(
|
|
659
|
+
(s(!0), u(S, null, I(ht.value, (o) => (s(), u("path", {
|
|
660
|
+
d: r(qe)({
|
|
660
661
|
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
661
662
|
radius: o,
|
|
662
663
|
sides: Le.value,
|
|
@@ -677,7 +678,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
677
678
|
"stroke-linecap": "round"
|
|
678
679
|
}, null, 8, va),
|
|
679
680
|
e.value.style.chart.layout.labels.dataLabels.show ? (s(), u("g", da, [
|
|
680
|
-
(s(!0), u(
|
|
681
|
+
(s(!0), u(S, null, I(A.value, (o, l) => (s(), u("text", {
|
|
681
682
|
class: "vue-ui-radar-apex-label",
|
|
682
683
|
x: o.labelX,
|
|
683
684
|
y: o.labelY,
|
|
@@ -687,13 +688,13 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
687
688
|
onMouseenter: (n) => kt(o, l),
|
|
688
689
|
onMouseleave: (n) => yt(o, l),
|
|
689
690
|
onClick: (n) => bt(o, l)
|
|
690
|
-
},
|
|
691
|
+
}, U(o.name), 41, pa))), 256))
|
|
691
692
|
])) : d("", !0),
|
|
692
|
-
(s(!0), u(
|
|
693
|
+
(s(!0), u(S, null, I(f.value, (o, l) => (s(), u("g", null, [
|
|
693
694
|
$("g", null, [
|
|
694
695
|
e.value.useCssAnimation || !e.value.useCssAnimation && !p.value.includes(l) ? (s(), u("polygon", {
|
|
695
696
|
key: 0,
|
|
696
|
-
points: r(
|
|
697
|
+
points: r(je)(A.value.map((n) => n.plots[l]), !1, !0),
|
|
697
698
|
stroke: e.value.style.chart.backgroundColor,
|
|
698
699
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
699
700
|
fill: "none",
|
|
@@ -701,7 +702,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
701
702
|
}, null, 10, ha)) : d("", !0),
|
|
702
703
|
e.value.useCssAnimation || !e.value.useCssAnimation && !p.value.includes(l) ? (s(), u("polygon", {
|
|
703
704
|
key: 1,
|
|
704
|
-
points: r(
|
|
705
|
+
points: r(je)(A.value.map((n) => n.plots[l]), !1, !0),
|
|
705
706
|
stroke: o.color,
|
|
706
707
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
707
708
|
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${b.value}_${l})` : r(de)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
|
|
@@ -710,12 +711,12 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
710
711
|
])
|
|
711
712
|
]))), 256)),
|
|
712
713
|
e.value.style.chart.layout.plots.show ? (s(), u("g", fa, [
|
|
713
|
-
(s(!0), u(
|
|
714
|
-
(s(!0), u(
|
|
714
|
+
(s(!0), u(S, null, I(A.value, (o, l) => (s(), u("g", null, [
|
|
715
|
+
(s(!0), u(S, null, I(o.plots, (n, m) => (s(), u("circle", {
|
|
715
716
|
cx: n.x,
|
|
716
717
|
cy: n.y,
|
|
717
718
|
fill: p.value.includes(m) ? "transparent" : f.value[m] ? f.value[m].color : "transparent",
|
|
718
|
-
r:
|
|
719
|
+
r: H.value !== null && H.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
|
|
719
720
|
stroke: p.value.includes(m) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
720
721
|
"stroke-width": 0.5,
|
|
721
722
|
class: X({ "animated-out": p.value.includes(m) && e.value.useCssAnimation, "animated-in": z.value && W.value === m && e.value.useCssAnimation })
|
|
@@ -738,7 +739,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
738
739
|
ref_key: "chartLegend",
|
|
739
740
|
ref: fe
|
|
740
741
|
}, [
|
|
741
|
-
e.value.style.chart.legend.show ? (s(), P(
|
|
742
|
+
e.value.style.chart.legend.show ? (s(), P(Kt, {
|
|
742
743
|
key: `legend_${Ce.value}`,
|
|
743
744
|
legendSet: D.value,
|
|
744
745
|
config: mt.value,
|
|
@@ -749,7 +750,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
749
750
|
key: 0,
|
|
750
751
|
onClick: (n) => o.segregate(),
|
|
751
752
|
style: J(`opacity:${p.value.includes(l) ? 0.5 : 1}`)
|
|
752
|
-
},
|
|
753
|
+
}, U(o.name) + ": " + U(r(Y)({
|
|
753
754
|
v: o.totalProportion * 100,
|
|
754
755
|
s: "%",
|
|
755
756
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -783,7 +784,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
783
784
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
784
785
|
parent: C.value,
|
|
785
786
|
content: Z.value,
|
|
786
|
-
isFullscreen:
|
|
787
|
+
isFullscreen: F.value,
|
|
787
788
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
788
789
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
789
790
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
@@ -808,24 +809,24 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
808
809
|
pe.value && e.value.userOptions.buttons.table ? (s(), P(At(G.value.component), Pt({ key: 7 }, G.value.props, {
|
|
809
810
|
ref_key: "tableUnit",
|
|
810
811
|
ref: V,
|
|
811
|
-
onClose:
|
|
812
|
+
onClose: Ue
|
|
812
813
|
}), We({
|
|
813
814
|
content: h(() => [
|
|
814
815
|
(s(), P(r(lt), {
|
|
815
816
|
key: `table_${ke.value}`,
|
|
816
|
-
colNames:
|
|
817
|
-
head:
|
|
818
|
-
body:
|
|
819
|
-
config:
|
|
817
|
+
colNames: q.value.colNames,
|
|
818
|
+
head: q.value.head,
|
|
819
|
+
body: q.value.body,
|
|
820
|
+
config: q.value.config,
|
|
820
821
|
title: e.value.table.useDialog ? "" : G.value.title,
|
|
821
822
|
withCloseButton: !e.value.table.useDialog,
|
|
822
|
-
onClose:
|
|
823
|
+
onClose: Ue
|
|
823
824
|
}, {
|
|
824
825
|
th: h(({ th: o }) => [
|
|
825
|
-
ve(
|
|
826
|
+
ve(U(o.name), 1)
|
|
826
827
|
]),
|
|
827
828
|
td: h(({ td: o }) => [
|
|
828
|
-
ve(
|
|
829
|
+
ve(U(o), 1)
|
|
829
830
|
]),
|
|
830
831
|
_: 1
|
|
831
832
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -835,7 +836,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
835
836
|
e.value.table.useDialog ? {
|
|
836
837
|
name: "title",
|
|
837
838
|
fn: h(() => [
|
|
838
|
-
ve(
|
|
839
|
+
ve(U(G.value.title), 1)
|
|
839
840
|
]),
|
|
840
841
|
key: "0"
|
|
841
842
|
} : void 0,
|
|
@@ -856,10 +857,10 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
856
857
|
key: "1"
|
|
857
858
|
} : void 0
|
|
858
859
|
]), 1040)) : d("", !0),
|
|
859
|
-
r(_e) ? (s(), P(
|
|
860
|
+
r(_e) ? (s(), P(Gt, { key: 8 })) : d("", !0)
|
|
860
861
|
], 46, ea));
|
|
861
862
|
}
|
|
862
|
-
},
|
|
863
|
+
}, Ba = /* @__PURE__ */ Zt(wa, [["__scopeId", "data-v-0d66caa0"]]);
|
|
863
864
|
export {
|
|
864
|
-
|
|
865
|
+
Ba as default
|
|
865
866
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import { u as ie } from "./useNestedProp-
|
|
1
|
+
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as j, renderList as Z, renderSlot as B, mergeProps as O, withKeys as ee } from "vue";
|
|
2
|
+
import { c as te, o as le, f as oe, a as b, d as _, X as z, i as X, j as I } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { u as ae, a as ie } from "./useNestedProp-DF7e2h1z.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|
|
@@ -33,7 +33,7 @@ const ne = {
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["rate"],
|
|
35
35
|
setup(Y, { expose: G, emit: L }) {
|
|
36
|
-
const { vue_ui_rating: U } =
|
|
36
|
+
const { vue_ui_rating: U } = ae(), u = Y, h = $(te()), S = $(!1), v = $(void 0), m = $(void 0), w = $([]), D = J();
|
|
37
37
|
R(() => {
|
|
38
38
|
D["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
|
|
39
39
|
});
|
|
@@ -66,7 +66,7 @@ const ne = {
|
|
|
66
66
|
F();
|
|
67
67
|
});
|
|
68
68
|
function F() {
|
|
69
|
-
(!Object.hasOwn(u.dataset, "rating") ||
|
|
69
|
+
(!Object.hasOwn(u.dataset, "rating") || le(u.dataset)) && oe({
|
|
70
70
|
componentName: "VueUiRating",
|
|
71
71
|
type: "datasetAttribute",
|
|
72
72
|
property: "rating"
|
|
@@ -145,18 +145,18 @@ const ne = {
|
|
|
145
145
|
}),
|
|
146
146
|
e.value
|
|
147
147
|
)), 5)) : p("", !0),
|
|
148
|
-
(a(!0), o(
|
|
148
|
+
(a(!0), o(j, null, Z(w.value, (t, c) => (a(), o("div", {
|
|
149
149
|
class: "vue-ui-rating-unit-container",
|
|
150
150
|
style: s(`position:relative;height:${e.value.style.itemSize}px;width:${e.value.style.itemSize}px`)
|
|
151
151
|
}, [
|
|
152
152
|
l.$slots["layer-under"] || l.$slots["layer-above"] ? (a(), o("div", re, [
|
|
153
153
|
l.$slots["layer-under"] ? (a(), o("div", ue, [
|
|
154
|
-
|
|
154
|
+
B(l.$slots, "layer-under", O({ ref_for: !0 }, { value: t, size: e.value.style.itemSize, hoveredValue: v.value, focusedValue: m.value }), void 0, !0)
|
|
155
155
|
])) : p("", !0),
|
|
156
156
|
l.$slots["layer-above"] ? (a(), o("div", ve, [
|
|
157
|
-
|
|
157
|
+
B(l.$slots, "layer-above", O({ ref_for: !0 }, { value: t, size: e.value.style.itemSize, hoveredValue: v.value, focusedValue: m.value }), void 0, !0)
|
|
158
158
|
])) : p("", !0)
|
|
159
|
-
])) : (a(), o(
|
|
159
|
+
])) : (a(), o(j, { key: 1 }, [
|
|
160
160
|
V.value ? (a(), o("img", {
|
|
161
161
|
key: 0,
|
|
162
162
|
src: e.value.style.image.src,
|