vue-data-ui 3.25.2 → 3.25.4
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-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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-hill.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-label.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-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
- 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/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { l as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, Ct as n, D as r, Lt as i, Pt as a, R as o, S as s, Vt as c, X as l, Yt as ee, Zt as te, ht as ne, i as re, lt as ie, nt as ae, q as oe, t as se, w as ce } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as de } from "./useConfig-CyCVHo81.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as _e } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as ve } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as ye } from "./img-DhGApYG0.js";
|
|
12
|
+
import { n as be } from "./Title-CPHi-evi.js";
|
|
13
|
+
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as we } from "./BaseLegendToggle-__JnV08B.js";
|
|
16
|
+
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Oe } from "./labelUtils-BXX2NzRe.js";
|
|
20
|
+
import { t as ke } from "./Legend-X4kF4PvW.js";
|
|
21
|
+
import { t as Ae } from "./vue_ui_galaxy-Ig0cc1_h.js";
|
|
22
|
+
import { Fragment as je, 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 h, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Fe, nextTick as Ie, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as Le, openBlock as x, ref as S, renderList as Re, renderSlot as C, resolveDynamicComponent as ze, toDisplayString as w, toRefs as Be, unref as T, watch as Ve, withCtx as E } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-galaxy.vue
|
|
24
|
-
var
|
|
24
|
+
var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"viewBox"
|
|
28
|
-
],
|
|
28
|
+
], Je = ["width", "height"], Ye = ["id"], Xe = ["stdDeviation"], Ze = [
|
|
29
29
|
"d",
|
|
30
30
|
"stroke",
|
|
31
31
|
"stroke-width"
|
|
32
|
-
],
|
|
32
|
+
], Qe = [
|
|
33
33
|
"d",
|
|
34
34
|
"stroke",
|
|
35
35
|
"stroke-width"
|
|
36
|
-
],
|
|
36
|
+
], $e = ["filter"], et = [
|
|
37
37
|
"d",
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width"
|
|
40
|
-
],
|
|
40
|
+
], tt = [
|
|
41
41
|
"data-a11y-serie-id",
|
|
42
42
|
"d",
|
|
43
43
|
"stroke-width",
|
|
@@ -45,7 +45,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
45
45
|
"onMouseenter",
|
|
46
46
|
"onMouseleave",
|
|
47
47
|
"onClick"
|
|
48
|
-
],
|
|
48
|
+
], nt = {
|
|
49
49
|
key: 0,
|
|
50
50
|
style: {
|
|
51
51
|
position: "absolute",
|
|
@@ -55,10 +55,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
55
55
|
},
|
|
56
56
|
"data-dom-to-png-ignore": "",
|
|
57
57
|
"aria-hidden": "true"
|
|
58
|
-
},
|
|
58
|
+
}, rt = {
|
|
59
59
|
key: 5,
|
|
60
60
|
class: "vue-data-ui-watermark"
|
|
61
|
-
},
|
|
61
|
+
}, it = ["id"], at = ["onClick"], ot = { key: 0 }, st = { key: 1 }, ct = /*#__PURE__*/ xe({
|
|
62
62
|
__name: "vue-ui-galaxy",
|
|
63
63
|
props: {
|
|
64
64
|
config: {
|
|
@@ -79,18 +79,18 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
79
79
|
"selectDatapoint",
|
|
80
80
|
"copyAlt"
|
|
81
81
|
],
|
|
82
|
-
setup(e, { expose:
|
|
83
|
-
let
|
|
82
|
+
setup(e, { expose: xe, emit: He }) {
|
|
83
|
+
let ct = g(() => import("./Tooltip-hhrkQ3Lk.js")), lt = g(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), ut = g(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), dt = g(() => import("./DataTable-COIO9gi4.js")), ft = g(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), pt = g(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), mt = g(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), ht = g(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_galaxy: gt } = de(), { isThemeValid: _t, warnInvalidTheme: vt } = ge(), D = e, O = S(oe()), k = S(null), yt = S(!1), bt = S(""), A = S(null), xt = S(0), St = S(0), Ct = S(0), wt = S(0), Tt = S(null), Et = S(null), Dt = S(null), Ot = S(null), j = S(null), kt = S(null), At = S(!1), M = S(null), jt = S(null), N = S(null), P = S(null), Mt = S({
|
|
84
84
|
x: 0,
|
|
85
85
|
y: 0
|
|
86
|
-
}),
|
|
87
|
-
|
|
86
|
+
}), Nt = S("pointer"), Pt = S(!1), Ft = u(() => !!D.dataset && D.dataset.length), F = S(Gt());
|
|
87
|
+
le({
|
|
88
88
|
config: () => F.value,
|
|
89
|
-
dataset: () =>
|
|
89
|
+
dataset: () => D.dataset,
|
|
90
90
|
component: "VueUiGalaxy",
|
|
91
91
|
rules: [
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
ue.singleSeries,
|
|
93
|
+
ue.emptyArray,
|
|
94
94
|
{
|
|
95
95
|
test: (e) => e.length > 6,
|
|
96
96
|
message: [
|
|
@@ -105,10 +105,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
107
|
});
|
|
108
|
-
let { transitionEnabled: It } =
|
|
108
|
+
let { transitionEnabled: It } = ve({
|
|
109
109
|
config: () => F.value.transitions,
|
|
110
|
-
dataset: () =>
|
|
111
|
-
}), I =
|
|
110
|
+
dataset: () => D.dataset
|
|
111
|
+
}), I = u(() => F.value.userOptions.useCursorPointer), Lt = u(() => te({
|
|
112
112
|
defaultConfig: {
|
|
113
113
|
userOptions: { show: !1 },
|
|
114
114
|
table: { show: !1 },
|
|
@@ -119,16 +119,16 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
119
119
|
} }
|
|
120
120
|
},
|
|
121
121
|
userConfig: F.value.skeletonConfig ?? {}
|
|
122
|
-
})), { loading: Rt, FINAL_DATASET: zt } =
|
|
123
|
-
...
|
|
122
|
+
})), { loading: Rt, FINAL_DATASET: zt } = pe({
|
|
123
|
+
...Be(D),
|
|
124
124
|
FINAL_CONFIG: F,
|
|
125
125
|
prepareConfig: Gt,
|
|
126
126
|
callback: () => {
|
|
127
127
|
Promise.resolve().then(async () => {
|
|
128
|
-
await
|
|
128
|
+
await Ie(), R.value.showTable = F.value.table.show;
|
|
129
129
|
});
|
|
130
130
|
},
|
|
131
|
-
skeletonDataset:
|
|
131
|
+
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
132
132
|
{
|
|
133
133
|
name: "_",
|
|
134
134
|
values: [21],
|
|
@@ -145,26 +145,26 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
145
145
|
color: "#ADADAD"
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
|
-
skeletonConfig:
|
|
148
|
+
skeletonConfig: te({
|
|
149
149
|
defaultConfig: F.value,
|
|
150
150
|
userConfig: Lt.value
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
|
-
|
|
153
|
+
Le(() => {
|
|
154
154
|
At.value = !0, Vt();
|
|
155
155
|
});
|
|
156
|
-
let Bt =
|
|
156
|
+
let Bt = u(() => F.value.debug);
|
|
157
157
|
function Vt() {
|
|
158
|
-
if (
|
|
158
|
+
if (a(D.dataset) ? ae({
|
|
159
159
|
componentName: "VueUiGalaxy",
|
|
160
160
|
type: "dataset",
|
|
161
161
|
debug: Bt.value
|
|
162
|
-
}) : Bt.value &&
|
|
163
|
-
|
|
162
|
+
}) : Bt.value && D.dataset.forEach((e, t) => {
|
|
163
|
+
ne({
|
|
164
164
|
datasetObject: e,
|
|
165
165
|
requiredAttributes: ["name", "values"]
|
|
166
166
|
}).forEach((e) => {
|
|
167
|
-
|
|
167
|
+
ae({
|
|
168
168
|
componentName: "VueUiGalaxy",
|
|
169
169
|
type: "datasetSerieAttribute",
|
|
170
170
|
property: e,
|
|
@@ -172,9 +172,9 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
174
|
}), F.value.responsive) {
|
|
175
|
-
let e =
|
|
176
|
-
let { width: e, height: t } =
|
|
177
|
-
chart:
|
|
175
|
+
let e = Se(() => {
|
|
176
|
+
let { width: e, height: t } = Ce({
|
|
177
|
+
chart: k.value,
|
|
178
178
|
title: F.value.style.chart.title.text ? Tt.value : null,
|
|
179
179
|
legend: F.value.style.chart.legend.show ? Et.value : null,
|
|
180
180
|
noTitle: Ot.value,
|
|
@@ -184,45 +184,45 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
184
184
|
z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
|
|
185
185
|
});
|
|
186
186
|
});
|
|
187
|
-
j.value && (kt.value && j.value.unobserve(kt.value), j.value.disconnect()), j.value = new ResizeObserver(e), kt.value =
|
|
187
|
+
j.value && (kt.value && j.value.unobserve(kt.value), j.value.disconnect()), j.value = new ResizeObserver(e), kt.value = k.value.parentNode, j.value.observe(kt.value);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
let { userOptionsVisible: Ht, setUserOptionsVisibility: Ut, keepUserOptionState: Wt } =
|
|
190
|
+
let { userOptionsVisible: Ht, setUserOptionsVisibility: Ut, keepUserOptionState: Wt } = Ee({ config: F.value }), { svgRef: L } = De({ config: F.value.style.chart.title });
|
|
191
191
|
function Gt() {
|
|
192
|
-
let e =
|
|
193
|
-
userConfig:
|
|
194
|
-
defaultConfig:
|
|
192
|
+
let e = he({
|
|
193
|
+
userConfig: D.config,
|
|
194
|
+
defaultConfig: gt
|
|
195
195
|
}), t = e.theme;
|
|
196
196
|
if (!t) return e;
|
|
197
|
-
if (!
|
|
198
|
-
let n =
|
|
199
|
-
userConfig:
|
|
197
|
+
if (!_t.value(e)) return vt(e), e;
|
|
198
|
+
let n = he({
|
|
199
|
+
userConfig: Ae[t] || D.config,
|
|
200
200
|
defaultConfig: e
|
|
201
|
-
}), r =
|
|
202
|
-
userConfig:
|
|
201
|
+
}), r = he({
|
|
202
|
+
userConfig: D.config,
|
|
203
203
|
defaultConfig: n
|
|
204
204
|
});
|
|
205
205
|
return {
|
|
206
206
|
...r,
|
|
207
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
207
|
+
customPalette: r.customPalette.length ? r.customPalette : ee[t] || i
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
Ve(() => D.config, (e) => {
|
|
211
211
|
F.value = Gt(), Ht.value = !F.value.userOptions.showOnChartHover, Vt(), St.value += 1, Ct.value += 1, wt.value += 1, R.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, R.value.showTable = F.value.table.show, R.value.showTooltip = F.value.style.chart.tooltip.show;
|
|
212
212
|
}, { deep: !0 });
|
|
213
|
-
let { isPrinting: Kt, isImaging: qt, generatePdf: Jt, generateImage: Yt } =
|
|
214
|
-
elementId: `galaxy_${
|
|
213
|
+
let { isPrinting: Kt, isImaging: qt, generatePdf: Jt, generateImage: Yt } = fe({
|
|
214
|
+
elementId: `galaxy_${O.value}`,
|
|
215
215
|
fileName: F.value.style.chart.title.text || "vue-ui-galaxy",
|
|
216
216
|
options: F.value.userOptions.print
|
|
217
|
-
}), Xt =
|
|
217
|
+
}), Xt = u(() => F.value.userOptions.show && !F.value.style.chart.title.text), Zt = u(() => ce(F.value.customPalette)), R = S({
|
|
218
218
|
dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
|
|
219
219
|
showTable: F.value.table.show,
|
|
220
220
|
showTooltip: F.value.style.chart.tooltip.show
|
|
221
|
-
}), z =
|
|
221
|
+
}), z = S(250), B = S(180), Qt = S(0), $t = S(0), V = u(() => ({
|
|
222
222
|
width: z.value,
|
|
223
223
|
height: B.value,
|
|
224
224
|
viewBox: `${Qt.value} ${$t.value} ${z.value} ${B.value}`
|
|
225
|
-
})), en =
|
|
225
|
+
})), en = He, H = S([]);
|
|
226
226
|
function tn() {
|
|
227
227
|
en("selectLegend", K.value.map((e) => ({
|
|
228
228
|
name: e.name,
|
|
@@ -249,12 +249,12 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
249
249
|
let t = rn(e);
|
|
250
250
|
t !== null && (H.value.includes(t.id) || U({ id: t.id }));
|
|
251
251
|
}
|
|
252
|
-
let W =
|
|
252
|
+
let W = u(() => zt.value.map((e, t) => ({
|
|
253
253
|
name: e.name,
|
|
254
|
-
color:
|
|
255
|
-
value: e.values ?
|
|
256
|
-
absoluteValues:
|
|
257
|
-
id:
|
|
254
|
+
color: s(e.color) || Zt.value[t] || i[t] || i[t % i.length],
|
|
255
|
+
value: e.values ? c(e.values).reduce((e, t) => e + t, 0) : 0,
|
|
256
|
+
absoluteValues: c(e.values),
|
|
257
|
+
id: oe()
|
|
258
258
|
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
259
259
|
...e,
|
|
260
260
|
absoluteIndex: t
|
|
@@ -266,7 +266,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
266
266
|
value: e.value
|
|
267
267
|
}));
|
|
268
268
|
}
|
|
269
|
-
let G =
|
|
269
|
+
let G = u(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), cn = S(190), ln = u(() => W.value.filter((e) => !H.value.includes(e.id))), un = u(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), dn = u(() => o({
|
|
270
270
|
maxPoints: cn.value,
|
|
271
271
|
a: F.value.style.chart.layout.arcs.a ?? 6,
|
|
272
272
|
b: F.value.style.chart.layout.arcs.b ?? 6,
|
|
@@ -276,7 +276,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
276
276
|
boxWidth: V.value.width,
|
|
277
277
|
boxHeight: V.value.height,
|
|
278
278
|
padding: un.value
|
|
279
|
-
})), K =
|
|
279
|
+
})), K = u(() => {
|
|
280
280
|
let e = [];
|
|
281
281
|
for (let t = 0; t < ln.value.length; t += 1) {
|
|
282
282
|
let n = ln.value[t], r = n.value / G.value * cn.value + (t > 0 && e.length ? e[t - 1].points : 0);
|
|
@@ -298,20 +298,20 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
298
298
|
blur: a / 180 * t
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
|
-
let q =
|
|
301
|
+
let q = S(!1);
|
|
302
302
|
function pn(e) {
|
|
303
303
|
q.value = e, xt.value += 1;
|
|
304
304
|
}
|
|
305
|
-
let mn =
|
|
305
|
+
let mn = S(null);
|
|
306
306
|
function hn() {
|
|
307
|
-
|
|
307
|
+
yt.value = !1, A.value = null, N.value = null, P.value = null;
|
|
308
308
|
}
|
|
309
309
|
function gn(e) {
|
|
310
310
|
if (!L.value || !e) return;
|
|
311
311
|
let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
|
|
312
312
|
if (!t) return;
|
|
313
313
|
let n = t.getBoundingClientRect();
|
|
314
|
-
|
|
314
|
+
Mt.value = {
|
|
315
315
|
x: n.left + n.width / 2,
|
|
316
316
|
y: n.top + n.height / 2
|
|
317
317
|
};
|
|
@@ -320,7 +320,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
320
320
|
F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
321
321
|
datapoint: e,
|
|
322
322
|
seriesIndex: e.absoluteIndex
|
|
323
|
-
}), (
|
|
323
|
+
}), (P.value !== e.id || Nt.value !== "keyboard") && (yt.value = !1, A.value = null);
|
|
324
324
|
}
|
|
325
325
|
function vn(e) {
|
|
326
326
|
en("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
|
|
@@ -330,7 +330,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
330
330
|
}
|
|
331
331
|
function yn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
332
332
|
let i = F.value.style.chart.layout.labels.dataLabels;
|
|
333
|
-
return
|
|
333
|
+
return Oe({
|
|
334
334
|
config: i,
|
|
335
335
|
val: e,
|
|
336
336
|
percentage: t,
|
|
@@ -338,51 +338,51 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
338
338
|
showPercentage: r
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
|
-
function bn({ datapoint: e, _relativeIndex: t, seriesIndex:
|
|
341
|
+
function bn({ datapoint: e, _relativeIndex: t, seriesIndex: r, show: i = !1, triggerMode: a = "pointer", flatIndex: o = null }) {
|
|
342
342
|
if (F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
343
343
|
datapoint: e,
|
|
344
344
|
seriesIndex: e.absoluteIndex
|
|
345
345
|
}), !R.value.showTooltip) return;
|
|
346
|
-
|
|
346
|
+
Nt.value = a, N.value = o, P.value = e.id, mn.value = {
|
|
347
347
|
datapoint: e,
|
|
348
|
-
seriesIndex:
|
|
348
|
+
seriesIndex: r,
|
|
349
349
|
series: W.value,
|
|
350
350
|
config: F.value
|
|
351
|
-
},
|
|
352
|
-
let
|
|
353
|
-
|
|
354
|
-
seriesIndex:
|
|
351
|
+
}, yt.value = i, A.value = e.id;
|
|
352
|
+
let s = "", c = F.value.style.chart.tooltip.customFormat;
|
|
353
|
+
n(c) && ie(() => c({
|
|
354
|
+
seriesIndex: r,
|
|
355
355
|
datapoint: e,
|
|
356
356
|
series: W.value,
|
|
357
357
|
config: F.value
|
|
358
|
-
})) ? bt.value =
|
|
359
|
-
seriesIndex:
|
|
358
|
+
})) ? bt.value = c({
|
|
359
|
+
seriesIndex: r,
|
|
360
360
|
datapoint: e,
|
|
361
361
|
series: W.value,
|
|
362
362
|
config: F.value
|
|
363
|
-
}) : (
|
|
363
|
+
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, s += `<b>${yn({
|
|
364
364
|
showVal: F.value.style.chart.tooltip.showValue,
|
|
365
365
|
showPercentage: F.value.style.chart.tooltip.showPercentage,
|
|
366
|
-
val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value,
|
|
366
|
+
val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, l({
|
|
367
367
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
368
368
|
v: e.value,
|
|
369
369
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
370
370
|
r: F.value.style.chart.tooltip.roundingValue
|
|
371
371
|
}), {
|
|
372
372
|
datapoint: e,
|
|
373
|
-
seriesIndex:
|
|
373
|
+
seriesIndex: r
|
|
374
374
|
}),
|
|
375
|
-
percentage:
|
|
375
|
+
percentage: l({
|
|
376
376
|
v: e.proportion * 100,
|
|
377
377
|
s: "%",
|
|
378
378
|
r: F.value.style.chart.tooltip.roundingPercentage
|
|
379
379
|
})
|
|
380
|
-
})}</b></div>`, bt.value = `<div>${
|
|
380
|
+
})}</b></div>`, bt.value = `<div>${s}</div>`), a === "keyboard" && Ie(() => {
|
|
381
381
|
gn(e.id);
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
let J =
|
|
385
|
-
let n = re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value,
|
|
384
|
+
let J = u(() => W.value.map((e, t) => {
|
|
385
|
+
let n = re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, l({
|
|
386
386
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
387
387
|
v: e.value,
|
|
388
388
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -390,7 +390,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
390
390
|
}), {
|
|
391
391
|
datapoint: e,
|
|
392
392
|
index: t
|
|
393
|
-
}), r = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" :
|
|
393
|
+
}), r = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : l({
|
|
394
394
|
v: e.value / G.value * 100,
|
|
395
395
|
s: "%",
|
|
396
396
|
r: F.value.style.chart.legend.roundingPercentage
|
|
@@ -409,14 +409,14 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
409
409
|
isSegregated: H.value.includes(e.id),
|
|
410
410
|
display: `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${i}`
|
|
411
411
|
};
|
|
412
|
-
})), xn =
|
|
412
|
+
})), xn = u(() => ({
|
|
413
413
|
cy: "galaxy-div-legend",
|
|
414
414
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
415
415
|
color: F.value.style.chart.legend.color,
|
|
416
416
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
417
417
|
paddingBottom: 12,
|
|
418
418
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
419
|
-
})), Y =
|
|
419
|
+
})), Y = u(() => ({
|
|
420
420
|
head: K.value.map((e) => ({
|
|
421
421
|
name: e.name,
|
|
422
422
|
color: e.color
|
|
@@ -424,7 +424,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
424
424
|
body: K.value.map((e) => e.value)
|
|
425
425
|
}));
|
|
426
426
|
function Sn(e = null) {
|
|
427
|
-
|
|
427
|
+
Ie(() => {
|
|
428
428
|
let n = Y.value.head.map((e, t) => [
|
|
429
429
|
[e.name],
|
|
430
430
|
[Y.value.body[t]],
|
|
@@ -444,10 +444,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
444
444
|
});
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
|
-
let X =
|
|
447
|
+
let X = u(() => {
|
|
448
448
|
let e = [
|
|
449
449
|
"__SUM__",
|
|
450
|
-
|
|
450
|
+
l({
|
|
451
451
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
452
452
|
v: G.value,
|
|
453
453
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -455,7 +455,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
455
455
|
}),
|
|
456
456
|
"100%"
|
|
457
457
|
], t = Y.value.head.map((e, t) => {
|
|
458
|
-
let n =
|
|
458
|
+
let n = l({
|
|
459
459
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
460
460
|
v: Y.value.body[t],
|
|
461
461
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -467,7 +467,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
467
467
|
name: e.name
|
|
468
468
|
},
|
|
469
469
|
n,
|
|
470
|
-
isNaN(Y.value.body[t] / G.value) ? "-" :
|
|
470
|
+
isNaN(Y.value.body[t] / G.value) ? "-" : l({
|
|
471
471
|
v: Y.value.body[t] / G.value * 100,
|
|
472
472
|
s: "%",
|
|
473
473
|
r: F.value.table.td.roundingPercentage
|
|
@@ -503,14 +503,14 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
503
503
|
function wn() {
|
|
504
504
|
R.value.showTooltip = !R.value.showTooltip;
|
|
505
505
|
}
|
|
506
|
-
let Z =
|
|
506
|
+
let Z = S(!1);
|
|
507
507
|
function Tn() {
|
|
508
508
|
Z.value = !Z.value;
|
|
509
509
|
}
|
|
510
510
|
async function En({ scale: e = 2 } = {}) {
|
|
511
|
-
if (!
|
|
512
|
-
let { width: t, height: n } =
|
|
513
|
-
domElement:
|
|
511
|
+
if (!k.value) return;
|
|
512
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
513
|
+
domElement: k.value,
|
|
514
514
|
base64: !0,
|
|
515
515
|
img: !0,
|
|
516
516
|
scale: e
|
|
@@ -524,10 +524,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
524
524
|
aspectRatio: r
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
let Q =
|
|
527
|
+
let Q = u(() => {
|
|
528
528
|
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
529
529
|
return {
|
|
530
|
-
component: e ?
|
|
530
|
+
component: e ? ht : ut,
|
|
531
531
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
532
532
|
props: e ? {
|
|
533
533
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -535,7 +535,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
535
535
|
headerColor: F.value.table.th.color,
|
|
536
536
|
headerBg: F.value.table.th.backgroundColor,
|
|
537
537
|
isFullscreen: q.value,
|
|
538
|
-
fullscreenParent:
|
|
538
|
+
fullscreenParent: k.value,
|
|
539
539
|
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
540
540
|
isCursorPointer: I.value
|
|
541
541
|
} : {
|
|
@@ -555,16 +555,16 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
555
555
|
}
|
|
556
556
|
};
|
|
557
557
|
});
|
|
558
|
-
|
|
558
|
+
Ve(() => R.value.showTable, (e) => {
|
|
559
559
|
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
560
560
|
});
|
|
561
561
|
function Dn() {
|
|
562
562
|
R.value.showTable = !1, jt.value && jt.value.setTableIconState(!1);
|
|
563
563
|
}
|
|
564
|
-
let On =
|
|
564
|
+
let On = u(() => J.value.map((e) => ({
|
|
565
565
|
...e,
|
|
566
566
|
name: e.display
|
|
567
|
-
}))), kn =
|
|
567
|
+
}))), kn = u(() => F.value.style.chart.backgroundColor), An = u(() => F.value.style.chart.legend), jn = u(() => F.value.style.chart.title), { isCallbackImaging: Mn, isCallbackSvg: Nn, generateSvg: Pn, onGenerateImage: Fn } = _e({
|
|
568
568
|
svg: L,
|
|
569
569
|
title: jn,
|
|
570
570
|
legend: An,
|
|
@@ -587,10 +587,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
587
587
|
}));
|
|
588
588
|
}
|
|
589
589
|
function Ln() {
|
|
590
|
-
N.value = null,
|
|
590
|
+
N.value = null, P.value = null, Pt.value = !0;
|
|
591
591
|
}
|
|
592
592
|
function Rn() {
|
|
593
|
-
hn(),
|
|
593
|
+
hn(), Pt.value = !1;
|
|
594
594
|
}
|
|
595
595
|
function zn(e) {
|
|
596
596
|
if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
|
|
@@ -618,14 +618,14 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
618
618
|
flatIndex: a
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
let Bn =
|
|
621
|
+
let Bn = u(() => ({
|
|
622
622
|
headers: X.value?.colNames ?? [],
|
|
623
623
|
rows: X.value?.body ?? []
|
|
624
|
-
})), $ =
|
|
624
|
+
})), $ = u(() => K.value.map((e, t) => ({
|
|
625
625
|
datapoint: e,
|
|
626
626
|
index: t
|
|
627
627
|
})));
|
|
628
|
-
return
|
|
628
|
+
return xe({
|
|
629
629
|
getData: sn,
|
|
630
630
|
getImage: En,
|
|
631
631
|
generatePdf: Jt,
|
|
@@ -639,24 +639,24 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
639
639
|
toggleAnnotator: Tn,
|
|
640
640
|
toggleFullscreen: pn,
|
|
641
641
|
copyAlt: In
|
|
642
|
-
}), (e, t) => (
|
|
642
|
+
}), (e, t) => (x(), p("div", {
|
|
643
643
|
ref_key: "galaxyChart",
|
|
644
|
-
ref:
|
|
645
|
-
class:
|
|
646
|
-
style:
|
|
647
|
-
id: `galaxy_${
|
|
648
|
-
onMouseenter: t[2] ||= () =>
|
|
644
|
+
ref: k,
|
|
645
|
+
class: v(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${T(Rt) ? "loading" : ""}`),
|
|
646
|
+
style: b(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;${F.value.style.chart.title.text ? "" : "padding-top:36px"};background:${F.value.style.chart.backgroundColor}`),
|
|
647
|
+
id: `galaxy_${O.value}`,
|
|
648
|
+
onMouseenter: t[2] ||= () => T(Ut)(!0),
|
|
649
649
|
onMouseleave: t[3] ||= () => {
|
|
650
|
-
|
|
650
|
+
T(Ut)(!1), Pt.value || hn();
|
|
651
651
|
}
|
|
652
652
|
}, [
|
|
653
|
-
|
|
654
|
-
id: `chart-instructions-${
|
|
653
|
+
m("div", {
|
|
654
|
+
id: `chart-instructions-${O.value}`,
|
|
655
655
|
class: "sr-only"
|
|
656
|
-
}, [
|
|
657
|
-
Bn.value?.rows?.length ? (
|
|
656
|
+
}, [m("p", null, w(F.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
657
|
+
Bn.value?.rows?.length ? (x(), d(Te, {
|
|
658
658
|
key: 0,
|
|
659
|
-
uid:
|
|
659
|
+
uid: O.value,
|
|
660
660
|
head: Bn.value.headers,
|
|
661
661
|
body: Bn.value.rows,
|
|
662
662
|
notice: F.value.a11y.translations.tableAvailable,
|
|
@@ -667,22 +667,22 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
667
667
|
"body",
|
|
668
668
|
"notice",
|
|
669
669
|
"caption"
|
|
670
|
-
])) :
|
|
671
|
-
F.value.userOptions.buttons.annotator ? (
|
|
670
|
+
])) : f("", !0),
|
|
671
|
+
F.value.userOptions.buttons.annotator ? (x(), d(T(ft), {
|
|
672
672
|
key: 1,
|
|
673
|
-
svgRef:
|
|
673
|
+
svgRef: T(L),
|
|
674
674
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
675
675
|
color: F.value.style.chart.color,
|
|
676
676
|
active: Z.value,
|
|
677
677
|
isCursorPointer: I.value,
|
|
678
678
|
onClose: Tn
|
|
679
679
|
}, {
|
|
680
|
-
"annotator-action-close":
|
|
681
|
-
"annotator-action-color":
|
|
682
|
-
"annotator-action-draw":
|
|
683
|
-
"annotator-action-undo":
|
|
684
|
-
"annotator-action-redo":
|
|
685
|
-
"annotator-action-delete":
|
|
680
|
+
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
681
|
+
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
682
|
+
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
683
|
+
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
684
|
+
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
685
|
+
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
686
686
|
_: 3
|
|
687
687
|
}, 8, [
|
|
688
688
|
"svgRef",
|
|
@@ -690,20 +690,20 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
690
690
|
"color",
|
|
691
691
|
"active",
|
|
692
692
|
"isCursorPointer"
|
|
693
|
-
])) :
|
|
694
|
-
Xt.value ? (
|
|
693
|
+
])) : f("", !0),
|
|
694
|
+
Xt.value ? (x(), p("div", {
|
|
695
695
|
key: 2,
|
|
696
696
|
ref_key: "noTitle",
|
|
697
697
|
ref: Ot,
|
|
698
698
|
class: "vue-data-ui-no-title-space",
|
|
699
699
|
style: "height:36px; width: 100%;background:transparent"
|
|
700
|
-
}, null, 512)) :
|
|
701
|
-
F.value.style.chart.title.text ? (
|
|
700
|
+
}, null, 512)) : f("", !0),
|
|
701
|
+
F.value.style.chart.title.text ? (x(), p("div", {
|
|
702
702
|
key: 3,
|
|
703
703
|
ref_key: "chartTitle",
|
|
704
704
|
ref: Tt,
|
|
705
705
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
706
|
-
}, [(
|
|
706
|
+
}, [(x(), d(be, {
|
|
707
707
|
key: `title_${St.value}`,
|
|
708
708
|
config: {
|
|
709
709
|
title: {
|
|
@@ -715,17 +715,17 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
715
715
|
...F.value.style.chart.title.subtitle
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
|
-
}, null, 8, ["config"]))], 512)) :
|
|
719
|
-
|
|
720
|
-
F.value.userOptions.show && Ft.value && (
|
|
718
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
719
|
+
m("div", { id: `legend-top-${O.value}` }, null, 8, Ge),
|
|
720
|
+
F.value.userOptions.show && Ft.value && (T(Wt) || T(Ht)) ? (x(), d(T(pt), {
|
|
721
721
|
ref_key: "userOptionsRef",
|
|
722
722
|
ref: jt,
|
|
723
723
|
key: `user_option_${xt.value}`,
|
|
724
724
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
725
725
|
color: F.value.style.chart.color,
|
|
726
|
-
isPrinting:
|
|
727
|
-
isImaging:
|
|
728
|
-
uid:
|
|
726
|
+
isPrinting: T(Kt),
|
|
727
|
+
isImaging: T(qt),
|
|
728
|
+
uid: O.value,
|
|
729
729
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
730
730
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
731
731
|
hasXls: F.value.userOptions.buttons.csv,
|
|
@@ -737,7 +737,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
737
737
|
isTooltip: R.value.showTooltip,
|
|
738
738
|
isFullscreen: q.value,
|
|
739
739
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
740
|
-
chartElement:
|
|
740
|
+
chartElement: k.value,
|
|
741
741
|
position: F.value.userOptions.position,
|
|
742
742
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
743
743
|
isAnnotation: Z.value,
|
|
@@ -746,19 +746,19 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
746
746
|
tableDialog: F.value.table.useDialog,
|
|
747
747
|
isCursorPointer: I.value,
|
|
748
748
|
onToggleFullscreen: pn,
|
|
749
|
-
onGeneratePdf:
|
|
749
|
+
onGeneratePdf: T(Jt),
|
|
750
750
|
onGenerateCsv: Sn,
|
|
751
|
-
onGenerateImage:
|
|
752
|
-
onGenerateSvg:
|
|
751
|
+
onGenerateImage: T(Fn),
|
|
752
|
+
onGenerateSvg: T(Pn),
|
|
753
753
|
onToggleTable: Cn,
|
|
754
754
|
onToggleTooltip: wn,
|
|
755
755
|
onToggleAnnotator: Tn,
|
|
756
756
|
onCopyAlt: In,
|
|
757
|
-
style:
|
|
758
|
-
},
|
|
757
|
+
style: b({ visibility: T(Wt) ? T(Ht) ? "visible" : "hidden" : "visible" })
|
|
758
|
+
}, Ne({ _: 2 }, [
|
|
759
759
|
e.$slots.menuIcon ? {
|
|
760
760
|
name: "menuIcon",
|
|
761
|
-
fn:
|
|
761
|
+
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(_({
|
|
762
762
|
isOpen: t,
|
|
763
763
|
color: n
|
|
764
764
|
})), void 0, !0)]),
|
|
@@ -766,37 +766,37 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
766
766
|
} : void 0,
|
|
767
767
|
e.$slots.optionTooltip ? {
|
|
768
768
|
name: "optionTooltip",
|
|
769
|
-
fn:
|
|
769
|
+
fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
770
770
|
key: "1"
|
|
771
771
|
} : void 0,
|
|
772
772
|
e.$slots.optionPdf ? {
|
|
773
773
|
name: "optionPdf",
|
|
774
|
-
fn:
|
|
774
|
+
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
775
775
|
key: "2"
|
|
776
776
|
} : void 0,
|
|
777
777
|
e.$slots.optionCsv ? {
|
|
778
778
|
name: "optionCsv",
|
|
779
|
-
fn:
|
|
779
|
+
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
780
780
|
key: "3"
|
|
781
781
|
} : void 0,
|
|
782
782
|
e.$slots.optionImg ? {
|
|
783
783
|
name: "optionImg",
|
|
784
|
-
fn:
|
|
784
|
+
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
785
785
|
key: "4"
|
|
786
786
|
} : void 0,
|
|
787
787
|
e.$slots.optionSvg ? {
|
|
788
788
|
name: "optionSvg",
|
|
789
|
-
fn:
|
|
789
|
+
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
790
790
|
key: "5"
|
|
791
791
|
} : void 0,
|
|
792
792
|
e.$slots.optionTable ? {
|
|
793
793
|
name: "optionTable",
|
|
794
|
-
fn:
|
|
794
|
+
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
795
795
|
key: "6"
|
|
796
796
|
} : void 0,
|
|
797
797
|
e.$slots.optionFullscreen ? {
|
|
798
798
|
name: "optionFullscreen",
|
|
799
|
-
fn:
|
|
799
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(_({
|
|
800
800
|
toggleFullscreen: t,
|
|
801
801
|
isFullscreen: n
|
|
802
802
|
})), void 0, !0)]),
|
|
@@ -804,7 +804,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
804
804
|
} : void 0,
|
|
805
805
|
e.$slots.optionAnnotator ? {
|
|
806
806
|
name: "optionAnnotator",
|
|
807
|
-
fn:
|
|
807
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(_({
|
|
808
808
|
toggleAnnotator: t,
|
|
809
809
|
isAnnotator: n
|
|
810
810
|
})), void 0, !0)]),
|
|
@@ -812,94 +812,94 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
812
812
|
} : void 0,
|
|
813
813
|
e.$slots.optionAltCopy ? {
|
|
814
814
|
name: "optionAltCopy",
|
|
815
|
-
fn:
|
|
815
|
+
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
816
816
|
key: "9"
|
|
817
817
|
} : void 0,
|
|
818
818
|
e.$slots["custom-menu-before"] ? {
|
|
819
819
|
name: "custom-menu-before",
|
|
820
|
-
fn:
|
|
820
|
+
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
821
821
|
key: "10"
|
|
822
822
|
} : void 0,
|
|
823
823
|
e.$slots["custom-menu-after"] ? {
|
|
824
824
|
name: "custom-menu-after",
|
|
825
|
-
fn:
|
|
825
|
+
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
826
826
|
key: "11"
|
|
827
827
|
} : void 0
|
|
828
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
829
|
-
|
|
828
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
829
|
+
m("div", Ke, [(x(), p("svg", {
|
|
830
830
|
ref_key: "svgRef",
|
|
831
831
|
ref: L,
|
|
832
|
-
xmlns:
|
|
833
|
-
"aria-describedby": `chart-instructions-${
|
|
834
|
-
class:
|
|
832
|
+
xmlns: T(se),
|
|
833
|
+
"aria-describedby": `chart-instructions-${O.value}`,
|
|
834
|
+
class: v({
|
|
835
835
|
"vue-data-ui-fullscreen--on": q.value,
|
|
836
836
|
"vue-data-ui-fulscreen--off": !q.value
|
|
837
837
|
}),
|
|
838
838
|
viewBox: V.value.viewBox,
|
|
839
|
-
style:
|
|
839
|
+
style: b(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
|
|
840
840
|
tabindex: "0",
|
|
841
841
|
onFocus: Ln,
|
|
842
842
|
onBlur: Rn,
|
|
843
843
|
onKeydown: zn
|
|
844
844
|
}, [
|
|
845
|
-
|
|
846
|
-
e.$slots["chart-background"] ? (
|
|
845
|
+
h(T(mt)),
|
|
846
|
+
e.$slots["chart-background"] ? (x(), p("foreignObject", {
|
|
847
847
|
key: 0,
|
|
848
848
|
x: 0,
|
|
849
849
|
y: 0,
|
|
850
850
|
width: V.value.width,
|
|
851
851
|
height: V.value.height,
|
|
852
852
|
style: { pointerEvents: "none" }
|
|
853
|
-
}, [
|
|
854
|
-
|
|
855
|
-
id: `blur_${
|
|
853
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : f("", !0),
|
|
854
|
+
m("defs", null, [m("filter", {
|
|
855
|
+
id: `blur_${O.value}`,
|
|
856
856
|
x: "-50%",
|
|
857
857
|
y: "-50%",
|
|
858
858
|
width: "200%",
|
|
859
859
|
height: "200%"
|
|
860
|
-
}, [
|
|
860
|
+
}, [m("feGaussianBlur", {
|
|
861
861
|
in: "SourceGraphic",
|
|
862
862
|
stdDeviation: 100 / F.value.style.chart.layout.arcs.gradient.intensity
|
|
863
|
-
}, null, 8,
|
|
864
|
-
(
|
|
865
|
-
e.value ? (
|
|
863
|
+
}, null, 8, Xe)], 8, Ye)]),
|
|
864
|
+
(x(!0), p(je, null, Re(K.value, (e) => (x(), p("g", { key: `dp_${e.id}` }, [
|
|
865
|
+
e.value ? (x(), p("path", {
|
|
866
866
|
key: 0,
|
|
867
867
|
d: e.path,
|
|
868
868
|
fill: "none",
|
|
869
869
|
stroke: F.value.style.chart.backgroundColor,
|
|
870
870
|
"stroke-width": fn(e).border,
|
|
871
|
-
class:
|
|
871
|
+
class: v({ "vue-data-ui-transition": T(It) }),
|
|
872
872
|
"stroke-linecap": "round"
|
|
873
|
-
}, null, 10,
|
|
874
|
-
e.value ? (
|
|
873
|
+
}, null, 10, Ze)) : f("", !0),
|
|
874
|
+
e.value ? (x(), p("path", {
|
|
875
875
|
key: 1,
|
|
876
876
|
d: e.path,
|
|
877
877
|
fill: "none",
|
|
878
878
|
stroke: e.color,
|
|
879
879
|
"stroke-width": fn(e).path,
|
|
880
880
|
"stroke-linecap": "round",
|
|
881
|
-
class:
|
|
882
|
-
"vue-data-ui-transition":
|
|
881
|
+
class: v({
|
|
882
|
+
"vue-data-ui-transition": T(It),
|
|
883
883
|
"vue-ui-galaxy-blur": A.value && A.value !== e.id && F.value.useBlurOnHover
|
|
884
884
|
})
|
|
885
|
-
}, null, 10,
|
|
886
|
-
e.value && F.value.style.chart.layout.arcs.gradient.show ? (
|
|
885
|
+
}, null, 10, Qe)) : f("", !0),
|
|
886
|
+
e.value && F.value.style.chart.layout.arcs.gradient.show ? (x(), p("g", {
|
|
887
887
|
key: 2,
|
|
888
|
-
filter: `url(#blur_${
|
|
889
|
-
}, [
|
|
888
|
+
filter: `url(#blur_${O.value})`
|
|
889
|
+
}, [m("path", {
|
|
890
890
|
d: e.path,
|
|
891
891
|
fill: "none",
|
|
892
892
|
stroke: F.value.style.chart.layout.arcs.gradient.color,
|
|
893
893
|
"stroke-width": fn(e).blur,
|
|
894
894
|
"stroke-linecap": "round",
|
|
895
|
-
class:
|
|
895
|
+
class: v({
|
|
896
896
|
"vue-ui-galaxy-gradient": !0,
|
|
897
|
-
"vue-data-ui-transition":
|
|
897
|
+
"vue-data-ui-transition": T(It),
|
|
898
898
|
"vue-ui-galaxy-blur": A.value && A.value !== e.id && F.value.useBlurOnHover
|
|
899
899
|
})
|
|
900
|
-
}, null, 10,
|
|
900
|
+
}, null, 10, et)], 8, $e)) : f("", !0)
|
|
901
901
|
]))), 128)),
|
|
902
|
-
(
|
|
902
|
+
(x(!0), p(je, null, Re(K.value, (e, t) => (x(), p("g", null, [e.value ? (x(), p("path", {
|
|
903
903
|
key: 0,
|
|
904
904
|
"data-a11y-serie-id": e.id,
|
|
905
905
|
d: e.path,
|
|
@@ -907,7 +907,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
907
907
|
stroke: "transparent",
|
|
908
908
|
"stroke-width": F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth,
|
|
909
909
|
"stroke-linecap": "round",
|
|
910
|
-
"aria-label": `${e.name}: ${
|
|
910
|
+
"aria-label": `${e.name}: ${T(l)({
|
|
911
911
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
912
912
|
v: e.value,
|
|
913
913
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -923,36 +923,36 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
923
923
|
}),
|
|
924
924
|
onMouseleave: (t) => _n(e),
|
|
925
925
|
onClick: (t) => vn(e)
|
|
926
|
-
}, null, 40,
|
|
927
|
-
|
|
926
|
+
}, null, 40, tt)) : f("", !0)]))), 256)),
|
|
927
|
+
C(e.$slots, "svg", { svg: {
|
|
928
928
|
...V.value,
|
|
929
|
-
isPrintingImg:
|
|
930
|
-
isPrintingSvg:
|
|
929
|
+
isPrintingImg: T(Kt) || T(qt) || T(Mn),
|
|
930
|
+
isPrintingSvg: T(Nn)
|
|
931
931
|
} }, void 0, !0)
|
|
932
|
-
], 46,
|
|
932
|
+
], 46, qe)), e.$slots.hint ? (x(), p("div", nt, [C(e.$slots, "hint", y(_({
|
|
933
933
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
934
|
-
isVisible:
|
|
935
|
-
})), void 0, !0)])) :
|
|
936
|
-
e.$slots.watermark ? (
|
|
937
|
-
|
|
938
|
-
At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
934
|
+
isVisible: Pt.value
|
|
935
|
+
})), void 0, !0)])) : f("", !0)]),
|
|
936
|
+
e.$slots.watermark ? (x(), p("div", rt, [C(e.$slots, "watermark", y(_({ isPrinting: T(Kt) || T(qt) || T(Mn) || T(Nn) })), void 0, !0)])) : f("", !0),
|
|
937
|
+
m("div", { id: `legend-bottom-${O.value}` }, null, 8, it),
|
|
938
|
+
At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), d(Me, {
|
|
939
939
|
key: 6,
|
|
940
|
-
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
941
|
-
}, [
|
|
940
|
+
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
941
|
+
}, [m("div", {
|
|
942
942
|
ref_key: "chartLegend",
|
|
943
943
|
ref: Et
|
|
944
|
-
}, [
|
|
944
|
+
}, [C(e.$slots, "legend", { legend: J.value }, () => [F.value.style.chart.legend.show ? (x(), d(ke, {
|
|
945
945
|
key: `legend_${wt.value}`,
|
|
946
946
|
legendSet: J.value,
|
|
947
947
|
config: xn.value,
|
|
948
948
|
onClickMarker: t[0] ||= ({ legend: e }) => U(e)
|
|
949
949
|
}, {
|
|
950
|
-
item:
|
|
950
|
+
item: E(({ legend: e, index: t }) => [T(Rt) ? f("", !0) : (x(), p("div", {
|
|
951
951
|
key: 0,
|
|
952
952
|
onClick: (t) => U(e),
|
|
953
|
-
style:
|
|
954
|
-
},
|
|
955
|
-
legendToggle:
|
|
953
|
+
style: b(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
|
|
954
|
+
}, w(e.display), 13, at))]),
|
|
955
|
+
legendToggle: E(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !T(Rt) ? (x(), d(we, {
|
|
956
956
|
key: 0,
|
|
957
957
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
958
958
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -964,18 +964,18 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
964
964
|
"color",
|
|
965
965
|
"fontSize",
|
|
966
966
|
"checked"
|
|
967
|
-
])) :
|
|
967
|
+
])) : f("", !0)]),
|
|
968
968
|
_: 1
|
|
969
|
-
}, 8, ["legendSet", "config"])) :
|
|
970
|
-
e.$slots.source ? (
|
|
969
|
+
}, 8, ["legendSet", "config"])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
970
|
+
e.$slots.source ? (x(), p("div", {
|
|
971
971
|
key: 7,
|
|
972
972
|
ref_key: "source",
|
|
973
973
|
ref: Dt,
|
|
974
974
|
dir: "auto"
|
|
975
|
-
}, [
|
|
976
|
-
|
|
975
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
976
|
+
h(T(ct), {
|
|
977
977
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
978
|
-
show: R.value.showTooltip &&
|
|
978
|
+
show: R.value.showTooltip && yt.value,
|
|
979
979
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
980
980
|
color: F.value.style.chart.tooltip.color,
|
|
981
981
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -986,20 +986,20 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
986
986
|
position: F.value.style.chart.tooltip.position,
|
|
987
987
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
988
988
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
989
|
-
parent:
|
|
989
|
+
parent: k.value,
|
|
990
990
|
content: bt.value,
|
|
991
991
|
isFullscreen: q.value,
|
|
992
|
-
isCustom:
|
|
992
|
+
isCustom: T(n)(F.value.style.chart.tooltip.customFormat),
|
|
993
993
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
994
994
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
995
995
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
996
996
|
smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
|
|
997
|
-
isA11yMode:
|
|
998
|
-
a11yPosition:
|
|
997
|
+
isA11yMode: Nt.value === "keyboard",
|
|
998
|
+
a11yPosition: Mt.value
|
|
999
999
|
}, {
|
|
1000
|
-
"tooltip-before":
|
|
1001
|
-
tooltip:
|
|
1002
|
-
"tooltip-after":
|
|
1000
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(_({ ...mn.value })), void 0, !0)]),
|
|
1001
|
+
tooltip: E(() => [C(e.$slots, "tooltip", y(_({ ...mn.value })), void 0, !0)]),
|
|
1002
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(_({ ...mn.value })), void 0, !0)]),
|
|
1003
1003
|
_: 3
|
|
1004
1004
|
}, 8, [
|
|
1005
1005
|
"teleportTo",
|
|
@@ -1025,12 +1025,12 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1025
1025
|
"isA11yMode",
|
|
1026
1026
|
"a11yPosition"
|
|
1027
1027
|
]),
|
|
1028
|
-
Ft.value && F.value.userOptions.buttons.table ? (
|
|
1028
|
+
Ft.value && F.value.userOptions.buttons.table ? (x(), d(ze(Q.value.component), Fe({ key: 8 }, Q.value.props, {
|
|
1029
1029
|
ref_key: "tableUnit",
|
|
1030
1030
|
ref: M,
|
|
1031
1031
|
onClose: Dn
|
|
1032
|
-
}),
|
|
1033
|
-
content:
|
|
1032
|
+
}), Ne({
|
|
1033
|
+
content: E(() => [(x(), d(T(dt), {
|
|
1034
1034
|
key: `table_${Ct.value}`,
|
|
1035
1035
|
colNames: X.value.colNames,
|
|
1036
1036
|
head: X.value.head,
|
|
@@ -1041,12 +1041,12 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1041
1041
|
isCursorPointer: I.value,
|
|
1042
1042
|
onClose: Dn
|
|
1043
1043
|
}, {
|
|
1044
|
-
th:
|
|
1044
|
+
th: E(({ th: e }) => [e === "__SUM__" ? (x(), p("div", ot, [h(T(lt), {
|
|
1045
1045
|
name: "sigma",
|
|
1046
1046
|
stroke: X.value.config.th.color,
|
|
1047
1047
|
size: 16
|
|
1048
|
-
}, null, 8, ["stroke"])])) : (
|
|
1049
|
-
td:
|
|
1048
|
+
}, null, 8, ["stroke"])])) : (x(), p("div", st, w(e), 1))]),
|
|
1049
|
+
td: E(({ td: e }) => [Pe(w(e.name || e), 1)]),
|
|
1050
1050
|
_: 1
|
|
1051
1051
|
}, 8, [
|
|
1052
1052
|
"colNames",
|
|
@@ -1060,24 +1060,24 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1060
1060
|
_: 2
|
|
1061
1061
|
}, [F.value.table.useDialog ? {
|
|
1062
1062
|
name: "title",
|
|
1063
|
-
fn:
|
|
1063
|
+
fn: E(() => [Pe(w(Q.value.title), 1)]),
|
|
1064
1064
|
key: "0"
|
|
1065
1065
|
} : void 0, F.value.table.useDialog ? {
|
|
1066
1066
|
name: "actions",
|
|
1067
|
-
fn:
|
|
1067
|
+
fn: E(() => [m("button", {
|
|
1068
1068
|
tabindex: "0",
|
|
1069
1069
|
class: "vue-ui-user-options-button",
|
|
1070
1070
|
onClick: t[1] ||= (e) => Sn(F.value.userOptions.callbacks.csv),
|
|
1071
|
-
style:
|
|
1072
|
-
}, [
|
|
1071
|
+
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
1072
|
+
}, [h(T(lt), {
|
|
1073
1073
|
name: "fileCsv",
|
|
1074
1074
|
stroke: Q.value.props.color
|
|
1075
1075
|
}, null, 8, ["stroke"])], 4)]),
|
|
1076
1076
|
key: "1"
|
|
1077
|
-
} : void 0]), 1040)) :
|
|
1078
|
-
|
|
1079
|
-
], 46,
|
|
1077
|
+
} : void 0]), 1040)) : f("", !0),
|
|
1078
|
+
C(e.$slots, "skeleton", {}, () => [T(Rt) ? (x(), d(me, { key: 0 })) : f("", !0)], !0)
|
|
1079
|
+
], 46, Ue));
|
|
1080
1080
|
}
|
|
1081
1081
|
}, [["__scopeId", "data-v-f3449bf3"]]);
|
|
1082
1082
|
//#endregion
|
|
1083
|
-
export {
|
|
1083
|
+
export { He as n, ct as t };
|