vue-data-ui 2.12.6 → 2.12.7-beta.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.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,27 +1,22 @@
1
- import { computed as T, ref as j, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as O, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as S, renderSlot as P, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as B, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
2
- import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as I, q as st, r as at } from "./index-BFzQMJda.js";
3
- import { _ as nt } from "./Title-CzaCeCOm.js";
4
- import { u as rt, U as ut } from "./usePrinter-C5bLp34h.js";
5
- import it from "./vue-ui-skeleton-B_YI7Yuc.js";
6
- import { D as dt } from "./DataTable-Rajdtaf6.js";
7
- import ct from "./vue-ui-accordion-BUz4JIIX.js";
8
- import { u as De } from "./useNestedProp-v7KPpwuP.js";
9
- import { _ as ht } from "./PackageVersion-BjrblLPQ.js";
10
- import { _ as vt } from "./PenAndPaper-BkP3J-Ft.js";
1
+ import { defineAsyncComponent as G, computed as T, ref as j, watch as Ke, onMounted as Qe, createElementBlock as d, openBlock as n, unref as u, normalizeStyle as O, normalizeClass as Pe, createBlock as U, createCommentVNode as y, createSlots as et, withCtx as S, renderSlot as P, normalizeProps as J, guardReactiveProps as K, createVNode as tt, createElementVNode as i, Fragment as _, renderList as m, toDisplayString as B, mergeProps as je, createTextVNode as lt, nextTick as ot } from "vue";
2
+ import { u as st, c as Te, t as at, p as Q, a as nt, b as rt, d as ut, o as it, e as ee, g as ue, l as E, m as Se, f as D, X as dt, s as g, h as te, i as le, j as De, k as oe, n as A, q as ct, r as ht } from "./index-BiHmNd1-.js";
3
+ import { u as Oe } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as vt } from "./usePrinter-CRCbl1WG.js";
11
5
  import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as pt } from "./useChartAccessibility-BWojgys7.js";
13
- import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const kt = ["id"], gt = {
6
+ import { u as pt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import yt from "./Title-B5qqUI3M.js";
8
+ import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const gt = ["id"], $t = {
15
10
  key: 1,
16
11
  style: "width:100%;background:transparent"
17
- }, $t = ["xmlns", "viewBox"], _t = ["width", "height"], mt = ["id"], bt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], jt = ["stop-color"], Tt = ["id"], St = ["stop-color"], Dt = ["stop-color"], Ot = ["stop-color"], zt = { key: 1 }, Nt = ["id"], Bt = ["stop-color"], It = ["stop-color"], At = ["id"], Lt = ["stop-color"], Wt = ["stop-color"], Vt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Ht = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x", "y"], Zt = ["d", "stroke"], qt = ["d", "stroke"], Xt = { key: 4 }, Yt = { key: 0 }, Jt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = { key: 1 }, ll = ["d", "stroke", "stroke-width", "fill"], ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = { key: 2 }, nl = ["d", "fill", "onMouseenter", "onClick"], rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "onMouseenter", "onClick"], dl = ["d"], cl = ["d", "stroke"], hl = ["onClick"], vl = ["stroke", "d"], fl = ["cx", "cy", "fill", "stroke"], pl = ["x", "y", "width", "height"], yl = { key: 1 }, kl = ["d", "stroke"], gl = ["d", "fill", "stroke"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["cx", "cy", "fill"], xl = ["cx", "cy", "fill"], wl = { key: 0 }, Cl = ["text-anchor", "x", "y", "fill", "font-size"], Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = { key: 2 }, Pl = ["d", "fill", "stroke"], jl = { key: 5 }, Tl = { key: 0 }, Sl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width", "fill"], Bl = ["d", "stroke", "stroke-width", "fill"], Il = { key: 1 }, Al = ["onClick"], Ll = ["id"], Wl = ["stop-color"], Vl = ["stop-color"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Zl = ["stop-color"], ql = ["onMouseenter", "onClick", "d", "fill"], Xl = ["onMouseenter", "onClick", "d"], Yl = ["onMouseenter", "onClick", "d", "fill"], Jl = ["onClick"], Kl = ["stroke", "d"], Ql = ["cx", "cy", "fill", "stroke"], eo = ["x", "y", "width", "height"], to = { key: 1 }, lo = ["d", "stroke"], oo = ["d", "fill", "stroke"], so = ["id"], ao = ["stop-color"], no = ["stop-color"], ro = ["cx", "cy", "fill"], uo = ["cx", "cy", "fill"], io = { key: 0 }, co = ["text-anchor", "x", "y", "fill", "font-size"], ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = { key: 2 }, fo = ["d", "fill", "stroke"], po = {
12
+ }, _t = ["xmlns", "viewBox"], mt = ["width", "height"], bt = ["id"], xt = ["stop-color"], wt = ["stop-color"], Ct = ["id"], Ft = ["stop-color"], Mt = ["stop-color"], Pt = ["id"], jt = ["stop-color"], Tt = ["stop-color"], St = ["id"], Dt = ["stop-color"], Ot = ["stop-color"], zt = ["stop-color"], Nt = { key: 1 }, Bt = ["id"], At = ["stop-color"], It = ["stop-color"], Lt = ["id"], Vt = ["stop-color"], Wt = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Et = ["stop-color"], Ht = ["id"], Rt = ["x", "y", "font-size", "font-weight", "fill"], Zt = ["x", "y"], qt = ["d", "stroke"], Xt = ["d", "stroke"], Yt = { key: 4 }, Jt = { key: 0 }, Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = ["stroke-dasharray", "d", "stroke", "stroke-width"], ll = { key: 1 }, ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = ["d", "stroke", "stroke-width", "fill"], nl = { key: 2 }, rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "fill", "onMouseenter", "onClick"], dl = ["d", "onMouseenter", "onClick"], cl = ["d"], hl = ["d", "stroke"], vl = ["onClick"], fl = ["stroke", "d"], pl = ["cx", "cy", "fill", "stroke"], yl = ["x", "y", "width", "height"], kl = { key: 1 }, gl = ["d", "stroke"], $l = ["d", "fill", "stroke"], _l = ["id"], ml = ["stop-color"], bl = ["stop-color"], xl = ["cx", "cy", "fill"], wl = ["cx", "cy", "fill"], Cl = { key: 0 }, Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = ["text-anchor", "x", "y", "fill", "font-size"], Pl = { key: 2 }, jl = ["d", "fill", "stroke"], Tl = { key: 5 }, Sl = { key: 0 }, Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width", "fill"], Al = ["d", "stroke", "stroke-width", "fill"], Il = { key: 1 }, Ll = ["onClick"], Vl = ["id"], Wl = ["stop-color"], Gl = ["stop-color"], Ul = ["id"], El = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Zl = ["stop-color"], ql = ["stop-color"], Xl = ["onMouseenter", "onClick", "d", "fill"], Yl = ["onMouseenter", "onClick", "d"], Jl = ["onMouseenter", "onClick", "d", "fill"], Kl = ["onClick"], Ql = ["stroke", "d"], eo = ["cx", "cy", "fill", "stroke"], to = ["x", "y", "width", "height"], lo = { key: 1 }, oo = ["d", "stroke"], so = ["d", "fill", "stroke"], ao = ["id"], no = ["stop-color"], ro = ["stop-color"], uo = ["cx", "cy", "fill"], io = ["cx", "cy", "fill"], co = { key: 0 }, ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = ["text-anchor", "x", "y", "fill", "font-size"], fo = { key: 2 }, po = ["d", "fill", "stroke"], yo = {
18
13
  key: 4,
19
14
  class: "vue-data-ui-watermark"
