vue-data-ui 2.15.4 → 2.15.6-beta.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-BQEd_wRd.js → Arrow-7CtGUd2c.js} +1 -1
- package/dist/{BaseDraggableDialog-BjF36RRw.js → BaseDraggableDialog-DMzlY1LV.js} +2 -2
- package/dist/{BaseIcon-2scCpKdr.js → BaseIcon-CJHXqPgs.js} +1 -1
- package/dist/{ColorPicker-CDeA3YBV.js → ColorPicker-CBS1uc5f.js} +6 -6
- package/dist/{DataTable-IKRxrKEU.js → DataTable-xkeRPRWr.js} +2 -2
- package/dist/{Legend-DC-fDruC.js → Legend-BzxnWZQQ.js} +2 -2
- package/dist/{NonSvgPenAndPaper-bX1Ui_EC.js → NonSvgPenAndPaper-BaZ7MEYP.js} +3 -3
- package/dist/{PackageVersion-CQFOMkQe.js → PackageVersion-Bx7Duwo_.js} +2 -2
- package/dist/{PenAndPaper-DFjucqRK.js → PenAndPaper-BpDdU2pw.js} +3 -3
- package/dist/{Shape-FD7ONBrG.js → Shape-CCmBnBeJ.js} +1 -1
- package/dist/{Slicer-Bzl5YpDL.js → Slicer-XCdPNvSR.js} +13 -13
- package/dist/{SparkTooltip-BCvNYPb4.js → SparkTooltip-DvnnaGGW.js} +1 -1
- package/dist/{Title-CIt92-DI.js → Title-BiUlPqJ6.js} +1 -1
- package/dist/{Tooltip-1FFfLKkv.js → Tooltip-DOYGtO6A.js} +1 -1
- package/dist/{UserOptions-ChEMQwwM.js → UserOptions-D6Ou5zsU.js} +2 -2
- package/dist/{dom-to-png-DT4oXcWc.js → dom-to-png-BEunG1XE.js} +1 -1
- package/dist/{img-DFfoLjtb.js → img-DnX4eLxW.js} +1 -1
- package/dist/{index-k9FPl_-D.js → index-CKFIZRRC.js} +18 -12
- package/dist/{pdf-CN1aIkJS.js → pdf-ptdmUaVZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +7 -0
- package/dist/types/vue-data-ui.d.ts +7 -0
- package/dist/{useNestedProp-upzRxZOw.js → useNestedProp-CTDjXbu-.js} +1 -1
- package/dist/{usePrinter-CARdq6Fz.js → usePrinter-DnlRuPQL.js} +2 -2
- package/dist/{vue-data-ui-mV-4-e8e.js → vue-data-ui-CoT0Iab7.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BMhc9SiP.js → vue-ui-3d-bar-DzIs0Km-.js} +5 -5
- package/dist/{vue-ui-accordion-ATCD6-Tg.js → vue-ui-accordion-BYCbqbFm.js} +3 -3
- package/dist/{vue-ui-age-pyramid-2i_hXqip.js → vue-ui-age-pyramid-BZhHqkZ8.js} +5 -5
- package/dist/{vue-ui-annotator-Breve0su.js → vue-ui-annotator-CPZ8B6Al.js} +2 -2
- package/dist/{vue-ui-bullet-Biziff3B.js → vue-ui-bullet-sNxy6WGS.js} +6 -6
- package/dist/vue-ui-candlestick-Bp8rzZrF.js +856 -0
- package/dist/{vue-ui-carousel-table-ZHZOptd2.js → vue-ui-carousel-table-DWq6eY06.js} +4 -4
- package/dist/{vue-ui-chestnut-Cg0P2bco.js → vue-ui-chestnut-CJtV5Lp7.js} +28 -28
- package/dist/{vue-ui-chord-CODyOR1w.js → vue-ui-chord-CD8cg6V0.js} +47 -47
- package/dist/{vue-ui-circle-pack-BZ0Fl6Em.js → vue-ui-circle-pack-wQqr7mVc.js} +24 -24
- package/dist/{vue-ui-cursor-PLc3WrpA.js → vue-ui-cursor-BkWV-oeZ.js} +2 -2
- package/dist/{vue-ui-dashboard-BiGxJMVg.js → vue-ui-dashboard-C-BLtPmP.js} +62 -62
- package/dist/{vue-ui-digits-D_s5X6Gv.js → vue-ui-digits-DhCHh3cw.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DSDySesn.js → vue-ui-donut-evolution-WkCZUqn5.js} +7 -7
- package/dist/{vue-ui-donut-BADbAnZ7.js → vue-ui-donut-jm3d6EMv.js} +7 -7
- package/dist/{vue-ui-dumbbell-C-81iCzF.js → vue-ui-dumbbell-CUSfLKry.js} +6 -6
- package/dist/{vue-ui-flow-MlOiiVqg.js → vue-ui-flow-fFBWZUoD.js} +24 -24
- package/dist/{vue-ui-funnel-DXCWqpfj.js → vue-ui-funnel-C1f2-oPu.js} +5 -5
- package/dist/{vue-ui-galaxy-Aremt6Os.js → vue-ui-galaxy-DG8wKkOi.js} +35 -35
- package/dist/{vue-ui-gauge-CRt_-O7S.js → vue-ui-gauge-DiPhnrDM.js} +17 -17
- package/dist/{vue-ui-gizmo-2b7hFkMI.js → vue-ui-gizmo-l19sXZlZ.js} +3 -3
- package/dist/{vue-ui-heatmap-DbLkBq8U.js → vue-ui-heatmap-DmkoaMFW.js} +31 -31
- package/dist/{vue-ui-history-plot-CJ7xDgWe.js → vue-ui-history-plot-BPNGukiK.js} +34 -34
- package/dist/{vue-ui-kpi-BEUT--Y2.js → vue-ui-kpi-CBae6xnx.js} +3 -3
- package/dist/{vue-ui-mini-loader-CFKVgefJ.js → vue-ui-mini-loader-VxJTtzhp.js} +2 -2
- package/dist/{vue-ui-molecule-BzPDfeL2.js → vue-ui-molecule-DgSckvvc.js} +4 -4
- package/dist/{vue-ui-mood-radar-CxCOF6D7.js → vue-ui-mood-radar-C8WiiaVL.js} +6 -6
- package/dist/{vue-ui-nested-donuts-7Y06IxwD.js → vue-ui-nested-donuts-CiaPPgP9.js} +25 -25
- package/dist/{vue-ui-onion-C5ycZG0D.js → vue-ui-onion-l3ghP0NR.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-DTi16joz.js → vue-ui-parallel-coordinate-plot-Jkq5N0IW.js} +35 -35
- package/dist/{vue-ui-quadrant-CKhiKHS0.js → vue-ui-quadrant-CssqTQNV.js} +7 -7
- package/dist/{vue-ui-quick-chart-CvwSCsif.js → vue-ui-quick-chart-DhuqsDVZ.js} +5 -5
- package/dist/{vue-ui-radar-CVsEeYXD.js → vue-ui-radar-CukYMAGu.js} +6 -6
- package/dist/{vue-ui-rating-fxUUbMdu.js → vue-ui-rating-DpU_yTsi.js} +2 -2
- package/dist/{vue-ui-relation-circle-BxpZWN-i.js → vue-ui-relation-circle-A-Rczr2V.js} +30 -30
- package/dist/{vue-ui-ridgeline-CIB1O3j4.js → vue-ui-ridgeline-COh9tuKK.js} +7 -7
- package/dist/{vue-ui-rings-BrNNe84c.js → vue-ui-rings-ByDVFvi3.js} +21 -21
- package/dist/{vue-ui-scatter-16nBWie7.js → vue-ui-scatter-6hllL9hr.js} +7 -7
- package/dist/{vue-ui-skeleton-Bd_C0wSv.js → vue-ui-skeleton-DhFJYDTn.js} +3 -3
- package/dist/{vue-ui-smiley-DMeM0qiO.js → vue-ui-smiley-J4WstQlh.js} +2 -2
- package/dist/{vue-ui-spark-trend-BHFQFK9s.js → vue-ui-spark-trend-Bl0PnT2V.js} +3 -3
- package/dist/{vue-ui-sparkbar-ll_sPgnw.js → vue-ui-sparkbar-DzmAY8ie.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CxJGBD5X.js → vue-ui-sparkgauge-D-Ck11nK.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-D2G4enc2.js → vue-ui-sparkhistogram-Cp5Xr557.js} +4 -4
- package/dist/{vue-ui-sparkline-BpPTlOzu.js → vue-ui-sparkline-D7ZX0old.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Ceg1ZY7U.js → vue-ui-sparkstackbar-CXymF8dq.js} +3 -3
- package/dist/{vue-ui-stackbar-CapcKmV8.js → vue-ui-stackbar-BLUvVwgp.js} +8 -8
- package/dist/{vue-ui-strip-plot-BNNnSAKO.js → vue-ui-strip-plot-D-lRQH1I.js} +32 -32
- package/dist/{vue-ui-table-Cw9CBNiW.js → vue-ui-table-DLgF8tGT.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CvnYKuy6.js → vue-ui-table-heatmap-BO37ZIHF.js} +18 -18
- package/dist/{vue-ui-table-sparkline-DDGyDfI0.js → vue-ui-table-sparkline-btEebUXB.js} +4 -4
- package/dist/{vue-ui-thermometer-Bwj_Ew5C.js → vue-ui-thermometer-u1PvQSeL.js} +5 -5
- package/dist/{vue-ui-timer-Do7bjdtG.js → vue-ui-timer-B48HT4eW.js} +30 -30
- package/dist/{vue-ui-tiremarks-wJyN3gsD.js → vue-ui-tiremarks-CiJXoCJR.js} +5 -5
- package/dist/{vue-ui-treemap-CVSCG10W.js → vue-ui-treemap-w-MtZzrD.js} +75 -75
- package/dist/{vue-ui-vertical-bar-CfRyQ9Cn.js → vue-ui-vertical-bar-B2NFYukn.js} +8 -8
- package/dist/{vue-ui-waffle-CWDvXh87.js → vue-ui-waffle-Cfg34ICq.js} +30 -30
- package/dist/{vue-ui-wheel-Dk5ONtqz.js → vue-ui-wheel-D7x2HZCc.js} +5 -5
- package/dist/{vue-ui-word-cloud-BXoqw8VQ.js → vue-ui-word-cloud-DRjkBdUN.js} +5 -5
- package/dist/{vue-ui-world-rO4sQpvw.js → vue-ui-world-D4FgKXT2.js} +5 -5
- package/dist/{vue-ui-xy-canvas-Dmp9S9oY.js → vue-ui-xy-canvas-BRKsTfoq.js} +45 -45
- package/dist/vue-ui-xy-lLTOcI_N.js +3127 -0
- package/package.json +1 -1
- package/dist/vue-ui-candlestick-5C8j-Fb6.js +0 -768
- package/dist/vue-ui-xy-DTkzAeNr.js +0 -3082
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as n, useSlots as ze, onMounted as A, computed as R, watch as N, onBeforeUnmount as G, shallowRef as Se, nextTick as fe, createElementBlock as v, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as z, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as p, toDisplayString as X, Fragment as j, renderList as J, mergeProps as me, createSlots as He, withCtx as w, normalizeProps as ge, guardReactiveProps as be } from "vue";
|
|
2
|
-
import { u as Ne, c as Ue, o as K, e as Q, s as Ve, q as Me, r as qe } from "./index-
|
|
3
|
-
import { u as Le } from "./useNestedProp-
|
|
4
|
-
import { u as Ge } from "./usePrinter-
|
|
2
|
+
import { u as Ne, c as Ue, o as K, e as Q, s as Ve, q as Me, r as qe } from "./index-CKFIZRRC.js";
|
|
3
|
+
import { u as Le } from "./useNestedProp-CTDjXbu-.js";
|
|
4
|
+
import { u as Ge } from "./usePrinter-DnlRuPQL.js";
|
|
5
5
|
import { u as De } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
@@ -25,7 +25,7 @@ const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(T, { expose: ye }) {
|
|
28
|
-
const Ce = ce(() => import("./vue-ui-skeleton-
|
|
28
|
+
const Ce = ce(() => import("./vue-ui-skeleton-DhFJYDTn.js")), $e = ce(() => import("./UserOptions-D6Ou5zsU.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = ze();
|
|
29
29
|
A(() => {
|
|
30
30
|
Y();
|
|
31
31
|
}), A(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as at, defineAsyncComponent as H, computed as m, ref as z, watch as ot, shallowRef as st, onMounted as ut, onBeforeUnmount as nt, createElementBlock as o, openBlock as a, unref as s, normalizeStyle as y, normalizeClass as k, createBlock as Z, createCommentVNode as h, renderSlot as F, createSlots as rt, withCtx as A, normalizeProps as ee, guardReactiveProps as te, createVNode as Ne, createElementVNode as u, toDisplayString as c, Fragment as p, renderList as g, createTextVNode as le, withKeys as it, nextTick as Se } from "vue";
|
|
2
|
-
import { u as ct, c as dt, t as vt, p as V, a as yt, b as ht, g as ce, e as ae, d as de, o as ft, X as bt, s as I, w as Fe, i as
|
|
3
|
-
import { u as Pe } from "./useNestedProp-
|
|
4
|
-
import { u as xt } from "./usePrinter-
|
|
2
|
+
import { u as ct, c as dt, t as vt, p as V, a as yt, b as ht, g as ce, e as ae, d as de, o as ft, X as bt, s as I, w as Fe, i as G, f as N, F as Ie, m as Le, j as pt, k as J, n as O, q as gt, r as _t } from "./index-CKFIZRRC.js";
|
|
3
|
+
import { u as Pe } from "./useNestedProp-CTDjXbu-.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-DnlRuPQL.js";
|
|
5
5
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -10,7 +10,7 @@ const $t = ["id"], Ct = {
|
|
|
10
10
|
ref: "noTitle",
|
|
11
11
|
class: "vue-data-ui-no-title-space",
|
|
12
12
|
style: "height:36px; width: 100%;background:transparent"
|
|
13
|
-
}, Tt = ["xmlns", "viewBox"], zt = ["width", "height"], Nt = { key: 1 }, St = ["fill", "font-weight", "font-size", "x", "y"], Ft = ["fill", "font-weight", "font-size", "x", "y"], It = ["id"], Lt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Ot = ["stop-color"], Rt = ["stop-color"], Mt = ["id"], Bt = ["stop-color"], At = ["stop-color"], jt = ["stop-color"], Xt = ["id"],
|
|
13
|
+
}, Tt = ["xmlns", "viewBox"], zt = ["width", "height"], Nt = { key: 1 }, St = ["fill", "font-weight", "font-size", "x", "y"], Ft = ["fill", "font-weight", "font-size", "x", "y"], It = ["id"], Lt = ["stop-color"], Pt = ["stop-color"], Vt = ["id"], Ot = ["stop-color"], Rt = ["stop-color"], Mt = ["id"], Bt = ["stop-color"], At = ["stop-color"], jt = ["stop-color"], Xt = ["id"], Et = ["stop-color"], Gt = ["stop-color"], Ut = ["stop-color"], Dt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Ht = ["stop-color"], Wt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Jt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["d", "stroke"], Zt = ["cx", "cy", "r", "fill"], el = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], tl = { key: 3 }, ll = ["x", "y", "font-size", "fill", "onClick"], al = { key: 0 }, ol = ["x", "y", "fill", "font-size", "font-weight"], sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], ul = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], nl = { key: 4 }, rl = ["x", "y", "fill", "font-size", "onClick"], il = ["d", "stroke"], cl = ["fill", "cx", "cy", "r", "onClick"], dl = { key: 5 }, vl = ["x", "y", "font-size", "font-weight", "fill"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], hl = ["y", "height", "width"], fl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, bl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, pl = {
|
|
14
14
|
viewBox: "0 0 20 20",
|
|
15
15
|
height: "16",
|
|
16
16
|
width: "16"
|
|
@@ -21,11 +21,11 @@ const $t = ["id"], Ct = {
|
|
|
21
21
|
}, $l = ["fill"], Cl = ["cx", "cy", "fill"], Tl = ["d", "stroke"], zl = ["cx", "cy", "fill"], Nl = ["d", "stroke"], Sl = ["cx", "cy", "fill"], Fl = ["cx", "cy", "fill"], Il = ["x", "y", "fill", "font-size", "font-weight"], Ll = ["x", "y", "fill", "font-size", "font-weight"], Pl = ["x", "text-anchor", "y", "fill", "font-size"], Vl = ["x", "text-anchor", "y", "fill", "font-size"], Ol = ["x", "text-anchor", "y", "fill", "font-size"], Rl = ["x", "text-anchor", "y", "fill", "font-size"], Ml = ["x", "text-anchor", "y", "fill", "font-size"], Bl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], jl = ["x", "y", "font-size", "fill"], Xl = {
|
|
22
22
|
key: 4,
|
|
23
23
|
class: "vue-data-ui-watermark"
|
|
24
|
-
},
|
|
24
|
+
}, El = {
|
|
25
25
|
key: 6,
|
|
26
26
|
ref: "source",
|
|
27
27
|
dir: "auto"
|
|
28
|
-
},
|
|
28
|
+
}, Gl = { style: { "padding-top": "36px", position: "relative" } }, Ul = { class: "vue-ui-data-table" }, Dl = { key: 0 }, Yl = ["data-cell"], ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = { key: 0 }, Wl = { key: 1 }, Kl = ["data-cell"], Jl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ql = { key: 0 }, Zl = { key: 1 }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = { key: 0 }, aa = { key: 1 }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = { key: 0 }, na = { key: 1 }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = { key: 0 }, da = { key: 1 }, va = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = { key: 0 }, fa = { key: 1 }, ba = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ga = { key: 0 }, _a = { key: 1 }, xa = ["data-cell"], ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = ["data-cell"], wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ta = ["data-cell"], za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Na = ["data-cell"], Sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Fa = {
|
|
29
29
|
__name: "vue-ui-chestnut",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -46,14 +46,14 @@ const $t = ["id"], Ct = {
|
|
|
46
46
|
at((l) => ({
|
|
47
47
|
"69a9e7b7": l.tdo
|
|
48
48
|
}));
|
|
49
|
-
const Me = H(() => import("./PenAndPaper-
|
|
49
|
+
const Me = H(() => import("./PenAndPaper-BpDdU2pw.js")), Be = H(() => import("./vue-ui-accordion-BYCbqbFm.js")), Ae = H(() => import("./vue-ui-skeleton-DhFJYDTn.js")), je = H(() => import("./UserOptions-D6Ou5zsU.js")), Xe = H(() => import("./PackageVersion-Bx7Duwo_.js")), Ee = H(() => import("./BaseIcon-CJHXqPgs.js")), { vue_ui_chestnut: Ge } = ct(), R = Ve, W = m(() => !!R.dataset && R.dataset.length), w = z(dt()), ve = z(null), Ue = z(null), ye = z(0), e = m({
|
|
50
50
|
get: () => pe(),
|
|
51
51
|
set: (l) => l
|
|
52
52
|
}), { userOptionsVisible: oe, setUserOptionsVisibility: he, keepUserOptionState: fe } = mt({ config: e.value }), { svgRef: be } = kt({ config: e.value.style.chart.layout.title });
|
|
53
53
|
function pe() {
|
|
54
54
|
const l = Pe({
|
|
55
55
|
userConfig: R.config,
|
|
56
|
-
defaultConfig:
|
|
56
|
+
defaultConfig: Ge
|
|
57
57
|
});
|
|
58
58
|
return l.theme ? {
|
|
59
59
|
...Pe({
|
|
@@ -217,7 +217,7 @@ const $t = ["id"], Ct = {
|
|
|
217
217
|
), D("selectNut", l.breakdown);
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function E() {
|
|
221
221
|
d.value = null, B.value = null, D("selectNut", null);
|
|
222
222
|
}
|
|
223
223
|
function re(l) {
|
|
@@ -516,11 +516,11 @@ const $t = ["id"], Ct = {
|
|
|
516
516
|
u("stop", {
|
|
517
517
|
offset: "0%",
|
|
518
518
|
"stop-color": s(I)("#FFFFFF", 0)
|
|
519
|
-
}, null, 8,
|
|
519
|
+
}, null, 8, Et),
|
|
520
520
|
u("stop", {
|
|
521
521
|
offset: "80%",
|
|
522
522
|
"stop-color": s(I)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
523
|
-
}, null, 8,
|
|
523
|
+
}, null, 8, Gt),
|
|
524
524
|
u("stop", {
|
|
525
525
|
offset: "100%",
|
|
526
526
|
"stop-color": s(I)("#FFFFFF", 0)
|
|
@@ -566,7 +566,7 @@ const $t = ["id"], Ct = {
|
|
|
566
566
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
567
567
|
"text-anchor": "middle",
|
|
568
568
|
onClick: $
|
|
569
|
-
}, c(s(
|
|
569
|
+
}, c(s(G)(
|
|
570
570
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
571
571
|
M.value,
|
|
572
572
|
s(N)({
|
|
@@ -621,7 +621,7 @@ const $t = ["id"], Ct = {
|
|
|
621
621
|
"font-weight": "bold",
|
|
622
622
|
style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
|
|
623
623
|
onClick: (b) => $e(t)
|
|
624
|
-
}, c(s(
|
|
624
|
+
}, c(s(G)(
|
|
625
625
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
626
626
|
t.total,
|
|
627
627
|
s(N)({
|
|
@@ -681,7 +681,7 @@ const $t = ["id"], Ct = {
|
|
|
681
681
|
"font-weight": "bold",
|
|
682
682
|
style: y(`cursor:pointer; opacity:${P(t) ? 1 : 0.05}`),
|
|
683
683
|
onClick: (n) => re(t)
|
|
684
|
-
}, c(s(
|
|
684
|
+
}, c(s(G)(
|
|
685
685
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
686
686
|
t.value,
|
|
687
687
|
s(N)({
|
|
@@ -760,7 +760,7 @@ const $t = ["id"], Ct = {
|
|
|
760
760
|
}, null, 8, gl)
|
|
761
761
|
])),
|
|
762
762
|
u("span", null, c(t.name) + ":", 1),
|
|
763
|
-
u("b", null, c(s(
|
|
763
|
+
u("b", null, c(s(G)(
|
|
764
764
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
765
765
|
t.total,
|
|
766
766
|
s(N)({
|
|
@@ -818,7 +818,7 @@ const $t = ["id"], Ct = {
|
|
|
818
818
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
819
819
|
r: 256,
|
|
820
820
|
fill: `url(#nut_underlayer_${w.value})`,
|
|
821
|
-
onClick:
|
|
821
|
+
onClick: E,
|
|
822
822
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
823
823
|
}, null, 10, Cl),
|
|
824
824
|
(a(!0), o(p, null, g(B.value, (t) => (a(), o("g", null, [
|
|
@@ -849,7 +849,7 @@ const $t = ["id"], Ct = {
|
|
|
849
849
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
850
850
|
r: 118,
|
|
851
851
|
fill: e.value.style.chart.backgroundColor,
|
|
852
|
-
onClick:
|
|
852
|
+
onClick: E,
|
|
853
853
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
854
854
|
}, null, 10, zl),
|
|
855
855
|
(a(!0), o(p, null, g(B.value, (t) => (a(), o("path", {
|
|
@@ -857,7 +857,7 @@ const $t = ["id"], Ct = {
|
|
|
857
857
|
stroke: t.color,
|
|
858
858
|
"stroke-width": 64,
|
|
859
859
|
fill: "none",
|
|
860
|
-
onClick:
|
|
860
|
+
onClick: E,
|
|
861
861
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
862
862
|
}, null, 10, Nl))), 256)),
|
|
863
863
|
u("circle", {
|
|
@@ -865,7 +865,7 @@ const $t = ["id"], Ct = {
|
|
|
865
865
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
866
866
|
r: 110,
|
|
867
867
|
fill: `url(#nutpick_${w.value})`,
|
|
868
|
-
onClick:
|
|
868
|
+
onClick: E,
|
|
869
869
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
870
870
|
}, null, 10, Sl),
|
|
871
871
|
u("circle", {
|
|
@@ -873,7 +873,7 @@ const $t = ["id"], Ct = {
|
|
|
873
873
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
874
874
|
r: 64,
|
|
875
875
|
fill: e.value.style.chart.backgroundColor,
|
|
876
|
-
onClick:
|
|
876
|
+
onClick: E,
|
|
877
877
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
878
878
|
}, null, 10, Fl),
|
|
879
879
|
u("text", {
|
|
@@ -883,7 +883,7 @@ const $t = ["id"], Ct = {
|
|
|
883
883
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
|
|
884
884
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
|
|
885
885
|
"text-anchor": "middle",
|
|
886
|
-
onClick:
|
|
886
|
+
onClick: E,
|
|
887
887
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
888
888
|
}, c(e.value.translations.total), 11, Il),
|
|
889
889
|
u("text", {
|
|
@@ -893,9 +893,9 @@ const $t = ["id"], Ct = {
|
|
|
893
893
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
|
|
894
894
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
|
|
895
895
|
"text-anchor": "middle",
|
|
896
|
-
onClick:
|
|
896
|
+
onClick: E,
|
|
897
897
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
898
|
-
}, c(s(
|
|
898
|
+
}, c(s(G)(
|
|
899
899
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
900
900
|
d.value.value,
|
|
901
901
|
s(N)({
|
|
@@ -942,7 +942,7 @@ const $t = ["id"], Ct = {
|
|
|
942
942
|
v: d.value.breakdown[n].value / d.value.value * 100,
|
|
943
943
|
s: "%",
|
|
944
944
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
945
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].branchName) + " " + c(s(
|
|
945
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[n].branchName) + " " + c(s(G)(
|
|
946
946
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
947
947
|
d.value.breakdown[n].value,
|
|
948
948
|
s(N)({
|
|
@@ -993,7 +993,7 @@ const $t = ["id"], Ct = {
|
|
|
993
993
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
994
994
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
995
995
|
onClick: $
|
|
996
|
-
}, c(t.name) + ": " + c(s(
|
|
996
|
+
}, c(t.name) + ": " + c(s(G)(
|
|
997
997
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
998
998
|
t.value,
|
|
999
999
|
s(N)({
|
|
@@ -1049,7 +1049,7 @@ const $t = ["id"], Ct = {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}, null, 8, ["config"])),
|
|
1051
1051
|
F(l.$slots, "legend", { legend: S.value }, void 0, !0),
|
|
1052
|
-
l.$slots.source ? (a(), o("div",
|
|
1052
|
+
l.$slots.source ? (a(), o("div", El, [
|
|
1053
1053
|
F(l.$slots, "source", {}, void 0, !0)
|
|
1054
1054
|
], 512)) : h("", !0),
|
|
1055
1055
|
W.value ? (a(), Z(s(Be), {
|
|
@@ -1074,7 +1074,7 @@ const $t = ["id"], Ct = {
|
|
|
1074
1074
|
ref: ue,
|
|
1075
1075
|
class: "vue-ui-chestnut-table"
|
|
1076
1076
|
}, [
|
|
1077
|
-
u("div",
|
|
1077
|
+
u("div", Gl, [
|
|
1078
1078
|
u("div", {
|
|
1079
1079
|
role: "button",
|
|
1080
1080
|
tabindex: "0",
|
|
@@ -1082,7 +1082,7 @@ const $t = ["id"], Ct = {
|
|
|
1082
1082
|
onClick: i[0] || (i[0] = (t) => U.value.showTable = !1),
|
|
1083
1083
|
onKeypress: i[1] || (i[1] = it((t) => U.value.showTable = !1, ["enter"]))
|
|
1084
1084
|
}, [
|
|
1085
|
-
Ne(s(
|
|
1085
|
+
Ne(s(Ee), {
|
|
1086
1086
|
name: "close",
|
|
1087
1087
|
stroke: e.value.table.th.color,
|
|
1088
1088
|
"stroke-width": 2
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useCssVars as Pt, defineAsyncComponent as Y, ref as h, shallowRef as qe, computed as C, watch as _t, onMounted as He, onBeforeUnmount as Qe, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as
|
|
2
|
-
import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as et } from "./useNestedProp-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as Wt } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Pt, defineAsyncComponent as Y, ref as h, shallowRef as qe, computed as C, watch as _t, onMounted as He, onBeforeUnmount as Qe, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as F, createBlock as U, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Ze, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Je, createVNode as he, Fragment as z, renderList as G, mergeProps as Tt, toDisplayString as j, createTextVNode as Ot, nextTick as St } from "vue";
|
|
2
|
+
import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as Ft, b as zt, d as Rt, X as Xt, F as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-CKFIZRRC.js";
|
|
3
|
+
import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
+
import { u as et } from "./useNestedProp-CTDjXbu-.js";
|
|
5
|
+
import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
+
import { u as Wt } from "./usePrinter-DnlRuPQL.js";
|
|
7
7
|
import { t as qt, u as Ht } from "./useResponsive-DfdjqQps.js";
|
|
8
|
-
import Qt from "./Legend-
|
|
9
|
-
import Zt from "./Title-
|
|
10
|
-
import { _ as Jt } from "./Shape-
|
|
8
|
+
import Qt from "./Legend-BzxnWZQQ.js";
|
|
9
|
+
import Zt from "./Title-BiUlPqJ6.js";
|
|
10
|
+
import { _ as Jt } from "./Shape-CCmBnBeJ.js";
|
|
11
11
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { key: 1 }, la = ["id", "d"], sa = { key: 2 }, na = ["transform"], ra = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ua = ["d", "fill", "stroke", "stroke-width"], ia = ["d", "fill"], ca = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], da = ["d", "fill", "stroke", "stroke-width"], va = ["d", "fill", "stroke", "stroke-width"], ha = ["d", "fill", "stroke", "stroke-width"], fa = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pa = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ma = ["transform", "fill", "text-anchor", "font-size", "font-weight"], ya = { key: 1 }, ka = ["font-size", "font-weight", "fill"], $a = ["href"], wa = ["transform", "text-anchor", "font-size", "font-weight", "fill"], Ca = {
|
|
13
13
|
key: 5,
|
|
@@ -37,10 +37,10 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
37
37
|
Pt((t) => ({
|
|
38
38
|
"60541bab": t.slicerColor
|
|
39
39
|
}));
|
|
40
|
-
const lt = Y(() => import("./vue-ui-accordion-
|
|
40
|
+
const lt = Y(() => import("./vue-ui-accordion-BYCbqbFm.js")), st = Y(() => import("./BaseIcon-CJHXqPgs.js")), nt = Y(() => import("./DataTable-xkeRPRWr.js")), rt = Y(() => import("./PackageVersion-Bx7Duwo_.js")), ut = Y(() => import("./PenAndPaper-BpDdU2pw.js")), it = Y(() => import("./vue-ui-skeleton-DhFJYDTn.js")), ct = Y(() => import("./UserOptions-D6Ou5zsU.js")), { vue_ui_chord: dt } = Bt(), g = tt, te = ot, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), T = h(fe()), w = h(null), m = h(null), b = h(null), be = h(0), W = h(null), pe = h(null), me = h(null), ye = h(null), ke = h(null), $e = h(0), we = h(0), Ce = h(0), q = h(!1), R = qe(null), H = qe(null), a = C({
|
|
41
41
|
get: () => Te(),
|
|
42
42
|
set: (t) => t
|
|
43
|
-
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } =
|
|
43
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Ut({ config: a.value }), { svgRef: Q } = Gt({ config: a.value.style.chart.title }), { isPrinting: Ae, isImaging: Ie, generatePdf: Pe, generateImage: _e } = Wt({
|
|
44
44
|
elementId: `chord_${T.value}`,
|
|
45
45
|
fileName: a.value.style.chart.title.text || "vue-ui-chord",
|
|
46
46
|
options: a.value.userOptions.print
|
|
@@ -67,7 +67,7 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
67
67
|
if (Et(g.dataset) ? Ke({
|
|
68
68
|
componentName: "VueUiChord",
|
|
69
69
|
type: "dataset"
|
|
70
|
-
}) :
|
|
70
|
+
}) : Ft({
|
|
71
71
|
datasetObject: g.dataset,
|
|
72
72
|
requiredAttributes: ["matrix"]
|
|
73
73
|
}).forEach((t) => {
|
|
@@ -116,7 +116,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
116
116
|
const O = h({
|
|
117
117
|
height: 600,
|
|
118
118
|
width: 600
|
|
119
|
-
}), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() =>
|
|
119
|
+
}), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() => zt(a.value.customPalette)), p = C(() => ({
|
|
120
120
|
inner: O.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
|
|
121
121
|
outer: O.value.width * 0.34 * a.value.style.chart.arcs.outerRadiusRatio
|
|
122
122
|
})), ft = C(() => a.value.style.chart.arcs.padAngle / 100), y = C(() => L.value ? {
|
|
@@ -287,18 +287,18 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
287
287
|
return `M${s},${r} A${e},${e} 0 ${I} 1 ${f},${A}`;
|
|
288
288
|
}
|
|
289
289
|
const x = h(a.value.initialRotation), J = h(!1);
|
|
290
|
-
let Ee = 0,
|
|
291
|
-
function
|
|
290
|
+
let Ee = 0, Fe = 0;
|
|
291
|
+
function ze(t) {
|
|
292
292
|
const o = Q.value.getBoundingClientRect(), e = o.left + o.width / 2, l = o.top + o.height / 2, u = t.clientX ?? t.touches[0].clientX, s = t.clientY ?? t.touches[0].clientY;
|
|
293
293
|
return Math.atan2(s - l, u - e);
|
|
294
294
|
}
|
|
295
295
|
function Re(t) {
|
|
296
|
-
!a.value.enableRotation || K.value || (t.preventDefault(), J.value = !0, Ee = x.value,
|
|
296
|
+
!a.value.enableRotation || K.value || (t.preventDefault(), J.value = !0, Ee = x.value, Fe = ze(t));
|
|
297
297
|
}
|
|
298
298
|
function oe(t) {
|
|
299
299
|
if (!J.value) return;
|
|
300
|
-
const o =
|
|
301
|
-
x.value = Ee + (o -
|
|
300
|
+
const o = ze(t);
|
|
301
|
+
x.value = Ee + (o - Fe) * 180 / Math.PI;
|
|
302
302
|
}
|
|
303
303
|
function le() {
|
|
304
304
|
J.value = !1;
|
|
@@ -358,17 +358,17 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
358
358
|
Qe(() => {
|
|
359
359
|
D.value !== null && cancelAnimationFrame(D.value);
|
|
360
360
|
});
|
|
361
|
-
function
|
|
361
|
+
function Ue(t) {
|
|
362
362
|
t === b.value ? (b.value = null, te("selectLegend", null)) : (b.value = t, te("selectLegend", M.value.groups.find((o) => o.id === t)));
|
|
363
363
|
}
|
|
364
|
-
const
|
|
364
|
+
const Ge = C(() => M.value.groups.map((t, o) => ({
|
|
365
365
|
name: t.name,
|
|
366
366
|
color: t.color,
|
|
367
367
|
shape: "circle",
|
|
368
368
|
patternIndex: o,
|
|
369
369
|
pattern: `pattern_${T.value}_${o}`,
|
|
370
370
|
id: t.id,
|
|
371
|
-
select: () =>
|
|
371
|
+
select: () => Ue(t.id),
|
|
372
372
|
opacity: b.value ? b.value === t.id ? 1 : 0.3 : 1
|
|
373
373
|
}))), It = C(() => ({
|
|
374
374
|
cy: "chord-div-legend",
|
|
@@ -433,7 +433,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
433
433
|
}), (t, o) => (n(), i("div", {
|
|
434
434
|
ref_key: "chordChart",
|
|
435
435
|
ref: W,
|
|
436
|
-
class:
|
|
436
|
+
class: F({
|
|
437
437
|
"vue-ui-chord": !0,
|
|
438
438
|
"vue-data-ui-wrapper-fullscreen": de.value,
|
|
439
439
|
"vue-data-ui-responsive": a.value.responsive
|
|
@@ -443,7 +443,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
443
443
|
onMouseenter: o[4] || (o[4] = () => d(Me)(!0)),
|
|
444
444
|
onMouseleave: o[5] || (o[5] = () => d(Me)(!1))
|
|
445
445
|
}, [
|
|
446
|
-
a.value.userOptions.buttons.annotator && d(Q) ? (n(),
|
|
446
|
+
a.value.userOptions.buttons.annotator && d(Q) ? (n(), U(d(ut), {
|
|
447
447
|
key: 0,
|
|
448
448
|
color: a.value.style.chart.color,
|
|
449
449
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
@@ -465,7 +465,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
465
465
|
ref: pe,
|
|
466
466
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
467
467
|
}, [
|
|
468
|
-
(n(),
|
|
468
|
+
(n(), U(Zt, {
|
|
469
469
|
key: `title_${$e.value}`,
|
|
470
470
|
config: {
|
|
471
471
|
title: {
|
|
@@ -479,7 +479,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
479
479
|
}
|
|
480
480
|
}, null, 8, ["config"]))
|
|
481
481
|
], 512)) : v("", !0),
|
|
482
|
-
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(),
|
|
482
|
+
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), U(d(ct), {
|
|
483
483
|
ref: "details",
|
|
484
484
|
key: `user_option_${be.value}`,
|
|
485
485
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
@@ -571,7 +571,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
571
571
|
style: {
|
|
572
572
|
overflow: "visible"
|
|
573
573
|
},
|
|
574
|
-
class:
|
|
574
|
+
class: F({ "vue-ui-chord-rotating": J.value, "vue-ui-chord-idle": !J.value }),
|
|
575
575
|
onMousedown: Je(Re, ["prevent"]),
|
|
576
576
|
onTouchstart: Je(Re, ["prevent"])
|
|
577
577
|
}, [
|
|
@@ -589,7 +589,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
589
589
|
$(t.$slots, "chart-background", {}, void 0, !0)
|
|
590
590
|
], 8, aa)) : v("", !0),
|
|
591
591
|
a.value.style.chart.arcs.labels.curved ? (n(), i("defs", oa, [
|
|
592
|
-
(n(!0), i(
|
|
592
|
+
(n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("path", {
|
|
593
593
|
key: `labelPath-${l}`,
|
|
594
594
|
id: `labelPath-${l}_${T.value}`,
|
|
595
595
|
d: wt(
|
|
@@ -601,16 +601,16 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
601
601
|
}, null, 8, la))), 128))
|
|
602
602
|
])) : v("", !0),
|
|
603
603
|
t.$slots.pattern ? (n(), i("g", sa, [
|
|
604
|
-
(n(!0), i(
|
|
604
|
+
(n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("defs", null, [
|
|
605
605
|
$(t.$slots, "pattern", Tt({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${T.value}_${l}` }), void 0, !0)
|
|
606
606
|
]))), 256))
|
|
607
607
|
])) : v("", !0),
|
|
608
608
|
B("g", {
|
|
609
609
|
transform: `translate(${O.value.width / 2}, ${O.value.height / 2}) rotate(${x.value})`
|
|
610
610
|
}, [
|
|
611
|
-
(n(!0), i(
|
|
611
|
+
(n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("g", null, [
|
|
612
612
|
(n(), i("path", {
|
|
613
|
-
class:
|
|
613
|
+
class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
|
|
614
614
|
key: `arc-${l}`,
|
|
615
615
|
d: Le(
|
|
616
616
|
e.startAngle,
|
|
@@ -631,7 +631,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
631
631
|
onClick: (u) => te("selectGroup", e)
|
|
632
632
|
}, null, 46, ra)),
|
|
633
633
|
t.$slots.pattern ? (n(), i("path", {
|
|
634
|
-
class:
|
|
634
|
+
class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
|
|
635
635
|
key: `arc-${l}`,
|
|
636
636
|
d: Le(
|
|
637
637
|
e.startAngle,
|
|
@@ -651,19 +651,19 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
651
651
|
}, null, 14, ua)) : v("", !0)
|
|
652
652
|
]))), 256)),
|
|
653
653
|
B("g", null, [
|
|
654
|
-
(n(!0), i(
|
|
654
|
+
(n(!0), i(z, null, G(w.value ? M.value.chords.filter((e) => e.source.groupId === w.value.id) : b.value ? M.value.chords.filter((e) => e.source.groupId === b.value) : M.value.chords, (e) => (n(), i(z, {
|
|
655
655
|
key: `ribbon-${e.id}`
|
|
656
656
|
}, [
|
|
657
657
|
e.source.value ? (n(), i("path", {
|
|
658
658
|
key: 0,
|
|
659
|
-
class:
|
|
659
|
+
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
|
|
660
660
|
d: ae(e.source, e.target),
|
|
661
661
|
fill: a.value.style.chart.backgroundColor,
|
|
662
662
|
style: E({ opacity: a.value.style.chart.ribbons.underlayerOpacity })
|
|
663
663
|
}, null, 14, ia)) : v("", !0),
|
|
664
664
|
e.source.value ? (n(), i("path", {
|
|
665
665
|
key: 1,
|
|
666
|
-
class:
|
|
666
|
+
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
|
|
667
667
|
d: ae(e.source, e.target),
|
|
668
668
|
fill: y.value.colors[e.source.index],
|
|
669
669
|
stroke: a.value.style.chart.ribbons.stroke,
|
|
@@ -684,7 +684,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
684
684
|
}, null, 46, ca)) : v("", !0),
|
|
685
685
|
e.source.value && t.$slots.pattern ? (n(), i("path", {
|
|
686
686
|
key: 2,
|
|
687
|
-
class:
|
|
687
|
+
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
|
|
688
688
|
d: ae(e.source, e.target),
|
|
689
689
|
fill: `url(#pattern_${T.value}_${e.source.index})`,
|
|
690
690
|
stroke: a.value.style.chart.ribbons.stroke,
|
|
@@ -705,7 +705,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
705
705
|
"stroke-width": a.value.style.chart.ribbons.strokeWidth,
|
|
706
706
|
"stroke-linecap": "round",
|
|
707
707
|
"stroke-linejoin": "round",
|
|
708
|
-
class:
|
|
708
|
+
class: F({ "vue-ui-chord-ribbon": !0 }),
|
|
709
709
|
style: {
|
|
710
710
|
pointerEvents: "none"
|
|
711
711
|
}
|
|
@@ -718,14 +718,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
718
718
|
"stroke-width": a.value.style.chart.ribbons.strokeWidth,
|
|
719
719
|
"stroke-linecap": "round",
|
|
720
720
|
"stroke-linejoin": "round",
|
|
721
|
-
class:
|
|
721
|
+
class: F({ "vue-ui-chord-ribbon": !0 }),
|
|
722
722
|
style: {
|
|
723
723
|
pointerEvents: "none"
|
|
724
724
|
}
|
|
725
725
|
}, null, 8, ha)) : v("", !0)
|
|
726
726
|
]),
|
|
727
727
|
(w.value || m.value || b.value) && a.value.style.chart.ribbons.labels.show ? (n(), i("g", fa, [
|
|
728
|
-
(n(!0), i(
|
|
728
|
+
(n(!0), i(z, null, G(pt.value, (e) => (n(), i(z, {
|
|
729
729
|
key: e.id
|
|
730
730
|
}, [
|
|
731
731
|
B("line", {
|
|
@@ -773,7 +773,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
773
773
|
], 64))), 128))
|
|
774
774
|
])) : v("", !0),
|
|
775
775
|
a.value.style.chart.arcs.labels.show ? (n(), i("g", ya, [
|
|
776
|
-
a.value.style.chart.arcs.labels.curved ? (n(!0), i(
|
|
776
|
+
a.value.style.chart.arcs.labels.curved ? (n(!0), i(z, { key: 0 }, G(M.value.groups, (e, l) => (n(), i("text", {
|
|
777
777
|
key: `curved-label-${l}`,
|
|
778
778
|
"font-size": a.value.style.chart.arcs.labels.fontSize,
|
|
779
779
|
"font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
@@ -789,7 +789,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
789
789
|
s: "%)",
|
|
790
790
|
r: a.value.style.chart.arcs.labels.roundingPercentage
|
|
791
791
|
}) : ""), 9, $a)
|
|
792
|
-
], 8, ka))), 128)) : !w.value && !m.value && !b.value ? (n(!0), i(
|
|
792
|
+
], 8, ka))), 128)) : !w.value && !m.value && !b.value ? (n(!0), i(z, { key: 1 }, G(M.value.groups, (e, l) => (n(), i("text", {
|
|
793
793
|
key: `label-${l}`,
|
|
794
794
|
transform: `
|
|
795
795
|
${$t((e.startAngle + e.endAngle) / 2)}
|
|
@@ -813,7 +813,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
813
813
|
t.$slots.watermark ? (n(), i("div", Ca, [
|
|
814
814
|
$(t.$slots, "watermark", re(ue({ isPrinting: d(Ae) || d(Ie) })), void 0, !0)
|
|
815
815
|
])) : v("", !0),
|
|
816
|
-
L.value ? v("", !0) : (n(),
|
|
816
|
+
L.value ? v("", !0) : (n(), U(d(it), {
|
|
817
817
|
key: 6,
|
|
818
818
|
config: {
|
|
819
819
|
type: "chord",
|
|
@@ -829,11 +829,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
829
829
|
ref_key: "chartLegend",
|
|
830
830
|
ref: me
|
|
831
831
|
}, [
|
|
832
|
-
a.value.style.chart.legend.show ? (n(),
|
|
832
|
+
a.value.style.chart.legend.show ? (n(), U(Qt, {
|
|
833
833
|
key: `legend_${Ce.value}`,
|
|
834
|
-
legendSet:
|
|
834
|
+
legendSet: Ge.value,
|
|
835
835
|
config: It.value,
|
|
836
|
-
onClickMarker: o[2] || (o[2] = ({ legend: e }) =>
|
|
836
|
+
onClickMarker: o[2] || (o[2] = ({ legend: e }) => Ue(e.id))
|
|
837
837
|
}, Ze({
|
|
838
838
|
item: _(({ legend: e }) => [
|
|
839
839
|
B("div", {
|
|
@@ -859,7 +859,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
859
859
|
key: "0"
|
|
860
860
|
} : void 0
|
|
861
861
|
]), 1032, ["legendSet", "config"])) : v("", !0),
|
|
862
|
-
$(t.$slots, "legend", { legend:
|
|
862
|
+
$(t.$slots, "legend", { legend: Ge.value }, void 0, !0)
|
|
863
863
|
], 512),
|
|
864
864
|
t.$slots.source ? (n(), i("div", {
|
|
865
865
|
key: 7,
|
|
@@ -888,7 +888,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
888
888
|
], 4)
|
|
889
889
|
], !0)
|
|
890
890
|
])) : v("", !0),
|
|
891
|
-
L.value ? (n(),
|
|
891
|
+
L.value ? (n(), U(d(lt), {
|
|
892
892
|
key: 9,
|
|
893
893
|
hideDetails: "",
|
|
894
894
|
config: {
|
|
@@ -905,7 +905,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
905
905
|
}
|
|
906
906
|
}, {
|
|
907
907
|
content: _(() => [
|
|
908
|
-
(n(),
|
|
908
|
+
(n(), U(d(nt), {
|
|
909
909
|
key: `table_${we.value}`,
|
|
910
910
|
colNames: ne.value.colNames,
|
|
911
911
|
head: ne.value.head,
|