vue-data-ui 3.7.14 → 3.7.16

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 (150) hide show
  1. package/README.md +1 -0
  2. package/dist/{BaseDraggableDialog-DZVSjhEw.js → BaseDraggableDialog-CtB38kJq.js} +1 -1
  3. package/dist/{BaseIcon-Dl4VBlHV.js → BaseIcon--wNsuYtd.js} +5 -3
  4. package/dist/{ColorPicker-BrMbLQds.js → ColorPicker-CsQ_h1jK.js} +1 -1
  5. package/dist/{DataTable-Ho3Bf5oq.js → DataTable-DRZJOlJB.js} +1 -1
  6. package/dist/{NonSvgPenAndPaper-MX5IsudW.js → NonSvgPenAndPaper-C_uUSM9z.js} +2 -2
  7. package/dist/{PackageVersion-DtFSiS0a.js → PackageVersion-BW9_gimf.js} +1 -1
  8. package/dist/{PenAndPaper-kymjF6_b.js → PenAndPaper-CMmG5Mka.js} +2 -2
  9. package/dist/{Slicer-DScoMPmj.js → Slicer-BJ0Jqa6a.js} +1 -1
  10. package/dist/{SlicerPreview-B1QUTxTZ.js → SlicerPreview-BWl4UOqy.js} +1 -1
  11. package/dist/{Title-BwhstTFA.js → Title-CM2dM0rQ.js} +1 -1
  12. package/dist/{UserOptions-DgscxIaa.js → UserOptions-5GYBcJJU.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-candlestick.js +1 -1
  19. package/dist/components/vue-ui-carousel-table.js +1 -1
  20. package/dist/components/vue-ui-chestnut.js +1 -1
  21. package/dist/components/vue-ui-chord.js +1 -1
  22. package/dist/components/vue-ui-circle-pack.js +1 -1
  23. package/dist/components/vue-ui-cursor.js +1 -1
  24. package/dist/components/vue-ui-dashboard.js +1 -1
  25. package/dist/components/vue-ui-digits.js +1 -1
  26. package/dist/components/vue-ui-donut-evolution.js +1 -1
  27. package/dist/components/vue-ui-donut.js +1 -1
  28. package/dist/components/vue-ui-dumbbell.js +1 -1
  29. package/dist/components/vue-ui-flow.js +1 -1
  30. package/dist/components/vue-ui-funnel.js +1 -1
  31. package/dist/components/vue-ui-galaxy.js +1 -1
  32. package/dist/components/vue-ui-gauge.js +1 -1
  33. package/dist/components/vue-ui-gizmo.js +1 -1
  34. package/dist/components/vue-ui-heatmap.js +1 -1
  35. package/dist/components/vue-ui-history-plot.js +1 -1
  36. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  37. package/dist/components/vue-ui-icon.js +1 -1
  38. package/dist/components/vue-ui-kpi.js +1 -1
  39. package/dist/components/vue-ui-mini-loader.js +1 -1
  40. package/dist/components/vue-ui-molecule.js +1 -1
  41. package/dist/components/vue-ui-mood-radar.js +1 -1
  42. package/dist/components/vue-ui-nested-donuts.js +1 -1
  43. package/dist/components/vue-ui-onion.js +1 -1
  44. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  45. package/dist/components/vue-ui-quadrant.js +1 -1
  46. package/dist/components/vue-ui-quick-chart.js +1 -1
  47. package/dist/components/vue-ui-radar.js +1 -1
  48. package/dist/components/vue-ui-rating.js +1 -1
  49. package/dist/components/vue-ui-relation-circle.js +1 -1
  50. package/dist/components/vue-ui-ridgeline.js +1 -1
  51. package/dist/components/vue-ui-rings.js +1 -1
  52. package/dist/components/vue-ui-scatter.js +1 -1
  53. package/dist/components/vue-ui-skeleton.js +1 -1
  54. package/dist/components/vue-ui-smiley.js +1 -1
  55. package/dist/components/vue-ui-spark-trend.js +1 -1
  56. package/dist/components/vue-ui-sparkbar.js +1 -1
  57. package/dist/components/vue-ui-sparkgauge.js +1 -1
  58. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  59. package/dist/components/vue-ui-sparkline.js +1 -1
  60. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  61. package/dist/components/vue-ui-stackbar.js +1 -1
  62. package/dist/components/vue-ui-stackline.js +1 -1
  63. package/dist/components/vue-ui-strip-plot.js +1 -1
  64. package/dist/components/vue-ui-table-heatmap.js +1 -1
  65. package/dist/components/vue-ui-table-sparkline.js +1 -1
  66. package/dist/components/vue-ui-table.js +1 -1
  67. package/dist/components/vue-ui-thermometer.js +1 -1
  68. package/dist/components/vue-ui-timer.js +1 -1
  69. package/dist/components/vue-ui-tiremarks.js +1 -1
  70. package/dist/components/vue-ui-treemap.js +1 -1
  71. package/dist/components/vue-ui-vertical-bar.js +1 -1
  72. package/dist/components/vue-ui-waffle.js +1 -1
  73. package/dist/components/vue-ui-wheel.js +1 -1
  74. package/dist/components/vue-ui-word-cloud.js +1 -1
  75. package/dist/components/vue-ui-world.js +1 -1
  76. package/dist/components/vue-ui-xy-canvas.js +1 -1
  77. package/dist/components/vue-ui-xy.js +1 -1
  78. package/dist/style.css +1 -1
  79. package/dist/types/vue-data-ui.d.ts +8 -2
  80. package/dist/{useNestedProp-BjZ1Lg9E.js → useNestedProp-CoXaJ2T6.js} +5 -2
  81. package/dist/{vue-data-ui-Y3bsII4e.js → vue-data-ui-DOR1SV2J.js} +65 -65
  82. package/dist/vue-data-ui.js +67 -67
  83. package/dist/{vue-ui-3d-bar-BEq_QYDw.js → vue-ui-3d-bar--XbxxtdU.js} +3 -3
  84. package/dist/{vue-ui-accordion-BXTVRRX7.js → vue-ui-accordion-WOXCCkiC.js} +2 -2
  85. package/dist/{vue-ui-age-pyramid-CTZ8MQWv.js → vue-ui-age-pyramid-oJ-yVno1.js} +3 -3
  86. package/dist/{vue-ui-annotator-CmCG1U2b.js → vue-ui-annotator-DmX0nJap.js} +4 -4
  87. package/dist/{vue-ui-bullet-CdszYw76.js → vue-ui-bullet-BSexyA7e.js} +3 -3
  88. package/dist/{vue-ui-candlestick-BgqEDWwB.js → vue-ui-candlestick-Cn0FCDdN.js} +4 -4
  89. package/dist/{vue-ui-carousel-table-B-Nig8SF.js → vue-ui-carousel-table-HJewuQDB.js} +2 -2
  90. package/dist/{vue-ui-chestnut-BQDpGhPH.js → vue-ui-chestnut-jpnadZPu.js} +2 -2
  91. package/dist/{vue-ui-chord-Cm8enZ-m.js → vue-ui-chord-DtAB5se2.js} +3 -3
  92. package/dist/{vue-ui-circle-pack-CsFGW1eB.js → vue-ui-circle-pack-BTbgkyJ2.js} +3 -3
  93. package/dist/vue-ui-cursor-DgWumfhl.js +252 -0
  94. package/dist/{vue-ui-dashboard-UOeqXi6-.js → vue-ui-dashboard-BnAUQtnC.js} +66 -66
  95. package/dist/vue-ui-digits-ByiQlK70.js +200 -0
  96. package/dist/{vue-ui-donut-Ckz6GstQ.js → vue-ui-donut-CKSt_cq4.js} +3 -3
  97. package/dist/{vue-ui-donut-evolution-CFRT7O_s.js → vue-ui-donut-evolution-DvdTGB7S.js} +4 -4
  98. package/dist/{vue-ui-dumbbell-Djwlq0Rf.js → vue-ui-dumbbell-Injrp_b4.js} +3 -3
  99. package/dist/{vue-ui-flow-B97OGV1a.js → vue-ui-flow-bbLDmA3Q.js} +412 -401
  100. package/dist/{vue-ui-funnel-BXG8DRLY.js → vue-ui-funnel-B9iC-gYh.js} +3 -3
  101. package/dist/{vue-ui-galaxy-D2O9-OYS.js → vue-ui-galaxy-SMeufYzr.js} +3 -3
  102. package/dist/{vue-ui-gauge-B0FlPkKR.js → vue-ui-gauge-FMuSlHqG.js} +3 -3
  103. package/dist/{vue-ui-gizmo-BW0UgYhD.js → vue-ui-gizmo-0B3wKFgG.js} +2 -2
  104. package/dist/{vue-ui-heatmap-Dpn7FGns.js → vue-ui-heatmap-BxztC6jw.js} +4 -4
  105. package/dist/{vue-ui-history-plot-CL2ZEcD2.js → vue-ui-history-plot-D_qkv6IS.js} +3 -3
  106. package/dist/{vue-ui-horizontal-bar-D2mcVfxK.js → vue-ui-horizontal-bar-BhTVXhQB.js} +8 -8
  107. package/dist/{vue-ui-kpi-Bkxvv0Re.js → vue-ui-kpi-DvCTUXWh.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-oYhRTSA7.js → vue-ui-mini-loader-BjT-X5O8.js} +1 -1
  109. package/dist/{vue-ui-molecule-vv1p3SyW.js → vue-ui-molecule-CazE9-Nk.js} +2 -2
  110. package/dist/{vue-ui-mood-radar-Whcu-ZOg.js → vue-ui-mood-radar-vrciNRi0.js} +3 -3
  111. package/dist/{vue-ui-nested-donuts-CzWDhltb.js → vue-ui-nested-donuts-BAcHknTn.js} +3 -3
  112. package/dist/{vue-ui-onion-D8UDqyva.js → vue-ui-onion-DgmiBf_W.js} +3 -3
  113. package/dist/{vue-ui-parallel-coordinate-plot-CIZH5K2W.js → vue-ui-parallel-coordinate-plot-CdvrCiVK.js} +3 -3
  114. package/dist/{vue-ui-quadrant-Dnt0cVR5.js → vue-ui-quadrant-C1GEbyIm.js} +3 -3
  115. package/dist/{vue-ui-quick-chart-3PF3h9Px.js → vue-ui-quick-chart-DL9GV0J3.js} +3 -3
  116. package/dist/{vue-ui-radar-CEbL9Shz.js → vue-ui-radar-B4DfCpS5.js} +3 -3
  117. package/dist/{vue-ui-rating-BALFx0aJ.js → vue-ui-rating-CyJYLx9l.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-DzpqvYOF.js → vue-ui-relation-circle-Dm8wLlBa.js} +3 -3
  119. package/dist/{vue-ui-ridgeline-D-PPE15J.js → vue-ui-ridgeline-E2EPeaJ7.js} +3 -3
  120. package/dist/{vue-ui-rings-lhCHl30r.js → vue-ui-rings-DnlHsA26.js} +3 -3
  121. package/dist/{vue-ui-scatter-CzHyLXEO.js → vue-ui-scatter-DuKgh9Zo.js} +3 -3
  122. package/dist/{vue-ui-skeleton-DleKPF3G.js → vue-ui-skeleton-BhWvFc3O.js} +2 -2
  123. package/dist/vue-ui-smiley-BkXC5UFE.js +377 -0
  124. package/dist/{vue-ui-spark-trend-DpwkGAmg.js → vue-ui-spark-trend-DZWSf9JB.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-CbJvU0rf.js → vue-ui-sparkbar-CqH28hXO.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-B0CvXpE3.js → vue-ui-sparkgauge-DT_yPxzw.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-BMqK69TJ.js → vue-ui-sparkhistogram-Dv9UjLCt.js} +2 -2
  128. package/dist/{vue-ui-sparkline-BzXfYlcf.js → vue-ui-sparkline-AvAyn0Uv.js} +2 -2
  129. package/dist/{vue-ui-sparkstackbar-DoA2pTmw.js → vue-ui-sparkstackbar-X_VGCj6T.js} +2 -2
  130. package/dist/{vue-ui-stackbar-AJjoa2tk.js → vue-ui-stackbar-DQP8yEJM.js} +4 -4
  131. package/dist/{vue-ui-stackline-CN5pHu5R.js → vue-ui-stackline-VLPuuMyW.js} +4 -4
  132. package/dist/{vue-ui-strip-plot-Dzl2_jdd.js → vue-ui-strip-plot-Tf-eojtF.js} +3 -3
  133. package/dist/{vue-ui-table-CkrPb0oh.js → vue-ui-table-Onk8Ep_o.js} +4 -4
  134. package/dist/{vue-ui-table-heatmap-BHqtF71-.js → vue-ui-table-heatmap-DKJxeQIL.js} +2 -2
  135. package/dist/{vue-ui-table-sparkline-83wvFrDq.js → vue-ui-table-sparkline-DgISlLtt.js} +2 -2
  136. package/dist/{vue-ui-thermometer-C-q3BXx7.js → vue-ui-thermometer-BnYdXPWo.js} +3 -3
  137. package/dist/{vue-ui-timer-DdPan7AR.js → vue-ui-timer-BWNvvVI8.js} +4 -4
  138. package/dist/{vue-ui-tiremarks-CM4SFul5.js → vue-ui-tiremarks-CW0yee-q.js} +3 -3
  139. package/dist/{vue-ui-treemap-BFIBgzvj.js → vue-ui-treemap-BfY0n0I2.js} +4 -4
  140. package/dist/{vue-ui-waffle-b5MrZni2.js → vue-ui-waffle-D9lUh12t.js} +3 -3
  141. package/dist/{vue-ui-wheel-BphjlN7h.js → vue-ui-wheel-C-oMzvbq.js} +3 -3
  142. package/dist/vue-ui-word-cloud-DYrmMP9R.js +1419 -0
  143. package/dist/{vue-ui-world-khFqzGoQ.js → vue-ui-world-DAObATdc.js} +2 -2
  144. package/dist/{vue-ui-xy-DyWuuhwF.js → vue-ui-xy-D6gFGE5R.js} +5 -5
  145. package/dist/{vue-ui-xy-canvas-i1eQQ9Bt.js → vue-ui-xy-canvas-B_dtbPQy.js} +6 -6
  146. package/package.json +1 -1
  147. package/dist/vue-ui-cursor-4Ldkkd2T.js +0 -229
  148. package/dist/vue-ui-digits-uszbkbEK.js +0 -154
  149. package/dist/vue-ui-smiley-DABDSgAF.js +0 -852
  150. package/dist/vue-ui-word-cloud-BE7kYijj.js +0 -1224
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as z, computed as T, ref as F, onMounted as n4, toRefs as r4, watch as C1, createElementBlock as x, openBlock as b, unref as f, normalizeStyle as k1, normalizeClass as c2, createBlock as Q, createCommentVNode as A, renderSlot as C, createElementVNode as I, createVNode as w1, withCtx as k, normalizeProps as D, guardReactiveProps as U, createSlots as O1, withModifiers as i4, Fragment as h1, renderList as d2, mergeProps as m2, createTextVNode as T1, toDisplayString as v1, Teleport as s4, resolveDynamicComponent as l4, nextTick as u4 } from "vue";
2
- import { u as p4, a as y4 } from "./useNestedProp-BjZ1Lg9E.js";
2
+ import { u as p4, a as y4 } from "./useNestedProp-CoXaJ2T6.js";
3
3
  import { c as g2, t as c4, j as d4, l as S1, p as f1, X as m4, n as g4, r as h2, a as v2, d as f2, W as I1, ai as h4, u as v4, q as f4, x as P4 } from "./lib-DUaaQGCv.js";
