vue-data-ui 3.1.18 → 3.1.19-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-B6W-zkH-.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/{vue-data-ui-DcBYykse.js → vue-data-ui-DfcfqSDl.js} +64 -64
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-DKkCWxob.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-gGF4DSOi.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-Coqi_swO.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-C78EYmhY.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-B7i_eOe9.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-QzsKNF-J.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-BxiWe3MD.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-C3TZdbF1.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-Dh0EyLe8.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-DTJCIEig.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DYJmrFDC.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-COm32YHr.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-BD2XeR-d.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-Cy9J1JpW.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-KyUZ5tNb.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-BpXYJd5z.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-DM3wSOOe.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-B2NzGPtL.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BTnau6bc.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-8oQQTCN2.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-B3ZrQSqP.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BoUb_OX8.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-xprTPjVq.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-Cpzi3BO0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CHTnDwZ7.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-zJyIT4di.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-B5QRDHJ1.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-DStHH_sz.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-VI1I1k9W.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-D26TgYmU.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-9CX5JEVI.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-0yto3ZRt.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-13xDAi4U.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DBMeKvSW.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-febkbzOk.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-rc9uWj4C.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BpZKuk92.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-DuOsScHl.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-BsdEyuPC.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-Dem6Qr7N.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-Dds0EE_Q.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-DcHLIhbA.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-DZwSnX7w.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-BVmo70Ts.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-Cr6Fy7Sq.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-DiKGxMUR.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-D3_W8WLN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CoVrrxzt.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-Cwl-WsK2.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-L-58-uVD.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-CaA-eKMJ.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-Bm2SYaTT.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-2Vg9eVqi.js} +166 -165
- package/package.json +14 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { useCssVars as ut, computed as h, defineAsyncComponent as Z, ref as r, toRefs as ot, watch as ee, shallowRef as Le, onMounted as rt, onBeforeUnmount as ct, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as z, createBlock as N, createCommentVNode as f, createSlots as vt, withCtx as M, renderSlot as g, normalizeProps as j, guardReactiveProps as D, normalizeClass as te, createVNode as dt, createElementVNode as ft, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import { useCssVars as ut, computed as h, defineAsyncComponent as Z, ref as r, toRefs as ot, watch as ee, shallowRef as Le, onMounted as rt, onBeforeUnmount as ct, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as z, createBlock as N, createCommentVNode as f, createSlots as vt, withCtx as M, renderSlot as g, normalizeProps as j, guardReactiveProps as D, normalizeClass as te, createVNode as dt, createElementVNode as ft, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as G, createTextVNode as ze } from "vue";
|
|
2
|
+
import { c as yt, t as ht, b as gt, p as Oe, e as mt, o as Se, f as Ie, g as pt, X as bt, G as Me, a as le, d as se, F as ae } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as kt, u as wt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as xt, a as Ee } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as $t, B as At } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as _t } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as Pt } from "./useAutoSizeLabelsInsideViewbox-VqESrzQg.js";
|
|
10
|
+
import zt from "./img-CH7J0fYg.js";
|
|
11
|
+
import Ot from "./Title-pI68ZJsq.js";
|
|
12
|
+
import { t as St } from "./themes-D3cUNuKw.js";
|
|
12
13
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["cx", "cy", "r", "stroke", "stroke-width"], Rt = { key: 1 }, Tt = ["stroke", "d", "stroke-width"], Nt = { style: { "pointer-events": "none" } }, jt = ["cx", "cy", "fill", "r", "stroke"], Dt = ["x", "y", "fill", "font-size"],
|
|
14
|
+
const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["cx", "cy", "r", "stroke", "stroke-width"], Rt = { key: 1 }, Tt = ["stroke", "d", "stroke-width"], Nt = { style: { "pointer-events": "none" } }, jt = ["cx", "cy", "fill", "r", "stroke"], Dt = ["x", "y", "fill", "font-size"], Gt = { key: 2 }, Ut = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Vt = { style: { "pointer-events": "none" } }, Wt = ["cx", "cy", "fill", "r", "stroke"], Xt = ["x", "y", "fill", "font-size"], Yt = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], qt = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], Ht = {
|
|
14
15
|
key: 4,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
17
|
}, Jt = {
|
|
@@ -35,7 +36,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
35
36
|
"501dae6a": Xe.value,
|
|
36
37
|
"2abe5668": qe.value
|
|
37
38
|
}));
|
|
38
|
-
const Re = Z(() => import("./PenAndPaper-
|
|
39
|
+
const Re = Z(() => import("./PenAndPaper-CtDMyIvW.js")), Te = Z(() => import("./UserOptions-Bn3u4JQu.js")), Ne = Z(() => import("./PackageVersion-B6W-zkH-.js")), { vue_ui_relation_circle: je } = xt(), m = Fe, De = h(() => !!m.dataset && Object.keys(m.dataset).length), S = r(yt()), ie = r(0), A = r(null), ne = r(null), ue = r(null), oe = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: Ge, manualLoading: U } = $t({
|
|
39
40
|
...ot(m),
|
|
40
41
|
FINAL_CONFIG: l,
|
|
41
42
|
prepareConfig: X,
|
|
@@ -48,7 +49,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
48
49
|
{ id: "F", label: "_", relations: ["A"] },
|
|
49
50
|
{ id: "G", label: "_", relations: ["A"] }
|
|
50
51
|
],
|
|
51
|
-
skeletonConfig:
|
|
52
|
+
skeletonConfig: ht({
|
|
52
53
|
defaultConfig: l.value,
|
|
53
54
|
userConfig: {
|
|
54
55
|
userOptions: { show: !1 },
|
|
@@ -62,7 +63,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
})
|
|
65
|
-
}), { userOptionsVisible:
|
|
66
|
+
}), { userOptionsVisible: V, setUserOptionsVisibility: ve, keepUserOptionState: de } = Ct({ config: l.value }), { svgRef: W } = Lt({ config: l.value.style.title });
|
|
66
67
|
function X() {
|
|
67
68
|
const e = Ee({
|
|
68
69
|
userConfig: m.config,
|
|
@@ -70,22 +71,22 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
70
71
|
});
|
|
71
72
|
return e.theme ? {
|
|
72
73
|
...Ee({
|
|
73
|
-
userConfig:
|
|
74
|
+
userConfig: St.vue_ui_relation_circle[e.theme] || m.config,
|
|
74
75
|
defaultConfig: e
|
|
75
76
|
}),
|
|
76
|
-
customPalette:
|
|
77
|
+
customPalette: gt[e.theme] || Oe
|
|
77
78
|
} : e;
|
|
78
79
|
}
|
|
79
80
|
ee(() => m.config, (e) => {
|
|
80
|
-
l.value = X(),
|
|
81
|
+
l.value = X(), V.value = !l.value.userOptions.showOnChartHover, _.value = l.value.style.size, y.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, I.value = l.value.style.labels.fontSize, o.value.height = l.value.style.size, o.value.width = l.value.style.size, be(), re.value += 1;
|
|
81
82
|
}, { deep: !0 }), ee(() => m.dataset, (e) => {
|
|
82
|
-
Array.isArray(e) && e.length > 0 && (
|
|
83
|
+
Array.isArray(e) && e.length > 0 && (U.value = !1);
|
|
83
84
|
}, { deep: !0 });
|
|
84
|
-
const { isPrinting: fe, isImaging: ye, generatePdf: he, generateImage: ge } =
|
|
85
|
+
const { isPrinting: fe, isImaging: ye, generatePdf: he, generateImage: ge } = _t({
|
|
85
86
|
elementId: `relation_circle_${S.value}`,
|
|
86
87
|
fileName: l.value.style.title.text || "vue-ui-relation-circle",
|
|
87
88
|
options: l.value.userOptions.print
|
|
88
|
-
}),
|
|
89
|
+
}), Ue = h(() => l.value.userOptions.show && !l.value.style.title.text), me = h(() => mt(l.value.customPalette)), k = r([]), p = r([]), d = r({}), b = r([]), Ve = r(0), E = h(() => Ge.value.slice(0, l.value.style.limit).map((e) => {
|
|
89
90
|
const s = Array.isArray(e.relations) ? e.relations : [];
|
|
90
91
|
return {
|
|
91
92
|
...e,
|
|
@@ -116,8 +117,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
116
117
|
componentName: "VueUiRelationCircle",
|
|
117
118
|
type: "dataset",
|
|
118
119
|
debug: pe.value
|
|
119
|
-
}),
|
|
120
|
-
|
|
120
|
+
}), U.value = !0) : m.dataset.forEach((e, s) => {
|
|
121
|
+
pt({
|
|
121
122
|
datasetObject: e,
|
|
122
123
|
requiredAttributes: ["id", "label", "relations", "weights"]
|
|
123
124
|
}).forEach((t) => {
|
|
@@ -129,9 +130,9 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
129
130
|
debug: pe.value
|
|
130
131
|
});
|
|
131
132
|
});
|
|
132
|
-
}), Se(m.dataset) || (
|
|
133
|
-
const e =
|
|
134
|
-
const { width: s, height: t } =
|
|
133
|
+
}), Se(m.dataset) || (U.value = l.value.loading), l.value.responsive) {
|
|
134
|
+
const e = kt(() => {
|
|
135
|
+
const { width: s, height: t } = wt({
|
|
135
136
|
chart: A.value,
|
|
136
137
|
title: l.value.style.title.text ? ne.value : null,
|
|
137
138
|
source: ue.value,
|
|
@@ -167,7 +168,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
167
168
|
ct(() => {
|
|
168
169
|
document.getElementById(`relation_circle_${S.value}`).removeEventListener("click", we), w.value && (L.value && w.value.unobserve(L.value), w.value.disconnect());
|
|
169
170
|
});
|
|
170
|
-
const { autoSizeLabels: ke } =
|
|
171
|
+
const { autoSizeLabels: ke } = Pt({
|
|
171
172
|
svgRef: W,
|
|
172
173
|
fontSize: l.value.style.labels.fontSize,
|
|
173
174
|
minFontSize: l.value.style.labels.minFontSize,
|
|
@@ -255,7 +256,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
255
256
|
B.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s });
|
|
256
257
|
}
|
|
257
258
|
function _e(e, s) {
|
|
258
|
-
l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }),
|
|
259
|
+
l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }), Ve.value = 360 - e.regAngle, d.value.id && e.id === d.value.id ? (d.value = {}, b.value = []) : (d.value = e, b.value = [...e.relations]);
|
|
259
260
|
}
|
|
260
261
|
function H(e) {
|
|
261
262
|
const s = e.weight / Ke.value * l.value.style.links.maxWidth;
|
|
@@ -271,7 +272,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
271
272
|
}
|
|
272
273
|
async function st({ scale: e = 2 } = {}) {
|
|
273
274
|
if (!A.value) return;
|
|
274
|
-
const { width: s, height: t } = A.value.getBoundingClientRect(), a = s / t, { imageUri: c, base64: v } = await
|
|
275
|
+
const { width: s, height: t } = A.value.getBoundingClientRect(), a = s / t, { imageUri: c, base64: v } = await zt({ domElement: A.value, base64: !0, img: !0, scale: e });
|
|
275
276
|
return {
|
|
276
277
|
imageUri: c,
|
|
277
278
|
base64: v,
|
|
@@ -304,7 +305,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
304
305
|
active: T.value,
|
|
305
306
|
onClose: J
|
|
306
307
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
307
|
-
|
|
308
|
+
Ue.value ? (i(), n("div", {
|
|
308
309
|
key: 1,
|
|
309
310
|
ref_key: "noTitle",
|
|
310
311
|
ref: oe,
|
|
@@ -317,7 +318,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
317
318
|
ref: ne,
|
|
318
319
|
style: "width:100%;background:transparent"
|
|
319
320
|
}, [
|
|
320
|
-
(i(), N(
|
|
321
|
+
(i(), N(Ot, {
|
|
321
322
|
key: `title_${re.value}`,
|
|
322
323
|
config: {
|
|
323
324
|
title: {
|
|
@@ -331,7 +332,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
331
332
|
}
|
|
332
333
|
}, null, 8, ["config"]))
|
|
333
334
|
], 512)) : f("", !0),
|
|
334
|
-
l.value.userOptions.show && De.value && (u(de) || u(
|
|
335
|
+
l.value.userOptions.show && De.value && (u(de) || u(V)) ? (i(), N(u(Te), {
|
|
335
336
|
ref: "details",
|
|
336
337
|
key: `user_options_${ie.value}`,
|
|
337
338
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -356,7 +357,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
356
357
|
onGenerateImage: u(ge),
|
|
357
358
|
onToggleAnnotator: J,
|
|
358
359
|
style: z({
|
|
359
|
-
visibility: u(de) ? u(
|
|
360
|
+
visibility: u(de) ? u(V) ? "visible" : "hidden" : "visible"
|
|
360
361
|
})
|
|
361
362
|
}, vt({ _: 2 }, [
|
|
362
363
|
e.$slots.menuIcon ? {
|
|
@@ -398,7 +399,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
398
399
|
(i(), n("svg", {
|
|
399
400
|
ref_key: "svgRef",
|
|
400
401
|
ref: W,
|
|
401
|
-
xmlns: u(
|
|
402
|
+
xmlns: u(bt),
|
|
402
403
|
class: te([{ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }, "relation-circle"]),
|
|
403
404
|
viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
|
|
404
405
|
width: "100%",
|
|
@@ -464,7 +465,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
464
465
|
fill: u(Me)(x(t)),
|
|
465
466
|
"text-anchor": "middle",
|
|
466
467
|
"font-size": y.value
|
|
467
|
-
},
|
|
468
|
+
}, G(u(le)(
|
|
468
469
|
l.value.style.weightLabels.formatter,
|
|
469
470
|
t.weight,
|
|
470
471
|
u(se)({
|
|
@@ -476,7 +477,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
476
477
|
{ ...t }
|
|
477
478
|
)), 9, Dt)) : f("", !0)
|
|
478
479
|
]))), 256))
|
|
479
|
-
])) : (i(), n("g",
|
|
480
|
+
])) : (i(), n("g", Gt, [
|
|
480
481
|
(i(!0), n($, null, O(p.value, (t, a) => (i(), n("line", {
|
|
481
482
|
key: `relation_${a}`,
|
|
482
483
|
stroke: x(t),
|
|
@@ -488,8 +489,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
488
489
|
y2: t.y2,
|
|
489
490
|
class: te({ "vue-ui-relation-circle-selected": d.value.hasOwnProperty("id") && b.value.includes(t.id) }),
|
|
490
491
|
"stroke-linecap": "round"
|
|
491
|
-
}, null, 14,
|
|
492
|
-
(i(!0), n($, null, O(p.value, (t, a) => (i(), n("g",
|
|
492
|
+
}, null, 14, Ut))), 128)),
|
|
493
|
+
(i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Vt, [
|
|
493
494
|
P(t) ? g(e.$slots, "dataLabel", Pe({
|
|
494
495
|
key: 0,
|
|
495
496
|
ref_for: !0
|
|
@@ -516,7 +517,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
516
517
|
fill: u(Me)(x(t)),
|
|
517
518
|
"text-anchor": "middle",
|
|
518
519
|
"font-size": y.value
|
|
519
|
-
},
|
|
520
|
+
}, G(u(le)(
|
|
520
521
|
l.value.style.weightLabels.formatter,
|
|
521
522
|
t.weight,
|
|
522
523
|
u(se)({
|
|
@@ -549,7 +550,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
549
550
|
u(ce) ? (i(), n($, { key: 0 }, [
|
|
550
551
|
ze(" -------- ")
|
|
551
552
|
], 64)) : (i(), n($, { key: 1 }, [
|
|
552
|
-
ze(
|
|
553
|
+
ze(G(t.label) + " (" + G(u(le)(
|
|
553
554
|
l.value.style.weightLabels.formatter,
|
|
554
555
|
t.totalWeight,
|
|
555
556
|
u(se)({
|
|
@@ -589,10 +590,10 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
589
590
|
}, [
|
|
590
591
|
g(e.$slots, "source", {}, void 0, !0)
|
|
591
592
|
], 512)) : f("", !0),
|
|
592
|
-
u(ce) ? (i(), N(
|
|
593
|
+
u(ce) ? (i(), N(At, { key: 6 })) : f("", !0)
|
|
593
594
|
], 44, Mt));
|
|
594
595
|
}
|
|
595
|
-
},
|
|
596
|
+
}, cl = /* @__PURE__ */ It(Jt, [["__scopeId", "data-v-72b30f4c"]]);
|
|
596
597
|
export {
|
|
597
|
-
|
|
598
|
+
cl as default
|
|
598
599
|
};
|