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 L, useSlots as Pt, computed as h, ref as i, toRefs as Ot, watch 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 { _ as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
1
|
+
import { defineAsyncComponent as L, useSlots as Pt, computed as h, ref as i, toRefs as Ot, watch as J, shallowRef as Je, onMounted as Ft, onBeforeUnmount as Lt, createElementBlock as v, openBlock as s, unref as c, normalizeStyle as ae, normalizeClass as Ke, createBlock as B, createCommentVNode as m, createElementVNode as k, createVNode as oe, createSlots as me, withCtx as y, renderSlot as g, normalizeProps as j, guardReactiveProps as q, Fragment as $, renderList as D, mergeProps as we, toDisplayString as M, Teleport as Bt, resolveDynamicComponent as Dt, createTextVNode as Ze, nextTick as zt } from "vue";
|
|
2
|
+
import { c as Nt, t as Vt, b as Mt, p as R, o as et, f as ke, g as Rt, e as Et, a as K, d as O, X as Ut, s as Gt, i as Wt, G as jt, h as qt, x as Ht, y as Xt, Q as Yt, z as Qt, A as Jt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Kt, u as Zt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as el, a as tt } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as al } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as ul } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import sl from "./img-CH7J0fYg.js";
|
|
10
|
+
import { _ as nl } from "./Shape-BDy56-wS.js";
|
|
11
|
+
import rl from "./Title-pI68ZJsq.js";
|
|
12
|
+
import { t as il } from "./themes-D3cUNuKw.js";
|
|
13
|
+
import vl from "./Legend-_Rv594VS.js";
|
|
13
14
|
import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["stop-color"], gl = ["stop-color"], bl = ["id"], ml = ["x", "y", "height", "width"], wl = ["height", "width"], kl = { key: 0 }, xl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Cl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], $l = { key: 1 }, Il = ["rx", "x", "y", "height", "width", "fill", "filter"], Tl = ["textContent", "x", "y", "font-size", "fill", "filter"], _l = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Al = {
|
|
15
16
|
key: 4,
|
|
@@ -32,7 +33,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
32
33
|
},
|
|
33
34
|
emits: ["selectLegend"],
|
|
34
35
|
setup(lt, { expose: at, emit: ot }) {
|
|
35
|
-
const ut = L(() => import("./Tooltip-
|
|
36
|
+
const ut = L(() => import("./Tooltip-Clf2K3CF.js")), st = L(() => import("./BaseIcon-D2f9w5Z5.js")), nt = L(() => import("./DataTable-xISHA7Pu.js")), rt = L(() => import("./vue-ui-accordion-D-L73-T2.js")), it = L(() => import("./UserOptions-Bn3u4JQu.js")), vt = L(() => import("./PenAndPaper-CtDMyIvW.js")), ct = L(() => import("./PackageVersion-DRpg18lg.js")), dt = L(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_waffle: ht } = el(), w = lt, pt = Pt(), ue = h(() => !!w.dataset && w.dataset.length), b = i(Nt()), se = i(!1), ne = i(""), E = i(null), xe = i(0), I = i(null), Ce = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(0), Ae = i(0), Se = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(ce()), { loading: Oe, FINAL_DATASET: Z, manualLoading: ie } = tl({
|
|
36
37
|
...Ot(w),
|
|
37
38
|
FINAL_CONFIG: e,
|
|
38
39
|
prepareConfig: ce,
|
|
@@ -58,7 +59,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
58
59
|
color: "#CACACA"
|
|
59
60
|
}
|
|
60
61
|
],
|
|
61
|
-
skeletonConfig:
|
|
62
|
+
skeletonConfig: Vt({
|
|
62
63
|
defaultConfig: e.value,
|
|
63
64
|
userConfig: {
|
|
64
65
|
useCustomCells: !1,
|
|
@@ -84,7 +85,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
})
|
|
87
|
-
}), { userOptionsVisible: ve, setUserOptionsVisibility: Fe, keepUserOptionState: Le } =
|
|
88
|
+
}), { userOptionsVisible: ve, setUserOptionsVisibility: Fe, keepUserOptionState: Le } = ol({ config: e.value }), { svgRef: Be } = ul({ config: e.value.style.chart.title });
|
|
88
89
|
function ce() {
|
|
89
90
|
const t = tt({
|
|
90
91
|
userConfig: w.config,
|
|
@@ -92,23 +93,23 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
92
93
|
});
|
|
93
94
|
return t.theme ? {
|
|
94
95
|
...tt({
|
|
95
|
-
userConfig:
|
|
96
|
+
userConfig: il.vue_ui_waffle[t.theme] || w.config,
|
|
96
97
|
defaultConfig: t
|
|
97
98
|
}),
|
|
98
|
-
customPalette:
|
|
99
|
+
customPalette: Mt[t.theme] || R
|
|
99
100
|
} : t;
|
|
100
101
|
}
|
|
101
|
-
|
|
102
|
+
J(() => w.config, (t) => {
|
|
102
103
|
Oe.value || (e.value = ce()), ve.value = !e.value.userOptions.showOnChartHover, ze(), _e.value += 1, Ae.value += 1, Se.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
103
104
|
}, { deep: !0 });
|
|
104
|
-
const F =
|
|
105
|
+
const F = Je(null), U = Je(null), De = h(() => !!e.value.debug);
|
|
105
106
|
function ze() {
|
|
106
107
|
if (et(w.dataset) ? (ke({
|
|
107
108
|
componentName: "VueUiWaffle",
|
|
108
109
|
type: "dataset",
|
|
109
110
|
debug: De.value
|
|
110
111
|
}), ue.value = !1, ie.value = !0) : w.dataset.forEach((t, a) => {
|
|
111
|
-
|
|
112
|
+
Rt({
|
|
112
113
|
datasetObject: t,
|
|
113
114
|
requiredAttributes: ["name", "values"]
|
|
114
115
|
}).forEach((l) => {
|
|
@@ -121,8 +122,8 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
121
122
|
});
|
|
122
123
|
});
|
|
123
124
|
}), et(w.dataset) || (ie.value = e.value.loading), e.value.responsive) {
|
|
124
|
-
const t =
|
|
125
|
-
const { width: a, height: l } =
|
|
125
|
+
const t = Kt(() => {
|
|
126
|
+
const { width: a, height: l } = Zt({
|
|
126
127
|
chart: I.value,
|
|
127
128
|
title: e.value.style.chart.title.text ? Ce.value : null,
|
|
128
129
|
legend: e.value.style.chart.legend.show ? $e.value : null,
|
|
@@ -141,15 +142,15 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
141
142
|
}), Lt(() => {
|
|
142
143
|
F.value && (U.value && F.value.unobserve(U.value), F.value.disconnect());
|
|
143
144
|
});
|
|
144
|
-
const { isPrinting: Ne, isImaging: Ve, generatePdf: Me, generateImage: Re } =
|
|
145
|
+
const { isPrinting: Ne, isImaging: Ve, generatePdf: Me, generateImage: Re } = al({
|
|
145
146
|
elementId: `vue-ui-waffle_${b.value}`,
|
|
146
147
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle",
|
|
147
148
|
options: e.value.userOptions.print
|
|
148
|
-
}), ft = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = h(() =>
|
|
149
|
+
}), ft = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = h(() => Et(e.value.customPalette)), x = i({
|
|
149
150
|
showTable: e.value.table.show,
|
|
150
151
|
showTooltip: e.value.style.chart.tooltip.show
|
|
151
152
|
});
|
|
152
|
-
|
|
153
|
+
J(e, () => {
|
|
153
154
|
x.value = {
|
|
154
155
|
showTable: e.value.table.show,
|
|
155
156
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -164,7 +165,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
164
165
|
height: 512,
|
|
165
166
|
width: 512
|
|
166
167
|
}), _ = h(() => (T.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), A = h(() => (T.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), yt = h(() => Math.max(1e-4, T.value.width / e.value.style.chart.layout.grid.size)), Ue = h(() => Math.max(1e-4, T.value.height / e.value.style.chart.layout.grid.size));
|
|
167
|
-
function
|
|
168
|
+
function Ge(t) {
|
|
168
169
|
const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((C, be) => C + be, 0), o = t.map((C) => C / l * a), u = o.map(Math.floor), n = o.map((C) => C % 1);
|
|
169
170
|
let d = a - u.reduce((C, be) => C + be, 0);
|
|
170
171
|
for (; d > 0; ) {
|
|
@@ -177,23 +178,23 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
177
178
|
function de() {
|
|
178
179
|
return X.value = Z.value.flatMap((t) => t.values.reduce((a, l) => a + l, 0)).reduce((t, a) => t + a, 0) === 0, Z.value.map((t, a) => ({
|
|
179
180
|
...t,
|
|
180
|
-
color:
|
|
181
|
+
color: qt(t.color) || Ee.value[a] || R[a] || R[a % R.length],
|
|
181
182
|
uid: `serie_${a}`,
|
|
182
183
|
absoluteIndex: a
|
|
183
184
|
}));
|
|
184
185
|
}
|
|
185
186
|
const he = h(() => de()), p = i(he.value);
|
|
186
|
-
|
|
187
|
+
J(() => w.dataset, (t) => {
|
|
187
188
|
Array.isArray(t) && t.length > 0 && (ie.value = !1);
|
|
188
|
-
}, { immediate: !0 }),
|
|
189
|
+
}, { immediate: !0 }), J(() => w.dataset, (t) => {
|
|
189
190
|
p.value = de();
|
|
190
191
|
}, { deep: !0 });
|
|
191
192
|
const gt = h(() => {
|
|
192
193
|
const t = p.value.filter((a, l) => !f.value.includes(a.uid)).map((a, l) => X.value ? 1 : (a.values || []).reduce((o, u) => o + u, 0));
|
|
193
|
-
return
|
|
194
|
+
return Ge(t);
|
|
194
195
|
}), bt = h(() => {
|
|
195
196
|
const t = p.value.map((a, l) => X.value ? 1 : (a.values || []).reduce((o, u) => o + u));
|
|
196
|
-
return
|
|
197
|
+
return Ge(t);
|
|
197
198
|
}), Y = h(() => (Z.value.forEach((t, a) => {
|
|
198
199
|
[null, void 0].includes(t.values) && ke({
|
|
199
200
|
componentName: "VueUiWaffle",
|
|
@@ -251,7 +252,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
251
252
|
}))).map((t, a) => ({
|
|
252
253
|
...t,
|
|
253
254
|
isAbsoluteFirst: a % e.value.style.chart.layout.grid.size === 0
|
|
254
|
-
}))),
|
|
255
|
+
}))), G = h(() => {
|
|
255
256
|
const t = [];
|
|
256
257
|
for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
|
|
257
258
|
for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
|
|
@@ -262,11 +263,11 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
262
263
|
y: (e.value.style.chart.layout.grid.vertical ? l : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween) + T.value.top
|
|
263
264
|
});
|
|
264
265
|
return t;
|
|
265
|
-
}), f = i([]), N = i(!1),
|
|
266
|
+
}), f = i([]), N = i(!1), We = i(null), je = i(null);
|
|
266
267
|
function qe(t) {
|
|
267
268
|
if (X.value) return;
|
|
268
269
|
if (!e.value.useAnimation) {
|
|
269
|
-
f.value.includes(t) ? f.value = f.value.filter((u) => u !== t) : f.value.length <
|
|
270
|
+
f.value.includes(t) ? f.value = f.value.filter((u) => u !== t) : f.value.length < W.value.length - 1 && W.value.length > 1 && f.value.push(t);
|
|
270
271
|
return;
|
|
271
272
|
}
|
|
272
273
|
const a = he.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0), l = p.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
|
|
@@ -274,18 +275,18 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
274
275
|
if (!(l === 0 && a === 0)) {
|
|
275
276
|
if (f.value.includes(t)) {
|
|
276
277
|
let n = function() {
|
|
277
|
-
o > u ? (cancelAnimationFrame(
|
|
278
|
+
o > u ? (cancelAnimationFrame(We.value), p.value = p.value.map((d, C) => d.uid === t ? {
|
|
278
279
|
...d,
|
|
279
280
|
values: [u]
|
|
280
281
|
} : d), N.value = !1) : (N.value = !0, o += u * 0.025, p.value = p.value.map((d, C) => d.uid === t ? {
|
|
281
282
|
...d,
|
|
282
283
|
values: [o]
|
|
283
|
-
} : d),
|
|
284
|
+
} : d), We.value = requestAnimationFrame(n));
|
|
284
285
|
};
|
|
285
286
|
f.value = f.value.filter((d) => d !== t);
|
|
286
287
|
const u = a;
|
|
287
288
|
n();
|
|
288
|
-
} else if (f.value.length <
|
|
289
|
+
} else if (f.value.length < W.value.length - 1 && W.value.length > 1) {
|
|
289
290
|
let u = function() {
|
|
290
291
|
o < l / 100 ? (cancelAnimationFrame(je.value), f.value.push(t), p.value = p.value.map((n, d) => n.uid === t ? {
|
|
291
292
|
...n,
|
|
@@ -305,7 +306,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
305
306
|
})));
|
|
306
307
|
}
|
|
307
308
|
}
|
|
308
|
-
const
|
|
309
|
+
const W = h(() => p.value.map((t, a) => ({
|
|
309
310
|
name: t.name,
|
|
310
311
|
color: t.color || Ee[a] || R[a] || R[a % R.length],
|
|
311
312
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
@@ -343,7 +344,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
343
344
|
config: e.value
|
|
344
345
|
}, e.value.events.datapointEnter && fe.value !== a.serieIndex && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.serieIndex }), fe.value = a.serieIndex, se.value = !0, E.value = r.value[t].serieIndex;
|
|
345
346
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
346
|
-
if (Qt(l) &&
|
|
347
|
+
if (Qt(l) && Jt(() => l({
|
|
347
348
|
seriesIndex: r.value[t].absoluteIndex,
|
|
348
349
|
datapoint: a,
|
|
349
350
|
series: p.value,
|
|
@@ -357,7 +358,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
357
358
|
});
|
|
358
359
|
else {
|
|
359
360
|
let o = "";
|
|
360
|
-
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${pt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${
|
|
361
|
+
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${pt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${K(
|
|
361
362
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
362
363
|
a.value,
|
|
363
364
|
O({
|
|
@@ -396,7 +397,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
396
397
|
return e.value.style.chart.layout.labels.captions.show ? r.value.length && !N.value && !e.value.style.chart.layout.grid.vertical && (r.value[t].isFirst && a.position < e.value.style.chart.layout.grid.size - 2 || r.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && r.value[t].absoluteStartIndex) : !1;
|
|
397
398
|
}
|
|
398
399
|
function At(t, a = null) {
|
|
399
|
-
const l =
|
|
400
|
+
const l = K(
|
|
400
401
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
401
402
|
r.value[t].value,
|
|
402
403
|
O({
|
|
@@ -406,7 +407,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
406
407
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
407
408
|
}),
|
|
408
409
|
{ datapoint: r.value[t], position: a }
|
|
409
|
-
), o = O({ v: r.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), u = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ?
|
|
410
|
+
), o = O({ v: r.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), u = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? Yt({ source: r.value[t].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[t].name) + (e.value.style.chart.layout.labels.captions.showPercentage || e.value.style.chart.layout.labels.captions.showValue ? ":" : ""), n = e.value.style.chart.layout.labels.captions.showSerieName ? u : "";
|
|
410
411
|
let d = "";
|
|
411
412
|
return e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? d = `${o} (${l})` : e.value.style.chart.layout.labels.captions.showPercentage && !e.value.style.chart.layout.labels.captions.showValue ? d = o : !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue && (d = l), `${n}${d}`;
|
|
412
413
|
}
|
|
@@ -414,14 +415,14 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
414
415
|
zt(() => {
|
|
415
416
|
const a = P.value.head.map((u, n) => [[
|
|
416
417
|
u.name
|
|
417
|
-
], [P.value.body[n]], [isNaN(P.value.body[n] / S.value) ? "-" : P.value.body[n] / S.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o =
|
|
418
|
-
t ? t(o) :
|
|
418
|
+
], [P.value.body[n]], [isNaN(P.value.body[n] / S.value) ? "-" : P.value.body[n] / S.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = Ht(l);
|
|
419
|
+
t ? t(o) : Xt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
419
420
|
});
|
|
420
421
|
}
|
|
421
422
|
const te = h(() => {
|
|
422
423
|
const t = [
|
|
423
424
|
' <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>',
|
|
424
|
-
|
|
425
|
+
K(
|
|
425
426
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
426
427
|
S.value,
|
|
427
428
|
O({
|
|
@@ -437,7 +438,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
437
438
|
color: u.color,
|
|
438
439
|
name: u.name
|
|
439
440
|
},
|
|
440
|
-
|
|
441
|
+
K(
|
|
441
442
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
442
443
|
P.value.body[n],
|
|
443
444
|
O({
|
|
@@ -492,7 +493,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
492
493
|
}
|
|
493
494
|
async function St({ scale: t = 2 } = {}) {
|
|
494
495
|
if (!I.value) return;
|
|
495
|
-
const { width: a, height: l } = I.value.getBoundingClientRect(), o = a / l, { imageUri: u, base64: n } = await
|
|
496
|
+
const { width: a, height: l } = I.value.getBoundingClientRect(), o = a / l, { imageUri: u, base64: n } = await sl({ domElement: I.value, base64: !0, img: !0, scale: t });
|
|
496
497
|
return {
|
|
497
498
|
imageUri: u,
|
|
498
499
|
base64: n,
|
|
@@ -502,7 +503,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
502
503
|
aspectRatio: o
|
|
503
504
|
};
|
|
504
505
|
}
|
|
505
|
-
const
|
|
506
|
+
const Q = h(() => {
|
|
506
507
|
const t = e.value.table.useDialog && !e.value.table.show, a = x.value.showTable;
|
|
507
508
|
return {
|
|
508
509
|
component: t ? dt : rt,
|
|
@@ -532,10 +533,10 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
532
533
|
}
|
|
533
534
|
};
|
|
534
535
|
});
|
|
535
|
-
|
|
536
|
+
J(() => x.value.showTable, (t) => {
|
|
536
537
|
e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
|
|
537
538
|
});
|
|
538
|
-
function
|
|
539
|
+
function Qe() {
|
|
539
540
|
x.value.showTable = !1, re.value && re.value.setTableIconState(!1);
|
|
540
541
|
}
|
|
541
542
|
return at({
|
|
@@ -549,7 +550,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
549
550
|
toggleAnnotator: ge,
|
|
550
551
|
toggleFullscreen: He
|
|
551
552
|
}), (t, a) => (s(), v("div", {
|
|
552
|
-
class:
|
|
553
|
+
class: Ke(`vue-ui-waffle ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
553
554
|
ref_key: "waffleChart",
|
|
554
555
|
ref: I,
|
|
555
556
|
id: `vue-ui-waffle_${b.value}`,
|
|
@@ -578,7 +579,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
578
579
|
ref: Ce,
|
|
579
580
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
580
581
|
}, [
|
|
581
|
-
(s(), B(
|
|
582
|
+
(s(), B(rl, {
|
|
582
583
|
key: `title_${_e.value}`,
|
|
583
584
|
config: {
|
|
584
585
|
title: {
|
|
@@ -691,8 +692,8 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
691
692
|
(s(), v("svg", {
|
|
692
693
|
ref_key: "svgRef",
|
|
693
694
|
ref: Be,
|
|
694
|
-
xmlns: c(
|
|
695
|
-
class:
|
|
695
|
+
xmlns: c(Ut),
|
|
696
|
+
class: Ke({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
696
697
|
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
697
698
|
style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
698
699
|
}, [
|
|
@@ -708,7 +709,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
708
709
|
}, [
|
|
709
710
|
k("stop", {
|
|
710
711
|
offset: "0%",
|
|
711
|
-
"stop-color": c(
|
|
712
|
+
"stop-color": c(Gt)(c(Wt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
712
713
|
}, null, 8, yl),
|
|
713
714
|
k("stop", {
|
|
714
715
|
offset: "100%",
|
|
@@ -734,7 +735,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
734
735
|
}, null, -1)
|
|
735
736
|
])], 8, bl)
|
|
736
737
|
]),
|
|
737
|
-
e.value.useCustomCells && r.value.length ? (s(!0), v($, { key: 0 }, D(
|
|
738
|
+
e.value.useCustomCells && r.value.length ? (s(!0), v($, { key: 0 }, D(G.value, (l, o) => (s(), v("foreignObject", {
|
|
738
739
|
x: l.x,
|
|
739
740
|
y: l.y,
|
|
740
741
|
height: A.value <= 0 ? 1e-4 : A.value,
|
|
@@ -758,7 +759,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
758
759
|
g(t.$slots, "pattern", we({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${b.value}_${l.absoluteIndex}` }), void 0, !0)
|
|
759
760
|
]))), 256))
|
|
760
761
|
])) : m("", !0),
|
|
761
|
-
(s(!0), v($, null, D(
|
|
762
|
+
(s(!0), v($, null, D(G.value, (l, o) => (s(), v("rect", {
|
|
762
763
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
763
764
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
764
765
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -769,7 +770,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
769
770
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
770
771
|
filter: ee(r.value[o].serieIndex)
|
|
771
772
|
}, null, 8, xl))), 256)),
|
|
772
|
-
(s(!0), v($, null, D(
|
|
773
|
+
(s(!0), v($, null, D(G.value, (l, o) => (s(), v("rect", {
|
|
773
774
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
774
775
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
775
776
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -781,7 +782,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
781
782
|
filter: ee(r.value[o].serieIndex)
|
|
782
783
|
}, null, 8, Cl))), 256)),
|
|
783
784
|
t.$slots.pattern ? (s(), v("g", $l, [
|
|
784
|
-
(s(!0), v($, null, D(
|
|
785
|
+
(s(!0), v($, null, D(G.value, (l, o) => (s(), v("rect", {
|
|
785
786
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
786
787
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
787
788
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -793,18 +794,18 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
793
794
|
}, null, 8, Il))), 256))
|
|
794
795
|
])) : m("", !0)
|
|
795
796
|
], 64)) : m("", !0),
|
|
796
|
-
(s(!0), v($, null, D(
|
|
797
|
+
(s(!0), v($, null, D(G.value, (l, o) => (s(), v($, null, [
|
|
797
798
|
_t(o, l) ? (s(), v("text", {
|
|
798
799
|
key: `datalabel_${o}`,
|
|
799
800
|
textContent: M(At(o, l)),
|
|
800
801
|
x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
801
802
|
y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + Ue.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
802
803
|
"font-size": e.value.style.chart.layout.labels.captions.fontSize,
|
|
803
|
-
fill: c(
|
|
804
|
+
fill: c(jt)(r.value[o].color),
|
|
804
805
|
filter: ee(r.value[o].serieIndex)
|
|
805
806
|
}, null, 8, Tl)) : m("", !0)
|
|
806
807
|
], 64))), 256)),
|
|
807
|
-
(s(!0), v($, null, D(
|
|
808
|
+
(s(!0), v($, null, D(G.value, (l, o) => (s(), v("rect", {
|
|
808
809
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
809
810
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
810
811
|
height: Ue.value,
|
|
@@ -833,7 +834,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
833
834
|
}, [
|
|
834
835
|
e.value.style.chart.legend.show ? (s(), B(vl, {
|
|
835
836
|
key: `legend_${Se.value}`,
|
|
836
|
-
legendSet:
|
|
837
|
+
legendSet: W.value,
|
|
837
838
|
config: xt.value,
|
|
838
839
|
onClickMarker: a[0] || (a[0] = ({ legend: l }) => qe(l.uid))
|
|
839
840
|
}, me({
|
|
@@ -841,7 +842,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
841
842
|
k("div", {
|
|
842
843
|
onClick: (o) => l.segregate(),
|
|
843
844
|
style: ae(`opacity:${f.value.includes(l.uid) ? 0.5 : 1}`)
|
|
844
|
-
}, M(l.name) + M(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + M(e.value.style.chart.legend.showValue ? c(
|
|
845
|
+
}, M(l.name) + M(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + M(e.value.style.chart.legend.showValue ? c(K)(
|
|
845
846
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
846
847
|
l.value,
|
|
847
848
|
c(O)({
|
|
@@ -859,7 +860,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
859
860
|
t.$slots.pattern ? {
|
|
860
861
|
name: "legend-pattern",
|
|
861
862
|
fn: y(({ legend: l, index: o }) => [
|
|
862
|
-
oe(
|
|
863
|
+
oe(nl, {
|
|
863
864
|
shape: l.shape,
|
|
864
865
|
radius: 30,
|
|
865
866
|
stroke: "none",
|
|
@@ -871,7 +872,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
871
872
|
} : void 0
|
|
872
873
|
]), 1032, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
873
874
|
key: 1,
|
|
874
|
-
legend:
|
|
875
|
+
legend: W.value
|
|
875
876
|
}, void 0, !0)
|
|
876
877
|
], 512)
|
|
877
878
|
], 8, ["to"])) : m("", !0),
|
|
@@ -911,10 +912,10 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
911
912
|
]),
|
|
912
913
|
_: 3
|
|
913
914
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
914
|
-
ue.value && e.value.userOptions.buttons.table ? (s(), B(Dt(
|
|
915
|
+
ue.value && e.value.userOptions.buttons.table ? (s(), B(Dt(Q.value.component), we({ key: 7 }, Q.value.props, {
|
|
915
916
|
ref_key: "tableUnit",
|
|
916
917
|
ref: H,
|
|
917
|
-
onClose:
|
|
918
|
+
onClose: Qe
|
|
918
919
|
}), me({
|
|
919
920
|
content: y(() => [
|
|
920
921
|
(s(), B(c(nt), {
|
|
@@ -923,9 +924,9 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
923
924
|
head: te.value.head,
|
|
924
925
|
body: te.value.body,
|
|
925
926
|
config: te.value.config,
|
|
926
|
-
title: e.value.table.useDialog ? "" :
|
|
927
|
+
title: e.value.table.useDialog ? "" : Q.value.title,
|
|
927
928
|
withCloseButton: !e.value.table.useDialog,
|
|
928
|
-
onClose:
|
|
929
|
+
onClose: Qe
|
|
929
930
|
}, {
|
|
930
931
|
th: y(({ th: l }) => [
|
|
931
932
|
k("div", {
|
|
@@ -944,7 +945,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
944
945
|
e.value.table.useDialog ? {
|
|
945
946
|
name: "title",
|
|
946
947
|
fn: y(() => [
|
|
947
|
-
Ze(M(
|
|
948
|
+
Ze(M(Q.value.title), 1)
|
|
948
949
|
]),
|
|
949
950
|
key: "0"
|
|
950
951
|
} : void 0,
|
|
@@ -958,17 +959,17 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
958
959
|
}, [
|
|
959
960
|
oe(c(st), {
|
|
960
961
|
name: "excel",
|
|
961
|
-
stroke:
|
|
962
|
+
stroke: Q.value.props.color
|
|
962
963
|
}, null, 8, ["stroke"])
|
|
963
964
|
])
|
|
964
965
|
]),
|
|
965
966
|
key: "1"
|
|
966
967
|
} : void 0
|
|
967
968
|
]), 1040)) : m("", !0),
|
|
968
|
-
c(Oe) ? (s(), B(
|
|
969
|
+
c(Oe) ? (s(), B(ll, { key: 8 })) : m("", !0)
|
|
969
970
|
], 46, dl));
|
|
970
971
|
}
|
|
971
|
-
},
|
|
972
|
+
}, Hl = /* @__PURE__ */ cl(Fl, [["__scopeId", "data-v-cd11188e"]]);
|
|
972
973
|
export {
|
|
973
|
-
|
|
974
|
+
Hl as default
|
|
974
975
|
};
|