vue-data-ui 3.22.4 → 3.22.6
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/{Arrow-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-bump.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/{dom-to-png-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as fe } from "./useConfig-
|
|
4
|
-
import { t as pe } from "./usePrinter-
|
|
2
|
+
import { At as t, Dt as n, Ht as r, It as i, Lt as a, Q as o, S as ee, W as te, Wt as s, X as ne, _t as re, at as ie, b as ae, i as oe, lt as se, n as ce, q as c, r as le, t as ue, w as de } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as fe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as pe } from "./usePrinter-CRp5IW3v.js";
|
|
5
5
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ge } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as _e } from "./useNestedProp-
|
|
7
|
+
import { t as _e } from "./useNestedProp-BEo2N1Db.js";
|
|
8
8
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ye } from "./img-
|
|
10
|
-
import { n as be } from "./Title-
|
|
11
|
-
import { t as xe } from "./Shape-
|
|
9
|
+
import { t as ye } from "./img-B_y5qDdm.js";
|
|
10
|
+
import { n as be } from "./Title-C-p0ilWB.js";
|
|
11
|
+
import { t as xe } from "./Shape-BSetplwm.js";
|
|
12
12
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as Ce } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Te } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Te } from "./BaseLegendToggle-DFwIY5bE.js";
|
|
16
16
|
import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as ke } from "./labelUtils-
|
|
20
|
-
import { t as Ae } from "./Legend-
|
|
19
|
+
import { t as ke } from "./labelUtils-CyVwqXSh.js";
|
|
20
|
+
import { t as Ae } from "./Legend-D-635Kag.js";
|
|
21
21
|
import { t as je } from "./vue_ui_waffle-DIARFc7g.js";
|
|
22
|
-
import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as _, normalizeStyle as
|
|
22
|
+
import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as _, normalizeStyle as ze, onBeforeUnmount as Be, onMounted as Ve, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as S, toRefs as We, unref as C, useSlots as Ge, watch as w, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-waffle.vue
|
|
24
24
|
var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
|
|
25
25
|
"xmlns",
|
|
@@ -103,17 +103,17 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
103
103
|
},
|
|
104
104
|
emits: ["selectLegend", "copyAlt"],
|
|
105
105
|
setup(e, { expose: Se, emit: Ke }) {
|
|
106
|
-
let gt = h(() => import("./Tooltip-
|
|
106
|
+
let gt = h(() => import("./Tooltip-YabpoXo1.js")), _t = h(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), vt = h(() => import("./DataTable-CXfvIulC.js")), yt = h(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), bt = h(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), xt = h(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), St = h(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), Ct = h(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_waffle: wt } = fe(), { isThemeValid: Tt, warnInvalidTheme: Et } = ve(), E = e, Dt = Ge(), Ot = u({
|
|
107
107
|
get() {
|
|
108
108
|
return !!E.dataset && E.dataset.length;
|
|
109
109
|
},
|
|
110
110
|
set(e) {
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
|
-
}), D =
|
|
113
|
+
}), D = y(te()), kt = y(!1), At = y(""), O = y(null), jt = y(0), k = y(null), Mt = y(null), Nt = y(null), Pt = y(null), Ft = y(null), It = y(0), Lt = y(0), Rt = y(0), zt = y(!1), Bt = y(null), Vt = y(null), Ht = y(!1), Ut = y(!1), A = y(null), Wt = y({
|
|
114
114
|
x: 0,
|
|
115
115
|
y: 0
|
|
116
|
-
}),
|
|
116
|
+
}), j = y("pointer"), Gt = y(!1), M = y($t()), N = u(() => M.value.userOptions.useCursorPointer), Kt = u(() => s({
|
|
117
117
|
defaultConfig: {
|
|
118
118
|
useCustomCells: !1,
|
|
119
119
|
userOptions: { show: !1 },
|
|
@@ -133,7 +133,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
133
133
|
},
|
|
134
134
|
userConfig: M.value.skeletonConfig ?? {}
|
|
135
135
|
})), { loading: qt, FINAL_DATASET: Jt, manualLoading: Yt } = me({
|
|
136
|
-
...
|
|
136
|
+
...We(E),
|
|
137
137
|
FINAL_CONFIG: M,
|
|
138
138
|
prepareConfig: $t,
|
|
139
139
|
callback: () => {
|
|
@@ -158,7 +158,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
158
158
|
color: "#CACACA"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
|
-
skeletonConfig:
|
|
161
|
+
skeletonConfig: s({
|
|
162
162
|
defaultConfig: M.value,
|
|
163
163
|
userConfig: Kt.value
|
|
164
164
|
})
|
|
@@ -167,36 +167,36 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
167
167
|
let e = _e({
|
|
168
168
|
userConfig: E.config,
|
|
169
169
|
defaultConfig: wt
|
|
170
|
-
}),
|
|
171
|
-
if (!
|
|
170
|
+
}), n = e.theme;
|
|
171
|
+
if (!n) return e;
|
|
172
172
|
if (!Tt.value(e)) return Et(e), e;
|
|
173
|
-
let
|
|
174
|
-
userConfig: je[
|
|
173
|
+
let i = _e({
|
|
174
|
+
userConfig: je[n] || E.config,
|
|
175
175
|
defaultConfig: e
|
|
176
|
-
}),
|
|
176
|
+
}), a = _e({
|
|
177
177
|
userConfig: E.config,
|
|
178
|
-
defaultConfig:
|
|
178
|
+
defaultConfig: i
|
|
179
179
|
});
|
|
180
180
|
return {
|
|
181
|
-
...
|
|
182
|
-
customPalette:
|
|
181
|
+
...a,
|
|
182
|
+
customPalette: a.customPalette.length ? a.customPalette : r[n] || t
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
|
|
185
|
+
w(() => E.config, (e) => {
|
|
186
186
|
qt.value || (M.value = $t()), Xt.value = !M.value.userOptions.showOnChartHover, tn(), It.value += 1, Lt.value += 1, Rt.value += 1, L.value.showTable = M.value.table.show, L.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
187
187
|
}, { deep: !0 });
|
|
188
|
-
let F =
|
|
188
|
+
let F = Ue(null), I = Ue(null), en = u(() => !!M.value.debug);
|
|
189
189
|
function tn() {
|
|
190
|
-
if (
|
|
190
|
+
if (n(E.dataset) ? (o({
|
|
191
191
|
componentName: "VueUiWaffle",
|
|
192
192
|
type: "dataset",
|
|
193
193
|
debug: en.value
|
|
194
194
|
}), Ot.value = !1, Yt.value = !0) : E.dataset.forEach((e, t) => {
|
|
195
|
-
|
|
195
|
+
se({
|
|
196
196
|
datasetObject: e,
|
|
197
197
|
requiredAttributes: ["name", "values"]
|
|
198
198
|
}).forEach((e) => {
|
|
199
|
-
|
|
199
|
+
o({
|
|
200
200
|
componentName: "VueUiWaffle",
|
|
201
201
|
type: "datasetSerieAttribute",
|
|
202
202
|
property: e,
|
|
@@ -204,7 +204,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
204
204
|
debug: en.value
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
|
-
}),
|
|
207
|
+
}), n(E.dataset) || (Yt.value = M.value.loading), M.value.responsive) {
|
|
208
208
|
let e = Ce(() => {
|
|
209
209
|
let { width: e, height: t } = we({
|
|
210
210
|
chart: k.value,
|
|
@@ -220,29 +220,29 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
220
220
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = k.value.parentNode, F.value.observe(I.value);
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
Ve(() => {
|
|
224
224
|
zt.value = !0, tn();
|
|
225
|
-
}),
|
|
225
|
+
}), Be(() => {
|
|
226
226
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
227
227
|
});
|
|
228
228
|
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = pe({
|
|
229
229
|
elementId: `vue-ui-waffle_${D.value}`,
|
|
230
230
|
fileName: M.value.style.chart.title.text || "vue-ui-waffle",
|
|
231
231
|
options: M.value.userOptions.print
|
|
232
|
-
}), sn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), cn = u(() =>
|
|
232
|
+
}), sn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), cn = u(() => ee(M.value.customPalette)), L = y({
|
|
233
233
|
showTable: M.value.table.show,
|
|
234
234
|
showTooltip: M.value.style.chart.tooltip.show
|
|
235
235
|
});
|
|
236
|
-
|
|
236
|
+
w(M, () => {
|
|
237
237
|
L.value = {
|
|
238
238
|
showTable: M.value.table.show,
|
|
239
239
|
showTooltip: M.value.style.chart.tooltip.show
|
|
240
240
|
};
|
|
241
241
|
}, { immediate: !0 });
|
|
242
|
-
let R =
|
|
242
|
+
let R = y({
|
|
243
243
|
height: 512,
|
|
244
244
|
width: 512
|
|
245
|
-
}), z =
|
|
245
|
+
}), z = y({
|
|
246
246
|
top: 0,
|
|
247
247
|
left: 0,
|
|
248
248
|
height: 512,
|
|
@@ -256,23 +256,23 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
256
256
|
}
|
|
257
257
|
return i;
|
|
258
258
|
}
|
|
259
|
-
let fn =
|
|
259
|
+
let fn = y(!1);
|
|
260
260
|
function pn() {
|
|
261
|
-
return fn.value = Jt.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, Jt.value.map((e,
|
|
261
|
+
return fn.value = Jt.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, Jt.value.map((e, n) => ({
|
|
262
262
|
...e,
|
|
263
|
-
color:
|
|
264
|
-
uid: `serie_${
|
|
265
|
-
absoluteIndex:
|
|
263
|
+
color: ae(e.color) || cn.value[n] || t[n] || t[n % t.length],
|
|
264
|
+
uid: `serie_${n}`,
|
|
265
|
+
absoluteIndex: n
|
|
266
266
|
}));
|
|
267
267
|
}
|
|
268
|
-
let mn = u(() => pn()), H =
|
|
269
|
-
|
|
268
|
+
let mn = u(() => pn()), H = y(mn.value);
|
|
269
|
+
w(() => E.dataset, (e) => {
|
|
270
270
|
Array.isArray(e) && e.length > 0 && (Yt.value = !1);
|
|
271
|
-
}, { immediate: !0 }),
|
|
271
|
+
}, { immediate: !0 }), w(() => E.dataset, (e) => {
|
|
272
272
|
H.value = pn();
|
|
273
273
|
}, { deep: !0 });
|
|
274
274
|
let hn = u(() => dn(H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), gn = u(() => dn(H.value.map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), U = u(() => (Jt.value.forEach((e, t) => {
|
|
275
|
-
[null, void 0].includes(e.values) &&
|
|
275
|
+
[null, void 0].includes(e.values) && o({
|
|
276
276
|
componentName: "VueUiWaffle",
|
|
277
277
|
type: "datasetSerieAttribute",
|
|
278
278
|
property: "values (number[])",
|
|
@@ -336,7 +336,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
336
336
|
y: (M.value.style.chart.layout.grid.vertical ? n : t) * (V.value + M.value.style.chart.layout.grid.spaceBetween) + z.value.top
|
|
337
337
|
});
|
|
338
338
|
return e;
|
|
339
|
-
}), K =
|
|
339
|
+
}), K = y([]), bn = y(!1), xn = y(Object.create(null)), Sn = y(Object.create(null)), Cn = y(0);
|
|
340
340
|
function wn(e, t) {
|
|
341
341
|
H.value = H.value.map((n) => n.uid === e ? {
|
|
342
342
|
...n,
|
|
@@ -445,19 +445,19 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
445
445
|
showPercentage: r
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
let J = u(() => H.value.map((e,
|
|
449
|
-
let
|
|
448
|
+
let J = u(() => H.value.map((e, n) => {
|
|
449
|
+
let r = (e.values || []).reduce((e, t) => e + t, 0), i = r / H.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
|
|
450
450
|
return {
|
|
451
451
|
name: e.name,
|
|
452
|
-
color: e.color || cn[
|
|
453
|
-
value:
|
|
454
|
-
proportion:
|
|
452
|
+
color: e.color || cn[n] || t[n] || t[n % t.length],
|
|
453
|
+
value: r,
|
|
454
|
+
proportion: i,
|
|
455
455
|
uid: e.uid,
|
|
456
456
|
shape: "square"
|
|
457
457
|
};
|
|
458
458
|
}).map((e, t) => {
|
|
459
459
|
let n = Mn({
|
|
460
|
-
val:
|
|
460
|
+
val: oe(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
|
|
461
461
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
462
462
|
v: e.value,
|
|
463
463
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -489,7 +489,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
489
489
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
490
490
|
paddingBottom: 12,
|
|
491
491
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
492
|
-
})), Y = u(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Pn =
|
|
492
|
+
})), Y = u(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Pn = y(null), Fn = y(null), X = u(() => {
|
|
493
493
|
let e = /* @__PURE__ */ new Map();
|
|
494
494
|
return W.value.forEach((t, n) => {
|
|
495
495
|
e.has(t.serieIndex) ? e.get(t.serieIndex).rectIndexes.push(n) : e.set(t.serieIndex, {
|
|
@@ -523,13 +523,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
523
523
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
524
524
|
datapoint: t,
|
|
525
525
|
seriesIndex: t.serieIndex
|
|
526
|
-
}), Fn.value = null, kt.value = !1, O.value = null,
|
|
526
|
+
}), Fn.value = null, kt.value = !1, O.value = null, A.value = null, j.value = "pointer";
|
|
527
527
|
}
|
|
528
528
|
function Bn(e, t = "pointer") {
|
|
529
529
|
if (K.value.length === E.dataset.length) return;
|
|
530
530
|
let n = W.value[e];
|
|
531
531
|
if (!n) return;
|
|
532
|
-
|
|
532
|
+
j.value = t, A.value = n.serieIndex, Pn.value = {
|
|
533
533
|
datapoint: n,
|
|
534
534
|
seriesIndex: n.absoluteIndex,
|
|
535
535
|
series: H.value,
|
|
@@ -539,7 +539,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
539
539
|
seriesIndex: n.serieIndex
|
|
540
540
|
}), Fn.value = n.serieIndex, kt.value = !0, O.value = n.serieIndex;
|
|
541
541
|
let r = M.value.style.chart.tooltip.customFormat;
|
|
542
|
-
if (
|
|
542
|
+
if (re(r) && ie(() => r({
|
|
543
543
|
seriesIndex: n.absoluteIndex,
|
|
544
544
|
datapoint: n,
|
|
545
545
|
series: H.value,
|
|
@@ -556,7 +556,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
556
556
|
config: M.value.style.chart.tooltip,
|
|
557
557
|
showVal: M.value.style.chart.tooltip.showValue,
|
|
558
558
|
showPercentage: M.value.style.chart.tooltip.showPercentage,
|
|
559
|
-
val: `<span>${
|
|
559
|
+
val: `<span>${oe(M.value.style.chart.layout.labels.dataLabels.formatter, n.value, c({
|
|
560
560
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
561
561
|
v: n.value,
|
|
562
562
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -588,7 +588,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
588
588
|
return M.value.style.chart.layout.labels.captions.show ? W.value.length && !bn.value && !M.value.style.chart.layout.grid.vertical && (W.value[e].isFirst && t.position < M.value.style.chart.layout.grid.size - 2 || W.value[e].isAbsoluteFirst && e % M.value.style.chart.layout.grid.size === 0 && W.value[e].absoluteStartIndex) : !1;
|
|
589
589
|
}
|
|
590
590
|
function Wn(e, t = null) {
|
|
591
|
-
let n =
|
|
591
|
+
let n = oe(M.value.style.chart.layout.labels.dataLabels.formatter, W.value[e].value, c({
|
|
592
592
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
593
593
|
v: W.value[e].value,
|
|
594
594
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -600,7 +600,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
600
600
|
v: W.value[e].proportion,
|
|
601
601
|
s: "%",
|
|
602
602
|
r: M.value.style.chart.layout.labels.captions.roundingPercentage
|
|
603
|
-
}), i = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ?
|
|
603
|
+
}), i = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ? ce({
|
|
604
604
|
source: W.value[e].name,
|
|
605
605
|
length: M.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize
|
|
606
606
|
}) : W.value[e].name) + (M.value.style.chart.layout.labels.captions.showPercentage || M.value.style.chart.layout.labels.captions.showValue ? ":" : "");
|
|
@@ -636,7 +636,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
636
636
|
let Q = u(() => ({
|
|
637
637
|
head: [
|
|
638
638
|
" <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>",
|
|
639
|
-
|
|
639
|
+
oe(M.value.style.chart.layout.labels.dataLabels.formatter, Y.value, c({
|
|
640
640
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
641
641
|
v: Y.value,
|
|
642
642
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -649,7 +649,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
649
649
|
color: e.color,
|
|
650
650
|
name: e.name
|
|
651
651
|
},
|
|
652
|
-
|
|
652
|
+
oe(M.value.style.chart.layout.labels.dataLabels.formatter, Z.value.body[t], c({
|
|
653
653
|
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
654
654
|
v: Z.value.body[t],
|
|
655
655
|
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -680,7 +680,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
680
680
|
M.value.table.columnNames.value,
|
|
681
681
|
M.value.table.columnNames.percentage
|
|
682
682
|
]
|
|
683
|
-
})), $ =
|
|
683
|
+
})), $ = y(!1);
|
|
684
684
|
function Kn(e) {
|
|
685
685
|
$.value = e, jt.value += 1;
|
|
686
686
|
}
|
|
@@ -690,7 +690,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
690
690
|
function Jn() {
|
|
691
691
|
L.value.showTooltip = !L.value.showTooltip;
|
|
692
692
|
}
|
|
693
|
-
let Yn =
|
|
693
|
+
let Yn = y(!1);
|
|
694
694
|
function Xn() {
|
|
695
695
|
Yn.value = !Yn.value;
|
|
696
696
|
}
|
|
@@ -742,11 +742,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
742
742
|
}
|
|
743
743
|
};
|
|
744
744
|
});
|
|
745
|
-
|
|
746
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
745
|
+
w(() => L.value.showTable, (e) => {
|
|
746
|
+
M.value.table.show || (e && M.value.table.useDialog && Bt.value ? Bt.value.open() : "close" in Bt.value && Bt.value.close());
|
|
747
747
|
});
|
|
748
748
|
function $n() {
|
|
749
|
-
L.value.showTable = !1,
|
|
749
|
+
L.value.showTable = !1, Vt.value && Vt.value.setTableIconState(!1);
|
|
750
750
|
}
|
|
751
751
|
let er = u(() => J.value.map((e) => ({
|
|
752
752
|
...e,
|
|
@@ -759,7 +759,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
759
759
|
backgroundColor: tr
|
|
760
760
|
});
|
|
761
761
|
async function ar({ isCb: e }) {
|
|
762
|
-
|
|
762
|
+
Ut.value = !0, await Le();
|
|
763
763
|
try {
|
|
764
764
|
if (e) {
|
|
765
765
|
let { blob: e, url: t, text: n, dataUrl: r } = await ir();
|
|
@@ -771,16 +771,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
771
771
|
}));
|
|
772
772
|
} else await Promise.resolve(rr());
|
|
773
773
|
} finally {
|
|
774
|
-
|
|
774
|
+
Ut.value = !1;
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
function or(e) {
|
|
778
778
|
if (e?.stage === "start") {
|
|
779
|
-
|
|
779
|
+
Ht.value = !0;
|
|
780
780
|
return;
|
|
781
781
|
}
|
|
782
782
|
if (e?.stage === "end") {
|
|
783
|
-
|
|
783
|
+
Ht.value = !1;
|
|
784
784
|
return;
|
|
785
785
|
}
|
|
786
786
|
on();
|
|
@@ -799,27 +799,27 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
799
799
|
}));
|
|
800
800
|
}
|
|
801
801
|
function cr() {
|
|
802
|
-
|
|
802
|
+
A.value = null, Gt.value = !0;
|
|
803
803
|
}
|
|
804
804
|
function lr() {
|
|
805
|
-
|
|
805
|
+
A.value = null, j.value = "pointer", kt.value = !1, O.value = null, Fn.value = null, Gt.value = !1;
|
|
806
806
|
}
|
|
807
807
|
function ur(e) {
|
|
808
808
|
if (!P.value || Yn.value || document.activeElement !== P.value || !X.value.length || K.value.length === E.dataset.length) return;
|
|
809
809
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
810
810
|
if (!t && !n && !r && !i) return;
|
|
811
811
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
812
|
-
|
|
812
|
+
A.value = null, j.value = "pointer", kt.value = !1, O.value = null, Fn.value = null;
|
|
813
813
|
return;
|
|
814
814
|
}
|
|
815
815
|
if (r) {
|
|
816
|
-
if (
|
|
817
|
-
let e = Ln(
|
|
816
|
+
if (A.value === null) return;
|
|
817
|
+
let e = Ln(A.value);
|
|
818
818
|
if (e === null) return;
|
|
819
819
|
Rn(e);
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
|
-
let a = X.value.findIndex((e) => e.serieIndex ===
|
|
822
|
+
let a = X.value.findIndex((e) => e.serieIndex === A.value), o = null;
|
|
823
823
|
if (o = a === -1 ? n ? X.value[0] : X.value[X.value.length - 1] : n ? X.value[(a + 1) % X.value.length] : X.value[(a - 1 + X.value.length) % X.value.length], !o) return;
|
|
824
824
|
let ee = Ln(o.serieIndex);
|
|
825
825
|
ee !== null && (dr(o.serieIndex), Bn(ee, "keyboard"));
|
|
@@ -836,10 +836,10 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
836
836
|
} : null;
|
|
837
837
|
}).filter(Boolean);
|
|
838
838
|
if (!n.length) return;
|
|
839
|
-
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), ee = (r + i) / 2, te = (a + o) / 2,
|
|
840
|
-
|
|
841
|
-
x:
|
|
842
|
-
y:
|
|
839
|
+
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), ee = (r + i) / 2, te = (a + o) / 2, s = P.value.getBoundingClientRect();
|
|
840
|
+
Wt.value = {
|
|
841
|
+
x: s.left + ee / R.value.width * s.width,
|
|
842
|
+
y: s.top + te / R.value.height * s.height
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
845
|
let fr = u(() => ({
|
|
@@ -860,20 +860,20 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
860
860
|
toggleAnnotator: Xn,
|
|
861
861
|
toggleFullscreen: Kn,
|
|
862
862
|
copyAlt: sr
|
|
863
|
-
}), (e, t) => (
|
|
863
|
+
}), (e, t) => (v(), p("div", {
|
|
864
864
|
class: Re(`vue-data-ui-component vue-ui-waffle ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
865
865
|
ref_key: "waffleChart",
|
|
866
866
|
ref: k,
|
|
867
867
|
id: `vue-ui-waffle_${D.value}`,
|
|
868
|
-
style:
|
|
869
|
-
onMouseenter: t[2] ||= () =>
|
|
870
|
-
onMouseleave: t[3] ||= () =>
|
|
868
|
+
style: ze(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
869
|
+
onMouseenter: t[2] ||= () => C(Zt)(!0),
|
|
870
|
+
onMouseleave: t[3] ||= () => C(Zt)(!1)
|
|
871
871
|
}, [
|
|
872
872
|
m("div", {
|
|
873
873
|
id: `chart-instructions-${D.value}`,
|
|
874
874
|
class: "sr-only"
|
|
875
|
-
}, [m("p", null,
|
|
876
|
-
fr.value?.rows?.length ? (
|
|
875
|
+
}, [m("p", null, S(M.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
876
|
+
fr.value?.rows?.length ? (v(), d(Ee, {
|
|
877
877
|
key: 0,
|
|
878
878
|
uid: D.value,
|
|
879
879
|
head: fr.value.headers,
|
|
@@ -887,21 +887,21 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
887
887
|
"notice",
|
|
888
888
|
"caption"
|
|
889
889
|
])) : f("", !0),
|
|
890
|
-
M.value.userOptions.buttons.annotator ? (
|
|
890
|
+
M.value.userOptions.buttons.annotator ? (v(), d(C(xt), {
|
|
891
891
|
key: 1,
|
|
892
|
-
svgRef:
|
|
892
|
+
svgRef: C(P),
|
|
893
893
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
894
894
|
color: M.value.style.chart.color,
|
|
895
895
|
active: Yn.value,
|
|
896
896
|
isCursorPointer: N.value,
|
|
897
897
|
onClose: Xn
|
|
898
898
|
}, {
|
|
899
|
-
"annotator-action-close": T(() => [
|
|
900
|
-
"annotator-action-color": T(({ color: t }) => [
|
|
901
|
-
"annotator-action-draw": T(({ mode: t }) => [
|
|
902
|
-
"annotator-action-undo": T(({ disabled: t }) => [
|
|
903
|
-
"annotator-action-redo": T(({ disabled: t }) => [
|
|
904
|
-
"annotator-action-delete": T(({ disabled: t }) => [
|
|
899
|
+
"annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
900
|
+
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", _(g({ color: t })), void 0, !0)]),
|
|
901
|
+
"annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(g({ mode: t })), void 0, !0)]),
|
|
902
|
+
"annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(g({ disabled: t })), void 0, !0)]),
|
|
903
|
+
"annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(g({ disabled: t })), void 0, !0)]),
|
|
904
|
+
"annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(g({ disabled: t })), void 0, !0)]),
|
|
905
905
|
_: 3
|
|
906
906
|
}, 8, [
|
|
907
907
|
"svgRef",
|
|
@@ -910,19 +910,19 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
910
910
|
"active",
|
|
911
911
|
"isCursorPointer"
|
|
912
912
|
])) : f("", !0),
|
|
913
|
-
sn.value ? (
|
|
913
|
+
sn.value ? (v(), p("div", {
|
|
914
914
|
key: 2,
|
|
915
915
|
ref_key: "noTitle",
|
|
916
916
|
ref: Ft,
|
|
917
917
|
class: "vue-data-ui-no-title-space",
|
|
918
918
|
style: "height:36px; width: 100%;background:transparent"
|
|
919
919
|
}, null, 512)) : f("", !0),
|
|
920
|
-
M.value.style.chart.title.text ? (
|
|
920
|
+
M.value.style.chart.title.text ? (v(), p("div", {
|
|
921
921
|
key: 3,
|
|
922
922
|
ref_key: "chartTitle",
|
|
923
923
|
ref: Mt,
|
|
924
924
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
925
|
-
}, [(
|
|
925
|
+
}, [(v(), d(be, {
|
|
926
926
|
key: `title_${It.value}`,
|
|
927
927
|
config: {
|
|
928
928
|
title: {
|
|
@@ -936,14 +936,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
936
936
|
}
|
|
937
937
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
938
938
|
m("div", { id: `legend-top-${D.value}` }, null, 8, Ye),
|
|
939
|
-
M.value.userOptions.show && Ot.value && (
|
|
939
|
+
M.value.userOptions.show && Ot.value && (C(Qt) || C(Xt)) ? (v(), d(C(bt), {
|
|
940
940
|
ref_key: "userOptionsRef",
|
|
941
|
-
ref:
|
|
941
|
+
ref: Vt,
|
|
942
942
|
key: `user_options_${jt.value}`,
|
|
943
943
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
944
944
|
color: M.value.style.chart.color,
|
|
945
|
-
isPrinting:
|
|
946
|
-
isImaging:
|
|
945
|
+
isPrinting: C(nn),
|
|
946
|
+
isImaging: C(rn),
|
|
947
947
|
uid: D.value,
|
|
948
948
|
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
949
949
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
@@ -965,7 +965,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
965
965
|
tableDialog: M.value.table.useDialog,
|
|
966
966
|
isCursorPointer: N.value,
|
|
967
967
|
onToggleFullscreen: Kn,
|
|
968
|
-
onGeneratePdf:
|
|
968
|
+
onGeneratePdf: C(an),
|
|
969
969
|
onGenerateCsv: Gn,
|
|
970
970
|
onGenerateImage: or,
|
|
971
971
|
onGenerateSvg: ar,
|
|
@@ -973,11 +973,11 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
973
973
|
onToggleTooltip: Jn,
|
|
974
974
|
onToggleAnnotator: Xn,
|
|
975
975
|
onCopyAlt: sr,
|
|
976
|
-
style:
|
|
976
|
+
style: ze({ visibility: C(Qt) ? C(Xt) ? "visible" : "hidden" : "visible" })
|
|
977
977
|
}, Ne({ _: 2 }, [
|
|
978
978
|
e.$slots.menuIcon ? {
|
|
979
979
|
name: "menuIcon",
|
|
980
|
-
fn: T(({ isOpen: t, color: n }) => [
|
|
980
|
+
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(g({
|
|
981
981
|
isOpen: t,
|
|
982
982
|
color: n
|
|
983
983
|
})), void 0, !0)]),
|
|
@@ -985,37 +985,37 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
985
985
|
} : void 0,
|
|
986
986
|
e.$slots.optionTooltip ? {
|
|
987
987
|
name: "optionTooltip",
|
|
988
|
-
fn: T(() => [
|
|
988
|
+
fn: T(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
989
989
|
key: "1"
|
|
990
990
|
} : void 0,
|
|
991
991
|
e.$slots.optionPdf ? {
|
|
992
992
|
name: "optionPdf",
|
|
993
|
-
fn: T(() => [
|
|
993
|
+
fn: T(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
994
994
|
key: "2"
|
|
995
995
|
} : void 0,
|
|
996
996
|
e.$slots.optionCsv ? {
|
|
997
997
|
name: "optionCsv",
|
|
998
|
-
fn: T(() => [
|
|
998
|
+
fn: T(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
999
999
|
key: "3"
|
|
1000
1000
|
} : void 0,
|
|
1001
1001
|
e.$slots.optionImg ? {
|
|
1002
1002
|
name: "optionImg",
|
|
1003
|
-
fn: T(() => [
|
|
1003
|
+
fn: T(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1004
1004
|
key: "4"
|
|
1005
1005
|
} : void 0,
|
|
1006
1006
|
e.$slots.optionSvg ? {
|
|
1007
1007
|
name: "optionSvg",
|
|
1008
|
-
fn: T(() => [
|
|
1008
|
+
fn: T(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1009
1009
|
key: "5"
|
|
1010
1010
|
} : void 0,
|
|
1011
1011
|
e.$slots.optionTable ? {
|
|
1012
1012
|
name: "optionTable",
|
|
1013
|
-
fn: T(() => [
|
|
1013
|
+
fn: T(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1014
1014
|
key: "6"
|
|
1015
1015
|
} : void 0,
|
|
1016
1016
|
e.$slots.optionFullscreen ? {
|
|
1017
1017
|
name: "optionFullscreen",
|
|
1018
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
1018
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(g({
|
|
1019
1019
|
toggleFullscreen: t,
|
|
1020
1020
|
isFullscreen: n
|
|
1021
1021
|
})), void 0, !0)]),
|
|
@@ -1023,7 +1023,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1023
1023
|
} : void 0,
|
|
1024
1024
|
e.$slots.optionAnnotator ? {
|
|
1025
1025
|
name: "optionAnnotator",
|
|
1026
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1026
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(g({
|
|
1027
1027
|
toggleAnnotator: t,
|
|
1028
1028
|
isAnnotator: n
|
|
1029
1029
|
})), void 0, !0)]),
|
|
@@ -1031,24 +1031,24 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1031
1031
|
} : void 0,
|
|
1032
1032
|
e.$slots.optionAltCopy ? {
|
|
1033
1033
|
name: "optionAltCopy",
|
|
1034
|
-
fn: T(({ altCopy: t }) => [
|
|
1034
|
+
fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(g({ altCopy: t })), void 0, !0)]),
|
|
1035
1035
|
key: "9"
|
|
1036
1036
|
} : void 0,
|
|
1037
1037
|
e.$slots["custom-menu-before"] ? {
|
|
1038
1038
|
name: "custom-menu-before",
|
|
1039
|
-
fn: T(() => [
|
|
1039
|
+
fn: T(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1040
1040
|
key: "10"
|
|
1041
1041
|
} : void 0,
|
|
1042
1042
|
e.$slots["custom-menu-after"] ? {
|
|
1043
1043
|
name: "custom-menu-after",
|
|
1044
|
-
fn: T(() => [
|
|
1044
|
+
fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1045
1045
|
key: "11"
|
|
1046
1046
|
} : void 0
|
|
1047
1047
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
|
|
1048
|
-
m("div", Xe, [(
|
|
1048
|
+
m("div", Xe, [(v(), p("svg", {
|
|
1049
1049
|
ref_key: "svgRef",
|
|
1050
1050
|
ref: P,
|
|
1051
|
-
xmlns:
|
|
1051
|
+
xmlns: C(ue),
|
|
1052
1052
|
"aria-describedby": `chart-instructions-${D.value}`,
|
|
1053
1053
|
class: Re({
|
|
1054
1054
|
"vue-data-ui-fullscreen--on": $.value,
|
|
@@ -1056,13 +1056,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1056
1056
|
}),
|
|
1057
1057
|
tabindex: "0",
|
|
1058
1058
|
viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
|
|
1059
|
-
style:
|
|
1059
|
+
style: ze(`max-width:100%;overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
|
|
1060
1060
|
onFocus: cr,
|
|
1061
1061
|
onBlur: lr,
|
|
1062
1062
|
onKeydown: ur
|
|
1063
1063
|
}, [
|
|
1064
|
-
Fe(
|
|
1065
|
-
m("defs", null, [(
|
|
1064
|
+
Fe(C(St)),
|
|
1065
|
+
m("defs", null, [(v(!0), p(l, null, b(W.value, (e, t) => (v(), p("radialGradient", {
|
|
1066
1066
|
cx: "50%",
|
|
1067
1067
|
cy: "50%",
|
|
1068
1068
|
r: "50%",
|
|
@@ -1071,7 +1071,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1071
1071
|
id: `gradient_${D.value}_${t}`
|
|
1072
1072
|
}, [m("stop", {
|
|
1073
1073
|
offset: "0%",
|
|
1074
|
-
"stop-color":
|
|
1074
|
+
"stop-color": C(i)(C(a)(e.color, .05), 100 - M.value.style.chart.layout.rect.gradientIntensity)
|
|
1075
1075
|
}, null, 8, $e), m("stop", {
|
|
1076
1076
|
offset: "100%",
|
|
1077
1077
|
"stop-color": e.color
|
|
@@ -1089,13 +1089,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1089
1089
|
type: "saturate",
|
|
1090
1090
|
values: "0"
|
|
1091
1091
|
}, null, -1)]], 8, tt)]),
|
|
1092
|
-
M.value.useCustomCells && W.value.length && e.$slots.cell ? (
|
|
1092
|
+
M.value.useCustomCells && W.value.length && e.$slots.cell ? (v(!0), p(l, { key: 0 }, b(G.value, (t, n) => (v(), p("foreignObject", {
|
|
1093
1093
|
x: t.x,
|
|
1094
1094
|
y: t.y,
|
|
1095
1095
|
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1096
1096
|
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1097
1097
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
1098
|
-
}, [
|
|
1098
|
+
}, [x(e.$slots, "cell", Ie({ ref_for: !0 }, {
|
|
1099
1099
|
cell: {
|
|
1100
1100
|
...t,
|
|
1101
1101
|
color: W.value[n].color,
|
|
@@ -1105,7 +1105,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1105
1105
|
},
|
|
1106
1106
|
isSelected: [null, void 0].includes(O.value) ? !0 : W.value[n].serieIndex === O.value
|
|
1107
1107
|
}), void 0, !0)], 8, nt))), 256)) : f("", !0),
|
|
1108
|
-
!W.value.length && !M.value.useCustomCells ? (
|
|
1108
|
+
!W.value.length && !M.value.useCustomCells ? (v(), p("rect", {
|
|
1109
1109
|
key: 1,
|
|
1110
1110
|
x: 12,
|
|
1111
1111
|
y: 12,
|
|
@@ -1114,12 +1114,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1114
1114
|
rx: 3,
|
|
1115
1115
|
fill: "none",
|
|
1116
1116
|
stroke: "black"
|
|
1117
|
-
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (
|
|
1118
|
-
e.$slots.pattern ? (
|
|
1117
|
+
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (v(), p(l, { key: 2 }, [
|
|
1118
|
+
e.$slots.pattern ? (v(), p("g", it, [(v(!0), p(l, null, b(mn.value, (t) => (v(), p("defs", null, [x(e.$slots, "pattern", Ie({ ref_for: !0 }, {
|
|
1119
1119
|
seriesIndex: t.absoluteIndex,
|
|
1120
1120
|
patternId: `pattern_${D.value}_${t.absoluteIndex}`
|
|
1121
1121
|
}), void 0, !0)]))), 256))])) : f("", !0),
|
|
1122
|
-
(
|
|
1122
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1123
1123
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1124
1124
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1125
1125
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1130,7 +1130,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1130
1130
|
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1131
1131
|
filter: Hn(W.value[t].serieIndex)
|
|
1132
1132
|
}, null, 8, at))), 256)),
|
|
1133
|
-
(
|
|
1133
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1134
1134
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1135
1135
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1136
1136
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1141,7 +1141,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1141
1141
|
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1142
1142
|
filter: Hn(W.value[t].serieIndex)
|
|
1143
1143
|
}, null, 8, ot))), 256)),
|
|
1144
|
-
e.$slots.pattern ? (
|
|
1144
|
+
e.$slots.pattern ? (v(), p("g", st, [(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1145
1145
|
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1146
1146
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1147
1147
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -1152,7 +1152,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1152
1152
|
filter: Hn(W.value[t].serieIndex)
|
|
1153
1153
|
}, null, 8, ct))), 256))])) : f("", !0)
|
|
1154
1154
|
], 64)) : f("", !0),
|
|
1155
|
-
e.$slots.cellSvg ? (
|
|
1155
|
+
e.$slots.cellSvg ? (v(!0), p(l, { key: 3 }, b(G.value, (t, n) => (v(), p("g", null, [x(e.$slots, "cellSvg", Ie({ ref_for: !0 }, {
|
|
1156
1156
|
cell: {
|
|
1157
1157
|
...t,
|
|
1158
1158
|
color: W.value[n].color,
|
|
@@ -1162,16 +1162,16 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1162
1162
|
},
|
|
1163
1163
|
isSelected: [null, void 0].includes(O.value) ? !0 : W.value[n].serieIndex === O.value
|
|
1164
1164
|
}), void 0, !0)]))), 256)) : f("", !0),
|
|
1165
|
-
(
|
|
1165
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p(l, null, [Un(t, e) ? (v(), p("text", {
|
|
1166
1166
|
key: `datalabel_${t}`,
|
|
1167
|
-
textContent:
|
|
1167
|
+
textContent: S(Wn(t, e)),
|
|
1168
1168
|
x: e.x + M.value.style.chart.layout.labels.captions.offsetX + M.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
1169
1169
|
y: e.y + M.value.style.chart.layout.labels.captions.offsetY + M.value.style.chart.layout.grid.spaceBetween / 2 + un.value / 2 + M.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
1170
1170
|
"font-size": M.value.style.chart.layout.labels.captions.fontSize,
|
|
1171
|
-
fill:
|
|
1171
|
+
fill: C(le)(W.value[t].color),
|
|
1172
1172
|
filter: Hn(W.value[t].serieIndex)
|
|
1173
1173
|
}, null, 8, lt)) : f("", !0)], 64))), 256)),
|
|
1174
|
-
(
|
|
1174
|
+
(v(!0), p(l, null, b(G.value, (e, t) => (v(), p("rect", {
|
|
1175
1175
|
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1176
1176
|
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1177
1177
|
height: un.value,
|
|
@@ -1182,24 +1182,24 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1182
1182
|
onMouseleave: (e) => zn(t),
|
|
1183
1183
|
onClick: (e) => Rn(t)
|
|
1184
1184
|
}, null, 40, ut))), 256)),
|
|
1185
|
-
|
|
1185
|
+
x(e.$slots, "svg", { svg: {
|
|
1186
1186
|
...R.value,
|
|
1187
|
-
isPrintingImg:
|
|
1188
|
-
isPrintingSvg:
|
|
1187
|
+
isPrintingImg: C(nn) || C(rn) || Ht.value,
|
|
1188
|
+
isPrintingSvg: Ut.value
|
|
1189
1189
|
} }, void 0, !0)
|
|
1190
|
-
], 46, Ze)), e.$slots.hint ? (
|
|
1190
|
+
], 46, Ze)), e.$slots.hint ? (v(), p("div", dt, [x(e.$slots, "hint", _(g({
|
|
1191
1191
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1192
1192
|
isVisible: Gt.value
|
|
1193
1193
|
})), void 0, !0)])) : f("", !0)]),
|
|
1194
|
-
e.$slots.watermark ? (
|
|
1194
|
+
e.$slots.watermark ? (v(), p("div", ft, [x(e.$slots, "watermark", _(g({ isPrinting: C(nn) || C(rn) || Ht.value || Ut.value })), void 0, !0)])) : f("", !0),
|
|
1195
1195
|
m("div", { id: `legend-bottom-${D.value}` }, null, 8, pt),
|
|
1196
|
-
zt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
1196
|
+
zt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (v(), d(Me, {
|
|
1197
1197
|
key: 6,
|
|
1198
1198
|
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1199
1199
|
}, [m("div", {
|
|
1200
1200
|
ref_key: "chartLegend",
|
|
1201
1201
|
ref: Nt
|
|
1202
|
-
}, [
|
|
1202
|
+
}, [x(e.$slots, "legend", { legend: J.value }, () => [M.value.style.chart.legend.show ? (v(), d(Ae, {
|
|
1203
1203
|
key: `legend_${Rt.value}`,
|
|
1204
1204
|
legendSet: J.value,
|
|
1205
1205
|
config: Nn.value,
|
|
@@ -1208,9 +1208,9 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1208
1208
|
}, Ne({
|
|
1209
1209
|
item: T(({ legend: e }) => [m("div", {
|
|
1210
1210
|
onClick: (t) => e.segregate(),
|
|
1211
|
-
style:
|
|
1212
|
-
},
|
|
1213
|
-
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !
|
|
1211
|
+
style: ze(`opacity:${K.value.includes(e.uid) ? .5 : 1}`)
|
|
1212
|
+
}, S(e.display), 13, mt)]),
|
|
1213
|
+
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !C(qt) ? (v(), d(Te, {
|
|
1214
1214
|
key: 0,
|
|
1215
1215
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1216
1216
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1244,13 +1244,13 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1244
1244
|
"config",
|
|
1245
1245
|
"isCursorPointer"
|
|
1246
1246
|
])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
1247
|
-
e.$slots.source ? (
|
|
1247
|
+
e.$slots.source ? (v(), p("div", {
|
|
1248
1248
|
key: 7,
|
|
1249
1249
|
ref_key: "source",
|
|
1250
1250
|
ref: Pt,
|
|
1251
1251
|
dir: "auto"
|
|
1252
|
-
}, [
|
|
1253
|
-
Fe(
|
|
1252
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1253
|
+
Fe(C(gt), {
|
|
1254
1254
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1255
1255
|
show: L.value.showTooltip && kt.value && K.value.length < E.dataset.length,
|
|
1256
1256
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1271,12 +1271,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1271
1271
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1272
1272
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1273
1273
|
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1274
|
-
isA11yMode:
|
|
1275
|
-
a11yPosition:
|
|
1274
|
+
isA11yMode: j.value === "keyboard",
|
|
1275
|
+
a11yPosition: Wt.value
|
|
1276
1276
|
}, {
|
|
1277
|
-
"tooltip-before": T(() => [
|
|
1278
|
-
tooltip: T(() => [
|
|
1279
|
-
"tooltip-after": T(() => [
|
|
1277
|
+
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(g({ ...Pn.value })), void 0, !0)]),
|
|
1278
|
+
tooltip: T(() => [x(e.$slots, "tooltip", _(g({ ...Pn.value })), void 0, !0)]),
|
|
1279
|
+
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(g({ ...Pn.value })), void 0, !0)]),
|
|
1280
1280
|
_: 3
|
|
1281
1281
|
}, 8, [
|
|
1282
1282
|
"teleportTo",
|
|
@@ -1302,12 +1302,12 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1302
1302
|
"isA11yMode",
|
|
1303
1303
|
"a11yPosition"
|
|
1304
1304
|
]),
|
|
1305
|
-
Ot.value && M.value.userOptions.buttons.table ? (
|
|
1305
|
+
Ot.value && M.value.userOptions.buttons.table ? (v(), d(He(Qn.value.component), Ie({ key: 8 }, Qn.value.props, {
|
|
1306
1306
|
ref_key: "tableUnit",
|
|
1307
|
-
ref:
|
|
1307
|
+
ref: Bt,
|
|
1308
1308
|
onClose: $n
|
|
1309
1309
|
}), Ne({
|
|
1310
|
-
content: T(() => [(
|
|
1310
|
+
content: T(() => [(v(), d(C(vt), {
|
|
1311
1311
|
key: `table_${Lt.value}`,
|
|
1312
1312
|
colNames: Q.value.colNames,
|
|
1313
1313
|
head: Q.value.head,
|
|
@@ -1325,7 +1325,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1325
1325
|
"align-items": "center"
|
|
1326
1326
|
}
|
|
1327
1327
|
}, null, 8, ht)]),
|
|
1328
|
-
td: T(({ td: e }) => [Pe(
|
|
1328
|
+
td: T(({ td: e }) => [Pe(S(e.name || e), 1)]),
|
|
1329
1329
|
_: 1
|
|
1330
1330
|
}, 8, [
|
|
1331
1331
|
"colNames",
|
|
@@ -1339,7 +1339,7 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1339
1339
|
_: 2
|
|
1340
1340
|
}, [M.value.table.useDialog ? {
|
|
1341
1341
|
name: "title",
|
|
1342
|
-
fn: T(() => [Pe(
|
|
1342
|
+
fn: T(() => [Pe(S(Qn.value.title), 1)]),
|
|
1343
1343
|
key: "0"
|
|
1344
1344
|
} : void 0, M.value.table.useDialog ? {
|
|
1345
1345
|
name: "actions",
|
|
@@ -1347,14 +1347,14 @@ var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1347
1347
|
tabindex: "0",
|
|
1348
1348
|
class: "vue-ui-user-options-button",
|
|
1349
1349
|
onClick: t[1] ||= (e) => Gn(M.value.userOptions.callbacks.csv),
|
|
1350
|
-
style:
|
|
1351
|
-
}, [Fe(
|
|
1350
|
+
style: ze({ cursor: N.value ? "pointer" : "default" })
|
|
1351
|
+
}, [Fe(C(_t), {
|
|
1352
1352
|
name: "fileCsv",
|
|
1353
1353
|
stroke: Qn.value.props.color
|
|
1354
1354
|
}, null, 8, ["stroke"])], 4)]),
|
|
1355
1355
|
key: "1"
|
|
1356
1356
|
} : void 0]), 1040)) : f("", !0),
|
|
1357
|
-
|
|
1357
|
+
x(e.$slots, "skeleton", {}, () => [C(qt) ? (v(), d(he, { key: 0 })) : f("", !0)], !0)
|
|
1358
1358
|
], 46, qe));
|
|
1359
1359
|
}
|
|
1360
1360
|
}, [["__scopeId", "data-v-d885b96a"]]);
|