vue-data-ui 3.22.2 → 3.22.4
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-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
- 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 +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
2
|
+
import { Gt as t, J as n, Ot as r, Q as i, S as a, Tt as o, Ut as s, W as ee, X as te, b as ne, jt as re, k as c, ot as l, t as u, vt as ie, w as ae } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as oe } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as se } from "./usePrinter-C0wAS8yc.js";
|
|
5
5
|
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as d } from "./useNestedProp-
|
|
7
|
+
import { t as d } from "./useNestedProp-BjkuFaz1.js";
|
|
8
8
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as fe } from "./img-
|
|
9
|
+
import { t as fe } from "./img-B29J8tV5.js";
|
|
10
10
|
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
11
|
import { t as me } from "./useUserOptionState-DK-_1ddE.js";
|
|
12
12
|
import { t as he } from "./useChartAccessibility-DYqac8yF.js";
|
|
@@ -14,7 +14,7 @@ import { t as ge } from "./vue_ui_molecule-CO9L59SF.js";
|
|
|
14
14
|
import { t as _e } from "./usePanZoom-CYU3B4T3.js";
|
|
15
15
|
import { Fragment as ve, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as ye, createTextVNode as be, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as xe, nextTick as b, normalizeClass as Se, normalizeProps as x, normalizeStyle as S, onMounted as Ce, openBlock as C, ref as w, renderList as we, renderSlot as T, resolveDynamicComponent as Te, toDisplayString as Ee, toRefs as De, unref as E, useCssVars as Oe, watch as D, withCtx as O } from "vue";
|
|
16
16
|
//#region src/components/vue-ui-molecule.vue
|
|
17
|
-
var ke = /* @__PURE__ */ e({ default: () =>
|
|
17
|
+
var ke = /* @__PURE__ */ e({ default: () => k }), Ae = ["id"], je = {
|
|
18
18
|
key: 1,
|
|
19
19
|
ref: "noTitle",
|
|
20
20
|
class: "vue-data-ui-no-title-space",
|
|
@@ -33,7 +33,7 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
33
33
|
key: 6,
|
|
34
34
|
ref: "source",
|
|
35
35
|
dir: "auto"
|
|
36
|
-
}, Ve = ["innerHTML"],
|
|
36
|
+
}, Ve = ["innerHTML"], k = /*#__PURE__*/ pe({
|
|
37
37
|
__name: "vue-ui-molecule",
|
|
38
38
|
props: {
|
|
39
39
|
config: {
|
|
@@ -52,19 +52,19 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
52
52
|
emits: ["selectNode", "copyAlt"],
|
|
53
53
|
setup(e, { expose: pe, emit: ke }) {
|
|
54
54
|
Oe((e) => ({ v2702dffc: en.value }));
|
|
55
|
-
let
|
|
55
|
+
let k = v(() => import("./Title-DDEEO-Nr.js").then((e) => e.t)), He = v(() => import("./Tooltip-BhKov422.js")), Ue = v(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), We = v(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), Ge = v(() => import("./DataTable-PidUPOit.js")), Ke = v(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), qe = v(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Je = v(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), Ye = v(() => import("./RecursiveLinks-BygcpDiT.js")), Xe = v(() => import("./RecursiveLabels-D9rfID6q.js")), Ze = v(() => import("./RecursiveCircles-D6aDPmoe.js")), Qe = v(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_molecule: $e } = oe(), { isThemeValid: et, warnInvalidTheme: tt } = de(), A = e, nt = ke, rt = f(() => !!A.dataset && A.dataset.length);
|
|
56
56
|
Ce(() => {
|
|
57
|
-
|
|
57
|
+
at();
|
|
58
58
|
});
|
|
59
|
-
let
|
|
60
|
-
function
|
|
61
|
-
r(
|
|
59
|
+
let it = f(() => z.value.debug);
|
|
60
|
+
function at() {
|
|
61
|
+
r(A.dataset) && i({
|
|
62
62
|
componentName: "VueUiMolecule",
|
|
63
63
|
type: "dataset",
|
|
64
|
-
debug:
|
|
64
|
+
debug: it.value
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
let
|
|
67
|
+
let j = w(ee()), M = w(!1), N = w(""), P = w(null), ot = w(0), st = w(0), ct = w(0), F = w(null), I = w(null), L = w(!1), R = w(!1), z = w(mt()), B = f(() => z.value.userOptions.useCursorPointer), lt = f(() => t({
|
|
68
68
|
defaultConfig: {
|
|
69
69
|
userOptions: { show: !1 },
|
|
70
70
|
table: { show: !1 },
|
|
@@ -74,12 +74,12 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
74
74
|
links: { stroke: "#6A6A6A80" }
|
|
75
75
|
} }
|
|
76
76
|
},
|
|
77
|
-
userConfig:
|
|
78
|
-
})), { loading:
|
|
79
|
-
...De(
|
|
80
|
-
FINAL_CONFIG:
|
|
77
|
+
userConfig: z.value.skeletonConfig ?? {}
|
|
78
|
+
})), { loading: V, FINAL_DATASET: ut } = ce({
|
|
79
|
+
...De(A),
|
|
80
|
+
FINAL_CONFIG: z,
|
|
81
81
|
prepareConfig: mt,
|
|
82
|
-
skeletonDataset:
|
|
82
|
+
skeletonDataset: A.config?.skeletonDataset ?? [{
|
|
83
83
|
name: "_",
|
|
84
84
|
color: "#CACACA",
|
|
85
85
|
nodes: [
|
|
@@ -193,37 +193,37 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
193
193
|
}
|
|
194
194
|
]
|
|
195
195
|
}],
|
|
196
|
-
skeletonConfig:
|
|
197
|
-
defaultConfig:
|
|
198
|
-
userConfig:
|
|
196
|
+
skeletonConfig: t({
|
|
197
|
+
defaultConfig: z.value,
|
|
198
|
+
userConfig: lt.value
|
|
199
199
|
})
|
|
200
|
-
}), { userOptionsVisible:
|
|
200
|
+
}), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = me({ config: z.value }), { svgRef: H } = he({ config: z.value.style.chart.title });
|
|
201
201
|
function mt() {
|
|
202
202
|
let e = d({
|
|
203
|
-
userConfig:
|
|
204
|
-
defaultConfig:
|
|
203
|
+
userConfig: A.config,
|
|
204
|
+
defaultConfig: $e
|
|
205
205
|
}), t = e.theme;
|
|
206
206
|
if (!t) return e;
|
|
207
|
-
if (!
|
|
207
|
+
if (!et.value(e)) return tt(e), e;
|
|
208
208
|
let n = d({
|
|
209
|
-
userConfig: ge[t] ||
|
|
209
|
+
userConfig: ge[t] || A.config,
|
|
210
210
|
defaultConfig: e
|
|
211
211
|
}), r = d({
|
|
212
|
-
userConfig:
|
|
212
|
+
userConfig: A.config,
|
|
213
213
|
defaultConfig: n
|
|
214
214
|
});
|
|
215
215
|
return {
|
|
216
216
|
...r,
|
|
217
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
217
|
+
customPalette: r.customPalette.length ? r.customPalette : s[t] || re
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
D(() =>
|
|
221
|
-
|
|
220
|
+
D(() => A.config, (e) => {
|
|
221
|
+
z.value = mt(), dt.value = !z.value.userOptions.showOnChartHover, at(), st.value += 1, ct.value += 1, U.value.showTable = z.value.table.show, U.value.showTooltip = z.value.style.chart.tooltip.show, U.value.showZoom = z.value.style.chart.zoom.show;
|
|
222
222
|
}, { deep: !0 });
|
|
223
223
|
let ht = w(0), gt = () => {
|
|
224
224
|
ht.value += 1;
|
|
225
225
|
};
|
|
226
|
-
D([() =>
|
|
226
|
+
D([() => V.value, () => ut.value], async ([e]) => {
|
|
227
227
|
e || (await b(), W.value = wt(), await b(), gt(), await b(), Wt({
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0,
|
|
@@ -235,28 +235,28 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
235
235
|
deep: !1
|
|
236
236
|
});
|
|
237
237
|
let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } = se({
|
|
238
|
-
elementId: `cluster_${
|
|
239
|
-
fileName:
|
|
240
|
-
options:
|
|
241
|
-
}), xt = f(() =>
|
|
242
|
-
showTable:
|
|
238
|
+
elementId: `cluster_${j.value}`,
|
|
239
|
+
fileName: z.value.style.chart.title.text || "vue-ui-molecule",
|
|
240
|
+
options: z.value.userOptions.print
|
|
241
|
+
}), xt = f(() => z.value.userOptions.show && !z.value.style.chart.title.text), St = f(() => a(z.value.customPalette)), U = w({
|
|
242
|
+
showTable: z.value.table.show,
|
|
243
243
|
showDataLabels: !0,
|
|
244
|
-
showTooltip:
|
|
245
|
-
showZoom:
|
|
244
|
+
showTooltip: z.value.style.chart.tooltip.show,
|
|
245
|
+
showZoom: z.value.style.chart.zoom.show
|
|
246
246
|
});
|
|
247
|
-
D(
|
|
247
|
+
D(z, () => {
|
|
248
248
|
U.value = {
|
|
249
|
-
showTable:
|
|
249
|
+
showTable: z.value.table.show,
|
|
250
250
|
showDataLabels: !0,
|
|
251
|
-
showTooltip:
|
|
252
|
-
showZoom:
|
|
251
|
+
showTooltip: z.value.style.chart.tooltip.show,
|
|
252
|
+
showZoom: z.value.style.chart.zoom.show
|
|
253
253
|
};
|
|
254
254
|
}, { immediate: !0 });
|
|
255
255
|
function Ct(e, t = 0) {
|
|
256
256
|
return Array.isArray(e) && e.length > 0 && e[0].nodes ? Ct(e[0].nodes, t + 1) : t;
|
|
257
257
|
}
|
|
258
258
|
function wt() {
|
|
259
|
-
let e = Ct(
|
|
259
|
+
let e = Ct(ut.value), t = 100, n = t;
|
|
260
260
|
for (let r = 0; r < e; r += 1) t /= 1, n += t;
|
|
261
261
|
return {
|
|
262
262
|
height: n,
|
|
@@ -267,20 +267,20 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
267
267
|
function Tt(e, t = {
|
|
268
268
|
x: -W.value.width / 2.43,
|
|
269
269
|
y: W.value.height / 2
|
|
270
|
-
},
|
|
270
|
+
}, n = W.value.width / 1.1, r = 24, i = 0, a = 0, o = "#BBBBBB", s = 0) {
|
|
271
271
|
if (!Array.isArray(e) || e.length === 0) return e;
|
|
272
|
-
let te =
|
|
272
|
+
let te = c({
|
|
273
273
|
plot: t,
|
|
274
|
-
radius:
|
|
274
|
+
radius: n,
|
|
275
275
|
sides: e.length,
|
|
276
|
-
rotation:
|
|
276
|
+
rotation: i
|
|
277
277
|
});
|
|
278
278
|
return e.forEach((e, t) => {
|
|
279
|
-
let
|
|
280
|
-
let t =
|
|
279
|
+
let c = te.coordinates[t], l = e.color ? (() => {
|
|
280
|
+
let t = ne(e.color);
|
|
281
281
|
return t.startsWith("#") ? t : `#${t}`;
|
|
282
282
|
})() : null, u;
|
|
283
|
-
l ? u = l :
|
|
283
|
+
l ? u = l : s === 0 ? u = o : s === 1 ? (u = St.value[a] || re[a] || o, a += 1) : u = o, e.polygonPath = { coordinates: [c] }, e.circleRadius = r, e.color = u, e.strokeWidth = Math.min(z.value.style.chart.links.strokeWidth / (s + 1), r / 2), e.uid = ee(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, c, n / 2.9, r / 2.2, i + Math.PI * t / e.nodes.length, a, u, s + 1));
|
|
284
284
|
}), e;
|
|
285
285
|
}
|
|
286
286
|
function Et(e) {
|
|
@@ -289,7 +289,7 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
289
289
|
e.forEach((e) => {
|
|
290
290
|
if (!e.color) return;
|
|
291
291
|
let r = e.color;
|
|
292
|
-
/^#?[0-9A-F]{6}$/i.test(r) || (r =
|
|
292
|
+
/^#?[0-9A-F]{6}$/i.test(r) || (r = ne(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
295
|
n(e);
|
|
@@ -298,40 +298,40 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
298
298
|
r[e] = `gradient_${e.slice(1)}`;
|
|
299
299
|
}), r;
|
|
300
300
|
}
|
|
301
|
-
let Dt = f(() => Et(G.value)), G = f(() => Tt(
|
|
301
|
+
let Dt = f(() => Et(G.value)), G = f(() => Tt(n(ut.value))), K = w(null);
|
|
302
302
|
function Ot(e) {
|
|
303
303
|
K.value = {
|
|
304
304
|
datapoint: e,
|
|
305
305
|
seriesIndex: -1,
|
|
306
306
|
series: G.value,
|
|
307
|
-
config:
|
|
307
|
+
config: z.value
|
|
308
308
|
};
|
|
309
|
-
let t =
|
|
310
|
-
if (
|
|
309
|
+
let t = z.value.style.chart.tooltip.customFormat;
|
|
310
|
+
if (ie(t) && l(() => t({
|
|
311
311
|
seriesIndex: -1,
|
|
312
312
|
datapoint: e,
|
|
313
313
|
series: G.value,
|
|
314
|
-
config:
|
|
315
|
-
})))
|
|
314
|
+
config: z.value
|
|
315
|
+
}))) N.value = t({
|
|
316
316
|
seriesIndex: -1,
|
|
317
317
|
datapoint: e,
|
|
318
318
|
series: G.value,
|
|
319
|
-
config:
|
|
319
|
+
config: z.value
|
|
320
320
|
});
|
|
321
321
|
else {
|
|
322
322
|
let t = "";
|
|
323
|
-
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 ${
|
|
323
|
+
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 ${z.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), N.value = `<div style="font-family:inherit">${t}</div>`;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
let q = w(null), J = w(null), kt = w(null);
|
|
327
327
|
function At(e) {
|
|
328
|
-
kt.value = q.value, q.value = e, e ?
|
|
328
|
+
kt.value = q.value, q.value = e, e ? z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
329
329
|
datapoint: e,
|
|
330
330
|
seriesIndex: -1
|
|
331
|
-
}) :
|
|
331
|
+
}) : z.value.events.datapointLeave && z.value.events.datapointLeave({
|
|
332
332
|
datapoint: kt.value || q.value,
|
|
333
333
|
seriesIndex: -1
|
|
334
|
-
}), e ? (
|
|
334
|
+
}), e ? (M.value = !0, Ot(e), J.value = e.uid) : (M.value = !1, N.value = "", J.value = null);
|
|
335
335
|
}
|
|
336
336
|
function jt(e) {
|
|
337
337
|
let t = [];
|
|
@@ -350,9 +350,9 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
350
350
|
}
|
|
351
351
|
let Mt = f(() => jt(G.value)), Y = f(() => ({
|
|
352
352
|
head: [
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
z.value.table.translations.nodeName,
|
|
354
|
+
z.value.table.translations.details,
|
|
355
|
+
z.value.table.translations.ancestor
|
|
356
356
|
],
|
|
357
357
|
body: Mt.value.map((e, t) => [
|
|
358
358
|
{
|
|
@@ -364,21 +364,21 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
364
364
|
]),
|
|
365
365
|
config: {
|
|
366
366
|
th: {
|
|
367
|
-
backgroundColor:
|
|
368
|
-
color:
|
|
369
|
-
outline:
|
|
367
|
+
backgroundColor: z.value.table.th.backgroundColor,
|
|
368
|
+
color: z.value.table.th.color,
|
|
369
|
+
outline: z.value.table.th.outline
|
|
370
370
|
},
|
|
371
371
|
td: {
|
|
372
|
-
backgroundColor:
|
|
373
|
-
color:
|
|
374
|
-
outline:
|
|
372
|
+
backgroundColor: z.value.table.td.backgroundColor,
|
|
373
|
+
color: z.value.table.td.color,
|
|
374
|
+
outline: z.value.table.td.outline
|
|
375
375
|
},
|
|
376
|
-
breakpoint:
|
|
376
|
+
breakpoint: z.value.table.responsiveBreakpoint
|
|
377
377
|
},
|
|
378
378
|
colNames: [
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
379
|
+
z.value.table.translations.nodeName,
|
|
380
|
+
z.value.table.translations.details,
|
|
381
|
+
z.value.table.translations.ancestor
|
|
382
382
|
]
|
|
383
383
|
}));
|
|
384
384
|
function Nt(e = null) {
|
|
@@ -387,14 +387,14 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
387
387
|
[e[0].name],
|
|
388
388
|
[e[1]],
|
|
389
389
|
[e[2]]
|
|
390
|
-
]), n =
|
|
391
|
-
[
|
|
392
|
-
[
|
|
390
|
+
]), n = ae([
|
|
391
|
+
[z.value.style.chart.title.text],
|
|
392
|
+
[z.value.style.chart.title.subtitle.text],
|
|
393
393
|
[[...Y.value.head]]
|
|
394
394
|
].concat(t));
|
|
395
|
-
e ? e(n) :
|
|
395
|
+
e ? e(n) : te({
|
|
396
396
|
csvContent: n,
|
|
397
|
-
title:
|
|
397
|
+
title: z.value.style.chart.title.text || "vue-ui-molecule"
|
|
398
398
|
});
|
|
399
399
|
});
|
|
400
400
|
}
|
|
@@ -403,7 +403,7 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
403
403
|
}
|
|
404
404
|
let X = w(!1);
|
|
405
405
|
function Ft(e) {
|
|
406
|
-
X.value = e,
|
|
406
|
+
X.value = e, ot.value += 1;
|
|
407
407
|
}
|
|
408
408
|
function It() {
|
|
409
409
|
U.value.showTable = !U.value.showTable;
|
|
@@ -426,78 +426,78 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
426
426
|
y: 0,
|
|
427
427
|
width: Math.max(10, W.value.width),
|
|
428
428
|
height: Math.max(10, W.value.height)
|
|
429
|
-
},
|
|
429
|
+
}, z.value.style.chart.zoom.speed, Vt);
|
|
430
430
|
function Gt(e) {
|
|
431
|
-
|
|
431
|
+
z.value.events.datapointClick && z.value.events.datapointClick({
|
|
432
432
|
datapoint: e,
|
|
433
433
|
seriesIndex: -1
|
|
434
|
-
}),
|
|
434
|
+
}), nt("selectNode", e);
|
|
435
435
|
}
|
|
436
436
|
async function Kt({ scale: e = 2 } = {}) {
|
|
437
|
-
if (!
|
|
438
|
-
let { width: t, height: n } =
|
|
439
|
-
domElement:
|
|
437
|
+
if (!P.value) return;
|
|
438
|
+
let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
439
|
+
domElement: P.value,
|
|
440
440
|
base64: !0,
|
|
441
441
|
img: !0,
|
|
442
442
|
scale: e
|
|
443
443
|
});
|
|
444
444
|
return {
|
|
445
|
-
imageUri:
|
|
446
|
-
base64:
|
|
447
|
-
title:
|
|
445
|
+
imageUri: i,
|
|
446
|
+
base64: a,
|
|
447
|
+
title: z.value.style.chart.title.text,
|
|
448
448
|
width: t,
|
|
449
449
|
height: n,
|
|
450
450
|
aspectRatio: r
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
453
|
let $ = f(() => {
|
|
454
|
-
let e =
|
|
454
|
+
let e = z.value.table.useDialog && !z.value.table.show, t = U.value.showTable;
|
|
455
455
|
return {
|
|
456
|
-
component: e ?
|
|
457
|
-
title: `${
|
|
456
|
+
component: e ? Qe : We,
|
|
457
|
+
title: `${z.value.style.chart.title.text}${z.value.style.chart.title.subtitle.text ? `: ${z.value.style.chart.title.subtitle.text}` : ""}`,
|
|
458
458
|
props: e ? {
|
|
459
|
-
backgroundColor:
|
|
460
|
-
color:
|
|
461
|
-
headerColor:
|
|
462
|
-
headerBg:
|
|
459
|
+
backgroundColor: z.value.table.th.backgroundColor,
|
|
460
|
+
color: z.value.table.th.color,
|
|
461
|
+
headerColor: z.value.table.th.color,
|
|
462
|
+
headerBg: z.value.table.th.backgroundColor,
|
|
463
463
|
isFullscreen: X.value,
|
|
464
|
-
fullscreenParent:
|
|
464
|
+
fullscreenParent: P.value,
|
|
465
465
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
466
|
-
isCursorPointer:
|
|
466
|
+
isCursorPointer: B.value
|
|
467
467
|
} : {
|
|
468
468
|
hideDetails: !0,
|
|
469
469
|
config: {
|
|
470
470
|
open: t,
|
|
471
471
|
maxHeight: 1e4,
|
|
472
472
|
body: {
|
|
473
|
-
backgroundColor:
|
|
474
|
-
color:
|
|
473
|
+
backgroundColor: z.value.style.chart.backgroundColor,
|
|
474
|
+
color: z.value.style.chart.color
|
|
475
475
|
},
|
|
476
476
|
head: {
|
|
477
|
-
backgroundColor:
|
|
478
|
-
color:
|
|
477
|
+
backgroundColor: z.value.style.chart.backgroundColor,
|
|
478
|
+
color: z.value.style.chart.color
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
};
|
|
483
483
|
});
|
|
484
484
|
D(() => U.value.showTable, (e) => {
|
|
485
|
-
|
|
485
|
+
z.value.table.show || (e && z.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
|
|
486
486
|
});
|
|
487
487
|
function qt() {
|
|
488
|
-
U.value.showTable = !1,
|
|
488
|
+
U.value.showTable = !1, I.value && I.value.setTableIconState(!1);
|
|
489
489
|
}
|
|
490
|
-
let Jt = f(() =>
|
|
490
|
+
let Jt = f(() => z.value.style.chart.backgroundColor), { exportSvg: Yt, getSvg: Xt } = ue({
|
|
491
491
|
svg: H,
|
|
492
|
-
title: f(() =>
|
|
492
|
+
title: f(() => z.value.style.chart.title),
|
|
493
493
|
backgroundColor: Jt
|
|
494
494
|
});
|
|
495
495
|
async function Zt({ isCb: e }) {
|
|
496
|
-
|
|
496
|
+
R.value = !0, await b();
|
|
497
497
|
try {
|
|
498
498
|
if (e) {
|
|
499
499
|
let { blob: e, url: t, text: n, dataUrl: r } = await Xt();
|
|
500
|
-
await Promise.resolve(
|
|
500
|
+
await Promise.resolve(z.value.userOptions.callbacks.svg({
|
|
501
501
|
blob: e,
|
|
502
502
|
url: t,
|
|
503
503
|
text: n,
|
|
@@ -505,34 +505,34 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
505
505
|
}));
|
|
506
506
|
} else await Promise.resolve(Yt());
|
|
507
507
|
} finally {
|
|
508
|
-
|
|
508
|
+
R.value = !1;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
function Qt(e) {
|
|
512
512
|
if (e?.stage === "start") {
|
|
513
|
-
|
|
513
|
+
L.value = !0;
|
|
514
514
|
return;
|
|
515
515
|
}
|
|
516
516
|
if (e?.stage === "end") {
|
|
517
|
-
|
|
517
|
+
L.value = !1;
|
|
518
518
|
return;
|
|
519
519
|
}
|
|
520
520
|
bt();
|
|
521
521
|
}
|
|
522
522
|
async function $t() {
|
|
523
|
-
if (
|
|
524
|
-
config:
|
|
523
|
+
if (nt("copyAlt", {
|
|
524
|
+
config: z.value,
|
|
525
525
|
dataset: G.value
|
|
526
|
-
}), !
|
|
526
|
+
}), !z.value.userOptions.callbacks.altCopy) {
|
|
527
527
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
528
528
|
return;
|
|
529
529
|
}
|
|
530
|
-
await Promise.resolve(
|
|
531
|
-
config:
|
|
530
|
+
await Promise.resolve(z.value.userOptions.callbacks.altCopy({
|
|
531
|
+
config: z.value,
|
|
532
532
|
dataset: G.value
|
|
533
533
|
}));
|
|
534
534
|
}
|
|
535
|
-
let en = f(() =>
|
|
535
|
+
let en = f(() => z.value.style.chart.color);
|
|
536
536
|
return pe({
|
|
537
537
|
getData: Pt,
|
|
538
538
|
getImage: Kt,
|
|
@@ -547,24 +547,24 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
547
547
|
toggleFullscreen: Ft,
|
|
548
548
|
toggleZoom: zt,
|
|
549
549
|
copyAlt: $t
|
|
550
|
-
}), (e,
|
|
550
|
+
}), (e, t) => (C(), h("div", {
|
|
551
551
|
ref_key: "moleculeChart",
|
|
552
|
-
ref:
|
|
552
|
+
ref: P,
|
|
553
553
|
class: Se(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
554
|
-
style: S(`font-family:${
|
|
555
|
-
id: `cluster_${
|
|
556
|
-
onMouseleave:
|
|
554
|
+
style: S(`font-family:${z.value.style.fontFamily};width:100%; text-align:center;background:${z.value.style.chart.backgroundColor}`),
|
|
555
|
+
id: `cluster_${j.value}`,
|
|
556
|
+
onMouseleave: t[2] ||= (e) => {
|
|
557
557
|
q.value = null, J.value = null, E(ft)(!1);
|
|
558
558
|
},
|
|
559
|
-
onMouseenter:
|
|
559
|
+
onMouseenter: t[3] ||= () => E(ft)(!0)
|
|
560
560
|
}, [
|
|
561
|
-
|
|
561
|
+
z.value.userOptions.buttons.annotator && E(H) ? (C(), p(E(Ke), {
|
|
562
562
|
key: 0,
|
|
563
563
|
svgRef: E(H),
|
|
564
|
-
backgroundColor:
|
|
565
|
-
color:
|
|
564
|
+
backgroundColor: z.value.style.chart.backgroundColor,
|
|
565
|
+
color: z.value.style.chart.color,
|
|
566
566
|
active: Z.value,
|
|
567
|
-
isCursorPointer:
|
|
567
|
+
isCursorPointer: B.value,
|
|
568
568
|
onClose: Bt
|
|
569
569
|
}, {
|
|
570
570
|
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -582,49 +582,49 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
582
582
|
"isCursorPointer"
|
|
583
583
|
])) : m("", !0),
|
|
584
584
|
xt.value ? (C(), h("div", je, null, 512)) : m("", !0),
|
|
585
|
-
|
|
586
|
-
key: `title_${
|
|
585
|
+
z.value.style.chart.title.text ? (C(), h("div", Me, [(C(), p(E(k), {
|
|
586
|
+
key: `title_${st.value}`,
|
|
587
587
|
config: {
|
|
588
588
|
title: {
|
|
589
589
|
cy: "molecule-div-title",
|
|
590
|
-
...
|
|
590
|
+
...z.value.style.chart.title
|
|
591
591
|
},
|
|
592
592
|
subtitle: {
|
|
593
593
|
cy: "molecule-div-subtitle",
|
|
594
|
-
...
|
|
594
|
+
...z.value.style.chart.title.subtitle
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
}, null, 8, ["config"]))])) : m("", !0),
|
|
598
|
-
|
|
598
|
+
z.value.userOptions.show && rt.value && (E(pt) || E(dt)) ? (C(), p(E(qe), {
|
|
599
599
|
ref_key: "userOptionsRef",
|
|
600
|
-
ref:
|
|
601
|
-
key: `user_options_${
|
|
602
|
-
backgroundColor:
|
|
603
|
-
color:
|
|
600
|
+
ref: I,
|
|
601
|
+
key: `user_options_${ot.value}`,
|
|
602
|
+
backgroundColor: z.value.style.chart.backgroundColor,
|
|
603
|
+
color: z.value.style.chart.color,
|
|
604
604
|
isPrinting: E(_t),
|
|
605
605
|
isImaging: E(vt),
|
|
606
|
-
uid:
|
|
607
|
-
hasTooltip:
|
|
608
|
-
hasPdf:
|
|
609
|
-
hasXls:
|
|
610
|
-
hasImg:
|
|
611
|
-
hasSvg:
|
|
612
|
-
hasTable:
|
|
613
|
-
hasLabel:
|
|
614
|
-
hasFullscreen:
|
|
615
|
-
hasAltCopy:
|
|
606
|
+
uid: j.value,
|
|
607
|
+
hasTooltip: z.value.userOptions.buttons.tooltip && z.value.style.chart.tooltip.show,
|
|
608
|
+
hasPdf: z.value.userOptions.buttons.pdf,
|
|
609
|
+
hasXls: z.value.userOptions.buttons.csv,
|
|
610
|
+
hasImg: z.value.userOptions.buttons.img,
|
|
611
|
+
hasSvg: z.value.userOptions.buttons.svg,
|
|
612
|
+
hasTable: z.value.userOptions.buttons.table,
|
|
613
|
+
hasLabel: z.value.userOptions.buttons.labels,
|
|
614
|
+
hasFullscreen: z.value.userOptions.buttons.fullscreen,
|
|
615
|
+
hasAltCopy: z.value.userOptions.buttons.altCopy,
|
|
616
616
|
isTooltip: U.value.showTooltip,
|
|
617
|
-
titles: { ...
|
|
618
|
-
chartElement:
|
|
619
|
-
position:
|
|
620
|
-
hasAnnotator:
|
|
617
|
+
titles: { ...z.value.userOptions.buttonTitles },
|
|
618
|
+
chartElement: P.value,
|
|
619
|
+
position: z.value.userOptions.position,
|
|
620
|
+
hasAnnotator: z.value.userOptions.buttons.annotator,
|
|
621
621
|
isAnnotation: Z.value,
|
|
622
|
-
callbacks:
|
|
623
|
-
printScale:
|
|
624
|
-
tableDialog:
|
|
625
|
-
hasZoom:
|
|
622
|
+
callbacks: z.value.userOptions.callbacks,
|
|
623
|
+
printScale: z.value.userOptions.print.scale,
|
|
624
|
+
tableDialog: z.value.table.useDialog,
|
|
625
|
+
hasZoom: z.value.userOptions.buttons.zoom,
|
|
626
626
|
isZoom: U.value.showZoom,
|
|
627
|
-
isCursorPointer:
|
|
627
|
+
isCursorPointer: B.value,
|
|
628
628
|
onToggleFullscreen: Ft,
|
|
629
629
|
onGeneratePdf: E(yt),
|
|
630
630
|
onGenerateCsv: Nt,
|
|
@@ -636,7 +636,7 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
636
636
|
onToggleAnnotator: Bt,
|
|
637
637
|
onToggleZoom: zt,
|
|
638
638
|
onCopyAlt: $t,
|
|
639
|
-
style: S({ visibility: E(pt) ? E(
|
|
639
|
+
style: S({ visibility: E(pt) ? E(dt) ? "visible" : "hidden" : "visible" })
|
|
640
640
|
}, ye({ _: 2 }, [
|
|
641
641
|
e.$slots.menuIcon ? {
|
|
642
642
|
name: "menuIcon",
|
|
@@ -725,15 +725,15 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
725
725
|
ref_key: "svgRef",
|
|
726
726
|
ref: H,
|
|
727
727
|
key: `svg_${ht.value}`,
|
|
728
|
-
xmlns: E(
|
|
728
|
+
xmlns: E(u),
|
|
729
729
|
viewBox: `${E(Q).x} ${E(Q).y} ${E(Q).width} ${E(Q).height}`,
|
|
730
730
|
class: Se({
|
|
731
731
|
"vue-data-ui-fullscreen--on": X.value,
|
|
732
732
|
"vue-data-ui-fulscreen--off": !X.value
|
|
733
733
|
}),
|
|
734
|
-
style: S(`overflow: hidden; background:transparent;color:${
|
|
734
|
+
style: S(`overflow: hidden; background:transparent;color:${z.value.style.chart.color}`)
|
|
735
735
|
}, [
|
|
736
|
-
_(E(
|
|
736
|
+
_(E(Je)),
|
|
737
737
|
e.$slots["chart-background"] ? (C(), h("foreignObject", {
|
|
738
738
|
key: 0,
|
|
739
739
|
x: 0,
|
|
@@ -751,27 +751,27 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
751
751
|
fy: "50%"
|
|
752
752
|
}, [g("stop", {
|
|
753
753
|
offset: "0%",
|
|
754
|
-
"stop-color": E(
|
|
754
|
+
"stop-color": E(o)(e, .5)
|
|
755
755
|
}, null, 8, Ie), g("stop", {
|
|
756
756
|
offset: "100%",
|
|
757
757
|
"stop-color": e
|
|
758
758
|
}, null, 8, Le)], 8, Fe))), 256))]),
|
|
759
|
-
_(E(
|
|
759
|
+
_(E(Ye), {
|
|
760
760
|
dataset: G.value,
|
|
761
|
-
color:
|
|
762
|
-
backgroundColor:
|
|
763
|
-
useChildColor:
|
|
761
|
+
color: z.value.style.chart.links.stroke,
|
|
762
|
+
backgroundColor: z.value.style.chart.backgroundColor,
|
|
763
|
+
useChildColor: z.value.style.chart.links.useChildColor
|
|
764
764
|
}, null, 8, [
|
|
765
765
|
"dataset",
|
|
766
766
|
"color",
|
|
767
767
|
"backgroundColor",
|
|
768
768
|
"useChildColor"
|
|
769
769
|
]),
|
|
770
|
-
_(E(
|
|
770
|
+
_(E(Ze), {
|
|
771
771
|
dataset: G.value,
|
|
772
772
|
hoveredUid: J.value,
|
|
773
|
-
stroke:
|
|
774
|
-
strokeHovered:
|
|
773
|
+
stroke: z.value.style.chart.nodes.stroke,
|
|
774
|
+
strokeHovered: z.value.style.chart.nodes.strokeHovered,
|
|
775
775
|
onClick: Gt,
|
|
776
776
|
onHover: At
|
|
777
777
|
}, {
|
|
@@ -784,10 +784,10 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
784
784
|
"stroke",
|
|
785
785
|
"strokeHovered"
|
|
786
786
|
]),
|
|
787
|
-
U.value.showDataLabels && !E(
|
|
787
|
+
U.value.showDataLabels && !E(V) ? (C(), p(E(Xe), {
|
|
788
788
|
key: 1,
|
|
789
789
|
dataset: G.value,
|
|
790
|
-
color:
|
|
790
|
+
color: z.value.style.chart.color,
|
|
791
791
|
hoveredUid: J.value
|
|
792
792
|
}, null, 8, [
|
|
793
793
|
"dataset",
|
|
@@ -797,47 +797,47 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
797
797
|
T(e.$slots, "svg", { svg: {
|
|
798
798
|
...W.value,
|
|
799
799
|
drawingArea: { ...E(Q) },
|
|
800
|
-
isPrintingImg: E(_t) || E(vt) ||
|
|
801
|
-
isPrintingSvg:
|
|
800
|
+
isPrintingImg: E(_t) || E(vt) || L.value,
|
|
801
|
+
isPrintingSvg: R.value
|
|
802
802
|
} }, void 0, !0)
|
|
803
803
|
], 14, Ne)),
|
|
804
|
-
e.$slots.watermark ? (C(), h("div", Re, [T(e.$slots, "watermark", x(y({ isPrinting: E(_t) || E(vt) ||
|
|
804
|
+
e.$slots.watermark ? (C(), h("div", Re, [T(e.$slots, "watermark", x(y({ isPrinting: E(_t) || E(vt) || L.value || R.value })), void 0, !0)])) : m("", !0),
|
|
805
805
|
E(Ut) ? (C(), h("div", ze, [T(e.$slots, "reset-action", { reset: E(Ht) }, () => [g("button", {
|
|
806
806
|
"data-cy-reset": "",
|
|
807
807
|
tabindex: "0",
|
|
808
808
|
role: "button",
|
|
809
809
|
class: "vue-data-ui-refresh-button",
|
|
810
810
|
style: S({
|
|
811
|
-
background:
|
|
812
|
-
cursor:
|
|
811
|
+
background: z.value.style.chart.backgroundColor,
|
|
812
|
+
cursor: B.value ? "pointer" : "default"
|
|
813
813
|
}),
|
|
814
|
-
onClick:
|
|
815
|
-
}, [_(E(
|
|
814
|
+
onClick: t[0] ||= (e) => E(Ht)(!0)
|
|
815
|
+
}, [_(E(Ue), {
|
|
816
816
|
name: "refresh",
|
|
817
|
-
stroke:
|
|
817
|
+
stroke: z.value.style.chart.color
|
|
818
818
|
}, null, 8, ["stroke"])], 4)], !0)])) : m("", !0),
|
|
819
819
|
e.$slots.source ? (C(), h("div", Be, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
820
|
-
_(E(
|
|
821
|
-
teleportTo:
|
|
822
|
-
show: U.value.showTooltip &&
|
|
823
|
-
backgroundColor:
|
|
824
|
-
color:
|
|
825
|
-
borderRadius:
|
|
826
|
-
borderColor:
|
|
827
|
-
borderWidth:
|
|
828
|
-
fontSize:
|
|
829
|
-
backgroundOpacity:
|
|
830
|
-
position:
|
|
831
|
-
offsetX:
|
|
832
|
-
offsetY:
|
|
833
|
-
parent:
|
|
834
|
-
content:
|
|
820
|
+
_(E(He), {
|
|
821
|
+
teleportTo: z.value.style.chart.tooltip.teleportTo,
|
|
822
|
+
show: U.value.showTooltip && M.value,
|
|
823
|
+
backgroundColor: z.value.style.chart.tooltip.backgroundColor,
|
|
824
|
+
color: z.value.style.chart.tooltip.color,
|
|
825
|
+
borderRadius: z.value.style.chart.tooltip.borderRadius,
|
|
826
|
+
borderColor: z.value.style.chart.tooltip.borderColor,
|
|
827
|
+
borderWidth: z.value.style.chart.tooltip.borderWidth,
|
|
828
|
+
fontSize: z.value.style.chart.tooltip.fontSize,
|
|
829
|
+
backgroundOpacity: z.value.style.chart.tooltip.backgroundOpacity,
|
|
830
|
+
position: z.value.style.chart.tooltip.position,
|
|
831
|
+
offsetX: z.value.style.chart.tooltip.offsetX,
|
|
832
|
+
offsetY: z.value.style.chart.tooltip.offsetY,
|
|
833
|
+
parent: P.value,
|
|
834
|
+
content: N.value,
|
|
835
835
|
isFullscreen: X.value,
|
|
836
|
-
isCustom:
|
|
837
|
-
smooth:
|
|
838
|
-
backdropFilter:
|
|
839
|
-
smoothForce:
|
|
840
|
-
smoothSnapThreshold:
|
|
836
|
+
isCustom: z.value.style.chart.tooltip.customFormat && typeof z.value.style.chart.tooltip.customFormat == "function",
|
|
837
|
+
smooth: z.value.style.chart.tooltip.smooth,
|
|
838
|
+
backdropFilter: z.value.style.chart.tooltip.backdropFilter,
|
|
839
|
+
smoothForce: z.value.style.chart.tooltip.smoothForce,
|
|
840
|
+
smoothSnapThreshold: z.value.style.chart.tooltip.smoothSnapThreshold
|
|
841
841
|
}, {
|
|
842
842
|
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...K.value })), void 0, !0)]),
|
|
843
843
|
tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...K.value })), void 0, !0)]),
|
|
@@ -865,20 +865,20 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
865
865
|
"smoothForce",
|
|
866
866
|
"smoothSnapThreshold"
|
|
867
867
|
]),
|
|
868
|
-
|
|
868
|
+
rt.value && z.value.userOptions.buttons.table ? (C(), p(Te($.value.component), xe({ key: 7 }, $.value.props, {
|
|
869
869
|
ref_key: "tableUnit",
|
|
870
|
-
ref:
|
|
870
|
+
ref: F,
|
|
871
871
|
onClose: qt
|
|
872
872
|
}), ye({
|
|
873
|
-
content: O(() => [(C(), p(E(
|
|
874
|
-
key: `table_${
|
|
873
|
+
content: O(() => [(C(), p(E(Ge), {
|
|
874
|
+
key: `table_${ct.value}`,
|
|
875
875
|
colNames: Y.value.colNames,
|
|
876
876
|
head: Y.value.head,
|
|
877
877
|
body: Y.value.body,
|
|
878
878
|
config: Y.value.config,
|
|
879
|
-
title:
|
|
880
|
-
withCloseButton: !
|
|
881
|
-
isCursorPointer:
|
|
879
|
+
title: z.value.table.useDialog ? "" : $.value.title,
|
|
880
|
+
withCloseButton: !z.value.table.useDialog,
|
|
881
|
+
isCursorPointer: B.value,
|
|
882
882
|
onClose: qt
|
|
883
883
|
}, {
|
|
884
884
|
th: O(({ th: e }) => [g("div", {
|
|
@@ -900,26 +900,26 @@ var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
|
900
900
|
"isCursorPointer"
|
|
901
901
|
]))]),
|
|
902
902
|
_: 2
|
|
903
|
-
}, [
|
|
903
|
+
}, [z.value.table.useDialog ? {
|
|
904
904
|
name: "title",
|
|
905
905
|
fn: O(() => [be(Ee($.value.title), 1)]),
|
|
906
906
|
key: "0"
|
|
907
|
-
} : void 0,
|
|
907
|
+
} : void 0, z.value.table.useDialog ? {
|
|
908
908
|
name: "actions",
|
|
909
909
|
fn: O(() => [g("button", {
|
|
910
910
|
tabindex: "0",
|
|
911
911
|
class: "vue-ui-user-options-button",
|
|
912
|
-
onClick:
|
|
913
|
-
style: S({ cursor:
|
|
914
|
-
}, [_(E(
|
|
912
|
+
onClick: t[1] ||= (e) => Nt(z.value.userOptions.callbacks.csv),
|
|
913
|
+
style: S({ cursor: B.value ? "pointer" : "default" })
|
|
914
|
+
}, [_(E(Ue), {
|
|
915
915
|
name: "fileCsv",
|
|
916
916
|
stroke: $.value.props.color
|
|
917
917
|
}, null, 8, ["stroke"])], 4)]),
|
|
918
918
|
key: "1"
|
|
919
919
|
} : void 0]), 1040)) : m("", !0),
|
|
920
|
-
T(e.$slots, "skeleton", {}, () => [E(
|
|
920
|
+
T(e.$slots, "skeleton", {}, () => [E(V) ? (C(), p(le, { key: 0 })) : m("", !0)], !0)
|
|
921
921
|
], 46, Ae));
|
|
922
922
|
}
|
|
923
923
|
}, [["__scopeId", "data-v-102eae3a"]]);
|
|
924
924
|
//#endregion
|
|
925
|
-
export { ke as n,
|
|
925
|
+
export { ke as n, k as t };
|