vue-data-ui 3.9.19 → 3.9.21
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/dist/{BaseDraggableDialog-BFDTrOH0.js → BaseDraggableDialog-LQz9Nmbj.js} +1 -1
- package/dist/{BaseIcon-BrCxEtJt.js → BaseIcon-rQpZbUMg.js} +59 -34
- package/dist/{BaseZoomControls-BQ2emGam.js → BaseZoomControls-8e6l8HWf.js} +1 -1
- package/dist/{ColorPicker-BYn8PF2Z.js → ColorPicker-C-M_3O5E.js} +1 -1
- package/dist/{DataTable-BfEbVwm4.js → DataTable-CRLvcC19.js} +1 -1
- package/dist/{NonSvgPenAndPaper-dUUA975O.js → NonSvgPenAndPaper-DHu-zNDR.js} +2 -2
- package/dist/{PackageVersion-By5ZZJ0U.js → PackageVersion-BiGAIrqC.js} +1 -1
- package/dist/{PenAndPaper--ADXtx65.js → PenAndPaper-D6dHXPfu.js} +2 -2
- package/dist/{Slicer-DMWpR3hr.js → Slicer-iEpMHxAy.js} +1 -1
- package/dist/{SlicerPreview-BF9QuD7E.js → SlicerPreview-Dfih1r3H.js} +1 -1
- package/dist/{Title-D0nD-PMs.js → Title-B7pkWzTi.js} +1 -1
- package/dist/Tooltip-DpfUZbt7.js +272 -0
- package/dist/{UserOptions-Cy-iNhZU.js → UserOptions-BlWCqtbi.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 +1 -1
- 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-geo.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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +25 -0
- package/dist/{useNestedProp-DaR1dBmj.js → useNestedProp-gqRzbKJy.js} +4 -1
- package/dist/{vue-data-ui-zfOGDrsy.js → vue-data-ui-C0zyzSI7.js} +67 -67
- package/dist/vue-data-ui.js +70 -70
- package/dist/{vue-ui-3d-bar-nXiSkl4R.js → vue-ui-3d-bar-DlUrsPdB.js} +3 -3
- package/dist/{vue-ui-accordion-DNRtKVZI.js → vue-ui-accordion-Cy3d_0_S.js} +2 -2
- package/dist/{vue-ui-age-pyramid-CaorE7sG.js → vue-ui-age-pyramid-CW2CmApD.js} +6 -5
- package/dist/{vue-ui-annotator-_fLzC18u.js → vue-ui-annotator-DgDMYDKr.js} +4 -4
- package/dist/{vue-ui-bullet-BqTU385w.js → vue-ui-bullet-Dfz8VKqe.js} +3 -3
- package/dist/{vue-ui-candlestick-DUQA8C7N.js → vue-ui-candlestick-xyQGCkr8.js} +89 -88
- package/dist/{vue-ui-carousel-table-DML9r769.js → vue-ui-carousel-table-eqx_-juF.js} +2 -2
- package/dist/{vue-ui-chestnut-lrvwK3sr.js → vue-ui-chestnut-DQM73VJP.js} +2 -2
- package/dist/{vue-ui-chord-C6tMQhyt.js → vue-ui-chord-ij0fy_Vk.js} +3 -3
- package/dist/{vue-ui-circle-pack-CD_RbedP.js → vue-ui-circle-pack-iL6dfKsl.js} +37 -36
- package/dist/{vue-ui-cursor-BbenSTLn.js → vue-ui-cursor-BwtAgyzA.js} +2 -2
- package/dist/{vue-ui-dag-BTSH-AAF.js → vue-ui-dag-DyVpGUMm.js} +4 -4
- package/dist/{vue-ui-dashboard-CRH0nCEI.js → vue-ui-dashboard-Dp8tt7UQ.js} +66 -66
- package/dist/{vue-ui-digits-DXXegZ9T.js → vue-ui-digits-bUDar5q1.js} +1 -1
- package/dist/{vue-ui-donut-BhcFj-OA.js → vue-ui-donut-XhYkW3YB.js} +6 -5
- package/dist/{vue-ui-donut-evolution-CPYvsQDZ.js → vue-ui-donut-evolution-BtSDnqw5.js} +4 -4
- package/dist/{vue-ui-dumbbell-CuOkKbif.js → vue-ui-dumbbell-Dk9GEs9q.js} +3 -3
- package/dist/{vue-ui-flow-Cx1_sP-g.js → vue-ui-flow-Dmadpe5T.js} +6 -5
- package/dist/{vue-ui-funnel-QzmhEBuw.js → vue-ui-funnel-BGZmzIxy.js} +3 -3
- package/dist/{vue-ui-galaxy-r_VxJL-4.js → vue-ui-galaxy-btCfKlLt.js} +36 -35
- package/dist/{vue-ui-gauge-DiTbeHVA.js → vue-ui-gauge-CIq10clu.js} +3 -3
- package/dist/{vue-ui-geo-BmzhC-ya.js → vue-ui-geo-C72smrB2.js} +7 -6
- package/dist/{vue-ui-gizmo-BsUEwsBG.js → vue-ui-gizmo-BCy3dErL.js} +2 -2
- package/dist/{vue-ui-heatmap-CqSh6TWR.js → vue-ui-heatmap-DX1asUT7.js} +46 -45
- package/dist/{vue-ui-history-plot-DhwdZ0Th.js → vue-ui-history-plot-DFtOy7CE.js} +40 -39
- package/dist/{vue-ui-horizontal-bar-DGKL132E.js → vue-ui-horizontal-bar-BpN0u8hd.js} +80 -79
- package/dist/{vue-ui-kpi-Ct5HZzxS.js → vue-ui-kpi-CnmyYRvK.js} +2 -2
- package/dist/{vue-ui-mini-loader-DdzurIs7.js → vue-ui-mini-loader-DVEVYQd5.js} +1 -1
- package/dist/{vue-ui-molecule-BWcZ0BUf.js → vue-ui-molecule-CETOdJ0z.js} +30 -29
- package/dist/{vue-ui-mood-radar-BIUKJ5NK.js → vue-ui-mood-radar-BOq7hUtX.js} +3 -3
- package/dist/{vue-ui-nested-donuts-5qpHwRLA.js → vue-ui-nested-donuts-C6Popcf-.js} +6 -5
- package/dist/{vue-ui-onion-PUQM7BbQ.js → vue-ui-onion-BHIySmN4.js} +6 -5
- package/dist/{vue-ui-parallel-coordinate-plot-DGIMK3-E.js → vue-ui-parallel-coordinate-plot-BAAEnWGD.js} +6 -5
- package/dist/{vue-ui-quadrant-vlnDHF5h.js → vue-ui-quadrant-JvGjWc7P.js} +6 -5
- package/dist/{vue-ui-quick-chart-BHEAUXLc.js → vue-ui-quick-chart-Nffw66GY.js} +6 -5
- package/dist/{vue-ui-radar-BmuyOPnz.js → vue-ui-radar-CdjuAdeB.js} +6 -5
- package/dist/{vue-ui-rating-CDkXzEGU.js → vue-ui-rating-CTN4-Xx3.js} +1 -1
- package/dist/{vue-ui-relation-circle-B9oe4iNu.js → vue-ui-relation-circle-Cb3uKDYx.js} +3 -3
- package/dist/{vue-ui-ridgeline-C7M6j-UK.js → vue-ui-ridgeline-Dgr0nyh1.js} +3 -3
- package/dist/{vue-ui-rings-DQ_clr4X.js → vue-ui-rings-Ctkw20nS.js} +6 -5
- package/dist/{vue-ui-scatter-JrhHtvmt.js → vue-ui-scatter-BpeJpMqR.js} +6 -5
- package/dist/{vue-ui-skeleton-B-Xjf23P.js → vue-ui-skeleton-C8-nUbeq.js} +2 -2
- package/dist/{vue-ui-smiley-BckMTu5I.js → vue-ui-smiley-CxVaJpm8.js} +1 -1
- package/dist/{vue-ui-spark-trend-CdVffvYK.js → vue-ui-spark-trend-BRayrIQ5.js} +2 -2
- package/dist/{vue-ui-sparkbar-Cc54OO-G.js → vue-ui-sparkbar-D5UO6Yae.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CmjkXvRF.js → vue-ui-sparkgauge-DMvYS_KK.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DAcxFd2j.js → vue-ui-sparkhistogram-CNwDggdT.js} +2 -2
- package/dist/{vue-ui-sparkline-BoXHVulh.js → vue-ui-sparkline-Dh6mAGol.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-oZPlMIio.js → vue-ui-sparkstackbar-CFhUgaiz.js} +24 -23
- package/dist/{vue-ui-stackbar-B4gbEKCS.js → vue-ui-stackbar-g5Sq_ZTb.js} +7 -6
- package/dist/{vue-ui-stackline-B6jTG-zS.js → vue-ui-stackline-CKwIVvUs.js} +7 -6
- package/dist/{vue-ui-strip-plot-CUENJge4.js → vue-ui-strip-plot-CvCBxxNn.js} +27 -26
- package/dist/{vue-ui-table-BpBi54KF.js → vue-ui-table-DswHIBiJ.js} +4 -4
- package/dist/{vue-ui-table-heatmap-CG-w53Bu.js → vue-ui-table-heatmap-Crgh4Fiz.js} +2 -2
- package/dist/{vue-ui-table-sparkline-CLbkFzSK.js → vue-ui-table-sparkline-BJGYRzNL.js} +2 -2
- package/dist/{vue-ui-thermometer-CJ63agpn.js → vue-ui-thermometer-46TB3agk.js} +3 -3
- package/dist/{vue-ui-timer-CrYgTXLa.js → vue-ui-timer-CgEPlDmY.js} +4 -4
- package/dist/{vue-ui-tiremarks-CJMVuTzb.js → vue-ui-tiremarks-DZHVry9u.js} +3 -3
- package/dist/{vue-ui-treemap-Bk5CSaWm.js → vue-ui-treemap-3_8JQzd0.js} +7 -6
- package/dist/{vue-ui-waffle-CwYUPidK.js → vue-ui-waffle-Ck_wiBzc.js} +90 -89
- package/dist/{vue-ui-wheel-CK5obtTV.js → vue-ui-wheel-4ZZLizdv.js} +3 -3
- package/dist/{vue-ui-word-cloud-x2Y6KCQB.js → vue-ui-word-cloud-BPA2fseE.js} +137 -136
- package/dist/{vue-ui-world-DNLYVCse.js → vue-ui-world-K4hMlU7V.js} +27 -26
- package/dist/{vue-ui-xy-bviQN7-m.js → vue-ui-xy-cHQ3KQCE.js} +8 -7
- package/dist/{vue-ui-xy-canvas-q7SUETRs.js → vue-ui-xy-canvas-Qeg6DtP0.js} +52 -51
- package/package.json +1 -1
- package/dist/Tooltip-D0pGX8qz.js +0 -205
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, useSlots as Jt, computed as v, ref as i, toRefs as Kt, watch as J, shallowRef as lt, onMounted as Qt, onBeforeUnmount as Zt, createElementBlock as c, openBlock as
|
|
2
|
-
import { c as al, t as ol, i as
|
|
1
|
+
import { defineAsyncComponent as L, useSlots as Jt, computed as v, ref as i, toRefs as Kt, watch as J, shallowRef as lt, onMounted as Qt, onBeforeUnmount as Zt, createElementBlock as c, openBlock as n, unref as d, normalizeStyle as ae, normalizeClass as at, createBlock as E, createCommentVNode as C, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as h, normalizeProps as x, guardReactiveProps as $, createSlots as Ae, Fragment as T, renderList as z, mergeProps as xe, toDisplayString as re, Teleport as el, resolveDynamicComponent as tl, createTextVNode as ot, nextTick as ll } from "vue";
|
|
2
|
+
import { c as al, t as ol, i as rl, j as R, o as rt, g as $e, l as ul, k as nl, a as K, d as D, X as sl, s as il, h as cl, x as vl, m as dl, v as fl, r as hl, G as pl, y as gl, _ as yl } from "./lib-2iaAPQ_c.js";
|
|
3
3
|
import { b as bl } from "./labelUtils-B3mOOEke.js";
|
|
4
4
|
import { t as ml, u as Cl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as kl, a as Te } from "./useNestedProp-
|
|
5
|
+
import { u as kl, a as Te } from "./useNestedProp-gqRzbKJy.js";
|
|
6
6
|
import { u as wl, B as Al } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as xl } from "./usePrinter-ChVMpU2f.js";
|
|
8
8
|
import { u as $l } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -11,20 +11,20 @@ import { u as Fl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
11
11
|
import { u as Il } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
12
|
import Sl from "./img-CqYIrJ8I.js";
|
|
13
13
|
import { _ as _l } from "./Shape-12_eh8zD.js";
|
|
14
|
-
import Bl from "./Title-
|
|
14
|
+
import Bl from "./Title-B7pkWzTi.js";
|
|
15
15
|
import Ol from "./Legend-D2xmnFPH.js";
|
|
16
16
|
import { _ as Dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
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" } } },
|
|
17
|
+
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" } } }, nt = { 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" } } }, st = { 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" } } }, it = { 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" } } }, ct = { 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" } } }, vt = { 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" } } }, dt = {
|
|
18
18
|
default: {},
|
|
19
19
|
dark: ut,
|
|
20
|
-
celebration:
|
|
20
|
+
celebration: nt,
|
|
21
21
|
celebrationNight: st,
|
|
22
22
|
hack: it,
|
|
23
23
|
zen: ct,
|
|
24
24
|
concrete: vt
|
|
25
25
|
}, ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26
26
|
__proto__: null,
|
|
27
|
-
celebration:
|
|
27
|
+
celebration: nt,
|
|
28
28
|
celebrationNight: st,
|
|
29
29
|
concrete: vt,
|
|
30
30
|
dark: ut,
|
|
@@ -52,7 +52,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
52
52
|
},
|
|
53
53
|
emits: ["selectLegend"],
|
|
54
54
|
setup(ft, { expose: ht, emit: pt }) {
|
|
55
|
-
const gt = L(() => import("./Tooltip-
|
|
55
|
+
const gt = L(() => import("./Tooltip-DpfUZbt7.js")), yt = L(() => import("./BaseIcon-rQpZbUMg.js")), bt = L(() => import("./DataTable-CRLvcC19.js")), mt = L(() => import("./vue-ui-accordion-Cy3d_0_S.js")), Ct = L(() => import("./UserOptions-BlWCqtbi.js")), kt = L(() => import("./PenAndPaper-D6dHXPfu.js")), wt = L(() => import("./PackageVersion-BiGAIrqC.js")), At = L(() => import("./BaseDraggableDialog-LQz9Nmbj.js")), { vue_ui_waffle: xt } = kl(), { isThemeValid: $t, warnInvalidTheme: Tt } = Tl(), m = ft, Ft = Jt(), ue = v(() => !!m.dataset && m.dataset.length), b = i(al()), ne = i(!1), se = i(""), U = i(null), Fe = i(0), F = i(null), Ie = i(null), Se = i(null), _e = i(null), Be = i(null), Oe = i(0), De = i(0), Pe = i(0), Le = i(!1), j = i(null), ie = i(null), e = i(fe()), { loading: Ee, FINAL_DATASET: Q, manualLoading: ce } = wl({
|
|
56
56
|
...Kt(m),
|
|
57
57
|
FINAL_CONFIG: e,
|
|
58
58
|
prepareConfig: fe,
|
|
@@ -122,7 +122,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
122
122
|
});
|
|
123
123
|
return {
|
|
124
124
|
...o,
|
|
125
|
-
customPalette: o.customPalette.length ? o.customPalette :
|
|
125
|
+
customPalette: o.customPalette.length ? o.customPalette : rl[l] || R
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
J(() => m.config, (t) => {
|
|
@@ -130,7 +130,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
130
130
|
}, { deep: !0 });
|
|
131
131
|
const P = lt(null), G = lt(null), Ve = v(() => !!e.value.debug);
|
|
132
132
|
function Me() {
|
|
133
|
-
if (
|
|
133
|
+
if (rt(m.dataset) ? ($e({
|
|
134
134
|
componentName: "VueUiWaffle",
|
|
135
135
|
type: "dataset",
|
|
136
136
|
debug: Ve.value
|
|
@@ -147,7 +147,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
147
147
|
debug: Ve.value
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
|
-
}),
|
|
150
|
+
}), rt(m.dataset) || (ce.value = e.value.loading), e.value.responsive) {
|
|
151
151
|
const t = ml(() => {
|
|
152
152
|
const { width: l, height: a } = Cl({
|
|
153
153
|
chart: F.value,
|
|
@@ -172,7 +172,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
172
172
|
elementId: `vue-ui-waffle_${b.value}`,
|
|
173
173
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle",
|
|
174
174
|
options: e.value.userOptions.print
|
|
175
|
-
}), It = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = v(() =>
|
|
175
|
+
}), It = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = v(() => nl(e.value.customPalette)), w = i({
|
|
176
176
|
showTable: e.value.table.show,
|
|
177
177
|
showTooltip: e.value.style.chart.tooltip.show
|
|
178
178
|
});
|
|
@@ -192,13 +192,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
192
192
|
width: 512
|
|
193
193
|
}), 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), St = v(() => Math.max(1e-4, I.value.width / e.value.style.chart.layout.grid.size)), qe = v(() => Math.max(1e-4, I.value.height / e.value.style.chart.layout.grid.size));
|
|
194
194
|
function He(t) {
|
|
195
|
-
const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, we) => A + we, 0), o = t.map((A) => A / a * l),
|
|
196
|
-
let g = l -
|
|
195
|
+
const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, we) => A + we, 0), o = t.map((A) => A / a * l), r = o.map(Math.floor), u = o.map((A) => A % 1);
|
|
196
|
+
let g = l - r.reduce((A, we) => A + we, 0);
|
|
197
197
|
for (; g > 0; ) {
|
|
198
198
|
let A = u.indexOf(Math.max(...u));
|
|
199
|
-
|
|
199
|
+
r[A] += 1, u[A] = 0, g -= 1;
|
|
200
200
|
}
|
|
201
|
-
return
|
|
201
|
+
return r;
|
|
202
202
|
}
|
|
203
203
|
const q = i(!1);
|
|
204
204
|
function he() {
|
|
@@ -216,10 +216,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
216
216
|
p.value = he();
|
|
217
217
|
}, { deep: !0 });
|
|
218
218
|
const _t = v(() => {
|
|
219
|
-
const t = p.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o,
|
|
219
|
+
const t = p.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o, r) => o + r, 0));
|
|
220
220
|
return He(t);
|
|
221
221
|
}), Bt = v(() => {
|
|
222
|
-
const t = p.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o,
|
|
222
|
+
const t = p.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o, r) => o + r));
|
|
223
223
|
return He(t);
|
|
224
224
|
}), H = v(() => (Q.value.forEach((t, l) => {
|
|
225
225
|
[null, void 0].includes(t.values) && $e({
|
|
@@ -256,10 +256,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
256
256
|
const Dt = v(() => {
|
|
257
257
|
let t = 0;
|
|
258
258
|
return H.value.map((l, a) => {
|
|
259
|
-
const o = t,
|
|
260
|
-
for (let g = Math.floor(o); g < Math.floor(
|
|
259
|
+
const o = t, r = o + l.proportion, u = [];
|
|
260
|
+
for (let g = Math.floor(o); g < Math.floor(r); g += 1)
|
|
261
261
|
u.push(g);
|
|
262
|
-
return t =
|
|
262
|
+
return t = r, {
|
|
263
263
|
...l,
|
|
264
264
|
start: o,
|
|
265
265
|
rects: u
|
|
@@ -293,42 +293,42 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
293
293
|
function Z(t) {
|
|
294
294
|
if (q.value) return;
|
|
295
295
|
if (!e.value.useAnimation) {
|
|
296
|
-
y.value.includes(t) ? y.value = y.value.filter((
|
|
296
|
+
y.value.includes(t) ? y.value = y.value.filter((r) => r !== t) : y.value.length < V.value.length - 1 && V.value.length > 1 && y.value.push(t);
|
|
297
297
|
return;
|
|
298
298
|
}
|
|
299
|
-
const l = pe.value.find((
|
|
299
|
+
const l = pe.value.find((r) => r.uid === t).values.reduce((r, u) => r + u, 0), a = p.value.find((r) => r.uid === t).values.reduce((r, u) => r + u, 0);
|
|
300
300
|
let o = a;
|
|
301
301
|
if (!(a === 0 && l === 0)) {
|
|
302
302
|
if (y.value.includes(t)) {
|
|
303
303
|
let u = function() {
|
|
304
|
-
o >
|
|
304
|
+
o > r ? (cancelAnimationFrame(Xe.value), p.value = p.value.map((g, A) => g.uid === t ? {
|
|
305
305
|
...g,
|
|
306
|
-
values: [
|
|
307
|
-
} : g), X.value = !1) : (X.value = !0, o +=
|
|
306
|
+
values: [r]
|
|
307
|
+
} : g), X.value = !1) : (X.value = !0, o += r * 0.025, p.value = p.value.map((g, A) => g.uid === t ? {
|
|
308
308
|
...g,
|
|
309
309
|
values: [o]
|
|
310
310
|
} : g), Xe.value = requestAnimationFrame(u));
|
|
311
311
|
};
|
|
312
312
|
y.value = y.value.filter((g) => g !== t);
|
|
313
|
-
const
|
|
313
|
+
const r = l;
|
|
314
314
|
u();
|
|
315
315
|
} else if (y.value.length < V.value.length - 1 && V.value.length > 1) {
|
|
316
|
-
let
|
|
316
|
+
let r = function() {
|
|
317
317
|
o < a / 100 ? (cancelAnimationFrame(Ye.value), y.value.push(t), p.value = p.value.map((u, g) => u.uid === t ? {
|
|
318
318
|
...u,
|
|
319
319
|
values: [0]
|
|
320
320
|
} : u), X.value = !1) : (X.value = !0, o /= 1.15, p.value = p.value.map((u) => u.uid === t ? {
|
|
321
321
|
...u,
|
|
322
322
|
values: [o]
|
|
323
|
-
} : u), Ye.value = requestAnimationFrame(
|
|
323
|
+
} : u), Ye.value = requestAnimationFrame(r));
|
|
324
324
|
};
|
|
325
|
-
|
|
325
|
+
r();
|
|
326
326
|
}
|
|
327
|
-
Mt("selectLegend", H.value.map((
|
|
328
|
-
name:
|
|
329
|
-
color:
|
|
330
|
-
value:
|
|
331
|
-
proportion:
|
|
327
|
+
Mt("selectLegend", H.value.map((r) => ({
|
|
328
|
+
name: r.name,
|
|
329
|
+
color: r.color,
|
|
330
|
+
value: r.value,
|
|
331
|
+
proportion: r.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
|
|
332
332
|
})));
|
|
333
333
|
}
|
|
334
334
|
}
|
|
@@ -351,10 +351,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
351
351
|
percentage: l,
|
|
352
352
|
showVal: a,
|
|
353
353
|
showPercentage: o,
|
|
354
|
-
config:
|
|
354
|
+
config: r
|
|
355
355
|
}) {
|
|
356
356
|
return bl({
|
|
357
|
-
config:
|
|
357
|
+
config: r,
|
|
358
358
|
val: t,
|
|
359
359
|
percentage: l,
|
|
360
360
|
showVal: a,
|
|
@@ -362,7 +362,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
362
362
|
});
|
|
363
363
|
}
|
|
364
364
|
const V = v(() => p.value.map((t, l) => {
|
|
365
|
-
const a = (t.values || []).reduce((
|
|
365
|
+
const a = (t.values || []).reduce((r, u) => r + u, 0), o = a / p.value.map((r) => (r.values || []).reduce((u, g) => u + g, 0)).reduce((r, u) => r + u, 0);
|
|
366
366
|
return {
|
|
367
367
|
name: t.name,
|
|
368
368
|
color: t.color || je[l] || R[l] || R[l % R.length],
|
|
@@ -377,7 +377,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
377
377
|
v: t.value,
|
|
378
378
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
379
379
|
r: e.value.style.chart.legend.roundingValue
|
|
380
|
-
}), { datapoint: t, index: l }), o = isNaN(t.value / B.value) ? "-" : D({ v: t.value / B.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage }),
|
|
380
|
+
}), { datapoint: t, index: l }), o = isNaN(t.value / B.value) ? "-" : D({ v: t.value / B.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage }), r = ye({
|
|
381
381
|
val: a,
|
|
382
382
|
percentage: o,
|
|
383
383
|
showVal: e.value.style.chart.legend.showValue,
|
|
@@ -389,7 +389,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
389
389
|
opacity: y.value.includes(t.uid) ? 0.5 : 1,
|
|
390
390
|
segregate: () => Z(t.uid),
|
|
391
391
|
isSegregated: y.value.includes(t.uid),
|
|
392
|
-
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${
|
|
392
|
+
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${r}`
|
|
393
393
|
};
|
|
394
394
|
})), Et = v(() => ({
|
|
395
395
|
cy: "waffle-div-legend",
|
|
@@ -405,7 +405,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
405
405
|
}
|
|
406
406
|
function Nt(t) {
|
|
407
407
|
const l = s.value[t];
|
|
408
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), me.value = null,
|
|
408
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), me.value = null, ne.value = !1, U.value = null;
|
|
409
409
|
}
|
|
410
410
|
function Vt(t) {
|
|
411
411
|
if (y.value.length === m.dataset.length) return;
|
|
@@ -415,7 +415,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
415
415
|
seriesIndex: l.absoluteIndex,
|
|
416
416
|
series: p.value,
|
|
417
417
|
config: e.value
|
|
418
|
-
}, e.value.events.datapointEnter && me.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), me.value = l.serieIndex,
|
|
418
|
+
}, e.value.events.datapointEnter && me.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), me.value = l.serieIndex, ne.value = !0, U.value = s.value[t].serieIndex;
|
|
419
419
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
420
420
|
if (gl(a) && yl(() => a({
|
|
421
421
|
seriesIndex: s.value[t].absoluteIndex,
|
|
@@ -482,7 +482,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
482
482
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
483
483
|
}),
|
|
484
484
|
{ datapoint: s.value[t], position: l }
|
|
485
|
-
), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }),
|
|
485
|
+
), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), r = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? pl({ source: s.value[t].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : s.value[t].name) + (e.value.style.chart.layout.labels.captions.showPercentage || e.value.style.chart.layout.labels.captions.showValue ? ":" : ""), u = e.value.style.chart.layout.labels.captions.showSerieName ? r : "", g = ye({
|
|
486
486
|
val: a,
|
|
487
487
|
percentage: o,
|
|
488
488
|
showVal: e.value.style.chart.layout.labels.captions.showValue,
|
|
@@ -493,8 +493,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
493
493
|
}
|
|
494
494
|
function Ce(t = null) {
|
|
495
495
|
ll(() => {
|
|
496
|
-
const l = O.value.head.map((
|
|
497
|
-
|
|
496
|
+
const l = O.value.head.map((r, u) => [[
|
|
497
|
+
r.name
|
|
498
498
|
], [O.value.body[u]], [isNaN(O.value.body[u] / B.value) ? "-" : O.value.body[u] / B.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), o = fl(a);
|
|
499
499
|
t ? t(o) : hl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
500
500
|
});
|
|
@@ -513,10 +513,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
513
513
|
})
|
|
514
514
|
),
|
|
515
515
|
"100%"
|
|
516
|
-
], l = O.value.head.map((
|
|
516
|
+
], l = O.value.head.map((r, u) => [
|
|
517
517
|
{
|
|
518
|
-
color:
|
|
519
|
-
name:
|
|
518
|
+
color: r.color,
|
|
519
|
+
name: r.name
|
|
520
520
|
},
|
|
521
521
|
K(
|
|
522
522
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -573,9 +573,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
573
573
|
}
|
|
574
574
|
async function Gt({ scale: t = 2 } = {}) {
|
|
575
575
|
if (!F.value) return;
|
|
576
|
-
const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri:
|
|
576
|
+
const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: r, base64: u } = await Sl({ domElement: F.value, base64: !0, img: !0, scale: t });
|
|
577
577
|
return {
|
|
578
|
-
imageUri:
|
|
578
|
+
imageUri: r,
|
|
579
579
|
base64: u,
|
|
580
580
|
title: e.value.style.chart.title.text,
|
|
581
581
|
width: l,
|
|
@@ -631,8 +631,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
631
631
|
});
|
|
632
632
|
async function tt({ isCb: t }) {
|
|
633
633
|
if (t) {
|
|
634
|
-
const { blob: l, url: a, text: o, dataUrl:
|
|
635
|
-
e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl:
|
|
634
|
+
const { blob: l, url: a, text: o, dataUrl: r } = await Yt();
|
|
635
|
+
e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: r });
|
|
636
636
|
} else
|
|
637
637
|
Xt();
|
|
638
638
|
}
|
|
@@ -649,7 +649,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
649
649
|
toggleTooltip: Ze,
|
|
650
650
|
toggleAnnotator: ke,
|
|
651
651
|
toggleFullscreen: Ke
|
|
652
|
-
}), (t, l) => (
|
|
652
|
+
}), (t, l) => (n(), c("div", {
|
|
653
653
|
class: at(`vue-data-ui-component vue-ui-waffle ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
654
654
|
ref_key: "waffleChart",
|
|
655
655
|
ref: F,
|
|
@@ -658,7 +658,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
658
658
|
onMouseenter: l[2] || (l[2] = () => d(ze)(!0)),
|
|
659
659
|
onMouseleave: l[3] || (l[3] = () => d(ze)(!1))
|
|
660
660
|
}, [
|
|
661
|
-
e.value.userOptions.buttons.annotator ? (
|
|
661
|
+
e.value.userOptions.buttons.annotator ? (n(), E(d(kt), {
|
|
662
662
|
key: 0,
|
|
663
663
|
svgRef: d(de),
|
|
664
664
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -686,20 +686,20 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
686
686
|
]),
|
|
687
687
|
_: 3
|
|
688
688
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : C("", !0),
|
|
689
|
-
It.value ? (
|
|
689
|
+
It.value ? (n(), c("div", {
|
|
690
690
|
key: 1,
|
|
691
691
|
ref_key: "noTitle",
|
|
692
692
|
ref: Be,
|
|
693
693
|
class: "vue-data-ui-no-title-space",
|
|
694
694
|
style: "height:36px; width: 100%;background:transparent"
|
|
695
695
|
}, null, 512)) : C("", !0),
|
|
696
|
-
e.value.style.chart.title.text ? (
|
|
696
|
+
e.value.style.chart.title.text ? (n(), c("div", {
|
|
697
697
|
key: 2,
|
|
698
698
|
ref_key: "chartTitle",
|
|
699
699
|
ref: Ie,
|
|
700
700
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
701
701
|
}, [
|
|
702
|
-
(
|
|
702
|
+
(n(), E(Bl, {
|
|
703
703
|
key: `title_${Oe.value}`,
|
|
704
704
|
config: {
|
|
705
705
|
title: {
|
|
@@ -716,7 +716,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
716
716
|
k("div", {
|
|
717
717
|
id: `legend-top-${b.value}`
|
|
718
718
|
}, null, 8, Ll),
|
|
719
|
-
e.value.userOptions.show && ue.value && (d(Ne) || d(ve)) ? (
|
|
719
|
+
e.value.userOptions.show && ue.value && (d(Ne) || d(ve)) ? (n(), E(d(Ct), {
|
|
720
720
|
ref_key: "userOptionsRef",
|
|
721
721
|
ref: ie,
|
|
722
722
|
key: `user_options_${Fe.value}`,
|
|
@@ -818,7 +818,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
818
818
|
key: "8"
|
|
819
819
|
} : void 0
|
|
820
820
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : C("", !0),
|
|
821
|
-
(
|
|
821
|
+
(n(), c("svg", {
|
|
822
822
|
ref_key: "svgRef",
|
|
823
823
|
ref: de,
|
|
824
824
|
xmlns: d(sl),
|
|
@@ -828,7 +828,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
828
828
|
}, [
|
|
829
829
|
oe(d(wt)),
|
|
830
830
|
k("defs", null, [
|
|
831
|
-
(
|
|
831
|
+
(n(!0), c(T, null, z(s.value, (a, o) => (n(), c("radialGradient", {
|
|
832
832
|
cx: "50%",
|
|
833
833
|
cy: "50%",
|
|
834
834
|
r: "50%",
|
|
@@ -864,7 +864,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
864
864
|
}, null, -1)
|
|
865
865
|
])], 8, Ml)
|
|
866
866
|
]),
|
|
867
|
-
e.value.useCustomCells && s.value.length ? (
|
|
867
|
+
e.value.useCustomCells && s.value.length ? (n(!0), c(T, { key: 0 }, z(W.value, (a, o) => (n(), c("foreignObject", {
|
|
868
868
|
x: a.x,
|
|
869
869
|
y: a.y,
|
|
870
870
|
height: _.value <= 0 ? 1e-4 : _.value,
|
|
@@ -873,7 +873,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
873
873
|
}, [
|
|
874
874
|
h(t.$slots, "cell", xe({ 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)
|
|
875
875
|
], 8, Rl))), 256)) : C("", !0),
|
|
876
|
-
!s.value.length && !e.value.useCustomCells ? (
|
|
876
|
+
!s.value.length && !e.value.useCustomCells ? (n(), c("rect", {
|
|
877
877
|
key: 1,
|
|
878
878
|
x: 12,
|
|
879
879
|
y: 12,
|
|
@@ -882,13 +882,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
882
882
|
rx: 3,
|
|
883
883
|
fill: "none",
|
|
884
884
|
stroke: "black"
|
|
885
|
-
}, null, 8, Ul)) : s.value.length && !e.value.useCustomCells ? (
|
|
886
|
-
t.$slots.pattern ? (
|
|
887
|
-
(
|
|
885
|
+
}, null, 8, Ul)) : s.value.length && !e.value.useCustomCells ? (n(), c(T, { key: 2 }, [
|
|
886
|
+
t.$slots.pattern ? (n(), c("g", Gl, [
|
|
887
|
+
(n(!0), c(T, null, z(pe.value, (a) => (n(), c("defs", null, [
|
|
888
888
|
h(t.$slots, "pattern", xe({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${b.value}_${a.absoluteIndex}` }), void 0, !0)
|
|
889
889
|
]))), 256))
|
|
890
890
|
])) : C("", !0),
|
|
891
|
-
(
|
|
891
|
+
(n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
|
|
892
892
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
893
893
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
894
894
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -899,7 +899,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
899
899
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
900
900
|
filter: ee(s.value[o].serieIndex)
|
|
901
901
|
}, null, 8, Wl))), 256)),
|
|
902
|
-
(
|
|
902
|
+
(n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
|
|
903
903
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
904
904
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
905
905
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -910,8 +910,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
910
910
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
911
911
|
filter: ee(s.value[o].serieIndex)
|
|
912
912
|
}, null, 8, jl))), 256)),
|
|
913
|
-
t.$slots.pattern ? (
|
|
914
|
-
(
|
|
913
|
+
t.$slots.pattern ? (n(), c("g", ql, [
|
|
914
|
+
(n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
|
|
915
915
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
916
916
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
917
917
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -923,10 +923,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
923
923
|
}, null, 8, Hl))), 256))
|
|
924
924
|
])) : C("", !0)
|
|
925
925
|
], 64)) : C("", !0),
|
|
926
|
-
(
|
|
927
|
-
Rt(o, a) ? (
|
|
926
|
+
(n(!0), c(T, null, z(W.value, (a, o) => (n(), c(T, null, [
|
|
927
|
+
Rt(o, a) ? (n(), c("text", {
|
|
928
928
|
key: `datalabel_${o}`,
|
|
929
|
-
textContent:
|
|
929
|
+
textContent: re(Ut(o, a)),
|
|
930
930
|
x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
931
931
|
y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + qe.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
932
932
|
"font-size": e.value.style.chart.layout.labels.captions.fontSize,
|
|
@@ -934,26 +934,26 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
934
934
|
filter: ee(s.value[o].serieIndex)
|
|
935
935
|
}, null, 8, Xl)) : C("", !0)
|
|
936
936
|
], 64))), 256)),
|
|
937
|
-
(
|
|
937
|
+
(n(!0), c(T, null, z(W.value, (a, o) => (n(), c("rect", {
|
|
938
938
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
939
939
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
940
940
|
height: qe.value,
|
|
941
941
|
width: St.value,
|
|
942
942
|
fill: "transparent",
|
|
943
943
|
stroke: "none",
|
|
944
|
-
onMouseover: (
|
|
945
|
-
onMouseleave: (
|
|
946
|
-
onClick: (
|
|
944
|
+
onMouseover: (r) => Vt(o),
|
|
945
|
+
onMouseleave: (r) => Nt(o),
|
|
946
|
+
onClick: (r) => zt(o)
|
|
947
947
|
}, null, 40, Yl))), 256)),
|
|
948
948
|
h(t.$slots, "svg", { svg: N.value }, void 0, !0)
|
|
949
949
|
], 14, El)),
|
|
950
|
-
t.$slots.watermark ? (
|
|
950
|
+
t.$slots.watermark ? (n(), c("div", Jl, [
|
|
951
951
|
h(t.$slots, "watermark", x($({ isPrinting: d(Re) || d(Ue) })), void 0, !0)
|
|
952
952
|
])) : C("", !0),
|
|
953
953
|
k("div", {
|
|
954
954
|
id: `legend-bottom-${b.value}`
|
|
955
955
|
}, null, 8, Kl),
|
|
956
|
-
Le.value ? (
|
|
956
|
+
Le.value ? (n(), E(el, {
|
|
957
957
|
key: 5,
|
|
958
958
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
959
959
|
}, [
|
|
@@ -961,7 +961,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
961
961
|
ref_key: "chartLegend",
|
|
962
962
|
ref: Se
|
|
963
963
|
}, [
|
|
964
|
-
e.value.style.chart.legend.show ? (
|
|
964
|
+
e.value.style.chart.legend.show ? (n(), E(Ol, {
|
|
965
965
|
key: `legend_${Pe.value}`,
|
|
966
966
|
legendSet: V.value,
|
|
967
967
|
config: Et.value,
|
|
@@ -971,7 +971,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
971
971
|
k("div", {
|
|
972
972
|
onClick: (o) => a.segregate(),
|
|
973
973
|
style: ae(`opacity:${y.value.includes(a.uid) ? 0.5 : 1}`)
|
|
974
|
-
},
|
|
974
|
+
}, re(a.display), 13, Ql)
|
|
975
975
|
]),
|
|
976
976
|
_: 2
|
|
977
977
|
}, [
|
|
@@ -994,7 +994,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
994
994
|
}, void 0, !0)
|
|
995
995
|
], 512)
|
|
996
996
|
], 8, ["to"])) : C("", !0),
|
|
997
|
-
t.$slots.source ? (
|
|
997
|
+
t.$slots.source ? (n(), c("div", {
|
|
998
998
|
key: 6,
|
|
999
999
|
ref_key: "source",
|
|
1000
1000
|
ref: _e,
|
|
@@ -1003,7 +1003,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1003
1003
|
h(t.$slots, "source", {}, void 0, !0)
|
|
1004
1004
|
], 512)) : C("", !0),
|
|
1005
1005
|
oe(d(gt), {
|
|
1006
|
-
|
|
1006
|
+
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1007
|
+
show: w.value.showTooltip && ne.value && y.value.length < m.dataset.length,
|
|
1007
1008
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1008
1009
|
color: e.value.style.chart.tooltip.color,
|
|
1009
1010
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1029,14 +1030,14 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1029
1030
|
h(t.$slots, "tooltip-after", x($({ ...be.value })), void 0, !0)
|
|
1030
1031
|
]),
|
|
1031
1032
|
_: 3
|
|
1032
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1033
|
-
ue.value && e.value.userOptions.buttons.table ? (
|
|
1033
|
+
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1034
|
+
ue.value && e.value.userOptions.buttons.table ? (n(), E(tl(Y.value.component), xe({ key: 7 }, Y.value.props, {
|
|
1034
1035
|
ref_key: "tableUnit",
|
|
1035
1036
|
ref: j,
|
|
1036
1037
|
onClose: et
|
|
1037
1038
|
}), Ae({
|
|
1038
1039
|
content: f(() => [
|
|
1039
|
-
(
|
|
1040
|
+
(n(), E(d(bt), {
|
|
1040
1041
|
key: `table_${De.value}`,
|
|
1041
1042
|
colNames: te.value.colNames,
|
|
1042
1043
|
head: te.value.head,
|
|
@@ -1053,7 +1054,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1053
1054
|
}, null, 8, Zl)
|
|
1054
1055
|
]),
|
|
1055
1056
|
td: f(({ td: a }) => [
|
|
1056
|
-
ot(
|
|
1057
|
+
ot(re(a.name || a), 1)
|
|
1057
1058
|
]),
|
|
1058
1059
|
_: 1
|
|
1059
1060
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1063,7 +1064,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1063
1064
|
e.value.table.useDialog ? {
|
|
1064
1065
|
name: "title",
|
|
1065
1066
|
fn: f(() => [
|
|
1066
|
-
ot(
|
|
1067
|
+
ot(re(Y.value.title), 1)
|
|
1067
1068
|
]),
|
|
1068
1069
|
key: "0"
|
|
1069
1070
|
} : void 0,
|
|
@@ -1084,10 +1085,10 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1084
1085
|
key: "1"
|
|
1085
1086
|
} : void 0
|
|
1086
1087
|
]), 1040)) : C("", !0),
|
|
1087
|
-
d(Ee) ? (
|
|
1088
|
+
d(Ee) ? (n(), E(Al, { key: 8 })) : C("", !0)
|
|
1088
1089
|
], 46, Pl));
|
|
1089
1090
|
}
|
|
1090
|
-
}, ta = /* @__PURE__ */ Dl(ea, [["__scopeId", "data-v-
|
|
1091
|
+
}, ta = /* @__PURE__ */ Dl(ea, [["__scopeId", "data-v-1257e714"]]), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1091
1092
|
__proto__: null,
|
|
1092
1093
|
default: ta
|
|
1093
1094
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
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
2
|
import { c as Lt, t as Ht, o as Yt, g as Gt, h as K, a3 as Vt, X as qt, q as Le, a as Zt, U as He, d as Jt } from "./lib-2iaAPQ_c.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-gqRzbKJy.js";
|
|
5
5
|
import { u as ta, B as aa } from "./BaseScanner-BMpwQAfz.js";
|
|
6
6
|
import { u as la } from "./usePrinter-ChVMpU2f.js";
|
|
7
7
|
import { u as oa } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -9,7 +9,7 @@ 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
11
|
import ia from "./img-CqYIrJ8I.js";
|
|
12
|
-
import ua from "./Title-
|
|
12
|
+
import ua from "./Title-B7pkWzTi.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-D6dHXPfu.js")), at = fe(() => import("./UserOptions-BlWCqtbi.js")), lt = fe(() => import("./PackageVersion-BiGAIrqC.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,
|