vue-data-ui 3.23.10 → 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-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-HQyukyl2.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-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
- package/dist/{package-enC-Nivt.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-CqcoYfCA.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-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CtT2BovY.js +1829 -0
- package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-BCQ97z1G.js} +237 -237
- package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-BIsXeXiU.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-C-P2D5i6.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-DZTtuFAG.js} +85 -85
- package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-BZywCpHd.js} +229 -229
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-BuGd-Ojm.js} +64 -64
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-Byp0Tnny.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-BKw5t-rX.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-ERAB4YzZ.js} +176 -176
- package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-BPp7L6OP.js} +20 -20
- package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-CX5ut2yp.js} +104 -104
- 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-_J-Qr7-K.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-eCxEZD8C.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-CNOam3kC.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-MSs0pdhE.js} +605 -605
- package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-Df-TomML.js} +57 -57
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-90_Clj0e.js} +44 -44
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-AgMvmPlI.js} +32 -32
- package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-D0Z9B6M2.js} +116 -116
- package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-5Te2TfRK.js} +304 -304
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-vfRiIvq_.js +0 -28
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
- package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
- package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
- package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
- package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
- package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
- package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
- package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
- package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
- package/dist/vue-ui-onion-C27GpneA.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
- package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
- package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
- package/dist/vue-ui-rings-obVfb09j.js +0 -1250
- package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
- package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
- package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
- package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
- package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
- package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
- package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
|
@@ -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",
|
|
@@ -165,7 +165,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
165
165
|
], Tt = ["fill"], Et = { style: {
|
|
166
166
|
display: "flex",
|
|
167
167
|
"align-items": "center"
|
|
168
|
-
} }, Dt = /*#__PURE__*/
|
|
168
|
+
} }, Dt = /*#__PURE__*/ ve({
|
|
169
169
|
__name: "vue-ui-dumbbell",
|
|
170
170
|
props: {
|
|
171
171
|
config: {
|
|
@@ -182,20 +182,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
emits: ["selectDatapoint", "copyAlt"],
|
|
185
|
-
setup(e, { expose:
|
|
186
|
-
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({
|
|
187
187
|
get() {
|
|
188
188
|
return !!k.dataset && k.dataset.length;
|
|
189
189
|
},
|
|
190
190
|
set(e) {
|
|
191
191
|
return e;
|
|
192
192
|
}
|
|
193
|
-
}), A =
|
|
194
|
-
|
|
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({
|
|
195
195
|
config: () => L.value,
|
|
196
196
|
dataset: () => k.dataset,
|
|
197
197
|
component: "VueUiDumbbell",
|
|
198
|
-
rules: [
|
|
198
|
+
rules: [se.emptyArray, {
|
|
199
199
|
test: (e) => e.length > 31,
|
|
200
200
|
message: [
|
|
201
201
|
"👀 The number of series is > 31. Consider:",
|
|
@@ -206,7 +206,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
206
206
|
]
|
|
207
207
|
}]
|
|
208
208
|
});
|
|
209
|
-
let R =
|
|
209
|
+
let R = f(() => L.value.userOptions.useCursorPointer), tn = f(() => s({
|
|
210
210
|
defaultConfig: {
|
|
211
211
|
userOptions: { show: !1 },
|
|
212
212
|
table: { show: !1 },
|
|
@@ -243,8 +243,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
243
243
|
} }
|
|
244
244
|
},
|
|
245
245
|
userConfig: L.value.skeletonConfig ?? {}
|
|
246
|
-
})), { loading: nn, FINAL_DATASET: rn, manualLoading: an } =
|
|
247
|
-
...
|
|
246
|
+
})), { loading: nn, FINAL_DATASET: rn, manualLoading: an } = ue({
|
|
247
|
+
...Re(k),
|
|
248
248
|
FINAL_CONFIG: L,
|
|
249
249
|
prepareConfig: ln,
|
|
250
250
|
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
@@ -274,44 +274,44 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
274
274
|
end: 5
|
|
275
275
|
}
|
|
276
276
|
],
|
|
277
|
-
skeletonConfig:
|
|
277
|
+
skeletonConfig: s({
|
|
278
278
|
defaultConfig: L.value,
|
|
279
279
|
userConfig: tn.value
|
|
280
280
|
})
|
|
281
|
-
}), { 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 });
|
|
282
282
|
function ln() {
|
|
283
|
-
let e =
|
|
283
|
+
let e = fe({
|
|
284
284
|
userConfig: k.config,
|
|
285
285
|
defaultConfig: Pt
|
|
286
286
|
}), t = e.theme;
|
|
287
287
|
if (!t) return e;
|
|
288
288
|
if (!Ft.value(e)) return It(e), e;
|
|
289
|
-
let n =
|
|
290
|
-
userConfig:
|
|
289
|
+
let n = fe({
|
|
290
|
+
userConfig: Ee[t] || k.config,
|
|
291
291
|
defaultConfig: e
|
|
292
292
|
});
|
|
293
|
-
return
|
|
293
|
+
return fe({
|
|
294
294
|
userConfig: k.config,
|
|
295
295
|
defaultConfig: n
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
|
-
|
|
298
|
+
ze(() => k.config, (e) => {
|
|
299
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;
|
|
300
|
-
}, { deep: !0 }),
|
|
300
|
+
}, { deep: !0 }), ze(() => rn.value, (e) => {
|
|
301
301
|
Array.isArray(e) && e.length > 0 && (an.value = !1), Tn(), En();
|
|
302
302
|
}, { deep: !0 });
|
|
303
|
-
let B =
|
|
304
|
-
|
|
303
|
+
let B = Le(null), V = Le(null);
|
|
304
|
+
Fe(() => {
|
|
305
305
|
Jt.value = !0, dn();
|
|
306
306
|
});
|
|
307
|
-
let un =
|
|
307
|
+
let un = f(() => L.value.debug);
|
|
308
308
|
function dn() {
|
|
309
|
-
if (
|
|
309
|
+
if (a(k.dataset) ? re({
|
|
310
310
|
componentName: "VueUiDumbbell",
|
|
311
311
|
type: "dataset",
|
|
312
312
|
debug: un.value
|
|
313
313
|
}) : k.dataset.forEach((e, t) => {
|
|
314
|
-
|
|
314
|
+
ne({
|
|
315
315
|
datasetObject: e,
|
|
316
316
|
requiredAttributes: [
|
|
317
317
|
"name",
|
|
@@ -319,7 +319,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
319
319
|
"end"
|
|
320
320
|
]
|
|
321
321
|
}).forEach((e) => {
|
|
322
|
-
zt.value = !1,
|
|
322
|
+
zt.value = !1, re({
|
|
323
323
|
componentName: "VueUiDumbbell",
|
|
324
324
|
type: "datasetSerieAttribute",
|
|
325
325
|
property: e,
|
|
@@ -328,8 +328,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
330
|
}), L.value.responsive) {
|
|
331
|
-
let e =
|
|
332
|
-
let { width: e, height: t } =
|
|
331
|
+
let e = ye(() => {
|
|
332
|
+
let { width: e, height: t } = be({
|
|
333
333
|
chart: j.value,
|
|
334
334
|
title: L.value.style.chart.title.text ? Vt.value : null,
|
|
335
335
|
legend: L.value.style.chart.legend.show ? Ht.value : null,
|
|
@@ -344,29 +344,29 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
344
344
|
}
|
|
345
345
|
Bn();
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
Pe(() => {
|
|
348
348
|
X.value != null && (cancelAnimationFrame(X.value), X.value = null), B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
349
349
|
});
|
|
350
|
-
let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } =
|
|
350
|
+
let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = le({
|
|
351
351
|
elementId: `dumbbell_${A.value}`,
|
|
352
352
|
fileName: L.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
353
353
|
options: L.value.userOptions.print
|
|
354
|
-
}), gn =
|
|
355
|
-
|
|
354
|
+
}), gn = f(() => L.value.userOptions.show && !L.value.style.chart.title.text), H = S({ showTable: L.value.table.show });
|
|
355
|
+
ze(L, () => {
|
|
356
356
|
H.value = { showTable: L.value.table.show };
|
|
357
357
|
}, { immediate: !0 });
|
|
358
|
-
let U =
|
|
358
|
+
let U = f(() => rn.value.map((e, t) => ({
|
|
359
359
|
...e,
|
|
360
360
|
start: te(e.start),
|
|
361
361
|
end: te(e.end),
|
|
362
362
|
id: e.id ?? `${String(e.name)}__${String(e.start)}__${String(e.end)}__${ie()}`
|
|
363
|
-
}))), _n =
|
|
363
|
+
}))), _n = f(() => {
|
|
364
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;
|
|
365
365
|
return {
|
|
366
366
|
min: e.scaleMin ?? Math.min(n, 0),
|
|
367
367
|
max: e.scaleMax ?? r
|
|
368
368
|
};
|
|
369
|
-
}), 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);
|
|
370
370
|
function vn() {
|
|
371
371
|
let e = 0;
|
|
372
372
|
Zt.value && (e = Array.from(Zt.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -376,33 +376,33 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
376
376
|
let t = Xt.value ? Xt.value.getBoundingClientRect().width : 0;
|
|
377
377
|
return e + t + (t ? 24 + L.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
378
378
|
}
|
|
379
|
-
let yn =
|
|
379
|
+
let yn = S(0), bn = ye((e) => {
|
|
380
380
|
yn.value = e;
|
|
381
381
|
}, 100);
|
|
382
|
-
|
|
382
|
+
Be((e) => {
|
|
383
383
|
let t = Qt.value;
|
|
384
384
|
if (!t) return;
|
|
385
385
|
let n = new ResizeObserver((e) => {
|
|
386
386
|
bn(e[0].contentRect.height);
|
|
387
387
|
});
|
|
388
388
|
n.observe(t), e(() => n.disconnect());
|
|
389
|
-
}),
|
|
389
|
+
}), Pe(() => {
|
|
390
390
|
yn.value = 0;
|
|
391
391
|
});
|
|
392
|
-
let xn =
|
|
392
|
+
let xn = f(() => {
|
|
393
393
|
I.value;
|
|
394
394
|
let e = 0;
|
|
395
395
|
$t.value && (e = $t.value.getBBox().height);
|
|
396
396
|
let t = 0;
|
|
397
397
|
return Qt.value && (t = yn.value), e + t;
|
|
398
|
-
}), Sn =
|
|
398
|
+
}), Sn = f(() => U.value.length);
|
|
399
399
|
function Cn(e, t, n) {
|
|
400
400
|
let r = Number(e), i = Number(t.min), a = Number(t.max), o = Number(n.width);
|
|
401
401
|
if (!Number.isFinite(r) || !Number.isFinite(i) || !Number.isFinite(a) || !Number.isFinite(o)) return n.left;
|
|
402
402
|
let s = a - i;
|
|
403
403
|
return s <= 0 ? n.left : n.left + (r - i) / s * o;
|
|
404
404
|
}
|
|
405
|
-
let q =
|
|
405
|
+
let q = f(() => {
|
|
406
406
|
I.value;
|
|
407
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);
|
|
408
408
|
return {
|
|
@@ -416,18 +416,18 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
416
416
|
absoluteHeight: a,
|
|
417
417
|
widthPlotReference: s
|
|
418
418
|
};
|
|
419
|
-
}), J =
|
|
419
|
+
}), J = f(() => Math.min(G.value / 2 * .7, L.value.style.chart.plots.radius)), wn = S([]), Y = f({
|
|
420
420
|
get() {
|
|
421
421
|
let e = q.value, t = W.value;
|
|
422
422
|
return wn.value.map((n, r) => {
|
|
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,
|
|
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;
|
|
424
424
|
return {
|
|
425
425
|
...n,
|
|
426
426
|
isPositive: s,
|
|
427
|
-
isNegative:
|
|
428
|
-
isNeutral:
|
|
429
|
-
evaluationColor:
|
|
430
|
-
evaluationGrad: `url(#${s ? "positive" :
|
|
427
|
+
isNegative: c,
|
|
428
|
+
isNeutral: ee,
|
|
429
|
+
evaluationColor: te,
|
|
430
|
+
evaluationGrad: `url(#${s ? "positive" : c ? "negative" : "neutral"}_grad_${A.value})`,
|
|
431
431
|
startX: i,
|
|
432
432
|
endX: a,
|
|
433
433
|
centerX: o,
|
|
@@ -448,8 +448,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
448
448
|
};
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
|
-
let X =
|
|
452
|
-
|
|
451
|
+
let X = S(null);
|
|
452
|
+
Fe(() => {
|
|
453
453
|
En();
|
|
454
454
|
});
|
|
455
455
|
function En() {
|
|
@@ -478,7 +478,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
478
478
|
};
|
|
479
479
|
X.value = requestAnimationFrame(n);
|
|
480
480
|
}
|
|
481
|
-
let Dn =
|
|
481
|
+
let Dn = f(() => L.value.style.chart.plots.evaluationColors.enable ? [
|
|
482
482
|
{
|
|
483
483
|
name: L.value.style.chart.legend.labelNegative,
|
|
484
484
|
color: L.value.style.chart.plots.gradient.show ? `url(#negative_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.negative
|
|
@@ -497,7 +497,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
497
497
|
}, {
|
|
498
498
|
name: L.value.style.chart.legend.labelEnd,
|
|
499
499
|
color: L.value.style.chart.plots.gradient.show ? `url(#end_grad_${A.value})` : L.value.style.chart.plots.endColor
|
|
500
|
-
}]), On =
|
|
500
|
+
}]), On = f(() => ({
|
|
501
501
|
cy: "donut-div-legend",
|
|
502
502
|
backgroundColor: L.value.style.chart.legend.backgroundColor,
|
|
503
503
|
color: L.value.style.chart.legend.color,
|
|
@@ -505,13 +505,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
505
505
|
paddingBottom: 12,
|
|
506
506
|
paddingTop: 12,
|
|
507
507
|
fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
|
|
508
|
-
})), Z =
|
|
508
|
+
})), Z = f(() => ({
|
|
509
509
|
head: Y.value.map((e) => ({ name: e.name })),
|
|
510
510
|
body: Y.value.map((e) => ({
|
|
511
511
|
start: e.start,
|
|
512
512
|
end: e.end
|
|
513
513
|
}))
|
|
514
|
-
})), Q =
|
|
514
|
+
})), Q = f(() => {
|
|
515
515
|
let e = [
|
|
516
516
|
L.value.table.columnNames.series,
|
|
517
517
|
L.value.table.columnNames.start,
|
|
@@ -565,7 +565,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
565
565
|
};
|
|
566
566
|
});
|
|
567
567
|
function kn(e = null) {
|
|
568
|
-
|
|
568
|
+
je(() => {
|
|
569
569
|
let n = Z.value.head.map((e, t) => [
|
|
570
570
|
[e.name],
|
|
571
571
|
[Z.value.body[t].start],
|
|
@@ -585,7 +585,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
585
585
|
});
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
let $ =
|
|
588
|
+
let $ = S(!1);
|
|
589
589
|
function An(e) {
|
|
590
590
|
$.value = e, Bt.value += 1;
|
|
591
591
|
}
|
|
@@ -595,13 +595,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
595
595
|
function Mn() {
|
|
596
596
|
H.value.showTable = !H.value.showTable;
|
|
597
597
|
}
|
|
598
|
-
let Nn =
|
|
598
|
+
let Nn = S(!1);
|
|
599
599
|
function Pn() {
|
|
600
600
|
Nn.value = !Nn.value;
|
|
601
601
|
}
|
|
602
602
|
async function Fn({ scale: e = 2 } = {}) {
|
|
603
603
|
if (!j.value) return;
|
|
604
|
-
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({
|
|
605
605
|
domElement: j.value,
|
|
606
606
|
base64: !0,
|
|
607
607
|
img: !0,
|
|
@@ -616,11 +616,11 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
616
616
|
aspectRatio: r
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
|
-
let In =
|
|
619
|
+
let In = f(() => W.value.ticks), Ln = f(() => ({
|
|
620
620
|
start: 0,
|
|
621
621
|
end: In.value.length
|
|
622
622
|
}));
|
|
623
|
-
|
|
623
|
+
he({
|
|
624
624
|
timeLabelsEls: Qt,
|
|
625
625
|
timeLabels: In,
|
|
626
626
|
slicer: Ln,
|
|
@@ -660,7 +660,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
660
660
|
}
|
|
661
661
|
e === null || e !== n ? (e = n, t = 1) : (t += 1, t >= 1 && (I.value = n, e = null, t = 0));
|
|
662
662
|
};
|
|
663
|
-
})(), Bn =
|
|
663
|
+
})(), Bn = ye(() => {
|
|
664
664
|
requestAnimationFrame(() => {
|
|
665
665
|
requestAnimationFrame(() => {
|
|
666
666
|
let e = Rn({
|
|
@@ -693,14 +693,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
693
693
|
seriesIndex: t
|
|
694
694
|
});
|
|
695
695
|
}
|
|
696
|
-
let Wn =
|
|
696
|
+
let Wn = f(() => {
|
|
697
697
|
if (P.value === null) return 0;
|
|
698
698
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end);
|
|
699
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;
|
|
700
|
-
}), Gn =
|
|
700
|
+
}), Gn = f(() => {
|
|
701
701
|
if (P.value === null) return "";
|
|
702
702
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end), n = "", r = "";
|
|
703
|
-
return e && (n =
|
|
703
|
+
return e && (n = l(L.value.style.chart.labels.formatter, P.value.start, o({
|
|
704
704
|
p: L.value.style.chart.labels.prefix,
|
|
705
705
|
v: P.value.start,
|
|
706
706
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -708,7 +708,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
708
708
|
}), {
|
|
709
709
|
datapoint: P.value,
|
|
710
710
|
seriesIndex: N.value
|
|
711
|
-
})), t && (r =
|
|
711
|
+
})), t && (r = l(L.value.style.chart.labels.formatter, P.value.end, o({
|
|
712
712
|
p: L.value.style.chart.labels.prefix,
|
|
713
713
|
v: P.value.end,
|
|
714
714
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -717,7 +717,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
717
717
|
datapoint: P.value,
|
|
718
718
|
seriesIndex: N.value
|
|
719
719
|
})), e && t ? `${n} → ${r}` : e && !t ? n : t && !e ? r : "";
|
|
720
|
-
}), Kn =
|
|
720
|
+
}), Kn = f(() => {
|
|
721
721
|
let e = L.value.table.useDialog && !L.value.table.show, t = H.value.showTable;
|
|
722
722
|
return {
|
|
723
723
|
component: e ? Nt : Ot,
|
|
@@ -748,16 +748,16 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
});
|
|
751
|
-
|
|
751
|
+
ze(() => H.value.showTable, (e) => {
|
|
752
752
|
L.value.table.show || (e && L.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
753
753
|
});
|
|
754
754
|
function qn() {
|
|
755
755
|
H.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
|
|
756
756
|
}
|
|
757
|
-
let Jn =
|
|
757
|
+
let Jn = f(() => Dn.value.map((e) => ({
|
|
758
758
|
...e,
|
|
759
759
|
shape: "circle"
|
|
760
|
-
}))), 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({
|
|
761
761
|
svg: z,
|
|
762
762
|
title: Zn,
|
|
763
763
|
legend: Xn,
|
|
@@ -825,7 +825,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
825
825
|
seriesIndex: a
|
|
826
826
|
}));
|
|
827
827
|
}
|
|
828
|
-
let cr =
|
|
828
|
+
let cr = f(() => ({
|
|
829
829
|
head: Q.value.head,
|
|
830
830
|
body: Q.value.body.map((e) => [
|
|
831
831
|
e[0]?.name ?? "",
|
|
@@ -836,7 +836,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
836
836
|
caption: L.value.a11y.translations.tableCaption,
|
|
837
837
|
notice: L.value.a11y.translations.tableAvailable
|
|
838
838
|
}));
|
|
839
|
-
return
|
|
839
|
+
return ve({
|
|
840
840
|
getData: jn,
|
|
841
841
|
getImage: Fn,
|
|
842
842
|
generatePdf: mn,
|
|
@@ -847,20 +847,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
847
847
|
toggleAnnotator: Pn,
|
|
848
848
|
toggleFullscreen: An,
|
|
849
849
|
copyAlt: nr
|
|
850
|
-
}), (e, t) => (
|
|
850
|
+
}), (e, t) => (x(), h("div", {
|
|
851
851
|
ref_key: "dumbbellChart",
|
|
852
852
|
ref: j,
|
|
853
|
-
class:
|
|
854
|
-
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%" : ""}`),
|
|
855
855
|
id: `dumbbell_${A.value}`,
|
|
856
|
-
onMouseenter: t[1] ||= () =>
|
|
857
|
-
onMouseleave: t[2] ||= () =>
|
|
856
|
+
onMouseenter: t[1] ||= () => E(sn)(!0),
|
|
857
|
+
onMouseleave: t[2] ||= () => E(sn)(!1)
|
|
858
858
|
}, [
|
|
859
|
-
|
|
859
|
+
g("div", {
|
|
860
860
|
id: `chart-instructions-${A.value}`,
|
|
861
861
|
class: "sr-only"
|
|
862
|
-
}, [
|
|
863
|
-
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, {
|
|
864
864
|
key: 0,
|
|
865
865
|
uid: A.value,
|
|
866
866
|
head: cr.value.head,
|
|
@@ -873,22 +873,22 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
873
873
|
"body",
|
|
874
874
|
"caption",
|
|
875
875
|
"notice"
|
|
876
|
-
])) :
|
|
877
|
-
L.value.userOptions.buttons.annotator ? (
|
|
876
|
+
])) : m("", !0),
|
|
877
|
+
L.value.userOptions.buttons.annotator ? (x(), p(E(At), {
|
|
878
878
|
key: 1,
|
|
879
|
-
svgRef:
|
|
879
|
+
svgRef: E(z),
|
|
880
880
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
881
881
|
color: L.value.style.chart.color,
|
|
882
882
|
active: Nn.value,
|
|
883
883
|
isCursorPointer: R.value,
|
|
884
884
|
onClose: Pn
|
|
885
885
|
}, {
|
|
886
|
-
"annotator-action-close":
|
|
887
|
-
"annotator-action-color":
|
|
888
|
-
"annotator-action-draw":
|
|
889
|
-
"annotator-action-undo":
|
|
890
|
-
"annotator-action-redo":
|
|
891
|
-
"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)]),
|
|
892
892
|
_: 3
|
|
893
893
|
}, 8, [
|
|
894
894
|
"svgRef",
|
|
@@ -896,20 +896,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
896
896
|
"color",
|
|
897
897
|
"active",
|
|
898
898
|
"isCursorPointer"
|
|
899
|
-
])) :
|
|
900
|
-
gn.value ? (
|
|
899
|
+
])) : m("", !0),
|
|
900
|
+
gn.value ? (x(), h("div", {
|
|
901
901
|
key: 2,
|
|
902
902
|
ref_key: "noTitle",
|
|
903
903
|
ref: Wt,
|
|
904
904
|
class: "vue-data-ui-no-title-space",
|
|
905
905
|
style: "height:36px; width: 100%;background:transparent"
|
|
906
|
-
}, null, 512)) :
|
|
907
|
-
L.value.style.chart.title.text ? (
|
|
906
|
+
}, null, 512)) : m("", !0),
|
|
907
|
+
L.value.style.chart.title.text ? (x(), h("div", {
|
|
908
908
|
key: 3,
|
|
909
909
|
ref_key: "chartTitle",
|
|
910
910
|
ref: Vt,
|
|
911
911
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
912
|
-
}, [(
|
|
912
|
+
}, [(x(), p(_e, {
|
|
913
913
|
key: `title_${Gt.value}`,
|
|
914
914
|
config: {
|
|
915
915
|
title: {
|
|
@@ -921,16 +921,16 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
921
921
|
...L.value.style.chart.title.subtitle
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
-
}, null, 8, ["config"]))], 512)) :
|
|
925
|
-
|
|
926
|
-
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), {
|
|
927
927
|
ref_key: "userOptionsRef",
|
|
928
928
|
ref: Yt,
|
|
929
929
|
key: `user_option_${Bt.value}`,
|
|
930
930
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
931
931
|
color: L.value.style.chart.color,
|
|
932
|
-
isPrinting:
|
|
933
|
-
isImaging:
|
|
932
|
+
isPrinting: E(fn),
|
|
933
|
+
isImaging: E(pn),
|
|
934
934
|
uid: A.value,
|
|
935
935
|
hasPdf: L.value.userOptions.buttons.pdf,
|
|
936
936
|
hasXls: L.value.userOptions.buttons.csv,
|
|
@@ -950,18 +950,18 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
950
950
|
tableDialog: L.value.table.useDialog,
|
|
951
951
|
isCursorPointer: R.value,
|
|
952
952
|
onToggleFullscreen: An,
|
|
953
|
-
onGeneratePdf:
|
|
953
|
+
onGeneratePdf: E(mn),
|
|
954
954
|
onGenerateCsv: kn,
|
|
955
|
-
onGenerateImage:
|
|
956
|
-
onGenerateSvg:
|
|
955
|
+
onGenerateImage: E(tr),
|
|
956
|
+
onGenerateSvg: E(er),
|
|
957
957
|
onToggleTable: Mn,
|
|
958
958
|
onToggleAnnotator: Pn,
|
|
959
959
|
onCopyAlt: nr,
|
|
960
|
-
style:
|
|
961
|
-
},
|
|
960
|
+
style: Ne({ visibility: E(cn) ? E(on) ? "visible" : "hidden" : "visible" })
|
|
961
|
+
}, Oe({ _: 2 }, [
|
|
962
962
|
e.$slots.menuIcon ? {
|
|
963
963
|
name: "menuIcon",
|
|
964
|
-
fn:
|
|
964
|
+
fn: O(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(y({
|
|
965
965
|
isOpen: t,
|
|
966
966
|
color: n
|
|
967
967
|
})), void 0, !0)]),
|
|
@@ -969,32 +969,32 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
969
969
|
} : void 0,
|
|
970
970
|
e.$slots.optionPdf ? {
|
|
971
971
|
name: "optionPdf",
|
|
972
|
-
fn:
|
|
972
|
+
fn: O(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
973
973
|
key: "1"
|
|
974
974
|
} : void 0,
|
|
975
975
|
e.$slots.optionCsv ? {
|
|
976
976
|
name: "optionCsv",
|
|
977
|
-
fn:
|
|
977
|
+
fn: O(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
978
978
|
key: "2"
|
|
979
979
|
} : void 0,
|
|
980
980
|
e.$slots.optionImg ? {
|
|
981
981
|
name: "optionImg",
|
|
982
|
-
fn:
|
|
982
|
+
fn: O(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
983
983
|
key: "3"
|
|
984
984
|
} : void 0,
|
|
985
985
|
e.$slots.optionSvg ? {
|
|
986
986
|
name: "optionSvg",
|
|
987
|
-
fn:
|
|
987
|
+
fn: O(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
988
988
|
key: "4"
|
|
989
989
|
} : void 0,
|
|
990
990
|
e.$slots.optionTable ? {
|
|
991
991
|
name: "optionTable",
|
|
992
|
-
fn:
|
|
992
|
+
fn: O(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
993
993
|
key: "5"
|
|
994
994
|
} : void 0,
|
|
995
995
|
e.$slots.optionFullscreen ? {
|
|
996
996
|
name: "optionFullscreen",
|
|
997
|
-
fn:
|
|
997
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(y({
|
|
998
998
|
toggleFullscreen: t,
|
|
999
999
|
isFullscreen: n
|
|
1000
1000
|
})), void 0, !0)]),
|
|
@@ -1002,7 +1002,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1002
1002
|
} : void 0,
|
|
1003
1003
|
e.$slots.optionAnnotator ? {
|
|
1004
1004
|
name: "optionAnnotator",
|
|
1005
|
-
fn:
|
|
1005
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(y({
|
|
1006
1006
|
toggleAnnotator: t,
|
|
1007
1007
|
isAnnotator: n
|
|
1008
1008
|
})), void 0, !0)]),
|
|
@@ -1010,46 +1010,46 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1010
1010
|
} : void 0,
|
|
1011
1011
|
e.$slots.optionAltCopy ? {
|
|
1012
1012
|
name: "optionAltCopy",
|
|
1013
|
-
fn:
|
|
1013
|
+
fn: O(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
|
|
1014
1014
|
key: "8"
|
|
1015
1015
|
} : void 0,
|
|
1016
1016
|
e.$slots["custom-menu-before"] ? {
|
|
1017
1017
|
name: "custom-menu-before",
|
|
1018
|
-
fn:
|
|
1018
|
+
fn: O(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1019
1019
|
key: "9"
|
|
1020
1020
|
} : void 0,
|
|
1021
1021
|
e.$slots["custom-menu-after"] ? {
|
|
1022
1022
|
name: "custom-menu-after",
|
|
1023
|
-
fn:
|
|
1023
|
+
fn: O(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1024
1024
|
key: "10"
|
|
1025
1025
|
} : void 0
|
|
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("."))) :
|
|
1027
|
-
|
|
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", {
|
|
1028
1028
|
ref_key: "svgRef",
|
|
1029
1029
|
ref: z,
|
|
1030
|
-
xmlns:
|
|
1031
|
-
class:
|
|
1030
|
+
xmlns: E(ae),
|
|
1031
|
+
class: Me({
|
|
1032
1032
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1033
1033
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1034
1034
|
}),
|
|
1035
1035
|
viewBox: `0 0 ${K.value} ${q.value.absoluteHeight <= 0 ? 10 : q.value.absoluteHeight}`,
|
|
1036
|
-
style:
|
|
1036
|
+
style: Ne(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color}`),
|
|
1037
1037
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1038
1038
|
tabindex: "0",
|
|
1039
1039
|
onFocus: ar,
|
|
1040
1040
|
onBlur: or,
|
|
1041
1041
|
onKeydown: sr
|
|
1042
1042
|
}, [
|
|
1043
|
-
|
|
1044
|
-
e.$slots["chart-background"] ? (
|
|
1043
|
+
_(E(Mt)),
|
|
1044
|
+
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
1045
1045
|
key: 0,
|
|
1046
1046
|
x: q.value.left,
|
|
1047
1047
|
y: q.value.top,
|
|
1048
1048
|
width: Math.max(.1, q.value.width),
|
|
1049
1049
|
height: Math.max(.1, q.value.height),
|
|
1050
1050
|
style: { pointerEvents: "none" }
|
|
1051
|
-
}, [
|
|
1052
|
-
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", {
|
|
1053
1053
|
x1: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1054
1054
|
x2: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1055
1055
|
y1: q.value.top,
|
|
@@ -1057,8 +1057,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1057
1057
|
stroke: L.value.style.chart.grid.verticalGrid.stroke,
|
|
1058
1058
|
"stroke-width": L.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
1059
1059
|
"stroke-dasharray": L.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
1060
|
-
}, null, 8, Xe))), 256))])) :
|
|
1061
|
-
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", {
|
|
1062
1062
|
x1: q.value.left,
|
|
1063
1063
|
x2: q.value.right,
|
|
1064
1064
|
y1: q.value.top + t * q.value.rowHeight,
|
|
@@ -1066,7 +1066,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1066
1066
|
stroke: L.value.style.chart.grid.horizontalGrid.stroke,
|
|
1067
1067
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1068
1068
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1069
|
-
}, null, 8, Qe))), 256)),
|
|
1069
|
+
}, null, 8, Qe))), 256)), g("line", {
|
|
1070
1070
|
x1: q.value.left,
|
|
1071
1071
|
x2: q.value.right,
|
|
1072
1072
|
y1: q.value.bottom,
|
|
@@ -1074,8 +1074,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1074
1074
|
stroke: L.value.style.chart.grid.horizontalGrid.stroke,
|
|
1075
1075
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1076
1076
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1077
|
-
}, null, 8, $e)])) :
|
|
1078
|
-
L.value.style.chart.labels.axis.yLabel ? (
|
|
1077
|
+
}, null, 8, $e)])) : m("", !0),
|
|
1078
|
+
L.value.style.chart.labels.axis.yLabel ? (x(), h("text", {
|
|
1079
1079
|
key: 3,
|
|
1080
1080
|
ref_key: "yAxisLabel",
|
|
1081
1081
|
ref: Xt,
|
|
@@ -1083,12 +1083,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1083
1083
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1084
1084
|
fill: L.value.style.chart.labels.axis.color,
|
|
1085
1085
|
"text-anchor": "middle"
|
|
1086
|
-
},
|
|
1087
|
-
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", {
|
|
1088
1088
|
key: 4,
|
|
1089
1089
|
ref_key: "serieLabels",
|
|
1090
1090
|
ref: Zt
|
|
1091
|
-
}, [(
|
|
1091
|
+
}, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
|
|
1092
1092
|
class: "vue-ui-dumbbell-serie-name",
|
|
1093
1093
|
key: `serieLabel_${e.id}_${t}`,
|
|
1094
1094
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -1109,11 +1109,11 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1109
1109
|
datapoint: e,
|
|
1110
1110
|
seriesIndex: t
|
|
1111
1111
|
})
|
|
1112
|
-
},
|
|
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)({
|
|
1113
1113
|
v: 100 * (e.end / e.start - 1),
|
|
1114
1114
|
s: "%",
|
|
1115
1115
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1116
|
-
}), { 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", {
|
|
1117
1117
|
class: "vue-ui-dumbbell-serie-value",
|
|
1118
1118
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
1119
1119
|
y: q.value.top + t * q.value.rowHeight + q.value.rowHeight / 1.3 + L.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -1132,12 +1132,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1132
1132
|
datapoint: e,
|
|
1133
1133
|
seriesIndex: t
|
|
1134
1134
|
})
|
|
1135
|
-
},
|
|
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)({
|
|
1136
1136
|
v: 100 * (e.end / e.start - 1),
|
|
1137
1137
|
s: "%",
|
|
1138
1138
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1139
|
-
}), { datapoint: e })), 41, nt))), 256)) :
|
|
1140
|
-
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", {
|
|
1141
1141
|
key: 5,
|
|
1142
1142
|
ref_key: "xAxisLabel",
|
|
1143
1143
|
ref: $t,
|
|
@@ -1146,12 +1146,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1146
1146
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1147
1147
|
fill: L.value.style.chart.labels.axis.color,
|
|
1148
1148
|
"text-anchor": "middle"
|
|
1149
|
-
},
|
|
1150
|
-
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", {
|
|
1151
1151
|
key: 6,
|
|
1152
1152
|
ref_key: "scaleLabels",
|
|
1153
1153
|
ref: Qt
|
|
1154
|
-
}, [(
|
|
1154
|
+
}, [(x(!0), h(d, null, C(W.value.ticks, (e, t) => (x(), h("text", {
|
|
1155
1155
|
class: "vue-ui-dumbbell-scale-label",
|
|
1156
1156
|
key: `tick_${t}`,
|
|
1157
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})`,
|
|
@@ -1159,7 +1159,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1159
1159
|
fill: L.value.style.chart.labels.xAxisLabels.color,
|
|
1160
1160
|
"font-weight": L.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
1161
1161
|
"text-anchor": L.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : L.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
1162
|
-
},
|
|
1162
|
+
}, T(E(l)(L.value.style.chart.labels.formatter, e, E(o)({
|
|
1163
1163
|
p: L.value.style.chart.labels.prefix,
|
|
1164
1164
|
v: e,
|
|
1165
1165
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1167,52 +1167,52 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1167
1167
|
}), {
|
|
1168
1168
|
datapoint: e,
|
|
1169
1169
|
seriesIndex: t
|
|
1170
|
-
})), 9, it))), 128))], 512)) :
|
|
1171
|
-
|
|
1172
|
-
|
|
1170
|
+
})), 9, it))), 128))], 512)) : m("", !0),
|
|
1171
|
+
Ve(g("g", null, [
|
|
1172
|
+
Ve(g("path", {
|
|
1173
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}`,
|
|
1174
1174
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.startColor : "transparent",
|
|
1175
1175
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1176
1176
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1177
1177
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1178
|
-
}, null, 8, at), [[
|
|
1179
|
-
|
|
1178
|
+
}, null, 8, at), [[D, P.value !== null && ![null, void 0].includes(P.value.start)]]),
|
|
1179
|
+
Ve(g("path", {
|
|
1180
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}`,
|
|
1181
1181
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.endColor : "transparent",
|
|
1182
1182
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1183
1183
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1184
1184
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1185
|
-
}, null, 8, ot), [[
|
|
1186
|
-
|
|
1185
|
+
}, null, 8, ot), [[D, P.value !== null && ![null, void 0].includes(P.value.end)]]),
|
|
1186
|
+
Ve(g("rect", {
|
|
1187
1187
|
x: P.value ? Math.min(P.value.startX, P.value.endX) : q.value.left,
|
|
1188
1188
|
y: q.value.top,
|
|
1189
1189
|
height: Math.max(.1, q.value.height),
|
|
1190
1190
|
width: P.value ? Math.max(.1, Math.abs(P.value.endX - P.value.startX)) : 0,
|
|
1191
|
-
fill: P.value ?
|
|
1191
|
+
fill: P.value ? E(i)(L.value.style.chart.comparisonLines.rectColor, L.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
1192
1192
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1193
|
-
}, null, 8, st), [[
|
|
1194
|
-
|
|
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", {
|
|
1195
1195
|
transform: `translate(${Wn.value == null ? 0 : Wn.value}, ${q.value.top - 6})`,
|
|
1196
1196
|
fill: L.value.style.chart.comparisonLines.labelColor,
|
|
1197
1197
|
"font-size": L.value.style.chart.comparisonLines.labelFontSize,
|
|
1198
1198
|
"text-anchor": "middle",
|
|
1199
1199
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1200
|
-
},
|
|
1201
|
-
], 512), [[
|
|
1202
|
-
|
|
1203
|
-
|
|
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, {
|
|
1204
1204
|
t: "radial",
|
|
1205
1205
|
id: `start_grad_${A.value}`,
|
|
1206
1206
|
fy: "30%",
|
|
1207
1207
|
stops: [
|
|
1208
1208
|
[
|
|
1209
1209
|
"10%",
|
|
1210
|
-
|
|
1210
|
+
E(n)(L.value.style.chart.plots.startColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1211
1211
|
1
|
|
1212
1212
|
],
|
|
1213
1213
|
[
|
|
1214
1214
|
"90%",
|
|
1215
|
-
|
|
1215
|
+
E(c)(L.value.style.chart.plots.startColor, .1),
|
|
1216
1216
|
1
|
|
1217
1217
|
],
|
|
1218
1218
|
[
|
|
@@ -1222,19 +1222,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1222
1222
|
]
|
|
1223
1223
|
]
|
|
1224
1224
|
}, null, 8, ["id", "stops"]),
|
|
1225
|
-
|
|
1225
|
+
_(u, {
|
|
1226
1226
|
t: "radial",
|
|
1227
1227
|
id: `end_grad_${A.value}`,
|
|
1228
1228
|
fy: "30%",
|
|
1229
1229
|
stops: [
|
|
1230
1230
|
[
|
|
1231
1231
|
"10%",
|
|
1232
|
-
|
|
1232
|
+
E(n)(L.value.style.chart.plots.endColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1233
1233
|
1
|
|
1234
1234
|
],
|
|
1235
1235
|
[
|
|
1236
1236
|
"90%",
|
|
1237
|
-
|
|
1237
|
+
E(c)(L.value.style.chart.plots.endColor, .1),
|
|
1238
1238
|
1
|
|
1239
1239
|
],
|
|
1240
1240
|
[
|
|
@@ -1244,19 +1244,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1244
1244
|
]
|
|
1245
1245
|
]
|
|
1246
1246
|
}, null, 8, ["id", "stops"]),
|
|
1247
|
-
|
|
1247
|
+
_(u, {
|
|
1248
1248
|
t: "radial",
|
|
1249
1249
|
id: `positive_grad_${A.value}`,
|
|
1250
1250
|
fy: "30%",
|
|
1251
1251
|
stops: [
|
|
1252
1252
|
[
|
|
1253
1253
|
"10%",
|
|
1254
|
-
|
|
1254
|
+
E(n)(L.value.style.chart.plots.evaluationColors.positive, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1255
1255
|
1
|
|
1256
1256
|
],
|
|
1257
1257
|
[
|
|
1258
1258
|
"90%",
|
|
1259
|
-
|
|
1259
|
+
E(c)(L.value.style.chart.plots.evaluationColors.positive, .1),
|
|
1260
1260
|
1
|
|
1261
1261
|
],
|
|
1262
1262
|
[
|
|
@@ -1266,19 +1266,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1266
1266
|
]
|
|
1267
1267
|
]
|
|
1268
1268
|
}, null, 8, ["id", "stops"]),
|
|
1269
|
-
|
|
1269
|
+
_(u, {
|
|
1270
1270
|
t: "radial",
|
|
1271
1271
|
id: `negative_grad_${A.value}`,
|
|
1272
1272
|
fy: "30%",
|
|
1273
1273
|
stops: [
|
|
1274
1274
|
[
|
|
1275
1275
|
"10%",
|
|
1276
|
-
|
|
1276
|
+
E(n)(L.value.style.chart.plots.evaluationColors.negative, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1277
1277
|
1
|
|
1278
1278
|
],
|
|
1279
1279
|
[
|
|
1280
1280
|
"90%",
|
|
1281
|
-
|
|
1281
|
+
E(c)(L.value.style.chart.plots.evaluationColors.negative, .1),
|
|
1282
1282
|
1
|
|
1283
1283
|
],
|
|
1284
1284
|
[
|
|
@@ -1288,19 +1288,19 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1288
1288
|
]
|
|
1289
1289
|
]
|
|
1290
1290
|
}, null, 8, ["id", "stops"]),
|
|
1291
|
-
|
|
1291
|
+
_(u, {
|
|
1292
1292
|
t: "radial",
|
|
1293
1293
|
id: `neutral_grad_${A.value}`,
|
|
1294
1294
|
fy: "30%",
|
|
1295
1295
|
stops: [
|
|
1296
1296
|
[
|
|
1297
1297
|
"10%",
|
|
1298
|
-
|
|
1298
|
+
E(n)(L.value.style.chart.plots.evaluationColors.neutral, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1299
1299
|
1
|
|
1300
1300
|
],
|
|
1301
1301
|
[
|
|
1302
1302
|
"90%",
|
|
1303
|
-
|
|
1303
|
+
E(c)(L.value.style.chart.plots.evaluationColors.neutral, .1),
|
|
1304
1304
|
1
|
|
1305
1305
|
],
|
|
1306
1306
|
[
|
|
@@ -1311,8 +1311,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1311
1311
|
]
|
|
1312
1312
|
}, null, 8, ["id", "stops"])
|
|
1313
1313
|
]),
|
|
1314
|
-
(
|
|
1315
|
-
|
|
1314
|
+
(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", { key: `plot_${t}_${e.id}` }, [
|
|
1315
|
+
g("defs", null, [_(u, {
|
|
1316
1316
|
t: "linear",
|
|
1317
1317
|
id: `grad_pos_${A.value}`,
|
|
1318
1318
|
x1: "0%",
|
|
@@ -1328,7 +1328,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1328
1328
|
L.value.style.chart.plots.endColor,
|
|
1329
1329
|
1
|
|
1330
1330
|
]]
|
|
1331
|
-
}, null, 8, ["id", "stops"]),
|
|
1331
|
+
}, null, 8, ["id", "stops"]), _(u, {
|
|
1332
1332
|
t: "linear",
|
|
1333
1333
|
id: `grad_neg_${A.value}`,
|
|
1334
1334
|
x1: "0%",
|
|
@@ -1345,7 +1345,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1345
1345
|
1
|
|
1346
1346
|
]]
|
|
1347
1347
|
}, null, 8, ["id", "stops"])]),
|
|
1348
|
-
![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", {
|
|
1349
1349
|
d: `M
|
|
1350
1350
|
${e.startX},${e.y + J.value / 2}
|
|
1351
1351
|
C ${e.centerX},${e.y} ${e.centerX},${e.y}
|
|
@@ -1356,14 +1356,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1356
1356
|
Z
|
|
1357
1357
|
`,
|
|
1358
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})`
|
|
1359
|
-
}, null, 8, dt)])) : (
|
|
1359
|
+
}, null, 8, dt)])) : (x(), h("g", ft, [g("rect", {
|
|
1360
1360
|
x: e.endX > e.startX ? e.startX : e.endX,
|
|
1361
1361
|
y: e.y - L.value.style.chart.plots.link.strokeWidth / 2,
|
|
1362
1362
|
height: Math.max(.01, L.value.style.chart.plots.link.strokeWidth),
|
|
1363
1363
|
width: Math.max(.01, Math.abs(e.endX - e.startX)),
|
|
1364
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})`
|
|
1365
|
-
}, null, 8, pt)]))])) :
|
|
1366
|
-
[null, void 0].includes(e.start) ?
|
|
1365
|
+
}, null, 8, pt)]))])) : m("", !0),
|
|
1366
|
+
[null, void 0].includes(e.start) ? m("", !0) : (x(), h("circle", {
|
|
1367
1367
|
key: 1,
|
|
1368
1368
|
cx: e.startX,
|
|
1369
1369
|
cy: e.y,
|
|
@@ -1372,7 +1372,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1372
1372
|
stroke: L.value.style.chart.plots.stroke,
|
|
1373
1373
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1374
1374
|
}, null, 8, mt)),
|
|
1375
|
-
[null, void 0].includes(e.end) ?
|
|
1375
|
+
[null, void 0].includes(e.end) ? m("", !0) : (x(), h("circle", {
|
|
1376
1376
|
key: 2,
|
|
1377
1377
|
cx: e.endX,
|
|
1378
1378
|
cy: e.y,
|
|
@@ -1382,14 +1382,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1382
1382
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1383
1383
|
}, null, 8, ht))
|
|
1384
1384
|
]))), 128)),
|
|
1385
|
-
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", {
|
|
1386
1386
|
key: 0,
|
|
1387
1387
|
x: e.startX,
|
|
1388
1388
|
y: e.y + J.value * 2 + L.value.style.chart.labels.startLabels.fontSize / 2,
|
|
1389
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,
|
|
1390
1390
|
"font-size": L.value.style.chart.labels.startLabels.fontSize,
|
|
1391
1391
|
"text-anchor": "middle"
|
|
1392
|
-
},
|
|
1392
|
+
}, T(E(l)(L.value.style.chart.labels.formatter, e.start, E(o)({
|
|
1393
1393
|
p: L.value.style.chart.labels.prefix,
|
|
1394
1394
|
v: e.start,
|
|
1395
1395
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1397,15 +1397,15 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1397
1397
|
}), {
|
|
1398
1398
|
datapoint: e,
|
|
1399
1399
|
seriesIndex: t
|
|
1400
|
-
})), 9, _t))]))), 128))])) :
|
|
1401
|
-
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", {
|
|
1402
1402
|
key: 0,
|
|
1403
1403
|
x: e.endX,
|
|
1404
1404
|
y: e.y - (J.value * 2 - L.value.style.chart.labels.startLabels.fontSize / 3),
|
|
1405
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,
|
|
1406
1406
|
"font-size": L.value.style.chart.labels.endLabels.fontSize,
|
|
1407
1407
|
"text-anchor": "middle"
|
|
1408
|
-
},
|
|
1408
|
+
}, T(E(l)(L.value.style.chart.labels.formatter, e.end, E(o)({
|
|
1409
1409
|
p: L.value.style.chart.labels.prefix,
|
|
1410
1410
|
v: e.end,
|
|
1411
1411
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1413,13 +1413,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1413
1413
|
}), {
|
|
1414
1414
|
datapoint: e,
|
|
1415
1415
|
seriesIndex: t
|
|
1416
|
-
})), 9, yt))]))), 128))])) :
|
|
1417
|
-
|
|
1416
|
+
})), 9, yt))]))), 128))])) : m("", !0),
|
|
1417
|
+
g("g", null, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("rect", {
|
|
1418
1418
|
x: q.value.left,
|
|
1419
1419
|
y: q.value.top + t * Math.max(.1, q.value.rowHeight),
|
|
1420
1420
|
width: Math.max(.1, q.value.width),
|
|
1421
1421
|
height: Math.max(.1, q.value.rowHeight),
|
|
1422
|
-
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",
|
|
1423
1423
|
onMouseenter: (n) => Vn({
|
|
1424
1424
|
datapoint: e,
|
|
1425
1425
|
seriesIndex: t
|
|
@@ -1433,54 +1433,54 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1433
1433
|
seriesIndex: t
|
|
1434
1434
|
})
|
|
1435
1435
|
}, null, 40, bt))), 256))]),
|
|
1436
|
-
|
|
1436
|
+
w(e.$slots, "svg", { svg: {
|
|
1437
1437
|
...q.value,
|
|
1438
|
-
isPrintingImg:
|
|
1439
|
-
isPrintingSvg:
|
|
1438
|
+
isPrintingImg: E(fn) || E(pn) || E(Qn),
|
|
1439
|
+
isPrintingSvg: E($n)
|
|
1440
1440
|
} }, void 0, !0)
|
|
1441
|
-
], 46, qe)), e.$slots.hint ? (
|
|
1441
|
+
], 46, qe)), e.$slots.hint ? (x(), h("div", xt, [w(e.$slots, "hint", b(y({
|
|
1442
1442
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1443
1443
|
isVisible: en.value
|
|
1444
|
-
})), void 0, !0)])) :
|
|
1445
|
-
e.$slots.watermark ? (
|
|
1446
|
-
|
|
1447
|
-
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, {
|
|
1448
1448
|
key: 6,
|
|
1449
1449
|
to: L.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1450
|
-
}, [
|
|
1450
|
+
}, [g("div", {
|
|
1451
1451
|
ref_key: "chartLegend",
|
|
1452
1452
|
ref: Ht
|
|
1453
|
-
}, [
|
|
1453
|
+
}, [w(e.$slots, "legend", { legend: Dn.value }, () => [L.value.style.chart.legend.show && zt.value ? (x(), p(we, {
|
|
1454
1454
|
key: `legend_${qt.value}`,
|
|
1455
1455
|
legendSet: Dn.value,
|
|
1456
1456
|
config: On.value,
|
|
1457
1457
|
clickable: !1
|
|
1458
1458
|
}, {
|
|
1459
|
-
item:
|
|
1460
|
-
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),
|
|
1461
1461
|
viewBox: "0 0 20 20",
|
|
1462
1462
|
height: L.value.style.chart.legend.fontSize,
|
|
1463
1463
|
width: L.value.style.chart.legend.fontSize
|
|
1464
|
-
}, [
|
|
1464
|
+
}, [g("circle", {
|
|
1465
1465
|
cx: 10,
|
|
1466
1466
|
cy: 10,
|
|
1467
1467
|
r: 9,
|
|
1468
1468
|
fill: e.color
|
|
1469
|
-
}, 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)]),
|
|
1470
1470
|
_: 1
|
|
1471
|
-
}, 8, ["legendSet", "config"])) :
|
|
1472
|
-
e.$slots.source ? (
|
|
1471
|
+
}, 8, ["legendSet", "config"])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
|
|
1472
|
+
e.$slots.source ? (x(), h("div", {
|
|
1473
1473
|
key: 7,
|
|
1474
1474
|
ref_key: "source",
|
|
1475
1475
|
ref: Ut,
|
|
1476
1476
|
dir: "auto"
|
|
1477
|
-
}, [
|
|
1478
|
-
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, {
|
|
1479
1479
|
ref_key: "tableUnit",
|
|
1480
1480
|
ref: M,
|
|
1481
1481
|
onClose: qn
|
|
1482
|
-
}),
|
|
1483
|
-
content:
|
|
1482
|
+
}), Oe({
|
|
1483
|
+
content: O(() => [(x(), p(E(kt), {
|
|
1484
1484
|
key: `table_${Kt.value}`,
|
|
1485
1485
|
colNames: Q.value.colNames,
|
|
1486
1486
|
head: Q.value.head,
|
|
@@ -1491,8 +1491,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1491
1491
|
isCursorPointer: R.value,
|
|
1492
1492
|
onClose: qn
|
|
1493
1493
|
}, {
|
|
1494
|
-
th:
|
|
1495
|
-
td:
|
|
1494
|
+
th: O(({ th: e }) => [g("div", Et, T(e), 1)]),
|
|
1495
|
+
td: O(({ td: e }) => [ke(T(e.name || e), 1)]),
|
|
1496
1496
|
_: 1
|
|
1497
1497
|
}, 8, [
|
|
1498
1498
|
"colNames",
|
|
@@ -1506,22 +1506,22 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1506
1506
|
_: 2
|
|
1507
1507
|
}, [L.value.table.useDialog ? {
|
|
1508
1508
|
name: "title",
|
|
1509
|
-
fn:
|
|
1509
|
+
fn: O(() => [ke(T(Kn.value.title), 1)]),
|
|
1510
1510
|
key: "0"
|
|
1511
1511
|
} : void 0, L.value.table.useDialog ? {
|
|
1512
1512
|
name: "actions",
|
|
1513
|
-
fn:
|
|
1513
|
+
fn: O(() => [g("button", {
|
|
1514
1514
|
tabindex: "0",
|
|
1515
1515
|
class: "vue-ui-user-options-button",
|
|
1516
1516
|
onClick: t[0] ||= (e) => kn(L.value.userOptions.callbacks.csv),
|
|
1517
|
-
style:
|
|
1518
|
-
}, [
|
|
1517
|
+
style: Ne({ cursor: R.value ? "pointer" : "default" })
|
|
1518
|
+
}, [_(E(Dt), {
|
|
1519
1519
|
name: "fileCsv",
|
|
1520
1520
|
stroke: Kn.value.props.color
|
|
1521
1521
|
}, null, 8, ["stroke"])], 4)]),
|
|
1522
1522
|
key: "1"
|
|
1523
|
-
} : void 0]), 1040)) :
|
|
1524
|
-
|
|
1523
|
+
} : void 0]), 1040)) : m("", !0),
|
|
1524
|
+
w(e.$slots, "skeleton", {}, () => [E(nn) ? (x(), p(de, { key: 0 })) : m("", !0)], !0)
|
|
1525
1525
|
], 46, Ue));
|
|
1526
1526
|
}
|
|
1527
1527
|
}, [["__scopeId", "data-v-55f01fb4"]]);
|