vue-data-ui 3.3.3 → 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-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.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-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-BGzYbrts.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-BRSqhjxm.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-k3xCwZYv.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-DMPndU1O.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-BBdrkhmg.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DL5ioFH4.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-C4Uc3DRH.js} +86 -86
- package/dist/{vue-ui-radar-Csznqw19.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-B1T10gWF.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-CA4GL9dj.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-Dlp9LghX.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.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/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -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 sl, a as
|
|
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
5
|
import { u as ol, B as rl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as nl } from "./usePrinter-
|
|
6
|
+
import { u as nl } from "./usePrinter-C1GiglOH.js";
|
|
7
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-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);
|
|
@@ -61,7 +61,7 @@ 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 =
|
|
64
|
+
const t = Je(() => {
|
|
65
65
|
const { width: a, height: l } = al({
|
|
66
66
|
chart: L.value,
|
|
67
67
|
title: e.value.style.chart.title.text ? xe.value : null,
|
|
@@ -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,21 +118,21 @@ 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:
|
|
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
138
|
const e = v(ne()), { loading: z, FINAL_DATASET: ct, manualLoading: ue } = ol({
|
|
@@ -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 },
|
|
@@ -204,20 +204,20 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
204
204
|
}
|
|
205
205
|
})
|
|
206
206
|
}), { userOptionsVisible: ie, setUserOptionsVisibility: $e, keepUserOptionState: Te } = il({ config: e.value }), { svgRef: ce } = cl({ config: e.value.style.chart.title });
|
|
207
|
-
|
|
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
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
|
|
216
|
-
}), vt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = h(() =>
|
|
216
|
+
}), vt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = h(() => jt(e.value.customPalette)), C = v({
|
|
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,10 @@ 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
243
|
const a = G.value;
|
|
244
244
|
if (!a) return;
|
|
245
245
|
const l = new ResizeObserver((u) => {
|
|
@@ -272,7 +272,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
272
272
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
273
273
|
}), O = h(() => ct.value.map((t, a) => ({
|
|
274
274
|
...t,
|
|
275
|
-
color: t.color ? Gt(t.color) : ht.value[a] ||
|
|
275
|
+
color: t.color ? Gt(t.color) : ht.value[a] || K[a] || K[a % K.length],
|
|
276
276
|
seriesIndex: a
|
|
277
277
|
}))), pt = h(() => Math.max(...O.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), gt = h(() => {
|
|
278
278
|
const t = Math.min(...O.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
@@ -324,7 +324,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
324
324
|
y: wt(s.y),
|
|
325
325
|
color: t.color,
|
|
326
326
|
seriesName: t.name,
|
|
327
|
-
id:
|
|
327
|
+
id: je()
|
|
328
328
|
})), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
|
|
329
329
|
return {
|
|
330
330
|
...t,
|
|
@@ -332,13 +332,13 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
332
332
|
path: `M${u}`
|
|
333
333
|
};
|
|
334
334
|
}));
|
|
335
|
-
function
|
|
335
|
+
function Fe(t) {
|
|
336
336
|
w.value.includes(t) ? w.value = w.value.filter((a) => a !== t) : w.value.push(t);
|
|
337
337
|
}
|
|
338
338
|
const ve = h(() => O.value.map((t) => ({
|
|
339
339
|
...t,
|
|
340
340
|
opacity: w.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
341
|
-
segregate: () =>
|
|
341
|
+
segregate: () => Fe(t.seriesIndex),
|
|
342
342
|
isSegregated: w.value.includes(t.seriesIndex),
|
|
343
343
|
shape: "circle"
|
|
344
344
|
}))), Ct = h(() => ({
|
|
@@ -352,7 +352,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
352
352
|
function At({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
353
353
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), _e("selectDatapoint", t);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function De(t) {
|
|
356
356
|
_e("selectLegend", {
|
|
357
357
|
...t,
|
|
358
358
|
isSegregated: !t.isSegregated,
|
|
@@ -469,11 +469,11 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
469
469
|
[e.value.table.columnNames.datapoint],
|
|
470
470
|
[e.value.table.columnNames.x],
|
|
471
471
|
[e.value.table.columnNames.y]
|
|
472
|
-
], l = P.value.flatMap((k) => k.plots.map((
|
|
473
|
-
[
|
|
474
|
-
[
|
|
475
|
-
[
|
|
476
|
-
[
|
|
472
|
+
], l = P.value.flatMap((k) => k.plots.map((Q) => [
|
|
473
|
+
[Q.seriesName],
|
|
474
|
+
[Q.label],
|
|
475
|
+
[Q.valueX],
|
|
476
|
+
[Q.valueY]
|
|
477
477
|
])), u = [
|
|
478
478
|
[e.value.style.chart.title.text],
|
|
479
479
|
[e.value.style.chart.title.subtitle.text],
|
|
@@ -485,14 +485,14 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
485
485
|
});
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
|
-
const
|
|
488
|
+
const J = v(!1);
|
|
489
489
|
function ye() {
|
|
490
|
-
|
|
490
|
+
J.value = !J.value;
|
|
491
491
|
}
|
|
492
|
-
function
|
|
492
|
+
function Re() {
|
|
493
493
|
C.value.showTable = !C.value.showTable;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Be() {
|
|
496
496
|
C.value.showTooltip = !C.value.showTooltip;
|
|
497
497
|
}
|
|
498
498
|
function Lt() {
|
|
@@ -524,7 +524,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
524
524
|
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
525
525
|
rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
|
|
526
526
|
});
|
|
527
|
-
const
|
|
527
|
+
const j = h(() => {
|
|
528
528
|
const t = e.value.table.useDialog && !e.value.table.show, a = C.value.showTable;
|
|
529
529
|
return {
|
|
530
530
|
component: t ? ut : at,
|
|
@@ -554,8 +554,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
554
554
|
}
|
|
555
555
|
};
|
|
556
556
|
});
|
|
557
|
-
|
|
558
|
-
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());
|
|
559
559
|
});
|
|
560
560
|
function Ye() {
|
|
561
561
|
C.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
|
|
@@ -574,22 +574,22 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
574
574
|
} else
|
|
575
575
|
It();
|
|
576
576
|
}
|
|
577
|
-
return
|
|
577
|
+
return Ke({
|
|
578
578
|
getData: Lt,
|
|
579
579
|
getImage: $t,
|
|
580
580
|
generatePdf: Oe,
|
|
581
581
|
generateCsv: de,
|
|
582
582
|
generateImage: Ne,
|
|
583
583
|
generateSvg: Ee,
|
|
584
|
-
toggleTable:
|
|
585
|
-
toggleTooltip:
|
|
584
|
+
toggleTable: Re,
|
|
585
|
+
toggleTooltip: Be,
|
|
586
586
|
toggleAnnotator: ye,
|
|
587
587
|
toggleFullscreen: Xe
|
|
588
588
|
}), (t, a) => (o(), r("div", {
|
|
589
589
|
id: `history_plot_${$.value}`,
|
|
590
590
|
ref_key: "historyPlotChart",
|
|
591
591
|
ref: L,
|
|
592
|
-
class:
|
|
592
|
+
class: F({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
593
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%" : ""}`),
|
|
594
594
|
onMouseenter: a[2] || (a[2] = () => i($e)(!0)),
|
|
595
595
|
onMouseleave: a[3] || (a[3] = () => i($e)(!1))
|
|
@@ -600,7 +600,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
600
600
|
svgRef: i(ce),
|
|
601
601
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
602
602
|
color: e.value.style.chart.color,
|
|
603
|
-
active:
|
|
603
|
+
active: J.value,
|
|
604
604
|
onClose: ye
|
|
605
605
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
606
606
|
vt.value ? (o(), r("div", {
|
|
@@ -657,7 +657,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
657
657
|
isTooltip: C.value.showTooltip,
|
|
658
658
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
659
659
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
660
|
-
isAnnotation:
|
|
660
|
+
isAnnotation: J.value,
|
|
661
661
|
callbacks: e.value.userOptions.callbacks,
|
|
662
662
|
printScale: e.value.userOptions.print.scale,
|
|
663
663
|
tableDialog: e.value.table.useDialog,
|
|
@@ -666,8 +666,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
666
666
|
onGenerateCsv: de,
|
|
667
667
|
onGenerateImage: i(Ne),
|
|
668
668
|
onGenerateSvg: Ee,
|
|
669
|
-
onToggleTable:
|
|
670
|
-
onToggleTooltip:
|
|
669
|
+
onToggleTable: Re,
|
|
670
|
+
onToggleTooltip: Be,
|
|
671
671
|
onToggleAnnotator: ye,
|
|
672
672
|
style: S({
|
|
673
673
|
visibility: i(Te) ? i(ie) ? "visible" : "hidden" : "visible"
|
|
@@ -676,7 +676,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
676
676
|
t.$slots.menuIcon ? {
|
|
677
677
|
name: "menuIcon",
|
|
678
678
|
fn: g(({ isOpen: l, color: u }) => [
|
|
679
|
-
p(t.$slots, "menuIcon", B(
|
|
679
|
+
p(t.$slots, "menuIcon", R(B({ isOpen: l, color: u })), void 0, !0)
|
|
680
680
|
]),
|
|
681
681
|
key: "0"
|
|
682
682
|
} : void 0,
|
|
@@ -718,14 +718,14 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
718
718
|
t.$slots.optionFullscreen ? {
|
|
719
719
|
name: "optionFullscreen",
|
|
720
720
|
fn: g(({ toggleFullscreen: l, isFullscreen: u }) => [
|
|
721
|
-
p(t.$slots, "optionFullscreen", B(
|
|
721
|
+
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
|
|
722
722
|
]),
|
|
723
723
|
key: "6"
|
|
724
724
|
} : void 0,
|
|
725
725
|
t.$slots.optionAnnotator ? {
|
|
726
726
|
name: "optionAnnotator",
|
|
727
727
|
fn: g(({ toggleAnnotator: l, isAnnotator: u }) => [
|
|
728
|
-
p(t.$slots, "optionAnnotator", B(
|
|
728
|
+
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
|
|
729
729
|
]),
|
|
730
730
|
key: "7"
|
|
731
731
|
} : void 0
|
|
@@ -761,7 +761,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
761
761
|
}, null, 8, Cl),
|
|
762
762
|
_("stop", {
|
|
763
763
|
offset: "90%",
|
|
764
|
-
"stop-color": i(
|
|
764
|
+
"stop-color": i(Jt)(l.color, 0.1)
|
|
765
765
|
}, null, 8, Al),
|
|
766
766
|
_("stop", {
|
|
767
767
|
offset: "100%",
|
|
@@ -865,7 +865,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
865
865
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
866
866
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
867
867
|
})
|
|
868
|
-
)), 9,
|
|
868
|
+
)), 9, Fl))), 256))
|
|
869
869
|
], 512)) : d("", !0),
|
|
870
870
|
e.value.style.chart.axes.x.name.text ? (o(), r("text", {
|
|
871
871
|
key: 9,
|
|
@@ -877,7 +877,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
877
877
|
fill: e.value.style.chart.axes.x.name.color,
|
|
878
878
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
879
879
|
"text-anchor": "middle"
|
|
880
|
-
}, T(e.value.style.chart.axes.x.name.text), 9,
|
|
880
|
+
}, T(e.value.style.chart.axes.x.name.text), 9, Dl)) : d("", !0),
|
|
881
881
|
e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
|
|
882
882
|
key: 10,
|
|
883
883
|
x1: c.value.left,
|
|
@@ -897,7 +897,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
897
897
|
stroke: e.value.style.chart.grid.yAxis.stroke,
|
|
898
898
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
899
899
|
"stroke-linecap": "round"
|
|
900
|
-
}, null, 8,
|
|
900
|
+
}, null, 8, Rl)) : d("", !0),
|
|
901
901
|
(o(!0), r(m, null, b(P.value, (l, u) => (o(), r("g", null, [
|
|
902
902
|
e.value.style.chart.paths.show ? (o(), r("g", {
|
|
903
903
|
key: 0,
|
|
@@ -912,8 +912,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
912
912
|
fill: "none",
|
|
913
913
|
"stroke-linecap": "round",
|
|
914
914
|
"stroke-linejoin": "round",
|
|
915
|
-
class:
|
|
916
|
-
}, null, 10,
|
|
915
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) })
|
|
916
|
+
}, null, 10, Bl),
|
|
917
917
|
_("path", {
|
|
918
918
|
d: l.path,
|
|
919
919
|
stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
|
|
@@ -921,7 +921,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
921
921
|
fill: "none",
|
|
922
922
|
"stroke-linecap": "round",
|
|
923
923
|
"stroke-linejoin": "round",
|
|
924
|
-
class:
|
|
924
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) })
|
|
925
925
|
}, null, 10, Yl)
|
|
926
926
|
], 4)) : d("", !0),
|
|
927
927
|
(o(!0), r(m, null, b(l.plots, (s) => (o(), r("circle", {
|
|
@@ -938,7 +938,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
938
938
|
r: n.value.plots,
|
|
939
939
|
stroke: e.value.style.chart.plots.stroke,
|
|
940
940
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
941
|
-
class:
|
|
941
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
942
942
|
style: S({
|
|
943
943
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
944
944
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -955,19 +955,19 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
955
955
|
fill: e.value.style.chart.plots.labels.color,
|
|
956
956
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
957
957
|
"text-anchor": "middle",
|
|
958
|
-
class:
|
|
958
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
959
959
|
style: S({
|
|
960
960
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
961
961
|
transition: "opacity 0.2s ease-in-out"
|
|
962
962
|
}),
|
|
963
|
-
innerHTML: i(
|
|
963
|
+
innerHTML: i(Qt)({
|
|
964
964
|
content: String(s.label),
|
|
965
965
|
fontSize: n.value.labels,
|
|
966
966
|
fill: e.value.style.chart.plots.labels.color,
|
|
967
967
|
x: s.x + e.value.style.chart.plots.labels.offsetX,
|
|
968
968
|
y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
|
|
969
969
|
})
|
|
970
|
-
}, null, 14,
|
|
970
|
+
}, null, 14, jl)) : (o(), r("text", {
|
|
971
971
|
key: 0,
|
|
972
972
|
x: s.x + e.value.style.chart.plots.labels.offsetX,
|
|
973
973
|
y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
|
|
@@ -975,12 +975,12 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
975
975
|
fill: e.value.style.chart.plots.labels.color,
|
|
976
976
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
977
977
|
"text-anchor": "middle",
|
|
978
|
-
class:
|
|
978
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
979
979
|
style: S({
|
|
980
980
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
981
981
|
transition: "opacity 0.2s ease-in-out"
|
|
982
982
|
})
|
|
983
|
-
}, T(s.label), 15,
|
|
983
|
+
}, T(s.label), 15, Ul))
|
|
984
984
|
]))), 256))
|
|
985
985
|
])) : d("", !0),
|
|
986
986
|
e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Gl, [
|
|
@@ -989,9 +989,9 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
989
989
|
y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
990
990
|
"font-size": n.value.indexLabels,
|
|
991
991
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
992
|
-
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,
|
|
993
993
|
"text-anchor": "middle",
|
|
994
|
-
class:
|
|
994
|
+
class: F({ animated: e.value.useCssAnimation && !i(z) }),
|
|
995
995
|
style: S({
|
|
996
996
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
997
997
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -1025,13 +1025,13 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1025
1025
|
]))), 256)),
|
|
1026
1026
|
p(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
1027
1027
|
], 12, ml)),
|
|
1028
|
-
t.$slots.watermark ? (o(), r("div",
|
|
1029
|
-
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)
|
|
1030
1030
|
])) : d("", !0),
|
|
1031
1031
|
_("div", {
|
|
1032
1032
|
id: `legend-bottom-${$.value}`
|
|
1033
|
-
}, null, 8,
|
|
1034
|
-
Ae.value ? (o(), I(
|
|
1033
|
+
}, null, 8, Ql),
|
|
1034
|
+
Ae.value ? (o(), I(Bt, {
|
|
1035
1035
|
key: 5,
|
|
1036
1036
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${$.value}` : `#legend-bottom-${$.value}`
|
|
1037
1037
|
}, [
|
|
@@ -1044,16 +1044,16 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1044
1044
|
legendSet: ve.value,
|
|
1045
1045
|
config: Ct.value,
|
|
1046
1046
|
onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
|
|
1047
|
-
|
|
1047
|
+
Fe(l.seriesIndex), De(l);
|
|
1048
1048
|
})
|
|
1049
1049
|
}, {
|
|
1050
1050
|
item: g(({ legend: l, index: u }) => [
|
|
1051
1051
|
_("div", {
|
|
1052
1052
|
onClick: (s) => {
|
|
1053
|
-
l.segregate(),
|
|
1053
|
+
l.segregate(), De(l);
|
|
1054
1054
|
},
|
|
1055
1055
|
style: S(`opacity:${w.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1056
|
-
}, T(l.name), 13,
|
|
1056
|
+
}, T(l.name), 13, Zl)
|
|
1057
1057
|
]),
|
|
1058
1058
|
_: 1
|
|
1059
1059
|
}, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
@@ -1091,16 +1091,16 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1091
1091
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1092
1092
|
}, {
|
|
1093
1093
|
"tooltip-before": g(() => [
|
|
1094
|
-
p(t.$slots, "tooltip-before", B(
|
|
1094
|
+
p(t.$slots, "tooltip-before", R(B({ ...he.value })), void 0, !0)
|
|
1095
1095
|
]),
|
|
1096
1096
|
"tooltip-after": g(() => [
|
|
1097
|
-
p(t.$slots, "tooltip-after", B(
|
|
1097
|
+
p(t.$slots, "tooltip-after", R(B({ ...he.value })), void 0, !0)
|
|
1098
1098
|
]),
|
|
1099
1099
|
_: 3
|
|
1100
1100
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1101
|
-
V.value && e.value.userOptions.buttons.table ? (o(), I(Yt(
|
|
1101
|
+
V.value && e.value.userOptions.buttons.table ? (o(), I(Yt(j.value.component), Et({ key: 7 }, j.value.props, {
|
|
1102
1102
|
ref_key: "tableUnit",
|
|
1103
|
-
ref:
|
|
1103
|
+
ref: U,
|
|
1104
1104
|
onClose: Ye
|
|
1105
1105
|
}), We({
|
|
1106
1106
|
content: g(() => [
|
|
@@ -1110,7 +1110,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1110
1110
|
head: q.value.head,
|
|
1111
1111
|
body: q.value.body,
|
|
1112
1112
|
config: q.value.config,
|
|
1113
|
-
title: e.value.table.useDialog ? "" :
|
|
1113
|
+
title: e.value.table.useDialog ? "" : j.value.title,
|
|
1114
1114
|
withCloseButton: !e.value.table.useDialog,
|
|
1115
1115
|
onClose: Ye
|
|
1116
1116
|
}, {
|
|
@@ -1118,10 +1118,10 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1118
1118
|
_("div", {
|
|
1119
1119
|
innerHTML: l,
|
|
1120
1120
|
style: { display: "flex", "align-items": "center" }
|
|
1121
|
-
}, null, 8,
|
|
1121
|
+
}, null, 8, Kl)
|
|
1122
1122
|
]),
|
|
1123
1123
|
td: g(({ td: l }) => [
|
|
1124
|
-
|
|
1124
|
+
Ue(T(l.name || l), 1)
|
|
1125
1125
|
]),
|
|
1126
1126
|
_: 1
|
|
1127
1127
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1131,7 +1131,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1131
1131
|
e.value.table.useDialog ? {
|
|
1132
1132
|
name: "title",
|
|
1133
1133
|
fn: g(() => [
|
|
1134
|
-
|
|
1134
|
+
Ue(T(j.value.title), 1)
|
|
1135
1135
|
]),
|
|
1136
1136
|
key: "0"
|
|
1137
1137
|
} : void 0,
|
|
@@ -1145,7 +1145,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox"], bl = ["x", "y", "widt
|
|
|
1145
1145
|
}, [
|
|
1146
1146
|
fe(i(lt), {
|
|
1147
1147
|
name: "excel",
|
|
1148
|
-
stroke:
|
|
1148
|
+
stroke: j.value.props.color
|
|
1149
1149
|
}, null, 8, ["stroke"])
|
|
1150
1150
|
])
|
|
1151
1151
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as y, watch as k, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
|
|
2
|
-
import { u as M, a as E } from "./useNestedProp-
|
|
3
|
-
import { a as I, d as O } from "./lib-
|
|
2
|
+
import { u as M, a as E } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { a as I, d as O } from "./lib-BcBZIm6u.js";
|
|
4
4
|
const R = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const R = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const N = z(() => import("./vue-ui-digits-
|
|
19
|
+
const N = z(() => import("./vue-ui-digits-eYxf3UFN.js")), { vue_ui_kpi: D } = M(), l = o, e = C({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), S = w(), A = C(() => e.value.debug);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as o, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m, a as y } from "./useNestedProp-
|
|
3
|
-
import { X as L } from "./lib-
|
|
2
|
+
import { u as m, a as y } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { X as L } from "./lib-BcBZIm6u.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|