vue-data-ui 3.23.0 → 3.23.1
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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/Slicer-CIk57nL4.js +1163 -0
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
- package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
- package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
- package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
- package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
- package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
- package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
- package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
- package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
- package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
- package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
- package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
- package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
- package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
- package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
- package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
- package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, G as i, Gt as a, Jt as o, Kt as s, Pt as c, S as l, Vt as ee, X as u, b as d, ct as te, ft as ne, i as re, jt as ie, q as ae, t as oe, tt as se, vt as ce, w as le, xt as ue } from "./lib-
|
|
2
|
+
import { $ as t, Bt as n, D as r, G as i, Gt as a, Jt as o, Kt as s, Pt as c, S as l, Vt as ee, X as u, b as d, ct as te, ft as ne, i as re, jt as ie, q as ae, t as oe, tt as se, vt as ce, w as le, xt as ue } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as pe } from "./useConfig-
|
|
5
|
-
import { t as me } from "./usePrinter-
|
|
4
|
+
import { t as pe } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as me } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as _e } from "./useSvgExport-
|
|
8
|
-
import { t as ve } from "./useNestedProp
|
|
7
|
+
import { t as _e } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as ve } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as be } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as xe } from "./img-
|
|
12
|
-
import { n as Se } from "./Title-
|
|
13
|
-
import { t as Ce } from "./Shape-
|
|
11
|
+
import { t as xe } from "./img-Bnokohej.js";
|
|
12
|
+
import { n as Se } from "./Title-BE3qg9xl.js";
|
|
13
|
+
import { t as Ce } from "./Shape-C21CMlWS.js";
|
|
14
14
|
import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
|
|
16
16
|
import { t as De } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as Oe } from "./vue-ui-accordion-
|
|
18
|
-
import { t as ke } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Oe } from "./vue-ui-accordion-BxGriZik.js";
|
|
18
|
+
import { t as ke } from "./BaseLegendToggle-DZVucLnv.js";
|
|
19
19
|
import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
|
|
20
20
|
import { t as je } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
21
|
import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
|
|
22
22
|
import { t as Ne } from "./useTableResponsive-BAqJPR68.js";
|
|
23
|
-
import { t as Pe } from "./Legend-
|
|
23
|
+
import { t as Pe } from "./Legend-CQxUgOd-.js";
|
|
24
24
|
import { t as Fe } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
|
|
25
25
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as ze, guardReactiveProps as v, mergeProps as Be, nextTick as Ve, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as He, onMounted as Ue, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as We, toDisplayString as E, toRefs as Ge, unref as D, useCssVars as Ke, useSlots as qe, watch as Je, withCtx as O, withKeys as Ye } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-horizontal-bar.vue
|
|
@@ -193,7 +193,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
193
193
|
],
|
|
194
194
|
setup(e, { expose: we, emit: Xe }) {
|
|
195
195
|
Ke((e) => ({ v0d6b4e74: e.tdo }));
|
|
196
|
-
let Rt = ze(() => import("./Tooltip-
|
|
196
|
+
let Rt = ze(() => import("./Tooltip-DhjyfHwz.js")), zt = ze(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Bt = ze(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Vt = ze(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ht = ze(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ut = ze(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_vertical_bar: Wt } = pe(), { isThemeValid: Gt, warnInvalidTheme: Kt } = ye(), qt = qe(), k = e, Jt = p({
|
|
197
197
|
get() {
|
|
198
198
|
return !!k.dataset && k.dataset.length;
|
|
199
199
|
},
|
|
@@ -207,7 +207,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
207
207
|
}), N = C(0), fn = C(!1), pn = C(0), mn = null, hn = null, gn = C(!1), _n = C(!1), P = C(null), vn = C({
|
|
208
208
|
x: 0,
|
|
209
209
|
y: 0
|
|
210
|
-
}), yn = C("pointer"), bn = Xe, F = C(
|
|
210
|
+
}), yn = C("pointer"), bn = Xe, F = C(An());
|
|
211
211
|
de({
|
|
212
212
|
config: () => F.value,
|
|
213
213
|
dataset: () => k.dataset,
|
|
@@ -226,7 +226,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
226
226
|
let { transitionEnabled: I } = be({
|
|
227
227
|
config: () => F.value.transitions,
|
|
228
228
|
dataset: () => k.dataset
|
|
229
|
-
}),
|
|
229
|
+
}), L = p(() => F.value.userOptions.useCursorPointer), xn = p(() => k.config?.skeletonDataset ?? [
|
|
230
230
|
{
|
|
231
231
|
name: "",
|
|
232
232
|
value: 6,
|
|
@@ -257,7 +257,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
257
257
|
value: 1,
|
|
258
258
|
color: "#d9d9d9"
|
|
259
259
|
}
|
|
260
|
-
]),
|
|
260
|
+
]), Sn = p(() => o({
|
|
261
261
|
defaultConfig: {
|
|
262
262
|
useCssAnimation: !1,
|
|
263
263
|
userOptions: { show: !1 },
|
|
@@ -294,22 +294,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
294
294
|
} }
|
|
295
295
|
},
|
|
296
296
|
userConfig: F.value.skeletonConfig ?? {}
|
|
297
|
-
})), { loading:
|
|
297
|
+
})), { loading: Cn, FINAL_DATASET: wn, manualLoading: Tn } = he({
|
|
298
298
|
...Ge(k),
|
|
299
299
|
FINAL_CONFIG: F,
|
|
300
|
-
prepareConfig:
|
|
300
|
+
prepareConfig: An,
|
|
301
301
|
callback: () => {
|
|
302
302
|
Promise.resolve().then(async () => {
|
|
303
|
-
|
|
303
|
+
H.value.showTable = F.value.table.show, Hn();
|
|
304
304
|
});
|
|
305
305
|
},
|
|
306
|
-
skeletonDataset:
|
|
306
|
+
skeletonDataset: xn.value,
|
|
307
307
|
skeletonConfig: o({
|
|
308
308
|
defaultConfig: F.value,
|
|
309
|
-
userConfig:
|
|
309
|
+
userConfig: Sn.value
|
|
310
310
|
})
|
|
311
|
-
}), { userOptionsVisible:
|
|
312
|
-
function
|
|
311
|
+
}), { userOptionsVisible: En, setUserOptionsVisibility: Dn, keepUserOptionState: On } = je({ config: F.value }), { svgRef: kn } = Me({ config: F.value.style.chart.title });
|
|
312
|
+
function An() {
|
|
313
313
|
let e = ve({
|
|
314
314
|
userConfig: k.config,
|
|
315
315
|
defaultConfig: Wt
|
|
@@ -331,23 +331,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
331
331
|
else t = e;
|
|
332
332
|
return k.config && ce(k.config, "events.datapointEnter") ? t.events.datapointEnter = k.config.events.datapointEnter : t.events.datapointEnter = null, k.config && ce(k.config, "events.datapointLeave") ? t.events.datapointLeave = k.config.events.datapointLeave : t.events.datapointLeave = null, k.config && ce(k.config, "events.datapointClick") ? t.events.datapointClick = k.config.events.datapointClick : t.events.datapointClick = null, t;
|
|
333
333
|
}
|
|
334
|
-
let
|
|
334
|
+
let R = C(F.value.style.chart.width), z = C(F.value.style.chart.height), B = C(F.value.style.chart.layout.bars.gap);
|
|
335
335
|
Je(() => k.config, (e) => {
|
|
336
|
-
|
|
336
|
+
Cn.value || (F.value = An()), En.value = !F.value.userOptions.showOnChartHover, rn.value += 1, an.value += 1, H.value.showTable = F.value.table.show, H.value.sortDesc = F.value.style.chart.layout.bars.sort === "desc", H.value.showTooltip = F.value.style.chart.tooltip.show, R.value = F.value.style.chart.width, z.value = F.value.style.chart.height, B.value = F.value.style.chart.layout.bars.gap;
|
|
337
337
|
}, { deep: !0 }), Je(() => k.dataset, (e) => {
|
|
338
|
-
Array.isArray(e) && e.length > 0 && (
|
|
338
|
+
Array.isArray(e) && e.length > 0 && (Tn.value = !1);
|
|
339
339
|
}, { deep: !0 });
|
|
340
|
-
let { isPrinting:
|
|
340
|
+
let { isPrinting: jn, isImaging: Mn, generatePdf: Nn, generateImage: Pn } = me({
|
|
341
341
|
elementId: `vue-ui-vertical-bar_${A.value}`,
|
|
342
342
|
fileName: F.value.style.chart.title.text || "vue-ui-vertical-bar",
|
|
343
343
|
options: F.value.userOptions.print
|
|
344
|
-
}),
|
|
345
|
-
function
|
|
344
|
+
}), Fn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), In = p(() => le(F.value.customPalette)), Ln = C(null), Rn = p(() => F.value.table.responsiveBreakpoint), zn = p(() => !!F.value.debug), Bn = C(0), V = C(null), Vn = C(null);
|
|
345
|
+
function Hn() {
|
|
346
346
|
if (j.value && (ie(k.dataset) && (se({
|
|
347
347
|
componentName: "VueUiVerticalBar",
|
|
348
348
|
type: "dataset",
|
|
349
|
-
debug:
|
|
350
|
-
}), Jt.value = !1,
|
|
349
|
+
debug: zn.value
|
|
350
|
+
}), Jt.value = !1, Tn.value = !0), ie(k.dataset) || (Tn.value = F.value.loading), F.value.responsive)) {
|
|
351
351
|
let e = Te(() => {
|
|
352
352
|
let { width: e, height: t } = Ee({
|
|
353
353
|
chart: j.value,
|
|
@@ -356,33 +356,33 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
356
356
|
source: tn.value,
|
|
357
357
|
noTitle: nn.value
|
|
358
358
|
});
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
Bn.value = t / 3, requestAnimationFrame(async () => {
|
|
360
|
+
z.value = t, R.value = e;
|
|
361
361
|
});
|
|
362
362
|
});
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
V.value && (Vn.value && V.value.unobserve(Vn.value), V.value.disconnect()), V.value = new ResizeObserver(e), Ve(() => {
|
|
364
|
+
Vn.value = j.value?.parentNode, Vn.value && V.value.observe(Vn.value);
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
He(() => {
|
|
369
|
-
|
|
369
|
+
V.value && (Vn.value && V.value.unobserve(Vn.value), V.value.disconnect());
|
|
370
370
|
});
|
|
371
|
-
let
|
|
371
|
+
let H = C({
|
|
372
372
|
showTable: F.value.table.show,
|
|
373
373
|
sortDesc: F.value.style.chart.layout.bars.sort === "desc",
|
|
374
374
|
showTooltip: F.value.style.chart.tooltip.show
|
|
375
|
-
}),
|
|
375
|
+
}), Un = p(() => H.value.sortDesc), U = p(() => (wn.value.forEach((e, t) => {
|
|
376
376
|
!e.value && !e.children && se({
|
|
377
377
|
componentName: "VueUiVerticalBar",
|
|
378
378
|
type: "datasetAttributeEmpty",
|
|
379
379
|
property: `value (index ${t})`,
|
|
380
|
-
debug:
|
|
380
|
+
debug: zn.value
|
|
381
381
|
}), e.children && (ie(e.children) ? se({
|
|
382
382
|
componentName: "VueUiVerticalBar",
|
|
383
383
|
type: "datasetAttributeEmpty",
|
|
384
384
|
property: `children (index ${t})`,
|
|
385
|
-
debug:
|
|
385
|
+
debug: zn.value
|
|
386
386
|
}) : e.children.forEach((e, t) => {
|
|
387
387
|
[null, void 0].includes(e.name) && se({
|
|
388
388
|
componentName: "VueUiVerticalBar",
|
|
@@ -390,10 +390,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
390
390
|
property: "name",
|
|
391
391
|
key: "children",
|
|
392
392
|
index: t,
|
|
393
|
-
debug:
|
|
393
|
+
debug: zn.value
|
|
394
394
|
});
|
|
395
395
|
}));
|
|
396
|
-
}),
|
|
396
|
+
}), wn.value.map((e, t) => {
|
|
397
397
|
let n = `vertical_parent_${t}_${A.value}`, r = e.children && e.children.length > 0, i = d(e.value ? e.value : r ? e.children.map((e) => e.value || 0).reduce((e, t) => e + t, 0) : 0), a = i >= 0 ? 1 : -1;
|
|
398
398
|
return {
|
|
399
399
|
...e,
|
|
@@ -405,10 +405,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
405
405
|
sign: a,
|
|
406
406
|
hasChildren: r,
|
|
407
407
|
isChild: !1,
|
|
408
|
-
segregate: () =>
|
|
408
|
+
segregate: () => rr(n),
|
|
409
409
|
isSegregated: M.value.includes(n),
|
|
410
|
-
color: l(e.color) ||
|
|
411
|
-
children: !e.children || !e.children.length ? [] : e.children.toSorted(fn.value ? () => 0 : (e, t) =>
|
|
410
|
+
color: l(e.color) || In.value[t] || c[t] || c[t % c.length],
|
|
411
|
+
children: !e.children || !e.children.length ? [] : e.children.toSorted(fn.value ? () => 0 : (e, t) => Un.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
|
|
412
412
|
...r,
|
|
413
413
|
value: d(Math.abs(r.value)),
|
|
414
414
|
absoluteIndex: t,
|
|
@@ -420,76 +420,76 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
420
420
|
parentSign: a,
|
|
421
421
|
id: `vertical_child_${t}_${o}_${A.value}`,
|
|
422
422
|
childIndex: o,
|
|
423
|
-
color: l(r.color) || l(e.color) ||
|
|
423
|
+
color: l(r.color) || l(e.color) || In.value[t] || c[t] || c[t % c.length]
|
|
424
424
|
})).map((t, n) => ({
|
|
425
425
|
...t,
|
|
426
426
|
isFirstChild: n === 0,
|
|
427
427
|
isLastChild: n === e.children.length - 1
|
|
428
428
|
}))
|
|
429
429
|
};
|
|
430
|
-
}).toSorted(fn.value ? () => 0 : (e, t) =>
|
|
430
|
+
}).toSorted(fn.value ? () => 0 : (e, t) => Un.value ? t.value - e.value : e.value - t.value))), W = p(() => U.value.filter((e) => !M.value.includes(e.id))), G = p(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Wn = p(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Gn = p(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Kn = p(() => ({
|
|
431
431
|
cy: "vertical-bar-div-legend",
|
|
432
432
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
433
433
|
color: F.value.style.chart.legend.color,
|
|
434
434
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
435
435
|
paddingBottom: 12,
|
|
436
436
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
437
|
-
})),
|
|
437
|
+
})), K = p(() => F.value.style.chart.layout.bars.parentLabels.show ? F.value.style.chart.layout.bars.parentLabels.fontSize * 3 + F.value.style.chart.layout.bars.parentLabels.paddingBottom : 0), q = p(() => {
|
|
438
438
|
let e = [], t = 0;
|
|
439
|
-
return
|
|
439
|
+
return G.value.forEach((n, r) => {
|
|
440
440
|
n.isChild && n.childIndex === 0 && F.value.style.chart.layout.bars.parentLabels.show && (t += 1), e[r] = t;
|
|
441
441
|
}), e;
|
|
442
|
-
}),
|
|
443
|
-
let e = Math.max(0, ...
|
|
444
|
-
return (
|
|
445
|
-
}),
|
|
446
|
-
width:
|
|
447
|
-
height:
|
|
442
|
+
}), J = p(() => {
|
|
443
|
+
let e = Math.max(0, ...q.value) * K.value;
|
|
444
|
+
return (z.value - 24 - (Gn.value - 1) * B.value - e) / Gn.value;
|
|
445
|
+
}), Y = p(() => ({
|
|
446
|
+
width: R.value,
|
|
447
|
+
height: z.value,
|
|
448
448
|
padding: {
|
|
449
449
|
top: 12,
|
|
450
450
|
left: 128 + F.value.style.chart.layout.bars.offsetX,
|
|
451
451
|
right: 64 + F.value.style.chart.layout.bars.paddingRight,
|
|
452
452
|
bottom: 12
|
|
453
453
|
}
|
|
454
|
-
})),
|
|
455
|
-
function
|
|
454
|
+
})), qn = C(0);
|
|
455
|
+
function Jn() {
|
|
456
456
|
Ve(() => {
|
|
457
457
|
if (!un.value) {
|
|
458
|
-
|
|
458
|
+
qn.value = 0;
|
|
459
459
|
return;
|
|
460
460
|
}
|
|
461
461
|
let e = Array.from(un.value.querySelectorAll("text")).reduce((e, t) => {
|
|
462
462
|
let n = t.getBBox?.().width ?? t.getComputedTextLength();
|
|
463
463
|
return n > e ? n : e;
|
|
464
464
|
}, 0);
|
|
465
|
-
|
|
465
|
+
qn.value = e + 12;
|
|
466
466
|
});
|
|
467
467
|
}
|
|
468
468
|
Je(() => [
|
|
469
|
-
|
|
470
|
-
L.value,
|
|
469
|
+
G.value,
|
|
471
470
|
R.value,
|
|
471
|
+
z.value,
|
|
472
472
|
F.value.style.chart.layout.bars.nameLabels,
|
|
473
473
|
F.value.style.chart.layout.bars.offsetX
|
|
474
|
-
], () =>
|
|
475
|
-
|
|
474
|
+
], () => Jn(), { deep: !0 }), Ue(() => {
|
|
475
|
+
Jn();
|
|
476
476
|
});
|
|
477
|
-
function
|
|
477
|
+
function Yn() {
|
|
478
478
|
return typeof document > "u" ? null : (mn || (mn = document.createElement("canvas"), hn = mn.getContext("2d")), hn);
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
let t = String(e ?? ""), n = F.value.style.chart.layout.bars, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = F.value.style.fontFamily, o =
|
|
480
|
+
function Xn(e) {
|
|
481
|
+
let t = String(e ?? ""), n = F.value.style.chart.layout.bars, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = F.value.style.fontFamily, o = Yn();
|
|
482
482
|
return o ? (o.font = `${i} ${r}px ${a}`, o.measureText(t).width) : t.length * r * .6;
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
let e =
|
|
484
|
+
function Zn() {
|
|
485
|
+
let e = W.value.flatMap((e) => e.children && e.children.length ? e.children.map((e) => Math.abs(e.value)) : Math.abs(e.value));
|
|
486
486
|
return e.length ? Math.max(...e) : 0;
|
|
487
487
|
}
|
|
488
|
-
let
|
|
488
|
+
let Qn = p(() => {
|
|
489
489
|
pn.value;
|
|
490
|
-
let e = F.value.style.chart.layout.bars, t =
|
|
490
|
+
let e = F.value.style.chart.layout.bars, t = qn.value + Math.abs(e.nameLabels.offsetX) + e.offsetX, n = Y.value.width - Y.value.padding.right, r = Math.max(0, n - t - e.offsetX), i = Y.value.width - 40, a = Zn(), o = G.value.map((e, t) => ({
|
|
491
491
|
serie: e,
|
|
492
|
-
textWidth:
|
|
492
|
+
textWidth: Xn(xr(e.value, e, t, e.sign))
|
|
493
493
|
}));
|
|
494
494
|
if (!o.length || r <= 0) return {
|
|
495
495
|
left: 0,
|
|
@@ -527,51 +527,51 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
527
527
|
left: 0,
|
|
528
528
|
right: Math.ceil(Math.min(r, -u))
|
|
529
529
|
};
|
|
530
|
-
}),
|
|
531
|
-
function
|
|
530
|
+
}), $n = p(() => Qn.value.right), er = p(() => Qn.value.left);
|
|
531
|
+
function tr() {
|
|
532
532
|
pn.value += 1;
|
|
533
533
|
}
|
|
534
534
|
Ue(() => {
|
|
535
|
-
typeof document > "u" || !document.fonts || (document.fonts.ready.then(
|
|
535
|
+
typeof document > "u" || !document.fonts || (document.fonts.ready.then(tr), document.fonts.addEventListener?.("loadingdone", tr));
|
|
536
536
|
}), He(() => {
|
|
537
|
-
typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone",
|
|
537
|
+
typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", tr), mn = null, hn = null;
|
|
538
538
|
});
|
|
539
|
-
let
|
|
540
|
-
let e =
|
|
539
|
+
let X = p(() => {
|
|
540
|
+
let e = qn.value + Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX) + er.value + F.value.style.chart.layout.bars.offsetX, t = Y.value.width - Y.value.padding.right, n = Math.max(0, t - e - $n.value - F.value.style.chart.layout.bars.offsetX);
|
|
541
541
|
return {
|
|
542
|
-
top:
|
|
543
|
-
bottom:
|
|
542
|
+
top: Y.value.padding.top,
|
|
543
|
+
bottom: Y.value.padding.top + Y.value.height,
|
|
544
544
|
left: e,
|
|
545
545
|
right: t,
|
|
546
546
|
width: n,
|
|
547
|
-
fullHeight:
|
|
547
|
+
fullHeight: Y.value.padding.top + Y.value.padding.bottom + Y.value.height
|
|
548
548
|
};
|
|
549
549
|
});
|
|
550
|
-
function
|
|
551
|
-
M.value.length ? M.value = [] :
|
|
550
|
+
function nr() {
|
|
551
|
+
M.value.length ? M.value = [] : U.value.forEach((e) => {
|
|
552
552
|
M.value.push(e.id);
|
|
553
|
-
}), bn("selectLegend",
|
|
553
|
+
}), bn("selectLegend", W.value);
|
|
554
554
|
}
|
|
555
|
-
async function
|
|
555
|
+
async function rr(e) {
|
|
556
556
|
if (M.value.includes(e)) M.value = M.value.filter((t) => t !== e);
|
|
557
557
|
else {
|
|
558
|
-
if (M.value.length ===
|
|
558
|
+
if (M.value.length === U.value.length - 1) return;
|
|
559
559
|
M.value.push(e);
|
|
560
560
|
}
|
|
561
|
-
bn("selectLegend",
|
|
561
|
+
bn("selectLegend", W.value);
|
|
562
562
|
}
|
|
563
563
|
function ir(e) {
|
|
564
|
-
return
|
|
564
|
+
return U.value.length ? U.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null);
|
|
565
565
|
}
|
|
566
566
|
function ar(e) {
|
|
567
567
|
let t = ir(e);
|
|
568
|
-
t !== null && M.value.includes(t.id) &&
|
|
568
|
+
t !== null && M.value.includes(t.id) && rr(t.id);
|
|
569
569
|
}
|
|
570
570
|
function or(e) {
|
|
571
571
|
let t = ir(e);
|
|
572
|
-
t !== null && (M.value.includes(t.id) ||
|
|
572
|
+
t !== null && (M.value.includes(t.id) || rr(t.id));
|
|
573
573
|
}
|
|
574
|
-
let Z = p(() =>
|
|
574
|
+
let Z = p(() => W.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
|
|
575
575
|
function sr(e, t = !1, n = 0) {
|
|
576
576
|
return t ? u({
|
|
577
577
|
v: d(Math.abs(e) / Z.value * 100),
|
|
@@ -579,18 +579,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
579
579
|
r: n
|
|
580
580
|
}) : Math.abs(e) / Z.value;
|
|
581
581
|
}
|
|
582
|
-
let cr = p(() =>
|
|
582
|
+
let cr = p(() => G.value.map((e) => e.sign).includes(-1)), lr = p(() => Math.max(...W.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
|
|
583
583
|
function Q(e) {
|
|
584
584
|
let t = e / lr.value;
|
|
585
|
-
return d(
|
|
585
|
+
return d(X.value.width / (cr.value ? 2 : 1) * t);
|
|
586
586
|
}
|
|
587
587
|
function ur(e) {
|
|
588
|
-
return Q(e) +
|
|
588
|
+
return Q(e) + X.value.left;
|
|
589
589
|
}
|
|
590
590
|
function dr(e, t) {
|
|
591
|
-
let n =
|
|
591
|
+
let n = W.value.find((t) => t.id === e.parentId);
|
|
592
592
|
return {
|
|
593
|
-
y:
|
|
593
|
+
y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value - K.value + F.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
594
594
|
name: n.name,
|
|
595
595
|
value: [
|
|
596
596
|
void 0,
|
|
@@ -602,7 +602,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
604
|
function fr() {
|
|
605
|
-
return
|
|
605
|
+
return W.value;
|
|
606
606
|
}
|
|
607
607
|
function pr(e, t) {
|
|
608
608
|
return dr(e, t).name;
|
|
@@ -631,18 +631,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
631
631
|
}), P.value = t, Zt.value = e, gr.value = {
|
|
632
632
|
datapoint: e,
|
|
633
633
|
seriesIndex: t,
|
|
634
|
-
series:
|
|
634
|
+
series: U.value,
|
|
635
635
|
config: F.value
|
|
636
636
|
}, Yt.value = !0, hr.value = e.id;
|
|
637
637
|
let r = "", i = e.isChild ? e.parentName : e.name, a = e.isChild ? e.name : "", o = F.value.style.chart.tooltip.customFormat;
|
|
638
638
|
ue(o) && te(() => o({
|
|
639
639
|
datapoint: e,
|
|
640
|
-
series:
|
|
640
|
+
series: U.value,
|
|
641
641
|
config: F.value,
|
|
642
642
|
seriesIndex: t
|
|
643
643
|
})) ? Xt.value = o({
|
|
644
644
|
datapoint: e,
|
|
645
|
-
series:
|
|
645
|
+
series: U.value,
|
|
646
646
|
config: F.value,
|
|
647
647
|
seriesIndex: t
|
|
648
648
|
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
@@ -701,7 +701,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
701
701
|
F.value.translations.percentageToSerie,
|
|
702
702
|
F.value.translations.percentageToTotal
|
|
703
703
|
],
|
|
704
|
-
body:
|
|
704
|
+
body: G.value.map((e) => e.isChild ? e.isFirstChild ? {
|
|
705
705
|
color: e.color,
|
|
706
706
|
parentName: e.parentName,
|
|
707
707
|
parentValue: e.parentValue,
|
|
@@ -743,9 +743,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
743
743
|
e.childValue,
|
|
744
744
|
e.childPercentageToParent,
|
|
745
745
|
e.childPercentageToTotal
|
|
746
|
-
]), o =
|
|
747
|
-
e ? e(
|
|
748
|
-
csvContent:
|
|
746
|
+
]), o = n.concat([i]).concat(a), s = r(o);
|
|
747
|
+
e ? e(s) : t({
|
|
748
|
+
csvContent: s,
|
|
749
749
|
title: F.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
750
750
|
});
|
|
751
751
|
}
|
|
@@ -754,7 +754,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
754
754
|
Cr.value = e, Qt.value += 1;
|
|
755
755
|
}
|
|
756
756
|
function Tr() {
|
|
757
|
-
|
|
757
|
+
H.value.showTable = !H.value.showTable;
|
|
758
758
|
}
|
|
759
759
|
Ue(() => {
|
|
760
760
|
[
|
|
@@ -766,16 +766,16 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
766
766
|
type: "attributeWrongValue",
|
|
767
767
|
property: "style.chart.layout.bars.sort",
|
|
768
768
|
key: F.value.style.chart.layout.bars.sort
|
|
769
|
-
}), N.value = dn.value[F.value.style.chart.layout.bars.sort],
|
|
769
|
+
}), N.value = dn.value[F.value.style.chart.layout.bars.sort], H.value.sortDesc = N.value === 2, fn.value = N.value === 0;
|
|
770
770
|
});
|
|
771
771
|
function Er() {
|
|
772
772
|
N.value += 1, N.value > 2 && (N.value = 0);
|
|
773
773
|
}
|
|
774
774
|
function Dr() {
|
|
775
|
-
Er(),
|
|
775
|
+
Er(), H.value.sortDesc = N.value === 2, fn.value = N.value === 0;
|
|
776
776
|
}
|
|
777
777
|
function Or() {
|
|
778
|
-
|
|
778
|
+
H.value.showTooltip = !H.value.showTooltip;
|
|
779
779
|
}
|
|
780
780
|
let kr = C(!1);
|
|
781
781
|
function Ar() {
|
|
@@ -799,7 +799,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
801
|
let Mr = p(() => {
|
|
802
|
-
let e = F.value.table.useDialog && !F.value.table.show, t =
|
|
802
|
+
let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
|
|
803
803
|
return {
|
|
804
804
|
component: e ? Ut : Oe,
|
|
805
805
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -811,7 +811,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
811
811
|
isFullscreen: Cr.value,
|
|
812
812
|
fullscreenParent: j.value,
|
|
813
813
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
814
|
-
isCursorPointer:
|
|
814
|
+
isCursorPointer: L.value
|
|
815
815
|
} : {
|
|
816
816
|
hideDetails: !0,
|
|
817
817
|
config: {
|
|
@@ -829,14 +829,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
829
829
|
}
|
|
830
830
|
};
|
|
831
831
|
});
|
|
832
|
-
Je(() =>
|
|
832
|
+
Je(() => H.value.showTable, (e) => {
|
|
833
833
|
F.value.table.show || (e && F.value.table.useDialog && sn.value ? sn.value.open() : "close" in sn.value && sn.value.close());
|
|
834
834
|
});
|
|
835
|
-
let { isResponsive: Nr } = Ne(
|
|
835
|
+
let { isResponsive: Nr } = Ne(Ln, Rn);
|
|
836
836
|
function Pr() {
|
|
837
|
-
|
|
837
|
+
H.value.showTable = !1, cn.value && cn.value.setTableIconState(!1);
|
|
838
838
|
}
|
|
839
|
-
let Fr = p(() =>
|
|
839
|
+
let Fr = p(() => U.value.map((e, t) => ({
|
|
840
840
|
...e,
|
|
841
841
|
shape: "square",
|
|
842
842
|
display: `${e.name}: ${re(F.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, u({
|
|
@@ -848,33 +848,33 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
848
848
|
datapoint: e,
|
|
849
849
|
seriesIndex: t
|
|
850
850
|
})}`
|
|
851
|
-
}))), Ir = p(() => F.value.style.chart.backgroundColor), Lr = p(() => F.value.style.chart.legend),
|
|
852
|
-
|
|
853
|
-
|
|
851
|
+
}))), Ir = p(() => F.value.style.chart.backgroundColor), Lr = p(() => F.value.style.chart.legend), Rr = p(() => F.value.style.chart.title), zr = p(() => Fr.value.map((e) => ({
|
|
852
|
+
...e,
|
|
853
|
+
name: e.display
|
|
854
|
+
}))), { exportSvg: Br, getSvg: Vr } = _e({
|
|
855
|
+
svg: kn,
|
|
856
|
+
title: Rr,
|
|
854
857
|
legend: Lr,
|
|
855
|
-
legendItems:
|
|
856
|
-
...e,
|
|
857
|
-
name: e.display
|
|
858
|
-
}))),
|
|
858
|
+
legendItems: zr,
|
|
859
859
|
backgroundColor: Ir
|
|
860
860
|
});
|
|
861
|
-
async function
|
|
861
|
+
async function Hr({ isCb: e }) {
|
|
862
862
|
_n.value = !0, await Ve();
|
|
863
863
|
try {
|
|
864
864
|
if (e) {
|
|
865
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
865
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Vr();
|
|
866
866
|
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
867
867
|
blob: e,
|
|
868
868
|
url: t,
|
|
869
869
|
text: n,
|
|
870
870
|
dataUrl: r
|
|
871
871
|
}));
|
|
872
|
-
} else await Promise.resolve(
|
|
872
|
+
} else await Promise.resolve(Br());
|
|
873
873
|
} finally {
|
|
874
874
|
_n.value = !1;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function Ur(e) {
|
|
878
878
|
if (e?.stage === "start") {
|
|
879
879
|
gn.value = !0;
|
|
880
880
|
return;
|
|
@@ -883,52 +883,52 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
883
883
|
gn.value = !1;
|
|
884
884
|
return;
|
|
885
885
|
}
|
|
886
|
-
|
|
886
|
+
Pn();
|
|
887
887
|
}
|
|
888
|
-
function
|
|
888
|
+
function Wr() {
|
|
889
889
|
console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
|
|
890
890
|
}
|
|
891
|
-
async function
|
|
891
|
+
async function Gr() {
|
|
892
892
|
if (bn("copyAlt", {
|
|
893
893
|
config: F.value,
|
|
894
|
-
dataset:
|
|
894
|
+
dataset: W.value
|
|
895
895
|
}), !F.value.userOptions.callbacks.altCopy) {
|
|
896
896
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
897
897
|
return;
|
|
898
898
|
}
|
|
899
899
|
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
900
900
|
config: F.value,
|
|
901
|
-
dataset:
|
|
901
|
+
dataset: W.value
|
|
902
902
|
}));
|
|
903
903
|
}
|
|
904
|
-
let
|
|
905
|
-
function
|
|
906
|
-
P.value = null,
|
|
904
|
+
let Kr = C(!1);
|
|
905
|
+
function qr() {
|
|
906
|
+
P.value = null, Kr.value = !0;
|
|
907
907
|
}
|
|
908
|
-
function
|
|
909
|
-
P.value = null, Yt.value = !1,
|
|
908
|
+
function Jr() {
|
|
909
|
+
P.value = null, Yt.value = !1, Kr.value = !1;
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function Yr() {
|
|
912
912
|
if (P.value === null) return;
|
|
913
|
-
let e =
|
|
913
|
+
let e = G.value[P.value];
|
|
914
914
|
e && vr({
|
|
915
915
|
datapoint: e,
|
|
916
916
|
seriesIndex: P.value
|
|
917
917
|
}), P.value = null, yn.value = "pointer";
|
|
918
918
|
}
|
|
919
|
-
function
|
|
920
|
-
if (!
|
|
919
|
+
function Xr(e) {
|
|
920
|
+
if (!kn.value || kr.value || document.activeElement !== kn.value) return;
|
|
921
921
|
let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
922
922
|
if (!t && !n && !r && !i) return;
|
|
923
|
-
let a =
|
|
923
|
+
let a = G.value.length;
|
|
924
924
|
if (!a) return;
|
|
925
925
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
926
|
-
|
|
926
|
+
Yr();
|
|
927
927
|
return;
|
|
928
928
|
}
|
|
929
929
|
if (r) {
|
|
930
930
|
if (P.value === null) return;
|
|
931
|
-
let e =
|
|
931
|
+
let e = G.value[P.value];
|
|
932
932
|
if (!e) return;
|
|
933
933
|
_r({
|
|
934
934
|
datapoint: e,
|
|
@@ -936,19 +936,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
936
936
|
});
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
|
-
let o = P.value, s = Zt.value ?
|
|
939
|
+
let o = P.value, s = Zt.value ? G.value.findIndex((e) => e.id === Zt.value.id) : null;
|
|
940
940
|
o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : s !== null && s >= 0 && s < a ? (o = t ? s + 1 : s - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
|
|
941
|
-
let c =
|
|
942
|
-
c && (P.value = o,
|
|
941
|
+
let c = G.value[o];
|
|
942
|
+
c && (P.value = o, Zr(c), yr(c, o, "keyboard"));
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Zr(e) {
|
|
945
945
|
if (!e) return;
|
|
946
|
-
let t =
|
|
946
|
+
let t = X.value.right, n = X.value.top + (B.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
|
|
947
947
|
if (!Number.isFinite(t) || !Number.isFinite(n)) return;
|
|
948
|
-
let r = a(t, n,
|
|
948
|
+
let r = a(t, n, kn.value);
|
|
949
949
|
r && (vn.value = r);
|
|
950
950
|
}
|
|
951
|
-
let
|
|
951
|
+
let Qr = p(() => ({
|
|
952
952
|
head: $.value.head,
|
|
953
953
|
body: $.value.body.map((e) => [
|
|
954
954
|
e.parentName,
|
|
@@ -985,13 +985,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
985
985
|
notice: F.value.a11y.translations.tableAvailable
|
|
986
986
|
}));
|
|
987
987
|
return we({
|
|
988
|
-
autoSize:
|
|
988
|
+
autoSize: Wr,
|
|
989
989
|
getData: fr,
|
|
990
990
|
getImage: jr,
|
|
991
|
-
generatePdf:
|
|
991
|
+
generatePdf: Nn,
|
|
992
992
|
generateCsv: Sr,
|
|
993
|
-
generateImage:
|
|
994
|
-
generateSvg:
|
|
993
|
+
generateImage: Pn,
|
|
994
|
+
generateSvg: Hr,
|
|
995
995
|
hideSeries: or,
|
|
996
996
|
showSeries: ar,
|
|
997
997
|
toggleTable: Tr,
|
|
@@ -999,27 +999,27 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
999
999
|
toggleTooltip: Or,
|
|
1000
1000
|
toggleAnnotator: Ar,
|
|
1001
1001
|
toggleFullscreen: wr,
|
|
1002
|
-
copyAlt:
|
|
1002
|
+
copyAlt: Gr
|
|
1003
1003
|
}), (e, t) => (S(), g("div", {
|
|
1004
1004
|
class: y(`vue-data-ui-component vue-ui-vertical-bar ${Cr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${F.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
|
|
1005
1005
|
ref_key: "verticalBarChart",
|
|
1006
1006
|
ref: j,
|
|
1007
1007
|
id: `vue-ui-vertical-bar_${A.value}`,
|
|
1008
1008
|
style: x(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor};height:100%`),
|
|
1009
|
-
onMouseenter: t[3] ||= () => D(
|
|
1010
|
-
onMouseleave: t[4] ||= () => D(
|
|
1009
|
+
onMouseenter: t[3] ||= () => D(Dn)(!0),
|
|
1010
|
+
onMouseleave: t[4] ||= () => D(Dn)(!1)
|
|
1011
1011
|
}, [
|
|
1012
1012
|
_("p", {
|
|
1013
1013
|
id: `chart-instructions-${A.value}`,
|
|
1014
1014
|
class: "sr-only"
|
|
1015
1015
|
}, E(F.value.a11y.translations.keyboardNavigation), 9, Qe),
|
|
1016
|
-
|
|
1016
|
+
Qr.value.body.length ? (S(), m(Ae, {
|
|
1017
1017
|
key: 0,
|
|
1018
1018
|
uid: A.value,
|
|
1019
|
-
head:
|
|
1020
|
-
body:
|
|
1021
|
-
caption:
|
|
1022
|
-
notice:
|
|
1019
|
+
head: Qr.value.head,
|
|
1020
|
+
body: Qr.value.body,
|
|
1021
|
+
caption: Qr.value.caption,
|
|
1022
|
+
notice: Qr.value.notice
|
|
1023
1023
|
}, null, 8, [
|
|
1024
1024
|
"uid",
|
|
1025
1025
|
"head",
|
|
@@ -1029,11 +1029,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1029
1029
|
])) : h("", !0),
|
|
1030
1030
|
F.value.userOptions.buttons.annotator ? (S(), m(D(Bt), {
|
|
1031
1031
|
key: 1,
|
|
1032
|
-
svgRef: D(
|
|
1032
|
+
svgRef: D(kn),
|
|
1033
1033
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
1034
1034
|
color: F.value.style.chart.color,
|
|
1035
1035
|
active: kr.value,
|
|
1036
|
-
isCursorPointer:
|
|
1036
|
+
isCursorPointer: L.value,
|
|
1037
1037
|
onClose: Ar
|
|
1038
1038
|
}, {
|
|
1039
1039
|
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -1050,7 +1050,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1050
1050
|
"active",
|
|
1051
1051
|
"isCursorPointer"
|
|
1052
1052
|
])) : h("", !0),
|
|
1053
|
-
|
|
1053
|
+
Fn.value ? (S(), g("div", {
|
|
1054
1054
|
key: 2,
|
|
1055
1055
|
ref_key: "noTitle",
|
|
1056
1056
|
ref: nn,
|
|
@@ -1075,14 +1075,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
1077
|
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
1078
|
-
F.value.userOptions.show && Jt.value && (D(
|
|
1078
|
+
F.value.userOptions.show && Jt.value && (D(On) || D(En)) ? (S(), m(D(Vt), {
|
|
1079
1079
|
ref_key: "userOptionsRef",
|
|
1080
1080
|
ref: cn,
|
|
1081
1081
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
1082
1082
|
color: F.value.style.chart.color,
|
|
1083
1083
|
key: `user_options_${Qt.value}`,
|
|
1084
|
-
isImaging: D(
|
|
1085
|
-
isPrinting: D(
|
|
1084
|
+
isImaging: D(Mn),
|
|
1085
|
+
isPrinting: D(jn),
|
|
1086
1086
|
uid: A.value,
|
|
1087
1087
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
1088
1088
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
@@ -1094,7 +1094,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1094
1094
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
1095
1095
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
1096
1096
|
isFullscreen: Cr.value,
|
|
1097
|
-
isTooltip:
|
|
1097
|
+
isTooltip: H.value.showTooltip,
|
|
1098
1098
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
1099
1099
|
chartElement: j.value,
|
|
1100
1100
|
position: F.value.userOptions.position,
|
|
@@ -1103,18 +1103,18 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1103
1103
|
callbacks: F.value.userOptions.callbacks,
|
|
1104
1104
|
printScale: F.value.userOptions.print.scale,
|
|
1105
1105
|
tableDialog: F.value.table.useDialog,
|
|
1106
|
-
isCursorPointer:
|
|
1106
|
+
isCursorPointer: L.value,
|
|
1107
1107
|
onToggleFullscreen: wr,
|
|
1108
|
-
onGeneratePdf: D(
|
|
1108
|
+
onGeneratePdf: D(Nn),
|
|
1109
1109
|
onGenerateCsv: Sr,
|
|
1110
|
-
onGenerateImage:
|
|
1111
|
-
onGenerateSvg:
|
|
1110
|
+
onGenerateImage: Ur,
|
|
1111
|
+
onGenerateSvg: Hr,
|
|
1112
1112
|
onToggleTable: Tr,
|
|
1113
1113
|
onToggleSort: Dr,
|
|
1114
1114
|
onToggleTooltip: Or,
|
|
1115
1115
|
onToggleAnnotator: Ar,
|
|
1116
|
-
onCopyAlt:
|
|
1117
|
-
style: x({ visibility: D(
|
|
1116
|
+
onCopyAlt: Gr,
|
|
1117
|
+
style: x({ visibility: D(On) ? D(En) ? "visible" : "hidden" : "visible" })
|
|
1118
1118
|
}, Ie({ _: 2 }, [
|
|
1119
1119
|
e.$slots.menuIcon ? {
|
|
1120
1120
|
name: "menuIcon",
|
|
@@ -1202,24 +1202,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1202
1202
|
ref: en
|
|
1203
1203
|
}, [(S(), m(Pe, {
|
|
1204
1204
|
key: `legend_top_${an.value}`,
|
|
1205
|
-
legendSet:
|
|
1206
|
-
config:
|
|
1207
|
-
onClickMarker: t[0] ||= ({ legend: e }) =>
|
|
1205
|
+
legendSet: U.value,
|
|
1206
|
+
config: Kn.value,
|
|
1207
|
+
onClickMarker: t[0] ||= ({ legend: e }) => rr(e.id)
|
|
1208
1208
|
}, Ie({
|
|
1209
1209
|
item: O(({ legend: e, index: t }) => [_("div", {
|
|
1210
|
-
onClick: (t) =>
|
|
1210
|
+
onClick: (t) => rr(e.id),
|
|
1211
1211
|
style: x(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
|
|
1212
1212
|
}, E(br({
|
|
1213
1213
|
legend: e,
|
|
1214
1214
|
index: t
|
|
1215
1215
|
})), 13, $e)]),
|
|
1216
|
-
legendToggle: O(() => [
|
|
1216
|
+
legendToggle: O(() => [U.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(Cn) ? (S(), m(ke, {
|
|
1217
1217
|
key: 0,
|
|
1218
1218
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1219
1219
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
1220
1220
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
1221
1221
|
checked: M.value.length > 0,
|
|
1222
|
-
onToggle:
|
|
1222
|
+
onToggle: nr
|
|
1223
1223
|
}, null, 8, [
|
|
1224
1224
|
"backgroundColor",
|
|
1225
1225
|
"color",
|
|
@@ -1243,20 +1243,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1243
1243
|
} : void 0]), 1032, ["legendSet", "config"]))], 512)) : h("", !0),
|
|
1244
1244
|
_("div", et, [(S(), g("svg", {
|
|
1245
1245
|
ref_key: "svgRef",
|
|
1246
|
-
ref:
|
|
1246
|
+
ref: kn,
|
|
1247
1247
|
xmlns: D(oe),
|
|
1248
1248
|
class: y({
|
|
1249
1249
|
"vue-data-ui-fullscreen--on": Cr.value,
|
|
1250
1250
|
"vue-data-ui-fulscreen--off": !Cr.value,
|
|
1251
1251
|
"vue-data-ui-no-transition": !D(I)
|
|
1252
1252
|
}),
|
|
1253
|
-
viewBox: `0 0 ${
|
|
1253
|
+
viewBox: `0 0 ${R.value} ${z.value}`,
|
|
1254
1254
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
1255
1255
|
tabindex: "0",
|
|
1256
1256
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1257
|
-
onFocus:
|
|
1258
|
-
onBlur:
|
|
1259
|
-
onKeydown:
|
|
1257
|
+
onFocus: qr,
|
|
1258
|
+
onBlur: Jr,
|
|
1259
|
+
onKeydown: Xr
|
|
1260
1260
|
}, [_("g", {
|
|
1261
1261
|
ref_key: "G",
|
|
1262
1262
|
ref: on,
|
|
@@ -1267,11 +1267,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1267
1267
|
key: 0,
|
|
1268
1268
|
x: 0,
|
|
1269
1269
|
y: 0,
|
|
1270
|
-
width:
|
|
1271
|
-
height:
|
|
1270
|
+
width: R.value,
|
|
1271
|
+
height: z.value,
|
|
1272
1272
|
style: { pointerEvents: "none" }
|
|
1273
1273
|
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : h("", !0),
|
|
1274
|
-
_("defs", null, [(S(!0), g(f, null, w(
|
|
1274
|
+
_("defs", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), m(De, {
|
|
1275
1275
|
t: "linear",
|
|
1276
1276
|
x1: "0%",
|
|
1277
1277
|
y1: "0%",
|
|
@@ -1289,35 +1289,35 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1289
1289
|
1
|
|
1290
1290
|
]]
|
|
1291
1291
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1292
|
-
e.$slots.pattern ? (S(), g("g", rt, [(S(!0), g(f, null, w(
|
|
1292
|
+
e.$slots.pattern ? (S(), g("g", rt, [(S(!0), g(f, null, w(G.value, (t) => (S(), g("defs", null, [T(e.$slots, "pattern", Be({ ref_for: !0 }, {
|
|
1293
1293
|
seriesIndex: t.absoluteIndex,
|
|
1294
1294
|
patternId: `pattern_${A.value}_${t.absoluteIndex}`
|
|
1295
1295
|
}), void 0, !0)]))), 256))])) : h("", !0),
|
|
1296
|
-
F.value.style.chart.layout.bars.rowColor ? (S(!0), g(f, { key: 2 }, w(
|
|
1296
|
+
F.value.style.chart.layout.bars.rowColor ? (S(!0), g(f, { key: 2 }, w(G.value, (e, t) => (S(), g("g", { key: `row_${e.id}` }, [_("rect", {
|
|
1297
1297
|
x: 0,
|
|
1298
|
-
y:
|
|
1299
|
-
width:
|
|
1300
|
-
height:
|
|
1298
|
+
y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value,
|
|
1299
|
+
width: R.value,
|
|
1300
|
+
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1301
1301
|
fill: F.value.style.chart.layout.bars.rowColor,
|
|
1302
1302
|
rx: F.value.style.chart.layout.bars.rowRadius,
|
|
1303
1303
|
style: { pointerEvents: "none" },
|
|
1304
1304
|
class: y({ "vue-data-ui-transition": D(I) })
|
|
1305
1305
|
}, null, 10, it)]))), 128)) : h("", !0),
|
|
1306
|
-
(S(!0), g(f, null, w(
|
|
1307
|
-
x: D(d)(cr.value ?
|
|
1308
|
-
y:
|
|
1306
|
+
(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", { key: `underlayer_${e.id}` }, [_("rect", {
|
|
1307
|
+
x: D(d)(cr.value ? X.value.left + X.value.width / 2 - (e.sign === 1 ? 0 : Q(e.value) <= 0 ? 1e-4 : Q(e.value)) : X.value.left),
|
|
1308
|
+
y: X.value.top + (B.value + J.value) * t + q.value[t] * K.value,
|
|
1309
1309
|
width: D(d)(Q(e.value) <= 0 ? 1e-4 : Q(e.value)),
|
|
1310
|
-
height:
|
|
1310
|
+
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1311
1311
|
fill: F.value.style.chart.layout.bars.underlayerColor,
|
|
1312
1312
|
rx: F.value.style.chart.layout.bars.borderRadius,
|
|
1313
1313
|
class: y({ "vue-data-ui-transition": D(I) })
|
|
1314
1314
|
}, null, 10, at)]))), 128)),
|
|
1315
|
-
(S(!0), g(f, null, w(
|
|
1315
|
+
(S(!0), g(f, null, w(G.value, (t, r) => (S(), g("g", { key: `barloop_${t.id}` }, [
|
|
1316
1316
|
_("rect", {
|
|
1317
|
-
x: D(d)(cr.value ?
|
|
1318
|
-
y:
|
|
1317
|
+
x: D(d)(cr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
|
|
1318
|
+
y: X.value.top + (B.value + J.value) * r + q.value[r] * K.value,
|
|
1319
1319
|
width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1320
|
-
height:
|
|
1320
|
+
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1321
1321
|
fill: F.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${A.value}_${r})` : D(n)(t.color, F.value.style.chart.layout.bars.fillOpacity),
|
|
1322
1322
|
rx: F.value.style.chart.layout.bars.borderRadius,
|
|
1323
1323
|
stroke: F.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
@@ -1326,23 +1326,23 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1326
1326
|
}, null, 10, ot),
|
|
1327
1327
|
e.$slots.pattern ? (S(), g("rect", {
|
|
1328
1328
|
key: 0,
|
|
1329
|
-
x: D(d)(cr.value ?
|
|
1330
|
-
y:
|
|
1329
|
+
x: D(d)(cr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
|
|
1330
|
+
y: X.value.top + (B.value + J.value) * r + q.value[r] * K.value,
|
|
1331
1331
|
width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1332
|
-
height:
|
|
1332
|
+
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1333
1333
|
fill: `url(#pattern_${A.value}_${t.absoluteIndex})`,
|
|
1334
1334
|
rx: F.value.style.chart.layout.bars.borderRadius,
|
|
1335
1335
|
stroke: F.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
1336
1336
|
"stroke-width": F.value.style.chart.layout.bars.useStroke ? F.value.style.chart.layout.bars.strokeWidth : 0,
|
|
1337
1337
|
class: y({ "vue-data-ui-transition": D(I) })
|
|
1338
1338
|
}, null, 10, st)) : h("", !0),
|
|
1339
|
-
(!t.isChild || t.isLastChild) && F.value.style.chart.layout.separators.show && r !==
|
|
1339
|
+
(!t.isChild || t.isLastChild) && F.value.style.chart.layout.separators.show && r !== G.value.length - 1 ? (S(), g("path", {
|
|
1340
1340
|
key: 1,
|
|
1341
1341
|
stroke: F.value.style.chart.layout.separators.color,
|
|
1342
1342
|
"stroke-width": F.value.style.chart.layout.separators.strokeWidth,
|
|
1343
1343
|
"stroke-linecap": "round",
|
|
1344
1344
|
class: y({ "vue-data-ui-transition": D(I) }),
|
|
1345
|
-
d: `M${
|
|
1345
|
+
d: `M${R.value}, ${J.value + B.value / 2 + X.value.top + (B.value + J.value) * r + q.value[r] * K.value} ${F.value.style.chart.layout.separators.fullWidth ? 0 : X.value.left}, ${J.value + B.value / 2 + X.value.top + (B.value + J.value) * r + q.value[r] * K.value}`
|
|
1346
1346
|
}, null, 10, ct)) : h("", !0),
|
|
1347
1347
|
cr.value && F.value.style.chart.layout.separators.show ? (S(), g("path", {
|
|
1348
1348
|
key: 2,
|
|
@@ -1350,13 +1350,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1350
1350
|
"stroke-width": F.value.style.chart.layout.separators.strokeWidth,
|
|
1351
1351
|
"stroke-linecap": "round",
|
|
1352
1352
|
class: y({ "vue-data-ui-transition": D(I) }),
|
|
1353
|
-
d: `M${
|
|
1353
|
+
d: `M${X.value.left + X.value.width / 2}, ${X.value.top} ${X.value.left + X.value.width / 2}, ${X.value.bottom}`
|
|
1354
1354
|
}, null, 10, lt)) : h("", !0)
|
|
1355
1355
|
]))), 128)),
|
|
1356
1356
|
_("g", {
|
|
1357
1357
|
ref_key: "parentLabels",
|
|
1358
1358
|
ref: ln
|
|
1359
|
-
}, [(S(!0), g(f, null, w(
|
|
1359
|
+
}, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", {
|
|
1360
1360
|
key: `pn_${e.id}`,
|
|
1361
1361
|
class: "vue-ui-horizontal-bar-parent-label"
|
|
1362
1362
|
}, [
|
|
@@ -1400,14 +1400,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1400
1400
|
_("g", {
|
|
1401
1401
|
ref_key: "childLabels",
|
|
1402
1402
|
ref: un
|
|
1403
|
-
}, [(S(!0), g(f, null, w(
|
|
1403
|
+
}, [(S(!0), g(f, null, w(Wn.value, (e, t) => (S(), g("g", {
|
|
1404
1404
|
key: `cl_${e.id}`,
|
|
1405
1405
|
class: "vue-ui-horizontal-bar-child-label"
|
|
1406
1406
|
}, [(e.isChild || !e.hasChildren) && F.value.style.chart.layout.bars.nameLabels.show ? (S(), g("text", {
|
|
1407
1407
|
key: 0,
|
|
1408
1408
|
"text-anchor": "start",
|
|
1409
1409
|
class: y({ "vue-data-ui-transition": D(I) }),
|
|
1410
|
-
transform: `translate(${Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX)}, ${D(d)(
|
|
1410
|
+
transform: `translate(${Math.abs(F.value.style.chart.layout.bars.nameLabels.offsetX)}, ${D(d)(X.value.top + (B.value + J.value) * t + J.value / 2 + F.value.style.chart.layout.bars.nameLabels.fontSize / 2 + q.value[t] * K.value)})`,
|
|
1411
1411
|
"font-size": F.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1412
1412
|
fill: "transparent",
|
|
1413
1413
|
"font-weight": F.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
|
|
@@ -1421,14 +1421,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1421
1421
|
translateY: !0
|
|
1422
1422
|
})
|
|
1423
1423
|
}, null, 10, pt)) : h("", !0)]))), 128))], 512),
|
|
1424
|
-
_("g", null, [(S(!0), g(f, null, w(
|
|
1424
|
+
_("g", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", {
|
|
1425
1425
|
key: `vislab_${e.id}`,
|
|
1426
1426
|
class: "vue-ui-horizontal-bar-child-label"
|
|
1427
1427
|
}, [(e.isChild || !e.hasChildren) && F.value.style.chart.layout.bars.nameLabels.show ? (S(), g("text", {
|
|
1428
1428
|
key: 0,
|
|
1429
1429
|
class: y({ "vue-data-ui-transition": D(I) }),
|
|
1430
1430
|
"text-anchor": "end",
|
|
1431
|
-
transform: `translate(${
|
|
1431
|
+
transform: `translate(${X.value.left + F.value.style.chart.layout.bars.nameLabels.offsetX - 6}, ${X.value.top + (B.value + J.value) * t + J.value / 2 + F.value.style.chart.layout.bars.nameLabels.fontSize / 3 + q.value[t] * K.value})`,
|
|
1432
1432
|
"font-size": F.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1433
1433
|
fill: F.value.style.chart.layout.bars.nameLabels.color,
|
|
1434
1434
|
"font-weight": F.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
|
|
@@ -1441,22 +1441,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1441
1441
|
translateY: !0
|
|
1442
1442
|
})
|
|
1443
1443
|
}, null, 10, mt)) : h("", !0)]))), 128))]),
|
|
1444
|
-
_("g", null, [(S(!0), g(f, null, w(
|
|
1444
|
+
_("g", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", {
|
|
1445
1445
|
key: `sdl_${e.id}`,
|
|
1446
1446
|
class: "vue-ui-horizontal-bar-child-label"
|
|
1447
1447
|
}, [_("text", {
|
|
1448
1448
|
class: y({ "vue-data-ui-transition": D(I) }),
|
|
1449
|
-
transform: `translate(${cr.value ?
|
|
1449
|
+
transform: `translate(${cr.value ? X.value.left + X.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -F.value.style.chart.layout.bars.dataLabels.offsetX : F.value.style.chart.layout.bars.dataLabels.offsetX) : Math.min(ur(e.value) + 3 + F.value.style.chart.layout.bars.dataLabels.offsetX, X.value.right - 2)},${X.value.top + (B.value + J.value) * t + J.value / 2 + q.value[t] * K.value + F.value.style.chart.layout.bars.dataLabels.fontSize / 3})`,
|
|
1450
1450
|
"text-anchor": !cr.value || e.sign === -1 ? "start" : "end",
|
|
1451
1451
|
"font-size": F.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
1452
1452
|
fill: F.value.style.chart.layout.bars.dataLabels.color,
|
|
1453
1453
|
"font-weight": F.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
1454
1454
|
}, E(xr(e.value, e, t, e.sign)), 11, ht)]))), 128))]),
|
|
1455
|
-
(S(!0), g(f, null, w(
|
|
1455
|
+
(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", null, [_("rect", {
|
|
1456
1456
|
x: 0,
|
|
1457
|
-
y:
|
|
1458
|
-
width:
|
|
1459
|
-
height:
|
|
1457
|
+
y: X.value.top + (B.value + J.value) * t - B.value / 2 + q.value[t] * K.value,
|
|
1458
|
+
width: R.value,
|
|
1459
|
+
height: J.value + B.value <= 0 ? 1e-4 : J.value + B.value,
|
|
1460
1460
|
fill: hr.value === e.id ? D(n)(F.value.style.chart.layout.highlighter.color, F.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
1461
1461
|
onMouseenter: (n) => yr(e, t, "pointer"),
|
|
1462
1462
|
onMouseleave: (n) => vr({
|
|
@@ -1469,42 +1469,42 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1469
1469
|
})
|
|
1470
1470
|
}, null, 40, gt)]))), 256)),
|
|
1471
1471
|
T(e.$slots, "svg", { svg: {
|
|
1472
|
-
...
|
|
1473
|
-
drawingArea:
|
|
1474
|
-
isPrintingImg: D(
|
|
1472
|
+
...Y.value,
|
|
1473
|
+
drawingArea: X.value,
|
|
1474
|
+
isPrintingImg: D(jn) || D(Mn) || gn.value,
|
|
1475
1475
|
isPrintingSvg: _n.value
|
|
1476
1476
|
} }, void 0, !0)
|
|
1477
1477
|
], 512)], 46, tt)), e.$slots.hint ? (S(), g("div", _t, [T(e.$slots, "hint", b(v({
|
|
1478
1478
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1479
|
-
isVisible:
|
|
1479
|
+
isVisible: Kr.value
|
|
1480
1480
|
})), void 0, !0)])) : h("", !0)]),
|
|
1481
|
-
e.$slots.watermark ? (S(), g("div", vt, [T(e.$slots, "watermark", b(v({ isPrinting: D(
|
|
1481
|
+
e.$slots.watermark ? (S(), g("div", vt, [T(e.$slots, "watermark", b(v({ isPrinting: D(jn) || D(Mn) || gn.value || _n.value })), void 0, !0)])) : h("", !0),
|
|
1482
1482
|
F.value.style.chart.legend.show && F.value.style.chart.legend.position === "bottom" ? (S(), g("div", {
|
|
1483
1483
|
key: 7,
|
|
1484
1484
|
ref_key: "chartLegend",
|
|
1485
1485
|
ref: en
|
|
1486
1486
|
}, [(S(), m(Pe, {
|
|
1487
1487
|
key: `legend_bottom_${an.value}`,
|
|
1488
|
-
legendSet:
|
|
1489
|
-
config:
|
|
1490
|
-
isCursorPointer:
|
|
1491
|
-
onClickMarker: t[1] ||= ({ legend: e }) =>
|
|
1488
|
+
legendSet: U.value,
|
|
1489
|
+
config: Kn.value,
|
|
1490
|
+
isCursorPointer: L.value,
|
|
1491
|
+
onClickMarker: t[1] ||= ({ legend: e }) => rr(e.id)
|
|
1492
1492
|
}, Ie({
|
|
1493
1493
|
item: O(({ legend: e, index: t }) => [_("div", {
|
|
1494
|
-
onClick: (t) =>
|
|
1494
|
+
onClick: (t) => rr(e.id),
|
|
1495
1495
|
style: x(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
|
|
1496
1496
|
}, E(br({
|
|
1497
1497
|
legend: e,
|
|
1498
1498
|
index: t
|
|
1499
1499
|
})), 13, yt)]),
|
|
1500
|
-
legendToggle: O(() => [
|
|
1500
|
+
legendToggle: O(() => [U.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(Cn) ? (S(), m(ke, {
|
|
1501
1501
|
key: 0,
|
|
1502
1502
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1503
1503
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
1504
1504
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
1505
1505
|
checked: M.value.length > 0,
|
|
1506
|
-
isCursorPointer:
|
|
1507
|
-
onToggle:
|
|
1506
|
+
isCursorPointer: L.value,
|
|
1507
|
+
onToggle: nr
|
|
1508
1508
|
}, null, 8, [
|
|
1509
1509
|
"backgroundColor",
|
|
1510
1510
|
"color",
|
|
@@ -1531,7 +1531,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1531
1531
|
"config",
|
|
1532
1532
|
"isCursorPointer"
|
|
1533
1533
|
]))], 512)) : h("", !0),
|
|
1534
|
-
T(e.$slots, "legend", { legend:
|
|
1534
|
+
T(e.$slots, "legend", { legend: U.value }, void 0, !0),
|
|
1535
1535
|
e.$slots.source ? (S(), g("div", {
|
|
1536
1536
|
key: 8,
|
|
1537
1537
|
ref_key: "source",
|
|
@@ -1540,7 +1540,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1540
1540
|
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1541
1541
|
Re(D(Rt), {
|
|
1542
1542
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
1543
|
-
show:
|
|
1543
|
+
show: H.value.showTooltip && Yt.value && M.value.length < k.dataset.length,
|
|
1544
1544
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
1545
1545
|
color: F.value.style.chart.tooltip.color,
|
|
1546
1546
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -1597,14 +1597,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1597
1597
|
}), Ie({
|
|
1598
1598
|
content: O(() => [_("div", {
|
|
1599
1599
|
ref_key: "tableContainer",
|
|
1600
|
-
ref:
|
|
1600
|
+
ref: Ln,
|
|
1601
1601
|
class: "vue-ui-vertical-bar-table atom-data-table",
|
|
1602
1602
|
style: x(`${F.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
|
|
1603
1603
|
}, [_("div", bt, [F.value.table.useDialog ? h("", !0) : (S(), g("div", {
|
|
1604
1604
|
key: 0,
|
|
1605
1605
|
role: "button",
|
|
1606
1606
|
tabindex: "0",
|
|
1607
|
-
style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${
|
|
1607
|
+
style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${L.value ? "pointer" : "default"}; background:${F.value.table.th.backgroundColor};`),
|
|
1608
1608
|
onClick: Pr,
|
|
1609
1609
|
onKeypress: Ye(Pr, ["enter"])
|
|
1610
1610
|
}, [Re(D(zt), {
|
|
@@ -1718,14 +1718,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1718
1718
|
tabindex: "0",
|
|
1719
1719
|
class: "vue-ui-user-options-button",
|
|
1720
1720
|
onClick: t[2] ||= (e) => Sr(F.value.userOptions.callbacks.csv),
|
|
1721
|
-
style: x({ cursor:
|
|
1721
|
+
style: x({ cursor: L.value ? "pointer" : "default" })
|
|
1722
1722
|
}, [Re(D(zt), {
|
|
1723
1723
|
name: "fileCsv",
|
|
1724
1724
|
stroke: Mr.value.props.color
|
|
1725
1725
|
}, null, 8, ["stroke"])], 4)]),
|
|
1726
1726
|
key: "1"
|
|
1727
1727
|
} : void 0]), 1040)) : h("", !0),
|
|
1728
|
-
T(e.$slots, "skeleton", {}, () => [D(
|
|
1728
|
+
T(e.$slots, "skeleton", {}, () => [D(Cn) ? (S(), m(ge, { key: 0 })) : h("", !0)], !0)
|
|
1729
1729
|
], 46, Ze));
|
|
1730
1730
|
}
|
|
1731
1731
|
}, [["__scopeId", "data-v-eeca2238"]]);
|