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,32 +1,32 @@
|
|
|
1
|
-
import { defineAsyncComponent as K, computed as d, ref as y, toRefs as vt, watch as Q, shallowRef as $e, onMounted as dt, onBeforeUnmount as ht, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as ee, normalizeClass as Fe, createBlock as W, createCommentVNode as c, createElementVNode as k, withCtx as b, renderSlot as h, normalizeProps as $, guardReactiveProps as F, toDisplayString as
|
|
2
|
-
import { c as mt, t as pt, i as kt, p as ze, j as bt, o as Oe, l as Ct, g as U, k as Me,
|
|
1
|
+
import { defineAsyncComponent as K, computed as d, ref as y, toRefs as vt, watch as Q, shallowRef as $e, onMounted as dt, onBeforeUnmount as ht, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as ee, normalizeClass as Fe, createBlock as W, createCommentVNode as c, createElementVNode as k, withCtx as b, renderSlot as h, normalizeProps as $, guardReactiveProps as F, toDisplayString as Y, createSlots as ft, createVNode as yt, Fragment as C, renderList as x, mergeProps as D, nextTick as gt } from "vue";
|
|
2
|
+
import { c as mt, t as pt, i as kt, p as ze, j as bt, o as Oe, l as Ct, g as U, k as Me, a2 as te, a7 as M, af as _t, T as St, X as wt, s as ae, _ as At, a5 as xt, a as oe, d as le, a1 as re } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as $t, u as Ft } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as zt, B as Ot } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as Mt } from "./usePrinter-
|
|
6
|
-
import { u as Nt, a as se } from "./useNestedProp-
|
|
5
|
+
import { u as Mt } from "./usePrinter-CjGh4mFJ.js";
|
|
6
|
+
import { u as Nt, a as se } from "./useNestedProp-DOOBu_sL.js";
|
|
7
7
|
import { u as Pt } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as It } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as Xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as Et } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import Bt from "./Title-
|
|
11
|
+
import { u as Rt } from "./useAutoSizeLabelsInsideViewbox-CY90KinM.js";
|
|
12
|
+
import Yt from "./img-CwrkWkkl.js";
|
|
13
|
+
import Bt from "./Title-CgkWUXeV.js";
|
|
14
14
|
import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { markers: { color: "#CCCCCC" }, pointer: { stroke: "#1A1A1A", circle: { stroke: "#1A1A1A", color: "#5A5A5A" } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Pe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { track: { useGradient: !1 }, markers: { color: "#5D4037" }, pointer: { type: "pointy", stroke: "#FFF8E1", circle: { stroke: "#FFF8E1", strokeWidth: 1, color: "#5D4037" } } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Ie = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { track: { useGradient: !1 }, markers: { color: "#BDBDBD" }, pointer: { type: "pointy", stroke: "#1E1E1E", circle: { stroke: "#1E1E1E", strokeWidth: 1, color: "#5D4037" } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { track: { useGradient: !1 }, markers: { color: "#99CC99", backgroundColor: "#1A1A1A", stroke: "#66CC66" }, pointer: { type: "pointy", stroke: "#1A1A1A", circle: { stroke: "#66CC66", strokeWidth: 1, color: "#1A1A1A" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ee = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { track: { useGradient: !1 }, markers: { color: "#A0AC94", backgroundColor: "#fbfafa", stroke: "#EBD6CC" }, pointer: { type: "rounded", stroke: "#fbfafa", circle: { stroke: "#EBD6CC", strokeWidth: 1, color: "#fbfafa" } } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } },
|
|
15
|
+
const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { markers: { color: "#CCCCCC" }, pointer: { stroke: "#1A1A1A", circle: { stroke: "#1A1A1A", color: "#5A5A5A" } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Pe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { track: { useGradient: !1 }, markers: { color: "#5D4037" }, pointer: { type: "pointy", stroke: "#FFF8E1", circle: { stroke: "#FFF8E1", strokeWidth: 1, color: "#5D4037" } } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Ie = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { track: { useGradient: !1 }, markers: { color: "#BDBDBD" }, pointer: { type: "pointy", stroke: "#1E1E1E", circle: { stroke: "#1E1E1E", strokeWidth: 1, color: "#5D4037" } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { track: { useGradient: !1 }, markers: { color: "#99CC99", backgroundColor: "#1A1A1A", stroke: "#66CC66" }, pointer: { type: "pointy", stroke: "#1A1A1A", circle: { stroke: "#66CC66", strokeWidth: 1, color: "#1A1A1A" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ee = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { track: { useGradient: !1 }, markers: { color: "#A0AC94", backgroundColor: "#fbfafa", stroke: "#EBD6CC" }, pointer: { type: "rounded", stroke: "#fbfafa", circle: { stroke: "#EBD6CC", strokeWidth: 1, color: "#fbfafa" } } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, Re = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { track: { useGradient: !1 }, markers: { color: "#4F5B75", backgroundColor: "#4F5B75", stroke: "#9FA9BE" }, pointer: { type: "pointy", stroke: "#f6f6fb", circle: { stroke: "#f6f6fb", strokeWidth: 1, color: "#4F5B75" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ye = {
|
|
16
16
|
default: {},
|
|
17
17
|
dark: Ne,
|
|
18
18
|
celebration: Pe,
|
|
19
19
|
celebrationNight: Ie,
|
|
20
20
|
hack: Xe,
|
|
21
21
|
zen: Ee,
|
|
22
|
-
concrete:
|
|
23
|
-
},
|
|
22
|
+
concrete: Re
|
|
23
|
+
}, Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
24
|
__proto__: null,
|
|
25
25
|
celebration: Pe,
|
|
26
26
|
celebrationNight: Ie,
|
|
27
|
-
concrete:
|
|
27
|
+
concrete: Re,
|
|
28
28
|
dark: Ne,
|
|
29
|
-
default:
|
|
29
|
+
default: Ye,
|
|
30
30
|
hack: Xe,
|
|
31
31
|
zen: Ee
|
|
32
32
|
}, Symbol.toStringTag, { value: "Module" })), Tt = ["id"], Gt = { key: 0 }, Lt = ["xmlns", "viewBox"], jt = ["width", "height"], Wt = ["id"], Ut = ["stop-color"], Vt = ["stop-color"], Ht = ["stop-color"], qt = ["id"], Zt = ["stdDeviation"], Jt = { key: 1 }, Kt = ["d", "fill", "stroke"], Qt = ["d", "fill", "stroke"], ea = ["d", "fill"], ta = ["id", "d"], aa = ["fill", "font-size", "font-weight"], oa = ["href", "startOffset"], la = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], ra = ["d", "filter"], sa = ["stroke", "stroke-width"], na = ["stroke", "stroke-width"], ua = ["stroke", "stroke-width"], ia = ["stroke", "stroke-width"], ca = { key: 8 }, va = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], da = ["x", "y", "font-size", "font-weight", "fill"], ha = { key: 0 }, fa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], ma = { key: 1 }, pa = ["d", "fill", "stroke", "stroke-width"], ka = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], ba = ["x", "y", "font-size", "fill"], Ca = {
|
|
@@ -49,7 +49,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
setup(Be, { expose: De }) {
|
|
52
|
-
const Te = K(() => import("./PenAndPaper-
|
|
52
|
+
const Te = K(() => import("./PenAndPaper-DscVdZ1u.js")), Ge = K(() => import("./UserOptions-ChRXLqps.js")), Le = K(() => import("./PackageVersion-B9RA2_BM.js")), { vue_ui_gauge: je } = Nt(), { isThemeValid: We, warnInvalidTheme: Ue } = It(), m = Be, Ve = d(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), w = y(mt()), He = y(null), ne = y(0), N = y(null), ue = y(null), ie = y(null), ce = y(null), ve = y(null), de = y(0), e = y(H()), { loading: he, FINAL_DATASET: A, manualLoading: X } = zt({
|
|
53
53
|
...vt(m),
|
|
54
54
|
FINAL_CONFIG: e,
|
|
55
55
|
prepareConfig: H,
|
|
@@ -109,7 +109,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
109
109
|
if (!We.value(t))
|
|
110
110
|
return Ue(t), t;
|
|
111
111
|
const a = se({
|
|
112
|
-
userConfig:
|
|
112
|
+
userConfig: Ye[s] || m.config,
|
|
113
113
|
defaultConfig: t
|
|
114
114
|
}), o = se({
|
|
115
115
|
userConfig: m.config,
|
|
@@ -187,10 +187,10 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
187
187
|
return s;
|
|
188
188
|
}
|
|
189
189
|
return "#2D353C";
|
|
190
|
-
}), O = $e(null),
|
|
190
|
+
}), O = $e(null), R = $e(null), G = d({
|
|
191
191
|
get: () => l.value.segmentFontSize,
|
|
192
192
|
set: (t) => t
|
|
193
|
-
}), { autoSizeLabels: Ce } =
|
|
193
|
+
}), { autoSizeLabels: Ce } = Rt({
|
|
194
194
|
svgRef: T,
|
|
195
195
|
fontSize: l.value.segmentFontSize,
|
|
196
196
|
minFontSize: e.value.style.chart.layout.segmentNames.minFontSize,
|
|
@@ -262,14 +262,14 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
262
262
|
});
|
|
263
263
|
}), Ce();
|
|
264
264
|
});
|
|
265
|
-
O.value && (
|
|
265
|
+
O.value && (R.value && O.value.unobserve(R.value), O.value.disconnect()), O.value = new ResizeObserver(s), R.value = N.value.parentNode, O.value.observe(R.value);
|
|
266
266
|
}
|
|
267
267
|
Ce();
|
|
268
268
|
}
|
|
269
269
|
dt(() => {
|
|
270
270
|
Z();
|
|
271
271
|
}), ht(() => {
|
|
272
|
-
O.value && (
|
|
272
|
+
O.value && (R.value && O.value.unobserve(R.value), O.value.disconnect());
|
|
273
273
|
});
|
|
274
274
|
function _e(t) {
|
|
275
275
|
const s = [];
|
|
@@ -384,7 +384,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
384
384
|
}
|
|
385
385
|
async function at({ scale: t = 2 } = {}) {
|
|
386
386
|
if (!N.value) return;
|
|
387
|
-
const { width: s, height: a } = N.value.getBoundingClientRect(), o = s / a, { imageUri: p, base64: S } = await
|
|
387
|
+
const { width: s, height: a } = N.value.getBoundingClientRect(), o = s / a, { imageUri: p, base64: S } = await Yt({ domElement: N.value, base64: !0, img: !0, scale: t });
|
|
388
388
|
return {
|
|
389
389
|
imageUri: p,
|
|
390
390
|
base64: S,
|
|
@@ -477,7 +477,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
477
477
|
}
|
|
478
478
|
}, {
|
|
479
479
|
default: b(() => [
|
|
480
|
-
e.value.translations.base && u(A).base ? (r(), n("span", Gt,
|
|
480
|
+
e.value.translations.base && u(A).base ? (r(), n("span", Gt, Y(e.value.translations.base) + ": " + Y(u(A).base), 1)) : c("", !0)
|
|
481
481
|
]),
|
|
482
482
|
_: 1
|
|
483
483
|
}, 8, ["config"]))
|
|
@@ -653,7 +653,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
653
653
|
k("textPath", {
|
|
654
654
|
href: `#curve_${w.value}_${o}`,
|
|
655
655
|
startOffset: Qe.value[o]
|
|
656
|
-
},
|
|
656
|
+
}, Y(a.name || ""), 9, oa)
|
|
657
657
|
], 8, aa))), 256))
|
|
658
658
|
], 64)) : c("", !0),
|
|
659
659
|
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), n(C, { key: 5 }, x(Je.value, (a, o) => (r(), n("text", {
|
|
@@ -720,7 +720,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
720
720
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
721
721
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
722
722
|
fill: e.value.style.chart.layout.markers.color
|
|
723
|
-
},
|
|
723
|
+
}, Y(u(oe)(
|
|
724
724
|
e.value.style.chart.layout.markers.formatter,
|
|
725
725
|
a.from,
|
|
726
726
|
u(le)({
|
|
@@ -751,7 +751,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
751
751
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
752
752
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
753
753
|
fill: e.value.style.chart.layout.markers.color
|
|
754
|
-
},
|
|
754
|
+
}, Y(u(oe)(
|
|
755
755
|
e.value.style.chart.layout.markers.formatter,
|
|
756
756
|
E.value,
|
|
757
757
|
u(le)({
|
|
@@ -821,7 +821,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
821
821
|
"font-size": l.value.legendFontSize,
|
|
822
822
|
"font-weight": "bold",
|
|
823
823
|
fill: e.value.style.chart.legend.useRatingColor ? q.value : e.value.style.chart.legend.color
|
|
824
|
-
},
|
|
824
|
+
}, Y(u(oe)(
|
|
825
825
|
e.value.style.chart.legend.formatter,
|
|
826
826
|
g.value,
|
|
827
827
|
u(le)({
|
|
@@ -858,7 +858,7 @@ const Ne = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
858
858
|
default: Sa
|
|
859
859
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
860
860
|
export {
|
|
861
|
-
|
|
861
|
+
Ya as a,
|
|
862
862
|
Ba as b,
|
|
863
863
|
Sa as v
|
|
864
864
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as V, ref as k, useSlots as $, onMounted as y, computed as i, toRefs as D, watch as F, createElementBlock as a, openBlock as o, createBlock as I, createCommentVNode as r, normalizeStyle as M, createVNode as S, unref as l, createElementVNode as t, Fragment as C, toDisplayString as x } from "vue";
|
|
2
|
-
import { u as U, a as P } from "./useNestedProp-
|
|
3
|
-
import { c as E, g as O, t as T, a as w, d as b } from "./lib-
|
|
2
|
+
import { u as U, a as P } from "./useNestedProp-DOOBu_sL.js";
|
|
3
|
+
import { c as E, g as O, t as T, a as w, d as b } from "./lib-qMPkcvmh.js";
|
|
4
4
|
import { u as j, B as R } from "./BaseScanner-BgWxam9d.js";
|
|
5
5
|
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const H = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, J = ["viewBox", "width"], K = { key: 0 }, Q = ["id"], W = ["stop-color"], X = ["stop-color"], Y = ["stroke"], Z = ["stroke"], ee = ["width", "fill"], te = ["fill"], oe = { key: 0 }, ae = ["id"], se = ["stroke"], re = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ne = ["filter"], le = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ie = ["fill"], ue = {
|
|
@@ -17,7 +17,7 @@ const H = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, J = ["viewBox
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(z) {
|
|
20
|
-
const A = V(() => import("./PackageVersion-
|
|
20
|
+
const A = V(() => import("./PackageVersion-B9RA2_BM.js")), { vue_ui_gizmo: G } = U(), s = z, u = k(E()), L = $();
|
|
21
21
|
y(() => {
|
|
22
22
|
g();
|
|
23
23
|
}), y(() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { watchEffect as ul, nextTick as Se, useCssVars as nl, defineAsyncComponent as ue, computed as f, ref as d, shallowRef as il, toRefs as rl, watch as ke, onBeforeUnmount as ft, onMounted as vl, reactive as gt, createElementBlock as i, openBlock as u, normalizeStyle as w, normalizeClass as fe, createBlock as ge, createCommentVNode as g, createElementVNode as b, createVNode as we, unref as n, withCtx as C, renderSlot as x, normalizeProps as
|
|
2
|
-
import { c as Ie, t as fl,
|
|
1
|
+
import { watchEffect as ul, nextTick as Se, useCssVars as nl, defineAsyncComponent as ue, computed as f, ref as d, shallowRef as il, toRefs as rl, watch as ke, onBeforeUnmount as ft, onMounted as vl, reactive as gt, createElementBlock as i, openBlock as u, normalizeStyle as w, normalizeClass as fe, createBlock as ge, createCommentVNode as g, createElementVNode as b, createVNode as we, unref as n, withCtx as C, renderSlot as x, normalizeProps as E, guardReactiveProps as R, createSlots as bt, Fragment as S, renderList as N, withDirectives as pt, createTextVNode as Xe, toDisplayString as $, vShow as cl, resolveDynamicComponent as dl, mergeProps as hl, withKeys as yl } from "vue";
|
|
2
|
+
import { c as Ie, t as fl, a0 as gl, o as mt, g as xt, an as be, k as bl, X as pl, w as Le, a as q, d as V, T as K, aw as ml, u as xl, q as Cl, x as Al, Z as kl } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as Te, u as wl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ll, a as Ve } from "./useNestedProp-
|
|
5
|
-
import { u as Tl } from "./usePrinter-
|
|
4
|
+
import { u as Ll, a as Ve } from "./useNestedProp-DOOBu_sL.js";
|
|
5
|
+
import { u as Tl } from "./usePrinter-CjGh4mFJ.js";
|
|
6
6
|
import { u as Sl, B as _l } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as $l } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as Ct } from "./useTimeLabels-C5qMhpbe.js";
|
|
@@ -11,26 +11,26 @@ import { u as Fl } from "./useTableResponsive-Cbx-ACcP.js";
|
|
|
11
11
|
import { u as Dl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as At } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
13
13
|
import { u as Bl } from "./useChartAccessibility-9icAAmYg.js";
|
|
14
|
-
import Ol from "./img-
|
|
15
|
-
import Ml from "./Title-
|
|
16
|
-
import
|
|
17
|
-
import { _ as
|
|
14
|
+
import Ol from "./img-CwrkWkkl.js";
|
|
15
|
+
import Ml from "./Title-CgkWUXeV.js";
|
|
16
|
+
import El from "./vue-ui-accordion-BWfQ8Imt.js";
|
|
17
|
+
import { _ as Rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
function Ue({ elementRef: y, callback: O, attr: H, earlyReturn: U = !1 }) {
|
|
19
19
|
U || ul(
|
|
20
|
-
(
|
|
20
|
+
(Z) => {
|
|
21
21
|
const m = y.value;
|
|
22
22
|
if (!m) return;
|
|
23
23
|
const Y = new ResizeObserver((z) => {
|
|
24
|
-
const
|
|
24
|
+
const J = z[0]?.contentRect;
|
|
25
25
|
let F;
|
|
26
|
-
if (
|
|
27
|
-
F =
|
|
26
|
+
if (J && J[H] != null)
|
|
27
|
+
F = J[H];
|
|
28
28
|
else
|
|
29
29
|
try {
|
|
30
30
|
H === "width" ? F = typeof m.getBBox == "function" ? m.getBBox().width : m.getBoundingClientRect().width : F = typeof m.getBBox == "function" ? m.getBBox().height : m.getBoundingClientRect().height;
|
|
31
31
|
} catch {
|
|
32
|
-
const
|
|
33
|
-
F = H === "width" ?
|
|
32
|
+
const Q = m.getBoundingClientRect();
|
|
33
|
+
F = H === "width" ? Q.width : Q.height;
|
|
34
34
|
}
|
|
35
35
|
typeof F == "number" && !Number.isNaN(F) && O(F);
|
|
36
36
|
});
|
|
@@ -40,7 +40,7 @@ function Ue({ elementRef: y, callback: O, attr: H, earlyReturn: U = !1 }) {
|
|
|
40
40
|
const z = y.value.getBoundingClientRect(), j = H === "width" ? z.width : z.height;
|
|
41
41
|
typeof j == "number" && !Number.isNaN(j) && O(j);
|
|
42
42
|
});
|
|
43
|
-
}),
|
|
43
|
+
}), Z(() => Y.disconnect());
|
|
44
44
|
},
|
|
45
45
|
{ flush: "post" }
|
|
46
46
|
);
|
|
@@ -74,22 +74,22 @@ function kt(y, {
|
|
|
74
74
|
cellWidth: O,
|
|
75
75
|
cellHeight: H,
|
|
76
76
|
maxFontSize: U,
|
|
77
|
-
minFontSize:
|
|
77
|
+
minFontSize: Z,
|
|
78
78
|
index: m,
|
|
79
79
|
reportRotation: Y,
|
|
80
80
|
reportHide: z,
|
|
81
81
|
rotateAll: j,
|
|
82
|
-
hideAll:
|
|
82
|
+
hideAll: J
|
|
83
83
|
}) {
|
|
84
84
|
y.removeAttribute("transform"), y.removeAttribute("visibility");
|
|
85
|
-
let F = !1,
|
|
85
|
+
let F = !1, Q = !1;
|
|
86
86
|
y.setAttribute("font-size", U);
|
|
87
87
|
const L = y.getComputedTextLength();
|
|
88
88
|
if (L <= O)
|
|
89
89
|
Y(m, !1), z(m, !1);
|
|
90
90
|
else {
|
|
91
91
|
const I = Math.floor(U * O / L);
|
|
92
|
-
I >=
|
|
92
|
+
I >= Z ? (y.setAttribute("font-size", I), Y(m, !1), z(m, !1)) : (Y(m, !0), z(m, !1), F = !0);
|
|
93
93
|
}
|
|
94
94
|
if (j && (F = !0), F) {
|
|
95
95
|
y.setAttribute("font-size", U);
|
|
@@ -100,12 +100,12 @@ function kt(y, {
|
|
|
100
100
|
z(m, !1);
|
|
101
101
|
else {
|
|
102
102
|
const ae = Math.floor(U * H / _);
|
|
103
|
-
ae >=
|
|
103
|
+
ae >= Z ? (y.setAttribute("font-size", ae), z(m, !1)) : (Q = !0, z(m, !0));
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
(
|
|
106
|
+
(J || Q) && y.setAttribute("visibility", "hidden");
|
|
107
107
|
}
|
|
108
|
-
const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Vl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Yl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], jl = ["font-size", "font-weight", "fill", "x", "y"], Gl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Wl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ql = ["font-size", "fill", "x", "y", "font-weight"], Kl = ["font-size", "fill", "x", "y", "font-weight"],
|
|
108
|
+
const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Vl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Yl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], jl = ["font-size", "font-weight", "fill", "x", "y"], Gl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Wl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ql = ["font-size", "fill", "x", "y", "font-weight"], Kl = ["font-size", "fill", "x", "y", "font-weight"], Zl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Jl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ql = { key: 6 }, ea = ["x", "y", "width", "height", "stroke", "stroke-width"], ta = { class: "vue-ui-heatmap-legend-gauge-right" }, la = ["data-value"], aa = { class: "vue-ui-heatmap-gauge-indicator-value" }, oa = {
|
|
109
109
|
key: 4,
|
|
110
110
|
class: "vue-data-ui-watermark"
|
|
111
111
|
}, sa = { class: "vue-ui-data-table" }, ua = { key: 0 }, na = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = ["data-cell"], va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = {
|
|
@@ -129,14 +129,14 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
129
129
|
nl((t) => ({
|
|
130
130
|
v3fbb7831: t.tdo
|
|
131
131
|
}));
|
|
132
|
-
const U = ue(() => import("./Tooltip-
|
|
132
|
+
const U = ue(() => import("./Tooltip-OHx7yHlS.js")), Z = ue(() => import("./BaseIcon-CALhpING.js")), m = ue(() => import("./PenAndPaper-DscVdZ1u.js")), Y = ue(() => import("./UserOptions-ChRXLqps.js")), z = ue(() => import("./PackageVersion-B9RA2_BM.js")), j = ue(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_heatmap: J } = Ll(), { isThemeValid: F, warnInvalidTheme: Q } = zl(), L = y, I = H, ne = f({
|
|
133
133
|
get() {
|
|
134
134
|
return !!L.dataset && L.dataset.length;
|
|
135
135
|
},
|
|
136
136
|
set(t) {
|
|
137
137
|
return t;
|
|
138
138
|
}
|
|
139
|
-
}), ie = d(Ie()), _ = d(null), ae = d(!1), _e = d(""), Ye = d(void 0), re = d(null), je = d(0), Ge = d(null), We = d(0), Ft = d(null), ve = d(null), $e = d(null), qe = d(null), Ke = d(null), Dt = d(null),
|
|
139
|
+
}), ie = d(Ie()), _ = d(null), ae = d(!1), _e = d(""), Ye = d(void 0), re = d(null), je = d(0), Ge = d(null), We = d(0), Ft = d(null), ve = d(null), $e = d(null), qe = d(null), Ke = d(null), Dt = d(null), Ze = d(null), Bt = d(null), ze = d(null), Fe = d(null), Ot = d(null), Je = d(null), oe = il(null), e = d(Me());
|
|
140
140
|
function Mt() {
|
|
141
141
|
const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
|
|
142
142
|
for (let v = 0; v < o; v += 1) {
|
|
@@ -185,20 +185,20 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
})
|
|
188
|
-
}), { userOptionsVisible: Be, setUserOptionsVisibility:
|
|
188
|
+
}), { userOptionsVisible: Be, setUserOptionsVisibility: Et, keepUserOptionState: Qe } = Dl({ config: e.value }), { svgRef: Oe } = Bl({ config: e.value.style.title });
|
|
189
189
|
function et(t) {
|
|
190
|
-
|
|
190
|
+
Et(t);
|
|
191
191
|
}
|
|
192
192
|
function Me() {
|
|
193
193
|
const t = Ve({
|
|
194
194
|
userConfig: L.config,
|
|
195
|
-
defaultConfig:
|
|
195
|
+
defaultConfig: J
|
|
196
196
|
});
|
|
197
197
|
let s = {};
|
|
198
198
|
const a = t.theme;
|
|
199
199
|
if (a)
|
|
200
200
|
if (!F.value(t))
|
|
201
|
-
|
|
201
|
+
Q(t), s = t;
|
|
202
202
|
else {
|
|
203
203
|
const o = Ve({
|
|
204
204
|
userConfig: zt[a] || L.config,
|
|
@@ -216,15 +216,15 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
216
216
|
return L.config && gl(L.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = L.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
|
|
217
217
|
}
|
|
218
218
|
ke(() => L.config, (t) => {
|
|
219
|
-
pe.value || (e.value = Me()), Be.value = !e.value.userOptions.showOnChartHover,
|
|
219
|
+
pe.value || (e.value = Me()), Be.value = !e.value.userOptions.showOnChartHover, Ee(), We.value += 1, B.value.showTable = e.value.table.show, B.value.showTooltip = e.value.style.tooltip.show, ce.value = e.value.style.layout.width, de.value = e.value.style.layout.height;
|
|
220
220
|
}, { deep: !0 }), ke(() => L.dataset, (t) => {
|
|
221
|
-
Array.isArray(t) && t.length > 0 && (De.value = !1),
|
|
221
|
+
Array.isArray(t) && t.length > 0 && (De.value = !1), Ee();
|
|
222
222
|
}, { deep: !0 });
|
|
223
223
|
const { isPrinting: tt, isImaging: lt, generatePdf: at, generateImage: ot } = Tl({
|
|
224
224
|
elementId: `heatmap__${ie.value}`,
|
|
225
225
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
226
226
|
options: e.value.userOptions.print
|
|
227
|
-
}),
|
|
227
|
+
}), Rt = f(() => e.value.userOptions.show && !e.value.style.title.text), B = d({
|
|
228
228
|
showTable: e.value.table.show,
|
|
229
229
|
showTooltip: e.value.style.tooltip.show
|
|
230
230
|
});
|
|
@@ -235,7 +235,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
235
235
|
};
|
|
236
236
|
}, { immediate: !0 });
|
|
237
237
|
const Nt = f(() => e.value.table.responsiveBreakpoint), G = d(null), st = f(() => !!e.value.debug);
|
|
238
|
-
function
|
|
238
|
+
function Ee() {
|
|
239
239
|
if (mt(L.dataset) && (xt({
|
|
240
240
|
componentName: "VueUiHeatmap",
|
|
241
241
|
type: "dataset",
|
|
@@ -247,7 +247,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
247
247
|
title: e.value.style.title.text ? qe.value : null,
|
|
248
248
|
// add legend hirizontal in legend attr
|
|
249
249
|
// add legend vertical in some other attr and modify composable to subtract width
|
|
250
|
-
source:
|
|
250
|
+
source: Je.value,
|
|
251
251
|
noTitle: Ke.value
|
|
252
252
|
});
|
|
253
253
|
requestAnimationFrame(() => {
|
|
@@ -260,7 +260,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
260
260
|
ft(() => {
|
|
261
261
|
G.value && (oe.value && G.value.unobserve(oe.value), G.value.disconnect());
|
|
262
262
|
}), vl(() => {
|
|
263
|
-
|
|
263
|
+
Ee();
|
|
264
264
|
});
|
|
265
265
|
const P = f(() => Math.max(...A.value.flatMap((t) => (t.values || []).length))), ce = d(e.value.style.layout.width), de = d(e.value.style.layout.height), D = f(() => ({
|
|
266
266
|
width: Math.max(10, ce.value),
|
|
@@ -272,7 +272,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
272
272
|
const se = d(0), Pt = Te((t) => {
|
|
273
273
|
se.value = t;
|
|
274
274
|
}, 100);
|
|
275
|
-
Ue({ elementRef:
|
|
275
|
+
Ue({ elementRef: Ze, callback: Pt, attr: "width" });
|
|
276
276
|
const me = d(0), Xt = Te((t) => {
|
|
277
277
|
me.value = t;
|
|
278
278
|
}, 100);
|
|
@@ -430,7 +430,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
430
430
|
{ datapoint: p.value.yTotals[t], rowIndex: t }
|
|
431
431
|
);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Zt(t) {
|
|
434
434
|
return q(
|
|
435
435
|
e.value.style.layout.cells.value.formatter,
|
|
436
436
|
p.value.xTotals[t].total,
|
|
@@ -449,7 +449,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
449
449
|
})), s = A.value.map((a) => a.values);
|
|
450
450
|
return { head: t, body: s };
|
|
451
451
|
});
|
|
452
|
-
function
|
|
452
|
+
function Re(t = null) {
|
|
453
453
|
Se(() => {
|
|
454
454
|
const s = ["", ...A.value.map((c, k) => c.name)], a = [];
|
|
455
455
|
for (let c = 0; c < p.value.xLabels.length; c += 1) {
|
|
@@ -476,10 +476,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
476
476
|
function Ne() {
|
|
477
477
|
Ce.value = !Ce.value;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Jt(t, s) {
|
|
480
480
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), I("selectDatapoint", t);
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function Qt() {
|
|
483
483
|
return te.value;
|
|
484
484
|
}
|
|
485
485
|
async function el({ scale: t = 2 } = {}) {
|
|
@@ -526,7 +526,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
526
526
|
const Ae = f(() => {
|
|
527
527
|
const t = e.value.table.useDialog && !e.value.table.show, s = B.value.showTable;
|
|
528
528
|
return {
|
|
529
|
-
component: t ? j :
|
|
529
|
+
component: t ? j : El,
|
|
530
530
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
531
531
|
props: t ? {
|
|
532
532
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -573,10 +573,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
573
573
|
ol();
|
|
574
574
|
}
|
|
575
575
|
return O({
|
|
576
|
-
getData:
|
|
576
|
+
getData: Qt,
|
|
577
577
|
getImage: el,
|
|
578
578
|
generatePdf: at,
|
|
579
|
-
generateCsv:
|
|
579
|
+
generateCsv: Re,
|
|
580
580
|
generateImage: ot,
|
|
581
581
|
generateSvg: yt,
|
|
582
582
|
toggleTable: vt,
|
|
@@ -604,23 +604,23 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
604
604
|
x(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
605
605
|
]),
|
|
606
606
|
"annotator-action-color": C(({ color: a }) => [
|
|
607
|
-
x(t.$slots, "annotator-action-color", R(
|
|
607
|
+
x(t.$slots, "annotator-action-color", E(R({ color: a })), void 0, !0)
|
|
608
608
|
]),
|
|
609
609
|
"annotator-action-draw": C(({ mode: a }) => [
|
|
610
|
-
x(t.$slots, "annotator-action-draw", R(
|
|
610
|
+
x(t.$slots, "annotator-action-draw", E(R({ mode: a })), void 0, !0)
|
|
611
611
|
]),
|
|
612
612
|
"annotator-action-undo": C(({ disabled: a }) => [
|
|
613
|
-
x(t.$slots, "annotator-action-undo", R(
|
|
613
|
+
x(t.$slots, "annotator-action-undo", E(R({ disabled: a })), void 0, !0)
|
|
614
614
|
]),
|
|
615
615
|
"annotator-action-redo": C(({ disabled: a }) => [
|
|
616
|
-
x(t.$slots, "annotator-action-redo", R(
|
|
616
|
+
x(t.$slots, "annotator-action-redo", E(R({ disabled: a })), void 0, !0)
|
|
617
617
|
]),
|
|
618
618
|
"annotator-action-delete": C(({ disabled: a }) => [
|
|
619
|
-
x(t.$slots, "annotator-action-delete", R(
|
|
619
|
+
x(t.$slots, "annotator-action-delete", E(R({ disabled: a })), void 0, !0)
|
|
620
620
|
]),
|
|
621
621
|
_: 3
|
|
622
622
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
623
|
-
|
|
623
|
+
Rt.value ? (u(), i("div", {
|
|
624
624
|
key: 1,
|
|
625
625
|
ref_key: "noTitle",
|
|
626
626
|
ref: Ke,
|
|
@@ -647,7 +647,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
647
647
|
}
|
|
648
648
|
}, null, 8, ["config"]))
|
|
649
649
|
], 512)) : g("", !0),
|
|
650
|
-
e.value.userOptions.show && ne.value && (n(
|
|
650
|
+
e.value.userOptions.show && ne.value && (n(Qe) || n(Be)) ? (u(), ge(n(Y), {
|
|
651
651
|
ref_key: "userOptionsRef",
|
|
652
652
|
ref: $e,
|
|
653
653
|
key: `user_options_${je.value}`,
|
|
@@ -675,20 +675,20 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
675
675
|
tableDialog: e.value.table.useDialog,
|
|
676
676
|
onToggleFullscreen: rt,
|
|
677
677
|
onGeneratePdf: n(at),
|
|
678
|
-
onGenerateCsv:
|
|
678
|
+
onGenerateCsv: Re,
|
|
679
679
|
onGenerateImage: n(ot),
|
|
680
680
|
onGenerateSvg: yt,
|
|
681
681
|
onToggleTable: vt,
|
|
682
682
|
onToggleTooltip: ct,
|
|
683
683
|
onToggleAnnotator: Ne,
|
|
684
684
|
style: w({
|
|
685
|
-
visibility: n(
|
|
685
|
+
visibility: n(Qe) ? n(Be) ? "visible" : "hidden" : "visible"
|
|
686
686
|
})
|
|
687
687
|
}, bt({ _: 2 }, [
|
|
688
688
|
t.$slots.menuIcon ? {
|
|
689
689
|
name: "menuIcon",
|
|
690
690
|
fn: C(({ isOpen: a, color: o }) => [
|
|
691
|
-
x(t.$slots, "menuIcon", R(
|
|
691
|
+
x(t.$slots, "menuIcon", E(R({ isOpen: a, color: o })), void 0, !0)
|
|
692
692
|
]),
|
|
693
693
|
key: "0"
|
|
694
694
|
} : void 0,
|
|
@@ -737,14 +737,14 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
737
737
|
t.$slots.optionFullscreen ? {
|
|
738
738
|
name: "optionFullscreen",
|
|
739
739
|
fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
740
|
-
x(t.$slots, "optionFullscreen", R(
|
|
740
|
+
x(t.$slots, "optionFullscreen", E(R({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
741
741
|
]),
|
|
742
742
|
key: "7"
|
|
743
743
|
} : void 0,
|
|
744
744
|
t.$slots.optionAnnotator ? {
|
|
745
745
|
name: "optionAnnotator",
|
|
746
746
|
fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
747
|
-
x(t.$slots, "optionAnnotator", R(
|
|
747
|
+
x(t.$slots, "optionAnnotator", E(R({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
748
748
|
]),
|
|
749
749
|
key: "8"
|
|
750
750
|
} : void 0
|
|
@@ -829,7 +829,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
829
829
|
"stroke-width": r.value,
|
|
830
830
|
onMouseover: (k) => Wt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
|
|
831
831
|
onMouseout: () => qt({ datapoint: v, seriesIndex: o }),
|
|
832
|
-
onClick: () =>
|
|
832
|
+
onClick: () => Jt(v, o)
|
|
833
833
|
}, null, 40, Yl),
|
|
834
834
|
e.value.style.layout.cells.value.show ? pt((u(), i("text", {
|
|
835
835
|
key: 0,
|
|
@@ -897,7 +897,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
897
897
|
e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
|
|
898
898
|
key: 3,
|
|
899
899
|
ref_key: "yAxisLabels",
|
|
900
|
-
ref:
|
|
900
|
+
ref: Ze
|
|
901
901
|
}, [
|
|
902
902
|
(u(!0), i(S, null, N(te.value, (a, o) => (u(), i(S, null, [
|
|
903
903
|
b("text", {
|
|
@@ -935,7 +935,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
935
935
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
936
936
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
937
937
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
938
|
-
}, $(a), 9,
|
|
938
|
+
}, $(a), 9, Zl)) : g("", !0)
|
|
939
939
|
], 64))), 256))
|
|
940
940
|
], 512)) : g("", !0),
|
|
941
941
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
|
|
@@ -950,9 +950,9 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
950
950
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
951
951
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
952
952
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + l.value.sumCellXHeight}, ${l.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
953
|
-
}, $(
|
|
953
|
+
}, $(Zt(o)), 9, Jl))), 256))
|
|
954
954
|
], 512)) : g("", !0),
|
|
955
|
-
re.value ? (u(), i("g",
|
|
955
|
+
re.value ? (u(), i("g", Ql, [
|
|
956
956
|
b("rect", {
|
|
957
957
|
style: { "pointer-events": "none" },
|
|
958
958
|
x: re.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
|
|
@@ -1061,12 +1061,12 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
1061
1061
|
], 4)) : g("", !0)
|
|
1062
1062
|
], 2),
|
|
1063
1063
|
t.$slots.watermark ? (u(), i("div", oa, [
|
|
1064
|
-
x(t.$slots, "watermark", R(
|
|
1064
|
+
x(t.$slots, "watermark", E(R({ isPrinting: n(tt) || n(lt) })), void 0, !0)
|
|
1065
1065
|
])) : g("", !0),
|
|
1066
1066
|
t.$slots.source ? (u(), i("div", {
|
|
1067
1067
|
key: 5,
|
|
1068
1068
|
ref_key: "source",
|
|
1069
|
-
ref:
|
|
1069
|
+
ref: Je,
|
|
1070
1070
|
dir: "auto"
|
|
1071
1071
|
}, [
|
|
1072
1072
|
x(t.$slots, "source", {}, void 0, !0)
|
|
@@ -1092,10 +1092,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
1092
1092
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1093
1093
|
}, {
|
|
1094
1094
|
"tooltip-before": C(() => [
|
|
1095
|
-
x(t.$slots, "tooltip-before", R(
|
|
1095
|
+
x(t.$slots, "tooltip-before", E(R({ ...xe.value })), void 0, !0)
|
|
1096
1096
|
]),
|
|
1097
1097
|
"tooltip-after": C(() => [
|
|
1098
|
-
x(t.$slots, "tooltip-after", R(
|
|
1098
|
+
x(t.$slots, "tooltip-after", E(R({ ...xe.value })), void 0, !0)
|
|
1099
1099
|
]),
|
|
1100
1100
|
_: 3
|
|
1101
1101
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -1123,7 +1123,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
1123
1123
|
onClick: He,
|
|
1124
1124
|
onKeypress: yl(He, ["enter"])
|
|
1125
1125
|
}, [
|
|
1126
|
-
we(n(
|
|
1126
|
+
we(n(Z), {
|
|
1127
1127
|
name: "close",
|
|
1128
1128
|
stroke: e.value.table.th.color,
|
|
1129
1129
|
"stroke-width": 2
|
|
@@ -1192,9 +1192,9 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
1192
1192
|
b("button", {
|
|
1193
1193
|
tabindex: "0",
|
|
1194
1194
|
class: "vue-ui-user-options-button",
|
|
1195
|
-
onClick: s[0] || (s[0] = (a) =>
|
|
1195
|
+
onClick: s[0] || (s[0] = (a) => Re(e.value.userOptions.callbacks.csv))
|
|
1196
1196
|
}, [
|
|
1197
|
-
we(n(
|
|
1197
|
+
we(n(Z), {
|
|
1198
1198
|
name: "excel",
|
|
1199
1199
|
stroke: Ae.value.props.color
|
|
1200
1200
|
}, null, 8, ["stroke"])
|
|
@@ -1206,7 +1206,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
|
|
|
1206
1206
|
n(pe) ? (u(), ge(_l, { key: 7 })) : g("", !0)
|
|
1207
1207
|
], 46, Hl));
|
|
1208
1208
|
}
|
|
1209
|
-
}, da = /* @__PURE__ */
|
|
1209
|
+
}, da = /* @__PURE__ */ Rl(ca, [["__scopeId", "data-v-dd5b744b"]]), Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1210
1210
|
__proto__: null,
|
|
1211
1211
|
default: da
|
|
1212
1212
|
}, Symbol.toStringTag, { value: "Module" }));
|