vue-data-ui 3.22.0 → 3.22.2
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-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +7 -10
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
- package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
- package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
- package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
- package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
- package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
- package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
- package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
- package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
- package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
- package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
- package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
- package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
- package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
- package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
- package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
- package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
- package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
- package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
- package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { Fragment as
|
|
2
|
+
import { Ct as t, D as n, Et as r, H as ee, J as i, K as a, S as o, Ut as s, Vt as c, X as te, gt as l, it as u, kt as ne, t as re, x as ie, y as ae } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as oe } from "./useConfig-Bf_EBbe3.js";
|
|
4
|
+
import { t as se } from "./usePrinter-Dng0UK-G.js";
|
|
5
|
+
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as d } from "./useNestedProp-APyFoLCQ.js";
|
|
8
|
+
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as fe } from "./img-BCAOkqfM.js";
|
|
10
|
+
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
|
+
import { t as me } from "./useUserOptionState-DK-_1ddE.js";
|
|
12
|
+
import { t as he } from "./useChartAccessibility-DYqac8yF.js";
|
|
13
|
+
import { t as ge } from "./vue_ui_molecule-CO9L59SF.js";
|
|
14
|
+
import { t as _e } from "./usePanZoom-CYU3B4T3.js";
|
|
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
|
|
17
|
+
var ke = /* @__PURE__ */ e({ default: () => He }), Ae = ["id"], je = {
|
|
18
18
|
key: 1,
|
|
19
19
|
ref: "noTitle",
|
|
20
20
|
class: "vue-data-ui-no-title-space",
|
|
21
21
|
style: "height:36px; width: 100%;background:transparent"
|
|
22
|
-
},
|
|
22
|
+
}, Me = {
|
|
23
23
|
key: 2,
|
|
24
24
|
style: "width:100%;background:transparent;"
|
|
25
|
-
},
|
|
25
|
+
}, Ne = ["xmlns", "viewBox"], Pe = ["width", "height"], Fe = ["id"], Ie = ["stop-color"], Le = ["stop-color"], Re = {
|
|
26
26
|
key: 4,
|
|
27
27
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
28
|
+
}, ze = {
|
|
29
29
|
key: 5,
|
|
30
30
|
"data-dom-to-png-ignore": "",
|
|
31
31
|
class: "reset-wrapper"
|
|
32
|
-
},
|
|
32
|
+
}, Be = {
|
|
33
33
|
key: 6,
|
|
34
34
|
ref: "source",
|
|
35
35
|
dir: "auto"
|
|
36
|
-
},
|
|
36
|
+
}, Ve = ["innerHTML"], He = /*#__PURE__*/ pe({
|
|
37
37
|
__name: "vue-ui-molecule",
|
|
38
38
|
props: {
|
|
39
39
|
config: {
|
|
@@ -50,21 +50,21 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
emits: ["selectNode", "copyAlt"],
|
|
53
|
-
setup(e, { expose:
|
|
54
|
-
|
|
55
|
-
let
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
setup(e, { expose: pe, emit: ke }) {
|
|
54
|
+
Oe((e) => ({ v2702dffc: en.value }));
|
|
55
|
+
let He = v(() => import("./Title-CVYf1f8m.js").then((e) => e.t)), Ue = v(() => import("./Tooltip-BmGCBJuU.js")), We = v(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), Ge = v(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), Ke = v(() => import("./DataTable-DJZgdnIn.js")), qe = v(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Je = v(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Ye = v(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), Xe = v(() => import("./RecursiveLinks-BygcpDiT.js")), Ze = v(() => import("./RecursiveLabels-D9rfID6q.js")), Qe = v(() => import("./RecursiveCircles-D6aDPmoe.js")), $e = v(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_molecule: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = de(), k = e, rt = ke, it = f(() => !!k.dataset && k.dataset.length);
|
|
56
|
+
Ce(() => {
|
|
57
|
+
ot();
|
|
58
58
|
});
|
|
59
|
-
let
|
|
60
|
-
function
|
|
61
|
-
|
|
59
|
+
let at = f(() => L.value.debug);
|
|
60
|
+
function ot() {
|
|
61
|
+
r(k.dataset) && te({
|
|
62
62
|
componentName: "VueUiMolecule",
|
|
63
63
|
type: "dataset",
|
|
64
|
-
debug:
|
|
64
|
+
debug: at.value
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
let
|
|
67
|
+
let st = w(ee()), A = w(!1), j = w(""), M = w(null), ct = w(0), lt = w(0), ut = w(0), N = w(null), P = w(null), F = w(!1), I = w(!1), L = w(mt()), R = f(() => L.value.userOptions.useCursorPointer), dt = f(() => s({
|
|
68
68
|
defaultConfig: {
|
|
69
69
|
userOptions: { show: !1 },
|
|
70
70
|
table: { show: !1 },
|
|
@@ -75,11 +75,11 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
75
75
|
} }
|
|
76
76
|
},
|
|
77
77
|
userConfig: L.value.skeletonConfig ?? {}
|
|
78
|
-
})), { loading: z, FINAL_DATASET: B } =
|
|
79
|
-
...
|
|
78
|
+
})), { loading: z, FINAL_DATASET: B } = ce({
|
|
79
|
+
...De(k),
|
|
80
80
|
FINAL_CONFIG: L,
|
|
81
81
|
prepareConfig: mt,
|
|
82
|
-
skeletonDataset:
|
|
82
|
+
skeletonDataset: k.config?.skeletonDataset ?? [{
|
|
83
83
|
name: "_",
|
|
84
84
|
color: "#CACACA",
|
|
85
85
|
nodes: [
|
|
@@ -193,38 +193,38 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
193
193
|
}
|
|
194
194
|
]
|
|
195
195
|
}],
|
|
196
|
-
skeletonConfig:
|
|
196
|
+
skeletonConfig: s({
|
|
197
197
|
defaultConfig: L.value,
|
|
198
198
|
userConfig: dt.value
|
|
199
199
|
})
|
|
200
|
-
}), { userOptionsVisible: V, setUserOptionsVisibility: ft, keepUserOptionState: pt } =
|
|
200
|
+
}), { userOptionsVisible: V, setUserOptionsVisibility: ft, keepUserOptionState: pt } = me({ config: L.value }), { svgRef: H } = he({ config: L.value.style.chart.title });
|
|
201
201
|
function mt() {
|
|
202
|
-
let e =
|
|
203
|
-
userConfig:
|
|
204
|
-
defaultConfig:
|
|
205
|
-
}),
|
|
206
|
-
if (!
|
|
207
|
-
if (!
|
|
208
|
-
let
|
|
209
|
-
userConfig:
|
|
202
|
+
let e = d({
|
|
203
|
+
userConfig: k.config,
|
|
204
|
+
defaultConfig: et
|
|
205
|
+
}), t = e.theme;
|
|
206
|
+
if (!t) return e;
|
|
207
|
+
if (!tt.value(e)) return nt(e), e;
|
|
208
|
+
let n = d({
|
|
209
|
+
userConfig: ge[t] || k.config,
|
|
210
210
|
defaultConfig: e
|
|
211
|
-
}),
|
|
212
|
-
userConfig:
|
|
213
|
-
defaultConfig:
|
|
211
|
+
}), r = d({
|
|
212
|
+
userConfig: k.config,
|
|
213
|
+
defaultConfig: n
|
|
214
214
|
});
|
|
215
215
|
return {
|
|
216
|
-
...
|
|
217
|
-
customPalette:
|
|
216
|
+
...r,
|
|
217
|
+
customPalette: r.customPalette.length ? r.customPalette : c[t] || ne
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
|
|
221
|
-
L.value = mt(), V.value = !L.value.userOptions.showOnChartHover,
|
|
220
|
+
D(() => k.config, (e) => {
|
|
221
|
+
L.value = mt(), V.value = !L.value.userOptions.showOnChartHover, ot(), 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;
|
|
222
222
|
}, { deep: !0 });
|
|
223
|
-
let ht =
|
|
223
|
+
let ht = w(0), gt = () => {
|
|
224
224
|
ht.value += 1;
|
|
225
225
|
};
|
|
226
|
-
|
|
227
|
-
e || (await
|
|
226
|
+
D([() => z.value, () => B.value], async ([e]) => {
|
|
227
|
+
e || (await b(), W.value = wt(), await b(), gt(), await b(), Wt({
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0,
|
|
230
230
|
width: 400,
|
|
@@ -234,17 +234,17 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
234
234
|
flush: "post",
|
|
235
235
|
deep: !1
|
|
236
236
|
});
|
|
237
|
-
let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } =
|
|
238
|
-
elementId: `cluster_${
|
|
237
|
+
let { isPrinting: _t, isImaging: vt, generatePdf: yt, generateImage: bt } = se({
|
|
238
|
+
elementId: `cluster_${st.value}`,
|
|
239
239
|
fileName: L.value.style.chart.title.text || "vue-ui-molecule",
|
|
240
240
|
options: L.value.userOptions.print
|
|
241
|
-
}), xt =
|
|
241
|
+
}), xt = f(() => L.value.userOptions.show && !L.value.style.chart.title.text), St = f(() => ie(L.value.customPalette)), U = w({
|
|
242
242
|
showTable: L.value.table.show,
|
|
243
243
|
showDataLabels: !0,
|
|
244
244
|
showTooltip: L.value.style.chart.tooltip.show,
|
|
245
245
|
showZoom: L.value.style.chart.zoom.show
|
|
246
246
|
});
|
|
247
|
-
|
|
247
|
+
D(L, () => {
|
|
248
248
|
U.value = {
|
|
249
249
|
showTable: L.value.table.show,
|
|
250
250
|
showDataLabels: !0,
|
|
@@ -263,24 +263,24 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
263
263
|
width: n
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
let W =
|
|
266
|
+
let W = w(wt());
|
|
267
267
|
function Tt(e, t = {
|
|
268
268
|
x: -W.value.width / 2.43,
|
|
269
269
|
y: W.value.height / 2
|
|
270
|
-
},
|
|
270
|
+
}, r = W.value.width / 1.1, i = 24, a = 0, o = 0, s = "#BBBBBB", c = 0) {
|
|
271
271
|
if (!Array.isArray(e) || e.length === 0) return e;
|
|
272
272
|
let te = n({
|
|
273
273
|
plot: t,
|
|
274
|
-
radius:
|
|
274
|
+
radius: r,
|
|
275
275
|
sides: e.length,
|
|
276
|
-
rotation:
|
|
276
|
+
rotation: a
|
|
277
277
|
});
|
|
278
278
|
return e.forEach((e, t) => {
|
|
279
|
-
let n = te.coordinates[t],
|
|
280
|
-
let t =
|
|
279
|
+
let n = te.coordinates[t], l = e.color ? (() => {
|
|
280
|
+
let t = ae(e.color);
|
|
281
281
|
return t.startsWith("#") ? t : `#${t}`;
|
|
282
|
-
})() : null,
|
|
283
|
-
|
|
282
|
+
})() : null, u;
|
|
283
|
+
l ? u = l : c === 0 ? u = s : c === 1 ? (u = St.value[o] || ne[o] || s, o += 1) : u = s, e.polygonPath = { coordinates: [n] }, e.circleRadius = i, e.color = u, e.strokeWidth = Math.min(L.value.style.chart.links.strokeWidth / (c + 1), i / 2), e.uid = ee(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, n, r / 2.9, i / 2.2, a + Math.PI * t / e.nodes.length, o, u, c + 1));
|
|
284
284
|
}), e;
|
|
285
285
|
}
|
|
286
286
|
function Et(e) {
|
|
@@ -289,7 +289,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
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 = ae(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,7 +298,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
298
298
|
r[e] = `gradient_${e.slice(1)}`;
|
|
299
299
|
}), r;
|
|
300
300
|
}
|
|
301
|
-
let Dt =
|
|
301
|
+
let Dt = f(() => Et(G.value)), G = f(() => Tt(a(B.value))), K = w(null);
|
|
302
302
|
function Ot(e) {
|
|
303
303
|
K.value = {
|
|
304
304
|
datapoint: e,
|
|
@@ -307,7 +307,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
307
307
|
config: L.value
|
|
308
308
|
};
|
|
309
309
|
let t = L.value.style.chart.tooltip.customFormat;
|
|
310
|
-
if (
|
|
310
|
+
if (l(t) && u(() => t({
|
|
311
311
|
seriesIndex: -1,
|
|
312
312
|
datapoint: e,
|
|
313
313
|
series: G.value,
|
|
@@ -323,7 +323,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
323
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 ${L.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), j.value = `<div style="font-family:inherit">${t}</div>`;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
let q =
|
|
326
|
+
let q = w(null), J = w(null), kt = w(null);
|
|
327
327
|
function At(e) {
|
|
328
328
|
kt.value = q.value, q.value = e, e ? L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
329
329
|
datapoint: e,
|
|
@@ -331,7 +331,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
331
331
|
}) : L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
332
332
|
datapoint: kt.value || q.value,
|
|
333
333
|
seriesIndex: -1
|
|
334
|
-
}), e ? (
|
|
334
|
+
}), e ? (A.value = !0, Ot(e), J.value = e.uid) : (A.value = !1, j.value = "", J.value = null);
|
|
335
335
|
}
|
|
336
336
|
function jt(e) {
|
|
337
337
|
let t = [];
|
|
@@ -348,7 +348,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
348
348
|
}
|
|
349
349
|
return n(e), t;
|
|
350
350
|
}
|
|
351
|
-
let Mt =
|
|
351
|
+
let Mt = f(() => jt(G.value)), Y = f(() => ({
|
|
352
352
|
head: [
|
|
353
353
|
L.value.table.translations.nodeName,
|
|
354
354
|
L.value.table.translations.details,
|
|
@@ -382,17 +382,17 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
382
382
|
]
|
|
383
383
|
}));
|
|
384
384
|
function Nt(e = null) {
|
|
385
|
-
|
|
385
|
+
b(() => {
|
|
386
386
|
let t = Y.value.body.map((e, t) => [
|
|
387
387
|
[e[0].name],
|
|
388
388
|
[e[1]],
|
|
389
389
|
[e[2]]
|
|
390
|
-
]), n =
|
|
390
|
+
]), n = o([
|
|
391
391
|
[L.value.style.chart.title.text],
|
|
392
392
|
[L.value.style.chart.title.subtitle.text],
|
|
393
393
|
[[...Y.value.head]]
|
|
394
394
|
].concat(t));
|
|
395
|
-
e ? e(n) :
|
|
395
|
+
e ? e(n) : i({
|
|
396
396
|
csvContent: n,
|
|
397
397
|
title: L.value.style.chart.title.text || "vue-ui-molecule"
|
|
398
398
|
});
|
|
@@ -401,7 +401,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
401
401
|
function Pt() {
|
|
402
402
|
return G.value;
|
|
403
403
|
}
|
|
404
|
-
let X =
|
|
404
|
+
let X = w(!1);
|
|
405
405
|
function Ft(e) {
|
|
406
406
|
X.value = e, ct.value += 1;
|
|
407
407
|
}
|
|
@@ -417,11 +417,11 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
417
417
|
function zt() {
|
|
418
418
|
U.value.showZoom = !U.value.showZoom;
|
|
419
419
|
}
|
|
420
|
-
let Z =
|
|
420
|
+
let Z = w(!1);
|
|
421
421
|
function Bt() {
|
|
422
422
|
Z.value = !Z.value;
|
|
423
423
|
}
|
|
424
|
-
let Vt =
|
|
424
|
+
let Vt = f(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = _e(H, {
|
|
425
425
|
x: 0,
|
|
426
426
|
y: 0,
|
|
427
427
|
width: Math.max(10, W.value.width),
|
|
@@ -431,29 +431,29 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
431
431
|
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
432
432
|
datapoint: e,
|
|
433
433
|
seriesIndex: -1
|
|
434
|
-
}),
|
|
434
|
+
}), rt("selectNode", e);
|
|
435
435
|
}
|
|
436
436
|
async function Kt({ scale: e = 2 } = {}) {
|
|
437
437
|
if (!M.value) return;
|
|
438
|
-
let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri:
|
|
438
|
+
let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await fe({
|
|
439
439
|
domElement: M.value,
|
|
440
440
|
base64: !0,
|
|
441
441
|
img: !0,
|
|
442
442
|
scale: e
|
|
443
443
|
});
|
|
444
444
|
return {
|
|
445
|
-
imageUri:
|
|
446
|
-
base64:
|
|
445
|
+
imageUri: ee,
|
|
446
|
+
base64: i,
|
|
447
447
|
title: L.value.style.chart.title.text,
|
|
448
448
|
width: t,
|
|
449
449
|
height: n,
|
|
450
450
|
aspectRatio: r
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
let $ =
|
|
453
|
+
let $ = f(() => {
|
|
454
454
|
let e = L.value.table.useDialog && !L.value.table.show, t = U.value.showTable;
|
|
455
455
|
return {
|
|
456
|
-
component: e ?
|
|
456
|
+
component: e ? $e : Ge,
|
|
457
457
|
title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
|
|
458
458
|
props: e ? {
|
|
459
459
|
backgroundColor: L.value.table.th.backgroundColor,
|
|
@@ -481,19 +481,19 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
481
481
|
}
|
|
482
482
|
};
|
|
483
483
|
});
|
|
484
|
-
|
|
484
|
+
D(() => U.value.showTable, (e) => {
|
|
485
485
|
L.value.table.show || (e && L.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
|
|
486
486
|
});
|
|
487
487
|
function qt() {
|
|
488
488
|
U.value.showTable = !1, P.value && P.value.setTableIconState(!1);
|
|
489
489
|
}
|
|
490
|
-
let Jt =
|
|
490
|
+
let Jt = f(() => L.value.style.chart.backgroundColor), { exportSvg: Yt, getSvg: Xt } = ue({
|
|
491
491
|
svg: H,
|
|
492
|
-
title:
|
|
492
|
+
title: f(() => L.value.style.chart.title),
|
|
493
493
|
backgroundColor: Jt
|
|
494
494
|
});
|
|
495
495
|
async function Zt({ isCb: e }) {
|
|
496
|
-
I.value = !0, await
|
|
496
|
+
I.value = !0, await b();
|
|
497
497
|
try {
|
|
498
498
|
if (e) {
|
|
499
499
|
let { blob: e, url: t, text: n, dataUrl: r } = await Xt();
|
|
@@ -520,7 +520,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
520
520
|
bt();
|
|
521
521
|
}
|
|
522
522
|
async function $t() {
|
|
523
|
-
if (
|
|
523
|
+
if (rt("copyAlt", {
|
|
524
524
|
config: L.value,
|
|
525
525
|
dataset: G.value
|
|
526
526
|
}), !L.value.userOptions.callbacks.altCopy) {
|
|
@@ -532,8 +532,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
532
532
|
dataset: G.value
|
|
533
533
|
}));
|
|
534
534
|
}
|
|
535
|
-
let en =
|
|
536
|
-
return
|
|
535
|
+
let en = f(() => L.value.style.chart.color);
|
|
536
|
+
return pe({
|
|
537
537
|
getData: Pt,
|
|
538
538
|
getImage: Kt,
|
|
539
539
|
generatePdf: yt,
|
|
@@ -547,32 +547,32 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
547
547
|
toggleFullscreen: Ft,
|
|
548
548
|
toggleZoom: zt,
|
|
549
549
|
copyAlt: $t
|
|
550
|
-
}), (e,
|
|
550
|
+
}), (e, n) => (C(), h("div", {
|
|
551
551
|
ref_key: "moleculeChart",
|
|
552
552
|
ref: M,
|
|
553
|
-
class:
|
|
554
|
-
style:
|
|
555
|
-
id: `cluster_${
|
|
556
|
-
onMouseleave:
|
|
557
|
-
q.value = null, J.value = null,
|
|
553
|
+
class: Se(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
554
|
+
style: S(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor}`),
|
|
555
|
+
id: `cluster_${st.value}`,
|
|
556
|
+
onMouseleave: n[2] ||= (e) => {
|
|
557
|
+
q.value = null, J.value = null, E(ft)(!1);
|
|
558
558
|
},
|
|
559
|
-
onMouseenter:
|
|
559
|
+
onMouseenter: n[3] ||= () => E(ft)(!0)
|
|
560
560
|
}, [
|
|
561
|
-
L.value.userOptions.buttons.annotator &&
|
|
561
|
+
L.value.userOptions.buttons.annotator && E(H) ? (C(), p(E(qe), {
|
|
562
562
|
key: 0,
|
|
563
|
-
svgRef:
|
|
563
|
+
svgRef: E(H),
|
|
564
564
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
565
565
|
color: L.value.style.chart.color,
|
|
566
566
|
active: Z.value,
|
|
567
567
|
isCursorPointer: R.value,
|
|
568
568
|
onClose: Bt
|
|
569
569
|
}, {
|
|
570
|
-
"annotator-action-close":
|
|
571
|
-
"annotator-action-color":
|
|
572
|
-
"annotator-action-draw":
|
|
573
|
-
"annotator-action-undo":
|
|
574
|
-
"annotator-action-redo":
|
|
575
|
-
"annotator-action-delete":
|
|
570
|
+
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
571
|
+
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
572
|
+
"annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
|
|
573
|
+
"annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
|
|
574
|
+
"annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
|
|
575
|
+
"annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
|
|
576
576
|
_: 3
|
|
577
577
|
}, 8, [
|
|
578
578
|
"svgRef",
|
|
@@ -580,9 +580,9 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
580
580
|
"color",
|
|
581
581
|
"active",
|
|
582
582
|
"isCursorPointer"
|
|
583
|
-
])) :
|
|
584
|
-
xt.value ? (
|
|
585
|
-
L.value.style.chart.title.text ? (
|
|
583
|
+
])) : m("", !0),
|
|
584
|
+
xt.value ? (C(), h("div", je, null, 512)) : m("", !0),
|
|
585
|
+
L.value.style.chart.title.text ? (C(), h("div", Me, [(C(), p(E(He), {
|
|
586
586
|
key: `title_${lt.value}`,
|
|
587
587
|
config: {
|
|
588
588
|
title: {
|
|
@@ -594,16 +594,16 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
594
594
|
...L.value.style.chart.title.subtitle
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
}, null, 8, ["config"]))])) :
|
|
598
|
-
L.value.userOptions.show &&
|
|
597
|
+
}, null, 8, ["config"]))])) : m("", !0),
|
|
598
|
+
L.value.userOptions.show && it.value && (E(pt) || E(V)) ? (C(), p(E(Je), {
|
|
599
599
|
ref_key: "userOptionsRef",
|
|
600
600
|
ref: P,
|
|
601
601
|
key: `user_options_${ct.value}`,
|
|
602
602
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
603
603
|
color: L.value.style.chart.color,
|
|
604
|
-
isPrinting:
|
|
605
|
-
isImaging:
|
|
606
|
-
uid:
|
|
604
|
+
isPrinting: E(_t),
|
|
605
|
+
isImaging: E(vt),
|
|
606
|
+
uid: st.value,
|
|
607
607
|
hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
|
|
608
608
|
hasPdf: L.value.userOptions.buttons.pdf,
|
|
609
609
|
hasXls: L.value.userOptions.buttons.csv,
|
|
@@ -626,7 +626,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
626
626
|
isZoom: U.value.showZoom,
|
|
627
627
|
isCursorPointer: R.value,
|
|
628
628
|
onToggleFullscreen: Ft,
|
|
629
|
-
onGeneratePdf:
|
|
629
|
+
onGeneratePdf: E(yt),
|
|
630
630
|
onGenerateCsv: Nt,
|
|
631
631
|
onGenerateImage: Qt,
|
|
632
632
|
onGenerateSvg: Zt,
|
|
@@ -636,11 +636,11 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
636
636
|
onToggleAnnotator: Bt,
|
|
637
637
|
onToggleZoom: zt,
|
|
638
638
|
onCopyAlt: $t,
|
|
639
|
-
style:
|
|
640
|
-
},
|
|
639
|
+
style: S({ visibility: E(pt) ? E(V) ? "visible" : "hidden" : "visible" })
|
|
640
|
+
}, ye({ _: 2 }, [
|
|
641
641
|
e.$slots.menuIcon ? {
|
|
642
642
|
name: "menuIcon",
|
|
643
|
-
fn:
|
|
643
|
+
fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
|
|
644
644
|
isOpen: t,
|
|
645
645
|
color: n
|
|
646
646
|
})), void 0, !0)]),
|
|
@@ -648,42 +648,42 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
648
648
|
} : void 0,
|
|
649
649
|
e.$slots.optionTooltip ? {
|
|
650
650
|
name: "optionTooltip",
|
|
651
|
-
fn:
|
|
651
|
+
fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
652
652
|
key: "1"
|
|
653
653
|
} : void 0,
|
|
654
654
|
e.$slots.optionPdf ? {
|
|
655
655
|
name: "optionPdf",
|
|
656
|
-
fn:
|
|
656
|
+
fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
657
657
|
key: "2"
|
|
658
658
|
} : void 0,
|
|
659
659
|
e.$slots.optionCsv ? {
|
|
660
660
|
name: "optionCsv",
|
|
661
|
-
fn:
|
|
661
|
+
fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
662
662
|
key: "3"
|
|
663
663
|
} : void 0,
|
|
664
664
|
e.$slots.optionImg ? {
|
|
665
665
|
name: "optionImg",
|
|
666
|
-
fn:
|
|
666
|
+
fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
667
667
|
key: "4"
|
|
668
668
|
} : void 0,
|
|
669
669
|
e.$slots.optionSvg ? {
|
|
670
670
|
name: "optionSvg",
|
|
671
|
-
fn:
|
|
671
|
+
fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
672
672
|
key: "5"
|
|
673
673
|
} : void 0,
|
|
674
674
|
e.$slots.optionTable ? {
|
|
675
675
|
name: "optionTable",
|
|
676
|
-
fn:
|
|
676
|
+
fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
677
677
|
key: "6"
|
|
678
678
|
} : void 0,
|
|
679
679
|
e.$slots.optionLabels ? {
|
|
680
680
|
name: "optionLabels",
|
|
681
|
-
fn:
|
|
681
|
+
fn: O(() => [T(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
682
682
|
key: "7"
|
|
683
683
|
} : void 0,
|
|
684
684
|
e.$slots.optionFullscreen ? {
|
|
685
685
|
name: "optionFullscreen",
|
|
686
|
-
fn:
|
|
686
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
|
|
687
687
|
toggleFullscreen: t,
|
|
688
688
|
isFullscreen: n
|
|
689
689
|
})), void 0, !0)]),
|
|
@@ -691,7 +691,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
691
691
|
} : void 0,
|
|
692
692
|
e.$slots.optionAnnotator ? {
|
|
693
693
|
name: "optionAnnotator",
|
|
694
|
-
fn:
|
|
694
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
|
|
695
695
|
toggleAnnotator: t,
|
|
696
696
|
isAnnotator: n
|
|
697
697
|
})), void 0, !0)]),
|
|
@@ -699,7 +699,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
699
699
|
} : void 0,
|
|
700
700
|
e.$slots.optionZoom ? {
|
|
701
701
|
name: "optionZoom",
|
|
702
|
-
fn:
|
|
702
|
+
fn: O(({ toggleZoom: t, isZoomLocked: n }) => [T(e.$slots, "optionZoom", x(y({
|
|
703
703
|
toggleZoom: t,
|
|
704
704
|
isZoomLocked: n
|
|
705
705
|
})), void 0, !0)]),
|
|
@@ -707,56 +707,56 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
707
707
|
} : void 0,
|
|
708
708
|
e.$slots.optionAltCopy ? {
|
|
709
709
|
name: "optionAltCopy",
|
|
710
|
-
fn:
|
|
710
|
+
fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
|
|
711
711
|
key: "11"
|
|
712
712
|
} : void 0,
|
|
713
713
|
e.$slots["custom-menu-before"] ? {
|
|
714
714
|
name: "custom-menu-before",
|
|
715
|
-
fn:
|
|
715
|
+
fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
716
716
|
key: "12"
|
|
717
717
|
} : void 0,
|
|
718
718
|
e.$slots["custom-menu-after"] ? {
|
|
719
719
|
name: "custom-menu-after",
|
|
720
|
-
fn:
|
|
720
|
+
fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
721
721
|
key: "13"
|
|
722
722
|
} : void 0
|
|
723
|
-
]), 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("."))) :
|
|
724
|
-
(
|
|
723
|
+
]), 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("."))) : m("", !0),
|
|
724
|
+
(C(), h("svg", {
|
|
725
725
|
ref_key: "svgRef",
|
|
726
726
|
ref: H,
|
|
727
727
|
key: `svg_${ht.value}`,
|
|
728
|
-
xmlns:
|
|
729
|
-
viewBox: `${
|
|
730
|
-
class:
|
|
728
|
+
xmlns: E(re),
|
|
729
|
+
viewBox: `${E(Q).x} ${E(Q).y} ${E(Q).width} ${E(Q).height}`,
|
|
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:
|
|
734
|
+
style: S(`overflow: hidden; background:transparent;color:${L.value.style.chart.color}`)
|
|
735
735
|
}, [
|
|
736
|
-
|
|
737
|
-
e.$slots["chart-background"] ? (
|
|
736
|
+
_(E(Ye)),
|
|
737
|
+
e.$slots["chart-background"] ? (C(), h("foreignObject", {
|
|
738
738
|
key: 0,
|
|
739
739
|
x: 0,
|
|
740
740
|
y: 0,
|
|
741
741
|
width: W.value.width <= 0 ? 10 : W.value.width,
|
|
742
742
|
height: W.value.height <= 0 ? 10 : W.value.height,
|
|
743
743
|
style: { pointerEvents: "none" }
|
|
744
|
-
}, [
|
|
745
|
-
|
|
744
|
+
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Pe)) : m("", !0),
|
|
745
|
+
g("defs", null, [(C(!0), h(ve, null, we(Object.keys(Dt.value), (e) => (C(), h("radialGradient", {
|
|
746
746
|
id: `gradient_${e}`,
|
|
747
747
|
cx: "50%",
|
|
748
748
|
cy: "30%",
|
|
749
749
|
r: "50%",
|
|
750
750
|
fx: "50%",
|
|
751
751
|
fy: "50%"
|
|
752
|
-
}, [
|
|
752
|
+
}, [g("stop", {
|
|
753
753
|
offset: "0%",
|
|
754
|
-
"stop-color":
|
|
755
|
-
}, null, 8,
|
|
754
|
+
"stop-color": E(t)(e, .5)
|
|
755
|
+
}, null, 8, Ie), g("stop", {
|
|
756
756
|
offset: "100%",
|
|
757
757
|
"stop-color": e
|
|
758
|
-
}, null, 8,
|
|
759
|
-
|
|
758
|
+
}, null, 8, Le)], 8, Fe))), 256))]),
|
|
759
|
+
_(E(Xe), {
|
|
760
760
|
dataset: G.value,
|
|
761
761
|
color: L.value.style.chart.links.stroke,
|
|
762
762
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
@@ -767,7 +767,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
767
767
|
"backgroundColor",
|
|
768
768
|
"useChildColor"
|
|
769
769
|
]),
|
|
770
|
-
|
|
770
|
+
_(E(Qe), {
|
|
771
771
|
dataset: G.value,
|
|
772
772
|
hoveredUid: J.value,
|
|
773
773
|
stroke: L.value.style.chart.nodes.stroke,
|
|
@@ -775,8 +775,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
775
775
|
onClick: Gt,
|
|
776
776
|
onHover: At
|
|
777
777
|
}, {
|
|
778
|
-
node:
|
|
779
|
-
"node-svg":
|
|
778
|
+
node: O(({ node: t }) => [T(e.$slots, "node", x(y({ node: t })), void 0, !0)]),
|
|
779
|
+
"node-svg": O(({ nodeSvg: t }) => [T(e.$slots, "node-svg", x(y({ nodeSvg: t })), void 0, !0)]),
|
|
780
780
|
_: 3
|
|
781
781
|
}, 8, [
|
|
782
782
|
"dataset",
|
|
@@ -784,7 +784,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
784
784
|
"stroke",
|
|
785
785
|
"strokeHovered"
|
|
786
786
|
]),
|
|
787
|
-
U.value.showDataLabels && !
|
|
787
|
+
U.value.showDataLabels && !E(z) ? (C(), p(E(Ze), {
|
|
788
788
|
key: 1,
|
|
789
789
|
dataset: G.value,
|
|
790
790
|
color: L.value.style.chart.color,
|
|
@@ -793,33 +793,33 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
793
793
|
"dataset",
|
|
794
794
|
"color",
|
|
795
795
|
"hoveredUid"
|
|
796
|
-
])) :
|
|
797
|
-
|
|
796
|
+
])) : m("", !0),
|
|
797
|
+
T(e.$slots, "svg", { svg: {
|
|
798
798
|
...W.value,
|
|
799
|
-
drawingArea: { ...
|
|
800
|
-
isPrintingImg:
|
|
799
|
+
drawingArea: { ...E(Q) },
|
|
800
|
+
isPrintingImg: E(_t) || E(vt) || F.value,
|
|
801
801
|
isPrintingSvg: I.value
|
|
802
802
|
} }, void 0, !0)
|
|
803
|
-
], 14,
|
|
804
|
-
e.$slots.watermark ? (
|
|
805
|
-
|
|
803
|
+
], 14, Ne)),
|
|
804
|
+
e.$slots.watermark ? (C(), h("div", Re, [T(e.$slots, "watermark", x(y({ isPrinting: E(_t) || E(vt) || F.value || I.value })), void 0, !0)])) : m("", !0),
|
|
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
|
-
style:
|
|
810
|
+
style: S({
|
|
811
811
|
background: L.value.style.chart.backgroundColor,
|
|
812
812
|
cursor: R.value ? "pointer" : "default"
|
|
813
813
|
}),
|
|
814
|
-
onClick:
|
|
815
|
-
}, [
|
|
814
|
+
onClick: n[0] ||= (e) => E(Ht)(!0)
|
|
815
|
+
}, [_(E(We), {
|
|
816
816
|
name: "refresh",
|
|
817
817
|
stroke: L.value.style.chart.color
|
|
818
|
-
}, null, 8, ["stroke"])], 4)], !0)])) :
|
|
819
|
-
e.$slots.source ? (
|
|
820
|
-
|
|
818
|
+
}, null, 8, ["stroke"])], 4)], !0)])) : m("", !0),
|
|
819
|
+
e.$slots.source ? (C(), h("div", Be, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
820
|
+
_(E(Ue), {
|
|
821
821
|
teleportTo: L.value.style.chart.tooltip.teleportTo,
|
|
822
|
-
show: U.value.showTooltip &&
|
|
822
|
+
show: U.value.showTooltip && A.value,
|
|
823
823
|
backgroundColor: L.value.style.chart.tooltip.backgroundColor,
|
|
824
824
|
color: L.value.style.chart.tooltip.color,
|
|
825
825
|
borderRadius: L.value.style.chart.tooltip.borderRadius,
|
|
@@ -839,9 +839,9 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
839
839
|
smoothForce: L.value.style.chart.tooltip.smoothForce,
|
|
840
840
|
smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold
|
|
841
841
|
}, {
|
|
842
|
-
"tooltip-before":
|
|
843
|
-
tooltip:
|
|
844
|
-
"tooltip-after":
|
|
842
|
+
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...K.value })), void 0, !0)]),
|
|
843
|
+
tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...K.value })), void 0, !0)]),
|
|
844
|
+
"tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...K.value })), void 0, !0)]),
|
|
845
845
|
_: 3
|
|
846
846
|
}, 8, [
|
|
847
847
|
"teleportTo",
|
|
@@ -865,12 +865,12 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
865
865
|
"smoothForce",
|
|
866
866
|
"smoothSnapThreshold"
|
|
867
867
|
]),
|
|
868
|
-
|
|
868
|
+
it.value && L.value.userOptions.buttons.table ? (C(), p(Te($.value.component), xe({ key: 7 }, $.value.props, {
|
|
869
869
|
ref_key: "tableUnit",
|
|
870
870
|
ref: N,
|
|
871
871
|
onClose: qt
|
|
872
|
-
}),
|
|
873
|
-
content:
|
|
872
|
+
}), ye({
|
|
873
|
+
content: O(() => [(C(), p(E(Ke), {
|
|
874
874
|
key: `table_${ut.value}`,
|
|
875
875
|
colNames: Y.value.colNames,
|
|
876
876
|
head: Y.value.head,
|
|
@@ -881,14 +881,14 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
881
881
|
isCursorPointer: R.value,
|
|
882
882
|
onClose: qt
|
|
883
883
|
}, {
|
|
884
|
-
th:
|
|
884
|
+
th: O(({ th: e }) => [g("div", {
|
|
885
885
|
innerHTML: e,
|
|
886
886
|
style: {
|
|
887
887
|
display: "flex",
|
|
888
888
|
"align-items": "center"
|
|
889
889
|
}
|
|
890
|
-
}, null, 8,
|
|
891
|
-
td:
|
|
890
|
+
}, null, 8, Ve)]),
|
|
891
|
+
td: O(({ td: e }) => [be(Ee(e.name || e), 1)]),
|
|
892
892
|
_: 1
|
|
893
893
|
}, 8, [
|
|
894
894
|
"colNames",
|
|
@@ -902,24 +902,24 @@ var Oe = /* @__PURE__ */ e({ default: () => Ve }), ke = ["id"], Ae = {
|
|
|
902
902
|
_: 2
|
|
903
903
|
}, [L.value.table.useDialog ? {
|
|
904
904
|
name: "title",
|
|
905
|
-
fn:
|
|
905
|
+
fn: O(() => [be(Ee($.value.title), 1)]),
|
|
906
906
|
key: "0"
|
|
907
907
|
} : void 0, L.value.table.useDialog ? {
|
|
908
908
|
name: "actions",
|
|
909
|
-
fn:
|
|
909
|
+
fn: O(() => [g("button", {
|
|
910
910
|
tabindex: "0",
|
|
911
911
|
class: "vue-ui-user-options-button",
|
|
912
|
-
onClick:
|
|
913
|
-
style:
|
|
914
|
-
}, [
|
|
912
|
+
onClick: n[1] ||= (e) => Nt(L.value.userOptions.callbacks.csv),
|
|
913
|
+
style: S({ cursor: R.value ? "pointer" : "default" })
|
|
914
|
+
}, [_(E(We), {
|
|
915
915
|
name: "fileCsv",
|
|
916
916
|
stroke: $.value.props.color
|
|
917
917
|
}, null, 8, ["stroke"])], 4)]),
|
|
918
918
|
key: "1"
|
|
919
|
-
} : void 0]), 1040)) :
|
|
920
|
-
|
|
921
|
-
], 46,
|
|
919
|
+
} : void 0]), 1040)) : m("", !0),
|
|
920
|
+
T(e.$slots, "skeleton", {}, () => [E(z) ? (C(), p(le, { key: 0 })) : m("", !0)], !0)
|
|
921
|
+
], 46, Ae));
|
|
922
922
|
}
|
|
923
923
|
}, [["__scopeId", "data-v-102eae3a"]]);
|
|
924
924
|
//#endregion
|
|
925
|
-
export {
|
|
925
|
+
export { ke as n, He as t };
|