vue-data-ui 3.22.13 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.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 +2 -0
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- 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 +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
|
@@ -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 ie, tt as l, w as ae, xt as oe } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as le } from "./useConfig-BilxnBNr.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-BFvi4jVy.js";
|
|
6
|
+
import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as pe } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
+
import { t as me } from "./useNestedProp--NSEmhOH.js";
|
|
9
|
+
import { t as he } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ge } from "./img-DIQG5q8T.js";
|
|
11
|
+
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as ve } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
+
import { t as be } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
+
import { t as xe } from "./vue_ui_molecule-CO9L59SF.js";
|
|
16
|
+
import { t as Se } from "./usePanZoom-CYU3B4T3.js";
|
|
17
|
+
import { Fragment as Ce, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as we, createTextVNode as Te, createVNode as h, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ee, nextTick as v, normalizeClass as De, normalizeProps as y, normalizeStyle as b, onMounted as Oe, openBlock as x, ref as S, renderList as ke, renderSlot as C, resolveDynamicComponent as Ae, toDisplayString as je, toRefs as Me, unref as w, useCssVars as Ne, watch as T, withCtx as E } from "vue";
|
|
18
|
+
//#region src/components/vue-ui-molecule.vue
|
|
19
|
+
var Pe = /* @__PURE__ */ e({ default: () => D }), Fe = ["id"], Ie = {
|
|
20
|
+
key: 1,
|
|
21
|
+
ref: "noTitle",
|
|
22
|
+
class: "vue-data-ui-no-title-space",
|
|
23
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
24
|
+
}, Le = {
|
|
25
|
+
key: 2,
|
|
26
|
+
style: "width:100%;background:transparent;"
|
|
27
|
+
}, Re = ["xmlns", "viewBox"], ze = ["width", "height"], Be = {
|
|
28
|
+
key: 4,
|
|
29
|
+
class: "vue-data-ui-watermark"
|
|
30
|
+
}, Ve = {
|
|
31
|
+
key: 5,
|
|
32
|
+
"data-dom-to-png-ignore": "",
|
|
33
|
+
class: "reset-wrapper"
|
|
34
|
+
}, He = {
|
|
35
|
+
key: 6,
|
|
36
|
+
ref: "source",
|
|
37
|
+
dir: "auto"
|
|
38
|
+
}, Ue = ["innerHTML"], D = /*#__PURE__*/ _e({
|
|
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: _e, emit: Pe }) {
|
|
56
|
+
Ne((e) => ({ v2082f13d: en.value }));
|
|
57
|
+
let D = g(() => import("./Title-BODtwViI.js").then((e) => e.t)), We = g(() => import("./Tooltip-CMTGxeYO.js")), Ge = g(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Ke = g(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), qe = g(() => import("./DataTable-D4tM9s5Y.js")), Je = g(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Ye = g(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Xe = g(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ze = g(() => import("./RecursiveLinks-BygcpDiT.js")), Qe = g(() => import("./RecursiveLabels-D9rfID6q.js")), $e = g(() => import("./RecursiveCircles-D6aDPmoe.js")), et = g(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_molecule: tt } = le(), { isThemeValid: nt, warnInvalidTheme: rt } = he(), O = e, it = Pe, at = u(() => !!O.dataset && O.dataset.length);
|
|
58
|
+
Oe(() => {
|
|
59
|
+
st();
|
|
60
|
+
});
|
|
61
|
+
let ot = u(() => L.value.debug);
|
|
62
|
+
function st() {
|
|
63
|
+
ne(O.dataset) && l({
|
|
64
|
+
componentName: "VueUiMolecule",
|
|
65
|
+
type: "dataset",
|
|
66
|
+
debug: ot.value
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
let k = S(re()), A = S(!1), j = S(""), M = S(null), ct = S(0), lt = S(0), ut = S(0), N = S(null), P = S(null), F = S(!1), I = S(!1), L = S(mt());
|
|
70
|
+
se({
|
|
71
|
+
config: () => L.value,
|
|
72
|
+
dataset: () => O.dataset,
|
|
73
|
+
component: "VueUiMolecule",
|
|
74
|
+
rules: [
|
|
75
|
+
ce.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 R = u(() => L.value.userOptions.useCursorPointer), dt = u(() => 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: L.value.skeletonConfig ?? {}
|
|
105
|
+
})), { loading: z, FINAL_DATASET: B } = de({
|
|
106
|
+
...Me(O),
|
|
107
|
+
FINAL_CONFIG: L,
|
|
108
|
+
prepareConfig: mt,
|
|
109
|
+
skeletonDataset: O.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: L.value,
|
|
225
|
+
userConfig: dt.value
|
|
226
|
+
})
|
|
227
|
+
}), { userOptionsVisible: V, setUserOptionsVisibility: ft, keepUserOptionState: pt } = ye({ config: L.value }), { svgRef: H } = be({ config: L.value.style.chart.title });
|
|
228
|
+
function mt() {
|
|
229
|
+
let e = me({
|
|
230
|
+
userConfig: O.config,
|
|
231
|
+
defaultConfig: tt
|
|
232
|
+
}), t = e.theme;
|
|
233
|
+
if (!t) return e;
|
|
234
|
+
if (!nt.value(e)) return rt(e), e;
|
|
235
|
+
let n = me({
|
|
236
|
+
userConfig: xe[t] || O.config,
|
|
237
|
+
defaultConfig: e
|
|
238
|
+
}), r = me({
|
|
239
|
+
userConfig: O.config,
|
|
240
|
+
defaultConfig: n
|
|
241
|
+
});
|
|
242
|
+
return {
|
|
243
|
+
...r,
|
|
244
|
+
customPalette: r.customPalette.length ? r.customPalette : i[t] || ee
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
T(() => O.config, (e) => {
|
|
248
|
+
L.value = mt(), V.value = !L.value.userOptions.showOnChartHover, st(), lt.value += 1, ut.value += 1, U.value.showTable = L.value.table.show, U.value.showTooltip = L.value.style.chart.tooltip.show, U.value.showZoom = L.value.style.chart.zoom.show;
|
|
249
|
+
}, { deep: !0 });
|
|
250
|
+
let ht = S(0), gt = () => {
|
|
251
|
+
ht.value += 1;
|
|
252
|
+
};
|
|
253
|
+
T([() => z.value, () => B.value], async ([e]) => {
|
|
254
|
+
e || (await v(), W.value = wt(), await v(), gt(), await v(), 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 } = ue({
|
|
265
|
+
elementId: `cluster_${k.value}`,
|
|
266
|
+
fileName: L.value.style.chart.title.text || "vue-ui-molecule",
|
|
267
|
+
options: L.value.userOptions.print
|
|
268
|
+
}), xt = u(() => L.value.userOptions.show && !L.value.style.chart.title.text), St = u(() => ae(L.value.customPalette)), U = S({
|
|
269
|
+
showTable: L.value.table.show,
|
|
270
|
+
showDataLabels: !0,
|
|
271
|
+
showTooltip: L.value.style.chart.tooltip.show,
|
|
272
|
+
showZoom: L.value.style.chart.zoom.show
|
|
273
|
+
});
|
|
274
|
+
T(L, () => {
|
|
275
|
+
U.value = {
|
|
276
|
+
showTable: L.value.table.show,
|
|
277
|
+
showDataLabels: !0,
|
|
278
|
+
showTooltip: L.value.style.chart.tooltip.show,
|
|
279
|
+
showZoom: L.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(B.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 = S(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], ie = e.color ? (() => {
|
|
307
|
+
let t = te(e.color);
|
|
308
|
+
return t.startsWith("#") ? t : `#${t}`;
|
|
309
|
+
})() : null, l;
|
|
310
|
+
ie ? l = ie : c === 0 ? l = s : c === 1 ? (l = St.value[o] || ee[o] || s, o += 1) : l = s, e.polygonPath = { coordinates: [a] }, e.circleRadius = r, e.color = l, e.strokeWidth = Math.min(L.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, l, 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 = u(() => Et(G.value)), G = u(() => Tt(s(B.value))), K = S(null);
|
|
330
|
+
function Ot(e) {
|
|
331
|
+
K.value = {
|
|
332
|
+
datapoint: e,
|
|
333
|
+
seriesIndex: -1,
|
|
334
|
+
series: G.value,
|
|
335
|
+
config: L.value
|
|
336
|
+
};
|
|
337
|
+
let t = L.value.style.chart.tooltip.customFormat;
|
|
338
|
+
if (oe(t) && c(() => t({
|
|
339
|
+
seriesIndex: -1,
|
|
340
|
+
datapoint: e,
|
|
341
|
+
series: G.value,
|
|
342
|
+
config: L.value
|
|
343
|
+
}))) j.value = t({
|
|
344
|
+
seriesIndex: -1,
|
|
345
|
+
datapoint: e,
|
|
346
|
+
series: G.value,
|
|
347
|
+
config: L.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 ${L.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), j.value = `<div style="font-family:inherit">${t}</div>`;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
let q = S(null), J = S(null), kt = S(null);
|
|
355
|
+
function At(e) {
|
|
356
|
+
kt.value = q.value, q.value = e, e ? L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
357
|
+
datapoint: e,
|
|
358
|
+
seriesIndex: -1
|
|
359
|
+
}) : L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
360
|
+
datapoint: kt.value || q.value,
|
|
361
|
+
seriesIndex: -1
|
|
362
|
+
}), e ? (A.value = !0, Ot(e), J.value = e.uid) : (A.value = !1, j.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 = u(() => jt(G.value)), Y = u(() => ({
|
|
380
|
+
head: [
|
|
381
|
+
L.value.table.translations.nodeName,
|
|
382
|
+
L.value.table.translations.details,
|
|
383
|
+
L.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: L.value.table.th.backgroundColor,
|
|
396
|
+
color: L.value.table.th.color,
|
|
397
|
+
outline: L.value.table.th.outline
|
|
398
|
+
},
|
|
399
|
+
td: {
|
|
400
|
+
backgroundColor: L.value.table.td.backgroundColor,
|
|
401
|
+
color: L.value.table.td.color,
|
|
402
|
+
outline: L.value.table.td.outline
|
|
403
|
+
},
|
|
404
|
+
breakpoint: L.value.table.responsiveBreakpoint
|
|
405
|
+
},
|
|
406
|
+
colNames: [
|
|
407
|
+
L.value.table.translations.nodeName,
|
|
408
|
+
L.value.table.translations.details,
|
|
409
|
+
L.value.table.translations.ancestor
|
|
410
|
+
]
|
|
411
|
+
}));
|
|
412
|
+
function Nt(e = null) {
|
|
413
|
+
v(() => {
|
|
414
|
+
let r = Y.value.body.map((e, t) => [
|
|
415
|
+
[e[0].name],
|
|
416
|
+
[e[1]],
|
|
417
|
+
[e[2]]
|
|
418
|
+
]), i = n([
|
|
419
|
+
[L.value.style.chart.title.text],
|
|
420
|
+
[L.value.style.chart.title.subtitle.text],
|
|
421
|
+
[[...Y.value.head]]
|
|
422
|
+
].concat(r));
|
|
423
|
+
e ? e(i) : t({
|
|
424
|
+
csvContent: i,
|
|
425
|
+
title: L.value.style.chart.title.text || "vue-ui-molecule"
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
function Pt() {
|
|
430
|
+
return G.value;
|
|
431
|
+
}
|
|
432
|
+
let X = S(!1);
|
|
433
|
+
function Ft(e) {
|
|
434
|
+
X.value = e, ct.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 = S(!1);
|
|
449
|
+
function Bt() {
|
|
450
|
+
Z.value = !Z.value;
|
|
451
|
+
}
|
|
452
|
+
let Vt = u(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = Se(H, {
|
|
453
|
+
x: 0,
|
|
454
|
+
y: 0,
|
|
455
|
+
width: Math.max(10, W.value.width),
|
|
456
|
+
height: Math.max(10, W.value.height)
|
|
457
|
+
}, L.value.style.chart.zoom.speed, Vt);
|
|
458
|
+
function Gt(e) {
|
|
459
|
+
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
460
|
+
datapoint: e,
|
|
461
|
+
seriesIndex: -1
|
|
462
|
+
}), it("selectNode", e);
|
|
463
|
+
}
|
|
464
|
+
async function Kt({ scale: e = 2 } = {}) {
|
|
465
|
+
if (!M.value) return;
|
|
466
|
+
let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
|
|
467
|
+
domElement: M.value,
|
|
468
|
+
base64: !0,
|
|
469
|
+
img: !0,
|
|
470
|
+
scale: e
|
|
471
|
+
});
|
|
472
|
+
return {
|
|
473
|
+
imageUri: i,
|
|
474
|
+
base64: a,
|
|
475
|
+
title: L.value.style.chart.title.text,
|
|
476
|
+
width: t,
|
|
477
|
+
height: n,
|
|
478
|
+
aspectRatio: r
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
let $ = u(() => {
|
|
482
|
+
let e = L.value.table.useDialog && !L.value.table.show, t = U.value.showTable;
|
|
483
|
+
return {
|
|
484
|
+
component: e ? et : Ke,
|
|
485
|
+
title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
|
|
486
|
+
props: e ? {
|
|
487
|
+
backgroundColor: L.value.table.th.backgroundColor,
|
|
488
|
+
color: L.value.table.th.color,
|
|
489
|
+
headerColor: L.value.table.th.color,
|
|
490
|
+
headerBg: L.value.table.th.backgroundColor,
|
|
491
|
+
isFullscreen: X.value,
|
|
492
|
+
fullscreenParent: M.value,
|
|
493
|
+
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
494
|
+
isCursorPointer: R.value
|
|
495
|
+
} : {
|
|
496
|
+
hideDetails: !0,
|
|
497
|
+
config: {
|
|
498
|
+
open: t,
|
|
499
|
+
maxHeight: 1e4,
|
|
500
|
+
body: {
|
|
501
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
502
|
+
color: L.value.style.chart.color
|
|
503
|
+
},
|
|
504
|
+
head: {
|
|
505
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
506
|
+
color: L.value.style.chart.color
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
});
|
|
512
|
+
T(() => U.value.showTable, (e) => {
|
|
513
|
+
L.value.table.show || (e && L.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
|
|
514
|
+
});
|
|
515
|
+
function qt() {
|
|
516
|
+
U.value.showTable = !1, P.value && P.value.setTableIconState(!1);
|
|
517
|
+
}
|
|
518
|
+
let Jt = u(() => L.value.style.chart.backgroundColor), { exportSvg: Yt, getSvg: Xt } = pe({
|
|
519
|
+
svg: H,
|
|
520
|
+
title: u(() => L.value.style.chart.title),
|
|
521
|
+
backgroundColor: Jt
|
|
522
|
+
});
|
|
523
|
+
async function Zt({ isCb: e }) {
|
|
524
|
+
I.value = !0, await v();
|
|
525
|
+
try {
|
|
526
|
+
if (e) {
|
|
527
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Xt();
|
|
528
|
+
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
529
|
+
blob: e,
|
|
530
|
+
url: t,
|
|
531
|
+
text: n,
|
|
532
|
+
dataUrl: r
|
|
533
|
+
}));
|
|
534
|
+
} else await Promise.resolve(Yt());
|
|
535
|
+
} finally {
|
|
536
|
+
I.value = !1;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
function Qt(e) {
|
|
540
|
+
if (e?.stage === "start") {
|
|
541
|
+
F.value = !0;
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
if (e?.stage === "end") {
|
|
545
|
+
F.value = !1;
|
|
546
|
+
return;
|
|
547
|
+
}
|
|
548
|
+
bt();
|
|
549
|
+
}
|
|
550
|
+
async function $t() {
|
|
551
|
+
if (it("copyAlt", {
|
|
552
|
+
config: L.value,
|
|
553
|
+
dataset: G.value
|
|
554
|
+
}), !L.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(L.value.userOptions.callbacks.altCopy({
|
|
559
|
+
config: L.value,
|
|
560
|
+
dataset: G.value
|
|
561
|
+
}));
|
|
562
|
+
}
|
|
563
|
+
let en = u(() => L.value.style.chart.color);
|
|
564
|
+
return _e({
|
|
565
|
+
getData: Pt,
|
|
566
|
+
getImage: Kt,
|
|
567
|
+
generatePdf: yt,
|
|
568
|
+
generateCsv: Nt,
|
|
569
|
+
generateImage: bt,
|
|
570
|
+
generateSvg: Zt,
|
|
571
|
+
toggleTable: It,
|
|
572
|
+
toggleLabels: Lt,
|
|
573
|
+
toggleTooltip: Rt,
|
|
574
|
+
toggleAnnotator: Bt,
|
|
575
|
+
toggleFullscreen: Ft,
|
|
576
|
+
toggleZoom: zt,
|
|
577
|
+
copyAlt: $t
|
|
578
|
+
}), (e, t) => (x(), p("div", {
|
|
579
|
+
ref_key: "moleculeChart",
|
|
580
|
+
ref: M,
|
|
581
|
+
class: De(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
582
|
+
style: b(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor}`),
|
|
583
|
+
id: `cluster_${k.value}`,
|
|
584
|
+
onMouseleave: t[2] ||= (e) => {
|
|
585
|
+
q.value = null, J.value = null, w(ft)(!1);
|
|
586
|
+
},
|
|
587
|
+
onMouseenter: t[3] ||= () => w(ft)(!0)
|
|
588
|
+
}, [
|
|
589
|
+
L.value.userOptions.buttons.annotator && w(H) ? (x(), d(w(Je), {
|
|
590
|
+
key: 0,
|
|
591
|
+
svgRef: w(H),
|
|
592
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
593
|
+
color: L.value.style.chart.color,
|
|
594
|
+
active: Z.value,
|
|
595
|
+
isCursorPointer: R.value,
|
|
596
|
+
onClose: Bt
|
|
597
|
+
}, {
|
|
598
|
+
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
599
|
+
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
600
|
+
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
601
|
+
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
602
|
+
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
603
|
+
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
604
|
+
_: 3
|
|
605
|
+
}, 8, [
|
|
606
|
+
"svgRef",
|
|
607
|
+
"backgroundColor",
|
|
608
|
+
"color",
|
|
609
|
+
"active",
|
|
610
|
+
"isCursorPointer"
|
|
611
|
+
])) : f("", !0),
|
|
612
|
+
xt.value ? (x(), p("div", Ie, null, 512)) : f("", !0),
|
|
613
|
+
L.value.style.chart.title.text ? (x(), p("div", Le, [(x(), d(w(D), {
|
|
614
|
+
key: `title_${lt.value}`,
|
|
615
|
+
config: {
|
|
616
|
+
title: {
|
|
617
|
+
cy: "molecule-div-title",
|
|
618
|
+
...L.value.style.chart.title
|
|
619
|
+
},
|
|
620
|
+
subtitle: {
|
|
621
|
+
cy: "molecule-div-subtitle",
|
|
622
|
+
...L.value.style.chart.title.subtitle
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}, null, 8, ["config"]))])) : f("", !0),
|
|
626
|
+
L.value.userOptions.show && at.value && (w(pt) || w(V)) ? (x(), d(w(Ye), {
|
|
627
|
+
ref_key: "userOptionsRef",
|
|
628
|
+
ref: P,
|
|
629
|
+
key: `user_options_${ct.value}`,
|
|
630
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
631
|
+
color: L.value.style.chart.color,
|
|
632
|
+
isPrinting: w(_t),
|
|
633
|
+
isImaging: w(vt),
|
|
634
|
+
uid: k.value,
|
|
635
|
+
hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
|
|
636
|
+
hasPdf: L.value.userOptions.buttons.pdf,
|
|
637
|
+
hasXls: L.value.userOptions.buttons.csv,
|
|
638
|
+
hasImg: L.value.userOptions.buttons.img,
|
|
639
|
+
hasSvg: L.value.userOptions.buttons.svg,
|
|
640
|
+
hasTable: L.value.userOptions.buttons.table,
|
|
641
|
+
hasLabel: L.value.userOptions.buttons.labels,
|
|
642
|
+
hasFullscreen: L.value.userOptions.buttons.fullscreen,
|
|
643
|
+
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
644
|
+
isTooltip: U.value.showTooltip,
|
|
645
|
+
titles: { ...L.value.userOptions.buttonTitles },
|
|
646
|
+
chartElement: M.value,
|
|
647
|
+
position: L.value.userOptions.position,
|
|
648
|
+
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
649
|
+
isAnnotation: Z.value,
|
|
650
|
+
callbacks: L.value.userOptions.callbacks,
|
|
651
|
+
printScale: L.value.userOptions.print.scale,
|
|
652
|
+
tableDialog: L.value.table.useDialog,
|
|
653
|
+
hasZoom: L.value.userOptions.buttons.zoom,
|
|
654
|
+
isZoom: U.value.showZoom,
|
|
655
|
+
isCursorPointer: R.value,
|
|
656
|
+
onToggleFullscreen: Ft,
|
|
657
|
+
onGeneratePdf: w(yt),
|
|
658
|
+
onGenerateCsv: Nt,
|
|
659
|
+
onGenerateImage: Qt,
|
|
660
|
+
onGenerateSvg: Zt,
|
|
661
|
+
onToggleTable: It,
|
|
662
|
+
onToggleLabels: Lt,
|
|
663
|
+
onToggleTooltip: Rt,
|
|
664
|
+
onToggleAnnotator: Bt,
|
|
665
|
+
onToggleZoom: zt,
|
|
666
|
+
onCopyAlt: $t,
|
|
667
|
+
style: b({ visibility: w(pt) ? w(V) ? "visible" : "hidden" : "visible" })
|
|
668
|
+
}, we({ _: 2 }, [
|
|
669
|
+
e.$slots.menuIcon ? {
|
|
670
|
+
name: "menuIcon",
|
|
671
|
+
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(_({
|
|
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: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
680
|
+
key: "1"
|
|
681
|
+
} : void 0,
|
|
682
|
+
e.$slots.optionPdf ? {
|
|
683
|
+
name: "optionPdf",
|
|
684
|
+
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
685
|
+
key: "2"
|
|
686
|
+
} : void 0,
|
|
687
|
+
e.$slots.optionCsv ? {
|
|
688
|
+
name: "optionCsv",
|
|
689
|
+
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
690
|
+
key: "3"
|
|
691
|
+
} : void 0,
|
|
692
|
+
e.$slots.optionImg ? {
|
|
693
|
+
name: "optionImg",
|
|
694
|
+
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
695
|
+
key: "4"
|
|
696
|
+
} : void 0,
|
|
697
|
+
e.$slots.optionSvg ? {
|
|
698
|
+
name: "optionSvg",
|
|
699
|
+
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
700
|
+
key: "5"
|
|
701
|
+
} : void 0,
|
|
702
|
+
e.$slots.optionTable ? {
|
|
703
|
+
name: "optionTable",
|
|
704
|
+
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
705
|
+
key: "6"
|
|
706
|
+
} : void 0,
|
|
707
|
+
e.$slots.optionLabels ? {
|
|
708
|
+
name: "optionLabels",
|
|
709
|
+
fn: E(() => [C(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
710
|
+
key: "7"
|
|
711
|
+
} : void 0,
|
|
712
|
+
e.$slots.optionFullscreen ? {
|
|
713
|
+
name: "optionFullscreen",
|
|
714
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(_({
|
|
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: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(_({
|
|
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: E(({ toggleZoom: t, isZoomLocked: n }) => [C(e.$slots, "optionZoom", y(_({
|
|
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: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
739
|
+
key: "11"
|
|
740
|
+
} : void 0,
|
|
741
|
+
e.$slots["custom-menu-before"] ? {
|
|
742
|
+
name: "custom-menu-before",
|
|
743
|
+
fn: E(() => [C(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: E(() => [C(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("."))) : f("", !0),
|
|
752
|
+
(x(), p("svg", {
|
|
753
|
+
ref_key: "svgRef",
|
|
754
|
+
ref: H,
|
|
755
|
+
key: `svg_${ht.value}`,
|
|
756
|
+
xmlns: w(ie),
|
|
757
|
+
viewBox: `${w(Q).x} ${w(Q).y} ${w(Q).width} ${w(Q).height}`,
|
|
758
|
+
class: De({
|
|
759
|
+
"vue-data-ui-fullscreen--on": X.value,
|
|
760
|
+
"vue-data-ui-fulscreen--off": !X.value
|
|
761
|
+
}),
|
|
762
|
+
style: b(`overflow: hidden; background:transparent;color:${L.value.style.chart.color}`)
|
|
763
|
+
}, [
|
|
764
|
+
h(w(Xe)),
|
|
765
|
+
e.$slots["chart-background"] ? (x(), p("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
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, ze)) : f("", !0),
|
|
773
|
+
m("defs", null, [(x(!0), p(Ce, null, ke(Object.keys(Dt.value), (e, t) => (x(), d(ve, {
|
|
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
|
+
w(o)(e, .5),
|
|
785
|
+
1
|
|
786
|
+
], [
|
|
787
|
+
"100%",
|
|
788
|
+
e,
|
|
789
|
+
1
|
|
790
|
+
]]
|
|
791
|
+
}, null, 8, ["id", "stops"]))), 128))]),
|
|
792
|
+
h(w(Ze), {
|
|
793
|
+
dataset: G.value,
|
|
794
|
+
color: L.value.style.chart.links.stroke,
|
|
795
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
796
|
+
useChildColor: L.value.style.chart.links.useChildColor
|
|
797
|
+
}, null, 8, [
|
|
798
|
+
"dataset",
|
|
799
|
+
"color",
|
|
800
|
+
"backgroundColor",
|
|
801
|
+
"useChildColor"
|
|
802
|
+
]),
|
|
803
|
+
h(w($e), {
|
|
804
|
+
dataset: G.value,
|
|
805
|
+
hoveredUid: J.value,
|
|
806
|
+
stroke: L.value.style.chart.nodes.stroke,
|
|
807
|
+
strokeHovered: L.value.style.chart.nodes.strokeHovered,
|
|
808
|
+
onClick: Gt,
|
|
809
|
+
onHover: At
|
|
810
|
+
}, {
|
|
811
|
+
node: E(({ node: t }) => [C(e.$slots, "node", y(_({ node: t })), void 0, !0)]),
|
|
812
|
+
"node-svg": E(({ nodeSvg: t }) => [C(e.$slots, "node-svg", y(_({ nodeSvg: t })), void 0, !0)]),
|
|
813
|
+
_: 3
|
|
814
|
+
}, 8, [
|
|
815
|
+
"dataset",
|
|
816
|
+
"hoveredUid",
|
|
817
|
+
"stroke",
|
|
818
|
+
"strokeHovered"
|
|
819
|
+
]),
|
|
820
|
+
U.value.showDataLabels && !w(z) ? (x(), d(w(Qe), {
|
|
821
|
+
key: 1,
|
|
822
|
+
dataset: G.value,
|
|
823
|
+
color: L.value.style.chart.color,
|
|
824
|
+
hoveredUid: J.value
|
|
825
|
+
}, null, 8, [
|
|
826
|
+
"dataset",
|
|
827
|
+
"color",
|
|
828
|
+
"hoveredUid"
|
|
829
|
+
])) : f("", !0),
|
|
830
|
+
C(e.$slots, "svg", { svg: {
|
|
831
|
+
...W.value,
|
|
832
|
+
drawingArea: { ...w(Q) },
|
|
833
|
+
isPrintingImg: w(_t) || w(vt) || F.value,
|
|
834
|
+
isPrintingSvg: I.value
|
|
835
|
+
} }, void 0, !0)
|
|
836
|
+
], 14, Re)),
|
|
837
|
+
e.$slots.watermark ? (x(), p("div", Be, [C(e.$slots, "watermark", y(_({ isPrinting: w(_t) || w(vt) || F.value || I.value })), void 0, !0)])) : f("", !0),
|
|
838
|
+
w(Ut) ? (x(), p("div", Ve, [C(e.$slots, "reset-action", { reset: w(Ht) }, () => [m("button", {
|
|
839
|
+
"data-cy-reset": "",
|
|
840
|
+
tabindex: "0",
|
|
841
|
+
role: "button",
|
|
842
|
+
class: "vue-data-ui-refresh-button",
|
|
843
|
+
style: b({
|
|
844
|
+
background: L.value.style.chart.backgroundColor,
|
|
845
|
+
cursor: R.value ? "pointer" : "default"
|
|
846
|
+
}),
|
|
847
|
+
onClick: t[0] ||= (e) => w(Ht)(!0)
|
|
848
|
+
}, [h(w(Ge), {
|
|
849
|
+
name: "refresh",
|
|
850
|
+
stroke: L.value.style.chart.color
|
|
851
|
+
}, null, 8, ["stroke"])], 4)], !0)])) : f("", !0),
|
|
852
|
+
e.$slots.source ? (x(), p("div", He, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
853
|
+
h(w(We), {
|
|
854
|
+
teleportTo: L.value.style.chart.tooltip.teleportTo,
|
|
855
|
+
show: U.value.showTooltip && A.value,
|
|
856
|
+
backgroundColor: L.value.style.chart.tooltip.backgroundColor,
|
|
857
|
+
color: L.value.style.chart.tooltip.color,
|
|
858
|
+
borderRadius: L.value.style.chart.tooltip.borderRadius,
|
|
859
|
+
borderColor: L.value.style.chart.tooltip.borderColor,
|
|
860
|
+
borderWidth: L.value.style.chart.tooltip.borderWidth,
|
|
861
|
+
fontSize: L.value.style.chart.tooltip.fontSize,
|
|
862
|
+
backgroundOpacity: L.value.style.chart.tooltip.backgroundOpacity,
|
|
863
|
+
position: L.value.style.chart.tooltip.position,
|
|
864
|
+
offsetX: L.value.style.chart.tooltip.offsetX,
|
|
865
|
+
offsetY: L.value.style.chart.tooltip.offsetY,
|
|
866
|
+
parent: M.value,
|
|
867
|
+
content: j.value,
|
|
868
|
+
isFullscreen: X.value,
|
|
869
|
+
isCustom: L.value.style.chart.tooltip.customFormat && typeof L.value.style.chart.tooltip.customFormat == "function",
|
|
870
|
+
smooth: L.value.style.chart.tooltip.smooth,
|
|
871
|
+
backdropFilter: L.value.style.chart.tooltip.backdropFilter,
|
|
872
|
+
smoothForce: L.value.style.chart.tooltip.smoothForce,
|
|
873
|
+
smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold
|
|
874
|
+
}, {
|
|
875
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(_({ ...K.value })), void 0, !0)]),
|
|
876
|
+
tooltip: E(() => [C(e.$slots, "tooltip", y(_({ ...K.value })), void 0, !0)]),
|
|
877
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(_({ ...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
|
+
at.value && L.value.userOptions.buttons.table ? (x(), d(Ae($.value.component), Ee({ key: 7 }, $.value.props, {
|
|
902
|
+
ref_key: "tableUnit",
|
|
903
|
+
ref: N,
|
|
904
|
+
onClose: qt
|
|
905
|
+
}), we({
|
|
906
|
+
content: E(() => [(x(), d(w(qe), {
|
|
907
|
+
key: `table_${ut.value}`,
|
|
908
|
+
colNames: Y.value.colNames,
|
|
909
|
+
head: Y.value.head,
|
|
910
|
+
body: Y.value.body,
|
|
911
|
+
config: Y.value.config,
|
|
912
|
+
title: L.value.table.useDialog ? "" : $.value.title,
|
|
913
|
+
withCloseButton: !L.value.table.useDialog,
|
|
914
|
+
isCursorPointer: R.value,
|
|
915
|
+
onClose: qt
|
|
916
|
+
}, {
|
|
917
|
+
th: E(({ th: e }) => [m("div", {
|
|
918
|
+
innerHTML: e,
|
|
919
|
+
style: {
|
|
920
|
+
display: "flex",
|
|
921
|
+
"align-items": "center"
|
|
922
|
+
}
|
|
923
|
+
}, null, 8, Ue)]),
|
|
924
|
+
td: E(({ td: e }) => [Te(je(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
|
+
}, [L.value.table.useDialog ? {
|
|
937
|
+
name: "title",
|
|
938
|
+
fn: E(() => [Te(je($.value.title), 1)]),
|
|
939
|
+
key: "0"
|
|
940
|
+
} : void 0, L.value.table.useDialog ? {
|
|
941
|
+
name: "actions",
|
|
942
|
+
fn: E(() => [m("button", {
|
|
943
|
+
tabindex: "0",
|
|
944
|
+
class: "vue-ui-user-options-button",
|
|
945
|
+
onClick: t[1] ||= (e) => Nt(L.value.userOptions.callbacks.csv),
|
|
946
|
+
style: b({ cursor: R.value ? "pointer" : "default" })
|
|
947
|
+
}, [h(w(Ge), {
|
|
948
|
+
name: "fileCsv",
|
|
949
|
+
stroke: $.value.props.color
|
|
950
|
+
}, null, 8, ["stroke"])], 4)]),
|
|
951
|
+
key: "1"
|
|
952
|
+
} : void 0]), 1040)) : f("", !0),
|
|
953
|
+
C(e.$slots, "skeleton", {}, () => [w(z) ? (x(), d(fe, { key: 0 })) : f("", !0)], !0)
|
|
954
|
+
], 46, Fe));
|
|
955
|
+
}
|
|
956
|
+
}, [["__scopeId", "data-v-b2f52ff6"]]);
|
|
957
|
+
//#endregion
|
|
958
|
+
export { Pe as n, D as t };
|