vue-data-ui 3.22.6 → 3.22.7
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-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/exposedLib-Be0ifkti.js +19 -0
- package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
- package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.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/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
- package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
- package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
- package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
- package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
- package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
- package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
- package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
- package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
- package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
- package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
- package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
- package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
- package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
- package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
- package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
- package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
- package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
- package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
- package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
- package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
- package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
- package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t 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 { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { Fragment as
|
|
2
|
+
import { Gt as t, H as n, Ot as r, Q as i, R as a, S as o, Ut as ee, W as s, X as c, b as l, i as te, j as ne, jt as u, q as re, r as ie, s as ae, t as oe, ut as se, w as ce, xt as d } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as le } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
+
import { t as ue } from "./useConfig-DYM3f6EI.js";
|
|
5
|
+
import { t as de } from "./usePrinter-DnGzpp6Q.js";
|
|
6
|
+
import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as me } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
+
import { t as he } from "./useNestedProp-D8XqxgOU.js";
|
|
9
|
+
import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as _e } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { n as ve } from "./Title-PiTKr6sp.js";
|
|
12
|
+
import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as be } from "./canvas-lib-BOP_HS11.js";
|
|
14
|
+
import { t as xe } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
+
import { t as Se } from "./A11yDataTable-DdRsVULz.js";
|
|
16
|
+
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
|
+
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
+
import { t as Te } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
+
import { t as Ee } from "./BaseDraggableDialog-1wwwdwV2.js";
|
|
20
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Ne, onMounted as Pe, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as E, toRefs as Le, unref as D, watch as Re, watchEffect as ze, withCtx as O } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
|
-
var
|
|
22
|
+
var Be = /* @__PURE__ */ e({ default: () => st }), Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
|
|
23
23
|
"xmlns",
|
|
24
24
|
"aria-describedby",
|
|
25
25
|
"viewBox"
|
|
26
|
-
],
|
|
26
|
+
], Ge = [
|
|
27
27
|
"x",
|
|
28
28
|
"y",
|
|
29
29
|
"width",
|
|
30
30
|
"height"
|
|
31
|
-
],
|
|
31
|
+
], Ke = [
|
|
32
32
|
"d",
|
|
33
33
|
"stroke",
|
|
34
34
|
"stroke-width",
|
|
35
35
|
"onMouseenter"
|
|
36
|
-
],
|
|
36
|
+
], qe = [
|
|
37
37
|
"d",
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width",
|
|
40
40
|
"onMouseenter",
|
|
41
41
|
"onMouseleave",
|
|
42
42
|
"onClick"
|
|
43
|
-
],
|
|
43
|
+
], Je = [
|
|
44
44
|
"cx",
|
|
45
45
|
"cy",
|
|
46
46
|
"r",
|
|
@@ -50,21 +50,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
50
50
|
"onMouseenter",
|
|
51
51
|
"onMouseleave",
|
|
52
52
|
"onClick"
|
|
53
|
-
],
|
|
53
|
+
], Ye = [
|
|
54
54
|
"x",
|
|
55
55
|
"y",
|
|
56
56
|
"fill",
|
|
57
57
|
"font-size"
|
|
58
|
-
],
|
|
58
|
+
], Xe = [
|
|
59
59
|
"onMouseenter",
|
|
60
60
|
"onMouseleave",
|
|
61
61
|
"onClick"
|
|
62
|
-
],
|
|
62
|
+
], Ze = [
|
|
63
63
|
"x",
|
|
64
64
|
"y",
|
|
65
65
|
"fill",
|
|
66
66
|
"font-size"
|
|
67
|
-
],
|
|
67
|
+
], Qe = [
|
|
68
68
|
"x",
|
|
69
69
|
"y",
|
|
70
70
|
"fill",
|
|
@@ -74,7 +74,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
74
74
|
"onMouseenter",
|
|
75
75
|
"onMouseleave",
|
|
76
76
|
"onClick"
|
|
77
|
-
],
|
|
77
|
+
], $e = [
|
|
78
78
|
"x",
|
|
79
79
|
"y",
|
|
80
80
|
"fill",
|
|
@@ -84,19 +84,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
84
84
|
"onMouseenter",
|
|
85
85
|
"onMouseleave",
|
|
86
86
|
"onClick"
|
|
87
|
-
],
|
|
87
|
+
], et = { key: 0 }, tt = { key: 1 }, nt = [
|
|
88
88
|
"text-anchor",
|
|
89
89
|
"font-size",
|
|
90
90
|
"font-weight",
|
|
91
91
|
"fill",
|
|
92
92
|
"transform"
|
|
93
|
-
],
|
|
93
|
+
], rt = [
|
|
94
94
|
"text-anchor",
|
|
95
95
|
"font-size",
|
|
96
96
|
"fill",
|
|
97
97
|
"transform",
|
|
98
98
|
"innerHTML"
|
|
99
|
-
],
|
|
99
|
+
], it = {
|
|
100
100
|
key: 0,
|
|
101
101
|
style: {
|
|
102
102
|
position: "absolute",
|
|
@@ -106,10 +106,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
106
106
|
},
|
|
107
107
|
"data-dom-to-png-ignore": "",
|
|
108
108
|
"aria-hidden": "true"
|
|
109
|
-
},
|
|
109
|
+
}, at = {
|
|
110
110
|
key: 5,
|
|
111
111
|
class: "vue-data-ui-watermark"
|
|
112
|
-
},
|
|
112
|
+
}, ot = ["innerHTML"], st = /*#__PURE__*/ ye({
|
|
113
113
|
__name: "vue-ui-bump",
|
|
114
114
|
props: {
|
|
115
115
|
config: {
|
|
@@ -126,15 +126,15 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
emits: ["copyAlt"],
|
|
129
|
-
setup(e, { expose:
|
|
130
|
-
let
|
|
129
|
+
setup(e, { expose: ye, emit: Be }) {
|
|
130
|
+
let st = v(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), ct = v(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), lt = v(() => import("./DataTable-CVF7DoZn.js")), ut = v(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), dt = v(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), ft = v(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), { vue_ui_bump: pt } = ue(), { isThemeValid: mt, warnInvalidTheme: ht } = ge(), k = e, gt = Be, _t = p({
|
|
131
131
|
get() {
|
|
132
|
-
return !!
|
|
132
|
+
return !!k.dataset && k.dataset.length;
|
|
133
133
|
},
|
|
134
134
|
set(e) {
|
|
135
135
|
return e;
|
|
136
136
|
}
|
|
137
|
-
}),
|
|
137
|
+
}), A = C(null), j = C(s()), vt = C(0), yt = C(null), bt = C(null), xt = C(null), St = C(!1), Ct = C(!1), wt = C(0), Tt = C(0), M = C(null), Et = C(null), Dt = C(!1), Ot = C(!1), kt = C(!1), N = C(null), At = C(null), jt = C(null), Mt = C(null), P = C(null), Nt = C(!1), F = C(Rt()), I = p(() => F.value.userOptions.useCursorPointer), Pt = p(() => t({
|
|
138
138
|
defaultConfig: {
|
|
139
139
|
userOptions: { show: !1 },
|
|
140
140
|
style: { chart: {
|
|
@@ -154,11 +154,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
154
154
|
} }
|
|
155
155
|
},
|
|
156
156
|
userConfig: F.value.skeletonConfig ?? {}
|
|
157
|
-
})), { loading: Ft, FINAL_DATASET: It, manualLoading: Lt } =
|
|
158
|
-
...
|
|
157
|
+
})), { loading: Ft, FINAL_DATASET: It, manualLoading: Lt } = fe({
|
|
158
|
+
...Le(k),
|
|
159
159
|
FINAL_CONFIG: F,
|
|
160
160
|
prepareConfig: Rt,
|
|
161
|
-
skeletonDataset:
|
|
161
|
+
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
162
162
|
{
|
|
163
163
|
name: "————",
|
|
164
164
|
values: [
|
|
@@ -208,59 +208,59 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
208
208
|
color: "#8A8A8A"
|
|
209
209
|
}
|
|
210
210
|
],
|
|
211
|
-
skeletonConfig:
|
|
211
|
+
skeletonConfig: t({
|
|
212
212
|
defaultConfig: F.value,
|
|
213
213
|
userConfig: Pt.value
|
|
214
214
|
})
|
|
215
215
|
});
|
|
216
|
-
|
|
216
|
+
Pe(Qt);
|
|
217
217
|
function Rt() {
|
|
218
|
-
let e =
|
|
219
|
-
userConfig:
|
|
220
|
-
defaultConfig:
|
|
221
|
-
}),
|
|
222
|
-
if (
|
|
218
|
+
let e = he({
|
|
219
|
+
userConfig: k.config,
|
|
220
|
+
defaultConfig: pt
|
|
221
|
+
}), t = {}, n = e.theme;
|
|
222
|
+
if (n) if (!mt.value(e)) ht(e), t = e;
|
|
223
223
|
else {
|
|
224
|
-
let
|
|
225
|
-
userConfig:
|
|
224
|
+
let r = he({
|
|
225
|
+
userConfig: Te[n] || k.config,
|
|
226
226
|
defaultConfig: e
|
|
227
227
|
});
|
|
228
|
-
|
|
229
|
-
...
|
|
230
|
-
userConfig:
|
|
231
|
-
defaultConfig:
|
|
228
|
+
t = {
|
|
229
|
+
...he({
|
|
230
|
+
userConfig: k.config,
|
|
231
|
+
defaultConfig: r
|
|
232
232
|
}),
|
|
233
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
233
|
+
customPalette: e.customPalette.length ? e.customPalette : ee[n] || u
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
else
|
|
237
|
-
return
|
|
236
|
+
else t = e;
|
|
237
|
+
return t;
|
|
238
238
|
}
|
|
239
|
-
let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } =
|
|
239
|
+
let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = Ce({ config: F.value }), { svgRef: L } = we({ config: F.value.style.chart.title });
|
|
240
240
|
function Ht() {
|
|
241
241
|
Dt.value = !0, Bt(!0);
|
|
242
242
|
}
|
|
243
243
|
function Ut() {
|
|
244
244
|
Bt(!1), Dt.value = !1;
|
|
245
245
|
}
|
|
246
|
-
let R =
|
|
247
|
-
|
|
246
|
+
let R = C({ showTable: F.value.table.show });
|
|
247
|
+
Re(F, () => {
|
|
248
248
|
R.value = { showTable: F.value.table.show };
|
|
249
|
-
}, { immediate: !0 }),
|
|
249
|
+
}, { immediate: !0 }), Re(() => k.config, (e) => {
|
|
250
250
|
Ft.value || (F.value = Rt()), zt.value = !F.value.userOptions.showOnChartHover, Qt(), wt.value += 1, Tt.value += 1, R.value.showTable = F.value.table.show, z.value.width = F.value.style.chart.width, z.value.height = F.value.style.chart.height, z.value.paddingRatio = {
|
|
251
251
|
top: F.value.style.chart.padding.top / F.value.style.chart.height,
|
|
252
252
|
right: F.value.style.chart.padding.right / F.value.style.chart.width,
|
|
253
253
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
254
254
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
255
255
|
};
|
|
256
|
-
}),
|
|
256
|
+
}), Re(() => k.dataset, (e) => {
|
|
257
257
|
Array.isArray(e) && e.length > 0 && (Lt.value = !1);
|
|
258
258
|
}, { deep: !0 });
|
|
259
|
-
let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } =
|
|
260
|
-
elementId: `bump_${
|
|
259
|
+
let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = de({
|
|
260
|
+
elementId: `bump_${j.value}`,
|
|
261
261
|
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
262
262
|
options: F.value.userOptions.print
|
|
263
|
-
}), Jt =
|
|
263
|
+
}), Jt = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = C({
|
|
264
264
|
width: F.value.style.chart.width,
|
|
265
265
|
height: F.value.style.chart.height,
|
|
266
266
|
paddingRatio: {
|
|
@@ -269,18 +269,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
269
269
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
270
270
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
271
271
|
}
|
|
272
|
-
}), Yt =
|
|
272
|
+
}), Yt = p(() => o(F.value.customPalette)), B = Ie(null), V = Ie(null), Xt = C(null), Zt = p(() => !!F.value.debug);
|
|
273
273
|
function Qt() {
|
|
274
|
-
if (
|
|
274
|
+
if (r(k.dataset) ? (i({
|
|
275
275
|
componentName: "VueUiBump",
|
|
276
276
|
type: "dataset",
|
|
277
277
|
debug: Zt.value
|
|
278
|
-
}), Lt.value = !0) :
|
|
279
|
-
|
|
278
|
+
}), Lt.value = !0) : k.dataset.forEach((e, t) => {
|
|
279
|
+
se({
|
|
280
280
|
datasetObject: e,
|
|
281
281
|
requiredAttributes: ["name", "values"]
|
|
282
282
|
}).forEach((e) => {
|
|
283
|
-
|
|
283
|
+
_t.value = !1, i({
|
|
284
284
|
componentName: "VueUiBump",
|
|
285
285
|
type: "datasetSerieAttribute",
|
|
286
286
|
property: e,
|
|
@@ -288,18 +288,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
288
288
|
debug: Zt.value
|
|
289
289
|
}), Lt.value = !0;
|
|
290
290
|
});
|
|
291
|
-
}),
|
|
291
|
+
}), r(k.dataset) || (Lt.value = F.value.loading), setTimeout(() => {
|
|
292
292
|
Ct.value = !0;
|
|
293
293
|
}, 10), F.value.responsive) {
|
|
294
|
-
let e =
|
|
294
|
+
let e = be(() => {
|
|
295
295
|
Ct.value = !1;
|
|
296
|
-
let { width: e, height: t } =
|
|
297
|
-
chart:
|
|
298
|
-
noTitle:
|
|
299
|
-
title: F.value.style.chart.title.text ?
|
|
296
|
+
let { width: e, height: t } = xe({
|
|
297
|
+
chart: A.value,
|
|
298
|
+
noTitle: bt.value,
|
|
299
|
+
title: F.value.style.chart.title.text ? yt.value : null,
|
|
300
300
|
legend: null,
|
|
301
301
|
slicer: null,
|
|
302
|
-
source:
|
|
302
|
+
source: xt.value
|
|
303
303
|
});
|
|
304
304
|
requestAnimationFrame(() => {
|
|
305
305
|
z.value.width = e, z.value.height = t - 12, clearTimeout(Xt.value), Xt.value = setTimeout(() => {
|
|
@@ -307,21 +307,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
307
307
|
}, 10);
|
|
308
308
|
});
|
|
309
309
|
});
|
|
310
|
-
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value =
|
|
310
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = A.value.parentNode, B.value.observe(V.value);
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
|
|
313
|
+
Ne(() => {
|
|
314
314
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
315
315
|
});
|
|
316
|
-
let $t =
|
|
317
|
-
let
|
|
316
|
+
let $t = p(() => It.value.map((e, t) => {
|
|
317
|
+
let n = l(e.color) || Yt.value[t] || u[t] || u[t % u.length];
|
|
318
318
|
return {
|
|
319
319
|
...e,
|
|
320
|
-
absoluteIndex:
|
|
320
|
+
absoluteIndex: t,
|
|
321
321
|
id: s(),
|
|
322
|
-
color:
|
|
322
|
+
color: n
|
|
323
323
|
};
|
|
324
|
-
})), H =
|
|
324
|
+
})), H = p(() => Math.max(...$t.value.map((e) => e.values.length)));
|
|
325
325
|
function en(e) {
|
|
326
326
|
let t = e.map(() => Array(H.value).fill(null));
|
|
327
327
|
for (let n = 0; n < H.value; n += 1) {
|
|
@@ -352,20 +352,20 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
352
352
|
return n > e ? n : e;
|
|
353
353
|
}, 0)), e;
|
|
354
354
|
}
|
|
355
|
-
let rn =
|
|
355
|
+
let rn = C(0), an = be((e) => {
|
|
356
356
|
rn.value = e;
|
|
357
357
|
}, 100);
|
|
358
|
-
|
|
358
|
+
ze((e) => {
|
|
359
359
|
let t = Mt.value;
|
|
360
360
|
if (!t) return;
|
|
361
361
|
let n = new ResizeObserver((e) => {
|
|
362
362
|
an(e[0].contentRect.height);
|
|
363
363
|
});
|
|
364
364
|
n.observe(t), e(() => n.disconnect());
|
|
365
|
-
}),
|
|
365
|
+
}), Ne(() => {
|
|
366
366
|
rn.value = 0;
|
|
367
367
|
});
|
|
368
|
-
let on =
|
|
368
|
+
let on = p(() => {
|
|
369
369
|
let e = F.value.style.chart.layout.timeLabels;
|
|
370
370
|
if (!e.show) return 0;
|
|
371
371
|
let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
|
|
@@ -378,10 +378,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
378
378
|
return Math.max(e, n);
|
|
379
379
|
}, 0), ee = t * 1.3 * a, s = o * t * (o === 1 ? 1 : .6), c = Math.abs(Math.sin(r)) * s + Math.abs(Math.cos(r)) * ee, l = t * .3;
|
|
380
380
|
return Math.max(0, c + Math.abs(e.offsetY) + l);
|
|
381
|
-
}), U =
|
|
382
|
-
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = tn(), a = nn(), o = F.value.style.chart.padding.top, ee = t - t * n - a, s = t * r + i, c = t - t * n - t * r - i - a, l = e - o - F.value.style.chart.padding.bottom - on.value, te = o + l,
|
|
381
|
+
}), U = p(() => {
|
|
382
|
+
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = tn(), a = nn(), o = F.value.style.chart.padding.top, ee = t - t * n - a, s = t * r + i, c = t - t * n - t * r - i - a, l = e - o - F.value.style.chart.padding.bottom - on.value, te = o + l, ne = o + l, u = Math.max(0, e);
|
|
383
383
|
return {
|
|
384
|
-
chartHeight:
|
|
384
|
+
chartHeight: ne,
|
|
385
385
|
chartWidth: Math.max(0, t),
|
|
386
386
|
top: o,
|
|
387
387
|
right: Math.max(0, ee),
|
|
@@ -391,17 +391,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
391
391
|
height: Math.max(0, l),
|
|
392
392
|
unitH: Math.max(0, l) / $t.value.length,
|
|
393
393
|
unitW: Math.max(0, c) / H.value,
|
|
394
|
-
svgHeight:
|
|
394
|
+
svgHeight: u
|
|
395
395
|
};
|
|
396
|
-
}), W =
|
|
397
|
-
if (!
|
|
396
|
+
}), W = p(() => {
|
|
397
|
+
if (!_t.value && !Ft.value) return [];
|
|
398
398
|
let e = en($t.value);
|
|
399
399
|
return $t.value.map((t, n) => ({
|
|
400
400
|
...t,
|
|
401
401
|
positions: e[n]
|
|
402
402
|
})).map((e) => {
|
|
403
403
|
let t = e.positions.map((t, n) => {
|
|
404
|
-
let r =
|
|
404
|
+
let r = te(F.value.style.chart.layout.plots.labels.formatter, e.values[n], re({
|
|
405
405
|
p: F.value.style.chart.layout.plots.labels.prefix,
|
|
406
406
|
v: e.values[n],
|
|
407
407
|
s: F.value.style.chart.layout.plots.labels.suffix,
|
|
@@ -416,9 +416,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
416
416
|
displayValue: r,
|
|
417
417
|
rank: e.positions[n] + 1,
|
|
418
418
|
color: e.color,
|
|
419
|
-
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ?
|
|
419
|
+
labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? ie(e.color) : l(F.value.style.chart.layout.plots.labels.color) ?? ie(e.color)
|
|
420
420
|
};
|
|
421
|
-
}), n = t.filter((e) =>
|
|
421
|
+
}), n = t.filter((e) => d(e.value)), r = F.value.style.chart.layout.lines.smooth ? ne(n) : a(n);
|
|
422
422
|
return {
|
|
423
423
|
...e,
|
|
424
424
|
coordinates: t,
|
|
@@ -426,14 +426,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
426
426
|
};
|
|
427
427
|
});
|
|
428
428
|
});
|
|
429
|
-
|
|
429
|
+
p(() => W.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
|
|
430
430
|
...n,
|
|
431
431
|
pointIndex: r,
|
|
432
432
|
seriesIndex: t,
|
|
433
433
|
seriesId: e.id,
|
|
434
434
|
seriesName: e.name,
|
|
435
435
|
pointId: `${e.id}_${r}`
|
|
436
|
-
})).filter((e) =>
|
|
436
|
+
})).filter((e) => d(e.value))));
|
|
437
437
|
function sn(e, t, n, r) {
|
|
438
438
|
let i = e.toSorted((e, t) => e.y - t.y);
|
|
439
439
|
for (let e = 1; e < i.length; e += 1) {
|
|
@@ -454,7 +454,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
454
454
|
}
|
|
455
455
|
return i;
|
|
456
456
|
}
|
|
457
|
-
let cn =
|
|
457
|
+
let cn = p(() => {
|
|
458
458
|
let e = [], t = [];
|
|
459
459
|
W.value.forEach((n) => {
|
|
460
460
|
let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
|
|
@@ -482,15 +482,15 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
482
482
|
rx: o / 2
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
|
-
let G =
|
|
486
|
-
|
|
485
|
+
let G = C([]), un = 0;
|
|
486
|
+
ze(() => {
|
|
487
487
|
let e = ++un, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
|
|
488
488
|
if (!i || !Array.isArray(n) || n.length === 0) {
|
|
489
489
|
G.value = [];
|
|
490
490
|
return;
|
|
491
491
|
}
|
|
492
492
|
(async () => {
|
|
493
|
-
let t = await
|
|
493
|
+
let t = await le({
|
|
494
494
|
values: n,
|
|
495
495
|
maxDatapoints: i,
|
|
496
496
|
formatter: r,
|
|
@@ -500,17 +500,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
500
500
|
e === un && (G.value = t);
|
|
501
501
|
})();
|
|
502
502
|
});
|
|
503
|
-
let dn =
|
|
503
|
+
let dn = p(() => {
|
|
504
504
|
let e = F.value.style.chart.layout.timeLabels.modulo;
|
|
505
505
|
return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
|
|
506
|
-
}), K =
|
|
506
|
+
}), K = p(() => {
|
|
507
507
|
let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
|
|
508
|
-
return
|
|
509
|
-
}), fn =
|
|
508
|
+
return ae(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, dn.value || 1), i, a, 0, null, r);
|
|
509
|
+
}), fn = p(() => z.value.width), pn = p(() => z.value.height), mn = p(() => ({
|
|
510
510
|
start: 0,
|
|
511
511
|
end: H.value
|
|
512
|
-
})), q =
|
|
513
|
-
let t = [...e.coordinates].filter((e) =>
|
|
512
|
+
})), q = p(() => [...W.value].map((e) => {
|
|
513
|
+
let t = [...e.coordinates].filter((e) => d(e.value)).at(-1);
|
|
514
514
|
return {
|
|
515
515
|
...e,
|
|
516
516
|
navigationRank: t?.rank ?? Infinity
|
|
@@ -553,13 +553,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
553
553
|
let o = q.value[a];
|
|
554
554
|
o && (P.value = a, Q(o, o));
|
|
555
555
|
}
|
|
556
|
-
let J =
|
|
556
|
+
let J = p(() => ({
|
|
557
557
|
head: Z.value.head,
|
|
558
|
-
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) =>
|
|
558
|
+
body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => d(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
|
|
559
559
|
caption: F.value.a11y.translations.tableCaption,
|
|
560
560
|
notice: F.value.a11y.translations.tableAvailable
|
|
561
561
|
}));
|
|
562
|
-
|
|
562
|
+
_e({
|
|
563
563
|
timeLabelsEls: Mt,
|
|
564
564
|
timeLabels: G,
|
|
565
565
|
slicer: mn,
|
|
@@ -584,17 +584,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
584
584
|
height: pn,
|
|
585
585
|
rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
586
586
|
});
|
|
587
|
-
let Y =
|
|
587
|
+
let Y = C(!1);
|
|
588
588
|
function bn() {
|
|
589
589
|
Y.value = !Y.value;
|
|
590
590
|
}
|
|
591
591
|
function xn(e) {
|
|
592
|
-
|
|
592
|
+
St.value = e, vt.value += 1;
|
|
593
593
|
}
|
|
594
594
|
function Sn() {
|
|
595
595
|
R.value.showTable = !R.value.showTable;
|
|
596
596
|
}
|
|
597
|
-
|
|
597
|
+
Re(() => R.value.showTable, (e) => {
|
|
598
598
|
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
599
599
|
});
|
|
600
600
|
function Cn() {
|
|
@@ -608,28 +608,28 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
608
608
|
[F.value.style.chart.title.text],
|
|
609
609
|
[F.value.style.chart.title.subtitle.text],
|
|
610
610
|
[""]
|
|
611
|
-
], n = ["", ...K.value.map((e) => e?.text ?? "")], r = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), i = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), a =
|
|
611
|
+
], n = ["", ...K.value.map((e) => e?.text ?? "")], r = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), i = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), a = ce(t.concat([[F.value.table.columnNames.values]]).concat([n]).concat(r).concat([
|
|
612
612
|
[""],
|
|
613
613
|
[F.value.table.columnNames.ranking],
|
|
614
614
|
[n]
|
|
615
615
|
]).concat(i));
|
|
616
|
-
e ? e(a) :
|
|
616
|
+
e ? e(a) : c({
|
|
617
617
|
csvContent: a,
|
|
618
618
|
title: F.value.style.chart.title.text || "vue-ui-bump"
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
let X =
|
|
621
|
+
let X = p(() => {
|
|
622
622
|
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
623
623
|
return {
|
|
624
|
-
component: e ?
|
|
624
|
+
component: e ? Ee : ct,
|
|
625
625
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
626
626
|
props: e ? {
|
|
627
627
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
628
628
|
color: F.value.table.th.color,
|
|
629
629
|
headerColor: F.value.table.th.color,
|
|
630
630
|
headerBg: F.value.table.th.backgroundColor,
|
|
631
|
-
isFullscreen:
|
|
632
|
-
fullscreenParent:
|
|
631
|
+
isFullscreen: St.value,
|
|
632
|
+
fullscreenParent: A.value,
|
|
633
633
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
634
634
|
isCursorPointer: I.value
|
|
635
635
|
} : {
|
|
@@ -648,7 +648,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
|
-
}), Z =
|
|
651
|
+
}), Z = p(() => ({
|
|
652
652
|
head: [""].concat(K.value.map((e) => e.text)),
|
|
653
653
|
body: W.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
|
|
654
654
|
config: {
|
|
@@ -665,15 +665,15 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
665
665
|
breakpoint: F.value.table.responsiveBreakpoint
|
|
666
666
|
},
|
|
667
667
|
colNames: [F.value.table.columnNames.series]
|
|
668
|
-
})), En =
|
|
668
|
+
})), En = p(() => F.value.style.chart.backgroundColor), { exportSvg: Dn, getSvg: On } = me({
|
|
669
669
|
svg: L,
|
|
670
|
-
title:
|
|
670
|
+
title: p(() => F.value.style.chart.title),
|
|
671
671
|
legend: null,
|
|
672
672
|
legendItems: null,
|
|
673
673
|
backgroundColor: En
|
|
674
674
|
});
|
|
675
675
|
async function kn({ isCb: e }) {
|
|
676
|
-
kt.value = !0, await
|
|
676
|
+
kt.value = !0, await je();
|
|
677
677
|
try {
|
|
678
678
|
if (e) {
|
|
679
679
|
let { blob: e, url: t, text: n, dataUrl: r } = await On();
|
|
@@ -689,9 +689,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
async function An({ scale: e = 2 } = {}) {
|
|
692
|
-
if (!
|
|
693
|
-
let { width: t, height: n } =
|
|
694
|
-
domElement:
|
|
692
|
+
if (!A.value) return;
|
|
693
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
694
|
+
domElement: A.value,
|
|
695
695
|
base64: !0,
|
|
696
696
|
img: !0,
|
|
697
697
|
scale: e
|
|
@@ -735,7 +735,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
735
735
|
qt();
|
|
736
736
|
}
|
|
737
737
|
async function Nn() {
|
|
738
|
-
if (
|
|
738
|
+
if (gt("copyAlt", {
|
|
739
739
|
config: F.value,
|
|
740
740
|
dataset: W.value
|
|
741
741
|
}), !F.value.userOptions.callbacks.altCopy) {
|
|
@@ -747,7 +747,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
747
747
|
dataset: W.value
|
|
748
748
|
}));
|
|
749
749
|
}
|
|
750
|
-
return
|
|
750
|
+
return ye({
|
|
751
751
|
getData: wn,
|
|
752
752
|
getImage: An,
|
|
753
753
|
generatePdf: Kt,
|
|
@@ -758,26 +758,26 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
758
758
|
toggleAnnotator: bn,
|
|
759
759
|
toggleFullscreen: xn,
|
|
760
760
|
copyAlt: Nn
|
|
761
|
-
}), (e, t) => (
|
|
762
|
-
id: `bump_${
|
|
761
|
+
}), (e, t) => (S(), g("div", {
|
|
762
|
+
id: `bump_${j.value}`,
|
|
763
763
|
ref_key: "bumpChart",
|
|
764
|
-
ref:
|
|
765
|
-
class:
|
|
764
|
+
ref: A,
|
|
765
|
+
class: Me({
|
|
766
766
|
"vue-data-ui-component": !0,
|
|
767
767
|
"vue-ui-bump": !0,
|
|
768
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
768
|
+
"vue-data-ui-wrapper-fullscreen": St.value
|
|
769
769
|
}),
|
|
770
|
-
style:
|
|
770
|
+
style: x(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
|
|
771
771
|
onMouseenter: Ht,
|
|
772
772
|
onMouseleave: Ut
|
|
773
773
|
}, [
|
|
774
|
-
|
|
775
|
-
id: `chart-instructions-${
|
|
774
|
+
_("p", {
|
|
775
|
+
id: `chart-instructions-${j.value}`,
|
|
776
776
|
class: "sr-only"
|
|
777
|
-
},
|
|
778
|
-
J.value.body.length ? (
|
|
777
|
+
}, E(F.value.a11y.translations.keyboardNavigation), 9, He),
|
|
778
|
+
J.value.body.length ? (S(), m(Se, {
|
|
779
779
|
key: 0,
|
|
780
|
-
uid:
|
|
780
|
+
uid: j.value,
|
|
781
781
|
head: J.value.head,
|
|
782
782
|
body: J.value.body,
|
|
783
783
|
caption: J.value.caption,
|
|
@@ -788,22 +788,22 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
788
788
|
"body",
|
|
789
789
|
"caption",
|
|
790
790
|
"notice"
|
|
791
|
-
])) :
|
|
792
|
-
F.value.userOptions.buttons.annotator ? (
|
|
791
|
+
])) : h("", !0),
|
|
792
|
+
F.value.userOptions.buttons.annotator ? (S(), m(D(ut), {
|
|
793
793
|
key: 1,
|
|
794
|
-
svgRef:
|
|
794
|
+
svgRef: D(L),
|
|
795
795
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
796
796
|
color: F.value.style.chart.color,
|
|
797
797
|
active: Y.value,
|
|
798
798
|
isCursorPointer: I.value,
|
|
799
799
|
onClose: bn
|
|
800
800
|
}, {
|
|
801
|
-
"annotator-action-close":
|
|
802
|
-
"annotator-action-color":
|
|
803
|
-
"annotator-action-draw":
|
|
804
|
-
"annotator-action-undo":
|
|
805
|
-
"annotator-action-redo":
|
|
806
|
-
"annotator-action-delete":
|
|
801
|
+
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
802
|
+
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
|
|
803
|
+
"annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
|
|
804
|
+
"annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
|
|
805
|
+
"annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
|
|
806
|
+
"annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
|
|
807
807
|
_: 3
|
|
808
808
|
}, 8, [
|
|
809
809
|
"svgRef",
|
|
@@ -811,21 +811,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
811
811
|
"color",
|
|
812
812
|
"active",
|
|
813
813
|
"isCursorPointer"
|
|
814
|
-
])) :
|
|
815
|
-
|
|
816
|
-
Jt.value ? (
|
|
814
|
+
])) : h("", !0),
|
|
815
|
+
T(e.$slots, "userConfig", {}, void 0, !0),
|
|
816
|
+
Jt.value ? (S(), g("div", {
|
|
817
817
|
key: 2,
|
|
818
818
|
ref_key: "noTitle",
|
|
819
|
-
ref:
|
|
819
|
+
ref: bt,
|
|
820
820
|
class: "vue-data-ui-no-title-space",
|
|
821
821
|
style: "height:36px; width: 100%;background:transparent"
|
|
822
|
-
}, null, 512)) :
|
|
823
|
-
F.value.style.chart.title.text ? (
|
|
822
|
+
}, null, 512)) : h("", !0),
|
|
823
|
+
F.value.style.chart.title.text ? (S(), g("div", {
|
|
824
824
|
key: 3,
|
|
825
825
|
ref_key: "chartTitle",
|
|
826
|
-
ref:
|
|
826
|
+
ref: yt,
|
|
827
827
|
style: "width:100%;background:transparent;"
|
|
828
|
-
}, [(
|
|
828
|
+
}, [(S(), m(ve, {
|
|
829
829
|
key: `title_${wt.value}`,
|
|
830
830
|
config: {
|
|
831
831
|
title: {
|
|
@@ -837,16 +837,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
837
837
|
...F.value.style.chart.title.subtitle
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
}, null, 8, ["config"]))], 512)) :
|
|
841
|
-
F.value.userOptions.show &&
|
|
840
|
+
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
841
|
+
F.value.userOptions.show && _t.value && (D(Vt) || D(zt)) ? (S(), m(D(dt), {
|
|
842
842
|
ref_key: "userOptionsRef",
|
|
843
843
|
ref: Et,
|
|
844
|
-
key: `user_option_${
|
|
844
|
+
key: `user_option_${vt.value}`,
|
|
845
845
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
846
846
|
color: F.value.style.chart.color,
|
|
847
|
-
isPrinting:
|
|
848
|
-
isImaging:
|
|
849
|
-
uid:
|
|
847
|
+
isPrinting: D(Wt),
|
|
848
|
+
isImaging: D(Gt),
|
|
849
|
+
uid: j.value,
|
|
850
850
|
hasTooltip: !1,
|
|
851
851
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
852
852
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -856,8 +856,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
856
856
|
hasLabel: !1,
|
|
857
857
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
858
858
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
859
|
-
isFullcreen:
|
|
860
|
-
chartElement:
|
|
859
|
+
isFullcreen: St.value,
|
|
860
|
+
chartElement: A.value,
|
|
861
861
|
position: F.value.userOptions.position,
|
|
862
862
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
863
863
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
@@ -867,18 +867,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
867
867
|
tableDialog: F.value.table.useDialog,
|
|
868
868
|
isCursorPointer: I.value,
|
|
869
869
|
onToggleFullscreen: xn,
|
|
870
|
-
onGeneratePdf:
|
|
870
|
+
onGeneratePdf: D(Kt),
|
|
871
871
|
onGenerateCsv: Tn,
|
|
872
872
|
onGenerateImage: Mn,
|
|
873
873
|
onGenerateSvg: kn,
|
|
874
874
|
onToggleTable: Sn,
|
|
875
875
|
onToggleAnnotator: bn,
|
|
876
876
|
onCopyAlt: Nn,
|
|
877
|
-
style:
|
|
878
|
-
},
|
|
877
|
+
style: x({ visibility: D(Vt) ? D(zt) ? "visible" : "hidden" : "visible" })
|
|
878
|
+
}, De({ _: 2 }, [
|
|
879
879
|
e.$slots.menuIcon ? {
|
|
880
880
|
name: "menuIcon",
|
|
881
|
-
fn:
|
|
881
|
+
fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(y({
|
|
882
882
|
isOpen: t,
|
|
883
883
|
color: n
|
|
884
884
|
})), void 0, !0)]),
|
|
@@ -886,32 +886,32 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
886
886
|
} : void 0,
|
|
887
887
|
e.$slots.optionPdf ? {
|
|
888
888
|
name: "optionPdf",
|
|
889
|
-
fn:
|
|
889
|
+
fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
890
890
|
key: "1"
|
|
891
891
|
} : void 0,
|
|
892
892
|
e.$slots.optionCsv ? {
|
|
893
893
|
name: "optionCsv",
|
|
894
|
-
fn:
|
|
894
|
+
fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
895
895
|
key: "2"
|
|
896
896
|
} : void 0,
|
|
897
897
|
e.$slots.optionImg ? {
|
|
898
898
|
name: "optionImg",
|
|
899
|
-
fn:
|
|
899
|
+
fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
900
900
|
key: "3"
|
|
901
901
|
} : void 0,
|
|
902
902
|
e.$slots.optionSvg ? {
|
|
903
903
|
name: "optionSvg",
|
|
904
|
-
fn:
|
|
904
|
+
fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
905
905
|
key: "4"
|
|
906
906
|
} : void 0,
|
|
907
907
|
e.$slots.optionTable ? {
|
|
908
908
|
name: "optionTable",
|
|
909
|
-
fn:
|
|
909
|
+
fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
910
910
|
key: "5"
|
|
911
911
|
} : void 0,
|
|
912
912
|
e.$slots.optionFullscreen ? {
|
|
913
913
|
name: "optionFullscreen",
|
|
914
|
-
fn:
|
|
914
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(y({
|
|
915
915
|
toggleFullscreen: t,
|
|
916
916
|
isFullscreen: n
|
|
917
917
|
})), void 0, !0)]),
|
|
@@ -919,7 +919,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
919
919
|
} : void 0,
|
|
920
920
|
e.$slots.optionAnnotator ? {
|
|
921
921
|
name: "optionAnnotator",
|
|
922
|
-
fn:
|
|
922
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(y({
|
|
923
923
|
toggleAnnotator: t,
|
|
924
924
|
isAnnotator: n
|
|
925
925
|
})), void 0, !0)]),
|
|
@@ -927,17 +927,17 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
927
927
|
} : void 0,
|
|
928
928
|
e.$slots.optionAltCopy ? {
|
|
929
929
|
name: "optionAltCopy",
|
|
930
|
-
fn:
|
|
930
|
+
fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
|
|
931
931
|
key: "8"
|
|
932
932
|
} : void 0,
|
|
933
933
|
e.$slots["custom-menu-before"] ? {
|
|
934
934
|
name: "custom-menu-before",
|
|
935
|
-
fn:
|
|
935
|
+
fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
936
936
|
key: "9"
|
|
937
937
|
} : void 0,
|
|
938
938
|
e.$slots["custom-menu-after"] ? {
|
|
939
939
|
name: "custom-menu-after",
|
|
940
|
-
fn:
|
|
940
|
+
fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
941
941
|
key: "10"
|
|
942
942
|
} : void 0
|
|
943
943
|
]), 1032, [
|
|
@@ -965,19 +965,19 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
965
965
|
"isCursorPointer",
|
|
966
966
|
"onGeneratePdf",
|
|
967
967
|
"style"
|
|
968
|
-
])) :
|
|
969
|
-
|
|
968
|
+
])) : h("", !0),
|
|
969
|
+
_("div", Ue, [(S(), g("svg", {
|
|
970
970
|
ref_key: "svgRef",
|
|
971
971
|
ref: L,
|
|
972
|
-
xmlns:
|
|
973
|
-
"aria-describedby": `chart-instructions-${
|
|
972
|
+
xmlns: D(oe),
|
|
973
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
974
974
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
975
|
-
class:
|
|
976
|
-
"vue-data-ui-loading":
|
|
975
|
+
class: Me({
|
|
976
|
+
"vue-data-ui-loading": D(Ft),
|
|
977
977
|
"no-transition": !F.value.useCssAnimation,
|
|
978
978
|
"with-transition": F.value.useCssAnimation
|
|
979
979
|
}),
|
|
980
|
-
style:
|
|
980
|
+
style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
981
981
|
role: "img",
|
|
982
982
|
"aria-live": "polite",
|
|
983
983
|
preserveAspectRatio: "xMidYMid",
|
|
@@ -986,16 +986,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
986
986
|
onBlur: gn,
|
|
987
987
|
onKeydown: yn
|
|
988
988
|
}, [
|
|
989
|
-
|
|
990
|
-
e.$slots["chart-background"] ? (
|
|
989
|
+
ke(D(ft)),
|
|
990
|
+
e.$slots["chart-background"] ? (S(), g("foreignObject", {
|
|
991
991
|
key: 0,
|
|
992
992
|
x: U.value.left,
|
|
993
993
|
y: U.value.top,
|
|
994
994
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
995
995
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
996
996
|
style: { pointerEvents: "none" }
|
|
997
|
-
}, [
|
|
998
|
-
(
|
|
997
|
+
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : h("", !0),
|
|
998
|
+
(S(!0), g(f, null, w(W.value, (e) => (S(), g(f, null, [_("path", {
|
|
999
999
|
class: "transition-opacity",
|
|
1000
1000
|
d: `M${e.path}`,
|
|
1001
1001
|
stroke: F.value.style.chart.layout.lines.coatingColor,
|
|
@@ -1003,10 +1003,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1003
1003
|
"stroke-linecap": "round",
|
|
1004
1004
|
"stroke-linejoin": "round",
|
|
1005
1005
|
fill: "none",
|
|
1006
|
-
style:
|
|
1006
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1007
1007
|
onMouseenter: (t) => N.value = e.id,
|
|
1008
1008
|
onMouseleave: t[0] ||= (e) => N.value = null
|
|
1009
|
-
}, null, 44,
|
|
1009
|
+
}, null, 44, Ke), _("path", {
|
|
1010
1010
|
class: "transition-opacity",
|
|
1011
1011
|
d: `M${e.path}`,
|
|
1012
1012
|
stroke: e.color,
|
|
@@ -1014,13 +1014,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1014
1014
|
"stroke-linecap": "round",
|
|
1015
1015
|
"stroke-linejoin": "round",
|
|
1016
1016
|
fill: "none",
|
|
1017
|
-
style:
|
|
1017
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1018
1018
|
onMouseenter: (t) => Q(e, e),
|
|
1019
1019
|
onMouseleave: (t) => $(e, e),
|
|
1020
1020
|
onClick: (t) => jn(e, e)
|
|
1021
|
-
}, null, 44,
|
|
1022
|
-
(
|
|
1023
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (
|
|
1021
|
+
}, null, 44, qe)], 64))), 256)),
|
|
1022
|
+
(S(!0), g(f, null, w(W.value, (t) => (S(), g(f, null, [
|
|
1023
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (S(!0), g(f, { key: 0 }, w(t.coordinates, (e, n) => (S(), g("circle", {
|
|
1024
1024
|
class: "transition-opacity",
|
|
1025
1025
|
cx: e.x,
|
|
1026
1026
|
cy: e.y,
|
|
@@ -1028,7 +1028,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1028
1028
|
fill: t.color,
|
|
1029
1029
|
stroke: F.value.style.chart.layout.plots.stroke,
|
|
1030
1030
|
"stroke-width": F.value.style.chart.layout.plots.strokeWidth,
|
|
1031
|
-
style:
|
|
1031
|
+
style: x({ opacity: N.value == null || N.value === t.id ? 1 : .1 }),
|
|
1032
1032
|
onMouseenter: (r) => Q({
|
|
1033
1033
|
...e,
|
|
1034
1034
|
pointIndex: n
|
|
@@ -1041,21 +1041,21 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1041
1041
|
...e,
|
|
1042
1042
|
pointIndex: n
|
|
1043
1043
|
}, t)
|
|
1044
|
-
}, null, 44,
|
|
1045
|
-
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (
|
|
1044
|
+
}, null, 44, Je))), 256)) : h("", !0),
|
|
1045
|
+
F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (S(!0), g(f, { key: 1 }, w(t.coordinates, (e) => (S(), g("text", {
|
|
1046
1046
|
class: "transition-opacity",
|
|
1047
1047
|
x: e.x,
|
|
1048
1048
|
y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1049
1049
|
fill: e.labelColor,
|
|
1050
1050
|
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1051
1051
|
"text-anchor": "middle",
|
|
1052
|
-
style:
|
|
1052
|
+
style: x({
|
|
1053
1053
|
userSelect: "none",
|
|
1054
1054
|
pointerEvents: "none",
|
|
1055
1055
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1056
1056
|
})
|
|
1057
|
-
},
|
|
1058
|
-
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (
|
|
1057
|
+
}, E(e.rank), 13, Ye))), 256)) : h("", !0),
|
|
1058
|
+
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (S(!0), g(f, { key: 2 }, w(t.coordinates, (n) => (S(), g(f, null, [D(d)(n.value) ? (S(), g("rect", Ae({
|
|
1059
1059
|
key: 0,
|
|
1060
1060
|
class: "transition-opacity"
|
|
1061
1061
|
}, { ref_for: !0 }, ln(n), {
|
|
@@ -1072,7 +1072,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1072
1072
|
...e.point,
|
|
1073
1073
|
pointIndex: e.i
|
|
1074
1074
|
}, t)
|
|
1075
|
-
}), null, 16,
|
|
1075
|
+
}), null, 16, Xe)) : h("", !0), D(d)(n.value) && F.value.style.chart.layout.plots.labels.show ? (S(), g("text", {
|
|
1076
1076
|
key: 1,
|
|
1077
1077
|
class: "transition-opacity",
|
|
1078
1078
|
x: n.x,
|
|
@@ -1080,18 +1080,18 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1080
1080
|
fill: n.labelColor,
|
|
1081
1081
|
"font-size": F.value.style.chart.layout.plots.labels.fontSize,
|
|
1082
1082
|
"text-anchor": "middle",
|
|
1083
|
-
style:
|
|
1083
|
+
style: x({
|
|
1084
1084
|
userSelect: "none",
|
|
1085
1085
|
pointerEvents: "none",
|
|
1086
1086
|
opacity: N.value == null || N.value === t.id ? 1 : .1
|
|
1087
1087
|
})
|
|
1088
|
-
},
|
|
1088
|
+
}, E(n.displayValue), 13, Ze)) : h("", !0)], 64))), 256)) : h("", !0)
|
|
1089
1089
|
], 64))), 256)),
|
|
1090
|
-
F.value.style.chart.layout.nameLabels.leftLabels.show ? (
|
|
1090
|
+
F.value.style.chart.layout.nameLabels.leftLabels.show ? (S(), g("g", {
|
|
1091
1091
|
key: 1,
|
|
1092
1092
|
ref_key: "labelsLeft",
|
|
1093
1093
|
ref: At
|
|
1094
|
-
}, [(
|
|
1094
|
+
}, [(S(!0), g(f, null, w(cn.value.left.filter((e) => D(d)(e.value)), (e, t) => (S(), g("text", {
|
|
1095
1095
|
class: "transition-opacity",
|
|
1096
1096
|
x: U.value.left,
|
|
1097
1097
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1099,7 +1099,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1099
1099
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1100
1100
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1101
1101
|
"text-anchor": "end",
|
|
1102
|
-
innerHTML:
|
|
1102
|
+
innerHTML: D(n)({
|
|
1103
1103
|
content: e.name,
|
|
1104
1104
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1105
1105
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1107,16 +1107,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1107
1107
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1108
1108
|
translateY: !0
|
|
1109
1109
|
}),
|
|
1110
|
-
style:
|
|
1110
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1111
1111
|
onMouseenter: (t) => Q(e, e),
|
|
1112
1112
|
onMouseleave: (t) => $(e, e),
|
|
1113
1113
|
onClick: (t) => jn(e, e)
|
|
1114
|
-
}, null, 44,
|
|
1115
|
-
F.value.style.chart.layout.nameLabels.rightLabels.show ? (
|
|
1114
|
+
}, null, 44, Qe))), 256))], 512)) : h("", !0),
|
|
1115
|
+
F.value.style.chart.layout.nameLabels.rightLabels.show ? (S(), g("g", {
|
|
1116
1116
|
key: 2,
|
|
1117
1117
|
ref_key: "labelsRight",
|
|
1118
1118
|
ref: jt
|
|
1119
|
-
}, [(
|
|
1119
|
+
}, [(S(!0), g(f, null, w(cn.value.right.filter((e) => D(d)(e.value)), (e, t) => (S(), g("text", {
|
|
1120
1120
|
class: "transition-opacity",
|
|
1121
1121
|
x: U.value.right,
|
|
1122
1122
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1124,7 +1124,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1124
1124
|
"font-size": F.value.style.chart.layout.nameLabels.fontSize,
|
|
1125
1125
|
"font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1126
1126
|
"text-anchor": "start",
|
|
1127
|
-
innerHTML:
|
|
1127
|
+
innerHTML: D(n)({
|
|
1128
1128
|
content: e.name,
|
|
1129
1129
|
fontSize: F.value.style.chart.layout.nameLabels.fontSize,
|
|
1130
1130
|
fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
|
|
@@ -1132,16 +1132,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1132
1132
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1133
1133
|
translateY: !0
|
|
1134
1134
|
}),
|
|
1135
|
-
style:
|
|
1135
|
+
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1136
1136
|
onMouseenter: (t) => Q(e, e),
|
|
1137
1137
|
onMouseleave: (t) => $(e, e),
|
|
1138
1138
|
onClick: (t) => jn(e, e)
|
|
1139
|
-
}, null, 44,
|
|
1140
|
-
F.value.style.chart.layout.timeLabels.show ? (
|
|
1139
|
+
}, null, 44, $e))), 256))], 512)) : h("", !0),
|
|
1140
|
+
F.value.style.chart.layout.timeLabels.show ? (S(), g("g", {
|
|
1141
1141
|
key: 3,
|
|
1142
1142
|
ref_key: "timeLabelsEls",
|
|
1143
1143
|
ref: Mt
|
|
1144
|
-
}, [e.$slots["time-label"] ? (
|
|
1144
|
+
}, [e.$slots["time-label"] ? (S(), g("g", et, [(S(!0), g(f, null, w(K.value, (t, n) => (S(), g("g", null, [T(e.$slots, "time-label", Ae({ ref_for: !0 }, {
|
|
1145
1145
|
x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
|
|
1146
1146
|
y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
|
|
1147
1147
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
@@ -1151,7 +1151,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1151
1151
|
content: t.text,
|
|
1152
1152
|
textAnchor: F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1153
1153
|
show: !0
|
|
1154
|
-
}), void 0, !0)]))), 256))])) : (
|
|
1154
|
+
}), void 0, !0)]))), 256))])) : (S(), g("g", tt, [(S(!0), g(f, null, w(K.value, (e, t) => (S(), g("g", null, [String(e.text).includes("\n") ? (S(), g("text", {
|
|
1155
1155
|
key: t + "-multi",
|
|
1156
1156
|
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1157
1157
|
"font-size": F.value.style.chart.layout.timeLabels.fontSize,
|
|
@@ -1163,14 +1163,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1163
1163
|
),
|
|
1164
1164
|
rotate(${F.value.style.chart.layout.timeLabels.rotation})
|
|
1165
1165
|
`,
|
|
1166
|
-
innerHTML:
|
|
1166
|
+
innerHTML: D(n)({
|
|
1167
1167
|
content: String(e.text),
|
|
1168
1168
|
fontSize: F.value.style.chart.layout.timeLabels.fontSize,
|
|
1169
1169
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1170
1170
|
x: 0,
|
|
1171
1171
|
y: 0
|
|
1172
1172
|
})
|
|
1173
|
-
}, null, 8,
|
|
1173
|
+
}, null, 8, rt)) : (S(), g("text", {
|
|
1174
1174
|
class: "vue-data-ui-time-label",
|
|
1175
1175
|
key: t,
|
|
1176
1176
|
"text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -1178,24 +1178,24 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1178
1178
|
"font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
|
|
1179
1179
|
fill: F.value.style.chart.layout.timeLabels.color,
|
|
1180
1180
|
transform: `translate(${U.value.unitW * t + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`
|
|
1181
|
-
},
|
|
1182
|
-
|
|
1181
|
+
}, E(e.text), 9, nt))]))), 256))]))], 512)) : h("", !0),
|
|
1182
|
+
T(e.$slots, "svg", { svg: {
|
|
1183
1183
|
drawingArea: U.value,
|
|
1184
1184
|
data: W.value,
|
|
1185
|
-
isPrintingImg:
|
|
1185
|
+
isPrintingImg: D(Wt) || D(Gt) || Ot.value,
|
|
1186
1186
|
isPrintingSvg: kt.value
|
|
1187
1187
|
} }, void 0, !0)
|
|
1188
|
-
], 46,
|
|
1188
|
+
], 46, We)), e.$slots.hint ? (S(), g("div", it, [T(e.$slots, "hint", b(y({
|
|
1189
1189
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1190
1190
|
isVisible: Nt.value
|
|
1191
|
-
})), void 0, !0)])) :
|
|
1192
|
-
e.$slots.watermark ? (
|
|
1193
|
-
|
|
1191
|
+
})), void 0, !0)])) : h("", !0)]),
|
|
1192
|
+
e.$slots.watermark ? (S(), g("div", at, [T(e.$slots, "watermark", b(y({ isPrinting: D(Wt) || D(Gt) || Ot.value || kt.value })), void 0, !0)])) : h("", !0),
|
|
1193
|
+
_t.value && F.value.userOptions.buttons.table ? (S(), m(Fe(X.value.component), Ae({ key: 6 }, X.value.props, {
|
|
1194
1194
|
ref_key: "tableUnit",
|
|
1195
1195
|
ref: M,
|
|
1196
1196
|
onClose: Cn
|
|
1197
|
-
}),
|
|
1198
|
-
content:
|
|
1197
|
+
}), De({
|
|
1198
|
+
content: O(() => [ke(D(lt), {
|
|
1199
1199
|
colNames: Z.value.colNames,
|
|
1200
1200
|
head: Z.value.head,
|
|
1201
1201
|
body: Z.value.body,
|
|
@@ -1205,8 +1205,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1205
1205
|
isCursorPointer: I.value,
|
|
1206
1206
|
onClose: Cn
|
|
1207
1207
|
}, {
|
|
1208
|
-
th:
|
|
1209
|
-
td:
|
|
1208
|
+
th: O(({ th: e }) => [_("div", { innerHTML: e }, null, 8, ot)]),
|
|
1209
|
+
td: O(({ td: e }) => [Oe(E(e), 1)]),
|
|
1210
1210
|
_: 1
|
|
1211
1211
|
}, 8, [
|
|
1212
1212
|
"colNames",
|
|
@@ -1220,30 +1220,30 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1220
1220
|
_: 2
|
|
1221
1221
|
}, [F.value.table.useDialog ? {
|
|
1222
1222
|
name: "title",
|
|
1223
|
-
fn:
|
|
1223
|
+
fn: O(() => [Oe(E(X.value.title), 1)]),
|
|
1224
1224
|
key: "0"
|
|
1225
1225
|
} : void 0, F.value.table.useDialog ? {
|
|
1226
1226
|
name: "actions",
|
|
1227
|
-
fn:
|
|
1227
|
+
fn: O(() => [_("button", {
|
|
1228
1228
|
tabindex: "0",
|
|
1229
1229
|
class: "vue-ui-user-options-button",
|
|
1230
1230
|
onClick: t[1] ||= (e) => Tn(F.value.userOptions.callbacks.csv),
|
|
1231
|
-
style:
|
|
1232
|
-
}, [
|
|
1231
|
+
style: x({ cursor: I.value ? "pointer" : "default" })
|
|
1232
|
+
}, [ke(D(st), {
|
|
1233
1233
|
name: "fileCsv",
|
|
1234
1234
|
stroke: X.value.props.color
|
|
1235
1235
|
}, null, 8, ["stroke"])], 4)]),
|
|
1236
1236
|
key: "1"
|
|
1237
|
-
} : void 0]), 1040)) :
|
|
1238
|
-
e.$slots.source ? (
|
|
1237
|
+
} : void 0]), 1040)) : h("", !0),
|
|
1238
|
+
e.$slots.source ? (S(), g("div", {
|
|
1239
1239
|
key: 7,
|
|
1240
1240
|
ref_key: "source",
|
|
1241
|
-
ref:
|
|
1241
|
+
ref: xt,
|
|
1242
1242
|
dir: "auto"
|
|
1243
|
-
}, [
|
|
1244
|
-
|
|
1245
|
-
], 46,
|
|
1243
|
+
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1244
|
+
T(e.$slots, "skeleton", {}, () => [D(Ft) ? (S(), m(pe, { key: 0 })) : h("", !0)], !0)
|
|
1245
|
+
], 46, Ve));
|
|
1246
1246
|
}
|
|
1247
1247
|
}, [["__scopeId", "data-v-893ac120"]]);
|
|
1248
1248
|
//#endregion
|
|
1249
|
-
export {
|
|
1249
|
+
export { Be as n, st as t };
|