vue-data-ui 2.15.3 → 2.15.5
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-CzzsKX8z.js → Arrow-CI_Chty0.js} +1 -1
- package/dist/{BaseDraggableDialog-DCJi-1yP.js → BaseDraggableDialog-UeaNekHG.js} +2 -2
- package/dist/{BaseIcon-DhFdv5GX.js → BaseIcon-DTTmgKBX.js} +1 -1
- package/dist/{ColorPicker-DVErVt1a.js → ColorPicker-BySm_2Gi.js} +6 -6
- package/dist/{DataTable-C1m1pLCZ.js → DataTable-CLeYfh93.js} +2 -2
- package/dist/{Legend-Bv4X-1rt.js → Legend-B949nNP9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DSnwu1Ay.js → NonSvgPenAndPaper-zuNWbm52.js} +3 -3
- package/dist/{PackageVersion-Bto74qGz.js → PackageVersion-Djh3oJFs.js} +1 -1
- package/dist/{PenAndPaper-Ch0HBNVZ.js → PenAndPaper-BlF1d4XE.js} +3 -3
- package/dist/{Shape-G58fHOyr.js → Shape-DmDw1mpi.js} +1 -1
- package/dist/{Slicer-B31lD5Se.js → Slicer-mINKiN6T.js} +13 -13
- package/dist/{SparkTooltip-CT5F0yPg.js → SparkTooltip-B888Ijov.js} +1 -1
- package/dist/{Title-HKMJNA2t.js → Title-CPvPrwF4.js} +1 -1
- package/dist/{Tooltip-C3Dnr3zM.js → Tooltip-BiWfcBQk.js} +1 -1
- package/dist/{UserOptions-BnD3w_M-.js → UserOptions-CFllUVQ4.js} +2 -2
- package/dist/{dom-to-png-DvtSOm-q.js → dom-to-png-DeajhH5Z.js} +1 -1
- package/dist/{img-PRKpmCrJ.js → img-4TaH43jS.js} +1 -1
- package/dist/{index-pz3uy0bj.js → index-CBhz79Be.js} +12 -6
- package/dist/{pdf-NCZXhCbT.js → pdf-BlK5aBh-.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +8 -0
- package/dist/types/vue-data-ui.d.ts +8 -0
- package/dist/{useNestedProp-BTwRpxJ6.js → useNestedProp-Cg9K3ISG.js} +1 -1
- package/dist/{usePrinter-CpYwk8Nl.js → usePrinter-DNC_9y1d.js} +2 -2
- package/dist/{vue-data-ui-edDJqWqp.js → vue-data-ui-DcP8arpr.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Cj4MAAl3.js → vue-ui-3d-bar-k4SNfbLV.js} +5 -5
- package/dist/{vue-ui-accordion-DVMQOCog.js → vue-ui-accordion-BWiiOpGO.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B9-mIJoM.js → vue-ui-age-pyramid-ruNP1NJy.js} +5 -5
- package/dist/{vue-ui-annotator-BelwH44r.js → vue-ui-annotator-_31h_MMe.js} +2 -2
- package/dist/{vue-ui-bullet-7voYFUyR.js → vue-ui-bullet-BWmLA5Tg.js} +6 -6
- package/dist/vue-ui-candlestick-C8f9jUPZ.js +856 -0
- package/dist/{vue-ui-carousel-table-CCu7pOvx.js → vue-ui-carousel-table-DY90M9EE.js} +4 -4
- package/dist/{vue-ui-chestnut-DaIhjU0E.js → vue-ui-chestnut-DyxtZhwH.js} +28 -28
- package/dist/{vue-ui-chord-ol8it32M.js → vue-ui-chord-C8hE1GXD.js} +47 -47
- package/dist/{vue-ui-circle-pack-4dYH7oFz.js → vue-ui-circle-pack-Dy8buEl5.js} +24 -24
- package/dist/{vue-ui-cursor-BWo0SND4.js → vue-ui-cursor-Bb8yPXC9.js} +2 -2
- package/dist/{vue-ui-dashboard-DLP5BjC2.js → vue-ui-dashboard-SSYhdz1j.js} +62 -62
- package/dist/{vue-ui-digits-vLYOgwYN.js → vue-ui-digits-D4Du84P3.js} +2 -2
- package/dist/{vue-ui-donut-DA1mt39C.js → vue-ui-donut-C0dqyYUE.js} +7 -7
- package/dist/{vue-ui-donut-evolution-Y5NvWAOf.js → vue-ui-donut-evolution-BOrRbvDz.js} +7 -7
- package/dist/{vue-ui-dumbbell-DHGaUXgf.js → vue-ui-dumbbell-DKmEVC-5.js} +6 -6
- package/dist/{vue-ui-flow-CPRwtkW7.js → vue-ui-flow-DalrAEmv.js} +24 -24
- package/dist/{vue-ui-funnel-Cdaj7JLP.js → vue-ui-funnel-B-k_4VgX.js} +5 -5
- package/dist/{vue-ui-galaxy-Bml38eED.js → vue-ui-galaxy-BWaie_o-.js} +35 -35
- package/dist/{vue-ui-gauge-DIKUWHow.js → vue-ui-gauge-D71TDx5z.js} +17 -17
- package/dist/{vue-ui-gizmo-CDGfldQ2.js → vue-ui-gizmo-CJChusop.js} +3 -3
- package/dist/{vue-ui-heatmap-Cvz3HWSo.js → vue-ui-heatmap-DLwLB3pv.js} +31 -31
- package/dist/{vue-ui-history-plot-CEw6Ijds.js → vue-ui-history-plot-D7wNqDSc.js} +34 -34
- package/dist/{vue-ui-kpi-BOU7jfII.js → vue-ui-kpi-CJut0fnk.js} +3 -3
- package/dist/{vue-ui-mini-loader-B0QHAAN0.js → vue-ui-mini-loader-DP2pINNZ.js} +2 -2
- package/dist/{vue-ui-molecule-DpZAl654.js → vue-ui-molecule-D8b1J-IM.js} +4 -4
- package/dist/{vue-ui-mood-radar-DVTDXHkP.js → vue-ui-mood-radar-Br6izAkp.js} +6 -6
- package/dist/{vue-ui-nested-donuts-Cs_jOkZf.js → vue-ui-nested-donuts-DTYcStbt.js} +25 -25
- package/dist/{vue-ui-onion-BNm4LDqz.js → vue-ui-onion-DVtreg0e.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-DF8yQwqD.js → vue-ui-parallel-coordinate-plot-COHHYnBG.js} +35 -35
- package/dist/{vue-ui-quadrant-CsT_YtVJ.js → vue-ui-quadrant-ClO3Aae-.js} +7 -7
- package/dist/{vue-ui-quick-chart-BQ8LWKNh.js → vue-ui-quick-chart-DXRWvUUA.js} +5 -5
- package/dist/{vue-ui-radar-BTXb1OpM.js → vue-ui-radar-Cs54EIJ2.js} +6 -6
- package/dist/{vue-ui-rating-10ZP5oGv.js → vue-ui-rating-Drx2P4xK.js} +2 -2
- package/dist/{vue-ui-relation-circle-BDY_mStf.js → vue-ui-relation-circle-B75Rh82J.js} +30 -30
- package/dist/{vue-ui-ridgeline-DiUQ9G50.js → vue-ui-ridgeline-DuZjVwmL.js} +7 -7
- package/dist/{vue-ui-rings-uOzklelU.js → vue-ui-rings-DWMToWPQ.js} +21 -21
- package/dist/{vue-ui-scatter-o8fU3CPQ.js → vue-ui-scatter-CAh7kj6p.js} +7 -7
- package/dist/{vue-ui-skeleton-DtyqxWGZ.js → vue-ui-skeleton-Dnw_Mcqb.js} +3 -3
- package/dist/{vue-ui-smiley-bleVUcTp.js → vue-ui-smiley-CkbdMJqH.js} +2 -2
- package/dist/{vue-ui-spark-trend-BSxc2AeN.js → vue-ui-spark-trend-DYVXugEw.js} +3 -3
- package/dist/{vue-ui-sparkbar-BpGhOBfa.js → vue-ui-sparkbar-Bv1RBHgo.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BGm17y7o.js → vue-ui-sparkgauge-Ls2_d0PB.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C8_9lU73.js → vue-ui-sparkhistogram-CimMCtyI.js} +4 -4
- package/dist/{vue-ui-sparkline-BEC-1ljx.js → vue-ui-sparkline-ex9TddKP.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BcDRG3Q4.js → vue-ui-sparkstackbar-DUy1WJg0.js} +3 -3
- package/dist/{vue-ui-stackbar-B9rcNFMU.js → vue-ui-stackbar-DaaB_FjD.js} +220 -210
- package/dist/{vue-ui-strip-plot-DiU5qgNv.js → vue-ui-strip-plot-HVQoc18O.js} +32 -32
- package/dist/{vue-ui-table-CVciwbm2.js → vue-ui-table-Oa_A-Vxo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Do0wz-jb.js → vue-ui-table-heatmap-DWdkbupf.js} +18 -18
- package/dist/{vue-ui-table-sparkline-Manlzy4B.js → vue-ui-table-sparkline-Cxj3ZoBu.js} +4 -4
- package/dist/{vue-ui-thermometer-CAZrRTaM.js → vue-ui-thermometer-D-_Dqdcv.js} +5 -5
- package/dist/{vue-ui-timer-DuOTyXM6.js → vue-ui-timer-C01Ipde6.js} +30 -30
- package/dist/{vue-ui-tiremarks-BCETzTS2.js → vue-ui-tiremarks-BTBo3bor.js} +5 -5
- package/dist/{vue-ui-treemap-DjINZD63.js → vue-ui-treemap-DJEl32W1.js} +75 -75
- package/dist/{vue-ui-vertical-bar-D9dKYc0V.js → vue-ui-vertical-bar-CnCpCi4v.js} +8 -8
- package/dist/{vue-ui-waffle-BMUnrWw9.js → vue-ui-waffle-rFSfHosn.js} +30 -30
- package/dist/{vue-ui-wheel-DEpzAPrw.js → vue-ui-wheel-B6md6ra7.js} +5 -5
- package/dist/{vue-ui-word-cloud-BBpm9VoF.js → vue-ui-word-cloud-Co6iFx9I.js} +5 -5
- package/dist/{vue-ui-world-D4G5xytB.js → vue-ui-world-d09xOrf0.js} +5 -5
- package/dist/{vue-ui-xy-BXY4ixtF.js → vue-ui-xy-CuzhWfRK.js} +20 -20
- package/dist/{vue-ui-xy-canvas-BLOjFl9f.js → vue-ui-xy-canvas-D2dyilFo.js} +45 -45
- package/package.json +1 -1
- package/dist/vue-ui-candlestick-BiAWi-oW.js +0 -768
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as O, renderSlot as x, createBlock as I, createCommentVNode as v, createElementVNode as M, createVNode as Ae, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as Y, Fragment as g, renderList as k, toDisplayString as z, createTextVNode as ot, nextTick as rt } from "vue";
|
|
2
|
-
import { u as nt, c as Se, o as ut, e as Me, g as it, b as ct, d as vt, p as
|
|
3
|
-
import { u as Te } from "./useNestedProp-
|
|
4
|
-
import { u as wt } from "./usePrinter-
|
|
2
|
+
import { u as nt, c as Se, o as ut, e as Me, g as it, b as ct, d as vt, p as G, D as ze, i as D, f as j, X as ht, l as yt, h as dt, I as ft, F as xt, E as P, t as pt, a as mt, C as q, q as bt, r as gt, x as kt } from "./index-CBhz79Be.js";
|
|
3
|
+
import { u as Te } from "./useNestedProp-Cg9K3ISG.js";
|
|
4
|
+
import { u as wt } from "./usePrinter-DNC_9y1d.js";
|
|
5
5
|
import { t as Ct, u as _t } from "./useResponsive-DfdjqQps.js";
|
|
6
6
|
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as At } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import St from "./Legend-
|
|
9
|
-
import Mt from "./Title-
|
|
8
|
+
import St from "./Legend-B949nNP9.js";
|
|
9
|
+
import Mt from "./Title-CPvPrwF4.js";
|
|
10
10
|
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"], Ot = { key: 1 }, It = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Xt = ["stop-color"], Yt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 3 }, Bt = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 },
|
|
11
|
+
const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"], Ot = { key: 1 }, It = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Xt = ["stop-color"], Yt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 3 }, Bt = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Ut = ["transform", "fill", "font-size", "text-anchor"], Vt = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["cx", "cy", "fill", "r"], Qt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], al = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ol = ["cx", "cy", "r", "onMouseenter", "onClick"], rl = {
|
|
12
12
|
key: 5,
|
|
13
13
|
class: "vue-data-ui-watermark"
|
|
14
14
|
}, nl = ["onClick"], ul = ["innerHTML"], il = {
|
|
@@ -29,7 +29,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectLegend", "selectDatapoint"],
|
|
31
31
|
setup(Le, { expose: Ne, emit: Oe }) {
|
|
32
|
-
const Ie = N(() => import("./vue-ui-accordion-
|
|
32
|
+
const Ie = N(() => import("./vue-ui-accordion-BWiiOpGO.js")), Pe = N(() => import("./DataTable-CLeYfh93.js")), Fe = N(() => import("./PackageVersion-Djh3oJFs.js")), Xe = N(() => import("./PenAndPaper-BlF1d4XE.js")), Ye = N(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), De = N(() => import("./Tooltip-BiWfcBQk.js")), je = N(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_history_plot: Be } = nt(), y = Le, B = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), A = $e(null), F = $e(null), ne = h(null), H = h(Se()), Z = h(!1), J = h(""), b = h([]), E = h(!1), w = h(null), R = h(!1), ue = h(null), C = f({
|
|
33
33
|
get: () => !!y.dataset && y.dataset.length,
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), ie = Oe;
|
|
@@ -122,7 +122,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
122
122
|
userConfig: mt.vue_ui_history_plot[t.theme] || y.config,
|
|
123
123
|
defaultConfig: t
|
|
124
124
|
}),
|
|
125
|
-
customPalette: pt[t.theme] ||
|
|
125
|
+
customPalette: pt[t.theme] || G
|
|
126
126
|
} : a = t, y.config && q(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && q(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && q(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && q(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
127
127
|
}
|
|
128
128
|
const e = f({
|
|
@@ -162,23 +162,23 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
162
162
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
163
163
|
}), S = f(() => C.value ? y.dataset.map((t, a) => ({
|
|
164
164
|
...t,
|
|
165
|
-
color: t.color ? vt(t.color) : Re.value[a] ||
|
|
165
|
+
color: t.color ? vt(t.color) : Re.value[a] || G[a] || G[a % G.length],
|
|
166
166
|
seriesIndex: a
|
|
167
|
-
})) : []),
|
|
167
|
+
})) : []), Ee = f(() => C.value ? Math.max(...S.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), We = f(() => {
|
|
168
168
|
if (!C.value) return 1;
|
|
169
169
|
const t = Math.min(...S.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
170
170
|
return t < 0 ? t : 0;
|
|
171
|
-
}), Ue = f(() => C.value ? Math.max(...S.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1),
|
|
171
|
+
}), Ue = f(() => C.value ? Math.max(...S.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ve = f(() => {
|
|
172
172
|
if (!C.value) return 1;
|
|
173
173
|
const t = Math.min(...S.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
174
174
|
return t < 0 ? t : 0;
|
|
175
175
|
}), p = f(() => {
|
|
176
176
|
const t = ze(
|
|
177
|
-
e.value.style.chart.axes.x.scaleMin === null ?
|
|
178
|
-
e.value.style.chart.axes.x.scaleMax === null ?
|
|
177
|
+
e.value.style.chart.axes.x.scaleMin === null ? We.value : e.value.style.chart.axes.x.scaleMin,
|
|
178
|
+
e.value.style.chart.axes.x.scaleMax === null ? Ee.value : e.value.style.chart.axes.x.scaleMax,
|
|
179
179
|
e.value.style.chart.axes.x.ticks
|
|
180
180
|
), a = ze(
|
|
181
|
-
e.value.style.chart.axes.y.scaleMin === null ?
|
|
181
|
+
e.value.style.chart.axes.y.scaleMin === null ? Ve.value : e.value.style.chart.axes.y.scaleMin,
|
|
182
182
|
e.value.style.chart.axes.y.scaleMax === null ? Ue.value : e.value.style.chart.axes.y.scaleMax,
|
|
183
183
|
e.value.style.chart.axes.y.ticks
|
|
184
184
|
);
|
|
@@ -199,7 +199,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
199
199
|
}))
|
|
200
200
|
};
|
|
201
201
|
});
|
|
202
|
-
function
|
|
202
|
+
function Ge(t) {
|
|
203
203
|
const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
|
|
204
204
|
return u.value.left + ((t || 0) + a) / (p.value.x.max + a) * u.value.width;
|
|
205
205
|
}
|
|
@@ -212,7 +212,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
212
212
|
valueX: s.x,
|
|
213
213
|
valueY: s.y,
|
|
214
214
|
label: s.label,
|
|
215
|
-
x:
|
|
215
|
+
x: Ge(s.x),
|
|
216
216
|
y: qe(s.y),
|
|
217
217
|
color: t.color,
|
|
218
218
|
seriesName: t.name,
|
|
@@ -252,7 +252,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
254
|
function Ke(t) {
|
|
255
|
-
|
|
255
|
+
E.value = t, re.value += 1;
|
|
256
256
|
}
|
|
257
257
|
const Q = h(null);
|
|
258
258
|
function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
@@ -299,7 +299,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
299
299
|
name: a.name,
|
|
300
300
|
color: a.color
|
|
301
301
|
})) }));
|
|
302
|
-
const
|
|
302
|
+
const W = f(() => {
|
|
303
303
|
const t = [
|
|
304
304
|
e.value.table.columnNames.series,
|
|
305
305
|
e.value.table.columnNames.datapoint,
|
|
@@ -358,11 +358,11 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
358
358
|
[e.value.table.columnNames.datapoint],
|
|
359
359
|
[e.value.table.columnNames.x],
|
|
360
360
|
[e.value.table.columnNames.y]
|
|
361
|
-
], l = T.value.flatMap((L) => L.plots.map((
|
|
362
|
-
[
|
|
363
|
-
[
|
|
364
|
-
[
|
|
365
|
-
[
|
|
361
|
+
], l = T.value.flatMap((L) => L.plots.map((V) => [
|
|
362
|
+
[V.seriesName],
|
|
363
|
+
[V.label],
|
|
364
|
+
[V.valueX],
|
|
365
|
+
[V.valueY]
|
|
366
366
|
])), c = [
|
|
367
367
|
[e.value.style.chart.title.text],
|
|
368
368
|
[e.value.style.chart.title.subtitle.text],
|
|
@@ -399,7 +399,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
399
399
|
id: `history_plot_${H.value}`,
|
|
400
400
|
ref_key: "historyPlotChart",
|
|
401
401
|
ref: B,
|
|
402
|
-
class: O({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen":
|
|
402
|
+
class: O({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
|
|
403
403
|
style: $(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
404
404
|
onMouseenter: a[3] || (a[3] = () => i(he)(!0)),
|
|
405
405
|
onMouseleave: a[4] || (a[4] = () => i(he)(!1))
|
|
@@ -456,7 +456,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
456
456
|
hasTable: e.value.userOptions.buttons.table,
|
|
457
457
|
hasLabel: !1,
|
|
458
458
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
459
|
-
isFullscreen:
|
|
459
|
+
isFullscreen: E.value,
|
|
460
460
|
chartElement: B.value,
|
|
461
461
|
position: e.value.userOptions.position,
|
|
462
462
|
isTooltip: _.value.showTooltip,
|
|
@@ -618,9 +618,9 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
618
618
|
stroke: e.value.style.chart.grid.horizontalLines.stroke,
|
|
619
619
|
"stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
620
620
|
"stroke-linecap": "round"
|
|
621
|
-
}, null, 8,
|
|
621
|
+
}, null, 8, Et))), 256))
|
|
622
622
|
])) : v("", !0),
|
|
623
|
-
e.value.style.chart.axes.x.labels.show ? (o(), r("g",
|
|
623
|
+
e.value.style.chart.axes.x.labels.show ? (o(), r("g", Wt, [
|
|
624
624
|
(o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("text", {
|
|
625
625
|
transform: `translate(${l.x}, ${u.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
626
626
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
@@ -645,7 +645,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
645
645
|
fill: e.value.style.chart.axes.x.name.color,
|
|
646
646
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
647
647
|
"text-anchor": "middle"
|
|
648
|
-
}, z(e.value.style.chart.axes.x.name.text), 9,
|
|
648
|
+
}, z(e.value.style.chart.axes.x.name.text), 9, Vt)) : v("", !0),
|
|
649
649
|
e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
|
|
650
650
|
key: 8,
|
|
651
651
|
x1: u.value.left,
|
|
@@ -655,7 +655,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
655
655
|
stroke: e.value.style.chart.grid.xAxis.stroke,
|
|
656
656
|
"stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
|
|
657
657
|
"stroke-linecap": "round"
|
|
658
|
-
}, null, 8,
|
|
658
|
+
}, null, 8, Gt)) : v("", !0),
|
|
659
659
|
e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
|
|
660
660
|
key: 9,
|
|
661
661
|
x1: u.value.left,
|
|
@@ -850,7 +850,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
850
850
|
parent: B.value,
|
|
851
851
|
content: J.value,
|
|
852
852
|
isCustom: R.value,
|
|
853
|
-
isFullscreen:
|
|
853
|
+
isFullscreen: E.value
|
|
854
854
|
}, {
|
|
855
855
|
"tooltip-before": m(() => [
|
|
856
856
|
x(t.$slots, "tooltip-before", X(Y({ ...Q.value })), void 0, !0)
|
|
@@ -879,10 +879,10 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
879
879
|
content: m(() => [
|
|
880
880
|
(o(), I(i(Pe), {
|
|
881
881
|
key: `table_${oe.value}`,
|
|
882
|
-
colNames:
|
|
883
|
-
head:
|
|
884
|
-
body:
|
|
885
|
-
config:
|
|
882
|
+
colNames: W.value.colNames,
|
|
883
|
+
head: W.value.head,
|
|
884
|
+
body: W.value.body,
|
|
885
|
+
config: W.value.config,
|
|
886
886
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
887
887
|
onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
|
|
888
888
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
|
|
2
|
-
import { u as L } from "./useNestedProp-
|
|
3
|
-
import { u as M, i as E, f as I } from "./index-
|
|
2
|
+
import { u as L } from "./useNestedProp-Cg9K3ISG.js";
|
|
3
|
+
import { u as M, i as E, f as I } from "./index-CBhz79Be.js";
|
|
4
4
|
const G = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const G = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const F = A(() => import("./vue-ui-digits-
|
|
19
|
+
const F = A(() => import("./vue-ui-digits-D4Du84P3.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), D = z();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-Cg9K3ISG.js";
|
|
3
|
+
import { u as y, X as L } from "./index-CBhz79Be.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Qe, defineAsyncComponent as p, computed as k, onMounted as Je, ref as c, watch as Ke, createElementBlock as y, openBlock as r, unref as l, normalizeStyle as B, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as F, createSlots as et, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as tt, renderList as ot, createTextVNode as lt, toDisplayString as st, nextTick as at } from "vue";
|
|
2
|
-
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, Q as vt, X as ht, l as pt, R as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-
|
|
3
|
-
import { u as me } from "./useNestedProp-
|
|
4
|
-
import { u as kt } from "./usePrinter-
|
|
2
|
+
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, Q as vt, X as ht, l as pt, R as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-CBhz79Be.js";
|
|
3
|
+
import { u as me } from "./useNestedProp-Cg9K3ISG.js";
|
|
4
|
+
import { u as kt } from "./usePrinter-DNC_9y1d.js";
|
|
5
5
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { u as wt } from "./usePanZoom-BQMvRXEQ.js";
|
|
@@ -46,7 +46,7 @@ const Ot = ["id"], Pt = {
|
|
|
46
46
|
Qe((t) => ({
|
|
47
47
|
"1859f908": t.slicerColor
|
|
48
48
|
}));
|
|
49
|
-
const Ce = p(() => import("./vue-ui-accordion-
|
|
49
|
+
const Ce = p(() => import("./vue-ui-accordion-BWiiOpGO.js")), $e = p(() => import("./BaseIcon-DTTmgKBX.js")), we = p(() => import("./DataTable-CLeYfh93.js")), Te = p(() => import("./PackageVersion-Djh3oJFs.js")), Oe = p(() => import("./PenAndPaper-BlF1d4XE.js")), Pe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), Fe = p(() => import("./Title-CPvPrwF4.js")), _e = p(() => import("./Tooltip-BiWfcBQk.js")), Se = p(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
|
|
50
50
|
Je(() => {
|
|
51
51
|
W();
|
|
52
52
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as _, computed as c, onMounted as Ae, ref as y, watch as Oe, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as I, normalizeClass as te, createBlock as m, createCommentVNode as i, renderSlot as v, createVNode as U, createSlots as Te, withCtx as f, normalizeProps as F, guardReactiveProps as S, createElementVNode as s, Fragment as oe, renderList as le, toDisplayString as O, createTextVNode as ae, nextTick as Le } from "vue";
|
|
2
|
-
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, R as je, X as Re, s as C, w as Be, S as Ue, i as re, f as V, q as We, r as ze } from "./index-
|
|
3
|
-
import { u as ne } from "./useNestedProp-
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
2
|
+
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, R as je, X as Re, s as C, w as Be, S as Ue, i as re, f as V, q as We, r as ze } from "./index-CBhz79Be.js";
|
|
3
|
+
import { u as ne } from "./useNestedProp-Cg9K3ISG.js";
|
|
4
|
+
import { u as De } from "./usePrinter-DNC_9y1d.js";
|
|
5
5
|
import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import He from "./Legend-
|
|
8
|
-
import Xe from "./Title-
|
|
7
|
+
import He from "./Legend-B949nNP9.js";
|
|
8
|
+
import Xe from "./Title-CPvPrwF4.js";
|
|
9
9
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const qe = ["id"], Ye = {
|
|
11
11
|
key: 2,
|
|
@@ -34,7 +34,7 @@ const qe = ["id"], Ye = {
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
setup(ue, { expose: ie }) {
|
|
37
|
-
const de = _(() => import("./vue-ui-accordion-
|
|
37
|
+
const de = _(() => import("./vue-ui-accordion-BWiiOpGO.js")), $ = _(() => import("./BaseIcon-DTTmgKBX.js")), ce = _(() => import("./DataTable-CLeYfh93.js")), ve = _(() => import("./PackageVersion-Djh3oJFs.js")), ye = _(() => import("./PenAndPaper-BlF1d4XE.js")), he = _(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), fe = _(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
38
38
|
Ae(() => {
|
|
39
39
|
W();
|
|
40
40
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as E, computed as $, ref as h, watch as lt, onMounted as at, nextTick as ot, shallowRef as st, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ue, normalizeClass as U, createBlock as R, createCommentVNode as m, createVNode as ut, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as g, Fragment as T, renderList as F, toDisplayString as S, withDirectives as nt, vShow as rt, createTextVNode as ne } from "vue";
|
|
2
|
-
import { u as Et, c as Ut, t as Rt, p as Ce, a as Bt,
|
|
2
|
+
import { u as Et, c as Ut, t as Rt, p as Ce, a as Bt, G as D, o as Gt, e as W, b as Yt, d as Xt, m as _e, f as N, X as Wt, s as qt, L as Ht, k as Te, n as q, i as K, x as it, q as Jt, r as Kt, y as Qt, v as Fe, T as dt } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as Zt, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ct } from "./useNestedProp-
|
|
5
|
-
import { u as el } from "./usePrinter-
|
|
4
|
+
import { u as ct } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as el } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import al from "./Title-
|
|
9
|
-
import ol from "./Legend-
|
|
8
|
+
import al from "./Title-CPvPrwF4.js";
|
|
9
|
+
import ol from "./Legend-B949nNP9.js";
|
|
10
10
|
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["id"], dl = ["offset", "stop-color"], cl = ["offset", "stop-opacity"], vl = ["id"], hl = ["id"], fl = ["id"], pl = ["flood-color"], yl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = ["d", "fill", "stroke", "stroke-width"], gl = { key: 1 }, ml = ["d", "fill"], wl = { key: 2 }, kl = ["x", "y", "font-size", "font-weight", "fill"], $l = { key: 3 }, Ll = ["filter"], xl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Cl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], _l = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Tl = ["d", "fill", "onMouseenter", "onClick"], Fl = {
|
|
12
12
|
key: 5,
|
|
@@ -32,7 +32,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
34
|
setup(vt, { expose: ht, emit: ft }) {
|
|
35
|
-
const pt = E(() => import("./vue-ui-accordion-
|
|
35
|
+
const pt = E(() => import("./vue-ui-accordion-BWiiOpGO.js")), yt = E(() => import("./DataTable-CLeYfh93.js")), bt = E(() => import("./PackageVersion-Djh3oJFs.js")), gt = E(() => import("./PenAndPaper-BlF1d4XE.js")), mt = E(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), wt = E(() => import("./Tooltip-BiWfcBQk.js")), kt = E(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_nested_donuts: $t } = Et(), C = vt, Q = $(() => !!C.dataset && C.dataset.length), y = h(Ut()), re = h(!1), ie = h(""), Lt = h(null), Ne = h(0), H = h(null), Oe = h(null), de = h(null), Ae = h(null), Ie = h(null), Se = h(0), Ve = h(0), Pe = h(0), z = h(!0), M = h([]), J = h([]), B = h(!1);
|
|
36
36
|
function xt(l) {
|
|
37
37
|
B.value = l, Ne.value += 1;
|
|
38
38
|
}
|
|
@@ -154,7 +154,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
154
154
|
}), e.value.responsive) {
|
|
155
155
|
const l = Zt(() => {
|
|
156
156
|
const { width: s, height: a } = jt({
|
|
157
|
-
chart:
|
|
157
|
+
chart: H.value,
|
|
158
158
|
title: e.value.style.chart.title.text ? Oe.value : null,
|
|
159
159
|
legend: e.value.style.chart.legend.show ? de.value : null,
|
|
160
160
|
source: Ae.value,
|
|
@@ -165,7 +165,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
165
165
|
f.value.width = s, f.value.height = a;
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
|
-
V.value && (G.value && V.value.unobserve(G.value), V.value.disconnect()), V.value = new ResizeObserver(l), G.value =
|
|
168
|
+
V.value && (G.value && V.value.unobserve(G.value), V.value.disconnect()), V.value = new ResizeObserver(l), G.value = H.value.parentNode, V.value.observe(G.value);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
zt(() => {
|
|
@@ -256,7 +256,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
256
256
|
};
|
|
257
257
|
})
|
|
258
258
|
}));
|
|
259
|
-
}), I = $(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)),
|
|
259
|
+
}), I = $(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), qe = $(() => [...A.value].map((l, s) => {
|
|
260
260
|
const a = l.series.filter((o) => !w.value.includes(o.id)).map((o) => o.value).reduce((o, t) => o + t, 0);
|
|
261
261
|
return {
|
|
262
262
|
...l,
|
|
@@ -273,9 +273,9 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
273
273
|
a.includes(l[t]) && (o += 1);
|
|
274
274
|
return o < s;
|
|
275
275
|
}
|
|
276
|
-
const b = h(
|
|
276
|
+
const b = h(qe.value);
|
|
277
277
|
lt(
|
|
278
|
-
() =>
|
|
278
|
+
() => qe.value,
|
|
279
279
|
(l) => b.value = l
|
|
280
280
|
);
|
|
281
281
|
function he(l) {
|
|
@@ -330,7 +330,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
330
330
|
series: d.series.map((p) => p.id === l.id ? { ...p, value: 0 } : p)
|
|
331
331
|
})), w.value.push(l.id)));
|
|
332
332
|
}
|
|
333
|
-
const Z = $(() => I.value / A.value.length * e.value.style.chart.layout.donut.spacingRatio),
|
|
333
|
+
const Z = $(() => I.value / A.value.length * e.value.style.chart.layout.donut.spacingRatio), He = $(() => b.value.map((l, s) => I.value - s * I.value / A.value.length)), j = $(() => b.value.map((l, s) => {
|
|
334
334
|
const a = Math.abs(l.series.map((v) => v.value).reduce((v, O) => v + O, 0)) > 0, o = I.value - s * I.value / b.value.length, t = z.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
|
|
335
335
|
...v,
|
|
336
336
|
value: v.value < 1e-11 ? Number.MIN_VALUE : v.value
|
|
@@ -622,7 +622,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
622
622
|
toggleAnnotator: be
|
|
623
623
|
}), (l, s) => (n(), i("div", {
|
|
624
624
|
ref_key: "nestedDonutsChart",
|
|
625
|
-
ref:
|
|
625
|
+
ref: H,
|
|
626
626
|
class: U(`vue-ui-nested-donuts ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
627
627
|
style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
628
628
|
id: `nested_donuts_${y.value}`,
|
|
@@ -681,7 +681,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
681
681
|
isFullscreen: B.value,
|
|
682
682
|
isTooltip: k.value.showTooltip,
|
|
683
683
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
684
|
-
chartElement:
|
|
684
|
+
chartElement: H.value,
|
|
685
685
|
position: e.value.userOptions.position,
|
|
686
686
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
687
687
|
isAnnotation: ae.value,
|
|
@@ -797,12 +797,12 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
797
797
|
"stop-opacity": "0"
|
|
798
798
|
}, null, -1)),
|
|
799
799
|
g("stop", {
|
|
800
|
-
offset: `${(1 - Z.value /
|
|
801
|
-
"stop-color": r(
|
|
800
|
+
offset: `${(1 - Z.value / He.value[o]) * 100}%`,
|
|
801
|
+
"stop-color": r(qt)("#FFFFFF", 0),
|
|
802
802
|
"stop-opacity": "0"
|
|
803
803
|
}, null, 8, dl),
|
|
804
804
|
g("stop", {
|
|
805
|
-
offset: `${(1 - Z.value /
|
|
805
|
+
offset: `${(1 - Z.value / He.value[o] / 2) * 100}%`,
|
|
806
806
|
"stop-color": "#FFFFFF",
|
|
807
807
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
808
808
|
}, null, 8, cl),
|
|
@@ -886,7 +886,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
886
886
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
887
887
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
888
888
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
889
|
-
}, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
889
|
+
}, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Ht)({
|
|
890
890
|
source: a.name,
|
|
891
891
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
892
892
|
}) : a.name), 11, kl)) : m("", !0)
|
|
@@ -901,8 +901,8 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
901
901
|
nt(g("text", {
|
|
902
902
|
class: U({ animated: e.value.useCssAnimation }),
|
|
903
903
|
opacity: pe(t) ? 1 : 0,
|
|
904
|
-
"text-anchor": r(
|
|
905
|
-
x: r(
|
|
904
|
+
"text-anchor": r(q)(t, !0).anchor,
|
|
905
|
+
x: r(q)(
|
|
906
906
|
t,
|
|
907
907
|
!1,
|
|
908
908
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -928,8 +928,8 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
928
928
|
nt(g("text", {
|
|
929
929
|
class: U({ animated: e.value.useCssAnimation }),
|
|
930
930
|
opacity: pe(t) ? 1 : 0,
|
|
931
|
-
"text-anchor": r(
|
|
932
|
-
x: r(
|
|
931
|
+
"text-anchor": r(q)(t, !0).anchor,
|
|
932
|
+
x: r(q)(
|
|
933
933
|
t,
|
|
934
934
|
!1,
|
|
935
935
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -961,8 +961,8 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
961
961
|
pe(t) && k.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (n(), i("text", {
|
|
962
962
|
key: 0,
|
|
963
963
|
class: U({ animated: e.value.useCssAnimation }),
|
|
964
|
-
"text-anchor": r(
|
|
965
|
-
x: r(
|
|
964
|
+
"text-anchor": r(q)(t, !0).anchor,
|
|
965
|
+
x: r(q)(
|
|
966
966
|
t,
|
|
967
967
|
!1,
|
|
968
968
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1033,7 +1033,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
|
|
|
1033
1033
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1034
1034
|
position: e.value.style.chart.tooltip.position,
|
|
1035
1035
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1036
|
-
parent:
|
|
1036
|
+
parent: H.value,
|
|
1037
1037
|
content: ie.value,
|
|
1038
1038
|
isFullscreen: B.value,
|
|
1039
1039
|
isCustom: r(it)(e.value.style.chart.tooltip.customFormat)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, computed as h, ref as u, watch as Ce, shallowRef as xe, onMounted as Ze, onBeforeUnmount as et, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as U, normalizeClass as G, createBlock as O, createCommentVNode as g, createElementVNode as I, createVNode as Te, createSlots as tt, withCtx as f, renderSlot as v, normalizeProps as S, guardReactiveProps as F, Fragment as D, renderList as L, toDisplayString as M, createTextVNode as at, nextTick as lt } from "vue";
|
|
2
|
-
import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-
|
|
2
|
+
import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as gt, u as pt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as _e } from "./useNestedProp-
|
|
5
|
-
import { u as yt } from "./usePrinter-
|
|
4
|
+
import { u as _e } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as yt } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import kt from "./Title-
|
|
9
|
-
import wt from "./Legend-
|
|
8
|
+
import kt from "./Title-CPvPrwF4.js";
|
|
9
|
+
import wt from "./Legend-B949nNP9.js";
|
|
10
10
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Pt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], _t = ["id"], At = ["stdDeviation"], It = ["filter"], St = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ft = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Mt = { key: 2 }, Rt = ["onMouseenter"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Dt = {
|
|
12
12
|
key: 5,
|
|
@@ -29,7 +29,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectLegend"],
|
|
31
31
|
setup(Ae, { expose: Ie, emit: Se }) {
|
|
32
|
-
const Fe = T(() => import("./vue-ui-accordion-
|
|
32
|
+
const Fe = T(() => import("./vue-ui-accordion-BWiiOpGO.js")), Me = T(() => import("./DataTable-CLeYfh93.js")), Re = T(() => import("./PackageVersion-Djh3oJFs.js")), Ne = T(() => import("./PenAndPaper-BlF1d4XE.js")), De = T(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), Le = T(() => import("./Tooltip-BiWfcBQk.js")), Ve = T(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_onion: ze } = ot(), w = Ae, z = h(() => !!w.dataset && w.dataset.length), P = u(nt()), Ye = u(null), te = u(0), Y = u(!1), E = u(""), y = u([]), R = u(null), ae = u(null), le = u(null), oe = u(null), ne = u(null), se = u(0), re = u(0), ue = u(0), e = h({
|
|
33
33
|
get: () => de(),
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), { userOptionsVisible: H, setUserOptionsVisibility: ie, keepUserOptionState: ce } = mt({ config: e.value }), { svgRef: ve } = bt({ config: e.value.style.chart.title });
|