vue-data-ui 3.1.18 → 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-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/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-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-BZDLbeym.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-MM8rPNWR.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.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-BC99Cua7.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-qt8UvEPc.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DgHvA8ra.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BSGiRpQ9.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-BjzutuG2.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
- package/dist/vue-data-ui-DcBYykse.js +0 -325
|
@@ -1,15 +1,16 @@
|
|
|
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
|
|
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,7 +31,7 @@ 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
|
+
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({
|
|
34
35
|
...wt(O),
|
|
35
36
|
FINAL_CONFIG: e,
|
|
36
37
|
prepareConfig: ge,
|
|
@@ -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,7 +89,7 @@ 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
95
|
userConfig: O.config,
|
|
@@ -96,20 +97,20 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
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
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 = D(() =>
|
|
113
|
+
}), kt = D(() => Pt(e.value.customPalette)), V = _({
|
|
113
114
|
showTable: e.value.table.show
|
|
114
115
|
});
|
|
115
116
|
xe(e, () => {
|
|
@@ -133,7 +134,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
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;
|
|
@@ -170,7 +171,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
170
171
|
});
|
|
171
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
|
|
@@ -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
|
|
@@ -291,7 +292,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
291
292
|
};
|
|
292
293
|
}
|
|
293
294
|
const K = D(() => {
|
|
294
|
-
const a =
|
|
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`,
|
|
@@ -350,8 +351,8 @@ 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
358
|
const ue = D(() => {
|
|
@@ -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,
|
|
@@ -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,12 +523,12 @@ 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 }, [
|
|
@@ -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", {
|
|
@@ -742,7 +743,7 @@ 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
|
|
@@ -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,8 +963,8 @@ 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
970
|
`${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
|
|
@@ -1004,7 +1005,7 @@ 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
1011
|
`${J(l, t.fill.donut)} (${n(B)({
|
|
@@ -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,8 +1224,8 @@ 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
1231
|
`${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
|
|
@@ -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,7 +1266,7 @@ 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
1272
|
`${J(l, t.fill.donut)} (${n(B)({
|
|
@@ -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),
|
|
@@ -1334,7 +1335,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1334
1335
|
}, null, 8, Uo)
|
|
1335
1336
|
]),
|
|
1336
1337
|
td: A(({ td: t }) => [
|
|
1337
|
-
et(
|
|
1338
|
+
et(j(t.name || t), 1)
|
|
1338
1339
|
]),
|
|
1339
1340
|
_: 1
|
|
1340
1341
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1344,7 +1345,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1344
1345
|
e.value.table.useDialog ? {
|
|
1345
1346
|
name: "title",
|
|
1346
1347
|
fn: A(() => [
|
|
1347
|
-
et(
|
|
1348
|
+
et(j(oe.value.title), 1)
|
|
1348
1349
|
]),
|
|
1349
1350
|
key: "0"
|
|
1350
1351
|
} : void 0,
|
|
@@ -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
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import {
|
|
2
|
+
import w from "./BaseIcon-D2f9w5Z5.js";
|
|
3
|
+
import { u as x, a as B } from "./useNestedProp-DF7e2h1z.js";
|
|
4
|
+
import { c as I } from "./lib-p5pfHmOX.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -24,7 +24,7 @@ const F = ["id"], P = {
|
|
|
24
24
|
y((o) => ({
|
|
25
25
|
"95f7c2e4": C.value
|
|
26
26
|
}));
|
|
27
|
-
const { vue_ui_accordion: f } =
|
|
27
|
+
const { vue_ui_accordion: f } = x(), g = l, e = s(() => B({
|
|
28
28
|
userConfig: g.config,
|
|
29
29
|
defaultConfig: f
|
|
30
30
|
})), a = r(e.value.open), h = r(I()), t = r(null), d = r(0);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, computed as g, ref as v, toRefs as ut, watch as X, shallowRef as Se, onMounted as nt, onBeforeUnmount as ze, watchEffect as rt, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as oe, normalizeClass as Oe, createBlock as D, createCommentVNode as y, renderSlot as h, createVNode as se, createSlots as Ie, withCtx as c, normalizeProps as P, guardReactiveProps as M, createElementVNode as d, Fragment as L, renderList as z, toDisplayString as _, resolveDynamicComponent as vt, mergeProps as dt, createTextVNode as ie, nextTick as yt } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { t as De, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
2
|
+
import { c as ht, t as ct, o as Fe, f as ft, q as p, X as gt, s as ue, i as Re, a as O, d as I, x as pt, y as bt, z as xt, A as mt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as De, u as wt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as kt, a as Pe } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as _t, B as Ct } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as At } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as $t } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import St from "./img-CH7J0fYg.js";
|
|
11
|
+
import zt from "./Title-pI68ZJsq.js";
|
|
12
|
+
import { t as Ot } from "./themes-D3cUNuKw.js";
|
|
12
13
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
14
|
const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Pt = ["id"], Mt = ["stop-color"], Nt = ["stop-color"], Bt = ["id"], Et = ["stop-color"], Ut = ["stop-color"], Gt = ["x", "y", "width", "height", "fill", "rx"], Ht = ["x", "y", "width", "height", "fill", "rx"], Wt = ["x", "y", "width", "height", "fill", "rx"], Vt = ["x", "y", "width", "height", "fill", "rx"], Xt = { key: 0 }, jt = ["x", "y", "fill", "font-size", "font-weight"], Yt = ["x", "y", "fill", "font-size", "font-weight"], qt = { key: 1 }, Jt = ["x", "y", "font-size", "fill", "font-weight"], Kt = { key: 2 }, Qt = { key: 0 }, Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["font-size", "fill", "text-anchor", "font-weight", "transform"], ol = ["font-size", "fill", "text-anchor", "font-weight", "transform"], sl = ["x", "y", "font-size", "fill", "font-weight"], il = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], ul = {
|
|
14
15
|
key: 4,
|
|
@@ -30,7 +31,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
setup(ne, { expose: Me }) {
|
|
33
|
-
const Ne = T(() => import("./Tooltip-
|
|
34
|
+
const Ne = T(() => import("./Tooltip-Clf2K3CF.js")), Be = T(() => import("./BaseIcon-D2f9w5Z5.js")), Ee = T(() => import("./vue-ui-accordion-D-L73-T2.js")), Ue = T(() => import("./DataTable-xISHA7Pu.js")), Ge = T(() => import("./PenAndPaper-CtDMyIvW.js")), He = T(() => import("./UserOptions-Bn3u4JQu.js")), We = T(() => import("./PackageVersion-DRpg18lg.js")), Ve = T(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_age_pyramid: Xe } = kt(), x = ne, re = g(() => !!x.dataset && x.dataset.length), w = v(ht()), j = v(!1), Y = v(""), U = v(null), ve = v(0), k = v(null), de = v(null), ye = v(null), he = v(null), ce = v(0), fe = v(0), q = v(null), N = v(null), J = v(null), e = v(Z()), { loading: ge, FINAL_DATASET: G, manualLoading: K } = _t({
|
|
34
35
|
...ut(x),
|
|
35
36
|
FINAL_CONFIG: e,
|
|
36
37
|
prepareConfig: Z,
|
|
@@ -46,7 +47,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
46
47
|
["_", 1, 89, 89],
|
|
47
48
|
["_", 0, 144, 144]
|
|
48
49
|
],
|
|
49
|
-
skeletonConfig:
|
|
50
|
+
skeletonConfig: ct({
|
|
50
51
|
defaultConfig: e.value,
|
|
51
52
|
userConfig: {
|
|
52
53
|
userOptions: { show: !1 },
|
|
@@ -79,7 +80,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
82
|
})
|
|
82
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } =
|
|
83
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } = Tt({ config: e.value }), { svgRef: xe } = Lt({ config: e.value.style.title });
|
|
83
84
|
function Z() {
|
|
84
85
|
const t = Pe({
|
|
85
86
|
userConfig: x.config,
|
|
@@ -87,7 +88,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
87
88
|
});
|
|
88
89
|
return t.theme ? {
|
|
89
90
|
...Pe({
|
|
90
|
-
userConfig:
|
|
91
|
+
userConfig: Ot.vue_ui_age_pyramid[t.theme] || x.config,
|
|
91
92
|
defaultConfig: t
|
|
92
93
|
})
|
|
93
94
|
} : t;
|
|
@@ -103,13 +104,13 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
103
104
|
});
|
|
104
105
|
const je = g(() => !!e.value.debug);
|
|
105
106
|
function me() {
|
|
106
|
-
if (Fe(x.dataset) && (
|
|
107
|
+
if (Fe(x.dataset) && (ft({
|
|
107
108
|
componentName: "VueUiAgePyramid",
|
|
108
109
|
type: "dataset",
|
|
109
110
|
debug: je.value
|
|
110
111
|
}), K.value = !0), Fe(x.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
111
112
|
const t = De(() => {
|
|
112
|
-
const { width: o, height: l } =
|
|
113
|
+
const { width: o, height: l } = wt({
|
|
113
114
|
chart: k.value,
|
|
114
115
|
title: e.value.style.title.text ? de.value : null,
|
|
115
116
|
source: ye.value,
|
|
@@ -125,7 +126,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
125
126
|
ze(() => {
|
|
126
127
|
C.value && (F.value && C.value.unobserve(F.value), C.value.disconnect());
|
|
127
128
|
});
|
|
128
|
-
const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } =
|
|
129
|
+
const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } = At({
|
|
129
130
|
elementId: `vue-ui-age-pyramid_${w.value}`,
|
|
130
131
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
131
132
|
options: e.value.userOptions.print
|
|
@@ -249,7 +250,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
249
250
|
config: e.value
|
|
250
251
|
};
|
|
251
252
|
const l = e.value.style.tooltip.customFormat;
|
|
252
|
-
if (
|
|
253
|
+
if (xt(l) && mt(() => l({
|
|
253
254
|
seriesIndex: t,
|
|
254
255
|
datapoint: {
|
|
255
256
|
segment: o[0],
|
|
@@ -306,8 +307,8 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
306
307
|
m[2],
|
|
307
308
|
m[3],
|
|
308
309
|
m[2] ?? 0 + m[3] ?? 0
|
|
309
|
-
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r =
|
|
310
|
-
t ? t(r) :
|
|
310
|
+
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = pt(a);
|
|
311
|
+
t ? t(r) : bt({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
311
312
|
});
|
|
312
313
|
}
|
|
313
314
|
const W = g(() => {
|
|
@@ -353,7 +354,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
353
354
|
}
|
|
354
355
|
async function ot({ scale: t = 2 } = {}) {
|
|
355
356
|
if (!k.value) return;
|
|
356
|
-
const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await
|
|
357
|
+
const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await St({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
357
358
|
return {
|
|
358
359
|
imageUri: r,
|
|
359
360
|
base64: m,
|
|
@@ -364,7 +365,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
364
365
|
};
|
|
365
366
|
}
|
|
366
367
|
const st = v([]), it = v({ start: 0, end: $.value.length });
|
|
367
|
-
|
|
368
|
+
$t({
|
|
368
369
|
timeLabelsEls: q,
|
|
369
370
|
timeLabels: st,
|
|
370
371
|
slicer: it,
|
|
@@ -452,7 +453,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
452
453
|
ref: de,
|
|
453
454
|
style: "width:100%;background:transparent"
|
|
454
455
|
}, [
|
|
455
|
-
(i(), D(
|
|
456
|
+
(i(), D(zt, {
|
|
456
457
|
key: `title_${ce.value}`,
|
|
457
458
|
config: {
|
|
458
459
|
title: {
|
|
@@ -562,7 +563,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
562
563
|
(i(), n("svg", {
|
|
563
564
|
ref_key: "svgRef",
|
|
564
565
|
ref: xe,
|
|
565
|
-
xmlns: u(
|
|
566
|
+
xmlns: u(gt),
|
|
566
567
|
class: Oe({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
567
568
|
viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${f.value.height <= 0 ? 10 : f.value.height}`,
|
|
568
569
|
style: oe(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
@@ -880,10 +881,10 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
880
881
|
key: "1"
|
|
881
882
|
} : void 0
|
|
882
883
|
]), 1040)) : y("", !0),
|
|
883
|
-
u(ge) ? (i(), D(
|
|
884
|
+
u(ge) ? (i(), D(Ct, { key: 7 })) : y("", !0)
|
|
884
885
|
], 46, Ft));
|
|
885
886
|
}
|
|
886
|
-
},
|
|
887
|
+
}, kl = /* @__PURE__ */ It(nl, [["__scopeId", "data-v-c15f9534"]]);
|
|
887
888
|
export {
|
|
888
|
-
|
|
889
|
+
kl as default
|
|
889
890
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { B as p, t as v, C as w } from "./lib-p5pfHmOX.js";
|
|
2
|
+
import { u as A } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { d as M } from "./dom-to-png-CSg_eTqL.js";
|
|
3
4
|
import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
|
|
4
5
|
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
6
|
const m = {
|
|
@@ -94,7 +95,7 @@ const m = {
|
|
|
94
95
|
textAlign: "start",
|
|
95
96
|
textFont: 20,
|
|
96
97
|
transparency: 100,
|
|
97
|
-
transparencyCodes:
|
|
98
|
+
transparencyCodes: w
|
|
98
99
|
};
|
|
99
100
|
},
|
|
100
101
|
watch: {
|
|
@@ -106,7 +107,7 @@ const m = {
|
|
|
106
107
|
},
|
|
107
108
|
computed: {
|
|
108
109
|
FINAL_CONFIG() {
|
|
109
|
-
const t =
|
|
110
|
+
const t = A().vue_ui_annotator;
|
|
110
111
|
if (!Object.keys(this.config || {}).length)
|
|
111
112
|
return t;
|
|
112
113
|
const i = this.treeShake({
|
|
@@ -2175,7 +2176,7 @@ function Dt(t, i, o, h, s, e) {
|
|
|
2175
2176
|
], 512)
|
|
2176
2177
|
]);
|
|
2177
2178
|
}
|
|
2178
|
-
const
|
|
2179
|
+
const Vt = /* @__PURE__ */ _(m, [["render", Dt], ["__scopeId", "data-v-633bc577"]]);
|
|
2179
2180
|
export {
|
|
2180
|
-
|
|
2181
|
+
Vt as default
|
|
2181
2182
|
};
|