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,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, Jt as r, K as i, Kt as a, Pt as o, S as s, X as c, Zt as l, i as ee, jt as te, pt as ne, q as u, r as re, t as ie, tt as ae, w as oe } from "./lib-
|
|
2
|
+
import { $ as t, D as n, Jt as r, K as i, Kt as a, Pt as o, S as s, X as c, Zt as l, i as ee, jt as te, pt as ne, q as u, r as re, t as ie, tt as ae, w as oe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
4
|
+
import { t as ce } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as le } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as fe } from "./useSvgExport-
|
|
8
|
-
import { t as pe } from "./useNestedProp
|
|
7
|
+
import { t as fe } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as pe } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as he } from "./img-
|
|
11
|
-
import { n as ge } from "./Title-
|
|
12
|
-
import { t as _e } from "./Shape-
|
|
10
|
+
import { t as he } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as ge } from "./Title-BE3qg9xl.js";
|
|
12
|
+
import { t as _e } from "./Shape-C21CMlWS.js";
|
|
13
13
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as we } from "./Legend-
|
|
18
|
+
import { t as we } from "./Legend-CQxUgOd-.js";
|
|
19
19
|
import { t as Te } from "./vue_ui_chord-DPfS1Umc.js";
|
|
20
20
|
import { Fragment as d, Teleport as Ee, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ae, nextTick as je, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Me, onMounted as Ne, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as E, toRefs as Ie, unref as D, useCssVars as Le, watch as Re, withCtx as O, withModifiers as ze } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-chord.vue
|
|
@@ -141,7 +141,7 @@ var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue
|
|
|
141
141
|
],
|
|
142
142
|
setup(e, { expose: ve, emit: Be }) {
|
|
143
143
|
Le((e) => ({ v34dc8e9b: e.slicerColor }));
|
|
144
|
-
let vt = _(() => import("./vue-ui-accordion-
|
|
144
|
+
let vt = _(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), yt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), bt = _(() => import("./DataTable-BbKgJ5UI.js")), xt = _(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), St = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Ct = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), wt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_chord: Tt } = ce(), { isThemeValid: Et, warnInvalidTheme: Dt } = me(), k = e, Ot = Be, A = C(!!k.dataset && Object.hasOwn(k.dataset, "matrix")), j = C(u()), M = C(null), N = C(null), P = C(null), kt = C(0), F = C(null), At = C(null), jt = C(null), Mt = C(null), Nt = C(null), Pt = C(0), Ft = C(0), It = C(0), Lt = C(!1), I = Fe(null), L = Fe(null), Rt = C(!1), zt = C(null), Bt = C(null), Vt = C(!1), Ht = C(!1), R = C("group"), z = C(null), Ut = C(!1), B = C(en());
|
|
145
145
|
se({
|
|
146
146
|
config: () => B.value,
|
|
147
147
|
dataset: () => k.dataset,
|
|
@@ -641,13 +641,13 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
641
641
|
});
|
|
642
642
|
function qn(e = null) {
|
|
643
643
|
je(() => {
|
|
644
|
-
let r = q.value.matrix.map((e, t) => [[q.value.labels[t] || t], e]), i =
|
|
644
|
+
let r = q.value.matrix.map((e, t) => [[q.value.labels[t] || t], e]), i = [
|
|
645
645
|
[B.value.style.chart.title.text],
|
|
646
646
|
[B.value.style.chart.title.subtitle.text],
|
|
647
647
|
[[""], ...q.value.labels.map((e, t) => [e || t])]
|
|
648
|
-
].concat(r));
|
|
649
|
-
e ? e(
|
|
650
|
-
csvContent:
|
|
648
|
+
].concat(r), a = n(i);
|
|
649
|
+
e ? e(a) : t({
|
|
650
|
+
csvContent: a,
|
|
651
651
|
title: B.value.style.chart.title.text || "vue-ui-chord"
|
|
652
652
|
});
|
|
653
653
|
});
|
|
@@ -714,30 +714,30 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
714
714
|
function Zn() {
|
|
715
715
|
W.value.showTable = !1, Bt.value && Bt.value.setTableIconState(!1);
|
|
716
716
|
}
|
|
717
|
-
let Qn = f(() => B.value.style.chart.backgroundColor), $n = f(() => B.value.style.chart.legend), { exportSvg:
|
|
717
|
+
let Qn = f(() => B.value.style.chart.backgroundColor), $n = f(() => B.value.style.chart.legend), er = f(() => B.value.style.chart.title), { exportSvg: tr, getSvg: nr } = fe({
|
|
718
718
|
svg: U,
|
|
719
|
-
title:
|
|
719
|
+
title: er,
|
|
720
720
|
legend: $n,
|
|
721
721
|
legendItems: Wn,
|
|
722
722
|
backgroundColor: Qn
|
|
723
723
|
});
|
|
724
|
-
async function
|
|
724
|
+
async function rr({ isCb: e }) {
|
|
725
725
|
Ht.value = !0, await je();
|
|
726
726
|
try {
|
|
727
727
|
if (e) {
|
|
728
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
728
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await nr();
|
|
729
729
|
await Promise.resolve(B.value.userOptions.callbacks.svg({
|
|
730
730
|
blob: e,
|
|
731
731
|
url: t,
|
|
732
732
|
text: n,
|
|
733
733
|
dataUrl: r
|
|
734
734
|
}));
|
|
735
|
-
} else await Promise.resolve(
|
|
735
|
+
} else await Promise.resolve(tr());
|
|
736
736
|
} finally {
|
|
737
737
|
Ht.value = !1;
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function ir(e) {
|
|
741
741
|
if (e?.stage === "start") {
|
|
742
742
|
Vt.value = !0;
|
|
743
743
|
return;
|
|
@@ -748,7 +748,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
748
748
|
}
|
|
749
749
|
$t();
|
|
750
750
|
}
|
|
751
|
-
async function
|
|
751
|
+
async function ar() {
|
|
752
752
|
if (Ot("copyAlt", {
|
|
753
753
|
config: B.value,
|
|
754
754
|
dataset: q.value
|
|
@@ -761,13 +761,13 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
761
761
|
dataset: q.value
|
|
762
762
|
}));
|
|
763
763
|
}
|
|
764
|
-
let
|
|
764
|
+
let or = f(() => (M.value ? J.value.chords.filter((e) => e.source.groupId === M.value.id) : P.value ? J.value.chords.filter((e) => e.source.groupId === P.value) : J.value.chords).filter((e) => e.source.value)), $ = f(() => ({
|
|
765
765
|
groups: J.value.groups.map((e, t) => ({
|
|
766
766
|
type: "group",
|
|
767
767
|
index: t,
|
|
768
768
|
item: e
|
|
769
769
|
})),
|
|
770
|
-
ribbons:
|
|
770
|
+
ribbons: or.value.map((e, t) => ({
|
|
771
771
|
type: "ribbon",
|
|
772
772
|
index: t,
|
|
773
773
|
item: {
|
|
@@ -776,42 +776,42 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
776
776
|
color: q.value.colors[e.source.index]
|
|
777
777
|
}
|
|
778
778
|
}))
|
|
779
|
-
})),
|
|
779
|
+
})), sr = f(() => ({
|
|
780
780
|
headers: ["", ...Q.value.head.map((e) => e.name)],
|
|
781
781
|
rows: Q.value.body.map((e, t) => [Q.value.head[t]?.name ?? `${t}`, ...e.map((e) => On(e))])
|
|
782
782
|
}));
|
|
783
|
-
function
|
|
783
|
+
function cr(e) {
|
|
784
784
|
let t = $.value.groups[e];
|
|
785
785
|
t && (R.value = "group", z.value = e, N.value = null, M.value = t.item);
|
|
786
786
|
}
|
|
787
|
-
function
|
|
787
|
+
function lr(e) {
|
|
788
788
|
let t = $.value.ribbons[e];
|
|
789
789
|
t && (R.value = "ribbon", z.value = e, M.value = null, N.value = t.item);
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function ur() {
|
|
792
792
|
z.value = null, R.value = "group", M.value = null, N.value = null;
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function dr() {
|
|
795
795
|
Ut.value = !0, R.value = "group", z.value = null;
|
|
796
796
|
}
|
|
797
|
-
function
|
|
798
|
-
Ut.value = !1,
|
|
797
|
+
function fr() {
|
|
798
|
+
Ut.value = !1, ur();
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function pr(e) {
|
|
801
801
|
if (!U.value || X.value || document.activeElement !== U.value) return;
|
|
802
802
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
803
803
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
804
804
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
805
|
-
|
|
805
|
+
ur();
|
|
806
806
|
return;
|
|
807
807
|
}
|
|
808
808
|
if (r) {
|
|
809
|
-
R.value = "group", $.value.groups.length &&
|
|
809
|
+
R.value = "group", $.value.groups.length && cr(z.value === null ? 0 : Math.min(z.value, $.value.groups.length - 1));
|
|
810
810
|
return;
|
|
811
811
|
}
|
|
812
812
|
if (i) {
|
|
813
813
|
if (!$.value.ribbons.length) return;
|
|
814
|
-
R.value = "ribbon",
|
|
814
|
+
R.value = "ribbon", lr(z.value === null ? 0 : Math.min(z.value, $.value.ribbons.length - 1));
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
817
|
if (a) {
|
|
@@ -827,19 +827,19 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
827
827
|
let s = R.value === "group" ? $.value.groups : $.value.ribbons;
|
|
828
828
|
if (!s.length) return;
|
|
829
829
|
let c = z.value;
|
|
830
|
-
c === null || c < 0 || c >= s.length ? c = n ? 0 : s.length - 1 : n ? (c += 1, c >= s.length && (c = 0)) : t && (--c, c < 0 && (c = s.length - 1)), R.value === "group" ?
|
|
830
|
+
c === null || c < 0 || c >= s.length ? c = n ? 0 : s.length - 1 : n ? (c += 1, c >= s.length && (c = 0)) : t && (--c, c < 0 && (c = s.length - 1)), R.value === "group" ? cr(c) : lr(c);
|
|
831
831
|
}
|
|
832
832
|
return ve({
|
|
833
833
|
getData: Vn,
|
|
834
834
|
getImage: Jn,
|
|
835
835
|
generateCsv: qn,
|
|
836
836
|
generateImage: $t,
|
|
837
|
-
generateSvg:
|
|
837
|
+
generateSvg: rr,
|
|
838
838
|
generatePdf: Qt,
|
|
839
839
|
toggleAnnotator: zn,
|
|
840
840
|
toggleTable: Bn,
|
|
841
841
|
toggleFullscreen: An,
|
|
842
|
-
copyAlt:
|
|
842
|
+
copyAlt: ar
|
|
843
843
|
}), (e, t) => (S(), h("div", {
|
|
844
844
|
ref_key: "chordChart",
|
|
845
845
|
ref: F,
|
|
@@ -858,11 +858,11 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
858
858
|
id: `chart-instructions-${j.value}`,
|
|
859
859
|
class: "sr-only"
|
|
860
860
|
}, [g("p", null, E(B.value.a11y.translations.keyboardNavigation), 1)], 8, He),
|
|
861
|
-
|
|
861
|
+
sr.value?.rows?.length ? (S(), p(xe, {
|
|
862
862
|
key: 0,
|
|
863
863
|
uid: j.value,
|
|
864
|
-
head:
|
|
865
|
-
body:
|
|
864
|
+
head: sr.value.headers,
|
|
865
|
+
body: sr.value.rows,
|
|
866
866
|
notice: B.value.a11y.translations.tableAvailable,
|
|
867
867
|
caption: B.value.a11y.translations.tableCaption
|
|
868
868
|
}, null, 8, [
|
|
@@ -953,11 +953,11 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
953
953
|
onToggleFullscreen: An,
|
|
954
954
|
onGeneratePdf: D(Qt),
|
|
955
955
|
onGenerateCsv: qn,
|
|
956
|
-
onGenerateImage:
|
|
957
|
-
onGenerateSvg:
|
|
956
|
+
onGenerateImage: ir,
|
|
957
|
+
onGenerateSvg: rr,
|
|
958
958
|
onToggleTable: Bn,
|
|
959
959
|
onToggleAnnotator: zn,
|
|
960
|
-
onCopyAlt:
|
|
960
|
+
onCopyAlt: ar,
|
|
961
961
|
style: x({ visibility: D(Yt) ? D(qt) ? "visible" : "hidden" : "visible" })
|
|
962
962
|
}, De({ _: 2 }, [
|
|
963
963
|
e.$slots.menuIcon ? {
|
|
@@ -1065,9 +1065,9 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1065
1065
|
}),
|
|
1066
1066
|
onMousedown: ze(Tn, ["prevent"]),
|
|
1067
1067
|
onTouchstart: ze(Tn, ["prevent"]),
|
|
1068
|
-
onFocus:
|
|
1069
|
-
onBlur:
|
|
1070
|
-
onKeydown:
|
|
1068
|
+
onFocus: dr,
|
|
1069
|
+
onBlur: fr,
|
|
1070
|
+
onKeydown: pr
|
|
1071
1071
|
}, [
|
|
1072
1072
|
ke(D(xt)),
|
|
1073
1073
|
e.$slots["chart-background"] ? (S(), h("foreignObject", {
|