vue-data-ui 3.3.0 → 3.3.1
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-CKLBHe3L.js → Arrow-DLi6NnGD.js} +1 -1
- package/dist/{BaseDraggableDialog-q3pgSDTz.js → BaseDraggableDialog-CVGErydD.js} +2 -2
- package/dist/{BaseIcon-CtqN7W_g.js → BaseIcon-eZbszQrv.js} +1 -1
- package/dist/{ColorPicker-Cr6rUDTP.js → ColorPicker-BoPM4Ejg.js} +2 -2
- package/dist/{DataTable-BeI6gYJX.js → DataTable-yAMEyP6y.js} +2 -2
- package/dist/{Legend-DsogCeTb.js → Legend-By4rru90.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BDK_ucTG.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
- package/dist/{PackageVersion-C9oklnuy.js → PackageVersion-BfykJm_B.js} +1 -1
- package/dist/{PenAndPaper-BxbYiPy4.js → PenAndPaper-Bo-lMUik.js} +3 -3
- package/dist/{Shape-DJG2zW7b.js → Shape-BceHSLHf.js} +1 -1
- package/dist/{Slicer-D6T4aUhr.js → Slicer-Znzt0gSE.js} +2 -2
- package/dist/{SparkTooltip-Cp0G9giW.js → SparkTooltip--YwqrrgZ.js} +1 -1
- package/dist/{Title-D17CJXko.js → Title-Camz1Lce.js} +1 -1
- package/dist/{Tooltip-CtVdvbZi.js → Tooltip-VOcQEHa4.js} +1 -1
- package/dist/{UserOptions-B3vCIe-u.js → UserOptions-CSja1SGU.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BiyqJA3t.js → dom-to-png-DxyZSvDx.js} +1 -1
- package/dist/{img-6wPuVVtk.js → img-J2dLIr8Y.js} +1 -1
- package/dist/{lib-GIYcnm0E.js → lib-CEjkWSLj.js} +376 -374
- package/dist/{pdf-DjbHsnrb.js → pdf-anN8VbM7.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-Csv3pVmh.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
- package/dist/{useNestedProp-mxyyqd0B.js → useNestedProp-Ce3PwN8T.js} +1 -1
- package/dist/{usePrinter-DYRFiw7X.js → usePrinter-DJ1iH-F_.js} +2 -2
- package/dist/useSvgExport-DrjCWun4.js +750 -0
- package/dist/{vue-data-ui-DLU1snC3.js → vue-data-ui-j8Dnx_Ui.js} +64 -64
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-D6xoBrN6.js → vue-ui-3d-bar-Cml_eeEU.js} +7 -7
- package/dist/{vue-ui-accordion-Dch9YrCi.js → vue-ui-accordion-VTP418mC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D74mAaLA.js → vue-ui-age-pyramid-MULKSv5c.js} +7 -7
- package/dist/{vue-ui-annotator-DwRwhrgB.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
- package/dist/{vue-ui-bullet-D2qVUqWs.js → vue-ui-bullet-BHO5zu9m.js} +8 -8
- package/dist/{vue-ui-candlestick-C81k1_f9.js → vue-ui-candlestick-B7EjAlSi.js} +8 -8
- package/dist/{vue-ui-carousel-table-DBIhnEj-.js → vue-ui-carousel-table-DXnYj0Gc.js} +4 -4
- package/dist/{vue-ui-chestnut-CSM-_IWw.js → vue-ui-chestnut-B1Usqda-.js} +6 -6
- package/dist/{vue-ui-chord-BFW9nnNh.js → vue-ui-chord-DgXH82Hg.js} +9 -9
- package/dist/{vue-ui-circle-pack-D6mTG5i0.js → vue-ui-circle-pack-BQfaZFFz.js} +7 -7
- package/dist/{vue-ui-cursor-BJmTAMpP.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
- package/dist/{vue-ui-dashboard-BdFLsK4u.js → vue-ui-dashboard-C6xHAPp8.js} +67 -67
- package/dist/{vue-ui-digits-DXum1rs6.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DFIbK50s.js → vue-ui-donut-evolution-D_CKlaay.js} +9 -9
- package/dist/{vue-ui-donut-CqefukGp.js → vue-ui-donut-swJu7UL2.js} +9 -9
- package/dist/{vue-ui-dumbbell-DIo2ecGY.js → vue-ui-dumbbell-siD31WFG.js} +8 -8
- package/dist/{vue-ui-flow--kiGWaq4.js → vue-ui-flow-BZCnqIs-.js} +8 -8
- package/dist/{vue-ui-funnel-B8UHwj15.js → vue-ui-funnel-DmgcIRzW.js} +7 -7
- package/dist/{vue-ui-galaxy-eQZh_y3l.js → vue-ui-galaxy-C-zegxf9.js} +8 -8
- package/dist/{vue-ui-gauge-DJ-E6L2T.js → vue-ui-gauge-D6C8eUvP.js} +8 -8
- package/dist/{vue-ui-gizmo-DFxlqPz7.js → vue-ui-gizmo-iSYUVKlt.js} +3 -3
- package/dist/{vue-ui-heatmap-CcAe5dDN.js → vue-ui-heatmap-RHDxexNf.js} +84 -84
- package/dist/{vue-ui-history-plot-CgKvd7Jx.js → vue-ui-history-plot-4nwAd1qA.js} +8 -8
- package/dist/{vue-ui-kpi-Ct2iyD49.js → vue-ui-kpi-Dphnwumo.js} +3 -3
- package/dist/{vue-ui-mini-loader-ByjcvXBB.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
- package/dist/{vue-ui-molecule-CGDBEAkX.js → vue-ui-molecule-BhisFSGQ.js} +6 -6
- package/dist/{vue-ui-mood-radar-D9GuK4cI.js → vue-ui-mood-radar-B8yHPdrV.js} +8 -8
- package/dist/{vue-ui-nested-donuts-CGKgOTX2.js → vue-ui-nested-donuts-Bfp0oVSK.js} +8 -8
- package/dist/{vue-ui-onion-C5tE1Woz.js → vue-ui-onion-f1B0W_oT.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-CVhD6IoH.js → vue-ui-parallel-coordinate-plot-DcY-0R-7.js} +9 -9
- package/dist/{vue-ui-quadrant-BGDCaOXv.js → vue-ui-quadrant-DuzopA33.js} +9 -9
- package/dist/{vue-ui-quick-chart-CjXSB-2S.js → vue-ui-quick-chart-45Tm1UnC.js} +7 -7
- package/dist/{vue-ui-radar-rhxkROX7.js → vue-ui-radar-DDS405TF.js} +9 -9
- package/dist/{vue-ui-rating-Bo9gSy-z.js → vue-ui-rating-eKlTJch9.js} +2 -2
- package/dist/{vue-ui-relation-circle-Qo8FKbL2.js → vue-ui-relation-circle-BqXHJEvi.js} +8 -8
- package/dist/{vue-ui-ridgeline-ahOApbEC.js → vue-ui-ridgeline-Lx7YOCRg.js} +9 -9
- package/dist/{vue-ui-rings-DFAVaEBs.js → vue-ui-rings-crjrV65X.js} +9 -9
- package/dist/{vue-ui-scatter-zjlWyvVd.js → vue-ui-scatter-Bk4liS2c.js} +9 -9
- package/dist/{vue-ui-skeleton-CKfOnyd_.js → vue-ui-skeleton-Pu9gPf97.js} +3 -3
- package/dist/{vue-ui-smiley-CY7UiJ9C.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
- package/dist/{vue-ui-spark-trend-DwNYP97M.js → vue-ui-spark-trend-BmaybxJn.js} +3 -3
- package/dist/{vue-ui-sparkbar-BkdcYrmg.js → vue-ui-sparkbar-DvhcXniz.js} +3 -3
- package/dist/{vue-ui-sparkgauge-C6Kq_OGV.js → vue-ui-sparkgauge-D4Brfset.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CjB33yXB.js → vue-ui-sparkhistogram-D5_lR__d.js} +4 -4
- package/dist/{vue-ui-sparkline-DcH4yIEd.js → vue-ui-sparkline-DxNG5QQg.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-MKr2u_pO.js → vue-ui-sparkstackbar-BTFzo3fq.js} +3 -3
- package/dist/{vue-ui-stackbar-DKV-exfd.js → vue-ui-stackbar-B8glHsE6.js} +10 -10
- package/dist/{vue-ui-strip-plot-ncTrDlNC.js → vue-ui-strip-plot-C5Bro8-W.js} +8 -8
- package/dist/{vue-ui-table-BdT3lGuv.js → vue-ui-table-Ddu9yx2S.js} +5 -5
- package/dist/{vue-ui-table-heatmap-D929cWB0.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CkZ_ygR1.js → vue-ui-table-sparkline-D3tgrV_k.js} +4 -4
- package/dist/{vue-ui-thermometer-CjBLR6H9.js → vue-ui-thermometer-BxQIZoXd.js} +8 -8
- package/dist/{vue-ui-timer-Bs7eMmiC.js → vue-ui-timer-BwFlr_19.js} +5 -5
- package/dist/{vue-ui-tiremarks-nGOZKRcz.js → vue-ui-tiremarks-KwISwJS6.js} +7 -7
- package/dist/{vue-ui-treemap-SQ2f5wbN.js → vue-ui-treemap-C6PLDL2Y.js} +10 -10
- package/dist/{vue-ui-vertical-bar-Hh9gAN5j.js → vue-ui-vertical-bar-CTmRo06n.js} +10 -10
- package/dist/{vue-ui-waffle-C7moVBln.js → vue-ui-waffle-BwOLL9aa.js} +9 -9
- package/dist/{vue-ui-wheel-KrGLMCqW.js → vue-ui-wheel-KI9mkz8y.js} +7 -7
- package/dist/{vue-ui-word-cloud-BQSu6kiR.js → vue-ui-word-cloud-DTyjx6X4.js} +7 -7
- package/dist/{vue-ui-world-DdoMFJcV.js → vue-ui-world-C3QXAlC7.js} +7 -7
- package/dist/{vue-ui-xy-B2fjTYMJ.js → vue-ui-xy-b-CN-G4J.js} +10 -10
- package/dist/{vue-ui-xy-canvas-oUXISeU8.js → vue-ui-xy-canvas-CdkE1NHd.js} +10 -10
- package/package.json +1 -1
- package/dist/useSvgExport-B7-Vrjtu.js +0 -732
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { useCssVars as Jt, defineAsyncComponent as Q, computed as y, ref as d, shallowRef as Qt, toRefs as Zt, watch as we, onBeforeUnmount as dt, onMounted as el, watchEffect as Xe, reactive as ht, nextTick as Ie, createElementBlock as n, openBlock as u, normalizeStyle as w, normalizeClass as ce, createBlock as de, createCommentVNode as f, createElementVNode as p, createVNode as ke, unref as i, createSlots as yt, withCtx as z, renderSlot as
|
|
2
|
-
import { c as Be, t as sl, B as ul, o as pt, f as gt, a0 as he, g as il, X as nl, E as Ae, a as B, d as H, q as E, ai as rl, x as vl, y as cl, z as dl, A as hl } from "./lib-
|
|
1
|
+
import { useCssVars as Jt, defineAsyncComponent as Q, computed as y, ref as d, shallowRef as Qt, toRefs as Zt, watch as we, onBeforeUnmount as dt, onMounted as el, watchEffect as Xe, reactive as ht, nextTick as Ie, createElementBlock as n, openBlock as u, normalizeStyle as w, normalizeClass as ce, createBlock as de, createCommentVNode as f, createElementVNode as p, createVNode as ke, unref as i, createSlots as yt, withCtx as z, renderSlot as L, normalizeProps as Z, guardReactiveProps as ee, Fragment as C, renderList as F, withDirectives as ft, createTextVNode as Ve, toDisplayString as T, vShow as tl, resolveDynamicComponent as ll, mergeProps as al, withKeys as ol } from "vue";
|
|
2
|
+
import { c as Be, t as sl, B as ul, o as pt, f as gt, a0 as he, g as il, X as nl, E as Ae, a as B, d as H, q as E, ai as rl, x as vl, y as cl, z as dl, A as hl } from "./lib-CEjkWSLj.js";
|
|
3
3
|
import { t as Ce, u as yl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as fl, a as bt } from "./useNestedProp-
|
|
5
|
-
import { u as pl } from "./usePrinter-
|
|
4
|
+
import { u as fl, a as bt } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
|
+
import { u as pl } from "./usePrinter-DJ1iH-F_.js";
|
|
6
6
|
import { u as gl, B as bl } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
-
import { u as ml } from "./useSvgExport-
|
|
7
|
+
import { u as ml } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as mt } from "./useTimeLabels-BGFjWgrv.js";
|
|
9
9
|
import { u as xl } from "./useTableResponsive-Cbx-ACcP.js";
|
|
10
10
|
import { u as wl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as xt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
12
|
import { u as kl } from "./useChartAccessibility-9icAAmYg.js";
|
|
13
|
-
import Al from "./img-
|
|
14
|
-
import Cl from "./Title-
|
|
13
|
+
import Al from "./img-J2dLIr8Y.js";
|
|
14
|
+
import Cl from "./Title-Camz1Lce.js";
|
|
15
15
|
import { t as Ll } from "./themes-Dw-dDudK.js";
|
|
16
|
-
import Tl from "./vue-ui-accordion-
|
|
16
|
+
import Tl from "./vue-ui-accordion-VTP418mC.js";
|
|
17
17
|
import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const _l = {
|
|
19
19
|
mounted(b, P) {
|
|
@@ -46,8 +46,8 @@ function wt(b, {
|
|
|
46
46
|
}
|
|
47
47
|
if (Le && (k = !0), k) {
|
|
48
48
|
b.setAttribute("font-size", W);
|
|
49
|
-
const M = b.getBBox(),
|
|
50
|
-
b.setAttribute("transform", `rotate(-90 ${
|
|
49
|
+
const M = b.getBBox(), S = M.x + M.width / 2, ae = M.y + M.height / 2;
|
|
50
|
+
b.setAttribute("transform", `rotate(-90 ${S} ${ae})`);
|
|
51
51
|
const q = b.getBBox().width;
|
|
52
52
|
if (q <= ye)
|
|
53
53
|
X(O, !1);
|
|
@@ -58,7 +58,7 @@ function wt(b, {
|
|
|
58
58
|
}
|
|
59
59
|
(Te || fe) && b.setAttribute("visibility", "hidden");
|
|
60
60
|
}
|
|
61
|
-
const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"], Ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Fl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"],
|
|
61
|
+
const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"], Ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Fl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Dl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Nl = ["font-size", "font-weight", "fill", "x", "y"], Hl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Pl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Xl = ["font-size", "fill", "x", "y", "font-weight"], Il = ["font-size", "fill", "x", "y", "font-weight"], Vl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Bl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], El = { key: 6 }, Ul = ["x", "y", "width", "height", "stroke", "stroke-width"], Yl = { class: "vue-ui-heatmap-legend-gauge-right" }, Gl = ["data-value"], Wl = { class: "vue-ui-heatmap-gauge-indicator-value" }, jl = {
|
|
62
62
|
key: 4,
|
|
63
63
|
class: "vue-data-ui-watermark"
|
|
64
64
|
}, ql = { class: "vue-ui-data-table" }, Kl = { key: 0 }, Jl = ["data-cell"], Ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = {
|
|
@@ -80,16 +80,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
80
80
|
emits: ["selectDatapoint"],
|
|
81
81
|
setup(b, { expose: P, emit: ye }) {
|
|
82
82
|
Jt((t) => ({
|
|
83
|
-
|
|
83
|
+
v0640d7e7: t.tdo
|
|
84
84
|
}));
|
|
85
|
-
const W = Q(() => import("./Tooltip-
|
|
85
|
+
const W = Q(() => import("./Tooltip-VOcQEHa4.js")), te = Q(() => import("./BaseIcon-eZbszQrv.js")), O = Q(() => import("./PenAndPaper-Bo-lMUik.js")), le = Q(() => import("./UserOptions-CSja1SGU.js")), X = Q(() => import("./PackageVersion-BfykJm_B.js")), Le = Q(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_heatmap: Te } = fl(), k = b, fe = ye, j = y({
|
|
86
86
|
get() {
|
|
87
87
|
return !!k.dataset && k.dataset.length;
|
|
88
88
|
},
|
|
89
89
|
set(t) {
|
|
90
90
|
return t;
|
|
91
91
|
}
|
|
92
|
-
}), M = d(Be()),
|
|
92
|
+
}), M = d(Be()), S = d(null), ae = d(!1), q = d(""), oe = d(void 0), se = d(null), Ee = d(0), Ue = d(null), Ye = d(0), kt = d(null), ue = d(null), Se = d(null), Ge = d(null), We = d(null), At = d(null), je = d(null), Ct = d(null), _e = d(null), ze = d(null), Lt = d(null), qe = d(null), K = Qt(null), e = d(Re());
|
|
93
93
|
function Tt() {
|
|
94
94
|
const t = Array(7).fill("_"), o = [], a = 14, s = t.length;
|
|
95
95
|
for (let v = 0; v < s; v += 1) {
|
|
@@ -109,7 +109,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
109
109
|
prepareConfig: Re,
|
|
110
110
|
callback: () => {
|
|
111
111
|
Promise.resolve().then(async () => {
|
|
112
|
-
await Ie(),
|
|
112
|
+
await Ie(), S.value && rl(S.value);
|
|
113
113
|
});
|
|
114
114
|
},
|
|
115
115
|
skeletonDataset: Tt(),
|
|
@@ -183,7 +183,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
183
183
|
}), j.value = !1, $e.value = !0), pt(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
|
|
184
184
|
const t = Ce(() => {
|
|
185
185
|
const { width: o, height: a } = yl({
|
|
186
|
-
chart:
|
|
186
|
+
chart: S.value,
|
|
187
187
|
title: e.value.style.title.text ? Ge.value : null,
|
|
188
188
|
// add legend hirizontal in legend attr
|
|
189
189
|
// add legend vertical in some other attr and modify composable to subtract width
|
|
@@ -194,7 +194,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
194
194
|
ie.value = o, ne.value = a;
|
|
195
195
|
});
|
|
196
196
|
});
|
|
197
|
-
I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect()), I.value = new ResizeObserver(t), K.value =
|
|
197
|
+
I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect()), I.value = new ResizeObserver(t), K.value = S.value.parentNode, I.value.observe(K.value);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
dt(() => {
|
|
@@ -202,7 +202,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
202
202
|
}), el(() => {
|
|
203
203
|
Fe();
|
|
204
204
|
});
|
|
205
|
-
const
|
|
205
|
+
const D = y(() => Math.max(...m.value.flatMap((t) => (t.values || []).length))), ie = d(e.value.style.layout.width), ne = d(e.value.style.layout.height), _ = y(() => ({
|
|
206
206
|
width: Math.max(10, ie.value),
|
|
207
207
|
height: Math.max(10, ne.value)
|
|
208
208
|
})), re = d(0), $t = Ce((t) => {
|
|
@@ -244,10 +244,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
244
244
|
let t = 0;
|
|
245
245
|
e.value.style.legend.show && (t = e.value.style.legend.width);
|
|
246
246
|
const o = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = _.value.height - o.top - o.bottom - re.value - a, c = _.value.width / 60, x = {
|
|
247
|
-
x: r.value *
|
|
247
|
+
x: r.value * D.value,
|
|
248
248
|
y: r.value * ((m.value || []).length + 1)
|
|
249
|
-
},
|
|
250
|
-
width: Math.max(3,
|
|
249
|
+
}, N = _.value.width - o.left - o.right - x.x - c * 2 - 2 - t - J.value, h = v - c - x.y - ge.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
|
|
250
|
+
width: Math.max(3, N / D.value),
|
|
251
251
|
height: Math.max(3, h / (m.value.length ?? 1))
|
|
252
252
|
};
|
|
253
253
|
return {
|
|
@@ -258,7 +258,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
258
258
|
left: o.left + J.value + c / 2,
|
|
259
259
|
right: o.right - t,
|
|
260
260
|
bottom: _.value.height - o.bottom - ge.value,
|
|
261
|
-
width:
|
|
261
|
+
width: N,
|
|
262
262
|
cellSize: A
|
|
263
263
|
};
|
|
264
264
|
}), V = y(() => Math.max(...m.value.flatMap((t) => t.values))), ve = y(() => Math.min(...m.value.flatMap((t) => t.values))), U = y(() => {
|
|
@@ -272,15 +272,15 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
272
272
|
end: m.value.length
|
|
273
273
|
})), Ft = y(() => mt({
|
|
274
274
|
values: e.value.style.layout.dataLabels.xAxis.values,
|
|
275
|
-
maxDatapoints:
|
|
275
|
+
maxDatapoints: D.value,
|
|
276
276
|
formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
|
|
277
277
|
start: 0,
|
|
278
|
-
end:
|
|
278
|
+
end: D.value
|
|
279
279
|
})), g = y(() => {
|
|
280
280
|
const t = Rt.value.map((h) => h.text), o = Ft.value.map((h) => h.text), a = m.value.map((h) => h.values.reduce((A, Pe) => A + Pe, 0)), s = Math.max(...a), v = Math.min(...a), c = [];
|
|
281
|
-
for (let h = 0; h <
|
|
281
|
+
for (let h = 0; h < D.value; h += 1)
|
|
282
282
|
c.push(m.value.map((A) => A.values[h] || 0).reduce((A, Pe) => A + Pe, 0));
|
|
283
|
-
const x = Math.max(...c),
|
|
283
|
+
const x = Math.max(...c), N = Math.min(...c);
|
|
284
284
|
return {
|
|
285
285
|
yTotals: a.map((h) => {
|
|
286
286
|
const A = isNaN(h / s) ? 0 : h / s;
|
|
@@ -295,11 +295,11 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
295
295
|
return {
|
|
296
296
|
total: h,
|
|
297
297
|
proportion: A,
|
|
298
|
-
color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot,
|
|
298
|
+
color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, N, x, h)
|
|
299
299
|
};
|
|
300
300
|
}),
|
|
301
301
|
yLabels: t,
|
|
302
|
-
xLabels: o.slice(0,
|
|
302
|
+
xLabels: o.slice(0, D.value)
|
|
303
303
|
};
|
|
304
304
|
}), Y = y(() => (m.value.forEach((t, o) => {
|
|
305
305
|
il({
|
|
@@ -333,19 +333,19 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
333
333
|
xAxisName: g.value.xLabels[s],
|
|
334
334
|
id: `vue-data-ui-heatmap-cell-${Be()}`
|
|
335
335
|
})
|
|
336
|
-
})))), at = y(() => m.value.length), ot = ht(Array(at.value *
|
|
337
|
-
function
|
|
336
|
+
})))), at = y(() => m.value.length), ot = ht(Array(at.value * D.value || 1).fill(!1)), Dt = y(() => ot.some((t) => t));
|
|
337
|
+
function Nt(t, o) {
|
|
338
338
|
ot[t] = o;
|
|
339
339
|
}
|
|
340
|
-
const st = ht(Array(at.value *
|
|
340
|
+
const st = ht(Array(at.value * D.value || 1).fill(!1)), Ht = y(() => st.some((t) => t));
|
|
341
341
|
function Pt(t, o) {
|
|
342
342
|
st[t] = o;
|
|
343
343
|
}
|
|
344
344
|
const R = d(null), be = d(null);
|
|
345
345
|
function Xt(t, o, a, s) {
|
|
346
346
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), se.value = { x: a, y: s };
|
|
347
|
-
const { value: v, yAxisName: c, xAxisName: x, id:
|
|
348
|
-
oe.value =
|
|
347
|
+
const { value: v, yAxisName: c, xAxisName: x, id: N } = t;
|
|
348
|
+
oe.value = N, R.value = v, be.value = {
|
|
349
349
|
datapoint: t,
|
|
350
350
|
seriesIndex: o,
|
|
351
351
|
series: Y.value,
|
|
@@ -410,13 +410,13 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
410
410
|
})), o = m.value.map((a) => a.values);
|
|
411
411
|
return { head: t, body: o };
|
|
412
412
|
});
|
|
413
|
-
function
|
|
413
|
+
function De(t = null) {
|
|
414
414
|
Ie(() => {
|
|
415
415
|
const o = ["", ...m.value.map((c, x) => c.name)], a = [];
|
|
416
416
|
for (let c = 0; c < g.value.xLabels.length; c += 1) {
|
|
417
417
|
const x = [g.value.xLabels[c]];
|
|
418
|
-
for (let
|
|
419
|
-
x.push([m.value[
|
|
418
|
+
for (let N = 0; N < m.value.length; N += 1)
|
|
419
|
+
x.push([m.value[N].values[c]]);
|
|
420
420
|
a.push(x);
|
|
421
421
|
}
|
|
422
422
|
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(a), v = vl(s);
|
|
@@ -434,7 +434,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
434
434
|
$.value.showTooltip = !$.value.showTooltip;
|
|
435
435
|
}
|
|
436
436
|
const me = d(!1);
|
|
437
|
-
function
|
|
437
|
+
function Ne() {
|
|
438
438
|
me.value = !me.value;
|
|
439
439
|
}
|
|
440
440
|
function Et(t, o) {
|
|
@@ -444,8 +444,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
444
444
|
return Y.value;
|
|
445
445
|
}
|
|
446
446
|
async function Yt({ scale: t = 2 } = {}) {
|
|
447
|
-
if (!
|
|
448
|
-
const { width: o, height: a } =
|
|
447
|
+
if (!S.value) return;
|
|
448
|
+
const { width: o, height: a } = S.value.getBoundingClientRect(), s = o / a, { imageUri: v, base64: c } = await Al({ domElement: S.value, base64: !0, img: !0, scale: t });
|
|
449
449
|
return {
|
|
450
450
|
imageUri: v,
|
|
451
451
|
base64: c,
|
|
@@ -457,7 +457,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
457
457
|
}
|
|
458
458
|
const rt = y(() => ({
|
|
459
459
|
start: 0,
|
|
460
|
-
end:
|
|
460
|
+
end: D.value
|
|
461
461
|
})), vt = y(() => g.value.xLabels);
|
|
462
462
|
xt({
|
|
463
463
|
timeLabelsEls: _e,
|
|
@@ -495,7 +495,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
495
495
|
headerColor: e.value.table.th.color,
|
|
496
496
|
headerBg: e.value.table.th.backgroundColor,
|
|
497
497
|
isFullscreen: G.value,
|
|
498
|
-
fullscreenParent:
|
|
498
|
+
fullscreenParent: S.value,
|
|
499
499
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
500
500
|
} : {
|
|
501
501
|
hideDetails: !0,
|
|
@@ -537,16 +537,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
537
537
|
getData: Ut,
|
|
538
538
|
getImage: Yt,
|
|
539
539
|
generatePdf: et,
|
|
540
|
-
generateCsv:
|
|
540
|
+
generateCsv: De,
|
|
541
541
|
generateImage: tt,
|
|
542
542
|
generateSvg: ct,
|
|
543
543
|
toggleTable: it,
|
|
544
544
|
toggleTooltip: nt,
|
|
545
|
-
toggleAnnotator:
|
|
545
|
+
toggleAnnotator: Ne,
|
|
546
546
|
toggleFullscreen: ut
|
|
547
547
|
}), (t, o) => (u(), n("div", {
|
|
548
548
|
ref_key: "heatmapChart",
|
|
549
|
-
ref:
|
|
549
|
+
ref: S,
|
|
550
550
|
class: ce(`vue-data-ui-component vue-ui-heatmap ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
551
551
|
style: w(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
|
|
552
552
|
id: `heatmap__${M.value}`,
|
|
@@ -559,7 +559,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
559
559
|
backgroundColor: e.value.style.backgroundColor,
|
|
560
560
|
color: e.value.style.color,
|
|
561
561
|
active: me.value,
|
|
562
|
-
onClose:
|
|
562
|
+
onClose: Ne
|
|
563
563
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
564
564
|
_t.value ? (u(), n("div", {
|
|
565
565
|
key: 1,
|
|
@@ -607,7 +607,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
607
607
|
isFullscreen: G.value,
|
|
608
608
|
isTooltip: $.value.showTooltip,
|
|
609
609
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
610
|
-
chartElement:
|
|
610
|
+
chartElement: S.value,
|
|
611
611
|
position: e.value.userOptions.position,
|
|
612
612
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
613
613
|
isAnnotation: me.value,
|
|
@@ -616,12 +616,12 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
616
616
|
tableDialog: e.value.table.useDialog,
|
|
617
617
|
onToggleFullscreen: ut,
|
|
618
618
|
onGeneratePdf: i(et),
|
|
619
|
-
onGenerateCsv:
|
|
619
|
+
onGenerateCsv: De,
|
|
620
620
|
onGenerateImage: i(tt),
|
|
621
621
|
onGenerateSvg: ct,
|
|
622
622
|
onToggleTable: it,
|
|
623
623
|
onToggleTooltip: nt,
|
|
624
|
-
onToggleAnnotator:
|
|
624
|
+
onToggleAnnotator: Ne,
|
|
625
625
|
style: w({
|
|
626
626
|
visibility: i(Ke) ? i(Oe) ? "visible" : "hidden" : "visible"
|
|
627
627
|
})
|
|
@@ -629,56 +629,56 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
629
629
|
t.$slots.menuIcon ? {
|
|
630
630
|
name: "menuIcon",
|
|
631
631
|
fn: z(({ isOpen: a, color: s }) => [
|
|
632
|
-
|
|
632
|
+
L(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: s })), void 0, !0)
|
|
633
633
|
]),
|
|
634
634
|
key: "0"
|
|
635
635
|
} : void 0,
|
|
636
636
|
t.$slots.optionTooltip ? {
|
|
637
637
|
name: "optionTooltip",
|
|
638
638
|
fn: z(() => [
|
|
639
|
-
|
|
639
|
+
L(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
640
640
|
]),
|
|
641
641
|
key: "1"
|
|
642
642
|
} : void 0,
|
|
643
643
|
t.$slots.optionPdf ? {
|
|
644
644
|
name: "optionPdf",
|
|
645
645
|
fn: z(() => [
|
|
646
|
-
|
|
646
|
+
L(t.$slots, "optionPdf", {}, void 0, !0)
|
|
647
647
|
]),
|
|
648
648
|
key: "2"
|
|
649
649
|
} : void 0,
|
|
650
650
|
t.$slots.optionCsv ? {
|
|
651
651
|
name: "optionCsv",
|
|
652
652
|
fn: z(() => [
|
|
653
|
-
|
|
653
|
+
L(t.$slots, "optionCsv", {}, void 0, !0)
|
|
654
654
|
]),
|
|
655
655
|
key: "3"
|
|
656
656
|
} : void 0,
|
|
657
657
|
t.$slots.optionImg ? {
|
|
658
658
|
name: "optionImg",
|
|
659
659
|
fn: z(() => [
|
|
660
|
-
|
|
660
|
+
L(t.$slots, "optionImg", {}, void 0, !0)
|
|
661
661
|
]),
|
|
662
662
|
key: "4"
|
|
663
663
|
} : void 0,
|
|
664
664
|
t.$slots.optionTable ? {
|
|
665
665
|
name: "optionTable",
|
|
666
666
|
fn: z(() => [
|
|
667
|
-
|
|
667
|
+
L(t.$slots, "optionTable", {}, void 0, !0)
|
|
668
668
|
]),
|
|
669
669
|
key: "5"
|
|
670
670
|
} : void 0,
|
|
671
671
|
t.$slots.optionFullscreen ? {
|
|
672
672
|
name: "optionFullscreen",
|
|
673
673
|
fn: z(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
674
|
-
|
|
674
|
+
L(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
675
675
|
]),
|
|
676
676
|
key: "6"
|
|
677
677
|
} : void 0,
|
|
678
678
|
t.$slots.optionAnnotator ? {
|
|
679
679
|
name: "optionAnnotator",
|
|
680
680
|
fn: z(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
681
|
-
|
|
681
|
+
L(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
682
682
|
]),
|
|
683
683
|
key: "7"
|
|
684
684
|
} : void 0
|
|
@@ -712,7 +712,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
712
712
|
pointerEvents: "none"
|
|
713
713
|
}
|
|
714
714
|
}, [
|
|
715
|
-
|
|
715
|
+
L(t.$slots, "chart-background", {}, void 0, !0)
|
|
716
716
|
], 8, Ol)) : f("", !0),
|
|
717
717
|
e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
|
|
718
718
|
key: 1,
|
|
@@ -764,7 +764,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
764
764
|
onMouseover: (x) => Xt(v, s, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * s),
|
|
765
765
|
onMouseout: () => It({ datapoint: v, seriesIndex: s }),
|
|
766
766
|
onClick: () => Et(v, s)
|
|
767
|
-
}, null, 40,
|
|
767
|
+
}, null, 40, Dl),
|
|
768
768
|
e.value.style.layout.cells.value.show ? ft((u(), n("text", {
|
|
769
769
|
key: 0,
|
|
770
770
|
"text-anchor": "middle",
|
|
@@ -775,7 +775,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
775
775
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
776
776
|
style: { pointerEvents: "none", userSelect: "none" }
|
|
777
777
|
}, [
|
|
778
|
-
Ve(
|
|
778
|
+
Ve(T(i(B)(
|
|
779
779
|
e.value.style.layout.cells.value.formatter,
|
|
780
780
|
v.value,
|
|
781
781
|
i(H)({
|
|
@@ -786,17 +786,17 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
786
786
|
}),
|
|
787
787
|
{ datapoint: v }
|
|
788
788
|
)), 1)
|
|
789
|
-
], 8,
|
|
789
|
+
], 8, Nl)), [
|
|
790
790
|
[i(_l), {
|
|
791
791
|
cellWidth: l.value.cellSize.width - r.value,
|
|
792
792
|
cellHeight: l.value.cellSize.height - r.value,
|
|
793
793
|
maxFontSize: e.value.style.layout.cells.value.fontSize,
|
|
794
794
|
minFontSize: 10,
|
|
795
|
-
index: s *
|
|
795
|
+
index: s * D.value + c,
|
|
796
796
|
reportHide: Pt,
|
|
797
|
-
reportRotation:
|
|
797
|
+
reportRotation: Nt,
|
|
798
798
|
hideAll: Ht.value,
|
|
799
|
-
rotateAll:
|
|
799
|
+
rotateAll: Dt.value
|
|
800
800
|
}]
|
|
801
801
|
]) : f("", !0)
|
|
802
802
|
]))), 256))
|
|
@@ -842,7 +842,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
842
842
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
843
843
|
"text-anchor": "end",
|
|
844
844
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
845
|
-
},
|
|
845
|
+
}, T(g.value.yLabels[s]), 9, Xl),
|
|
846
846
|
e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
|
|
847
847
|
key: 0,
|
|
848
848
|
class: "vue-ui-heatmap-row-total",
|
|
@@ -852,7 +852,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
852
852
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
853
853
|
"text-anchor": "end",
|
|
854
854
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
855
|
-
},
|
|
855
|
+
}, T(Vt(s)), 9, Il)) : f("", !0)
|
|
856
856
|
], 64))), 256))
|
|
857
857
|
], 512)) : f("", !0),
|
|
858
858
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
|
|
@@ -869,7 +869,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
869
869
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
870
870
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
871
871
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / g.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
872
|
-
},
|
|
872
|
+
}, T(a), 9, Vl)) : f("", !0)
|
|
873
873
|
], 64))), 256))
|
|
874
874
|
], 512)) : f("", !0),
|
|
875
875
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
|
|
@@ -884,7 +884,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
884
884
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
885
885
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
886
886
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / g.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + l.value.sumCellXHeight}, ${l.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
887
|
-
},
|
|
887
|
+
}, T(Bt(s)), 9, Bl))), 256))
|
|
888
888
|
], 512)) : f("", !0),
|
|
889
889
|
se.value ? (u(), n("g", El, [
|
|
890
890
|
p("rect", {
|
|
@@ -899,7 +899,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
899
899
|
rx: 1
|
|
900
900
|
}, null, 8, Ul)
|
|
901
901
|
])) : f("", !0),
|
|
902
|
-
|
|
902
|
+
L(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
903
903
|
], 14, $l)),
|
|
904
904
|
e.value.style.legend.show ? (u(), n("div", {
|
|
905
905
|
key: 0,
|
|
@@ -917,7 +917,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
917
917
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
918
918
|
color: e.value.style.legend.color
|
|
919
919
|
})
|
|
920
|
-
},
|
|
920
|
+
}, T(i(B)(
|
|
921
921
|
e.value.style.layout.cells.value.formatter,
|
|
922
922
|
i(E)(V.value),
|
|
923
923
|
i(H)({
|
|
@@ -960,7 +960,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
960
960
|
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
961
961
|
})
|
|
962
962
|
}, [
|
|
963
|
-
p("div", Wl,
|
|
963
|
+
p("div", Wl, T(i(B)(
|
|
964
964
|
e.value.style.layout.cells.value.formatter,
|
|
965
965
|
i(E)(R.value),
|
|
966
966
|
i(H)({
|
|
@@ -982,7 +982,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
982
982
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
983
983
|
color: e.value.style.legend.color
|
|
984
984
|
})
|
|
985
|
-
},
|
|
985
|
+
}, T(i(B)(
|
|
986
986
|
e.value.style.layout.cells.value.formatter,
|
|
987
987
|
i(E)(ve.value),
|
|
988
988
|
i(H)({
|
|
@@ -995,7 +995,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
995
995
|
], 4)) : f("", !0)
|
|
996
996
|
], 2),
|
|
997
997
|
t.$slots.watermark ? (u(), n("div", jl, [
|
|
998
|
-
|
|
998
|
+
L(t.$slots, "watermark", Z(ee({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
|
|
999
999
|
])) : f("", !0),
|
|
1000
1000
|
t.$slots.source ? (u(), n("div", {
|
|
1001
1001
|
key: 5,
|
|
@@ -1003,7 +1003,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1003
1003
|
ref: qe,
|
|
1004
1004
|
dir: "auto"
|
|
1005
1005
|
}, [
|
|
1006
|
-
|
|
1006
|
+
L(t.$slots, "source", {}, void 0, !0)
|
|
1007
1007
|
], 512)) : f("", !0),
|
|
1008
1008
|
ke(i(W), {
|
|
1009
1009
|
show: $.value.showTooltip && ae.value,
|
|
@@ -1016,7 +1016,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1016
1016
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
1017
1017
|
position: e.value.style.tooltip.position,
|
|
1018
1018
|
offsetY: e.value.style.tooltip.offsetY,
|
|
1019
|
-
parent:
|
|
1019
|
+
parent: S.value,
|
|
1020
1020
|
content: q.value,
|
|
1021
1021
|
isFullscreen: G.value,
|
|
1022
1022
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
@@ -1026,10 +1026,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1026
1026
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1027
1027
|
}, {
|
|
1028
1028
|
"tooltip-before": z(() => [
|
|
1029
|
-
|
|
1029
|
+
L(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
|
|
1030
1030
|
]),
|
|
1031
1031
|
"tooltip-after": z(() => [
|
|
1032
|
-
|
|
1032
|
+
L(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
|
|
1033
1033
|
]),
|
|
1034
1034
|
_: 3
|
|
1035
1035
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -1068,8 +1068,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1068
1068
|
key: 0,
|
|
1069
1069
|
style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1070
1070
|
}, [
|
|
1071
|
-
Ve(
|
|
1072
|
-
e.value.style.title.subtitle.text ? (u(), n("span", Kl,
|
|
1071
|
+
Ve(T(e.value.style.title.text) + " ", 1),
|
|
1072
|
+
e.value.style.title.subtitle.text ? (u(), n("span", Kl, T(e.value.style.title.subtitle.text), 1)) : f("", !0)
|
|
1073
1073
|
], 4)),
|
|
1074
1074
|
p("thead", null, [
|
|
1075
1075
|
p("tr", {
|
|
@@ -1082,7 +1082,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1082
1082
|
(u(!0), n(C, null, F(b.dataset, (a, s) => (u(), n("th", {
|
|
1083
1083
|
align: "right",
|
|
1084
1084
|
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1085
|
-
},
|
|
1085
|
+
}, T(a.name), 5))), 256))
|
|
1086
1086
|
], 4)
|
|
1087
1087
|
]),
|
|
1088
1088
|
p("tbody", null, [
|
|
@@ -1096,14 +1096,14 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1096
1096
|
class: "vue-ui-data-table__tbody__td",
|
|
1097
1097
|
style: w(`outline:${e.value.table.td.outline}`)
|
|
1098
1098
|
}, [
|
|
1099
|
-
p("div", Ql,
|
|
1099
|
+
p("div", Ql, T(a), 1)
|
|
1100
1100
|
], 12, Jl),
|
|
1101
1101
|
(u(!0), n(C, null, F(b.dataset, (v, c) => (u(), n("td", {
|
|
1102
1102
|
class: "vue-ui-data-table__tbody__td",
|
|
1103
1103
|
"data-cell": b.dataset[c].name,
|
|
1104
1104
|
style: w(`outline:${e.value.table.td.outline}`)
|
|
1105
1105
|
}, [
|
|
1106
|
-
p("div", ea,
|
|
1106
|
+
p("div", ea, T(isNaN(v.values[s]) ? "-" : i(H)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[s], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
1107
1107
|
], 12, Zl))), 256))
|
|
1108
1108
|
], 6))), 256))
|
|
1109
1109
|
])
|
|
@@ -1116,7 +1116,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1116
1116
|
e.value.table.useDialog ? {
|
|
1117
1117
|
name: "title",
|
|
1118
1118
|
fn: z(() => [
|
|
1119
|
-
Ve(
|
|
1119
|
+
Ve(T(xe.value.title), 1)
|
|
1120
1120
|
]),
|
|
1121
1121
|
key: "0"
|
|
1122
1122
|
} : void 0,
|
|
@@ -1126,7 +1126,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1126
1126
|
p("button", {
|
|
1127
1127
|
tabindex: "0",
|
|
1128
1128
|
class: "vue-ui-user-options-button",
|
|
1129
|
-
onClick: o[0] || (o[0] = (a) =>
|
|
1129
|
+
onClick: o[0] || (o[0] = (a) => De(e.value.userOptions.callbacks.csv))
|
|
1130
1130
|
}, [
|
|
1131
1131
|
ke(i(te), {
|
|
1132
1132
|
name: "excel",
|
|
@@ -1140,7 +1140,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
|
|
|
1140
1140
|
i(pe) ? (u(), de(bl, { key: 7 })) : f("", !0)
|
|
1141
1141
|
], 46, zl));
|
|
1142
1142
|
}
|
|
1143
|
-
}, ma = /* @__PURE__ */ Sl(ta, [["__scopeId", "data-v-
|
|
1143
|
+
}, ma = /* @__PURE__ */ Sl(ta, [["__scopeId", "data-v-8725d53b"]]);
|
|
1144
1144
|
export {
|
|
1145
1145
|
ma as default
|
|
1146
1146
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as N, ref as v, shallowRef as He, computed as h, onMounted as Dt, onBeforeUnmount as Ft, toRefs as Xt, watch as K, watchEffect as Bt, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as S, normalizeClass as D, renderSlot as p, createBlock as I, createCommentVNode as d, createElementVNode as _, createVNode as fe, createSlots as We, withCtx as g, normalizeProps as B, guardReactiveProps as R, Fragment as m, renderList as b, toDisplayString as T, Teleport as Rt, resolveDynamicComponent as Yt, mergeProps as Et, createTextVNode as je, nextTick as Ht } from "vue";
|
|
2
|
-
import { c as Ue, o as Ge, f as Ve, g as Wt, t as jt, e as Ut, h as Gt, p as Q, C as qe, a as Y, d as E, X as Vt, m as qt, r as Zt, L as Jt, E as Kt, D as F, b as Qt, B as ee, x as el, y as tl, z as ll } from "./lib-
|
|
2
|
+
import { c as Ue, o as Ge, f as Ve, g as Wt, t as jt, e as Ut, h as Gt, p as Q, C as qe, a as Y, d as E, X as Vt, m as qt, r as Zt, L as Jt, E as Kt, D as F, b as Qt, B as ee, x as el, y as tl, z as ll } from "./lib-CEjkWSLj.js";
|
|
3
3
|
import { t as Ze, u as al } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as sl, a as Je } from "./useNestedProp-
|
|
4
|
+
import { u as sl, a as Je } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
5
|
import { u as ol, B as rl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as nl } from "./usePrinter-
|
|
7
|
-
import { u as ul } from "./useSvgExport-
|
|
6
|
+
import { u as nl } from "./usePrinter-DJ1iH-F_.js";
|
|
7
|
+
import { u as ul } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as cl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { u as vl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
-
import hl from "./img-
|
|
12
|
-
import dl from "./Title-
|
|
11
|
+
import hl from "./img-J2dLIr8Y.js";
|
|
12
|
+
import dl from "./Title-Camz1Lce.js";
|
|
13
13
|
import { t as yl } from "./themes-Dw-dDudK.js";
|
|
14
|
-
import fl from "./Legend-
|
|
14
|
+
import fl from "./Legend-By4rru90.js";
|
|
15
15
|
import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "width", "height"], kl = { key: 1 }, wl = ["id"], Cl = ["stop-color"], Al = ["stop-color"], _l = ["stop-color"], Sl = { key: 2 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $l = { key: 3 }, Tl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Ml = ["x", "y", "fill", "font-size"], zl = ["transform", "font-size", "fill", "font-weight"], Ol = { key: 6 }, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = { key: 7 }, Pl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Dl = ["transform", "fill", "font-size", "text-anchor"], Fl = ["x", "y", "font-size", "fill", "font-weight"], Xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["d", "stroke", "stroke-width"], Yl = ["d", "stroke", "stroke-width"], El = ["cx", "cy", "fill", "r"], Hl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Wl = { key: 1 }, jl = ["x", "y", "font-size", "fill", "font-weight"], Ul = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Gl = { key: 2 }, Vl = ["x", "y", "font-size", "font-weight", "fill"], ql = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Zl = {
|
|
17
17
|
key: 4,
|
|
@@ -34,7 +34,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
36
|
setup(Ke, { expose: Qe, emit: et }) {
|
|
37
|
-
const tt = N(() => import("./Tooltip-
|
|
37
|
+
const tt = N(() => import("./Tooltip-VOcQEHa4.js")), lt = N(() => import("./BaseIcon-eZbszQrv.js")), at = N(() => import("./vue-ui-accordion-VTP418mC.js")), st = N(() => import("./DataTable-yAMEyP6y.js")), ot = N(() => import("./PenAndPaper-Bo-lMUik.js")), rt = N(() => import("./UserOptions-CSja1SGU.js")), nt = N(() => import("./PackageVersion-BfykJm_B.js")), ut = N(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_history_plot: it } = sl(), y = Ke, L = v(null), xe = v(null), pe = v(0), ge = v(null), me = v(0), be = v(0), ke = v(0), M = He(null), X = He(null), we = v(null), $ = v(Ue()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), Ce = v(null), Ae = v(!1), j = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = h({
|
|
38
38
|
get: () => !!y.dataset && y.dataset.length,
|
|
39
39
|
set: (t) => t
|
|
40
40
|
}), _e = et;
|