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 H, computed 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
|
|
10
|
-
import
|
|
1
|
+
import { defineAsyncComponent as H, computed as D, ref as _, toRefs as wt, watch as xe, onMounted as Ct, createElementBlock as c, openBlock as u, unref as n, normalizeStyle as z, normalizeClass as qe, createBlock as Q, createCommentVNode as p, createSlots as Ye, withCtx as A, renderSlot as P, normalizeProps as de, guardReactiveProps as ce, createVNode as Ke, createElementVNode as i, Fragment as C, renderList as M, toDisplayString as j, withKeys as Je, withModifiers as Qe, mergeProps as we, resolveDynamicComponent as Mt, createTextVNode as et, nextTick as tt } from "vue";
|
|
2
|
+
import { c as lt, t as Ft, b as Tt, p as ve, e as Pt, h as Dt, o as At, f as he, g as Ce, m as R, n as ot, q as St, d as B, X as Ot, s as $, r as X, a as fe, u as st, v as pe, w as G, x as Bt, y as It } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as zt, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Nt, a as at } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as Lt, B as Wt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Et } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import Vt from "./img-CH7J0fYg.js";
|
|
10
|
+
import Ut from "./Title-pI68ZJsq.js";
|
|
11
|
+
import { t as Ht } from "./themes-D3cUNuKw.js";
|
|
11
12
|
import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["id"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], ol = ["id"], sl = ["stop-color"], al = ["stop-color"], nl = ["id"], rl = ["stop-color"], ul = ["stop-color"], il = ["id"], dl = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], pl = { key: 1 }, yl = ["id"], kl = ["stop-color"], gl = ["stop-color"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["id"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x", "y"], Tl = ["cx", "cy", "stroke", "opacity"], Pl = ["d", "stroke"], Dl = ["d", "stroke"], Al = { key: 4 }, Sl = { key: 0 }, Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["stroke-dasharray", "d", "stroke", "stroke-width"],
|
|
13
|
+
const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["id"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], ol = ["id"], sl = ["stop-color"], al = ["stop-color"], nl = ["id"], rl = ["stop-color"], ul = ["stop-color"], il = ["id"], dl = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], pl = { key: 1 }, yl = ["id"], kl = ["stop-color"], gl = ["stop-color"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["id"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x", "y"], Tl = ["cx", "cy", "stroke", "opacity"], Pl = ["d", "stroke"], Dl = ["d", "stroke"], Al = { key: 4 }, Sl = { key: 0 }, Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], jl = { key: 1 }, Nl = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Wl = ["d", "stroke", "stroke-width", "fill"], El = { key: 2 }, Rl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Gl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Vl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Ul = ["d", "onMouseenter", "onClick", "onMouseout"], Hl = ["d"], Xl = ["d", "stroke"], Zl = ["onClick"], ql = ["stroke", "d"], Yl = ["cx", "cy", "fill", "stroke"], Kl = ["x", "y", "width", "height"], Jl = ["x", "y", "width", "height"], Ql = { key: 3 }, eo = ["d", "stroke"], to = ["d", "fill", "stroke"], lo = { key: 0 }, oo = ["text-anchor", "x", "y", "fill", "font-size"], so = ["text-anchor", "x", "y", "fill", "font-size"], ao = { key: 4 }, no = ["d", "fill", "stroke"], ro = { key: 5 }, uo = { key: 0 }, io = ["stroke-dasharray", "d", "stroke", "stroke-width"], co = ["stroke-dasharray", "d", "stroke", "stroke-width"], vo = ["stroke-dasharray", "d", "stroke", "stroke-width"], ho = ["stroke-dasharray", "d", "stroke", "stroke-width"], fo = ["d", "stroke", "stroke-width", "fill"], po = ["d", "stroke", "stroke-width", "fill"], yo = ["d"], ko = { key: 1 }, go = ["onClick"], $o = ["id"], _o = ["stop-color"], mo = ["stop-color"], bo = ["id"], xo = ["stop-color"], wo = ["stop-color"], Co = ["stop-color"], Mo = ["stop-color"], Fo = ["stop-color"], To = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Po = ["onMouseenter", "onClick", "onMouseout", "d"], Do = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Ao = ["onClick"], So = ["stroke", "d"], Oo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "width", "height"], Io = ["x", "y", "width", "height"], zo = { key: 3 }, jo = ["d", "stroke"], No = ["d", "fill", "stroke"], Lo = { key: 0 }, Wo = ["text-anchor", "x", "y", "fill", "font-size"], Eo = ["text-anchor", "x", "y", "fill", "font-size"], Ro = { key: 4 }, Go = ["d", "fill", "stroke"], Vo = {
|
|
13
14
|
key: 3,
|
|
14
15
|
class: "vue-data-ui-watermark"
|
|
15
16
|
}, Uo = ["innerHTML"], Ho = {
|
|
@@ -30,8 +31,8 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
30
31
|
},
|
|
31
32
|
emits: ["selectDatapoint"],
|
|
32
33
|
setup(nt, { expose: rt, emit: ut }) {
|
|
33
|
-
const it = H(() => import("./BaseIcon-
|
|
34
|
-
...wt(
|
|
34
|
+
const it = H(() => import("./BaseIcon-D2f9w5Z5.js")), dt = H(() => import("./vue-ui-accordion-D-L73-T2.js")), ct = H(() => import("./DataTable-xISHA7Pu.js")), vt = H(() => import("./PenAndPaper-CtDMyIvW.js")), ht = H(() => import("./UserOptions-Bn3u4JQu.js")), ft = H(() => import("./PackageVersion-DRpg18lg.js")), pt = H(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_3d_bar: yt } = Nt(), O = nt, se = ut, Me = D(() => !!O.dataset && Object.keys(O.dataset).length), F = _(lt()), N = _(null), I = _(!1), Fe = _(0), Te = _(0), Pe = _(null), ee = _(null), ae = _(null), De = _(null), te = _(!1), le = _(null), ye = _(null), e = _(ge()), { loading: Z, FINAL_DATASET: S } = Lt({
|
|
35
|
+
...wt(O),
|
|
35
36
|
FINAL_CONFIG: e,
|
|
36
37
|
prepareConfig: ge,
|
|
37
38
|
callback: () => {
|
|
@@ -67,7 +68,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
67
68
|
}
|
|
68
69
|
]
|
|
69
70
|
},
|
|
70
|
-
skeletonConfig:
|
|
71
|
+
skeletonConfig: Ft({
|
|
71
72
|
defaultConfig: e.value,
|
|
72
73
|
userConfig: {
|
|
73
74
|
customPalette: ["#808080", "#ADADAD", "#DBDBDB"],
|
|
@@ -88,28 +89,28 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
})
|
|
91
|
-
}), { userOptionsVisible: ke, setUserOptionsVisibility: Ae, keepUserOptionState: Se } =
|
|
92
|
+
}), { userOptionsVisible: ke, setUserOptionsVisibility: Ae, keepUserOptionState: Se } = Rt({ config: e.value }), { svgRef: Oe } = Gt({ config: e.value.style.chart.title });
|
|
92
93
|
function ge() {
|
|
93
94
|
const a = at({
|
|
94
|
-
userConfig:
|
|
95
|
+
userConfig: O.config,
|
|
95
96
|
defaultConfig: yt
|
|
96
97
|
});
|
|
97
98
|
return a.theme ? {
|
|
98
99
|
...at({
|
|
99
|
-
userConfig:
|
|
100
|
+
userConfig: Ht.vue_ui_3d_bar[a.theme] || O.config,
|
|
100
101
|
defaultConfig: a
|
|
101
102
|
}),
|
|
102
|
-
customPalette:
|
|
103
|
+
customPalette: Tt[a.theme] || ve
|
|
103
104
|
} : a;
|
|
104
105
|
}
|
|
105
|
-
xe(() =>
|
|
106
|
+
xe(() => O.config, (a) => {
|
|
106
107
|
Z.value || (e.value = ge()), ke.value = !e.value.userOptions.showOnChartHover, We(), Fe.value += 1, Te.value += 1, V.value.showTable = e.value.table.show;
|
|
107
108
|
}, { deep: !0 });
|
|
108
|
-
const { isPrinting: Be, isImaging: Ie, generatePdf:
|
|
109
|
+
const { isPrinting: Be, isImaging: Ie, generatePdf: ze, generateImage: je } = Et({
|
|
109
110
|
elementId: `3d_bar_${F.value}`,
|
|
110
111
|
fileName: e.value.style.chart.title.text || "vue-ui-3d-bar",
|
|
111
112
|
options: e.value.userOptions.print
|
|
112
|
-
}), kt =
|
|
113
|
+
}), kt = D(() => Pt(e.value.customPalette)), V = _({
|
|
113
114
|
showTable: e.value.table.show
|
|
114
115
|
});
|
|
115
116
|
xe(e, () => {
|
|
@@ -117,7 +118,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
117
118
|
showTable: e.value.table.show
|
|
118
119
|
};
|
|
119
120
|
}, { immediate: !0 });
|
|
120
|
-
const x =
|
|
121
|
+
const x = D(() => S.value.series && S.value.series.length), $e = _(e.value.style.chart.box.dimensions.width * (x.value ? 2 : 1)), Ne = _(e.value.style.chart.box.dimensions.height), o = D(() => ({
|
|
121
122
|
height: Ne.value,
|
|
122
123
|
width: $e.value,
|
|
123
124
|
absoluteWidth: $e.value,
|
|
@@ -126,14 +127,14 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
126
127
|
left: e.value.style.chart.box.dimensions.left,
|
|
127
128
|
right: e.value.style.chart.box.dimensions.right,
|
|
128
129
|
perspective: e.value.style.chart.box.dimensions.perspective
|
|
129
|
-
})), w =
|
|
130
|
+
})), w = D(() => {
|
|
130
131
|
if (x.value) {
|
|
131
|
-
const a =
|
|
132
|
+
const a = S.value.series.map((l) => l.value || 0).reduce((l, d) => l + d, 0), s = S.value.series.map((l, d) => ({
|
|
132
133
|
...l,
|
|
133
134
|
seriesIndex: d,
|
|
134
135
|
id: lt(),
|
|
135
136
|
proportion: (l.value || 0) / a,
|
|
136
|
-
color:
|
|
137
|
+
color: Dt(l.color) || kt.value[d] || ve[d] || ve[d % ve.length],
|
|
137
138
|
breakdown: l.breakdown ? l.breakdown.sort((r, k) => k.value - r.value) : null
|
|
138
139
|
})).sort((l, d) => d.value - l.value), t = [];
|
|
139
140
|
let v = 0;
|
|
@@ -145,7 +146,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
145
146
|
return t;
|
|
146
147
|
}
|
|
147
148
|
return null;
|
|
148
|
-
}), L =
|
|
149
|
+
}), L = D(() => {
|
|
149
150
|
const a = o.value.width / 2;
|
|
150
151
|
return {
|
|
151
152
|
right: `M${a},${o.value.top} ${o.value.width - o.value.right}, ${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} ${a},${o.value.height - o.value.bottom}`,
|
|
@@ -157,24 +158,24 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
157
158
|
tubeRight: `M${o.value.width - o.value.right},${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
158
159
|
tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
|
|
159
160
|
};
|
|
160
|
-
}), q = _(e.value.style.chart.animation.use ? 0 :
|
|
161
|
+
}), q = _(e.value.style.chart.animation.use ? 0 : S.value.percentage);
|
|
161
162
|
function Le() {
|
|
162
163
|
let a = 0, s = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
|
|
163
164
|
function v() {
|
|
164
|
-
q.value += s + a, a += t, q.value <
|
|
165
|
+
q.value += s + a, a += t, q.value < S.value.percentage ? requestAnimationFrame(v) : q.value = S.value.percentage;
|
|
165
166
|
}
|
|
166
167
|
e.value.style.chart.animation.use && (q.value = 0, v());
|
|
167
168
|
}
|
|
168
169
|
Ct(() => {
|
|
169
170
|
We(), Le();
|
|
170
171
|
});
|
|
171
|
-
const ne =
|
|
172
|
+
const ne = D(() => !!e.value.debug);
|
|
172
173
|
function We() {
|
|
173
|
-
if (
|
|
174
|
+
if (At(O.dataset) ? he({
|
|
174
175
|
componentName: "VueUi3dBar",
|
|
175
176
|
type: "dataset",
|
|
176
177
|
debug: ne.value
|
|
177
|
-
}) :
|
|
178
|
+
}) : O.dataset.series ? O.dataset.series.forEach((a, s) => {
|
|
178
179
|
Ce({
|
|
179
180
|
datasetObject: a,
|
|
180
181
|
requiredAttributes: ["name", "value"]
|
|
@@ -201,7 +202,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
201
202
|
});
|
|
202
203
|
});
|
|
203
204
|
}) : Ce({
|
|
204
|
-
datasetObject:
|
|
205
|
+
datasetObject: O.dataset,
|
|
205
206
|
requiredAttributes: ["percentage"]
|
|
206
207
|
}).forEach((a) => {
|
|
207
208
|
he({
|
|
@@ -211,8 +212,8 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
211
212
|
debug: ne.value
|
|
212
213
|
});
|
|
213
214
|
}), e.value.responsive) {
|
|
214
|
-
const a =
|
|
215
|
-
const { width: s, height: t } =
|
|
215
|
+
const a = zt(() => {
|
|
216
|
+
const { width: s, height: t } = jt({
|
|
216
217
|
chart: N.value,
|
|
217
218
|
title: e.value.style.chart.title.text ? Pe.value : null,
|
|
218
219
|
source: De.value
|
|
@@ -224,7 +225,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
224
225
|
ee.value && (ae.value && ee.value.unobserve(ae.value), ee.value.disconnect()), ee.value = new ResizeObserver(a), ae.value = N.value.parentNode, ee.value.observe(ae.value);
|
|
225
226
|
}
|
|
226
227
|
}
|
|
227
|
-
const Y =
|
|
228
|
+
const Y = D(() => o.value.width / 4);
|
|
228
229
|
function gt(a, s, t, v) {
|
|
229
230
|
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: d, height: r, bottom: k, right: E, left: g, perspective: y } = o.value, f = x.value ? d / 4 : d / 2, b = f * 2 + g, h = k + l * a, be = r - h - y - l * s / 2, mt = be > o.value.height / 2 ? "top" : "bottom", Ue = r * 0.25, bt = !!t;
|
|
230
231
|
let He = null, Xe = null;
|
|
@@ -290,8 +291,8 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
290
291
|
${g},${r - h - y}Z`
|
|
291
292
|
};
|
|
292
293
|
}
|
|
293
|
-
const K =
|
|
294
|
-
const a =
|
|
294
|
+
const K = D(() => {
|
|
295
|
+
const a = St(q.value / 100), s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: t, height: v, bottom: l, right: d, left: r, perspective: k } = o.value, E = x.value ? t / 4 : t / 2, g = x.value ? E * 2 + r : d, f = l + s * 0;
|
|
295
296
|
return {
|
|
296
297
|
right: `M${E},${v - f} ${E},${v - f - s * a} ${t - g},${v - f - k - s * a} ${t - g},${v - f - k}Z`,
|
|
297
298
|
left: `M${E},${v - f} ${E},${v - f - s * a} ${r}, ${v - f - k - s * a} ${r},${v - f - k}Z`,
|
|
@@ -310,13 +311,13 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
310
311
|
};
|
|
311
312
|
}), m = _(null);
|
|
312
313
|
function T(a, s = !1) {
|
|
313
|
-
e.value.events.datapointEnter && !s && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && s && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), se("selectDatapoint", a), s || (m.value = a.id), s &&
|
|
314
|
+
e.value.events.datapointEnter && !s && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && s && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), se("selectDatapoint", a), s || (m.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
|
|
314
315
|
}
|
|
315
316
|
function U(a) {
|
|
316
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !
|
|
317
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !I.value && (m.value = null);
|
|
317
318
|
}
|
|
318
319
|
function J(a, s, t = !1) {
|
|
319
|
-
const v =
|
|
320
|
+
const v = S.value.series.map((r) => r.value || 0).reduce((r, k) => r + k, 0), l = isNaN(a.value / v) ? 0 : a.value / v * 100, d = isNaN(a.value / Ee(s)) ? 0 : a.value / Ee(s) * 100;
|
|
320
321
|
return t ? d : l.toFixed(0) + "%";
|
|
321
322
|
}
|
|
322
323
|
function Ee(a) {
|
|
@@ -327,9 +328,9 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
327
328
|
re.value = a;
|
|
328
329
|
}
|
|
329
330
|
function $t() {
|
|
330
|
-
return x.value ? w.value :
|
|
331
|
+
return x.value ? w.value : S.value.percentage;
|
|
331
332
|
}
|
|
332
|
-
const W =
|
|
333
|
+
const W = D(() => {
|
|
333
334
|
if (x.value) {
|
|
334
335
|
const a = w.value.flatMap((t) => t.breakdown && t.breakdown.length ? [{ name: t.name, color: t.color }, ...t.breakdown.map((v, l) => ({
|
|
335
336
|
name: v.name,
|
|
@@ -350,24 +351,24 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
350
351
|
tt(() => {
|
|
351
352
|
const s = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), t = W.value.head.map((d, r) => [[
|
|
352
353
|
d.name
|
|
353
|
-
], [W.value.body[r]], [isNaN(W.value.body[r] / s) ? "-" : W.value.body[r] / s * 100]]), v = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
354
|
-
a ? a(l) :
|
|
354
|
+
], [W.value.body[r]], [isNaN(W.value.body[r] / s) ? "-" : W.value.body[r] / s * 100]]), v = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Bt(v);
|
|
355
|
+
a ? a(l) : It({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
355
356
|
});
|
|
356
357
|
}
|
|
357
|
-
const ue =
|
|
358
|
+
const ue = D(() => {
|
|
358
359
|
const a = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), s = [
|
|
359
360
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
360
|
-
|
|
361
|
+
B({ p: e.value.style.chart.legend.prefix, v: a, s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue }),
|
|
361
362
|
"100%"
|
|
362
363
|
], t = W.value.head.map((d, r) => {
|
|
363
|
-
const k =
|
|
364
|
+
const k = B({ p: e.value.style.chart.legend.prefix, v: W.value.body[r], s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue });
|
|
364
365
|
return [
|
|
365
366
|
{
|
|
366
367
|
color: d.color,
|
|
367
368
|
name: d.name
|
|
368
369
|
},
|
|
369
370
|
k,
|
|
370
|
-
isNaN(W.value.body[r] / a) ? "-" :
|
|
371
|
+
isNaN(W.value.body[r] / a) ? "-" : B({
|
|
371
372
|
v: W.value.body[r] / a * 100,
|
|
372
373
|
s: "%",
|
|
373
374
|
r: e.value.table.td.roundingPercentage
|
|
@@ -407,7 +408,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
407
408
|
}
|
|
408
409
|
async function _t({ scale: a = 2 } = {}) {
|
|
409
410
|
if (!N.value) return;
|
|
410
|
-
const { width: s, height: t } = N.value.getBoundingClientRect(), v = s / t, { imageUri: l, base64: d } = await
|
|
411
|
+
const { width: s, height: t } = N.value.getBoundingClientRect(), v = s / t, { imageUri: l, base64: d } = await Vt({ domElement: N.value, base64: !0, img: !0, scale: a });
|
|
411
412
|
return {
|
|
412
413
|
imageUri: l,
|
|
413
414
|
base64: d,
|
|
@@ -417,7 +418,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
417
418
|
aspectRatio: v
|
|
418
419
|
};
|
|
419
420
|
}
|
|
420
|
-
const oe =
|
|
421
|
+
const oe = D(() => {
|
|
421
422
|
const a = e.value.table.useDialog && !e.value.table.show, s = V.value.showTable;
|
|
422
423
|
return {
|
|
423
424
|
component: a ? pt : dt,
|
|
@@ -456,8 +457,8 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
456
457
|
return rt({
|
|
457
458
|
getImage: _t,
|
|
458
459
|
generateCsv: _e,
|
|
459
|
-
generatePdf:
|
|
460
|
-
generateImage:
|
|
460
|
+
generatePdf: ze,
|
|
461
|
+
generateImage: je,
|
|
461
462
|
getData: $t,
|
|
462
463
|
toggleTable: Ge,
|
|
463
464
|
toggleAnnotator: me,
|
|
@@ -466,7 +467,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
466
467
|
ref_key: "bar3dChart",
|
|
467
468
|
ref: N,
|
|
468
469
|
class: qe("vue-ui-3d-bar"),
|
|
469
|
-
style:
|
|
470
|
+
style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
470
471
|
id: `3d_bar_${F.value}`,
|
|
471
472
|
onMouseenter: s[8] || (s[8] = () => n(Ae)(!0)),
|
|
472
473
|
onMouseleave: s[9] || (s[9] = () => n(Ae)(!1))
|
|
@@ -485,7 +486,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
485
486
|
ref: Pe,
|
|
486
487
|
style: "width:100%;background:transparent"
|
|
487
488
|
}, [
|
|
488
|
-
(u(), Q(
|
|
489
|
+
(u(), Q(Ut, {
|
|
489
490
|
key: `title_${Fe.value}`,
|
|
490
491
|
config: {
|
|
491
492
|
title: {
|
|
@@ -522,60 +523,60 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
522
523
|
printScale: e.value.userOptions.print.scale,
|
|
523
524
|
tableDialog: e.value.table.useDialog,
|
|
524
525
|
onToggleFullscreen: Re,
|
|
525
|
-
onGeneratePdf: n(
|
|
526
|
+
onGeneratePdf: n(ze),
|
|
526
527
|
onGenerateCsv: _e,
|
|
527
|
-
onGenerateImage: n(
|
|
528
|
+
onGenerateImage: n(je),
|
|
528
529
|
onToggleTable: Ge,
|
|
529
530
|
onToggleAnnotator: me,
|
|
530
|
-
style:
|
|
531
|
+
style: z({
|
|
531
532
|
visibility: n(Se) ? n(ke) ? "visible" : "hidden" : "visible"
|
|
532
533
|
})
|
|
533
534
|
}, Ye({ _: 2 }, [
|
|
534
535
|
a.$slots.menuIcon ? {
|
|
535
536
|
name: "menuIcon",
|
|
536
|
-
fn:
|
|
537
|
+
fn: A(({ isOpen: t, color: v }) => [
|
|
537
538
|
P(a.$slots, "menuIcon", de(ce({ isOpen: t, color: v })), void 0, !0)
|
|
538
539
|
]),
|
|
539
540
|
key: "0"
|
|
540
541
|
} : void 0,
|
|
541
542
|
a.$slots.optionPdf ? {
|
|
542
543
|
name: "optionPdf",
|
|
543
|
-
fn:
|
|
544
|
+
fn: A(() => [
|
|
544
545
|
P(a.$slots, "optionPdf", {}, void 0, !0)
|
|
545
546
|
]),
|
|
546
547
|
key: "1"
|
|
547
548
|
} : void 0,
|
|
548
549
|
a.$slots.optionCsv ? {
|
|
549
550
|
name: "optionCsv",
|
|
550
|
-
fn:
|
|
551
|
+
fn: A(() => [
|
|
551
552
|
P(a.$slots, "optionCsv", {}, void 0, !0)
|
|
552
553
|
]),
|
|
553
554
|
key: "2"
|
|
554
555
|
} : void 0,
|
|
555
556
|
a.$slots.optionImg ? {
|
|
556
557
|
name: "optionImg",
|
|
557
|
-
fn:
|
|
558
|
+
fn: A(() => [
|
|
558
559
|
P(a.$slots, "optionImg", {}, void 0, !0)
|
|
559
560
|
]),
|
|
560
561
|
key: "3"
|
|
561
562
|
} : void 0,
|
|
562
563
|
a.$slots.optionTable ? {
|
|
563
564
|
name: "optionTable",
|
|
564
|
-
fn:
|
|
565
|
+
fn: A(() => [
|
|
565
566
|
P(a.$slots, "optionTable", {}, void 0, !0)
|
|
566
567
|
]),
|
|
567
568
|
key: "4"
|
|
568
569
|
} : void 0,
|
|
569
570
|
a.$slots.optionFullscreen ? {
|
|
570
571
|
name: "optionFullscreen",
|
|
571
|
-
fn:
|
|
572
|
+
fn: A(({ toggleFullscreen: t, isFullscreen: v }) => [
|
|
572
573
|
P(a.$slots, "optionFullscreen", de(ce({ toggleFullscreen: t, isFullscreen: v })), void 0, !0)
|
|
573
574
|
]),
|
|
574
575
|
key: "5"
|
|
575
576
|
} : void 0,
|
|
576
577
|
a.$slots.optionAnnotator ? {
|
|
577
578
|
name: "optionAnnotator",
|
|
578
|
-
fn:
|
|
579
|
+
fn: A(({ toggleAnnotator: t, isAnnotator: v }) => [
|
|
579
580
|
P(a.$slots, "optionAnnotator", de(ce({ toggleAnnotator: t, isAnnotator: v })), void 0, !0)
|
|
580
581
|
]),
|
|
581
582
|
key: "6"
|
|
@@ -584,10 +585,10 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
584
585
|
(u(), c("svg", {
|
|
585
586
|
ref_key: "svgRef",
|
|
586
587
|
ref: Oe,
|
|
587
|
-
xmlns: n(
|
|
588
|
+
xmlns: n(Ot),
|
|
588
589
|
class: qe({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
|
|
589
590
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
590
|
-
style:
|
|
591
|
+
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
591
592
|
}, [
|
|
592
593
|
Ke(n(ft)),
|
|
593
594
|
a.$slots["chart-background"] ? (u(), c("foreignObject", {
|
|
@@ -734,7 +735,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
734
735
|
}, null, -1)
|
|
735
736
|
])], 8, Cl)
|
|
736
737
|
])) : p("", !0),
|
|
737
|
-
e.value.style.chart.dataLabel.show && ![null, void 0].includes(
|
|
738
|
+
e.value.style.chart.dataLabel.show && ![null, void 0].includes(n(S).percentage) && [null, void 0].includes(n(S).series) ? (u(), c("text", {
|
|
738
739
|
key: 2,
|
|
739
740
|
x: o.value.width / 2,
|
|
740
741
|
y: o.value.top - e.value.style.chart.dataLabel.fontSize / 2,
|
|
@@ -742,25 +743,25 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
742
743
|
"font-weight": e.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
743
744
|
fill: e.value.style.chart.dataLabel.color,
|
|
744
745
|
"text-anchor": "middle"
|
|
745
|
-
},
|
|
746
|
+
}, j(n(B)({
|
|
746
747
|
v: q.value,
|
|
747
748
|
s: "%",
|
|
748
749
|
r: e.value.style.chart.dataLabel.rounding
|
|
749
750
|
})), 9, Ml)) : p("", !0),
|
|
750
|
-
|
|
751
|
+
I.value ? (u(), c("g", {
|
|
751
752
|
key: 3,
|
|
752
753
|
role: "button",
|
|
753
754
|
tabindex: "0",
|
|
754
755
|
"aria-label": "Clear selection",
|
|
755
756
|
onClick: s[0] || (s[0] = (t) => {
|
|
756
|
-
|
|
757
|
+
I.value = !1, m.value = null;
|
|
757
758
|
}),
|
|
758
759
|
onKeydown: [
|
|
759
760
|
s[1] || (s[1] = Je(Qe((t) => {
|
|
760
|
-
|
|
761
|
+
I.value = !1, m.value = null;
|
|
761
762
|
}, ["prevent"]), ["enter"])),
|
|
762
763
|
s[2] || (s[2] = Je(Qe((t) => {
|
|
763
|
-
|
|
764
|
+
I.value = !1, m.value = null;
|
|
764
765
|
}, ["prevent"]), ["space"]))
|
|
765
766
|
],
|
|
766
767
|
onFocus: s[3] || (s[3] = (t) => te.value = !0),
|
|
@@ -842,9 +843,9 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
842
843
|
"stroke-linejoin": "round",
|
|
843
844
|
"stroke-linecap": "round",
|
|
844
845
|
fill: "none"
|
|
845
|
-
}, null, 8,
|
|
846
|
+
}, null, 8, zl)
|
|
846
847
|
])),
|
|
847
|
-
x.value ? p("", !0) : (u(), c("g",
|
|
848
|
+
x.value ? p("", !0) : (u(), c("g", jl, [
|
|
848
849
|
i("path", {
|
|
849
850
|
d: K.value.right,
|
|
850
851
|
stroke: e.value.style.chart.bar.stroke,
|
|
@@ -872,7 +873,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
872
873
|
])),
|
|
873
874
|
x.value ? (u(), c("g", El, [
|
|
874
875
|
(u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
|
|
875
|
-
style:
|
|
876
|
+
style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
|
|
876
877
|
class: "vue-ui-3d-bar-stack"
|
|
877
878
|
}, [
|
|
878
879
|
i("path", {
|
|
@@ -925,7 +926,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
925
926
|
}, null, 8, Xl)) : p("", !0)
|
|
926
927
|
]))), 256)),
|
|
927
928
|
(u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
|
|
928
|
-
style:
|
|
929
|
+
style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
929
930
|
onClick: (l) => se("selectDatapoint", t)
|
|
930
931
|
}, [
|
|
931
932
|
i("path", {
|
|
@@ -962,11 +963,11 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
962
963
|
}, [
|
|
963
964
|
e.value.style.chart.legend.showDefault ? (u(), c("div", {
|
|
964
965
|
key: 0,
|
|
965
|
-
style:
|
|
966
|
-
},
|
|
966
|
+
style: z(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${e.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${e.value.style.chart.legend.fontSize}px; color:${e.value.style.chart.legend.color}`)
|
|
967
|
+
}, j(n(fe)(
|
|
967
968
|
e.value.style.chart.dataLabel.formatter,
|
|
968
969
|
t.value,
|
|
969
|
-
`${t.name}: ${n(
|
|
970
|
+
`${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
|
|
970
971
|
p: e.value.style.chart.legend.prefix,
|
|
971
972
|
v: t.value,
|
|
972
973
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1004,10 +1005,10 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1004
1005
|
y: n(pe)(l, 12, 12),
|
|
1005
1006
|
fill: e.value.style.chart.legend.color,
|
|
1006
1007
|
"font-size": e.value.style.chart.legend.fontSize / 1.5
|
|
1007
|
-
},
|
|
1008
|
+
}, j(n(fe)(
|
|
1008
1009
|
e.value.style.chart.dataLabel.formatter,
|
|
1009
1010
|
l.value,
|
|
1010
|
-
`${J(l, t.fill.donut)} (${n(
|
|
1011
|
+
`${J(l, t.fill.donut)} (${n(B)({
|
|
1011
1012
|
p: e.value.style.chart.legend.prefix,
|
|
1012
1013
|
v: l.value,
|
|
1013
1014
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1021,7 +1022,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1021
1022
|
y: n(pe)(l, 12, 12) + e.value.style.chart.legend.fontSize / 1.5,
|
|
1022
1023
|
fill: e.value.style.chart.legend.color,
|
|
1023
1024
|
"font-size": e.value.style.chart.legend.fontSize / 1.5
|
|
1024
|
-
},
|
|
1025
|
+
}, j(l.name), 9, so)
|
|
1025
1026
|
])) : p("", !0)
|
|
1026
1027
|
]))), 256))
|
|
1027
1028
|
])) : p("", !0),
|
|
@@ -1102,7 +1103,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1102
1103
|
])),
|
|
1103
1104
|
x.value ? (u(), c("g", ko, [
|
|
1104
1105
|
(u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
|
|
1105
|
-
style:
|
|
1106
|
+
style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
|
|
1106
1107
|
class: "vue-ui-3d-bar-stack",
|
|
1107
1108
|
onClick: (l) => se("selectDatapoint", t)
|
|
1108
1109
|
}, [
|
|
@@ -1186,7 +1187,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1186
1187
|
}, null, 40, Do)
|
|
1187
1188
|
], 12, go))), 256)),
|
|
1188
1189
|
(u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
|
|
1189
|
-
style:
|
|
1190
|
+
style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
1190
1191
|
onClick: (l) => se("selectDatapoint", t)
|
|
1191
1192
|
}, [
|
|
1192
1193
|
i("path", {
|
|
@@ -1223,11 +1224,11 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1223
1224
|
}, [
|
|
1224
1225
|
e.value.style.chart.legend.showDefault ? (u(), c("div", {
|
|
1225
1226
|
key: 0,
|
|
1226
|
-
style:
|
|
1227
|
-
},
|
|
1227
|
+
style: z(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${e.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${e.value.style.chart.legend.fontSize}px; color:${e.value.style.chart.legend.color}`)
|
|
1228
|
+
}, j(n(fe)(
|
|
1228
1229
|
e.value.style.chart.dataLabel.formatter,
|
|
1229
1230
|
t.value,
|
|
1230
|
-
`${t.name}: ${n(
|
|
1231
|
+
`${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
|
|
1231
1232
|
p: e.value.style.chart.legend.prefix,
|
|
1232
1233
|
v: t.value,
|
|
1233
1234
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1237,7 +1238,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1237
1238
|
)), 5)) : p("", !0),
|
|
1238
1239
|
P(a.$slots, "legend", we({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: w.value }), void 0, !0)
|
|
1239
1240
|
], 8, Io)),
|
|
1240
|
-
t.fill.donut && m.value === t.id ? (u(), c("g",
|
|
1241
|
+
t.fill.donut && m.value === t.id ? (u(), c("g", zo, [
|
|
1241
1242
|
(u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("g", null, [
|
|
1242
1243
|
J(l, t.fill.donut, !0) > 6 ? (u(), c("path", {
|
|
1243
1244
|
key: 0,
|
|
@@ -1248,7 +1249,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1248
1249
|
"stroke-linecap": "round",
|
|
1249
1250
|
"stroke-linejoin": "round",
|
|
1250
1251
|
fill: "none"
|
|
1251
|
-
}, null, 8,
|
|
1252
|
+
}, null, 8, jo)) : p("", !0)
|
|
1252
1253
|
]))), 256)),
|
|
1253
1254
|
(u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("path", {
|
|
1254
1255
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1265,10 +1266,10 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1265
1266
|
y: n(pe)(l, 12, 12),
|
|
1266
1267
|
fill: e.value.style.chart.legend.color,
|
|
1267
1268
|
"font-size": e.value.style.chart.legend.fontSize / 1.5
|
|
1268
|
-
},
|
|
1269
|
+
}, j(n(fe)(
|
|
1269
1270
|
e.value.style.chart.dataLabel.formatter,
|
|
1270
1271
|
l.value,
|
|
1271
|
-
`${J(l, t.fill.donut)} (${n(
|
|
1272
|
+
`${J(l, t.fill.donut)} (${n(B)({
|
|
1272
1273
|
p: e.value.style.chart.legend.prefix,
|
|
1273
1274
|
v: l.value,
|
|
1274
1275
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1282,7 +1283,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1282
1283
|
y: n(pe)(l, 12, 12) + e.value.style.chart.legend.fontSize / 1.5,
|
|
1283
1284
|
fill: e.value.style.chart.legend.color,
|
|
1284
1285
|
"font-size": e.value.style.chart.legend.fontSize / 1.5
|
|
1285
|
-
},
|
|
1286
|
+
}, j(l.name), 9, Eo)
|
|
1286
1287
|
])) : p("", !0)
|
|
1287
1288
|
]))), 256))
|
|
1288
1289
|
])) : p("", !0),
|
|
@@ -1316,7 +1317,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1316
1317
|
ref: le,
|
|
1317
1318
|
onClose: Ve
|
|
1318
1319
|
}), Ye({
|
|
1319
|
-
content:
|
|
1320
|
+
content: A(() => [
|
|
1320
1321
|
(u(), Q(n(ct), {
|
|
1321
1322
|
key: `table_${Te.value}`,
|
|
1322
1323
|
colNames: ue.value.colNames,
|
|
@@ -1327,14 +1328,14 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1327
1328
|
withCloseButton: !e.value.table.useDialog,
|
|
1328
1329
|
onClose: Ve
|
|
1329
1330
|
}, {
|
|
1330
|
-
th:
|
|
1331
|
+
th: A(({ th: t }) => [
|
|
1331
1332
|
i("div", {
|
|
1332
1333
|
innerHTML: t,
|
|
1333
1334
|
style: { display: "flex", "align-items": "center" }
|
|
1334
1335
|
}, null, 8, Uo)
|
|
1335
1336
|
]),
|
|
1336
|
-
td:
|
|
1337
|
-
et(
|
|
1337
|
+
td: A(({ td: t }) => [
|
|
1338
|
+
et(j(t.name || t), 1)
|
|
1338
1339
|
]),
|
|
1339
1340
|
_: 1
|
|
1340
1341
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1343,14 +1344,14 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1343
1344
|
}, [
|
|
1344
1345
|
e.value.table.useDialog ? {
|
|
1345
1346
|
name: "title",
|
|
1346
|
-
fn:
|
|
1347
|
-
et(
|
|
1347
|
+
fn: A(() => [
|
|
1348
|
+
et(j(oe.value.title), 1)
|
|
1348
1349
|
]),
|
|
1349
1350
|
key: "0"
|
|
1350
1351
|
} : void 0,
|
|
1351
1352
|
e.value.table.useDialog ? {
|
|
1352
1353
|
name: "actions",
|
|
1353
|
-
fn:
|
|
1354
|
+
fn: A(() => [
|
|
1354
1355
|
i("button", {
|
|
1355
1356
|
tabindex: "0",
|
|
1356
1357
|
class: "vue-ui-user-options-button",
|
|
@@ -1365,10 +1366,10 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1365
1366
|
key: "1"
|
|
1366
1367
|
} : void 0
|
|
1367
1368
|
]), 1040)) : p("", !0),
|
|
1368
|
-
n(Z) ? (u(), Q(
|
|
1369
|
+
n(Z) ? (u(), Q(Wt, { key: 6 })) : p("", !0)
|
|
1369
1370
|
], 44, Zt));
|
|
1370
1371
|
}
|
|
1371
|
-
},
|
|
1372
|
+
}, ns = /* @__PURE__ */ Xt(Ho, [["__scopeId", "data-v-c5fc1242"]]);
|
|
1372
1373
|
export {
|
|
1373
|
-
|
|
1374
|
+
ns as default
|
|
1374
1375
|
};
|