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,14 +1,14 @@
|
|
|
1
1
|
import { useCssVars as rt, computed as v, defineAsyncComponent as F, ref as f, shallowRef as $e, onMounted as nt, onBeforeUnmount as ut, watch as Le, createElementBlock as d, openBlock as r, unref as s, normalizeStyle as x, normalizeClass as z, createBlock as N, createCommentVNode as m, withCtx as n, renderSlot as i, normalizeProps as k, guardReactiveProps as A, createSlots as Fe, createVNode as De, createElementVNode as w, mergeProps as H, Fragment as X, renderList as W, toDisplayString as V, resolveDynamicComponent as it, createTextVNode as _e, nextTick as ct } from "vue";
|
|
2
|
-
import { c as vt, o as dt, g as xe, k as ft, l as ht, n as bt, a as
|
|
2
|
+
import { c as vt, o as dt, g as xe, k as ft, l as ht, n as bt, a as q, d as Y, X as gt, w as mt, a1 as ae, u as pt, q as yt } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as Ct, u as kt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as At, a as le } from "./useNestedProp-
|
|
5
|
-
import { u as wt } from "./usePrinter-
|
|
4
|
+
import { u as At, a as le } from "./useNestedProp-DOOBu_sL.js";
|
|
5
|
+
import { u as wt } from "./usePrinter-CjGh4mFJ.js";
|
|
6
6
|
import { u as $t } from "./useSvgExport-DrjCWun4.js";
|
|
7
7
|
import { u as Lt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
8
8
|
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Dt } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import _t from "./img-
|
|
11
|
-
import xt from "./Title-
|
|
10
|
+
import _t from "./img-CwrkWkkl.js";
|
|
11
|
+
import xt from "./Title-CgkWUXeV.js";
|
|
12
12
|
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", area: { color: "#3A3A3A" }, bars: { stroke: "#1A1A1A", dataLabels: { name: { color: "#CCCCCC" }, value: { color: "#CCCCCC" } } }, circles: { stroke: "#1A1A1A" }, circleLinks: { color: "#3A3A3A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Te = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", area: { color: "#D32F2F20" }, bars: { defaultColor: "#E64A19", stroke: "#FFF8E1", dataLabels: { name: { color: "#424242" }, value: { color: "#424242" } } }, circles: { stroke: "#FFF8E1" }, circleLinks: { color: "#D32F2F40" }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Oe = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", area: { color: "#D32F2F20" }, bars: { defaultColor: "#E64A19", stroke: "#1E1E1E", dataLabels: { name: { color: "#BDBDBD" }, value: { color: "#BDBDBD" } } }, circles: { stroke: "#1E1E1E" }, circleLinks: { color: "#D32F2F60" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, Be = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", area: { color: "#66CC6620" }, bars: { defaultColor: "#66CC66", stroke: "#1A1A1A", dataLabels: { name: { color: "#99AA99" }, value: { color: "#99AA99" } } }, circles: { stroke: "#1A1A1A" }, circleLinks: { color: "#66CC6620" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ee = { table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", area: { color: "#8F837A20" }, bars: { defaultColor: "#8F837A", stroke: "#fbfafa", dataLabels: { name: { color: "#8A9892" }, value: { color: "#8A9892" } } }, circles: { stroke: "#fbfafa" }, circleLinks: { color: "#8F837A20" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, ze = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", area: { color: "#8A989230" }, bars: { defaultColor: "#61747E", stroke: "#50606C", dataLabels: { name: { color: "#50606C" }, value: { color: "#50606C" } } }, circles: { stroke: "#50606C" }, circleLinks: { color: "#8A989230" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, Ne = {
|
|
14
14
|
default: {},
|
|
@@ -50,7 +50,7 @@ const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
50
50
|
rt((t) => ({
|
|
51
51
|
v1175b36b: Ze.value
|
|
52
52
|
}));
|
|
53
|
-
const Re = F(() => import("./BaseIcon-
|
|
53
|
+
const Re = F(() => import("./BaseIcon-CALhpING.js")), Me = F(() => import("./vue-ui-skeleton-BUIXG_mY.js")), Ue = F(() => import("./vue-ui-accordion-BWfQ8Imt.js")), Ve = F(() => import("./DataTable-Ca1twcf7.js")), je = F(() => import("./UserOptions-ChRXLqps.js")), Ge = F(() => import("./PenAndPaper-DscVdZ1u.js")), He = F(() => import("./PackageVersion-B9RA2_BM.js")), Xe = F(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_funnel: We } = At(), { isThemeValid: qe, warnInvalidTheme: Ye } = Lt(), p = Pe, $ = f(null), P = f(vt()), oe = f(0), se = f(0), re = f(0), ne = f(null), ue = f(null), ie = f(null), L = $e(null), S = $e(null), D = f(!1), I = f(null), J = f(null), T = v(() => !!p.dataset && p.dataset.length);
|
|
54
54
|
nt(ce);
|
|
55
55
|
function ce() {
|
|
56
56
|
if (dt(p.dataset) ? xe({
|
|
@@ -110,8 +110,8 @@ const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
110
110
|
defaultConfig: We
|
|
111
111
|
}), l = t.theme;
|
|
112
112
|
if (!l) return t;
|
|
113
|
-
if (!
|
|
114
|
-
return
|
|
113
|
+
if (!qe.value(t))
|
|
114
|
+
return Ye(t), t;
|
|
115
115
|
const a = le({
|
|
116
116
|
userConfig: Ne[l] || p.config,
|
|
117
117
|
defaultConfig: t
|
|
@@ -208,20 +208,20 @@ const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
208
208
|
e.value.table.columnNames.value,
|
|
209
209
|
e.value.table.columnNames.percentage
|
|
210
210
|
], l = R.value.head.map((g, c) => {
|
|
211
|
-
const U =
|
|
211
|
+
const U = q(
|
|
212
212
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
213
213
|
R.value.body[c],
|
|
214
|
-
|
|
214
|
+
Y({
|
|
215
215
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
216
216
|
v: R.value.body[c],
|
|
217
217
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
218
218
|
r: e.value.table.td.roundingValue
|
|
219
219
|
}),
|
|
220
220
|
{ datapoint: u.value[c] }
|
|
221
|
-
), te =
|
|
221
|
+
), te = q(
|
|
222
222
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
223
223
|
u.value[c].proportion * 100,
|
|
224
|
-
|
|
224
|
+
Y({
|
|
225
225
|
v: u.value[c].proportion * 100,
|
|
226
226
|
s: "%",
|
|
227
227
|
r: e.value.table.td.roundingPercentage
|
|
@@ -576,10 +576,10 @@ const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
576
576
|
style: x({
|
|
577
577
|
animationDelay: `${150 * o}ms`
|
|
578
578
|
})
|
|
579
|
-
}, V(s(
|
|
579
|
+
}, V(s(q)(
|
|
580
580
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
581
581
|
a.proportion * 100,
|
|
582
|
-
s(
|
|
582
|
+
s(Y)({
|
|
583
583
|
v: a.proportion * 100,
|
|
584
584
|
s: "%",
|
|
585
585
|
r: e.value.style.chart.circles.dataLabels.rounding
|
|
@@ -636,10 +636,10 @@ const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
636
636
|
style: x({
|
|
637
637
|
animationDelay: `${150 * o}ms`
|
|
638
638
|
})
|
|
639
|
-
}, V(s(
|
|
639
|
+
}, V(s(q)(
|
|
640
640
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
641
641
|
a.value,
|
|
642
|
-
s(
|
|
642
|
+
s(Y)({
|
|
643
643
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
644
644
|
v: a.value,
|
|
645
645
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
@@ -732,12 +732,12 @@ const Se = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
732
732
|
]), 1040)) : m("", !0)
|
|
733
733
|
], 46, Tt));
|
|
734
734
|
}
|
|
735
|
-
},
|
|
735
|
+
}, qt = /* @__PURE__ */ St(Wt, [["__scopeId", "data-v-fb155766"]]), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
736
736
|
__proto__: null,
|
|
737
|
-
default:
|
|
737
|
+
default: qt
|
|
738
738
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
739
739
|
export {
|
|
740
740
|
na as a,
|
|
741
741
|
ua as b,
|
|
742
|
-
|
|
742
|
+
qt as v
|
|
743
743
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineAsyncComponent as S, ref as n, computed as d, toRefs as Bt, onMounted as Et, watch as Ee, createElementBlock as v, openBlock as r, unref as s, normalizeStyle as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as qt, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as eo } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as S, ref as n, computed as d, toRefs as Bt, onMounted as Et, watch as Ee, createElementBlock as v, openBlock as r, unref as s, normalizeStyle as R, normalizeClass as W, createBlock as F, createCommentVNode as h, createElementVNode as $, createVNode as le, withCtx as i, renderSlot as c, normalizeProps as p, guardReactiveProps as y, createSlots as Ie, Fragment as Le, renderList as Ne, Teleport as It, toDisplayString as ae, resolveDynamicComponent as Lt, mergeProps as Nt, createTextVNode as Ve, nextTick as Me } from "vue";
|
|
2
|
+
import { c as ze, t as Vt, o as Mt, g as Ge, k as zt, i as Gt, p as U, j as Rt, aa as Re, l as Wt, ae as Ut, a as We, d as D, X as Ht, x as Ue, u as jt, q as Xt, Z as Yt } from "./lib-qMPkcvmh.js";
|
|
3
|
+
import { t as qt, u as Zt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Jt, a as ne } from "./useNestedProp-DOOBu_sL.js";
|
|
5
|
+
import { u as Kt, B as Qt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as eo } from "./usePrinter-CjGh4mFJ.js";
|
|
7
7
|
import { u as to } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as oo } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as lo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as ao } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import no from "./img-
|
|
12
|
-
import ro from "./Title-
|
|
13
|
-
import so from "./Legend-
|
|
11
|
+
import no from "./img-CwrkWkkl.js";
|
|
12
|
+
import ro from "./Title-CgkWUXeV.js";
|
|
13
|
+
import so from "./Legend-Djkw4FGq.js";
|
|
14
14
|
import { _ as uo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, je = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { arcs: { gradient: { color: "#1A1A1A" } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, qe = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { arcs: { gradient: { color: "#fbfafa" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } },
|
|
15
|
+
const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, je = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { arcs: { gradient: { color: "#1A1A1A" } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, qe = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { arcs: { gradient: { color: "#fbfafa" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ze = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Je = {
|
|
16
16
|
default: {},
|
|
17
17
|
dark: He,
|
|
18
18
|
celebration: je,
|
|
19
19
|
celebrationNight: Xe,
|
|
20
20
|
hack: Ye,
|
|
21
21
|
zen: qe,
|
|
22
|
-
concrete:
|
|
23
|
-
},
|
|
22
|
+
concrete: Ze
|
|
23
|
+
}, Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
24
|
__proto__: null,
|
|
25
25
|
celebration: je,
|
|
26
26
|
celebrationNight: Xe,
|
|
27
|
-
concrete:
|
|
27
|
+
concrete: Ze,
|
|
28
28
|
dark: He,
|
|
29
|
-
default:
|
|
29
|
+
default: Je,
|
|
30
30
|
hack: Ye,
|
|
31
31
|
zen: qe
|
|
32
32
|
}, Symbol.toStringTag, { value: "Module" })), io = ["id"], co = ["id"], vo = ["xmlns", "viewBox"], ho = ["width", "height"], go = ["id"], fo = ["stdDeviation"], bo = ["d", "stroke", "stroke-width"], po = ["d", "stroke", "stroke-width"], yo = ["filter"], mo = ["d", "stroke", "stroke-width"], Co = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], ko = {
|
|
@@ -49,11 +49,11 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
emits: ["selectLegend", "selectDatapoint"],
|
|
52
|
-
setup(
|
|
53
|
-
const tt = S(() => import("./Tooltip-
|
|
52
|
+
setup(Ke, { expose: Qe, emit: et }) {
|
|
53
|
+
const tt = S(() => import("./Tooltip-OHx7yHlS.js")), ot = S(() => import("./BaseIcon-CALhpING.js")), lt = S(() => import("./vue-ui-accordion-BWfQ8Imt.js")), at = S(() => import("./DataTable-Ca1twcf7.js")), nt = S(() => import("./PenAndPaper-DscVdZ1u.js")), rt = S(() => import("./UserOptions-ChRXLqps.js")), st = S(() => import("./PackageVersion-B9RA2_BM.js")), ut = S(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_galaxy: it } = Jt(), { isThemeValid: ct, warnInvalidTheme: dt } = oo(), m = Ke, C = n(ze()), k = n(null), H = n(!1), j = n(""), O = n(null), re = n(0), se = n(0), ue = n(0), ie = n(0), ce = n(null), de = n(null), ve = n(null), he = n(null), _ = n(null), N = n(null), ge = n(!1), B = n(null), X = n(null), fe = d(() => !!m.dataset && m.dataset.length), e = n(J()), { loading: Y, FINAL_DATASET: be } = Kt({
|
|
54
54
|
...Bt(m),
|
|
55
55
|
FINAL_CONFIG: e,
|
|
56
|
-
prepareConfig:
|
|
56
|
+
prepareConfig: J,
|
|
57
57
|
callback: () => {
|
|
58
58
|
Promise.resolve().then(async () => {
|
|
59
59
|
await Me(), f.value.showTable = e.value.table.show;
|
|
@@ -86,16 +86,16 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
86
86
|
});
|
|
87
87
|
const pe = d(() => !!e.value.debug);
|
|
88
88
|
function ye() {
|
|
89
|
-
if (Mt(m.dataset) ?
|
|
89
|
+
if (Mt(m.dataset) ? Ge({
|
|
90
90
|
componentName: "VueUiGalaxy",
|
|
91
91
|
type: "dataset",
|
|
92
92
|
debug: pe.value
|
|
93
93
|
}) : m.dataset.forEach((t, l) => {
|
|
94
|
-
|
|
94
|
+
zt({
|
|
95
95
|
datasetObject: t,
|
|
96
96
|
requiredAttributes: ["name", "values"]
|
|
97
97
|
}).forEach((o) => {
|
|
98
|
-
|
|
98
|
+
Ge({
|
|
99
99
|
componentName: "VueUiGalaxy",
|
|
100
100
|
type: "datasetSerieAttribute",
|
|
101
101
|
property: o,
|
|
@@ -105,7 +105,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
105
105
|
});
|
|
106
106
|
}), e.value.responsive) {
|
|
107
107
|
const t = qt(() => {
|
|
108
|
-
const { width: l, height: o } =
|
|
108
|
+
const { width: l, height: o } = Zt({
|
|
109
109
|
chart: k.value,
|
|
110
110
|
title: e.value.style.chart.title.text ? ce.value : null,
|
|
111
111
|
legend: e.value.style.chart.legend.show ? de.value : null,
|
|
@@ -119,8 +119,8 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
119
119
|
_.value && (N.value && _.value.unobserve(N.value), _.value.disconnect()), _.value = new ResizeObserver(t), N.value = k.value.parentNode, _.value.observe(N.value);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
const { userOptionsVisible: q, setUserOptionsVisibility: me, keepUserOptionState: Ce } = lo({ config: e.value }), { svgRef:
|
|
123
|
-
function
|
|
122
|
+
const { userOptionsVisible: q, setUserOptionsVisibility: me, keepUserOptionState: Ce } = lo({ config: e.value }), { svgRef: Z } = ao({ config: e.value.style.chart.title });
|
|
123
|
+
function J() {
|
|
124
124
|
const t = ne({
|
|
125
125
|
userConfig: m.config,
|
|
126
126
|
defaultConfig: it
|
|
@@ -129,7 +129,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
129
129
|
if (!ct.value(t))
|
|
130
130
|
return dt(t), t;
|
|
131
131
|
const o = ne({
|
|
132
|
-
userConfig:
|
|
132
|
+
userConfig: Je[l] || m.config,
|
|
133
133
|
defaultConfig: t
|
|
134
134
|
}), a = ne({
|
|
135
135
|
userConfig: m.config,
|
|
@@ -137,17 +137,17 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
137
137
|
});
|
|
138
138
|
return {
|
|
139
139
|
...a,
|
|
140
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
140
|
+
customPalette: a.customPalette.length ? a.customPalette : Gt[l] || U
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
Ee(() => m.config, (t) => {
|
|
144
|
-
e.value =
|
|
144
|
+
e.value = J(), q.value = !e.value.userOptions.showOnChartHover, ye(), se.value += 1, ue.value += 1, ie.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
145
145
|
}, { deep: !0 });
|
|
146
146
|
const { isPrinting: ke, isImaging: we, generatePdf: Ae, generateImage: $e } = eo({
|
|
147
147
|
elementId: `galaxy_${C.value}`,
|
|
148
148
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
149
149
|
options: e.value.userOptions.print
|
|
150
|
-
}), vt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = d(() =>
|
|
150
|
+
}), vt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = d(() => Rt(e.value.customPalette)), f = n({
|
|
151
151
|
dataLabels: {
|
|
152
152
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
153
153
|
},
|
|
@@ -182,9 +182,9 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
182
182
|
const w = d(() => be.value.map((t, l) => ({
|
|
183
183
|
name: t.name,
|
|
184
184
|
color: Wt(t.color) || ht.value[l] || U[l] || U[l % U.length],
|
|
185
|
-
value: t.values ?
|
|
186
|
-
absoluteValues:
|
|
187
|
-
id:
|
|
185
|
+
value: t.values ? Re(t.values).reduce((o, a) => o + a, 0) : 0,
|
|
186
|
+
absoluteValues: Re(t.values),
|
|
187
|
+
id: ze()
|
|
188
188
|
})).sort((t, l) => l.value - t.value).map((t, l) => ({
|
|
189
189
|
...t,
|
|
190
190
|
absoluteIndex: l
|
|
@@ -222,7 +222,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
222
222
|
}
|
|
223
223
|
return t.filter((l) => !b.value.includes(l.id)).toSorted((l, o) => o.points - l.points);
|
|
224
224
|
});
|
|
225
|
-
function
|
|
225
|
+
function K(t) {
|
|
226
226
|
const l = Math.min(V.value, M.value), o = O.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, a = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * o, u = e.value.style.chart.layout.arcs.strokeWidth * o, g = e.value.style.chart.layout.arcs.strokeWidth / 2 * o;
|
|
227
227
|
return {
|
|
228
228
|
border: a / 180 * l,
|
|
@@ -234,7 +234,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
234
234
|
function De(t) {
|
|
235
235
|
P.value = t, re.value += 1;
|
|
236
236
|
}
|
|
237
|
-
const
|
|
237
|
+
const Q = n(null);
|
|
238
238
|
function kt(t) {
|
|
239
239
|
H.value = !1, O.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
240
240
|
}
|
|
@@ -242,7 +242,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
242
242
|
Te("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
243
243
|
}
|
|
244
244
|
function At({ datapoint: t, _relativeIndex: l, seriesIndex: o, show: a = !1 }) {
|
|
245
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }),
|
|
245
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), Q.value = {
|
|
246
246
|
datapoint: t,
|
|
247
247
|
seriesIndex: o,
|
|
248
248
|
series: w.value,
|
|
@@ -315,7 +315,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
315
315
|
t ? t(a) : Xt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
-
const
|
|
318
|
+
const z = d(() => {
|
|
319
319
|
const t = [
|
|
320
320
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
321
321
|
D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
@@ -364,9 +364,9 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
364
364
|
function Pe() {
|
|
365
365
|
f.value.showTooltip = !f.value.showTooltip;
|
|
366
366
|
}
|
|
367
|
-
const
|
|
367
|
+
const G = n(!1);
|
|
368
368
|
function oe() {
|
|
369
|
-
|
|
369
|
+
G.value = !G.value;
|
|
370
370
|
}
|
|
371
371
|
async function Tt({ scale: t = 2 } = {}) {
|
|
372
372
|
if (!k.value) return;
|
|
@@ -420,7 +420,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
420
420
|
...t,
|
|
421
421
|
name: t.display
|
|
422
422
|
}))), St = d(() => e.value.style.chart.backgroundColor), Ft = d(() => e.value.style.chart.legend), Dt = d(() => e.value.style.chart.title), { exportSvg: Ot, getSvg: Pt } = to({
|
|
423
|
-
svg:
|
|
423
|
+
svg: Z,
|
|
424
424
|
title: Dt,
|
|
425
425
|
legend: Ft,
|
|
426
426
|
legendItems: xt,
|
|
@@ -433,7 +433,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
433
433
|
} else
|
|
434
434
|
Ot();
|
|
435
435
|
}
|
|
436
|
-
return
|
|
436
|
+
return Qe({
|
|
437
437
|
getData: yt,
|
|
438
438
|
getImage: Tt,
|
|
439
439
|
generatePdf: Ae,
|
|
@@ -450,17 +450,17 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
450
450
|
ref_key: "galaxyChart",
|
|
451
451
|
ref: k,
|
|
452
452
|
class: W(`vue-data-ui-component vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${s(Y) ? "loading" : ""}`),
|
|
453
|
-
style:
|
|
453
|
+
style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
454
454
|
id: `galaxy_${C.value}`,
|
|
455
455
|
onMouseenter: l[2] || (l[2] = () => s(me)(!0)),
|
|
456
456
|
onMouseleave: l[3] || (l[3] = () => s(me)(!1))
|
|
457
457
|
}, [
|
|
458
458
|
e.value.userOptions.buttons.annotator ? (r(), F(s(nt), {
|
|
459
459
|
key: 0,
|
|
460
|
-
svgRef: s(
|
|
460
|
+
svgRef: s(Z),
|
|
461
461
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
462
462
|
color: e.value.style.chart.color,
|
|
463
|
-
active:
|
|
463
|
+
active: G.value,
|
|
464
464
|
onClose: oe
|
|
465
465
|
}, {
|
|
466
466
|
"annotator-action-close": i(() => [
|
|
@@ -535,7 +535,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
535
535
|
chartElement: k.value,
|
|
536
536
|
position: e.value.userOptions.position,
|
|
537
537
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
538
|
-
isAnnotation:
|
|
538
|
+
isAnnotation: G.value,
|
|
539
539
|
callbacks: e.value.userOptions.callbacks,
|
|
540
540
|
printScale: e.value.userOptions.print.scale,
|
|
541
541
|
tableDialog: e.value.table.useDialog,
|
|
@@ -547,7 +547,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
547
547
|
onToggleTable: Oe,
|
|
548
548
|
onToggleTooltip: Pe,
|
|
549
549
|
onToggleAnnotator: oe,
|
|
550
|
-
style:
|
|
550
|
+
style: R({
|
|
551
551
|
visibility: s(Ce) ? s(q) ? "visible" : "hidden" : "visible"
|
|
552
552
|
})
|
|
553
553
|
}, Ie({ _: 2 }, [
|
|
@@ -617,11 +617,11 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
617
617
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
618
618
|
(r(), v("svg", {
|
|
619
619
|
ref_key: "svgRef",
|
|
620
|
-
ref:
|
|
620
|
+
ref: Z,
|
|
621
621
|
xmlns: s(Ht),
|
|
622
622
|
class: W({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
623
623
|
viewBox: T.value.viewBox,
|
|
624
|
-
style:
|
|
624
|
+
style: R(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
625
625
|
}, [
|
|
626
626
|
le(s(st)),
|
|
627
627
|
t.$slots["chart-background"] ? (r(), v("foreignObject", {
|
|
@@ -656,7 +656,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
656
656
|
d: o.path,
|
|
657
657
|
fill: "none",
|
|
658
658
|
stroke: e.value.style.chart.backgroundColor,
|
|
659
|
-
"stroke-width":
|
|
659
|
+
"stroke-width": K(o).border,
|
|
660
660
|
"stroke-linecap": "round"
|
|
661
661
|
}, null, 8, bo)) : h("", !0),
|
|
662
662
|
o.value ? (r(), v("path", {
|
|
@@ -664,7 +664,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
664
664
|
d: o.path,
|
|
665
665
|
fill: "none",
|
|
666
666
|
stroke: o.color,
|
|
667
|
-
"stroke-width":
|
|
667
|
+
"stroke-width": K(o).path,
|
|
668
668
|
"stroke-linecap": "round",
|
|
669
669
|
class: W(`${O.value && O.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
670
670
|
}, null, 10, po)) : h("", !0),
|
|
@@ -676,7 +676,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
676
676
|
d: o.path,
|
|
677
677
|
fill: "none",
|
|
678
678
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
679
|
-
"stroke-width":
|
|
679
|
+
"stroke-width": K(o).blur,
|
|
680
680
|
"stroke-linecap": "round",
|
|
681
681
|
class: W(`vue-ui-galaxy-gradient ${O.value && O.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
682
682
|
}, null, 10, mo)
|
|
@@ -725,7 +725,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
725
725
|
s(Y) ? h("", !0) : (r(), v("div", {
|
|
726
726
|
key: 0,
|
|
727
727
|
onClick: (u) => E(o),
|
|
728
|
-
style:
|
|
728
|
+
style: R(`opacity:${b.value.includes(o.id) ? 0.5 : 1}`)
|
|
729
729
|
}, ae(o.display), 13, Ao))
|
|
730
730
|
]),
|
|
731
731
|
_: 1
|
|
@@ -762,10 +762,10 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
762
762
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
763
763
|
}, {
|
|
764
764
|
"tooltip-before": i(() => [
|
|
765
|
-
c(t.$slots, "tooltip-before", p(y({ ...
|
|
765
|
+
c(t.$slots, "tooltip-before", p(y({ ...Q.value })), void 0, !0)
|
|
766
766
|
]),
|
|
767
767
|
"tooltip-after": i(() => [
|
|
768
|
-
c(t.$slots, "tooltip-after", p(y({ ...
|
|
768
|
+
c(t.$slots, "tooltip-after", p(y({ ...Q.value })), void 0, !0)
|
|
769
769
|
]),
|
|
770
770
|
_: 3
|
|
771
771
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -777,10 +777,10 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
777
777
|
content: i(() => [
|
|
778
778
|
(r(), F(s(at), {
|
|
779
779
|
key: `table_${ue.value}`,
|
|
780
|
-
colNames:
|
|
781
|
-
head:
|
|
782
|
-
body:
|
|
783
|
-
config:
|
|
780
|
+
colNames: z.value.colNames,
|
|
781
|
+
head: z.value.head,
|
|
782
|
+
body: z.value.body,
|
|
783
|
+
config: z.value.config,
|
|
784
784
|
title: e.value.table.useDialog ? "" : L.value.title,
|
|
785
785
|
withCloseButton: !e.value.table.useDialog,
|
|
786
786
|
onClose: _e
|
|
@@ -823,15 +823,15 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
823
823
|
key: "1"
|
|
824
824
|
} : void 0
|
|
825
825
|
]), 1040)) : h("", !0),
|
|
826
|
-
s(Y) ? (r(), F(
|
|
826
|
+
s(Y) ? (r(), F(Qt, { key: 8 })) : h("", !0)
|
|
827
827
|
], 46, io));
|
|
828
828
|
}
|
|
829
|
-
}, xo = /* @__PURE__ */ uo(To, [["__scopeId", "data-v-0d1007ad"]]),
|
|
829
|
+
}, xo = /* @__PURE__ */ uo(To, [["__scopeId", "data-v-0d1007ad"]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
830
830
|
__proto__: null,
|
|
831
831
|
default: xo
|
|
832
832
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
833
833
|
export {
|
|
834
|
-
|
|
835
|
-
|
|
834
|
+
Go as a,
|
|
835
|
+
Ro as b,
|
|
836
836
|
xo as v
|
|
837
837
|
};
|