4
4
  import { u as M4, B as b4 } from "./BaseScanner-BgWxam9d.js";
5
5
  import { u as F4 } from "./usePrinter-BdVu83IN.js";
@@ -180,7 +180,7 @@ const $4 = {
180
180
  },
181
181
  emits: ["selectDatapoint", "selectLegend"],
182
182
  setup(y, { expose: i, emit: s }) {
183
- const l = z(() => import("./Title-BwhstTFA.js")), g = z(() => import("./Legend-DSyOOSJ1.js")), r = z(() => import("./Tooltip-De7i-i20.js")), M = z(() => import("./BaseIcon-Dl4VBlHV.js")), d = z(() => import("./vue-ui-accordion-BXTVRRX7.js")), n = z(() => import("./DataTable-Ho3Bf5oq.js")), m = z(() => import("./PenAndPaper-kymjF6_b.js")), p = z(() => import("./UserOptions-DgscxIaa.js")), v = z(() => import("./PackageVersion-DtFSiS0a.js")), c = z(() => import("./BaseDraggableDialog-DZVSjhEw.js")), { vue_ui_world: _ } = p4(), h = y, N = s, w = T({
183
+ const l = z(() => import("./Title-CM2dM0rQ.js")), g = z(() => import("./Legend-DSyOOSJ1.js")), r = z(() => import("./Tooltip-De7i-i20.js")), M = z(() => import("./BaseIcon--wNsuYtd.js")), d = z(() => import("./vue-ui-accordion-WOXCCkiC.js")), n = z(() => import("./DataTable-DRZJOlJB.js")), m = z(() => import("./PenAndPaper-CMmG5Mka.js")), p = z(() => import("./UserOptions-5GYBcJJU.js")), v = z(() => import("./PackageVersion-BW9_gimf.js")), c = z(() => import("./BaseDraggableDialog-CtB38kJq.js")), { vue_ui_world: _ } = p4(), h = y, N = s, w = T({
184
184
  get() {
185
185
  return !!d1.value;
186
186
  },
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as Xe, useSlots as er, getCurrentInstance as lr, ref as x, computed as b, onMounted as Zl, toRefs as ar, watch as Ll, watchEffect as Lt, onBeforeUnmount as ka, nextTick as Mt, createElementBlock as n, openBlock as u, normalizeStyle as C, normalizeClass as ll, createBlock as Te, createCommentVNode as h, createElementVNode as p, createVNode as vl, unref as v, withCtx as G, renderSlot as P, normalizeProps as ke, guardReactiveProps as _e, createSlots as Tt, Fragment as d, renderList as w, mergeProps as al, toDisplayString as ae, Teleport as tr, resolveDynamicComponent as or, withDirectives as rr, vModelCheckbox as sr, createTextVNode as zt } from "vue";
2
2
  import { c as _a, g as wa, t as ir, j as ur, F as Ml, G as tl, l as It, p as Sa, H as Jl, I as Y, J as Ca, K as nr, L as cr, M as N, y as Ft, z as Ot, A as Bt, B as Nt, N as vr, O as Vt, P as Dt, a as re, Q as dr, x as Pt, R as hr, b as Et, e as Ne, d as Ve, h as ol, s as ze, S as fr, w as Ge, T as Kl, m as Ce, U as gr, V as Ue, W as fe, i as mr, o as Rt, u as br, q as xr, Y as dl } from "./lib-DUaaQGCv.js";
3
3
  import { t as pr } from "./useResponsive-DfdjqQps.js";
4
- import { u as yr, a as Tl } from "./useNestedProp-BjZ1Lg9E.js";
4
+ import { u as yr, a as Tl } from "./useNestedProp-CoXaJ2T6.js";
5
5
  import { u as kr } from "./usePrinter-BdVu83IN.js";
6
6
  import { u as _r, B as wr } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as Ht, a as Sr, l as Cr } from "./useTimeLabels-C5qMhpbe.js";
@@ -9,10 +9,10 @@ import { u as $r } from "./useSvgExport-DrjCWun4.js";
9
9
  import { u as Ar } from "./useThemeCheck-DGJ31Vi5.js";
10
10
  import { u as Lr } from "./useTimeLabelCollider-CIsgDrl9.js";
11
11
  import Mr from "./img-BYzbY8TZ.js";
12
- import Tr from "./Title-BwhstTFA.js";
12
+ import Tr from "./Title-CM2dM0rQ.js";
13
13
  import { _ as Ql } from "./Shape-rPzC8L-O.js";
14
- import { S as zr } from "./SlicerPreview-B1QUTxTZ.js";
15
- import Ir from "./vue-ui-accordion-BXTVRRX7.js";
14
+ import { S as zr } from "./SlicerPreview-BWl4UOqy.js";
15
+ import Ir from "./vue-ui-accordion-WOXCCkiC.js";
16
16
  import { _ as Fr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, bar: { border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { labels: { color: "#CCCCCC" } }, plot: { labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Wt = { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#424242", indicatorColor: "#FF8A65" } }, highlighter: { color: "#424242" }, timeTag: { backgroundColor: "#424242", color: "#FFF8E1", circleMarker: { color: "#424242" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#424242", xAxisLabels: { color: "#424242" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#FFF8E1" }, labels: { color: "#424242" }, serieName: { color: "#424242" } }, line: { labels: { color: "#424242" } }, plot: { labels: { color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xt = { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#FF6B6B", indicatorColor: "#FF8A65" } }, highlighter: { color: "#FFF8E1" }, timeTag: { backgroundColor: "#5D4037", color: "#FFF8E1", circleMarker: { color: "#5D4037" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#BDBDBD", xAxisLabels: { color: "#BDBDBD" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#1E1E1E" }, labels: { color: "#BDBDBD" }, serieName: { color: "#BDBDBD" } }, line: { labels: { color: "#BDBDBD" } }, plot: { labels: { color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Gt = { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, timeTag: { backgroundColor: "#1A1A1A", color: "#66CC66", circleMarker: { color: "#66CC66" } }, grid: { stroke: "#5F6A5F", showVerticalLines: !1, labels: { color: "#99AA99", xAxisLabels: { color: "#99AA99" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, bar: { borderRadius: 0, border: { stroke: "#66CC66" }, labels: { color: "#AACCAA" }, serieName: { color: "#99CC99" } }, line: { labels: { color: "#AACCAA" } }, plot: { labels: { color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ut = { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, timeTag: { backgroundColor: "#fbfafa", color: "#8A9892", circleMarker: { color: "#8A9892" } }, grid: { stroke: "transparent", labels: { show: !1, color: "#99AA99", xAxisLabels: { show: !1, color: "#99AA99" }, zeroLine: { show: !1 }, yAxis: { showBaseline: !1 } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, bar: { borderRadius: 4, border: { stroke: "#D7E0D2" }, labels: { color: "#8F837A" }, serieName: { color: "#858480" } }, line: { labels: { color: "#8F837A" } }, plot: { labels: { color: "#8F837A" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, qt = { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, timeTag: { backgroundColor: "#f6f6fb", color: "#50606C", circleMarker: { color: "#50606C" } }, grid: { stroke: "#829C98", showVerticalLines: !0, showHorizontalLines: !0, labels: { color: "#50606C", xAxisLabels: { color: "#50606C" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, bar: { borderRadius: 2, border: { stroke: "#404C4D" }, labels: { color: "#50606C" }, serieName: { color: "#61747E" } }, line: { labels: { color: "#50606C" } }, plot: { labels: { color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Zt = {
18
18
  default: {},
@@ -97,7 +97,7 @@ const Yt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { colo
97
97
  },
98
98
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
99
99
  setup(jl, { expose: Jt, emit: Kt }) {
100
- const g = jl, Qt = Xe(() => import("./DataTable-Ho3Bf5oq.js")), jt = Xe(() => import("./Tooltip-De7i-i20.js")), eo = Xe(() => import("./UserOptions-DgscxIaa.js")), $a = Xe(() => import("./BaseIcon-Dl4VBlHV.js")), lo = Xe(() => import("./vue-ui-table-sparkline-83wvFrDq.js").then((a) => a.b)), ao = Xe(() => import("./PackageVersion-DtFSiS0a.js")), to = Xe(() => import("./PenAndPaper-kymjF6_b.js")), oo = Xe(() => import("./BaseDraggableDialog-DZVSjhEw.js")), ea = Kt, Aa = er(), ro = lr(), { vue_ui_xy: hl } = yr(), { isThemeValid: so, warnInvalidTheme: io } = Ar(), Ie = x(null), fl = x(null), Fe = x(null), rl = x(null), gl = x(null), ml = x(null), uo = x(null), la = x(null), aa = x(null), sl = x(null), ta = x(null), oa = x(null), Ee = x(null), ra = x(null), no = x(0), I = x(null), La = x(!0), ve = x(600), ee = x(1e3), zl = x("0 0 1000 600"), co = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), qe = x(!1), Ma = x(!1), Ze = x(null), J = x([]), H = x(_a()), Ta = x(0), za = x(0), Ia = x(0), pl = x(!0), sa = x(0), B = x(null), Fa = x(!1), ia = x(!0), Il = x(!0), se = x(null), De = x({}), Fl = x(null), Oa = x(!1), il = x(null), _ = x(null), vo = b(() => ({
100
+ const g = jl, Qt = Xe(() => import("./DataTable-DRZJOlJB.js")), jt = Xe(() => import("./Tooltip-De7i-i20.js")), eo = Xe(() => import("./UserOptions-5GYBcJJU.js")), $a = Xe(() => import("./BaseIcon--wNsuYtd.js")), lo = Xe(() => import("./vue-ui-table-sparkline-DgISlLtt.js").then((a) => a.b)), ao = Xe(() => import("./PackageVersion-BW9_gimf.js")), to = Xe(() => import("./PenAndPaper-CMmG5Mka.js")), oo = Xe(() => import("./BaseDraggableDialog-CtB38kJq.js")), ea = Kt, Aa = er(), ro = lr(), { vue_ui_xy: hl } = yr(), { isThemeValid: so, warnInvalidTheme: io } = Ar(), Ie = x(null), fl = x(null), Fe = x(null), rl = x(null), gl = x(null), ml = x(null), uo = x(null), la = x(null), aa = x(null), sl = x(null), ta = x(null), oa = x(null), Ee = x(null), ra = x(null), no = x(0), I = x(null), La = x(!0), ve = x(600), ee = x(1e3), zl = x("0 0 1000 600"), co = x({ x: 0, y: 0 }), bl = x({ line: "line", bar: "bar", plot: "plot" }), xl = x(!1), qe = x(!1), Ma = x(!1), Ze = x(null), J = x([]), H = x(_a()), Ta = x(0), za = x(0), Ia = x(0), pl = x(!0), sa = x(0), B = x(null), Fa = x(!1), ia = x(!0), Il = x(!0), se = x(null), De = x({}), Fl = x(null), Oa = x(!1), il = x(null), _ = x(null), vo = b(() => ({
101
101
  height: ve.value,
102
102
  width: ee.value
103
103
  }));
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as pe, ref as d, computed as p, useSlots as Na, onMounted as $l, toRefs as _a, watch as R, nextTick as be, onBeforeUnmount as Tl, shallowRef as je, createElementBlock as Te, openBlock as I, normalizeClass as Ha, normalizeStyle as xe, createCommentVNode as W, createElementVNode as J, createBlock as V, unref as C, createSlots as Il, withCtx as b, renderSlot as S, normalizeProps as Q, guardReactiveProps as ee, createVNode as El, Teleport as Xa, toDisplayString as qe, resolveDynamicComponent as Ua, mergeProps as Wa, createTextVNode as Rl } from "vue";
2
2
  import { c as Va, t as Ya, i as ja, p as le, W as Ce, j as qa, F as Ge, a as se, d as ue, l as Ol, J as Ga, a5 as Za, L as Ja, o as Ka, g as Qa, x as Pl, s as Le, n as et, u as lt, q as at, R as tt } from "./lib-DUaaQGCv.js";
3
3
  import { c as ot, a as Ze, d as rt, t as st, u as ut, l as k, r as Ie, b as Y, p as Bl } from "./useResponsive-DfdjqQps.js";
4
- import { u as nt, a as Ee } from "./useNestedProp-BjZ1Lg9E.js";
4
+ import { u as nt, a as Ee } from "./useNestedProp-CoXaJ2T6.js";
5
5
  import { u as it, B as ct } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as vt } from "./usePrinter-BdVu83IN.js";
7
7
  import { u as dt, a as ht, l as ft } from "./useTimeLabels-C5qMhpbe.js";
@@ -10,10 +10,10 @@ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import pt from "./img-BYzbY8TZ.js";
12
12
  import bt from "./Legend-DSyOOSJ1.js";
13
- import xt from "./Title-BwhstTFA.js";
14
- import Ct from "./BaseIcon-Dl4VBlHV.js";
15
- import Lt from "./vue-ui-accordion-BXTVRRX7.js";
16
- import { S as kt } from "./SlicerPreview-B1QUTxTZ.js";
13
+ import xt from "./Title-CM2dM0rQ.js";
14
+ import Ct from "./BaseIcon--wNsuYtd.js";
15
+ import Lt from "./vue-ui-accordion-WOXCCkiC.js";
16
+ import { S as kt } from "./SlicerPreview-BWl4UOqy.js";
17
17
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, _l = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#5D4037" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#424242" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#9A9A9A" }, timeLabels: { color: "#424242" } }, zeroLine: { color: "#424242" } }, dataLabels: { color: "#424242" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Hl = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#BDBDBD" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#BDBDBD" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#BDBDBD" } }, zeroLine: { color: "#5D4037" } }, dataLabels: { color: "#BDBDBD" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Xl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, selector: { color: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66", borderRadius: 0 }, grid: { y: { axisColor: "#5F6A5F", axisLabels: { color: "#99AA99" }, verticalLines: { show: !1 } }, x: { axisColor: "#5F6A5F", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#99AA99" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#99AA99" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ul = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, selector: { color: "#8F837A" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, grid: { y: { axisColor: "#8F837A", axisLabels: { color: "#8F837A" }, verticalLines: { show: !1 } }, x: { axisColor: "#8F837A", horizontalLines: { show: !1, alternate: !1 }, timeLabels: { color: "#8F837A" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#8F837A" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Wl = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, selector: { color: "#7DA9B5" }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, grid: { y: { axisColor: "#829C98", axisLabels: { color: "#50606C" }, verticalLines: { show: !1 } }, x: { axisColor: "#829C98", timeLabels: { color: "#50606C" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Vl = {
19
19
  default: {},
@@ -57,7 +57,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
57
57
  },
58
58
  emits: ["selectLegend", "selectX"],
59
59
  setup(Je, { expose: Yl, emit: jl }) {
60
- const ql = pe(() => import("./Tooltip-De7i-i20.js")), Gl = pe(() => import("./DataTable-Ho3Bf5oq.js")), Zl = pe(() => import("./UserOptions-DgscxIaa.js")), Jl = pe(() => import("./NonSvgPenAndPaper-MX5IsudW.js")), Kl = pe(() => import("./BaseDraggableDialog-DZVSjhEw.js")), { vue_ui_xy_canvas: Ql } = nt(), { isThemeValid: ea, warnInvalidTheme: la } = yt(), g = Je, K = d(Va()), _ = d(null), ae = d(null), c = d(null), m = d(1), j = d(1), ne = d(!1), h = d(null), ke = d(""), Ke = d(null), F = d([]), te = d(1), O = d(!0), H = d(!0), Ae = d(null), Qe = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Re = d(0), Oe = d(0), Pe = d(0), P = d(null), tl = d(!1), ce = d(null), Be = d(null), ve = d(!1), ol = d(!1), we = d(!1), A = d(null), X = p(() => Array.isArray(He.value) && He.value.length > 0), Ne = jl, aa = Na();
60
+ const ql = pe(() => import("./Tooltip-De7i-i20.js")), Gl = pe(() => import("./DataTable-DRZJOlJB.js")), Zl = pe(() => import("./UserOptions-5GYBcJJU.js")), Jl = pe(() => import("./NonSvgPenAndPaper-C_uUSM9z.js")), Kl = pe(() => import("./BaseDraggableDialog-CtB38kJq.js")), { vue_ui_xy_canvas: Ql } = nt(), { isThemeValid: ea, warnInvalidTheme: la } = yt(), g = Je, K = d(Va()), _ = d(null), ae = d(null), c = d(null), m = d(1), j = d(1), ne = d(!1), h = d(null), ke = d(""), Ke = d(null), F = d([]), te = d(1), O = d(!0), H = d(!0), Ae = d(null), Qe = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Re = d(0), Oe = d(0), Pe = d(0), P = d(null), tl = d(!1), ce = d(null), Be = d(null), ve = d(!1), ol = d(!1), we = d(!1), A = d(null), X = p(() => Array.isArray(He.value) && He.value.length > 0), Ne = jl, aa = Na();
61
61
  $l(() => {
62
62
  aa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
63
63
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.7.14",
4
+ "version": "3.7.16",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1,229 +0,0 @@
1
- import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
2
- import { u as F, a as L } from "./useNestedProp-BjZ1Lg9E.js";
3
- import { c as z, X as O, s as I } from "./lib-DUaaQGCv.js";
4
- import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const N = ["xmlns", "height", "width"], T = {
6
- id: "follower",
7
- fy: "30%",
8
- fx: "30%"
9
- }, D = ["stop-color", "stop-opacity"], $ = ["r", "fill", "stroke", "stroke-width", "stroke-dasharray"], W = ["r"], G = {
10
- key: 2,
11
- class: "wave"
12
- }, A = ["id"], U = ["id"], V = ["filter", "stroke"], M = {
13
- key: 3,
14
- class: "crosshair"
15
- }, P = ["x1", "stroke", "stroke-width", "stroke-dasharray"], X = ["x1", "stroke", "stroke-width", "stroke-dasharray"], j = ["y1", "stroke", "stroke-width", "stroke-dasharray"], Y = ["y1", "stroke", "stroke-width", "stroke-dasharray"], q = ["cy", "r", "fill"], H = ["cy", "r", "fill"], J = ["cx", "r", "fill"], K = ["cx", "r", "fill"], Q = {
16
- key: 5,
17
- class: "coordinates"
18
- }, Z = ["x", "y", "font-size", "fill"], ee = ["transform"], te = ["font-size", "fill"], re = {
19
- __name: "vue-ui-cursor",
20
- props: {
21
- config: {
22
- type: Object,
23
- default: {}
24
- }
25
- },
26
- setup(x) {
27
- const { vue_ui_cursor: g } = F(), w = x, d = c(z()), e = _(() => L({
28
- userConfig: w.config,
29
- defaultConfig: g
30
- })), s = c({
31
- x: -100,
32
- y: -100
33
- });
34
- function f({ clientX: t, clientY: a, ...se }) {
35
- s.value.x = t - e.value.centerCircleRadius, s.value.y = a - e.value.centerCircleRadius;
36
- }
37
- function h(t) {
38
- s.value.x = t.targetTouches[0].clientX - e.value.centerCircleRadius, s.value.y = t.targetTouches[0].clientY - e.value.centerCircleRadius;
39
- }
40
- const y = c(!0);
41
- function u(t) {
42
- y.value = t;
43
- }
44
- const n = c(!1), v = c(null);
45
- function k() {
46
- n.value = !1, v.value && clearTimeout(v.value), b(() => {
47
- n.value = !0, v.value = setTimeout(() => {
48
- n.value = !1;
49
- }, 1e3);
50
- });
51
- }
52
- return R(() => {
53
- const t = e.value.parentId ? document.getElementById(e.value.parentId) : document.getElementsByTagName("div")[0];
54
- t.addEventListener("mousemove", f), t.addEventListener("touchmove", h), t.addEventListener("mouseleave", () => u(!1)), t.addEventListener("mouseenter", () => u(!0)), t.addEventListener("click", k);
55
- }), S(() => {
56
- const t = e.value.parentId ? document.getElementById(e.value.parentId) : document.getElementsByTagName("div")[0];
57
- t.removeEventListener("mousemove", f), t.removeEventListener("touchmove", h), t.removeEventListener("mouseleave", () => u(!1)), t.removeEventListener("mouseenter", () => u(!0)), t.removeEventListener("click", k);
58
- }), _(() => e.value.centerCircleRadius / 2.5), (t, a) => y.value ? (i(), l("svg", {
59
- key: 0,
60
- "data-dom-to-png-ignore": "",
61
- xmlns: m(O),
62
- style: E(`z-index: 2147483647; overflow: visible; pointer-events: none;background: transparent; position:fixed; top:${s.value.y}px; left:${s.value.x}px;`),
63
- viewBox: "0 0 100 100",
64
- height: e.value.centerCircleRadius * 2,
65
- width: e.value.centerCircleRadius * 2
66
- }, [
67
- r("defs", null, [
68
- r("radialGradient", T, [
69
- r("stop", {
70
- offset: "10%",
71
- "stop-color": e.value.bubbleEffectColor,
72
- "stop-opacity": e.value.bubbleEffectOpacity
73
- }, null, 8, D),
74
- a[0] || (a[0] = r("stop", {
75
- offset: "95%",
76
- "stop-color": "transparent"
77
- }, null, -1))
78
- ])
79
- ]),
80
- e.value.showCenterCircle ? (i(), l("circle", {
81
- key: 0,
82
- cx: 50,
83
- cy: 50,
84
- r: e.value.centerCircleRadius,
85
- fill: m(I)(e.value.centerCircleColor, e.value.centerCircleOpacity * 100),
86
- stroke: e.value.centerCircleStroke,
87
- "stroke-width": e.value.centerCircleStrokeWidth,
88
- "stroke-dasharray": e.value.centerCircleDasharray
89
- }, null, 8, $)) : o("", !0),
90
- e.value.bubbleEffect ? (i(), l("circle", {
91
- key: 1,
92
- cx: 50,
93
- cy: 50,
94
- r: e.value.centerCircleRadius,
95
- fill: "url(#follower)",
96
- stroke: "none"
97
- }, null, 8, W)) : o("", !0),
98
- e.value.useWaveOnClick ? (i(), l("g", G, [
99
- r("defs", null, [
100
- r("filter", {
101
- id: `blur_${d.value}`,
102
- x: "-50%",
103
- y: "-50%",
104
- width: "200%",
105
- height: "200%"
106
- }, [
107
- r("feGaussianBlur", {
108
- in: "SourceGraphic",
109
- stdDeviation: 4,
110
- id: `blur_std_${d.value}`
111
- }, null, 8, U),
112
- a[1] || (a[1] = r("feColorMatrix", {
113
- type: "saturate",
114
- values: "0"
115
- }, null, -1))
116
- ], 8, A)
117
- ]),
118
- n.value ? (i(), l("circle", {
119
- key: 0,
120
- class: C({ "circle-wave": n.value }),
121
- cx: 50,
122
- cy: 50,
123
- r: 50,
124
- filter: `url(#blur_${d.value})`,
125
- stroke: e.value.centerCircleStroke,
126
- fill: "none",
127
- "stroke-width": "3"
128
- }, null, 10, V)) : o("", !0)
129
- ])) : o("", !0),
130
- e.value.showCrosshair ? (i(), l("g", M, [
131
- r("line", {
132
- x1: -e.value.centerCircleRadius + 50,
133
- x2: -5e3,
134
- y1: 50,
135
- y2: 50,
136
- stroke: e.value.crosshairStroke,
137
- "stroke-width": e.value.crosshairStrokeWidth,
138
- "stroke-dasharray": e.value.crosshairDasharray,
139
- "stroke-linecap": "round"
140
- }, null, 8, P),
141
- r("line", {
142
- x1: 50 + e.value.centerCircleRadius,
143
- x2: 5e3,
144
- y1: 50,
145
- y2: 50,
146
- stroke: e.value.crosshairStroke,
147
- "stroke-width": e.value.crosshairStrokeWidth,
148
- "stroke-dasharray": e.value.crosshairDasharray,
149
- "stroke-linecap": "round"
150
- }, null, 8, X),
151
- r("line", {
152
- x1: 50,
153
- x2: 50,
154
- y1: -e.value.centerCircleRadius + 50,
155
- y2: -5e3,
156
- stroke: e.value.crosshairStroke,
157
- "stroke-width": e.value.crosshairStrokeWidth,
158
- "stroke-dasharray": e.value.crosshairDasharray,
159
- "stroke-linecap": "round"
160
- }, null, 8, j),
161
- r("line", {
162
- x1: 50,
163
- x2: 50,
164
- y1: e.value.centerCircleRadius + 50,
165
- y2: 5e3,
166
- stroke: e.value.crosshairStroke,
167
- "stroke-width": e.value.crosshairStrokeWidth,
168
- "stroke-dasharray": e.value.crosshairDasharray,
169
- "stroke-linecap": "round"
170
- }, null, 8, Y)
171
- ])) : o("", !0),
172
- e.value.showIntersectCircles ? (i(), l("g", {
173
- key: 4,
174
- class: C({ "rotating-circles": e.value.isLoading })
175
- }, [
176
- r("circle", {
177
- cx: 50,
178
- cy: e.value.centerCircleRadius + 50,
179
- r: e.value.intersectCirclesRadius,
180
- fill: e.value.intersectCirclesFill
181
- }, null, 8, q),
182
- r("circle", {
183
- cx: 50,
184
- cy: -e.value.centerCircleRadius + 50,
185
- r: e.value.intersectCirclesRadius,
186
- fill: e.value.intersectCirclesFill
187
- }, null, 8, H),
188
- r("circle", {
189
- cx: -e.value.centerCircleRadius + 50,
190
- cy: 50,
191
- r: e.value.intersectCirclesRadius,
192
- fill: e.value.intersectCirclesFill
193
- }, null, 8, J),
194
- r("circle", {
195
- cx: e.value.centerCircleRadius + 50,
196
- cy: 50,
197
- r: e.value.intersectCirclesRadius,
198
- fill: e.value.intersectCirclesFill
199
- }, null, 8, K)
200
- ], 2)) : o("", !0),
201
- e.value.showCoordinates ? (i(), l("g", Q, [
202
- r("text", {
203
- "text-anchor": "end",
204
- x: -e.value.centerCircleRadius + 50 - e.value.coordinatesFontSize / 2 + e.value.coordinatesOffset,
205
- y: 50 - e.value.coordinatesFontSize / 2 + e.value.coordinatesOffset,
206
- "font-size": e.value.coordinatesFontSize,
207
- fill: e.value.coordinatesColor,
208
- style: { "font-variant-numeric": "tabular-nums" },
209
- "font-family": "Arial"
210
- }, p(s.value.x.toFixed(0)), 9, Z),
211
- r("g", {
212
- transform: `translate(${50 - e.value.coordinatesFontSize / 2 + e.value.coordinatesOffset}, ${-e.value.centerCircleRadius + 50 - e.value.coordinatesFontSize / 2 + e.value.coordinatesOffset})`
213
- }, [
214
- r("text", {
215
- "text-anchor": "start",
216
- "font-size": e.value.coordinatesFontSize,
217
- fill: e.value.coordinatesColor,
218
- style: { "font-variant-numeric": "tabular-nums" },
219
- transform: "rotate(-90)",
220
- "font-family": "Arial"
221
- }, p(s.value.y.toFixed(0)), 9, te)
222
- ], 8, ee)
223
- ])) : o("", !0)
224
- ], 12, N)) : o("", !0);
225
- }
226
- }, ne = /* @__PURE__ */ B(re, [["__scopeId", "data-v-e07e5d09"]]);
227
- export {
228
- ne as default
229
- };
@@ -1,154 +0,0 @@
1
- import { ref as v, computed as d, createElementBlock as i, openBlock as $, Fragment as m, createCommentVNode as o, createElementVNode as l, normalizeStyle as k, unref as C, renderList as b, createBlock as N } from "vue";
2
- import { u as q, a as M } from "./useNestedProp-BjZ1Lg9E.js";
3
- import { X as S } from "./lib-DUaaQGCv.js";
4
- const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E = ["d", "fill"], I = ["d", "fill"], O = ["d", "fill"], A = ["d", "fill"], D = { key: 1 }, G = ["cx", "cy", "fill"], V = {
5
- __name: "Digit",
6
- props: {
7
- quanta: {
8
- type: String,
9
- default: null
10
- },
11
- backgroundColor: {
12
- type: String,
13
- default: "#e1e5e8"
14
- },
15
- color: {
16
- type: String,
17
- default: "#000000"
18
- },
19
- // coordinates from top left of a
20
- x: {
21
- type: Number,
22
- default: 0
23
- },
24
- y: {
25
- type: Number,
26
- default: 0
27
- }
28
- },
29
- setup(e) {
30
- const c = e, u = v({
31
- /**
32
- * clockwise from top (last: g)
33
- * a
34
- * ----
35
- * f | | b
36
- * ----
37
- * e | g | c
38
- * ----
39
- * d
40
- */
41
- 0: "1111110",
42
- 1: "0110000",
43
- 2: "1101101",
44
- 3: "1111001",
45
- 4: "0110011",
46
- 5: "1011011",
47
- 6: "1011111",
48
- 7: "1110000",
49
- 8: "1111111",
50
- 9: "1111011",
51
- "-": "0000001",
52
- X: "0000000"
53
- }), t = d(() => [void 0, null].includes(c.quanta) ? u.value.X : u.value[c.quanta]);
54
- return (y, g) => ($(), i(m, null, [
55
- [void 0, null, "."].includes(e.quanta) ? o("", !0) : ($(), i("g", w, [
56
- l("path", {
57
- d: `M ${e.x} ${e.y} L ${e.x + 2} ${e.y - 2} L ${e.x + 24} ${e.y - 2} L ${e.x + 26} ${e.y} L ${e.x + 24} ${e.y + 2} L ${e.x + 2} ${e.y + 2}Z`,
58
- fill: t.value[0] == 1 ? e.color : e.backgroundColor,
59
- stroke: "none"
60
- }, null, 8, B),
61
- l("path", {
62
- d: `M ${e.x + 26} ${e.y + 26} L ${e.x + 26} ${e.y + 4} L ${e.x + 28} ${e.y + 2} L ${e.x + 30} ${e.y + 4} L ${e.x + 30} ${e.y + 26} L ${e.x + 28} ${e.y + 28} L ${e.x + 26} ${e.y + 26}`,
63
- fill: t.value[1] == 1 ? e.color : e.backgroundColor,
64
- stroke: "none"
65
- }, null, 8, F),
66
- l("path", {
67
- d: `M ${e.x + 26} ${e.y + 56} L ${e.x + 26} ${e.y + 34} L ${e.x + 28} ${e.y + 32} L ${e.x + 30} ${e.y + 34} L ${e.x + 30} ${e.y + 56} L ${e.x + 28} ${e.y + 58} L ${e.x + 26} ${e.y + 56}`,
68
- fill: t.value[2] == 1 ? e.color : e.backgroundColor,
69
- stroke: "none"
70
- }, null, 8, X),
71
- l("path", {
72
- d: `M ${e.x + 2} ${e.y + 58} L ${e.x} ${e.y + 60} L ${e.x + 2} ${e.y + 62} L ${e.x + 24} ${e.y + 62} L ${e.x + 26} ${e.y + 60} L ${e.x + 24} ${e.y + 58} L ${e.x + 2} ${e.y + 58}`,
73
- fill: t.value[3] == 1 ? e.color : e.backgroundColor,
74
- stroke: "none"
75
- }, null, 8, E),
76
- l("path", {
77
- d: `M ${e.x} ${e.y + 34} L ${e.x - 2} ${e.y + 32} L ${e.x - 4} ${e.y + 34} L ${e.x - 4} ${e.y + 56} L ${e.x - 2} ${e.y + 58} L ${e.x} ${e.y + 56} L ${e.x} ${e.y + 34}`,
78
- fill: t.value[4] == 1 ? e.color : e.backgroundColor,
79
- stroke: "none"
80
- }, null, 8, I),
81
- l("path", {
82
- d: `M ${e.x - 2} ${e.y + 2} L ${e.x} ${e.y + 4} L ${e.x} ${e.y + 26} L ${e.x - 2} ${e.y + 28} L ${e.x - 4} ${e.y + 26} L ${e.x - 4} ${e.y + 4} L ${e.x - 2} ${e.y + 2}`,
83
- fill: t.value[5] == 1 ? e.color : e.backgroundColor,
84
- stroke: "none"
85
- }, null, 8, O),
86
- l("path", {
87
- d: `M ${e.x + 2} ${e.y + 28} L ${e.x} ${e.y + 30} L ${e.x + 2} ${e.y + 32} L ${e.x + 24} ${e.y + 32} L ${e.x + 26} ${e.y + 30} L ${e.x + 24} ${e.y + 28} L ${e.x + 2} ${e.y + 28}`,
88
- fill: t.value[6] == 1 ? e.color : e.backgroundColor,
89
- stroke: "none"
90
- }, null, 8, A)
91
- ])),
92
- e.quanta == "." ? ($(), i("g", D, [
93
- l("circle", {
94
- cx: e.x - 8,
95
- cy: e.y + 60,
96
- r: 3,
97
- fill: e.color
98
- }, null, 8, G)
99
- ])) : o("", !0)
100
- ], 64));
101
- }
102
- }, j = ["xmlns", "viewBox"], U = {
103
- __name: "vue-ui-digits",
104
- props: {
105
- dataset: {
106
- type: Number,
107
- default: 0
108
- },
109
- config: {
110
- type: Object,
111
- default() {
112
- return {};
113
- }
114
- }
115
- },
116
- setup(e) {
117
- const { vue_ui_digits: c } = q(), u = e, t = d(() => M({
118
- userConfig: u.config,
119
- defaultConfig: c
120
- })), y = d(() => {
121
- const a = (u.dataset || 0).toString().split(""), x = [], n = {
122
- x: 10,
123
- y: 10
124
- };
125
- let L = 0;
126
- for (let f = 0; f < a.length; f += 1) {
127
- const h = a[f];
128
- x.push({
129
- x: n.x + L,
130
- y: n.y,
131
- quanta: h
132
- }), h == "." ? L += 2 : L += 44;
133
- }
134
- return x;
135
- }), g = d(() => Math.max(...y.value.map((a) => a.x)) + 36);
136
- return (a, x) => ($(), i("svg", {
137
- class: "vue-data-ui-component vue-ui-digits",
138
- xmlns: C(S),
139
- viewBox: `0 0 ${g.value} 80`,
140
- style: k(`background:${t.value.backgroundColor};${t.value.height ? `height:${t.value.height};` : ""}${t.value.width ? `width:${t.value.width}` : ""}`)
141
- }, [
142
- ($(!0), i(m, null, b(y.value, (n) => ($(), N(V, {
143
- x: n.x,
144
- y: n.y,
145
- quanta: n.quanta,
146
- color: t.value.digits.color,
147
- backgroundColor: t.value.digits.skeletonColor
148
- }, null, 8, ["x", "y", "quanta", "color", "backgroundColor"]))), 256))
149
- ], 12, j));
150
- }
151
- };
152
- export {
153
- U as default
154
- };