vue-data-ui 3.0.0-next.40 → 3.0.0-next.41
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-CJMQcuGh.js → Arrow-FZbM_OMm.js} +1 -1
- package/dist/{BaseDraggableDialog-BorVmOH6.js → BaseDraggableDialog-rjsCDxdM.js} +2 -2
- package/dist/{BaseIcon-DEsg88EI.js → BaseIcon-d5M_8gn6.js} +1 -1
- package/dist/{ColorPicker-Co40B_SG.js → ColorPicker-Br0iohs5.js} +2 -2
- package/dist/{DataTable-DY-e2LXS.js → DataTable-CyFoVhAB.js} +2 -2
- package/dist/{Legend-C7zp8-t4.js → Legend-BY-3lPeC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C2R7jHOH.js → NonSvgPenAndPaper-DjILEBYN.js} +3 -3
- package/dist/{PackageVersion-B6kajKgU.js → PackageVersion-QefvdSlr.js} +1 -1
- package/dist/{PenAndPaper-en69u8G0.js → PenAndPaper-CeTnED7E.js} +3 -3
- package/dist/{Shape-D2suYivy.js → Shape-ClINMlel.js} +1 -1
- package/dist/{Slicer-DlcITWn0.js → Slicer-CTVgtwAo.js} +2 -2
- package/dist/{SparkTooltip-BwDKg_cF.js → SparkTooltip-D7iBCVUT.js} +1 -1
- package/dist/{Title-CBSyhlmd.js → Title-C2MeWc6b.js} +1 -1
- package/dist/{Tooltip-Dis_Iqvl.js → Tooltip-CyC0lofV.js} +1 -1
- package/dist/{UserOptions-BAGpDPid.js → UserOptions-Q4MLYmK1.js} +2 -2
- package/dist/{dom-to-png-Ov4kozad.js → dom-to-png-Bmhnn6-_.js} +1 -1
- package/dist/{img-lSctQ4V6.js → img-1ZBpWF3A.js} +1 -1
- package/dist/{index-Dt40W2hN.js → index-D-ozSgn5.js} +28 -9
- package/dist/{pdf-DtFuExHv.js → pdf-Dm9wepT-.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +16 -4
- package/dist/types/vue-data-ui.d.ts +16 -4
- package/dist/{useNestedProp-CiNTcBth.js → useNestedProp-xgFDyd-D.js} +1 -1
- package/dist/{usePrinter-C4Hc_Nbf.js → usePrinter-CyhyubAW.js} +2 -2
- package/dist/{vue-data-ui-Bgp_em-v.js → vue-data-ui-BvqaMmwo.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-osKQ4IOP.js → vue-ui-3d-bar-wFrj_nHo.js} +6 -6
- package/dist/{vue-ui-accordion-BrdvtjzQ.js → vue-ui-accordion-CzcfvDc6.js} +3 -3
- package/dist/vue-ui-age-pyramid-C06opmye.js +834 -0
- package/dist/{vue-ui-annotator-CSqAhQiG.js → vue-ui-annotator-rLnZGNrU.js} +2 -2
- package/dist/{vue-ui-bullet-CVDhxrNn.js → vue-ui-bullet-BrtBslm2.js} +7 -7
- package/dist/{vue-ui-candlestick--MPqDI4C.js → vue-ui-candlestick-CTHK4Nkb.js} +7 -7
- package/dist/{vue-ui-carousel-table-BVk7PLwZ.js → vue-ui-carousel-table-BEot5M0l.js} +4 -4
- package/dist/{vue-ui-chestnut-DEx9TbrF.js → vue-ui-chestnut-C4xlmyWV.js} +5 -5
- package/dist/{vue-ui-chord-CA-KhxYT.js → vue-ui-chord-odv0oGun.js} +8 -8
- package/dist/{vue-ui-circle-pack-DBathPgi.js → vue-ui-circle-pack-Dv7OO-jl.js} +6 -6
- package/dist/{vue-ui-cursor-DMgru1Ut.js → vue-ui-cursor-CHPi6ptC.js} +2 -2
- package/dist/{vue-ui-dashboard-DjR4GMXi.js → vue-ui-dashboard-yZ6EoUYB.js} +62 -62
- package/dist/{vue-ui-digits-Zyo5YPt9.js → vue-ui-digits-C502piFU.js} +2 -2
- package/dist/{vue-ui-donut-CTkQZ2S_.js → vue-ui-donut-XKTZp6vn.js} +8 -8
- package/dist/{vue-ui-donut-evolution-CqWJyBuS.js → vue-ui-donut-evolution-BETQ3m-1.js} +8 -8
- package/dist/{vue-ui-dumbbell-CqW_fq8N.js → vue-ui-dumbbell-B0koyYHY.js} +7 -7
- package/dist/{vue-ui-flow-CrAhSPCS.js → vue-ui-flow-BOXbr-B4.js} +7 -7
- package/dist/{vue-ui-funnel-DhfW5rrz.js → vue-ui-funnel-BuLuXMWN.js} +6 -6
- package/dist/{vue-ui-galaxy-PAdaOeqx.js → vue-ui-galaxy-Duo4_PQ0.js} +17 -17
- package/dist/{vue-ui-gauge-O3pWOp6L.js → vue-ui-gauge-CzvkhWyr.js} +6 -6
- package/dist/{vue-ui-gizmo-euqtfneE.js → vue-ui-gizmo-C_s3Mad5.js} +3 -3
- package/dist/{vue-ui-heatmap-DpJtmmha.js → vue-ui-heatmap-BfPyDKrE.js} +42 -42
- package/dist/{vue-ui-history-plot-D-ERYWqA.js → vue-ui-history-plot-11zollOK.js} +7 -7
- package/dist/{vue-ui-kpi-BVPy5lir.js → vue-ui-kpi-BAFYYyfo.js} +3 -3
- package/dist/{vue-ui-mini-loader-C1jyLTN0.js → vue-ui-mini-loader-DUDhlnIj.js} +2 -2
- package/dist/{vue-ui-molecule-D5a1xiZe.js → vue-ui-molecule-Dng9xRXp.js} +18 -18
- package/dist/{vue-ui-mood-radar-BFoBLBHr.js → vue-ui-mood-radar-CZITumE0.js} +7 -7
- package/dist/{vue-ui-nested-donuts-C5EdQl9m.js → vue-ui-nested-donuts-BvLGT-wp.js} +9 -9
- package/dist/{vue-ui-onion-R8aDUWKW.js → vue-ui-onion-BVXel8xL.js} +7 -7
- package/dist/{vue-ui-parallel-coordinate-plot-BlyVabIZ.js → vue-ui-parallel-coordinate-plot-CCVeKuyk.js} +8 -8
- package/dist/{vue-ui-quadrant-IUglavFx.js → vue-ui-quadrant-CvH-NZdr.js} +8 -8
- package/dist/{vue-ui-quick-chart-BpNPyMU7.js → vue-ui-quick-chart-Cw9hhg7p.js} +6 -6
- package/dist/{vue-ui-radar-gw_Juu9G.js → vue-ui-radar-CgOon7mZ.js} +7 -7
- package/dist/{vue-ui-rating-1unEFc2G.js → vue-ui-rating-B5c-kqdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-BcfPtGPT.js → vue-ui-relation-circle-qt6Rkmmg.js} +6 -6
- package/dist/{vue-ui-ridgeline-MPTZgHBN.js → vue-ui-ridgeline-BbLx23HV.js} +8 -8
- package/dist/{vue-ui-rings-BathT6rc.js → vue-ui-rings-CRRnF21q.js} +8 -8
- package/dist/{vue-ui-scatter-c18cEUOV.js → vue-ui-scatter-CmFDRXa2.js} +42 -42
- package/dist/{vue-ui-skeleton-B7-_d7dq.js → vue-ui-skeleton-CIU55VVP.js} +3 -3
- package/dist/{vue-ui-smiley-BDXogV8H.js → vue-ui-smiley-BBTuuurS.js} +2 -2
- package/dist/{vue-ui-spark-trend-DDTjw45H.js → vue-ui-spark-trend-CfCb4r4K.js} +3 -3
- package/dist/{vue-ui-sparkbar-C_5eGtLa.js → vue-ui-sparkbar-CY2g4HPf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DHY87x_9.js → vue-ui-sparkgauge-0xVecWxL.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DS5XBE2H.js → vue-ui-sparkhistogram-DXT4M8c6.js} +4 -4
- package/dist/{vue-ui-sparkline-CSDFmjTw.js → vue-ui-sparkline-BgUGZ1AX.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BlbqR90E.js → vue-ui-sparkstackbar-ic4Q92W2.js} +3 -3
- package/dist/{vue-ui-stackbar-BQhWHZhn.js → vue-ui-stackbar-C1K77Eph.js} +9 -9
- package/dist/{vue-ui-strip-plot-DqW7c8P5.js → vue-ui-strip-plot-B-EluNpw.js} +7 -7
- package/dist/{vue-ui-table-CgQG6lgC.js → vue-ui-table-D8yiQSAZ.js} +11 -11
- package/dist/{vue-ui-table-heatmap-BSvr6nNW.js → vue-ui-table-heatmap-BV03Xipx.js} +5 -5
- package/dist/{vue-ui-table-sparkline-w7bQM7Hk.js → vue-ui-table-sparkline-BJDrPMNM.js} +4 -4
- package/dist/{vue-ui-thermometer-DXtr4W_t.js → vue-ui-thermometer-BfTaCEvy.js} +6 -6
- package/dist/{vue-ui-timer-DFF2z6Uo.js → vue-ui-timer-yaD9CnrU.js} +5 -5
- package/dist/{vue-ui-tiremarks-a_a4b9HI.js → vue-ui-tiremarks-DZmn0x0x.js} +19 -19
- package/dist/{vue-ui-treemap-DLbstU3H.js → vue-ui-treemap-cLoY4lkA.js} +42 -42
- package/dist/{vue-ui-vertical-bar-B7NnA0GU.js → vue-ui-vertical-bar-CptPUybG.js} +9 -9
- package/dist/{vue-ui-waffle-B9VX_YKC.js → vue-ui-waffle-C6_JY56k.js} +32 -32
- package/dist/{vue-ui-wheel-BuMOe8AU.js → vue-ui-wheel-CZa3V2a8.js} +6 -6
- package/dist/{vue-ui-word-cloud-CEZ2XSvH.js → vue-ui-word-cloud-Bwa3o0gV.js} +6 -6
- package/dist/{vue-ui-world-BTXi0bm-.js → vue-ui-world-Dk4VR0iE.js} +6 -6
- package/dist/{vue-ui-xy-DIstI78B.js → vue-ui-xy-CLRcmnNU.js} +9 -9
- package/dist/{vue-ui-xy-canvas-u2RoNNiK.js → vue-ui-xy-canvas-CVW7Wok4.js} +8 -8
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-CioF-ZZz.js +0 -748
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a8 as
|
|
2
|
-
import q from "./vue-ui-xy-
|
|
3
|
-
import Q from "./vue-ui-donut-
|
|
1
|
+
import { a8 as P, v as z, l as T, r as U, f as V, h as X, q as j, A as Y, d as W, F as J, u as K, p as Z } from "./index-D-ozSgn5.js";
|
|
2
|
+
import q from "./vue-ui-xy-CLRcmnNU.js";
|
|
3
|
+
import Q from "./vue-ui-donut-XKTZp6vn.js";
|
|
4
4
|
import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
|
|
5
5
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const se = {
|
|
@@ -442,7 +442,7 @@ Provide an array of objects of type:
|
|
|
442
442
|
dataLabel: V,
|
|
443
443
|
downloadCsv: U,
|
|
444
444
|
lightenHexColor: T,
|
|
445
|
-
treeShake:
|
|
445
|
+
treeShake: z,
|
|
446
446
|
// specific
|
|
447
447
|
applyDonutOption() {
|
|
448
448
|
const n = this.selectedDonutCategory.options.map((s, r) => ({
|
|
@@ -465,7 +465,7 @@ Provide an array of objects of type:
|
|
|
465
465
|
const s = this.dataset.header.map((e) => e.name), r = n === "all" ? this.bodyCopy.map((e) => e.td) : this.visibleRows.map((e) => e.td), i = [s].concat(r), t = this.createCsvContent(i);
|
|
466
466
|
this.downloadCsv({ csvContent: t, title: "vue-ui-table" });
|
|
467
467
|
},
|
|
468
|
-
calcLinearProgression:
|
|
468
|
+
calcLinearProgression: P,
|
|
469
469
|
closeAllDropdowns() {
|
|
470
470
|
const n = document.getElementsByClassName("th-dropdown");
|
|
471
471
|
n.length && Array.from(n).forEach((s) => {
|
|
@@ -788,7 +788,7 @@ Provide an array of objects of type:
|
|
|
788
788
|
}, Ie = { key: 0 }, Fe = { class: "th-filter" }, ve = {
|
|
789
789
|
key: 0,
|
|
790
790
|
class: "th-date"
|
|
791
|
-
}, we = { class: "date-wrapper--inputs" }, _e = { class: "date-fieldset" }, ke = ["for"], Oe = ["id", "onUpdate:modelValue", "onInput"], Se = { class: "date-fieldset" }, Le = ["for"], Ae = ["id", "onUpdate:modelValue", "onInput"], Me = { class: "date-wrapper--button" }, De = ["onClick"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["innerHTML"], Ee = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], He = ["onClick"], Re = ["innerHTML"],
|
|
791
|
+
}, we = { class: "date-wrapper--inputs" }, _e = { class: "date-fieldset" }, ke = ["for"], Oe = ["id", "onUpdate:modelValue", "onInput"], Se = { class: "date-fieldset" }, Le = ["for"], Ae = ["id", "onUpdate:modelValue", "onInput"], Me = { class: "date-wrapper--button" }, De = ["onClick"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["innerHTML"], Ee = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], He = ["onClick"], Re = ["innerHTML"], Pe = ["innerHTML"], ze = ["innerHTML"], Ue = ["onClick", "innerHTML"], Ve = ["innerHTML"], Xe = {
|
|
792
792
|
key: 5,
|
|
793
793
|
class: "th-range-filter"
|
|
794
794
|
}, je = ["for"], Ye = ["id", "max", "min", "onUpdate:modelValue"], We = ["id", "max", "min", "onUpdate:modelValue"], Je = ["for"], Ke = ["onClick", "disabled"], Ze = ["id"], qe = ["onClick"], Qe = ["onClick", "onKeyup"], $e = ["innerHTML", "onClick", "onKeyup"], et = ["data-row"], tt = ["data-row"], st = ["data-row", "onClick", "onKeyup", "id"], nt = ["innerHTML"], rt = { key: 1 }, ot = { key: 2 }, lt = { key: 5 }, at = ["innerHTML"], it = { key: 0 }, ct = { style: { "margin-left": "12px" } }, ut = { class: "format-num" }, ht = { style: { "margin-left": "12px" } }, dt = {
|
|
@@ -821,7 +821,7 @@ Provide an array of objects of type:
|
|
|
821
821
|
}, Ot = ["max", "value"], St = { key: 1 }, Lt = ["disabled"], At = ["innerHTML", "disabled"], Mt = ["innerHTML"], Dt = { class: "chart-modal-options" }, Gt = ["innerHTML"], Tt = ["innerHTML"], xt = ["innerHTML"], Et = {
|
|
822
822
|
style: { width: "100%", height: "fit-content" },
|
|
823
823
|
ref: "chartModal"
|
|
824
|
-
}, Bt = { class: "vue-ui-table-fieldset" }, Ht = { class: "vue-ui-table-fieldset-wrapper" }, Rt = ["name", "id", "checked", "onInput"],
|
|
824
|
+
}, Bt = { class: "vue-ui-table-fieldset" }, Ht = { class: "vue-ui-table-fieldset-wrapper" }, Rt = ["name", "id", "checked", "onInput"], Pt = ["for"], zt = ["disabled"], Ut = ["innerHTML"], Vt = { style: { width: "100%", "margin-bottom": "12px" } }, Xt = {
|
|
825
825
|
key: 2,
|
|
826
826
|
style: { width: "100%", "margin-bottom": "32px" }
|
|
827
827
|
};
|
|
@@ -1032,10 +1032,10 @@ function jt(n, s, r, i, t, e) {
|
|
|
1032
1032
|
}, null, 8, Re)) : t.sorts[o] === t.constants.DESC ? (c(), u("span", {
|
|
1033
1033
|
key: 1,
|
|
1034
1034
|
innerHTML: [t.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
|
|
1035
|
-
}, null, 8,
|
|
1035
|
+
}, null, 8, Pe)) : (c(), u("span", {
|
|
1036
1036
|
key: 2,
|
|
1037
1037
|
innerHTML: e.icons.arrowSort
|
|
1038
|
-
}, null, 8,
|
|
1038
|
+
}, null, 8, ze))
|
|
1039
1039
|
], 14, He)) : b("", !0),
|
|
1040
1040
|
l.isMultiselect ? (c(), u("button", {
|
|
1041
1041
|
key: 3,
|
|
@@ -1427,7 +1427,7 @@ function jt(n, s, r, i, t, e) {
|
|
|
1427
1427
|
}, null, 44, Rt),
|
|
1428
1428
|
a("label", {
|
|
1429
1429
|
for: l.name
|
|
1430
|
-
}, d(l.name), 9,
|
|
1430
|
+
}, d(l.name), 9, Pt)
|
|
1431
1431
|
]))), 128))
|
|
1432
1432
|
]),
|
|
1433
1433
|
a("button", {
|
|
@@ -1441,7 +1441,7 @@ function jt(n, s, r, i, t, e) {
|
|
|
1441
1441
|
innerHTML: e.icons.donut
|
|
1442
1442
|
}, null, 8, Ut),
|
|
1443
1443
|
w(" " + d(e.FINAL_CONFIG.translations.makeDonut), 1)
|
|
1444
|
-
], 12,
|
|
1444
|
+
], 12, zt)
|
|
1445
1445
|
])
|
|
1446
1446
|
], 4)) : b("", !0),
|
|
1447
1447
|
[t.constants.BAR, t.constants.LINE].includes(t.chart.type) && !t.showDonutOptions ? (c(), u(I, { key: 1 }, [
|
|
@@ -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, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r 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, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-D-ozSgn5.js";
|
|
3
|
+
import { u as H } from "./useNestedProp-xgFDyd-D.js";
|
|
4
|
+
import { u as ye } from "./usePrinter-CyhyubAW.js";
|
|
5
5
|
import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
-
import { _ as ke } from "./Shape-
|
|
6
|
+
import { _ as ke } from "./Shape-ClINMlel.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-Q4MLYmK1.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, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
2
|
+
import { u as ye } from "./useNestedProp-xgFDyd-D.js";
|
|
3
|
+
import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-D-ozSgn5.js";
|
|
4
|
+
import { u as je } from "./usePrinter-CyhyubAW.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
|
"3f28d054": t.tdo
|
|
45
45
|
}));
|
|
46
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
46
|
+
const Ce = J(() => import("./vue-ui-sparkline-BgUGZ1AX.js")), N = J(() => import("./BaseIcon-d5M_8gn6.js")), xe = J(() => import("./UserOptions-Q4MLYmK1.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,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as $e, computed as d, defineAsyncComponent as A, onMounted as Pe, ref as p, watch as Fe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as oe, normalizeClass as S, createBlock as M, createCommentVNode as c, createSlots as Oe, withCtx as C, renderSlot as f, normalizeProps as U, guardReactiveProps as Y, createVNode as Ie, createElementVNode as v, Fragment as N, renderList as ae, toDisplayString as Ae } from "vue";
|
|
2
|
-
import { u as Se, o as Me, e as le, g as Ue, c as Ye, t as Ne, p as $, a as Te, b as Ve,
|
|
3
|
-
import { u as re } from "./useNestedProp-
|
|
4
|
-
import { u as We } from "./usePrinter-
|
|
2
|
+
import { u as Se, o as Me, e as le, g as Ue, c as Ye, t as Ne, p as $, a as Te, b as Ve, w as g, d as T, X as qe, s as Le, i as Ee, f as Ge } from "./index-D-ozSgn5.js";
|
|
3
|
+
import { u as re } from "./useNestedProp-xgFDyd-D.js";
|
|
4
|
+
import { u as We } from "./usePrinter-CyhyubAW.js";
|
|
5
5
|
import { u as Be } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Re } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import je from "./Title-
|
|
8
|
-
import ze from "./img-
|
|
7
|
+
import je from "./Title-C2MeWc6b.js";
|
|
8
|
+
import ze from "./img-1ZBpWF3A.js";
|
|
9
9
|
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const He = ["id"], Xe = {
|
|
11
11
|
key: 1,
|
|
@@ -47,7 +47,7 @@ const He = ["id"], Xe = {
|
|
|
47
47
|
"4d37cb61": pe.value,
|
|
48
48
|
"295a76e4": ge.value
|
|
49
49
|
}));
|
|
50
|
-
const ue = A(() => import("./PackageVersion-
|
|
50
|
+
const ue = A(() => import("./PackageVersion-QefvdSlr.js")), ie = A(() => import("./PenAndPaper-CeTnED7E.js")), ce = A(() => import("./vue-ui-skeleton-CIU55VVP.js")), he = A(() => import("./UserOptions-Q4MLYmK1.js")), { vue_ui_thermometer: de } = Se(), r = P, V = d(() => !!r.dataset && Object.keys(r.dataset).length);
|
|
51
51
|
Pe(() => {
|
|
52
52
|
B();
|
|
53
53
|
});
|
|
@@ -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-xgFDyd-D.js";
|
|
3
|
+
import { u as ce, c as ve, X as de, E as X } from "./index-D-ozSgn5.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-C2MeWc6b.js";
|
|
7
|
+
import R from "./BaseIcon-d5M_8gn6.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-QefvdSlr.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,11 +1,11 @@
|
|
|
1
|
-
import { defineAsyncComponent as S, computed as d, ref as b, watch as te, onMounted as pe, createElementBlock as c, openBlock as r, unref as s, normalizeStyle as G, normalizeClass as L, createBlock as z, createCommentVNode as f, createSlots as ye, withCtx as
|
|
2
|
-
import { u as le } from "./useNestedProp-
|
|
3
|
-
import { u as be, c as Ce, a as _e,
|
|
4
|
-
import { u as Ie } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as S, computed as d, ref as b, watch as te, onMounted as pe, createElementBlock as c, openBlock as r, unref as s, normalizeStyle as G, normalizeClass as L, createBlock as z, createCommentVNode as f, createSlots as ye, withCtx as P, renderSlot as p, normalizeProps as N, guardReactiveProps as M, createVNode as me, Fragment as ae, renderList as oe, toDisplayString as ke } from "vue";
|
|
2
|
+
import { u as le } from "./useNestedProp-xgFDyd-D.js";
|
|
3
|
+
import { u as be, c as Ce, a as _e, w as we, o as $e, e as xe, x as se, X as Oe, i as Pe, f as Ae } from "./index-D-ozSgn5.js";
|
|
4
|
+
import { u as Ie } from "./usePrinter-CyhyubAW.js";
|
|
5
5
|
import { u as Fe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Se } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import ze from "./Title-
|
|
8
|
-
import Ne from "./img-
|
|
7
|
+
import ze from "./Title-C2MeWc6b.js";
|
|
8
|
+
import Ne from "./img-1ZBpWF3A.js";
|
|
9
9
|
import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const Te = ["id"], Ue = {
|
|
11
11
|
key: 2,
|
|
@@ -34,7 +34,7 @@ const Te = ["id"], Ue = {
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
setup(ne, { expose: re }) {
|
|
37
|
-
const ue = S(() => import("./PenAndPaper-
|
|
37
|
+
const ue = S(() => import("./PenAndPaper-CeTnED7E.js")), ie = S(() => import("./vue-ui-skeleton-CIU55VVP.js")), ce = S(() => import("./UserOptions-Q4MLYmK1.js")), ve = S(() => import("./PackageVersion-QefvdSlr.js")), { vue_ui_tiremarks: he } = be(), g = ne, T = d(() => !!g.dataset && Object.keys(g.dataset).length), U = b(Ce()), w = b(null), de = b(null), j = b(0), B = b(0), e = d({
|
|
38
38
|
get: () => V(),
|
|
39
39
|
set: (t) => t
|
|
40
40
|
}), { userOptionsVisible: R, setUserOptionsVisibility: X, keepUserOptionState: D } = Fe({ config: e.value }), { svgRef: H } = Se({ config: e.value.style.chart.title });
|
|
@@ -72,7 +72,7 @@ const Te = ["id"], Ue = {
|
|
|
72
72
|
o();
|
|
73
73
|
}
|
|
74
74
|
function W() {
|
|
75
|
-
$e(g.dataset) &&
|
|
75
|
+
$e(g.dataset) && xe({
|
|
76
76
|
componentName: "VueUiTiremarks",
|
|
77
77
|
type: "dataset"
|
|
78
78
|
}), Q(g.dataset.percentage || 0);
|
|
@@ -109,23 +109,23 @@ const Te = ["id"], Ue = {
|
|
|
109
109
|
for (let a = 0; a < 100; a += 1) {
|
|
110
110
|
const o = e.value.style.chart.layout.ticks.gradient.show ? se(e.value.style.chart.layout.activeColor, a / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.activeColor;
|
|
111
111
|
if (_.value) {
|
|
112
|
-
const C = e.value.style.chart.layout.crescendo ? (100 - a) * (l.value.width - i.value.left - i.value.right) / 100 / 3 : 0, h = i.value.left + 4 + C, y = l.value.width - i.value.right - 4 - C, m = l.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, k = l.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark,
|
|
112
|
+
const C = e.value.style.chart.layout.crescendo ? (100 - a) * (l.value.width - i.value.left - i.value.right) / 100 / 3 : 0, h = i.value.left + 4 + C, y = l.value.width - i.value.right - 4 - C, m = l.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, k = l.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, x = (y - h) / e.value.style.chart.layout.curveAngleX, O = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100);
|
|
113
113
|
t.push({
|
|
114
114
|
x1: h,
|
|
115
115
|
x2: y,
|
|
116
116
|
y1: m,
|
|
117
117
|
y2: k,
|
|
118
|
-
curve: `M ${h} ${m} C ${h +
|
|
118
|
+
curve: `M ${h} ${m} C ${h + x} ${m - O}, ${y - x} ${k - O}, ${y} ${k}`,
|
|
119
119
|
color: o
|
|
120
120
|
});
|
|
121
121
|
} else {
|
|
122
|
-
const C = e.value.style.chart.layout.crescendo ? (100 - a) * (l.value.height - i.value.top - i.value.bottom) / 100 / 3 : 0, h = i.value.left + a * v.value.mark + a * v.value.space - v.value.mark, y = h, m = i.value.top + 4 + C, k = l.value.height - i.value.bottom - 4 - C,
|
|
122
|
+
const C = e.value.style.chart.layout.crescendo ? (100 - a) * (l.value.height - i.value.top - i.value.bottom) / 100 / 3 : 0, h = i.value.left + a * v.value.mark + a * v.value.space - v.value.mark, y = h, m = i.value.top + 4 + C, k = l.value.height - i.value.bottom - 4 - C, x = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100), O = (k - m) / e.value.style.chart.layout.curveAngleX;
|
|
123
123
|
t.push({
|
|
124
124
|
x1: h,
|
|
125
125
|
x2: y,
|
|
126
126
|
y1: m,
|
|
127
127
|
y2: k,
|
|
128
|
-
curve: `M ${h} ${m} C ${h +
|
|
128
|
+
curve: `M ${h} ${m} C ${h + x} ${m + O}, ${y + x} ${k - O}, ${y} ${k}`,
|
|
129
129
|
color: o
|
|
130
130
|
});
|
|
131
131
|
}
|
|
@@ -237,35 +237,35 @@ const Te = ["id"], Ue = {
|
|
|
237
237
|
}, ye({ _: 2 }, [
|
|
238
238
|
t.$slots.menuIcon ? {
|
|
239
239
|
name: "menuIcon",
|
|
240
|
-
fn:
|
|
240
|
+
fn: P(({ isOpen: a, color: o }) => [
|
|
241
241
|
p(t.$slots, "menuIcon", N(M({ isOpen: a, color: o })), void 0, !0)
|
|
242
242
|
]),
|
|
243
243
|
key: "0"
|
|
244
244
|
} : void 0,
|
|
245
245
|
t.$slots.optionPdf ? {
|
|
246
246
|
name: "optionPdf",
|
|
247
|
-
fn:
|
|
247
|
+
fn: P(() => [
|
|
248
248
|
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
249
249
|
]),
|
|
250
250
|
key: "1"
|
|
251
251
|
} : void 0,
|
|
252
252
|
t.$slots.optionImg ? {
|
|
253
253
|
name: "optionImg",
|
|
254
|
-
fn:
|
|
254
|
+
fn: P(() => [
|
|
255
255
|
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
256
256
|
]),
|
|
257
257
|
key: "2"
|
|
258
258
|
} : void 0,
|
|
259
259
|
t.$slots.optionFullscreen ? {
|
|
260
260
|
name: "optionFullscreen",
|
|
261
|
-
fn:
|
|
261
|
+
fn: P(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
262
262
|
p(t.$slots, "optionFullscreen", N(M({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
263
263
|
]),
|
|
264
264
|
key: "3"
|
|
265
265
|
} : void 0,
|
|
266
266
|
t.$slots.optionAnnotator ? {
|
|
267
267
|
name: "optionAnnotator",
|
|
268
|
-
fn:
|
|
268
|
+
fn: P(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
269
269
|
p(t.$slots, "optionAnnotator", N(M({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
270
270
|
]),
|
|
271
271
|
key: "4"
|
|
@@ -275,7 +275,7 @@ const Te = ["id"], Ue = {
|
|
|
275
275
|
key: 4,
|
|
276
276
|
ref_key: "svgRef",
|
|
277
277
|
ref: H,
|
|
278
|
-
xmlns: s(
|
|
278
|
+
xmlns: s(Oe),
|
|
279
279
|
class: L({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
|
|
280
280
|
viewBox: `0 0 ${l.value.width} ${l.value.height}`,
|
|
281
281
|
style: G(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -321,7 +321,7 @@ const Te = ["id"], Ue = {
|
|
|
321
321
|
fill: e.value.style.chart.layout.ticks.gradient.show && e.value.style.chart.percentage.useGradientColor ? s(se)(e.value.style.chart.layout.activeColor, u.value / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.percentage.color,
|
|
322
322
|
"font-weight": $.value.bold ? "bold" : "normal",
|
|
323
323
|
"text-anchor": $.value.textAnchor
|
|
324
|
-
}, ke(s(
|
|
324
|
+
}, ke(s(Pe)(
|
|
325
325
|
e.value.style.chart.percentage.formatter,
|
|
326
326
|
u.value,
|
|
327
327
|
s(Ae)({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as J, useSlots as Ot, onMounted as st, computed as b, ref as $, shallowRef as B, watch as _t, onBeforeUnmount as St, createElementBlock as y, openBlock as h, unref as d, normalizeStyle as L, normalizeClass as $e, createBlock as Q, createCommentVNode as _, createElementVNode as S, createVNode as xe, createSlots as It, withCtx as O, renderSlot as w, normalizeProps as ee, guardReactiveProps as te, Fragment as ge, renderList as Te, withKeys as ut, withModifiers as Oe, mergeProps as rt, createTextVNode as _e, toDisplayString as X, nextTick as Ft } from "vue";
|
|
2
|
-
import { u as
|
|
2
|
+
import { u as zt, c as Se, t as Nt, p as I, a as Pt, b as At, o as Rt, e as Vt, d as ye, i as me, f as ie, X as Lt, l as it, F as ct, y as dt, q as Mt, r as Dt, z as Bt } from "./index-D-ozSgn5.js";
|
|
3
3
|
import { t as Ht, u as Ut } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as vt } from "./useNestedProp-
|
|
5
|
-
import { u as Et } from "./usePrinter-
|
|
4
|
+
import { u as vt } from "./useNestedProp-xgFDyd-D.js";
|
|
5
|
+
import { u as Et } from "./usePrinter-CyhyubAW.js";
|
|
6
6
|
import { u as Wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Gt from "./BaseIcon-
|
|
9
|
-
import Xt from "./Title-
|
|
10
|
-
import jt from "./Legend-
|
|
11
|
-
import Yt from "./img-
|
|
8
|
+
import Gt from "./BaseIcon-d5M_8gn6.js";
|
|
9
|
+
import Xt from "./Title-C2MeWc6b.js";
|
|
10
|
+
import jt from "./Legend-BY-3lPeC.js";
|
|
11
|
+
import Yt from "./img-1ZBpWF3A.js";
|
|
12
12
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function ht(n, r) {
|
|
14
14
|
const s = n.length;
|
|
@@ -67,28 +67,28 @@ function el(n) {
|
|
|
67
67
|
}
|
|
68
68
|
function ft(n, r) {
|
|
69
69
|
const { width: s, height: i, xOffset: u, yOffset: v } = Ie(r), c = n.length, g = n.map((m) => m.normalizedValue || 0).reduce((m, x) => m + x, 0), p = g / i, H = g / s;
|
|
70
|
-
let
|
|
70
|
+
let N = u, k = v;
|
|
71
71
|
const C = [];
|
|
72
72
|
if (s >= i) {
|
|
73
73
|
for (let m = 0; m < c; m += 1) {
|
|
74
|
-
const x = n[m], M = k + x.normalizedValue / p,
|
|
75
|
-
x0:
|
|
74
|
+
const x = n[m], M = k + x.normalizedValue / p, P = {
|
|
75
|
+
x0: N,
|
|
76
76
|
y0: k,
|
|
77
|
-
x1:
|
|
77
|
+
x1: N + p,
|
|
78
78
|
y1: M
|
|
79
|
-
},
|
|
80
|
-
k = M, C.push(
|
|
79
|
+
}, z = Object.assign({}, x, P);
|
|
80
|
+
k = M, C.push(z);
|
|
81
81
|
}
|
|
82
82
|
return C;
|
|
83
83
|
} else {
|
|
84
84
|
for (let m = 0; m < c; m += 1) {
|
|
85
|
-
const x = n[m], M =
|
|
86
|
-
x0:
|
|
85
|
+
const x = n[m], M = N + x.normalizedValue / H, P = {
|
|
86
|
+
x0: N,
|
|
87
87
|
y0: k,
|
|
88
88
|
x1: M,
|
|
89
89
|
y1: k + H
|
|
90
|
-
},
|
|
91
|
-
|
|
90
|
+
}, z = Object.assign({}, x, P);
|
|
91
|
+
N = M, C.push(z);
|
|
92
92
|
}
|
|
93
93
|
return C;
|
|
94
94
|
}
|
|
@@ -123,17 +123,17 @@ function ol(n, r, s, i) {
|
|
|
123
123
|
const C = ft(v, c);
|
|
124
124
|
return g.concat(C);
|
|
125
125
|
}
|
|
126
|
-
const H = tl(c),
|
|
127
|
-
if (Zt(v,
|
|
128
|
-
const C = v.concat(
|
|
126
|
+
const H = tl(c), N = u[0], k = u.slice(1, p);
|
|
127
|
+
if (Zt(v, N, H)) {
|
|
128
|
+
const C = v.concat(N);
|
|
129
129
|
u = k, v = C, c = c, g = g;
|
|
130
130
|
} else {
|
|
131
131
|
const C = v.length;
|
|
132
132
|
let m = 0;
|
|
133
|
-
for (let
|
|
134
|
-
m += v[
|
|
135
|
-
const x = al(c, m), M = ft(v, c),
|
|
136
|
-
u = u, v = [], c = x, g =
|
|
133
|
+
for (let z = 0; z < C; z += 1)
|
|
134
|
+
m += v[z].normalizedValue;
|
|
135
|
+
const x = al(c, m), M = ft(v, c), P = g.concat(M);
|
|
136
|
+
u = u, v = [], c = x, g = P;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -204,32 +204,32 @@ const nl = ["id"], sl = {
|
|
|
204
204
|
},
|
|
205
205
|
emits: ["selectLegend", "selectDatapoint"],
|
|
206
206
|
setup(n, { expose: r, emit: s }) {
|
|
207
|
-
const i = J(() => import("./DataTable-
|
|
207
|
+
const i = J(() => import("./DataTable-CyFoVhAB.js")), u = J(() => import("./PenAndPaper-CeTnED7E.js")), v = J(() => import("./vue-ui-accordion-CzcfvDc6.js")), c = J(() => import("./vue-ui-skeleton-CIU55VVP.js")), g = J(() => import("./Tooltip-CyC0lofV.js")), p = J(() => import("./UserOptions-Q4MLYmK1.js")), H = J(() => import("./PackageVersion-QefvdSlr.js")), { vue_ui_treemap: N } = zt(), k = n, C = s, m = Ot();
|
|
208
208
|
st(() => {
|
|
209
209
|
m["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
210
210
|
});
|
|
211
|
-
const x = b(() => !!k.dataset && k.dataset.length), M = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)),
|
|
211
|
+
const x = b(() => !!k.dataset && k.dataset.length), M = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), P = $(Se()), z = $(!1), be = $(""), le = $(!1), Fe = $(0), A = $([]), U = B(null), ze = B(null), Ne = B(null), Pe = B(null), Ae = B(null), Re = $(0), Ve = $(0), Le = $(0), e = b({
|
|
212
212
|
get: () => He(),
|
|
213
213
|
set: (t) => t
|
|
214
214
|
}), { userOptionsVisible: we, setUserOptionsVisibility: Me, keepUserOptionState: De } = Wt({ config: e.value }), { svgRef: Be } = qt({ config: e.value.style.chart.title });
|
|
215
215
|
function He() {
|
|
216
216
|
const t = vt({
|
|
217
217
|
userConfig: k.config,
|
|
218
|
-
defaultConfig:
|
|
218
|
+
defaultConfig: N
|
|
219
219
|
});
|
|
220
220
|
return t.theme ? {
|
|
221
221
|
...vt({
|
|
222
|
-
userConfig:
|
|
222
|
+
userConfig: Pt.vue_ui_treemap[t.theme] || k.config,
|
|
223
223
|
defaultConfig: t
|
|
224
224
|
}),
|
|
225
|
-
customPalette:
|
|
225
|
+
customPalette: Nt[t.theme] || I
|
|
226
226
|
} : t;
|
|
227
227
|
}
|
|
228
228
|
_t(() => k.config, (t) => {
|
|
229
229
|
e.value = He(), we.value = !e.value.userOptions.showOnChartHover, Re.value += 1, Ve.value += 1, Le.value += 1, R.value.showTable = e.value.table.show, R.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
230
230
|
}, { deep: !0 });
|
|
231
231
|
const { isPrinting: Ue, isImaging: Ee, generatePdf: We, generateImage: qe } = Et({
|
|
232
|
-
elementId: `treemap_${
|
|
232
|
+
elementId: `treemap_${P.value}`,
|
|
233
233
|
fileName: e.value.style.chart.title.text || "vue-ui-treemap",
|
|
234
234
|
options: e.value.userOptions.print
|
|
235
235
|
}), yt = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), ce = b(() => At(e.value.customPalette)), R = $({
|
|
@@ -267,9 +267,9 @@ const nl = ["id"], sl = {
|
|
|
267
267
|
const t = Ht(() => {
|
|
268
268
|
const { width: o, height: l } = Ut({
|
|
269
269
|
chart: U.value,
|
|
270
|
-
title: e.value.style.chart.title.text ?
|
|
271
|
-
legend: e.value.style.chart.legend.show ?
|
|
272
|
-
source:
|
|
270
|
+
title: e.value.style.chart.title.text ? ze.value : null,
|
|
271
|
+
legend: e.value.style.chart.legend.show ? Ne.value : null,
|
|
272
|
+
source: Pe.value,
|
|
273
273
|
noTitle: Ae.value
|
|
274
274
|
});
|
|
275
275
|
requestAnimationFrame(() => {
|
|
@@ -451,7 +451,7 @@ const nl = ["id"], sl = {
|
|
|
451
451
|
{ datapoint: t, seriesIndex: o }
|
|
452
452
|
)}</b>`, be.value = `<div>${a}</div>`;
|
|
453
453
|
}
|
|
454
|
-
|
|
454
|
+
z.value = !0;
|
|
455
455
|
}
|
|
456
456
|
const D = b(() => {
|
|
457
457
|
const t = re.value.map((l) => ({
|
|
@@ -567,7 +567,7 @@ const nl = ["id"], sl = {
|
|
|
567
567
|
ref: U,
|
|
568
568
|
class: $e(`vue-ui-treemap ${le.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
569
569
|
style: L(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
570
|
-
id: `treemap_${
|
|
570
|
+
id: `treemap_${P.value}`,
|
|
571
571
|
onMouseenter: o[3] || (o[3] = () => d(Me)(!0)),
|
|
572
572
|
onMouseleave: o[4] || (o[4] = () => d(Me)(!1))
|
|
573
573
|
}, [
|
|
@@ -589,7 +589,7 @@ const nl = ["id"], sl = {
|
|
|
589
589
|
e.value.style.chart.title.text ? (h(), y("div", {
|
|
590
590
|
key: 2,
|
|
591
591
|
ref_key: "chartTitle",
|
|
592
|
-
ref:
|
|
592
|
+
ref: ze,
|
|
593
593
|
style: L(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
|
|
594
594
|
}, [
|
|
595
595
|
(h(), Q(Xt, {
|
|
@@ -613,7 +613,7 @@ const nl = ["id"], sl = {
|
|
|
613
613
|
color: e.value.style.chart.color,
|
|
614
614
|
isPrinting: d(Ue),
|
|
615
615
|
isImaging: d(Ee),
|
|
616
|
-
uid:
|
|
616
|
+
uid: P.value,
|
|
617
617
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
618
618
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
619
619
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -786,7 +786,7 @@ const nl = ["id"], sl = {
|
|
|
786
786
|
seriesIndex: a
|
|
787
787
|
}),
|
|
788
788
|
onMouseleave: o[0] || (o[0] = (f) => {
|
|
789
|
-
V.value = null,
|
|
789
|
+
V.value = null, z.value = !1;
|
|
790
790
|
}),
|
|
791
791
|
style: L(`opacity:${V.value ? V.value.id === l.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
792
792
|
class: $e([
|
|
@@ -854,13 +854,13 @@ const nl = ["id"], sl = {
|
|
|
854
854
|
}, null, 8, ["config"])),
|
|
855
855
|
S("div", {
|
|
856
856
|
ref_key: "chartLegend",
|
|
857
|
-
ref:
|
|
857
|
+
ref: Ne
|
|
858
858
|
}, [
|
|
859
859
|
e.value.style.chart.legend.show ? (h(), Q(jt, {
|
|
860
860
|
key: `legend_${Le.value}`,
|
|
861
861
|
legendSet: Qe.value,
|
|
862
862
|
config: kt.value,
|
|
863
|
-
id: `treemap_legend_${
|
|
863
|
+
id: `treemap_legend_${P.value}`,
|
|
864
864
|
onClickMarker: o[1] || (o[1] = ({ legend: l }) => et(l))
|
|
865
865
|
}, {
|
|
866
866
|
item: O(({ legend: l, index: a }) => [
|
|
@@ -888,13 +888,13 @@ const nl = ["id"], sl = {
|
|
|
888
888
|
t.$slots.source ? (h(), y("div", {
|
|
889
889
|
key: 8,
|
|
890
890
|
ref_key: "source",
|
|
891
|
-
ref:
|
|
891
|
+
ref: Pe,
|
|
892
892
|
dir: "auto"
|
|
893
893
|
}, [
|
|
894
894
|
w(t.$slots, "source", {}, void 0, !0)
|
|
895
895
|
], 512)) : _("", !0),
|
|
896
896
|
xe(d(g), {
|
|
897
|
-
show: R.value.showTooltip &&
|
|
897
|
+
show: R.value.showTooltip && z.value,
|
|
898
898
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
899
899
|
color: e.value.style.chart.tooltip.color,
|
|
900
900
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCssVars as Mt, defineAsyncComponent as le, useSlots as Bt, computed as b, ref as i, toRefs as Rt, watch as nt, shallowRef as ut, onMounted as Te, nextTick as ve, onBeforeUnmount as Et, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as h, normalizeClass as D, createBlock as X, createCommentVNode as y, renderSlot as x, createVNode as oe, createSlots as Se, withCtx as w, normalizeProps as Y, guardReactiveProps as K, createElementVNode as n, toDisplayString as p, Fragment as J, renderList as Q, mergeProps as Dt, withKeys as Xt, createTextVNode as Ut } from "vue";
|
|
2
|
-
import { u as Gt, c as Wt,
|
|
2
|
+
import { u as Gt, c as Wt, v as Ht, t as jt, p as U, a as qt, C as Le, b as Yt, w as L, o as Pe, e as ne, d as Ne, i as de, f as G, X as Kt, s as Ae, x as Jt, q as Qt, r as Zt, y as ea, z as ta } from "./index-D-ozSgn5.js";
|
|
3
3
|
import { t as aa, u as la } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as st } from "./useNestedProp-
|
|
5
|
-
import { u as oa } from "./usePrinter-
|
|
4
|
+
import { u as st } from "./useNestedProp-xgFDyd-D.js";
|
|
5
|
+
import { u as oa } from "./usePrinter-CyhyubAW.js";
|
|
6
6
|
import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ua } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import sa from "./vue-ui-accordion-
|
|
9
|
-
import rt from "./Legend-
|
|
10
|
-
import ra from "./Title-
|
|
11
|
-
import { _ as it } from "./Shape-
|
|
12
|
-
import ia from "./img-
|
|
8
|
+
import sa from "./vue-ui-accordion-CzcfvDc6.js";
|
|
9
|
+
import rt from "./Legend-BY-3lPeC.js";
|
|
10
|
+
import ra from "./Title-C2MeWc6b.js";
|
|
11
|
+
import { _ as it } from "./Shape-ClINMlel.js";
|
|
12
|
+
import ia from "./img-1ZBpWF3A.js";
|
|
13
13
|
import { u as va, B as da } from "./BaseScanner-DIK2NTdp.js";
|
|
14
14
|
import { _ as ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "width", "height"], ga = ["id"], ba = ["stop-color"], ma = ["stop-color"], ka = { key: 1 }, xa = ["x", "y", "width", "height", "fill", "rx"], _a = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = { class: "vue-ui-horizontal-bar-child-label" }, Sa = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], La = ["x", "y", "font-size", "fill", "font-weight"], Pa = { class: "vue-ui-horizontal-bar-parent-label" }, Na = ["x", "y", "font-size", "fill", "font-weight"], Aa = ["x", "y", "font-size", "fill", "font-weight"], za = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Va = {
|
|
@@ -36,7 +36,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
|
|
|
36
36
|
Mt((t) => ({
|
|
37
37
|
"7f2de844": t.tdo
|
|
38
38
|
}));
|
|
39
|
-
const ht = le(() => import("./BaseIcon-
|
|
39
|
+
const ht = le(() => import("./BaseIcon-d5M_8gn6.js")), pt = le(() => import("./PackageVersion-QefvdSlr.js")), ft = le(() => import("./PenAndPaper-CeTnED7E.js")), yt = le(() => import("./Tooltip-CyC0lofV.js")), gt = le(() => import("./UserOptions-Q4MLYmK1.js")), { vue_ui_vertical_bar: bt } = Gt(), mt = Bt(), g = vt, ce = b({
|
|
40
40
|
get() {
|
|
41
41
|
return !!g.dataset && g.dataset.length;
|
|
42
42
|
},
|