vue-data-ui 3.7.16 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -43
- package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
- package/dist/{BaseDraggableDialog-CtB38kJq.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
- package/dist/{BaseIcon--wNsuYtd.js → BaseIcon-CALhpING.js} +5 -3
- package/dist/{ColorPicker-CsQ_h1jK.js → ColorPicker-B_9b0REv.js} +2 -2
- package/dist/{DataTable-DRZJOlJB.js → DataTable-Ca1twcf7.js} +2 -2
- package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C_uUSM9z.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
- package/dist/{PackageVersion-BW9_gimf.js → PackageVersion-Dc4fCiDF.js} +1 -1
- package/dist/{PenAndPaper-CMmG5Mka.js → PenAndPaper-DscVdZ1u.js} +3 -3
- package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
- package/dist/{Slicer-BJ0Jqa6a.js → Slicer-DaUi0o8i.js} +2 -2
- package/dist/{SlicerPreview-BWl4UOqy.js → SlicerPreview-Bk-h_ANq.js} +2 -2
- package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
- package/dist/{Title-CM2dM0rQ.js → Title-CWX8otQg.js} +1 -1
- package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
- package/dist/{UserOptions-5GYBcJJU.js → UserOptions-ChRXLqps.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +5 -0
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BG68zYm5.js → dom-to-png-VQEAYRVr.js} +1 -1
- package/dist/{img-BYzbY8TZ.js → img-CwrkWkkl.js} +1 -1
- package/dist/{lib-DUaaQGCv.js → lib-qMPkcvmh.js} +194 -179
- package/dist/{pdf--SSvtzbF.js → pdf-BMMrFX8S.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +146 -5
- package/dist/types/vue-ui-dag.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
- package/dist/{useNestedProp-CoXaJ2T6.js → useNestedProp-DH2Pjkde.js} +270 -184
- package/dist/usePanZoom-DMfuOfaC.js +135 -0
- package/dist/{usePrinter-BdVu83IN.js → usePrinter-CjGh4mFJ.js} +2 -2
- package/dist/vue-data-ui-DqfM8Vz8.js +351 -0
- package/dist/vue-data-ui.js +202 -216
- package/dist/{vue-ui-3d-bar--XbxxtdU.js → vue-ui-3d-bar-CVgWSxvV.js} +6 -6
- package/dist/{vue-ui-accordion-WOXCCkiC.js → vue-ui-accordion-DiNnR-ZE.js} +3 -3
- package/dist/{vue-ui-age-pyramid-oJ-yVno1.js → vue-ui-age-pyramid-7CfFjz5B.js} +25 -25
- package/dist/{vue-ui-annotator-DmX0nJap.js → vue-ui-annotator-D_z1JO0m.js} +7 -7
- package/dist/{vue-ui-bullet-BSexyA7e.js → vue-ui-bullet-CkBYg2ju.js} +7 -7
- package/dist/{vue-ui-candlestick-Cn0FCDdN.js → vue-ui-candlestick-CoNGZeIc.js} +39 -39
- package/dist/{vue-ui-carousel-table-HJewuQDB.js → vue-ui-carousel-table-DFAWxemP.js} +4 -4
- package/dist/{vue-ui-chestnut-jpnadZPu.js → vue-ui-chestnut-CWxFxnja.js} +5 -5
- package/dist/{vue-ui-chord-DtAB5se2.js → vue-ui-chord-p2h6IONa.js} +8 -8
- package/dist/{vue-ui-circle-pack-BTbgkyJ2.js → vue-ui-circle-pack-Dei0aswf.js} +37 -37
- package/dist/{vue-ui-cursor-DgWumfhl.js → vue-ui-cursor-oaIVMRWP.js} +3 -3
- package/dist/vue-ui-dag-D0ImsCHg.js +2770 -0
- package/dist/{vue-ui-dashboard-BnAUQtnC.js → vue-ui-dashboard-DpotsaP2.js} +68 -68
- package/dist/{vue-ui-digits-ByiQlK70.js → vue-ui-digits-B7rN8UWS.js} +2 -2
- package/dist/{vue-ui-donut-CKSt_cq4.js → vue-ui-donut-DsCBPM7k.js} +88 -88
- package/dist/{vue-ui-donut-evolution-DvdTGB7S.js → vue-ui-donut-evolution-mSDD8tt9.js} +85 -85
- package/dist/{vue-ui-dumbbell-Injrp_b4.js → vue-ui-dumbbell-CU9Bqy_T.js} +33 -33
- package/dist/{vue-ui-flow-bbLDmA3Q.js → vue-ui-flow-BxjQr6zQ.js} +42 -42
- package/dist/{vue-ui-funnel-B9iC-gYh.js → vue-ui-funnel-Cs2_wFOA.js} +19 -19
- package/dist/{vue-ui-galaxy-SMeufYzr.js → vue-ui-galaxy-CFbE4FoS.js} +59 -59
- package/dist/{vue-ui-gauge-FMuSlHqG.js → vue-ui-gauge-6g1fkJjW.js} +25 -25
- package/dist/{vue-ui-gizmo-0B3wKFgG.js → vue-ui-gizmo-BzUlvG3U.js} +3 -3
- package/dist/{vue-ui-heatmap-BxztC6jw.js → vue-ui-heatmap-B9Sc1Qym.js} +67 -67
- package/dist/{vue-ui-history-plot-D_qkv6IS.js → vue-ui-history-plot-CpskzQg2.js} +43 -43
- package/dist/{vue-ui-horizontal-bar-BhTVXhQB.js → vue-ui-horizontal-bar-DMByg_zj.js} +69 -69
- package/dist/{vue-ui-kpi-DvCTUXWh.js → vue-ui-kpi-B6oDMqQL.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjT-X5O8.js → vue-ui-mini-loader-BXLMnXR4.js} +2 -2
- package/dist/{vue-ui-molecule-CazE9-Nk.js → vue-ui-molecule-y8AOUQvZ.js} +53 -53
- package/dist/{vue-ui-mood-radar-vrciNRi0.js → vue-ui-mood-radar--XevYXsy.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BAcHknTn.js → vue-ui-nested-donuts-A-J72aa_.js} +38 -38
- package/dist/{vue-ui-onion-DgmiBf_W.js → vue-ui-onion-CZH1uzU_.js} +38 -38
- package/dist/{vue-ui-parallel-coordinate-plot-CdvrCiVK.js → vue-ui-parallel-coordinate-plot-px6mudIa.js} +43 -43
- package/dist/{vue-ui-quadrant-C1GEbyIm.js → vue-ui-quadrant-Cnh6vISS.js} +8 -8
- package/dist/{vue-ui-quick-chart-DL9GV0J3.js → vue-ui-quick-chart-CA1Yns69.js} +51 -51
- package/dist/{vue-ui-radar-B4DfCpS5.js → vue-ui-radar-CwL0pqRH.js} +41 -41
- package/dist/{vue-ui-rating-CyJYLx9l.js → vue-ui-rating-CtkV7O_k.js} +2 -2
- package/dist/{vue-ui-relation-circle-Dm8wLlBa.js → vue-ui-relation-circle-B-sm1VFO.js} +19 -19
- package/dist/{vue-ui-ridgeline-E2EPeaJ7.js → vue-ui-ridgeline-DC2uKfbu.js} +8 -8
- package/dist/{vue-ui-rings-DnlHsA26.js → vue-ui-rings-CKOzGb8B.js} +37 -37
- package/dist/{vue-ui-scatter-DuKgh9Zo.js → vue-ui-scatter-C1ajpkcR.js} +8 -8
- package/dist/{vue-ui-skeleton-BhWvFc3O.js → vue-ui-skeleton-D6MjtTX_.js} +3 -3
- package/dist/{vue-ui-smiley-BkXC5UFE.js → vue-ui-smiley-C-mXyFxi.js} +2 -2
- package/dist/{vue-ui-spark-trend-DZWSf9JB.js → vue-ui-spark-trend-BsVhD00l.js} +16 -16
- package/dist/{vue-ui-sparkbar-CqH28hXO.js → vue-ui-sparkbar-Drazbrah.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DT_yPxzw.js → vue-ui-sparkgauge-CRbo19gz.js} +17 -17
- package/dist/{vue-ui-sparkhistogram-Dv9UjLCt.js → vue-ui-sparkhistogram-C41IySqq.js} +4 -4
- package/dist/{vue-ui-sparkline-AvAyn0Uv.js → vue-ui-sparkline-DhMJlZAj.js} +31 -31
- package/dist/{vue-ui-sparkstackbar-X_VGCj6T.js → vue-ui-sparkstackbar-DfyfDxF-.js} +3 -3
- package/dist/{vue-ui-stackbar-DQP8yEJM.js → vue-ui-stackbar-DnDjTmzg.js} +9 -9
- package/dist/{vue-ui-stackline-VLPuuMyW.js → vue-ui-stackline-DYVq55D8.js} +55 -55
- package/dist/{vue-ui-strip-plot-Tf-eojtF.js → vue-ui-strip-plot-DDEm7mMm.js} +28 -28
- package/dist/{vue-ui-table-Onk8Ep_o.js → vue-ui-table-RCYr7_oK.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DKJxeQIL.js → vue-ui-table-heatmap-DODhMbZE.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DgISlLtt.js → vue-ui-table-sparkline-cheUhGm3.js} +4 -4
- package/dist/{vue-ui-thermometer-BnYdXPWo.js → vue-ui-thermometer-BheFELBN.js} +19 -19
- package/dist/{vue-ui-timer-BWNvvVI8.js → vue-ui-timer-DUaqMYu9.js} +12 -12
- package/dist/{vue-ui-tiremarks-CW0yee-q.js → vue-ui-tiremarks-CzEPq7Qm.js} +6 -6
- package/dist/{vue-ui-treemap-BfY0n0I2.js → vue-ui-treemap-JmxDMTGO.js} +51 -51
- package/dist/{vue-ui-waffle-D9lUh12t.js → vue-ui-waffle-Bd_MQwxV.js} +69 -69
- package/dist/{vue-ui-wheel-C-oMzvbq.js → vue-ui-wheel-BfR7YioI.js} +6 -6
- package/dist/{vue-ui-word-cloud-DYrmMP9R.js → vue-ui-word-cloud-CI2APc9f.js} +41 -41
- package/dist/{vue-ui-world-DAObATdc.js → vue-ui-world-3Oy8hJ6R.js} +6 -6
- package/dist/{vue-ui-xy-D6gFGE5R.js → vue-ui-xy-BWzZbqJo.js} +75 -75
- package/dist/{vue-ui-xy-canvas-B_dtbPQy.js → vue-ui-xy-canvas-Cq-lVd9y.js} +127 -127
- package/package.json +4 -3
- package/dist/usePanZoom-DZtyJi5q.js +0 -127
- package/dist/vue-data-ui-DOR1SV2J.js +0 -337
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as E, useSlots as Yt, computed as v, ref as i, toRefs as
|
|
2
|
-
import { c as ll, t as al, i as ol, p as R, o as ot, g as $e, k as ul, j as rl, a as
|
|
1
|
+
import { defineAsyncComponent as E, useSlots as Yt, computed as v, ref as i, toRefs as Zt, watch as Z, shallowRef as tt, onMounted as Jt, onBeforeUnmount as Kt, createElementBlock as c, openBlock as n, unref as h, normalizeStyle as ae, normalizeClass as lt, createBlock as L, createCommentVNode as C, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as p, normalizeProps as $, guardReactiveProps as x, createSlots as we, Fragment as T, renderList as z, mergeProps as Ae, toDisplayString as ue, Teleport as Qt, resolveDynamicComponent as el, createTextVNode as at, nextTick as tl } from "vue";
|
|
2
|
+
import { c as ll, t as al, i as ol, p as R, o as ot, g as $e, k as ul, j as rl, a as J, d as D, X as nl, s as sl, h as il, w as cl, l as vl, u as dl, q as hl, F as fl, x as pl, Z as gl } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as yl, u as bl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ml, a as xe } from "./useNestedProp-
|
|
4
|
+
import { u as ml, a as xe } from "./useNestedProp-DH2Pjkde.js";
|
|
5
5
|
import { u as Cl, B as kl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as wl } from "./usePrinter-
|
|
6
|
+
import { u as wl } from "./usePrinter-CjGh4mFJ.js";
|
|
7
7
|
import { u as Al } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as $l } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as xl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as Tl } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import Fl from "./img-
|
|
12
|
-
import { _ as
|
|
13
|
-
import
|
|
14
|
-
import _l from "./Legend-
|
|
11
|
+
import Fl from "./img-CwrkWkkl.js";
|
|
12
|
+
import { _ as Il } from "./Shape-BEGGcaL8.js";
|
|
13
|
+
import Sl from "./Title-CWX8otQg.js";
|
|
14
|
+
import _l from "./Legend-Djkw4FGq.js";
|
|
15
15
|
import { _ as Bl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rect: { rounded: !1, stroke: "#1A1A1A" } }, 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" } } }, rt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { rect: { rounded: !1, stroke: "#FFF8E1", useGradient: !1 } }, legend: { color: "#424242", backgroundColor: "#FFF8E1" }, 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" } } }, nt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { rect: { rounded: !1, stroke: "#1E1E1E", useGradient: !1 } }, legend: { color: "#BDBDBD", backgroundColor: "#1E1E1E" }, 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" } } }, st = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { rect: { rounded: !1, stroke: "#66CC66", useGradient: !1 } }, legend: { color: "#99AA99", backgroundColor: "#1A1A1A" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, it = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { rect: { rounding: 4, stroke: "#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" } } }, ct = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { rect: { rounded: !1, stroke: "#404C5A", useGradient: !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" } } }, vt = {
|
|
17
17
|
default: {},
|
|
@@ -33,7 +33,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
33
33
|
}, Symbol.toStringTag, { value: "Module" })), Ol = ["id"], Dl = ["id"], Pl = ["xmlns", "viewBox"], El = ["id"], Ll = ["stop-color"], zl = ["stop-color"], Vl = ["id"], Nl = ["x", "y", "height", "width"], Ml = ["height", "width"], Rl = { key: 0 }, Ul = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Gl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Wl = { key: 1 }, jl = ["rx", "x", "y", "height", "width", "fill", "filter"], ql = ["textContent", "x", "y", "font-size", "fill", "filter"], Hl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Xl = {
|
|
34
34
|
key: 4,
|
|
35
35
|
class: "vue-data-ui-watermark"
|
|
36
|
-
}, Yl = ["id"],
|
|
36
|
+
}, Yl = ["id"], Zl = ["onClick"], Jl = ["innerHTML"], Kl = {
|
|
37
37
|
__name: "vue-ui-waffle",
|
|
38
38
|
props: {
|
|
39
39
|
config: {
|
|
@@ -51,8 +51,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
51
51
|
},
|
|
52
52
|
emits: ["selectLegend"],
|
|
53
53
|
setup(dt, { expose: ht, emit: ft }) {
|
|
54
|
-
const pt = E(() => import("./Tooltip-
|
|
55
|
-
...
|
|
54
|
+
const pt = E(() => import("./Tooltip-OHx7yHlS.js")), gt = E(() => import("./BaseIcon-CALhpING.js")), yt = E(() => import("./DataTable-Ca1twcf7.js")), bt = E(() => import("./vue-ui-accordion-DiNnR-ZE.js")), mt = E(() => import("./UserOptions-ChRXLqps.js")), Ct = E(() => import("./PenAndPaper-DscVdZ1u.js")), kt = E(() => import("./PackageVersion-Dc4fCiDF.js")), wt = E(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_waffle: At } = ml(), { isThemeValid: $t, warnInvalidTheme: xt } = $l(), m = dt, Tt = Yt(), re = v(() => !!m.dataset && m.dataset.length), b = i(ll()), ne = i(!1), se = i(""), U = i(null), Te = i(0), F = i(null), Fe = i(null), Ie = i(null), Se = i(null), _e = i(null), Be = i(0), Oe = i(0), De = i(0), Pe = i(!1), j = i(null), ie = i(null), e = i(he()), { loading: Ee, FINAL_DATASET: K, manualLoading: ce } = Cl({
|
|
55
|
+
...Zt(m),
|
|
56
56
|
FINAL_CONFIG: e,
|
|
57
57
|
prepareConfig: he,
|
|
58
58
|
callback: () => {
|
|
@@ -124,7 +124,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
124
124
|
customPalette: o.customPalette.length ? o.customPalette : ol[l] || R
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
Z(() => m.config, (t) => {
|
|
128
128
|
Ee.value || (e.value = he()), ve.value = !e.value.userOptions.showOnChartHover, Ne(), Be.value += 1, Oe.value += 1, De.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
129
129
|
}, { deep: !0 });
|
|
130
130
|
const P = tt(null), G = tt(null), Ve = v(() => !!e.value.debug);
|
|
@@ -151,20 +151,20 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
151
151
|
const { width: l, height: a } = bl({
|
|
152
152
|
chart: F.value,
|
|
153
153
|
title: e.value.style.chart.title.text ? Fe.value : null,
|
|
154
|
-
legend: e.value.style.chart.legend.show ?
|
|
155
|
-
source:
|
|
154
|
+
legend: e.value.style.chart.legend.show ? Ie.value : null,
|
|
155
|
+
source: Se.value,
|
|
156
156
|
noTitle: _e.value
|
|
157
157
|
});
|
|
158
158
|
requestAnimationFrame(() => {
|
|
159
|
-
V.value.width = l, V.value.height = a,
|
|
159
|
+
V.value.width = l, V.value.height = a, I.value.width = l, I.value.height = a;
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect()), P.value = new ResizeObserver(t), G.value = F.value.parentNode, P.value.observe(G.value);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
Jt(() => {
|
|
166
166
|
Pe.value = !0, Ne();
|
|
167
|
-
}),
|
|
167
|
+
}), Kt(() => {
|
|
168
168
|
P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect());
|
|
169
169
|
});
|
|
170
170
|
const { isPrinting: Me, isImaging: Re, generatePdf: Ue, generateImage: Ge } = wl({
|
|
@@ -175,7 +175,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
175
175
|
showTable: e.value.table.show,
|
|
176
176
|
showTooltip: e.value.style.chart.tooltip.show
|
|
177
177
|
});
|
|
178
|
-
|
|
178
|
+
Z(e, () => {
|
|
179
179
|
w.value = {
|
|
180
180
|
showTable: e.value.table.show,
|
|
181
181
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -184,12 +184,12 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
184
184
|
const V = i({
|
|
185
185
|
height: 512,
|
|
186
186
|
width: 512
|
|
187
|
-
}),
|
|
187
|
+
}), I = i({
|
|
188
188
|
top: 0,
|
|
189
189
|
left: 0,
|
|
190
190
|
height: 512,
|
|
191
191
|
width: 512
|
|
192
|
-
}),
|
|
192
|
+
}), S = v(() => (I.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), _ = v(() => (I.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), It = v(() => Math.max(1e-4, I.value.width / e.value.style.chart.layout.grid.size)), je = v(() => Math.max(1e-4, I.value.height / e.value.style.chart.layout.grid.size));
|
|
193
193
|
function qe(t) {
|
|
194
194
|
const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, ke) => A + ke, 0), o = t.map((A) => A / a * l), u = o.map(Math.floor), r = o.map((A) => A % 1);
|
|
195
195
|
let d = l - u.reduce((A, ke) => A + ke, 0);
|
|
@@ -201,7 +201,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
201
201
|
}
|
|
202
202
|
const q = i(!1);
|
|
203
203
|
function fe() {
|
|
204
|
-
return q.value =
|
|
204
|
+
return q.value = K.value.flatMap((t) => t.values.reduce((l, a) => l + a, 0)).reduce((t, l) => t + l, 0) === 0, K.value.map((t, l) => ({
|
|
205
205
|
...t,
|
|
206
206
|
color: vl(t.color) || We.value[l] || R[l] || R[l % R.length],
|
|
207
207
|
uid: `serie_${l}`,
|
|
@@ -209,18 +209,18 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
209
209
|
}));
|
|
210
210
|
}
|
|
211
211
|
const pe = v(() => fe()), g = i(pe.value);
|
|
212
|
-
|
|
212
|
+
Z(() => m.dataset, (t) => {
|
|
213
213
|
Array.isArray(t) && t.length > 0 && (ce.value = !1);
|
|
214
|
-
}, { immediate: !0 }),
|
|
214
|
+
}, { immediate: !0 }), Z(() => m.dataset, (t) => {
|
|
215
215
|
g.value = fe();
|
|
216
216
|
}, { deep: !0 });
|
|
217
|
-
const
|
|
217
|
+
const St = v(() => {
|
|
218
218
|
const t = g.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o, u) => o + u, 0));
|
|
219
219
|
return qe(t);
|
|
220
220
|
}), _t = v(() => {
|
|
221
221
|
const t = g.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o, u) => o + u));
|
|
222
222
|
return qe(t);
|
|
223
|
-
}), H = v(() => (
|
|
223
|
+
}), H = v(() => (K.value.forEach((t, l) => {
|
|
224
224
|
[null, void 0].includes(t.values) && $e({
|
|
225
225
|
componentName: "VueUiWaffle",
|
|
226
226
|
type: "datasetSerieAttribute",
|
|
@@ -234,7 +234,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
234
234
|
color: t.color,
|
|
235
235
|
value: (t.values || []).reduce((a, o) => a + o, 0),
|
|
236
236
|
absoluteValues: t.values || [],
|
|
237
|
-
proportion:
|
|
237
|
+
proportion: St.value[l]
|
|
238
238
|
})))), ge = v(() => g.value.map((t, l) => ({
|
|
239
239
|
absoluteIndex: t.absoluteIndex,
|
|
240
240
|
uid: t.uid,
|
|
@@ -284,12 +284,12 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
284
284
|
t.push({
|
|
285
285
|
isStartOfLine: a === 0,
|
|
286
286
|
position: e.value.style.chart.layout.grid.vertical ? l : a,
|
|
287
|
-
x: (e.value.style.chart.layout.grid.vertical ? l : a) * (
|
|
288
|
-
y: (e.value.style.chart.layout.grid.vertical ? a : l) * (_.value + e.value.style.chart.layout.grid.spaceBetween) +
|
|
287
|
+
x: (e.value.style.chart.layout.grid.vertical ? l : a) * (S.value + e.value.style.chart.layout.grid.spaceBetween),
|
|
288
|
+
y: (e.value.style.chart.layout.grid.vertical ? a : l) * (_.value + e.value.style.chart.layout.grid.spaceBetween) + I.value.top
|
|
289
289
|
});
|
|
290
290
|
return t;
|
|
291
291
|
}), y = i([]), X = i(!1), He = i(null), Xe = i(null);
|
|
292
|
-
function
|
|
292
|
+
function Q(t) {
|
|
293
293
|
if (q.value) return;
|
|
294
294
|
if (!e.value.useAnimation) {
|
|
295
295
|
y.value.includes(t) ? y.value = y.value.filter((u) => u !== t) : y.value.length < N.value.length - 1 && N.value.length > 1 && y.value.push(t);
|
|
@@ -339,11 +339,11 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
339
339
|
}
|
|
340
340
|
function Dt(t) {
|
|
341
341
|
const l = Ye(t);
|
|
342
|
-
l !== null && y.value.includes(l.uid) &&
|
|
342
|
+
l !== null && y.value.includes(l.uid) && Q(l.uid);
|
|
343
343
|
}
|
|
344
344
|
function Pt(t) {
|
|
345
345
|
const l = Ye(t);
|
|
346
|
-
l !== null && (y.value.includes(l.uid) ||
|
|
346
|
+
l !== null && (y.value.includes(l.uid) || Q(l.uid));
|
|
347
347
|
}
|
|
348
348
|
const N = v(() => g.value.map((t, l) => {
|
|
349
349
|
const a = (t.values || []).reduce((u, r) => u + r, 0), o = a / g.value.map((u) => (u.values || []).reduce((r, d) => r + d, 0)).reduce((u, r) => u + r, 0);
|
|
@@ -358,9 +358,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
358
358
|
}).map((t, l) => ({
|
|
359
359
|
...t,
|
|
360
360
|
opacity: y.value.includes(t.uid) ? 0.5 : 1,
|
|
361
|
-
segregate: () =>
|
|
361
|
+
segregate: () => Q(t.uid),
|
|
362
362
|
isSegregated: y.value.includes(t.uid),
|
|
363
|
-
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ?
|
|
363
|
+
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? J(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
|
|
364
364
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
365
365
|
v: t.value,
|
|
366
366
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -406,7 +406,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
406
406
|
});
|
|
407
407
|
else {
|
|
408
408
|
let o = "";
|
|
409
|
-
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${Tt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${
|
|
409
|
+
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${Tt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${J(
|
|
410
410
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
411
411
|
l.value,
|
|
412
412
|
D({
|
|
@@ -422,7 +422,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
422
422
|
}
|
|
423
423
|
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
424
424
|
const u = D({
|
|
425
|
-
v: q.value ? 1 /
|
|
425
|
+
v: q.value ? 1 / K.value.length * 100 : l.value / B.value * 100,
|
|
426
426
|
s: "%",
|
|
427
427
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
428
428
|
});
|
|
@@ -445,7 +445,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
445
445
|
return e.value.style.chart.layout.labels.captions.show ? s.value.length && !X.value && !e.value.style.chart.layout.grid.vertical && (s.value[t].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || s.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && s.value[t].absoluteStartIndex) : !1;
|
|
446
446
|
}
|
|
447
447
|
function Rt(t, l = null) {
|
|
448
|
-
const a =
|
|
448
|
+
const a = J(
|
|
449
449
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
450
450
|
s.value[t].value,
|
|
451
451
|
D({
|
|
@@ -470,7 +470,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
470
470
|
const te = v(() => {
|
|
471
471
|
const t = [
|
|
472
472
|
' <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>',
|
|
473
|
-
|
|
473
|
+
J(
|
|
474
474
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
475
475
|
B.value,
|
|
476
476
|
D({
|
|
@@ -486,7 +486,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
486
486
|
color: u.color,
|
|
487
487
|
name: u.name
|
|
488
488
|
},
|
|
489
|
-
|
|
489
|
+
J(
|
|
490
490
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
491
491
|
O.value.body[r],
|
|
492
492
|
D({
|
|
@@ -526,13 +526,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
526
526
|
colNames: o
|
|
527
527
|
};
|
|
528
528
|
}), M = i(!1);
|
|
529
|
-
function
|
|
529
|
+
function Ze(t) {
|
|
530
530
|
M.value = t, Te.value += 1;
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Je() {
|
|
533
533
|
w.value.showTable = !w.value.showTable;
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Ke() {
|
|
536
536
|
w.value.showTooltip = !w.value.showTooltip;
|
|
537
537
|
}
|
|
538
538
|
const le = i(!1);
|
|
@@ -581,10 +581,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
581
581
|
}
|
|
582
582
|
};
|
|
583
583
|
});
|
|
584
|
-
|
|
584
|
+
Z(() => w.value.showTable, (t) => {
|
|
585
585
|
e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
586
586
|
});
|
|
587
|
-
function
|
|
587
|
+
function Qe() {
|
|
588
588
|
w.value.showTable = !1, ie.value && ie.value.setTableIconState(!1);
|
|
589
589
|
}
|
|
590
590
|
const Gt = v(() => N.value.map((t) => ({
|
|
@@ -613,10 +613,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
613
613
|
generateSvg: et,
|
|
614
614
|
hideSeries: Pt,
|
|
615
615
|
showSeries: Dt,
|
|
616
|
-
toggleTable:
|
|
617
|
-
toggleTooltip:
|
|
616
|
+
toggleTable: Je,
|
|
617
|
+
toggleTooltip: Ke,
|
|
618
618
|
toggleAnnotator: Ce,
|
|
619
|
-
toggleFullscreen:
|
|
619
|
+
toggleFullscreen: Ze
|
|
620
620
|
}), (t, l) => (n(), c("div", {
|
|
621
621
|
class: lt(`vue-data-ui-component vue-ui-waffle ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
622
622
|
ref_key: "waffleChart",
|
|
@@ -667,7 +667,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
667
667
|
ref: Fe,
|
|
668
668
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
669
669
|
}, [
|
|
670
|
-
(n(), L(
|
|
670
|
+
(n(), L(Sl, {
|
|
671
671
|
key: `title_${Be.value}`,
|
|
672
672
|
config: {
|
|
673
673
|
title: {
|
|
@@ -710,13 +710,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
710
710
|
callbacks: e.value.userOptions.callbacks,
|
|
711
711
|
printScale: e.value.userOptions.print.scale,
|
|
712
712
|
tableDialog: e.value.table.useDialog,
|
|
713
|
-
onToggleFullscreen:
|
|
713
|
+
onToggleFullscreen: Ze,
|
|
714
714
|
onGeneratePdf: h(Ue),
|
|
715
715
|
onGenerateCsv: me,
|
|
716
716
|
onGenerateImage: h(Ge),
|
|
717
717
|
onGenerateSvg: et,
|
|
718
|
-
onToggleTable:
|
|
719
|
-
onToggleTooltip:
|
|
718
|
+
onToggleTable: Je,
|
|
719
|
+
onToggleTooltip: Ke,
|
|
720
720
|
onToggleAnnotator: Ce,
|
|
721
721
|
style: ae({
|
|
722
722
|
visibility: h(ze) ? h(ve) ? "visible" : "hidden" : "visible"
|
|
@@ -836,7 +836,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
836
836
|
x: a.x,
|
|
837
837
|
y: a.y,
|
|
838
838
|
height: _.value <= 0 ? 1e-4 : _.value,
|
|
839
|
-
width:
|
|
839
|
+
width: S.value <= 0 ? 1e-4 : S.value,
|
|
840
840
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
841
841
|
}, [
|
|
842
842
|
p(t.$slots, "cell", Ae({ ref_for: !0 }, { cell: { ...a, color: s.value[o].color, ...s.value[o] }, isSelected: [null, void 0].includes(U.value) ? !0 : s.value[o].serieIndex === U.value }), void 0, !0)
|
|
@@ -845,8 +845,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
845
845
|
key: 1,
|
|
846
846
|
x: 12,
|
|
847
847
|
y: 12,
|
|
848
|
-
height:
|
|
849
|
-
width:
|
|
848
|
+
height: I.value.height - 24,
|
|
849
|
+
width: I.value.width - 24,
|
|
850
850
|
rx: 3,
|
|
851
851
|
fill: "none",
|
|
852
852
|
stroke: "black"
|
|
@@ -861,7 +861,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
861
861
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
862
862
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
863
863
|
height: _.value <= 0 ? 1e-4 : _.value,
|
|
864
|
-
width:
|
|
864
|
+
width: S.value <= 0 ? 1e-4 : S.value,
|
|
865
865
|
fill: "white",
|
|
866
866
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
867
867
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
@@ -872,7 +872,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
872
872
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
873
873
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
874
874
|
height: _.value <= 0 ? 1e-4 : _.value,
|
|
875
|
-
width:
|
|
875
|
+
width: S.value <= 0 ? 1e-4 : S.value,
|
|
876
876
|
fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${b.value}_${o})` : s.value[o].color,
|
|
877
877
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
878
878
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
@@ -884,7 +884,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
884
884
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
885
885
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
886
886
|
height: _.value <= 0 ? 1e-4 : _.value,
|
|
887
|
-
width:
|
|
887
|
+
width: S.value <= 0 ? 1e-4 : S.value,
|
|
888
888
|
fill: `url(#pattern_${b.value}_${s.value[o].absoluteIndex})`,
|
|
889
889
|
stroke: "none",
|
|
890
890
|
filter: ee(s.value[o].serieIndex)
|
|
@@ -906,7 +906,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
906
906
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
907
907
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
908
908
|
height: je.value,
|
|
909
|
-
width:
|
|
909
|
+
width: It.value,
|
|
910
910
|
fill: "transparent",
|
|
911
911
|
stroke: "none",
|
|
912
912
|
onMouseover: (u) => Vt(o),
|
|
@@ -921,32 +921,32 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
921
921
|
k("div", {
|
|
922
922
|
id: `legend-bottom-${b.value}`
|
|
923
923
|
}, null, 8, Yl),
|
|
924
|
-
Pe.value ? (n(), L(
|
|
924
|
+
Pe.value ? (n(), L(Qt, {
|
|
925
925
|
key: 5,
|
|
926
926
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
927
927
|
}, [
|
|
928
928
|
k("div", {
|
|
929
929
|
ref_key: "chartLegend",
|
|
930
|
-
ref:
|
|
930
|
+
ref: Ie
|
|
931
931
|
}, [
|
|
932
932
|
e.value.style.chart.legend.show ? (n(), L(_l, {
|
|
933
933
|
key: `legend_${De.value}`,
|
|
934
934
|
legendSet: N.value,
|
|
935
935
|
config: Et.value,
|
|
936
|
-
onClickMarker: l[0] || (l[0] = ({ legend: a }) =>
|
|
936
|
+
onClickMarker: l[0] || (l[0] = ({ legend: a }) => Q(a.uid))
|
|
937
937
|
}, we({
|
|
938
938
|
item: f(({ legend: a }) => [
|
|
939
939
|
k("div", {
|
|
940
940
|
onClick: (o) => a.segregate(),
|
|
941
941
|
style: ae(`opacity:${y.value.includes(a.uid) ? 0.5 : 1}`)
|
|
942
|
-
}, ue(a.display), 13,
|
|
942
|
+
}, ue(a.display), 13, Zl)
|
|
943
943
|
]),
|
|
944
944
|
_: 2
|
|
945
945
|
}, [
|
|
946
946
|
t.$slots.pattern ? {
|
|
947
947
|
name: "legend-pattern",
|
|
948
948
|
fn: f(({ legend: a, index: o }) => [
|
|
949
|
-
oe(
|
|
949
|
+
oe(Il, {
|
|
950
950
|
shape: a.shape,
|
|
951
951
|
radius: 30,
|
|
952
952
|
stroke: "none",
|
|
@@ -965,7 +965,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
965
965
|
t.$slots.source ? (n(), c("div", {
|
|
966
966
|
key: 6,
|
|
967
967
|
ref_key: "source",
|
|
968
|
-
ref:
|
|
968
|
+
ref: Se,
|
|
969
969
|
dir: "auto"
|
|
970
970
|
}, [
|
|
971
971
|
p(t.$slots, "source", {}, void 0, !0)
|
|
@@ -1001,7 +1001,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1001
1001
|
re.value && e.value.userOptions.buttons.table ? (n(), L(el(Y.value.component), Ae({ key: 7 }, Y.value.props, {
|
|
1002
1002
|
ref_key: "tableUnit",
|
|
1003
1003
|
ref: j,
|
|
1004
|
-
onClose:
|
|
1004
|
+
onClose: Qe
|
|
1005
1005
|
}), we({
|
|
1006
1006
|
content: f(() => [
|
|
1007
1007
|
(n(), L(h(yt), {
|
|
@@ -1012,13 +1012,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1012
1012
|
config: te.value.config,
|
|
1013
1013
|
title: e.value.table.useDialog ? "" : Y.value.title,
|
|
1014
1014
|
withCloseButton: !e.value.table.useDialog,
|
|
1015
|
-
onClose:
|
|
1015
|
+
onClose: Qe
|
|
1016
1016
|
}, {
|
|
1017
1017
|
th: f(({ th: a }) => [
|
|
1018
1018
|
k("div", {
|
|
1019
1019
|
innerHTML: a,
|
|
1020
1020
|
style: { display: "flex", "align-items": "center" }
|
|
1021
|
-
}, null, 8,
|
|
1021
|
+
}, null, 8, Jl)
|
|
1022
1022
|
]),
|
|
1023
1023
|
td: f(({ td: a }) => [
|
|
1024
1024
|
at(ue(a.name || a), 1)
|
|
@@ -1055,12 +1055,12 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1055
1055
|
h(Ee) ? (n(), L(kl, { key: 8 })) : C("", !0)
|
|
1056
1056
|
], 46, Ol));
|
|
1057
1057
|
}
|
|
1058
|
-
},
|
|
1058
|
+
}, Ql = /* @__PURE__ */ Bl(Kl, [["__scopeId", "data-v-0db27d8d"]]), ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1059
1059
|
__proto__: null,
|
|
1060
|
-
default:
|
|
1060
|
+
default: Ql
|
|
1061
1061
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1062
1062
|
export {
|
|
1063
1063
|
pa as a,
|
|
1064
1064
|
ga as b,
|
|
1065
|
-
|
|
1065
|
+
Ql as v
|
|
1066
1066
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCssVars as Tt, computed as g, defineAsyncComponent as fe, ref as $, toRefs as Wt, watch as je, shallowRef as Ue, onMounted as Bt, onBeforeUnmount as Et, createElementBlock as n, openBlock as s, unref as c, normalizeStyle as ge, normalizeClass as P, createBlock as ne, createCommentVNode as z, withCtx as I, renderSlot as w, normalizeProps as R, guardReactiveProps as F, createSlots as Nt, createVNode as Xt, Fragment as _, renderList as T, createElementVNode as jt, toDisplayString as Ut } from "vue";
|
|
2
|
-
import { c as Lt, t as Ht, o as Yt, g as Gt, h as K,
|
|
2
|
+
import { c as Lt, t as Ht, o as Yt, g as Gt, h as K, a2 as Vt, X as qt, n as Le, a as Zt, T as He, d as Jt } from "./lib-qMPkcvmh.js";
|
|
3
3
|
import { t as Kt, u as Qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ea, a as pe } from "./useNestedProp-
|
|
4
|
+
import { u as ea, a as pe } from "./useNestedProp-DH2Pjkde.js";
|
|
5
5
|
import { u as ta, B as aa } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as la } from "./usePrinter-
|
|
6
|
+
import { u as la } from "./usePrinter-CjGh4mFJ.js";
|
|
7
7
|
import { u as oa } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as sa } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as ra } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import ia from "./img-
|
|
12
|
-
import ua from "./Title-
|
|
11
|
+
import ia from "./img-CwrkWkkl.js";
|
|
12
|
+
import ua from "./Title-CWX8otQg.js";
|
|
13
13
|
import { _ as ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { wheel: { ticks: { inactiveColor: "#4A4A4A" } }, innerCircle: { stroke: "#3A3A3A" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Ge = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { wheel: { ticks: { inactiveColor: "#5D403760", activeColor: "#D32F2F", gradient: { shiftHueIntensity: 0 } } }, innerCircle: { stroke: "#5D403760" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Ve = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { wheel: { ticks: { inactiveColor: "#5D403780", activeColor: "#D32F2F", gradient: { shiftHueIntensity: 0 } } }, innerCircle: { stroke: "#5D403760" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { wheel: { ticks: { rounded: !1, inactiveColor: "#333333", activeColor: "#66CC66", gradient: { shiftHueIntensity: 15 } } }, innerCircle: { show: !1 } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ze = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { wheel: { ticks: { inactiveColor: "#F7EDE2", activeColor: "#B1A7AD", gradient: { shiftHueIntensity: 100 } } }, innerCircle: { show: !1 } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, Je = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { wheel: { ticks: { rounded: !1, inactiveColor: "#BBCBC7", activeColor: "#6C94A0", gradient: { shiftHueIntensity: 10 } } }, innerCircle: { stroke: "#BBCBC7" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, Ke = {
|
|
15
15
|
default: {},
|
|
@@ -53,7 +53,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
53
53
|
v04e37e71: gt.value,
|
|
54
54
|
v04e36104: pt.value
|
|
55
55
|
}));
|
|
56
|
-
const tt = fe(() => import("./PenAndPaper-
|
|
56
|
+
const tt = fe(() => import("./PenAndPaper-DscVdZ1u.js")), at = fe(() => import("./UserOptions-ChRXLqps.js")), lt = fe(() => import("./PackageVersion-Dc4fCiDF.js")), { vue_ui_wheel: ot } = ea(), { isThemeValid: st, warnInvalidTheme: nt } = sa(), W = Qe, rt = g(() => !!W.dataset && Object.keys(W.dataset).length), re = $(Lt()), it = $(null), me = $(0), X = $(null), we = $(null), Ce = $(null), be = $(null), xe = $(0), e = $(he()), { loading: Me, FINAL_DATASET: ie } = ta({
|
|
57
57
|
...Wt(W),
|
|
58
58
|
FINAL_CONFIG: e,
|
|
59
59
|
prepareConfig: he,
|