vue-data-ui 3.7.16 → 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 +49 -43
- package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
- package/dist/{BaseDraggableDialog-CtB38kJq.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
- package/dist/{BaseIcon--wNsuYtd.js → BaseIcon-CALhpING.js} +5 -3
- package/dist/{ColorPicker-CsQ_h1jK.js → ColorPicker-B_9b0REv.js} +2 -2
- package/dist/{DataTable-DRZJOlJB.js → DataTable-Ca1twcf7.js} +2 -2
- package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C_uUSM9z.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
- package/dist/{PackageVersion-BW9_gimf.js → PackageVersion-B9RA2_BM.js} +1 -1
- package/dist/{PenAndPaper-CMmG5Mka.js → PenAndPaper-DscVdZ1u.js} +3 -3
- package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
- package/dist/{Slicer-BJ0Jqa6a.js → Slicer-DaUi0o8i.js} +2 -2
- package/dist/{SlicerPreview-BWl4UOqy.js → SlicerPreview-Bk-h_ANq.js} +2 -2
- package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
- package/dist/{Title-CM2dM0rQ.js → Title-CgkWUXeV.js} +1 -1
- package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
- package/dist/{UserOptions-5GYBcJJU.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 +143 -5
- package/dist/types/vue-ui-dag.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
- package/dist/{useNestedProp-CoXaJ2T6.js → useNestedProp-DOOBu_sL.js} +267 -184
- 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--XbxxtdU.js → vue-ui-3d-bar-BHcSmBFt.js} +6 -6
- package/dist/{vue-ui-accordion-WOXCCkiC.js → vue-ui-accordion-BWfQ8Imt.js} +3 -3
- package/dist/{vue-ui-age-pyramid-oJ-yVno1.js → vue-ui-age-pyramid-CKtsF5IW.js} +25 -25
- package/dist/{vue-ui-annotator-DmX0nJap.js → vue-ui-annotator-DQmmDTg7.js} +7 -7
- package/dist/{vue-ui-bullet-BSexyA7e.js → vue-ui-bullet-CZKHPSsG.js} +7 -7
- package/dist/{vue-ui-candlestick-Cn0FCDdN.js → vue-ui-candlestick-DW7yeLnE.js} +39 -39
- package/dist/{vue-ui-carousel-table-HJewuQDB.js → vue-ui-carousel-table-Bv0TZYW1.js} +4 -4
- package/dist/{vue-ui-chestnut-jpnadZPu.js → vue-ui-chestnut-BUqGBycr.js} +5 -5
- package/dist/{vue-ui-chord-DtAB5se2.js → vue-ui-chord-Awtzhq_0.js} +8 -8
- package/dist/{vue-ui-circle-pack-BTbgkyJ2.js → vue-ui-circle-pack-WTa2Mj2O.js} +37 -37
- package/dist/{vue-ui-cursor-DgWumfhl.js → vue-ui-cursor-D6_m463R.js} +3 -3
- package/dist/vue-ui-dag-tle30Ehr.js +2727 -0
- package/dist/{vue-ui-dashboard-BnAUQtnC.js → vue-ui-dashboard-BLgMwKmT.js} +68 -68
- package/dist/{vue-ui-digits-ByiQlK70.js → vue-ui-digits-DIZ8pi6C.js} +2 -2
- package/dist/{vue-ui-donut-CKSt_cq4.js → vue-ui-donut-DY8Q-PAg.js} +88 -88
- package/dist/{vue-ui-donut-evolution-DvdTGB7S.js → vue-ui-donut-evolution-DGnq03PX.js} +85 -85
- package/dist/{vue-ui-dumbbell-Injrp_b4.js → vue-ui-dumbbell-xRMH2Mlv.js} +33 -33
- package/dist/{vue-ui-flow-bbLDmA3Q.js → vue-ui-flow-C0a8rOyT.js} +42 -42
- package/dist/{vue-ui-funnel-B9iC-gYh.js → vue-ui-funnel-D6krkF1a.js} +19 -19
- package/dist/{vue-ui-galaxy-SMeufYzr.js → vue-ui-galaxy-BCkJt9OE.js} +59 -59
- package/dist/{vue-ui-gauge-FMuSlHqG.js → vue-ui-gauge-BaH-VYAi.js} +25 -25
- package/dist/{vue-ui-gizmo-0B3wKFgG.js → vue-ui-gizmo-BnCONs1t.js} +3 -3
- package/dist/{vue-ui-heatmap-BxztC6jw.js → vue-ui-heatmap-BYoD6XaS.js} +67 -67
- package/dist/{vue-ui-history-plot-D_qkv6IS.js → vue-ui-history-plot-BZBtIBsY.js} +43 -43
- package/dist/{vue-ui-horizontal-bar-BhTVXhQB.js → vue-ui-horizontal-bar-DsDDKUa6.js} +69 -69
- package/dist/{vue-ui-kpi-DvCTUXWh.js → vue-ui-kpi-Dn750UNZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjT-X5O8.js → vue-ui-mini-loader-44NP38K0.js} +2 -2
- package/dist/{vue-ui-molecule-CazE9-Nk.js → vue-ui-molecule-C994_mOK.js} +53 -53
- package/dist/{vue-ui-mood-radar-vrciNRi0.js → vue-ui-mood-radar-BI2SAtcM.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BAcHknTn.js → vue-ui-nested-donuts-CSF_bA-I.js} +38 -38
- package/dist/{vue-ui-onion-DgmiBf_W.js → vue-ui-onion-L5ULuI3B.js} +38 -38
- package/dist/{vue-ui-parallel-coordinate-plot-CdvrCiVK.js → vue-ui-parallel-coordinate-plot-CYetuoa5.js} +43 -43
- package/dist/{vue-ui-quadrant-C1GEbyIm.js → vue-ui-quadrant-Diwm1-e6.js} +8 -8
- package/dist/{vue-ui-quick-chart-DL9GV0J3.js → vue-ui-quick-chart-YBj4Iyk6.js} +51 -51
- package/dist/{vue-ui-radar-B4DfCpS5.js → vue-ui-radar-D76Mi-4u.js} +41 -41
- package/dist/{vue-ui-rating-CyJYLx9l.js → vue-ui-rating-CJjSt6-z.js} +2 -2
- package/dist/{vue-ui-relation-circle-Dm8wLlBa.js → vue-ui-relation-circle-BlYazckd.js} +19 -19
- package/dist/{vue-ui-ridgeline-E2EPeaJ7.js → vue-ui-ridgeline-DW8JqGxN.js} +8 -8
- package/dist/{vue-ui-rings-DnlHsA26.js → vue-ui-rings-De3shW_r.js} +37 -37
- package/dist/{vue-ui-scatter-DuKgh9Zo.js → vue-ui-scatter-oDhPqRJq.js} +8 -8
- package/dist/{vue-ui-skeleton-BhWvFc3O.js → vue-ui-skeleton-BUIXG_mY.js} +3 -3
- package/dist/{vue-ui-smiley-BkXC5UFE.js → vue-ui-smiley-Cni8Q56U.js} +2 -2
- package/dist/{vue-ui-spark-trend-DZWSf9JB.js → vue-ui-spark-trend-D1Zt5np6.js} +16 -16
- package/dist/{vue-ui-sparkbar-CqH28hXO.js → vue-ui-sparkbar-CdmXCSnj.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DT_yPxzw.js → vue-ui-sparkgauge-Dn2PQhZj.js} +17 -17
- package/dist/{vue-ui-sparkhistogram-Dv9UjLCt.js → vue-ui-sparkhistogram-nrkglHJk.js} +4 -4
- package/dist/{vue-ui-sparkline-AvAyn0Uv.js → vue-ui-sparkline-tz8fAf2C.js} +31 -31
- package/dist/{vue-ui-sparkstackbar-X_VGCj6T.js → vue-ui-sparkstackbar-BQPSsF5Q.js} +3 -3
- package/dist/{vue-ui-stackbar-DQP8yEJM.js → vue-ui-stackbar-DMO3YIQp.js} +9 -9
- package/dist/{vue-ui-stackline-VLPuuMyW.js → vue-ui-stackline-BQo4KoIK.js} +55 -55
- package/dist/{vue-ui-strip-plot-Tf-eojtF.js → vue-ui-strip-plot-CJpmLgCV.js} +28 -28
- package/dist/{vue-ui-table-Onk8Ep_o.js → vue-ui-table-Cp4ee_1a.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DKJxeQIL.js → vue-ui-table-heatmap-1qpMxFyu.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DgISlLtt.js → vue-ui-table-sparkline-wSJjRJc4.js} +4 -4
- package/dist/{vue-ui-thermometer-BnYdXPWo.js → vue-ui-thermometer-DA8pG0Tr.js} +19 -19
- package/dist/{vue-ui-timer-BWNvvVI8.js → vue-ui-timer-Bc0J-YWP.js} +12 -12
- package/dist/{vue-ui-tiremarks-CW0yee-q.js → vue-ui-tiremarks-DqYsca6Q.js} +6 -6
- package/dist/{vue-ui-treemap-BfY0n0I2.js → vue-ui-treemap-BQsPzEFA.js} +51 -51
- package/dist/{vue-ui-waffle-D9lUh12t.js → vue-ui-waffle-5wkXlR4p.js} +69 -69
- package/dist/{vue-ui-wheel-C-oMzvbq.js → vue-ui-wheel-CkZko1RX.js} +6 -6
- package/dist/{vue-ui-word-cloud-DYrmMP9R.js → vue-ui-word-cloud-52bv_Ba-.js} +41 -41
- package/dist/{vue-ui-world-DAObATdc.js → vue-ui-world-oIyf91PY.js} +6 -6
- package/dist/{vue-ui-xy-D6gFGE5R.js → vue-ui-xy-DIEBv1b8.js} +75 -75
- package/dist/{vue-ui-xy-canvas-B_dtbPQy.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-DOR1SV2J.js +0 -337
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as I, computed as g, ref as h, toRefs as Zt, watch as oe, shallowRef as lt, onMounted as at, onBeforeUnmount as ot, watchEffect as Jt, createElementBlock as v, openBlock as r, unref as i, normalizeStyle as se, normalizeClass as st, createBlock as E, createCommentVNode as y, createElementVNode as c, withCtx as p, renderSlot as m, normalizeProps as S, guardReactiveProps as D, createSlots as rt, createVNode as nt, withDirectives as Z, Fragment as _, renderList as F, toDisplayString as k, vShow as J, Teleport as Kt, createTextVNode as Ae, resolveDynamicComponent as Qt, mergeProps as el, nextTick as tl } from "vue";
|
|
2
|
-
import { c as ut, t as ll, o as al, g as it, k as ol,
|
|
2
|
+
import { c as ut, t as ll, o as al, g as it, k as ol, T as ct, M as sl, d as A, a as P, X as vt, s as dt, n as K, r as Q, u as rl, q as nl } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as we, u as ul } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as il, a as $e } from "./useNestedProp-
|
|
5
|
-
import { u as cl } from "./usePrinter-
|
|
4
|
+
import { u as il, a as $e } from "./useNestedProp-DOOBu_sL.js";
|
|
5
|
+
import { u as cl } from "./usePrinter-CjGh4mFJ.js";
|
|
6
6
|
import { u as vl, B as dl } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as hl } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as bl } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as yl } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import { u as gl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
-
import pl from "./img-
|
|
13
|
-
import ml from "./Title-
|
|
14
|
-
import Cl from "./Legend-
|
|
12
|
+
import pl from "./img-CwrkWkkl.js";
|
|
13
|
+
import ml from "./Title-CgkWUXeV.js";
|
|
14
|
+
import Cl from "./Legend-Djkw4FGq.js";
|
|
15
15
|
import { _ as kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", comparisonLines: { rectColor: "#CCCCCC", labelColor: "#CCCCCC" }, plots: { stroke: "#1A1A1A" }, grid: { horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { stroke: "#4A4A4A" } }, highlighter: { color: "#CCCCCC" }, labels: { yAxisLabels: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, bt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", plots: { startColor: "#F57C00", endColor: "#D32F2F", stroke: "#FFF8E1" }, grid: { horizontalGrid: { stroke: "#5D403780" }, verticalGrid: { stroke: "#5D403780" } }, labels: { yAxisLabels: { color: "#424242" }, xAxisLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, ft = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", comparisonLines: { rectColor: "#CCCCCC", labelColor: "#CCCCCC" }, highlighter: { color: "#CCCCCC" }, plots: { startColor: "#F57C00", endColor: "#D32F2F", stroke: "#1E1E1E" }, grid: { horizontalGrid: { stroke: "#5D4037" }, verticalGrid: { stroke: "#5D4037" } }, labels: { yAxisLabels: { color: "#BDBDBD" }, xAxisLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, yt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", plots: { startColor: "#008000", endColor: "#00FF00", stroke: "#1A1A1A" }, comparisonLines: { rectColor: "#CCCCCC", labelColor: "#99CC99" }, highlighter: { color: "#CCCCCC" }, grid: { horizontalGrid: { stroke: "#5F6A5F" }, verticalGrid: { stroke: "#5F6A5F" } }, labels: { yAxisLabels: { color: "#99CC99" }, xAxisLabels: { color: "#99CC99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, gt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", plots: { startColor: "#DCB482", endColor: "#B9B99D", stroke: "#fbfafa" }, grid: { horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, labels: { yAxisLabels: { color: "#8A9892" }, xAxisLabels: { show: !1 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, pt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", plots: { startColor: "#718885", endColor: "#7DA9B5", stroke: "#404C5A" }, grid: { horizontalGrid: { stroke: "#829C98" }, verticalGrid: { stroke: "#829C98" } }, labels: { yAxisLabels: { color: "#61747E" }, xAxisLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, mt = {
|
|
17
17
|
default: {},
|
|
@@ -30,7 +30,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
30
30
|
default: mt,
|
|
31
31
|
hack: yt,
|
|
32
32
|
zen: gt
|
|
33
|
-
}, Symbol.toStringTag, { value: "Module" })), xl = ["id"], _l = ["id"], Al = ["xmlns", "viewBox"], wl = ["x", "y", "width", "height"], $l = { key: 1 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Sl = { key: 2 }, Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Nl = ["transform", "font-size", "fill"], zl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], Ml = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"],
|
|
33
|
+
}, Symbol.toStringTag, { value: "Module" })), xl = ["id"], _l = ["id"], Al = ["xmlns", "viewBox"], wl = ["x", "y", "width", "height"], $l = { key: 1 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Sl = { key: 2 }, Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Nl = ["transform", "font-size", "fill"], zl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], Ml = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], Tl = ["x", "y", "font-size", "fill"], Xl = ["transform", "font-size", "fill", "font-weight", "text-anchor"], El = ["d", "stroke", "stroke-width", "stroke-dasharray"], Bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ol = ["x", "y", "height", "width", "fill"], Gl = ["transform", "fill", "font-size"], Il = ["id"], Pl = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Vl = ["id"], Ul = ["stop-color"], Wl = ["stop-color"], jl = ["stop-color"], ql = ["id"], Yl = ["stop-color"], Zl = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Ql = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = ["id"], aa = ["stop-color"], oa = ["stop-color"], sa = ["stop-color"], ra = ["id"], na = ["stop-color"], ua = ["stop-color"], ia = ["id"], ca = ["stop-color"], va = ["stop-color"], da = { key: 0 }, ha = { key: 0 }, ba = ["d", "fill"], fa = { key: 1 }, ya = ["x", "y", "height", "width", "fill"], ga = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ma = { key: 7 }, Ca = ["x", "y", "fill", "font-size"], ka = { key: 8 }, xa = ["x", "y", "fill", "font-size"], _a = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Aa = {
|
|
34
34
|
key: 4,
|
|
35
35
|
class: "vue-data-ui-watermark"
|
|
36
36
|
}, wa = ["id"], $a = ["xmlns", "height", "width"], La = ["fill"], Sa = ["innerHTML"], Da = {
|
|
@@ -51,14 +51,14 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
51
51
|
},
|
|
52
52
|
emits: ["selectDatapoint"],
|
|
53
53
|
setup(Ct, { expose: kt, emit: Na }) {
|
|
54
|
-
const xt = I(() => import("./BaseIcon
|
|
54
|
+
const xt = I(() => import("./BaseIcon-CALhpING.js")), _t = I(() => import("./vue-ui-accordion-BWfQ8Imt.js")), At = I(() => import("./DataTable-Ca1twcf7.js")), wt = I(() => import("./PenAndPaper-DscVdZ1u.js")), $t = I(() => import("./UserOptions-ChRXLqps.js")), Lt = I(() => import("./PackageVersion-B9RA2_BM.js")), St = I(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_dumbbell: Dt } = il(), { isThemeValid: Ft, warnInvalidTheme: Nt } = bl(), w = Ct, ee = g({
|
|
55
55
|
get() {
|
|
56
56
|
return !!w.dataset && w.dataset.length;
|
|
57
57
|
},
|
|
58
58
|
set(l) {
|
|
59
59
|
return l;
|
|
60
60
|
}
|
|
61
|
-
}), b = h(ut()), Le = h(0), N = h(null), Se = h(null), De = h(null), Fe = h(null), Ne = h(null), ze = h(0), Me = h(0),
|
|
61
|
+
}), b = h(ut()), Le = h(0), N = h(null), Se = h(null), De = h(null), Fe = h(null), Ne = h(null), ze = h(0), Me = h(0), Te = h(0), Xe = h(!1), j = h(null), re = h(null), ne = h(null), ue = h(null), te = h(null), ie = h(null), B = h(null), n = h(null), O = h(!1), e = h(be()), { loading: ce, FINAL_DATASET: ve, manualLoading: zt } = vl({
|
|
62
62
|
...Zt(w),
|
|
63
63
|
FINAL_CONFIG: e,
|
|
64
64
|
prepareConfig: be,
|
|
@@ -130,13 +130,13 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
oe(() => w.config, (l) => {
|
|
133
|
-
ce.value || (e.value = be()), de.value = !e.value.userOptions.showOnChartHover, Ge(), ze.value += 1, Me.value += 1,
|
|
133
|
+
ce.value || (e.value = be()), de.value = !e.value.userOptions.showOnChartHover, Ge(), ze.value += 1, Me.value += 1, Te.value += 1, V.value = e.value.style.chart.rowHeight, U.value = e.value.style.chart.width, G.value.showTable = e.value.table.show;
|
|
134
134
|
}, { deep: !0 }), oe(() => ve.value, (l) => {
|
|
135
135
|
Array.isArray(l) && l.length > 0 && (zt.value = !1), je(), qe();
|
|
136
136
|
}, { deep: !0 });
|
|
137
137
|
const z = lt(null), H = lt(null);
|
|
138
138
|
at(() => {
|
|
139
|
-
|
|
139
|
+
Xe.value = !0, Ge();
|
|
140
140
|
});
|
|
141
141
|
const Oe = g(() => !!e.value.debug);
|
|
142
142
|
function Ge() {
|
|
@@ -198,7 +198,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
198
198
|
const l = e.value.style.chart.grid, o = R.value.flatMap((f) => [f.start, f.end]).map((f) => Number(f)).filter((f) => Number.isFinite(f)), t = o.length ? Math.min(...o) : 0, a = o.length ? Math.max(...o) : 0, u = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
|
|
199
199
|
return { min: u, max: d };
|
|
200
200
|
}), $ = g(() => sl(Ve.value.min, Ve.value.max, e.value.style.chart.grid.scaleSteps)), V = h(e.value.style.chart.rowHeight), U = h(e.value.style.chart.width);
|
|
201
|
-
function
|
|
201
|
+
function Tt() {
|
|
202
202
|
let l = 0;
|
|
203
203
|
ue.value && (l = Array.from(ue.value.querySelectorAll("text")).reduce((a, u) => {
|
|
204
204
|
const d = u.getComputedTextLength();
|
|
@@ -207,14 +207,14 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
207
207
|
const o = ne.value ? ne.value.getBoundingClientRect().width : 0;
|
|
208
208
|
return l + o + (o ? 24 + e.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
209
209
|
}
|
|
210
|
-
const fe = h(0),
|
|
210
|
+
const fe = h(0), Xt = we((l) => {
|
|
211
211
|
fe.value = l;
|
|
212
212
|
}, 100);
|
|
213
213
|
Jt((l) => {
|
|
214
214
|
const o = te.value;
|
|
215
215
|
if (!o) return;
|
|
216
216
|
const t = new ResizeObserver((a) => {
|
|
217
|
-
|
|
217
|
+
Xt(a[0].contentRect.height);
|
|
218
218
|
});
|
|
219
219
|
t.observe(o), l(() => t.disconnect());
|
|
220
220
|
}), ot(() => {
|
|
@@ -236,7 +236,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
236
236
|
}
|
|
237
237
|
const s = g(() => {
|
|
238
238
|
O.value;
|
|
239
|
-
const l =
|
|
239
|
+
const l = Tt(), o = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = V.value * ye.value - Ue.value - o.top - o.bottom - t, u = a / ye.value, d = V.value * ye.value, f = U.value - l - o.left - o.right, C = $.value.ticks.length * (f / $.value.ticks.length);
|
|
240
240
|
return {
|
|
241
241
|
left: e.value.style.chart.padding.left + l,
|
|
242
242
|
right: U.value - e.value.style.chart.padding.right,
|
|
@@ -252,14 +252,14 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
252
252
|
get() {
|
|
253
253
|
const l = s.value, o = $.value;
|
|
254
254
|
return q.value.map((t, a) => {
|
|
255
|
-
const u = We(t.start, o, l), d = We(t.endVal, o, l), f = u + (d - u) / 2, C = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end > t.start,
|
|
255
|
+
const u = We(t.start, o, l), d = We(t.endVal, o, l), f = u + (d - u) / 2, C = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end > t.start, X = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end < t.start, tt = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end === t.start || [null, void 0].includes(t.start) || [null, void 0].includes(t.end), Yt = C ? e.value.style.chart.plots.evaluationColors.positive : X ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
|
|
256
256
|
return {
|
|
257
257
|
...t,
|
|
258
258
|
isPositive: C,
|
|
259
|
-
isNegative:
|
|
259
|
+
isNegative: X,
|
|
260
260
|
isNeutral: tt,
|
|
261
261
|
evaluationColor: Yt,
|
|
262
|
-
evaluationGrad: `url(#${C ? "positive" :
|
|
262
|
+
evaluationGrad: `url(#${C ? "positive" : X ? "negative" : "neutral"}_grad_${b.value})`,
|
|
263
263
|
startX: u,
|
|
264
264
|
endX: d,
|
|
265
265
|
centerX: f,
|
|
@@ -298,8 +298,8 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
298
298
|
}), t = () => {
|
|
299
299
|
let a = !0;
|
|
300
300
|
x.value = q.value.map((u, d) => {
|
|
301
|
-
const f = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, C = u.endVal + o[d] * l,
|
|
302
|
-
return
|
|
301
|
+
const f = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, C = u.endVal + o[d] * l, X = o[d] >= 0 ? Math.min(C, f) : Math.max(C, f);
|
|
302
|
+
return X !== f && (a = !1), { ...u, endVal: X };
|
|
303
303
|
}), a ? L.value = null : L.value = requestAnimationFrame(t);
|
|
304
304
|
};
|
|
305
305
|
L.value = requestAnimationFrame(t);
|
|
@@ -319,7 +319,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
319
319
|
paddingBottom: 12,
|
|
320
320
|
paddingTop: 12,
|
|
321
321
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
322
|
-
})),
|
|
322
|
+
})), T = g(() => {
|
|
323
323
|
const l = x.value.map((t) => ({
|
|
324
324
|
name: t.name
|
|
325
325
|
})), o = x.value.map((t) => ({
|
|
@@ -333,19 +333,19 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
333
333
|
e.value.table.columnNames.start,
|
|
334
334
|
e.value.table.columnNames.end,
|
|
335
335
|
e.value.table.columnNames.progression
|
|
336
|
-
], o =
|
|
336
|
+
], o = T.value.head.map((u, d) => {
|
|
337
337
|
const f = A({
|
|
338
338
|
p: e.value.style.chart.labels.prefix,
|
|
339
|
-
v:
|
|
339
|
+
v: T.value.body[d].start,
|
|
340
340
|
s: e.value.style.chart.labels.suffix,
|
|
341
341
|
r: e.value.table.td.roundingValue
|
|
342
342
|
}), C = A({
|
|
343
343
|
p: e.value.style.chart.labels.prefix,
|
|
344
|
-
v:
|
|
344
|
+
v: T.value.body[d].end,
|
|
345
345
|
s: e.value.style.chart.labels.suffix,
|
|
346
346
|
r: e.value.table.td.roundingValue
|
|
347
|
-
}),
|
|
348
|
-
v: 100 * (
|
|
347
|
+
}), X = A({
|
|
348
|
+
v: 100 * (T.value.body[d].end / T.value.body[d].start - 1),
|
|
349
349
|
s: "%",
|
|
350
350
|
r: e.value.table.td.roundingPercentage
|
|
351
351
|
});
|
|
@@ -353,7 +353,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
353
353
|
{ name: u.name },
|
|
354
354
|
f,
|
|
355
355
|
C,
|
|
356
|
-
|
|
356
|
+
X
|
|
357
357
|
];
|
|
358
358
|
}), t = {
|
|
359
359
|
th: {
|
|
@@ -382,9 +382,9 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
382
382
|
});
|
|
383
383
|
function pe(l = null) {
|
|
384
384
|
tl(() => {
|
|
385
|
-
const o =
|
|
385
|
+
const o = T.value.head.map((u, d) => [[
|
|
386
386
|
u.name
|
|
387
|
-
], [
|
|
387
|
+
], [T.value.body[d].start], [T.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(o), a = rl(t);
|
|
388
388
|
l ? l(a) : nl({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
389
389
|
});
|
|
390
390
|
}
|
|
@@ -837,7 +837,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
837
837
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
838
838
|
fill: e.value.style.chart.labels.axis.color,
|
|
839
839
|
"text-anchor": "middle"
|
|
840
|
-
}, k(e.value.style.chart.labels.axis.xLabel), 9,
|
|
840
|
+
}, k(e.value.style.chart.labels.axis.xLabel), 9, Tl)) : y("", !0),
|
|
841
841
|
e.value.style.chart.labels.xAxisLabels.show ? (r(), v("g", {
|
|
842
842
|
key: 6,
|
|
843
843
|
ref_key: "scaleLabels",
|
|
@@ -861,7 +861,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
861
861
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
862
862
|
}),
|
|
863
863
|
{ datapoint: t, seriesIndex: a }
|
|
864
|
-
)), 9,
|
|
864
|
+
)), 9, Xl))), 128))
|
|
865
865
|
], 512)) : y("", !0),
|
|
866
866
|
Z(c("g", null, [
|
|
867
867
|
Z(c("path", {
|
|
@@ -1139,7 +1139,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1139
1139
|
c("div", {
|
|
1140
1140
|
id: `legend-bottom-${b.value}`
|
|
1141
1141
|
}, null, 8, wa),
|
|
1142
|
-
|
|
1142
|
+
Xe.value ? (r(), E(Kt, {
|
|
1143
1143
|
key: 5,
|
|
1144
1144
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
1145
1145
|
}, [
|
|
@@ -1148,7 +1148,7 @@ const ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", com
|
|
|
1148
1148
|
ref: De
|
|
1149
1149
|
}, [
|
|
1150
1150
|
e.value.style.chart.legend.show && ee.value ? (r(), E(Cl, {
|
|
1151
|
-
key: `legend_${
|
|
1151
|
+
key: `legend_${Te.value}`,
|
|
1152
1152
|
legendSet: ge.value,
|
|
1153
1153
|
config: Et.value,
|
|
1154
1154
|
clickable: !1
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, ref as u, computed as f, onMounted as Bo, toRefs as Do, watch as xe, createElementBlock as m, openBlock as c, unref as r, normalizeStyle as W, normalizeClass as Ht, createBlock as Q, createCommentVNode as $, createElementVNode as U, createVNode as Oe, withCtx as v, renderSlot as h, normalizeProps as
|
|
2
|
-
import { c as _e, t as zo, o as Gt, g as Lo, i as Ro, p as R, j as Yo,
|
|
1
|
+
import { defineAsyncComponent as j, ref as u, computed as f, onMounted as Bo, toRefs as Do, watch as xe, createElementBlock as m, openBlock as c, unref as r, normalizeStyle as W, normalizeClass as Ht, createBlock as Q, createCommentVNode as $, createElementVNode as U, createVNode as Oe, withCtx as v, renderSlot as h, normalizeProps as P, guardReactiveProps as I, createSlots as jt, Fragment as he, renderList as ge, withKeys as Je, withModifiers as Qe, toDisplayString as pe, Teleport as Po, resolveDynamicComponent as Io, mergeProps as Mo, createTextVNode as Wt, nextTick as Ut } from "vue";
|
|
2
|
+
import { c as _e, t as zo, o as Gt, g as Lo, i as Ro, p as R, j as Yo, T, l as Ho, d as le, X as jo, a as Ne, w as Vt, F as Wo, u as Uo, q as Go, x as Vo } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as Xo, u as qo } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ko, a as et } from "./useNestedProp-
|
|
5
|
-
import { u as Zo } from "./usePrinter-
|
|
4
|
+
import { u as Ko, a as et } from "./useNestedProp-DOOBu_sL.js";
|
|
5
|
+
import { u as Zo } from "./usePrinter-CjGh4mFJ.js";
|
|
6
6
|
import { u as Jo, B as Qo } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as el } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as tl } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import al from "./Legend-
|
|
12
|
-
import nl from "./Title-
|
|
13
|
-
import sl from "./img-
|
|
11
|
+
import al from "./Legend-Djkw4FGq.js";
|
|
12
|
+
import nl from "./Title-CgkWUXeV.js";
|
|
13
|
+
import sl from "./img-CwrkWkkl.js";
|
|
14
14
|
import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, nodes: { stroke: "#1A1A1A" }, links: { stroke: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, qt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, nodes: { stroke: "#3A3A3A" }, links: { stroke: "#3A3A3A" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Kt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, nodes: { stroke: "#1E1E1E" }, links: { stroke: "#1E1E1E" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Zt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, nodes: { stroke: "#1A1A1A" }, links: { stroke: "#1A1A1A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Jt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, nodes: { stroke: "#fbfafa" }, links: { stroke: "#fbfafa" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Qt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, nodes: { stroke: "#f6f6fb" }, links: { stroke: "#f6f6fb" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, eo = {
|
|
16
16
|
default: {},
|
|
@@ -54,7 +54,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
setup(to, { expose: oo }) {
|
|
57
|
-
const lo = j(() => import("./Tooltip-
|
|
57
|
+
const lo = j(() => import("./Tooltip-OHx7yHlS.js")), ao = j(() => import("./BaseIcon-CALhpING.js")), no = j(() => import("./vue-ui-accordion-BWfQ8Imt.js")), so = j(() => import("./DataTable-Ca1twcf7.js")), ro = j(() => import("./PenAndPaper-DscVdZ1u.js")), uo = j(() => import("./UserOptions-ChRXLqps.js")), io = j(() => import("./PackageVersion-B9RA2_BM.js")), co = j(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_flow: vo } = Ko(), { isThemeValid: fo, warnInvalidTheme: ho } = tl(), F = to, G = u(_e()), B = u(null), tt = u(0), ot = u(0), Be = u(!1), De = u(""), lt = u(null), at = u(null), nt = u(null), ae = u(null), be = u(null), st = u(!1), ne = u(null), Pe = u(null), Ie = u(null), rt = f(() => !!F.dataset && F.dataset.length);
|
|
58
58
|
Bo(() => {
|
|
59
59
|
st.value = !0, it();
|
|
60
60
|
});
|
|
@@ -62,7 +62,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
62
62
|
function ut(o) {
|
|
63
63
|
V.value = o, tt.value += 1;
|
|
64
64
|
}
|
|
65
|
-
const e = u(Ye()), { loading:
|
|
65
|
+
const e = u(Ye()), { loading: Me, FINAL_DATASET: me, manualLoading: ze } = Jo({
|
|
66
66
|
...Do(F),
|
|
67
67
|
FINAL_CONFIG: e,
|
|
68
68
|
prepareConfig: Ye,
|
|
@@ -161,7 +161,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
161
161
|
xe(
|
|
162
162
|
() => F.config,
|
|
163
163
|
(o) => {
|
|
164
|
-
|
|
164
|
+
Me.value || (e.value = Ye()), Le.value = !e.value.userOptions.showOnChartHover, it(), ot.value += 1, S.value.showTable = e.value.table.show;
|
|
165
165
|
},
|
|
166
166
|
{ deep: !0 }
|
|
167
167
|
), xe(() => F.dataset, (o) => {
|
|
@@ -216,7 +216,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
216
216
|
}), Object.keys(l).forEach((n) => {
|
|
217
217
|
l[n].value = Math.max(l[n].inflow, l[n].outflow);
|
|
218
218
|
});
|
|
219
|
-
const Fe = se.value, Ve = kt.value.width, oe = kt.value.height, z = Object.keys(t).map(Number).sort((n, i) => n - i), Se = z.length || 1, Xe = Se > 1 ? Ve / (Se - 1) : 0, x = Number(Ce.value),
|
|
219
|
+
const Fe = se.value, Ve = kt.value.width, oe = kt.value.height, z = Object.keys(t).map(Number).sort((n, i) => n - i), Se = z.length || 1, Xe = Se > 1 ? Ve / (Se - 1) : 0, x = Number(Ce.value), M = Number(
|
|
220
220
|
e.value.style.chart.nodes.gapPx ?? e.value.style.chart.nodes.gap ?? 8
|
|
221
221
|
), ve = Number(
|
|
222
222
|
e.value.style.chart.nodes.minHeight || 0
|
|
@@ -224,7 +224,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
224
224
|
function d(n) {
|
|
225
225
|
const i = t[n], g = i.length;
|
|
226
226
|
if (!g) return 1 / 0;
|
|
227
|
-
const p = Math.max(0, (g - 1) *
|
|
227
|
+
const p = Math.max(0, (g - 1) * M), D = Math.max(0, oe - p), Y = Math.min(ve, g ? D / g : 0);
|
|
228
228
|
let C = 0, O = i.map((b) => l[b].value || 0), k = O.reduce((b, _) => b + _, 0);
|
|
229
229
|
for (let b = 0; b < 12; b += 1) {
|
|
230
230
|
const _ = k > 0 ? (D - C) / k : 0, H = [];
|
|
@@ -241,7 +241,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
241
241
|
}
|
|
242
242
|
const y = z.map(d), q = y.length ? Math.min(...y) : 0, K = {};
|
|
243
243
|
z.forEach((n) => {
|
|
244
|
-
const i = t[n], g = i.length, p = Math.max(0, (g - 1) *
|
|
244
|
+
const i = t[n], g = i.length, p = Math.max(0, (g - 1) * M), D = Math.max(0, oe - p), Y = Math.min(ve, g ? D / g : 0), C = i.map(
|
|
245
245
|
(b) => Math.max(Y, (l[b].value || 0) * q)
|
|
246
246
|
), O = C.reduce((b, _) => b + _, 0) + p;
|
|
247
247
|
let k = Math.max(0, (oe - O) / 2);
|
|
@@ -256,7 +256,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
256
256
|
color: l[b].color,
|
|
257
257
|
value: l[b].value,
|
|
258
258
|
id: _e()
|
|
259
|
-
}, k += H, _ < g - 1 && (k +=
|
|
259
|
+
}, k += H, _ < g - 1 && (k += M);
|
|
260
260
|
});
|
|
261
261
|
});
|
|
262
262
|
const xt = [], fe = Fe.top, qe = {}, Ke = {};
|
|
@@ -282,8 +282,8 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
282
282
|
if (!_o || J <= Z)
|
|
283
283
|
Ze = `M ${Z} ${N} L ${Z} ${L} L ${J} ${Dt} L ${J} ${Bt} Z`;
|
|
284
284
|
else {
|
|
285
|
-
const
|
|
286
|
-
Ze = `M ${Z} ${zt} C ${
|
|
285
|
+
const Pt = J - Z, It = T(Z + Pt * Ot), Mt = T(J - Pt * Ot), zt = N, Lt = Bt, Rt = L, Yt = Dt;
|
|
286
|
+
Ze = `M ${Z} ${zt} C ${It} ${zt}, ${Mt} ${Lt}, ${J} ${Lt} L ${J} ${Yt} C ${Mt} ${Yt}, ${It} ${Rt}, ${Z} ${Rt} Z`;
|
|
287
287
|
}
|
|
288
288
|
xt.push({
|
|
289
289
|
id: _e(),
|
|
@@ -341,7 +341,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
341
341
|
color: z[t] || "#000000"
|
|
342
342
|
};
|
|
343
343
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: x, seriesIndex: l }), ue.value = { datapoint: x }, Be.value = !0;
|
|
344
|
-
let
|
|
344
|
+
let M = "";
|
|
345
345
|
const ve = e.value.style.chart.tooltip.customFormat;
|
|
346
346
|
if (ke.value = !1, Vo(ve))
|
|
347
347
|
try {
|
|
@@ -361,8 +361,8 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
361
361
|
s: "%",
|
|
362
362
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
363
363
|
})}</div>` : "";
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
M += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${x.color}">⏹</span>${x.name}${d}</div>`, x.from.length && (M += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, x.from.forEach((y) => {
|
|
365
|
+
M += `<div><span style="color:${y.color}">⏹←</span> ${y.source}: ${Ne(
|
|
366
366
|
e.value.style.chart.nodes.labels.formatter,
|
|
367
367
|
y.value,
|
|
368
368
|
le({
|
|
@@ -372,8 +372,8 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
372
372
|
r: e.value.style.chart.nodes.labels.rounding
|
|
373
373
|
})
|
|
374
374
|
)}</div>`;
|
|
375
|
-
})), x.to.length && (
|
|
376
|
-
|
|
375
|
+
})), x.to.length && (M += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, x.to.forEach((y) => {
|
|
376
|
+
M += `<div><span style="color:${y.color}">⏹→</span> ${y.target}: ${Ne(
|
|
377
377
|
e.value.style.chart.nodes.labels.formatter,
|
|
378
378
|
y.value,
|
|
379
379
|
le({
|
|
@@ -383,7 +383,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
383
383
|
r: e.value.style.chart.nodes.labels.rounding
|
|
384
384
|
})
|
|
385
385
|
)}</div>`;
|
|
386
|
-
})), De.value =
|
|
386
|
+
})), De.value = M;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
function we(o) {
|
|
@@ -566,7 +566,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
566
566
|
e.value.table.show || (o && e.value.table.useDialog && ne.value ? ne.value.open() : "close" in ne.value && ne.value.close());
|
|
567
567
|
});
|
|
568
568
|
function St() {
|
|
569
|
-
S.value.showTable = !1,
|
|
569
|
+
S.value.showTable = !1, Pe.value && Pe.value.setTableIconState(!1);
|
|
570
570
|
}
|
|
571
571
|
const Ao = f(() => Ue.value.map((o) => ({
|
|
572
572
|
...o,
|
|
@@ -586,9 +586,9 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
586
586
|
Fo();
|
|
587
587
|
}
|
|
588
588
|
async function Eo(o, l) {
|
|
589
|
-
if (At(o, l), S.value.showTooltip && (await Ut(), B.value &&
|
|
589
|
+
if (At(o, l), S.value.showTooltip && (await Ut(), B.value && Ie.value)) {
|
|
590
590
|
const { left: t, top: a } = B.value.getBoundingClientRect();
|
|
591
|
-
|
|
591
|
+
Ie.value.placeTooltip({ x: (t ?? 0) + 12, y: (a ?? 0) + 12 });
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
return oo({
|
|
@@ -625,19 +625,19 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
625
625
|
h(o.$slots, "annotator-action-close", {}, void 0, !0)
|
|
626
626
|
]),
|
|
627
627
|
"annotator-action-color": v(({ color: t }) => [
|
|
628
|
-
h(o.$slots, "annotator-action-color",
|
|
628
|
+
h(o.$slots, "annotator-action-color", P(I({ color: t })), void 0, !0)
|
|
629
629
|
]),
|
|
630
630
|
"annotator-action-draw": v(({ mode: t }) => [
|
|
631
|
-
h(o.$slots, "annotator-action-draw",
|
|
631
|
+
h(o.$slots, "annotator-action-draw", P(I({ mode: t })), void 0, !0)
|
|
632
632
|
]),
|
|
633
633
|
"annotator-action-undo": v(({ disabled: t }) => [
|
|
634
|
-
h(o.$slots, "annotator-action-undo",
|
|
634
|
+
h(o.$slots, "annotator-action-undo", P(I({ disabled: t })), void 0, !0)
|
|
635
635
|
]),
|
|
636
636
|
"annotator-action-redo": v(({ disabled: t }) => [
|
|
637
|
-
h(o.$slots, "annotator-action-redo",
|
|
637
|
+
h(o.$slots, "annotator-action-redo", P(I({ disabled: t })), void 0, !0)
|
|
638
638
|
]),
|
|
639
639
|
"annotator-action-delete": v(({ disabled: t }) => [
|
|
640
|
-
h(o.$slots, "annotator-action-delete",
|
|
640
|
+
h(o.$slots, "annotator-action-delete", P(I({ disabled: t })), void 0, !0)
|
|
641
641
|
]),
|
|
642
642
|
_: 3
|
|
643
643
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : $("", !0),
|
|
@@ -667,7 +667,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
667
667
|
}, null, 8, cl),
|
|
668
668
|
e.value.userOptions.show && rt.value && (r(dt) || r(Le)) ? (c(), Q(r(uo), {
|
|
669
669
|
ref_key: "userOptionsRef",
|
|
670
|
-
ref:
|
|
670
|
+
ref: Pe,
|
|
671
671
|
key: `user_option_${tt.value}`,
|
|
672
672
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
673
673
|
color: e.value.style.chart.color,
|
|
@@ -706,7 +706,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
706
706
|
o.$slots.menuIcon ? {
|
|
707
707
|
name: "menuIcon",
|
|
708
708
|
fn: v(({ isOpen: t, color: a }) => [
|
|
709
|
-
h(o.$slots, "menuIcon",
|
|
709
|
+
h(o.$slots, "menuIcon", P(I({ isOpen: t, color: a })), void 0, !0)
|
|
710
710
|
]),
|
|
711
711
|
key: "0"
|
|
712
712
|
} : void 0,
|
|
@@ -755,14 +755,14 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
755
755
|
o.$slots.optionFullscreen ? {
|
|
756
756
|
name: "optionFullscreen",
|
|
757
757
|
fn: v(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
758
|
-
h(o.$slots, "optionFullscreen",
|
|
758
|
+
h(o.$slots, "optionFullscreen", P(I({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
759
759
|
]),
|
|
760
760
|
key: "7"
|
|
761
761
|
} : void 0,
|
|
762
762
|
o.$slots.optionAnnotator ? {
|
|
763
763
|
name: "optionAnnotator",
|
|
764
764
|
fn: v(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
765
|
-
h(o.$slots, "optionAnnotator",
|
|
765
|
+
h(o.$slots, "optionAnnotator", P(I({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
766
766
|
]),
|
|
767
767
|
key: "8"
|
|
768
768
|
} : void 0
|
|
@@ -901,12 +901,12 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
901
901
|
h(o.$slots, "svg", { svg: re.value }, void 0, !0)
|
|
902
902
|
], 14, dl)),
|
|
903
903
|
o.$slots.watermark ? (c(), m("div", kl, [
|
|
904
|
-
h(o.$slots, "watermark",
|
|
904
|
+
h(o.$slots, "watermark", P(I({ isPrinting: r(ht) || r(gt) })), void 0, !0)
|
|
905
905
|
])) : $("", !0),
|
|
906
906
|
U("div", {
|
|
907
907
|
id: `legend-bottom-${G.value}`
|
|
908
908
|
}, null, 8, Al),
|
|
909
|
-
st.value ? (c(), Q(
|
|
909
|
+
st.value ? (c(), Q(Po, {
|
|
910
910
|
key: 5,
|
|
911
911
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${G.value}` : `#legend-bottom-${G.value}`
|
|
912
912
|
}, [
|
|
@@ -921,7 +921,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
921
921
|
onClickMarker: l[0] || (l[0] = (t) => Ge(t))
|
|
922
922
|
}, {
|
|
923
923
|
item: v(({ legend: t, index: a }) => [
|
|
924
|
-
r(
|
|
924
|
+
r(Me) ? $("", !0) : (c(), m("div", {
|
|
925
925
|
key: 0,
|
|
926
926
|
onClick: (s) => t.segregate(),
|
|
927
927
|
style: W(`opacity:${X.value.length ? X.value.includes(a) ? 1 : 0.5 : 1}`)
|
|
@@ -942,7 +942,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
942
942
|
], 512)) : $("", !0),
|
|
943
943
|
Oe(r(lo), {
|
|
944
944
|
ref_key: "tooltip",
|
|
945
|
-
ref:
|
|
945
|
+
ref: Ie,
|
|
946
946
|
show: S.value.showTooltip && Be.value,
|
|
947
947
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
948
948
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -963,14 +963,14 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
963
963
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
964
964
|
}, {
|
|
965
965
|
"tooltip-before": v(() => [
|
|
966
|
-
h(o.$slots, "tooltip-before",
|
|
966
|
+
h(o.$slots, "tooltip-before", P(I({ ...ue.value })), void 0, !0)
|
|
967
967
|
]),
|
|
968
968
|
"tooltip-after": v(() => [
|
|
969
|
-
h(o.$slots, "tooltip-after",
|
|
969
|
+
h(o.$slots, "tooltip-after", P(I({ ...ue.value })), void 0, !0)
|
|
970
970
|
]),
|
|
971
971
|
_: 3
|
|
972
972
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
973
|
-
rt.value && e.value.userOptions.buttons.table ? (c(), Q(
|
|
973
|
+
rt.value && e.value.userOptions.buttons.table ? (c(), Q(Io(ie.value.component), Mo({ key: 7 }, ie.value.props, {
|
|
974
974
|
ref_key: "tableUnit",
|
|
975
975
|
ref: ne,
|
|
976
976
|
onClose: St
|
|
@@ -1023,7 +1023,7 @@ const Xt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", too
|
|
|
1023
1023
|
key: "1"
|
|
1024
1024
|
} : void 0
|
|
1025
1025
|
]), 1040)) : $("", !0),
|
|
1026
|
-
r(
|
|
1026
|
+
r(Me) ? (c(), Q(Qo, { key: 8 })) : $("", !0)
|
|
1027
1027
|
], 46, ul));
|
|
1028
1028
|
}
|
|
1029
1029
|
}, Fl = /* @__PURE__ */ rl(Tl, [["__scopeId", "data-v-b23619de"]]), Hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|