vue-data-ui 3.7.15 → 3.8.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/README.md +50 -43
- package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DZVSjhEw.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
- package/dist/{BaseIcon-Dl4VBlHV.js → BaseIcon-CALhpING.js} +8 -4
- package/dist/{ColorPicker-BrMbLQds.js → ColorPicker-B_9b0REv.js} +2 -2
- package/dist/{DataTable-Ho3Bf5oq.js → DataTable-Ca1twcf7.js} +2 -2
- package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
- package/dist/{NonSvgPenAndPaper-MX5IsudW.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
- package/dist/{PackageVersion-BAF3mEBQ.js → PackageVersion-B9RA2_BM.js} +1 -1
- package/dist/{PenAndPaper-kymjF6_b.js → PenAndPaper-DscVdZ1u.js} +3 -3
- package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
- package/dist/{Slicer-DScoMPmj.js → Slicer-DaUi0o8i.js} +2 -2
- package/dist/{SlicerPreview-B1QUTxTZ.js → SlicerPreview-Bk-h_ANq.js} +2 -2
- package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
- package/dist/{Title-Hk29BxeL.js → Title-CgkWUXeV.js} +1 -1
- package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
- package/dist/{UserOptions-DgscxIaa.js → UserOptions-ChRXLqps.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-dag.js +5 -0
- 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-stackline.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-BG68zYm5.js → dom-to-png-VQEAYRVr.js} +1 -1
- package/dist/{img-BYzbY8TZ.js → img-CwrkWkkl.js} +1 -1
- package/dist/{lib-DUaaQGCv.js → lib-qMPkcvmh.js} +194 -179
- package/dist/{pdf--SSvtzbF.js → pdf-BMMrFX8S.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +147 -6
- package/dist/types/vue-ui-dag.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
- package/dist/{useNestedProp-CVGae3Qt.js → useNestedProp-DOOBu_sL.js} +269 -185
- package/dist/usePanZoom-DMfuOfaC.js +135 -0
- package/dist/{usePrinter-BdVu83IN.js → usePrinter-CjGh4mFJ.js} +2 -2
- package/dist/vue-data-ui-BgQPEjgE.js +351 -0
- package/dist/vue-data-ui.js +202 -216
- package/dist/{vue-ui-3d-bar-Cg4nzpjZ.js → vue-ui-3d-bar-BHcSmBFt.js} +6 -6
- package/dist/{vue-ui-accordion-B3SlkXqV.js → vue-ui-accordion-BWfQ8Imt.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BGA_e57_.js → vue-ui-age-pyramid-CKtsF5IW.js} +25 -25
- package/dist/{vue-ui-annotator-BHmNl_oD.js → vue-ui-annotator-DQmmDTg7.js} +7 -7
- package/dist/{vue-ui-bullet-B8Td03RZ.js → vue-ui-bullet-CZKHPSsG.js} +7 -7
- package/dist/{vue-ui-candlestick-aRpv_WG-.js → vue-ui-candlestick-DW7yeLnE.js} +39 -39
- package/dist/{vue-ui-carousel-table-yjrmp9Q4.js → vue-ui-carousel-table-Bv0TZYW1.js} +4 -4
- package/dist/{vue-ui-chestnut-mlal6Cjv.js → vue-ui-chestnut-BUqGBycr.js} +5 -5
- package/dist/{vue-ui-chord-Ddbwnzl7.js → vue-ui-chord-Awtzhq_0.js} +8 -8
- package/dist/{vue-ui-circle-pack-DUw81Lbf.js → vue-ui-circle-pack-WTa2Mj2O.js} +37 -37
- package/dist/vue-ui-cursor-D6_m463R.js +252 -0
- package/dist/vue-ui-dag-tle30Ehr.js +2727 -0
- package/dist/{vue-ui-dashboard-BzIopzfw.js → vue-ui-dashboard-BLgMwKmT.js} +68 -68
- package/dist/vue-ui-digits-DIZ8pi6C.js +200 -0
- package/dist/{vue-ui-donut-D-uqv9-W.js → vue-ui-donut-DY8Q-PAg.js} +88 -88
- package/dist/{vue-ui-donut-evolution-C25j-w7G.js → vue-ui-donut-evolution-DGnq03PX.js} +85 -85
- package/dist/{vue-ui-dumbbell-DaBN6kZz.js → vue-ui-dumbbell-xRMH2Mlv.js} +33 -33
- package/dist/{vue-ui-flow-LBrbktKK.js → vue-ui-flow-C0a8rOyT.js} +42 -42
- package/dist/{vue-ui-funnel-StsSjaZJ.js → vue-ui-funnel-D6krkF1a.js} +19 -19
- package/dist/{vue-ui-galaxy-DATC0Ww1.js → vue-ui-galaxy-BCkJt9OE.js} +59 -59
- package/dist/{vue-ui-gauge-BuSVuoeo.js → vue-ui-gauge-BaH-VYAi.js} +25 -25
- package/dist/{vue-ui-gizmo-B4Du388h.js → vue-ui-gizmo-BnCONs1t.js} +3 -3
- package/dist/{vue-ui-heatmap-C7jHSpqL.js → vue-ui-heatmap-BYoD6XaS.js} +67 -67
- package/dist/{vue-ui-history-plot-CMGhB2Zv.js → vue-ui-history-plot-BZBtIBsY.js} +43 -43
- package/dist/{vue-ui-horizontal-bar-BlG3kfkk.js → vue-ui-horizontal-bar-DsDDKUa6.js} +69 -69
- package/dist/{vue-ui-kpi-CTUnzHcT.js → vue-ui-kpi-Dn750UNZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-DYMh6g7y.js → vue-ui-mini-loader-44NP38K0.js} +2 -2
- package/dist/{vue-ui-molecule-BNwKqzIg.js → vue-ui-molecule-C994_mOK.js} +53 -53
- package/dist/{vue-ui-mood-radar-Bpfe33cj.js → vue-ui-mood-radar-BI2SAtcM.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CG6vyTLr.js → vue-ui-nested-donuts-CSF_bA-I.js} +38 -38
- package/dist/{vue-ui-onion-BNrW85xB.js → vue-ui-onion-L5ULuI3B.js} +38 -38
- package/dist/{vue-ui-parallel-coordinate-plot-prQ8DLgP.js → vue-ui-parallel-coordinate-plot-CYetuoa5.js} +43 -43
- package/dist/{vue-ui-quadrant-mFM3WtKm.js → vue-ui-quadrant-Diwm1-e6.js} +8 -8
- package/dist/{vue-ui-quick-chart-CmJEoZEj.js → vue-ui-quick-chart-YBj4Iyk6.js} +51 -51
- package/dist/{vue-ui-radar-MheG5gvf.js → vue-ui-radar-D76Mi-4u.js} +41 -41
- package/dist/{vue-ui-rating-BAfHKHmb.js → vue-ui-rating-CJjSt6-z.js} +2 -2
- package/dist/{vue-ui-relation-circle-BPZDXdVc.js → vue-ui-relation-circle-BlYazckd.js} +19 -19
- package/dist/{vue-ui-ridgeline-BPDURc5t.js → vue-ui-ridgeline-DW8JqGxN.js} +8 -8
- package/dist/{vue-ui-rings-ByeUycTV.js → vue-ui-rings-De3shW_r.js} +37 -37
- package/dist/{vue-ui-scatter-HkSLoM2F.js → vue-ui-scatter-oDhPqRJq.js} +8 -8
- package/dist/{vue-ui-skeleton-DtciU6S2.js → vue-ui-skeleton-BUIXG_mY.js} +3 -3
- package/dist/vue-ui-smiley-Cni8Q56U.js +377 -0
- package/dist/{vue-ui-spark-trend-lSw8HYoA.js → vue-ui-spark-trend-D1Zt5np6.js} +16 -16
- package/dist/{vue-ui-sparkbar-DZlTPWdS.js → vue-ui-sparkbar-CdmXCSnj.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cwl9Ksz2.js → vue-ui-sparkgauge-Dn2PQhZj.js} +17 -17
- package/dist/{vue-ui-sparkhistogram-Bq2DS4V0.js → vue-ui-sparkhistogram-nrkglHJk.js} +4 -4
- package/dist/{vue-ui-sparkline-DbkCbelr.js → vue-ui-sparkline-tz8fAf2C.js} +31 -31
- package/dist/{vue-ui-sparkstackbar-DWDEh2j6.js → vue-ui-sparkstackbar-BQPSsF5Q.js} +3 -3
- package/dist/{vue-ui-stackbar-BhbkdK0G.js → vue-ui-stackbar-DMO3YIQp.js} +9 -9
- package/dist/{vue-ui-stackline-DqKYCBDP.js → vue-ui-stackline-BQo4KoIK.js} +55 -55
- package/dist/{vue-ui-strip-plot-BUbyj8j8.js → vue-ui-strip-plot-CJpmLgCV.js} +28 -28
- package/dist/{vue-ui-table-B1bx46AB.js → vue-ui-table-Cp4ee_1a.js} +5 -5
- package/dist/{vue-ui-table-heatmap-kuly5Mc1.js → vue-ui-table-heatmap-1qpMxFyu.js} +5 -5
- package/dist/{vue-ui-table-sparkline-B9YLMDpp.js → vue-ui-table-sparkline-wSJjRJc4.js} +4 -4
- package/dist/{vue-ui-thermometer-DGM9Cnnw.js → vue-ui-thermometer-DA8pG0Tr.js} +19 -19
- package/dist/{vue-ui-timer-C1uo5WJb.js → vue-ui-timer-Bc0J-YWP.js} +12 -12
- package/dist/{vue-ui-tiremarks-B-xq7Ivj.js → vue-ui-tiremarks-DqYsca6Q.js} +6 -6
- package/dist/{vue-ui-treemap-VI1FYNqD.js → vue-ui-treemap-BQsPzEFA.js} +51 -51
- package/dist/{vue-ui-waffle-WdacXwVf.js → vue-ui-waffle-5wkXlR4p.js} +69 -69
- package/dist/{vue-ui-wheel-C7yfIwbK.js → vue-ui-wheel-CkZko1RX.js} +6 -6
- package/dist/{vue-ui-word-cloud-BlNxODSZ.js → vue-ui-word-cloud-52bv_Ba-.js} +41 -41
- package/dist/{vue-ui-world-vfrFZPI1.js → vue-ui-world-oIyf91PY.js} +6 -6
- package/dist/{vue-ui-xy-DHN5H4Ln.js → vue-ui-xy-DIEBv1b8.js} +75 -75
- package/dist/{vue-ui-xy-canvas-B3oAOFin.js → vue-ui-xy-canvas-pnm8ar87.js} +127 -127
- package/package.json +4 -3
- package/dist/usePanZoom-DZtyJi5q.js +0 -127
- package/dist/vue-data-ui-BcTiYl7u.js +0 -337
- package/dist/vue-ui-cursor-CIynd5w9.js +0 -229
- package/dist/vue-ui-digits-BDVx5bMH.js +0 -154
- package/dist/vue-ui-smiley-B8k0b8-R.js +0 -852
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, ref as v, shallowRef as Ue, computed as d, onMounted as Gt, onBeforeUnmount as qt, toRefs as Zt, watch as Q, watchEffect as Jt, createElementBlock as r, openBlock as s, unref as u, normalizeStyle as
|
|
2
|
-
import { c as Ge, o as qe, g as Ze, k as ll, t as al, j as ol, l as sl, p as ee,
|
|
1
|
+
import { defineAsyncComponent as O, ref as v, shallowRef as Ue, computed as d, onMounted as Gt, onBeforeUnmount as qt, toRefs as Zt, watch as Q, watchEffect as Jt, createElementBlock as r, openBlock as s, unref as u, normalizeStyle as F, normalizeClass as N, renderSlot as f, createBlock as E, createCommentVNode as h, createElementVNode as S, createVNode as xe, withCtx as x, normalizeProps as _, guardReactiveProps as L, createSlots as We, Fragment as m, renderList as k, toDisplayString as z, Teleport as Kt, resolveDynamicComponent as Qt, mergeProps as el, createTextVNode as Ve, nextTick as tl } from "vue";
|
|
2
|
+
import { c as Ge, o as qe, g as Ze, k as ll, t as al, j as ol, l as sl, p as ee, M as Je, a as R, d as Y, X as rl, n as nl, r as il, _ as ul, w as cl, a1 as P, i as vl, a0 as te, u as dl, q as hl, x as yl } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as Ke, u as fl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as xl, a as be } from "./useNestedProp-
|
|
4
|
+
import { u as xl, a as be } from "./useNestedProp-DOOBu_sL.js";
|
|
5
5
|
import { u as bl, B as gl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as pl } from "./usePrinter-
|
|
6
|
+
import { u as pl } from "./usePrinter-CjGh4mFJ.js";
|
|
7
7
|
import { u as ml } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as kl } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as Cl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as Al } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import { u as wl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
-
import Sl from "./img-
|
|
13
|
-
import _l from "./Title-
|
|
14
|
-
import Ll from "./Legend-
|
|
15
|
-
import { _ as
|
|
12
|
+
import Sl from "./img-CwrkWkkl.js";
|
|
13
|
+
import _l from "./Title-CgkWUXeV.js";
|
|
14
|
+
import Ll from "./Legend-Djkw4FGq.js";
|
|
15
|
+
import { _ as $l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, grid: { xAxis: { stroke: "#5A5A5A" }, horizontalLines: { stroke: "#4A4A4A" }, yAxis: { stroke: "#5A5A5A" }, verticalLines: { stroke: "#4A4A4A" } }, axes: { x: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } }, y: { labels: { color: "#CCCCCC" }, name: { color: "#CCCCCC" } } }, plots: { stroke: "#1A1A1A", labels: { color: "#CCCCCC" } } } } }, et = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, grid: { xAxis: { stroke: "#5D403740" }, horizontalLines: { stroke: "#5D403740" }, yAxis: { stroke: "#5D403740" }, verticalLines: { stroke: "#5D403740" } }, axes: { x: { labels: { color: "#424242" }, name: { color: "#424242" } }, y: { labels: { color: "#424242" }, name: { color: "#424242" } } }, plots: { stroke: "#FFF8E1", gradient: { intensity: 20 }, labels: { color: "#424242" } } } } }, tt = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, grid: { xAxis: { stroke: "#5D403780" }, horizontalLines: { stroke: "#5D403780" }, yAxis: { stroke: "#5D403780" }, verticalLines: { stroke: "#5D403780" } }, axes: { x: { labels: { color: "#BDBDBD" }, name: { color: "#BDBDBD" } }, y: { labels: { color: "#BDBDBD" }, name: { color: "#BDBDBD" } } }, plots: { stroke: "#1E1E1E", gradient: { intensity: 20 }, labels: { color: "#BDBDBD" } } } } }, lt = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, grid: { xAxis: { stroke: "#5F6A5F" }, horizontalLines: { stroke: "#3A3A3A" }, yAxis: { stroke: "#5F6A5F" }, verticalLines: { stroke: "#3A3A3A" } }, axes: { x: { labels: { color: "#5F6A5F" }, name: { color: "#5F6A5F" } }, y: { labels: { color: "#5F6A5F" }, name: { color: "#5F6A5F" } } }, plots: { stroke: "#1A1A1A", gradient: { intensity: 20 }, labels: { color: "#5F6A5F" } } } } }, at = { table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, grid: { xAxis: { stroke: "#8F837A" }, horizontalLines: { show: !1 }, yAxis: { stroke: "#8F837A" }, verticalLines: { show: !1 } }, axes: { x: { labels: { color: "#8F837A" }, name: { color: "#8F837A" } }, y: { labels: { color: "#8F837A" }, name: { color: "#8F837A" } } }, plots: { stroke: "#fbfafa", gradient: { intensity: 20 }, labels: { color: "#8F837A" } } } } }, ot = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, grid: { xAxis: { stroke: "#829C98" }, horizontalLines: { stroke: "#92B0AB" }, yAxis: { stroke: "#829C98" }, verticalLines: { stroke: "#92B0AB" } }, axes: { x: { labels: { color: "#50606C" }, name: { color: "#50606C" } }, y: { labels: { color: "#50606C" }, name: { color: "#50606C" } } }, plots: { stroke: "#50606C", gradient: { intensity: 20 }, labels: { color: "#50606C" } } } } }, st = {
|
|
17
17
|
default: {},
|
|
18
18
|
dark: Qe,
|
|
@@ -21,7 +21,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
21
21
|
hack: lt,
|
|
22
22
|
zen: at,
|
|
23
23
|
concrete: ot
|
|
24
|
-
},
|
|
24
|
+
}, Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
25
|
__proto__: null,
|
|
26
26
|
celebration: et,
|
|
27
27
|
celebrationNight: tt,
|
|
@@ -30,7 +30,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
30
30
|
default: st,
|
|
31
31
|
hack: lt,
|
|
32
32
|
zen: at
|
|
33
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
33
|
+
}, Symbol.toStringTag, { value: "Module" })), Fl = ["id"], Tl = ["id"], Dl = ["xmlns", "viewBox"], zl = ["x", "y", "width", "height"], Ml = { key: 1 }, Bl = ["id"], Ol = ["stop-color"], El = ["stop-color"], Il = ["stop-color"], Nl = { key: 2 }, Pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xl = { key: 3 }, Rl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Yl = ["x", "y", "fill", "font-size"], Hl = ["transform", "font-size", "fill", "font-weight"], jl = { key: 6 }, Ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wl = { key: 7 }, Vl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Gl = ["transform", "fill", "font-size", "text-anchor"], ql = ["x", "y", "font-size", "fill", "font-weight"], Zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kl = ["d", "stroke", "stroke-width"], Ql = ["d", "stroke", "stroke-width"], ea = ["cx", "cy", "fill", "r"], ta = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], la = { key: 1 }, aa = ["x", "y", "font-size", "fill", "font-weight"], oa = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], sa = { key: 2 }, ra = ["x", "y", "font-size", "font-weight", "fill"], na = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ia = {
|
|
34
34
|
key: 4,
|
|
35
35
|
class: "vue-data-ui-watermark"
|
|
36
36
|
}, ua = ["id"], ca = ["onClick"], va = ["innerHTML"], da = {
|
|
@@ -51,19 +51,19 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
51
51
|
},
|
|
52
52
|
emits: ["selectLegend", "selectDatapoint"],
|
|
53
53
|
setup(rt, { expose: nt, emit: it }) {
|
|
54
|
-
const ut = O(() => import("./Tooltip-
|
|
54
|
+
const ut = O(() => import("./Tooltip-OHx7yHlS.js")), ct = O(() => import("./BaseIcon-CALhpING.js")), vt = O(() => import("./vue-ui-accordion-BWfQ8Imt.js")), dt = O(() => import("./DataTable-Ca1twcf7.js")), ht = O(() => import("./PenAndPaper-DscVdZ1u.js")), yt = O(() => import("./UserOptions-ChRXLqps.js")), ft = O(() => import("./PackageVersion-B9RA2_BM.js")), xt = O(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_history_plot: bt } = xl(), { isThemeValid: gt, warnInvalidTheme: pt } = kl(), y = rt, T = v(null), ge = v(null), pe = v(0), me = v(null), ke = v(0), Ce = v(0), Ae = v(0), M = Ue(null), X = Ue(null), we = v(null), D = v(Ge()), le = v(!1), ae = v(""), p = v([]), H = v(!1), w = v(null), j = v(!1), Se = v(null), _e = v(!1), U = v(null), oe = v(null), se = v(null), re = v(null), V = v(null), ne = v(null), G = d({
|
|
55
55
|
get: () => !!y.dataset && y.dataset.length,
|
|
56
56
|
set: (t) => t
|
|
57
57
|
}), Le = it;
|
|
58
58
|
Gt(() => {
|
|
59
|
-
_e.value = !0,
|
|
59
|
+
_e.value = !0, Fe();
|
|
60
60
|
});
|
|
61
|
-
const
|
|
62
|
-
function
|
|
61
|
+
const $e = d(() => !!e.value.debug);
|
|
62
|
+
function Fe() {
|
|
63
63
|
if (qe(y.dataset) ? (Ze({
|
|
64
64
|
componentName: "VueUiHistoryPlot",
|
|
65
65
|
type: "dataset",
|
|
66
|
-
debug:
|
|
66
|
+
debug: $e.value
|
|
67
67
|
}), ue.value = !0) : y.dataset.forEach((t, a) => {
|
|
68
68
|
ll({
|
|
69
69
|
datasetObject: t,
|
|
@@ -74,7 +74,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
74
74
|
type: "datasetSerieAttribute",
|
|
75
75
|
property: l,
|
|
76
76
|
index: a,
|
|
77
|
-
debug:
|
|
77
|
+
debug: $e.value
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
}), qe(y.dataset) || (ue.value = e.value.loading), e.value.responsive) {
|
|
@@ -235,7 +235,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
235
235
|
})
|
|
236
236
|
}), { userOptionsVisible: ce, setUserOptionsVisibility: Te, keepUserOptionState: De } = Cl({ config: e.value }), { svgRef: ve } = Al({ config: e.value.style.chart.title });
|
|
237
237
|
Q(() => y.config, (t) => {
|
|
238
|
-
B.value || (e.value = ie()), ce.value = !e.value.userOptions.showOnChartHover,
|
|
238
|
+
B.value || (e.value = ie()), ce.value = !e.value.userOptions.showOnChartHover, Fe(), pe.value += 1, Ce.value += 1, ke.value += 1, b.value.height = e.value.style.chart.height, b.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, A.value.showTable = e.value.table.show, A.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
239
239
|
}, { deep: !0 }), Q(() => y.dataset, (t) => {
|
|
240
240
|
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
241
241
|
}, { deep: !0 });
|
|
@@ -300,24 +300,24 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
300
300
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
301
301
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
302
302
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
303
|
-
}),
|
|
303
|
+
}), $ = d(() => mt.value.map((t, a) => ({
|
|
304
304
|
...t,
|
|
305
305
|
color: t.color ? sl(t.color) : Ct.value[a] || ee[a] || ee[a % ee.length],
|
|
306
306
|
seriesIndex: a
|
|
307
|
-
}))), Lt = d(() => Math.max(
|
|
308
|
-
const t = Math.min(
|
|
307
|
+
}))), Lt = d(() => Math.max(...$.value.filter((t) => !p.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), $t = d(() => {
|
|
308
|
+
const t = Math.min(...$.value.filter((a) => !p.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
309
309
|
return t < 0 ? t : 0;
|
|
310
|
-
}),
|
|
311
|
-
const t = Math.min(
|
|
310
|
+
}), Ft = d(() => Math.max(...$.value.filter((t) => !p.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), Tt = d(() => {
|
|
311
|
+
const t = Math.min(...$.value.filter((a) => !p.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
312
312
|
return t < 0 ? t : 0;
|
|
313
313
|
}), g = d(() => {
|
|
314
314
|
const t = Je(
|
|
315
|
-
e.value.style.chart.axes.x.scaleMin === null ?
|
|
315
|
+
e.value.style.chart.axes.x.scaleMin === null ? $t.value : e.value.style.chart.axes.x.scaleMin,
|
|
316
316
|
e.value.style.chart.axes.x.scaleMax === null ? Lt.value : e.value.style.chart.axes.x.scaleMax,
|
|
317
317
|
e.value.style.chart.axes.x.ticks
|
|
318
318
|
), a = Je(
|
|
319
319
|
e.value.style.chart.axes.y.scaleMin === null ? Tt.value : e.value.style.chart.axes.y.scaleMin,
|
|
320
|
-
e.value.style.chart.axes.y.scaleMax === null ?
|
|
320
|
+
e.value.style.chart.axes.y.scaleMax === null ? Ft.value : e.value.style.chart.axes.y.scaleMax,
|
|
321
321
|
e.value.style.chart.axes.y.ticks
|
|
322
322
|
);
|
|
323
323
|
return {
|
|
@@ -345,7 +345,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
345
345
|
const a = g.value.y.min < 0 ? Math.abs(g.value.y.min) : g.value.y.min > 0 ? -g.value.y.min : 0;
|
|
346
346
|
return c.value.bottom - ((t || 0) + a) / (g.value.y.max + a) * c.value.height;
|
|
347
347
|
}
|
|
348
|
-
const I = d(() =>
|
|
348
|
+
const I = d(() => $.value.filter((t) => !p.value.includes(t.seriesIndex)).map((t, a) => {
|
|
349
349
|
const l = t.values.map((o, C) => ({
|
|
350
350
|
valueX: o.x,
|
|
351
351
|
valueY: o.y,
|
|
@@ -366,9 +366,9 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
366
366
|
p.value.includes(t) ? p.value = p.value.filter((a) => a !== t) : p.value.push(t);
|
|
367
367
|
}
|
|
368
368
|
function Ne(t) {
|
|
369
|
-
if (
|
|
369
|
+
if (!$.value.length)
|
|
370
370
|
return e.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null;
|
|
371
|
-
const a =
|
|
371
|
+
const a = $.value.find((l) => l.name === t);
|
|
372
372
|
return a || (e.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${t}"`), null);
|
|
373
373
|
}
|
|
374
374
|
function Mt(t) {
|
|
@@ -379,7 +379,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
379
379
|
const a = Ne(t);
|
|
380
380
|
a !== null && (p.value.includes(a.seriesIndex) || q(a.seriesIndex));
|
|
381
381
|
}
|
|
382
|
-
const de = d(() =>
|
|
382
|
+
const de = d(() => $.value.map((t) => ({
|
|
383
383
|
...t,
|
|
384
384
|
opacity: p.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
385
385
|
segregate: () => q(t.seriesIndex),
|
|
@@ -411,7 +411,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
411
411
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), le.value = !1, w.value = null;
|
|
412
412
|
}
|
|
413
413
|
function Nt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
414
|
-
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:
|
|
414
|
+
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: $.value }, w.value = t;
|
|
415
415
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
416
416
|
if (j.value = !1, yl(i))
|
|
417
417
|
try {
|
|
@@ -419,7 +419,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
419
419
|
seriesIndex: l,
|
|
420
420
|
datapoint: t,
|
|
421
421
|
plotIndex: a,
|
|
422
|
-
series:
|
|
422
|
+
series: $.value,
|
|
423
423
|
config: e.value
|
|
424
424
|
});
|
|
425
425
|
typeof o == "string" && (ae.value = o, j.value = !0);
|
|
@@ -636,7 +636,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
636
636
|
ref_key: "historyPlotChart",
|
|
637
637
|
ref: T,
|
|
638
638
|
class: N({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
639
|
-
style:
|
|
639
|
+
style: F(`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%" : ""}`),
|
|
640
640
|
onMouseenter: a[2] || (a[2] = () => u(Te)(!0)),
|
|
641
641
|
onMouseleave: a[3] || (a[3] = () => u(Te)(!1))
|
|
642
642
|
}, [
|
|
@@ -681,7 +681,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
681
681
|
ref_key: "chartTitle",
|
|
682
682
|
ref: ge,
|
|
683
683
|
class: "vue-ui-xy-title",
|
|
684
|
-
style:
|
|
684
|
+
style: F(`font-family:${e.value.style.fontFamily}`)
|
|
685
685
|
}, [
|
|
686
686
|
(s(), E(_l, {
|
|
687
687
|
key: `title_${pe.value}`,
|
|
@@ -735,7 +735,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
735
735
|
onToggleTable: Re,
|
|
736
736
|
onToggleTooltip: Ye,
|
|
737
737
|
onToggleAnnotator: fe,
|
|
738
|
-
style:
|
|
738
|
+
style: F({
|
|
739
739
|
visibility: u(De) ? u(ce) ? "visible" : "hidden" : "visible"
|
|
740
740
|
})
|
|
741
741
|
}, We({ _: 2 }, [
|
|
@@ -808,7 +808,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
808
808
|
ref: ve,
|
|
809
809
|
xmlns: u(rl),
|
|
810
810
|
viewBox: `0 0 ${b.value.width < 0 ? 0.1 : b.value.width} ${b.value.height < 0 ? 0.1 : b.value.height}`,
|
|
811
|
-
style:
|
|
811
|
+
style: F(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
812
812
|
}, [
|
|
813
813
|
xe(u(ft)),
|
|
814
814
|
t.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
@@ -974,7 +974,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
974
974
|
(s(!0), r(m, null, k(I.value, (l, i) => (s(), r("g", null, [
|
|
975
975
|
e.value.style.chart.paths.show ? (s(), r("g", {
|
|
976
976
|
key: 0,
|
|
977
|
-
style:
|
|
977
|
+
style: F({
|
|
978
978
|
opacity: w.value === null ? 1 : 0.3
|
|
979
979
|
})
|
|
980
980
|
}, [
|
|
@@ -1012,7 +1012,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1012
1012
|
stroke: e.value.style.chart.plots.stroke,
|
|
1013
1013
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
1014
1014
|
class: N({ animated: e.value.useCssAnimation && !u(B) }),
|
|
1015
|
-
style:
|
|
1015
|
+
style: F({
|
|
1016
1016
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1017
1017
|
transition: "opacity 0.2s ease-in-out"
|
|
1018
1018
|
})
|
|
@@ -1029,7 +1029,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1029
1029
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1030
1030
|
"text-anchor": "middle",
|
|
1031
1031
|
class: N({ animated: e.value.useCssAnimation && !u(B) }),
|
|
1032
|
-
style:
|
|
1032
|
+
style: F({
|
|
1033
1033
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1034
1034
|
transition: "opacity 0.2s ease-in-out"
|
|
1035
1035
|
}),
|
|
@@ -1049,7 +1049,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1049
1049
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1050
1050
|
"text-anchor": "middle",
|
|
1051
1051
|
class: N({ animated: e.value.useCssAnimation && !u(B) }),
|
|
1052
|
-
style:
|
|
1052
|
+
style: F({
|
|
1053
1053
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1054
1054
|
transition: "opacity 0.2s ease-in-out"
|
|
1055
1055
|
})
|
|
@@ -1065,7 +1065,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1065
1065
|
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(cl)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
1066
1066
|
"text-anchor": "middle",
|
|
1067
1067
|
class: N({ animated: e.value.useCssAnimation && !u(B) }),
|
|
1068
|
-
style:
|
|
1068
|
+
style: F({
|
|
1069
1069
|
opacity: w.value === null || w.value.id === o.id ? 1 : 0.3,
|
|
1070
1070
|
transition: "opacity 0.2s ease-in-out"
|
|
1071
1071
|
})
|
|
@@ -1125,7 +1125,7 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1125
1125
|
onClick: (o) => {
|
|
1126
1126
|
l.segregate(), Pe(l);
|
|
1127
1127
|
},
|
|
1128
|
-
style:
|
|
1128
|
+
style: F(`opacity:${p.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1129
1129
|
}, z(l.name), 13, ca)
|
|
1130
1130
|
]),
|
|
1131
1131
|
_: 1
|
|
@@ -1226,14 +1226,14 @@ const Qe = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1226
1226
|
} : void 0
|
|
1227
1227
|
]), 1040)) : h("", !0),
|
|
1228
1228
|
u(B) ? (s(), E(gl, { key: 8 })) : h("", !0)
|
|
1229
|
-
], 46,
|
|
1229
|
+
], 46, Fl));
|
|
1230
1230
|
}
|
|
1231
|
-
}, ha = /* @__PURE__ */
|
|
1231
|
+
}, ha = /* @__PURE__ */ $l(da, [["__scopeId", "data-v-64d73bdd"]]), Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1232
1232
|
__proto__: null,
|
|
1233
1233
|
default: ha
|
|
1234
1234
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1235
1235
|
export {
|
|
1236
|
-
|
|
1236
|
+
Fa as a,
|
|
1237
1237
|
Ta as b,
|
|
1238
1238
|
ha as v
|
|
1239
1239
|
};
|