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,136 +1,136 @@
|
|
|
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 { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
import { l as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, D as n, Et as r, G as i, Kt as a, Lt as o, Mt as s, Pt as c, Q as l, S as ee, Ut as te, Vt as ne, X as re, Yt as ie, Zt as ae, _ as oe, f as se, h as ce, ht as le, i as ue, nt as de, p as fe, q as pe, t as me, w as he, y as ge } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as _e, t as ve } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ye } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
+
import { t as be } from "./useConfig-CyCVHo81.js";
|
|
6
|
+
import { t as xe } from "./usePrinter-DISD7q5m.js";
|
|
7
|
+
import { n as Se, t as Ce } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
+
import { t as we } from "./useNestedProp-Chvyfpl-.js";
|
|
9
|
+
import { t as Te } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as Ee } from "./useChartExport-iwOqiIWX.js";
|
|
11
|
+
import { t as De } from "./useTransitions-g_zBREk2.js";
|
|
12
|
+
import { t as Oe } from "./useStableElementSize-C7KADDKj.js";
|
|
13
|
+
import { t as ke } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
14
|
+
import { t as Ae } from "./img-DhGApYG0.js";
|
|
15
|
+
import { n as je } from "./Title-CPHi-evi.js";
|
|
16
|
+
import { t as Me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
+
import { l as Ne, t as Pe } from "./useResponsive-ZtArZtUf.js";
|
|
18
|
+
import { t as Fe } from "./DefGrad-DVBqDjhO.js";
|
|
19
|
+
import { t as Ie } from "./SlicerPreview-GvsdvE-h.js";
|
|
20
|
+
import { t as Le } from "./BaseLegendToggle-__JnV08B.js";
|
|
21
|
+
import { t as Re } from "./A11yDataTable-DdRsVULz.js";
|
|
22
|
+
import { t as ze } from "./useUserOptionState-DK-_1ddE.js";
|
|
23
|
+
import { t as Be } from "./useChartAccessibility-DYqac8yF.js";
|
|
24
|
+
import { t as Ve } from "./Legend-X4kF4PvW.js";
|
|
25
|
+
import { t as He } from "./vue_ui_donut_evolution-D1yAAIHr.js";
|
|
26
|
+
import { Fragment as u, Teleport as Ue, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as We, createTextVNode as Ge, createVNode as Ke, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as qe, nextTick as Je, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ye, onMounted as Xe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ze, shallowRef as Qe, toDisplayString as T, toRefs as $e, unref as E, watch as et, watchEffect as tt, withCtx as D } from "vue";
|
|
27
27
|
//#region src/components/vue-ui-donut-evolution.vue
|
|
28
|
-
var
|
|
28
|
+
var nt = /* @__PURE__ */ e({ default: () => Wt }), rt = ["id"], it = ["id"], at = ["id"], ot = { style: { position: "relative" } }, st = [
|
|
29
29
|
"xmlns",
|
|
30
30
|
"aria-describedby",
|
|
31
31
|
"viewBox"
|
|
32
|
-
],
|
|
32
|
+
], ct = [
|
|
33
33
|
"x",
|
|
34
34
|
"y",
|
|
35
35
|
"width",
|
|
36
36
|
"height"
|
|
37
|
-
],
|
|
37
|
+
], lt = { key: 1 }, ut = [
|
|
38
38
|
"x1",
|
|
39
39
|
"x2",
|
|
40
40
|
"y1",
|
|
41
41
|
"y2",
|
|
42
42
|
"stroke",
|
|
43
43
|
"stroke-width"
|
|
44
|
-
],
|
|
44
|
+
], dt = [
|
|
45
45
|
"x1",
|
|
46
46
|
"x2",
|
|
47
47
|
"y1",
|
|
48
48
|
"y2",
|
|
49
49
|
"stroke",
|
|
50
50
|
"stroke-width"
|
|
51
|
-
],
|
|
51
|
+
], ft = { key: 0 }, pt = [
|
|
52
52
|
"x1",
|
|
53
53
|
"x2",
|
|
54
54
|
"y1",
|
|
55
55
|
"y2",
|
|
56
56
|
"stroke",
|
|
57
57
|
"stroke-width"
|
|
58
|
-
],
|
|
58
|
+
], mt = [
|
|
59
59
|
"font-size",
|
|
60
60
|
"fill",
|
|
61
61
|
"transform"
|
|
62
|
-
],
|
|
62
|
+
], ht = [
|
|
63
63
|
"x",
|
|
64
64
|
"y",
|
|
65
65
|
"font-size",
|
|
66
66
|
"fill"
|
|
67
|
-
],
|
|
67
|
+
], gt = [
|
|
68
68
|
"d",
|
|
69
69
|
"stroke",
|
|
70
70
|
"stroke-width"
|
|
71
|
-
],
|
|
71
|
+
], _t = [
|
|
72
72
|
"transform",
|
|
73
73
|
"font-size",
|
|
74
74
|
"text-anchor",
|
|
75
75
|
"fill",
|
|
76
76
|
"font-weight"
|
|
77
|
-
],
|
|
77
|
+
], vt = { key: 0 }, yt = [
|
|
78
78
|
"text-anchor",
|
|
79
79
|
"font-size",
|
|
80
80
|
"fill",
|
|
81
81
|
"transform"
|
|
82
|
-
],
|
|
82
|
+
], bt = [
|
|
83
83
|
"text-anchor",
|
|
84
84
|
"font-size",
|
|
85
85
|
"fill",
|
|
86
86
|
"transform",
|
|
87
87
|
"innerHTML"
|
|
88
|
-
],
|
|
88
|
+
], xt = [
|
|
89
89
|
"x1",
|
|
90
90
|
"y1",
|
|
91
91
|
"x2",
|
|
92
92
|
"y2",
|
|
93
93
|
"stroke",
|
|
94
94
|
"stroke-width"
|
|
95
|
-
],
|
|
95
|
+
], St = { key: 1 }, Ct = [
|
|
96
96
|
"cx",
|
|
97
97
|
"cy",
|
|
98
98
|
"r",
|
|
99
99
|
"fill"
|
|
100
|
-
],
|
|
100
|
+
], wt = { key: 0 }, Tt = { key: 0 }, Et = ["d", "stroke"], Dt = [
|
|
101
101
|
"text-anchor",
|
|
102
102
|
"x",
|
|
103
103
|
"y",
|
|
104
104
|
"fill"
|
|
105
|
-
],
|
|
105
|
+
], Ot = [
|
|
106
106
|
"cx",
|
|
107
107
|
"cy",
|
|
108
108
|
"r",
|
|
109
109
|
"fill"
|
|
110
|
-
],
|
|
110
|
+
], kt = { key: 0 }, At = [
|
|
111
111
|
"cx",
|
|
112
112
|
"cy",
|
|
113
113
|
"fill"
|
|
114
|
-
],
|
|
114
|
+
], jt = { key: 1 }, Mt = [
|
|
115
115
|
"d",
|
|
116
116
|
"fill",
|
|
117
117
|
"stroke"
|
|
118
|
-
],
|
|
118
|
+
], Nt = { key: 2 }, Pt = [
|
|
119
119
|
"d",
|
|
120
120
|
"fill",
|
|
121
121
|
"stroke"
|
|
122
|
-
],
|
|
122
|
+
], Ft = [
|
|
123
123
|
"x",
|
|
124
124
|
"y",
|
|
125
125
|
"font-size",
|
|
126
126
|
"fill"
|
|
127
|
-
],
|
|
127
|
+
], It = [
|
|
128
128
|
"x",
|
|
129
129
|
"y",
|
|
130
130
|
"width",
|
|
131
131
|
"height",
|
|
132
132
|
"fill"
|
|
133
|
-
],
|
|
133
|
+
], Lt = [
|
|
134
134
|
"x",
|
|
135
135
|
"y",
|
|
136
136
|
"width",
|
|
@@ -138,7 +138,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
138
138
|
"onMouseenter",
|
|
139
139
|
"onMouseleave",
|
|
140
140
|
"onClick"
|
|
141
|
-
],
|
|
141
|
+
], Rt = {
|
|
142
142
|
key: 0,
|
|
143
143
|
style: {
|
|
144
144
|
position: "absolute",
|
|
@@ -148,10 +148,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
148
148
|
},
|
|
149
149
|
"data-dom-to-png-ignore": "",
|
|
150
150
|
"aria-hidden": "true"
|
|
151
|
-
},
|
|
151
|
+
}, zt = {
|
|
152
152
|
key: 5,
|
|
153
153
|
class: "vue-data-ui-watermark"
|
|
154
|
-
},
|
|
154
|
+
}, Bt = ["id"], Vt = ["onClick"], Ht = { key: 0 }, Ut = { key: 1 }, Wt = /*#__PURE__*/ Me({
|
|
155
155
|
__name: "vue-ui-donut-evolution",
|
|
156
156
|
props: {
|
|
157
157
|
config: {
|
|
@@ -168,10 +168,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
emits: ["selectLegend", "copyAlt"],
|
|
171
|
-
setup(e, { expose:
|
|
172
|
-
let
|
|
171
|
+
setup(e, { expose: Me, emit: nt }) {
|
|
172
|
+
let Wt = g(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), Gt = g(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Kt = g(() => import("./DataTable-COIO9gi4.js")), qt = g(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Jt = g(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Yt = g(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Xt = g(() => import("./vue-ui-donut-DfiocufT.js").then((e) => e.n)), Zt = g(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_donut_evolution: Qt } = be(), { isThemeValid: $t, warnInvalidTheme: en } = Te(), O = e, k = S(pe()), A = S([]), j = S(null), M = S(null), tn = S(!1), N = S(null), P = S(null), nn = S(null), rn = S(0), an = S(0), on = S(0), sn = S(0), cn = S(0), ln = S(null), un = S(null), dn = S(null), fn = S(null), pn = S(!1), mn = S(null), hn = S(null), gn = Qe(null), _n = S(0), vn = S(0), yn = S(!1);
|
|
173
173
|
function bn() {
|
|
174
|
-
gn.value =
|
|
174
|
+
gn.value = P.value?.parentNode ?? null;
|
|
175
175
|
}
|
|
176
176
|
function xn() {
|
|
177
177
|
return new Promise((e) => {
|
|
@@ -182,14 +182,14 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
182
182
|
}
|
|
183
183
|
async function Sn() {
|
|
184
184
|
let e = ++vn.value;
|
|
185
|
-
await
|
|
185
|
+
await Je(), await xn(), await xn(), e === vn.value && (_n.value += 1);
|
|
186
186
|
}
|
|
187
187
|
function Cn() {
|
|
188
|
-
yn.value || (yn.value = !0,
|
|
188
|
+
yn.value || (yn.value = !0, Je(() => {
|
|
189
189
|
yn.value = !1, bn(), Sn();
|
|
190
190
|
}));
|
|
191
191
|
}
|
|
192
|
-
let wn =
|
|
192
|
+
let wn = Oe({
|
|
193
193
|
elementRef: gn,
|
|
194
194
|
minimumWidth: 2,
|
|
195
195
|
minimumHeight: 2,
|
|
@@ -198,22 +198,22 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
198
198
|
onSizeAccepted: () => {
|
|
199
199
|
Sn();
|
|
200
200
|
}
|
|
201
|
-
}), Tn =
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
}), Tn = S(null), En = S(null), Dn = S(null), On = S(null), kn = S(null), An = S(!1), F = Qe(null), I = Qe(null), jn = S(null), L = S(null), Mn = S(!1), Nn = nt, Pn = d(() => !!O.dataset && O.dataset.length);
|
|
202
|
+
Xe(() => {
|
|
203
|
+
pn.value = !0, bn(), wn.start(), In(), Sn();
|
|
204
204
|
});
|
|
205
|
-
let Fn =
|
|
205
|
+
let Fn = d(() => R.value.debug);
|
|
206
206
|
function In() {
|
|
207
|
-
if (
|
|
207
|
+
if (c(O.dataset) ? (de({
|
|
208
208
|
componentName: "VueUiDonutEvolution",
|
|
209
209
|
type: "dataset",
|
|
210
210
|
debug: Fn.value
|
|
211
|
-
}), Vn.value = !0) :
|
|
212
|
-
|
|
211
|
+
}), Vn.value = !0) : O.dataset.length && O.dataset.forEach((e, t) => {
|
|
212
|
+
le({
|
|
213
213
|
datasetObject: e,
|
|
214
214
|
requiredAttributes: ["name", "values"]
|
|
215
215
|
}).forEach((e) => {
|
|
216
|
-
|
|
216
|
+
de({
|
|
217
217
|
componentName: "VueUiDonutEvolution",
|
|
218
218
|
type: "datasetSerieAttribute",
|
|
219
219
|
property: e,
|
|
@@ -221,13 +221,13 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
221
221
|
debug: Fn.value
|
|
222
222
|
}), Vn.value = !0;
|
|
223
223
|
});
|
|
224
|
-
}),
|
|
224
|
+
}), c(O.dataset) || (Vn.value = R.value.loading), setTimeout(() => {
|
|
225
225
|
An.value = !0;
|
|
226
226
|
}, 10), Wn(), R.value.responsive) {
|
|
227
|
-
let e =
|
|
227
|
+
let e = Ne(() => {
|
|
228
228
|
An.value = !1;
|
|
229
|
-
let { width: e, height: t } =
|
|
230
|
-
chart:
|
|
229
|
+
let { width: e, height: t } = Pe({
|
|
230
|
+
chart: P.value,
|
|
231
231
|
title: R.value.style.chart.title.text ? Tn.value : null,
|
|
232
232
|
legend: R.value.style.chart.legend.show ? En.value : null,
|
|
233
233
|
slicer: R.value.style.chart.zoom.show && Hn.value > 1 ? kn.value : null,
|
|
@@ -239,17 +239,17 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
239
239
|
}, 10);
|
|
240
240
|
});
|
|
241
241
|
});
|
|
242
|
-
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value =
|
|
242
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = P.value.parentNode, F.value.observe(I.value);
|
|
243
243
|
}
|
|
244
244
|
Cn();
|
|
245
245
|
}
|
|
246
|
-
let R =
|
|
247
|
-
|
|
246
|
+
let R = S(Xn());
|
|
247
|
+
_e({
|
|
248
248
|
config: () => R.value,
|
|
249
|
-
dataset: () =>
|
|
249
|
+
dataset: () => O.dataset,
|
|
250
250
|
component: "VueUiDonutEvolution",
|
|
251
251
|
rules: [
|
|
252
|
-
|
|
252
|
+
ve.emptyArray,
|
|
253
253
|
{
|
|
254
254
|
test: (e) => e.length === 1,
|
|
255
255
|
message: [
|
|
@@ -284,10 +284,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
284
284
|
}
|
|
285
285
|
]
|
|
286
286
|
});
|
|
287
|
-
let { transitionEnabled: Ln } =
|
|
287
|
+
let { transitionEnabled: Ln } = De({
|
|
288
288
|
config: () => R.value.transitions,
|
|
289
|
-
dataset: () =>
|
|
290
|
-
}), z =
|
|
289
|
+
dataset: () => O.dataset
|
|
290
|
+
}), z = d(() => R.value.userOptions.useCursorPointer), Rn = d(() => ae({
|
|
291
291
|
defaultConfig: {
|
|
292
292
|
useCssAnimation: !1,
|
|
293
293
|
table: { show: !1 },
|
|
@@ -325,8 +325,8 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
325
325
|
} }
|
|
326
326
|
},
|
|
327
327
|
userConfig: R.value.skeletonConfig ?? {}
|
|
328
|
-
})), { loading: zn, FINAL_DATASET: Bn, manualLoading: Vn } =
|
|
329
|
-
|
|
328
|
+
})), { loading: zn, FINAL_DATASET: Bn, manualLoading: Vn } = Se({
|
|
329
|
+
...$e(O),
|
|
330
330
|
FINAL_CONFIG: R,
|
|
331
331
|
prepareConfig: Xn,
|
|
332
332
|
callback: () => {
|
|
@@ -334,7 +334,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
334
334
|
await Wn();
|
|
335
335
|
});
|
|
336
336
|
},
|
|
337
|
-
skeletonDataset:
|
|
337
|
+
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
338
338
|
{
|
|
339
339
|
name: "",
|
|
340
340
|
values: [
|
|
@@ -376,10 +376,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
376
376
|
defaultConfig: R.value,
|
|
377
377
|
userConfig: Rn.value
|
|
378
378
|
})
|
|
379
|
-
}), B =
|
|
379
|
+
}), B = S({
|
|
380
380
|
width: R.value.style.chart.layout.width,
|
|
381
381
|
height: R.value.style.chart.layout.height
|
|
382
|
-
}), Hn =
|
|
382
|
+
}), Hn = d(() => Math.max(...Bn.value.map((e) => e.values.length))), V = S({
|
|
383
383
|
start: 0,
|
|
384
384
|
end: Hn.value
|
|
385
385
|
});
|
|
@@ -387,7 +387,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
387
387
|
Wn();
|
|
388
388
|
}
|
|
389
389
|
async function Wn() {
|
|
390
|
-
await
|
|
390
|
+
await Je(), await Je();
|
|
391
391
|
let { startIndex: e, endIndex: t } = R.value.style.chart.zoom, n = On.value;
|
|
392
392
|
V.value = {
|
|
393
393
|
start: 0,
|
|
@@ -395,62 +395,62 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
395
395
|
}, (e != null || t != null) && n ? (e == null ? (V.value.start = 0, n.setStartValue(0)) : n.setStartValue(e), t == null ? (V.value.end = q.value, n.setEndValue(q.value)) : n.setEndValue(Gn(t + 1))) : (V.value = {
|
|
396
396
|
start: 0,
|
|
397
397
|
end: q.value
|
|
398
|
-
},
|
|
398
|
+
}, an.value += 1), Cn();
|
|
399
399
|
}
|
|
400
400
|
function Gn(e) {
|
|
401
401
|
let t = q.value;
|
|
402
402
|
return e > t ? t : e < 0 || R.value.style.chart.zoom.startIndex !== null && e < R.value.style.chart.zoom.startIndex ? R.value.style.chart.zoom.startIndex === null ? 1 : R.value.style.chart.zoom.startIndex + 1 : e;
|
|
403
403
|
}
|
|
404
|
-
let { userOptionsVisible: Kn, setUserOptionsVisibility: qn, keepUserOptionState: Jn } =
|
|
404
|
+
let { userOptionsVisible: Kn, setUserOptionsVisibility: qn, keepUserOptionState: Jn } = ze({ config: R.value }), { svgRef: Yn } = Be({ config: R.value.style.chart.title });
|
|
405
405
|
function Xn() {
|
|
406
|
-
let e =
|
|
407
|
-
userConfig:
|
|
408
|
-
defaultConfig:
|
|
406
|
+
let e = we({
|
|
407
|
+
userConfig: O.config,
|
|
408
|
+
defaultConfig: Qt
|
|
409
409
|
}), t = {}, n = e.theme;
|
|
410
410
|
if (n) {
|
|
411
|
-
if (
|
|
411
|
+
if (!$t.value(e)) en(e), t = e;
|
|
412
412
|
else {
|
|
413
|
-
let r =
|
|
414
|
-
userConfig:
|
|
413
|
+
let r = we({
|
|
414
|
+
userConfig: He[n] || O.config,
|
|
415
415
|
defaultConfig: e
|
|
416
416
|
});
|
|
417
417
|
t = {
|
|
418
|
-
...
|
|
419
|
-
userConfig:
|
|
418
|
+
...we({
|
|
419
|
+
userConfig: O.config,
|
|
420
420
|
defaultConfig: r
|
|
421
421
|
}),
|
|
422
|
-
customPalette: e.customPalette ? e.customPalette :
|
|
422
|
+
customPalette: e.customPalette ? e.customPalette : ie[n] || o
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
425
|
} else t = e;
|
|
426
426
|
return t;
|
|
427
427
|
}
|
|
428
|
-
|
|
429
|
-
zn.value || (R.value = Xn()), Kn.value = !R.value.userOptions.showOnChartHover, In(),
|
|
430
|
-
}, { deep: !0 }),
|
|
428
|
+
et(() => O.config, (e) => {
|
|
429
|
+
zn.value || (R.value = Xn()), Kn.value = !R.value.userOptions.showOnChartHover, In(), on.value += 1, sn.value += 1, cn.value += 1, H.value.showTable = R.value.table.show;
|
|
430
|
+
}, { deep: !0 }), et(() => O.dataset, (e) => {
|
|
431
431
|
Array.isArray(e) && e.length > 0 && (Vn.value = !1), Un();
|
|
432
432
|
}, { deep: !0 });
|
|
433
|
-
let { isPrinting: Zn, isImaging: Qn, generatePdf: $n, generateImage: er } =
|
|
434
|
-
elementId:
|
|
433
|
+
let { isPrinting: Zn, isImaging: Qn, generatePdf: $n, generateImage: er } = xe({
|
|
434
|
+
elementId: k.value,
|
|
435
435
|
fileName: R.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
436
436
|
options: R.value.userOptions.print
|
|
437
|
-
}), tr =
|
|
438
|
-
|
|
437
|
+
}), tr = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), nr = d(() => he(R.value.customPalette)), H = S({ showTable: R.value.table.show });
|
|
438
|
+
et(R, () => {
|
|
439
439
|
H.value = { showTable: R.value.table.show };
|
|
440
440
|
}, { immediate: !0 });
|
|
441
|
-
let U =
|
|
441
|
+
let U = d(() => ({
|
|
442
442
|
top: R.value.style.chart.layout.padding.top,
|
|
443
443
|
right: R.value.style.chart.layout.padding.right,
|
|
444
444
|
bottom: R.value.style.chart.layout.padding.bottom,
|
|
445
445
|
left: R.value.style.chart.layout.padding.left
|
|
446
|
-
})), W =
|
|
446
|
+
})), W = d(() => R.value.style.chart.layout.grid.yAxis.position === "right");
|
|
447
447
|
function rr() {
|
|
448
448
|
let e = 0;
|
|
449
|
-
|
|
449
|
+
ln.value && (e = Array.from(ln.value.querySelectorAll("text")).reduce((e, t) => {
|
|
450
450
|
let n = t.getComputedTextLength();
|
|
451
451
|
return n > e ? n : e;
|
|
452
452
|
}, 0));
|
|
453
|
-
let t =
|
|
453
|
+
let t = fn.value ? fn.value.getBoundingClientRect().width + R.value.style.chart.layout.grid.axis.yLabelOffsetX + R.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
|
|
454
454
|
return {
|
|
455
455
|
left: W.value ? 0 : n,
|
|
456
456
|
right: W.value ? n : 0,
|
|
@@ -459,25 +459,25 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
459
459
|
crosshair: 5
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
|
-
let ir =
|
|
462
|
+
let ir = S(0), ar = Ne((e) => {
|
|
463
463
|
ir.value = e;
|
|
464
464
|
}, 100);
|
|
465
|
-
|
|
466
|
-
let t =
|
|
465
|
+
tt((e) => {
|
|
466
|
+
let t = un.value;
|
|
467
467
|
if (!t) return;
|
|
468
468
|
let n = new ResizeObserver((e) => {
|
|
469
469
|
ar(e[0].contentRect.height);
|
|
470
470
|
});
|
|
471
471
|
n.observe(t), e(() => n.disconnect());
|
|
472
|
-
}),
|
|
472
|
+
}), Ye(() => {
|
|
473
473
|
ir.value = 0, wn.stop(), clearTimeout(jn.value), F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect(), F.value = null, I.value = null);
|
|
474
474
|
});
|
|
475
|
-
let or =
|
|
475
|
+
let or = d(() => {
|
|
476
476
|
let e = 0;
|
|
477
|
-
|
|
477
|
+
dn.value && (e = dn.value.getBBox().height);
|
|
478
478
|
let t = 0;
|
|
479
|
-
return
|
|
480
|
-
}), G =
|
|
479
|
+
return un.value && (t = ir.value), e + t + R.value.style.chart.layout.grid.axis.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
|
|
480
|
+
}), G = d(() => {
|
|
481
481
|
_n.value;
|
|
482
482
|
let e = rr(), t = R.value.style.chart.layout.dataLabels.fontSize * 3, n = B.value.width, r = B.value.height, i = U.value.left + e.left, a = n - U.value.right - e.right, o = n - i - U.value.right - e.right, s = r - U.value.top - U.value.bottom - t - or.value, c = U.value.top + t;
|
|
483
483
|
return {
|
|
@@ -495,13 +495,13 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
495
495
|
yAxisLabelWidth: e.yAxisLabelWidth,
|
|
496
496
|
crosshair: e.crosshair
|
|
497
497
|
};
|
|
498
|
-
}), K =
|
|
499
|
-
[null, void 0].includes(e.name) &&
|
|
498
|
+
}), K = d(() => (Fn.value && Bn.value.forEach((e, t) => {
|
|
499
|
+
[null, void 0].includes(e.name) && de({
|
|
500
500
|
componentName: "VueUiDonutEvolution",
|
|
501
501
|
type: "datasetSerieAttribute",
|
|
502
502
|
property: "name",
|
|
503
503
|
index: t
|
|
504
|
-
}), [null, void 0].includes(e.values) &&
|
|
504
|
+
}), [null, void 0].includes(e.values) && de({
|
|
505
505
|
componentName: "VueUiDonutEvolution",
|
|
506
506
|
type: "datasetSerieAttribute",
|
|
507
507
|
property: "values",
|
|
@@ -509,18 +509,18 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
509
509
|
});
|
|
510
510
|
}), Bn.value.map((e, t) => ({
|
|
511
511
|
...e,
|
|
512
|
-
values:
|
|
513
|
-
color:
|
|
512
|
+
values: ne(e.values),
|
|
513
|
+
color: ee(e.color) || nr.value[t] || o[t] || o[t % o.length],
|
|
514
514
|
length: (e.values || []).length,
|
|
515
|
-
uid:
|
|
516
|
-
})))), sr =
|
|
515
|
+
uid: pe()
|
|
516
|
+
})))), sr = d(() => K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
|
|
517
517
|
...e,
|
|
518
518
|
values: e.values.filter((e, t) => t >= V.value.start && t <= V.value.end)
|
|
519
|
-
}))), q =
|
|
520
|
-
|
|
519
|
+
}))), q = d(() => Math.max(...K.value.map((e) => e.length))), J = S([]), cr = 0;
|
|
520
|
+
tt(() => {
|
|
521
521
|
let e = ++cr;
|
|
522
522
|
(async () => {
|
|
523
|
-
let t = await
|
|
523
|
+
let t = await ye({
|
|
524
524
|
values: R.value.style.chart.layout.grid.xAxis.dataLabels.values,
|
|
525
525
|
maxDatapoints: q.value,
|
|
526
526
|
formatter: R.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
@@ -530,7 +530,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
530
530
|
e === cr && (J.value = t);
|
|
531
531
|
})();
|
|
532
532
|
});
|
|
533
|
-
let Y =
|
|
533
|
+
let Y = d(() => G.value.width / (V.value.end - V.value.start)), lr = d(() => {
|
|
534
534
|
let e = [];
|
|
535
535
|
for (let t = 0; t < V.value.end - V.value.start; t += 1) {
|
|
536
536
|
let n = sr.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = G.value.left + Y.value * t + Y.value / 2;
|
|
@@ -543,47 +543,47 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
545
|
return e;
|
|
546
|
-
}), ur =
|
|
547
|
-
let e = Math.max(...lr.value.map((e) => e.subtotal).filter((e) =>
|
|
548
|
-
return
|
|
546
|
+
}), ur = d(() => {
|
|
547
|
+
let e = Math.max(...lr.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 1, t = Math.min(...lr.value.map((e) => e.subtotal).filter((e) => r(e))) ?? 0, n = Math.max(R.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), i;
|
|
548
|
+
return i = R.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, R.value.style.chart.layout.grid.yAxis.scaleMin), R.value.style.chart.layout.grid.yAxis.autoScale && (i = t, n = e), i === n && (i = n / 2, n *= 1.5), {
|
|
549
549
|
max: n,
|
|
550
|
-
min:
|
|
550
|
+
min: i
|
|
551
551
|
};
|
|
552
|
-
}), X =
|
|
552
|
+
}), X = d(() => {
|
|
553
553
|
let e = lr.value.length === 1 ? ur.value.max * 2 : ur.value.max;
|
|
554
554
|
return oe(ur.value.min, e, R.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
555
555
|
});
|
|
556
|
-
|
|
556
|
+
et(() => X.value.ticks.join("|"), () => {
|
|
557
557
|
Cn();
|
|
558
558
|
}, { flush: "post" });
|
|
559
559
|
function dr(e) {
|
|
560
560
|
return (e - X.value.min) / (X.value.max - X.value.min);
|
|
561
561
|
}
|
|
562
|
-
let fr =
|
|
562
|
+
let fr = d(() => X.value.ticks.map((e) => ({
|
|
563
563
|
y: G.value.bottom - G.value.height * dr(e),
|
|
564
564
|
value: e
|
|
565
|
-
}))), Z =
|
|
565
|
+
}))), Z = d(() => {
|
|
566
566
|
let e = lr.value, t = Math.max(...e.map((e) => e.subtotal));
|
|
567
567
|
return e.length === 1 && t * 2, e.map((t, n) => {
|
|
568
|
-
let r = Math.min(G.value.width / 24, Y.value / 2 * .7), i = r > G.value.width / 16 ? G.value.width / 16 : r, a =
|
|
568
|
+
let r = Math.min(G.value.width / 24, Y.value / 2 * .7), i = r > G.value.width / 16 ? G.value.width / 16 : r, a = j.value === t.index ? G.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > Y.value / 2 * .7 ? Y.value / 2 * .7 : r * 2, c = G.value.bottom - G.value.height * dr(t.subtotal), l = sr.value.map((e) => ({
|
|
569
569
|
color: e.color,
|
|
570
570
|
name: e.name,
|
|
571
571
|
value: e.values[n] ?? 0
|
|
572
572
|
})).toSorted((e, t) => t.value - e.value);
|
|
573
573
|
return {
|
|
574
574
|
...t,
|
|
575
|
-
y:
|
|
575
|
+
y: c,
|
|
576
576
|
radius: i,
|
|
577
577
|
activeRadius: a,
|
|
578
578
|
hoverRadius: o,
|
|
579
|
-
donut:
|
|
580
|
-
donutHover:
|
|
581
|
-
donutFocus:
|
|
579
|
+
donut: s({ series: l }, t.x, c, i, i, 1.99999, 2, 1, 360, 105.25, i / 2),
|
|
580
|
+
donutHover: s({ series: l }, t.x, c, o, o, 1.99999, 2, 1, 360, 105.25, o / 2),
|
|
581
|
+
donutFocus: s({ series: l }, G.value.centerX, G.value.centerY, G.value.height / 3.6, G.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, G.value.height / 6)
|
|
582
582
|
};
|
|
583
583
|
});
|
|
584
584
|
});
|
|
585
585
|
function pr(e, t, n) {
|
|
586
|
-
return
|
|
586
|
+
return ue(R.value.style.chart.layout.dataLabels.formatter, e, re({
|
|
587
587
|
p: R.value.style.chart.layout.dataLabels.prefix,
|
|
588
588
|
v: e,
|
|
589
589
|
s: R.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -597,7 +597,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
597
597
|
return isNaN(e.value / a(t, "value")) ? 0 : (e.value / a(t, "value") * 100).toFixed(0) + "%";
|
|
598
598
|
}
|
|
599
599
|
function hr(e) {
|
|
600
|
-
|
|
600
|
+
j.value = null, M.value = null, L.value = null, R.value.events.datapointLeave && R.value.events.datapointLeave({
|
|
601
601
|
datapoint: e,
|
|
602
602
|
seriesIndex: e.seriesIndex + V.value.start
|
|
603
603
|
});
|
|
@@ -606,16 +606,16 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
606
606
|
R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
607
607
|
datapoint: e,
|
|
608
608
|
seriesIndex: e.index + V.value.start
|
|
609
|
-
}),
|
|
609
|
+
}), j.value = e.index, M.value = e, L.value = e.index;
|
|
610
610
|
}
|
|
611
|
-
let _r =
|
|
611
|
+
let _r = S(null);
|
|
612
612
|
function vr(e, t) {
|
|
613
613
|
R.value.events.datapointClick && R.value.events.datapointClick({
|
|
614
614
|
datapoint: e,
|
|
615
615
|
seriesIndex: e.index + V.value.start
|
|
616
|
-
}), !(!e.subtotal || !R.value.style.chart.dialog.show) && (
|
|
616
|
+
}), !(!e.subtotal || !R.value.style.chart.dialog.show) && (M.value = null, j.value = null, tn.value = !0, N.value = e, Lr(e), [null, void 0].includes(t) || (_r.value = t));
|
|
617
617
|
}
|
|
618
|
-
let yr =
|
|
618
|
+
let yr = d(() => K.value.map((e, t) => ({
|
|
619
619
|
name: e.name,
|
|
620
620
|
value: e.values.slice(V.value.start, V.value.end).reduce((e, t) => e + t, 0),
|
|
621
621
|
shape: "circle",
|
|
@@ -623,10 +623,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
623
623
|
color: e.color
|
|
624
624
|
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
625
625
|
...e,
|
|
626
|
-
opacity:
|
|
626
|
+
opacity: A.value.includes(e.uid) ? .5 : 1,
|
|
627
627
|
segregate: () => Cr(e.uid),
|
|
628
|
-
isSegregated:
|
|
629
|
-
display: `${e.name}${R.value.style.chart.legend.showPercentage || R.value.style.chart.legend.showValue ? ": " : ""}${R.value.style.chart.legend.showValue ?
|
|
628
|
+
isSegregated: A.value.includes(e.uid),
|
|
629
|
+
display: `${e.name}${R.value.style.chart.legend.showPercentage || R.value.style.chart.legend.showValue ? ": " : ""}${R.value.style.chart.legend.showValue ? ue(R.value.style.chart.layout.dataLabels.formatter, e.value, re({
|
|
630
630
|
p: R.value.style.chart.layout.dataLabels.prefix,
|
|
631
631
|
v: e.value,
|
|
632
632
|
s: R.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -634,12 +634,12 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
634
634
|
}), {
|
|
635
635
|
datapoint: e,
|
|
636
636
|
seriesIndex: t
|
|
637
|
-
}) : ""}${R.value.style.chart.legend.showPercentage ?
|
|
637
|
+
}) : ""}${R.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${R.value.style.chart.legend.showValue ? " (" : ""}- %${R.value.style.chart.legend.showValue ? ")" : ""}` : `${R.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / br.value) ? "-" : re({
|
|
638
638
|
v: e.value / br.value * 100,
|
|
639
639
|
s: "%",
|
|
640
640
|
r: R.value.style.chart.legend.roundingPercentage
|
|
641
641
|
})}${R.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
642
|
-
}))), br =
|
|
642
|
+
}))), br = d(() => Z.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), xr = d(() => ({
|
|
643
643
|
cy: "donut-div-legend",
|
|
644
644
|
backgroundColor: R.value.style.chart.legend.backgroundColor,
|
|
645
645
|
color: R.value.style.chart.legend.color,
|
|
@@ -648,37 +648,37 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
648
648
|
fontWeight: R.value.style.chart.legend.bold ? "bold" : ""
|
|
649
649
|
}));
|
|
650
650
|
function Sr() {
|
|
651
|
-
|
|
652
|
-
|
|
651
|
+
A.value.length ? A.value = [] : yr.value.forEach((e) => {
|
|
652
|
+
A.value.push(e.uid);
|
|
653
653
|
}), Nn("selectLegend", sr.value);
|
|
654
654
|
}
|
|
655
655
|
function Cr(e) {
|
|
656
|
-
if (
|
|
656
|
+
if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), Nn("selectLegend", sr.value);
|
|
657
657
|
else {
|
|
658
|
-
if (
|
|
659
|
-
|
|
658
|
+
if (A.value.length === K.value.length - 1) return;
|
|
659
|
+
A.value.push(e), Nn("selectLegend", sr.value);
|
|
660
660
|
}
|
|
661
|
-
|
|
661
|
+
N.value && vr(Z.value.find((e, t) => t === _r.value));
|
|
662
662
|
}
|
|
663
663
|
function wr(e) {
|
|
664
664
|
return K.value.length ? K.value.find((t) => t.name === e) || (Fn.value && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (Fn.value && console.warn("VueUiDonutEvolution - There are no series to show."), null);
|
|
665
665
|
}
|
|
666
666
|
function Tr(e) {
|
|
667
667
|
let t = wr(e);
|
|
668
|
-
t !== null &&
|
|
668
|
+
t !== null && A.value.includes(t.uid) && Cr(t.uid);
|
|
669
669
|
}
|
|
670
670
|
function Er(e) {
|
|
671
671
|
let t = wr(e);
|
|
672
|
-
t !== null && (
|
|
672
|
+
t !== null && (A.value.includes(t.uid) || Cr(t.uid));
|
|
673
673
|
}
|
|
674
|
-
let Q =
|
|
675
|
-
let e = [""].concat(K.value.filter((e) => !
|
|
674
|
+
let Q = d(() => {
|
|
675
|
+
let e = [""].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
|
|
676
676
|
name: e.name,
|
|
677
677
|
color: e.color
|
|
678
678
|
})), ["Σ"]), t = [];
|
|
679
679
|
for (let e = 0; e < q.value; e += 1) {
|
|
680
|
-
let n = K.value.filter((e) => !
|
|
681
|
-
t.push([J.value[e] ? J.value[e].text : "-"].concat(K.value.filter((e) => !
|
|
680
|
+
let n = K.value.filter((e) => !A.value.includes(e.uid)).map((t) => t.values[e] ?? 0).reduce((e, t) => e + t, 0);
|
|
681
|
+
t.push([J.value[e] ? J.value[e].text : "-"].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((t) => ({
|
|
682
682
|
value: t.values[e] ?? 0,
|
|
683
683
|
percentage: t.values[e] ? t.values[e] / n * 100 : 0
|
|
684
684
|
})), [`${R.value.style.chart.layout.dataLabels.prefix}${Number(n.toFixed(R.value.table.td.roundingValue))}${R.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -700,55 +700,55 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
700
700
|
},
|
|
701
701
|
breakpoint: R.value.table.responsiveBreakpoint
|
|
702
702
|
},
|
|
703
|
-
colNames: [R.value.table.columnNames.period].concat(K.value.filter((e) => !
|
|
703
|
+
colNames: [R.value.table.columnNames.period].concat(K.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), R.value.table.columnNames.total)
|
|
704
704
|
};
|
|
705
705
|
});
|
|
706
706
|
function Dr() {
|
|
707
707
|
return K.value;
|
|
708
708
|
}
|
|
709
709
|
function Or(e = null) {
|
|
710
|
-
|
|
711
|
-
let
|
|
710
|
+
Je(() => {
|
|
711
|
+
let r = [
|
|
712
712
|
[R.value.style.chart.title.text],
|
|
713
713
|
[R.value.style.chart.title.subtitle.text],
|
|
714
714
|
[""]
|
|
715
|
-
], i = [...Q.value.head.map((e) => e.name ?? e)], a = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], o =
|
|
715
|
+
], i = [...Q.value.head.map((e) => e.name ?? e)], a = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], o = r.concat([i]).concat(a), s = n(o);
|
|
716
716
|
e ? e(s) : t({
|
|
717
717
|
csvContent: s,
|
|
718
718
|
title: R.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
719
719
|
});
|
|
720
720
|
});
|
|
721
721
|
}
|
|
722
|
-
let $ =
|
|
722
|
+
let $ = S(!1);
|
|
723
723
|
function kr(e) {
|
|
724
|
-
$.value = e,
|
|
724
|
+
$.value = e, rn.value += 1;
|
|
725
725
|
}
|
|
726
726
|
function Ar() {
|
|
727
727
|
H.value.showTable = !H.value.showTable;
|
|
728
728
|
}
|
|
729
|
-
let jr =
|
|
729
|
+
let jr = S(!1);
|
|
730
730
|
function Mr() {
|
|
731
731
|
jr.value = !jr.value;
|
|
732
732
|
}
|
|
733
733
|
function Nr(e) {
|
|
734
734
|
return e.proportion * 100 > R.value.style.chart.donuts.hover.hideLabelsUnderValue;
|
|
735
735
|
}
|
|
736
|
-
let Pr =
|
|
736
|
+
let Pr = S([]), Fr = S({}), Ir = S(null);
|
|
737
737
|
function Lr(e) {
|
|
738
738
|
Pr.value = e.donut.map((e) => ({
|
|
739
739
|
name: e.name,
|
|
740
740
|
values: [e.value],
|
|
741
741
|
color: e.color
|
|
742
|
-
})), Fr.value =
|
|
742
|
+
})), Fr.value = l({
|
|
743
743
|
...R.value.style.chart.dialog.donutChart,
|
|
744
744
|
responsive: !0,
|
|
745
745
|
theme: R.value.theme
|
|
746
746
|
}), Ir.value && Ir.value.open();
|
|
747
747
|
}
|
|
748
748
|
async function Rr({ scale: e = 2 } = {}) {
|
|
749
|
-
if (!
|
|
750
|
-
let { width: t, height: n } =
|
|
751
|
-
domElement:
|
|
749
|
+
if (!P.value) return;
|
|
750
|
+
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ae({
|
|
751
|
+
domElement: P.value,
|
|
752
752
|
base64: !0,
|
|
753
753
|
img: !0,
|
|
754
754
|
scale: e
|
|
@@ -762,9 +762,9 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
762
762
|
aspectRatio: r
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
|
-
let zr =
|
|
766
|
-
|
|
767
|
-
timeLabelsEls:
|
|
765
|
+
let zr = d(() => B.value.width), Br = d(() => B.value.height);
|
|
766
|
+
ke({
|
|
767
|
+
timeLabelsEls: un,
|
|
768
768
|
timeLabels: J,
|
|
769
769
|
slicer: V,
|
|
770
770
|
configRef: R,
|
|
@@ -792,10 +792,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
792
792
|
height: Br,
|
|
793
793
|
rotation: R.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
|
|
794
794
|
});
|
|
795
|
-
let Vr =
|
|
795
|
+
let Vr = d(() => {
|
|
796
796
|
let e = R.value.table.useDialog && !R.value.table.show, t = H.value.showTable;
|
|
797
797
|
return {
|
|
798
|
-
component: e ?
|
|
798
|
+
component: e ? Zt : Wt,
|
|
799
799
|
title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
|
|
800
800
|
props: e ? {
|
|
801
801
|
backgroundColor: R.value.table.th.backgroundColor,
|
|
@@ -803,7 +803,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
803
803
|
headerColor: R.value.table.th.color,
|
|
804
804
|
headerBg: R.value.table.th.backgroundColor,
|
|
805
805
|
isFullscreen: $.value,
|
|
806
|
-
fullscreenParent:
|
|
806
|
+
fullscreenParent: P.value,
|
|
807
807
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
808
808
|
isCursorPointer: z.value
|
|
809
809
|
} : {
|
|
@@ -823,16 +823,16 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
825
|
});
|
|
826
|
-
|
|
827
|
-
R.value.table.show || (e && R.value.table.useDialog &&
|
|
826
|
+
et(() => H.value.showTable, (e) => {
|
|
827
|
+
R.value.table.show || (e && R.value.table.useDialog && mn.value ? mn.value.open() : "close" in mn.value && mn.value.close());
|
|
828
828
|
});
|
|
829
829
|
function Hr() {
|
|
830
830
|
H.value.showTable = !1, hn.value && hn.value.setTableIconState(!1);
|
|
831
831
|
}
|
|
832
|
-
let Ur =
|
|
832
|
+
let Ur = d(() => yr.value.map((e) => ({
|
|
833
833
|
...e,
|
|
834
834
|
name: e.display
|
|
835
|
-
}))), Wr =
|
|
835
|
+
}))), Wr = d(() => R.value.style.chart.backgroundColor), Gr = d(() => R.value.style.chart.legend), Kr = d(() => R.value.style.chart.title), { isCallbackImaging: qr, isCallbackSvg: Jr, generateSvg: Yr, onGenerateImage: Xr } = Ee({
|
|
836
836
|
svg: Yn,
|
|
837
837
|
title: Kr,
|
|
838
838
|
legend: Gr,
|
|
@@ -858,14 +858,14 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
858
858
|
L.value = null, Mn.value = !0;
|
|
859
859
|
}
|
|
860
860
|
function $r() {
|
|
861
|
-
L.value = null,
|
|
861
|
+
L.value = null, j.value = null, M.value = null, Mn.value = !1;
|
|
862
862
|
}
|
|
863
863
|
function ei(e) {
|
|
864
864
|
if (!Yn.value || jr.value || document.activeElement !== Yn.value || !Z.value.length) return;
|
|
865
865
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
866
866
|
if (!t && !n && !r && !i) return;
|
|
867
867
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
868
|
-
L.value = null,
|
|
868
|
+
L.value = null, j.value = null, M.value = null;
|
|
869
869
|
return;
|
|
870
870
|
}
|
|
871
871
|
if (r) {
|
|
@@ -875,16 +875,16 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
875
875
|
vr(e, L.value);
|
|
876
876
|
return;
|
|
877
877
|
}
|
|
878
|
-
let a = L.value, o =
|
|
878
|
+
let a = L.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length, c = o !== null && o >= 0 && o < Z.value.length;
|
|
879
879
|
s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value.length && (a = 0), a < 0 && (a = Z.value.length - 1)) : a = n ? 0 : Z.value.length - 1;
|
|
880
|
-
let
|
|
881
|
-
|
|
880
|
+
let l = Z.value[a];
|
|
881
|
+
l && gr(l);
|
|
882
882
|
}
|
|
883
|
-
let ti =
|
|
883
|
+
let ti = d(() => ({
|
|
884
884
|
headers: Q.value?.colNames ?? [],
|
|
885
885
|
rows: Q.value?.bodyA11y ?? []
|
|
886
886
|
}));
|
|
887
|
-
return
|
|
887
|
+
return Me({
|
|
888
888
|
getData: Dr,
|
|
889
889
|
getImage: Rr,
|
|
890
890
|
generatePdf: $n,
|
|
@@ -897,22 +897,22 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
897
897
|
toggleAnnotator: Mr,
|
|
898
898
|
toggleFullscreen: kr,
|
|
899
899
|
copyAlt: Zr
|
|
900
|
-
}), (e, t) => (
|
|
900
|
+
}), (e, t) => (x(), m("div", {
|
|
901
901
|
ref_key: "donutEvolutionChart",
|
|
902
|
-
ref:
|
|
903
|
-
class:
|
|
904
|
-
style:
|
|
905
|
-
id:
|
|
906
|
-
onMouseenter: t[5] ||= () =>
|
|
907
|
-
onMouseleave: t[6] ||= () =>
|
|
902
|
+
ref: P,
|
|
903
|
+
class: v(`vue-data-ui-component vue-ui-donut-evolution ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
904
|
+
style: b(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.chart.backgroundColor}`),
|
|
905
|
+
id: k.value,
|
|
906
|
+
onMouseenter: t[5] ||= () => E(qn)(!0),
|
|
907
|
+
onMouseleave: t[6] ||= () => E(qn)(!1)
|
|
908
908
|
}, [
|
|
909
|
-
|
|
910
|
-
id: `chart-instructions-${
|
|
909
|
+
h("div", {
|
|
910
|
+
id: `chart-instructions-${k.value}`,
|
|
911
911
|
class: "sr-only"
|
|
912
|
-
}, [
|
|
913
|
-
ti.value?.rows?.length ? (
|
|
912
|
+
}, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, it),
|
|
913
|
+
ti.value?.rows?.length ? (x(), f(Re, {
|
|
914
914
|
key: 0,
|
|
915
|
-
uid:
|
|
915
|
+
uid: k.value,
|
|
916
916
|
head: ti.value.headers,
|
|
917
917
|
body: ti.value.rows,
|
|
918
918
|
notice: R.value.a11y.translations.tableAvailable,
|
|
@@ -923,22 +923,22 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
923
923
|
"body",
|
|
924
924
|
"notice",
|
|
925
925
|
"caption"
|
|
926
|
-
])) :
|
|
927
|
-
R.value.userOptions.buttons.annotator ? (
|
|
926
|
+
])) : p("", !0),
|
|
927
|
+
R.value.userOptions.buttons.annotator ? (x(), f(E(Jt), {
|
|
928
928
|
key: 1,
|
|
929
|
-
svgRef:
|
|
929
|
+
svgRef: E(Yn),
|
|
930
930
|
backgroundColor: R.value.style.chart.backgroundColor,
|
|
931
931
|
color: R.value.style.chart.color,
|
|
932
932
|
active: jr.value,
|
|
933
933
|
isCursorPointer: z.value,
|
|
934
934
|
onClose: Mr
|
|
935
935
|
}, {
|
|
936
|
-
"annotator-action-close":
|
|
937
|
-
"annotator-action-color":
|
|
938
|
-
"annotator-action-draw":
|
|
939
|
-
"annotator-action-undo":
|
|
940
|
-
"annotator-action-redo":
|
|
941
|
-
"annotator-action-delete":
|
|
936
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
937
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
938
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
939
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
940
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
941
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
942
942
|
_: 3
|
|
943
943
|
}, 8, [
|
|
944
944
|
"svgRef",
|
|
@@ -946,22 +946,22 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
946
946
|
"color",
|
|
947
947
|
"active",
|
|
948
948
|
"isCursorPointer"
|
|
949
|
-
])) :
|
|
950
|
-
tr.value ? (
|
|
949
|
+
])) : p("", !0),
|
|
950
|
+
tr.value ? (x(), m("div", {
|
|
951
951
|
key: 2,
|
|
952
952
|
ref_key: "noTitle",
|
|
953
|
-
ref:
|
|
953
|
+
ref: nn,
|
|
954
954
|
class: "vue-data-ui-no-title-space",
|
|
955
955
|
style: "height:36px; width: 100%;background:transparent"
|
|
956
|
-
}, null, 512)) :
|
|
957
|
-
R.value.style.chart.title.text ? (
|
|
956
|
+
}, null, 512)) : p("", !0),
|
|
957
|
+
R.value.style.chart.title.text ? (x(), m("div", {
|
|
958
958
|
key: 3,
|
|
959
959
|
ref_key: "chartTitle",
|
|
960
960
|
ref: Tn,
|
|
961
961
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
962
962
|
onMouseleave: hr
|
|
963
|
-
}, [(
|
|
964
|
-
key: `title_${
|
|
963
|
+
}, [(x(), f(je, {
|
|
964
|
+
key: `title_${on.value}`,
|
|
965
965
|
config: {
|
|
966
966
|
title: {
|
|
967
967
|
cy: "donut-evolution-div-title",
|
|
@@ -972,17 +972,17 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
972
972
|
...R.value.style.chart.title.subtitle
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
}, null, 8, ["config"]))], 544)) :
|
|
976
|
-
|
|
977
|
-
R.value.userOptions.show && Pn.value && (
|
|
975
|
+
}, null, 8, ["config"]))], 544)) : p("", !0),
|
|
976
|
+
h("div", { id: `legend-top-${k.value}` }, null, 8, at),
|
|
977
|
+
R.value.userOptions.show && Pn.value && (E(Jn) || E(Kn)) ? (x(), f(E(Yt), {
|
|
978
978
|
ref_key: "userOptionsRef",
|
|
979
979
|
ref: hn,
|
|
980
|
-
key: `user_options_${
|
|
980
|
+
key: `user_options_${rn.value}`,
|
|
981
981
|
backgroundColor: R.value.style.chart.backgroundColor,
|
|
982
982
|
color: R.value.style.chart.color,
|
|
983
|
-
isPrinting:
|
|
984
|
-
isImaging:
|
|
985
|
-
uid:
|
|
983
|
+
isPrinting: E(Zn),
|
|
984
|
+
isImaging: E(Qn),
|
|
985
|
+
uid: k.value,
|
|
986
986
|
hasPdf: R.value.userOptions.buttons.pdf,
|
|
987
987
|
hasImg: R.value.userOptions.buttons.img,
|
|
988
988
|
hasSvg: R.value.userOptions.buttons.svg,
|
|
@@ -992,7 +992,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
992
992
|
hasAltCopy: R.value.userOptions.buttons.altCopy,
|
|
993
993
|
isFullscreen: $.value,
|
|
994
994
|
titles: { ...R.value.userOptions.buttonTitles },
|
|
995
|
-
chartElement:
|
|
995
|
+
chartElement: P.value,
|
|
996
996
|
position: R.value.userOptions.position,
|
|
997
997
|
hasAnnotator: R.value.userOptions.buttons.annotator,
|
|
998
998
|
isAnnotation: jr.value,
|
|
@@ -1001,18 +1001,18 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1001
1001
|
tableDialog: R.value.table.useDialog,
|
|
1002
1002
|
isCursorPointer: z.value,
|
|
1003
1003
|
onToggleFullscreen: kr,
|
|
1004
|
-
onGeneratePdf:
|
|
1004
|
+
onGeneratePdf: E($n),
|
|
1005
1005
|
onGenerateCsv: Or,
|
|
1006
|
-
onGenerateImage:
|
|
1007
|
-
onGenerateSvg:
|
|
1006
|
+
onGenerateImage: E(Xr),
|
|
1007
|
+
onGenerateSvg: E(Yr),
|
|
1008
1008
|
onToggleTable: Ar,
|
|
1009
1009
|
onToggleAnnotator: Mr,
|
|
1010
1010
|
onCopyAlt: Zr,
|
|
1011
|
-
style:
|
|
1012
|
-
},
|
|
1011
|
+
style: b({ visibility: E(Jn) ? E(Kn) ? "visible" : "hidden" : "visible" })
|
|
1012
|
+
}, We({ _: 2 }, [
|
|
1013
1013
|
e.$slots.menuIcon ? {
|
|
1014
1014
|
name: "menuIcon",
|
|
1015
|
-
fn:
|
|
1015
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
1016
1016
|
isOpen: t,
|
|
1017
1017
|
color: n
|
|
1018
1018
|
})), void 0, !0)]),
|
|
@@ -1020,32 +1020,32 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1020
1020
|
} : void 0,
|
|
1021
1021
|
e.$slots.optionPdf ? {
|
|
1022
1022
|
name: "optionPdf",
|
|
1023
|
-
fn:
|
|
1023
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1024
1024
|
key: "1"
|
|
1025
1025
|
} : void 0,
|
|
1026
1026
|
e.$slots.optionCsv ? {
|
|
1027
1027
|
name: "optionCsv",
|
|
1028
|
-
fn:
|
|
1028
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1029
1029
|
key: "2"
|
|
1030
1030
|
} : void 0,
|
|
1031
1031
|
e.$slots.optionImg ? {
|
|
1032
1032
|
name: "optionImg",
|
|
1033
|
-
fn:
|
|
1033
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1034
1034
|
key: "3"
|
|
1035
1035
|
} : void 0,
|
|
1036
1036
|
e.$slots.optionSvg ? {
|
|
1037
1037
|
name: "optionSvg",
|
|
1038
|
-
fn:
|
|
1038
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1039
1039
|
key: "4"
|
|
1040
1040
|
} : void 0,
|
|
1041
1041
|
e.$slots.optionTable ? {
|
|
1042
1042
|
name: "optionTable",
|
|
1043
|
-
fn:
|
|
1043
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1044
1044
|
key: "5"
|
|
1045
1045
|
} : void 0,
|
|
1046
1046
|
e.$slots.optionFullscreen ? {
|
|
1047
1047
|
name: "optionFullscreen",
|
|
1048
|
-
fn:
|
|
1048
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
|
|
1049
1049
|
toggleFullscreen: t,
|
|
1050
1050
|
isFullscreen: n
|
|
1051
1051
|
})), void 0, !0)]),
|
|
@@ -1053,7 +1053,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1053
1053
|
} : void 0,
|
|
1054
1054
|
e.$slots.optionAnnotator ? {
|
|
1055
1055
|
name: "optionAnnotator",
|
|
1056
|
-
fn:
|
|
1056
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
|
|
1057
1057
|
toggleAnnotator: t,
|
|
1058
1058
|
isAnnotator: n
|
|
1059
1059
|
})), void 0, !0)]),
|
|
@@ -1061,85 +1061,85 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1061
1061
|
} : void 0,
|
|
1062
1062
|
e.$slots.optionAltCopy ? {
|
|
1063
1063
|
name: "optionAltCopy",
|
|
1064
|
-
fn:
|
|
1064
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
1065
1065
|
key: "8"
|
|
1066
1066
|
} : void 0,
|
|
1067
1067
|
e.$slots["custom-menu-before"] ? {
|
|
1068
1068
|
name: "custom-menu-before",
|
|
1069
|
-
fn:
|
|
1069
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1070
1070
|
key: "9"
|
|
1071
1071
|
} : void 0,
|
|
1072
1072
|
e.$slots["custom-menu-after"] ? {
|
|
1073
1073
|
name: "custom-menu-after",
|
|
1074
|
-
fn:
|
|
1074
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1075
1075
|
key: "10"
|
|
1076
1076
|
} : void 0
|
|
1077
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
1078
|
-
|
|
1077
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
|
|
1078
|
+
h("div", ot, [(x(), m("svg", {
|
|
1079
1079
|
ref_key: "svgRef",
|
|
1080
1080
|
ref: Yn,
|
|
1081
|
-
xmlns:
|
|
1082
|
-
"aria-describedby": `chart-instructions-${
|
|
1083
|
-
class:
|
|
1081
|
+
xmlns: E(me),
|
|
1082
|
+
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1083
|
+
class: v({
|
|
1084
1084
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1085
1085
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
1086
|
-
"vue-data-ui-no-transition": !
|
|
1086
|
+
"vue-data-ui-no-transition": !E(Ln)
|
|
1087
1087
|
}),
|
|
1088
1088
|
viewBox: `0 0 ${G.value.absoluteWidth} ${G.value.absoluteHeight}`,
|
|
1089
|
-
style:
|
|
1089
|
+
style: b(`max-width:100%; overflow: visible; background:transparent;color:${R.value.style.chart.color};`),
|
|
1090
1090
|
tabindex: "0",
|
|
1091
1091
|
onFocus: Qr,
|
|
1092
1092
|
onBlur: $r,
|
|
1093
1093
|
onKeydown: ei
|
|
1094
1094
|
}, [
|
|
1095
|
-
|
|
1096
|
-
e.$slots["chart-background"] ? (
|
|
1095
|
+
Ke(E(qt)),
|
|
1096
|
+
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1097
1097
|
key: 0,
|
|
1098
1098
|
x: G.value.left,
|
|
1099
1099
|
y: G.value.top,
|
|
1100
1100
|
width: G.value.width,
|
|
1101
1101
|
height: G.value.height,
|
|
1102
1102
|
style: { pointerEvents: "none" }
|
|
1103
|
-
}, [
|
|
1104
|
-
|
|
1103
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : p("", !0),
|
|
1104
|
+
h("defs", null, [Ke(Fe, {
|
|
1105
1105
|
t: "linear",
|
|
1106
|
-
id: `hover_${
|
|
1106
|
+
id: `hover_${k.value}`,
|
|
1107
1107
|
x1: "0%",
|
|
1108
1108
|
y1: "0%",
|
|
1109
1109
|
x2: "0%",
|
|
1110
1110
|
y2: "100%",
|
|
1111
1111
|
stops: [[
|
|
1112
1112
|
"0%",
|
|
1113
|
-
|
|
1113
|
+
E(te)(R.value.style.chart.backgroundColor, R.value.style.chart.layout.highlighter.opacity),
|
|
1114
1114
|
1
|
|
1115
1115
|
], [
|
|
1116
1116
|
"100%",
|
|
1117
|
-
|
|
1117
|
+
E(te)(R.value.style.chart.layout.highlighter.color, R.value.style.chart.layout.highlighter.opacity),
|
|
1118
1118
|
1
|
|
1119
1119
|
]]
|
|
1120
|
-
}, null, 8, ["id", "stops"]),
|
|
1120
|
+
}, null, 8, ["id", "stops"]), Ke(Fe, {
|
|
1121
1121
|
t: "radial",
|
|
1122
|
-
id: `focus_${
|
|
1122
|
+
id: `focus_${k.value}`,
|
|
1123
1123
|
stops: [
|
|
1124
1124
|
[
|
|
1125
1125
|
"0%",
|
|
1126
|
-
|
|
1126
|
+
E(te)(E(ee)(R.value.style.chart.backgroundColor), 0),
|
|
1127
1127
|
1
|
|
1128
1128
|
],
|
|
1129
1129
|
[
|
|
1130
1130
|
"77%",
|
|
1131
|
-
|
|
1131
|
+
E(te)("#FFFFFF", 30),
|
|
1132
1132
|
1
|
|
1133
1133
|
],
|
|
1134
1134
|
[
|
|
1135
1135
|
"100%",
|
|
1136
|
-
|
|
1136
|
+
E(te)(E(ee)(R.value.style.chart.backgroundColor), 0),
|
|
1137
1137
|
1
|
|
1138
1138
|
]
|
|
1139
1139
|
]
|
|
1140
1140
|
}, null, 8, ["id", "stops"])]),
|
|
1141
|
-
R.value.style.chart.layout.grid.show ? (
|
|
1142
|
-
|
|
1141
|
+
R.value.style.chart.layout.grid.show ? (x(), m("g", lt, [
|
|
1142
|
+
h("line", {
|
|
1143
1143
|
x1: W.value ? G.value.right : G.value.left,
|
|
1144
1144
|
x2: W.value ? G.value.right : G.value.left,
|
|
1145
1145
|
y1: G.value.top,
|
|
@@ -1147,8 +1147,8 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1147
1147
|
stroke: R.value.style.chart.layout.grid.stroke,
|
|
1148
1148
|
"stroke-width": R.value.style.chart.layout.grid.strokeWidth,
|
|
1149
1149
|
"stroke-linecap": "round"
|
|
1150
|
-
}, null, 8,
|
|
1151
|
-
|
|
1150
|
+
}, null, 8, ut),
|
|
1151
|
+
h("line", {
|
|
1152
1152
|
x1: G.value.left,
|
|
1153
1153
|
x2: G.value.right,
|
|
1154
1154
|
y1: G.value.bottom,
|
|
@@ -1156,8 +1156,8 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1156
1156
|
stroke: R.value.style.chart.layout.grid.stroke,
|
|
1157
1157
|
"stroke-width": R.value.style.chart.layout.grid.strokeWidth,
|
|
1158
1158
|
"stroke-linecap": "round"
|
|
1159
|
-
}, null, 8,
|
|
1160
|
-
R.value.style.chart.layout.grid.showVerticalLines ? (
|
|
1159
|
+
}, null, 8, dt),
|
|
1160
|
+
R.value.style.chart.layout.grid.showVerticalLines ? (x(), m("g", ft, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("line", {
|
|
1161
1161
|
x1: G.value.left + (t + 1) * Y.value,
|
|
1162
1162
|
x2: G.value.left + (t + 1) * Y.value,
|
|
1163
1163
|
y1: G.value.top,
|
|
@@ -1165,51 +1165,51 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1165
1165
|
stroke: R.value.style.chart.layout.grid.stroke,
|
|
1166
1166
|
"stroke-width": R.value.style.chart.layout.grid.strokeWidth,
|
|
1167
1167
|
"stroke-linecap": "round"
|
|
1168
|
-
}, null, 8,
|
|
1169
|
-
])) :
|
|
1170
|
-
|
|
1168
|
+
}, null, 8, pt))), 256))])) : p("", !0)
|
|
1169
|
+
])) : p("", !0),
|
|
1170
|
+
h("g", null, [R.value.style.chart.layout.grid.axis.yLabel ? (x(), m("text", {
|
|
1171
1171
|
key: 0,
|
|
1172
1172
|
ref_key: "yAxisLabel",
|
|
1173
|
-
ref:
|
|
1173
|
+
ref: fn,
|
|
1174
1174
|
"font-size": R.value.style.chart.layout.grid.axis.fontSize,
|
|
1175
1175
|
fill: R.value.style.chart.layout.grid.axis.color,
|
|
1176
1176
|
transform: `translate(${W.value ? G.value.absoluteWidth - R.value.style.chart.layout.grid.axis.fontSize / 2 - R.value.style.chart.layout.grid.axis.yLabelOffsetX : R.value.style.chart.layout.grid.axis.fontSize}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
|
|
1177
1177
|
"text-anchor": "middle",
|
|
1178
1178
|
style: { transition: "none" }
|
|
1179
|
-
},
|
|
1179
|
+
}, T(R.value.style.chart.layout.grid.axis.yLabel), 9, mt)) : p("", !0), R.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
|
|
1180
1180
|
key: 1,
|
|
1181
1181
|
ref_key: "xAxisLabel",
|
|
1182
|
-
ref:
|
|
1182
|
+
ref: dn,
|
|
1183
1183
|
"text-anchor": "middle",
|
|
1184
1184
|
x: G.value.absoluteWidth / 2,
|
|
1185
1185
|
y: G.value.absoluteHeight - 3,
|
|
1186
1186
|
"font-size": R.value.style.chart.layout.grid.axis.fontSize,
|
|
1187
1187
|
fill: R.value.style.chart.layout.grid.axis.color
|
|
1188
|
-
},
|
|
1189
|
-
R.value.style.chart.layout.grid.yAxis.dataLabels.show ? (
|
|
1188
|
+
}, T(R.value.style.chart.layout.grid.axis.xLabel), 9, ht)) : p("", !0)]),
|
|
1189
|
+
R.value.style.chart.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
|
|
1190
1190
|
key: 2,
|
|
1191
1191
|
ref_key: "scaleLabels",
|
|
1192
|
-
ref:
|
|
1193
|
-
class:
|
|
1192
|
+
ref: ln,
|
|
1193
|
+
class: v({
|
|
1194
1194
|
"donut-opacity": !0,
|
|
1195
|
-
"donut-behind":
|
|
1195
|
+
"donut-behind": j.value !== null
|
|
1196
1196
|
})
|
|
1197
|
-
}, [(
|
|
1197
|
+
}, [(x(!0), m(u, null, C(fr.value, (e, t) => (x(), m("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (x(), m("path", {
|
|
1198
1198
|
key: 0,
|
|
1199
|
-
class:
|
|
1199
|
+
class: v({ "vue-data-ui-transition": E(Ln) }),
|
|
1200
1200
|
d: `M${W.value ? G.value.right : G.value.left},${e.y} ${W.value ? G.value.right + 5 : G.value.left - 5},${e.y}`,
|
|
1201
1201
|
stroke: R.value.style.chart.layout.grid.stroke,
|
|
1202
1202
|
"stroke-width": R.value.style.chart.layout.grid.strokeWidth,
|
|
1203
1203
|
"stroke-linecap": "round"
|
|
1204
|
-
}, null, 10,
|
|
1204
|
+
}, null, 10, gt)) : p("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), m("text", {
|
|
1205
1205
|
key: 1,
|
|
1206
|
-
class:
|
|
1206
|
+
class: v({ "vue-data-ui-transition": E(Ln) }),
|
|
1207
1207
|
transform: `translate(${W.value ? G.value.right - R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : G.value.left + R.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7}, ${e.y + R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3})`,
|
|
1208
1208
|
"font-size": R.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
|
|
1209
1209
|
"text-anchor": W.value ? "start" : "end",
|
|
1210
1210
|
fill: R.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
1211
1211
|
"font-weight": R.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
1212
|
-
},
|
|
1212
|
+
}, T(E(ge)(e.value) ? E(ue)(R.value.style.chart.layout.dataLabels.formatter, e.value, E(re)({
|
|
1213
1213
|
p: R.value.style.chart.layout.dataLabels.prefix,
|
|
1214
1214
|
v: e.value,
|
|
1215
1215
|
s: R.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -1217,39 +1217,39 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1217
1217
|
}), {
|
|
1218
1218
|
datapoint: e,
|
|
1219
1219
|
seriesIndex: t
|
|
1220
|
-
}) : ""), 11,
|
|
1221
|
-
R.value.style.chart.layout.grid.xAxis.dataLabels.show ? (
|
|
1220
|
+
}) : ""), 11, _t)) : p("", !0)]))), 128))], 2)) : p("", !0),
|
|
1221
|
+
R.value.style.chart.layout.grid.xAxis.dataLabels.show ? (x(), m("g", {
|
|
1222
1222
|
key: 3,
|
|
1223
1223
|
ref_key: "timeLabelsEls",
|
|
1224
|
-
ref:
|
|
1225
|
-
class:
|
|
1226
|
-
}, [(
|
|
1224
|
+
ref: un,
|
|
1225
|
+
class: v({ "donut-opacity": !0 })
|
|
1226
|
+
}, [(x(!0), m(u, null, C(V.value.end - V.value.start, (e, t) => (x(), m("g", null, [(R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (t === 0 || t === q.value - 1) || !R.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && J.value[t] && J.value[t].text ? (x(), m("g", vt, [String(J.value[t].text).includes("\n") ? (x(), m("text", {
|
|
1227
1227
|
key: 1,
|
|
1228
1228
|
class: "vue-data-ui-time-label",
|
|
1229
1229
|
"text-anchor": R.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : R.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1230
1230
|
"font-size": R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1231
1231
|
fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1232
1232
|
transform: `translate(${G.value.left + Y.value * t + Y.value / 2}, ${G.value.bottom + R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${R.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
|
|
1233
|
-
innerHTML:
|
|
1233
|
+
innerHTML: E(i)({
|
|
1234
1234
|
content: String(J.value[t].text),
|
|
1235
1235
|
fontSize: R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1236
1236
|
fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1237
1237
|
x: 0,
|
|
1238
1238
|
y: 0
|
|
1239
1239
|
})
|
|
1240
|
-
}, null, 8,
|
|
1240
|
+
}, null, 8, bt)) : (x(), m("text", {
|
|
1241
1241
|
key: 0,
|
|
1242
1242
|
class: "vue-data-ui-time-label",
|
|
1243
1243
|
"text-anchor": R.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : R.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
1244
1244
|
"font-size": R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
1245
1245
|
fill: R.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
1246
1246
|
transform: `translate(${G.value.left + Y.value * t + Y.value / 2}, ${G.value.bottom + R.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + R.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${R.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
1247
|
-
},
|
|
1248
|
-
(
|
|
1247
|
+
}, T(J.value[t].text || ""), 9, yt))])) : p("", !0)]))), 256))], 512)) : p("", !0),
|
|
1248
|
+
(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", null, [R.value.style.chart.layout.line.show && t < Z.value.length - 1 && ![e.subtotal, Z.value[t + 1].subtotal].includes(null) ? (x(), m("line", {
|
|
1249
1249
|
key: 0,
|
|
1250
|
-
class:
|
|
1250
|
+
class: v({
|
|
1251
1251
|
"donut-opacity": !0,
|
|
1252
|
-
"donut-behind":
|
|
1252
|
+
"donut-behind": j.value !== null
|
|
1253
1253
|
}),
|
|
1254
1254
|
x1: e.x,
|
|
1255
1255
|
y1: e.y,
|
|
@@ -1259,20 +1259,20 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1259
1259
|
"stroke-width": R.value.style.chart.layout.line.strokeWidth,
|
|
1260
1260
|
"stroke-linecap": "round",
|
|
1261
1261
|
"stroke-linejoin": "round"
|
|
1262
|
-
}, null, 10,
|
|
1262
|
+
}, null, 10, xt)) : p("", !0), e.subtotal === null ? p("", !0) : (x(), m("g", St, [e.subtotal ? (x(), m("circle", {
|
|
1263
1263
|
key: 0,
|
|
1264
1264
|
cx: e.x,
|
|
1265
1265
|
cy: e.y,
|
|
1266
1266
|
r: e.activeRadius,
|
|
1267
1267
|
fill: R.value.style.chart.backgroundColor
|
|
1268
|
-
}, null, 8,
|
|
1269
|
-
(
|
|
1268
|
+
}, null, 8, Ct)) : p("", !0)]))]))), 256)),
|
|
1269
|
+
(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
|
|
1270
1270
|
"donut-opacity": !0,
|
|
1271
|
-
"donut-behind": t !==
|
|
1272
|
-
}) }, [e.subtotal ? (
|
|
1273
|
-
(
|
|
1271
|
+
"donut-behind": t !== j.value && j.value !== null
|
|
1272
|
+
}) }, [e.subtotal ? (x(), m("g", wt, [j.value !== null && j.value === t ? (x(), m("g", Tt, [
|
|
1273
|
+
(x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Nr(t) ? (x(), m("path", {
|
|
1274
1274
|
key: 0,
|
|
1275
|
-
d:
|
|
1275
|
+
d: E(ce)(t, {
|
|
1276
1276
|
x: t.center.endX,
|
|
1277
1277
|
y: t.center.endY
|
|
1278
1278
|
}, 12, 12, {
|
|
@@ -1284,66 +1284,66 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1284
1284
|
"stroke-linecap": "round",
|
|
1285
1285
|
"stroke-linejoin": "round",
|
|
1286
1286
|
fill: "none"
|
|
1287
|
-
}, null, 8,
|
|
1288
|
-
(
|
|
1287
|
+
}, null, 8, Et)) : p("", !0)]))), 256)),
|
|
1288
|
+
(x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Nr(t) ? (x(), m("text", {
|
|
1289
1289
|
key: 0,
|
|
1290
1290
|
"data-cy-hover-label": "",
|
|
1291
|
-
"text-anchor":
|
|
1292
|
-
x:
|
|
1293
|
-
y:
|
|
1291
|
+
"text-anchor": E(se)(t, !0, 0).anchor,
|
|
1292
|
+
x: E(se)(t, !0, 9).x,
|
|
1293
|
+
y: E(fe)(t, 14, 10),
|
|
1294
1294
|
fill: R.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
1295
1295
|
"font-size": 8,
|
|
1296
1296
|
"font-weight": "bold"
|
|
1297
|
-
},
|
|
1298
|
-
|
|
1297
|
+
}, T(t.name) + ": " + T(mr(t, e.donut)) + " (" + T(t.value === null ? "-" : pr(t.value, t, n)) + ") ", 9, Dt)) : p("", !0)]))), 256)),
|
|
1298
|
+
h("g", null, [h("circle", {
|
|
1299
1299
|
cx: e.x,
|
|
1300
1300
|
cy: e.y,
|
|
1301
1301
|
r: e.hoverRadius,
|
|
1302
1302
|
fill: R.value.style.chart.backgroundColor
|
|
1303
|
-
}, null, 8,
|
|
1304
|
-
])) :
|
|
1305
|
-
(
|
|
1303
|
+
}, null, 8, Ot)])
|
|
1304
|
+
])) : p("", !0)])) : p("", !0)], 2))), 256)),
|
|
1305
|
+
(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
|
|
1306
1306
|
"donut-opacity": !0,
|
|
1307
|
-
"donut-behind": t !==
|
|
1308
|
-
}) }, [e.subtotal === null ?
|
|
1307
|
+
"donut-behind": t !== j.value && j.value !== null
|
|
1308
|
+
}) }, [e.subtotal === null ? p("", !0) : (x(), m("g", kt, [e.subtotal === 0 ? (x(), m("circle", {
|
|
1309
1309
|
key: 0,
|
|
1310
1310
|
cx: e.x,
|
|
1311
1311
|
cy: e.y,
|
|
1312
1312
|
r: 3,
|
|
1313
1313
|
fill: R.value.style.chart.color
|
|
1314
|
-
}, null, 8,
|
|
1314
|
+
}, null, 8, At)) : j.value !== null && j.value === t ? (x(), m("g", jt, [(x(!0), m(u, null, C(e.donutHover, (e, t) => (x(), m("path", {
|
|
1315
1315
|
d: e.arcSlice,
|
|
1316
1316
|
fill: `${e.color}`,
|
|
1317
1317
|
"stroke-width": 1,
|
|
1318
1318
|
stroke: R.value.style.chart.backgroundColor
|
|
1319
|
-
}, null, 8,
|
|
1319
|
+
}, null, 8, Mt))), 256))])) : (x(), m("g", Nt, [(x(!0), m(u, null, C(e.donut, (e, t) => (x(), m("path", {
|
|
1320
1320
|
d: e.arcSlice,
|
|
1321
1321
|
fill: `${e.color}`,
|
|
1322
1322
|
"stroke-width": .5,
|
|
1323
1323
|
stroke: R.value.style.chart.backgroundColor
|
|
1324
|
-
}, null, 8,
|
|
1325
|
-
(
|
|
1324
|
+
}, null, 8, Pt))), 256))]))]))], 2))), 256)),
|
|
1325
|
+
(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", { class: v({
|
|
1326
1326
|
"donut-opacity": !0,
|
|
1327
|
-
"donut-behind": t !==
|
|
1328
|
-
}) }, [e.subtotal !== null && R.value.style.chart.layout.dataLabels.show ? (
|
|
1327
|
+
"donut-behind": t !== j.value && j.value !== null || tn.value && t !== N.value.index
|
|
1328
|
+
}) }, [e.subtotal !== null && R.value.style.chart.layout.dataLabels.show ? (x(), m("text", {
|
|
1329
1329
|
key: 0,
|
|
1330
1330
|
"text-anchor": "middle",
|
|
1331
1331
|
x: e.x,
|
|
1332
|
-
y:
|
|
1332
|
+
y: j.value === e.index && e.subtotal ? e.y + R.value.style.chart.layout.dataLabels.fontSize / 3 : e.y - e.radius - R.value.style.chart.layout.dataLabels.fontSize + R.value.style.chart.layout.dataLabels.offsetY,
|
|
1333
1333
|
"font-size": R.value.style.chart.layout.dataLabels.fontSize,
|
|
1334
1334
|
"font-weight": "bold",
|
|
1335
1335
|
fill: R.value.style.chart.layout.dataLabels.color
|
|
1336
|
-
},
|
|
1337
|
-
(
|
|
1336
|
+
}, T(pr(e.subtotal, e, t)), 9, Ft)) : p("", !0)], 2))), 256)),
|
|
1337
|
+
(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
|
|
1338
1338
|
x: G.value.left + t * Y.value,
|
|
1339
1339
|
y: G.value.top,
|
|
1340
1340
|
width: Y.value,
|
|
1341
1341
|
height: G.value.height,
|
|
1342
|
-
fill: [
|
|
1343
|
-
class:
|
|
1342
|
+
fill: [j.value, _r.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
|
|
1343
|
+
class: v({ "donut-hover": z.value && e.subtotal && [j.value, _r.value].includes(e.index) }),
|
|
1344
1344
|
style: { pointerEvents: "none" }
|
|
1345
|
-
}, null, 10,
|
|
1346
|
-
(
|
|
1345
|
+
}, null, 10, It))), 256)),
|
|
1346
|
+
(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
|
|
1347
1347
|
"data-cy-trap": "",
|
|
1348
1348
|
x: G.value.left + t * Y.value,
|
|
1349
1349
|
y: G.value.top,
|
|
@@ -1353,27 +1353,27 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1353
1353
|
onMouseenter: (t) => gr(e),
|
|
1354
1354
|
onMouseleave: (t) => hr(e),
|
|
1355
1355
|
onClick: (n) => vr(e, t),
|
|
1356
|
-
class:
|
|
1357
|
-
}, null, 42,
|
|
1358
|
-
|
|
1356
|
+
class: v({ "donut-hover": z.value && j.value === e.index && e.subtotal })
|
|
1357
|
+
}, null, 42, Lt))), 256)),
|
|
1358
|
+
w(e.$slots, "svg", { svg: {
|
|
1359
1359
|
...G.value,
|
|
1360
|
-
isPrintingImg:
|
|
1361
|
-
isPrintingSvg:
|
|
1360
|
+
isPrintingImg: E(Zn) || E(Qn) || E(qr),
|
|
1361
|
+
isPrintingSvg: E(Jr)
|
|
1362
1362
|
} }, void 0, !0)
|
|
1363
|
-
], 46,
|
|
1363
|
+
], 46, st)), e.$slots.hint ? (x(), m("div", Rt, [w(e.$slots, "hint", y(_({
|
|
1364
1364
|
hint: R.value.a11y.translations.keyboardNavigation,
|
|
1365
1365
|
isVisible: Mn.value
|
|
1366
|
-
})), void 0, !0)])) :
|
|
1367
|
-
e.$slots.watermark ? (
|
|
1368
|
-
|
|
1366
|
+
})), void 0, !0)])) : p("", !0)]),
|
|
1367
|
+
e.$slots.watermark ? (x(), m("div", zt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Zn) || E(Qn) || E(qr) || E(Jr) })), void 0, !0)])) : p("", !0),
|
|
1368
|
+
h("div", {
|
|
1369
1369
|
ref_key: "chartSlicer",
|
|
1370
1370
|
ref: kn,
|
|
1371
|
-
style:
|
|
1371
|
+
style: b(`width:100%;background:${R.value.style.chart.backgroundColor}`),
|
|
1372
1372
|
"data-dom-to-png-ignore": ""
|
|
1373
|
-
}, [q.value > 1 && R.value.style.chart.zoom.show ? (
|
|
1373
|
+
}, [q.value > 1 && R.value.style.chart.zoom.show ? (x(), f(Ie, {
|
|
1374
1374
|
ref_key: "slicerComponent",
|
|
1375
1375
|
ref: On,
|
|
1376
|
-
key: `slicer_${
|
|
1376
|
+
key: `slicer_${an.value}`,
|
|
1377
1377
|
background: R.value.style.chart.zoom.color,
|
|
1378
1378
|
borderColor: R.value.style.chart.backgroundColor,
|
|
1379
1379
|
fontSize: R.value.style.chart.zoom.fontSize,
|
|
@@ -1402,7 +1402,7 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1402
1402
|
minimapRightInsetRatio: G.value.absoluteWidth > 0 && R.value.style.chart.zoom.autoFit ? (G.value.absoluteWidth - G.value.right) / G.value.absoluteWidth : null,
|
|
1403
1403
|
onReset: Un
|
|
1404
1404
|
}, {
|
|
1405
|
-
"reset-action":
|
|
1405
|
+
"reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
|
|
1406
1406
|
_: 3
|
|
1407
1407
|
}, 8, [
|
|
1408
1408
|
"background",
|
|
@@ -1428,52 +1428,52 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1428
1428
|
"maxWidth",
|
|
1429
1429
|
"minimapLeftInsetRatio",
|
|
1430
1430
|
"minimapRightInsetRatio"
|
|
1431
|
-
])) :
|
|
1432
|
-
|
|
1433
|
-
|
|
1431
|
+
])) : p("", !0)], 4),
|
|
1432
|
+
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Bt),
|
|
1433
|
+
pn.value && (R.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Ue, {
|
|
1434
1434
|
key: 6,
|
|
1435
|
-
to: R.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1436
|
-
}, [
|
|
1435
|
+
to: R.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1436
|
+
}, [h("div", {
|
|
1437
1437
|
ref_key: "chartLegend",
|
|
1438
1438
|
ref: En
|
|
1439
|
-
}, [
|
|
1440
|
-
key: `legend_${
|
|
1439
|
+
}, [w(e.$slots, "legend", { legend: yr.value }, () => [R.value.style.chart.legend.show ? (x(), f(Ve, {
|
|
1440
|
+
key: `legend_${cn.value}`,
|
|
1441
1441
|
legendSet: yr.value,
|
|
1442
1442
|
config: xr.value,
|
|
1443
1443
|
onClickMarker: t[2] ||= ({ legend: e }) => Cr(e.uid)
|
|
1444
1444
|
}, {
|
|
1445
|
-
item:
|
|
1445
|
+
item: D(({ legend: e, index: t }) => [h("div", {
|
|
1446
1446
|
onClick: (t) => Cr(e.uid),
|
|
1447
|
-
style:
|
|
1448
|
-
},
|
|
1449
|
-
legendToggle:
|
|
1447
|
+
style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
|
|
1448
|
+
}, T(e.display), 13, Vt)]),
|
|
1449
|
+
legendToggle: D(() => [yr.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(zn) ? (x(), f(Le, {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1452
1452
|
color: R.value.style.chart.legend.selectAllToggle.color,
|
|
1453
1453
|
fontSize: R.value.style.chart.legend.fontSize,
|
|
1454
|
-
checked:
|
|
1454
|
+
checked: A.value.length > 0,
|
|
1455
1455
|
onToggle: Sr
|
|
1456
1456
|
}, null, 8, [
|
|
1457
1457
|
"backgroundColor",
|
|
1458
1458
|
"color",
|
|
1459
1459
|
"fontSize",
|
|
1460
1460
|
"checked"
|
|
1461
|
-
])) :
|
|
1461
|
+
])) : p("", !0)]),
|
|
1462
1462
|
_: 1
|
|
1463
|
-
}, 8, ["legendSet", "config"])) :
|
|
1464
|
-
e.$slots.source ? (
|
|
1463
|
+
}, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1464
|
+
e.$slots.source ? (x(), m("div", {
|
|
1465
1465
|
key: 7,
|
|
1466
1466
|
ref_key: "source",
|
|
1467
1467
|
ref: Dn,
|
|
1468
1468
|
dir: "auto"
|
|
1469
|
-
}, [
|
|
1470
|
-
Pn.value && R.value.userOptions.buttons.table ? (
|
|
1469
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1470
|
+
Pn.value && R.value.userOptions.buttons.table ? (x(), f(Ze(Vr.value.component), qe({ key: 8 }, Vr.value.props, {
|
|
1471
1471
|
ref_key: "tableUnit",
|
|
1472
|
-
ref:
|
|
1472
|
+
ref: mn,
|
|
1473
1473
|
onClose: Hr
|
|
1474
|
-
}),
|
|
1475
|
-
content:
|
|
1476
|
-
key: `table_${
|
|
1474
|
+
}), We({
|
|
1475
|
+
content: D(() => [(x(), f(E(Kt), {
|
|
1476
|
+
key: `table_${sn.value}`,
|
|
1477
1477
|
colNames: Q.value.colNames,
|
|
1478
1478
|
head: Q.value.head,
|
|
1479
1479
|
body: Q.value.body,
|
|
@@ -1483,8 +1483,8 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1483
1483
|
isCursorPointer: z.value,
|
|
1484
1484
|
onClose: Hr
|
|
1485
1485
|
}, {
|
|
1486
|
-
th:
|
|
1487
|
-
td:
|
|
1486
|
+
th: D(({ th: e }) => [Ge(T(e.name ?? e), 1)]),
|
|
1487
|
+
td: D(({ td: e }) => [e.value === null ? (x(), m("span", Ht, "-")) : (x(), m("b", Ut, T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(R.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : R.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(R.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
|
|
1488
1488
|
_: 1
|
|
1489
1489
|
}, 8, [
|
|
1490
1490
|
"colNames",
|
|
@@ -1498,41 +1498,41 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1498
1498
|
_: 2
|
|
1499
1499
|
}, [R.value.table.useDialog ? {
|
|
1500
1500
|
name: "title",
|
|
1501
|
-
fn:
|
|
1501
|
+
fn: D(() => [Ge(T(Vr.value.title), 1)]),
|
|
1502
1502
|
key: "0"
|
|
1503
1503
|
} : void 0, R.value.table.useDialog ? {
|
|
1504
1504
|
name: "actions",
|
|
1505
|
-
fn:
|
|
1505
|
+
fn: D(() => [h("button", {
|
|
1506
1506
|
tabindex: "0",
|
|
1507
1507
|
class: "vue-ui-user-options-button",
|
|
1508
1508
|
onClick: t[3] ||= (e) => Or(R.value.userOptions.callbacks.csv),
|
|
1509
|
-
style:
|
|
1510
|
-
}, [
|
|
1509
|
+
style: b({ cursor: z.value ? "cursor" : "default" })
|
|
1510
|
+
}, [Ke(E(Gt), {
|
|
1511
1511
|
name: "fileCsv",
|
|
1512
1512
|
stroke: Vr.value.props.color
|
|
1513
1513
|
}, null, 8, ["stroke"])], 4)]),
|
|
1514
1514
|
key: "1"
|
|
1515
|
-
} : void 0]), 1040)) :
|
|
1516
|
-
R.value.style.chart.dialog.show ? (
|
|
1515
|
+
} : void 0]), 1040)) : p("", !0),
|
|
1516
|
+
R.value.style.chart.dialog.show ? (x(), f(E(Zt), {
|
|
1517
1517
|
key: 9,
|
|
1518
1518
|
ref_key: "dialog",
|
|
1519
1519
|
ref: Ir,
|
|
1520
1520
|
onClose: t[4] ||= (e) => {
|
|
1521
|
-
|
|
1521
|
+
N.value = null, tn.value = !1, M.value = null, j.value = null, _r.value = null;
|
|
1522
1522
|
},
|
|
1523
1523
|
backgroundColor: R.value.style.chart.dialog.backgroundColor,
|
|
1524
1524
|
color: R.value.style.chart.dialog.color,
|
|
1525
1525
|
headerBg: R.value.style.chart.dialog.header.backgroundColor,
|
|
1526
1526
|
headerColor: R.value.style.chart.dialog.header.color,
|
|
1527
1527
|
isFullscreen: $.value,
|
|
1528
|
-
fullscreenParent:
|
|
1528
|
+
fullscreenParent: P.value
|
|
1529
1529
|
}, {
|
|
1530
|
-
title:
|
|
1531
|
-
content:
|
|
1530
|
+
title: D(() => [Ge(T(J.value[Number(N.value.index)] ? J.value[Number(N.value.index)].text : ""), 1)]),
|
|
1531
|
+
content: D(() => [N.value ? (x(), f(E(Xt), {
|
|
1532
1532
|
key: 0,
|
|
1533
1533
|
config: Fr.value,
|
|
1534
1534
|
dataset: Pr.value
|
|
1535
|
-
}, null, 8, ["config", "dataset"])) :
|
|
1535
|
+
}, null, 8, ["config", "dataset"])) : p("", !0)]),
|
|
1536
1536
|
_: 1
|
|
1537
1537
|
}, 8, [
|
|
1538
1538
|
"backgroundColor",
|
|
@@ -1541,10 +1541,10 @@ var rt = /* @__PURE__ */ e({ default: () => Gt }), it = ["id"], at = ["id"], ot
|
|
|
1541
1541
|
"headerColor",
|
|
1542
1542
|
"isFullscreen",
|
|
1543
1543
|
"fullscreenParent"
|
|
1544
|
-
])) :
|
|
1545
|
-
|
|
1546
|
-
], 46,
|
|
1544
|
+
])) : p("", !0),
|
|
1545
|
+
E(zn) ? (x(), f(Ce, { key: 10 })) : p("", !0)
|
|
1546
|
+
], 46, rt));
|
|
1547
1547
|
}
|
|
1548
1548
|
}, [["__scopeId", "data-v-9711e76c"]]);
|
|
1549
1549
|
//#endregion
|
|
1550
|
-
export {
|
|
1550
|
+
export { nt as n, Wt as t };
|