vue-data-ui 3.20.11 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +5 -1
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { B as t, Bt as n,
|
|
2
|
+
import { B as t, Bt as n, G as r, Gt as i, H as a, Ht as o, J as s, Ot as c, S as ee, St as te, Tt as ne, Vt as re, W as ie, X as ae, ct as oe, h as se, ht as ce, i as le, it as ue, t as de, v as fe, x as pe, y as me } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as he } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as ge } from "./usePrinter-6n2MzVyV.js";
|
|
5
5
|
import { n as _e, t as ve } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
6
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
7
|
+
import { t as be } from "./useNestedProp-DtcXIg7n.js";
|
|
8
8
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as Ce } from "./img-
|
|
11
|
-
import { n as we } from "./Title-
|
|
12
|
-
import { t as Te } from "./Shape-
|
|
10
|
+
import { t as Ce } from "./img-C_RNNswI.js";
|
|
11
|
+
import { n as we } from "./Title-DH6G8_cZ.js";
|
|
12
|
+
import { t as Te } from "./Shape-BxFtoF1z.js";
|
|
13
13
|
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as De } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as Oe } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -133,17 +133,17 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
133
133
|
},
|
|
134
134
|
emits: ["selectDatapoint", "copyAlt"],
|
|
135
135
|
setup(e, { expose: Ee, emit: Ge }) {
|
|
136
|
-
let xt = h(() => import("./Tooltip-
|
|
136
|
+
let xt = h(() => import("./Tooltip-979Ytd8R.js")), St = h(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), Ct = h(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), wt = h(() => import("./DataTable-DweDyHc1.js")), Tt = h(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Et = h(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Dt = h(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Ot = h(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_strip_plot: kt } = he(), { isThemeValid: At, warnInvalidTheme: jt } = xe(), D = e, Mt = Ge, Nt = u({
|
|
137
137
|
get() {
|
|
138
138
|
return !!D.dataset && D.dataset.length;
|
|
139
139
|
},
|
|
140
140
|
set(e) {
|
|
141
141
|
return e;
|
|
142
142
|
}
|
|
143
|
-
}),
|
|
143
|
+
}), O = x(a()), Pt = x(0), Ft = x(!1), It = x(""), k = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(!1), Vt = x(0), Ht = x(0), A = x(null), Ut = x(null), Wt = x(!1), j = x(!1), Gt = x(null), Kt = x(null), qt = x(null), Jt = x(null), M = x(null), N = x(null), P = x("pointer"), Yt = x({
|
|
144
144
|
x: 0,
|
|
145
145
|
y: 0
|
|
146
|
-
}), Xt = x(!1), F = x(an()), I = u(() => F.value.userOptions.useCursorPointer), Zt = u(() =>
|
|
146
|
+
}), Xt = x(!1), F = x(an()), I = u(() => F.value.userOptions.useCursorPointer), Zt = u(() => o({
|
|
147
147
|
defaultConfig: {
|
|
148
148
|
userOptions: { show: !1 },
|
|
149
149
|
table: { show: !1 },
|
|
@@ -269,7 +269,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
269
269
|
]
|
|
270
270
|
}
|
|
271
271
|
],
|
|
272
|
-
skeletonConfig:
|
|
272
|
+
skeletonConfig: o({
|
|
273
273
|
defaultConfig: F.value,
|
|
274
274
|
userConfig: Zt.value
|
|
275
275
|
})
|
|
@@ -281,20 +281,20 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
281
281
|
}), t = e.theme;
|
|
282
282
|
if (!t) return e;
|
|
283
283
|
if (!At.value(e)) return jt(e), e;
|
|
284
|
-
let
|
|
284
|
+
let r = be({
|
|
285
285
|
userConfig: Me[t] || D.config,
|
|
286
286
|
defaultConfig: e
|
|
287
|
-
}),
|
|
287
|
+
}), i = be({
|
|
288
288
|
userConfig: D.config,
|
|
289
|
-
defaultConfig:
|
|
289
|
+
defaultConfig: r
|
|
290
290
|
});
|
|
291
291
|
return {
|
|
292
|
-
...
|
|
293
|
-
customPalette:
|
|
292
|
+
...i,
|
|
293
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || c
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
Ue(() => D.config, async (e) => {
|
|
297
|
-
Qt.value || (F.value = an()), tn.value = !F.value.userOptions.showOnChartHover, sn(),
|
|
297
|
+
Qt.value || (F.value = an()), tn.value = !F.value.userOptions.showOnChartHover, sn(), Vt.value += 1, Ht.value += 1, W.value.dataLabels.show = F.value.style.chart.labels.bestPlotLabel.show, W.value.showTable = F.value.table.show, W.value.showTooltip = F.value.style.chart.tooltip.show, V.value = F.value.style.chart.width, H.value = F.value.style.chart.height, U.value = F.value.style.chart.plots.radius;
|
|
298
298
|
}, { deep: !0 }), Ue(() => D.dataset, (e) => {
|
|
299
299
|
Array.isArray(e) && e.length > 0 && (en.value = !1);
|
|
300
300
|
}, { deep: !0 });
|
|
@@ -304,16 +304,16 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
304
304
|
});
|
|
305
305
|
let on = u(() => !!F.value.debug);
|
|
306
306
|
function sn() {
|
|
307
|
-
if (
|
|
307
|
+
if (ne(D.dataset) ? (ae({
|
|
308
308
|
componentName: "VueUiStripPlot",
|
|
309
309
|
type: "dataset",
|
|
310
310
|
debug: on.value
|
|
311
311
|
}), en.value = !0) : D.dataset.forEach((e, t) => {
|
|
312
|
-
|
|
312
|
+
oe({
|
|
313
313
|
datasetObject: e,
|
|
314
314
|
requiredAttributes: ["name", "plots"]
|
|
315
315
|
}).forEach((e) => {
|
|
316
|
-
|
|
316
|
+
Nt.value = !1, ae({
|
|
317
317
|
componentName: "VueUiStripPlot",
|
|
318
318
|
type: "datasetSerieAttribute",
|
|
319
319
|
property: e,
|
|
@@ -321,11 +321,11 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
321
321
|
debug: on.value
|
|
322
322
|
});
|
|
323
323
|
}), e.plots && e.plots.forEach((e, n) => {
|
|
324
|
-
|
|
324
|
+
oe({
|
|
325
325
|
datasetObject: e,
|
|
326
326
|
requiredAttributes: ["name", "value"]
|
|
327
327
|
}).forEach((e) => {
|
|
328
|
-
|
|
328
|
+
Nt.value = !1, ae({
|
|
329
329
|
componentName: "VueUiStripPlot",
|
|
330
330
|
type: "datasetSerieAttribute",
|
|
331
331
|
property: e,
|
|
@@ -334,16 +334,16 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
334
334
|
});
|
|
335
335
|
});
|
|
336
336
|
});
|
|
337
|
-
}),
|
|
337
|
+
}), ne(D.dataset) || (en.value = F.value.loading), F.value.responsive) {
|
|
338
338
|
let e = De(() => {
|
|
339
339
|
let { width: e, height: t } = Oe({
|
|
340
|
-
chart:
|
|
341
|
-
title: F.value.style.chart.title.text ?
|
|
342
|
-
source:
|
|
343
|
-
noTitle:
|
|
340
|
+
chart: k.value,
|
|
341
|
+
title: F.value.style.chart.title.text ? Lt.value : null,
|
|
342
|
+
source: Rt.value,
|
|
343
|
+
noTitle: zt.value
|
|
344
344
|
});
|
|
345
345
|
requestAnimationFrame(() => {
|
|
346
|
-
hn.value = t, V.value = Math.max(.1, e), H.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? U.value =
|
|
346
|
+
hn.value = t, V.value = Math.max(.1, e), H.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? U.value = re({
|
|
347
347
|
relator: Math.min(t, e),
|
|
348
348
|
adjuster: 600,
|
|
349
349
|
source: F.value.style.chart.plots.radius,
|
|
@@ -352,9 +352,9 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
352
352
|
}) : U.value = F.value.style.chart.plots.radius;
|
|
353
353
|
});
|
|
354
354
|
});
|
|
355
|
-
R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), z.value =
|
|
355
|
+
R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), z.value = k.value.parentNode, R.value.observe(z.value);
|
|
356
356
|
}
|
|
357
|
-
|
|
357
|
+
Bt.value = !0, setTimeout(() => {
|
|
358
358
|
B.value = !1;
|
|
359
359
|
}, Sn.value * 50);
|
|
360
360
|
}
|
|
@@ -362,10 +362,10 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
362
362
|
R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
|
|
363
363
|
});
|
|
364
364
|
let { isPrinting: cn, isImaging: ln, generatePdf: un, generateImage: dn } = ge({
|
|
365
|
-
elementId: `strip-plot_${
|
|
365
|
+
elementId: `strip-plot_${O.value}`,
|
|
366
366
|
fileName: F.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
367
367
|
options: F.value.userOptions.print
|
|
368
|
-
}), fn = u(() => F.value.userOptions.show && !F.value.style.chart.title.text), pn = u(() =>
|
|
368
|
+
}), fn = u(() => F.value.userOptions.show && !F.value.style.chart.title.text), pn = u(() => pe(F.value.customPalette)), B = x(F.value.useCssAnimation), mn = x({
|
|
369
369
|
top: F.value.style.chart.padding.top,
|
|
370
370
|
bottom: F.value.style.chart.padding.bottom,
|
|
371
371
|
left: F.value.style.chart.padding.left,
|
|
@@ -423,20 +423,20 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
423
423
|
absoluteHeight: H.value
|
|
424
424
|
};
|
|
425
425
|
}), xn = u(() => $t.value.map((e, t) => {
|
|
426
|
-
let n =
|
|
426
|
+
let n = a();
|
|
427
427
|
return {
|
|
428
428
|
...e,
|
|
429
429
|
id: n,
|
|
430
|
-
color: e.color ?
|
|
431
|
-
plots: e.plots.map((r,
|
|
430
|
+
color: e.color ? me(e.color) : pn.value[t] || c[t] || c[t % c.length],
|
|
431
|
+
plots: e.plots.map((r, i) => ({
|
|
432
432
|
...r,
|
|
433
|
-
value:
|
|
433
|
+
value: fe(r.value),
|
|
434
434
|
parentId: n,
|
|
435
435
|
parentName: e.name,
|
|
436
436
|
parentIndex: t,
|
|
437
|
-
plotIndex:
|
|
438
|
-
color: e.color ?
|
|
439
|
-
id:
|
|
437
|
+
plotIndex: i,
|
|
438
|
+
color: e.color ? me(e.color) : pn.value[t] || c[t] || c[t % c.length],
|
|
439
|
+
id: a()
|
|
440
440
|
})).sort((e, t) => e.value - t.value)
|
|
441
441
|
};
|
|
442
442
|
})), K = u(() => (xn.value || []).map((e, t) => ({
|
|
@@ -451,7 +451,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
451
451
|
max: Math.max(...e),
|
|
452
452
|
min: Math.min(...e)
|
|
453
453
|
};
|
|
454
|
-
}), q = u(() =>
|
|
454
|
+
}), q = u(() => se(Cn.value.min < 0 ? Cn.value.min : 0, Cn.value.max, F.value.style.chart.grid.scaleSteps)), J = u(() => (K.value || []).map((e, t) => ({
|
|
455
455
|
...e,
|
|
456
456
|
plots: e.plots.map((e) => ({
|
|
457
457
|
...e,
|
|
@@ -464,7 +464,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
464
464
|
value: e
|
|
465
465
|
}))), Tn = x(null), Y = x(null);
|
|
466
466
|
function En({ datapoint: e, seriesIndex: t }) {
|
|
467
|
-
P.value !== "keyboard" && (
|
|
467
|
+
P.value !== "keyboard" && (Ft.value = !1, Y.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
468
468
|
datapoint: e,
|
|
469
469
|
seriesIndex: t
|
|
470
470
|
}));
|
|
@@ -484,14 +484,14 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
484
484
|
seriesIndex: t,
|
|
485
485
|
config: F.value,
|
|
486
486
|
series: xn.value
|
|
487
|
-
},
|
|
488
|
-
let
|
|
489
|
-
if (
|
|
487
|
+
}, Ft.value = !0, Y.value = e;
|
|
488
|
+
let i = F.value.style.chart.tooltip.customFormat;
|
|
489
|
+
if (ce(i) && ue(() => i({
|
|
490
490
|
seriesIndex: t,
|
|
491
491
|
datapoint: e,
|
|
492
492
|
series: xn.value,
|
|
493
493
|
config: F.value
|
|
494
|
-
})))
|
|
494
|
+
}))) It.value = i({
|
|
495
495
|
seriesIndex: t,
|
|
496
496
|
datapoint: e,
|
|
497
497
|
series: xn.value,
|
|
@@ -499,7 +499,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
499
499
|
});
|
|
500
500
|
else {
|
|
501
501
|
let n = "";
|
|
502
|
-
n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${F.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${
|
|
502
|
+
n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${F.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${le(F.value.style.chart.labels.formatter, e.value, r({
|
|
503
503
|
p: F.value.style.chart.labels.prefix,
|
|
504
504
|
v: e.value,
|
|
505
505
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -507,7 +507,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
507
507
|
}), {
|
|
508
508
|
datapoint: e,
|
|
509
509
|
seriesIndex: t
|
|
510
|
-
})}</div>`,
|
|
510
|
+
})}</div>`, It.value = `<div>${n}</div>`;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
let kn = u(() => ({
|
|
@@ -532,7 +532,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
532
532
|
}
|
|
533
533
|
let X = u(() => {
|
|
534
534
|
let e = [F.value.table.columnNames.series, F.value.table.columnNames.value], t = kn.value.head.map((e, t) => {
|
|
535
|
-
let n =
|
|
535
|
+
let n = r({
|
|
536
536
|
p: F.value.style.chart.labels.prefix,
|
|
537
537
|
v: kn.value.body[t],
|
|
538
538
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -563,7 +563,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
563
563
|
};
|
|
564
564
|
}), Z = x(!1);
|
|
565
565
|
function jn(e) {
|
|
566
|
-
Z.value = e,
|
|
566
|
+
Z.value = e, Pt.value += 1;
|
|
567
567
|
}
|
|
568
568
|
function Mn() {
|
|
569
569
|
return K.value;
|
|
@@ -582,9 +582,9 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
582
582
|
Q.value = !Q.value;
|
|
583
583
|
}
|
|
584
584
|
async function Ln({ scale: e = 2 } = {}) {
|
|
585
|
-
if (!
|
|
586
|
-
let { width: t, height: n } =
|
|
587
|
-
domElement:
|
|
585
|
+
if (!k.value) return;
|
|
586
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
|
|
587
|
+
domElement: k.value,
|
|
588
588
|
base64: !0,
|
|
589
589
|
img: !0,
|
|
590
590
|
scale: e
|
|
@@ -639,7 +639,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
639
639
|
headerColor: F.value.table.th.color,
|
|
640
640
|
headerBg: F.value.table.th.backgroundColor,
|
|
641
641
|
isFullscreen: Z.value,
|
|
642
|
-
fullscreenParent:
|
|
642
|
+
fullscreenParent: k.value,
|
|
643
643
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
644
644
|
isCursorPointer: I.value
|
|
645
645
|
} : {
|
|
@@ -660,10 +660,10 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
660
660
|
};
|
|
661
661
|
});
|
|
662
662
|
Ue(() => W.value.showTable, (e) => {
|
|
663
|
-
F.value.table.show || (e && F.value.table.useDialog &&
|
|
663
|
+
F.value.table.show || (e && F.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
|
|
664
664
|
});
|
|
665
665
|
function zn() {
|
|
666
|
-
W.value.showTable = !1,
|
|
666
|
+
W.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
|
|
667
667
|
}
|
|
668
668
|
let Bn = u(() => F.value.style.chart.backgroundColor), { exportSvg: Vn, getSvg: Hn } = ye({
|
|
669
669
|
svg: L,
|
|
@@ -671,7 +671,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
671
671
|
backgroundColor: Bn
|
|
672
672
|
});
|
|
673
673
|
async function Un({ isCb: e }) {
|
|
674
|
-
|
|
674
|
+
j.value = !0, await Le();
|
|
675
675
|
try {
|
|
676
676
|
if (e) {
|
|
677
677
|
let { blob: e, url: t, text: n, dataUrl: r } = await Hn();
|
|
@@ -683,16 +683,16 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
683
683
|
}));
|
|
684
684
|
} else await Promise.resolve(Vn());
|
|
685
685
|
} finally {
|
|
686
|
-
|
|
686
|
+
j.value = !1;
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
function Wn(e) {
|
|
690
690
|
if (e?.stage === "start") {
|
|
691
|
-
|
|
691
|
+
Wt.value = !0;
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
if (e?.stage === "end") {
|
|
695
|
-
|
|
695
|
+
Wt.value = !1;
|
|
696
696
|
return;
|
|
697
697
|
}
|
|
698
698
|
dn();
|
|
@@ -720,7 +720,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
720
720
|
return !Number.isInteger(e) || !Number.isInteger(t) ? null : qn(e)[t] ?? null;
|
|
721
721
|
}
|
|
722
722
|
function Yn() {
|
|
723
|
-
M.value = null, N.value = null, P.value = "pointer",
|
|
723
|
+
M.value = null, N.value = null, P.value = "pointer", Ft.value = !1, Y.value = null;
|
|
724
724
|
}
|
|
725
725
|
function Xn(e) {
|
|
726
726
|
if (!e || !L.value) return;
|
|
@@ -795,20 +795,20 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
795
795
|
copyAlt: Gn
|
|
796
796
|
}), (e, n) => (b(), p("div", {
|
|
797
797
|
ref_key: "stripPlotChart",
|
|
798
|
-
ref:
|
|
798
|
+
ref: k,
|
|
799
799
|
class: _(`vue-data-ui-component vue-ui-strip-plot ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
800
800
|
style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor};${F.value.responsive ? "height:100%" : ""}`),
|
|
801
|
-
id: `strip-plot_${
|
|
801
|
+
id: `strip-plot_${O.value}`,
|
|
802
802
|
onMouseenter: n[1] ||= () => T(nn)(!0),
|
|
803
803
|
onMouseleave: n[2] ||= () => T(nn)(!1)
|
|
804
804
|
}, [
|
|
805
805
|
m("div", {
|
|
806
|
-
id: `chart-instructions-${
|
|
806
|
+
id: `chart-instructions-${O.value}`,
|
|
807
807
|
class: "sr-only"
|
|
808
808
|
}, [m("p", null, w(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
809
809
|
tr.value?.rows?.length ? (b(), d(ke, {
|
|
810
810
|
key: 0,
|
|
811
|
-
uid:
|
|
811
|
+
uid: O.value,
|
|
812
812
|
head: tr.value.headers,
|
|
813
813
|
body: tr.value.rows,
|
|
814
814
|
notice: F.value.a11y.translations.tableAvailable,
|
|
@@ -846,17 +846,17 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
846
846
|
fn.value ? (b(), p("div", {
|
|
847
847
|
key: 2,
|
|
848
848
|
ref_key: "noTitle",
|
|
849
|
-
ref:
|
|
849
|
+
ref: zt,
|
|
850
850
|
class: "vue-data-ui-no-title-space",
|
|
851
851
|
style: "height:36px; width: 100%;background:transparent"
|
|
852
852
|
}, null, 512)) : f("", !0),
|
|
853
853
|
F.value.style.chart.title.text ? (b(), p("div", {
|
|
854
854
|
key: 3,
|
|
855
855
|
ref_key: "chartTitle",
|
|
856
|
-
ref:
|
|
856
|
+
ref: Lt,
|
|
857
857
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
858
858
|
}, [(b(), d(we, {
|
|
859
|
-
key: `title_${
|
|
859
|
+
key: `title_${Vt.value}`,
|
|
860
860
|
config: {
|
|
861
861
|
title: {
|
|
862
862
|
cy: "donut-div-title",
|
|
@@ -868,15 +868,15 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
870
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
871
|
-
F.value.userOptions.show &&
|
|
871
|
+
F.value.userOptions.show && Nt.value && (T(rn) || T(tn)) ? (b(), d(T(Tt), {
|
|
872
872
|
ref_key: "userOptionsRef",
|
|
873
|
-
ref:
|
|
874
|
-
key: `user_option_${
|
|
873
|
+
ref: Ut,
|
|
874
|
+
key: `user_option_${Pt.value}`,
|
|
875
875
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
876
876
|
color: F.value.style.chart.color,
|
|
877
877
|
isPrinting: T(cn),
|
|
878
878
|
isImaging: T(ln),
|
|
879
|
-
uid:
|
|
879
|
+
uid: O.value,
|
|
880
880
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
881
881
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
882
882
|
hasXls: F.value.userOptions.buttons.csv,
|
|
@@ -889,7 +889,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
889
889
|
isTooltip: W.value.showTooltip,
|
|
890
890
|
isFullscreen: Z.value,
|
|
891
891
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
892
|
-
chartElement:
|
|
892
|
+
chartElement: k.value,
|
|
893
893
|
position: F.value.userOptions.position,
|
|
894
894
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
895
895
|
isAnnotation: Q.value,
|
|
@@ -987,14 +987,14 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
987
987
|
m("div", Je, [(b(), p("svg", {
|
|
988
988
|
ref_key: "svgRef",
|
|
989
989
|
ref: L,
|
|
990
|
-
xmlns: T(
|
|
990
|
+
xmlns: T(de),
|
|
991
991
|
class: _({
|
|
992
992
|
"vue-data-ui-fullscreen--on": Z.value,
|
|
993
993
|
"vue-data-ui-fulscreen--off": !Z.value
|
|
994
994
|
}),
|
|
995
995
|
viewBox: `0 0 ${V.value} ${H.value}`,
|
|
996
996
|
style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color};`),
|
|
997
|
-
"aria-describedby": `chart-instructions-${
|
|
997
|
+
"aria-describedby": `chart-instructions-${O.value}`,
|
|
998
998
|
tabindex: "0",
|
|
999
999
|
onFocus: Qn,
|
|
1000
1000
|
onBlur: $n,
|
|
@@ -1059,7 +1059,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1059
1059
|
fill: F.value.style.chart.labels.yAxisLabels.color,
|
|
1060
1060
|
"font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1061
1061
|
"text-anchor": "end"
|
|
1062
|
-
}, w(T(
|
|
1062
|
+
}, w(T(le)(F.value.style.chart.labels.formatter, e.value, T(r)({
|
|
1063
1063
|
p: F.value.style.chart.labels.prefix,
|
|
1064
1064
|
v: e.value,
|
|
1065
1065
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -1080,7 +1080,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1080
1080
|
fill: F.value.style.chart.labels.xAxisLabels.color,
|
|
1081
1081
|
"text-anchor": F.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : F.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
1082
1082
|
innerHTML: T(t)({
|
|
1083
|
-
content: T(
|
|
1083
|
+
content: T(i)(String(e)),
|
|
1084
1084
|
fontSize: F.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1085
1085
|
fill: F.value.style.chart.labels.xAxisLabels.color,
|
|
1086
1086
|
x: 0,
|
|
@@ -1144,11 +1144,11 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1144
1144
|
}, [
|
|
1145
1145
|
m("stop", {
|
|
1146
1146
|
offset: "10%",
|
|
1147
|
-
"stop-color": T(
|
|
1147
|
+
"stop-color": T(te)(e.color, F.value.style.chart.plots.gradient.intensity / 100)
|
|
1148
1148
|
}, null, 8, pt),
|
|
1149
1149
|
m("stop", {
|
|
1150
1150
|
offset: "90%",
|
|
1151
|
-
"stop-color": T(
|
|
1151
|
+
"stop-color": T(ie)(e.color, .1)
|
|
1152
1152
|
}, null, 8, mt),
|
|
1153
1153
|
m("stop", {
|
|
1154
1154
|
offset: "100%",
|
|
@@ -1158,7 +1158,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1158
1158
|
(b(!0), p(l, null, S(J.value, (t, n) => (b(), p(l, null, [(b(!0), p(l, null, S(t.plots, (n, r) => (b(), d(Te, Ie({ ref_for: !0 }, e.$attrs, {
|
|
1159
1159
|
plot: {
|
|
1160
1160
|
x: n.x,
|
|
1161
|
-
y:
|
|
1161
|
+
y: Bt.value ? n.y : G.value.top
|
|
1162
1162
|
},
|
|
1163
1163
|
radius: Y.value && Y.value.id === n.id ? gn.value * 1.5 : gn.value,
|
|
1164
1164
|
shape: F.value.style.chart.plots.shape,
|
|
@@ -1203,7 +1203,7 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1203
1203
|
fill: F.value.style.chart.labels.bestPlotLabel.color,
|
|
1204
1204
|
"text-anchor": "middle",
|
|
1205
1205
|
style: y(`opacity:${F.value.useCssAnimation ? +!B.value : 1};transition:opacity 0.2s ease-in;`)
|
|
1206
|
-
}, w(e.name) + " " + w(F.value.style.chart.labels.bestPlotLabel.showValue ? T(
|
|
1206
|
+
}, w(e.name) + " " + w(F.value.style.chart.labels.bestPlotLabel.showValue ? T(le)(F.value.style.chart.labels.formatter, e.value, T(r)({
|
|
1207
1207
|
p: `(${F.value.style.chart.labels.prefix}`,
|
|
1208
1208
|
v: e.value,
|
|
1209
1209
|
s: `${F.value.style.chart.labels.suffix})`,
|
|
@@ -1214,23 +1214,23 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1214
1214
|
}) : ""), 13, _t)) : f("", !0)], 64))), 256))])) : f("", !0)], 64))), 256)),
|
|
1215
1215
|
C(e.$slots, "svg", { svg: {
|
|
1216
1216
|
...G.value,
|
|
1217
|
-
isPrintingImg: T(cn) || T(ln) ||
|
|
1218
|
-
isPrintingSvg:
|
|
1217
|
+
isPrintingImg: T(cn) || T(ln) || Wt.value,
|
|
1218
|
+
isPrintingSvg: j.value
|
|
1219
1219
|
} }, void 0, !0)
|
|
1220
1220
|
], 46, Ye)), e.$slots.hint ? (b(), p("div", vt, [C(e.$slots, "hint", v(g({
|
|
1221
1221
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1222
1222
|
isVisible: Xt.value
|
|
1223
1223
|
})), void 0, !0)])) : f("", !0)]),
|
|
1224
|
-
e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(cn) || T(ln) ||
|
|
1224
|
+
e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(cn) || T(ln) || Wt.value || j.value })), void 0, !0)])) : f("", !0),
|
|
1225
1225
|
e.$slots.source ? (b(), p("div", {
|
|
1226
1226
|
key: 6,
|
|
1227
1227
|
ref_key: "source",
|
|
1228
|
-
ref:
|
|
1228
|
+
ref: Rt,
|
|
1229
1229
|
dir: "auto"
|
|
1230
1230
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1231
1231
|
Fe(T(xt), {
|
|
1232
1232
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
1233
|
-
show: W.value.showTooltip &&
|
|
1233
|
+
show: W.value.showTooltip && Ft.value,
|
|
1234
1234
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
1235
1235
|
color: F.value.style.chart.tooltip.color,
|
|
1236
1236
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -1241,10 +1241,10 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1241
1241
|
position: F.value.style.chart.tooltip.position,
|
|
1242
1242
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
1243
1243
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
1244
|
-
parent:
|
|
1245
|
-
content:
|
|
1244
|
+
parent: k.value,
|
|
1245
|
+
content: It.value,
|
|
1246
1246
|
isFullscreen: Z.value,
|
|
1247
|
-
isCustom: T(
|
|
1247
|
+
isCustom: T(ce)(F.value.style.chart.tooltip.customFormat),
|
|
1248
1248
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1249
1249
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1250
1250
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
@@ -1280,13 +1280,13 @@ var Ge = /* @__PURE__ */ e({ default: () => xt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1280
1280
|
"isA11yMode",
|
|
1281
1281
|
"a11yPosition"
|
|
1282
1282
|
]),
|
|
1283
|
-
|
|
1283
|
+
Nt.value && F.value.userOptions.buttons.table ? (b(), d(Be($.value.component), Ie({ key: 7 }, $.value.props, {
|
|
1284
1284
|
ref_key: "tableUnit",
|
|
1285
|
-
ref:
|
|
1285
|
+
ref: A,
|
|
1286
1286
|
onClose: zn
|
|
1287
1287
|
}), Ne({
|
|
1288
1288
|
content: E(() => [(b(), d(T(wt), {
|
|
1289
|
-
key: `table_${
|
|
1289
|
+
key: `table_${Ht.value}`,
|
|
1290
1290
|
colNames: X.value.colNames,
|
|
1291
1291
|
head: X.value.head,
|
|
1292
1292
|
body: X.value.body,
|