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,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { A as t,
|
|
2
|
+
import { A as t, Gt as n, H as r, Ot as i, Q as a, R as ee, S as o, Ut as s, W as te, X as ne, Y as re, b as ie, ft as ae, i as oe, j as se, jt as c, q as l, r as ce, t as le, ut as ue, w as de, zt as fe } from "./lib-EAmk-PgA.js";
|
|
3
3
|
import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
4
|
import { t as me } from "./useConfig-DYM3f6EI.js";
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
5
|
+
import { t as he } from "./usePrinter-DnGzpp6Q.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as ye } from "./useNestedProp-
|
|
8
|
+
import { t as ye } from "./useNestedProp-D8XqxgOU.js";
|
|
9
9
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as Se } from "./img-
|
|
12
|
-
import { n as Ce } from "./Title-
|
|
13
|
-
import { t as we } from "./Shape-
|
|
11
|
+
import { t as Se } from "./img-B_abIg0o.js";
|
|
12
|
+
import { n as Ce } from "./Title-PiTKr6sp.js";
|
|
13
|
+
import { t as we } from "./Shape-CiQIxyyT.js";
|
|
14
14
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
16
16
|
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
17
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Oe } from "./BaseLegendToggle-CHnlKalt.js";
|
|
18
18
|
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Me } from "./Legend-
|
|
21
|
+
import { t as Me } from "./Legend-kAr7Vqqu.js";
|
|
22
22
|
import { t as Ne } from "./vue_ui_ridgeline-VM8_mx4J.js";
|
|
23
23
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as We, watchEffect as Ge, withCtx as E } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-ridgeline.vue
|
|
@@ -137,7 +137,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
137
137
|
"copyAlt"
|
|
138
138
|
],
|
|
139
139
|
setup(e, { expose: Te, emit: Ke }) {
|
|
140
|
-
let Et = g(() => import("./vue-ui-xy-
|
|
140
|
+
let Et = g(() => import("./vue-ui-xy-C2p9H2IX.js").then((e) => e.n)), Dt = g(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Ot = g(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), kt = g(() => import("./DataTable-CVF7DoZn.js")), At = g(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), jt = g(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Mt = g(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Nt = g(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_ridgeline: Pt } = me(), { isThemeValid: Ft, warnInvalidTheme: It } = be(), D = e, Lt = d({
|
|
141
141
|
get() {
|
|
142
142
|
return Array.isArray(R.value) && R.value.length > 0;
|
|
143
143
|
},
|
|
@@ -152,19 +152,19 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
152
152
|
}), t = e.theme;
|
|
153
153
|
if (!t) return e;
|
|
154
154
|
if (!Ft.value(e)) return It(e), e;
|
|
155
|
-
let
|
|
155
|
+
let n = ye({
|
|
156
156
|
userConfig: Ne[t] || D.config,
|
|
157
157
|
defaultConfig: e
|
|
158
|
-
}),
|
|
158
|
+
}), r = ye({
|
|
159
159
|
userConfig: D.config,
|
|
160
|
-
defaultConfig:
|
|
160
|
+
defaultConfig: n
|
|
161
161
|
});
|
|
162
162
|
return {
|
|
163
|
-
...
|
|
164
|
-
customPalette:
|
|
163
|
+
...r,
|
|
164
|
+
customPalette: r.customPalette.length ? r.customPalette : s[t] || c
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
let F = x(rn()), I = d(() => F.value.userOptions.useCursorPointer), an = d(() =>
|
|
167
|
+
let F = x(rn()), I = d(() => F.value.userOptions.useCursorPointer), an = d(() => n({
|
|
168
168
|
defaultConfig: {
|
|
169
169
|
userOptions: { show: !1 },
|
|
170
170
|
table: { show: !1 },
|
|
@@ -420,7 +420,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
420
420
|
}]
|
|
421
421
|
}
|
|
422
422
|
],
|
|
423
|
-
skeletonConfig:
|
|
423
|
+
skeletonConfig: n({
|
|
424
424
|
defaultConfig: F.value,
|
|
425
425
|
userConfig: an.value
|
|
426
426
|
})
|
|
@@ -428,7 +428,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
428
428
|
function dn() {
|
|
429
429
|
let e = R.value || [];
|
|
430
430
|
if (!Array.isArray(e) || e.length === 0) {
|
|
431
|
-
|
|
431
|
+
a({
|
|
432
432
|
componentName: "VueUiRidgeline",
|
|
433
433
|
type: "dataset",
|
|
434
434
|
debug: un.value
|
|
@@ -436,11 +436,11 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
436
436
|
return;
|
|
437
437
|
}
|
|
438
438
|
if (e.forEach((e, t) => {
|
|
439
|
-
|
|
439
|
+
ue({
|
|
440
440
|
datasetObject: e,
|
|
441
441
|
requiredAttributes: ["name", "datapoints"]
|
|
442
442
|
}).forEach((e) => {
|
|
443
|
-
Lt.value = !1,
|
|
443
|
+
Lt.value = !1, a({
|
|
444
444
|
componentName: "VueUiRidgeline",
|
|
445
445
|
type: "datasetSerieAttribute",
|
|
446
446
|
property: e,
|
|
@@ -448,11 +448,11 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
448
448
|
debug: un.value
|
|
449
449
|
});
|
|
450
450
|
}), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
|
|
451
|
-
|
|
451
|
+
ue({
|
|
452
452
|
datasetObject: e,
|
|
453
453
|
requiredAttributes: ["name", "values"]
|
|
454
454
|
}).forEach((e) => {
|
|
455
|
-
Lt.value = !1,
|
|
455
|
+
Lt.value = !1, a({
|
|
456
456
|
componentName: "VueUiRidgeline",
|
|
457
457
|
type: "datasetSerieAttribute",
|
|
458
458
|
property: `datapoint.${e}`,
|
|
@@ -461,7 +461,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
461
461
|
});
|
|
462
462
|
});
|
|
463
463
|
});
|
|
464
|
-
}), qt.value = e.length, z.value = Math.min(F.value.style.chart.areas.height, F.value.style.chart.areas.rowHeight),
|
|
464
|
+
}), qt.value = e.length, z.value = Math.min(F.value.style.chart.areas.height, F.value.style.chart.areas.rowHeight), i(D.dataset) || (on.value = F.value.loading), F.value.responsive) {
|
|
465
465
|
let t = Ee(() => {
|
|
466
466
|
let { width: t, height: n } = De({
|
|
467
467
|
chart: O.value,
|
|
@@ -485,7 +485,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
485
485
|
elementId: `vue-ui-ridgeline_${j.value}`,
|
|
486
486
|
fileName: F.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
487
487
|
options: F.value.userOptions.print
|
|
488
|
-
}), gn = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), _n = d(() =>
|
|
488
|
+
}), gn = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), _n = d(() => o(F.value.customPalette)), V = x({ showTable: F.value.table.show });
|
|
489
489
|
We(() => R.value, async (e) => {
|
|
490
490
|
Array.isArray(e) && e.length && (sn.value = !F.value.userOptions.showOnChartHover, await Re(), dn(), Ut.value += 1, Gt.value += 1, V.value.showTable = F.value.table.show);
|
|
491
491
|
}, {
|
|
@@ -523,11 +523,11 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
523
523
|
labelLen: Ln(e.name, F.value.style.chart.yAxis.labels.fontSize),
|
|
524
524
|
uid: te(),
|
|
525
525
|
datapoints: e.datapoints.map((e, t) => {
|
|
526
|
-
let
|
|
526
|
+
let n = e.color ? ie(e.color) : _n.value[t] || c[t] || c[t % c.length], r = fe(e.name);
|
|
527
527
|
return {
|
|
528
528
|
...e,
|
|
529
|
-
color:
|
|
530
|
-
id:
|
|
529
|
+
color: n,
|
|
530
|
+
id: r
|
|
531
531
|
};
|
|
532
532
|
})
|
|
533
533
|
})) : []), wn = d(() => F.value.style.chart.padding.top + z.value * (R.value || []).length + z.value * vn.value + F.value.style.chart.padding.bottom), U = d(() => {
|
|
@@ -625,21 +625,21 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
625
625
|
}
|
|
626
626
|
let q = d(() => {
|
|
627
627
|
z.value;
|
|
628
|
-
let e = Math.max(...H.value.map((e) => e.labelLen)), n = Math.max(...H.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = Math.min(...H.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), i = U.value.padding.left + e + 16 + F.value.style.chart.yAxis.labels.offsetX, a = (W.value.width - i) / kn.value, o = Math.abs(Math.min(r, 0)),
|
|
629
|
-
function
|
|
630
|
-
return isNaN(e /
|
|
628
|
+
let e = Math.max(...H.value.map((e) => e.labelLen)), n = Math.max(...H.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = Math.min(...H.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), i = U.value.padding.left + e + 16 + F.value.style.chart.yAxis.labels.offsetX, a = (W.value.width - i) / kn.value, o = Math.abs(Math.min(r, 0)), s = n + o;
|
|
629
|
+
function ne(e) {
|
|
630
|
+
return isNaN(e / s) ? 0 : e / s;
|
|
631
631
|
}
|
|
632
632
|
return H.value.map((e, n) => {
|
|
633
|
-
let r = W.value.top + z.value * n,
|
|
633
|
+
let r = W.value.top + z.value * n, s = W.value.top + r + z.value * vn.value * (1 - ne(o));
|
|
634
634
|
return {
|
|
635
635
|
...e,
|
|
636
636
|
label: {
|
|
637
637
|
x: i - F.value.style.chart.yAxis.labels.fontSize,
|
|
638
|
-
y:
|
|
638
|
+
y: s
|
|
639
639
|
},
|
|
640
640
|
datapoints: e.datapoints.map((e) => {
|
|
641
641
|
let n = e.values.map((t, n) => {
|
|
642
|
-
let
|
|
642
|
+
let ee = isNaN(t) || [
|
|
643
643
|
void 0,
|
|
644
644
|
null,
|
|
645
645
|
"NaN",
|
|
@@ -649,21 +649,21 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
649
649
|
].includes(t) ? 0 : t || 0;
|
|
650
650
|
return {
|
|
651
651
|
x: i + a * n,
|
|
652
|
-
y: W.value.top + r + z.value * vn.value * (1 - ee
|
|
652
|
+
y: W.value.top + r + z.value * vn.value * (1 - ne(ee + o)),
|
|
653
653
|
value: t,
|
|
654
654
|
isMaxPoint: t === Math.max(...e.values),
|
|
655
|
-
zero:
|
|
655
|
+
zero: s
|
|
656
656
|
};
|
|
657
|
-
}),
|
|
657
|
+
}), re = `${t(n, s, !1, !1)}`, ie = `M ${i},${s} ${ee(n)} ${n.at(-1).x},${s}`, oe = `M ${i},${s} ${n.at(-1).x},${s}`, c = `M ${se(n)}`, l = `M ${ee(n)}`, ce = ae(F.value.style.chart.areas.smooth ? c : l);
|
|
658
658
|
return {
|
|
659
659
|
...e,
|
|
660
660
|
uid: te(),
|
|
661
661
|
plots: n,
|
|
662
|
-
smoothPath:
|
|
663
|
-
straightPath:
|
|
664
|
-
zeroPath:
|
|
662
|
+
smoothPath: re,
|
|
663
|
+
straightPath: ie,
|
|
664
|
+
zeroPath: oe,
|
|
665
665
|
pathLength: ce,
|
|
666
|
-
smoothPathRidge:
|
|
666
|
+
smoothPathRidge: c,
|
|
667
667
|
straightPathRidge: l
|
|
668
668
|
};
|
|
669
669
|
}).filter((e) => !J.value.includes(e.id))
|
|
@@ -674,7 +674,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
674
674
|
let t = /* @__PURE__ */ new Map();
|
|
675
675
|
return e.forEach((e) => {
|
|
676
676
|
e.datapoints.forEach((e, n) => {
|
|
677
|
-
let r =
|
|
677
|
+
let r = fe(e.name);
|
|
678
678
|
t.has(r) || t.set(r, {
|
|
679
679
|
id: r,
|
|
680
680
|
name: e.name,
|
|
@@ -707,7 +707,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
707
707
|
useArea: !0,
|
|
708
708
|
smooth: F.value.style.chart.areas.smooth,
|
|
709
709
|
series: e.values
|
|
710
|
-
})), N.value = e, Vn.value =
|
|
710
|
+
})), N.value = e, Vn.value = re({
|
|
711
711
|
...F.value.style.chart.dialog.xyChart,
|
|
712
712
|
responsive: !0,
|
|
713
713
|
chart: {
|
|
@@ -746,27 +746,27 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
746
746
|
}
|
|
747
747
|
}), Yt.value && Yt.value.open());
|
|
748
748
|
}
|
|
749
|
-
let
|
|
750
|
-
function
|
|
751
|
-
|
|
749
|
+
let Z = x(null);
|
|
750
|
+
function Wn(e) {
|
|
751
|
+
Z.value = e;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
|
|
753
|
+
function Gn() {
|
|
754
|
+
Z.value = null;
|
|
755
755
|
}
|
|
756
|
-
let
|
|
757
|
-
function
|
|
758
|
-
|
|
756
|
+
let Kn = x(!1);
|
|
757
|
+
function qn() {
|
|
758
|
+
Kn.value = !Kn.value;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function Jn() {
|
|
761
761
|
V.value.showTable = !V.value.showTable;
|
|
762
762
|
}
|
|
763
|
-
let
|
|
763
|
+
let Yn = d(() => ({ body: q.value.flatMap((e) => e.datapoints.flatMap((t) => ({
|
|
764
764
|
...t,
|
|
765
765
|
rowName: `${e.name}: ${t.name}`
|
|
766
766
|
}))).map((e) => [{
|
|
767
767
|
name: e.rowName,
|
|
768
768
|
color: e.color
|
|
769
|
-
}, ...e.values]) })),
|
|
769
|
+
}, ...e.values]) })), Q = d(() => {
|
|
770
770
|
let e = [F.value.table.columnNames.series, ...G.value.map((e) => e.text)], t = {
|
|
771
771
|
th: {
|
|
772
772
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -783,23 +783,23 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
783
783
|
return {
|
|
784
784
|
colNames: [F.value.table.columnNames.series, ...G.value.map((e) => e.text)],
|
|
785
785
|
head: e,
|
|
786
|
-
body:
|
|
786
|
+
body: Yn.value.body,
|
|
787
787
|
config: t
|
|
788
788
|
};
|
|
789
789
|
});
|
|
790
|
-
function
|
|
790
|
+
function Xn(e = null) {
|
|
791
791
|
Re(() => {
|
|
792
|
-
let t = [[F.value.table.columnNames.series, ...G.map((e) => [e.text])], ...
|
|
793
|
-
e ? e(n) :
|
|
792
|
+
let t = [[F.value.table.columnNames.series, ...G.map((e) => [e.text])], ...Yn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = de([[F.value.style.chart.title.text], [F.value.style.chart.title.subtitle.text]].concat(t));
|
|
793
|
+
e ? e(n) : ne({
|
|
794
794
|
csvContent: n,
|
|
795
795
|
title: F.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
796
796
|
});
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function Zn() {
|
|
800
800
|
return q.value;
|
|
801
801
|
}
|
|
802
|
-
async function
|
|
802
|
+
async function Qn({ scale: e = 2 } = {}) {
|
|
803
803
|
if (!O.value) return;
|
|
804
804
|
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
805
805
|
domElement: O.value,
|
|
@@ -845,7 +845,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
845
845
|
targetClass: ".vue-ui-ridgeline-x-axis-label",
|
|
846
846
|
angle: F.value.style.chart.xAxis.labels.autoRotate.angle
|
|
847
847
|
});
|
|
848
|
-
let
|
|
848
|
+
let $n = d(() => {
|
|
849
849
|
let e = F.value.table.useDialog && !F.value.table.show, t = V.value.showTable;
|
|
850
850
|
return {
|
|
851
851
|
component: e ? Nt : Ot,
|
|
@@ -944,10 +944,10 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
944
944
|
mr(), nn.value = !1;
|
|
945
945
|
}
|
|
946
946
|
function dr(e) {
|
|
947
|
-
if (!B.value ||
|
|
948
|
-
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ",
|
|
949
|
-
if (!t && !n && !r && !i && !a && !
|
|
950
|
-
if (e.preventDefault(), e.stopPropagation(),
|
|
947
|
+
if (!B.value || Kn.value || document.activeElement !== B.value || !q.value.length) return;
|
|
948
|
+
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", ee = e.key === "Escape";
|
|
949
|
+
if (!t && !n && !r && !i && !a && !ee) return;
|
|
950
|
+
if (e.preventDefault(), e.stopPropagation(), ee) {
|
|
951
951
|
mr();
|
|
952
952
|
return;
|
|
953
953
|
}
|
|
@@ -962,14 +962,14 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
962
962
|
}
|
|
963
963
|
if (t || n) {
|
|
964
964
|
let e = P.value;
|
|
965
|
-
e = e === null ? n ? 0 : q.value.length - 1 : fr(e + (n ? 1 : -1)), P.value = e,
|
|
965
|
+
e = e === null ? n ? 0 : q.value.length - 1 : fr(e + (n ? 1 : -1)), P.value = e, Z.value = e;
|
|
966
966
|
return;
|
|
967
967
|
}
|
|
968
968
|
if (!K.value.length) return;
|
|
969
|
-
let
|
|
970
|
-
|
|
971
|
-
let
|
|
972
|
-
|
|
969
|
+
let o = M.value?.index ?? null;
|
|
970
|
+
o = o === null ? i ? 0 : K.value.length - 1 : pr(o + (i ? 1 : -1));
|
|
971
|
+
let s = K.value[o];
|
|
972
|
+
s && Mn(s);
|
|
973
973
|
}
|
|
974
974
|
function fr(e) {
|
|
975
975
|
let t = q.value.length;
|
|
@@ -980,25 +980,25 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
980
980
|
return t ? (e % t + t) % t : null;
|
|
981
981
|
}
|
|
982
982
|
function mr() {
|
|
983
|
-
P.value = null,
|
|
983
|
+
P.value = null, Z.value = null, M.value ? Nn(M.value) : M.value = null;
|
|
984
984
|
}
|
|
985
985
|
let $ = d(() => ({
|
|
986
|
-
head:
|
|
987
|
-
body:
|
|
986
|
+
head: Q.value.head,
|
|
987
|
+
body: Q.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
|
|
988
988
|
caption: F.value.a11y.translations.tableCaption,
|
|
989
989
|
notice: F.value.a11y.translations.tableAvailable
|
|
990
990
|
}));
|
|
991
991
|
return Te({
|
|
992
|
-
getData:
|
|
993
|
-
getImage:
|
|
992
|
+
getData: Zn,
|
|
993
|
+
getImage: Qn,
|
|
994
994
|
generateImage: hn,
|
|
995
995
|
generateSvg: ar,
|
|
996
996
|
generatePdf: mn,
|
|
997
|
-
generateCsv:
|
|
997
|
+
generateCsv: Xn,
|
|
998
998
|
hideSeries: Cn,
|
|
999
999
|
showSeries: Sn,
|
|
1000
|
-
toggleAnnotator:
|
|
1001
|
-
toggleTable:
|
|
1000
|
+
toggleAnnotator: qn,
|
|
1001
|
+
toggleTable: Jn,
|
|
1002
1002
|
toggleFullscreen: Bn,
|
|
1003
1003
|
copyAlt: cr
|
|
1004
1004
|
}), (e, t) => (b(), m("div", {
|
|
@@ -1038,10 +1038,10 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1038
1038
|
key: 1,
|
|
1039
1039
|
color: F.value.style.chart.color,
|
|
1040
1040
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
1041
|
-
active:
|
|
1041
|
+
active: Kn.value,
|
|
1042
1042
|
svgRef: T(B),
|
|
1043
1043
|
isCursorPointer: I.value,
|
|
1044
|
-
onClose:
|
|
1044
|
+
onClose: qn
|
|
1045
1045
|
}, {
|
|
1046
1046
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1047
1047
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
|
|
@@ -1109,17 +1109,17 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1109
1109
|
isTooltip: !1,
|
|
1110
1110
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
1111
1111
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
1112
|
-
isAnnotation:
|
|
1112
|
+
isAnnotation: Kn.value,
|
|
1113
1113
|
tableDialog: F.value.table.useDialog,
|
|
1114
1114
|
style: y({ visibility: T(ln) ? T(sn) ? "visible" : "hidden" : "visible" }),
|
|
1115
1115
|
isCursorPointer: I.value,
|
|
1116
1116
|
onToggleFullscreen: Bn,
|
|
1117
1117
|
onGeneratePdf: T(mn),
|
|
1118
|
-
onGenerateCsv:
|
|
1118
|
+
onGenerateCsv: Xn,
|
|
1119
1119
|
onGenerateImage: or,
|
|
1120
1120
|
onGenerateSvg: ar,
|
|
1121
|
-
onToggleTable:
|
|
1122
|
-
onToggleAnnotator:
|
|
1121
|
+
onToggleTable: Jn,
|
|
1122
|
+
onToggleAnnotator: qn,
|
|
1123
1123
|
onCopyAlt: cr
|
|
1124
1124
|
}, Pe({ _: 2 }, [
|
|
1125
1125
|
e.$slots.menuIcon ? {
|
|
@@ -1220,7 +1220,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1220
1220
|
h("div", Ye, [(b(), m("svg", {
|
|
1221
1221
|
ref_key: "svgRef",
|
|
1222
1222
|
ref: B,
|
|
1223
|
-
xmlns: T(
|
|
1223
|
+
xmlns: T(le),
|
|
1224
1224
|
"aria-describedby": `chart-instructions-${j.value}`,
|
|
1225
1225
|
class: ze({
|
|
1226
1226
|
"vue-data-ui-fullscreen--on": X.value,
|
|
@@ -1342,7 +1342,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1342
1342
|
y1: e.y,
|
|
1343
1343
|
x2: e.x,
|
|
1344
1344
|
y2: e.zero,
|
|
1345
|
-
stroke: F.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(
|
|
1345
|
+
stroke: F.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(ce)(t.color) : F.value.style.chart.areas.maxPoint.stroke,
|
|
1346
1346
|
"stroke-width": F.value.style.chart.areas.maxPoint.strokeWidth,
|
|
1347
1347
|
"stroke-linecap": "round",
|
|
1348
1348
|
"stroke-dasharray": F.value.style.chart.areas.maxPoint.strokeDasharray
|
|
@@ -1365,9 +1365,9 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1365
1365
|
"font-weight": F.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
1366
1366
|
fill: F.value.style.chart.yAxis.labels.color,
|
|
1367
1367
|
style: y({ cursor: F.value.style.chart.dialog.show && I.value ? "pointer" : "default" }),
|
|
1368
|
-
"text-decoration": F.value.style.chart.dialog.show && (
|
|
1369
|
-
onMouseenter: (e) =>
|
|
1370
|
-
onMouseleave:
|
|
1368
|
+
"text-decoration": F.value.style.chart.dialog.show && (Z.value === n || N.value && t.uid === N.value.uid || P.value === n) ? "underline" : "",
|
|
1369
|
+
onMouseenter: (e) => Wn(n),
|
|
1370
|
+
onMouseleave: Gn,
|
|
1371
1371
|
onClick: (e) => Un(t)
|
|
1372
1372
|
}, w(t.name), 45, mt)]))), 128)),
|
|
1373
1373
|
F.value.style.chart.xAxis.labels.values.length ? (b(), m("g", {
|
|
@@ -1392,7 +1392,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1392
1392
|
transform: `translate(${t.selectorX}, ${W.value.bottom + F.value.style.chart.xAxis.labels.offsetY}), rotate(${F.value.style.chart.xAxis.labels.rotation})`,
|
|
1393
1393
|
"text-anchor": F.value.style.chart.xAxis.labels.rotation > 0 ? "start" : F.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1394
1394
|
style: y({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 }),
|
|
1395
|
-
innerHTML: T(
|
|
1395
|
+
innerHTML: T(r)({
|
|
1396
1396
|
content: String(t.label),
|
|
1397
1397
|
fontSize: F.value.style.chart.xAxis.labels.fontSize,
|
|
1398
1398
|
fill: F.value.style.chart.xAxis.labels.color,
|
|
@@ -1443,14 +1443,14 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1443
1443
|
style: { pointerEvents: "none" }
|
|
1444
1444
|
}, null, 8, bt)) : p("", !0), M.value && M.value.index === n ? (b(), m("text", {
|
|
1445
1445
|
key: 1,
|
|
1446
|
-
x: In(t.x, T(
|
|
1446
|
+
x: In(t.x, T(oe)(F.value.style.chart.selector.labels.formatter, t.value, T(l)({
|
|
1447
1447
|
p: F.value.style.chart.xAxis.labels.prefix,
|
|
1448
1448
|
v: t.value,
|
|
1449
1449
|
s: F.value.style.chart.xAxis.labels.suffix,
|
|
1450
1450
|
r: F.value.style.chart.selector.labels.rounding
|
|
1451
1451
|
})), F.value.style.chart.selector.labels.fontSize) ? t.x - F.value.style.chart.selector.labels.fontSize / 2 : t.x + F.value.style.chart.selector.labels.fontSize / 2,
|
|
1452
1452
|
y: t.y + F.value.style.chart.selector.labels.fontSize / 3,
|
|
1453
|
-
"text-anchor": In(t.x, T(
|
|
1453
|
+
"text-anchor": In(t.x, T(oe)(F.value.style.chart.selector.labels.formatter, t.value, T(l)({
|
|
1454
1454
|
p: F.value.style.chart.xAxis.labels.prefix,
|
|
1455
1455
|
v: t.value,
|
|
1456
1456
|
s: F.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1459,7 +1459,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1459
1459
|
"font-size": F.value.style.chart.selector.labels.fontSize,
|
|
1460
1460
|
fill: F.value.style.chart.selector.labels.color,
|
|
1461
1461
|
style: { pointerEvents: "none" }
|
|
1462
|
-
}, w(T(
|
|
1462
|
+
}, w(T(oe)(F.value.style.chart.selector.labels.formatter, t.value, T(l)({
|
|
1463
1463
|
p: F.value.style.chart.xAxis.labels.prefix,
|
|
1464
1464
|
v: t.value,
|
|
1465
1465
|
s: F.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1532,24 +1532,24 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1532
1532
|
ref: Vt,
|
|
1533
1533
|
dir: "auto"
|
|
1534
1534
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1535
|
-
Lt.value && F.value.userOptions.buttons.table ? (b(), f(Ve(
|
|
1535
|
+
Lt.value && F.value.userOptions.buttons.table ? (b(), f(Ve($n.value.component), Le({ key: 7 }, $n.value.props, {
|
|
1536
1536
|
ref_key: "tableUnit",
|
|
1537
1537
|
ref: Qt,
|
|
1538
1538
|
onClose: er
|
|
1539
1539
|
}), Pe({
|
|
1540
1540
|
content: E(() => [(b(), f(T(kt), {
|
|
1541
1541
|
key: `table_${Wt.value}`,
|
|
1542
|
-
colNames:
|
|
1543
|
-
head:
|
|
1544
|
-
body:
|
|
1545
|
-
config:
|
|
1546
|
-
title: F.value.table.useDialog ? "" :
|
|
1542
|
+
colNames: Q.value.colNames,
|
|
1543
|
+
head: Q.value.head,
|
|
1544
|
+
body: Q.value.body,
|
|
1545
|
+
config: Q.value.config,
|
|
1546
|
+
title: F.value.table.useDialog ? "" : $n.value.title,
|
|
1547
1547
|
withCloseButton: !F.value.table.useDialog,
|
|
1548
1548
|
isCursorPointer: I.value,
|
|
1549
1549
|
onClose: er
|
|
1550
1550
|
}, {
|
|
1551
1551
|
th: E(({ th: e }) => [h("div", { innerHTML: e }, null, 8, Tt)]),
|
|
1552
|
-
td: E(({ td: e }) => [Fe(w(e.name ? e.name : T(
|
|
1552
|
+
td: E(({ td: e }) => [Fe(w(e.name ? e.name : T(oe)(F.value.style.chart.selector.labels.formatter, e, T(l)({
|
|
1553
1553
|
p: F.value.style.chart.xAxis.labels.prefix,
|
|
1554
1554
|
v: e,
|
|
1555
1555
|
s: F.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1568,18 +1568,18 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
1568
1568
|
_: 2
|
|
1569
1569
|
}, [F.value.table.useDialog ? {
|
|
1570
1570
|
name: "title",
|
|
1571
|
-
fn: E(() => [Fe(w(
|
|
1571
|
+
fn: E(() => [Fe(w($n.value.title), 1)]),
|
|
1572
1572
|
key: "0"
|
|
1573
1573
|
} : void 0, F.value.table.useDialog ? {
|
|
1574
1574
|
name: "actions",
|
|
1575
1575
|
fn: E(() => [h("button", {
|
|
1576
1576
|
tabindex: "0",
|
|
1577
1577
|
class: "vue-ui-user-options-button",
|
|
1578
|
-
onClick: t[1] ||= (e) =>
|
|
1578
|
+
onClick: t[1] ||= (e) => Xn(F.value.userOptions.callbacks.csv),
|
|
1579
1579
|
style: y({ cursor: I.value ? "pointer" : "default" })
|
|
1580
1580
|
}, [Ie(T(Dt), {
|
|
1581
1581
|
name: "fileCsv",
|
|
1582
|
-
stroke:
|
|
1582
|
+
stroke: $n.value.props.color
|
|
1583
1583
|
}, null, 8, ["stroke"])], 4)]),
|
|
1584
1584
|
key: "1"
|
|
1585
1585
|
} : void 0]), 1040)) : p("", !0),
|