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
|
@@ -0,0 +1,958 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { $ as t, D as n, Jt as r, Kt as i, M as a, Ot as o, Pt as ee, S as te, Z as s, ct as c, jt as ne, q as re, t as l, tt as u, w as ie, xt as ae } from "./lib-Bttd6u5E.js";
|
|
3
|
+
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ce } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as le } from "./usePrinter-DN5bYhTG.js";
|
|
6
|
+
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as fe } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as pe } from "./useNestedProp-vPNvh7rV.js";
|
|
9
|
+
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as he } from "./img-Bnokohej.js";
|
|
11
|
+
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as _e } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
+
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
+
import { t as be } from "./vue_ui_molecule-CO9L59SF.js";
|
|
16
|
+
import { t as xe } from "./usePanZoom-CYU3B4T3.js";
|
|
17
|
+
import { Fragment as Se, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Te, nextTick as y, normalizeClass as Ee, normalizeProps as b, normalizeStyle as x, onMounted as De, openBlock as S, ref as C, renderList as Oe, renderSlot as w, resolveDynamicComponent as ke, toDisplayString as Ae, toRefs as je, unref as T, useCssVars as Me, watch as E, withCtx as D } from "vue";
|
|
18
|
+
//#region src/components/vue-ui-molecule.vue
|
|
19
|
+
var Ne = /* @__PURE__ */ e({ default: () => O }), Pe = ["id"], Fe = {
|
|
20
|
+
key: 1,
|
|
21
|
+
ref: "noTitle",
|
|
22
|
+
class: "vue-data-ui-no-title-space",
|
|
23
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
24
|
+
}, Ie = {
|
|
25
|
+
key: 2,
|
|
26
|
+
style: "width:100%;background:transparent;"
|
|
27
|
+
}, Le = ["xmlns", "viewBox"], Re = ["width", "height"], ze = {
|
|
28
|
+
key: 4,
|
|
29
|
+
class: "vue-data-ui-watermark"
|
|
30
|
+
}, Be = {
|
|
31
|
+
key: 5,
|
|
32
|
+
"data-dom-to-png-ignore": "",
|
|
33
|
+
class: "reset-wrapper"
|
|
34
|
+
}, Ve = {
|
|
35
|
+
key: 6,
|
|
36
|
+
ref: "source",
|
|
37
|
+
dir: "auto"
|
|
38
|
+
}, He = ["innerHTML"], O = /*#__PURE__*/ ge({
|
|
39
|
+
__name: "vue-ui-molecule",
|
|
40
|
+
props: {
|
|
41
|
+
config: {
|
|
42
|
+
type: Object,
|
|
43
|
+
default() {
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
dataset: {
|
|
48
|
+
type: Array,
|
|
49
|
+
default() {
|
|
50
|
+
return [];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
emits: ["selectNode", "copyAlt"],
|
|
55
|
+
setup(e, { expose: ge, emit: Ne }) {
|
|
56
|
+
Me((e) => ({ v2082f13d: tn.value }));
|
|
57
|
+
let O = _(() => import("./Title-BE3qg9xl.js").then((e) => e.t)), Ue = _(() => import("./Tooltip-DhjyfHwz.js")), We = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Ge = _(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Ke = _(() => import("./DataTable-BbKgJ5UI.js")), qe = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Je = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ye = _(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Xe = _(() => import("./RecursiveLinks-BygcpDiT.js")), Ze = _(() => import("./RecursiveLabels-D9rfID6q.js")), Qe = _(() => import("./RecursiveCircles-D6aDPmoe.js")), $e = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_molecule: et } = ce(), { isThemeValid: tt, warnInvalidTheme: nt } = me(), k = e, rt = Ne, it = d(() => !!k.dataset && k.dataset.length);
|
|
58
|
+
De(() => {
|
|
59
|
+
ot();
|
|
60
|
+
});
|
|
61
|
+
let at = d(() => R.value.debug);
|
|
62
|
+
function ot() {
|
|
63
|
+
ne(k.dataset) && u({
|
|
64
|
+
componentName: "VueUiMolecule",
|
|
65
|
+
type: "dataset",
|
|
66
|
+
debug: at.value
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
let A = C(re()), j = C(!1), M = C(""), N = C(null), st = C(0), ct = C(0), lt = C(0), P = C(null), F = C(null), I = C(!1), L = C(!1), R = C(mt());
|
|
70
|
+
oe({
|
|
71
|
+
config: () => R.value,
|
|
72
|
+
dataset: () => k.dataset,
|
|
73
|
+
component: "VueUiMolecule",
|
|
74
|
+
rules: [
|
|
75
|
+
se.emptyArray,
|
|
76
|
+
{
|
|
77
|
+
test: (e) => e[0] && e[0].nodes && e[0].nodes.length === 0,
|
|
78
|
+
message: [
|
|
79
|
+
"👀 There are no children nodes attached to the root node. Consider:",
|
|
80
|
+
"",
|
|
81
|
+
"▶️ Adding children nodes to the root node."
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
test: (e) => e[0] && e[0].nodes && e[0].nodes.length > 8,
|
|
86
|
+
message: [
|
|
87
|
+
"👀 The number of children nodes > 8, some nodes might overlap. Consider:",
|
|
88
|
+
"",
|
|
89
|
+
"▶️ Grouping data into broader categories."
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
});
|
|
94
|
+
let z = d(() => R.value.userOptions.useCursorPointer), ut = d(() => r({
|
|
95
|
+
defaultConfig: {
|
|
96
|
+
userOptions: { show: !1 },
|
|
97
|
+
table: { show: !1 },
|
|
98
|
+
style: { chart: {
|
|
99
|
+
backgroundColor: "#99999930",
|
|
100
|
+
nodes: { stroke: "#6A6A6A" },
|
|
101
|
+
links: { stroke: "#6A6A6A80" }
|
|
102
|
+
} }
|
|
103
|
+
},
|
|
104
|
+
userConfig: R.value.skeletonConfig ?? {}
|
|
105
|
+
})), { loading: B, FINAL_DATASET: V } = ue({
|
|
106
|
+
...je(k),
|
|
107
|
+
FINAL_CONFIG: R,
|
|
108
|
+
prepareConfig: mt,
|
|
109
|
+
skeletonDataset: k.config?.skeletonDataset ?? [{
|
|
110
|
+
name: "_",
|
|
111
|
+
color: "#CACACA",
|
|
112
|
+
nodes: [
|
|
113
|
+
{
|
|
114
|
+
name: "_",
|
|
115
|
+
color: "#CACACA",
|
|
116
|
+
nodes: [
|
|
117
|
+
{
|
|
118
|
+
name: "_",
|
|
119
|
+
color: "#CACACA"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "_",
|
|
123
|
+
color: "#CACACA"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "_",
|
|
127
|
+
color: "#CACACA"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "_",
|
|
133
|
+
color: "#CACACA",
|
|
134
|
+
nodes: [
|
|
135
|
+
{
|
|
136
|
+
name: "_",
|
|
137
|
+
color: "#CACACA"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: "_",
|
|
141
|
+
color: "#CACACA"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "_",
|
|
145
|
+
color: "#CACACA"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "_",
|
|
151
|
+
color: "#CACACA",
|
|
152
|
+
nodes: [
|
|
153
|
+
{
|
|
154
|
+
name: "_",
|
|
155
|
+
color: "#CACACA"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "_",
|
|
159
|
+
color: "#CACACA"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "_",
|
|
163
|
+
color: "#CACACA"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: "_",
|
|
169
|
+
color: "#CACACA",
|
|
170
|
+
nodes: [
|
|
171
|
+
{
|
|
172
|
+
name: "_",
|
|
173
|
+
color: "#CACACA"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: "_",
|
|
177
|
+
color: "#CACACA"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: "_",
|
|
181
|
+
color: "#CACACA"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "_",
|
|
187
|
+
color: "#CACACA",
|
|
188
|
+
nodes: [
|
|
189
|
+
{
|
|
190
|
+
name: "_",
|
|
191
|
+
color: "#CACACA"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: "_",
|
|
195
|
+
color: "#CACACA"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "_",
|
|
199
|
+
color: "#CACACA"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: "_",
|
|
205
|
+
color: "#CACACA",
|
|
206
|
+
nodes: [
|
|
207
|
+
{
|
|
208
|
+
name: "_",
|
|
209
|
+
color: "#CACACA"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "_",
|
|
213
|
+
color: "#CACACA"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: "_",
|
|
217
|
+
color: "#CACACA"
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}],
|
|
223
|
+
skeletonConfig: r({
|
|
224
|
+
defaultConfig: R.value,
|
|
225
|
+
userConfig: ut.value
|
|
226
|
+
})
|
|
227
|
+
}), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = ve({ config: R.value }), { svgRef: H } = ye({ config: R.value.style.chart.title });
|
|
228
|
+
function mt() {
|
|
229
|
+
let e = pe({
|
|
230
|
+
userConfig: k.config,
|
|
231
|
+
defaultConfig: et
|
|
232
|
+
}), t = e.theme;
|
|
233
|
+
if (!t) return e;
|
|
234
|
+
if (!tt.value(e)) return nt(e), e;
|
|
235
|
+
let n = pe({
|
|
236
|
+
userConfig: be[t] || k.config,
|
|
237
|
+
defaultConfig: e
|
|
238
|
+
}), r = pe({
|
|
239
|
+
userConfig: k.config,
|
|
240
|
+
defaultConfig: n
|
|
241
|
+
});
|
|
242
|
+
return {
|
|
243
|
+
...r,
|
|
244
|
+
customPalette: r.customPalette.length ? r.customPalette : i[t] || ee
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
E(() => k.config, (e) => {
|
|
248
|
+
R.value = mt(), dt.value = !R.value.userOptions.showOnChartHover, ot(), ct.value += 1, lt.value += 1, U.value.showTable = R.value.table.show, U.value.showTooltip = R.value.style.chart.tooltip.show, U.value.showZoom = R.value.style.chart.zoom.show;
|
|
249
|
+
}, { deep: !0 });
|
|
250
|
+
let ht = C(0), gt = () => {
|
|
251
|
+
ht.value += 1;
|
|
252
|
+
};
|
|
253
|
+
E([() => B.value, () => V.value], async ([e]) => {
|
|
254
|
+
e || (await y(), W.value = wt(), await y(), gt(), await y(), Wt({
|
|
255
|
+
x: 0,
|
|
256
|
+
y: 0,
|
|
257
|
+
width: 400,
|
|
258
|
+
height: 400
|
|
259
|
+
}), Ht(!1));
|
|
260
|
+
}, {
|
|
261
|
+
flush: "post",
|
|
262
|
+
deep: !1
|
|
263
|
+
});
|
|
264
|
+
let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } = le({
|
|
265
|
+
elementId: `cluster_${A.value}`,
|
|
266
|
+
fileName: R.value.style.chart.title.text || "vue-ui-molecule",
|
|
267
|
+
options: R.value.userOptions.print
|
|
268
|
+
}), xt = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), St = d(() => ie(R.value.customPalette)), U = C({
|
|
269
|
+
showTable: R.value.table.show,
|
|
270
|
+
showDataLabels: !0,
|
|
271
|
+
showTooltip: R.value.style.chart.tooltip.show,
|
|
272
|
+
showZoom: R.value.style.chart.zoom.show
|
|
273
|
+
});
|
|
274
|
+
E(R, () => {
|
|
275
|
+
U.value = {
|
|
276
|
+
showTable: R.value.table.show,
|
|
277
|
+
showDataLabels: !0,
|
|
278
|
+
showTooltip: R.value.style.chart.tooltip.show,
|
|
279
|
+
showZoom: R.value.style.chart.zoom.show
|
|
280
|
+
};
|
|
281
|
+
}, { immediate: !0 });
|
|
282
|
+
function Ct(e, t = 0) {
|
|
283
|
+
return Array.isArray(e) && e.length > 0 && e[0].nodes ? Ct(e[0].nodes, t + 1) : t;
|
|
284
|
+
}
|
|
285
|
+
function wt() {
|
|
286
|
+
let e = Ct(V.value), t = 100, n = t;
|
|
287
|
+
for (let r = 0; r < e; r += 1) t /= 1, n += t;
|
|
288
|
+
return {
|
|
289
|
+
height: n,
|
|
290
|
+
width: n
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
let W = C(wt());
|
|
294
|
+
function Tt(e, t = {
|
|
295
|
+
x: -W.value.width / 2.43,
|
|
296
|
+
y: W.value.height / 2
|
|
297
|
+
}, n = W.value.width / 1.1, r = 24, i = 0, o = 0, s = "#BBBBBB", c = 0) {
|
|
298
|
+
if (!Array.isArray(e) || e.length === 0) return e;
|
|
299
|
+
let ne = a({
|
|
300
|
+
plot: t,
|
|
301
|
+
radius: n,
|
|
302
|
+
sides: e.length,
|
|
303
|
+
rotation: i
|
|
304
|
+
});
|
|
305
|
+
return e.forEach((e, t) => {
|
|
306
|
+
let a = ne.coordinates[t], l = e.color ? (() => {
|
|
307
|
+
let t = te(e.color);
|
|
308
|
+
return t.startsWith("#") ? t : `#${t}`;
|
|
309
|
+
})() : null, u;
|
|
310
|
+
l ? u = l : c === 0 ? u = s : c === 1 ? (u = St.value[o] || ee[o] || s, o += 1) : u = s, e.polygonPath = { coordinates: [a] }, e.circleRadius = r, e.color = u, e.strokeWidth = Math.min(R.value.style.chart.links.strokeWidth / (c + 1), r / 2), e.uid = re(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, a, n / 2.9, r / 2.2, i + Math.PI * t / e.nodes.length, o, u, c + 1));
|
|
311
|
+
}), e;
|
|
312
|
+
}
|
|
313
|
+
function Et(e) {
|
|
314
|
+
let t = /* @__PURE__ */ new Set();
|
|
315
|
+
function n(e) {
|
|
316
|
+
e.forEach((e) => {
|
|
317
|
+
if (!e.color) return;
|
|
318
|
+
let r = e.color;
|
|
319
|
+
/^#?[0-9A-F]{6}$/i.test(r) || (r = te(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
n(e);
|
|
323
|
+
let r = {};
|
|
324
|
+
return Array.from(t).forEach((e) => {
|
|
325
|
+
let t = e.slice(1);
|
|
326
|
+
r[e] = `gradient_${t}`;
|
|
327
|
+
}), r;
|
|
328
|
+
}
|
|
329
|
+
let Dt = d(() => Et(G.value)), G = d(() => Tt(s(V.value))), K = C(null);
|
|
330
|
+
function Ot(e) {
|
|
331
|
+
K.value = {
|
|
332
|
+
datapoint: e,
|
|
333
|
+
seriesIndex: -1,
|
|
334
|
+
series: G.value,
|
|
335
|
+
config: R.value
|
|
336
|
+
};
|
|
337
|
+
let t = R.value.style.chart.tooltip.customFormat;
|
|
338
|
+
if (ae(t) && c(() => t({
|
|
339
|
+
seriesIndex: -1,
|
|
340
|
+
datapoint: e,
|
|
341
|
+
series: G.value,
|
|
342
|
+
config: R.value
|
|
343
|
+
}))) M.value = t({
|
|
344
|
+
seriesIndex: -1,
|
|
345
|
+
datapoint: e,
|
|
346
|
+
series: G.value,
|
|
347
|
+
config: R.value
|
|
348
|
+
});
|
|
349
|
+
else {
|
|
350
|
+
let t = "";
|
|
351
|
+
t += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (t += `<div style="width:100%;border-top:1px solid ${R.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), M.value = `<div style="font-family:inherit">${t}</div>`;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
let q = C(null), J = C(null), kt = C(null);
|
|
355
|
+
function At(e) {
|
|
356
|
+
kt.value = q.value, q.value = e, e ? R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
357
|
+
datapoint: e,
|
|
358
|
+
seriesIndex: -1
|
|
359
|
+
}) : R.value.events.datapointLeave && R.value.events.datapointLeave({
|
|
360
|
+
datapoint: kt.value || q.value,
|
|
361
|
+
seriesIndex: -1
|
|
362
|
+
}), e ? (j.value = !0, Ot(e), J.value = e.uid) : (j.value = !1, M.value = "", J.value = null);
|
|
363
|
+
}
|
|
364
|
+
function jt(e) {
|
|
365
|
+
let t = [];
|
|
366
|
+
function n(e) {
|
|
367
|
+
e.forEach((e) => {
|
|
368
|
+
let r = {
|
|
369
|
+
name: e.name,
|
|
370
|
+
details: e.details || "-",
|
|
371
|
+
ancestor: e.ancestor && e.ancestor.name || "-",
|
|
372
|
+
color: e.color || ""
|
|
373
|
+
};
|
|
374
|
+
t.push(r), e.nodes && e.nodes.length > 0 && n(e.nodes, e.name);
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
return n(e), t;
|
|
378
|
+
}
|
|
379
|
+
let Mt = d(() => jt(G.value)), Y = d(() => ({
|
|
380
|
+
head: [
|
|
381
|
+
R.value.table.translations.nodeName,
|
|
382
|
+
R.value.table.translations.details,
|
|
383
|
+
R.value.table.translations.ancestor
|
|
384
|
+
],
|
|
385
|
+
body: Mt.value.map((e, t) => [
|
|
386
|
+
{
|
|
387
|
+
color: e.color,
|
|
388
|
+
name: e.name
|
|
389
|
+
},
|
|
390
|
+
e.details,
|
|
391
|
+
e.ancestor || ""
|
|
392
|
+
]),
|
|
393
|
+
config: {
|
|
394
|
+
th: {
|
|
395
|
+
backgroundColor: R.value.table.th.backgroundColor,
|
|
396
|
+
color: R.value.table.th.color,
|
|
397
|
+
outline: R.value.table.th.outline
|
|
398
|
+
},
|
|
399
|
+
td: {
|
|
400
|
+
backgroundColor: R.value.table.td.backgroundColor,
|
|
401
|
+
color: R.value.table.td.color,
|
|
402
|
+
outline: R.value.table.td.outline
|
|
403
|
+
},
|
|
404
|
+
breakpoint: R.value.table.responsiveBreakpoint
|
|
405
|
+
},
|
|
406
|
+
colNames: [
|
|
407
|
+
R.value.table.translations.nodeName,
|
|
408
|
+
R.value.table.translations.details,
|
|
409
|
+
R.value.table.translations.ancestor
|
|
410
|
+
]
|
|
411
|
+
}));
|
|
412
|
+
function Nt(e = null) {
|
|
413
|
+
y(() => {
|
|
414
|
+
let r = Y.value.body.map((e, t) => [
|
|
415
|
+
[e[0].name],
|
|
416
|
+
[e[1]],
|
|
417
|
+
[e[2]]
|
|
418
|
+
]), i = [
|
|
419
|
+
[R.value.style.chart.title.text],
|
|
420
|
+
[R.value.style.chart.title.subtitle.text],
|
|
421
|
+
[[...Y.value.head]]
|
|
422
|
+
].concat(r), a = n(i);
|
|
423
|
+
e ? e(a) : t({
|
|
424
|
+
csvContent: a,
|
|
425
|
+
title: R.value.style.chart.title.text || "vue-ui-molecule"
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
function Pt() {
|
|
430
|
+
return G.value;
|
|
431
|
+
}
|
|
432
|
+
let X = C(!1);
|
|
433
|
+
function Ft(e) {
|
|
434
|
+
X.value = e, st.value += 1;
|
|
435
|
+
}
|
|
436
|
+
function It() {
|
|
437
|
+
U.value.showTable = !U.value.showTable;
|
|
438
|
+
}
|
|
439
|
+
function Lt() {
|
|
440
|
+
U.value.showDataLabels = !U.value.showDataLabels;
|
|
441
|
+
}
|
|
442
|
+
function Rt() {
|
|
443
|
+
U.value.showTooltip = !U.value.showTooltip;
|
|
444
|
+
}
|
|
445
|
+
function zt() {
|
|
446
|
+
U.value.showZoom = !U.value.showZoom;
|
|
447
|
+
}
|
|
448
|
+
let Z = C(!1);
|
|
449
|
+
function Bt() {
|
|
450
|
+
Z.value = !Z.value;
|
|
451
|
+
}
|
|
452
|
+
let Vt = d(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = xe(H, {
|
|
453
|
+
x: 0,
|
|
454
|
+
y: 0,
|
|
455
|
+
width: Math.max(10, W.value.width),
|
|
456
|
+
height: Math.max(10, W.value.height)
|
|
457
|
+
}, R.value.style.chart.zoom.speed, Vt);
|
|
458
|
+
function Gt(e) {
|
|
459
|
+
R.value.events.datapointClick && R.value.events.datapointClick({
|
|
460
|
+
datapoint: e,
|
|
461
|
+
seriesIndex: -1
|
|
462
|
+
}), rt("selectNode", e);
|
|
463
|
+
}
|
|
464
|
+
async function Kt({ scale: e = 2 } = {}) {
|
|
465
|
+
if (!N.value) return;
|
|
466
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
|
|
467
|
+
domElement: N.value,
|
|
468
|
+
base64: !0,
|
|
469
|
+
img: !0,
|
|
470
|
+
scale: e
|
|
471
|
+
});
|
|
472
|
+
return {
|
|
473
|
+
imageUri: i,
|
|
474
|
+
base64: a,
|
|
475
|
+
title: R.value.style.chart.title.text,
|
|
476
|
+
width: t,
|
|
477
|
+
height: n,
|
|
478
|
+
aspectRatio: r
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
let $ = d(() => {
|
|
482
|
+
let e = R.value.table.useDialog && !R.value.table.show, t = U.value.showTable;
|
|
483
|
+
return {
|
|
484
|
+
component: e ? $e : Ge,
|
|
485
|
+
title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
|
|
486
|
+
props: e ? {
|
|
487
|
+
backgroundColor: R.value.table.th.backgroundColor,
|
|
488
|
+
color: R.value.table.th.color,
|
|
489
|
+
headerColor: R.value.table.th.color,
|
|
490
|
+
headerBg: R.value.table.th.backgroundColor,
|
|
491
|
+
isFullscreen: X.value,
|
|
492
|
+
fullscreenParent: N.value,
|
|
493
|
+
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
494
|
+
isCursorPointer: z.value
|
|
495
|
+
} : {
|
|
496
|
+
hideDetails: !0,
|
|
497
|
+
config: {
|
|
498
|
+
open: t,
|
|
499
|
+
maxHeight: 1e4,
|
|
500
|
+
body: {
|
|
501
|
+
backgroundColor: R.value.style.chart.backgroundColor,
|
|
502
|
+
color: R.value.style.chart.color
|
|
503
|
+
},
|
|
504
|
+
head: {
|
|
505
|
+
backgroundColor: R.value.style.chart.backgroundColor,
|
|
506
|
+
color: R.value.style.chart.color
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
});
|
|
512
|
+
E(() => U.value.showTable, (e) => {
|
|
513
|
+
R.value.table.show || (e && R.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
|
|
514
|
+
});
|
|
515
|
+
function qt() {
|
|
516
|
+
U.value.showTable = !1, F.value && F.value.setTableIconState(!1);
|
|
517
|
+
}
|
|
518
|
+
let Jt = d(() => R.value.style.chart.backgroundColor), Yt = d(() => R.value.style.chart.title), { exportSvg: Xt, getSvg: Zt } = fe({
|
|
519
|
+
svg: H,
|
|
520
|
+
title: Yt,
|
|
521
|
+
backgroundColor: Jt
|
|
522
|
+
});
|
|
523
|
+
async function Qt({ isCb: e }) {
|
|
524
|
+
L.value = !0, await y();
|
|
525
|
+
try {
|
|
526
|
+
if (e) {
|
|
527
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Zt();
|
|
528
|
+
await Promise.resolve(R.value.userOptions.callbacks.svg({
|
|
529
|
+
blob: e,
|
|
530
|
+
url: t,
|
|
531
|
+
text: n,
|
|
532
|
+
dataUrl: r
|
|
533
|
+
}));
|
|
534
|
+
} else await Promise.resolve(Xt());
|
|
535
|
+
} finally {
|
|
536
|
+
L.value = !1;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
function $t(e) {
|
|
540
|
+
if (e?.stage === "start") {
|
|
541
|
+
I.value = !0;
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
if (e?.stage === "end") {
|
|
545
|
+
I.value = !1;
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
548
|
+
bt();
|
|
549
|
+
}
|
|
550
|
+
async function en() {
|
|
551
|
+
if (rt("copyAlt", {
|
|
552
|
+
config: R.value,
|
|
553
|
+
dataset: G.value
|
|
554
|
+
}), !R.value.userOptions.callbacks.altCopy) {
|
|
555
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
556
|
+
return;
|
|
557
|
+
}
|
|
558
|
+
await Promise.resolve(R.value.userOptions.callbacks.altCopy({
|
|
559
|
+
config: R.value,
|
|
560
|
+
dataset: G.value
|
|
561
|
+
}));
|
|
562
|
+
}
|
|
563
|
+
let tn = d(() => R.value.style.chart.color);
|
|
564
|
+
return ge({
|
|
565
|
+
getData: Pt,
|
|
566
|
+
getImage: Kt,
|
|
567
|
+
generatePdf: yt,
|
|
568
|
+
generateCsv: Nt,
|
|
569
|
+
generateImage: bt,
|
|
570
|
+
generateSvg: Qt,
|
|
571
|
+
toggleTable: It,
|
|
572
|
+
toggleLabels: Lt,
|
|
573
|
+
toggleTooltip: Rt,
|
|
574
|
+
toggleAnnotator: Bt,
|
|
575
|
+
toggleFullscreen: Ft,
|
|
576
|
+
toggleZoom: zt,
|
|
577
|
+
copyAlt: en
|
|
578
|
+
}), (e, t) => (S(), m("div", {
|
|
579
|
+
ref_key: "moleculeChart",
|
|
580
|
+
ref: N,
|
|
581
|
+
class: Ee(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
582
|
+
style: x(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.chart.backgroundColor}`),
|
|
583
|
+
id: `cluster_${A.value}`,
|
|
584
|
+
onMouseleave: t[2] ||= (e) => {
|
|
585
|
+
q.value = null, J.value = null, T(ft)(!1);
|
|
586
|
+
},
|
|
587
|
+
onMouseenter: t[3] ||= () => T(ft)(!0)
|
|
588
|
+
}, [
|
|
589
|
+
R.value.userOptions.buttons.annotator && T(H) ? (S(), f(T(qe), {
|
|
590
|
+
key: 0,
|
|
591
|
+
svgRef: T(H),
|
|
592
|
+
backgroundColor: R.value.style.chart.backgroundColor,
|
|
593
|
+
color: R.value.style.chart.color,
|
|
594
|
+
active: Z.value,
|
|
595
|
+
isCursorPointer: z.value,
|
|
596
|
+
onClose: Bt
|
|
597
|
+
}, {
|
|
598
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
599
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
|
|
600
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
|
|
601
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
|
|
602
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
|
|
603
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
|
|
604
|
+
_: 3
|
|
605
|
+
}, 8, [
|
|
606
|
+
"svgRef",
|
|
607
|
+
"backgroundColor",
|
|
608
|
+
"color",
|
|
609
|
+
"active",
|
|
610
|
+
"isCursorPointer"
|
|
611
|
+
])) : p("", !0),
|
|
612
|
+
xt.value ? (S(), m("div", Fe, null, 512)) : p("", !0),
|
|
613
|
+
R.value.style.chart.title.text ? (S(), m("div", Ie, [(S(), f(T(O), {
|
|
614
|
+
key: `title_${ct.value}`,
|
|
615
|
+
config: {
|
|
616
|
+
title: {
|
|
617
|
+
cy: "molecule-div-title",
|
|
618
|
+
...R.value.style.chart.title
|
|
619
|
+
},
|
|
620
|
+
subtitle: {
|
|
621
|
+
cy: "molecule-div-subtitle",
|
|
622
|
+
...R.value.style.chart.title.subtitle
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}, null, 8, ["config"]))])) : p("", !0),
|
|
626
|
+
R.value.userOptions.show && it.value && (T(pt) || T(dt)) ? (S(), f(T(Je), {
|
|
627
|
+
ref_key: "userOptionsRef",
|
|
628
|
+
ref: F,
|
|
629
|
+
key: `user_options_${st.value}`,
|
|
630
|
+
backgroundColor: R.value.style.chart.backgroundColor,
|
|
631
|
+
color: R.value.style.chart.color,
|
|
632
|
+
isPrinting: T(_t),
|
|
633
|
+
isImaging: T(vt),
|
|
634
|
+
uid: A.value,
|
|
635
|
+
hasTooltip: R.value.userOptions.buttons.tooltip && R.value.style.chart.tooltip.show,
|
|
636
|
+
hasPdf: R.value.userOptions.buttons.pdf,
|
|
637
|
+
hasXls: R.value.userOptions.buttons.csv,
|
|
638
|
+
hasImg: R.value.userOptions.buttons.img,
|
|
639
|
+
hasSvg: R.value.userOptions.buttons.svg,
|
|
640
|
+
hasTable: R.value.userOptions.buttons.table,
|
|
641
|
+
hasLabel: R.value.userOptions.buttons.labels,
|
|
642
|
+
hasFullscreen: R.value.userOptions.buttons.fullscreen,
|
|
643
|
+
hasAltCopy: R.value.userOptions.buttons.altCopy,
|
|
644
|
+
isTooltip: U.value.showTooltip,
|
|
645
|
+
titles: { ...R.value.userOptions.buttonTitles },
|
|
646
|
+
chartElement: N.value,
|
|
647
|
+
position: R.value.userOptions.position,
|
|
648
|
+
hasAnnotator: R.value.userOptions.buttons.annotator,
|
|
649
|
+
isAnnotation: Z.value,
|
|
650
|
+
callbacks: R.value.userOptions.callbacks,
|
|
651
|
+
printScale: R.value.userOptions.print.scale,
|
|
652
|
+
tableDialog: R.value.table.useDialog,
|
|
653
|
+
hasZoom: R.value.userOptions.buttons.zoom,
|
|
654
|
+
isZoom: U.value.showZoom,
|
|
655
|
+
isCursorPointer: z.value,
|
|
656
|
+
onToggleFullscreen: Ft,
|
|
657
|
+
onGeneratePdf: T(yt),
|
|
658
|
+
onGenerateCsv: Nt,
|
|
659
|
+
onGenerateImage: $t,
|
|
660
|
+
onGenerateSvg: Qt,
|
|
661
|
+
onToggleTable: It,
|
|
662
|
+
onToggleLabels: Lt,
|
|
663
|
+
onToggleTooltip: Rt,
|
|
664
|
+
onToggleAnnotator: Bt,
|
|
665
|
+
onToggleZoom: zt,
|
|
666
|
+
onCopyAlt: en,
|
|
667
|
+
style: x({ visibility: T(pt) ? T(dt) ? "visible" : "hidden" : "visible" })
|
|
668
|
+
}, Ce({ _: 2 }, [
|
|
669
|
+
e.$slots.menuIcon ? {
|
|
670
|
+
name: "menuIcon",
|
|
671
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
|
|
672
|
+
isOpen: t,
|
|
673
|
+
color: n
|
|
674
|
+
})), void 0, !0)]),
|
|
675
|
+
key: "0"
|
|
676
|
+
} : void 0,
|
|
677
|
+
e.$slots.optionTooltip ? {
|
|
678
|
+
name: "optionTooltip",
|
|
679
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
680
|
+
key: "1"
|
|
681
|
+
} : void 0,
|
|
682
|
+
e.$slots.optionPdf ? {
|
|
683
|
+
name: "optionPdf",
|
|
684
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
685
|
+
key: "2"
|
|
686
|
+
} : void 0,
|
|
687
|
+
e.$slots.optionCsv ? {
|
|
688
|
+
name: "optionCsv",
|
|
689
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
690
|
+
key: "3"
|
|
691
|
+
} : void 0,
|
|
692
|
+
e.$slots.optionImg ? {
|
|
693
|
+
name: "optionImg",
|
|
694
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
695
|
+
key: "4"
|
|
696
|
+
} : void 0,
|
|
697
|
+
e.$slots.optionSvg ? {
|
|
698
|
+
name: "optionSvg",
|
|
699
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
700
|
+
key: "5"
|
|
701
|
+
} : void 0,
|
|
702
|
+
e.$slots.optionTable ? {
|
|
703
|
+
name: "optionTable",
|
|
704
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
705
|
+
key: "6"
|
|
706
|
+
} : void 0,
|
|
707
|
+
e.$slots.optionLabels ? {
|
|
708
|
+
name: "optionLabels",
|
|
709
|
+
fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
710
|
+
key: "7"
|
|
711
|
+
} : void 0,
|
|
712
|
+
e.$slots.optionFullscreen ? {
|
|
713
|
+
name: "optionFullscreen",
|
|
714
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
|
|
715
|
+
toggleFullscreen: t,
|
|
716
|
+
isFullscreen: n
|
|
717
|
+
})), void 0, !0)]),
|
|
718
|
+
key: "8"
|
|
719
|
+
} : void 0,
|
|
720
|
+
e.$slots.optionAnnotator ? {
|
|
721
|
+
name: "optionAnnotator",
|
|
722
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
|
|
723
|
+
toggleAnnotator: t,
|
|
724
|
+
isAnnotator: n
|
|
725
|
+
})), void 0, !0)]),
|
|
726
|
+
key: "9"
|
|
727
|
+
} : void 0,
|
|
728
|
+
e.$slots.optionZoom ? {
|
|
729
|
+
name: "optionZoom",
|
|
730
|
+
fn: D(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", b(v({
|
|
731
|
+
toggleZoom: t,
|
|
732
|
+
isZoomLocked: n
|
|
733
|
+
})), void 0, !0)]),
|
|
734
|
+
key: "10"
|
|
735
|
+
} : void 0,
|
|
736
|
+
e.$slots.optionAltCopy ? {
|
|
737
|
+
name: "optionAltCopy",
|
|
738
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
|
|
739
|
+
key: "11"
|
|
740
|
+
} : void 0,
|
|
741
|
+
e.$slots["custom-menu-before"] ? {
|
|
742
|
+
name: "custom-menu-before",
|
|
743
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
744
|
+
key: "12"
|
|
745
|
+
} : void 0,
|
|
746
|
+
e.$slots["custom-menu-after"] ? {
|
|
747
|
+
name: "custom-menu-after",
|
|
748
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
749
|
+
key: "13"
|
|
750
|
+
} : void 0
|
|
751
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
752
|
+
(S(), m("svg", {
|
|
753
|
+
ref_key: "svgRef",
|
|
754
|
+
ref: H,
|
|
755
|
+
key: `svg_${ht.value}`,
|
|
756
|
+
xmlns: T(l),
|
|
757
|
+
viewBox: `${T(Q).x} ${T(Q).y} ${T(Q).width} ${T(Q).height}`,
|
|
758
|
+
class: Ee({
|
|
759
|
+
"vue-data-ui-fullscreen--on": X.value,
|
|
760
|
+
"vue-data-ui-fulscreen--off": !X.value
|
|
761
|
+
}),
|
|
762
|
+
style: x(`overflow: hidden; background:transparent;color:${R.value.style.chart.color}`)
|
|
763
|
+
}, [
|
|
764
|
+
g(T(Ye)),
|
|
765
|
+
e.$slots["chart-background"] ? (S(), m("foreignObject", {
|
|
766
|
+
key: 0,
|
|
767
|
+
x: 0,
|
|
768
|
+
y: 0,
|
|
769
|
+
width: W.value.width <= 0 ? 10 : W.value.width,
|
|
770
|
+
height: W.value.height <= 0 ? 10 : W.value.height,
|
|
771
|
+
style: { pointerEvents: "none" }
|
|
772
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Re)) : p("", !0),
|
|
773
|
+
h("defs", null, [(S(!0), m(Se, null, Oe(Object.keys(Dt.value), (e, t) => (S(), f(_e, {
|
|
774
|
+
t: "radial",
|
|
775
|
+
id: `gradient_${e}`,
|
|
776
|
+
key: `gradient_${e}_${t}`,
|
|
777
|
+
cx: "50%",
|
|
778
|
+
cy: "30%",
|
|
779
|
+
r: "50%",
|
|
780
|
+
fx: "50%",
|
|
781
|
+
fy: "50%",
|
|
782
|
+
stops: [[
|
|
783
|
+
"0%",
|
|
784
|
+
T(o)(e, .5),
|
|
785
|
+
1
|
|
786
|
+
], [
|
|
787
|
+
"100%",
|
|
788
|
+
e,
|
|
789
|
+
1
|
|
790
|
+
]]
|
|
791
|
+
}, null, 8, ["id", "stops"]))), 128))]),
|
|
792
|
+
g(T(Xe), {
|
|
793
|
+
dataset: G.value,
|
|
794
|
+
color: R.value.style.chart.links.stroke,
|
|
795
|
+
backgroundColor: R.value.style.chart.backgroundColor,
|
|
796
|
+
useChildColor: R.value.style.chart.links.useChildColor
|
|
797
|
+
}, null, 8, [
|
|
798
|
+
"dataset",
|
|
799
|
+
"color",
|
|
800
|
+
"backgroundColor",
|
|
801
|
+
"useChildColor"
|
|
802
|
+
]),
|
|
803
|
+
g(T(Qe), {
|
|
804
|
+
dataset: G.value,
|
|
805
|
+
hoveredUid: J.value,
|
|
806
|
+
stroke: R.value.style.chart.nodes.stroke,
|
|
807
|
+
strokeHovered: R.value.style.chart.nodes.strokeHovered,
|
|
808
|
+
onClick: Gt,
|
|
809
|
+
onHover: At
|
|
810
|
+
}, {
|
|
811
|
+
node: D(({ node: t }) => [w(e.$slots, "node", b(v({ node: t })), void 0, !0)]),
|
|
812
|
+
"node-svg": D(({ nodeSvg: t }) => [w(e.$slots, "node-svg", b(v({ nodeSvg: t })), void 0, !0)]),
|
|
813
|
+
_: 3
|
|
814
|
+
}, 8, [
|
|
815
|
+
"dataset",
|
|
816
|
+
"hoveredUid",
|
|
817
|
+
"stroke",
|
|
818
|
+
"strokeHovered"
|
|
819
|
+
]),
|
|
820
|
+
U.value.showDataLabels && !T(B) ? (S(), f(T(Ze), {
|
|
821
|
+
key: 1,
|
|
822
|
+
dataset: G.value,
|
|
823
|
+
color: R.value.style.chart.color,
|
|
824
|
+
hoveredUid: J.value
|
|
825
|
+
}, null, 8, [
|
|
826
|
+
"dataset",
|
|
827
|
+
"color",
|
|
828
|
+
"hoveredUid"
|
|
829
|
+
])) : p("", !0),
|
|
830
|
+
w(e.$slots, "svg", { svg: {
|
|
831
|
+
...W.value,
|
|
832
|
+
drawingArea: { ...T(Q) },
|
|
833
|
+
isPrintingImg: T(_t) || T(vt) || I.value,
|
|
834
|
+
isPrintingSvg: L.value
|
|
835
|
+
} }, void 0, !0)
|
|
836
|
+
], 14, Le)),
|
|
837
|
+
e.$slots.watermark ? (S(), m("div", ze, [w(e.$slots, "watermark", b(v({ isPrinting: T(_t) || T(vt) || I.value || L.value })), void 0, !0)])) : p("", !0),
|
|
838
|
+
T(Ut) ? (S(), m("div", Be, [w(e.$slots, "reset-action", { reset: T(Ht) }, () => [h("button", {
|
|
839
|
+
"data-cy-reset": "",
|
|
840
|
+
tabindex: "0",
|
|
841
|
+
role: "button",
|
|
842
|
+
class: "vue-data-ui-refresh-button",
|
|
843
|
+
style: x({
|
|
844
|
+
background: R.value.style.chart.backgroundColor,
|
|
845
|
+
cursor: z.value ? "pointer" : "default"
|
|
846
|
+
}),
|
|
847
|
+
onClick: t[0] ||= (e) => T(Ht)(!0)
|
|
848
|
+
}, [g(T(We), {
|
|
849
|
+
name: "refresh",
|
|
850
|
+
stroke: R.value.style.chart.color
|
|
851
|
+
}, null, 8, ["stroke"])], 4)], !0)])) : p("", !0),
|
|
852
|
+
e.$slots.source ? (S(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
853
|
+
g(T(Ue), {
|
|
854
|
+
teleportTo: R.value.style.chart.tooltip.teleportTo,
|
|
855
|
+
show: U.value.showTooltip && j.value,
|
|
856
|
+
backgroundColor: R.value.style.chart.tooltip.backgroundColor,
|
|
857
|
+
color: R.value.style.chart.tooltip.color,
|
|
858
|
+
borderRadius: R.value.style.chart.tooltip.borderRadius,
|
|
859
|
+
borderColor: R.value.style.chart.tooltip.borderColor,
|
|
860
|
+
borderWidth: R.value.style.chart.tooltip.borderWidth,
|
|
861
|
+
fontSize: R.value.style.chart.tooltip.fontSize,
|
|
862
|
+
backgroundOpacity: R.value.style.chart.tooltip.backgroundOpacity,
|
|
863
|
+
position: R.value.style.chart.tooltip.position,
|
|
864
|
+
offsetX: R.value.style.chart.tooltip.offsetX,
|
|
865
|
+
offsetY: R.value.style.chart.tooltip.offsetY,
|
|
866
|
+
parent: N.value,
|
|
867
|
+
content: M.value,
|
|
868
|
+
isFullscreen: X.value,
|
|
869
|
+
isCustom: R.value.style.chart.tooltip.customFormat && typeof R.value.style.chart.tooltip.customFormat == "function",
|
|
870
|
+
smooth: R.value.style.chart.tooltip.smooth,
|
|
871
|
+
backdropFilter: R.value.style.chart.tooltip.backdropFilter,
|
|
872
|
+
smoothForce: R.value.style.chart.tooltip.smoothForce,
|
|
873
|
+
smoothSnapThreshold: R.value.style.chart.tooltip.smoothSnapThreshold
|
|
874
|
+
}, {
|
|
875
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...K.value })), void 0, !0)]),
|
|
876
|
+
tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...K.value })), void 0, !0)]),
|
|
877
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", b(v({ ...K.value })), void 0, !0)]),
|
|
878
|
+
_: 3
|
|
879
|
+
}, 8, [
|
|
880
|
+
"teleportTo",
|
|
881
|
+
"show",
|
|
882
|
+
"backgroundColor",
|
|
883
|
+
"color",
|
|
884
|
+
"borderRadius",
|
|
885
|
+
"borderColor",
|
|
886
|
+
"borderWidth",
|
|
887
|
+
"fontSize",
|
|
888
|
+
"backgroundOpacity",
|
|
889
|
+
"position",
|
|
890
|
+
"offsetX",
|
|
891
|
+
"offsetY",
|
|
892
|
+
"parent",
|
|
893
|
+
"content",
|
|
894
|
+
"isFullscreen",
|
|
895
|
+
"isCustom",
|
|
896
|
+
"smooth",
|
|
897
|
+
"backdropFilter",
|
|
898
|
+
"smoothForce",
|
|
899
|
+
"smoothSnapThreshold"
|
|
900
|
+
]),
|
|
901
|
+
it.value && R.value.userOptions.buttons.table ? (S(), f(ke($.value.component), Te({ key: 7 }, $.value.props, {
|
|
902
|
+
ref_key: "tableUnit",
|
|
903
|
+
ref: P,
|
|
904
|
+
onClose: qt
|
|
905
|
+
}), Ce({
|
|
906
|
+
content: D(() => [(S(), f(T(Ke), {
|
|
907
|
+
key: `table_${lt.value}`,
|
|
908
|
+
colNames: Y.value.colNames,
|
|
909
|
+
head: Y.value.head,
|
|
910
|
+
body: Y.value.body,
|
|
911
|
+
config: Y.value.config,
|
|
912
|
+
title: R.value.table.useDialog ? "" : $.value.title,
|
|
913
|
+
withCloseButton: !R.value.table.useDialog,
|
|
914
|
+
isCursorPointer: z.value,
|
|
915
|
+
onClose: qt
|
|
916
|
+
}, {
|
|
917
|
+
th: D(({ th: e }) => [h("div", {
|
|
918
|
+
innerHTML: e,
|
|
919
|
+
style: {
|
|
920
|
+
display: "flex",
|
|
921
|
+
"align-items": "center"
|
|
922
|
+
}
|
|
923
|
+
}, null, 8, He)]),
|
|
924
|
+
td: D(({ td: e }) => [we(Ae(e.name || e), 1)]),
|
|
925
|
+
_: 1
|
|
926
|
+
}, 8, [
|
|
927
|
+
"colNames",
|
|
928
|
+
"head",
|
|
929
|
+
"body",
|
|
930
|
+
"config",
|
|
931
|
+
"title",
|
|
932
|
+
"withCloseButton",
|
|
933
|
+
"isCursorPointer"
|
|
934
|
+
]))]),
|
|
935
|
+
_: 2
|
|
936
|
+
}, [R.value.table.useDialog ? {
|
|
937
|
+
name: "title",
|
|
938
|
+
fn: D(() => [we(Ae($.value.title), 1)]),
|
|
939
|
+
key: "0"
|
|
940
|
+
} : void 0, R.value.table.useDialog ? {
|
|
941
|
+
name: "actions",
|
|
942
|
+
fn: D(() => [h("button", {
|
|
943
|
+
tabindex: "0",
|
|
944
|
+
class: "vue-ui-user-options-button",
|
|
945
|
+
onClick: t[1] ||= (e) => Nt(R.value.userOptions.callbacks.csv),
|
|
946
|
+
style: x({ cursor: z.value ? "pointer" : "default" })
|
|
947
|
+
}, [g(T(We), {
|
|
948
|
+
name: "fileCsv",
|
|
949
|
+
stroke: $.value.props.color
|
|
950
|
+
}, null, 8, ["stroke"])], 4)]),
|
|
951
|
+
key: "1"
|
|
952
|
+
} : void 0]), 1040)) : p("", !0),
|
|
953
|
+
w(e.$slots, "skeleton", {}, () => [T(B) ? (S(), f(de, { key: 0 })) : p("", !0)], !0)
|
|
954
|
+
], 46, Pe));
|
|
955
|
+
}
|
|
956
|
+
}, [["__scopeId", "data-v-b2f52ff6"]]);
|
|
957
|
+
//#endregion
|
|
958
|
+
export { Ne as n, O as t };
|