vue-data-ui 3.1.3 → 3.1.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-DBaAWGvq.js → Arrow-BFbcF5Sq.js} +1 -1
- package/dist/{BaseDraggableDialog-BmN9jTP8.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
- package/dist/{BaseIcon-BcOSijbz.js → BaseIcon-BQQGRQ2U.js} +1 -1
- package/dist/{ColorPicker-D1yNPt76.js → ColorPicker-d1kmGapq.js} +2 -2
- package/dist/{DataTable-Cm8Tt9PQ.js → DataTable-D6voeZvO.js} +2 -2
- package/dist/{Legend-5qvgVkrY.js → Legend-nPGcCxG_.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D3QGd7vP.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
- package/dist/{PackageVersion-0XlRFsI_.js → PackageVersion-BeStrsPr.js} +1 -1
- package/dist/{PenAndPaper-CyH7Ip2i.js → PenAndPaper-C6tiapdo.js} +3 -3
- package/dist/{Shape-DiplSMFy.js → Shape-DBVq0fdK.js} +1 -1
- package/dist/Slicer-Duqm7KZK.js +597 -0
- package/dist/{SparkTooltip-VveQSwlw.js → SparkTooltip-wNGmXZSx.js} +1 -1
- package/dist/{Title-CqYBs02Y.js → Title-ydtId0LC.js} +1 -1
- package/dist/Tooltip-oeu9knGI.js +200 -0
- package/dist/{UserOptions-ZmwlARCV.js → UserOptions-CnJxN2Vo.js} +29 -29
- package/dist/{dom-to-png-DGA4a3xT.js → dom-to-png-CMCYtLrX.js} +1 -1
- package/dist/{img-DSrvx9J6.js → img-Neec0VVb.js} +1 -1
- package/dist/{index-CaxArMHL.js → index-BkfuZCRT.js} +7 -2
- package/dist/{pdf-BG8PiGFH.js → pdf-CpQ-dqJh.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DmtFf4bt.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
- package/dist/{useNestedProp-tWT02_6S.js → useNestedProp-BMzw9VUz.js} +1 -1
- package/dist/{usePrinter-BYtPmEo8.js → usePrinter-CEdg3j8S.js} +2 -2
- package/dist/{vue-data-ui-DVb8r5z7.js → vue-data-ui-D5B7a84o.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BLKyWpz7.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
- package/dist/{vue-ui-accordion-DUlNpLir.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-LLqbXP1m.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
- package/dist/{vue-ui-annotator-CcYIlcKF.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
- package/dist/{vue-ui-bullet-BKmts_u4.js → vue-ui-bullet-VPchh2r2.js} +7 -7
- package/dist/{vue-ui-candlestick-C9l_NpXu.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
- package/dist/{vue-ui-carousel-table-H7xS6aBC.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
- package/dist/{vue-ui-chestnut-CAW0IOdY.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
- package/dist/{vue-ui-chord-CK5YhCqM.js → vue-ui-chord-DVSBY9ou.js} +8 -8
- package/dist/{vue-ui-circle-pack-NLyZgTGF.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
- package/dist/{vue-ui-cursor-CyGUrKWU.js → vue-ui-cursor-BIuc6nds.js} +2 -2
- package/dist/{vue-ui-dashboard-Cf5pvEzD.js → vue-ui-dashboard-C7xIcrvD.js} +79 -80
- package/dist/{vue-ui-digits-BZWwwp7c.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
- package/dist/{vue-ui-donut-g1WHrj6G.js → vue-ui-donut-BApz1ho5.js} +52 -50
- package/dist/{vue-ui-donut-evolution-CaEYMVZj.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
- package/dist/{vue-ui-dumbbell-BArS1nXS.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
- package/dist/{vue-ui-flow-BR0CB5qt.js → vue-ui-flow-COtJRNLE.js} +40 -38
- package/dist/{vue-ui-funnel-D2OCItvq.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
- package/dist/{vue-ui-galaxy-qgGF1AAf.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
- package/dist/{vue-ui-gauge-BIXmGyQL.js → vue-ui-gauge-CFUA5ORH.js} +8 -8
- package/dist/{vue-ui-gizmo-DHEoS051.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
- package/dist/{vue-ui-heatmap-tRzq9BnI.js → vue-ui-heatmap-DakytdCv.js} +68 -66
- package/dist/{vue-ui-history-plot-DmwHhrDk.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
- package/dist/{vue-ui-kpi-C2b2R5i1.js → vue-ui-kpi-UmcKQftv.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bs1Mi1tD.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
- package/dist/{vue-ui-molecule-BsUvf2v7.js → vue-ui-molecule-BZrmSVps.js} +63 -61
- package/dist/{vue-ui-mood-radar-D3JIpVvX.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
- package/dist/{vue-ui-nested-donuts-dJEgQXTH.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
- package/dist/{vue-ui-onion-D8dF1DdA.js → vue-ui-onion-aHCc3r7L.js} +38 -36
- package/dist/{vue-ui-parallel-coordinate-plot-LmFsg7UA.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
- package/dist/{vue-ui-quadrant-C4O8ki4N.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
- package/dist/{vue-ui-quick-chart-6bEtTQBG.js → vue-ui-quick-chart-CJ2Wdln9.js} +152 -150
- package/dist/{vue-ui-radar-CfjGWGk3.js → vue-ui-radar-Cgnooz7-.js} +121 -119
- package/dist/{vue-ui-rating-D3WSs2OD.js → vue-ui-rating-DF71ymNG.js} +2 -2
- package/dist/{vue-ui-relation-circle-DzTfi7Tf.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
- package/dist/{vue-ui-ridgeline-NtYOJvDy.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
- package/dist/{vue-ui-rings-CYQ4i71V.js → vue-ui-rings-C4hKgrft.js} +162 -160
- package/dist/{vue-ui-scatter-meJEHdAD.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
- package/dist/{vue-ui-skeleton-BtILTxx-.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
- package/dist/{vue-ui-smiley-B5bELpYD.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
- package/dist/{vue-ui-spark-trend-lixdWq_N.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
- package/dist/{vue-ui-sparkbar-CaGPav-J.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZBGYDjs.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Bp6KxpjH.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
- package/dist/{vue-ui-sparkline-CF-EAZa6.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cj1LAYC8.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
- package/dist/{vue-ui-stackbar-BrzKhqAK.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
- package/dist/{vue-ui-strip-plot-BfVVaSFn.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
- package/dist/{vue-ui-table-CBzNgzVP.js → vue-ui-table-BItmKbvF.js} +156 -121
- package/dist/{vue-ui-table-heatmap-CKz5bA7N.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
- package/dist/{vue-ui-table-sparkline-O-Z0YH6u.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
- package/dist/{vue-ui-thermometer-DpNyTGNH.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
- package/dist/{vue-ui-timer-uvshaRMI.js → vue-ui-timer-BIv2sfQA.js} +5 -5
- package/dist/{vue-ui-tiremarks-A8Akuz-q.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
- package/dist/{vue-ui-treemap-Dvmuo3tM.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
- package/dist/{vue-ui-vertical-bar-eMgRMSKN.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
- package/dist/{vue-ui-waffle-Cm8VfnG8.js → vue-ui-waffle-CewP8k-W.js} +67 -65
- package/dist/{vue-ui-wheel-Bhsklf_m.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
- package/dist/{vue-ui-word-cloud-C9HGLsG4.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
- package/dist/{vue-ui-world-B_MrjwGJ.js → vue-ui-world-CuwXMI3D.js} +11 -9
- package/dist/{vue-ui-xy-DnYJw2aS.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
- package/dist/{vue-ui-xy-canvas-C0Snw0Dz.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
- package/package.json +1 -1
- package/dist/Slicer-DG99wPTy.js +0 -604
- package/dist/Tooltip-CP0tVHAf.js +0 -161
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
|
|
2
|
-
import { u as de, c as A, b as pe, o as ce, f as ve, a8 as me, F as fe, P as he, v as ge, w as be } from "./index-
|
|
3
|
-
import { u as H } from "./useNestedProp-
|
|
4
|
-
import { u as ye } from "./usePrinter-
|
|
2
|
+
import { u as de, c as A, b as pe, o as ce, f as ve, a8 as me, F as fe, P as he, v as ge, w as be } from "./index-BkfuZCRT.js";
|
|
3
|
+
import { u as H } from "./useNestedProp-BMzw9VUz.js";
|
|
4
|
+
import { u as ye } from "./usePrinter-CEdg3j8S.js";
|
|
5
5
|
import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
-
import { _ as ke } from "./Shape-
|
|
6
|
+
import { _ as ke } from "./Shape-DBVq0fdK.js";
|
|
7
7
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Fe = {
|
|
9
9
|
key: 0,
|
|
@@ -45,7 +45,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
45
45
|
"8f8e7142": ee.value,
|
|
46
46
|
cb3b028c: j.value
|
|
47
47
|
}));
|
|
48
|
-
const X = oe(() => import("./UserOptions-
|
|
48
|
+
const X = oe(() => import("./UserOptions-CnJxN2Vo.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
|
|
49
49
|
z(() => {
|
|
50
50
|
q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
51
51
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
-
import { u as ye } from "./useNestedProp-
|
|
3
|
-
import { u as Ge, c as Le, a as Re, p as T, b as He, d as Xe, o as qe, f as he, g as Je, a8 as Ke, e as Qe, k as W, i as M, v as Ye, w as Ze } from "./index-
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
2
|
+
import { u as ye } from "./useNestedProp-BMzw9VUz.js";
|
|
3
|
+
import { u as Ge, c as Le, a as Re, p as T, b as He, d as Xe, o as qe, f as he, g as Je, a8 as Ke, e as Qe, k as W, i as M, v as Ye, w as Ze } from "./index-BkfuZCRT.js";
|
|
4
|
+
import { u as je } from "./usePrinter-CEdg3j8S.js";
|
|
5
5
|
import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { v as tt } from "./vClickOutside-C6WiFswA.js";
|
|
7
7
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
43
43
|
Fe((t) => ({
|
|
44
44
|
"3ff44dec": t.tdo
|
|
45
45
|
}));
|
|
46
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
46
|
+
const Ce = J(() => import("./vue-ui-sparkline-hOyPCIt8.js")), N = J(() => import("./BaseIcon-BQQGRQ2U.js")), xe = J(() => import("./UserOptions-CnJxN2Vo.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
47
47
|
me(() => {
|
|
48
48
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
49
49
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as m, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
|
|
2
|
-
import { u as Ee, c as Re, t as Ve, o as qe, f as ye, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-
|
|
2
|
+
import { u as Ee, c as Re, t as Ve, o as qe, f as ye, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as tt, B as st } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as ot } from "./usePrinter-
|
|
6
|
-
import { u as me } from "./useNestedProp-
|
|
5
|
+
import { u as ot } from "./usePrinter-CEdg3j8S.js";
|
|
6
|
+
import { u as me } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as at } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import ut from "./Title-
|
|
11
|
-
import nt from "./img-
|
|
9
|
+
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-DR2HExYc.js";
|
|
10
|
+
import ut from "./Title-ydtId0LC.js";
|
|
11
|
+
import nt from "./img-Neec0VVb.js";
|
|
12
12
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const ht = ["id"], ct = {
|
|
14
14
|
key: 1,
|
|
@@ -40,7 +40,7 @@ const ht = ["id"], ct = {
|
|
|
40
40
|
"6fd0a11e": Ae.value,
|
|
41
41
|
"1ea034ea": $e.value
|
|
42
42
|
}));
|
|
43
|
-
const ge = j(() => import("./PackageVersion-
|
|
43
|
+
const ge = j(() => import("./PackageVersion-BeStrsPr.js")), pe = j(() => import("./PenAndPaper-C6tiapdo.js")), ke = j(() => import("./UserOptions-CnJxN2Vo.js")), { vue_ui_thermometer: be } = Ee(), g = O, p = v(Re()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
44
44
|
We(() => {
|
|
45
45
|
te();
|
|
46
46
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as ne } from "./useNestedProp-
|
|
3
|
-
import { u as ce, c as ve, X as de, E as X } from "./index-
|
|
2
|
+
import { u as ne } from "./useNestedProp-BMzw9VUz.js";
|
|
3
|
+
import { u as ce, c as ve, X as de, E as X } from "./index-BkfuZCRT.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import R from "./BaseIcon-
|
|
6
|
+
import we from "./Title-ydtId0LC.js";
|
|
7
|
+
import R from "./BaseIcon-BQQGRQ2U.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
10
|
constructor(L, E, S, N = !0, A = !0) {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: E }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-BeStrsPr.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, computed as f, ref as v, toRefs as xe, watch as ie, onMounted as Ae, createElementBlock as u, openBlock as r, unref as s, normalizeStyle as j, normalizeClass as X, createBlock as R, createCommentVNode as g, createSlots as Oe, withCtx as O, renderSlot as p, normalizeProps as M, guardReactiveProps as E, createVNode as Pe, Fragment as ce, renderList as ve, toDisplayString as Ie } from "vue";
|
|
2
|
-
import { u as ze, c as Se, t as Fe, b as Te, h as Ne, o as Re, f as Me, x as he, X as Ee, k as Le, i as Ue } from "./index-
|
|
2
|
+
import { u as ze, c as Se, t as Fe, b as Te, h as Ne, o as Re, f as Me, x as he, X as Ee, k as Le, i as Ue } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as Be, u as Ge } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as De, B as He } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as je } from "./usePrinter-
|
|
6
|
-
import { u as de } from "./useNestedProp-
|
|
5
|
+
import { u as je } from "./usePrinter-CEdg3j8S.js";
|
|
6
|
+
import { u as de } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Ve } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import qe from "./Title-
|
|
10
|
-
import Ye from "./img-
|
|
9
|
+
import qe from "./Title-ydtId0LC.js";
|
|
10
|
+
import Ye from "./img-Neec0VVb.js";
|
|
11
11
|
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = { key: 1 }, et = ["d", "stroke-width", "stroke"], tt = { key: 2 }, at = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], lt = { key: 3 }, ot = ["x", "y", "height"], st = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], nt = {
|
|
13
13
|
key: 4,
|
|
@@ -29,7 +29,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = { k
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(fe, { expose: ye }) {
|
|
32
|
-
const ge = H(() => import("./PenAndPaper-
|
|
32
|
+
const ge = H(() => import("./PenAndPaper-C6tiapdo.js")), pe = H(() => import("./UserOptions-CnJxN2Vo.js")), me = H(() => import("./PackageVersion-BeStrsPr.js")), { vue_ui_tiremarks: ke } = ze(), w = fe, be = f(() => !!w.dataset && Object.keys(w.dataset).length), L = v(Se()), C = v(null), we = v(null), V = v(null), q = v(null), Y = v(0), W = v(0), $ = v(null), P = v(null), e = v(G()), { loading: J, FINAL_DATASET: U } = De({
|
|
33
33
|
...xe(w),
|
|
34
34
|
FINAL_CONFIG: e,
|
|
35
35
|
prepareConfig: G,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as te, useSlots as Wt, onMounted as yt, computed as b, ref as m, shallowRef as U, toRefs as Gt, watch as ke, onBeforeUnmount as Xt, createElementBlock as y, openBlock as d, unref as c, normalizeStyle as M, normalizeClass as Le, createBlock as Z, createCommentVNode as _, createElementVNode as O, createVNode as we, createSlots as bt, withCtx as T, renderSlot as C, normalizeProps as le, guardReactiveProps as oe, Fragment as Ce, renderList as Me, withKeys as kt, withModifiers as Be, mergeProps as Ve, createTextVNode as $e, toDisplayString as H, Teleport as qt, resolveDynamicComponent as Yt, nextTick as jt } from "vue";
|
|
2
|
-
import { u as Zt, c as Te, t as Kt, a as Jt, p as
|
|
2
|
+
import { u as Zt, c as Te, t as Kt, a as Jt, p as F, b as Qt, d as el, o as wt, f as tl, e as de, k as xe, i as he, X as ll, l as Ct, F as $t, y as Tt, v as ol, w as al, z as nl } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as sl, u as ul } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as rl, B as il } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as cl } from "./usePrinter-
|
|
6
|
-
import { u as xt } from "./useNestedProp-
|
|
5
|
+
import { u as cl } from "./usePrinter-CEdg3j8S.js";
|
|
6
|
+
import { u as xt } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as dl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import hl from "./img-
|
|
10
|
-
import pl from "./Title-
|
|
11
|
-
import fl from "./Legend-
|
|
12
|
-
import _t from "./BaseIcon-
|
|
9
|
+
import hl from "./img-Neec0VVb.js";
|
|
10
|
+
import pl from "./Title-ydtId0LC.js";
|
|
11
|
+
import fl from "./Legend-nPGcCxG_.js";
|
|
12
|
+
import _t from "./BaseIcon-BQQGRQ2U.js";
|
|
13
13
|
import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
function Ot(n, r) {
|
|
15
15
|
const s = n.length;
|
|
@@ -61,34 +61,34 @@ function bl(n, r) {
|
|
|
61
61
|
...r,
|
|
62
62
|
children: n
|
|
63
63
|
};
|
|
64
|
-
return
|
|
64
|
+
return Ft(s);
|
|
65
65
|
}
|
|
66
66
|
function kl(n) {
|
|
67
67
|
return (n.x1 - n.x0) * (n.y1 - n.y0);
|
|
68
68
|
}
|
|
69
69
|
function St(n, r) {
|
|
70
|
-
const { width: s, height: i, xOffset: u, yOffset: h } = Ee(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w,
|
|
70
|
+
const { width: s, height: i, xOffset: u, yOffset: h } = Ee(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w, I) => w + I, 0), f = g / i, W = g / s;
|
|
71
71
|
let P = u, k = h;
|
|
72
72
|
const $ = [];
|
|
73
73
|
if (s >= i) {
|
|
74
74
|
for (let w = 0; w < v; w += 1) {
|
|
75
|
-
const
|
|
75
|
+
const I = n[w], B = k + I.normalizedValue / f, A = {
|
|
76
76
|
x0: P,
|
|
77
77
|
y0: k,
|
|
78
78
|
x1: P + f,
|
|
79
79
|
y1: B
|
|
80
|
-
}, N = Object.assign({},
|
|
80
|
+
}, N = Object.assign({}, I, A);
|
|
81
81
|
k = B, $.push(N);
|
|
82
82
|
}
|
|
83
83
|
return $;
|
|
84
84
|
} else {
|
|
85
85
|
for (let w = 0; w < v; w += 1) {
|
|
86
|
-
const
|
|
86
|
+
const I = n[w], B = P + I.normalizedValue / W, A = {
|
|
87
87
|
x0: P,
|
|
88
88
|
y0: k,
|
|
89
89
|
x1: B,
|
|
90
90
|
y1: k + W
|
|
91
|
-
}, N = Object.assign({},
|
|
91
|
+
}, N = Object.assign({}, I, A);
|
|
92
92
|
P = B, $.push(N);
|
|
93
93
|
}
|
|
94
94
|
return $;
|
|
@@ -133,12 +133,12 @@ function $l(n, r, s, i) {
|
|
|
133
133
|
let w = 0;
|
|
134
134
|
for (let N = 0; N < $; N += 1)
|
|
135
135
|
w += h[N].normalizedValue;
|
|
136
|
-
const
|
|
137
|
-
u = u, h = [], v =
|
|
136
|
+
const I = Tl(v, w), B = St(h, v), A = g.concat(B);
|
|
137
|
+
u = u, h = [], v = I, g = A;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Ft(n) {
|
|
142
142
|
if (typeof n.children > "u" || !n.children.length)
|
|
143
143
|
return [n];
|
|
144
144
|
{
|
|
@@ -147,7 +147,7 @@ function It(n) {
|
|
|
147
147
|
kl(n)
|
|
148
148
|
), s = $l(r, [], n, []), i = s.length, u = [];
|
|
149
149
|
for (let v = 0; v < i; v += 1)
|
|
150
|
-
u.push(
|
|
150
|
+
u.push(Ft(s[v]));
|
|
151
151
|
return yl(u);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -171,10 +171,10 @@ function Tl(n, r) {
|
|
|
171
171
|
return At(f);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], Al = { class: "vue-ui-treemap-crumb-unit" }, Sl = { class: "vue-ui-treemap-crumb-unit-label" },
|
|
174
|
+
const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], Al = { class: "vue-ui-treemap-crumb-unit" }, Sl = { class: "vue-ui-treemap-crumb-unit-label" }, Fl = {
|
|
175
175
|
key: 0,
|
|
176
176
|
style: { width: "24px", display: "flex", "align-items": "center" }
|
|
177
|
-
},
|
|
177
|
+
}, Il = {
|
|
178
178
|
key: 0,
|
|
179
179
|
class: "vue-ui-treemap-crumb-unit-arrow"
|
|
180
180
|
}, Dl = ["xmlns", "viewBox"], Nl = { key: 0 }, Rl = ["id"], Pl = ["stop-color"], zl = ["stop-color"], Ll = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter", "onMouseleave"], Ml = ["x", "y", "height", "width"], Bl = {
|
|
@@ -201,11 +201,11 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
201
201
|
},
|
|
202
202
|
emits: ["selectLegend", "selectDatapoint"],
|
|
203
203
|
setup(n, { expose: r, emit: s }) {
|
|
204
|
-
const i = te(() => import("./DataTable-
|
|
204
|
+
const i = te(() => import("./DataTable-D6voeZvO.js")), u = te(() => import("./PenAndPaper-C6tiapdo.js")), h = te(() => import("./vue-ui-accordion-DFxAHGEZ.js")), v = te(() => import("./Tooltip-oeu9knGI.js")), g = te(() => import("./UserOptions-CnJxN2Vo.js")), f = te(() => import("./PackageVersion-BeStrsPr.js")), W = te(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_treemap: P } = Zt(), k = n, $ = s, w = Wt();
|
|
205
205
|
yt(() => {
|
|
206
206
|
w["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
207
207
|
});
|
|
208
|
-
const
|
|
208
|
+
const I = b(() => !!k.dataset && k.dataset.length), B = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = m(Te()), N = m(!1), _e = m(""), K = m(!1), Ue = m(0), z = m([]), V = U(null), He = U(null), We = U(null), Ge = U(null), Xe = U(null), qe = m(0), Oe = m(0), Ae = m(0), x = m([]), Se = m(null), Ye = m(!1), ue = m(null), Fe = m(null), e = m(Ne()), { loading: re, FINAL_DATASET: Ie, manualLoading: It } = rl({
|
|
209
209
|
...Gt(k),
|
|
210
210
|
FINAL_CONFIG: e,
|
|
211
211
|
prepareConfig: Ne,
|
|
@@ -258,7 +258,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
258
258
|
userConfig: Qt.vue_ui_treemap[t.theme] || k.config,
|
|
259
259
|
defaultConfig: t
|
|
260
260
|
}),
|
|
261
|
-
customPalette: Jt[t.theme] ||
|
|
261
|
+
customPalette: Jt[t.theme] || F
|
|
262
262
|
} : t;
|
|
263
263
|
}
|
|
264
264
|
ke(() => k.config, (t) => {
|
|
@@ -290,11 +290,11 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
290
290
|
vbHeight: G.value.height,
|
|
291
291
|
vbWidth: G.value.width,
|
|
292
292
|
width: G.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
|
|
293
|
-
})), R = m(
|
|
293
|
+
})), R = m(Ie.value), X = m(R.value), lt = U(/* @__PURE__ */ new Map());
|
|
294
294
|
function ot(t) {
|
|
295
295
|
Array.isArray(t) && t.forEach((o, l) => {
|
|
296
296
|
o.id || (o.id = Te());
|
|
297
|
-
let a = de(o.color) || lt.value.get(o.id) || pe.value[l] ||
|
|
297
|
+
let a = de(o.color) || lt.value.get(o.id) || pe.value[l] || F[l] || F[l % F.length];
|
|
298
298
|
a = de(a), lt.value.set(o.id, a), o.color = a, at(o, a);
|
|
299
299
|
});
|
|
300
300
|
}
|
|
@@ -312,9 +312,9 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
ke(
|
|
315
|
-
() =>
|
|
315
|
+
() => Ie.value,
|
|
316
316
|
() => {
|
|
317
|
-
R.value =
|
|
317
|
+
R.value = Ie.value, ot(R.value), Nt(), Ae.value += 1, Oe.value += 1;
|
|
318
318
|
},
|
|
319
319
|
{ deep: !0, immediate: !0, flush: "post" }
|
|
320
320
|
);
|
|
@@ -328,7 +328,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
328
328
|
componentName: "VueUiTreemap",
|
|
329
329
|
type: "dataset",
|
|
330
330
|
debug: Rt.value
|
|
331
|
-
}), ot(R.value), wt(k.dataset) || (
|
|
331
|
+
}), ot(R.value), wt(k.dataset) || (It.value = e.value.loading), e.value.responsive) {
|
|
332
332
|
const t = sl(() => {
|
|
333
333
|
const { width: o, height: l } = ul({
|
|
334
334
|
chart: V.value,
|
|
@@ -349,7 +349,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
349
349
|
});
|
|
350
350
|
const ie = b(() => X.value.map((t, o) => ({
|
|
351
351
|
...t,
|
|
352
|
-
color: de(t.color) || pe.value[o] ||
|
|
352
|
+
color: de(t.color) || pe.value[o] || F[o] || F[o % F.length]
|
|
353
353
|
})).filter((t) => !z.value.includes(t.id))), ne = b(() => R.value.filter((t) => !z.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), nt = b({
|
|
354
354
|
get() {
|
|
355
355
|
let t = [...ie.value];
|
|
@@ -370,7 +370,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
370
370
|
}
|
|
371
371
|
function ut(t, o, l, a) {
|
|
372
372
|
return t.map((p, S) => {
|
|
373
|
-
const be = zt(de(o) || pe.value[S] ||
|
|
373
|
+
const be = zt(de(o) || pe.value[S] || F[S] || F[S % F.length], p, a), Ht = st(p, a);
|
|
374
374
|
return {
|
|
375
375
|
...p,
|
|
376
376
|
color: be,
|
|
@@ -473,7 +473,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
473
473
|
return t;
|
|
474
474
|
}), L = U(null), vt = b(() => R.value.map((t, o) => ({
|
|
475
475
|
...t,
|
|
476
|
-
color: de(t.color) || pe.value[o] ||
|
|
476
|
+
color: de(t.color) || pe.value[o] || F[o] || F[o % F.length],
|
|
477
477
|
shape: "square"
|
|
478
478
|
})).sort((t, o) => o.value - t.value).map((t, o) => ({
|
|
479
479
|
...t,
|
|
@@ -658,7 +658,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
658
658
|
e.value.table.show || (t && e.value.table.useDialog && ue.value ? ue.value.open() : "close" in ue.value && ue.value.close());
|
|
659
659
|
});
|
|
660
660
|
function mt() {
|
|
661
|
-
D.value.showTable = !1,
|
|
661
|
+
D.value.showTable = !1, Fe.value && Fe.value.setTableIconState(!1);
|
|
662
662
|
}
|
|
663
663
|
return r({
|
|
664
664
|
getData: Et,
|
|
@@ -717,9 +717,9 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
717
717
|
O("div", {
|
|
718
718
|
id: `legend-top-${A.value}`
|
|
719
719
|
}, null, 8, _l),
|
|
720
|
-
e.value.userOptions.show &&
|
|
720
|
+
e.value.userOptions.show && I.value && (c(Ze) || c(De)) ? (d(), Z(c(g), {
|
|
721
721
|
ref_key: "userOptionsRef",
|
|
722
|
-
ref:
|
|
722
|
+
ref: Fe,
|
|
723
723
|
key: `user_option_${Ue.value}`,
|
|
724
724
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
725
725
|
color: e.value.style.chart.color,
|
|
@@ -840,7 +840,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
840
840
|
O("span", Al, [
|
|
841
841
|
O("span", Sl, [
|
|
842
842
|
C(t.$slots, "breadcrumb-label", Ve({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: ye.value === a }), () => [
|
|
843
|
-
a === 0 ? (d(), y("div",
|
|
843
|
+
a === 0 ? (d(), y("div", Fl, [
|
|
844
844
|
we(_t, {
|
|
845
845
|
name: ye.value === 0 ? "homeFilled" : "home",
|
|
846
846
|
stroke: e.value.style.chart.color
|
|
@@ -850,7 +850,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
850
850
|
], 64))
|
|
851
851
|
], !0)
|
|
852
852
|
]),
|
|
853
|
-
a < j.value.length - 1 ? (d(), y("span",
|
|
853
|
+
a < j.value.length - 1 ? (d(), y("span", Il, [
|
|
854
854
|
C(t.$slots, "breadcrumb-arrow", {}, () => [
|
|
855
855
|
o[4] || (o[4] = $e(" › ", -1))
|
|
856
856
|
], !0)
|
|
@@ -1025,7 +1025,9 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
1025
1025
|
isFullscreen: K.value,
|
|
1026
1026
|
isCustom: c(Tt)(e.value.style.chart.tooltip.customFormat),
|
|
1027
1027
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1028
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
1028
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1029
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1030
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1029
1031
|
}, {
|
|
1030
1032
|
"tooltip-before": T(() => [
|
|
1031
1033
|
C(t.$slots, "tooltip-before", le(oe({ ...Re.value })), void 0, !0)
|
|
@@ -1034,8 +1036,8 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
1034
1036
|
C(t.$slots, "tooltip-after", le(oe({ ...Re.value })), void 0, !0)
|
|
1035
1037
|
]),
|
|
1036
1038
|
_: 3
|
|
1037
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1038
|
-
|
|
1039
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1040
|
+
I.value ? (d(), Z(Yt(ve.value.component), Ve({ key: 8 }, ve.value.props, {
|
|
1039
1041
|
ref_key: "tableUnit",
|
|
1040
1042
|
ref: ue,
|
|
1041
1043
|
onClose: mt
|
|
@@ -1092,7 +1094,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
|
|
|
1092
1094
|
c(re) ? (d(), Z(il, { key: 9 })) : _("", !0)
|
|
1093
1095
|
], 46, xl));
|
|
1094
1096
|
}
|
|
1095
|
-
}, ao = /* @__PURE__ */ gl(Wl, [["__scopeId", "data-v-
|
|
1097
|
+
}, ao = /* @__PURE__ */ gl(Wl, [["__scopeId", "data-v-42396722"]]);
|
|
1096
1098
|
export {
|
|
1097
1099
|
ao as default
|
|
1098
1100
|
};
|