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,15 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as N, computed as y, ref as v, toRefs as Ce, watch as ae, shallowRef as le, onMounted as Ae, onBeforeUnmount as _e, createElementBlock as c, openBlock 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
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { defineAsyncComponent as N, computed as y, ref as v, toRefs as Ce, watch as ae, shallowRef as le, onMounted as Ae, onBeforeUnmount as _e, createElementBlock as c, openBlock as s, unref as l, normalizeStyle as R, createBlock as O, createCommentVNode as h, createSlots as Oe, withCtx as b, renderSlot as d, normalizeProps as I, guardReactiveProps as $, normalizeClass as U, createVNode as Ie, Fragment as ne, renderList as oe, toDisplayString as $e } from "vue";
|
|
2
|
+
import { c as xe, t as Pe, o as Se, f as Fe, i as se, n as ze, X as Te, a as Me, q as ue, d as Ne } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Re, u as Ue } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Be, a as re } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as Ee } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as Le } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Xe } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import { t as De } from "./themes-D3cUNuKw.js";
|
|
9
|
+
import Ge from "./Title-pI68ZJsq.js";
|
|
10
|
+
import Ye from "./img-CH7J0fYg.js";
|
|
11
|
+
import { u as je, B as qe } from "./BaseScanner-BgWxam9d.js";
|
|
12
|
+
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const We = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Qe = ["d", "fill"], Ze = ["cx", "cy", "r", "stroke", "stroke-width"], et = { key: 4 }, tt = ["x", "y", "height"], at = ["x", "y", "font-size", "fill", "font-weight"], lt = {
|
|
13
14
|
key: 4,
|
|
14
15
|
class: "vue-data-ui-watermark"
|
|
15
16
|
}, nt = {
|
|
@@ -28,13 +29,13 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
|
-
setup(
|
|
32
|
-
const ve = N(() => import("./PenAndPaper-
|
|
32
|
+
setup(ie, { expose: ce }) {
|
|
33
|
+
const ve = N(() => import("./PenAndPaper-CtDMyIvW.js")), he = N(() => import("./UserOptions-Bn3u4JQu.js")), de = N(() => import("./PackageVersion-DRpg18lg.js")), { vue_ui_wheel: fe } = Be(), g = ie, ye = y(() => !!g.dataset && Object.keys(g.dataset).length), x = v(xe()), ge = v(null), B = v(0), p = v(null), E = v(null), L = v(null), X = v(null), D = v(0), e = v(F()), { loading: G, FINAL_DATASET: P } = je({
|
|
33
34
|
...Ce(g),
|
|
34
35
|
FINAL_CONFIG: e,
|
|
35
36
|
prepareConfig: F,
|
|
36
37
|
skeletonDataset: { percentage: 50 },
|
|
37
|
-
skeletonConfig:
|
|
38
|
+
skeletonConfig: Pe({
|
|
38
39
|
defaultConfig: e.value,
|
|
39
40
|
userConfig: {
|
|
40
41
|
userOptions: { show: !1 },
|
|
@@ -57,15 +58,15 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
})
|
|
60
|
-
}), { userOptionsVisible: S, setUserOptionsVisibility: Y, keepUserOptionState: j } =
|
|
61
|
+
}), { userOptionsVisible: S, setUserOptionsVisibility: Y, keepUserOptionState: j } = Le({ config: e.value }), { svgRef: q } = Xe({ config: e.value.style.chart.title });
|
|
61
62
|
function F() {
|
|
62
|
-
const t =
|
|
63
|
+
const t = re({
|
|
63
64
|
userConfig: g.config,
|
|
64
65
|
defaultConfig: fe
|
|
65
66
|
});
|
|
66
67
|
return t.theme ? {
|
|
67
|
-
...
|
|
68
|
-
userConfig:
|
|
68
|
+
...re({
|
|
69
|
+
userConfig: De.vue_ui_wheel[t.theme] || g.config,
|
|
69
70
|
defaultConfig: t
|
|
70
71
|
})
|
|
71
72
|
} : t;
|
|
@@ -73,18 +74,18 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
73
74
|
ae(() => g.config, (t) => {
|
|
74
75
|
e.value = F(), S.value = !e.value.userOptions.showOnChartHover, Q(), D.value += 1;
|
|
75
76
|
}, { deep: !0 });
|
|
76
|
-
const { isPrinting:
|
|
77
|
+
const { isPrinting: H, isImaging: W, generatePdf: V, generateImage: J } = Ee({
|
|
77
78
|
elementId: x.value,
|
|
78
79
|
fileName: e.value.style.chart.title.text || "vue-ui-wheel",
|
|
79
80
|
options: e.value.userOptions.print
|
|
80
|
-
}), pe = y(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
81
|
+
}), pe = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), o = v({
|
|
81
82
|
size: 360,
|
|
82
83
|
height: 360,
|
|
83
84
|
width: 360
|
|
84
85
|
}), k = v(e.value.style.chart.layout.percentage.fontSize), u = y(() => ({
|
|
85
|
-
radius: Math.min(
|
|
86
|
-
centerX:
|
|
87
|
-
centerY:
|
|
86
|
+
radius: Math.min(o.value.width, o.value.height) * 0.9 / 2,
|
|
87
|
+
centerX: o.value.width / 2,
|
|
88
|
+
centerY: o.value.height / 2
|
|
88
89
|
}));
|
|
89
90
|
function K(t, n = 1) {
|
|
90
91
|
return {
|
|
@@ -92,9 +93,9 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
92
93
|
y: u.value.centerY + u.value.radius * Math.sin(29.85 + t * Math.PI / 180) * n
|
|
93
94
|
};
|
|
94
95
|
}
|
|
95
|
-
const
|
|
96
|
+
const i = v(e.value.style.chart.animation.use ? 0 : P.value.percentage || 0);
|
|
96
97
|
ae(() => P.value, (t) => {
|
|
97
|
-
e.value.style.chart.animation.use ? Z(t.percentage) :
|
|
98
|
+
e.value.style.chart.animation.use ? Z(t.percentage) : i.value = t.percentage || 0;
|
|
98
99
|
}, { deep: !0 });
|
|
99
100
|
const f = le(null), m = le(null);
|
|
100
101
|
Ae(() => {
|
|
@@ -102,20 +103,20 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
102
103
|
});
|
|
103
104
|
const me = y(() => !!e.value.debug);
|
|
104
105
|
function Q() {
|
|
105
|
-
if (
|
|
106
|
+
if (Se(g.dataset) && Fe({
|
|
106
107
|
componentName: "VueUiWheel",
|
|
107
108
|
type: "dataset",
|
|
108
109
|
debug: me.value
|
|
109
110
|
}), e.value.responsive) {
|
|
110
|
-
const t =
|
|
111
|
-
const { width: n, height: a } =
|
|
111
|
+
const t = Re(() => {
|
|
112
|
+
const { width: n, height: a } = Ue({
|
|
112
113
|
chart: p.value,
|
|
113
114
|
title: e.value.style.chart.title.text ? E.value : null,
|
|
114
115
|
source: L.value,
|
|
115
116
|
noTitle: X.value
|
|
116
117
|
});
|
|
117
118
|
requestAnimationFrame(() => {
|
|
118
|
-
|
|
119
|
+
o.value.width = n, o.value.height = a, k.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(n, a);
|
|
119
120
|
});
|
|
120
121
|
});
|
|
121
122
|
f.value && (m.value && f.value.unobserve(m.value), f.value.disconnect()), f.value = new ResizeObserver(t), m.value = p.value.parentNode, f.value.observe(m.value);
|
|
@@ -127,26 +128,26 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
127
128
|
});
|
|
128
129
|
function Z(t) {
|
|
129
130
|
let n = e.value.style.chart.animation.speed;
|
|
130
|
-
const a = Math.abs(t -
|
|
131
|
-
function
|
|
132
|
-
|
|
131
|
+
const a = Math.abs(t - i.value) / (n * 120);
|
|
132
|
+
function r() {
|
|
133
|
+
i.value < t ? i.value = Math.min(i.value + a, t) : i.value > t && (i.value = Math.max(i.value - a, t)), i.value !== t && requestAnimationFrame(r);
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
+
r();
|
|
135
136
|
}
|
|
136
137
|
const w = y(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), C = y(() => 100 / w.value), ee = y(() => {
|
|
137
138
|
const t = [];
|
|
138
139
|
for (let n = 0; n < w.value; n += 1) {
|
|
139
|
-
const a =
|
|
140
|
+
const a = i.value > n * C.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: r, y: T } = K(o.value.size / w.value * n), { x: M, y: be } = K(o.value.size / w.value * n, e.value.style.chart.layout.wheel.ticks.sizeRatio);
|
|
140
141
|
t.push({
|
|
141
|
-
x1:
|
|
142
|
+
x1: r,
|
|
142
143
|
y1: T,
|
|
143
144
|
x2: M,
|
|
144
145
|
y2: be,
|
|
145
|
-
color: e.value.style.chart.layout.wheel.ticks.gradient.show ?
|
|
146
|
+
color: e.value.style.chart.layout.wheel.ticks.gradient.show ? se(a, n * C.value / w.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
return t;
|
|
149
|
-
}), ke = y(() =>
|
|
150
|
+
}), ke = y(() => ze({ series: ee.value.map((t) => ({
|
|
150
151
|
name: "",
|
|
151
152
|
value: 1,
|
|
152
153
|
color: t.color
|
|
@@ -160,14 +161,14 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
160
161
|
}
|
|
161
162
|
async function we({ scale: t = 2 } = {}) {
|
|
162
163
|
if (!p.value) return;
|
|
163
|
-
const { width: n, height: a } = p.value.getBoundingClientRect(),
|
|
164
|
+
const { width: n, height: a } = p.value.getBoundingClientRect(), r = n / a, { imageUri: T, base64: M } = await Ye({ domElement: p.value, base64: !0, img: !0, scale: t });
|
|
164
165
|
return {
|
|
165
166
|
imageUri: T,
|
|
166
167
|
base64: M,
|
|
167
168
|
title: e.value.style.chart.title.text,
|
|
168
169
|
width: n,
|
|
169
170
|
height: a,
|
|
170
|
-
aspectRatio:
|
|
171
|
+
aspectRatio: r
|
|
171
172
|
};
|
|
172
173
|
}
|
|
173
174
|
return ce({
|
|
@@ -176,7 +177,7 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
176
177
|
generateImage: J,
|
|
177
178
|
toggleAnnotator: z,
|
|
178
179
|
toggleFullscreen: te
|
|
179
|
-
}), (t, n) => (
|
|
180
|
+
}), (t, n) => (s(), c("div", {
|
|
180
181
|
class: "vue-ui-wheel",
|
|
181
182
|
ref_key: "wheelChart",
|
|
182
183
|
ref: p,
|
|
@@ -185,28 +186,28 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
185
186
|
onMouseenter: n[0] || (n[0] = () => l(Y)(!0)),
|
|
186
187
|
onMouseleave: n[1] || (n[1] = () => l(Y)(!1))
|
|
187
188
|
}, [
|
|
188
|
-
e.value.userOptions.buttons.annotator ? (
|
|
189
|
+
e.value.userOptions.buttons.annotator ? (s(), O(l(ve), {
|
|
189
190
|
key: 0,
|
|
190
|
-
svgRef: l(
|
|
191
|
+
svgRef: l(q),
|
|
191
192
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
192
193
|
color: e.value.style.chart.color,
|
|
193
194
|
active: _.value,
|
|
194
195
|
onClose: z
|
|
195
196
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
196
|
-
pe.value ? (
|
|
197
|
+
pe.value ? (s(), c("div", {
|
|
197
198
|
key: 1,
|
|
198
199
|
ref_key: "noTitle",
|
|
199
200
|
ref: X,
|
|
200
201
|
class: "vue-data-ui-no-title-space",
|
|
201
202
|
style: "height:36px; width: 100%;background:transparent"
|
|
202
203
|
}, null, 512)) : h("", !0),
|
|
203
|
-
e.value.style.chart.title.text ? (
|
|
204
|
+
e.value.style.chart.title.text ? (s(), c("div", {
|
|
204
205
|
key: 2,
|
|
205
206
|
ref_key: "chartTitle",
|
|
206
207
|
ref: E,
|
|
207
208
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
208
209
|
}, [
|
|
209
|
-
(
|
|
210
|
+
(s(), O(Ge, {
|
|
210
211
|
key: `title_${D.value}`,
|
|
211
212
|
config: {
|
|
212
213
|
title: {
|
|
@@ -220,14 +221,14 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
220
221
|
}
|
|
221
222
|
}, null, 8, ["config"]))
|
|
222
223
|
], 512)) : h("", !0),
|
|
223
|
-
e.value.userOptions.show && ye.value && (l(j) || l(S)) ? (
|
|
224
|
+
e.value.userOptions.show && ye.value && (l(j) || l(S)) ? (s(), O(l(he), {
|
|
224
225
|
ref_key: "details",
|
|
225
226
|
ref: ge,
|
|
226
227
|
key: `user_options_${B.value}`,
|
|
227
228
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
228
229
|
color: e.value.style.chart.color,
|
|
229
|
-
isPrinting: l(
|
|
230
|
-
isImaging: l(
|
|
230
|
+
isPrinting: l(H),
|
|
231
|
+
isImaging: l(W),
|
|
231
232
|
uid: x.value,
|
|
232
233
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
233
234
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -251,8 +252,8 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
251
252
|
}, Oe({ _: 2 }, [
|
|
252
253
|
t.$slots.menuIcon ? {
|
|
253
254
|
name: "menuIcon",
|
|
254
|
-
fn: b(({ isOpen: a, color:
|
|
255
|
-
d(t.$slots, "menuIcon", I($({ isOpen: a, color:
|
|
255
|
+
fn: b(({ isOpen: a, color: r }) => [
|
|
256
|
+
d(t.$slots, "menuIcon", I($({ isOpen: a, color: r })), void 0, !0)
|
|
256
257
|
]),
|
|
257
258
|
key: "0"
|
|
258
259
|
} : void 0,
|
|
@@ -272,55 +273,55 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
272
273
|
} : void 0,
|
|
273
274
|
t.$slots.optionFullscreen ? {
|
|
274
275
|
name: "optionFullscreen",
|
|
275
|
-
fn: b(({ toggleFullscreen: a, isFullscreen:
|
|
276
|
-
d(t.$slots, "optionFullscreen", I($({ toggleFullscreen: a, isFullscreen:
|
|
276
|
+
fn: b(({ toggleFullscreen: a, isFullscreen: r }) => [
|
|
277
|
+
d(t.$slots, "optionFullscreen", I($({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
|
|
277
278
|
]),
|
|
278
279
|
key: "3"
|
|
279
280
|
} : void 0,
|
|
280
281
|
t.$slots.optionAnnotator ? {
|
|
281
282
|
name: "optionAnnotator",
|
|
282
|
-
fn: b(({ toggleAnnotator: a, isAnnotator:
|
|
283
|
-
d(t.$slots, "optionAnnotator", I($({ toggleAnnotator: a, isAnnotator:
|
|
283
|
+
fn: b(({ toggleAnnotator: a, isAnnotator: r }) => [
|
|
284
|
+
d(t.$slots, "optionAnnotator", I($({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
|
|
284
285
|
]),
|
|
285
286
|
key: "4"
|
|
286
287
|
} : void 0
|
|
287
288
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
288
|
-
(
|
|
289
|
+
(s(), c("svg", {
|
|
289
290
|
ref_key: "svgRef",
|
|
290
|
-
ref:
|
|
291
|
-
xmlns: l(
|
|
291
|
+
ref: q,
|
|
292
|
+
xmlns: l(Te),
|
|
292
293
|
class: U({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
293
|
-
viewBox: `0 0 ${
|
|
294
|
+
viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
|
|
294
295
|
style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
295
296
|
}, [
|
|
296
297
|
Ie(l(de)),
|
|
297
|
-
t.$slots["chart-background"] ? (
|
|
298
|
+
t.$slots["chart-background"] ? (s(), c("foreignObject", {
|
|
298
299
|
key: 0,
|
|
299
300
|
x: 0,
|
|
300
301
|
y: 0,
|
|
301
|
-
width:
|
|
302
|
-
height:
|
|
302
|
+
width: o.value.width <= 0 ? 10 : o.value.width,
|
|
303
|
+
height: o.value.height <= 0 ? 10 : o.value.height,
|
|
303
304
|
style: {
|
|
304
305
|
pointerEvents: "none"
|
|
305
306
|
}
|
|
306
307
|
}, [
|
|
307
308
|
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
308
309
|
], 8, Je)) : h("", !0),
|
|
309
|
-
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (
|
|
310
|
+
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), c(ne, { key: 1 }, oe(ee.value, (a, r) => (s(), c("line", {
|
|
310
311
|
x1: a.x1,
|
|
311
312
|
x2: a.x2,
|
|
312
313
|
y1: a.y1,
|
|
313
314
|
y2: a.y2,
|
|
314
315
|
stroke: a.color,
|
|
315
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(
|
|
316
|
+
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(o.value.width, o.value.height),
|
|
316
317
|
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
317
|
-
class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use &&
|
|
318
|
-
}, null, 10, Ke))), 256)) : (
|
|
318
|
+
class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use && r * C.value <= i.value })
|
|
319
|
+
}, null, 10, Ke))), 256)) : (s(!0), c(ne, { key: 2 }, oe(ke.value, (a, r) => (s(), c("path", {
|
|
319
320
|
d: a.arcSlice,
|
|
320
321
|
fill: a.color,
|
|
321
|
-
class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use &&
|
|
322
|
+
class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use && r * C.value <= i.value })
|
|
322
323
|
}, null, 10, Qe))), 256)),
|
|
323
|
-
e.value.style.chart.layout.innerCircle.show ? (
|
|
324
|
+
e.value.style.chart.layout.innerCircle.show ? (s(), c("circle", {
|
|
324
325
|
key: 3,
|
|
325
326
|
cx: u.value.centerX,
|
|
326
327
|
cy: u.value.centerY,
|
|
@@ -329,8 +330,8 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
329
330
|
"stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
|
|
330
331
|
fill: "none"
|
|
331
332
|
}, null, 8, Ze)) : h("", !0),
|
|
332
|
-
e.value.style.chart.layout.percentage.show ? (
|
|
333
|
-
l(G) ? (
|
|
333
|
+
e.value.style.chart.layout.percentage.show ? (s(), c("g", et, [
|
|
334
|
+
l(G) ? (s(), c("rect", {
|
|
334
335
|
key: 0,
|
|
335
336
|
x: u.value.centerX - 40,
|
|
336
337
|
y: u.value.centerY - k.value / 2,
|
|
@@ -338,31 +339,31 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
338
339
|
height: k.value,
|
|
339
340
|
fill: "#6A6A6A80",
|
|
340
341
|
rx: "3"
|
|
341
|
-
}, null, 8, tt)) : (
|
|
342
|
+
}, null, 8, tt)) : (s(), c("text", {
|
|
342
343
|
key: 1,
|
|
343
344
|
x: u.value.centerX,
|
|
344
345
|
y: u.value.centerY + k.value / 3,
|
|
345
346
|
"font-size": k.value,
|
|
346
|
-
fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? l(
|
|
347
|
+
fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? l(se)(e.value.style.chart.layout.wheel.ticks.activeColor, i.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
347
348
|
"text-anchor": "middle",
|
|
348
349
|
"font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
|
|
349
350
|
style: { "font-variant-numeric": "tabluar-nums" }
|
|
350
|
-
}, $e(l(
|
|
351
|
+
}, $e(l(Me)(
|
|
351
352
|
e.value.style.chart.layout.percentage.formatter,
|
|
352
|
-
l(ue)(
|
|
353
|
-
l(
|
|
354
|
-
v: l(ue)(
|
|
353
|
+
l(ue)(i.value),
|
|
354
|
+
l(Ne)({
|
|
355
|
+
v: l(ue)(i.value),
|
|
355
356
|
s: "%",
|
|
356
357
|
r: e.value.style.chart.layout.percentage.rounding
|
|
357
358
|
})
|
|
358
359
|
)), 9, at))
|
|
359
360
|
])) : h("", !0),
|
|
360
|
-
d(t.$slots, "svg", { svg:
|
|
361
|
+
d(t.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
361
362
|
], 14, Ve)),
|
|
362
|
-
t.$slots.watermark ? (
|
|
363
|
-
d(t.$slots, "watermark", I($({ isPrinting: l(
|
|
363
|
+
t.$slots.watermark ? (s(), c("div", lt, [
|
|
364
|
+
d(t.$slots, "watermark", I($({ isPrinting: l(H) || l(W) })), void 0, !0)
|
|
364
365
|
])) : h("", !0),
|
|
365
|
-
t.$slots.source ? (
|
|
366
|
+
t.$slots.source ? (s(), c("div", {
|
|
366
367
|
key: 5,
|
|
367
368
|
ref_key: "source",
|
|
368
369
|
ref: L,
|
|
@@ -370,10 +371,10 @@ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x
|
|
|
370
371
|
}, [
|
|
371
372
|
d(t.$slots, "source", {}, void 0, !0)
|
|
372
373
|
], 512)) : h("", !0),
|
|
373
|
-
l(G) ? (
|
|
374
|
-
], 44,
|
|
374
|
+
l(G) ? (s(), O(qe, { key: 6 })) : h("", !0)
|
|
375
|
+
], 44, We));
|
|
375
376
|
}
|
|
376
|
-
},
|
|
377
|
+
}, pt = /* @__PURE__ */ He(nt, [["__scopeId", "data-v-11683b00"]]);
|
|
377
378
|
export {
|
|
378
|
-
|
|
379
|
+
pt as default
|
|
379
380
|
};
|