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,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as R, ref as c, shallowRef as mt, computed as f, onMounted as ll, toRefs as al, nextTick as ze, watch as re, watchEffect as ol, onBeforeUnmount as ul, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as Q, normalizeClass as O, createBlock as D, createCommentVNode as v, createElementVNode as b, createSlots as xt, withCtx as k, renderSlot as S, normalizeProps as Z, guardReactiveProps as ee, createVNode as pt, Fragment as z, renderList as $, toDisplayString as m, Teleport as sl, resolveDynamicComponent as nl, mergeProps as rl, createTextVNode as $e } from "vue";
|
|
2
|
-
import { u as il, c as kt, o as wt, f as ie, g as cl, t as vl, a as dl, p as ce, b as hl, C as Ct, d as yl, e as Ie, G as fl, D as _t, m as Te, X as gl, s as te, H as bl, k as De, i as ve, I as ml, n as xl, q as pl, r as Lt, v as kl, w as wl, J as At, K as Cl } from "./index-
|
|
2
|
+
import { u as il, c as kt, o as wt, f as ie, g as cl, t as vl, a as dl, p as ce, b as hl, C as Ct, d as yl, e as Ie, G as fl, D as _t, m as Te, X as gl, s as te, H as bl, k as De, i as ve, I as ml, n as xl, q as pl, r as Lt, v as kl, w as wl, J as At, K as Cl } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as St, u as _l } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ll } from "./usePrinter-
|
|
4
|
+
import { u as Ll } from "./usePrinter-CEdg3j8S.js";
|
|
5
5
|
import { u as Al, B as Sl } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as zl } from "./useTimeLabels-BGFjWgrv.js";
|
|
7
|
-
import { u as zt } from "./useNestedProp-
|
|
7
|
+
import { u as zt } from "./useNestedProp-BMzw9VUz.js";
|
|
8
8
|
import { u as $l } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Il } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { u as Tl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
-
import Dl from "./img-
|
|
12
|
-
import Nl from "./Title-
|
|
13
|
-
import Ol from "./Legend-
|
|
14
|
-
import { S as Pl } from "./Slicer-
|
|
11
|
+
import Dl from "./img-Neec0VVb.js";
|
|
12
|
+
import Nl from "./Title-ydtId0LC.js";
|
|
13
|
+
import Ol from "./Legend-nPGcCxG_.js";
|
|
14
|
+
import { S as Pl } from "./Slicer-Duqm7KZK.js";
|
|
15
15
|
import { _ as Fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const El = ["id"], Rl = ["id"], Vl = ["xmlns", "viewBox"], Bl = ["x", "y", "width", "height"], Ml = ["id"], Hl = ["stop-color"], Ul = ["stop-color"], Xl = ["id"], Wl = ["stop-color"], Gl = ["stop-color"], Yl = ["stop-color"], jl = { key: 1 }, ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kl = { key: 0 }, Ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zl = ["font-size", "fill", "transform"], ea = ["x", "y", "font-size", "fill"], ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x", "y", "font-size", "fill", "font-weight"], aa = { key: 0 }, oa = ["text-anchor", "font-size", "fill", "transform"], ua = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], sa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], na = { key: 1 }, ra = ["cx", "cy", "r", "fill"], ia = { key: 0 }, ca = { key: 0 }, va = ["d", "stroke"], da = ["text-anchor", "x", "y", "fill"], ha = ["cx", "cy", "r", "fill"], ya = { key: 0 }, fa = ["cx", "cy", "fill"], ga = { key: 1 }, ba = ["d", "fill", "stroke"], ma = { key: 2 }, xa = ["d", "fill", "stroke"], pa = ["x", "y", "font-size", "fill"], ka = ["x", "y", "width", "height", "fill"], wa = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Ca = {
|
|
17
17
|
key: 4,
|
|
@@ -34,7 +34,7 @@ const El = ["id"], Rl = ["id"], Vl = ["xmlns", "viewBox"], Bl = ["x", "y", "widt
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup($t, { expose: It, emit: Tt }) {
|
|
37
|
-
const Dt = R(() => import("./vue-ui-accordion-
|
|
37
|
+
const Dt = R(() => import("./vue-ui-accordion-DFxAHGEZ.js")), Nt = R(() => import("./BaseIcon-BQQGRQ2U.js")), Ot = R(() => import("./DataTable-D6voeZvO.js")), Pt = R(() => import("./PackageVersion-BeStrsPr.js")), Ft = R(() => import("./PenAndPaper-C6tiapdo.js")), Et = R(() => import("./UserOptions-CnJxN2Vo.js")), Rt = R(() => import("./vue-ui-donut-BApz1ho5.js")), Ne = R(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_donut_evolution: Vt } = il(), x = $t, N = c(kt()), C = c([]), g = c(null), le = c(null), de = c(!1), V = c(null), P = c(null), Bt = c(null), Oe = c(0), Pe = c(0), Fe = c(0), Ee = c(0), Re = c(0), he = c(null), ae = c(null), ye = c(null), fe = c(null), Ve = c(!1), Y = c(null), ge = c(null), Be = c(null), Me = c(null), He = c(null), Ue = c(null), Xe = c(null), be = c(!1), j = mt(null), oe = mt(null), We = c(null), Ge = Tt, Ye = f(() => !!x.dataset && x.dataset.length);
|
|
38
38
|
ll(() => {
|
|
39
39
|
Ve.value = !0, je();
|
|
40
40
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, computed as g, ref as h, toRefs as Dt, watch as le, shallowRef as et, onMounted as tt, onBeforeUnmount as lt, watchEffect as It, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as at, createBlock as D, createCommentVNode as b, createElementVNode as c, createSlots as st, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as ot, withDirectives as j, Fragment as C, renderList as A, toDisplayString as _, vShow as Y, Teleport as Ot, createTextVNode as ke, resolveDynamicComponent as Ft, mergeProps as Ht, nextTick as Pt } from "vue";
|
|
2
|
-
import { u as Gt, c as nt, t as Et, b as Rt, o as Bt, f as rt, g as Vt, h as ut, D as Ut, i as w, k as P, X as it, s as ct, l as Z, j as J, v as Wt, w as qt } from "./index-
|
|
2
|
+
import { u as Gt, c as nt, t as Et, b as Rt, o as Bt, f as rt, g as Vt, h as ut, D as Ut, i as w, k as P, X as it, s as ct, l as Z, j as J, v as Wt, w as qt } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as Ce, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Yt } from "./usePrinter-
|
|
4
|
+
import { u as Yt } from "./usePrinter-CEdg3j8S.js";
|
|
5
5
|
import { u as Zt, B as Jt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as vt } from "./useNestedProp-
|
|
6
|
+
import { u as vt } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as el } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import tl from "./img-
|
|
11
|
-
import ll from "./Title-
|
|
12
|
-
import al from "./Legend-
|
|
10
|
+
import tl from "./img-Neec0VVb.js";
|
|
11
|
+
import ll from "./Title-ydtId0LC.js";
|
|
12
|
+
import al from "./Legend-nPGcCxG_.js";
|
|
13
13
|
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], il = { key: 1 }, cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = { key: 2 }, dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["transform", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], bl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], gl = ["x", "y", "font-size", "fill"], ml = ["transform", "font-size", "fill", "font-weight", "text-anchor"], pl = ["d", "stroke", "stroke-width", "stroke-dasharray"], xl = ["d", "stroke", "stroke-width", "stroke-dasharray"], _l = ["x", "y", "height", "width", "fill"], kl = ["transform", "fill", "font-size"], Cl = ["id"], wl = ["stop-color"], $l = ["stop-color"], Ll = ["stop-color"], Al = ["id"], Nl = ["stop-color"], Sl = ["stop-color"], Ml = ["stop-color"], Xl = ["id"], zl = ["stop-color"], Tl = ["stop-color"], Dl = ["stop-color"], Il = ["id"], Ol = ["stop-color"], Fl = ["stop-color"], Hl = ["stop-color"], Pl = ["id"], Gl = ["stop-color"], El = ["stop-color"], Rl = ["stop-color"], Bl = ["id"], Vl = ["stop-color"], Ul = ["stop-color"], Wl = ["id"], ql = ["stop-color"], jl = ["stop-color"], Yl = { key: 0 }, Zl = { key: 0 }, Jl = ["d", "fill"], Kl = { key: 1 }, Ql = ["x", "y", "height", "width", "fill"], ea = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], la = { key: 7 }, aa = ["x", "y", "fill", "font-size"], sa = { key: 8 }, oa = ["x", "y", "fill", "font-size"], na = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ra = {
|
|
15
15
|
key: 4,
|
|
@@ -32,7 +32,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
34
|
setup(dt, { expose: ht, emit: ha }) {
|
|
35
|
-
const ft = H(() => import("./BaseIcon-
|
|
35
|
+
const ft = H(() => import("./BaseIcon-BQQGRQ2U.js")), yt = H(() => import("./vue-ui-accordion-DFxAHGEZ.js")), bt = H(() => import("./DataTable-D6voeZvO.js")), gt = H(() => import("./PenAndPaper-C6tiapdo.js")), mt = H(() => import("./UserOptions-CnJxN2Vo.js")), pt = H(() => import("./PackageVersion-BeStrsPr.js")), xt = H(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_dumbbell: _t } = Gt(), N = dt, K = g({
|
|
36
36
|
get() {
|
|
37
37
|
return !!N.dataset && N.dataset.length;
|
|
38
38
|
},
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, ref as c, computed as g, onMounted as Jt, toRefs as Qt, watch as Te, createElementBlock as p, openBlock as i, unref as r, normalizeStyle as W, normalizeClass as kt, createBlock as q, createCommentVNode as T, createElementVNode as Y, createVNode as xe, createSlots as wt, withCtx as b, renderSlot as k, normalizeProps as Q, guardReactiveProps as ee, Fragment as de, renderList as he, toDisplayString as te, Teleport as eo, resolveDynamicComponent as to, mergeProps as oo, createTextVNode as $t, nextTick as lo } from "vue";
|
|
2
|
-
import { u as ao, c as He, t as no, o as At, f as so, a as ro, p as L, b as uo, d as io, h as x, e as co, i as fe, X as vo, F as Tt, L as ho, k as We, v as fo, w as po, y as go } from "./index-
|
|
2
|
+
import { u as ao, c as He, t as no, o as At, f as so, a as ro, p as L, b as uo, d as io, h as x, e as co, i as fe, X as vo, F as Tt, L as ho, k as We, v as fo, w as po, y as go } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as mo, u as yo } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as bo } from "./usePrinter-
|
|
4
|
+
import { u as bo } from "./usePrinter-CEdg3j8S.js";
|
|
5
5
|
import { u as Co, B as ko } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as xt } from "./useNestedProp-
|
|
6
|
+
import { u as xt } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as wo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as $o } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Ao from "./Legend-
|
|
10
|
-
import To from "./Title-
|
|
11
|
-
import xo from "./img-
|
|
9
|
+
import Ao from "./Legend-nPGcCxG_.js";
|
|
10
|
+
import To from "./Title-ydtId0LC.js";
|
|
11
|
+
import xo from "./img-Neec0VVb.js";
|
|
12
12
|
import { _ as _o } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const So = ["id"], Oo = {
|
|
14
14
|
key: 1,
|
|
15
15
|
ref: "noTitle",
|
|
16
16
|
class: "vue-data-ui-no-title-space",
|
|
17
17
|
style: "height:36px; width: 100%;background:transparent"
|
|
18
|
-
},
|
|
18
|
+
}, Fo = ["id"], No = ["xmlns", "viewBox"], Eo = ["width", "height"], Po = ["id"], Io = ["stop-color"], Mo = ["stop-color"], Do = ["d", "fill", "stroke", "stroke-width"], Lo = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], zo = { key: 1 }, Bo = ["x", "y", "font-size", "fill"], Ro = ["x", "y", "font-size", "fill"], Ho = {
|
|
19
19
|
key: 4,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Wo = ["id"], Yo = ["onClick"], Go = ["innerHTML"], Uo = {
|
|
@@ -35,7 +35,7 @@ const So = ["id"], Oo = {
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
setup(_t, { expose: St }) {
|
|
38
|
-
const Ot = H(() => import("./Tooltip-
|
|
38
|
+
const Ot = H(() => import("./Tooltip-oeu9knGI.js")), Ft = H(() => import("./BaseIcon-BQQGRQ2U.js")), Nt = H(() => import("./vue-ui-accordion-DFxAHGEZ.js")), Et = H(() => import("./DataTable-D6voeZvO.js")), Pt = H(() => import("./PenAndPaper-C6tiapdo.js")), It = H(() => import("./UserOptions-CnJxN2Vo.js")), Mt = H(() => import("./PackageVersion-BeStrsPr.js")), Dt = H(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_flow: Lt } = ao(), N = _t, G = c(He()), M = c(null), Ye = c(0), Ge = c(0), _e = c(!1), Se = c(""), Ue = c(null), je = c(null), Ve = c(null), oe = c(null), pe = c(null), Xe = c(!1), le = c(null), Oe = c(null), qe = g(() => !!N.dataset && N.dataset.length);
|
|
39
39
|
Jt(() => {
|
|
40
40
|
Xe.value = !0, Ze();
|
|
41
41
|
});
|
|
@@ -43,8 +43,8 @@ const So = ["id"], Oo = {
|
|
|
43
43
|
function Ke(o) {
|
|
44
44
|
U.value = o, Ye.value += 1;
|
|
45
45
|
}
|
|
46
|
-
const e = c(Pe()), { loading:
|
|
47
|
-
...Qt(
|
|
46
|
+
const e = c(Pe()), { loading: Fe, FINAL_DATASET: ge, manualLoading: Ne } = Co({
|
|
47
|
+
...Qt(N),
|
|
48
48
|
FINAL_CONFIG: e,
|
|
49
49
|
prepareConfig: Pe,
|
|
50
50
|
skeletonDataset: [
|
|
@@ -89,11 +89,11 @@ const So = ["id"], Oo = {
|
|
|
89
89
|
})
|
|
90
90
|
}), zt = g(() => !!e.value.debug);
|
|
91
91
|
function Ze() {
|
|
92
|
-
if (At(
|
|
92
|
+
if (At(N.dataset) && (so({
|
|
93
93
|
componentName: "VueUiFlow",
|
|
94
94
|
type: "dataset",
|
|
95
95
|
debug: zt.value
|
|
96
|
-
}),
|
|
96
|
+
}), Ne.value = !0), At(N.dataset) || (Ne.value = e.value.loading), e.value.responsive) {
|
|
97
97
|
const o = mo(() => {
|
|
98
98
|
const { width: l, height: t } = yo({
|
|
99
99
|
chart: M.value,
|
|
@@ -113,27 +113,27 @@ const So = ["id"], Oo = {
|
|
|
113
113
|
});
|
|
114
114
|
function Pe() {
|
|
115
115
|
const o = xt({
|
|
116
|
-
userConfig:
|
|
116
|
+
userConfig: N.config,
|
|
117
117
|
defaultConfig: Lt
|
|
118
118
|
});
|
|
119
119
|
let l = o;
|
|
120
120
|
return o.theme ? l = {
|
|
121
121
|
...xt({
|
|
122
|
-
userConfig: uo.vue_ui_flow[o.theme] ||
|
|
122
|
+
userConfig: uo.vue_ui_flow[o.theme] || N.config,
|
|
123
123
|
defaultConfig: o
|
|
124
124
|
}),
|
|
125
125
|
customPalette: ro[o.theme] || L
|
|
126
|
-
} : l = o, l.nodeCategories =
|
|
126
|
+
} : l = o, l.nodeCategories = N.config.nodeCategories || {}, l.nodeCategoryColors = N.config.nodeCategoryColors || {}, l;
|
|
127
127
|
}
|
|
128
128
|
const tt = c(e.value.style.chart.width), ot = c(e.value.style.chart.height);
|
|
129
129
|
Te(
|
|
130
|
-
() =>
|
|
130
|
+
() => N.config,
|
|
131
131
|
(o) => {
|
|
132
|
-
|
|
132
|
+
Fe.value || (e.value = Pe()), Ee.value = !e.value.userOptions.showOnChartHover, Ze(), Ge.value += 1, E.value.showTable = e.value.table.show;
|
|
133
133
|
},
|
|
134
134
|
{ deep: !0 }
|
|
135
|
-
), Te(() =>
|
|
136
|
-
Array.isArray(o) && o.length > 0 && (
|
|
135
|
+
), Te(() => N.dataset, (o) => {
|
|
136
|
+
Array.isArray(o) && o.length > 0 && (Ne.value = !1);
|
|
137
137
|
}, { deep: !0 });
|
|
138
138
|
const { isPrinting: lt, isImaging: at, generatePdf: nt, generateImage: st } = bo({
|
|
139
139
|
elementId: `flow_${G.value}`,
|
|
@@ -191,14 +191,14 @@ const So = ["id"], Oo = {
|
|
|
191
191
|
const u = t[a], d = u.length;
|
|
192
192
|
if (!d) return 1 / 0;
|
|
193
193
|
const h = Math.max(0, (d - 1) * I), S = Math.max(0, J - h), z = Math.min(ce, d ? S / d : 0);
|
|
194
|
-
let C = 0, O = u.map((f) => l[f].value || 0), y = O.reduce((f,
|
|
194
|
+
let C = 0, O = u.map((f) => l[f].value || 0), y = O.reduce((f, F) => f + F, 0);
|
|
195
195
|
for (let f = 0; f < 12; f += 1) {
|
|
196
|
-
const
|
|
196
|
+
const F = y > 0 ? (S - C) / y : 0, B = [];
|
|
197
197
|
for (let P = 0; P < O.length; P += 1) {
|
|
198
198
|
const R = O[P];
|
|
199
|
-
R < 0 || R *
|
|
199
|
+
R < 0 || R * F < z && B.push(P);
|
|
200
200
|
}
|
|
201
|
-
if (!B.length) return Math.max(0,
|
|
201
|
+
if (!B.length) return Math.max(0, F);
|
|
202
202
|
for (const P of B)
|
|
203
203
|
C += z, y -= O[P], O[P] = -1;
|
|
204
204
|
if (y <= 0) return 0;
|
|
@@ -209,19 +209,19 @@ const So = ["id"], Oo = {
|
|
|
209
209
|
D.forEach((a) => {
|
|
210
210
|
const u = t[a], d = u.length, h = Math.max(0, (d - 1) * I), S = Math.max(0, J - h), z = Math.min(ce, d ? S / d : 0), C = u.map(
|
|
211
211
|
(f) => Math.max(z, (l[f].value || 0) * V)
|
|
212
|
-
), O = C.reduce((f,
|
|
212
|
+
), O = C.reduce((f, F) => f + F, 0) + h;
|
|
213
213
|
let y = Math.max(0, (J - O) / 2);
|
|
214
|
-
u.forEach((f,
|
|
215
|
-
const B = C[
|
|
214
|
+
u.forEach((f, F) => {
|
|
215
|
+
const B = C[F], P = we.left + a * ze, R = y;
|
|
216
216
|
X[f] = {
|
|
217
217
|
x: P,
|
|
218
218
|
y: R,
|
|
219
219
|
absoluteY: R,
|
|
220
220
|
height: B,
|
|
221
|
-
i:
|
|
221
|
+
i: F,
|
|
222
222
|
color: l[f].color,
|
|
223
223
|
value: l[f].value
|
|
224
|
-
}, y += B,
|
|
224
|
+
}, y += B, F < d - 1 && (y += I);
|
|
225
225
|
});
|
|
226
226
|
});
|
|
227
227
|
const yt = [], ve = we.top, Be = {}, Re = {};
|
|
@@ -235,7 +235,7 @@ const So = ["id"], Oo = {
|
|
|
235
235
|
if (!h.children || !h.children.length) return;
|
|
236
236
|
let z = S.y;
|
|
237
237
|
h.children.forEach(({ target: C, value: O }) => {
|
|
238
|
-
const y = X[C], f = l[C],
|
|
238
|
+
const y = X[C], f = l[C], F = h.outflow > 0 ? O / h.outflow : 0, B = f.inflow > 0 ? O / f.inflow : 0, P = x(z + ve), R = x(z + F * S.height + ve), bt = Be[C];
|
|
239
239
|
let Ae = bt + B * y.height;
|
|
240
240
|
Re[C] += O;
|
|
241
241
|
const qt = f.inflow > 0 && Re[C] >= f.inflow - Vt, Ct = y.y + y.height;
|
|
@@ -489,7 +489,7 @@ const So = ["id"], Oo = {
|
|
|
489
489
|
const re = g(() => {
|
|
490
490
|
const o = e.value.table.useDialog && !e.value.table.show, l = E.value.showTable;
|
|
491
491
|
return {
|
|
492
|
-
component: o ? Dt :
|
|
492
|
+
component: o ? Dt : Nt,
|
|
493
493
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
494
494
|
props: o ? {
|
|
495
495
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -574,7 +574,7 @@ const So = ["id"], Oo = {
|
|
|
574
574
|
], 512)) : T("", !0),
|
|
575
575
|
Y("div", {
|
|
576
576
|
id: `legend-top-${G.value}`
|
|
577
|
-
}, null, 8,
|
|
577
|
+
}, null, 8, Fo),
|
|
578
578
|
e.value.userOptions.show && qe.value && (r(Qe) || r(Ee)) ? (i(), q(r(It), {
|
|
579
579
|
ref_key: "userOptionsRef",
|
|
580
580
|
ref: Oe,
|
|
@@ -777,7 +777,7 @@ const So = ["id"], Oo = {
|
|
|
777
777
|
)), 13, Ro))), 256))
|
|
778
778
|
])) : T("", !0),
|
|
779
779
|
k(o.$slots, "svg", { svg: ne.value }, void 0, !0)
|
|
780
|
-
], 14,
|
|
780
|
+
], 14, No)),
|
|
781
781
|
o.$slots.watermark ? (i(), p("div", Ho, [
|
|
782
782
|
k(o.$slots, "watermark", Q(ee({ isPrinting: r(lt) || r(at) })), void 0, !0)
|
|
783
783
|
])) : T("", !0),
|
|
@@ -799,7 +799,7 @@ const So = ["id"], Oo = {
|
|
|
799
799
|
onClickMarker: l[0] || (l[0] = (t) => De(t))
|
|
800
800
|
}, {
|
|
801
801
|
item: b(({ legend: t, index: n }) => [
|
|
802
|
-
r(
|
|
802
|
+
r(Fe) ? T("", !0) : (i(), p("div", {
|
|
803
803
|
key: 0,
|
|
804
804
|
onClick: (s) => t.segregate(),
|
|
805
805
|
style: W(`opacity:${j.value.length ? j.value.includes(n) ? 1 : 0.5 : 1}`)
|
|
@@ -834,7 +834,9 @@ const So = ["id"], Oo = {
|
|
|
834
834
|
isCustom: be.value,
|
|
835
835
|
isFullscreen: U.value,
|
|
836
836
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
837
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
837
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
838
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
839
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
838
840
|
}, {
|
|
839
841
|
"tooltip-before": b(() => [
|
|
840
842
|
k(o.$slots, "tooltip-before", Q(ee({ ...se.value })), void 0, !0)
|
|
@@ -843,7 +845,7 @@ const So = ["id"], Oo = {
|
|
|
843
845
|
k(o.$slots, "tooltip-after", Q(ee({ ...se.value })), void 0, !0)
|
|
844
846
|
]),
|
|
845
847
|
_: 3
|
|
846
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter"]),
|
|
848
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
847
849
|
qe.value ? (i(), q(to(re.value.component), oo({ key: 7 }, re.value.props, {
|
|
848
850
|
ref_key: "tableUnit",
|
|
849
851
|
ref: le,
|
|
@@ -888,7 +890,7 @@ const So = ["id"], Oo = {
|
|
|
888
890
|
class: "vue-ui-user-options-button",
|
|
889
891
|
onClick: l[1] || (l[1] = (t) => Ie(e.value.userOptions.callbacks.csv))
|
|
890
892
|
}, [
|
|
891
|
-
xe(r(
|
|
893
|
+
xe(r(Ft), {
|
|
892
894
|
name: "excel",
|
|
893
895
|
stroke: re.value.props.color
|
|
894
896
|
}, null, 8, ["stroke"])
|
|
@@ -897,10 +899,10 @@ const So = ["id"], Oo = {
|
|
|
897
899
|
key: "1"
|
|
898
900
|
} : void 0
|
|
899
901
|
]), 1040)) : T("", !0),
|
|
900
|
-
r(
|
|
902
|
+
r(Fe) ? (i(), q(ko, { key: 8 })) : T("", !0)
|
|
901
903
|
], 46, So));
|
|
902
904
|
}
|
|
903
|
-
}, al = /* @__PURE__ */ _o(Uo, [["__scopeId", "data-v-
|
|
905
|
+
}, al = /* @__PURE__ */ _o(Uo, [["__scopeId", "data-v-2bb92953"]]);
|
|
904
906
|
export {
|
|
905
907
|
al as default
|
|
906
908
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useCssVars as Xe, computed as h, defineAsyncComponent as x, ref as c, shallowRef as we, onMounted as We, onBeforeUnmount as Ye, watch as $e, createElementBlock as i, openBlock as n, unref as s, normalizeStyle as T, normalizeClass as N, createBlock as I, createCommentVNode as b, createSlots as xe, withCtx as m, renderSlot as g, normalizeProps as G, guardReactiveProps as j, createVNode as Le, createElementVNode as C, mergeProps as H, Fragment as X, renderList as W, toDisplayString as U, resolveDynamicComponent as qe, createTextVNode as _e, nextTick as Je } from "vue";
|
|
2
|
-
import { u as Ke, c as Qe, o as Ze, f as Te, g as et, e as tt, l as at, k as Y, i as q, X as lt, F as st, E as te, b as ot, v as nt, w as ut } from "./index-
|
|
2
|
+
import { u as Ke, c as Qe, o as Ze, f as Te, g as et, e as tt, l as at, k as Y, i as q, X as lt, F as st, E as te, b as ot, v as nt, w as ut } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as rt, u as it } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ct } from "./usePrinter-
|
|
5
|
-
import { u as Ae } from "./useNestedProp-
|
|
4
|
+
import { u as ct } from "./usePrinter-CEdg3j8S.js";
|
|
5
|
+
import { u as Ae } from "./useNestedProp-BMzw9VUz.js";
|
|
6
6
|
import { u as vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as dt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ht from "./img-
|
|
9
|
-
import ft from "./Title-
|
|
8
|
+
import ht from "./img-Neec0VVb.js";
|
|
9
|
+
import ft from "./Title-ydtId0LC.js";
|
|
10
10
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const mt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], pt = ["id"], kt = ["stop-color"], Ct = ["stop-color"], wt = ["stop-color"], $t = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], Lt = ["x", "y", "font-size", "fill", "font-weight"], _t = ["points", "fill"], Tt = ["stroke", "stroke-width", "rx"], At = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["x", "y", "font-size", "fill", "font-weight"], St = {
|
|
12
12
|
key: 5,
|
|
@@ -31,7 +31,7 @@ const mt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], pt = ["i
|
|
|
31
31
|
Xe((t) => ({
|
|
32
32
|
"1f851877": Ge.value
|
|
33
33
|
}));
|
|
34
|
-
const De = x(() => import("./BaseIcon-
|
|
34
|
+
const De = x(() => import("./BaseIcon-BQQGRQ2U.js")), ze = x(() => import("./vue-ui-skeleton-DCAlHSMV.js")), Ne = x(() => import("./vue-ui-accordion-DFxAHGEZ.js")), Ie = x(() => import("./DataTable-D6voeZvO.js")), Pe = x(() => import("./UserOptions-CnJxN2Vo.js")), Fe = x(() => import("./PenAndPaper-C6tiapdo.js")), Re = x(() => import("./PackageVersion-BeStrsPr.js")), Be = x(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_funnel: Me } = Ke(), y = Oe, w = c(null), P = c(Qe()), ae = c(0), le = c(0), se = c(0), oe = c(null), ne = c(null), ue = c(null), $ = we(null), A = we(null), L = c(!1), F = c(null), J = c(null), O = h(() => !!y.dataset && y.dataset.length);
|
|
35
35
|
We(re);
|
|
36
36
|
function re() {
|
|
37
37
|
if (Ze(y.dataset) ? Te({
|