vue-data-ui 3.23.9 → 3.23.11
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/README.md +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { l as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, At as n, D as r, Ht as i, Nt as a, X as o, Xt as s, Y as c, _ as ee, b as te, i as l, mt as ne, nt as re, q as ie, t as ae } from "./lib-Dqr_-I6Y.js";
|
|
3
|
+
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ce } from "./useConfig-DwdGsXTx.js";
|
|
5
|
+
import { t as le } from "./usePrinter-CEiH1b6R.js";
|
|
6
|
+
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as fe } from "./useNestedProp-CulPqtou.js";
|
|
8
|
+
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as me } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
+
import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as ge } from "./img-Bkzj3lDD.js";
|
|
12
|
+
import { n as _e } from "./Title-CaVA8EIw.js";
|
|
13
|
+
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as u } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
+
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as we } from "./Legend-BJtY2RA9.js";
|
|
20
|
+
import { t as Te } from "./usePrefersMotion-BC-CsqR1.js";
|
|
21
|
+
import { t as Ee } from "./vue_ui_dumbbell-Bfe_jFyi.js";
|
|
22
|
+
import { Fragment as d, Teleport as De, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Oe, createTextVNode as ke, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as b, normalizeStyle as Ne, onBeforeUnmount as Pe, onMounted as Fe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ie, shallowRef as Le, toDisplayString as T, toRefs as Re, unref as E, vShow as D, watch as ze, watchEffect as Be, withCtx as O, withDirectives as Ve } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-dumbbell.vue
|
|
24
24
|
var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
|
|
25
25
|
"xmlns",
|
|
@@ -162,7 +162,10 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
162
162
|
"xmlns",
|
|
163
163
|
"height",
|
|
164
164
|
"width"
|
|
165
|
-
], Tt = ["fill"], Et =
|
|
165
|
+
], Tt = ["fill"], Et = { style: {
|
|
166
|
+
display: "flex",
|
|
167
|
+
"align-items": "center"
|
|
168
|
+
} }, Dt = /*#__PURE__*/ ve({
|
|
166
169
|
__name: "vue-ui-dumbbell",
|
|
167
170
|
props: {
|
|
168
171
|
config: {
|
|
@@ -179,20 +182,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
179
182
|
}
|
|
180
183
|
},
|
|
181
184
|
emits: ["selectDatapoint", "copyAlt"],
|
|
182
|
-
setup(e, { expose:
|
|
183
|
-
let Dt =
|
|
185
|
+
setup(e, { expose: ve, emit: He }) {
|
|
186
|
+
let Dt = v(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), Ot = v(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), kt = v(() => import("./DataTable-CmyEubtT.js")), At = v(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), jt = v(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Mt = v(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), Nt = v(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_dumbbell: Pt } = ce(), { isThemeValid: Ft, warnInvalidTheme: It } = pe(), Lt = Te(), k = e, Rt = He, zt = f({
|
|
184
187
|
get() {
|
|
185
188
|
return !!k.dataset && k.dataset.length;
|
|
186
189
|
},
|
|
187
190
|
set(e) {
|
|
188
191
|
return e;
|
|
189
192
|
}
|
|
190
|
-
}), A =
|
|
191
|
-
|
|
193
|
+
}), A = S(ie()), Bt = S(0), j = S(null), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(null), Gt = S(0), Kt = S(0), qt = S(0), Jt = S(!1), M = S(null), Yt = S(null), Xt = S(null), Zt = S(null), Qt = S(null), $t = S(null), N = S(null), P = S(null), F = S(null), en = S(!1), I = S(!1), L = S(ln());
|
|
194
|
+
oe({
|
|
192
195
|
config: () => L.value,
|
|
193
196
|
dataset: () => k.dataset,
|
|
194
197
|
component: "VueUiDumbbell",
|
|
195
|
-
rules: [
|
|
198
|
+
rules: [se.emptyArray, {
|
|
196
199
|
test: (e) => e.length > 31,
|
|
197
200
|
message: [
|
|
198
201
|
"👀 The number of series is > 31. Consider:",
|
|
@@ -203,7 +206,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
203
206
|
]
|
|
204
207
|
}]
|
|
205
208
|
});
|
|
206
|
-
let R =
|
|
209
|
+
let R = f(() => L.value.userOptions.useCursorPointer), tn = f(() => s({
|
|
207
210
|
defaultConfig: {
|
|
208
211
|
userOptions: { show: !1 },
|
|
209
212
|
table: { show: !1 },
|
|
@@ -240,8 +243,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
240
243
|
} }
|
|
241
244
|
},
|
|
242
245
|
userConfig: L.value.skeletonConfig ?? {}
|
|
243
|
-
})), { loading: nn, FINAL_DATASET: rn, manualLoading: an } =
|
|
244
|
-
...
|
|
246
|
+
})), { loading: nn, FINAL_DATASET: rn, manualLoading: an } = ue({
|
|
247
|
+
...Re(k),
|
|
245
248
|
FINAL_CONFIG: L,
|
|
246
249
|
prepareConfig: ln,
|
|
247
250
|
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
@@ -271,44 +274,44 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
271
274
|
end: 5
|
|
272
275
|
}
|
|
273
276
|
],
|
|
274
|
-
skeletonConfig:
|
|
277
|
+
skeletonConfig: s({
|
|
275
278
|
defaultConfig: L.value,
|
|
276
279
|
userConfig: tn.value
|
|
277
280
|
})
|
|
278
|
-
}), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } =
|
|
281
|
+
}), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } = Se({ config: L.value }), { svgRef: z } = Ce({ config: L.value.style.chart.title });
|
|
279
282
|
function ln() {
|
|
280
|
-
let e =
|
|
283
|
+
let e = fe({
|
|
281
284
|
userConfig: k.config,
|
|
282
285
|
defaultConfig: Pt
|
|
283
286
|
}), t = e.theme;
|
|
284
287
|
if (!t) return e;
|
|
285
288
|
if (!Ft.value(e)) return It(e), e;
|
|
286
|
-
let n =
|
|
287
|
-
userConfig:
|
|
289
|
+
let n = fe({
|
|
290
|
+
userConfig: Ee[t] || k.config,
|
|
288
291
|
defaultConfig: e
|
|
289
292
|
});
|
|
290
|
-
return
|
|
293
|
+
return fe({
|
|
291
294
|
userConfig: k.config,
|
|
292
295
|
defaultConfig: n
|
|
293
296
|
});
|
|
294
297
|
}
|
|
295
|
-
|
|
298
|
+
ze(() => k.config, (e) => {
|
|
296
299
|
nn.value || (L.value = ln()), on.value = !L.value.userOptions.showOnChartHover, dn(), Gt.value += 1, Kt.value += 1, qt.value += 1, G.value = L.value.style.chart.rowHeight, K.value = L.value.style.chart.width, H.value.showTable = L.value.table.show;
|
|
297
|
-
}, { deep: !0 }),
|
|
300
|
+
}, { deep: !0 }), ze(() => rn.value, (e) => {
|
|
298
301
|
Array.isArray(e) && e.length > 0 && (an.value = !1), Tn(), En();
|
|
299
302
|
}, { deep: !0 });
|
|
300
|
-
let B =
|
|
301
|
-
|
|
303
|
+
let B = Le(null), V = Le(null);
|
|
304
|
+
Fe(() => {
|
|
302
305
|
Jt.value = !0, dn();
|
|
303
306
|
});
|
|
304
|
-
let un =
|
|
307
|
+
let un = f(() => L.value.debug);
|
|
305
308
|
function dn() {
|
|
306
|
-
if (
|
|
309
|
+
if (a(k.dataset) ? re({
|
|
307
310
|
componentName: "VueUiDumbbell",
|
|
308
311
|
type: "dataset",
|
|
309
312
|
debug: un.value
|
|
310
313
|
}) : k.dataset.forEach((e, t) => {
|
|
311
|
-
|
|
314
|
+
ne({
|
|
312
315
|
datasetObject: e,
|
|
313
316
|
requiredAttributes: [
|
|
314
317
|
"name",
|
|
@@ -316,7 +319,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
316
319
|
"end"
|
|
317
320
|
]
|
|
318
321
|
}).forEach((e) => {
|
|
319
|
-
zt.value = !1,
|
|
322
|
+
zt.value = !1, re({
|
|
320
323
|
componentName: "VueUiDumbbell",
|
|
321
324
|
type: "datasetSerieAttribute",
|
|
322
325
|
property: e,
|
|
@@ -325,8 +328,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
325
328
|
});
|
|
326
329
|
});
|
|
327
330
|
}), L.value.responsive) {
|
|
328
|
-
let e =
|
|
329
|
-
let { width: e, height: t } =
|
|
331
|
+
let e = ye(() => {
|
|
332
|
+
let { width: e, height: t } = be({
|
|
330
333
|
chart: j.value,
|
|
331
334
|
title: L.value.style.chart.title.text ? Vt.value : null,
|
|
332
335
|
legend: L.value.style.chart.legend.show ? Ht.value : null,
|
|
@@ -341,29 +344,29 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
341
344
|
}
|
|
342
345
|
Bn();
|
|
343
346
|
}
|
|
344
|
-
|
|
347
|
+
Pe(() => {
|
|
345
348
|
X.value != null && (cancelAnimationFrame(X.value), X.value = null), B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
346
349
|
});
|
|
347
|
-
let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } =
|
|
350
|
+
let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = le({
|
|
348
351
|
elementId: `dumbbell_${A.value}`,
|
|
349
352
|
fileName: L.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
350
353
|
options: L.value.userOptions.print
|
|
351
|
-
}), gn =
|
|
352
|
-
|
|
354
|
+
}), gn = f(() => L.value.userOptions.show && !L.value.style.chart.title.text), H = S({ showTable: L.value.table.show });
|
|
355
|
+
ze(L, () => {
|
|
353
356
|
H.value = { showTable: L.value.table.show };
|
|
354
357
|
}, { immediate: !0 });
|
|
355
|
-
let U =
|
|
358
|
+
let U = f(() => rn.value.map((e, t) => ({
|
|
356
359
|
...e,
|
|
357
360
|
start: te(e.start),
|
|
358
361
|
end: te(e.end),
|
|
359
362
|
id: e.id ?? `${String(e.name)}__${String(e.start)}__${String(e.end)}__${ie()}`
|
|
360
|
-
}))), _n =
|
|
363
|
+
}))), _n = f(() => {
|
|
361
364
|
let e = L.value.style.chart.grid, t = U.value.flatMap((e) => [e.start, e.end]).map((e) => Number(e)).filter((e) => Number.isFinite(e)), n = t.length ? Math.min(...t) : 0, r = t.length ? Math.max(...t) : 0;
|
|
362
365
|
return {
|
|
363
366
|
min: e.scaleMin ?? Math.min(n, 0),
|
|
364
367
|
max: e.scaleMax ?? r
|
|
365
368
|
};
|
|
366
|
-
}), W =
|
|
369
|
+
}), W = f(() => ee(_n.value.min, _n.value.max, L.value.style.chart.grid.scaleSteps)), G = S(L.value.style.chart.rowHeight), K = S(L.value.style.chart.width);
|
|
367
370
|
function vn() {
|
|
368
371
|
let e = 0;
|
|
369
372
|
Zt.value && (e = Array.from(Zt.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -373,33 +376,33 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
373
376
|
let t = Xt.value ? Xt.value.getBoundingClientRect().width : 0;
|
|
374
377
|
return e + t + (t ? 24 + L.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
375
378
|
}
|
|
376
|
-
let yn =
|
|
379
|
+
let yn = S(0), bn = ye((e) => {
|
|
377
380
|
yn.value = e;
|
|
378
381
|
}, 100);
|
|
379
|
-
|
|
382
|
+
Be((e) => {
|
|
380
383
|
let t = Qt.value;
|
|
381
384
|
if (!t) return;
|
|
382
385
|
let n = new ResizeObserver((e) => {
|
|
383
386
|
bn(e[0].contentRect.height);
|
|
384
387
|
});
|
|
385
388
|
n.observe(t), e(() => n.disconnect());
|
|
386
|
-
}),
|
|
389
|
+
}), Pe(() => {
|
|
387
390
|
yn.value = 0;
|
|
388
391
|
});
|
|
389
|
-
let xn =
|
|
392
|
+
let xn = f(() => {
|
|
390
393
|
I.value;
|
|
391
394
|
let e = 0;
|
|
392
395
|
$t.value && (e = $t.value.getBBox().height);
|
|
393
396
|
let t = 0;
|
|
394
397
|
return Qt.value && (t = yn.value), e + t;
|
|
395
|
-
}), Sn =
|
|
398
|
+
}), Sn = f(() => U.value.length);
|
|
396
399
|
function Cn(e, t, n) {
|
|
397
400
|
let r = Number(e), i = Number(t.min), a = Number(t.max), o = Number(n.width);
|
|
398
401
|
if (!Number.isFinite(r) || !Number.isFinite(i) || !Number.isFinite(a) || !Number.isFinite(o)) return n.left;
|
|
399
402
|
let s = a - i;
|
|
400
403
|
return s <= 0 ? n.left : n.left + (r - i) / s * o;
|
|
401
404
|
}
|
|
402
|
-
let q =
|
|
405
|
+
let q = f(() => {
|
|
403
406
|
I.value;
|
|
404
407
|
let e = vn(), t = L.value.style.chart.padding, n = L.value.style.chart.labels.axis.xLabel ? L.value.style.chart.labels.axis.xLabelOffsetY : 0, r = G.value * Sn.value - xn.value - t.top - t.bottom - n, i = r / Sn.value, a = G.value * Sn.value, o = K.value - e - t.left - t.right, s = W.value.ticks.length * (o / W.value.ticks.length);
|
|
405
408
|
return {
|
|
@@ -413,18 +416,18 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
413
416
|
absoluteHeight: a,
|
|
414
417
|
widthPlotReference: s
|
|
415
418
|
};
|
|
416
|
-
}), J =
|
|
419
|
+
}), J = f(() => Math.min(G.value / 2 * .7, L.value.style.chart.plots.radius)), wn = S([]), Y = f({
|
|
417
420
|
get() {
|
|
418
421
|
let e = q.value, t = W.value;
|
|
419
422
|
return wn.value.map((n, r) => {
|
|
420
|
-
let i = Cn(n.start, t, e), a = Cn(n.endVal, t, e), o = i + (a - i) / 2, s = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end > n.start,
|
|
423
|
+
let i = Cn(n.start, t, e), a = Cn(n.endVal, t, e), o = i + (a - i) / 2, s = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end > n.start, c = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end < n.start, ee = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end === n.start || [null, void 0].includes(n.start) || [null, void 0].includes(n.end), te = s ? L.value.style.chart.plots.evaluationColors.positive : c ? L.value.style.chart.plots.evaluationColors.negative : L.value.style.chart.plots.evaluationColors.neutral;
|
|
421
424
|
return {
|
|
422
425
|
...n,
|
|
423
426
|
isPositive: s,
|
|
424
|
-
isNegative:
|
|
425
|
-
isNeutral:
|
|
426
|
-
evaluationColor:
|
|
427
|
-
evaluationGrad: `url(#${s ? "positive" :
|
|
427
|
+
isNegative: c,
|
|
428
|
+
isNeutral: ee,
|
|
429
|
+
evaluationColor: te,
|
|
430
|
+
evaluationGrad: `url(#${s ? "positive" : c ? "negative" : "neutral"}_grad_${A.value})`,
|
|
428
431
|
startX: i,
|
|
429
432
|
endX: a,
|
|
430
433
|
centerX: o,
|
|
@@ -445,8 +448,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
445
448
|
};
|
|
446
449
|
});
|
|
447
450
|
}
|
|
448
|
-
let X =
|
|
449
|
-
|
|
451
|
+
let X = S(null);
|
|
452
|
+
Fe(() => {
|
|
450
453
|
En();
|
|
451
454
|
});
|
|
452
455
|
function En() {
|
|
@@ -475,7 +478,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
475
478
|
};
|
|
476
479
|
X.value = requestAnimationFrame(n);
|
|
477
480
|
}
|
|
478
|
-
let Dn =
|
|
481
|
+
let Dn = f(() => L.value.style.chart.plots.evaluationColors.enable ? [
|
|
479
482
|
{
|
|
480
483
|
name: L.value.style.chart.legend.labelNegative,
|
|
481
484
|
color: L.value.style.chart.plots.gradient.show ? `url(#negative_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.negative
|
|
@@ -494,7 +497,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
494
497
|
}, {
|
|
495
498
|
name: L.value.style.chart.legend.labelEnd,
|
|
496
499
|
color: L.value.style.chart.plots.gradient.show ? `url(#end_grad_${A.value})` : L.value.style.chart.plots.endColor
|
|
497
|
-
}]), On =
|
|
500
|
+
}]), On = f(() => ({
|
|
498
501
|
cy: "donut-div-legend",
|
|
499
502
|
backgroundColor: L.value.style.chart.legend.backgroundColor,
|
|
500
503
|
color: L.value.style.chart.legend.color,
|
|
@@ -502,13 +505,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
502
505
|
paddingBottom: 12,
|
|
503
506
|
paddingTop: 12,
|
|
504
507
|
fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
|
|
505
|
-
})), Z =
|
|
508
|
+
})), Z = f(() => ({
|
|
506
509
|
head: Y.value.map((e) => ({ name: e.name })),
|
|
507
510
|
body: Y.value.map((e) => ({
|
|
508
511
|
start: e.start,
|
|
509
512
|
end: e.end
|
|
510
513
|
}))
|
|
511
|
-
})), Q =
|
|
514
|
+
})), Q = f(() => {
|
|
512
515
|
let e = [
|
|
513
516
|
L.value.table.columnNames.series,
|
|
514
517
|
L.value.table.columnNames.start,
|
|
@@ -562,7 +565,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
562
565
|
};
|
|
563
566
|
});
|
|
564
567
|
function kn(e = null) {
|
|
565
|
-
|
|
568
|
+
je(() => {
|
|
566
569
|
let n = Z.value.head.map((e, t) => [
|
|
567
570
|
[e.name],
|
|
568
571
|
[Z.value.body[t].start],
|
|
@@ -582,7 +585,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
582
585
|
});
|
|
583
586
|
});
|
|
584
587
|
}
|
|
585
|
-
let $ =
|
|
588
|
+
let $ = S(!1);
|
|
586
589
|
function An(e) {
|
|
587
590
|
$.value = e, Bt.value += 1;
|
|
588
591
|
}
|
|
@@ -592,13 +595,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
592
595
|
function Mn() {
|
|
593
596
|
H.value.showTable = !H.value.showTable;
|
|
594
597
|
}
|
|
595
|
-
let Nn =
|
|
598
|
+
let Nn = S(!1);
|
|
596
599
|
function Pn() {
|
|
597
600
|
Nn.value = !Nn.value;
|
|
598
601
|
}
|
|
599
602
|
async function Fn({ scale: e = 2 } = {}) {
|
|
600
603
|
if (!j.value) return;
|
|
601
|
-
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
604
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
|
|
602
605
|
domElement: j.value,
|
|
603
606
|
base64: !0,
|
|
604
607
|
img: !0,
|
|
@@ -613,11 +616,11 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
613
616
|
aspectRatio: r
|
|
614
617
|
};
|
|
615
618
|
}
|
|
616
|
-
let In =
|
|
619
|
+
let In = f(() => W.value.ticks), Ln = f(() => ({
|
|
617
620
|
start: 0,
|
|
618
621
|
end: In.value.length
|
|
619
622
|
}));
|
|
620
|
-
|
|
623
|
+
he({
|
|
621
624
|
timeLabelsEls: Qt,
|
|
622
625
|
timeLabels: In,
|
|
623
626
|
slicer: Ln,
|
|
@@ -657,7 +660,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
657
660
|
}
|
|
658
661
|
e === null || e !== n ? (e = n, t = 1) : (t += 1, t >= 1 && (I.value = n, e = null, t = 0));
|
|
659
662
|
};
|
|
660
|
-
})(), Bn =
|
|
663
|
+
})(), Bn = ye(() => {
|
|
661
664
|
requestAnimationFrame(() => {
|
|
662
665
|
requestAnimationFrame(() => {
|
|
663
666
|
let e = Rn({
|
|
@@ -690,14 +693,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
690
693
|
seriesIndex: t
|
|
691
694
|
});
|
|
692
695
|
}
|
|
693
|
-
let Wn =
|
|
696
|
+
let Wn = f(() => {
|
|
694
697
|
if (P.value === null) return 0;
|
|
695
698
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end);
|
|
696
699
|
return e && t ? Math.min(P.value.startX, P.value.endX) + Math.abs(P.value.startX - P.value.endX) / 2 : e && !t ? P.value.startX : t && !e ? P.value.endX : null;
|
|
697
|
-
}), Gn =
|
|
700
|
+
}), Gn = f(() => {
|
|
698
701
|
if (P.value === null) return "";
|
|
699
702
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end), n = "", r = "";
|
|
700
|
-
return e && (n =
|
|
703
|
+
return e && (n = l(L.value.style.chart.labels.formatter, P.value.start, o({
|
|
701
704
|
p: L.value.style.chart.labels.prefix,
|
|
702
705
|
v: P.value.start,
|
|
703
706
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -705,7 +708,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
705
708
|
}), {
|
|
706
709
|
datapoint: P.value,
|
|
707
710
|
seriesIndex: N.value
|
|
708
|
-
})), t && (r =
|
|
711
|
+
})), t && (r = l(L.value.style.chart.labels.formatter, P.value.end, o({
|
|
709
712
|
p: L.value.style.chart.labels.prefix,
|
|
710
713
|
v: P.value.end,
|
|
711
714
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -714,7 +717,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
714
717
|
datapoint: P.value,
|
|
715
718
|
seriesIndex: N.value
|
|
716
719
|
})), e && t ? `${n} → ${r}` : e && !t ? n : t && !e ? r : "";
|
|
717
|
-
}), Kn =
|
|
720
|
+
}), Kn = f(() => {
|
|
718
721
|
let e = L.value.table.useDialog && !L.value.table.show, t = H.value.showTable;
|
|
719
722
|
return {
|
|
720
723
|
component: e ? Nt : Ot,
|
|
@@ -745,16 +748,16 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
745
748
|
}
|
|
746
749
|
};
|
|
747
750
|
});
|
|
748
|
-
|
|
751
|
+
ze(() => H.value.showTable, (e) => {
|
|
749
752
|
L.value.table.show || (e && L.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
750
753
|
});
|
|
751
754
|
function qn() {
|
|
752
755
|
H.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
|
|
753
756
|
}
|
|
754
|
-
let Jn =
|
|
757
|
+
let Jn = f(() => Dn.value.map((e) => ({
|
|
755
758
|
...e,
|
|
756
759
|
shape: "circle"
|
|
757
|
-
}))), Yn =
|
|
760
|
+
}))), Yn = f(() => L.value.style.chart.backgroundColor), Xn = f(() => L.value.style.chart.legend), Zn = f(() => L.value.style.chart.title), { isCallbackImaging: Qn, isCallbackSvg: $n, generateSvg: er, onGenerateImage: tr } = me({
|
|
758
761
|
svg: z,
|
|
759
762
|
title: Zn,
|
|
760
763
|
legend: Xn,
|
|
@@ -822,7 +825,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
822
825
|
seriesIndex: a
|
|
823
826
|
}));
|
|
824
827
|
}
|
|
825
|
-
let cr =
|
|
828
|
+
let cr = f(() => ({
|
|
826
829
|
head: Q.value.head,
|
|
827
830
|
body: Q.value.body.map((e) => [
|
|
828
831
|
e[0]?.name ?? "",
|
|
@@ -833,7 +836,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
833
836
|
caption: L.value.a11y.translations.tableCaption,
|
|
834
837
|
notice: L.value.a11y.translations.tableAvailable
|
|
835
838
|
}));
|
|
836
|
-
return
|
|
839
|
+
return ve({
|
|
837
840
|
getData: jn,
|
|
838
841
|
getImage: Fn,
|
|
839
842
|
generatePdf: mn,
|
|
@@ -844,20 +847,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
844
847
|
toggleAnnotator: Pn,
|
|
845
848
|
toggleFullscreen: An,
|
|
846
849
|
copyAlt: nr
|
|
847
|
-
}), (e, t) => (
|
|
850
|
+
}), (e, t) => (x(), h("div", {
|
|
848
851
|
ref_key: "dumbbellChart",
|
|
849
852
|
ref: j,
|
|
850
|
-
class:
|
|
851
|
-
style:
|
|
853
|
+
class: Me(`vue-data-ui-component vue-ui-dumbbell ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
854
|
+
style: Ne(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor};${L.value.responsive ? "height:100%" : ""}`),
|
|
852
855
|
id: `dumbbell_${A.value}`,
|
|
853
|
-
onMouseenter: t[1] ||= () =>
|
|
854
|
-
onMouseleave: t[2] ||= () =>
|
|
856
|
+
onMouseenter: t[1] ||= () => E(sn)(!0),
|
|
857
|
+
onMouseleave: t[2] ||= () => E(sn)(!1)
|
|
855
858
|
}, [
|
|
856
|
-
|
|
859
|
+
g("div", {
|
|
857
860
|
id: `chart-instructions-${A.value}`,
|
|
858
861
|
class: "sr-only"
|
|
859
|
-
}, [
|
|
860
|
-
cr.value.body.length ? (
|
|
862
|
+
}, [g("p", null, T(L.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
863
|
+
cr.value.body.length ? (x(), p(xe, {
|
|
861
864
|
key: 0,
|
|
862
865
|
uid: A.value,
|
|
863
866
|
head: cr.value.head,
|
|
@@ -870,22 +873,22 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
870
873
|
"body",
|
|
871
874
|
"caption",
|
|
872
875
|
"notice"
|
|
873
|
-
])) :
|
|
874
|
-
L.value.userOptions.buttons.annotator ? (
|
|
876
|
+
])) : m("", !0),
|
|
877
|
+
L.value.userOptions.buttons.annotator ? (x(), p(E(At), {
|
|
875
878
|
key: 1,
|
|
876
|
-
svgRef:
|
|
879
|
+
svgRef: E(z),
|
|
877
880
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
878
881
|
color: L.value.style.chart.color,
|
|
879
882
|
active: Nn.value,
|
|
880
883
|
isCursorPointer: R.value,
|
|
881
884
|
onClose: Pn
|
|
882
885
|
}, {
|
|
883
|
-
"annotator-action-close":
|
|
884
|
-
"annotator-action-color":
|
|
885
|
-
"annotator-action-draw":
|
|
886
|
-
"annotator-action-undo":
|
|
887
|
-
"annotator-action-redo":
|
|
888
|
-
"annotator-action-delete":
|
|
886
|
+
"annotator-action-close": O(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
887
|
+
"annotator-action-color": O(({ color: t }) => [w(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
|
|
888
|
+
"annotator-action-draw": O(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
|
|
889
|
+
"annotator-action-undo": O(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
|
|
890
|
+
"annotator-action-redo": O(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
|
|
891
|
+
"annotator-action-delete": O(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
|
|
889
892
|
_: 3
|
|
890
893
|
}, 8, [
|
|
891
894
|
"svgRef",
|
|
@@ -893,20 +896,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
893
896
|
"color",
|
|
894
897
|
"active",
|
|
895
898
|
"isCursorPointer"
|
|
896
|
-
])) :
|
|
897
|
-
gn.value ? (
|
|
899
|
+
])) : m("", !0),
|
|
900
|
+
gn.value ? (x(), h("div", {
|
|
898
901
|
key: 2,
|
|
899
902
|
ref_key: "noTitle",
|
|
900
903
|
ref: Wt,
|
|
901
904
|
class: "vue-data-ui-no-title-space",
|
|
902
905
|
style: "height:36px; width: 100%;background:transparent"
|
|
903
|
-
}, null, 512)) :
|
|
904
|
-
L.value.style.chart.title.text ? (
|
|
906
|
+
}, null, 512)) : m("", !0),
|
|
907
|
+
L.value.style.chart.title.text ? (x(), h("div", {
|
|
905
908
|
key: 3,
|
|
906
909
|
ref_key: "chartTitle",
|
|
907
910
|
ref: Vt,
|
|
908
911
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
909
|
-
}, [(
|
|
912
|
+
}, [(x(), p(_e, {
|
|
910
913
|
key: `title_${Gt.value}`,
|
|
911
914
|
config: {
|
|
912
915
|
title: {
|
|
@@ -918,16 +921,16 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
918
921
|
...L.value.style.chart.title.subtitle
|
|
919
922
|
}
|
|
920
923
|
}
|
|
921
|
-
}, null, 8, ["config"]))], 512)) :
|
|
922
|
-
|
|
923
|
-
L.value.userOptions.show && zt.value && (
|
|
924
|
+
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
925
|
+
g("div", { id: `legend-top-${A.value}` }, null, 8, Ge),
|
|
926
|
+
L.value.userOptions.show && zt.value && (E(cn) || E(on)) ? (x(), p(E(jt), {
|
|
924
927
|
ref_key: "userOptionsRef",
|
|
925
928
|
ref: Yt,
|
|
926
929
|
key: `user_option_${Bt.value}`,
|
|
927
930
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
928
931
|
color: L.value.style.chart.color,
|
|
929
|
-
isPrinting:
|
|
930
|
-
isImaging:
|
|
932
|
+
isPrinting: E(fn),
|
|
933
|
+
isImaging: E(pn),
|
|
931
934
|
uid: A.value,
|
|
932
935
|
hasPdf: L.value.userOptions.buttons.pdf,
|
|
933
936
|
hasXls: L.value.userOptions.buttons.csv,
|
|
@@ -947,18 +950,18 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
947
950
|
tableDialog: L.value.table.useDialog,
|
|
948
951
|
isCursorPointer: R.value,
|
|
949
952
|
onToggleFullscreen: An,
|
|
950
|
-
onGeneratePdf:
|
|
953
|
+
onGeneratePdf: E(mn),
|
|
951
954
|
onGenerateCsv: kn,
|
|
952
|
-
onGenerateImage:
|
|
953
|
-
onGenerateSvg:
|
|
955
|
+
onGenerateImage: E(tr),
|
|
956
|
+
onGenerateSvg: E(er),
|
|
954
957
|
onToggleTable: Mn,
|
|
955
958
|
onToggleAnnotator: Pn,
|
|
956
959
|
onCopyAlt: nr,
|
|
957
|
-
style:
|
|
958
|
-
},
|
|
960
|
+
style: Ne({ visibility: E(cn) ? E(on) ? "visible" : "hidden" : "visible" })
|
|
961
|
+
}, Oe({ _: 2 }, [
|
|
959
962
|
e.$slots.menuIcon ? {
|
|
960
963
|
name: "menuIcon",
|
|
961
|
-
fn:
|
|
964
|
+
fn: O(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(y({
|
|
962
965
|
isOpen: t,
|
|
963
966
|
color: n
|
|
964
967
|
})), void 0, !0)]),
|
|
@@ -966,32 +969,32 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
966
969
|
} : void 0,
|
|
967
970
|
e.$slots.optionPdf ? {
|
|
968
971
|
name: "optionPdf",
|
|
969
|
-
fn:
|
|
972
|
+
fn: O(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
970
973
|
key: "1"
|
|
971
974
|
} : void 0,
|
|
972
975
|
e.$slots.optionCsv ? {
|
|
973
976
|
name: "optionCsv",
|
|
974
|
-
fn:
|
|
977
|
+
fn: O(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
975
978
|
key: "2"
|
|
976
979
|
} : void 0,
|
|
977
980
|
e.$slots.optionImg ? {
|
|
978
981
|
name: "optionImg",
|
|
979
|
-
fn:
|
|
982
|
+
fn: O(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
980
983
|
key: "3"
|
|
981
984
|
} : void 0,
|
|
982
985
|
e.$slots.optionSvg ? {
|
|
983
986
|
name: "optionSvg",
|
|
984
|
-
fn:
|
|
987
|
+
fn: O(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
985
988
|
key: "4"
|
|
986
989
|
} : void 0,
|
|
987
990
|
e.$slots.optionTable ? {
|
|
988
991
|
name: "optionTable",
|
|
989
|
-
fn:
|
|
992
|
+
fn: O(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
990
993
|
key: "5"
|
|
991
994
|
} : void 0,
|
|
992
995
|
e.$slots.optionFullscreen ? {
|
|
993
996
|
name: "optionFullscreen",
|
|
994
|
-
fn:
|
|
997
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(y({
|
|
995
998
|
toggleFullscreen: t,
|
|
996
999
|
isFullscreen: n
|
|
997
1000
|
})), void 0, !0)]),
|
|
@@ -999,7 +1002,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
999
1002
|
} : void 0,
|
|
1000
1003
|
e.$slots.optionAnnotator ? {
|
|
1001
1004
|
name: "optionAnnotator",
|
|
1002
|
-
fn:
|
|
1005
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(y({
|
|
1003
1006
|
toggleAnnotator: t,
|
|
1004
1007
|
isAnnotator: n
|
|
1005
1008
|
})), void 0, !0)]),
|
|
@@ -1007,46 +1010,46 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1007
1010
|
} : void 0,
|
|
1008
1011
|
e.$slots.optionAltCopy ? {
|
|
1009
1012
|
name: "optionAltCopy",
|
|
1010
|
-
fn:
|
|
1013
|
+
fn: O(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
|
|
1011
1014
|
key: "8"
|
|
1012
1015
|
} : void 0,
|
|
1013
1016
|
e.$slots["custom-menu-before"] ? {
|
|
1014
1017
|
name: "custom-menu-before",
|
|
1015
|
-
fn:
|
|
1018
|
+
fn: O(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1016
1019
|
key: "9"
|
|
1017
1020
|
} : void 0,
|
|
1018
1021
|
e.$slots["custom-menu-after"] ? {
|
|
1019
1022
|
name: "custom-menu-after",
|
|
1020
|
-
fn:
|
|
1023
|
+
fn: O(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1021
1024
|
key: "10"
|
|
1022
1025
|
} : void 0
|
|
1023
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
1024
|
-
|
|
1026
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
|
|
1027
|
+
g("div", Ke, [(x(), h("svg", {
|
|
1025
1028
|
ref_key: "svgRef",
|
|
1026
1029
|
ref: z,
|
|
1027
|
-
xmlns:
|
|
1028
|
-
class:
|
|
1030
|
+
xmlns: E(ae),
|
|
1031
|
+
class: Me({
|
|
1029
1032
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1030
1033
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1031
1034
|
}),
|
|
1032
1035
|
viewBox: `0 0 ${K.value} ${q.value.absoluteHeight <= 0 ? 10 : q.value.absoluteHeight}`,
|
|
1033
|
-
style:
|
|
1036
|
+
style: Ne(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color}`),
|
|
1034
1037
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1035
1038
|
tabindex: "0",
|
|
1036
1039
|
onFocus: ar,
|
|
1037
1040
|
onBlur: or,
|
|
1038
1041
|
onKeydown: sr
|
|
1039
1042
|
}, [
|
|
1040
|
-
|
|
1041
|
-
e.$slots["chart-background"] ? (
|
|
1043
|
+
_(E(Mt)),
|
|
1044
|
+
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
1042
1045
|
key: 0,
|
|
1043
1046
|
x: q.value.left,
|
|
1044
1047
|
y: q.value.top,
|
|
1045
1048
|
width: Math.max(.1, q.value.width),
|
|
1046
1049
|
height: Math.max(.1, q.value.height),
|
|
1047
1050
|
style: { pointerEvents: "none" }
|
|
1048
|
-
}, [
|
|
1049
|
-
L.value.style.chart.grid.verticalGrid.show ? (
|
|
1051
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : m("", !0),
|
|
1052
|
+
L.value.style.chart.grid.verticalGrid.show ? (x(), h("g", Ye, [(x(!0), h(d, null, C(W.value.ticks, (e, t) => (x(), h("line", {
|
|
1050
1053
|
x1: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1051
1054
|
x2: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1052
1055
|
y1: q.value.top,
|
|
@@ -1054,8 +1057,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1054
1057
|
stroke: L.value.style.chart.grid.verticalGrid.stroke,
|
|
1055
1058
|
"stroke-width": L.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
1056
1059
|
"stroke-dasharray": L.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
1057
|
-
}, null, 8, Xe))), 256))])) :
|
|
1058
|
-
L.value.style.chart.grid.horizontalGrid.show ? (
|
|
1060
|
+
}, null, 8, Xe))), 256))])) : m("", !0),
|
|
1061
|
+
L.value.style.chart.grid.horizontalGrid.show ? (x(), h("g", Ze, [(x(!0), h(d, null, C(U.value, (e, t) => (x(), h("line", {
|
|
1059
1062
|
x1: q.value.left,
|
|
1060
1063
|
x2: q.value.right,
|
|
1061
1064
|
y1: q.value.top + t * q.value.rowHeight,
|
|
@@ -1063,7 +1066,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1063
1066
|
stroke: L.value.style.chart.grid.horizontalGrid.stroke,
|
|
1064
1067
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1065
1068
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1066
|
-
}, null, 8, Qe))), 256)),
|
|
1069
|
+
}, null, 8, Qe))), 256)), g("line", {
|
|
1067
1070
|
x1: q.value.left,
|
|
1068
1071
|
x2: q.value.right,
|
|
1069
1072
|
y1: q.value.bottom,
|
|
@@ -1071,8 +1074,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1071
1074
|
stroke: L.value.style.chart.grid.horizontalGrid.stroke,
|
|
1072
1075
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1073
1076
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1074
|
-
}, null, 8, $e)])) :
|
|
1075
|
-
L.value.style.chart.labels.axis.yLabel ? (
|
|
1077
|
+
}, null, 8, $e)])) : m("", !0),
|
|
1078
|
+
L.value.style.chart.labels.axis.yLabel ? (x(), h("text", {
|
|
1076
1079
|
key: 3,
|
|
1077
1080
|
ref_key: "yAxisLabel",
|
|
1078
1081
|
ref: Xt,
|
|
@@ -1080,12 +1083,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1080
1083
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1081
1084
|
fill: L.value.style.chart.labels.axis.color,
|
|
1082
1085
|
"text-anchor": "middle"
|
|
1083
|
-
},
|
|
1084
|
-
L.value.style.chart.labels.yAxisLabels.show ? (
|
|
1086
|
+
}, T(L.value.style.chart.labels.axis.yLabel), 9, et)) : m("", !0),
|
|
1087
|
+
L.value.style.chart.labels.yAxisLabels.show ? (x(), h("g", {
|
|
1085
1088
|
key: 4,
|
|
1086
1089
|
ref_key: "serieLabels",
|
|
1087
1090
|
ref: Zt
|
|
1088
|
-
}, [(
|
|
1091
|
+
}, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
|
|
1089
1092
|
class: "vue-ui-dumbbell-serie-name",
|
|
1090
1093
|
key: `serieLabel_${e.id}_${t}`,
|
|
1091
1094
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -1106,11 +1109,11 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1106
1109
|
datapoint: e,
|
|
1107
1110
|
seriesIndex: t
|
|
1108
1111
|
})
|
|
1109
|
-
},
|
|
1112
|
+
}, T(e.name) + " " + T(I.value && L.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : `(${E(l)(L.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), E(o)({
|
|
1110
1113
|
v: 100 * (e.end / e.start - 1),
|
|
1111
1114
|
s: "%",
|
|
1112
1115
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1113
|
-
}), { datapoint: e })})` : ""), 41, tt))), 128)), L.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (
|
|
1116
|
+
}), { datapoint: e })})` : ""), 41, tt))), 128)), L.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (x(!0), h(d, { key: 0 }, C(Y.value, (e, t) => (x(), h("text", {
|
|
1114
1117
|
class: "vue-ui-dumbbell-serie-value",
|
|
1115
1118
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
1116
1119
|
y: q.value.top + t * q.value.rowHeight + q.value.rowHeight / 1.3 + L.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -1129,12 +1132,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1129
1132
|
datapoint: e,
|
|
1130
1133
|
seriesIndex: t
|
|
1131
1134
|
})
|
|
1132
|
-
},
|
|
1135
|
+
}, T([null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : E(l)(L.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), E(o)({
|
|
1133
1136
|
v: 100 * (e.end / e.start - 1),
|
|
1134
1137
|
s: "%",
|
|
1135
1138
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1136
|
-
}), { datapoint: e })), 41, nt))), 256)) :
|
|
1137
|
-
L.value.style.chart.labels.axis.xLabel ? (
|
|
1139
|
+
}), { datapoint: e })), 41, nt))), 256)) : m("", !0)], 512)) : m("", !0),
|
|
1140
|
+
L.value.style.chart.labels.axis.xLabel ? (x(), h("text", {
|
|
1138
1141
|
key: 5,
|
|
1139
1142
|
ref_key: "xAxisLabel",
|
|
1140
1143
|
ref: $t,
|
|
@@ -1143,12 +1146,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1143
1146
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1144
1147
|
fill: L.value.style.chart.labels.axis.color,
|
|
1145
1148
|
"text-anchor": "middle"
|
|
1146
|
-
},
|
|
1147
|
-
L.value.style.chart.labels.xAxisLabels.show ? (
|
|
1149
|
+
}, T(L.value.style.chart.labels.axis.xLabel), 9, rt)) : m("", !0),
|
|
1150
|
+
L.value.style.chart.labels.xAxisLabels.show ? (x(), h("g", {
|
|
1148
1151
|
key: 6,
|
|
1149
1152
|
ref_key: "scaleLabels",
|
|
1150
1153
|
ref: Qt
|
|
1151
|
-
}, [(
|
|
1154
|
+
}, [(x(!0), h(d, null, C(W.value.ticks, (e, t) => (x(), h("text", {
|
|
1152
1155
|
class: "vue-ui-dumbbell-scale-label",
|
|
1153
1156
|
key: `tick_${t}`,
|
|
1154
1157
|
transform: `translate(${q.value.left + t * (q.value.width / (W.value.ticks.length - 1))}, ${q.value.bottom + L.value.style.chart.labels.xAxisLabels.fontSize + L.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${L.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
@@ -1156,7 +1159,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1156
1159
|
fill: L.value.style.chart.labels.xAxisLabels.color,
|
|
1157
1160
|
"font-weight": L.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
1158
1161
|
"text-anchor": L.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : L.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
1159
|
-
},
|
|
1162
|
+
}, T(E(l)(L.value.style.chart.labels.formatter, e, E(o)({
|
|
1160
1163
|
p: L.value.style.chart.labels.prefix,
|
|
1161
1164
|
v: e,
|
|
1162
1165
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1164,52 +1167,52 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1164
1167
|
}), {
|
|
1165
1168
|
datapoint: e,
|
|
1166
1169
|
seriesIndex: t
|
|
1167
|
-
})), 9, it))), 128))], 512)) :
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
+
})), 9, it))), 128))], 512)) : m("", !0),
|
|
1171
|
+
Ve(g("g", null, [
|
|
1172
|
+
Ve(g("path", {
|
|
1170
1173
|
d: `M ${P.value ? P.value.startX : q.value.left},${q.value.top} ${P.value ? P.value.startX : q.value.left},${q.value.bottom}`,
|
|
1171
1174
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.startColor : "transparent",
|
|
1172
1175
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1173
1176
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1174
1177
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1175
|
-
}, null, 8, at), [[
|
|
1176
|
-
|
|
1178
|
+
}, null, 8, at), [[D, P.value !== null && ![null, void 0].includes(P.value.start)]]),
|
|
1179
|
+
Ve(g("path", {
|
|
1177
1180
|
d: `M ${P.value ? P.value.endX : q.value.left},${q.value.top} ${P.value ? P.value.endX : q.value.left},${q.value.bottom}`,
|
|
1178
1181
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.endColor : "transparent",
|
|
1179
1182
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1180
1183
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1181
1184
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1182
|
-
}, null, 8, ot), [[
|
|
1183
|
-
|
|
1185
|
+
}, null, 8, ot), [[D, P.value !== null && ![null, void 0].includes(P.value.end)]]),
|
|
1186
|
+
Ve(g("rect", {
|
|
1184
1187
|
x: P.value ? Math.min(P.value.startX, P.value.endX) : q.value.left,
|
|
1185
1188
|
y: q.value.top,
|
|
1186
1189
|
height: Math.max(.1, q.value.height),
|
|
1187
1190
|
width: P.value ? Math.max(.1, Math.abs(P.value.endX - P.value.startX)) : 0,
|
|
1188
|
-
fill: P.value ?
|
|
1191
|
+
fill: P.value ? E(i)(L.value.style.chart.comparisonLines.rectColor, L.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
1189
1192
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1190
|
-
}, null, 8, st), [[
|
|
1191
|
-
|
|
1193
|
+
}, null, 8, st), [[D, L.value.style.chart.comparisonLines.showRect && P.value !== null && ![null, void 0].includes(P.value.start) && ![null, void 0].includes(P.value.end)]]),
|
|
1194
|
+
Ve(g("text", {
|
|
1192
1195
|
transform: `translate(${Wn.value == null ? 0 : Wn.value}, ${q.value.top - 6})`,
|
|
1193
1196
|
fill: L.value.style.chart.comparisonLines.labelColor,
|
|
1194
1197
|
"font-size": L.value.style.chart.comparisonLines.labelFontSize,
|
|
1195
1198
|
"text-anchor": "middle",
|
|
1196
1199
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1197
|
-
},
|
|
1198
|
-
], 512), [[
|
|
1199
|
-
|
|
1200
|
-
|
|
1200
|
+
}, T(Gn.value), 9, ct), [[D, P.value !== null && Wn.value !== null && L.value.style.chart.comparisonLines.showLabel]])
|
|
1201
|
+
], 512), [[D, L.value.style.chart.comparisonLines.show && N.value !== null]]),
|
|
1202
|
+
g("defs", null, [
|
|
1203
|
+
_(u, {
|
|
1201
1204
|
t: "radial",
|
|
1202
1205
|
id: `start_grad_${A.value}`,
|
|
1203
1206
|
fy: "30%",
|
|
1204
1207
|
stops: [
|
|
1205
1208
|
[
|
|
1206
1209
|
"10%",
|
|
1207
|
-
|
|
1210
|
+
E(n)(L.value.style.chart.plots.startColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1208
1211
|
1
|
|
1209
1212
|
],
|
|
1210
1213
|
[
|
|
1211
1214
|
"90%",
|
|
1212
|
-
|
|
1215
|
+
E(c)(L.value.style.chart.plots.startColor, .1),
|
|
1213
1216
|
1
|
|
1214
1217
|
],
|
|
1215
1218
|
[
|
|
@@ -1219,19 +1222,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1219
1222
|
]
|
|
1220
1223
|
]
|
|
1221
1224
|
}, null, 8, ["id", "stops"]),
|
|
1222
|
-
|
|
1225
|
+
_(u, {
|
|
1223
1226
|
t: "radial",
|
|
1224
1227
|
id: `end_grad_${A.value}`,
|
|
1225
1228
|
fy: "30%",
|
|
1226
1229
|
stops: [
|
|
1227
1230
|
[
|
|
1228
1231
|
"10%",
|
|
1229
|
-
|
|
1232
|
+
E(n)(L.value.style.chart.plots.endColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1230
1233
|
1
|
|
1231
1234
|
],
|
|
1232
1235
|
[
|
|
1233
1236
|
"90%",
|
|
1234
|
-
|
|
1237
|
+
E(c)(L.value.style.chart.plots.endColor, .1),
|
|
1235
1238
|
1
|
|
1236
1239
|
],
|
|
1237
1240
|
[
|
|
@@ -1241,19 +1244,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1241
1244
|
]
|
|
1242
1245
|
]
|
|
1243
1246
|
}, null, 8, ["id", "stops"]),
|
|
1244
|
-
|
|
1247
|
+
_(u, {
|
|
1245
1248
|
t: "radial",
|
|
1246
1249
|
id: `positive_grad_${A.value}`,
|
|
1247
1250
|
fy: "30%",
|
|
1248
1251
|
stops: [
|
|
1249
1252
|
[
|
|
1250
1253
|
"10%",
|
|
1251
|
-
|
|
1254
|
+
E(n)(L.value.style.chart.plots.evaluationColors.positive, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1252
1255
|
1
|
|
1253
1256
|
],
|
|
1254
1257
|
[
|
|
1255
1258
|
"90%",
|
|
1256
|
-
|
|
1259
|
+
E(c)(L.value.style.chart.plots.evaluationColors.positive, .1),
|
|
1257
1260
|
1
|
|
1258
1261
|
],
|
|
1259
1262
|
[
|
|
@@ -1263,19 +1266,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1263
1266
|
]
|
|
1264
1267
|
]
|
|
1265
1268
|
}, null, 8, ["id", "stops"]),
|
|
1266
|
-
|
|
1269
|
+
_(u, {
|
|
1267
1270
|
t: "radial",
|
|
1268
1271
|
id: `negative_grad_${A.value}`,
|
|
1269
1272
|
fy: "30%",
|
|
1270
1273
|
stops: [
|
|
1271
1274
|
[
|
|
1272
1275
|
"10%",
|
|
1273
|
-
|
|
1276
|
+
E(n)(L.value.style.chart.plots.evaluationColors.negative, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1274
1277
|
1
|
|
1275
1278
|
],
|
|
1276
1279
|
[
|
|
1277
1280
|
"90%",
|
|
1278
|
-
|
|
1281
|
+
E(c)(L.value.style.chart.plots.evaluationColors.negative, .1),
|
|
1279
1282
|
1
|
|
1280
1283
|
],
|
|
1281
1284
|
[
|
|
@@ -1285,19 +1288,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1285
1288
|
]
|
|
1286
1289
|
]
|
|
1287
1290
|
}, null, 8, ["id", "stops"]),
|
|
1288
|
-
|
|
1291
|
+
_(u, {
|
|
1289
1292
|
t: "radial",
|
|
1290
1293
|
id: `neutral_grad_${A.value}`,
|
|
1291
1294
|
fy: "30%",
|
|
1292
1295
|
stops: [
|
|
1293
1296
|
[
|
|
1294
1297
|
"10%",
|
|
1295
|
-
|
|
1298
|
+
E(n)(L.value.style.chart.plots.evaluationColors.neutral, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1296
1299
|
1
|
|
1297
1300
|
],
|
|
1298
1301
|
[
|
|
1299
1302
|
"90%",
|
|
1300
|
-
|
|
1303
|
+
E(c)(L.value.style.chart.plots.evaluationColors.neutral, .1),
|
|
1301
1304
|
1
|
|
1302
1305
|
],
|
|
1303
1306
|
[
|
|
@@ -1308,8 +1311,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1308
1311
|
]
|
|
1309
1312
|
}, null, 8, ["id", "stops"])
|
|
1310
1313
|
]),
|
|
1311
|
-
(
|
|
1312
|
-
|
|
1314
|
+
(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", { key: `plot_${t}_${e.id}` }, [
|
|
1315
|
+
g("defs", null, [_(u, {
|
|
1313
1316
|
t: "linear",
|
|
1314
1317
|
id: `grad_pos_${A.value}`,
|
|
1315
1318
|
x1: "0%",
|
|
@@ -1325,7 +1328,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1325
1328
|
L.value.style.chart.plots.endColor,
|
|
1326
1329
|
1
|
|
1327
1330
|
]]
|
|
1328
|
-
}, null, 8, ["id", "stops"]),
|
|
1331
|
+
}, null, 8, ["id", "stops"]), _(u, {
|
|
1329
1332
|
t: "linear",
|
|
1330
1333
|
id: `grad_neg_${A.value}`,
|
|
1331
1334
|
x1: "0%",
|
|
@@ -1342,7 +1345,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1342
1345
|
1
|
|
1343
1346
|
]]
|
|
1344
1347
|
}, null, 8, ["id", "stops"])]),
|
|
1345
|
-
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (
|
|
1348
|
+
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (x(), h("g", lt, [L.value.style.chart.plots.link.type === "curved" ? (x(), h("g", ut, [g("path", {
|
|
1346
1349
|
d: `M
|
|
1347
1350
|
${e.startX},${e.y + J.value / 2}
|
|
1348
1351
|
C ${e.centerX},${e.y} ${e.centerX},${e.y}
|
|
@@ -1353,14 +1356,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1353
1356
|
Z
|
|
1354
1357
|
`,
|
|
1355
1358
|
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${A.value})` : `url(#grad_neg_${A.value})`
|
|
1356
|
-
}, null, 8, dt)])) : (
|
|
1359
|
+
}, null, 8, dt)])) : (x(), h("g", ft, [g("rect", {
|
|
1357
1360
|
x: e.endX > e.startX ? e.startX : e.endX,
|
|
1358
1361
|
y: e.y - L.value.style.chart.plots.link.strokeWidth / 2,
|
|
1359
1362
|
height: Math.max(.01, L.value.style.chart.plots.link.strokeWidth),
|
|
1360
1363
|
width: Math.max(.01, Math.abs(e.endX - e.startX)),
|
|
1361
1364
|
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${A.value})` : `url(#grad_neg_${A.value})`
|
|
1362
|
-
}, null, 8, pt)]))])) :
|
|
1363
|
-
[null, void 0].includes(e.start) ?
|
|
1365
|
+
}, null, 8, pt)]))])) : m("", !0),
|
|
1366
|
+
[null, void 0].includes(e.start) ? m("", !0) : (x(), h("circle", {
|
|
1364
1367
|
key: 1,
|
|
1365
1368
|
cx: e.startX,
|
|
1366
1369
|
cy: e.y,
|
|
@@ -1369,7 +1372,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1369
1372
|
stroke: L.value.style.chart.plots.stroke,
|
|
1370
1373
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1371
1374
|
}, null, 8, mt)),
|
|
1372
|
-
[null, void 0].includes(e.end) ?
|
|
1375
|
+
[null, void 0].includes(e.end) ? m("", !0) : (x(), h("circle", {
|
|
1373
1376
|
key: 2,
|
|
1374
1377
|
cx: e.endX,
|
|
1375
1378
|
cy: e.y,
|
|
@@ -1379,14 +1382,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1379
1382
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1380
1383
|
}, null, 8, ht))
|
|
1381
1384
|
]))), 128)),
|
|
1382
|
-
L.value.style.chart.labels.startLabels.show ? (
|
|
1385
|
+
L.value.style.chart.labels.startLabels.show ? (x(), h("g", gt, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", { key: `start_label_${t}_${e.id}` }, [[null, void 0].includes(e.start) ? m("", !0) : (x(), h("text", {
|
|
1383
1386
|
key: 0,
|
|
1384
1387
|
x: e.startX,
|
|
1385
1388
|
y: e.y + J.value * 2 + L.value.style.chart.labels.startLabels.fontSize / 2,
|
|
1386
1389
|
fill: L.value.style.chart.plots.evaluationColors.enable && L.value.style.chart.labels.startLabels.useEvaluationColor ? e.evaluationColor : L.value.style.chart.labels.startLabels.useStartColor ? L.value.style.chart.plots.startColor : L.value.style.chart.labels.startLabels.color,
|
|
1387
1390
|
"font-size": L.value.style.chart.labels.startLabels.fontSize,
|
|
1388
1391
|
"text-anchor": "middle"
|
|
1389
|
-
},
|
|
1392
|
+
}, T(E(l)(L.value.style.chart.labels.formatter, e.start, E(o)({
|
|
1390
1393
|
p: L.value.style.chart.labels.prefix,
|
|
1391
1394
|
v: e.start,
|
|
1392
1395
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1394,15 +1397,15 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1394
1397
|
}), {
|
|
1395
1398
|
datapoint: e,
|
|
1396
1399
|
seriesIndex: t
|
|
1397
|
-
})), 9, _t))]))), 128))])) :
|
|
1398
|
-
L.value.style.chart.labels.endLabels.show ? (
|
|
1400
|
+
})), 9, _t))]))), 128))])) : m("", !0),
|
|
1401
|
+
L.value.style.chart.labels.endLabels.show ? (x(), h("g", vt, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", { key: `end_label_${t}_${e.id}` }, [[null, void 0].includes(e.end) ? m("", !0) : (x(), h("text", {
|
|
1399
1402
|
key: 0,
|
|
1400
1403
|
x: e.endX,
|
|
1401
1404
|
y: e.y - (J.value * 2 - L.value.style.chart.labels.startLabels.fontSize / 3),
|
|
1402
1405
|
fill: L.value.style.chart.plots.evaluationColors.enable && L.value.style.chart.labels.endLabels.useEvaluationColor ? e.evaluationColor : L.value.style.chart.labels.endLabels.useEndColor ? L.value.style.chart.plots.endColor : L.value.style.chart.labels.endLabels.color,
|
|
1403
1406
|
"font-size": L.value.style.chart.labels.endLabels.fontSize,
|
|
1404
1407
|
"text-anchor": "middle"
|
|
1405
|
-
},
|
|
1408
|
+
}, T(E(l)(L.value.style.chart.labels.formatter, e.end, E(o)({
|
|
1406
1409
|
p: L.value.style.chart.labels.prefix,
|
|
1407
1410
|
v: e.end,
|
|
1408
1411
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1410,13 +1413,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1410
1413
|
}), {
|
|
1411
1414
|
datapoint: e,
|
|
1412
1415
|
seriesIndex: t
|
|
1413
|
-
})), 9, yt))]))), 128))])) :
|
|
1414
|
-
|
|
1416
|
+
})), 9, yt))]))), 128))])) : m("", !0),
|
|
1417
|
+
g("g", null, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("rect", {
|
|
1415
1418
|
x: q.value.left,
|
|
1416
1419
|
y: q.value.top + t * Math.max(.1, q.value.rowHeight),
|
|
1417
1420
|
width: Math.max(.1, q.value.width),
|
|
1418
1421
|
height: Math.max(.1, q.value.rowHeight),
|
|
1419
|
-
fill: N.value === null ? "transparent" : N.value === t ?
|
|
1422
|
+
fill: N.value === null ? "transparent" : N.value === t ? E(i)(L.value.style.chart.highlighter.color, L.value.style.chart.highlighter.opacity) : "transparent",
|
|
1420
1423
|
onMouseenter: (n) => Vn({
|
|
1421
1424
|
datapoint: e,
|
|
1422
1425
|
seriesIndex: t
|
|
@@ -1430,54 +1433,54 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1430
1433
|
seriesIndex: t
|
|
1431
1434
|
})
|
|
1432
1435
|
}, null, 40, bt))), 256))]),
|
|
1433
|
-
|
|
1436
|
+
w(e.$slots, "svg", { svg: {
|
|
1434
1437
|
...q.value,
|
|
1435
|
-
isPrintingImg:
|
|
1436
|
-
isPrintingSvg:
|
|
1438
|
+
isPrintingImg: E(fn) || E(pn) || E(Qn),
|
|
1439
|
+
isPrintingSvg: E($n)
|
|
1437
1440
|
} }, void 0, !0)
|
|
1438
|
-
], 46, qe)), e.$slots.hint ? (
|
|
1441
|
+
], 46, qe)), e.$slots.hint ? (x(), h("div", xt, [w(e.$slots, "hint", b(y({
|
|
1439
1442
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1440
1443
|
isVisible: en.value
|
|
1441
|
-
})), void 0, !0)])) :
|
|
1442
|
-
e.$slots.watermark ? (
|
|
1443
|
-
|
|
1444
|
-
Jt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
1444
|
+
})), void 0, !0)])) : m("", !0)]),
|
|
1445
|
+
e.$slots.watermark ? (x(), h("div", St, [w(e.$slots, "watermark", b(y({ isPrinting: E(fn) || E(pn) || E(Qn) || E($n) })), void 0, !0)])) : m("", !0),
|
|
1446
|
+
g("div", { id: `legend-bottom-${A.value}` }, null, 8, Ct),
|
|
1447
|
+
Jt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (x(), p(De, {
|
|
1445
1448
|
key: 6,
|
|
1446
1449
|
to: L.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1447
|
-
}, [
|
|
1450
|
+
}, [g("div", {
|
|
1448
1451
|
ref_key: "chartLegend",
|
|
1449
1452
|
ref: Ht
|
|
1450
|
-
}, [
|
|
1453
|
+
}, [w(e.$slots, "legend", { legend: Dn.value }, () => [L.value.style.chart.legend.show && zt.value ? (x(), p(we, {
|
|
1451
1454
|
key: `legend_${qt.value}`,
|
|
1452
1455
|
legendSet: Dn.value,
|
|
1453
1456
|
config: On.value,
|
|
1454
1457
|
clickable: !1
|
|
1455
1458
|
}, {
|
|
1456
|
-
item:
|
|
1457
|
-
xmlns:
|
|
1459
|
+
item: O(({ legend: e }) => [g("div", { style: Ne(`display:flex;align-items:center;gap:4px;font-size:${L.value.style.chart.legend.fontSize}px`) }, [(x(), h("svg", {
|
|
1460
|
+
xmlns: E(ae),
|
|
1458
1461
|
viewBox: "0 0 20 20",
|
|
1459
1462
|
height: L.value.style.chart.legend.fontSize,
|
|
1460
1463
|
width: L.value.style.chart.legend.fontSize
|
|
1461
|
-
}, [
|
|
1464
|
+
}, [g("circle", {
|
|
1462
1465
|
cx: 10,
|
|
1463
1466
|
cy: 10,
|
|
1464
1467
|
r: 9,
|
|
1465
1468
|
fill: e.color
|
|
1466
|
-
}, null, 8, Tt)], 8, wt)),
|
|
1469
|
+
}, null, 8, Tt)], 8, wt)), E(nn) ? m("", !0) : (x(), h(d, { key: 0 }, [ke(T(e.name), 1)], 64))], 4)]),
|
|
1467
1470
|
_: 1
|
|
1468
|
-
}, 8, ["legendSet", "config"])) :
|
|
1469
|
-
e.$slots.source ? (
|
|
1471
|
+
}, 8, ["legendSet", "config"])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
|
|
1472
|
+
e.$slots.source ? (x(), h("div", {
|
|
1470
1473
|
key: 7,
|
|
1471
1474
|
ref_key: "source",
|
|
1472
1475
|
ref: Ut,
|
|
1473
1476
|
dir: "auto"
|
|
1474
|
-
}, [
|
|
1475
|
-
zt.value && L.value.userOptions.buttons.table ? (
|
|
1477
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1478
|
+
zt.value && L.value.userOptions.buttons.table ? (x(), p(Ie(Kn.value.component), Ae({ key: 8 }, Kn.value.props, {
|
|
1476
1479
|
ref_key: "tableUnit",
|
|
1477
1480
|
ref: M,
|
|
1478
1481
|
onClose: qn
|
|
1479
|
-
}),
|
|
1480
|
-
content:
|
|
1482
|
+
}), Oe({
|
|
1483
|
+
content: O(() => [(x(), p(E(kt), {
|
|
1481
1484
|
key: `table_${Kt.value}`,
|
|
1482
1485
|
colNames: Q.value.colNames,
|
|
1483
1486
|
head: Q.value.head,
|
|
@@ -1488,14 +1491,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1488
1491
|
isCursorPointer: R.value,
|
|
1489
1492
|
onClose: qn
|
|
1490
1493
|
}, {
|
|
1491
|
-
th:
|
|
1492
|
-
|
|
1493
|
-
style: {
|
|
1494
|
-
display: "flex",
|
|
1495
|
-
"align-items": "center"
|
|
1496
|
-
}
|
|
1497
|
-
}, null, 8, Et)]),
|
|
1498
|
-
td: D(({ td: e }) => [Ae(w(e.name || e), 1)]),
|
|
1494
|
+
th: O(({ th: e }) => [g("div", Et, T(e), 1)]),
|
|
1495
|
+
td: O(({ td: e }) => [ke(T(e.name || e), 1)]),
|
|
1499
1496
|
_: 1
|
|
1500
1497
|
}, 8, [
|
|
1501
1498
|
"colNames",
|
|
@@ -1509,24 +1506,24 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1509
1506
|
_: 2
|
|
1510
1507
|
}, [L.value.table.useDialog ? {
|
|
1511
1508
|
name: "title",
|
|
1512
|
-
fn:
|
|
1509
|
+
fn: O(() => [ke(T(Kn.value.title), 1)]),
|
|
1513
1510
|
key: "0"
|
|
1514
1511
|
} : void 0, L.value.table.useDialog ? {
|
|
1515
1512
|
name: "actions",
|
|
1516
|
-
fn:
|
|
1513
|
+
fn: O(() => [g("button", {
|
|
1517
1514
|
tabindex: "0",
|
|
1518
1515
|
class: "vue-ui-user-options-button",
|
|
1519
1516
|
onClick: t[0] ||= (e) => kn(L.value.userOptions.callbacks.csv),
|
|
1520
|
-
style:
|
|
1521
|
-
}, [
|
|
1517
|
+
style: Ne({ cursor: R.value ? "pointer" : "default" })
|
|
1518
|
+
}, [_(E(Dt), {
|
|
1522
1519
|
name: "fileCsv",
|
|
1523
1520
|
stroke: Kn.value.props.color
|
|
1524
1521
|
}, null, 8, ["stroke"])], 4)]),
|
|
1525
1522
|
key: "1"
|
|
1526
|
-
} : void 0]), 1040)) :
|
|
1527
|
-
|
|
1523
|
+
} : void 0]), 1040)) : m("", !0),
|
|
1524
|
+
w(e.$slots, "skeleton", {}, () => [E(nn) ? (x(), p(de, { key: 0 })) : m("", !0)], !0)
|
|
1528
1525
|
], 46, Ue));
|
|
1529
1526
|
}
|
|
1530
|
-
}, [["__scopeId", "data-v-
|
|
1527
|
+
}, [["__scopeId", "data-v-55f01fb4"]]);
|
|
1531
1528
|
//#endregion
|
|
1532
1529
|
export { He as n, Dt as t };
|