20
- }, yo = {
15
+ }, ko = {
21
16
  key: 6,
22
17
  ref: "source",
23
18
  dir: "auto"
24
- }, ko = ["innerHTML"], go = {
19
+ }, go = ["innerHTML"], $o = {
25
20
  __name: "vue-ui-3d-bar",
26
21
  props: {
27
22
  config: {
@@ -38,32 +33,32 @@ const kt = ["id"], gt = {
38
33
  }
39
34
  },
40
35
  emits: ["selectDatapoint"],
41
- setup(Oe, { expose: ze, emit: Ne }) {
42
- const { vue_ui_3d_bar: Be } = Je(), $ = Oe, R = Ne, Z = T(() => !!$.dataset && Object.keys($.dataset).length), b = j(je()), Ie = j(null), ue = j(null), A = j(!1), ie = j(0), de = j(0), t = T({
43
- get: () => fe(),
36
+ setup(ze, { expose: Ne, emit: Be }) {
37
+ const Ae = G(() => import("./vue-ui-accordion-CmCs2yR2.js")), Ie = G(() => import("./DataTable-Cv9CIz-a.js")), Le = G(() => import("./PackageVersion-CLY-udAA.js")), Ve = G(() => import("./PenAndPaper-B9na2mbr.js")), We = G(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Ge = G(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_3d_bar: Ue } = st(), $ = ze, Z = Be, q = T(() => !!$.dataset && Object.keys($.dataset).length), b = j(Te()), Ee = j(null), ie = j(null), I = j(!1), de = j(0), ce = j(0), t = T({
38
+ get: () => pe(),
44
39
  set: (a) => a
45
- }), { userOptionsVisible: oe, setUserOptionsVisibility: ce, keepUserOptionState: he } = ft({ config: t.value }), { svgRef: ve } = pt({ config: t.value.style.chart.title });
46
- function fe() {
47
- const a = De({
40
+ }), { userOptionsVisible: se, setUserOptionsVisibility: he, keepUserOptionState: ve } = ft({ config: t.value }), { svgRef: fe } = pt({ config: t.value.style.chart.title });
41
+ function pe() {
42
+ const a = Oe({
48
43
  userConfig: $.config,
49
- defaultConfig: Be
44
+ defaultConfig: Ue
50
45
  });
51
46
  return a.theme ? {
52
- ...De({
53
- userConfig: Qe.vue_ui_3d_bar[a.theme] || $.config,
47
+ ...Oe({
48
+ userConfig: nt.vue_ui_3d_bar[a.theme] || $.config,
54
49
  defaultConfig: a
55
50
  }),
56
- customPalette: Ke[a.theme] || K
51
+ customPalette: at[a.theme] || Q
57
52
  } : a;
58
53
  }
59
- He(() => $.config, (a) => {
60
- t.value = fe(), oe.value = !t.value.userOptions.showOnChartHover, $e(), ie.value += 1, de.value += 1, E.value.showTable = t.value.table.show;
54
+ Ke(() => $.config, (a) => {
55
+ t.value = pe(), se.value = !t.value.userOptions.showOnChartHover, _e(), de.value += 1, ce.value += 1, H.value.showTable = t.value.table.show;
61
56
  }, { deep: !0 });
62
- const { isPrinting: pe, isImaging: ye, generatePdf: ke, generateImage: ge } = rt({
57
+ const { isPrinting: ye, isImaging: ke, generatePdf: ge, generateImage: $e } = vt({
63
58
  elementId: `3d_bar_${b.value}`,
64
59
  fileName: t.value.style.chart.title.text || "vue-ui-3d-bar",
65
60
  options: t.value.userOptions.print
66
- }), Ae = T(() => et(t.value.customPalette)), E = j({
61
+ }), He = T(() => rt(t.value.customPalette)), H = j({
67
62
  showTable: t.value.table.show
68
63
  }), F = T(() => $.dataset.series && $.dataset.series.length), o = T(() => ({
69
64
  height: t.value.style.chart.box.dimensions.height,
@@ -78,16 +73,16 @@ const kt = ["id"], gt = {
78
73
  if (F.value) {
79
74
  const a = $.dataset.series.map((l) => l.value || 0).reduce((l, r) => l + r, 0), s = $.dataset.series.map((l, r) => ({
80
75
  ...l,
81
- id: je(),
76
+ id: Te(),
82
77
  proportion: (l.value || 0) / a,
83
- color: tt(l.color) || Ae.value[r] || K[r] || K[r % K.length],
78
+ color: ut(l.color) || He.value[r] || Q[r] || Q[r % Q.length],
84
79
  breakdown: l.breakdown ? l.breakdown.sort((c, k) => k.value - c.value) : null
85
80
  })).sort((l, r) => r.value - l.value), e = [];
86
81
  let h = 0;
87
82
  for (let l = 0; l < s.length; l += 1)
88
83
  e.push({
89
84
  ...s[l],
90
- fill: Le(h, s[l].proportion, s[l].breakdown, s[l].color)
85
+ fill: Re(h, s[l].proportion, s[l].breakdown, s[l].color)
91
86
  }), h += s[l].proportion;
92
87
  return e;
93
88
  }
@@ -101,36 +96,36 @@ const kt = ["id"], gt = {
101
96
  tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
102
97
  tubeRight: `M${o.value.width - o.value.right},${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective}`,
103
98
  tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
104
- })), W = j(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
105
- Re(() => {
106
- $e();
99
+ })), V = j(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
100
+ Qe(() => {
101
+ _e();
107
102
  let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
108
103
  function h() {
109
- W.value += s + a, a += e, W.value < $.dataset.percentage ? requestAnimationFrame(h) : W.value = $.dataset.percentage;
104
+ V.value += s + a, a += e, V.value < $.dataset.percentage ? requestAnimationFrame(h) : V.value = $.dataset.percentage;
110
105
  }
111
- t.value.style.chart.animation.use && (W.value = 0, h());
106
+ t.value.style.chart.animation.use && (V.value = 0, h());
112
107
  });
113
- function $e() {
114
- lt($.dataset) ? Q({
108
+ function _e() {
109
+ it($.dataset) ? ee({
115
110
  componentName: "VueUi3dBar",
116
111
  type: "dataset"
117
112
  }) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
118
- re({
113
+ ue({
119
114
  datasetObject: a,
120
115
  requiredAttributes: ["name", "value"]
121
116
  }).forEach((e) => {
122
- Q({
117
+ ee({
123
118
  componentName: "VueUi3dBar",
124
119
  type: "datasetSerieAttribute",
125
120
  property: e,
126
121
  index: s
127
122
  });
128
123
  }), a.breakdown && a.breakdown.forEach((e, h) => {
129
- re({
124
+ ue({
130
125
  datasetObject: e,
131
126
  requiredAttributes: ["name", "value"]
132
127
  }).forEach((l) => {
133
- Q({
128
+ ee({
134
129
  componentName: "VueUi3dBar",
135
130
  type: "datasetSerieAttribute",
136
131
  property: l,
@@ -138,28 +133,28 @@ const kt = ["id"], gt = {
138
133
  });
139
134
  });
140
135
  });
141
- }) : re({
136
+ }) : ue({
142
137
  datasetObject: $.dataset,
143
138
  requiredAttributes: ["percentage"]
144
139
  }).forEach((a) => {
145
- Q({
140
+ ee({
146
141
  componentName: "VueUi3dBar",
147
142
  type: "datasetAttribute",
148
143
  property: a
149
144
  });
150
145
  });
151
146
  }
152
- function Le(a, s, e, h) {
153
- const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, ne = c - v - p - l * s / 2, Ge = ne > o.value.height / 2 ? "top" : "bottom", xe = 64, Ue = !!e;
154
- let we = null, Ce = null;
155
- return Ue && (e = e.map((Fe, Ee) => ({
156
- ...Fe,
157
- value: Fe.value || 0,
158
- color: U(h, Ee / e.length)
159
- })), we = Te(
147
+ function Re(a, s, e, h) {
148
+ const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, re = c - v - p - l * s / 2, Xe = re > o.value.height / 2 ? "top" : "bottom", we = 64, Ye = !!e;
149
+ let Ce = null, Fe = null;
150
+ return Ye && (e = e.map((Me, Je) => ({
151
+ ...Me,
152
+ value: Me.value || 0,
153
+ color: E(h, Je / e.length)
154
+ })), Ce = Se(
160
155
  { series: e },
161
156
  r + o.value.absoluteWidth / 4 - 14,
162
- Ge === "top" ? ne - xe : ne + xe,
157
+ Xe === "top" ? re - we : re + we,
163
158
  28,
164
159
  28,
165
160
  1.99999,
@@ -168,7 +163,7 @@ const kt = ["id"], gt = {
168
163
  360,
169
164
  105.25,
170
165
  14
171
- ), Ce = Te(
166
+ ), Fe = Se(
172
167
  { series: e },
173
168
  r - w + 20,
174
169
  c - v - p - l * s / 2,
@@ -181,8 +176,8 @@ const kt = ["id"], gt = {
181
176
  105.25,
182
177
  6
183
178
  )), {
184
- donut: we,
185
- miniDonut: Ce,
179
+ donut: Ce,
180
+ miniDonut: Fe,
186
181
  sidePointer: {
187
182
  x: r - w,
188
183
  y: c - v - p - l * s / 2,
@@ -210,8 +205,8 @@ const kt = ["id"], gt = {
210
205
  ${f},${c - v - p}Z`
211
206
  };
212
207
  }
213
- const H = T(() => {
214
- const a = W.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: c, perspective: k } = o.value, f = l + s * 0;
208
+ const R = T(() => {
209
+ const a = V.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: c, perspective: k } = o.value, f = l + s * 0;
215
210
  return {
216
211
  right: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${e - r},${h - f - k - s * a} ${e - r},${h - f - k}Z`,
217
212
  left: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${c}, ${h - f - k - s * a} ${c},${h - f - k}Z`,
@@ -230,30 +225,30 @@ const kt = ["id"], gt = {
230
225
  };
231
226
  }), x = j(null);
232
227
  function M(a, s = !1) {
233
- R("selectDatapoint", a), s || (x.value = a.id), s && A.value && (A.value = !1), s && !A.value && (A.value = !0);
228
+ Z("selectDatapoint", a), s || (x.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
234
229
  }
235
230
  function L() {
236
- A.value || (x.value = null);
231
+ I.value || (x.value = null);
237
232
  }
238
- function V(a, s, e = !1) {
239
- const h = $.dataset.series.map((c) => c.value || 0).reduce((c, k) => c + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, r = isNaN(a.value / _e(s)) ? 0 : a.value / _e(s) * 100;
233
+ function W(a, s, e = !1) {
234
+ const h = $.dataset.series.map((c) => c.value || 0).reduce((c, k) => c + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, r = isNaN(a.value / me(s)) ? 0 : a.value / me(s) * 100;
240
235
  return e ? r : l.toFixed(0) + "%";
241
236
  }
242
- function _e(a) {
237
+ function me(a) {
243
238
  return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
244
239
  }
245
- const se = j(!1);
246
- function We(a) {
247
- se.value = a;
240
+ const ae = j(!1);
241
+ function Ze(a) {
242
+ ae.value = a;
248
243
  }
249
- function Ve() {
244
+ function qe() {
250
245
  return F.value ? C.value : $.dataset.percentage;
251
246
  }
252
247
  const N = T(() => {
253
248
  if (F.value) {
254
249
  const a = C.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((h, l) => ({
255
250
  name: h.name,
256
- color: U(e.color, l / e.breakdown.length)
251
+ color: E(e.color, l / e.breakdown.length)
257
252
  }))] : {
258
253
  name: e.name,
259
254
  color: e.color
@@ -262,19 +257,19 @@ const kt = ["id"], gt = {
262
257
  } else
263
258
  return null;
264
259
  });
265
- function me() {
260
+ function be() {
266
261
  if (!F.value) {
267
262
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
268
263
  return;
269
264
  }
270
- Ye(() => {
265
+ ot(() => {
271
266
  const a = C.value.map((l) => l.value).reduce((l, r) => l + r, 0), s = N.value.head.map((l, r) => [[
272
267
  l.name
273
- ], [N.value.body[r]], [isNaN(N.value.body[r] / a) ? "-" : N.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = st(e);
274
- at({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
268
+ ], [N.value.body[r]], [isNaN(N.value.body[r] / a) ? "-" : N.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = ct(e);
269
+ ht({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
275
270
  });
276
271
  }
277
- const q = T(() => {
272
+ const X = T(() => {
278
273
  const a = C.value.map((r) => r.value).reduce((r, c) => r + c, 0), s = [
279
274
  ' <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>',
280
275
  D({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
@@ -318,40 +313,40 @@ const kt = ["id"], gt = {
318
313
  config: h
319
314
  };
320
315
  });
321
- function be() {
322
- E.value.showTable = !E.value.showTable;
316
+ function xe() {
317
+ H.value.showTable = !H.value.showTable;
323
318
  }
324
- const X = j(!1);
325
- function ae() {
326
- X.value = !X.value;
319
+ const Y = j(!1);
320
+ function ne() {
321
+ Y.value = !Y.value;
327
322
  }
328
- return ze({
329
- generateCsv: me,
330
- generatePdf: ke,
331
- generateImage: ge,
332
- getData: Ve,
333
- toggleTable: be,
334
- toggleAnnotator: ae
335
- }), (a, s) => (n(), i("div", {
323
+ return Ne({
324
+ generateCsv: be,
325
+ generatePdf: ge,
326
+ generateImage: $e,
327
+ getData: qe,
328
+ toggleTable: xe,
329
+ toggleAnnotator: ne
330
+ }), (a, s) => (n(), d("div", {
336
331
  ref_key: "bar3dChart",
337
- ref: ue,
338
- class: Me("vue-ui-3d-bar"),
332
+ ref: ie,
333
+ class: Pe("vue-ui-3d-bar"),
339
334
  style: O(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
340
335
  id: `3d_bar_${b.value}`,
341
- onMouseenter: s[2] || (s[2] = () => d(ce)(!0)),
342
- onMouseleave: s[3] || (s[3] = () => d(ce)(!1))
336
+ onMouseenter: s[2] || (s[2] = () => u(he)(!0)),
337
+ onMouseleave: s[3] || (s[3] = () => u(he)(!1))
343
338
  }, [
344
- t.value.userOptions.buttons.annotator ? (n(), G(vt, {
339
+ t.value.userOptions.buttons.annotator ? (n(), U(u(Ve), {
345
340
  key: 0,
346
- svgRef: d(ve),
341
+ svgRef: u(fe),
347
342
  backgroundColor: t.value.style.chart.backgroundColor,
348
343
  color: t.value.style.chart.color,
349
- active: X.value,
350
- onClose: ae
344
+ active: Y.value,
345
+ onClose: ne
351
346
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
352
- t.value.style.chart.title.text ? (n(), i("div", gt, [
353
- (n(), G(nt, {
354
- key: `title_${ie.value}`,
347
+ t.value.style.chart.title.text ? (n(), d("div", $t, [
348
+ (n(), U(yt, {
349
+ key: `title_${de.value}`,
355
350
  config: {
356
351
  title: {
357
352
  cy: "3dBar-div-title",
@@ -364,14 +359,14 @@ const kt = ["id"], gt = {
364
359
  }
365
360
  }, null, 8, ["config"]))
366
361
  ])) : y("", !0),
367
- t.value.userOptions.show && Z.value && (d(he) || d(oe)) ? (n(), G(ut, {
362
+ t.value.userOptions.show && q.value && (u(ve) || u(se)) ? (n(), U(u(Ge), {
368
363
  key: 2,
369
364
  ref_key: "details",
370
- ref: Ie,
365
+ ref: Ee,
371
366
  backgroundColor: t.value.style.chart.backgroundColor,
372
367
  color: t.value.style.chart.color,
373
- isPrinting: d(pe),
374
- isImaging: d(ye),
368
+ isPrinting: u(ye),
369
+ isImaging: u(ke),
375
370
  uid: b.value,
376
371
  hasPdf: t.value.userOptions.buttons.pdf,
377
372
  hasTable: !!F.value && t.value.userOptions.buttons.table,
@@ -379,24 +374,24 @@ const kt = ["id"], gt = {
379
374
  hasImg: t.value.userOptions.buttons.img,
380
375
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
381
376
  titles: { ...t.value.userOptions.buttonTitles },
382
- chartElement: ue.value,
377
+ chartElement: ie.value,
383
378
  position: t.value.userOptions.position,
384
379
  hasAnnotator: t.value.userOptions.buttons.annotator,
385
- isAnnotation: X.value,
386
- onToggleFullscreen: We,
387
- onGeneratePdf: d(ke),
388
- onGenerateCsv: me,
389
- onGenerateImage: d(ge),
390
- onToggleTable: be,
391
- onToggleAnnotator: ae,
380
+ isAnnotation: Y.value,
381
+ onToggleFullscreen: Ze,
382
+ onGeneratePdf: u(ge),
383
+ onGenerateCsv: be,
384
+ onGenerateImage: u($e),
385
+ onToggleTable: xe,
386
+ onToggleAnnotator: ne,
392
387
  style: O({
393
- visibility: d(he) ? d(oe) ? "visible" : "hidden" : "visible"
388
+ visibility: u(ve) ? u(se) ? "visible" : "hidden" : "visible"
394
389
  })
395
- }, Ze({ _: 2 }, [
390
+ }, et({ _: 2 }, [
396
391
  a.$slots.menuIcon ? {
397
392
  name: "menuIcon",
398
393
  fn: S(({ isOpen: e, color: h }) => [
399
- P(a.$slots, "menuIcon", Y(J({ isOpen: e, color: h })), void 0, !0)
394
+ P(a.$slots, "menuIcon", J(K({ isOpen: e, color: h })), void 0, !0)
400
395
  ]),
401
396
  key: "0"
402
397
  } : void 0,
@@ -431,29 +426,29 @@ const kt = ["id"], gt = {
431
426
  a.$slots.optionFullscreen ? {
432
427
  name: "optionFullscreen",
433
428
  fn: S(({ toggleFullscreen: e, isFullscreen: h }) => [
434
- P(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
429
+ P(a.$slots, "optionFullscreen", J(K({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
435
430
  ]),
436
431
  key: "5"
437
432
  } : void 0,
438
433
  a.$slots.optionAnnotator ? {
439
434
  name: "optionAnnotator",
440
435
  fn: S(({ toggleAnnotator: e, isAnnotator: h }) => [
441
- P(a.$slots, "optionAnnotator", Y(J({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
436
+ P(a.$slots, "optionAnnotator", J(K({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
442
437
  ]),
443
438
  key: "6"
444
439
  } : void 0
445
440
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
446
- Z.value ? (n(), i("svg", {
441
+ q.value ? (n(), d("svg", {
447
442
  key: 3,
448
443
  ref_key: "svgRef",
449
- ref: ve,
450
- xmlns: d(ot),
451
- class: Me({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
444
+ ref: fe,
445
+ xmlns: u(dt),
446
+ class: Pe({ "vue-data-ui-fullscreen--on": ae.value, "vue-data-ui-fulscreen--off": !ae.value }),
452
447
  viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
453
448
  style: O(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
454
449
  }, [
455
- qe(ht),
456
- a.$slots["chart-background"] ? (n(), i("foreignObject", {
450
+ tt(u(Le)),
451
+ a.$slots["chart-background"] ? (n(), d("foreignObject", {
457
452
  key: 0,
458
453
  x: 0,
459
454
  y: 0,
@@ -464,120 +459,120 @@ const kt = ["id"], gt = {
464
459
  }
465
460
  }, [
466
461
  P(a.$slots, "chart-background", {}, void 0, !0)
467
- ], 8, _t)) : y("", !0),
468
- u("defs", null, [
469
- u("radialGradient", {
462
+ ], 8, mt)) : y("", !0),
463
+ i("defs", null, [
464
+ i("radialGradient", {
470
465
  id: `gradient_top${b.value}`
471
466
  }, [
472
- u("stop", {
467
+ i("stop", {
473
468
  offset: "0%",
474
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
475
- }, null, 8, bt),
476
- u("stop", {
469
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
470
+ }, null, 8, xt),
471
+ i("stop", {
477
472
  offset: "100%",
478
473
  "stop-color": t.value.style.chart.bar.color
479
- }, null, 8, xt)
480
- ], 8, mt),
481
- u("radialGradient", {
474
+ }, null, 8, wt)
475
+ ], 8, bt),
476
+ i("radialGradient", {
482
477
  id: `gradient_left${b.value}`
483
478
  }, [
484
- u("stop", {
479
+ i("stop", {
485
480
  offset: "0%",
486
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
487
- }, null, 8, Ct),
488
- u("stop", {
481
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
482
+ }, null, 8, Ft),
483
+ i("stop", {
489
484
  offset: "100%",
490
- "stop-color": d(g)(t.value.style.chart.bar.color, 20)
491
- }, null, 8, Ft)
492
- ], 8, wt),
493
- u("radialGradient", {
485
+ "stop-color": u(g)(t.value.style.chart.bar.color, 20)
486
+ }, null, 8, Mt)
487
+ ], 8, Ct),
488
+ i("radialGradient", {
494
489
  id: `gradient_right${b.value}`
495
490
  }, [
496
- u("stop", {
491
+ i("stop", {
497
492
  offset: "0%",
498
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
499
- }, null, 8, Pt),
500
- u("stop", {
493
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
494
+ }, null, 8, jt),
495
+ i("stop", {
501
496
  offset: "100%",
502
- "stop-color": d(g)(t.value.style.chart.bar.color, 20)
503
- }, null, 8, jt)
504
- ], 8, Mt),
505
- u("linearGradient", {
497
+ "stop-color": u(g)(t.value.style.chart.bar.color, 20)
498
+ }, null, 8, Tt)
499
+ ], 8, Pt),
500
+ i("linearGradient", {
506
501
  id: `gradient_tube_body${b.value}`,
507
502
  x1: "0%",
508
503
  y1: "0%",
509
504
  x2: "100%",
510
505
  y2: "0%"
511
506
  }, [
512
- u("stop", {
507
+ i("stop", {
513
508
  offset: "0%",
514
509
  "stop-color": `${t.value.style.chart.bar.color}`
515
- }, null, 8, St),
516
- u("stop", {
517
- offset: "75%",
518
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
519
510
  }, null, 8, Dt),
520
- u("stop", {
511
+ i("stop", {
512
+ offset: "75%",
513
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
514
+ }, null, 8, Ot),
515
+ i("stop", {
521
516
  offset: "100%",
522
- "stop-color": d(g)(t.value.style.chart.bar.color, 40)
523
- }, null, 8, Ot)
524
- ], 8, Tt)
517
+ "stop-color": u(g)(t.value.style.chart.bar.color, 40)
518
+ }, null, 8, zt)
519
+ ], 8, St)
525
520
  ]),
526
- F.value ? (n(), i("defs", zt, [
527
- (n(!0), i(_, null, m(C.value, (e) => (n(), i("radialGradient", {
521
+ F.value ? (n(), d("defs", Nt, [
522
+ (n(!0), d(_, null, m(C.value, (e) => (n(), d("radialGradient", {
528
523
  id: `grad_top_${e.id}`
529
524
  }, [
530
- u("stop", {
525
+ i("stop", {
531
526
  offset: "0%",
532
- "stop-color": d(g)(d(U)(e.color, 0.5), 80)
533
- }, null, 8, Bt),
534
- u("stop", {
527
+ "stop-color": u(g)(u(E)(e.color, 0.5), 80)
528
+ }, null, 8, At),
529
+ i("stop", {
535
530
  offset: "100%",
536
531
  "stop-color": e.color
537
532
  }, null, 8, It)
538
- ], 8, Nt))), 256)),
539
- (n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
533
+ ], 8, Bt))), 256)),
534
+ (n(!0), d(_, null, m(C.value, (e) => (n(), d("linearGradient", {
540
535
  id: `grad_left_${e.id}`
541
536
  }, [
542
- u("stop", {
537
+ i("stop", {
543
538
  offset: "0%",
544
- "stop-color": d(g)(e.color, 80)
545
- }, null, 8, Lt),
546
- u("stop", {
539
+ "stop-color": u(g)(e.color, 80)
540
+ }, null, 8, Vt),
541
+ i("stop", {
547
542
  offset: "100%",
548
- "stop-color": d(g)(d(ee)(e.color, 0.5), 100)
543
+ "stop-color": u(g)(u(te)(e.color, 0.5), 100)
549
544
  }, null, 8, Wt)
550
- ], 8, At))), 256)),
551
- (n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
545
+ ], 8, Lt))), 256)),
546
+ (n(!0), d(_, null, m(C.value, (e) => (n(), d("linearGradient", {
552
547
  id: `grad_right_${e.id}`
553
548
  }, [
554
- u("stop", {
549
+ i("stop", {
555
550
  offset: "2%",
556
- "stop-color": d(g)(d(U)(e.color, 0.5), 100)
557
- }, null, 8, Gt),
558
- u("stop", {
551
+ "stop-color": u(g)(u(E)(e.color, 0.5), 100)
552
+ }, null, 8, Ut),
553
+ i("stop", {
559
554
  offset: "100%",
560
- "stop-color": d(g)(e.color, 80)
561
- }, null, 8, Ut)
562
- ], 8, Vt))), 256)),
563
- u("linearGradient", {
555
+ "stop-color": u(g)(e.color, 80)
556
+ }, null, 8, Et)
557
+ ], 8, Gt))), 256)),
558
+ i("linearGradient", {
564
559
  x1: "0%",
565
560
  y1: "0%",
566
561
  x2: "0%",
567
562
  y2: "100%",
568
563
  id: `vertical_line_${b.value}`
569
564
  }, s[4] || (s[4] = [
570
- u("stop", {
565
+ i("stop", {
571
566
  offset: "0%",
572
567
  "stop-color": "#FFFFFF"
573
568
  }, null, -1),
574
- u("stop", {
569
+ i("stop", {
575
570
  offset: "100%",
576
571
  "stop-color": "#FFFFFF33"
577
572
  }, null, -1)
578
- ]), 8, Et)
573
+ ]), 8, Ht)
579
574
  ])) : y("", !0),
580
- t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), i("text", {
575
+ t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), d("text", {
581
576
  key: 2,
582
577
  x: o.value.width / 2,
583
578
  y: o.value.top - t.value.style.chart.dataLabel.fontSize / 2,
@@ -585,42 +580,42 @@ const kt = ["id"], gt = {
585
580
  "font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
586
581
  fill: t.value.style.chart.dataLabel.color,
587
582
  "text-anchor": "middle"
588
- }, B(d(D)({
589
- v: W.value,
583
+ }, B(u(D)({
584
+ v: V.value,
590
585
  s: "%",
591
586
  r: t.value.style.chart.dataLabel.rounding
592
- })), 9, Ht)) : y("", !0),
593
- A.value ? (n(), i("g", {
587
+ })), 9, Rt)) : y("", !0),
588
+ I.value ? (n(), d("g", {
594
589
  key: 3,
595
590
  onClick: s[0] || (s[0] = (e) => {
596
- A.value = !1, x.value = null;
591
+ I.value = !1, x.value = null;
597
592
  }),
598
593
  "data-dom-to-png-ignore": "",
599
594
  style: { cursor: "pointer" }
600
595
  }, [
601
- u("rect", {
596
+ i("rect", {
602
597
  x: o.value.width / 2 - 6,
603
598
  y: o.value.top - 20,
604
599
  height: 12,
605
600
  width: 12,
606
601
  fill: "transparent"
607
- }, null, 8, Rt),
608
- u("path", {
602
+ }, null, 8, Zt),
603
+ i("path", {
609
604
  d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
610
605
  stroke: t.value.style.chart.color,
611
606
  "stroke-linecap": "round",
612
607
  "stroke-width": "1"
613
- }, null, 8, Zt),
614
- u("path", {
608
+ }, null, 8, qt),
609
+ i("path", {
615
610
  d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
616
611
  stroke: t.value.style.chart.color,
617
612
  "stroke-linecap": "round",
618
613
  "stroke-width": "1"
619
- }, null, 8, qt)
614
+ }, null, 8, Xt)
620
615
  ])) : y("", !0),
621
- !t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g", Xt, [
622
- F.value ? y("", !0) : (n(), i("g", Yt, [
623
- u("path", {
616
+ !t.value.style.shape || t.value.style.shape === "bar" ? (n(), d("g", Yt, [
617
+ F.value ? y("", !0) : (n(), d("g", Jt, [
618
+ i("path", {
624
619
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
625
620
  d: z.value.right,
626
621
  stroke: t.value.style.chart.box.stroke,
@@ -628,8 +623,8 @@ const kt = ["id"], gt = {
628
623
  "stroke-linejoin": "round",
629
624
  "stroke-linecap": "round",
630
625
  fill: "none"
631
- }, null, 8, Jt),
632
- u("path", {
626
+ }, null, 8, Kt),
627
+ i("path", {
633
628
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
634
629
  d: z.value.left,
635
630
  stroke: t.value.style.chart.box.stroke,
@@ -637,8 +632,8 @@ const kt = ["id"], gt = {
637
632
  "stroke-linejoin": "round",
638
633
  "stroke-linecap": "round",
639
634
  fill: "none"
640
- }, null, 8, Kt),
641
- u("path", {
635
+ }, null, 8, Qt),
636
+ i("path", {
642
637
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
643
638
  d: z.value.side,
644
639
  stroke: t.value.style.chart.box.stroke,
@@ -646,8 +641,8 @@ const kt = ["id"], gt = {
646
641
  "stroke-linejoin": "round",
647
642
  "stroke-linecap": "round",
648
643
  fill: "none"
649
- }, null, 8, Qt),
650
- u("path", {
644
+ }, null, 8, el),
645
+ i("path", {
651
646
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
652
647
  d: z.value.topSides,
653
648
  stroke: t.value.style.chart.box.stroke,
@@ -655,61 +650,61 @@ const kt = ["id"], gt = {
655
650
  "stroke-linejoin": "round",
656
651
  "stroke-linecap": "round",
657
652
  fill: "none"
658
- }, null, 8, el)
653
+ }, null, 8, tl)
659
654
  ])),
660
- F.value ? y("", !0) : (n(), i("g", tl, [
661
- u("path", {
662
- d: H.value.right,
655
+ F.value ? y("", !0) : (n(), d("g", ll, [
656
+ i("path", {
657
+ d: R.value.right,
663
658
  stroke: t.value.style.chart.bar.stroke,
664
659
  "stroke-width": t.value.style.chart.bar.strokeWidth,
665
660
  "stroke-linejoin": "round",
666
661
  "stroke-linecap": "round",
667
662
  fill: `url(#gradient_right${b.value})`
668
- }, null, 8, ll),
669
- u("path", {
670
- d: H.value.left,
663
+ }, null, 8, ol),
664
+ i("path", {
665
+ d: R.value.left,
671
666
  stroke: t.value.style.chart.bar.stroke,
672
667
  "stroke-width": t.value.style.chart.bar.strokeWidth,
673
668
  "stroke-linejoin": "round",
674
669
  "stroke-linecap": "round",
675
670
  fill: `url(#gradient_left${b.value})`
676
- }, null, 8, ol),
677
- u("path", {
678
- d: H.value.top,
671
+ }, null, 8, sl),
672
+ i("path", {
673
+ d: R.value.top,
679
674
  stroke: t.value.style.chart.bar.stroke,
680
675
  "stroke-width": t.value.style.chart.bar.strokeWidth,
681
676
  "stroke-linejoin": "round",
682
677
  "stroke-linecap": "round",
683
678
  fill: `url(#gradient_top${b.value})`
684
- }, null, 8, sl)
679
+ }, null, 8, al)
685
680
  ])),
686
- F.value ? (n(), i("g", al, [
687
- (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
681
+ F.value ? (n(), d("g", nl, [
682
+ (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
688
683
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
689
684
  class: "vue-ui-3d-bar-stack"
690
685
  }, [
691
- u("path", {
686
+ i("path", {
692
687
  d: e.fill.right,
693
688
  fill: `url(#grad_right_${e.id})`,
694
689
  onMouseenter: (l) => M(e),
695
690
  onClick: (l) => M(e, !0),
696
691
  onMouseout: L
697
- }, null, 40, nl),
698
- u("path", {
692
+ }, null, 40, rl),
693
+ i("path", {
699
694
  d: e.fill.left,
700
695
  fill: `url(#grad_left_${e.id})`,
701
696
  onMouseenter: (l) => M(e),
702
697
  onClick: (l) => M(e, !0),
703
698
  onMouseout: L
704
- }, null, 40, rl),
705
- u("path", {
699
+ }, null, 40, ul),
700
+ i("path", {
706
701
  d: e.fill.top,
707
702
  fill: `url(#grad_top_${e.id})`,
708
703
  onMouseenter: (l) => M(e),
709
704
  onClick: (l) => M(e, !0),
710
705
  onMouseout: L
711
- }, null, 40, ul),
712
- u("path", {
706
+ }, null, 40, il),
707
+ i("path", {
713
708
  d: e.fill.liningTop,
714
709
  stroke: "#FFFFFF",
715
710
  "stroke-width": "0.5",
@@ -718,16 +713,16 @@ const kt = ["id"], gt = {
718
713
  onMouseenter: (l) => M(e),
719
714
  onClick: (l) => M(e, !0),
720
715
  onMouseout: L
721
- }, null, 40, il),
722
- u("path", {
716
+ }, null, 40, dl),
717
+ i("path", {
723
718
  d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
724
719
  stroke: "#FFFFFF",
725
720
  "stroke-width": "0.5",
726
721
  "stroke-linecap": "round"
727
- }, null, 8, dl)
722
+ }, null, 8, cl)
728
723
  ], 4))), 256)),
729
- (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", null, [
730
- h !== C.value.length - 1 ? (n(), i("path", {
724
+ (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", null, [
725
+ h !== C.value.length - 1 ? (n(), d("path", {
731
726
  key: 0,
732
727
  d: e.fill.liningTopShade,
733
728
  stroke: t.value.style.chart.bar.shadeColor,
@@ -735,41 +730,41 @@ const kt = ["id"], gt = {
735
730
  "stroke-linecap": "round",
736
731
  fill: "none",
737
732
  style: { "pointer-events": "none" }
738
- }, null, 8, cl)) : y("", !0)
733
+ }, null, 8, hl)) : y("", !0)
739
734
  ]))), 256)),
740
- (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
735
+ (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
741
736
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
742
- onClick: (l) => R("selectDatapoint", e)
737
+ onClick: (l) => Z("selectDatapoint", e)
743
738
  }, [
744
- u("path", {
739
+ i("path", {
745
740
  stroke: t.value.style.chart.color,
746
741
  "stroke-dasharray": "1",
747
742
  "stroke-width": "0.5",
748
743
  "stroke-linecap": "round",
749
744
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
750
- }, null, 8, vl),
751
- !e.fill.miniDonut || x.value ? (n(), i("circle", {
745
+ }, null, 8, fl),
746
+ !e.fill.miniDonut || x.value ? (n(), d("circle", {
752
747
  key: 0,
753
748
  cx: e.fill.sidePointer.x + 20,
754
749
  cy: e.fill.sidePointer.y,
755
750
  r: 2,
756
751
  fill: e.color,
757
752
  stroke: t.value.style.chart.backgroundColor
758
- }, null, 8, fl)) : y("", !0),
759
- (n(), i("foreignObject", {
753
+ }, null, 8, pl)) : y("", !0),
754
+ (n(), d("foreignObject", {
760
755
  x: e.fill.sidePointer.x + 30,
761
756
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
762
757
  width: o.value.absoluteWidth / 2 - 12,
763
758
  height: t.value.style.chart.legend.fontSize * 2,
764
759
  style: { overflow: "visible", position: "relative" }
765
760
  }, [
766
- t.value.style.chart.legend.showDefault ? (n(), i("div", {
761
+ t.value.style.chart.legend.showDefault ? (n(), d("div", {
767
762
  key: 0,
768
763
  style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
769
- }, B(d(te)(
764
+ }, B(u(le)(
770
765
  t.value.style.chart.dataLabel.formatter,
771
766
  e.value,
772
- `${e.name}: ${d(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })} (${d(D)({
767
+ `${e.name}: ${u(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })} (${u(D)({
773
768
  p: t.value.style.chart.legend.prefix,
774
769
  v: e.value,
775
770
  s: t.value.style.chart.legend.suffix,
@@ -777,104 +772,104 @@ const kt = ["id"], gt = {
777
772
  })})`,
778
773
  { datapoint: e, seriesIndex: h, type: "barDatapoint" }
779
774
  )), 5)) : y("", !0),
780
- P(a.$slots, "legend", Pe({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
781
- ], 8, pl)),
782
- e.fill.donut && x.value === e.id ? (n(), i("g", yl, [
783
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
784
- V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
775
+ P(a.$slots, "legend", je({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
776
+ ], 8, yl)),
777
+ e.fill.donut && x.value === e.id ? (n(), d("g", kl, [
778
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
779
+ W(l, e.fill.donut, !0) > 6 ? (n(), d("path", {
785
780
  key: 0,
786
- d: d(Se)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
781
+ d: u(De)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
787
782
  stroke: l.color,
788
783
  class: "vue-ui-donut-arc-path",
789
784
  "stroke-width": "0.5",
790
785
  "stroke-linecap": "round",
791
786
  "stroke-linejoin": "round",
792
787
  fill: "none"
793
- }, null, 8, kl)) : y("", !0)
788
+ }, null, 8, gl)) : y("", !0)
794
789
  ]))), 256)),
795
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("path", {
790
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("path", {
796
791
  class: "vue-ui-donut-arc-path",
797
792
  d: l.arcSlice,
798
793
  fill: `${l.color}`,
799
794
  stroke: t.value.style.chart.backgroundColor,
800
795
  "stroke-width": 1
801
- }, null, 8, gl))), 256)),
802
- u("defs", null, [
803
- u("radialGradient", {
796
+ }, null, 8, $l))), 256)),
797
+ i("defs", null, [
798
+ i("radialGradient", {
804
799
  id: `hollow_gradient_${b.value}`
805
800
  }, [
806
- u("stop", {
801
+ i("stop", {
807
802
  offset: "0%",
808
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
809
- }, null, 8, _l),
810
- s[5] || (s[5] = u("stop", {
803
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
804
+ }, null, 8, ml),
805
+ s[5] || (s[5] = i("stop", {
811
806
  offset: "77%",
812
807
  "stop-color": "#FFFFFF20"
813
808
  }, null, -1)),
814
- u("stop", {
809
+ i("stop", {
815
810
  offset: "100%",
816
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
817
- }, null, 8, ml)
818
- ], 8, $l)
811
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
812
+ }, null, 8, bl)
813
+ ], 8, _l)
819
814
  ]),
820
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
815
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
821
816
  class: "vue-ui-donut-arc-path",
822
817
  cx: l.cx,
823
818
  cy: l.cy,
824
819
  r: 28,
825
820
  fill: `url(#hollow_gradient_${b.value})`
826
- }, null, 8, bl))), 256)),
827
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
821
+ }, null, 8, xl))), 256)),
822
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
828
823
  class: "vue-ui-donut-arc-path",
829
824
  cx: l.cx,
830
825
  cy: l.cy,
831
826
  r: 14,
832
827
  fill: t.value.style.chart.backgroundColor
833
- }, null, 8, xl))), 256)),
834
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
835
- V(l, e.fill.donut, !0) > 6 ? (n(), i("g", wl, [
836
- u("text", {
837
- "text-anchor": d(I)(l, !0, 0).anchor,
838
- x: d(I)(l, !0, 2).x,
839
- y: d(le)(l, 12, 12),
828
+ }, null, 8, wl))), 256)),
829
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
830
+ W(l, e.fill.donut, !0) > 6 ? (n(), d("g", Cl, [
831
+ i("text", {
832
+ "text-anchor": u(A)(l, !0, 0).anchor,
833
+ x: u(A)(l, !0, 2).x,
834
+ y: u(oe)(l, 12, 12),
840
835
  fill: t.value.style.chart.legend.color,
841
836
  "font-size": t.value.style.chart.legend.fontSize / 1.5
842
- }, B(d(te)(
837
+ }, B(u(le)(
843
838
  t.value.style.chart.dataLabel.formatter,
844
839
  l.value,
845
- `${V(l, e.fill.donut)} (${d(D)({
840
+ `${W(l, e.fill.donut)} (${u(D)({
846
841
  p: t.value.style.chart.legend.prefix,
847
842
  v: l.value,
848
843
  s: t.value.style.chart.legend.suffix,
849
844
  r: t.value.style.chart.legend.roundingValue
850
845
  })})`,
851
846
  { datapoint: l, seriesIndex: r, type: "donutDatapoint" }
852
- )), 9, Cl),
853
- u("text", {
854
- "text-anchor": d(I)(l).anchor,
855
- x: d(I)(l, !0, 2).x,
856
- y: d(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
847
+ )), 9, Fl),
848
+ i("text", {
849
+ "text-anchor": u(A)(l).anchor,
850
+ x: u(A)(l, !0, 2).x,
851
+ y: u(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
857
852
  fill: t.value.style.chart.legend.color,
858
853
  "font-size": t.value.style.chart.legend.fontSize / 1.5
859
- }, B(l.name), 9, Fl)
854
+ }, B(l.name), 9, Ml)
860
855
  ])) : y("", !0)
861
856
  ]))), 256))
862
857
  ])) : y("", !0),
863
- e.fill.miniDonut && !x.value ? (n(), i("g", Ml, [
864
- (n(!0), i(_, null, m(e.fill.miniDonut, (l, r) => (n(), i("path", {
858
+ e.fill.miniDonut && !x.value ? (n(), d("g", Pl, [
859
+ (n(!0), d(_, null, m(e.fill.miniDonut, (l, r) => (n(), d("path", {
865
860
  class: "vue-ui-donut-arc-path",
866
861
  d: l.arcSlice,
867
862
  fill: `${l.color}`,
868
863
  stroke: t.value.style.chart.backgroundColor,
869
864
  "stroke-width": 0.5
870
- }, null, 8, Pl))), 256))
865
+ }, null, 8, jl))), 256))
871
866
  ])) : y("", !0)
872
- ], 12, hl))), 256))
867
+ ], 12, vl))), 256))
873
868
  ])) : y("", !0)
874
869
  ])) : y("", !0),
875
- t.value.style.shape === "tube" ? (n(), i("g", jl, [
876
- F.value ? y("", !0) : (n(), i("g", Tl, [
877
- u("path", {
870
+ t.value.style.shape === "tube" ? (n(), d("g", Tl, [
871
+ F.value ? y("", !0) : (n(), d("g", Sl, [
872
+ i("path", {
878
873
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
879
874
  d: z.value.tubeTop,
880
875
  stroke: t.value.style.chart.box.stroke,
@@ -882,8 +877,8 @@ const kt = ["id"], gt = {
882
877
  "stroke-linejoin": "round",
883
878
  "stroke-linecap": "round",
884
879
  fill: "none"
885
- }, null, 8, Sl),
886
- u("path", {
880
+ }, null, 8, Dl),
881
+ i("path", {
887
882
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
888
883
  d: z.value.tubeLeft,
889
884
  stroke: t.value.style.chart.box.stroke,
@@ -891,8 +886,8 @@ const kt = ["id"], gt = {
891
886
  "stroke-linejoin": "round",
892
887
  "stroke-linecap": "round",
893
888
  fill: "none"
894
- }, null, 8, Dl),
895
- u("path", {
889
+ }, null, 8, Ol),
890
+ i("path", {
896
891
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
897
892
  d: z.value.tubeRight,
898
893
  stroke: t.value.style.chart.box.stroke,
@@ -900,8 +895,8 @@ const kt = ["id"], gt = {
900
895
  "stroke-linejoin": "round",
901
896
  "stroke-linecap": "round",
902
897
  fill: "none"
903
- }, null, 8, Ol),
904
- u("path", {
898
+ }, null, 8, zl),
899
+ i("path", {
905
900
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
906
901
  d: z.value.tubeBottom,
907
902
  stroke: t.value.style.chart.box.stroke,
@@ -909,75 +904,75 @@ const kt = ["id"], gt = {
909
904
  "stroke-linejoin": "round",
910
905
  "stroke-linecap": "round",
911
906
  fill: "none"
912
- }, null, 8, zl),
913
- u("path", {
914
- d: H.value.tubeTop,
907
+ }, null, 8, Nl),
908
+ i("path", {
909
+ d: R.value.tubeTop,
915
910
  stroke: t.value.style.chart.bar.stroke,
916
911
  "stroke-width": t.value.style.chart.bar.strokeWidth,
917
912
  "stroke-linejoin": "round",
918
913
  "stroke-linecap": "round",
919
914
  fill: `url(#gradient_top${b.value})`
920
- }, null, 8, Nl),
921
- u("path", {
922
- d: H.value.tubeBody,
915
+ }, null, 8, Bl),
916
+ i("path", {
917
+ d: R.value.tubeBody,
923
918
  stroke: t.value.style.chart.bar.stroke,
924
919
  "stroke-width": t.value.style.chart.bar.strokeWidth,
925
920
  "stroke-linejoin": "round",
926
921
  "stroke-linecap": "round",
927
922
  fill: `url(#gradient_tube_body${b.value})`
928
- }, null, 8, Bl)
923
+ }, null, 8, Al)
929
924
  ])),
930
- F.value ? (n(), i("g", Il, [
931
- (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
925
+ F.value ? (n(), d("g", Il, [
926
+ (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
932
927
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
933
928
  class: "vue-ui-3d-bar-stack",
934
- onClick: (l) => R("selectDatapoint", e)
929
+ onClick: (l) => Z("selectDatapoint", e)
935
930
  }, [
936
- u("defs", null, [
937
- u("radialGradient", {
931
+ i("defs", null, [
932
+ i("radialGradient", {
938
933
  id: `gradient_tube_top_${e.id}`,
939
934
  fx: "10%",
940
935
  cy: "55%"
941
936
  }, [
942
- u("stop", {
937
+ i("stop", {
943
938
  offset: "0%",
944
- "stop-color": d(g)(d(U)(e.color, 0.5), 80)
939
+ "stop-color": u(g)(u(E)(e.color, 0.5), 80)
945
940
  }, null, 8, Wl),
946
- u("stop", {
941
+ i("stop", {
947
942
  offset: "100%",
948
- "stop-color": d(g)(d(ee)(e.color, 0.1), 80)
949
- }, null, 8, Vl)
950
- ], 8, Ll),
951
- u("linearGradient", {
943
+ "stop-color": u(g)(u(te)(e.color, 0.1), 80)
944
+ }, null, 8, Gl)
945
+ ], 8, Vl),
946
+ i("linearGradient", {
952
947
  id: `gradient_tube_body_${e.id}`,
953
948
  x1: "0%",
954
949
  y1: "0%",
955
950
  x2: "100%",
956
951
  y2: "0%"
957
952
  }, [
958
- u("stop", {
953
+ i("stop", {
959
954
  offset: "0%",
960
955
  "stop-color": `${e.color}`
961
- }, null, 8, Ul),
962
- u("stop", {
963
- offset: "10%",
964
- "stop-color": d(g)(d(ee)(e.color, 0.7), 100)
965
956
  }, null, 8, El),
966
- u("stop", {
967
- offset: "25%",
968
- "stop-color": d(g)(d(ee)(e.color, 0.5), 100)
957
+ i("stop", {
958
+ offset: "10%",
959
+ "stop-color": u(g)(u(te)(e.color, 0.7), 100)
969
960
  }, null, 8, Hl),
970
- u("stop", {
971
- offset: "75%",
972
- "stop-color": d(g)(e.color, 80)
961
+ i("stop", {
962
+ offset: "25%",
963
+ "stop-color": u(g)(u(te)(e.color, 0.5), 100)
973
964
  }, null, 8, Rl),
974
- u("stop", {
965
+ i("stop", {
966
+ offset: "75%",
967
+ "stop-color": u(g)(e.color, 80)
968
+ }, null, 8, Zl),
969
+ i("stop", {
975
970
  offset: "100%",
976
- "stop-color": d(g)(d(U)(e.color, 0.7), 100)
977
- }, null, 8, Zl)
978
- ], 8, Gl)
971
+ "stop-color": u(g)(u(E)(e.color, 0.7), 100)
972
+ }, null, 8, ql)
973
+ ], 8, Ul)
979
974
  ]),
980
- u("path", {
975
+ i("path", {
981
976
  onMouseenter: (l) => M(e),
982
977
  onClick: (l) => M(e, !0),
983
978
  onMouseout: L,
@@ -987,8 +982,8 @@ const kt = ["id"], gt = {
987
982
  "stroke-linejoin": "round",
988
983
  "stroke-linecap": "round",
989
984
  fill: `url(#gradient_tube_body_${e.id})`
990
- }, null, 40, ql),
991
- h > 0 ? (n(), i("path", {
985
+ }, null, 40, Xl),
986
+ h > 0 ? (n(), d("path", {
992
987
  key: 0,
993
988
  onMouseenter: (l) => M(e),
994
989
  onClick: (l) => M(e, !0),
@@ -999,8 +994,8 @@ const kt = ["id"], gt = {
999
994
  "stroke-linejoin": "round",
1000
995
  "stroke-linecap": "round",
1001
996
  fill: "none"
1002
- }, null, 40, Xl)) : y("", !0),
1003
- u("path", {
997
+ }, null, 40, Yl)) : y("", !0),
998
+ i("path", {
1004
999
  onMouseenter: (l) => M(e),
1005
1000
  onClick: (l) => M(e, !0),
1006
1001
  onMouseout: L,
@@ -1010,41 +1005,41 @@ const kt = ["id"], gt = {
1010
1005
  "stroke-linejoin": "round",
1011
1006
  "stroke-linecap": "round",
1012
1007
  fill: `url(#gradient_tube_top_${e.id})`
1013
- }, null, 40, Yl)
1014
- ], 12, Al))), 256)),
1015
- (n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
1008
+ }, null, 40, Jl)
1009
+ ], 12, Ll))), 256)),
1010
+ (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
1016
1011
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1017
- onClick: (l) => R("selectDatapoint", e)
1012
+ onClick: (l) => Z("selectDatapoint", e)
1018
1013
  }, [
1019
- u("path", {
1014
+ i("path", {
1020
1015
  stroke: t.value.style.chart.color,
1021
1016
  "stroke-dasharray": "1",
1022
1017
  "stroke-width": "0.5",
1023
1018
  "stroke-linecap": "round",
1024
1019
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
1025
- }, null, 8, Kl),
1026
- !e.fill.miniDonut || x.value ? (n(), i("circle", {
1020
+ }, null, 8, Ql),
1021
+ !e.fill.miniDonut || x.value ? (n(), d("circle", {
1027
1022
  key: 0,
1028
1023
  cx: e.fill.sidePointer.x + 20,
1029
1024
  cy: e.fill.sidePointer.y,
1030
1025
  r: 2,
1031
1026
  fill: e.color,
1032
1027
  stroke: t.value.style.chart.backgroundColor
1033
- }, null, 8, Ql)) : y("", !0),
1034
- (n(), i("foreignObject", {
1028
+ }, null, 8, eo)) : y("", !0),
1029
+ (n(), d("foreignObject", {
1035
1030
  x: e.fill.sidePointer.x + 30,
1036
1031
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
1037
1032
  width: o.value.absoluteWidth / 2 - 12,
1038
1033
  height: t.value.style.chart.legend.fontSize * 2,
1039
1034
  style: { overflow: "visible", position: "relative" }
1040
1035
  }, [
1041
- t.value.style.chart.legend.showDefault ? (n(), i("div", {
1036
+ t.value.style.chart.legend.showDefault ? (n(), d("div", {
1042
1037
  key: 0,
1043
1038
  style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
1044
- }, B(d(te)(
1039
+ }, B(u(le)(
1045
1040
  t.value.style.chart.dataLabel.formatter,
1046
1041
  e.value,
1047
- `${e.name}: ${d(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })} (${d(D)({
1042
+ `${e.name}: ${u(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })} (${u(D)({
1048
1043
  p: t.value.style.chart.legend.prefix,
1049
1044
  v: e.value,
1050
1045
  s: t.value.style.chart.legend.suffix,
@@ -1052,107 +1047,107 @@ const kt = ["id"], gt = {
1052
1047
  })})`,
1053
1048
  { datapoint: e, seriesIndex: h, type: "barDatapoint" }
1054
1049
  )), 5)) : y("", !0),
1055
- P(a.$slots, "legend", Pe({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
1056
- ], 8, eo)),
1057
- e.fill.donut && x.value === e.id ? (n(), i("g", to, [
1058
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
1059
- V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
1050
+ P(a.$slots, "legend", je({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
1051
+ ], 8, to)),
1052
+ e.fill.donut && x.value === e.id ? (n(), d("g", lo, [
1053
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
1054
+ W(l, e.fill.donut, !0) > 6 ? (n(), d("path", {
1060
1055
  key: 0,
1061
- d: d(Se)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1056
+ d: u(De)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1062
1057
  stroke: l.color,
1063
1058
  class: "vue-ui-donut-arc-path",
1064
1059
  "stroke-width": "0.5",
1065
1060
  "stroke-linecap": "round",
1066
1061
  "stroke-linejoin": "round",
1067
1062
  fill: "none"
1068
- }, null, 8, lo)) : y("", !0)
1063
+ }, null, 8, oo)) : y("", !0)
1069
1064
  ]))), 256)),
1070
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("path", {
1065
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("path", {
1071
1066
  class: "vue-ui-donut-arc-path",
1072
1067
  d: l.arcSlice,
1073
1068
  fill: `${l.color}`,
1074
1069
  stroke: t.value.style.chart.backgroundColor,
1075
1070
  "stroke-width": 1
1076
- }, null, 8, oo))), 256)),
1077
- u("defs", null, [
1078
- u("radialGradient", {
1071
+ }, null, 8, so))), 256)),
1072
+ i("defs", null, [
1073
+ i("radialGradient", {
1079
1074
  id: `hollow_gradient_${b.value}`
1080
1075
  }, [
1081
- u("stop", {
1076
+ i("stop", {
1082
1077
  offset: "0%",
1083
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
1084
- }, null, 8, ao),
1085
- s[6] || (s[6] = u("stop", {
1078
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
1079
+ }, null, 8, no),
1080
+ s[6] || (s[6] = i("stop", {
1086
1081
  offset: "77%",
1087
1082
  "stop-color": "#FFFFFF20"
1088
1083
  }, null, -1)),
1089
- u("stop", {
1084
+ i("stop", {
1090
1085
  offset: "100%",
1091
- "stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
1092
- }, null, 8, no)
1093
- ], 8, so)
1086
+ "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
1087
+ }, null, 8, ro)
1088
+ ], 8, ao)
1094
1089
  ]),
1095
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
1090
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
1096
1091
  class: "vue-ui-donut-arc-path",
1097
1092
  cx: l.cx,
1098
1093
  cy: l.cy,
1099
1094
  r: 28,
1100
1095
  fill: `url(#hollow_gradient_${b.value})`
1101
- }, null, 8, ro))), 256)),
1102
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
1096
+ }, null, 8, uo))), 256)),
1097
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
1103
1098
  class: "vue-ui-donut-arc-path",
1104
1099
  cx: l.cx,
1105
1100
  cy: l.cy,
1106
1101
  r: 14,
1107
1102
  fill: t.value.style.chart.backgroundColor
1108
- }, null, 8, uo))), 256)),
1109
- (n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
1110
- V(l, e.fill.donut, !0) > 6 ? (n(), i("g", io, [
1111
- u("text", {
1112
- "text-anchor": d(I)(l, !0, 0).anchor,
1113
- x: d(I)(l, !0, 2).x,
1114
- y: d(le)(l, 12, 12),
1103
+ }, null, 8, io))), 256)),
1104
+ (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
1105
+ W(l, e.fill.donut, !0) > 6 ? (n(), d("g", co, [
1106
+ i("text", {
1107
+ "text-anchor": u(A)(l, !0, 0).anchor,
1108
+ x: u(A)(l, !0, 2).x,
1109
+ y: u(oe)(l, 12, 12),
1115
1110
  fill: t.value.style.chart.legend.color,
1116
1111
  "font-size": t.value.style.chart.legend.fontSize / 1.5
1117
- }, B(d(te)(
1112
+ }, B(u(le)(
1118
1113
  t.value.style.chart.dataLabel.formatter,
1119
1114
  l.value,
1120
- `${V(l, e.fill.donut)} (${d(D)({
1115
+ `${W(l, e.fill.donut)} (${u(D)({
1121
1116
  p: t.value.style.chart.legend.prefix,
1122
1117
  v: l.value,
1123
1118
  s: t.value.style.chart.legend.suffix,
1124
1119
  r: t.value.style.chart.legend.roundingValue
1125
1120
  })})`,
1126
1121
  { datapoint: l, seriesIndex: r, type: "donutDatapoint" }
1127
- )), 9, co),
1128
- u("text", {
1129
- "text-anchor": d(I)(l).anchor,
1130
- x: d(I)(l, !0, 2).x,
1131
- y: d(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
1122
+ )), 9, ho),
1123
+ i("text", {
1124
+ "text-anchor": u(A)(l).anchor,
1125
+ x: u(A)(l, !0, 2).x,
1126
+ y: u(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
1132
1127
  fill: t.value.style.chart.legend.color,
1133
1128
  "font-size": t.value.style.chart.legend.fontSize / 1.5
1134
- }, B(l.name), 9, ho)
1129
+ }, B(l.name), 9, vo)
1135
1130
  ])) : y("", !0)
1136
1131
  ]))), 256))
1137
1132
  ])) : y("", !0),
1138
- e.fill.miniDonut && !x.value ? (n(), i("g", vo, [
1139
- (n(!0), i(_, null, m(e.fill.miniDonut, (l, r) => (n(), i("path", {
1133
+ e.fill.miniDonut && !x.value ? (n(), d("g", fo, [
1134
+ (n(!0), d(_, null, m(e.fill.miniDonut, (l, r) => (n(), d("path", {
1140
1135
  class: "vue-ui-donut-arc-path",
1141
1136
  d: l.arcSlice,
1142
1137
  fill: `${l.color}`,
1143
1138
  stroke: t.value.style.chart.backgroundColor,
1144
1139
  "stroke-width": 0.5
1145
- }, null, 8, fo))), 256))
1140
+ }, null, 8, po))), 256))
1146
1141
  ])) : y("", !0)
1147
- ], 12, Jl))), 256))
1142
+ ], 12, Kl))), 256))
1148
1143
  ])) : y("", !0)
1149
1144
  ])) : y("", !0),
1150
1145
  P(a.$slots, "svg", { svg: o.value }, void 0, !0)
1151
- ], 14, $t)) : y("", !0),
1152
- a.$slots.watermark ? (n(), i("div", po, [
1153
- P(a.$slots, "watermark", Y(J({ isPrinting: d(pe) || d(ye) })), void 0, !0)
1146
+ ], 14, _t)) : y("", !0),
1147
+ a.$slots.watermark ? (n(), d("div", yo, [
1148
+ P(a.$slots, "watermark", J(K({ isPrinting: u(ye) || u(ke) })), void 0, !0)
1154
1149
  ])) : y("", !0),
1155
- Z.value ? y("", !0) : (n(), G(it, {
1150
+ q.value ? y("", !0) : (n(), U(u(We), {
1156
1151
  key: 5,
1157
1152
  config: {
1158
1153
  type: "bar3d",
@@ -1164,14 +1159,14 @@ const kt = ["id"], gt = {
1164
1159
  }
1165
1160
  }
1166
1161
  }, null, 8, ["config"])),
1167
- a.$slots.source ? (n(), i("div", yo, [
1162
+ a.$slots.source ? (n(), d("div", ko, [
1168
1163
  P(a.$slots, "source", {}, void 0, !0)
1169
1164
  ], 512)) : y("", !0),
1170
- Z.value && F.value ? (n(), G(ct, {
1165
+ q.value && F.value ? (n(), U(u(Ae), {
1171
1166
  key: 7,
1172
1167
  hideDetails: "",
1173
1168
  config: {
1174
- open: E.value.showTable,
1169
+ open: H.value.showTable,
1175
1170
  maxHeight: 1e4,
1176
1171
  body: {
1177
1172
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -1184,32 +1179,32 @@ const kt = ["id"], gt = {
1184
1179
  }
1185
1180
  }, {
1186
1181
  content: S(() => [
1187
- (n(), G(dt, {
1188
- key: `table_${de.value}`,
1189
- colNames: q.value.colNames,
1190
- head: q.value.head,
1191
- body: q.value.body,
1192
- config: q.value.config,
1182
+ (n(), U(u(Ie), {
1183
+ key: `table_${ce.value}`,
1184
+ colNames: X.value.colNames,
1185
+ head: X.value.head,
1186
+ body: X.value.body,
1187
+ config: X.value.config,
1193
1188
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1194
- onClose: s[1] || (s[1] = (e) => E.value.showTable = !1)
1189
+ onClose: s[1] || (s[1] = (e) => H.value.showTable = !1)
1195
1190
  }, {
1196
1191
  th: S(({ th: e }) => [
1197
- u("div", {
1192
+ i("div", {
1198
1193
  innerHTML: e,
1199
1194
  style: { display: "flex", "align-items": "center" }
1200
- }, null, 8, ko)
1195
+ }, null, 8, go)
1201
1196
  ]),
1202
1197
  td: S(({ td: e }) => [
1203
- Xe(B(e.name || e), 1)
1198
+ lt(B(e.name || e), 1)
1204
1199
  ]),
1205
1200
  _: 1
1206
1201
  }, 8, ["colNames", "head", "body", "config", "title"]))
1207
1202
  ]),
1208
1203
  _: 1
1209
1204
  }, 8, ["config"])) : y("", !0)
1210
- ], 44, kt));
1205
+ ], 44, gt));
1211
1206
  }
1212
- }, Do = /* @__PURE__ */ yt(go, [["__scopeId", "data-v-178469b1"]]);
1207
+ }, Po = /* @__PURE__ */ kt($o, [["__scopeId", "data-v-1fcdcf56"]]);
1213
1208
  export {
1214
- Do as default
1209
+ Po as default
1215
1210
  };