vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.3
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/README.md +15 -0
- package/dist/{Arrow-HbfibAF0.js → Arrow-kQyQXUUg.js} +1 -1
- package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-DLRFrsDT.js} +2 -2
- package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-DaR0sIWZ.js} +1 -1
- package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-Bj3sq9o7.js} +2 -2
- package/dist/{DataTable-CsoAI95B.js → DataTable-BBqbcutV.js} +2 -2
- package/dist/{Legend-ZW-PFcHg.js → Legend-DRqzYrP9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-CQIC2PMP.js} +3 -3
- package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-ClpqQxYT.js} +1 -1
- package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-B-T7XvxF.js} +3 -3
- package/dist/{Shape-BBbhObHC.js → Shape-DEWxbZ-l.js} +1 -1
- package/dist/{Slicer-Vh74fjdf.js → Slicer-o6jJH5bw.js} +2 -2
- package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-LPnbBoFu.js} +1 -1
- package/dist/{Title-Dx8ctnVy.js → Title-apr_T9tg.js} +1 -1
- package/dist/{Tooltip-COHlzpZI.js → Tooltip-BuHsMAfp.js} +1 -1
- package/dist/{UserOptions-CGn3YdRV.js → UserOptions-OVNxxnq5.js} +144 -133
- package/dist/{dom-to-png-BjSUS-jY.js → dom-to-png-C0Ct8ClX.js} +1 -1
- package/dist/{img-DWfzRJdv.js → img-P0SFFw37.js} +1 -1
- package/dist/{index-CbcpITE_.js → index-CH_mJIWj.js} +185 -127
- package/dist/{pdf-Cy09nTjn.js → pdf-Jun3ogRn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +42 -0
- package/dist/types/vue-data-ui.d.ts +42 -0
- package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-rMR-JeOJ.js} +1 -1
- package/dist/{usePrinter-u-gQiRNz.js → usePrinter-DJ7WfWUs.js} +2 -2
- package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-D7AaTKU6.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-BfLLrwWi.js} +8 -7
- package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-Ds4zkPIx.js} +3 -3
- package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-C7ca5TG5.js} +41 -40
- package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-DG2z1gw8.js} +2 -2
- package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-Dh25QAEH.js} +9 -8
- package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-7Yo_kEV0.js} +9 -8
- package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-Det9Kwmy.js} +28 -27
- package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-DLlFv6Uj.js} +8 -7
- package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-BXlv5Z2x.js} +35 -34
- package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-DdRcdWmx.js} +43 -42
- package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-Djtg6Ppw.js} +2 -2
- package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-C4MDDCl6.js} +62 -62
- package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-8Ox6q1Ov.js} +2 -2
- package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-Hk4EaVhb.js} +10 -9
- package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DzgYokPU.js} +10 -9
- package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-CAC44_Hu.js} +52 -51
- package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-CYWiZjrP.js} +9 -8
- package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-C2eqxh_8.js} +20 -19
- package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-BBfg84E4.js} +7 -6
- package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BJgJgef_.js} +33 -32
- package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-DBclpybR.js} +3 -3
- package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-D65wOgqe.js} +10 -9
- package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-CHhDy7Da.js} +9 -8
- package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-uT6fsAaO.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-CKVlBiYB.js} +2 -2
- package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-BwtHZtGN.js} +22 -21
- package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-Vf4_-R-m.js} +9 -8
- package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-BVkSns4S.js} +44 -43
- package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-UzMmwtvF.js} +9 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js} +10 -9
- package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-Ck7xALez.js} +10 -9
- package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-B62Pa0nG.js} +8 -7
- package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DMfv2hSb.js} +6 -6
- package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CFYHJrxj.js} +2 -2
- package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-RWlfC5BI.js} +75 -74
- package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-Bh93VzcO.js} +10 -9
- package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-CyX30Ccv.js} +23 -22
- package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BEDnWByj.js} +10 -9
- package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-C6PWt_m5.js} +3 -3
- package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-79itAe84.js} +2 -2
- package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-AaA4KuaH.js} +3 -3
- package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-CYBZeaor.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-ElGarXVS.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-C_LV99i1.js} +4 -4
- package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-DwzCA8d6.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-CobB11uw.js} +3 -3
- package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-B4SxM5Ix.js} +11 -10
- package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-9VK_Y3SC.js} +9 -8
- package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-DFTE1OH5.js} +3 -3
- package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-DvyJx0j7.js} +48 -47
- package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-SGsBnQTK.js} +8 -7
- package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-DEMS6HXl.js} +22 -21
- package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CQ71yJ_N.js} +5 -5
- package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-CsN_QtUK.js} +38 -37
- package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-B0CPNusH.js} +229 -228
- package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-Cxv-ahMT.js} +12 -11
- package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-TgNNo9UX.js} +66 -65
- package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-Bq0ZLc-R.js} +8 -7
- package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-D28awCaT.js} +66 -65
- package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-BhUsfhY5.js} +8 -7
- package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-CEFkua9H.js} +918 -811
- package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-oHhzL0ui.js} +53 -52
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as k, computed as d, createElementBlock as i, openBlock as $, Fragment as o, createCommentVNode as m, createElementVNode as l, normalizeStyle as v, unref as C, renderList as b, createBlock as N } from "vue";
|
|
2
|
-
import { u as q } from "./useNestedProp-
|
|
3
|
-
import { u as M, X as S } from "./index-
|
|
2
|
+
import { u as q } from "./useNestedProp-rMR-JeOJ.js";
|
|
3
|
+
import { u as M, X as S } from "./index-CH_mJIWj.js";
|
|
4
4
|
const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E = ["d", "fill"], I = ["d", "fill"], O = ["d", "fill"], A = ["d", "fill"], D = { key: 1 }, G = ["cx", "cy", "fill"], V = {
|
|
5
5
|
__name: "Digit",
|
|
6
6
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as K, useSlots as Mt, computed as f, shallowRef as W, ref as _, onMounted as tt, onBeforeUnmount as Nt, watch as lt, createElementBlock as r, openBlock as o, normalizeStyle as b, normalizeClass as _e, createBlock as Q, createCommentVNode as i, renderSlot as p, createElementVNode as y, createVNode as xe, unref as u, createSlots as at, withCtx as C, normalizeProps as oe, guardReactiveProps as se, Fragment as g, renderList as S, mergeProps as ot, toDisplayString as P, createTextVNode as st, nextTick as Yt } from "vue";
|
|
2
|
-
import { u as Xt, o as It, e as ut, g as Dt, c as Vt, b as Bt, d as nt, p as Z, m as Gt, _ as Rt, f as N, X as Wt, s as ve, w as Et, j as Ut, M as L, i as D, k as ce, n as w, t as jt, a as Ht, q as qt, r as Jt, x as Kt, S as rt } from "./index-
|
|
2
|
+
import { u as Xt, o as It, e as ut, g as Dt, c as Vt, b as Bt, d as nt, p as Z, m as Gt, _ as Rt, f as N, X as Wt, s as ve, w as Et, j as Ut, M as L, i as D, k as ce, n as w, t as jt, a as Ht, q as qt, r as Jt, x as Kt, S as rt } from "./index-CH_mJIWj.js";
|
|
3
3
|
import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as it } from "./useNestedProp-
|
|
5
|
-
import { u as el } from "./usePrinter-
|
|
4
|
+
import { u as it } from "./useNestedProp-rMR-JeOJ.js";
|
|
5
|
+
import { u as el } from "./usePrinter-DJ7WfWUs.js";
|
|
6
6
|
import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import al from "./Legend-
|
|
9
|
-
import ol from "./Title-
|
|
10
|
-
import { _ as sl } from "./Shape-
|
|
8
|
+
import al from "./Legend-DRqzYrP9.js";
|
|
9
|
+
import ol from "./Title-apr_T9tg.js";
|
|
10
|
+
import { _ as sl } from "./Shape-DEWxbZ-l.js";
|
|
11
11
|
import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { key: 1 }, cl = ["id"], dl = ["stop-color"], hl = ["offset", "stop-color"], yl = ["offset", "stop-color"], fl = ["stop-color"], pl = { key: 2 }, gl = ["id", "cx", "cy"], ml = ["stop-color", "stop-opacity"], bl = ["stop-color"], wl = ["id"], kl = ["id"], _l = ["id"], xl = ["flood-color"], $l = ["id"], Cl = ["flood-color"], Tl = ["d", "stroke", "filter"], Pl = ["d", "stroke", "filter"], Al = ["cx", "cy", "r", "fill", "filter"], Fl = { key: 6 }, Sl = ["stroke", "d"], Ll = { key: 0 }, zl = ["d", "fill", "stroke", "stroke-width", "filter"], Ol = ["d", "fill", "stroke", "stroke-width", "filter"], Ml = { key: 0 }, Nl = ["stroke", "d"], Yl = { key: 0 }, Xl = ["d", "stroke", "stroke-width", "filter"], Il = { key: 1 }, Dl = ["d", "fill", "stroke", "stroke-width", "filter"], Vl = ["d", "fill", "stroke", "stroke-width", "filter"], Bl = { key: 1 }, Gl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Wl = ["cx", "cy", "r", "stroke"], El = ["cx", "cy", "r", "fill"], Ul = { key: 0 }, jl = ["d", "fill", "onMouseenter", "onClick"], Hl = { key: 1 }, ql = ["cx", "cy", "r"], Jl = ["x", "y", "fill", "font-size"], Kl = ["x", "y", "fill", "font-size"], Ql = ["x", "y", "fill", "font-size"], Zl = ["x", "y", "fill", "font-size"], ea = ["filter"], ta = { key: 0 }, la = ["x", "y"], aa = { key: 1 }, oa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], sa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ua = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], na = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ia = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], va = { key: 2 }, ca = ["x", "y", "width"], da = ["x", "y", "width"], ha = {
|
|
13
13
|
key: 5,
|
|
@@ -33,7 +33,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
35
|
setup($e, { expose: vt, emit: ct }) {
|
|
36
|
-
const dt = K(() => import("./vue-ui-accordion-
|
|
36
|
+
const dt = K(() => import("./vue-ui-accordion-Ds4zkPIx.js")), ht = K(() => import("./DataTable-BBqbcutV.js")), yt = K(() => import("./PackageVersion-ClpqQxYT.js")), ft = K(() => import("./PenAndPaper-B-T7XvxF.js")), pt = K(() => import("./vue-ui-skeleton-C6PWt_m5.js")), gt = K(() => import("./Tooltip-BuHsMAfp.js")), mt = K(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_donut: bt } = Xt(), wt = Mt(), z = $e, ue = f({
|
|
37
37
|
get() {
|
|
38
38
|
return !!z.dataset && z.dataset.length;
|
|
39
39
|
},
|
|
@@ -525,6 +525,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
|
|
|
525
525
|
isFullscreen: ae.value,
|
|
526
526
|
chartElement: ne.value,
|
|
527
527
|
position: e.value.userOptions.position,
|
|
528
|
+
callbacks: e.value.userOptions.callbacks,
|
|
528
529
|
isTooltip: d.value.showTooltip,
|
|
529
530
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
530
531
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
@@ -604,7 +605,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
|
|
|
604
605
|
]),
|
|
605
606
|
key: "8"
|
|
606
607
|
} : void 0
|
|
607
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
608
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
608
609
|
ue.value ? (o(), r("svg", {
|
|
609
610
|
key: 4,
|
|
610
611
|
ref_key: "svgRef",
|
|
@@ -1286,7 +1287,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
|
|
|
1286
1287
|
}, 8, ["config"])) : i("", !0)
|
|
1287
1288
|
], 46, nl));
|
|
1288
1289
|
}
|
|
1289
|
-
}, Sa = /* @__PURE__ */ ul(ma, [["__scopeId", "data-v-
|
|
1290
|
+
}, Sa = /* @__PURE__ */ ul(ma, [["__scopeId", "data-v-c904d53d"]]);
|
|
1290
1291
|
export {
|
|
1291
1292
|
Sa as default
|
|
1292
1293
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as F, computed as b, ref as y, onMounted as xt, watch as Be, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as Z, normalizeClass as P, createBlock as N, createCommentVNode as c, renderSlot as $, createSlots as kt, withCtx as C, normalizeProps as W, guardReactiveProps as j, createVNode as Ct, createElementVNode as _, Fragment as A, renderList as L, toDisplayString as p, createTextVNode as ve, nextTick as Y } from "vue";
|
|
2
|
-
import { u as _t, o as wt, e as ee, g as St, c as Xe, t as $t, p as te, a as At, C as Ge, b as Lt, d as de, H as zt, D as We, m as he, X as It, s as q, E as Nt, i as ye, f as le, j as Pt, k as Dt, n as je, q as Ft, r as Ot, I as Ye, J as Et } from "./index-
|
|
3
|
-
import { u as qe } from "./useNestedProp-
|
|
4
|
-
import { u as Tt } from "./usePrinter-
|
|
2
|
+
import { u as _t, o as wt, e as ee, g as St, c as Xe, t as $t, p as te, a as At, C as Ge, b as Lt, d as de, H as zt, D as We, m as he, X as It, s as q, E as Nt, i as ye, f as le, j as Pt, k as Dt, n as je, q as Ft, r as Ot, I as Ye, J as Et } from "./index-CH_mJIWj.js";
|
|
3
|
+
import { u as qe } from "./useNestedProp-rMR-JeOJ.js";
|
|
4
|
+
import { u as Tt } from "./usePrinter-DJ7WfWUs.js";
|
|
5
5
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import Rt from "./Legend-
|
|
8
|
-
import { S as Mt } from "./Slicer-
|
|
9
|
-
import Ut from "./Title-
|
|
7
|
+
import Rt from "./Legend-DRqzYrP9.js";
|
|
8
|
+
import { S as Mt } from "./Slicer-o6jJH5bw.js";
|
|
9
|
+
import Ut from "./Title-apr_T9tg.js";
|
|
10
10
|
import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"], jt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], Zt = ["stop-color"], el = { key: 1 }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = { key: 0 }, ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x", "y", "font-size", "fill", "font-weight"], sl = {
|
|
12
12
|
key: 3,
|
|
@@ -36,7 +36,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
38
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
39
|
-
const Ze = F(() => import("./vue-ui-accordion-
|
|
39
|
+
const Ze = F(() => import("./vue-ui-accordion-Ds4zkPIx.js")), et = F(() => import("./BaseDraggableDialog-DLRFrsDT.js")), tt = F(() => import("./DataTable-BBqbcutV.js")), lt = F(() => import("./PackageVersion-ClpqQxYT.js")), at = F(() => import("./PenAndPaper-B-T7XvxF.js")), ot = F(() => import("./vue-ui-skeleton-C6PWt_m5.js")), ut = F(() => import("./UserOptions-OVNxxnq5.js")), nt = F(() => import("./vue-ui-donut-Hk4EaVhb.js")), { vue_ui_donut_evolution: st } = _t(), m = Je, J = b(() => !!m.dataset && m.dataset.length), d = y({
|
|
40
40
|
start: 0,
|
|
41
41
|
end: Math.max(...m.dataset.map((t) => t.values.length))
|
|
42
42
|
});
|
|
@@ -387,6 +387,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
387
387
|
position: e.value.userOptions.position,
|
|
388
388
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
389
389
|
isAnnotation: Q.value,
|
|
390
|
+
callbacks: e.value.userOptions.callbacks,
|
|
390
391
|
onToggleFullscreen: bt,
|
|
391
392
|
onGeneratePdf: r(Ie),
|
|
392
393
|
onGenerateCsv: Te,
|
|
@@ -446,7 +447,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
446
447
|
]),
|
|
447
448
|
key: "6"
|
|
448
449
|
} : void 0
|
|
449
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
450
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
450
451
|
J.value ? (o(), n("svg", {
|
|
451
452
|
key: 4,
|
|
452
453
|
ref_key: "svgRef",
|
|
@@ -860,7 +861,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
860
861
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
|
|
861
862
|
], 46, Xt));
|
|
862
863
|
}
|
|
863
|
-
}, Xl = /* @__PURE__ */ Bt(Dl, [["__scopeId", "data-v-
|
|
864
|
+
}, Xl = /* @__PURE__ */ Bt(Dl, [["__scopeId", "data-v-858660ff"]]);
|
|
864
865
|
export {
|
|
865
866
|
Xl as default
|
|
866
867
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, computed as g, ref as d, watch as ge, shallowRef as pe, onMounted as me, onBeforeUnmount as We, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as E, normalizeClass as ke, createBlock as A, createCommentVNode as v, createElementVNode as i, createSlots as Ue, withCtx as k, renderSlot as p, normalizeProps as R, guardReactiveProps as H, createVNode as Be, Fragment as $, renderList as L, toDisplayString as z, createTextVNode as _e, nextTick as je } from "vue";
|
|
2
|
-
import { u as qe, c as xe, a as Ye, o as Ze, e as we, g as Je, v as Ce, D as Ke, f as S, X as $e, i as q, l as Le, h as Ae, q as Qe, r as et } from "./index-
|
|
2
|
+
import { u as qe, c as xe, a as Ye, o as Ze, e as we, g as Je, v as Ce, D as Ke, f as S, X as $e, i as q, l as Le, h as Ae, q as Qe, r as et } from "./index-CH_mJIWj.js";
|
|
3
3
|
import { t as tt, u as lt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as ze } from "./useNestedProp-
|
|
5
|
-
import { u as at } from "./usePrinter-
|
|
4
|
+
import { u as ze } from "./useNestedProp-rMR-JeOJ.js";
|
|
5
|
+
import { u as at } from "./usePrinter-DJ7WfWUs.js";
|
|
6
6
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import rt from "./Legend-
|
|
9
|
-
import nt from "./Title-
|
|
8
|
+
import rt from "./Legend-DRqzYrP9.js";
|
|
9
|
+
import nt from "./Title-apr_T9tg.js";
|
|
10
10
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"], vt = { key: 1 }, ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yt = { key: 2 },
|
|
11
|
+
const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"], vt = { key: 1 }, ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yt = { key: 2 }, bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gt = { key: 3 }, pt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill"], kt = { key: 4 }, _t = ["x", "y", "font-size", "fill", "font-weight"], xt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], $t = ["stop-color"], Lt = ["id"], At = ["stop-color"], zt = ["stop-color"], St = ["stop-color"], Xt = ["id"], Nt = ["stop-color"], Tt = ["stop-color"], Ot = ["id"], Pt = ["stop-color"], Mt = ["stop-color"], It = { key: 0 }, Gt = ["d", "fill"], Dt = { key: 1 }, Ft = ["x", "y", "height", "width", "fill"], Vt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Et = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rt = { key: 5 }, Ht = ["x", "y", "fill", "font-size"], Wt = { key: 6 }, Ut = ["x", "y", "fill", "font-size"], Bt = {
|
|
12
12
|
key: 5,
|
|
13
13
|
class: "vue-data-ui-watermark"
|
|
14
14
|
}, jt = ["xmlns", "height", "width"], qt = ["fill"], Yt = ["innerHTML"], Zt = {
|
|
@@ -29,9 +29,9 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectDatapoint"],
|
|
31
31
|
setup(Se, { expose: Xe, emit: Jt }) {
|
|
32
|
-
const Ne = T(() => import("./vue-ui-accordion-
|
|
32
|
+
const Ne = T(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Te = T(() => import("./DataTable-BBqbcutV.js")), Oe = T(() => import("./PackageVersion-ClpqQxYT.js")), Pe = T(() => import("./PenAndPaper-B-T7XvxF.js")), Me = T(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Ie = T(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_dumbbell: Ge } = qe(), f = Se, X = g({
|
|
33
33
|
get() {
|
|
34
|
-
return !!
|
|
34
|
+
return !!f.dataset && f.dataset.length;
|
|
35
35
|
},
|
|
36
36
|
set(l) {
|
|
37
37
|
return l;
|
|
@@ -42,19 +42,19 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
42
42
|
}), { userOptionsVisible: W, setUserOptionsVisibility: ae, keepUserOptionState: se } = st({ config: e.value }), { svgRef: oe } = ot({ config: e.value.style.chart.title });
|
|
43
43
|
function re() {
|
|
44
44
|
const l = ze({
|
|
45
|
-
userConfig:
|
|
45
|
+
userConfig: f.config,
|
|
46
46
|
defaultConfig: Ge
|
|
47
47
|
});
|
|
48
48
|
return l.theme ? {
|
|
49
49
|
...ze({
|
|
50
|
-
userConfig: Ye.vue_ui_dumbbell[l.theme] ||
|
|
50
|
+
userConfig: Ye.vue_ui_dumbbell[l.theme] || f.config,
|
|
51
51
|
defaultConfig: l
|
|
52
52
|
})
|
|
53
53
|
} : l;
|
|
54
54
|
}
|
|
55
|
-
ge(() =>
|
|
56
|
-
e.value = re(), W.value = !e.value.userOptions.showOnChartHover, ne(), ee.value += 1, te.value += 1, le.value += 1, h.value = e.value.style.chart.rowHeight,
|
|
57
|
-
}, { deep: !0 }), ge(() =>
|
|
55
|
+
ge(() => f.config, (l) => {
|
|
56
|
+
e.value = re(), W.value = !e.value.userOptions.showOnChartHover, ne(), ee.value += 1, te.value += 1, le.value += 1, h.value = e.value.style.chart.rowHeight, P.value = e.value.style.chart.width, O.value.showTable = e.value.table.show;
|
|
57
|
+
}, { deep: !0 }), ge(() => f.dataset, (l) => {
|
|
58
58
|
he();
|
|
59
59
|
}, { deep: !0 });
|
|
60
60
|
const _ = pe(null), N = pe(null);
|
|
@@ -62,10 +62,10 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
62
62
|
ne();
|
|
63
63
|
});
|
|
64
64
|
function ne() {
|
|
65
|
-
if (Ze(
|
|
65
|
+
if (Ze(f.dataset) ? we({
|
|
66
66
|
componentName: "VueUiDumbbell",
|
|
67
67
|
type: "dataset"
|
|
68
|
-
}) :
|
|
68
|
+
}) : f.dataset.forEach((l, u) => {
|
|
69
69
|
Je({
|
|
70
70
|
datasetObject: l,
|
|
71
71
|
requiredAttributes: ["name", "start", "end"]
|
|
@@ -87,7 +87,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
87
87
|
noTitle: Q.value
|
|
88
88
|
});
|
|
89
89
|
requestAnimationFrame(() => {
|
|
90
|
-
|
|
90
|
+
P.value = u, h.value = t / f.dataset.length, b.value = G();
|
|
91
91
|
});
|
|
92
92
|
});
|
|
93
93
|
_.value && (N.value && _.value.unobserve(N.value), _.value.disconnect()), _.value = new ResizeObserver(l), N.value = I.value.parentNode, _.value.observe(N.value);
|
|
@@ -100,9 +100,9 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
100
100
|
elementId: `dumbbell_${y.value}`,
|
|
101
101
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
102
102
|
options: e.value.userOptions.print
|
|
103
|
-
}), De = g(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
103
|
+
}), De = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = d({
|
|
104
104
|
showTable: e.value.table.show
|
|
105
|
-
}), x = g(() =>
|
|
105
|
+
}), x = g(() => f.dataset.map((l, u) => ({
|
|
106
106
|
...l,
|
|
107
107
|
start: Ce(l.start),
|
|
108
108
|
end: Ce(l.end),
|
|
@@ -110,15 +110,15 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
110
110
|
}))), U = g(() => ({
|
|
111
111
|
max: Math.max(...x.value.flatMap((l) => [l.start, l.end])),
|
|
112
112
|
min: Math.min(...x.value.flatMap((l) => [l.start, l.end]))
|
|
113
|
-
})), c = g(() => Ke(U.value.min < 0 ? U.value.min : 0, U.value.max, e.value.style.chart.grid.scaleSteps)), h = d(e.value.style.chart.rowHeight),
|
|
114
|
-
const l = h.value, u = e.value.style.chart.padding.left + e.value.style.chart.padding.right +
|
|
113
|
+
})), c = g(() => Ke(U.value.min < 0 ? U.value.min : 0, U.value.max, e.value.style.chart.grid.scaleSteps)), h = d(e.value.style.chart.rowHeight), P = d(e.value.style.chart.width), s = g(() => {
|
|
114
|
+
const l = h.value, u = e.value.style.chart.padding.left + e.value.style.chart.padding.right + P.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * f.dataset.length, a = c.value.ticks.length * (P.value / c.value.ticks.length);
|
|
115
115
|
return {
|
|
116
116
|
left: e.value.style.chart.padding.left,
|
|
117
117
|
right: u - e.value.style.chart.padding.right,
|
|
118
118
|
top: e.value.style.chart.padding.top,
|
|
119
119
|
bottom: t - e.value.style.chart.padding.bottom,
|
|
120
|
-
width:
|
|
121
|
-
height: l *
|
|
120
|
+
width: P.value,
|
|
121
|
+
height: l * f.dataset.length,
|
|
122
122
|
rowHeight: l,
|
|
123
123
|
absoluteHeight: t,
|
|
124
124
|
absoluteWidth: u,
|
|
@@ -138,16 +138,16 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
138
138
|
};
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
const
|
|
141
|
+
const b = d([]), ve = d(null), Fe = g(() => x.value.map((l) => l.end).reduce((l, u) => l + u, 0));
|
|
142
142
|
me(() => {
|
|
143
143
|
he();
|
|
144
144
|
});
|
|
145
145
|
function he() {
|
|
146
|
-
|
|
147
|
-
let l =
|
|
146
|
+
b.value = G();
|
|
147
|
+
let l = b.value.map((t) => t.start).reduce((t, a) => t + a, 0);
|
|
148
148
|
function u() {
|
|
149
149
|
const t = x.value.map((a) => a.end - a.start);
|
|
150
|
-
l >= Fe.value ? (cancelAnimationFrame(ve.value),
|
|
150
|
+
l >= Fe.value ? (cancelAnimationFrame(ve.value), b.value = G()) : (b.value = b.value.map((a, m) => {
|
|
151
151
|
a.endVal += t[m] * (e.value.animationSpeed / 100);
|
|
152
152
|
const C = s.value.left + (a.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, V = s.value.left + (a.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, j = C + (V - C) / 2;
|
|
153
153
|
return {
|
|
@@ -158,9 +158,9 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
158
158
|
y: s.value.top + m * h.value + h.value / 2,
|
|
159
159
|
endVal: a.endVal
|
|
160
160
|
};
|
|
161
|
-
}), l =
|
|
161
|
+
}), l = b.value.map((a) => a.endVal).reduce((a, m) => a + m, 0), ve.value = requestAnimationFrame(u));
|
|
162
162
|
}
|
|
163
|
-
e.value.useAnimation ? u() :
|
|
163
|
+
e.value.useAnimation ? u() : b.value = G();
|
|
164
164
|
}
|
|
165
165
|
const ye = g(() => [
|
|
166
166
|
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor },
|
|
@@ -174,9 +174,9 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
174
174
|
paddingTop: 12,
|
|
175
175
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
176
176
|
})), w = g(() => {
|
|
177
|
-
const l =
|
|
177
|
+
const l = b.value.map((t) => ({
|
|
178
178
|
name: t.name
|
|
179
|
-
})), u =
|
|
179
|
+
})), u = b.value.map((t) => ({
|
|
180
180
|
start: t.start,
|
|
181
181
|
end: t.end
|
|
182
182
|
}));
|
|
@@ -234,7 +234,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
234
234
|
config: t
|
|
235
235
|
};
|
|
236
236
|
});
|
|
237
|
-
function
|
|
237
|
+
function be() {
|
|
238
238
|
je(() => {
|
|
239
239
|
const l = w.value.head.map((a, m) => [[
|
|
240
240
|
a.name
|
|
@@ -247,10 +247,10 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
247
247
|
M.value = l, Y.value += 1;
|
|
248
248
|
}
|
|
249
249
|
function Re() {
|
|
250
|
-
return
|
|
250
|
+
return b.value;
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
|
|
252
|
+
function fe() {
|
|
253
|
+
O.value.showTable = !O.value.showTable;
|
|
254
254
|
}
|
|
255
255
|
const F = d(!1);
|
|
256
256
|
function B() {
|
|
@@ -259,9 +259,9 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
259
259
|
return Xe({
|
|
260
260
|
getData: Re,
|
|
261
261
|
generatePdf: ce,
|
|
262
|
-
generateCsv:
|
|
262
|
+
generateCsv: be,
|
|
263
263
|
generateImage: de,
|
|
264
|
-
toggleTable:
|
|
264
|
+
toggleTable: fe,
|
|
265
265
|
toggleAnnotator: B
|
|
266
266
|
}), (l, u) => (o(), r("div", {
|
|
267
267
|
ref_key: "dumbbellChart",
|
|
@@ -272,7 +272,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
272
272
|
onMouseenter: u[1] || (u[1] = () => n(ae)(!0)),
|
|
273
273
|
onMouseleave: u[2] || (u[2] = () => n(ae)(!1))
|
|
274
274
|
}, [
|
|
275
|
-
e.value.userOptions.buttons.annotator ? (o(), A(n(
|
|
275
|
+
e.value.userOptions.buttons.annotator ? (o(), A(n(Pe), {
|
|
276
276
|
key: 0,
|
|
277
277
|
svgRef: n(oe),
|
|
278
278
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -326,11 +326,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
326
326
|
position: e.value.userOptions.position,
|
|
327
327
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
328
328
|
isAnnotation: F.value,
|
|
329
|
+
callbacks: e.value.userOptions.callbacks,
|
|
329
330
|
onToggleFullscreen: Ee,
|
|
330
331
|
onGeneratePdf: n(ce),
|
|
331
|
-
onGenerateCsv:
|
|
332
|
+
onGenerateCsv: be,
|
|
332
333
|
onGenerateImage: n(de),
|
|
333
|
-
onToggleTable:
|
|
334
|
+
onToggleTable: fe,
|
|
334
335
|
onToggleAnnotator: B,
|
|
335
336
|
style: E({
|
|
336
337
|
visibility: n(se) ? n(W) ? "visible" : "hidden" : "visible"
|
|
@@ -385,7 +386,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
385
386
|
]),
|
|
386
387
|
key: "6"
|
|
387
388
|
} : void 0
|
|
388
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
389
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
389
390
|
X.value ? (o(), r("svg", {
|
|
390
391
|
key: 4,
|
|
391
392
|
ref_key: "svgRef",
|
|
@@ -395,7 +396,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
395
396
|
viewBox: `0 0 ${s.value.absoluteWidth <= 0 ? 10 : s.value.absoluteWidth} ${s.value.absoluteHeight <= 0 ? 10 : s.value.absoluteHeight}`,
|
|
396
397
|
style: E(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
397
398
|
}, [
|
|
398
|
-
Be(n(
|
|
399
|
+
Be(n(Oe)),
|
|
399
400
|
l.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
400
401
|
key: 0,
|
|
401
402
|
x: s.value.left,
|
|
@@ -428,7 +429,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
428
429
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
429
430
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
430
431
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
431
|
-
}, null, 8,
|
|
432
|
+
}, null, 8, bt))), 256)),
|
|
432
433
|
i("line", {
|
|
433
434
|
x1: s.value.left,
|
|
434
435
|
x2: s.value.right,
|
|
@@ -437,7 +438,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
437
438
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
438
439
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
439
440
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
440
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, ft)
|
|
441
442
|
])) : v("", !0),
|
|
442
443
|
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", gt, [
|
|
443
444
|
(o(!0), r($, null, L(x.value, (t, a) => (o(), r("text", {
|
|
@@ -516,7 +517,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
516
517
|
}, null, 8, St)
|
|
517
518
|
], 8, Lt)
|
|
518
519
|
]),
|
|
519
|
-
(o(!0), r($, null, L(
|
|
520
|
+
(o(!0), r($, null, L(b.value, (t, a) => (o(), r("g", null, [
|
|
520
521
|
i("defs", null, [
|
|
521
522
|
i("linearGradient", {
|
|
522
523
|
id: `grad_positive_${y.value}`,
|
|
@@ -544,12 +545,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
544
545
|
i("stop", {
|
|
545
546
|
offset: "0%",
|
|
546
547
|
"stop-color": e.value.style.chart.plots.endColor
|
|
547
|
-
}, null, 8,
|
|
548
|
+
}, null, 8, Pt),
|
|
548
549
|
i("stop", {
|
|
549
550
|
offset: "100%",
|
|
550
551
|
"stop-color": e.value.style.chart.plots.startColor
|
|
551
552
|
}, null, 8, Mt)
|
|
552
|
-
], 8,
|
|
553
|
+
], 8, Ot)
|
|
553
554
|
]),
|
|
554
555
|
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", It, [
|
|
555
556
|
i("path", {
|
|
@@ -591,7 +592,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
591
592
|
}, null, 8, Et)
|
|
592
593
|
]))), 256)),
|
|
593
594
|
e.value.style.chart.labels.startLabels.show ? (o(), r("g", Rt, [
|
|
594
|
-
(o(!0), r($, null, L(
|
|
595
|
+
(o(!0), r($, null, L(b.value, (t, a) => (o(), r("text", {
|
|
595
596
|
x: t.startX,
|
|
596
597
|
y: s.value.top + (a + 1) * h.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
597
598
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
@@ -610,7 +611,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
610
611
|
)), 9, Ht))), 256))
|
|
611
612
|
])) : v("", !0),
|
|
612
613
|
e.value.style.chart.labels.endLabels.show ? (o(), r("g", Wt, [
|
|
613
|
-
(o(!0), r($, null, L(
|
|
614
|
+
(o(!0), r($, null, L(b.value, (t, a) => (o(), r("text", {
|
|
614
615
|
x: t.endX,
|
|
615
616
|
y: s.value.top + a * h.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
616
617
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
@@ -692,7 +693,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
692
693
|
key: 8,
|
|
693
694
|
hideDetails: "",
|
|
694
695
|
config: {
|
|
695
|
-
open:
|
|
696
|
+
open: O.value.showTable,
|
|
696
697
|
maxHeight: 1e4,
|
|
697
698
|
body: {
|
|
698
699
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -712,7 +713,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
712
713
|
body: D.value.body,
|
|
713
714
|
config: D.value.config,
|
|
714
715
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
715
|
-
onClose: u[0] || (u[0] = (t) =>
|
|
716
|
+
onClose: u[0] || (u[0] = (t) => O.value.showTable = !1)
|
|
716
717
|
}, {
|
|
717
718
|
th: k(({ th: t }) => [
|
|
718
719
|
i("div", {
|
|
@@ -730,7 +731,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
|
|
|
730
731
|
}, 8, ["config"])) : v("", !0)
|
|
731
732
|
], 46, it));
|
|
732
733
|
}
|
|
733
|
-
}, ul = /* @__PURE__ */ ut(Zt, [["__scopeId", "data-v-
|
|
734
|
+
}, ul = /* @__PURE__ */ ut(Zt, [["__scopeId", "data-v-ae879b63"]]);
|
|
734
735
|
export {
|
|
735
736
|
ul as default
|
|
736
737
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as E, computed as p, onMounted as ut, ref as y, watch as it, createElementBlock as g, openBlock as d, unref as r, normalizeStyle as L, normalizeClass as Me, createBlock as B, createCommentVNode as _, createElementVNode as D, createVNode as de, createSlots as ct, withCtx as w, renderSlot as b, normalizeProps as R, guardReactiveProps as G, Fragment as U, renderList as W, toDisplayString as j, createTextVNode as dt, nextTick as vt } from "vue";
|
|
2
|
-
import { u as ft, o as ht, e as pt, c as ve, t as gt, p as S, a as mt, b as yt, v as $, d as bt, f as X, X as kt, G as He, K as Ct, i as fe, q as wt, r as $t, x as Tt } from "./index-
|
|
3
|
-
import { u as Ye } from "./useNestedProp-
|
|
4
|
-
import { u as xt } from "./usePrinter-
|
|
2
|
+
import { u as ft, o as ht, e as pt, c as ve, t as gt, p as S, a as mt, b as yt, v as $, d as bt, f as X, X as kt, G as He, K as Ct, i as fe, q as wt, r as $t, x as Tt } from "./index-CH_mJIWj.js";
|
|
3
|
+
import { u as Ye } from "./useNestedProp-rMR-JeOJ.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-DJ7WfWUs.js";
|
|
5
5
|
import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import Ot from "./Legend-
|
|
8
|
-
import St from "./Title-
|
|
7
|
+
import Ot from "./Legend-DRqzYrP9.js";
|
|
8
|
+
import St from "./Title-apr_T9tg.js";
|
|
9
9
|
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const Pt = ["id"], Lt = {
|
|
11
11
|
key: 1,
|
|
@@ -39,7 +39,7 @@ const Pt = ["id"], Lt = {
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
setup(Be, { expose: De }) {
|
|
42
|
-
const Re = E(() => import("./vue-ui-accordion-
|
|
42
|
+
const Re = E(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Ge = E(() => import("./DataTable-BBqbcutV.js")), Ve = E(() => import("./PackageVersion-ClpqQxYT.js")), Ue = E(() => import("./PenAndPaper-B-T7XvxF.js")), We = E(() => import("./vue-ui-skeleton-C6PWt_m5.js")), je = E(() => import("./Tooltip-BuHsMAfp.js")), Xe = E(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_flow: qe } = ft(), T = Be, ee = p(() => !!T.dataset && T.dataset.length);
|
|
43
43
|
ut(() => {
|
|
44
44
|
he();
|
|
45
45
|
});
|
|
@@ -465,6 +465,7 @@ const Pt = ["id"], Lt = {
|
|
|
465
465
|
hasXls: e.value.userOptions.buttons.csv,
|
|
466
466
|
hasImg: e.value.userOptions.buttons.img,
|
|
467
467
|
hasTable: e.value.userOptions.buttons.table,
|
|
468
|
+
callbacks: e.value.userOptions.callbacks,
|
|
468
469
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
469
470
|
isFullscreen: z.value,
|
|
470
471
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -541,7 +542,7 @@ const Pt = ["id"], Lt = {
|
|
|
541
542
|
]),
|
|
542
543
|
key: "7"
|
|
543
544
|
} : void 0
|
|
544
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
|
|
545
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "callbacks", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
|
|
545
546
|
(d(), g("svg", {
|
|
546
547
|
ref_key: "svgRef",
|
|
547
548
|
ref: be,
|
|
@@ -742,7 +743,7 @@ const Pt = ["id"], Lt = {
|
|
|
742
743
|
}, 8, ["config"])) : _("", !0)
|
|
743
744
|
], 46, Pt));
|
|
744
745
|
}
|
|
745
|
-
}, lo = /* @__PURE__ */ Ft(jt, [["__scopeId", "data-v-
|
|
746
|
+
}, lo = /* @__PURE__ */ Ft(jt, [["__scopeId", "data-v-e63a00d3"]]);
|
|
746
747
|
export {
|
|
747
748
|
lo as default
|
|
748
749
|
};
|