vue-data-ui 3.1.17 → 3.1.19-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CKzW9w0Q.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-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D5bgIg6W.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/universal.d.ts +1 -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/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
- package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
- package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
- package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
- package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
- package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
- package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-Lg17rmB1.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DpwLJMsW.js +0 -13
- package/dist/vue-data-ui-lki09wwK.js +0 -325
- package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
|
@@ -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-DRpg18lg.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
|
};
|