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,22 +1,22 @@
|
|
|
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, Ft as r, G as i, H as a, Ht as o, J as ee, Ot as te, Pt as s, S as ne, Tt as re, X as c, ft as ie, ht as ae, i as l, it as oe, r as se, t as ce, x as le, y as ue, yt as de } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as fe } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as pe } from "./usePrinter-
|
|
4
|
+
import { t as pe } from "./usePrinter-6n2MzVyV.js";
|
|
5
5
|
import { n as me, t as he } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
6
|
import { t as ge } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as _e } from "./useNestedProp-
|
|
7
|
+
import { t as _e } from "./useNestedProp-DtcXIg7n.js";
|
|
8
8
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ye } from "./img-
|
|
10
|
-
import { n as be } from "./Title-
|
|
11
|
-
import { t as xe } from "./Shape-
|
|
9
|
+
import { t as ye } from "./img-C_RNNswI.js";
|
|
10
|
+
import { n as be } from "./Title-DH6G8_cZ.js";
|
|
11
|
+
import { t as xe } from "./Shape-BxFtoF1z.js";
|
|
12
12
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as Ce } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Te } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Te } from "./BaseLegendToggle-BNRi408o.js";
|
|
16
16
|
import { t as Ee } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
17
|
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as ke } from "./Legend-
|
|
19
|
+
import { t as ke } from "./Legend-BLhREbj7.js";
|
|
20
20
|
import { t as Ae } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
21
21
|
import { Fragment as u, Teleport as je, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Fe, nextTick as Ie, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Le, onMounted as Re, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as T, toRefs as Ve, unref as E, watch as He, withCtx as D } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-quadrant.vue
|
|
@@ -223,10 +223,10 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
223
223
|
"copyAlt"
|
|
224
224
|
],
|
|
225
225
|
setup(e, { expose: Se, emit: Ue }) {
|
|
226
|
-
let en = g(() => import("./Tooltip-
|
|
226
|
+
let en = g(() => import("./Tooltip-979Ytd8R.js")), tn = g(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), nn = g(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), rn = g(() => import("./DataTable-DweDyHc1.js")), an = g(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), on = g(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), sn = g(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), cn = g(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_quadrant: ln } = fe(), { isThemeValid: un, warnInvalidTheme: dn } = ve(), O = e, fn = d(() => !!O.dataset && O.dataset.length), k = S(a()), pn = Ue, mn = S(!1), hn = S(""), gn = S(0), A = S(!1), j = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(null), xn = S(0), Sn = S(0), Cn = S(0), wn = S(!1), Tn = S(null), En = S(null), Dn = S(!1), On = S(!1), M = S(null), kn = S(null), An = S({
|
|
227
227
|
x: 0,
|
|
228
228
|
y: 0
|
|
229
|
-
}),
|
|
229
|
+
}), jn = S("pointer"), Mn = S(!1), N = S(zn()), P = d(() => N.value.userOptions.useCursorPointer), Nn = d(() => ({
|
|
230
230
|
defaultConfig: {
|
|
231
231
|
userOptions: { show: !1 },
|
|
232
232
|
table: { show: !1 },
|
|
@@ -252,14 +252,14 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
252
252
|
legend: { backgroundColor: "transparent" }
|
|
253
253
|
} }
|
|
254
254
|
},
|
|
255
|
-
userConfig:
|
|
256
|
-
})), { loading:
|
|
255
|
+
userConfig: N.value.skeletonConfig ?? {}
|
|
256
|
+
})), { loading: Pn, FINAL_DATASET: Fn } = me({
|
|
257
257
|
...Ve(O),
|
|
258
|
-
FINAL_CONFIG:
|
|
259
|
-
prepareConfig:
|
|
258
|
+
FINAL_CONFIG: N,
|
|
259
|
+
prepareConfig: zn,
|
|
260
260
|
callback: () => {
|
|
261
261
|
Promise.resolve().then(async () => {
|
|
262
|
-
await Ie(), R.value.showTable =
|
|
262
|
+
await Ie(), R.value.showTable = N.value.table.show;
|
|
263
263
|
});
|
|
264
264
|
},
|
|
265
265
|
skeletonDataset: O.config?.skeletonDataset ?? [{
|
|
@@ -334,52 +334,52 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
334
334
|
}
|
|
335
335
|
]
|
|
336
336
|
}],
|
|
337
|
-
skeletonConfig:
|
|
338
|
-
defaultConfig:
|
|
339
|
-
userConfig:
|
|
337
|
+
skeletonConfig: o({
|
|
338
|
+
defaultConfig: N.value,
|
|
339
|
+
userConfig: Nn.value
|
|
340
340
|
})
|
|
341
|
-
}), { userOptionsVisible:
|
|
342
|
-
function
|
|
341
|
+
}), { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = De({ config: N.value }), { svgRef: F } = Oe({ config: N.value.style.chart.title });
|
|
342
|
+
function zn() {
|
|
343
343
|
let e = _e({
|
|
344
344
|
userConfig: O.config,
|
|
345
345
|
defaultConfig: ln
|
|
346
346
|
}), t = e.theme;
|
|
347
347
|
if (!t) return e;
|
|
348
348
|
if (!un.value(e)) return dn(e), e;
|
|
349
|
-
let
|
|
349
|
+
let r = _e({
|
|
350
350
|
userConfig: Ae[t] || O.config,
|
|
351
351
|
defaultConfig: e
|
|
352
|
-
}),
|
|
352
|
+
}), i = _e({
|
|
353
353
|
userConfig: O.config,
|
|
354
|
-
defaultConfig:
|
|
354
|
+
defaultConfig: r
|
|
355
355
|
});
|
|
356
356
|
return {
|
|
357
|
-
...
|
|
358
|
-
customPalette:
|
|
357
|
+
...i,
|
|
358
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || te
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
He(() => O.config, (e) => {
|
|
362
|
-
|
|
362
|
+
N.value = zn(), In.value = !N.value.userOptions.showOnChartHover, Vn(), xn.value += 1, Sn.value += 1, Cn.value += 1, R.value.plotLabels.show = N.value.style.chart.layout.labels.plotLabels.show, R.value.showTable = N.value.table.show, R.value.showTooltip = N.value.style.chart.tooltip.show;
|
|
363
363
|
}, { deep: !0 });
|
|
364
|
-
let
|
|
364
|
+
let I = Be(null), L = Be(null), Bn = d(() => N.value.debug);
|
|
365
365
|
function Vn() {
|
|
366
|
-
if (
|
|
366
|
+
if (re(O.dataset) ? c({
|
|
367
367
|
componentName: "VueUiQuadrant",
|
|
368
368
|
type: "dataset",
|
|
369
|
-
debug:
|
|
369
|
+
debug: Bn.value
|
|
370
370
|
}) : O.dataset.forEach((e, t) => {
|
|
371
371
|
[null, void 0].includes(e.name) && c({
|
|
372
372
|
componentName: "VueUiQuadrant",
|
|
373
373
|
type: "datasetSerieAttribute",
|
|
374
374
|
property: "name",
|
|
375
375
|
index: t,
|
|
376
|
-
debug:
|
|
376
|
+
debug: Bn.value
|
|
377
377
|
}), [null, void 0].includes(e.series) ? c({
|
|
378
378
|
componentName: "VueUiQuadrant",
|
|
379
379
|
type: "datasetSerieAttribute",
|
|
380
380
|
property: "series",
|
|
381
381
|
index: t,
|
|
382
|
-
debug:
|
|
382
|
+
debug: Bn.value
|
|
383
383
|
}) : e.series.forEach((e, t) => {
|
|
384
384
|
[null, void 0].includes(e.name) && c({
|
|
385
385
|
componentName: "VueUiQuadrant",
|
|
@@ -387,15 +387,15 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
387
387
|
property: "name",
|
|
388
388
|
key: "series",
|
|
389
389
|
index: t,
|
|
390
|
-
debug:
|
|
390
|
+
debug: Bn.value
|
|
391
391
|
});
|
|
392
392
|
});
|
|
393
|
-
}),
|
|
393
|
+
}), N.value.responsive) {
|
|
394
394
|
let e = Ce(() => {
|
|
395
395
|
let { width: e, height: t } = we({
|
|
396
396
|
chart: j.value,
|
|
397
|
-
title:
|
|
398
|
-
legend:
|
|
397
|
+
title: N.value.style.chart.title.text ? _n.value : null,
|
|
398
|
+
legend: N.value.style.chart.legend.show ? vn.value : null,
|
|
399
399
|
source: yn.value,
|
|
400
400
|
noTitle: bn.value
|
|
401
401
|
});
|
|
@@ -403,33 +403,33 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
403
403
|
B.value.height = t, B.value.usableHeight = t - z.value * 2, B.value.width = e, B.value.usableWidth = e - z.value * 2, B.value.top = z.value, B.value.left = z.value, B.value.right = e - z.value, B.value.bottom = t - z.value, B.value.centerX = e / 2, B.value.centerY = t - t / 2, B.value.padding = z.value;
|
|
404
404
|
});
|
|
405
405
|
});
|
|
406
|
-
|
|
406
|
+
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = j.value.parentNode, I.value.observe(L.value);
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
Re(() => {
|
|
410
410
|
wn.value = !0, Vn();
|
|
411
411
|
}), Le(() => {
|
|
412
|
-
|
|
412
|
+
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
413
413
|
});
|
|
414
414
|
let { isPrinting: Hn, isImaging: Un, generatePdf: Wn, generateImage: Gn } = pe({
|
|
415
415
|
elementId: `vue-ui-quadrant_${k.value}`,
|
|
416
|
-
fileName:
|
|
417
|
-
options:
|
|
418
|
-
}), Kn = d(() =>
|
|
419
|
-
plotLabels: { show:
|
|
420
|
-
showTable:
|
|
421
|
-
showTooltip:
|
|
416
|
+
fileName: N.value.style.chart.title.text || "vue-ui-quadrant",
|
|
417
|
+
options: N.value.userOptions.print
|
|
418
|
+
}), Kn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), qn = d(() => le(N.value.customPalette)), R = S({
|
|
419
|
+
plotLabels: { show: N.value.style.chart.layout.labels.plotLabels.show },
|
|
420
|
+
showTable: N.value.table.show,
|
|
421
|
+
showTooltip: N.value.style.chart.tooltip.show
|
|
422
422
|
}), z = S(48), B = S({
|
|
423
|
-
height:
|
|
424
|
-
usableHeight:
|
|
425
|
-
width:
|
|
426
|
-
usableWidth:
|
|
423
|
+
height: N.value.style.chart.height,
|
|
424
|
+
usableHeight: N.value.style.chart.height - z.value * 2,
|
|
425
|
+
width: N.value.style.chart.width,
|
|
426
|
+
usableWidth: N.value.style.chart.width - z.value * 2,
|
|
427
427
|
top: z.value,
|
|
428
428
|
left: z.value,
|
|
429
|
-
right:
|
|
430
|
-
bottom:
|
|
431
|
-
centerX:
|
|
432
|
-
centerY:
|
|
429
|
+
right: N.value.style.chart.width - z.value,
|
|
430
|
+
bottom: N.value.style.chart.height - z.value,
|
|
431
|
+
centerX: N.value.style.chart.width / 2,
|
|
432
|
+
centerY: N.value.style.chart.height - N.value.style.chart.height / 2,
|
|
433
433
|
padding: z.value
|
|
434
434
|
}), V = S({
|
|
435
435
|
...JSON.parse(JSON.stringify(B.value)),
|
|
@@ -448,34 +448,34 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
448
448
|
case "TL": return {
|
|
449
449
|
x: V.value.startX + V.value.width / 2,
|
|
450
450
|
y: V.value.height,
|
|
451
|
-
text:
|
|
452
|
-
fontSize:
|
|
453
|
-
fill:
|
|
454
|
-
bold:
|
|
451
|
+
text: N.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
|
|
452
|
+
fontSize: N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
453
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
454
|
+
bold: N.value.style.chart.layout.labels.quadrantLabels.tl.bold
|
|
455
455
|
};
|
|
456
456
|
case "TR": return {
|
|
457
457
|
x: V.value.startX + V.value.width / 2,
|
|
458
458
|
y: V.value.height,
|
|
459
|
-
text:
|
|
460
|
-
fontSize:
|
|
461
|
-
fill:
|
|
462
|
-
bold:
|
|
459
|
+
text: N.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
|
|
460
|
+
fontSize: N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
461
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
462
|
+
bold: N.value.style.chart.layout.labels.quadrantLabels.tr.bold
|
|
463
463
|
};
|
|
464
464
|
case "BR": return {
|
|
465
465
|
x: V.value.startX + V.value.width / 2,
|
|
466
466
|
y: V.value.height * 1.678,
|
|
467
|
-
text:
|
|
468
|
-
fontSize:
|
|
469
|
-
fill:
|
|
470
|
-
bold:
|
|
467
|
+
text: N.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
|
|
468
|
+
fontSize: N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
469
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
470
|
+
bold: N.value.style.chart.layout.labels.quadrantLabels.br.bold
|
|
471
471
|
};
|
|
472
472
|
case "BL": return {
|
|
473
473
|
x: V.value.startX + V.value.width / 2,
|
|
474
474
|
y: V.value.height * 1.678,
|
|
475
|
-
text:
|
|
476
|
-
fontSize:
|
|
477
|
-
fill:
|
|
478
|
-
bold:
|
|
475
|
+
text: N.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
|
|
476
|
+
fontSize: N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
477
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
478
|
+
bold: N.value.style.chart.layout.labels.quadrantLabels.bl.bold
|
|
479
479
|
};
|
|
480
480
|
default: return {
|
|
481
481
|
x: 0,
|
|
@@ -494,13 +494,13 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
494
494
|
y: t - V.value.startY,
|
|
495
495
|
w: n - V.value.width,
|
|
496
496
|
h: r - V.value.height
|
|
497
|
-
}, o =
|
|
498
|
-
function
|
|
499
|
-
Yn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, ee += 1, ee < o ? Jn.value = requestAnimationFrame(
|
|
497
|
+
}, o = N.value.zoomAnimationFrames, ee = 0;
|
|
498
|
+
function te() {
|
|
499
|
+
Yn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, ee += 1, ee < o ? Jn.value = requestAnimationFrame(te) : Yn.value = !1;
|
|
500
500
|
}
|
|
501
|
-
|
|
501
|
+
te();
|
|
502
502
|
}
|
|
503
|
-
let W = d(() =>
|
|
503
|
+
let W = d(() => N.value.zoomEnabled);
|
|
504
504
|
function G(e) {
|
|
505
505
|
if (W.value && !Yn.value) if (A.value && H.value === e) Xn({
|
|
506
506
|
targetX: 0,
|
|
@@ -554,7 +554,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
let Zn = d(() => {
|
|
557
|
-
let e =
|
|
557
|
+
let e = N.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
|
|
558
558
|
for (let i = 0; i < e; i += 1) r.push({
|
|
559
559
|
x: B.value.padding + t * i,
|
|
560
560
|
y: n + B.value.usableHeight * (i / e / 2),
|
|
@@ -564,8 +564,8 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
564
564
|
});
|
|
565
565
|
return r;
|
|
566
566
|
}), K = d(() => {
|
|
567
|
-
let e =
|
|
568
|
-
return
|
|
567
|
+
let e = N.value.style.chart.layout.grid.xAxis.max, t = N.value.style.chart.layout.grid.xAxis.min, n = N.value.style.chart.layout.grid.yAxis.max, r = N.value.style.chart.layout.grid.yAxis.min;
|
|
568
|
+
return N.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.x)))), N.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
569
569
|
x: {
|
|
570
570
|
max: e,
|
|
571
571
|
min: t
|
|
@@ -575,14 +575,14 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
575
575
|
min: r
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
|
-
}), q = S([]), Qn = d(() =>
|
|
578
|
+
}), q = S([]), Qn = d(() => Fn.value.map((e, t) => ({
|
|
579
579
|
...e,
|
|
580
|
-
series:
|
|
580
|
+
series: de({
|
|
581
581
|
data: e.series,
|
|
582
|
-
threshold:
|
|
582
|
+
threshold: N.value.downsample.threshold
|
|
583
583
|
}),
|
|
584
584
|
id: `cat_${t}_${k.value}`,
|
|
585
|
-
color:
|
|
585
|
+
color: ue(e.color) || qn.value[t] || te[t]
|
|
586
586
|
}))), $n = d(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = d(() => Qn.value.map((e, t) => ({
|
|
587
587
|
...e,
|
|
588
588
|
shape: e.shape || "circle",
|
|
@@ -601,7 +601,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
601
601
|
shape: e.shape,
|
|
602
602
|
color: e.color
|
|
603
603
|
}))
|
|
604
|
-
}))), J = d(() => (
|
|
604
|
+
}))), J = d(() => (Fn.value.forEach((e, t) => {
|
|
605
605
|
e.series.forEach((e, t) => {
|
|
606
606
|
[null, void 0].includes(e.x) && c({
|
|
607
607
|
componentName: "VueUiQuadrant",
|
|
@@ -609,20 +609,20 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
609
609
|
property: "x",
|
|
610
610
|
key: "series",
|
|
611
611
|
index: t,
|
|
612
|
-
debug:
|
|
612
|
+
debug: Bn.value
|
|
613
613
|
}), [null, void 0].includes(e.y) && c({
|
|
614
614
|
componentName: "VueUiQuadrant",
|
|
615
615
|
type: "datasetSerieAttribute",
|
|
616
616
|
property: "y",
|
|
617
617
|
key: "series",
|
|
618
618
|
index: t,
|
|
619
|
-
debug:
|
|
619
|
+
debug: Bn.value
|
|
620
620
|
});
|
|
621
621
|
});
|
|
622
622
|
}), $n.value.map((e, t) => ({
|
|
623
623
|
...e,
|
|
624
624
|
shape: e.shape || "circle",
|
|
625
|
-
color: e.color || qn.value[t] ||
|
|
625
|
+
color: e.color || qn.value[t] || te[t],
|
|
626
626
|
series: e.series.map((t) => ({
|
|
627
627
|
...t,
|
|
628
628
|
category: e,
|
|
@@ -637,7 +637,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
637
637
|
categoryName: e.name,
|
|
638
638
|
shape: e.shape,
|
|
639
639
|
color: e.color,
|
|
640
|
-
uid:
|
|
640
|
+
uid: a()
|
|
641
641
|
}))
|
|
642
642
|
}))));
|
|
643
643
|
function tr(e) {
|
|
@@ -665,17 +665,17 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
665
665
|
name: t.name,
|
|
666
666
|
category: t.categoryName,
|
|
667
667
|
quadrantSide: t.quadrantSide,
|
|
668
|
-
sideName:
|
|
668
|
+
sideName: N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text,
|
|
669
669
|
color: e.color,
|
|
670
670
|
shape: e.shape
|
|
671
|
-
}))), t =
|
|
671
|
+
}))), t = N.value.style.chart.layout.grid.xAxis.name || "x", n = N.value.style.chart.layout.grid.yAxis.name || "y";
|
|
672
672
|
return {
|
|
673
673
|
head: [
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
N.value.translations.category,
|
|
675
|
+
N.value.translations.item,
|
|
676
676
|
t,
|
|
677
677
|
n,
|
|
678
|
-
|
|
678
|
+
N.value.translations.side
|
|
679
679
|
],
|
|
680
680
|
body: e.map((e) => [
|
|
681
681
|
e.category,
|
|
@@ -698,13 +698,13 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
698
698
|
name: e.category
|
|
699
699
|
},
|
|
700
700
|
e.name,
|
|
701
|
-
l(
|
|
701
|
+
l(N.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, i({
|
|
702
702
|
v: e.x,
|
|
703
|
-
r:
|
|
703
|
+
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
704
704
|
})),
|
|
705
|
-
l(
|
|
705
|
+
l(N.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, i({
|
|
706
706
|
v: e.y,
|
|
707
|
-
r:
|
|
707
|
+
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
708
708
|
})),
|
|
709
709
|
e.sideName || e.quadrantSide
|
|
710
710
|
]);
|
|
@@ -714,16 +714,16 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
714
714
|
a11yBody: t.map((e) => e.map((e, t) => t === 0 ? e.name ?? "" : e)),
|
|
715
715
|
config: {
|
|
716
716
|
th: {
|
|
717
|
-
backgroundColor:
|
|
718
|
-
color:
|
|
719
|
-
outline:
|
|
717
|
+
backgroundColor: N.value.table.th.backgroundColor,
|
|
718
|
+
color: N.value.table.th.color,
|
|
719
|
+
outline: N.value.table.th.outline
|
|
720
720
|
},
|
|
721
721
|
td: {
|
|
722
|
-
backgroundColor:
|
|
723
|
-
color:
|
|
724
|
-
outline:
|
|
722
|
+
backgroundColor: N.value.table.td.backgroundColor,
|
|
723
|
+
color: N.value.table.td.color,
|
|
724
|
+
outline: N.value.table.td.outline
|
|
725
725
|
},
|
|
726
|
-
breakpoint:
|
|
726
|
+
breakpoint: N.value.table.responsiveBreakpoint
|
|
727
727
|
},
|
|
728
728
|
colNames: e
|
|
729
729
|
};
|
|
@@ -746,7 +746,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
746
746
|
isSegregated: q.value.includes(e.id)
|
|
747
747
|
})));
|
|
748
748
|
function sr(e) {
|
|
749
|
-
return Y.value.length ? Y.value.find((t) => t.name === e) || (
|
|
749
|
+
return Y.value.length ? Y.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null);
|
|
750
750
|
}
|
|
751
751
|
function cr(e) {
|
|
752
752
|
let t = sr(e);
|
|
@@ -758,11 +758,11 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
758
758
|
}
|
|
759
759
|
let ur = d(() => ({
|
|
760
760
|
cy: "quadrant-div-legend",
|
|
761
|
-
backgroundColor:
|
|
762
|
-
color:
|
|
763
|
-
fontSize:
|
|
761
|
+
backgroundColor: N.value.style.chart.legend.backgroundColor,
|
|
762
|
+
color: N.value.style.chart.legend.color,
|
|
763
|
+
fontSize: N.value.style.chart.legend.fontSize,
|
|
764
764
|
paddingBottom: 12,
|
|
765
|
-
fontWeight:
|
|
765
|
+
fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
|
|
766
766
|
}));
|
|
767
767
|
function dr(e) {
|
|
768
768
|
switch (!0) {
|
|
@@ -775,73 +775,73 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
775
775
|
}
|
|
776
776
|
let X = S(null), fr = S(null), pr = S(null);
|
|
777
777
|
function mr() {
|
|
778
|
-
X.value = null, fr.value = null,
|
|
778
|
+
X.value = null, fr.value = null, M.value = null, kn.value = null, mn.value = !1;
|
|
779
779
|
}
|
|
780
780
|
function hr(e) {
|
|
781
|
-
if (!
|
|
782
|
-
let t = `[data-a11y-plot-id="${e}"]`, n =
|
|
781
|
+
if (!F.value || !e) return;
|
|
782
|
+
let t = `[data-a11y-plot-id="${e}"]`, n = F.value.querySelector(t);
|
|
783
783
|
if (!n) return;
|
|
784
784
|
let r = n.getBoundingClientRect();
|
|
785
|
-
|
|
785
|
+
An.value = {
|
|
786
786
|
x: r.left + r.width / 2,
|
|
787
787
|
y: r.top + r.height / 2
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
function gr(e, t, n, r = "pointer",
|
|
791
|
-
|
|
790
|
+
function gr(e, t, n, r = "pointer", a = null) {
|
|
791
|
+
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
792
792
|
datapoint: t,
|
|
793
793
|
seriesIndex: n
|
|
794
794
|
}), X.value = t.uid, fr.value = {
|
|
795
795
|
color: e.color,
|
|
796
796
|
shape: e.shape
|
|
797
|
-
},
|
|
797
|
+
}, jn.value = r, M.value = a, kn.value = t.uid, pr.value = {
|
|
798
798
|
datapoint: t,
|
|
799
799
|
seriesIndex: n,
|
|
800
800
|
series: J.value,
|
|
801
|
-
config:
|
|
801
|
+
config: N.value
|
|
802
802
|
};
|
|
803
|
-
let o =
|
|
804
|
-
if (
|
|
803
|
+
let o = N.value.style.chart.tooltip.customFormat;
|
|
804
|
+
if (ae(o) && oe(() => o({
|
|
805
805
|
seriesIndex: n,
|
|
806
806
|
datapoint: t,
|
|
807
807
|
series: J.value,
|
|
808
|
-
config:
|
|
808
|
+
config: N.value
|
|
809
809
|
}))) hn.value = o({
|
|
810
810
|
seriesIndex: n,
|
|
811
811
|
datapoint: t,
|
|
812
812
|
series: J.value,
|
|
813
|
-
config:
|
|
813
|
+
config: N.value
|
|
814
814
|
});
|
|
815
815
|
else {
|
|
816
816
|
let r = "";
|
|
817
|
-
t.quadrantSide && (r += `<div style="color:${
|
|
817
|
+
t.quadrantSide && (r += `<div style="color:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${N.value.style.chart.layout.grid.xAxis.name ? N.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, i({
|
|
818
818
|
v: t.xValue,
|
|
819
|
-
r:
|
|
819
|
+
r: N.value.style.chart.tooltip.roundingValue
|
|
820
820
|
}), {
|
|
821
821
|
datapoint: t,
|
|
822
822
|
category: e,
|
|
823
823
|
categoryIndex: n
|
|
824
|
-
})}</b></div>`, r += `<div>${
|
|
824
|
+
})}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, i({
|
|
825
825
|
v: t.yValue,
|
|
826
|
-
r:
|
|
826
|
+
r: N.value.style.chart.tooltip.roundingValue
|
|
827
827
|
}), {
|
|
828
828
|
datapoint: t,
|
|
829
829
|
category: e,
|
|
830
830
|
categoryIndex: n
|
|
831
|
-
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${
|
|
831
|
+
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
832
832
|
}
|
|
833
833
|
r === "keyboard" && Ie(() => {
|
|
834
834
|
hr(t.uid);
|
|
835
835
|
}), mn.value = !0;
|
|
836
836
|
}
|
|
837
837
|
function _r(e, t) {
|
|
838
|
-
|
|
838
|
+
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
839
839
|
datapoint: e,
|
|
840
840
|
seriesIndex: t
|
|
841
|
-
}), !(
|
|
841
|
+
}), !(kn.value === e.uid && jn.value === "keyboard") && (mn.value = !1, X.value = null, fr.value = null);
|
|
842
842
|
}
|
|
843
843
|
function vr(e, t, n) {
|
|
844
|
-
|
|
844
|
+
N.value.events.datapointClick && N.value.events.datapointClick({
|
|
845
845
|
datapoint: t,
|
|
846
846
|
seriesIndex: n
|
|
847
847
|
}), pn("selectPlot", {
|
|
@@ -851,7 +851,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
851
851
|
x: t.xValue,
|
|
852
852
|
y: t.yValue,
|
|
853
853
|
quadrantSide: t.quadrantSide,
|
|
854
|
-
sideName:
|
|
854
|
+
sideName: N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text
|
|
855
855
|
});
|
|
856
856
|
}
|
|
857
857
|
function yr(e) {
|
|
@@ -864,7 +864,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
864
864
|
})));
|
|
865
865
|
pn("selectSide", {
|
|
866
866
|
quadrantSide: e,
|
|
867
|
-
sideName:
|
|
867
|
+
sideName: N.value.style.chart.layout.labels.quadrantLabels[e].text,
|
|
868
868
|
items: [...t]
|
|
869
869
|
});
|
|
870
870
|
}
|
|
@@ -873,22 +873,22 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
873
873
|
tl: {
|
|
874
874
|
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
875
875
|
y: 0,
|
|
876
|
-
fill:
|
|
876
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
877
877
|
},
|
|
878
878
|
tr: {
|
|
879
879
|
x: B.value.left + B.value.usableWidth / 4,
|
|
880
880
|
y: 0,
|
|
881
|
-
fill:
|
|
881
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
882
882
|
},
|
|
883
883
|
br: {
|
|
884
884
|
x: B.value.left + B.value.usableWidth / 4,
|
|
885
885
|
y: 20,
|
|
886
|
-
fill:
|
|
886
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
887
887
|
},
|
|
888
888
|
bl: {
|
|
889
889
|
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
890
890
|
y: 20,
|
|
891
|
-
fill:
|
|
891
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
892
892
|
},
|
|
893
893
|
crosshairs: {
|
|
894
894
|
horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},20 ${B.value.left + B.value.usableWidth / 4 + 20},20`,
|
|
@@ -899,22 +899,22 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
899
899
|
tl: {
|
|
900
900
|
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
901
901
|
y: 0,
|
|
902
|
-
fill:
|
|
902
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
903
903
|
},
|
|
904
904
|
tr: {
|
|
905
905
|
x: B.value.centerX + B.value.usableWidth / 4,
|
|
906
906
|
y: 0,
|
|
907
|
-
fill:
|
|
907
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
908
908
|
},
|
|
909
909
|
br: {
|
|
910
910
|
x: B.value.centerX + B.value.usableWidth / 4,
|
|
911
911
|
y: 20,
|
|
912
|
-
fill:
|
|
912
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
913
913
|
},
|
|
914
914
|
bl: {
|
|
915
915
|
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
916
916
|
y: 20,
|
|
917
|
-
fill:
|
|
917
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
918
918
|
},
|
|
919
919
|
crosshairs: {
|
|
920
920
|
horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},20 ${B.value.centerX + B.value.usableWidth / 4 + 20},20`,
|
|
@@ -925,22 +925,22 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
925
925
|
tl: {
|
|
926
926
|
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
927
927
|
y: B.value.centerY - 48,
|
|
928
|
-
fill:
|
|
928
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
929
929
|
},
|
|
930
930
|
tr: {
|
|
931
931
|
x: B.value.centerX + B.value.usableWidth / 4,
|
|
932
932
|
y: B.value.centerY - 48,
|
|
933
|
-
fill:
|
|
933
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
934
934
|
},
|
|
935
935
|
br: {
|
|
936
936
|
x: B.value.centerX + B.value.usableWidth / 4,
|
|
937
937
|
y: B.value.centerY - 28,
|
|
938
|
-
fill:
|
|
938
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
939
939
|
},
|
|
940
940
|
bl: {
|
|
941
941
|
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
942
942
|
y: B.value.centerY - 28,
|
|
943
|
-
fill:
|
|
943
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
944
944
|
},
|
|
945
945
|
crosshairs: {
|
|
946
946
|
horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},${B.value.centerY - 28} ${B.value.centerX + B.value.usableWidth / 4 + 20},${B.value.centerY - 28}`,
|
|
@@ -951,22 +951,22 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
951
951
|
tl: {
|
|
952
952
|
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
953
953
|
y: B.value.centerY - 48,
|
|
954
|
-
fill:
|
|
954
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
955
955
|
},
|
|
956
956
|
tr: {
|
|
957
957
|
x: B.value.left + B.value.usableWidth / 4,
|
|
958
958
|
y: B.value.centerY - 48,
|
|
959
|
-
fill:
|
|
959
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
960
960
|
},
|
|
961
961
|
br: {
|
|
962
962
|
x: B.value.left + B.value.usableWidth / 4,
|
|
963
963
|
y: B.value.centerY - 28,
|
|
964
|
-
fill:
|
|
964
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
965
965
|
},
|
|
966
966
|
bl: {
|
|
967
967
|
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
968
968
|
y: B.value.centerY - 28,
|
|
969
|
-
fill:
|
|
969
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
970
970
|
},
|
|
971
971
|
crosshairs: {
|
|
972
972
|
horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},${B.value.centerY - 28} ${B.value.left + B.value.usableWidth / 4 + 20},${B.value.centerY - 28}`,
|
|
@@ -984,20 +984,20 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
984
984
|
x: e.xValue,
|
|
985
985
|
y: e.yValue,
|
|
986
986
|
quadrantSide: e.quadrantSide,
|
|
987
|
-
sideName:
|
|
987
|
+
sideName: N.value.style.chart.layout.labels.quadrantLabels[e.quadrantSide].text
|
|
988
988
|
}))
|
|
989
989
|
}));
|
|
990
990
|
}
|
|
991
991
|
function xr(e = null) {
|
|
992
992
|
Ie(() => {
|
|
993
993
|
let t = [
|
|
994
|
-
[
|
|
995
|
-
[
|
|
994
|
+
[N.value.style.chart.title.text],
|
|
995
|
+
[N.value.style.chart.title.subtitle.text],
|
|
996
996
|
[""]
|
|
997
|
-
], n = rr.value.head, r = rr.value.body, i =
|
|
997
|
+
], n = rr.value.head, r = rr.value.body, i = ne(t.concat([n]).concat(r));
|
|
998
998
|
e ? e(i) : ee({
|
|
999
999
|
csvContent: i,
|
|
1000
|
-
title:
|
|
1000
|
+
title: N.value.style.chart.title.text || "vue-ui-quadrant"
|
|
1001
1001
|
});
|
|
1002
1002
|
});
|
|
1003
1003
|
}
|
|
@@ -1029,52 +1029,52 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1029
1029
|
return {
|
|
1030
1030
|
imageUri: i,
|
|
1031
1031
|
base64: a,
|
|
1032
|
-
title:
|
|
1032
|
+
title: N.value.style.chart.title.text,
|
|
1033
1033
|
width: t,
|
|
1034
1034
|
height: n,
|
|
1035
1035
|
aspectRatio: r
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
1038
|
let kr = d(() => {
|
|
1039
|
-
let e =
|
|
1039
|
+
let e = N.value.table.useDialog && !N.value.table.show, t = R.value.showTable;
|
|
1040
1040
|
return {
|
|
1041
1041
|
component: e ? cn : nn,
|
|
1042
|
-
title: `${
|
|
1042
|
+
title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1043
1043
|
props: e ? {
|
|
1044
|
-
backgroundColor:
|
|
1045
|
-
color:
|
|
1046
|
-
headerColor:
|
|
1047
|
-
headerBg:
|
|
1044
|
+
backgroundColor: N.value.table.th.backgroundColor,
|
|
1045
|
+
color: N.value.table.th.color,
|
|
1046
|
+
headerColor: N.value.table.th.color,
|
|
1047
|
+
headerBg: N.value.table.th.backgroundColor,
|
|
1048
1048
|
isFullscreen: Q.value,
|
|
1049
1049
|
fullscreenParent: j.value,
|
|
1050
1050
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1051
|
-
isCursorPointer:
|
|
1051
|
+
isCursorPointer: P.value
|
|
1052
1052
|
} : {
|
|
1053
1053
|
hideDetails: !0,
|
|
1054
1054
|
config: {
|
|
1055
1055
|
open: t,
|
|
1056
1056
|
maxHeight: 1e4,
|
|
1057
1057
|
body: {
|
|
1058
|
-
backgroundColor:
|
|
1059
|
-
color:
|
|
1058
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1059
|
+
color: N.value.style.chart.color
|
|
1060
1060
|
},
|
|
1061
1061
|
head: {
|
|
1062
|
-
backgroundColor:
|
|
1063
|
-
color:
|
|
1062
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1063
|
+
color: N.value.style.chart.color
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
};
|
|
1068
1068
|
});
|
|
1069
1069
|
He(() => R.value.showTable, (e) => {
|
|
1070
|
-
|
|
1070
|
+
N.value.table.show || (e && N.value.table.useDialog && Tn.value ? Tn.value.open() : "close" in Tn.value && Tn.value.close());
|
|
1071
1071
|
});
|
|
1072
1072
|
function Ar() {
|
|
1073
1073
|
R.value.showTable = !1, En.value && En.value.setTableIconState(!1);
|
|
1074
1074
|
}
|
|
1075
|
-
let jr = d(() =>
|
|
1076
|
-
svg:
|
|
1077
|
-
title: d(() =>
|
|
1075
|
+
let jr = d(() => N.value.style.chart.backgroundColor), Mr = d(() => N.value.style.chart.legend), { exportSvg: Nr, getSvg: Pr } = ge({
|
|
1076
|
+
svg: F,
|
|
1077
|
+
title: d(() => N.value.style.chart.title),
|
|
1078
1078
|
legend: Mr,
|
|
1079
1079
|
legendItems: Y,
|
|
1080
1080
|
backgroundColor: jr
|
|
@@ -1084,7 +1084,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1084
1084
|
try {
|
|
1085
1085
|
if (e) {
|
|
1086
1086
|
let { blob: e, url: t, text: n, dataUrl: r } = await Pr();
|
|
1087
|
-
await Promise.resolve(
|
|
1087
|
+
await Promise.resolve(N.value.userOptions.callbacks.svg({
|
|
1088
1088
|
blob: e,
|
|
1089
1089
|
url: t,
|
|
1090
1090
|
text: n,
|
|
@@ -1108,25 +1108,25 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1108
1108
|
}
|
|
1109
1109
|
async function Lr() {
|
|
1110
1110
|
if (pn("copyAlt", {
|
|
1111
|
-
config:
|
|
1111
|
+
config: N.value,
|
|
1112
1112
|
dataset: $n.value
|
|
1113
|
-
}), !
|
|
1113
|
+
}), !N.value.userOptions.callbacks.altCopy) {
|
|
1114
1114
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1115
1115
|
return;
|
|
1116
1116
|
}
|
|
1117
|
-
await Promise.resolve(
|
|
1118
|
-
config:
|
|
1117
|
+
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
1118
|
+
config: N.value,
|
|
1119
1119
|
dataset: $n.value
|
|
1120
1120
|
}));
|
|
1121
1121
|
}
|
|
1122
1122
|
function Rr() {
|
|
1123
|
-
|
|
1123
|
+
M.value = null, kn.value = null, Mn.value = !0;
|
|
1124
1124
|
}
|
|
1125
1125
|
function zr() {
|
|
1126
|
-
mr(),
|
|
1126
|
+
mr(), Mn.value = !1;
|
|
1127
1127
|
}
|
|
1128
1128
|
function Br(e) {
|
|
1129
|
-
if (!
|
|
1129
|
+
if (!F.value || Er.value || document.activeElement !== F.value || !$.value.length) return;
|
|
1130
1130
|
let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1131
1131
|
if (!t && !n && !r && !i) return;
|
|
1132
1132
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -1134,16 +1134,16 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1134
1134
|
return;
|
|
1135
1135
|
}
|
|
1136
1136
|
if (r) {
|
|
1137
|
-
if (
|
|
1138
|
-
let e = $.value[
|
|
1137
|
+
if (M.value === null) return;
|
|
1138
|
+
let e = $.value[M.value];
|
|
1139
1139
|
if (!e) return;
|
|
1140
1140
|
vr(e.category, e.plot, e.categoryIndex);
|
|
1141
1141
|
return;
|
|
1142
1142
|
}
|
|
1143
|
-
let a =
|
|
1144
|
-
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) :
|
|
1145
|
-
let
|
|
1146
|
-
|
|
1143
|
+
let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, ee = a !== null && a >= 0 && a < $.value.length, te = o !== null && o >= 0 && o < $.value.length;
|
|
1144
|
+
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : te ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1145
|
+
let s = $.value[a];
|
|
1146
|
+
s && gr(s.category, s.plot, s.categoryIndex, "keyboard", a);
|
|
1147
1147
|
}
|
|
1148
1148
|
let Vr = d(() => ({
|
|
1149
1149
|
headers: ir.value?.colNames ?? [],
|
|
@@ -1169,27 +1169,27 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1169
1169
|
toggleFullscreen: Sr,
|
|
1170
1170
|
copyAlt: Lr
|
|
1171
1171
|
}), (e, n) => (x(), m("div", {
|
|
1172
|
-
class: v(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${
|
|
1172
|
+
class: v(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1173
1173
|
ref_key: "quadrantChart",
|
|
1174
1174
|
ref: j,
|
|
1175
1175
|
id: `vue-ui-quadrant_${k.value}`,
|
|
1176
|
-
style: b(`font-family:${
|
|
1177
|
-
onMouseenter: n[14] ||= () => E(
|
|
1176
|
+
style: b(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height: 100%" : ""}`),
|
|
1177
|
+
onMouseenter: n[14] ||= () => E(Ln)(!0),
|
|
1178
1178
|
onMouseleave: n[15] ||= () => {
|
|
1179
|
-
E(
|
|
1179
|
+
E(Ln)(!1), Mn.value || mr();
|
|
1180
1180
|
}
|
|
1181
1181
|
}, [
|
|
1182
1182
|
h("div", {
|
|
1183
1183
|
id: `chart-instructions-${k.value}`,
|
|
1184
1184
|
class: "sr-only"
|
|
1185
|
-
}, [h("p", null, T(
|
|
1185
|
+
}, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
|
|
1186
1186
|
Vr.value?.rows?.length ? (x(), f(Ee, {
|
|
1187
1187
|
key: 0,
|
|
1188
1188
|
uid: k.value,
|
|
1189
1189
|
head: Vr.value.headers,
|
|
1190
1190
|
body: Vr.value.rows,
|
|
1191
|
-
notice:
|
|
1192
|
-
caption:
|
|
1191
|
+
notice: N.value.a11y.translations.tableAvailable,
|
|
1192
|
+
caption: N.value.a11y.translations.tableCaption
|
|
1193
1193
|
}, null, 8, [
|
|
1194
1194
|
"uid",
|
|
1195
1195
|
"head",
|
|
@@ -1197,13 +1197,13 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1197
1197
|
"notice",
|
|
1198
1198
|
"caption"
|
|
1199
1199
|
])) : p("", !0),
|
|
1200
|
-
|
|
1200
|
+
N.value.userOptions.buttons.annotator ? (x(), f(E(an), {
|
|
1201
1201
|
key: 1,
|
|
1202
|
-
svgRef: E(
|
|
1203
|
-
backgroundColor:
|
|
1204
|
-
color:
|
|
1202
|
+
svgRef: E(F),
|
|
1203
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1204
|
+
color: N.value.style.chart.color,
|
|
1205
1205
|
active: Er.value,
|
|
1206
|
-
isCursorPointer:
|
|
1206
|
+
isCursorPointer: P.value,
|
|
1207
1207
|
onClose: Dr
|
|
1208
1208
|
}, {
|
|
1209
1209
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -1227,7 +1227,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1227
1227
|
class: "vue-data-ui-no-title-space",
|
|
1228
1228
|
style: "height:36px; width: 100%;background:transparent"
|
|
1229
1229
|
}, null, 512)) : p("", !0),
|
|
1230
|
-
|
|
1230
|
+
N.value.style.chart.title.text ? (x(), m("div", {
|
|
1231
1231
|
key: 3,
|
|
1232
1232
|
ref_key: "chartTitle",
|
|
1233
1233
|
ref: _n,
|
|
@@ -1237,44 +1237,44 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1237
1237
|
config: {
|
|
1238
1238
|
title: {
|
|
1239
1239
|
cy: "quadrant-title",
|
|
1240
|
-
...
|
|
1240
|
+
...N.value.style.chart.title
|
|
1241
1241
|
},
|
|
1242
1242
|
subtitle: {
|
|
1243
1243
|
cy: "quadrant-subtitle",
|
|
1244
|
-
...
|
|
1244
|
+
...N.value.style.chart.title.subtitle
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1248
1248
|
h("div", { id: `legend-top-${k.value}` }, null, 8, Ke),
|
|
1249
|
-
|
|
1249
|
+
N.value.userOptions.show && fn.value && (E(Rn) || E(In)) ? (x(), f(E(on), {
|
|
1250
1250
|
ref_key: "userOptionsRef",
|
|
1251
1251
|
ref: En,
|
|
1252
1252
|
key: `user_options_${gn.value}`,
|
|
1253
|
-
backgroundColor:
|
|
1254
|
-
color:
|
|
1253
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1254
|
+
color: N.value.style.chart.color,
|
|
1255
1255
|
isImaging: E(Un),
|
|
1256
1256
|
isPrinting: E(Hn),
|
|
1257
1257
|
uid: k.value,
|
|
1258
|
-
hasTooltip:
|
|
1259
|
-
hasPdf:
|
|
1260
|
-
hasImg:
|
|
1261
|
-
hasSvg:
|
|
1262
|
-
hasXls:
|
|
1263
|
-
hasTable:
|
|
1264
|
-
hasLabel:
|
|
1265
|
-
hasFullscreen:
|
|
1266
|
-
hasAltCopy:
|
|
1258
|
+
hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
|
|
1259
|
+
hasPdf: N.value.userOptions.buttons.pdf,
|
|
1260
|
+
hasImg: N.value.userOptions.buttons.img,
|
|
1261
|
+
hasSvg: N.value.userOptions.buttons.svg,
|
|
1262
|
+
hasXls: N.value.userOptions.buttons.csv,
|
|
1263
|
+
hasTable: N.value.userOptions.buttons.table,
|
|
1264
|
+
hasLabel: N.value.userOptions.buttons.labels,
|
|
1265
|
+
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
1266
|
+
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
1267
1267
|
isFullscreen: Q.value,
|
|
1268
1268
|
isTooltip: R.value.showTooltip,
|
|
1269
|
-
titles: { ...
|
|
1269
|
+
titles: { ...N.value.userOptions.buttonTitles },
|
|
1270
1270
|
chartElement: j.value,
|
|
1271
|
-
position:
|
|
1272
|
-
hasAnnotator:
|
|
1271
|
+
position: N.value.userOptions.position,
|
|
1272
|
+
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
1273
1273
|
isAnnotation: Er.value,
|
|
1274
|
-
callbacks:
|
|
1275
|
-
printScale:
|
|
1276
|
-
tableDialog:
|
|
1277
|
-
isCursorPointer:
|
|
1274
|
+
callbacks: N.value.userOptions.callbacks,
|
|
1275
|
+
printScale: N.value.userOptions.print.scale,
|
|
1276
|
+
tableDialog: N.value.table.useDialog,
|
|
1277
|
+
isCursorPointer: P.value,
|
|
1278
1278
|
onToggleFullscreen: Sr,
|
|
1279
1279
|
onGeneratePdf: E(Wn),
|
|
1280
1280
|
onGenerateCsv: xr,
|
|
@@ -1285,7 +1285,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1285
1285
|
onToggleTooltip: Tr,
|
|
1286
1286
|
onToggleAnnotator: Dr,
|
|
1287
1287
|
onCopyAlt: Lr,
|
|
1288
|
-
style: b({ visibility: E(
|
|
1288
|
+
style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
|
|
1289
1289
|
}, Me({ _: 2 }, [
|
|
1290
1290
|
e.$slots.menuIcon ? {
|
|
1291
1291
|
name: "menuIcon",
|
|
@@ -1364,7 +1364,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1364
1364
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
1365
1365
|
h("div", qe, [(x(), m("svg", {
|
|
1366
1366
|
ref_key: "svgRef",
|
|
1367
|
-
ref:
|
|
1367
|
+
ref: F,
|
|
1368
1368
|
xmlns: E(ce),
|
|
1369
1369
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1370
1370
|
class: v({
|
|
@@ -1372,7 +1372,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1372
1372
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
1373
1373
|
}),
|
|
1374
1374
|
viewBox: `${V.value.startX} ${V.value.startY} ${V.value.width} ${V.value.height}`,
|
|
1375
|
-
style: b(`max-width:100%;overflow:hidden;background:transparent;color:${
|
|
1375
|
+
style: b(`max-width:100%;overflow:hidden;background:transparent;color:${N.value.style.chart.color}`),
|
|
1376
1376
|
id: `svg_${k.value}`,
|
|
1377
1377
|
tabindex: "0",
|
|
1378
1378
|
onFocus: Rr,
|
|
@@ -1397,166 +1397,166 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1397
1397
|
id: `quadrant_gradient_${k.value}_${t}`
|
|
1398
1398
|
}, [h("stop", {
|
|
1399
1399
|
offset: "0%",
|
|
1400
|
-
"stop-color": E(s)(E(
|
|
1400
|
+
"stop-color": E(s)(E(r)(e.color, .05), N.value.style.chart.layout.areas.opacity)
|
|
1401
1401
|
}, null, 8, Ze), h("stop", {
|
|
1402
1402
|
offset: "100%",
|
|
1403
|
-
"stop-color": E(s)(e.color,
|
|
1403
|
+
"stop-color": E(s)(e.color, N.value.style.chart.layout.areas.opacity)
|
|
1404
1404
|
}, null, 8, Qe)], 8, Xe))), 256))]),
|
|
1405
|
-
|
|
1406
|
-
fill:
|
|
1405
|
+
N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(Zn.value, (e) => (x(), m("rect", {
|
|
1406
|
+
fill: N.value.style.chart.layout.grid.graduations.fill ? E(s)(N.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1407
1407
|
x: e.x,
|
|
1408
1408
|
y: e.y,
|
|
1409
1409
|
height: e.height <= 0 ? .001 : e.height,
|
|
1410
1410
|
width: e.width <= 0 ? .001 : e.width,
|
|
1411
|
-
"stroke-width":
|
|
1412
|
-
stroke:
|
|
1413
|
-
rx:
|
|
1411
|
+
"stroke-width": N.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1412
|
+
stroke: N.value.style.chart.layout.grid.graduations.stroke,
|
|
1413
|
+
rx: N.value.style.chart.layout.grid.graduations.roundingForce
|
|
1414
1414
|
}, null, 8, et))), 256))])) : p("", !0),
|
|
1415
1415
|
h("line", {
|
|
1416
1416
|
x1: B.value.left,
|
|
1417
1417
|
y1: B.value.centerY,
|
|
1418
1418
|
x2: B.value.right,
|
|
1419
1419
|
y2: B.value.centerY,
|
|
1420
|
-
stroke:
|
|
1421
|
-
"stroke-width":
|
|
1420
|
+
stroke: N.value.style.chart.layout.grid.stroke,
|
|
1421
|
+
"stroke-width": N.value.style.chart.layout.grid.strokeWidth
|
|
1422
1422
|
}, null, 8, tt),
|
|
1423
1423
|
h("line", {
|
|
1424
1424
|
x1: B.value.centerX,
|
|
1425
1425
|
y1: B.value.top,
|
|
1426
1426
|
x2: B.value.centerX,
|
|
1427
1427
|
y2: B.value.bottom,
|
|
1428
|
-
stroke:
|
|
1429
|
-
"stroke-width":
|
|
1428
|
+
stroke: N.value.style.chart.layout.grid.stroke,
|
|
1429
|
+
"stroke-width": N.value.style.chart.layout.grid.strokeWidth
|
|
1430
1430
|
}, null, 8, nt),
|
|
1431
|
-
|
|
1431
|
+
N.value.style.chart.layout.grid.showArrows ? (x(), m("g", rt, [
|
|
1432
1432
|
h("polygon", {
|
|
1433
1433
|
points: `${B.value.right - 8},${B.value.centerY - 6} ${B.value.right},${B.value.centerY} ${B.value.right - 8},${B.value.centerY + 6}`,
|
|
1434
|
-
fill:
|
|
1434
|
+
fill: N.value.style.chart.layout.grid.stroke,
|
|
1435
1435
|
stroke: "none"
|
|
1436
1436
|
}, null, 8, it),
|
|
1437
1437
|
h("polygon", {
|
|
1438
1438
|
points: `${B.value.left + 8},${B.value.centerY - 6} ${B.value.left},${B.value.centerY} ${B.value.left + 8},${B.value.centerY + 6}`,
|
|
1439
|
-
fill:
|
|
1439
|
+
fill: N.value.style.chart.layout.grid.stroke,
|
|
1440
1440
|
stroke: "none"
|
|
1441
1441
|
}, null, 8, at),
|
|
1442
1442
|
h("polygon", {
|
|
1443
1443
|
points: `${B.value.centerX - 6},${B.value.top + 8} ${B.value.centerX},${B.value.top} ${B.value.centerX + 6},${B.value.top + 8}`,
|
|
1444
|
-
fill:
|
|
1444
|
+
fill: N.value.style.chart.layout.grid.stroke,
|
|
1445
1445
|
stroke: "none"
|
|
1446
1446
|
}, null, 8, ot),
|
|
1447
1447
|
h("polygon", {
|
|
1448
1448
|
points: `${B.value.centerX - 6},${B.value.bottom - 8} ${B.value.centerX},${B.value.bottom} ${B.value.centerX + 6},${B.value.bottom - 8}`,
|
|
1449
|
-
fill:
|
|
1449
|
+
fill: N.value.style.chart.layout.grid.stroke,
|
|
1450
1450
|
stroke: "none"
|
|
1451
1451
|
}, null, 8, st)
|
|
1452
1452
|
])) : p("", !0),
|
|
1453
|
-
|
|
1454
|
-
|
|
1453
|
+
N.value.style.chart.layout.labels.quadrantLabels.show && !A.value ? (x(), m("g", ct, [
|
|
1454
|
+
N.value.style.chart.layout.labels.quadrantLabels.tl.text ? (x(), m("text", {
|
|
1455
1455
|
key: 0,
|
|
1456
1456
|
x: 0,
|
|
1457
1457
|
y: B.value.top - B.value.padding / 2,
|
|
1458
1458
|
"text-anchor": "start",
|
|
1459
|
-
fill:
|
|
1460
|
-
"font-size":
|
|
1461
|
-
style: b(`font-weight:${
|
|
1459
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1460
|
+
"font-size": N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1461
|
+
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1462
1462
|
onClick: n[0] ||= (e) => yr("tl")
|
|
1463
|
-
}, T(
|
|
1464
|
-
|
|
1463
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, lt)) : p("", !0),
|
|
1464
|
+
N.value.style.chart.layout.labels.quadrantLabels.tr.text ? (x(), m("text", {
|
|
1465
1465
|
key: 1,
|
|
1466
1466
|
x: B.value.width,
|
|
1467
1467
|
y: B.value.top - B.value.padding / 2,
|
|
1468
1468
|
"text-anchor": "end",
|
|
1469
|
-
fill:
|
|
1470
|
-
"font-size":
|
|
1471
|
-
style: b(`font-weight:${
|
|
1469
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1470
|
+
"font-size": N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1471
|
+
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1472
1472
|
onClick: n[1] ||= (e) => yr("tr")
|
|
1473
|
-
}, T(
|
|
1474
|
-
|
|
1473
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ut)) : p("", !0),
|
|
1474
|
+
N.value.style.chart.layout.labels.quadrantLabels.br.text ? (x(), m("text", {
|
|
1475
1475
|
key: 2,
|
|
1476
1476
|
x: B.value.width,
|
|
1477
1477
|
y: B.value.bottom + B.value.padding * .7,
|
|
1478
1478
|
"text-anchor": "end",
|
|
1479
|
-
fill:
|
|
1480
|
-
"font-size":
|
|
1481
|
-
style: b(`font-weight:${
|
|
1479
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1480
|
+
"font-size": N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1481
|
+
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1482
1482
|
onClick: n[2] ||= (e) => yr("br")
|
|
1483
|
-
}, T(
|
|
1484
|
-
|
|
1483
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.br.text), 13, dt)) : p("", !0),
|
|
1484
|
+
N.value.style.chart.layout.labels.quadrantLabels.bl.text ? (x(), m("text", {
|
|
1485
1485
|
key: 3,
|
|
1486
1486
|
x: 0,
|
|
1487
1487
|
y: B.value.bottom + B.value.padding * .7,
|
|
1488
1488
|
"text-anchor": "start",
|
|
1489
|
-
fill:
|
|
1490
|
-
"font-size":
|
|
1491
|
-
style: b(`font-weight:${
|
|
1489
|
+
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1490
|
+
"font-size": N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1491
|
+
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1492
1492
|
onClick: n[3] ||= (e) => yr("bl")
|
|
1493
|
-
}, T(
|
|
1493
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ft)) : p("", !0)
|
|
1494
1494
|
])) : p("", !0),
|
|
1495
|
-
|
|
1496
|
-
|
|
1495
|
+
N.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g", pt, [
|
|
1496
|
+
N.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
|
|
1497
1497
|
key: 0,
|
|
1498
1498
|
x: B.value.centerX,
|
|
1499
1499
|
y: B.value.top - B.value.padding / 6,
|
|
1500
1500
|
"text-anchor": "middle",
|
|
1501
|
-
"font-size":
|
|
1502
|
-
fill:
|
|
1503
|
-
}, T(E(l)(
|
|
1501
|
+
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1502
|
+
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1503
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, E(i)({
|
|
1504
1504
|
v: K.value.y.max,
|
|
1505
|
-
r:
|
|
1505
|
+
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1506
1506
|
}))), 9, mt)) : p("", !0),
|
|
1507
1507
|
h("text", {
|
|
1508
1508
|
x: B.value.centerX,
|
|
1509
1509
|
y: B.value.top - B.value.padding / 2,
|
|
1510
1510
|
"text-anchor": "middle",
|
|
1511
|
-
"font-size":
|
|
1512
|
-
fill:
|
|
1513
|
-
}, T(
|
|
1514
|
-
|
|
1511
|
+
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1512
|
+
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1513
|
+
}, T(N.value.style.chart.layout.grid.yAxis.name), 9, ht),
|
|
1514
|
+
N.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
|
|
1515
1515
|
key: 1,
|
|
1516
1516
|
x: B.value.centerX,
|
|
1517
1517
|
y: B.value.bottom + B.value.padding * .35,
|
|
1518
1518
|
"text-anchor": "middle",
|
|
1519
|
-
"font-size":
|
|
1520
|
-
fill:
|
|
1521
|
-
}, T(E(l)(
|
|
1519
|
+
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1520
|
+
fill: N.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1521
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, E(i)({
|
|
1522
1522
|
v: K.value.y.min,
|
|
1523
|
-
r:
|
|
1523
|
+
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1524
1524
|
}))), 9, gt)) : p("", !0),
|
|
1525
|
-
|
|
1525
|
+
N.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
|
|
1526
1526
|
key: 2,
|
|
1527
1527
|
id: `xLabelMin_${k.value}`,
|
|
1528
1528
|
"text-anchor": "middle",
|
|
1529
|
-
"font-size":
|
|
1530
|
-
transform: `translate(${B.value.padding -
|
|
1531
|
-
fill:
|
|
1532
|
-
}, T(E(l)(
|
|
1529
|
+
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1530
|
+
transform: `translate(${B.value.padding - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
|
|
1531
|
+
fill: N.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1532
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, E(i)({
|
|
1533
1533
|
v: K.value.x.min,
|
|
1534
|
-
r:
|
|
1534
|
+
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1535
1535
|
}))), 9, _t)) : p("", !0),
|
|
1536
|
-
|
|
1536
|
+
N.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
|
|
1537
1537
|
key: 3,
|
|
1538
1538
|
id: `xLabelMax_${k.value}`,
|
|
1539
1539
|
"text-anchor": "middle",
|
|
1540
|
-
"font-size":
|
|
1541
|
-
transform: `translate(${B.value.width - B.value.padding +
|
|
1542
|
-
fill:
|
|
1543
|
-
}, T(E(l)(
|
|
1540
|
+
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1541
|
+
transform: `translate(${B.value.width - B.value.padding + N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1542
|
+
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1543
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, E(i)({
|
|
1544
1544
|
v: K.value.x.max,
|
|
1545
|
-
r:
|
|
1545
|
+
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1546
1546
|
}))), 9, vt)) : p("", !0),
|
|
1547
1547
|
h("text", {
|
|
1548
1548
|
id: `xLabelMaxName_${k.value}`,
|
|
1549
1549
|
"text-anchor": "middle",
|
|
1550
|
-
"font-size":
|
|
1551
|
-
transform: `translate(${B.value.width -
|
|
1552
|
-
fill:
|
|
1553
|
-
}, T(
|
|
1550
|
+
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1551
|
+
transform: `translate(${B.value.width - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1552
|
+
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1553
|
+
}, T(N.value.style.chart.layout.grid.xAxis.name), 9, yt)
|
|
1554
1554
|
])) : p("", !0),
|
|
1555
|
-
|
|
1555
|
+
N.value.style.chart.layout.areas.show ? (x(), m("g", bt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
"data-cy-quadrant-area": "",
|
|
1558
|
-
fill:
|
|
1559
|
-
points: E(
|
|
1558
|
+
fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(s)(e.color, N.value.style.chart.layout.areas.opacity),
|
|
1559
|
+
points: E(ie)(e)
|
|
1560
1560
|
}, null, 8, xt)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1561
1561
|
h("g", null, [
|
|
1562
1562
|
h("rect", {
|
|
@@ -1608,16 +1608,16 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1608
1608
|
})
|
|
1609
1609
|
}, null, 10, Tt)
|
|
1610
1610
|
]),
|
|
1611
|
-
|
|
1611
|
+
N.value.style.chart.layout.labels.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [R.value.plotLabels.show ? (x(), m("g", Mt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m(u, null, [(x(!0), m(u, null, C(e.series, (n) => (x(), m("foreignObject", {
|
|
1612
1612
|
style: { overflow: "visible" },
|
|
1613
1613
|
height: "10",
|
|
1614
1614
|
width: "100",
|
|
1615
1615
|
x: n.x - 50,
|
|
1616
|
-
y: n.y -
|
|
1616
|
+
y: n.y - N.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1617
1617
|
onMouseover: (r) => gr(e, n, t),
|
|
1618
1618
|
onMouseleave: (e) => _r(n, t),
|
|
1619
1619
|
onClick: (r) => vr(e, n, t)
|
|
1620
|
-
}, [h("div", { style: b(`color:${E(se)(e.color)};margin: 0 auto; font-size:${
|
|
1620
|
+
}, [h("div", { style: b(`color:${E(se)(e.color)};margin: 0 auto; font-size:${N.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, T(n.name), 5)], 40, Nt))), 256))], 64))), 256))])) : p("", !0)], 64)) : (x(), m(u, { key: 6 }, [(x(!0), m(u, null, C(J.value, (t, n) => (x(), m("g", null, [e.$slots.datapoint && !E(Pn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
|
|
1621
1621
|
x: r.x - 1,
|
|
1622
1622
|
y: r.y - 1,
|
|
1623
1623
|
width: "2",
|
|
@@ -1639,10 +1639,10 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1639
1639
|
"data-a11y-plot-id": r.uid,
|
|
1640
1640
|
cx: r.x,
|
|
1641
1641
|
cy: r.y,
|
|
1642
|
-
r: Math.max(
|
|
1642
|
+
r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1643
1643
|
fill: "transparent",
|
|
1644
1644
|
style: { "pointer-events": "none" }
|
|
1645
|
-
}, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(
|
|
1645
|
+
}, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(Pn) ? (x(!0), m(u, { key: 1 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [w(e.$slots, "datapointSvg", Fe({ ref_for: !0 }, { datapoint: {
|
|
1646
1646
|
...r,
|
|
1647
1647
|
onEnter: () => gr(t, r, n),
|
|
1648
1648
|
onLeave: () => _r(r, n),
|
|
@@ -1652,10 +1652,10 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1652
1652
|
color: t.color,
|
|
1653
1653
|
isSelected: X.value && e.uid === X.value,
|
|
1654
1654
|
plot: e,
|
|
1655
|
-
radius:
|
|
1655
|
+
radius: N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1),
|
|
1656
1656
|
shape: t.shape,
|
|
1657
|
-
stroke:
|
|
1658
|
-
strokeWidth:
|
|
1657
|
+
stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
|
|
1658
|
+
strokeWidth: N.value.style.chart.layout.plots.outlineWidth,
|
|
1659
1659
|
onMouseenter: (r) => gr(t, e, n, "pointer"),
|
|
1660
1660
|
onMouseleave: (t) => _r(e, n),
|
|
1661
1661
|
onClick: (r) => vr(t, e, n)
|
|
@@ -1675,54 +1675,54 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1675
1675
|
"data-a11y-plot-id": e.uid,
|
|
1676
1676
|
cx: e.x,
|
|
1677
1677
|
cy: e.y,
|
|
1678
|
-
r: Math.max(
|
|
1678
|
+
r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1679
1679
|
fill: "transparent",
|
|
1680
1680
|
style: { "pointer-events": "none" }
|
|
1681
1681
|
}, null, 8, Ot)]))), 128))]))), 256)), R.value.plotLabels.show ? (x(), m("g", kt, [(x(!0), m(u, null, C(J.value, (e) => (x(), m("g", null, [(x(!0), m(u, null, C(e.series, (e) => (x(), m("g", null, [String(e.name).includes("\n") ? (x(), m("text", {
|
|
1682
1682
|
key: 1,
|
|
1683
1683
|
x: e.x,
|
|
1684
|
-
y: e.y +
|
|
1684
|
+
y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius,
|
|
1685
1685
|
"text-anchor": "middle",
|
|
1686
|
-
"font-size":
|
|
1687
|
-
fill:
|
|
1686
|
+
"font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1687
|
+
fill: N.value.style.chart.layout.labels.plotLabels.color,
|
|
1688
1688
|
innerHTML: E(t)({
|
|
1689
1689
|
content: String(e.name),
|
|
1690
|
-
fontSize:
|
|
1691
|
-
fill:
|
|
1690
|
+
fontSize: N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1691
|
+
fill: N.value.style.chart.layout.labels.plotLabels.color,
|
|
1692
1692
|
x: e.x,
|
|
1693
|
-
y: e.y +
|
|
1693
|
+
y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius
|
|
1694
1694
|
})
|
|
1695
1695
|
}, null, 8, jt)) : (x(), m("text", {
|
|
1696
1696
|
key: 0,
|
|
1697
1697
|
x: e.x,
|
|
1698
|
-
y: e.y +
|
|
1698
|
+
y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius,
|
|
1699
1699
|
"text-anchor": "middle",
|
|
1700
|
-
"font-size":
|
|
1701
|
-
fill:
|
|
1700
|
+
"font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1701
|
+
fill: N.value.style.chart.layout.labels.plotLabels.color
|
|
1702
1702
|
}, T(e.name), 9, At))]))), 256))]))), 256))])) : p("", !0)], 64)),
|
|
1703
1703
|
A.value ? (x(), m("g", Pt, [
|
|
1704
1704
|
H.value === "TL" ? (x(), m("polygon", {
|
|
1705
1705
|
key: 0,
|
|
1706
1706
|
points: `${B.value.left - 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.top - 1} ${B.value.right},${B.value.top - 1} ${B.value.right},${B.value.bottom} ${B.value.left - 1},${B.value.bottom} ${B.value.left - 1},${B.value.centerY}`,
|
|
1707
|
-
fill:
|
|
1707
|
+
fill: N.value.style.chart.backgroundColor,
|
|
1708
1708
|
style: { opacity: "1" }
|
|
1709
1709
|
}, null, 8, Ft)) : p("", !0),
|
|
1710
1710
|
H.value === "TR" ? (x(), m("polygon", {
|
|
1711
1711
|
key: 1,
|
|
1712
1712
|
points: `${B.value.left},${B.value.top - 1} ${B.value.centerX},${B.value.top - 1} ${B.value.centerX},${B.value.centerY} ${B.value.right + 1},${B.value.centerY} ${B.value.right + 1},${B.value.bottom} ${B.value.left},${B.value.bottom} ${B.value.left},${B.value.top - 1}`,
|
|
1713
|
-
fill:
|
|
1713
|
+
fill: N.value.style.chart.backgroundColor,
|
|
1714
1714
|
style: { opacity: "1" }
|
|
1715
1715
|
}, null, 8, It)) : p("", !0),
|
|
1716
1716
|
H.value === "BR" ? (x(), m("polygon", {
|
|
1717
1717
|
key: 2,
|
|
1718
1718
|
points: `${B.value.left},${B.value.top} ${B.value.right + 1},${B.value.top} ${B.value.right + 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.bottom + 1} ${B.value.left},${B.value.bottom + 1} ${B.value.left},${B.value.top}`,
|
|
1719
|
-
fill:
|
|
1719
|
+
fill: N.value.style.chart.backgroundColor,
|
|
1720
1720
|
style: { opacity: "1" }
|
|
1721
1721
|
}, null, 8, Lt)) : p("", !0),
|
|
1722
1722
|
H.value === "BL" ? (x(), m("polygon", {
|
|
1723
1723
|
key: 3,
|
|
1724
1724
|
points: `${B.value.left - 1},${B.value.top} ${B.value.right},${B.value.top} ${B.value.right},${B.value.bottom + 1} ${B.value.centerX},${B.value.bottom + 1} ${B.value.centerX},${B.value.centerY} ${B.value.left - 1},${B.value.centerY} ${B.value.left - 1},${B.value.top}`,
|
|
1725
|
-
fill:
|
|
1725
|
+
fill: N.value.style.chart.backgroundColor,
|
|
1726
1726
|
style: { opacity: "1" }
|
|
1727
1727
|
}, null, 8, Rt)) : p("", !0)
|
|
1728
1728
|
])) : p("", !0),
|
|
@@ -1741,7 +1741,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1741
1741
|
height: "20",
|
|
1742
1742
|
width: "20",
|
|
1743
1743
|
fill: Z.value[H.value].tl.fill,
|
|
1744
|
-
style: b(`cursor: ${
|
|
1744
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "TL" ? 1 : .2}`),
|
|
1745
1745
|
onClick: n[8] ||= (e) => G("TL"),
|
|
1746
1746
|
class: v({
|
|
1747
1747
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
@@ -1754,7 +1754,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1754
1754
|
height: "20",
|
|
1755
1755
|
width: "20",
|
|
1756
1756
|
fill: Z.value[H.value].tr.fill,
|
|
1757
|
-
style: b(`cursor: ${
|
|
1757
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "TR" ? 1 : .2}`),
|
|
1758
1758
|
onClick: n[9] ||= (e) => G("TR"),
|
|
1759
1759
|
class: v({
|
|
1760
1760
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
@@ -1767,7 +1767,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1767
1767
|
height: "20",
|
|
1768
1768
|
width: "20",
|
|
1769
1769
|
fill: Z.value[H.value].br.fill,
|
|
1770
|
-
style: b(`cursor: ${
|
|
1770
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "BR" ? 1 : .2}`),
|
|
1771
1771
|
onClick: n[10] ||= (e) => G("BR"),
|
|
1772
1772
|
class: v({
|
|
1773
1773
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
@@ -1780,7 +1780,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1780
1780
|
height: "20",
|
|
1781
1781
|
width: "20",
|
|
1782
1782
|
fill: Z.value[H.value].bl.fill,
|
|
1783
|
-
style: b(`cursor: ${
|
|
1783
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "BL" ? 1 : .2}`),
|
|
1784
1784
|
onClick: n[11] ||= (e) => G("BL"),
|
|
1785
1785
|
class: v({
|
|
1786
1786
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
@@ -1789,13 +1789,13 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1789
1789
|
}, null, 14, Gt),
|
|
1790
1790
|
h("path", {
|
|
1791
1791
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1792
|
-
stroke:
|
|
1792
|
+
stroke: N.value.style.chart.backgroundColor,
|
|
1793
1793
|
"stroke-width": 1,
|
|
1794
1794
|
d: Z.value[H.value].crosshairs.horizontal
|
|
1795
1795
|
}, null, 8, Kt),
|
|
1796
1796
|
h("path", {
|
|
1797
1797
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1798
|
-
stroke:
|
|
1798
|
+
stroke: N.value.style.chart.backgroundColor,
|
|
1799
1799
|
"stroke-width": 1,
|
|
1800
1800
|
d: Z.value[H.value].crosshairs.vertical
|
|
1801
1801
|
}, null, 8, qt)
|
|
@@ -1806,36 +1806,36 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1806
1806
|
isPrintingSvg: On.value
|
|
1807
1807
|
} }, void 0, !0)
|
|
1808
1808
|
], 46, Je)), e.$slots.hint ? (x(), m("div", Jt, [w(e.$slots, "hint", y(_({
|
|
1809
|
-
hint:
|
|
1810
|
-
isVisible:
|
|
1809
|
+
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1810
|
+
isVisible: Mn.value
|
|
1811
1811
|
})), void 0, !0)])) : p("", !0)]),
|
|
1812
1812
|
e.$slots.watermark ? (x(), m("div", Yt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Hn) || E(Un) || Dn.value || On.value })), void 0, !0)])) : p("", !0),
|
|
1813
1813
|
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Xt),
|
|
1814
|
-
wn.value && (
|
|
1814
|
+
wn.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(je, {
|
|
1815
1815
|
key: 6,
|
|
1816
|
-
to:
|
|
1816
|
+
to: N.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1817
1817
|
}, [h("div", {
|
|
1818
1818
|
ref_key: "chartLegend",
|
|
1819
1819
|
ref: vn
|
|
1820
|
-
}, [w(e.$slots, "legend", { legend: Y.value }, () => [
|
|
1820
|
+
}, [w(e.$slots, "legend", { legend: Y.value }, () => [N.value.style.chart.legend.show ? (x(), f(ke, {
|
|
1821
1821
|
key: `legend_${Cn.value}`,
|
|
1822
1822
|
legendSet: Y.value,
|
|
1823
1823
|
config: ur.value,
|
|
1824
|
-
isCursorPointer:
|
|
1824
|
+
isCursorPointer: P.value,
|
|
1825
1825
|
onClickMarker: n[12] ||= ({ legend: e }) => or(e.id)
|
|
1826
1826
|
}, {
|
|
1827
|
-
item: D(({ legend: e }) => [E(
|
|
1827
|
+
item: D(({ legend: e }) => [E(Pn) ? p("", !0) : (x(), m("div", {
|
|
1828
1828
|
key: 0,
|
|
1829
1829
|
onClick: (t) => or(e.id),
|
|
1830
1830
|
style: b(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
|
|
1831
1831
|
}, T(e.name), 13, Zt))]),
|
|
1832
|
-
legendToggle: D(() => [Y.value.length > 2 &&
|
|
1832
|
+
legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(Te, {
|
|
1833
1833
|
key: 0,
|
|
1834
|
-
backgroundColor:
|
|
1835
|
-
color:
|
|
1836
|
-
fontSize:
|
|
1834
|
+
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1835
|
+
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
1836
|
+
fontSize: N.value.style.chart.legend.fontSize,
|
|
1837
1837
|
checked: q.value.length > 0,
|
|
1838
|
-
isCursorPointer:
|
|
1838
|
+
isCursorPointer: P.value,
|
|
1839
1839
|
onToggle: ar
|
|
1840
1840
|
}, null, 8, [
|
|
1841
1841
|
"backgroundColor",
|
|
@@ -1857,33 +1857,33 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1857
1857
|
dir: "auto"
|
|
1858
1858
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1859
1859
|
Pe(E(en), {
|
|
1860
|
-
teleportTo:
|
|
1860
|
+
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1861
1861
|
show: R.value.showTooltip && mn.value,
|
|
1862
|
-
backgroundColor:
|
|
1863
|
-
color:
|
|
1864
|
-
borderRadius:
|
|
1865
|
-
borderColor:
|
|
1866
|
-
borderWidth:
|
|
1867
|
-
fontSize:
|
|
1868
|
-
backgroundOpacity:
|
|
1869
|
-
position:
|
|
1870
|
-
offsetX:
|
|
1871
|
-
offsetY:
|
|
1862
|
+
backgroundColor: N.value.style.chart.tooltip.backgroundColor,
|
|
1863
|
+
color: N.value.style.chart.tooltip.color,
|
|
1864
|
+
borderRadius: N.value.style.chart.tooltip.borderRadius,
|
|
1865
|
+
borderColor: N.value.style.chart.tooltip.borderColor,
|
|
1866
|
+
borderWidth: N.value.style.chart.tooltip.borderWidth,
|
|
1867
|
+
fontSize: N.value.style.chart.tooltip.fontSize,
|
|
1868
|
+
backgroundOpacity: N.value.style.chart.tooltip.backgroundOpacity,
|
|
1869
|
+
position: N.value.style.chart.tooltip.position,
|
|
1870
|
+
offsetX: N.value.style.chart.tooltip.offsetX,
|
|
1871
|
+
offsetY: N.value.style.chart.tooltip.offsetY,
|
|
1872
1872
|
parent: j.value,
|
|
1873
1873
|
content: hn.value,
|
|
1874
1874
|
isFullscreen: Q.value,
|
|
1875
|
-
isCustom:
|
|
1876
|
-
smooth:
|
|
1877
|
-
backdropFilter:
|
|
1878
|
-
smoothForce:
|
|
1879
|
-
smoothSnapThreshold:
|
|
1880
|
-
isA11yMode:
|
|
1881
|
-
a11yPosition:
|
|
1875
|
+
isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
|
|
1876
|
+
smooth: N.value.style.chart.tooltip.smooth,
|
|
1877
|
+
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1878
|
+
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1879
|
+
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1880
|
+
isA11yMode: jn.value === "keyboard",
|
|
1881
|
+
a11yPosition: An.value
|
|
1882
1882
|
}, {
|
|
1883
1883
|
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...pr.value })), void 0, !0)]),
|
|
1884
1884
|
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...pr.value })), void 0, !0)]),
|
|
1885
1885
|
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...pr.value })), void 0, !0)]),
|
|
1886
|
-
default: D(() => [
|
|
1886
|
+
default: D(() => [N.value.style.chart.tooltip.showShape ? (x(), m("svg", Qt, [Pe(xe, {
|
|
1887
1887
|
plot: {
|
|
1888
1888
|
x: 10,
|
|
1889
1889
|
y: 10
|
|
@@ -1891,8 +1891,8 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1891
1891
|
shape: fr.value.shape,
|
|
1892
1892
|
color: fr.value.color,
|
|
1893
1893
|
radius: 8,
|
|
1894
|
-
stroke:
|
|
1895
|
-
"stroke-width":
|
|
1894
|
+
stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
|
|
1895
|
+
"stroke-width": N.value.style.chart.layout.plots.outlineWidth
|
|
1896
1896
|
}, null, 8, [
|
|
1897
1897
|
"shape",
|
|
1898
1898
|
"color",
|
|
@@ -1924,7 +1924,7 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1924
1924
|
"isA11yMode",
|
|
1925
1925
|
"a11yPosition"
|
|
1926
1926
|
]),
|
|
1927
|
-
fn.value &&
|
|
1927
|
+
fn.value && N.value.userOptions.buttons.table ? (x(), f(ze(kr.value.component), Fe({ key: 8 }, kr.value.props, {
|
|
1928
1928
|
ref_key: "tableUnit",
|
|
1929
1929
|
ref: Tn,
|
|
1930
1930
|
onClose: Ar
|
|
@@ -1935,9 +1935,9 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1935
1935
|
head: ir.value.head,
|
|
1936
1936
|
body: ir.value.body,
|
|
1937
1937
|
config: ir.value.config,
|
|
1938
|
-
title:
|
|
1939
|
-
withCloseButton: !
|
|
1940
|
-
isCursorPointer:
|
|
1938
|
+
title: N.value.table.useDialog ? "" : kr.value.title,
|
|
1939
|
+
withCloseButton: !N.value.table.useDialog,
|
|
1940
|
+
isCursorPointer: P.value,
|
|
1941
1941
|
onClose: Ar
|
|
1942
1942
|
}, {
|
|
1943
1943
|
th: D(({ th: e }) => [Ne(T(e), 1)]),
|
|
@@ -1953,24 +1953,24 @@ var Ue = /* @__PURE__ */ e({ default: () => en }), We = ["id"], Ge = ["id"], Ke
|
|
|
1953
1953
|
"isCursorPointer"
|
|
1954
1954
|
]))]),
|
|
1955
1955
|
_: 2
|
|
1956
|
-
}, [
|
|
1956
|
+
}, [N.value.table.useDialog ? {
|
|
1957
1957
|
name: "title",
|
|
1958
1958
|
fn: D(() => [Ne(T(kr.value.title), 1)]),
|
|
1959
1959
|
key: "0"
|
|
1960
|
-
} : void 0,
|
|
1960
|
+
} : void 0, N.value.table.useDialog ? {
|
|
1961
1961
|
name: "actions",
|
|
1962
1962
|
fn: D(() => [h("button", {
|
|
1963
1963
|
tabindex: "0",
|
|
1964
1964
|
class: "vue-ui-user-options-button",
|
|
1965
|
-
onClick: n[13] ||= (e) => xr(
|
|
1966
|
-
style: b({ cursor:
|
|
1965
|
+
onClick: n[13] ||= (e) => xr(N.value.userOptions.callbacks.csv),
|
|
1966
|
+
style: b({ cursor: P.value ? "pointer" : "default" })
|
|
1967
1967
|
}, [Pe(E(tn), {
|
|
1968
1968
|
name: "fileCsv",
|
|
1969
1969
|
stroke: kr.value.props.color
|
|
1970
1970
|
}, null, 8, ["stroke"])], 4)]),
|
|
1971
1971
|
key: "1"
|
|
1972
1972
|
} : void 0]), 1040)) : p("", !0),
|
|
1973
|
-
w(e.$slots, "skeleton", {}, () => [E(
|
|
1973
|
+
w(e.$slots, "skeleton", {}, () => [E(Pn) ? (x(), f(he, { key: 0 })) : p("", !0)], !0)
|
|
1974
1974
|
], 46, We));
|
|
1975
1975
|
}
|
|
1976
1976
|
}, [["__scopeId", "data-v-0dde82f9"]]);
|