vue-data-ui 3.3.2 → 3.4.0
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-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.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-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineAsyncComponent as N, ref as v, shallowRef as He, computed as h, onMounted as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import hl from "./img-
|
|
12
|
-
import dl from "./Title-
|
|
1
|
+
import { defineAsyncComponent as N, ref as v, shallowRef as He, computed as h, onMounted as Ft, onBeforeUnmount as Dt, toRefs as Xt, watch as Z, watchEffect as Rt, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as S, normalizeClass as F, renderSlot as p, createBlock as I, createCommentVNode as d, createElementVNode as _, createVNode as fe, createSlots as We, withCtx as g, normalizeProps as R, guardReactiveProps as B, Fragment as m, renderList as b, toDisplayString as T, Teleport as Bt, resolveDynamicComponent as Yt, mergeProps as Et, createTextVNode as Ue, nextTick as Ht } from "vue";
|
|
2
|
+
import { c as je, o as Ge, f as Ve, g as Wt, t as Ut, e as jt, h as Gt, p as K, m as qe, a as Y, d as E, X as Vt, S as qt, U as Jt, M as Qt, J as Zt, R as D, b as Kt, O as ee, P as el, Q as tl, G as ll } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { t as Je, u as al } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as sl, a as Qe } from "./useNestedProp-B7CiTRDS.js";
|
|
5
|
+
import { u as ol, B as rl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as nl } from "./usePrinter-C1GiglOH.js";
|
|
7
|
+
import { u as ul } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as cl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as vl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
+
import hl from "./img-CFY3JivG.js";
|
|
12
|
+
import dl from "./Title-CFmv95In.js";
|
|
13
13
|
import { t as yl } from "./themes-Dw-dDudK.js";
|
|
14
|
-
import fl from "./Legend-
|
|
14
|
+
import fl from "./Legend-C8u37J42.js";
|
|
15
15
|
import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
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"],
|
|
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"], Fl = ["transform", "fill", "font-size", "text-anchor"], Dl = ["x", "y", "font-size", "fill", "font-weight"], Xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["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 }, Ul = ["x", "y", "font-size", "fill", "font-weight"], jl = ["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"], Jl = {
|
|
17
17
|
key: 4,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Ql = ["id"], Zl = ["onClick"], Kl = ["innerHTML"], ea = {
|
|
20
20
|
__name: "vue-ui-history-plot",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -33,12 +33,12 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
|
-
setup(
|
|
37
|
-
const tt = N(() => import("./Tooltip-
|
|
36
|
+
setup(Ze, { expose: Ke, emit: et }) {
|
|
37
|
+
const tt = N(() => import("./Tooltip-Cs4v8OnI.js")), lt = N(() => import("./BaseIcon-B5KaGWWC.js")), at = N(() => import("./vue-ui-accordion-BKkTS12x.js")), st = N(() => import("./DataTable-DOx3zgih.js")), ot = N(() => import("./PenAndPaper-Dj2diYr0.js")), rt = N(() => import("./UserOptions-C0YT60JN.js")), nt = N(() => import("./PackageVersion-DyDViSOy.js")), ut = N(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_history_plot: it } = sl(), y = Ze, 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(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), Ce = v(null), Ae = v(!1), U = 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;
|
|
41
|
-
|
|
41
|
+
Ft(() => {
|
|
42
42
|
Ae.value = !0, Le();
|
|
43
43
|
});
|
|
44
44
|
const Se = h(() => !!e.value.debug);
|
|
@@ -48,7 +48,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
48
48
|
type: "dataset",
|
|
49
49
|
debug: Se.value
|
|
50
50
|
}), ue.value = !0) : y.dataset.forEach((t, a) => {
|
|
51
|
-
|
|
51
|
+
Wt({
|
|
52
52
|
datasetObject: t,
|
|
53
53
|
requiredAttributes: ["name", "values"]
|
|
54
54
|
}).forEach((l) => {
|
|
@@ -61,8 +61,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
63
|
}), Ge(y.dataset) || (ue.value = e.value.loading), e.value.responsive) {
|
|
64
|
-
const t =
|
|
65
|
-
const { width: a, height: l } =
|
|
64
|
+
const t = Je(() => {
|
|
65
|
+
const { width: a, height: l } = al({
|
|
66
66
|
chart: L.value,
|
|
67
67
|
title: e.value.style.chart.title.text ? xe.value : null,
|
|
68
68
|
noTitle: we.value,
|
|
@@ -70,43 +70,43 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
70
70
|
source: Ce.value
|
|
71
71
|
});
|
|
72
72
|
requestAnimationFrame(() => {
|
|
73
|
-
f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots =
|
|
73
|
+
f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = D({
|
|
74
74
|
relator: Math.min(a, l),
|
|
75
75
|
adjuster: 600,
|
|
76
76
|
source: e.value.style.chart.plots.radius,
|
|
77
77
|
threshold: 3,
|
|
78
78
|
fallback: 3
|
|
79
|
-
}), n.value.indexLabels =
|
|
79
|
+
}), n.value.indexLabels = D({
|
|
80
80
|
relator: Math.min(a, l),
|
|
81
81
|
adjuster: 600,
|
|
82
82
|
source: e.value.style.chart.plots.indexLabels.fontSize,
|
|
83
83
|
threshold: 6,
|
|
84
84
|
fallback: 6
|
|
85
|
-
}), n.value.labels =
|
|
85
|
+
}), n.value.labels = D({
|
|
86
86
|
relator: Math.min(a, l),
|
|
87
87
|
adjuster: 600,
|
|
88
88
|
source: e.value.style.chart.plots.labels.fontSize,
|
|
89
89
|
threshold: 6,
|
|
90
90
|
fallback: 6
|
|
91
|
-
}), n.value.xAxisLabels =
|
|
91
|
+
}), n.value.xAxisLabels = D({
|
|
92
92
|
relator: Math.min(a, l),
|
|
93
93
|
adjuster: 600,
|
|
94
94
|
source: e.value.style.chart.axes.x.labels.fontSize,
|
|
95
95
|
threshold: 6,
|
|
96
96
|
fallback: 6
|
|
97
|
-
}), n.value.xAxisName =
|
|
97
|
+
}), n.value.xAxisName = D({
|
|
98
98
|
relator: Math.min(a, l),
|
|
99
99
|
adjuster: 600,
|
|
100
100
|
source: e.value.style.chart.axes.x.name.fontSize,
|
|
101
101
|
threshold: 6,
|
|
102
102
|
fallback: 6
|
|
103
|
-
}), n.value.yAxisLabels =
|
|
103
|
+
}), n.value.yAxisLabels = D({
|
|
104
104
|
relator: Math.min(a, l),
|
|
105
105
|
adjuster: 600,
|
|
106
106
|
source: e.value.style.chart.axes.y.labels.fontSize,
|
|
107
107
|
threshold: 6,
|
|
108
108
|
fallback: 6
|
|
109
|
-
}), n.value.yAxisName =
|
|
109
|
+
}), n.value.yAxisName = D({
|
|
110
110
|
relator: Math.min(a, l),
|
|
111
111
|
adjuster: 600,
|
|
112
112
|
source: e.value.style.chart.axes.y.name.fontSize,
|
|
@@ -118,24 +118,24 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
118
118
|
M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = L.value.parentNode, M.value.observe(X.value);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
Dt(() => {
|
|
122
122
|
M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
|
|
123
123
|
});
|
|
124
124
|
function ne() {
|
|
125
|
-
const t =
|
|
125
|
+
const t = Qe({
|
|
126
126
|
userConfig: y.config,
|
|
127
127
|
defaultConfig: it
|
|
128
128
|
});
|
|
129
129
|
let a = {};
|
|
130
130
|
return t.theme ? a = {
|
|
131
|
-
...
|
|
131
|
+
...Qe({
|
|
132
132
|
userConfig: yl.vue_ui_history_plot[t.theme] || y.config,
|
|
133
133
|
defaultConfig: t
|
|
134
134
|
}),
|
|
135
|
-
customPalette: Kt[t.theme] ||
|
|
135
|
+
customPalette: Kt[t.theme] || K
|
|
136
136
|
} : a = t, y.config && ee(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && ee(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && ee(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && ee(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
137
137
|
}
|
|
138
|
-
const e = v(ne()), { loading: z, FINAL_DATASET: ct, manualLoading: ue } =
|
|
138
|
+
const e = v(ne()), { loading: z, FINAL_DATASET: ct, manualLoading: ue } = ol({
|
|
139
139
|
...Xt(y),
|
|
140
140
|
FINAL_CONFIG: e,
|
|
141
141
|
prepareConfig: ne,
|
|
@@ -151,7 +151,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
151
151
|
]
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
|
-
skeletonConfig:
|
|
154
|
+
skeletonConfig: Ut({
|
|
155
155
|
defaultConfig: e.value,
|
|
156
156
|
userConfig: {
|
|
157
157
|
userOptions: { show: !1 },
|
|
@@ -203,13 +203,13 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
})
|
|
206
|
-
}), { userOptionsVisible: ie, setUserOptionsVisibility: $e, keepUserOptionState: Te } =
|
|
207
|
-
|
|
206
|
+
}), { userOptionsVisible: ie, setUserOptionsVisibility: $e, keepUserOptionState: Te } = il({ config: e.value }), { svgRef: ce } = cl({ config: e.value.style.chart.title });
|
|
207
|
+
Z(() => y.config, (t) => {
|
|
208
208
|
z.value || (e.value = ne()), ie.value = !e.value.userOptions.showOnChartHover, Le(), pe.value += 1, be.value += 1, me.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
209
|
-
}, { deep: !0 }),
|
|
209
|
+
}, { deep: !0 }), Z(() => y.dataset, (t) => {
|
|
210
210
|
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
211
211
|
}, { deep: !0 });
|
|
212
|
-
const { isPrinting: Me, isImaging: ze, generatePdf: Oe, generateImage: Ne } =
|
|
212
|
+
const { isPrinting: Me, isImaging: ze, generatePdf: Oe, generateImage: Ne } = nl({
|
|
213
213
|
elementId: `history_plot_${$.value}`,
|
|
214
214
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
|
|
215
215
|
options: e.value.userOptions.print
|
|
@@ -217,7 +217,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
217
217
|
showTable: e.value.table.show,
|
|
218
218
|
showTooltip: e.value.style.chart.tooltip.show
|
|
219
219
|
});
|
|
220
|
-
|
|
220
|
+
Z(e, () => {
|
|
221
221
|
C.value = {
|
|
222
222
|
showTable: e.value.table.show,
|
|
223
223
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -236,10 +236,17 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
236
236
|
const a = oe.value ? oe.value.getBoundingClientRect().width : 0;
|
|
237
237
|
return t + a + (a ? 24 : 0);
|
|
238
238
|
}
|
|
239
|
-
const Ie = v(0), xt =
|
|
239
|
+
const Ie = v(0), xt = Je((t) => {
|
|
240
240
|
Ie.value = t;
|
|
241
241
|
});
|
|
242
|
-
|
|
242
|
+
Rt((t) => {
|
|
243
|
+
const a = G.value;
|
|
244
|
+
if (!a) return;
|
|
245
|
+
const l = new ResizeObserver((u) => {
|
|
246
|
+
xt(u[0].contentRect.height);
|
|
247
|
+
});
|
|
248
|
+
l.observe(a), t(() => l.disconnect());
|
|
249
|
+
});
|
|
243
250
|
const Pe = h(() => {
|
|
244
251
|
let t = 0;
|
|
245
252
|
se.value && (t = se.value.getBBox().height + n.value.xAxisName / 2);
|
|
@@ -265,7 +272,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
265
272
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
266
273
|
}), O = h(() => ct.value.map((t, a) => ({
|
|
267
274
|
...t,
|
|
268
|
-
color: t.color ?
|
|
275
|
+
color: t.color ? Gt(t.color) : ht.value[a] || K[a] || K[a % K.length],
|
|
269
276
|
seriesIndex: a
|
|
270
277
|
}))), pt = h(() => Math.max(...O.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), gt = h(() => {
|
|
271
278
|
const t = Math.min(...O.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
@@ -317,7 +324,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
317
324
|
y: wt(s.y),
|
|
318
325
|
color: t.color,
|
|
319
326
|
seriesName: t.name,
|
|
320
|
-
id:
|
|
327
|
+
id: je()
|
|
321
328
|
})), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
|
|
322
329
|
return {
|
|
323
330
|
...t,
|
|
@@ -325,13 +332,13 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
325
332
|
path: `M${u}`
|
|
326
333
|
};
|
|
327
334
|
}));
|
|
328
|
-
function
|
|
335
|
+
function Fe(t) {
|
|
329
336
|
w.value.includes(t) ? w.value = w.value.filter((a) => a !== t) : w.value.push(t);
|
|
330
337
|
}
|
|
331
338
|
const ve = h(() => O.value.map((t) => ({
|
|
332
339
|
...t,
|
|
333
340
|
opacity: w.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
334
|
-
segregate: () =>
|
|
341
|
+
segregate: () => Fe(t.seriesIndex),
|
|
335
342
|
isSegregated: w.value.includes(t.seriesIndex),
|
|
336
343
|
shape: "circle"
|
|
337
344
|
}))), Ct = h(() => ({
|
|
@@ -345,7 +352,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
345
352
|
function At({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
346
353
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), _e("selectDatapoint", t);
|
|
347
354
|
}
|
|
348
|
-
function
|
|
355
|
+
function De(t) {
|
|
349
356
|
_e("selectLegend", {
|
|
350
357
|
...t,
|
|
351
358
|
isSegregated: !t.isSegregated,
|
|
@@ -362,7 +369,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
362
369
|
function St({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
363
370
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), he.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: O.value }, A.value = t;
|
|
364
371
|
const u = e.value.style.chart.tooltip.customFormat;
|
|
365
|
-
if (W.value = !1,
|
|
372
|
+
if (W.value = !1, ll(u))
|
|
366
373
|
try {
|
|
367
374
|
const s = u({
|
|
368
375
|
seriesIndex: l,
|
|
@@ -456,36 +463,36 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
456
463
|
};
|
|
457
464
|
});
|
|
458
465
|
function de(t = null) {
|
|
459
|
-
|
|
466
|
+
Ht(() => {
|
|
460
467
|
const a = [
|
|
461
468
|
[e.value.table.columnNames.series],
|
|
462
469
|
[e.value.table.columnNames.datapoint],
|
|
463
470
|
[e.value.table.columnNames.x],
|
|
464
471
|
[e.value.table.columnNames.y]
|
|
465
|
-
], l = P.value.flatMap((k) => k.plots.map((
|
|
466
|
-
[
|
|
467
|
-
[
|
|
468
|
-
[
|
|
469
|
-
[
|
|
472
|
+
], l = P.value.flatMap((k) => k.plots.map((Q) => [
|
|
473
|
+
[Q.seriesName],
|
|
474
|
+
[Q.label],
|
|
475
|
+
[Q.valueX],
|
|
476
|
+
[Q.valueY]
|
|
470
477
|
])), u = [
|
|
471
478
|
[e.value.style.chart.title.text],
|
|
472
479
|
[e.value.style.chart.title.subtitle.text],
|
|
473
480
|
a
|
|
474
|
-
].concat(l), s =
|
|
475
|
-
t ? t(s) :
|
|
481
|
+
].concat(l), s = el(u);
|
|
482
|
+
t ? t(s) : tl({
|
|
476
483
|
csvContent: s,
|
|
477
484
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
478
485
|
});
|
|
479
486
|
});
|
|
480
487
|
}
|
|
481
|
-
const
|
|
488
|
+
const J = v(!1);
|
|
482
489
|
function ye() {
|
|
483
|
-
|
|
490
|
+
J.value = !J.value;
|
|
484
491
|
}
|
|
485
|
-
function
|
|
492
|
+
function Re() {
|
|
486
493
|
C.value.showTable = !C.value.showTable;
|
|
487
494
|
}
|
|
488
|
-
function
|
|
495
|
+
function Be() {
|
|
489
496
|
C.value.showTooltip = !C.value.showTooltip;
|
|
490
497
|
}
|
|
491
498
|
function Lt() {
|
|
@@ -517,7 +524,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
517
524
|
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
518
525
|
rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
|
|
519
526
|
});
|
|
520
|
-
const
|
|
527
|
+
const j = h(() => {
|
|
521
528
|
const t = e.value.table.useDialog && !e.value.table.show, a = C.value.showTable;
|
|
522
529
|
return {
|
|
523
530
|
component: t ? ut : at,
|
|
@@ -547,13 +554,13 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
547
554
|
}
|
|
548
555
|
};
|
|
549
556
|
});
|
|
550
|
-
|
|
551
|
-
e.value.table.show || (t && e.value.table.useDialog &&
|
|
557
|
+
Z(() => C.value.showTable, (t) => {
|
|
558
|
+
e.value.table.show || (t && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
|
|
552
559
|
});
|
|
553
560
|
function Ye() {
|
|
554
561
|
C.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
|
|
555
562
|
}
|
|
556
|
-
const zt = h(() => e.value.style.chart.backgroundColor), Ot = h(() => e.value.style.chart.legend), Nt = h(() => e.value.style.chart.title), { exportSvg: It, getSvg: Pt } =
|
|
563
|
+
const zt = h(() => e.value.style.chart.backgroundColor), Ot = h(() => e.value.style.chart.legend), Nt = h(() => e.value.style.chart.title), { exportSvg: It, getSvg: Pt } = ul({
|
|
557
564
|
svg: ce,
|
|
558
565
|
title: Nt,
|
|
559
566
|
legend: Ot,
|
|
@@ -567,22 +574,22 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
567
574
|
} else
|
|
568
575
|
It();
|
|
569
576
|
}
|
|
570
|
-
return
|
|
577
|
+
return Ke({
|
|
571
578
|
getData: Lt,
|
|
572
579
|
getImage: $t,
|
|
573
580
|
generatePdf: Oe,
|
|
574
581
|
generateCsv: de,
|
|
575
582
|
generateImage: Ne,
|
|
576
583
|
generateSvg: Ee,
|
|
577
|
-
toggleTable:
|
|
578
|
-
toggleTooltip:
|
|
584
|
+
toggleTable: Re,
|
|
585
|
+
toggleTooltip: Be,
|
|
579
586
|
toggleAnnotator: ye,
|
|
580
587
|
toggleFullscreen: Xe
|
|
581
588
|
}), (t, a) => (o(), r("div", {
|
|
582
589
|
id: `history_plot_${$.value}`,
|
|
583
590
|
ref_key: "historyPlotChart",
|
|
584
591
|
ref: L,
|
|
585
|
-
class:
|
|
592
|
+
class: F({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
586
593
|
style: S(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
587
594
|
onMouseenter: a[2] || (a[2] = () => i($e)(!0)),
|
|
588
595
|
onMouseleave: a[3] || (a[3] = () => i($e)(!1))
|
|
@@ -593,7 +600,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
593
600
|
svgRef: i(ce),
|
|
594
601
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
595
602
|
color: e.value.style.chart.color,
|
|
596
|
-
active:
|
|
603
|
+
active: J.value,
|
|
597
604
|
onClose: ye
|
|
598
605
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
599
606
|
vt.value ? (o(), r("div", {
|
|
@@ -650,7 +657,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
650
657
|
isTooltip: C.value.showTooltip,
|
|
651
658
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
652
659
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
653
|
-
isAnnotation:
|
|
660
|
+
isAnnotation: J.value,
|
|
654
661
|
callbacks: e.value.userOptions.callbacks,
|
|
655
662
|
printScale: e.value.userOptions.print.scale,
|
|
656
663
|
tableDialog: e.value.table.useDialog,
|
|
@@ -659,8 +666,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
659
666
|
onGenerateCsv: de,
|
|
660
667
|
onGenerateImage: i(Ne),
|
|
661
668
|
onGenerateSvg: Ee,
|
|
662
|
-
onToggleTable:
|
|
663
|
-
onToggleTooltip:
|
|
669
|
+
onToggleTable: Re,
|
|
670
|
+
onToggleTooltip: Be,
|
|
664
671
|
onToggleAnnotator: ye,
|
|
665
672
|
style: S({
|
|
666
673
|
visibility: i(Te) ? i(ie) ? "visible" : "hidden" : "visible"
|
|
@@ -669,7 +676,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
669
676
|
t.$slots.menuIcon ? {
|
|
670
677
|
name: "menuIcon",
|
|
671
678
|
fn: g(({ isOpen: l, color: u }) => [
|
|
672
|
-
p(t.$slots, "menuIcon", B(
|
|
679
|
+
p(t.$slots, "menuIcon", R(B({ isOpen: l, color: u })), void 0, !0)
|
|
673
680
|
]),
|
|
674
681
|
key: "0"
|
|
675
682
|
} : void 0,
|
|
@@ -711,14 +718,14 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
711
718
|
t.$slots.optionFullscreen ? {
|
|
712
719
|
name: "optionFullscreen",
|
|
713
720
|
fn: g(({ toggleFullscreen: l, isFullscreen: u }) => [
|
|
714
|
-
p(t.$slots, "optionFullscreen", B(
|
|
721
|
+
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
|
|
715
722
|
]),
|
|
716
723
|
key: "6"
|
|
717
724
|
} : void 0,
|
|
718
725
|
t.$slots.optionAnnotator ? {
|
|
719
726
|
name: "optionAnnotator",
|
|
720
727
|
fn: g(({ toggleAnnotator: l, isAnnotator: u }) => [
|
|
721
|
-
p(t.$slots, "optionAnnotator", B(
|
|
728
|
+
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
|
|
722
729
|
]),
|
|
723
730
|
key: "7"
|
|
724
731
|
} : void 0
|
|
@@ -726,7 +733,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
726
733
|
(o(), r("svg", {
|
|
727
734
|
ref_key: "svgRef",
|
|
728
735
|
ref: ce,
|
|
729
|
-
xmlns: i(
|
|
736
|
+
xmlns: i(Vt),
|
|
730
737
|
viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
|
|
731
738
|
style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
732
739
|
}, [
|
|
@@ -750,11 +757,11 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
750
757
|
}, [
|
|
751
758
|
_("stop", {
|
|
752
759
|
offset: "10%",
|
|
753
|
-
"stop-color": i(
|
|
760
|
+
"stop-color": i(qt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
754
761
|
}, null, 8, Cl),
|
|
755
762
|
_("stop", {
|
|
756
763
|
offset: "90%",
|
|
757
|
-
"stop-color": i(
|
|
764
|
+
"stop-color": i(Jt)(l.color, 0.1)
|
|
758
765
|
}, null, 8, Al),
|
|
759
766
|
_("stop", {
|
|
760
767
|
offset: "100%",
|
|
@@ -858,7 +865,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
858
865
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
859
866
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
860
867
|
})
|
|
861
|
-
)), 9,
|
|
868
|
+
)), 9, Fl))), 256))
|
|
862
869
|
], 512)) : d("", !0),
|
|
863
870
|
e.value.style.chart.axes.x.name.text ? (o(), r("text", {
|
|
864
871
|
key: 9,
|
|
@@ -870,7 +877,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
870
877
|
fill: e.value.style.chart.axes.x.name.color,
|
|
871
878
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
872
879
|
"text-anchor": "middle"
|
|
873
|
-
}, T(e.value.style.chart.axes.x.name.text), 9,
|
|
880
|
+
}, T(e.value.style.chart.axes.x.name.text), 9, Dl)) : d("", !0),
|
|
874
881
|
e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
|
|
875
882
|
key: 10,
|
|
876
883
|
x1: c.value.left,
|
|
@@ -890,7 +897,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
890
897
|
stroke: e.value.style.chart.grid.yAxis.stroke,
|
|
891
898
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
892
899
|
"stroke-linecap": "round"
|
|
893
|
-
}, null, 8,
|
|
900
|
+
}, null, 8, Rl)) : d("", !0),
|
|
894
901
|
(o(!0), r(m, null, b(P.value, (l, u) => (o(), r("g", null, [
|
|
895
902
|
e.value.style.chart.paths.show ? (o(), r("g", {
|
|
896
903
|
key: 0,
|
|
@@ -905,8 +912,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
905
912
|
fill: "none",
|
|
906
913
|
"stroke-linecap": "round",
|
|
907
914
|
"stroke-linejoin": "round",
|
|
908
|
-
class:
|
|
909
|
-
}, null, 10,
|
|
915
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) })
|
|
916
|
+
}, null, 10, Bl),
|
|
910
917
|
_("path", {
|
|
911
918
|
d: l.path,
|
|
912
919
|
stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
|
|
@@ -914,7 +921,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
914
921
|
fill: "none",
|
|
915
922
|
"stroke-linecap": "round",
|
|
916
923
|
"stroke-linejoin": "round",
|
|
917
|
-
class:
|
|
924
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) })
|
|
918
925
|
}, null, 10, Yl)
|
|
919
926
|
], 4)) : d("", !0),
|
|
920
927
|
(o(!0), r(m, null, b(l.plots, (s) => (o(), r("circle", {
|
|
@@ -931,7 +938,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
931
938
|
r: n.value.plots,
|
|
932
939
|
stroke: e.value.style.chart.plots.stroke,
|
|
933
940
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
934
|
-
class:
|
|
941
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
935
942
|
style: S({
|
|
936
943
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
937
944
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -948,19 +955,19 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
948
955
|
fill: e.value.style.chart.plots.labels.color,
|
|
949
956
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
950
957
|
"text-anchor": "middle",
|
|
951
|
-
class:
|
|
958
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
952
959
|
style: S({
|
|
953
960
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
954
961
|
transition: "opacity 0.2s ease-in-out"
|
|
955
962
|
}),
|
|
956
|
-
innerHTML: i(
|
|
963
|
+
innerHTML: i(Qt)({
|
|
957
964
|
content: String(s.label),
|
|
958
965
|
fontSize: n.value.labels,
|
|
959
966
|
fill: e.value.style.chart.plots.labels.color,
|
|
960
967
|
x: s.x + e.value.style.chart.plots.labels.offsetX,
|
|
961
968
|
y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
|
|
962
969
|
})
|
|
963
|
-
}, null, 14,
|
|
970
|
+
}, null, 14, jl)) : (o(), r("text", {
|
|
964
971
|
key: 0,
|
|
965
972
|
x: s.x + e.value.style.chart.plots.labels.offsetX,
|
|
966
973
|
y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
|
|
@@ -968,12 +975,12 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
968
975
|
fill: e.value.style.chart.plots.labels.color,
|
|
969
976
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
970
977
|
"text-anchor": "middle",
|
|
971
|
-
class:
|
|
978
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
972
979
|
style: S({
|
|
973
980
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
974
981
|
transition: "opacity 0.2s ease-in-out"
|
|
975
982
|
})
|
|
976
|
-
}, T(s.label), 15,
|
|
983
|
+
}, T(s.label), 15, Ul))
|
|
977
984
|
]))), 256))
|
|
978
985
|
])) : d("", !0),
|
|
979
986
|
e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Gl, [
|
|
@@ -982,9 +989,9 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
982
989
|
y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
983
990
|
"font-size": n.value.indexLabels,
|
|
984
991
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
985
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(
|
|
992
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(Zt)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
986
993
|
"text-anchor": "middle",
|
|
987
|
-
class:
|
|
994
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
988
995
|
style: S({
|
|
989
996
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
990
997
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -1018,12 +1025,12 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1018
1025
|
]))), 256)),
|
|
1019
1026
|
p(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
1020
1027
|
], 12, ml)),
|
|
1021
|
-
t.$slots.watermark ? (o(), r("div",
|
|
1022
|
-
p(t.$slots, "watermark", B(
|
|
1028
|
+
t.$slots.watermark ? (o(), r("div", Jl, [
|
|
1029
|
+
p(t.$slots, "watermark", R(B({ isPrinting: i(Me) || i(ze) })), void 0, !0)
|
|
1023
1030
|
])) : d("", !0),
|
|
1024
1031
|
_("div", {
|
|
1025
1032
|
id: `legend-bottom-${$.value}`
|
|
1026
|
-
}, null, 8,
|
|
1033
|
+
}, null, 8, Ql),
|
|
1027
1034
|
Ae.value ? (o(), I(Bt, {
|
|
1028
1035
|
key: 5,
|
|
1029
1036
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${$.value}` : `#legend-bottom-${$.value}`
|
|
@@ -1037,16 +1044,16 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1037
1044
|
legendSet: ve.value,
|
|
1038
1045
|
config: Ct.value,
|
|
1039
1046
|
onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
|
|
1040
|
-
|
|
1047
|
+
Fe(l.seriesIndex), De(l);
|
|
1041
1048
|
})
|
|
1042
1049
|
}, {
|
|
1043
1050
|
item: g(({ legend: l, index: u }) => [
|
|
1044
1051
|
_("div", {
|
|
1045
1052
|
onClick: (s) => {
|
|
1046
|
-
l.segregate(),
|
|
1053
|
+
l.segregate(), De(l);
|
|
1047
1054
|
},
|
|
1048
1055
|
style: S(`opacity:${w.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1049
|
-
}, T(l.name), 13,
|
|
1056
|
+
}, T(l.name), 13, Zl)
|
|
1050
1057
|
]),
|
|
1051
1058
|
_: 1
|
|
1052
1059
|
}, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
@@ -1084,16 +1091,16 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1084
1091
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1085
1092
|
}, {
|
|
1086
1093
|
"tooltip-before": g(() => [
|
|
1087
|
-
p(t.$slots, "tooltip-before", B(
|
|
1094
|
+
p(t.$slots, "tooltip-before", R(B({ ...he.value })), void 0, !0)
|
|
1088
1095
|
]),
|
|
1089
1096
|
"tooltip-after": g(() => [
|
|
1090
|
-
p(t.$slots, "tooltip-after", B(
|
|
1097
|
+
p(t.$slots, "tooltip-after", R(B({ ...he.value })), void 0, !0)
|
|
1091
1098
|
]),
|
|
1092
1099
|
_: 3
|
|
1093
1100
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1094
|
-
V.value && e.value.userOptions.buttons.table ? (o(), I(
|
|
1101
|
+
V.value && e.value.userOptions.buttons.table ? (o(), I(Yt(j.value.component), Et({ key: 7 }, j.value.props, {
|
|
1095
1102
|
ref_key: "tableUnit",
|
|
1096
|
-
ref:
|
|
1103
|
+
ref: U,
|
|
1097
1104
|
onClose: Ye
|
|
1098
1105
|
}), We({
|
|
1099
1106
|
content: g(() => [
|
|
@@ -1103,7 +1110,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1103
1110
|
head: q.value.head,
|
|
1104
1111
|
body: q.value.body,
|
|
1105
1112
|
config: q.value.config,
|
|
1106
|
-
title: e.value.table.useDialog ? "" :
|
|
1113
|
+
title: e.value.table.useDialog ? "" : j.value.title,
|
|
1107
1114
|
withCloseButton: !e.value.table.useDialog,
|
|
1108
1115
|
onClose: Ye
|
|
1109
1116
|
}, {
|
|
@@ -1111,10 +1118,10 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1111
1118
|
_("div", {
|
|
1112
1119
|
innerHTML: l,
|
|
1113
1120
|
style: { display: "flex", "align-items": "center" }
|
|
1114
|
-
}, null, 8,
|
|
1121
|
+
}, null, 8, Kl)
|
|
1115
1122
|
]),
|
|
1116
1123
|
td: g(({ td: l }) => [
|
|
1117
|
-
|
|
1124
|
+
Ue(T(l.name || l), 1)
|
|
1118
1125
|
]),
|
|
1119
1126
|
_: 1
|
|
1120
1127
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1124,7 +1131,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1124
1131
|
e.value.table.useDialog ? {
|
|
1125
1132
|
name: "title",
|
|
1126
1133
|
fn: g(() => [
|
|
1127
|
-
|
|
1134
|
+
Ue(T(j.value.title), 1)
|
|
1128
1135
|
]),
|
|
1129
1136
|
key: "0"
|
|
1130
1137
|
} : void 0,
|
|
@@ -1138,17 +1145,17 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1138
1145
|
}, [
|
|
1139
1146
|
fe(i(lt), {
|
|
1140
1147
|
name: "excel",
|
|
1141
|
-
stroke:
|
|
1148
|
+
stroke: j.value.props.color
|
|
1142
1149
|
}, null, 8, ["stroke"])
|
|
1143
1150
|
])
|
|
1144
1151
|
]),
|
|
1145
1152
|
key: "1"
|
|
1146
1153
|
} : void 0
|
|
1147
1154
|
]), 1040)) : d("", !0),
|
|
1148
|
-
i(z) ? (o(), I(
|
|
1155
|
+
i(z) ? (o(), I(rl, { key: 8 })) : d("", !0)
|
|
1149
1156
|
], 46, pl));
|
|
1150
1157
|
}
|
|
1151
|
-
}, xa = /* @__PURE__ */ xl(ea, [["__scopeId", "data-v-
|
|
1158
|
+
}, xa = /* @__PURE__ */ xl(ea, [["__scopeId", "data-v-d1ad2eeb"]]);
|
|
1152
1159
|
export {
|
|
1153
1160
|
xa as default
|
|
1154
1161
|
};
|