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 { defineAsyncComponent 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
|
|
1
|
+
import { defineAsyncComponent as K, computed as h, ref as f, toRefs as Je, watch as Q, shallowRef as $e, onMounted as Ke, onBeforeUnmount as Qe, createElementBlock as o, openBlock as r, unref as n, normalizeStyle as ee, normalizeClass as ze, createBlock as j, createCommentVNode as c, createElementVNode as p, withCtx as X, toDisplayString as R, createSlots as et, renderSlot as x, normalizeProps as B, guardReactiveProps as U, createVNode as tt, Fragment as k, renderList as $, mergeProps as L, nextTick as at } from "vue";
|
|
2
|
+
import { c as lt, t as st, b as rt, p as Fe, e as ot, o as Ae, h as ut, f as W, g as Ce, n as te, I as A, S as nt, q as it, X as ct, s as ae, N as vt, w as ht, a as le, d as se, F as re } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as dt, u as ft } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as yt, a as Oe } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as mt } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as pt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import { t as kt } from "./themes-D3cUNuKw.js";
|
|
9
|
+
import bt from "./Title-pI68ZJsq.js";
|
|
10
|
+
import _t from "./img-CH7J0fYg.js";
|
|
10
11
|
import { u as wt, B as St } from "./BaseScanner-BgWxam9d.js";
|
|
11
|
-
import { u as xt } from "./useAutoSizeLabelsInsideViewbox-
|
|
12
|
+
import { u as xt } from "./useAutoSizeLabelsInsideViewbox-VqESrzQg.js";
|
|
12
13
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "height"], Ot = ["id"], Nt = ["stop-color"], Mt = ["stop-color"], Pt = ["stop-color"], It = ["id"], Xt = ["stdDeviation"], Rt = { key: 1 }, Yt = ["d", "fill", "stroke"],
|
|
14
|
+
const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "height"], Ot = ["id"], Nt = ["stop-color"], Mt = ["stop-color"], Pt = ["stop-color"], It = ["id"], Xt = ["stdDeviation"], Rt = { key: 1 }, Yt = ["d", "fill", "stroke"], Lt = ["d", "fill", "stroke"], Et = ["d", "fill"], Tt = ["id", "d"], Gt = ["fill", "font-size", "font-weight"], jt = ["href", "startOffset"], Bt = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], Ut = ["d", "filter"], Wt = ["stroke", "stroke-width"], Dt = ["stroke", "stroke-width"], Vt = ["stroke", "stroke-width"], Ht = ["stroke", "stroke-width"], qt = { key: 8 }, Zt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Jt = ["x", "y", "font-size", "font-weight", "fill"], Kt = { key: 0 }, Qt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ea = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ta = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], aa = { key: 1 }, la = ["d", "fill", "stroke", "stroke-width"], sa = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], ra = ["x", "y", "font-size", "fill"], oa = {
|
|
14
15
|
key: 4,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
17
|
}, ua = {
|
|
@@ -29,11 +30,11 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const Pe =
|
|
33
|
+
setup(Ne, { expose: Me }) {
|
|
34
|
+
const Pe = K(() => import("./PenAndPaper-CtDMyIvW.js")), Ie = K(() => import("./UserOptions-Bn3u4JQu.js")), Xe = K(() => import("./PackageVersion-DRpg18lg.js")), { vue_ui_gauge: Re } = yt(), m = Ne, Ye = h(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), w = f(lt()), Le = f(null), oe = f(0), C = f(null), ue = f(null), ne = f(null), ie = f(null), ce = f(null), ve = f(0), e = f(H()), { loading: he, FINAL_DATASET: S, manualLoading: M } = wt({
|
|
34
35
|
...Je(m),
|
|
35
36
|
FINAL_CONFIG: e,
|
|
36
|
-
prepareConfig:
|
|
37
|
+
prepareConfig: H,
|
|
37
38
|
callback: () => {
|
|
38
39
|
Promise.resolve().then(async () => {
|
|
39
40
|
await at();
|
|
@@ -46,7 +47,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
46
47
|
{ from: 0, to: 1, name: "__", color: "#CACACA" }
|
|
47
48
|
]
|
|
48
49
|
},
|
|
49
|
-
skeletonConfig:
|
|
50
|
+
skeletonConfig: st({
|
|
50
51
|
defaultConfig: e.value,
|
|
51
52
|
userConfig: {
|
|
52
53
|
userOptions: { show: !1 },
|
|
@@ -75,31 +76,31 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
})
|
|
78
|
-
}), { userOptionsVisible:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}, { deep: !0 }),
|
|
82
|
-
|
|
79
|
+
}), { userOptionsVisible: D, setUserOptionsVisibility: de, keepUserOptionState: fe } = gt({ config: e.value }), { svgRef: V } = pt({ config: e.value.style.chart.title });
|
|
80
|
+
Q(() => m.config, (t) => {
|
|
81
|
+
he.value || (e.value = H()), D.value = !e.value.userOptions.showOnChartHover, Z(), ve.value += 1;
|
|
82
|
+
}, { deep: !0 }), Q(() => m.dataset, (t) => {
|
|
83
|
+
Z(), t && Object.keys(t).length > 0 && (M.value = e.value?.loading ?? !1);
|
|
83
84
|
}, { deep: !0, immediate: !1 });
|
|
84
|
-
function
|
|
85
|
-
const t =
|
|
85
|
+
function H() {
|
|
86
|
+
const t = Oe({
|
|
86
87
|
userConfig: m.config,
|
|
87
88
|
defaultConfig: Re
|
|
88
89
|
});
|
|
89
90
|
return t.theme ? {
|
|
90
|
-
...
|
|
91
|
-
userConfig:
|
|
91
|
+
...Oe({
|
|
92
|
+
userConfig: kt.vue_ui_gauge[t.theme] || m.config,
|
|
92
93
|
defaultConfig: t
|
|
93
94
|
}),
|
|
94
|
-
customPalette:
|
|
95
|
+
customPalette: rt[t.theme] || Fe
|
|
95
96
|
} : t;
|
|
96
97
|
}
|
|
97
|
-
const { isPrinting:
|
|
98
|
+
const { isPrinting: ye, isImaging: me, generatePdf: ge, generateImage: pe } = mt({
|
|
98
99
|
elementId: `vue-ui-gauge_${w.value}`,
|
|
99
100
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge",
|
|
100
101
|
options: e.value.userOptions.print
|
|
101
|
-
}),
|
|
102
|
-
if (
|
|
102
|
+
}), Ee = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => ot(e.value.customPalette)), O = h(() => {
|
|
103
|
+
if (Ae(S.value.series || {}))
|
|
103
104
|
return {
|
|
104
105
|
value: 0,
|
|
105
106
|
series: [
|
|
@@ -110,15 +111,15 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
110
111
|
]
|
|
111
112
|
};
|
|
112
113
|
const t = [];
|
|
113
|
-
(
|
|
114
|
+
(S.value.series || []).forEach((a) => {
|
|
114
115
|
t.push(a.from || 1e-7), t.push(a.to || 1e-7);
|
|
115
116
|
});
|
|
116
117
|
const u = Math.max(...t);
|
|
117
118
|
return {
|
|
118
|
-
|
|
119
|
-
series: (
|
|
119
|
+
...S.value,
|
|
120
|
+
series: (S.value.series || []).map((a, s) => ({
|
|
120
121
|
...a,
|
|
121
|
-
color:
|
|
122
|
+
color: ut(a.color) || Te.value[s] || Fe[s],
|
|
122
123
|
value: ((a.to || 0) - (a.from || 0)) / u * 100
|
|
123
124
|
}))
|
|
124
125
|
};
|
|
@@ -138,10 +139,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
138
139
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
139
140
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
140
141
|
}), P = f(0), z = f(0), y = f(
|
|
141
|
-
e.value.style.chart.animation.use ? Math.min(
|
|
142
|
+
e.value.style.chart.animation.use ? Math.min(...S.value.series.map((t) => t.from)) : S.value.value
|
|
142
143
|
);
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
Q(() => S.value.value, () => {
|
|
145
|
+
_e(S.value.value);
|
|
145
146
|
});
|
|
146
147
|
const i = h(() => {
|
|
147
148
|
const t = l.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI;
|
|
@@ -151,33 +152,33 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
151
152
|
x2: t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
|
|
152
153
|
y2: u + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
|
|
153
154
|
};
|
|
154
|
-
}),
|
|
155
|
+
}), ke = h(() => {
|
|
155
156
|
const t = l.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI, s = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), g = u + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), _ = l.value.pointerRadius, Ve = t + _ * Math.cos(a + Math.PI / 2), He = u + _ * Math.sin(a + Math.PI / 2), qe = t + _ * Math.cos(a - Math.PI / 2), Ze = u + _ * Math.sin(a - Math.PI / 2);
|
|
156
157
|
return isNaN(s) ? null : `M ${s},${g} ${Ve},${He} ${qe},${Ze} Z`;
|
|
157
|
-
}),
|
|
158
|
+
}), q = h(() => {
|
|
158
159
|
for (let t = 0; t < O.value.series.length; t += 1) {
|
|
159
160
|
const { color: u, from: a, to: s } = O.value.series[t];
|
|
160
161
|
if (y.value >= a && y.value <= s)
|
|
161
162
|
return u;
|
|
162
163
|
}
|
|
163
164
|
return "#2D353C";
|
|
164
|
-
}), F =
|
|
165
|
+
}), F = $e(null), I = $e(null), E = h({
|
|
165
166
|
get: () => l.value.segmentFontSize,
|
|
166
167
|
set: (t) => t
|
|
167
|
-
}), { autoSizeLabels:
|
|
168
|
-
svgRef:
|
|
168
|
+
}), { autoSizeLabels: be } = xt({
|
|
169
|
+
svgRef: V,
|
|
169
170
|
fontSize: l.value.segmentFontSize,
|
|
170
171
|
minFontSize: e.value.style.chart.layout.segmentNames.minFontSize,
|
|
171
|
-
sizeRef:
|
|
172
|
+
sizeRef: E,
|
|
172
173
|
labelClass: ".vue-ui-gauge-label-flat"
|
|
173
174
|
}), T = h(() => !!e.value.debug);
|
|
174
|
-
function
|
|
175
|
+
function Z() {
|
|
175
176
|
let t = !1;
|
|
176
|
-
if (
|
|
177
|
+
if (Ae(m.dataset) ? (W({
|
|
177
178
|
componentName: "VueUiGauge",
|
|
178
179
|
type: "dataset",
|
|
179
180
|
debug: T.value
|
|
180
|
-
}), M.value = !0, t = !0) : (
|
|
181
|
+
}), M.value = !0, t = !0) : (Ce({
|
|
181
182
|
datasetObject: m.dataset,
|
|
182
183
|
requiredAttributes: ["value", "series"]
|
|
183
184
|
}).forEach((u) => {
|
|
@@ -188,7 +189,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
188
189
|
debug: T.value
|
|
189
190
|
}), M.value = !0, t = !0;
|
|
190
191
|
}), Object.hasOwn(m.dataset, "series") && (m.dataset.series.length ? m.dataset.series.forEach((u, a) => {
|
|
191
|
-
|
|
192
|
+
Ce({
|
|
192
193
|
datasetObject: u,
|
|
193
194
|
requiredAttributes: ["from", "to"]
|
|
194
195
|
}).forEach((s) => {
|
|
@@ -205,47 +206,47 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
205
206
|
type: "datasetAttributeEmpty",
|
|
206
207
|
property: "series",
|
|
207
208
|
debug: T.value
|
|
208
|
-
}), M.value = !0, t = !0))), M.value = t,
|
|
209
|
-
const u =
|
|
210
|
-
let { width: a, height: s } =
|
|
209
|
+
}), M.value = !0, t = !0))), M.value = t, _e(S.value.value || 0), e.value.responsive) {
|
|
210
|
+
const u = dt(() => {
|
|
211
|
+
let { width: a, height: s } = ft({
|
|
211
212
|
chart: C.value,
|
|
212
|
-
title: e.value.style.chart.title.text ?
|
|
213
|
-
legend:
|
|
214
|
-
source:
|
|
215
|
-
noTitle:
|
|
213
|
+
title: e.value.style.chart.title.text ? ue.value : null,
|
|
214
|
+
legend: ne.value,
|
|
215
|
+
source: ie.value,
|
|
216
|
+
noTitle: ce.value
|
|
216
217
|
});
|
|
217
218
|
s -= 12, requestAnimationFrame(() => {
|
|
218
|
-
l.value.width = a, l.value.height = s, l.value.centerX = a / 2, l.value.centerY = b.value / 2 / 358.4 * s, l.value.bottom = s, l.value.labelFontSize = 18 / b.value * Math.min(s, a) < 10 ? 10 : 18 / b.value * Math.min(s, a), l.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(s, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(s, a), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(s, a), l.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(s, a), l.value.pointerStrokeWidth =
|
|
219
|
+
l.value.width = a, l.value.height = s, l.value.centerX = a / 2, l.value.centerY = b.value / 2 / 358.4 * s, l.value.bottom = s, l.value.labelFontSize = 18 / b.value * Math.min(s, a) < 10 ? 10 : 18 / b.value * Math.min(s, a), l.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(s, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(s, a), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(s, a), l.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(s, a), l.value.pointerStrokeWidth = re({
|
|
219
220
|
relator: Math.min(a, s),
|
|
220
221
|
adjuster: b.value,
|
|
221
222
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
222
223
|
threshold: 2,
|
|
223
224
|
fallback: 2
|
|
224
|
-
}), l.value.markerOffset =
|
|
225
|
+
}), l.value.markerOffset = re({
|
|
225
226
|
relator: Math.max(a, s),
|
|
226
227
|
adjuster: b.value,
|
|
227
228
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
228
229
|
threshold: 2,
|
|
229
230
|
fallback: 2
|
|
230
|
-
}), l.value.segmentFontSize =
|
|
231
|
+
}), l.value.segmentFontSize = re({
|
|
231
232
|
relator: Math.min(a, s),
|
|
232
233
|
adjuster: b.value,
|
|
233
234
|
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
234
235
|
threshold: 8,
|
|
235
236
|
fallback: 8
|
|
236
237
|
});
|
|
237
|
-
}),
|
|
238
|
+
}), be();
|
|
238
239
|
});
|
|
239
240
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(u), I.value = C.value.parentNode, F.value.observe(I.value);
|
|
240
241
|
}
|
|
241
|
-
|
|
242
|
+
be();
|
|
242
243
|
}
|
|
243
244
|
Ke(() => {
|
|
244
|
-
|
|
245
|
+
Z();
|
|
245
246
|
}), Qe(() => {
|
|
246
247
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
247
248
|
});
|
|
248
|
-
function
|
|
249
|
+
function _e(t) {
|
|
249
250
|
const u = [];
|
|
250
251
|
(O.value.series || []).forEach((_) => {
|
|
251
252
|
u.push(_.from || 0), u.push(_.to || 0);
|
|
@@ -266,7 +267,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
266
267
|
ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
|
|
267
268
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
268
269
|
};
|
|
269
|
-
}), d = h(() =>
|
|
270
|
+
}), d = h(() => te(
|
|
270
271
|
{ series: O.value.series },
|
|
271
272
|
l.value.width / 2,
|
|
272
273
|
v.value.base,
|
|
@@ -278,7 +279,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
278
279
|
180,
|
|
279
280
|
109.9495,
|
|
280
281
|
40 * l.value.trackSize
|
|
281
|
-
)), Ge = h(() =>
|
|
282
|
+
)), Ge = h(() => te(
|
|
282
283
|
{ series: O.value.series },
|
|
283
284
|
l.value.width / 2,
|
|
284
285
|
v.value.base,
|
|
@@ -290,7 +291,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
290
291
|
180,
|
|
291
292
|
109.9495,
|
|
292
293
|
40 * l.value.trackSize
|
|
293
|
-
)), N = h(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))),
|
|
294
|
+
)), N = h(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), we = h(() => {
|
|
294
295
|
const { x: t, y: u } = A({
|
|
295
296
|
initX: d.value[0].firstSeparator.x,
|
|
296
297
|
initY: d.value[0].firstSeparator.y,
|
|
@@ -305,7 +306,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
305
306
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
306
307
|
});
|
|
307
308
|
return { x1: t, y1: u, x2: a, y2: s };
|
|
308
|
-
}),
|
|
309
|
+
}), Se = h(() => d.value.map((t) => {
|
|
309
310
|
const { x: u, y: a } = A({
|
|
310
311
|
initX: t.separator.x,
|
|
311
312
|
initY: t.separator.y,
|
|
@@ -328,7 +329,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
328
329
|
let s = 0;
|
|
329
330
|
return t.map((g) => (s += g, `${s / 100 * a - g / 4}%`));
|
|
330
331
|
}
|
|
331
|
-
const Be = h(() => je(d.value.map((t) => t.proportion * 100))), Ue = h(() =>
|
|
332
|
+
const Be = h(() => je(d.value.map((t) => t.proportion * 100))), Ue = h(() => te(
|
|
332
333
|
{ series: O.value.series },
|
|
333
334
|
l.value.width / 2,
|
|
334
335
|
v.value.base,
|
|
@@ -342,18 +343,18 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
342
343
|
2 * l.value.trackSize
|
|
343
344
|
)), We = h(() => {
|
|
344
345
|
const t = z.value >= 0 ? -z.value : Math.abs(z.value);
|
|
345
|
-
return
|
|
346
|
+
return nt({
|
|
346
347
|
radius: e.value.style.chart.layout.indicatorArc.radius * l.value.trackSize,
|
|
347
348
|
centerX: l.value.width / 2,
|
|
348
349
|
centerY: v.value.base,
|
|
349
|
-
percentage:
|
|
350
|
+
percentage: it((y.value + t) / (P.value + t))
|
|
350
351
|
});
|
|
351
352
|
}), Y = f(!1);
|
|
352
|
-
function
|
|
353
|
-
Y.value = t,
|
|
353
|
+
function xe(t) {
|
|
354
|
+
Y.value = t, oe.value += 1;
|
|
354
355
|
}
|
|
355
356
|
const G = f(!1);
|
|
356
|
-
function
|
|
357
|
+
function J() {
|
|
357
358
|
G.value = !G.value;
|
|
358
359
|
}
|
|
359
360
|
async function De({ scale: t = 2 } = {}) {
|
|
@@ -370,42 +371,42 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
370
371
|
}
|
|
371
372
|
return Me({
|
|
372
373
|
getImage: De,
|
|
373
|
-
generatePdf:
|
|
374
|
-
generateImage:
|
|
375
|
-
toggleAnnotator:
|
|
376
|
-
toggleFullscreen:
|
|
374
|
+
generatePdf: ge,
|
|
375
|
+
generateImage: pe,
|
|
376
|
+
toggleAnnotator: J,
|
|
377
|
+
toggleFullscreen: xe
|
|
377
378
|
}), (t, u) => (r(), o("div", {
|
|
378
|
-
class:
|
|
379
|
+
class: ze(`vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
379
380
|
ref_key: "gaugeChart",
|
|
380
381
|
ref: C,
|
|
381
382
|
id: `vue-ui-gauge_${w.value}`,
|
|
382
|
-
style:
|
|
383
|
-
onMouseenter: u[0] || (u[0] = () => n(
|
|
384
|
-
onMouseleave: u[1] || (u[1] = () => n(
|
|
383
|
+
style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
384
|
+
onMouseenter: u[0] || (u[0] = () => n(de)(!0)),
|
|
385
|
+
onMouseleave: u[1] || (u[1] = () => n(de)(!1))
|
|
385
386
|
}, [
|
|
386
387
|
e.value.userOptions.buttons.annotator ? (r(), j(n(Pe), {
|
|
387
388
|
key: 0,
|
|
388
|
-
svgRef: n(
|
|
389
|
+
svgRef: n(V),
|
|
389
390
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
390
391
|
color: e.value.style.chart.color,
|
|
391
392
|
active: G.value,
|
|
392
|
-
onClose:
|
|
393
|
+
onClose: J
|
|
393
394
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
394
|
-
|
|
395
|
+
Ee.value ? (r(), o("div", {
|
|
395
396
|
key: 1,
|
|
396
397
|
ref_key: "noTitle",
|
|
397
|
-
ref:
|
|
398
|
+
ref: ce,
|
|
398
399
|
class: "vue-data-ui-no-title-space",
|
|
399
400
|
style: "height:36px; width: 100%;background:transparent"
|
|
400
401
|
}, null, 512)) : c("", !0),
|
|
401
402
|
e.value.style.chart.title.text ? (r(), o("div", {
|
|
402
403
|
key: 2,
|
|
403
404
|
ref_key: "chartTitle",
|
|
404
|
-
ref:
|
|
405
|
+
ref: ue,
|
|
405
406
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
406
407
|
}, [
|
|
407
408
|
(r(), j(bt, {
|
|
408
|
-
key: `title_${
|
|
409
|
+
key: `title_${ve.value}`,
|
|
409
410
|
config: {
|
|
410
411
|
title: {
|
|
411
412
|
cy: "gauge-div-title",
|
|
@@ -418,19 +419,19 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
418
419
|
}
|
|
419
420
|
}, {
|
|
420
421
|
default: X(() => [
|
|
421
|
-
e.value.translations.base &&
|
|
422
|
+
e.value.translations.base && n(S).base ? (r(), o("span", Ft, R(e.value.translations.base) + ": " + R(n(S).base), 1)) : c("", !0)
|
|
422
423
|
]),
|
|
423
424
|
_: 1
|
|
424
425
|
}, 8, ["config"]))
|
|
425
426
|
], 512)) : c("", !0),
|
|
426
|
-
e.value.userOptions.show && Ye.value && (n(
|
|
427
|
+
e.value.userOptions.show && Ye.value && (n(fe) || n(D)) ? (r(), j(n(Ie), {
|
|
427
428
|
ref_key: "details",
|
|
428
|
-
ref:
|
|
429
|
-
key: `user_options_${
|
|
429
|
+
ref: Le,
|
|
430
|
+
key: `user_options_${oe.value}`,
|
|
430
431
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
431
432
|
color: e.value.style.chart.color,
|
|
432
|
-
isImaging: n(
|
|
433
|
-
isPrinting: n(
|
|
433
|
+
isImaging: n(me),
|
|
434
|
+
isPrinting: n(ye),
|
|
434
435
|
uid: w.value,
|
|
435
436
|
hasXls: !1,
|
|
436
437
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -444,57 +445,57 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
444
445
|
position: e.value.userOptions.position,
|
|
445
446
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
446
447
|
isAnnotation: G.value,
|
|
447
|
-
onToggleFullscreen:
|
|
448
|
-
onGeneratePdf: n(
|
|
449
|
-
onGenerateImage: n(
|
|
450
|
-
onToggleAnnotator:
|
|
451
|
-
style:
|
|
452
|
-
visibility: n(
|
|
448
|
+
onToggleFullscreen: xe,
|
|
449
|
+
onGeneratePdf: n(ge),
|
|
450
|
+
onGenerateImage: n(pe),
|
|
451
|
+
onToggleAnnotator: J,
|
|
452
|
+
style: ee({
|
|
453
|
+
visibility: n(fe) ? n(D) ? "visible" : "hidden" : "visible"
|
|
453
454
|
})
|
|
454
455
|
}, et({ _: 2 }, [
|
|
455
456
|
t.$slots.menuIcon ? {
|
|
456
457
|
name: "menuIcon",
|
|
457
458
|
fn: X(({ isOpen: a, color: s }) => [
|
|
458
|
-
|
|
459
|
+
x(t.$slots, "menuIcon", B(U({ isOpen: a, color: s })), void 0, !0)
|
|
459
460
|
]),
|
|
460
461
|
key: "0"
|
|
461
462
|
} : void 0,
|
|
462
463
|
t.$slots.optionPdf ? {
|
|
463
464
|
name: "optionPdf",
|
|
464
465
|
fn: X(() => [
|
|
465
|
-
|
|
466
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
466
467
|
]),
|
|
467
468
|
key: "1"
|
|
468
469
|
} : void 0,
|
|
469
470
|
t.$slots.optionImg ? {
|
|
470
471
|
name: "optionImg",
|
|
471
472
|
fn: X(() => [
|
|
472
|
-
|
|
473
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
473
474
|
]),
|
|
474
475
|
key: "2"
|
|
475
476
|
} : void 0,
|
|
476
477
|
t.$slots.optionFullscreen ? {
|
|
477
478
|
name: "optionFullscreen",
|
|
478
479
|
fn: X(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
479
|
-
|
|
480
|
+
x(t.$slots, "optionFullscreen", B(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
480
481
|
]),
|
|
481
482
|
key: "3"
|
|
482
483
|
} : void 0,
|
|
483
484
|
t.$slots.optionAnnotator ? {
|
|
484
485
|
name: "optionAnnotator",
|
|
485
486
|
fn: X(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
486
|
-
|
|
487
|
+
x(t.$slots, "optionAnnotator", B(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
487
488
|
]),
|
|
488
489
|
key: "4"
|
|
489
490
|
} : void 0
|
|
490
491
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
491
492
|
(r(), o("svg", {
|
|
492
493
|
ref_key: "svgRef",
|
|
493
|
-
ref:
|
|
494
|
-
xmlns: n(
|
|
495
|
-
class:
|
|
494
|
+
ref: V,
|
|
495
|
+
xmlns: n(ct),
|
|
496
|
+
class: ze({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
|
|
496
497
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
497
|
-
style:
|
|
498
|
+
style: ee(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
498
499
|
}, [
|
|
499
500
|
tt(n(Xe)),
|
|
500
501
|
t.$slots["chart-background"] ? (r(), o("foreignObject", {
|
|
@@ -507,7 +508,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
507
508
|
pointerEvents: "none"
|
|
508
509
|
}
|
|
509
510
|
}, [
|
|
510
|
-
|
|
511
|
+
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
511
512
|
], 8, Ct)) : c("", !0),
|
|
512
513
|
p("defs", null, [
|
|
513
514
|
p("radialGradient", {
|
|
@@ -520,15 +521,15 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
520
521
|
}, [
|
|
521
522
|
p("stop", {
|
|
522
523
|
offset: "0%",
|
|
523
|
-
"stop-color": n(
|
|
524
|
+
"stop-color": n(ae)("#FFFFFF", 1)
|
|
524
525
|
}, null, 8, Nt),
|
|
525
526
|
p("stop", {
|
|
526
527
|
offset: "80%",
|
|
527
|
-
"stop-color": n(
|
|
528
|
+
"stop-color": n(ae)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
528
529
|
}, null, 8, Mt),
|
|
529
530
|
p("stop", {
|
|
530
531
|
offset: "100%",
|
|
531
|
-
"stop-color": n(
|
|
532
|
+
"stop-color": n(ae)("#FFFFFF", 1)
|
|
532
533
|
}, null, 8, Pt)
|
|
533
534
|
], 8, Ot)
|
|
534
535
|
]),
|
|
@@ -547,38 +548,38 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
547
548
|
], 8, It)
|
|
548
549
|
]),
|
|
549
550
|
t.$slots.pattern ? (r(), o("g", Rt, [
|
|
550
|
-
(r(!0), o(k, null,
|
|
551
|
-
|
|
551
|
+
(r(!0), o(k, null, $(d.value, (a, s) => (r(), o("defs", null, [
|
|
552
|
+
x(t.$slots, "pattern", L({ ref_for: !0 }, { seriesIndex: s, patternId: `pattern_${w.value}_${s}` }), void 0, !0)
|
|
552
553
|
]))), 256))
|
|
553
554
|
])) : c("", !0),
|
|
554
|
-
(r(!0), o(k, null,
|
|
555
|
+
(r(!0), o(k, null, $(d.value, (a, s) => (r(), o("path", {
|
|
555
556
|
key: `arc_${s}`,
|
|
556
557
|
d: a.arcSlice,
|
|
557
558
|
fill: a.color,
|
|
558
559
|
stroke: e.value.style.chart.backgroundColor,
|
|
559
560
|
"stroke-linecap": "round"
|
|
560
561
|
}, null, 8, Yt))), 128)),
|
|
561
|
-
t.$slots.pattern ? (r(!0), o(k, { key: 2 },
|
|
562
|
+
t.$slots.pattern ? (r(!0), o(k, { key: 2 }, $(d.value, (a, s) => (r(), o("path", {
|
|
562
563
|
key: `arc_${s}`,
|
|
563
564
|
d: a.arcSlice,
|
|
564
565
|
fill: `url(#pattern_${w.value}_${s})`,
|
|
565
566
|
stroke: e.value.style.chart.backgroundColor,
|
|
566
567
|
"stroke-linecap": "round"
|
|
567
|
-
}, null, 8,
|
|
568
|
+
}, null, 8, Lt))), 128)) : c("", !0),
|
|
568
569
|
e.value.style.chart.layout.indicatorArc.show ? (r(), o("path", {
|
|
569
570
|
key: 3,
|
|
570
571
|
d: We.value,
|
|
571
572
|
fill: e.value.style.chart.layout.indicatorArc.fill
|
|
572
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, Et)) : c("", !0),
|
|
573
574
|
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (r(), o(k, { key: 4 }, [
|
|
574
|
-
(r(!0), o(k, null,
|
|
575
|
+
(r(!0), o(k, null, $(d.value, (a, s) => (r(), o("path", {
|
|
575
576
|
id: `curve_${w.value}_${s}`,
|
|
576
577
|
d: `M ${i.value.x1},${i.value.y1} m -${N.value[s]},0 a ${N.value[s]},${N.value[s]} 0 1,1 ${2 * N.value[s]},0 a ${N.value[s]},${N.value[s]} 0 1,1 -${2 * N.value[s]},0`,
|
|
577
578
|
fill: "transparent"
|
|
578
579
|
}, null, 8, Tt))), 256)),
|
|
579
|
-
(r(!0), o(k, null,
|
|
580
|
+
(r(!0), o(k, null, $(d.value, (a, s) => (r(), o("text", {
|
|
580
581
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
581
|
-
"font-size":
|
|
582
|
+
"font-size": E.value,
|
|
582
583
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
583
584
|
"text-anchor": "middle"
|
|
584
585
|
}, [
|
|
@@ -588,21 +589,21 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
588
589
|
}, R(a.name || ""), 9, jt)
|
|
589
590
|
], 8, Gt))), 256))
|
|
590
591
|
], 64)) : c("", !0),
|
|
591
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), o(k, { key: 5 },
|
|
592
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), o(k, { key: 5 }, $(Ge.value, (a, s) => (r(), o("text", {
|
|
592
593
|
class: "vue-ui-gauge-label-flat",
|
|
593
|
-
"text-anchor": n(
|
|
594
|
+
"text-anchor": n(ht)(a, !1, 12).anchor,
|
|
594
595
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
595
|
-
"font-size":
|
|
596
|
+
"font-size": E.value,
|
|
596
597
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
597
|
-
innerHTML: n(
|
|
598
|
+
innerHTML: n(vt)({
|
|
598
599
|
content: String(a.name ?? ""),
|
|
599
|
-
fontSize:
|
|
600
|
+
fontSize: E.value,
|
|
600
601
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
601
602
|
x: a.center.endX,
|
|
602
603
|
y: a.center.endY
|
|
603
604
|
})
|
|
604
605
|
}, null, 8, Bt))), 256)) : c("", !0),
|
|
605
|
-
e.value.style.chart.layout.track.useGradient ? (r(!0), o(k, { key: 6 },
|
|
606
|
+
e.value.style.chart.layout.track.useGradient ? (r(!0), o(k, { key: 6 }, $(Ue.value, (a, s) => (r(), o("path", {
|
|
606
607
|
key: `arc_${s}`,
|
|
607
608
|
d: a.arcSlice,
|
|
608
609
|
fill: "#FFFFFF",
|
|
@@ -611,29 +612,29 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
611
612
|
filter: `url(#blur_${w.value})`
|
|
612
613
|
}, null, 8, Ut))), 128)) : c("", !0),
|
|
613
614
|
e.value.style.chart.layout.segmentSeparators.show ? (r(), o(k, { key: 7 }, [
|
|
614
|
-
p("line",
|
|
615
|
+
p("line", L(we.value, {
|
|
615
616
|
stroke: e.value.style.chart.backgroundColor,
|
|
616
617
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
617
618
|
"stroke-linecap": "round"
|
|
618
619
|
}), null, 16, Wt),
|
|
619
|
-
p("line",
|
|
620
|
+
p("line", L(we.value, {
|
|
620
621
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
621
622
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
622
623
|
"stroke-linecap": "round"
|
|
623
624
|
}), null, 16, Dt),
|
|
624
|
-
(r(!0), o(k, null,
|
|
625
|
+
(r(!0), o(k, null, $(Se.value, (a) => (r(), o("line", L({ ref_for: !0 }, a, {
|
|
625
626
|
stroke: e.value.style.chart.backgroundColor,
|
|
626
627
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
627
628
|
"stroke-linecap": "round"
|
|
628
629
|
}), null, 16, Vt))), 256)),
|
|
629
|
-
(r(!0), o(k, null,
|
|
630
|
+
(r(!0), o(k, null, $(Se.value, (a) => (r(), o("line", L({ ref_for: !0 }, a, {
|
|
630
631
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
631
632
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
632
633
|
"stroke-linecap": "round"
|
|
633
634
|
}), null, 16, Ht))), 256))
|
|
634
635
|
], 64)) : c("", !0),
|
|
635
636
|
e.value.style.chart.layout.markers.show ? (r(), o("g", qt, [
|
|
636
|
-
(r(!0), o(k, null,
|
|
637
|
+
(r(!0), o(k, null, $(d.value, (a, s) => (r(), o("text", {
|
|
637
638
|
x: n(A)({
|
|
638
639
|
centerX: i.value.x1,
|
|
639
640
|
centerY: v.value.base,
|
|
@@ -652,10 +653,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
652
653
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
653
654
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
654
655
|
fill: e.value.style.chart.layout.markers.color
|
|
655
|
-
}, R(n(
|
|
656
|
+
}, R(n(le)(
|
|
656
657
|
e.value.style.chart.layout.markers.formatter,
|
|
657
658
|
a.from,
|
|
658
|
-
n(
|
|
659
|
+
n(se)({
|
|
659
660
|
p: e.value.style.chart.layout.markers.prefix,
|
|
660
661
|
v: a.from,
|
|
661
662
|
s: e.value.style.chart.layout.markers.suffix,
|
|
@@ -683,10 +684,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
683
684
|
"font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
684
685
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
685
686
|
fill: e.value.style.chart.layout.markers.color
|
|
686
|
-
}, R(n(
|
|
687
|
+
}, R(n(le)(
|
|
687
688
|
e.value.style.chart.layout.markers.formatter,
|
|
688
689
|
P.value,
|
|
689
|
-
n(
|
|
690
|
+
n(se)({
|
|
690
691
|
p: e.value.style.chart.layout.markers.prefix,
|
|
691
692
|
v: P.value,
|
|
692
693
|
s: e.value.style.chart.layout.markers.suffix,
|
|
@@ -711,7 +712,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
711
712
|
y1: i.value.y1,
|
|
712
713
|
x2: i.value.x2,
|
|
713
714
|
y2: i.value.y2,
|
|
714
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
715
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
|
|
715
716
|
"stroke-linecap": "round",
|
|
716
717
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
717
718
|
}, null, 8, ea)),
|
|
@@ -727,10 +728,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
727
728
|
filter: `url(#blur_${w.value})`
|
|
728
729
|
}, null, 8, ta)) : c("", !0)
|
|
729
730
|
])) : (r(), o("g", aa, [
|
|
730
|
-
|
|
731
|
+
ke.value ? (r(), o("path", {
|
|
731
732
|
key: 0,
|
|
732
|
-
d:
|
|
733
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
733
|
+
d: ke.value,
|
|
734
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
|
|
734
735
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
735
736
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
736
737
|
"stroke-linejoin": "round"
|
|
@@ -752,40 +753,40 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
|
|
|
752
753
|
"text-anchor": "middle",
|
|
753
754
|
"font-size": l.value.legendFontSize,
|
|
754
755
|
"font-weight": "bold",
|
|
755
|
-
fill: e.value.style.chart.legend.useRatingColor ?
|
|
756
|
-
}, R(n(
|
|
756
|
+
fill: e.value.style.chart.legend.useRatingColor ? q.value : e.value.style.chart.legend.color
|
|
757
|
+
}, R(n(le)(
|
|
757
758
|
e.value.style.chart.legend.formatter,
|
|
758
759
|
y.value,
|
|
759
|
-
n(
|
|
760
|
+
n(se)({
|
|
760
761
|
p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && y.value > 0 ? "+" : ""),
|
|
761
762
|
v: y.value,
|
|
762
763
|
s: e.value.style.chart.legend.suffix,
|
|
763
764
|
r: e.value.style.chart.legend.roundingValue
|
|
764
765
|
})
|
|
765
766
|
)), 9, ra)) : c("", !0),
|
|
766
|
-
|
|
767
|
+
x(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
767
768
|
], 14, At)),
|
|
768
769
|
t.$slots.watermark ? (r(), o("div", oa, [
|
|
769
|
-
|
|
770
|
+
x(t.$slots, "watermark", B(U({ isPrinting: n(ye) || n(me) })), void 0, !0)
|
|
770
771
|
])) : c("", !0),
|
|
771
772
|
p("div", {
|
|
772
773
|
ref_key: "chartLegend",
|
|
773
|
-
ref:
|
|
774
|
+
ref: ne
|
|
774
775
|
}, [
|
|
775
|
-
|
|
776
|
+
x(t.$slots, "legend", { legend: O.value }, void 0, !0)
|
|
776
777
|
], 512),
|
|
777
778
|
t.$slots.source ? (r(), o("div", {
|
|
778
779
|
key: 5,
|
|
779
780
|
ref_key: "source",
|
|
780
|
-
ref:
|
|
781
|
+
ref: ie,
|
|
781
782
|
dir: "auto"
|
|
782
783
|
}, [
|
|
783
|
-
|
|
784
|
+
x(t.$slots, "source", {}, void 0, !0)
|
|
784
785
|
], 512)) : c("", !0),
|
|
785
|
-
n(
|
|
786
|
+
n(he) ? (r(), j(St, { key: 6 })) : c("", !0)
|
|
786
787
|
], 46, zt));
|
|
787
788
|
}
|
|
788
|
-
},
|
|
789
|
+
}, _a = /* @__PURE__ */ $t(ua, [["__scopeId", "data-v-415be812"]]);
|
|
789
790
|
export {
|
|
790
|
-
|
|
791
|
+
_a as default
|
|
791
792
|
};
|