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,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, J as r, Jt as i, Kt as a, Pt as o, S as s, X as c, b as l, jt as u, pt as d, q as f, t as p, tt as m, xt as h } from "./lib-
|
|
2
|
+
import { $ as t, D as n, J as r, Jt as i, Kt as a, Pt as o, S as s, X as c, b as l, jt as u, pt as d, q as f, t as p, tt as m, xt as h } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as g, t as _ } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as v } from "./useConfig-
|
|
5
|
-
import { t as y } from "./usePrinter-
|
|
4
|
+
import { t as v } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as y } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ee, t as te } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as b } from "./useSvgExport-
|
|
8
|
-
import { t as x } from "./useNestedProp
|
|
7
|
+
import { t as b } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as x } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as S } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as C } from "./img-
|
|
11
|
-
import { n as w } from "./Title-
|
|
10
|
+
import { t as C } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as w } from "./Title-BE3qg9xl.js";
|
|
12
12
|
import { t as T } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { i as ne, t as re } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as ie } from "./A11yDataTable-DdRsVULz.js";
|
|
@@ -16,7 +16,7 @@ import { t as E } from "./useUserOptionState-DK-_1ddE.js";
|
|
|
16
16
|
import { t as ae } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
17
|
import { t as oe } from "./usePanZoom-CYU3B4T3.js";
|
|
18
18
|
import { t as se } from "./vue_ui_word_cloud-C-qIMNLu.js";
|
|
19
|
-
import { t as ce } from "./BaseZoomControls-
|
|
19
|
+
import { t as ce } from "./BaseZoomControls-BZvCnZEi.js";
|
|
20
20
|
import { Fragment as le, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as ue, createTextVNode as de, createVNode as fe, defineAsyncComponent as M, guardReactiveProps as N, mergeProps as pe, nextTick as me, normalizeClass as he, normalizeProps as P, normalizeStyle as ge, onBeforeUnmount as _e, onMounted as ve, openBlock as F, ref as I, renderList as ye, renderSlot as L, resolveDynamicComponent as be, shallowRef as xe, toDisplayString as Se, toRefs as Ce, unref as R, watch as we, withCtx as z } from "vue";
|
|
21
21
|
//#region src/wordcloud.js
|
|
22
22
|
var Te = {
|
|
@@ -645,7 +645,7 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
645
645
|
},
|
|
646
646
|
emits: ["copyAlt"],
|
|
647
647
|
setup(e, { expose: T, emit: Te }) {
|
|
648
|
-
let Ee = M(() => import("./Tooltip-
|
|
648
|
+
let Ee = M(() => import("./Tooltip-DhjyfHwz.js")), De = M(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Oe = M(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), ke = M(() => import("./DataTable-BbKgJ5UI.js")), Ae = M(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), je = M(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Me = M(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ne = M(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_word_cloud: Pe } = v(), { isThemeValid: Fe, warnInvalidTheme: Ie } = S(), B = e, Le = Te, Re = D({
|
|
649
649
|
get() {
|
|
650
650
|
return !!B.dataset && B.dataset.length;
|
|
651
651
|
},
|
|
@@ -1046,13 +1046,13 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1046
1046
|
}));
|
|
1047
1047
|
function Vt(e = null) {
|
|
1048
1048
|
me(() => {
|
|
1049
|
-
let r = Bt.value.head.map((e, t) => [[e.name], [Bt.value.body[t]]]), i =
|
|
1049
|
+
let r = Bt.value.head.map((e, t) => [[e.name], [Bt.value.body[t]]]), i = [
|
|
1050
1050
|
[G.value.style.chart.title.text],
|
|
1051
1051
|
[G.value.style.chart.title.subtitle.text],
|
|
1052
1052
|
[[""], [G.value.table.columnNames.value]]
|
|
1053
|
-
].concat(r));
|
|
1054
|
-
e ? e(
|
|
1055
|
-
csvContent:
|
|
1053
|
+
].concat(r), a = n(i);
|
|
1054
|
+
e ? e(a) : t({
|
|
1055
|
+
csvContent: a,
|
|
1056
1056
|
title: G.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
1057
1057
|
});
|
|
1058
1058
|
});
|
|
@@ -1172,28 +1172,28 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1172
1172
|
function on() {
|
|
1173
1173
|
X.value.showTable = !1, Ge.value && Ge.value.setTableIconState(!1);
|
|
1174
1174
|
}
|
|
1175
|
-
let sn = D(() => G.value.style.chart.backgroundColor), { exportSvg:
|
|
1175
|
+
let sn = D(() => G.value.style.chart.backgroundColor), cn = D(() => G.value.style.chart.title), { exportSvg: ln, getSvg: un } = b({
|
|
1176
1176
|
svg: q,
|
|
1177
|
-
title:
|
|
1177
|
+
title: cn,
|
|
1178
1178
|
backgroundColor: sn
|
|
1179
1179
|
});
|
|
1180
|
-
async function
|
|
1180
|
+
async function dn({ isCb: e }) {
|
|
1181
1181
|
ut.value = !0, await me();
|
|
1182
1182
|
try {
|
|
1183
1183
|
if (e) {
|
|
1184
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1184
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await un();
|
|
1185
1185
|
await Promise.resolve(G.value.userOptions.callbacks.svg({
|
|
1186
1186
|
blob: e,
|
|
1187
1187
|
url: t,
|
|
1188
1188
|
text: n,
|
|
1189
1189
|
dataUrl: r
|
|
1190
1190
|
}));
|
|
1191
|
-
} else await Promise.resolve(
|
|
1191
|
+
} else await Promise.resolve(ln());
|
|
1192
1192
|
} finally {
|
|
1193
1193
|
ut.value = !1;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function fn(e) {
|
|
1197
1197
|
if (e?.stage === "start") {
|
|
1198
1198
|
Xe.value = !0;
|
|
1199
1199
|
return;
|
|
@@ -1204,29 +1204,29 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1204
1204
|
}
|
|
1205
1205
|
It();
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function pn() {
|
|
1208
1208
|
tn(1.5, !0);
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function mn() {
|
|
1211
1211
|
tn(1 / 1.5, !0);
|
|
1212
1212
|
}
|
|
1213
|
-
let $ = I(null),
|
|
1214
|
-
function
|
|
1213
|
+
let $ = I(null), hn = I(!1), gn = I(""), _n = I(null);
|
|
1214
|
+
function vn() {
|
|
1215
1215
|
$.value = null, W.value = null, We.value = !1;
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function yn(e, t) {
|
|
1218
1218
|
G.value.events.datapointLeave && G.value.events.datapointLeave({
|
|
1219
1219
|
datapoint: e,
|
|
1220
1220
|
seriesIndex: t
|
|
1221
|
-
}),
|
|
1221
|
+
}), (W.value !== t || ft.value !== "keyboard") && ($.value = null, We.value = !1);
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function bn(e, t) {
|
|
1224
1224
|
G.value.events.datapointClick && G.value.events.datapointClick({
|
|
1225
1225
|
datapoint: e,
|
|
1226
1226
|
seriesIndex: t
|
|
1227
1227
|
});
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function xn(e) {
|
|
1230
1230
|
if (!q.value || e == null) return;
|
|
1231
1231
|
let t = q.value.querySelector(`[data-a11y-word-index="${e}-${V.value}"]`);
|
|
1232
1232
|
if (!t) return;
|
|
@@ -1236,35 +1236,35 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1236
1236
|
y: n.top + n.height / 2
|
|
1237
1237
|
};
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Sn(e, t, n = "pointer") {
|
|
1240
1240
|
if (G.value.events.datapointEnter && G.value.events.datapointEnter({
|
|
1241
1241
|
datapoint: e,
|
|
1242
1242
|
seriesIndex: t
|
|
1243
1243
|
}), !X.value.showTooltip) return;
|
|
1244
|
-
ft.value = n, W.value = t, $.value = e.id,
|
|
1244
|
+
ft.value = n, W.value = t, $.value = e.id, _n.value = {
|
|
1245
1245
|
datapoint: e,
|
|
1246
1246
|
config: G.value,
|
|
1247
1247
|
seriesIndex: t
|
|
1248
1248
|
};
|
|
1249
1249
|
let r = G.value.style.chart.tooltip.customFormat;
|
|
1250
|
-
if (
|
|
1250
|
+
if (hn.value = !1, h(r)) try {
|
|
1251
1251
|
let t = r({
|
|
1252
1252
|
datapoint: e,
|
|
1253
1253
|
config: G.value
|
|
1254
1254
|
});
|
|
1255
|
-
typeof t == "string" && (
|
|
1255
|
+
typeof t == "string" && (gn.value = t, hn.value = !0);
|
|
1256
1256
|
} catch {
|
|
1257
|
-
console.warn("Custom format cannot be applied."),
|
|
1257
|
+
console.warn("Custom format cannot be applied."), hn.value = !1;
|
|
1258
1258
|
}
|
|
1259
|
-
if (!
|
|
1259
|
+
if (!hn.value) {
|
|
1260
1260
|
let t = `<svg viewBox="0 0 10 10" height="${G.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${e.color}"/></svg><span>${e.name}:</span><b>${(e.value || 0).toFixed(G.value.style.chart.tooltip.roundingValue)}</b>`;
|
|
1261
|
-
|
|
1261
|
+
gn.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${t}</div>`;
|
|
1262
1262
|
}
|
|
1263
1263
|
n === "keyboard" && me(() => {
|
|
1264
|
-
|
|
1264
|
+
xn(t);
|
|
1265
1265
|
}), We.value = !0;
|
|
1266
1266
|
}
|
|
1267
|
-
async function
|
|
1267
|
+
async function Cn() {
|
|
1268
1268
|
if (Le("copyAlt", {
|
|
1269
1269
|
config: G.value,
|
|
1270
1270
|
dataset: Z.value
|
|
@@ -1277,33 +1277,33 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1277
1277
|
dataset: Z.value
|
|
1278
1278
|
}));
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1280
|
+
function wn() {
|
|
1281
1281
|
W.value = null, pt.value = !0;
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1284
|
-
|
|
1283
|
+
function Tn() {
|
|
1284
|
+
vn(), pt.value = !1;
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1286
|
+
function En(e) {
|
|
1287
1287
|
if (!q.value || qt.value || document.activeElement !== q.value || !Z.value.length) return;
|
|
1288
1288
|
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";
|
|
1289
1289
|
if (!t && !n && !r && !i) return;
|
|
1290
1290
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1291
|
-
|
|
1291
|
+
vn();
|
|
1292
1292
|
return;
|
|
1293
1293
|
}
|
|
1294
1294
|
if (r) {
|
|
1295
1295
|
if (W.value === null) return;
|
|
1296
1296
|
let e = Z.value[W.value];
|
|
1297
1297
|
if (!e) return;
|
|
1298
|
-
|
|
1298
|
+
bn(e, W.value);
|
|
1299
1299
|
return;
|
|
1300
1300
|
}
|
|
1301
1301
|
let a = W.value;
|
|
1302
1302
|
a === null || a < 0 || a >= Z.value.length ? a = n ? 0 : Z.value.length - 1 : (a += n ? 1 : -1, a < 0 && (a = Z.value.length - 1), a >= Z.value.length && (a = 0));
|
|
1303
1303
|
let o = Z.value[a];
|
|
1304
|
-
o &&
|
|
1304
|
+
o && Sn(o, a, "keyboard");
|
|
1305
1305
|
}
|
|
1306
|
-
let
|
|
1306
|
+
let Dn = D(() => ({
|
|
1307
1307
|
headers: Ht.value?.colNames ?? [],
|
|
1308
1308
|
rows: Ht.value?.a11yBody ?? []
|
|
1309
1309
|
}));
|
|
@@ -1313,14 +1313,14 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1313
1313
|
generateCsv: Vt,
|
|
1314
1314
|
generatePdf: Ft,
|
|
1315
1315
|
generateImage: It,
|
|
1316
|
-
generateSvg:
|
|
1316
|
+
generateSvg: dn,
|
|
1317
1317
|
resetZoom: Qt,
|
|
1318
1318
|
toggleTable: Gt,
|
|
1319
1319
|
toggleTooltip: Kt,
|
|
1320
1320
|
toggleAnnotator: Jt,
|
|
1321
1321
|
toggleFullscreen: Ut,
|
|
1322
1322
|
toggleZoom: Yt,
|
|
1323
|
-
copyAlt:
|
|
1323
|
+
copyAlt: Cn
|
|
1324
1324
|
}), (e, t) => (F(), A("div", {
|
|
1325
1325
|
class: "vue-data-ui-component vue-ui-word-cloud",
|
|
1326
1326
|
ref_key: "wordCloudChart",
|
|
@@ -1331,18 +1331,18 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1331
1331
|
style: ge(`width: 100%; font-family:${G.value.style.fontFamily};background:${G.value.style.chart.backgroundColor};${G.value.responsive ? "height:100%" : ""}`),
|
|
1332
1332
|
onMouseenter: t[3] ||= () => R(xt)(!0),
|
|
1333
1333
|
onMouseleave: t[4] ||= () => {
|
|
1334
|
-
R(xt)(!1), pt.value ||
|
|
1334
|
+
R(xt)(!1), pt.value || vn();
|
|
1335
1335
|
}
|
|
1336
1336
|
}, [
|
|
1337
1337
|
j("div", {
|
|
1338
1338
|
id: `chart-instructions-${V.value}`,
|
|
1339
1339
|
class: "sr-only"
|
|
1340
1340
|
}, [j("p", null, Se(G.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
|
|
1341
|
-
|
|
1341
|
+
Dn.value?.rows?.length ? (F(), O(ie, {
|
|
1342
1342
|
key: 0,
|
|
1343
1343
|
uid: V.value,
|
|
1344
|
-
head:
|
|
1345
|
-
body:
|
|
1344
|
+
head: Dn.value.headers,
|
|
1345
|
+
body: Dn.value.rows,
|
|
1346
1346
|
notice: G.value.a11y.translations.tableAvailable,
|
|
1347
1347
|
caption: G.value.a11y.translations.tableCaption
|
|
1348
1348
|
}, null, 8, [
|
|
@@ -1420,13 +1420,13 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1420
1420
|
onToggleFullscreen: Ut,
|
|
1421
1421
|
onGeneratePdf: R(Ft),
|
|
1422
1422
|
onGenerateCsv: Vt,
|
|
1423
|
-
onGenerateImage:
|
|
1424
|
-
onGenerateSvg:
|
|
1423
|
+
onGenerateImage: fn,
|
|
1424
|
+
onGenerateSvg: dn,
|
|
1425
1425
|
onToggleTable: Gt,
|
|
1426
1426
|
onToggleTooltip: Kt,
|
|
1427
1427
|
onToggleAnnotator: Jt,
|
|
1428
1428
|
onToggleZoom: Yt,
|
|
1429
|
-
onCopyAlt:
|
|
1429
|
+
onCopyAlt: Cn,
|
|
1430
1430
|
style: ge({ visibility: R(St) ? R(bt) ? "visible" : "hidden" : "visible" })
|
|
1431
1431
|
}, ue({ _: 2 }, [
|
|
1432
1432
|
e.$slots.menuIcon ? {
|
|
@@ -1515,8 +1515,8 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1515
1515
|
scale: R(nn),
|
|
1516
1516
|
isFullscreen: Q.value,
|
|
1517
1517
|
isCursorPointer: K.value,
|
|
1518
|
-
onZoomIn:
|
|
1519
|
-
onZoomOut:
|
|
1518
|
+
onZoomIn: pn,
|
|
1519
|
+
onZoomOut: mn,
|
|
1520
1520
|
onResetZoom: t[0] ||= (e) => R(Qt)(!0)
|
|
1521
1521
|
}, null, 8, [
|
|
1522
1522
|
"config",
|
|
@@ -1536,9 +1536,9 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1536
1536
|
viewBox: `${R(Zt).x} ${R(Zt).y} ${R(Zt).width} ${R(Zt).height}`,
|
|
1537
1537
|
style: "overflow:hidden;background:transparent;display:block",
|
|
1538
1538
|
tabindex: "0",
|
|
1539
|
-
onFocus:
|
|
1540
|
-
onBlur:
|
|
1541
|
-
onKeydown:
|
|
1539
|
+
onFocus: wn,
|
|
1540
|
+
onBlur: Tn,
|
|
1541
|
+
onKeydown: En
|
|
1542
1542
|
}, [
|
|
1543
1543
|
fe(R(Me)),
|
|
1544
1544
|
e.$slots["chart-background"] ? (F(), A("foreignObject", {
|
|
@@ -1566,9 +1566,9 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1566
1566
|
fill: "transparent",
|
|
1567
1567
|
"pointer-events": "visiblePainted",
|
|
1568
1568
|
"aria-label": `${e.name}: ${(e.value || 0).toFixed(G.value.style.chart.tooltip.roundingValue)}`,
|
|
1569
|
-
onMouseover: (n) =>
|
|
1570
|
-
onMouseleave: (n) =>
|
|
1571
|
-
onClick: (n) =>
|
|
1569
|
+
onMouseover: (n) => Sn(e, t),
|
|
1570
|
+
onMouseleave: (n) => yn(e, t),
|
|
1571
|
+
onClick: (n) => bn(e, t)
|
|
1572
1572
|
}, null, 40, it)), j("text", {
|
|
1573
1573
|
fill: e.color,
|
|
1574
1574
|
"font-weight": G.value.style.chart.words.bold ? "bold" : "normal",
|
|
@@ -1607,8 +1607,8 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1607
1607
|
scale: R(nn),
|
|
1608
1608
|
isFullscreen: Q.value,
|
|
1609
1609
|
isCursorPointer: K.value,
|
|
1610
|
-
onZoomIn:
|
|
1611
|
-
onZoomOut:
|
|
1610
|
+
onZoomIn: pn,
|
|
1611
|
+
onZoomOut: mn,
|
|
1612
1612
|
onResetZoom: t[1] ||= (e) => R(Qt)(!0)
|
|
1613
1613
|
}, null, 8, [
|
|
1614
1614
|
"config",
|
|
@@ -1630,8 +1630,8 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1630
1630
|
offsetX: G.value.style.chart.tooltip.offsetX,
|
|
1631
1631
|
offsetY: G.value.style.chart.tooltip.offsetY,
|
|
1632
1632
|
parent: H.value,
|
|
1633
|
-
content:
|
|
1634
|
-
isCustom:
|
|
1633
|
+
content: gn.value,
|
|
1634
|
+
isCustom: hn.value,
|
|
1635
1635
|
isFullscreen: Q.value,
|
|
1636
1636
|
smooth: G.value.style.chart.tooltip.smooth,
|
|
1637
1637
|
backdropFilter: G.value.style.chart.tooltip.backdropFilter,
|
|
@@ -1640,9 +1640,9 @@ var Xe = /* @__PURE__ */ e({ default: () => ut }), Ze = [
|
|
|
1640
1640
|
isA11yMode: ft.value === "keyboard",
|
|
1641
1641
|
a11yPosition: dt.value
|
|
1642
1642
|
}, {
|
|
1643
|
-
"tooltip-before": z(() => [L(e.$slots, "tooltip-before", P(N({ ...
|
|
1644
|
-
tooltip: z(() => [L(e.$slots, "tooltip", P(N({ ...
|
|
1645
|
-
"tooltip-after": z(() => [L(e.$slots, "tooltip-after", P(N({ ...
|
|
1643
|
+
"tooltip-before": z(() => [L(e.$slots, "tooltip-before", P(N({ ..._n.value })), void 0, !0)]),
|
|
1644
|
+
tooltip: z(() => [L(e.$slots, "tooltip", P(N({ ..._n.value })), void 0, !0)]),
|
|
1645
|
+
"tooltip-after": z(() => [L(e.$slots, "tooltip-after", P(N({ ..._n.value })), void 0, !0)]),
|
|
1646
1646
|
_: 3
|
|
1647
1647
|
}, 8, [
|
|
1648
1648
|
"teleportTo",
|