vue-data-ui 3.0.0-next.4 → 3.0.0-next.40

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 (106) hide show
  1. package/dist/{Arrow-COeGcYaf.js → Arrow-CJMQcuGh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B6a_nUd1.js → BaseDraggableDialog-BorVmOH6.js} +2 -2
  3. package/dist/{BaseIcon-C_m_NEgt.js → BaseIcon-DEsg88EI.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-_xpvmgl6.js → ColorPicker-Co40B_SG.js} +2 -2
  6. package/dist/{DataTable-kd4xY9pT.js → DataTable-DY-e2LXS.js} +2 -2
  7. package/dist/{Legend-Bow74t3d.js → Legend-C7zp8-t4.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-cUcAGGV2.js → NonSvgPenAndPaper-C2R7jHOH.js} +3 -3
  9. package/dist/{PackageVersion-3ZfzB951.js → PackageVersion-B6kajKgU.js} +1 -1
  10. package/dist/{PenAndPaper-BZddJqUG.js → PenAndPaper-en69u8G0.js} +3 -3
  11. package/dist/{Shape-BsptIVCm.js → Shape-D2suYivy.js} +43 -37
  12. package/dist/Slicer-DlcITWn0.js +588 -0
  13. package/dist/{SparkTooltip-BdD0e0jv.js → SparkTooltip-BwDKg_cF.js} +7 -7
  14. package/dist/{Title-FiH2Kirc.js → Title-CBSyhlmd.js} +1 -1
  15. package/dist/{Tooltip-BLtR7DBZ.js → Tooltip-Dis_Iqvl.js} +23 -19
  16. package/dist/{UserOptions-DOwmMJId.js → UserOptions-BAGpDPid.js} +2 -2
  17. package/dist/{dom-to-png-DnsK-Zal.js → dom-to-png-Ov4kozad.js} +1 -1
  18. package/dist/{img-CP2uNkKq.js → img-lSctQ4V6.js} +1 -1
  19. package/dist/{index-BnnNoGGd.js → index-Dt40W2hN.js} +1533 -1265
  20. package/dist/{pdf-urw1sGoX.js → pdf-DtFuExHv.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +231 -10
  23. package/dist/types/vue-data-ui.d.ts +231 -10
  24. package/dist/{useNestedProp-B6Dz15k2.js → useNestedProp-CiNTcBth.js} +1 -1
  25. package/dist/{usePrinter-Dd-RkmL8.js → usePrinter-C4Hc_Nbf.js} +2 -2
  26. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  27. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  28. package/dist/{vue-data-ui-Dql75T3d.js → vue-data-ui-Bgp_em-v.js} +64 -64
  29. package/dist/vue-data-ui.js +26 -25
  30. package/dist/{vue-ui-3d-bar-CUDEgTKp.js → vue-ui-3d-bar-osKQ4IOP.js} +6 -6
  31. package/dist/{vue-ui-accordion-qNR0BQCP.js → vue-ui-accordion-BrdvtjzQ.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-BFWU1VGZ.js → vue-ui-age-pyramid-CioF-ZZz.js} +11 -9
  33. package/dist/{vue-ui-annotator-CeMOjHpf.js → vue-ui-annotator-CSqAhQiG.js} +2 -2
  34. package/dist/vue-ui-bullet-CVDhxrNn.js +571 -0
  35. package/dist/vue-ui-candlestick--MPqDI4C.js +999 -0
  36. package/dist/{vue-ui-carousel-table-CAr64-2F.js → vue-ui-carousel-table-BVk7PLwZ.js} +4 -4
  37. package/dist/{vue-ui-chestnut-B0zNp1jY.js → vue-ui-chestnut-DEx9TbrF.js} +5 -5
  38. package/dist/{vue-ui-chord-C-_tz6Tb.js → vue-ui-chord-CA-KhxYT.js} +8 -8
  39. package/dist/{vue-ui-circle-pack-BSTkkKx-.js → vue-ui-circle-pack-DBathPgi.js} +26 -26
  40. package/dist/{vue-ui-cursor-Dqd6RkcK.js → vue-ui-cursor-DMgru1Ut.js} +2 -2
  41. package/dist/{vue-ui-dashboard-CspqjC6x.js → vue-ui-dashboard-DjR4GMXi.js} +62 -62
  42. package/dist/{vue-ui-digits-CazGAGyM.js → vue-ui-digits-Zyo5YPt9.js} +2 -2
  43. package/dist/{vue-ui-donut-BK35Gt-7.js → vue-ui-donut-CTkQZ2S_.js} +408 -381
  44. package/dist/vue-ui-donut-evolution-CqWJyBuS.js +1075 -0
  45. package/dist/{vue-ui-dumbbell-CJal89Ud.js → vue-ui-dumbbell-CqW_fq8N.js} +7 -7
  46. package/dist/vue-ui-flow-CrAhSPCS.js +841 -0
  47. package/dist/{vue-ui-funnel-Dm0LCakq.js → vue-ui-funnel-DhfW5rrz.js} +6 -6
  48. package/dist/{vue-ui-galaxy-C9poCSSD.js → vue-ui-galaxy-PAdaOeqx.js} +51 -49
  49. package/dist/{vue-ui-gauge-CYXXfMRC.js → vue-ui-gauge-O3pWOp6L.js} +6 -6
  50. package/dist/{vue-ui-gizmo-B-8rhor5.js → vue-ui-gizmo-euqtfneE.js} +3 -3
  51. package/dist/vue-ui-heatmap-DpJtmmha.js +1078 -0
  52. package/dist/{vue-ui-history-plot-C_Si7S5S.js → vue-ui-history-plot-D-ERYWqA.js} +12 -10
  53. package/dist/{vue-ui-kpi-BYYBkt55.js → vue-ui-kpi-BVPy5lir.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-DmHE-wrb.js → vue-ui-mini-loader-C1jyLTN0.js} +2 -2
  55. package/dist/{vue-ui-molecule-I2ZUVtal.js → vue-ui-molecule-D5a1xiZe.js} +35 -33
  56. package/dist/{vue-ui-mood-radar-BYUr9rcv.js → vue-ui-mood-radar-BFoBLBHr.js} +7 -7
  57. package/dist/vue-ui-nested-donuts-C5EdQl9m.js +1286 -0
  58. package/dist/{vue-ui-onion-BpGz1RFC.js → vue-ui-onion-R8aDUWKW.js} +46 -44
  59. package/dist/vue-ui-parallel-coordinate-plot-BlyVabIZ.js +915 -0
  60. package/dist/{vue-ui-quadrant-CByC4r8k.js → vue-ui-quadrant-IUglavFx.js} +59 -57
  61. package/dist/vue-ui-quick-chart-BpNPyMU7.js +1761 -0
  62. package/dist/{vue-ui-radar-CBVb6GyN.js → vue-ui-radar-gw_Juu9G.js} +12 -10
  63. package/dist/{vue-ui-rating-Thf6P6AF.js → vue-ui-rating-1unEFc2G.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-Blg3GkeU.js → vue-ui-relation-circle-BcfPtGPT.js} +6 -6
  65. package/dist/{vue-ui-ridgeline-D6kxALQN.js → vue-ui-ridgeline-MPTZgHBN.js} +12 -10
  66. package/dist/{vue-ui-rings-bBHc4cwe.js → vue-ui-rings-BathT6rc.js} +13 -11
  67. package/dist/{vue-ui-scatter-DS6-kGZL.js → vue-ui-scatter-c18cEUOV.js} +72 -70
  68. package/dist/{vue-ui-skeleton-gHkpLBcj.js → vue-ui-skeleton-B7-_d7dq.js} +3 -3
  69. package/dist/{vue-ui-smiley-S7qJ-dRf.js → vue-ui-smiley-BDXogV8H.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-Co-sKoQX.js → vue-ui-spark-trend-DDTjw45H.js} +3 -3
  71. package/dist/{vue-ui-sparkbar-G1Jhr305.js → vue-ui-sparkbar-C_5eGtLa.js} +3 -3
  72. package/dist/{vue-ui-sparkgauge-Bzm5X8us.js → vue-ui-sparkgauge-DHY87x_9.js} +3 -3
  73. package/dist/{vue-ui-sparkhistogram-IGnxrQK9.js → vue-ui-sparkhistogram-DS5XBE2H.js} +4 -4
  74. package/dist/vue-ui-sparkline-CSDFmjTw.js +489 -0
  75. package/dist/{vue-ui-sparkstackbar-C_cbbRT_.js → vue-ui-sparkstackbar-BlbqR90E.js} +55 -53
  76. package/dist/vue-ui-stackbar-BQhWHZhn.js +1370 -0
  77. package/dist/{vue-ui-strip-plot-Cw1CDIL0.js → vue-ui-strip-plot-DqW7c8P5.js} +30 -28
  78. package/dist/{vue-ui-table-C4A73F9D.js → vue-ui-table-CgQG6lgC.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-DDlDAXMI.js → vue-ui-table-heatmap-BSvr6nNW.js} +5 -5
  80. package/dist/{vue-ui-table-sparkline-CQDLqNvX.js → vue-ui-table-sparkline-w7bQM7Hk.js} +4 -4
  81. package/dist/{vue-ui-thermometer-DgBtT1Ts.js → vue-ui-thermometer-DXtr4W_t.js} +6 -6
  82. package/dist/{vue-ui-timer-DwL2EUHc.js → vue-ui-timer-DFF2z6Uo.js} +5 -5
  83. package/dist/{vue-ui-tiremarks-J9v9JAmf.js → vue-ui-tiremarks-a_a4b9HI.js} +6 -6
  84. package/dist/{vue-ui-treemap-BSPd3wFo.js → vue-ui-treemap-DLbstU3H.js} +13 -11
  85. package/dist/vue-ui-vertical-bar-B7NnA0GU.js +1108 -0
  86. package/dist/vue-ui-waffle-B9VX_YKC.js +910 -0
  87. package/dist/{vue-ui-wheel-B_r_vUFd.js → vue-ui-wheel-BuMOe8AU.js} +6 -6
  88. package/dist/{vue-ui-word-cloud-DqvRfwF3.js → vue-ui-word-cloud-CEZ2XSvH.js} +12 -10
  89. package/dist/{vue-ui-world-DguPtgux.js → vue-ui-world-BTXi0bm-.js} +11 -9
  90. package/dist/vue-ui-xy-DIstI78B.js +3755 -0
  91. package/dist/{vue-ui-xy-canvas-Cv4Fs6Jw.js → vue-ui-xy-canvas-u2RoNNiK.js} +265 -264
  92. package/package.json +1 -1
  93. package/dist/Slicer-i0BAmgHn.js +0 -577
  94. package/dist/vue-ui-bullet-CmNollxj.js +0 -513
  95. package/dist/vue-ui-candlestick-CkoAVYNh.js +0 -873
  96. package/dist/vue-ui-donut-evolution-SomhFGJh.js +0 -903
  97. package/dist/vue-ui-flow-BFsmk2iL.js +0 -765
  98. package/dist/vue-ui-heatmap-BQzObiF9.js +0 -877
  99. package/dist/vue-ui-nested-donuts-DEm7s2uC.js +0 -1177
  100. package/dist/vue-ui-parallel-coordinate-plot-SkVvzSSQ.js +0 -807
  101. package/dist/vue-ui-quick-chart-GEYFXShR.js +0 -1612
  102. package/dist/vue-ui-sparkline-ezu4qjgC.js +0 -459
  103. package/dist/vue-ui-stackbar-BD9gyxAb.js +0 -1207
  104. package/dist/vue-ui-vertical-bar-B5b5tXjT.js +0 -1029
  105. package/dist/vue-ui-waffle-Bh_gS8y2.js +0 -863
  106. package/dist/vue-ui-xy-MFNbJqgb.js +0 -2980
@@ -1,5 +1,5 @@
1
1
  import { computed as u, createElementBlock as k, openBlock as m, createElementVNode as t, unref as o } from "vue";
2
- import { c as n } from "./index-BnnNoGGd.js";
2
+ import { c as n } from "./index-Dt40W2hN.js";
3
3
  const s = { class: "vue-ui-element-arrow" }, f = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], c = ["d", "fill"], h = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], y = ["d", "fill"], v = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], z = {
4
4
  __name: "Arrow",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as O, ref as S, reactive as T, computed as P, onUnmounted as $, createBlock as R, openBlock as v, Teleport as N, createElementBlock as E, createCommentVNode as V, withModifiers as s, normalizeStyle as y, createElementVNode as o, unref as I, renderSlot as M, createVNode as F, normalizeClass as j, nextTick as U } from "vue";
2
- import q from "./BaseIcon-C_m_NEgt.js";
3
- import { X as A } from "./index-BnnNoGGd.js";
2
+ import q from "./BaseIcon-DEsg88EI.js";
3
+ import { X as A } from "./index-Dt40W2hN.js";
4
4
  import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const J = ["xmlns"], K = { class: "modal-title" }, Q = {
6
6
  __name: "BaseDraggableDialog",
@@ -1,5 +1,5 @@
1
1
  import { computed as e, createElementBlock as n, openBlock as i, normalizeClass as k, unref as L } from "vue";
2
- import { X as l } from "./index-BnnNoGGd.js";
2
+ import { X as l } from "./index-Dt40W2hN.js";
3
3
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
5
5
  __name: "BaseIcon",
@@ -1,11 +1,6 @@
1
- import { createElementBlock as p, openBlock as v, ref as d, computed as g, unref as c, watchEffect as h } from "vue";
1
+ import { ref as d, computed as p, unref as c, watchEffect as v, createElementBlock as g, openBlock as h } from "vue";
2
2
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const y = {}, B = { class: "vue-data-ui-scanner" };
4
- function E(a, n) {
5
- return v(), p("div", B);
6
- }
7
- const I = /* @__PURE__ */ A(y, [["render", E], ["__scopeId", "data-v-d6376e44"]]);
8
- function S({
3
+ function I({
9
4
  config: a,
10
5
  dataset: n,
11
6
  skeletonDataset: r,
@@ -14,15 +9,20 @@ function S({
14
9
  prepareConfig: _,
15
10
  callback: s = null
16
11
  }) {
17
- const u = d(!1), o = g(() => {
12
+ const u = d(!1), o = p(() => {
18
13
  const f = c(a)?.loading ?? !1, e = c(n), m = e == null || Array.isArray(e) && e.length === 0 || Object.keys(e).length === 0;
19
14
  return u.value || f || m;
20
15
  }), l = d(c(n));
21
- return h(() => {
16
+ return v(() => {
22
17
  l.value = o.value ? r : c(n), i.value = o.value ? t : _(), s && s();
23
18
  }), { loading: o, FINAL_DATASET: l, manualLoading: u, skeletonDataset: r, skeletonConfig: t };
24
19
  }
20
+ const y = {}, B = { class: "vue-data-ui-scanner" };
21
+ function E(a, n) {
22
+ return h(), g("div", B);
23
+ }
24
+ const S = /* @__PURE__ */ A(y, [["render", E], ["__scopeId", "data-v-d6376e44"]]);
25
25
  export {
26
- I as B,
27
- S as u
26
+ S as B,
27
+ I as u
28
28
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as l, computed as k, watch as I, withDirectives as P, createElementBlock as r, openBlock as n, withKeys as S, createElementVNode as u, createCommentVNode as z, normalizeStyle as a, createVNode as F, Fragment as E, renderList as N, unref as O } from "vue";
2
- import C from "./BaseIcon-C_m_NEgt.js";
3
- import { F as V } from "./index-BnnNoGGd.js";
2
+ import C from "./BaseIcon-DEsg88EI.js";
3
+ import { F as V } from "./index-Dt40W2hN.js";
4
4
  import { v as D } from "./vClickOutside-C6WiFswA.js";
5
5
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const $ = ["onClick"], L = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -46%)" } }, T = ["value"], j = {
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as A, unref as e, computed as D, ref as w, onMounted as E, createElementBlock as n, openBlock as a, normalizeClass as k, createElementVNode as t, withKeys as R, normalizeStyle as i, createVNode as C, toDisplayString as I, Fragment as f, renderList as m, renderSlot as N, createCommentVNode as $ } from "vue";
2
- import { _ as K } from "./Shape-BsptIVCm.js";
3
- import O from "./BaseIcon-C_m_NEgt.js";
2
+ import { _ as K } from "./Shape-D2suYivy.js";
3
+ import O from "./BaseIcon-DEsg88EI.js";
4
4
  import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, L = { style: { width: "12px", height: "12px" } }, M = {
6
6
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock as o, openBlock as a, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as y, unref as $ } from "vue";
2
- import { a3 as p } from "./index-BnnNoGGd.js";
3
- import { _ as v } from "./Shape-BsptIVCm.js";
2
+ import { a3 as p } from "./index-Dt40W2hN.js";
3
+ import { _ as v } from "./Shape-D2suYivy.js";
4
4
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const S = ["id"], x = ["onClick", "height", "width"], z = {
6
6
  __name: "Legend",
@@ -1,7 +1,7 @@
1
1
  import { ref as i, computed as we, onMounted as ke, nextTick as be, onBeforeUnmount as Ce, watch as oe, createElementBlock as x, openBlock as y, Fragment as q, createCommentVNode as Y, normalizeStyle as b, normalizeClass as D, createElementVNode as C, withDirectives as ae, createVNode as M, toDisplayString as re, unref as se, vModelText as ue, withModifiers as ie, renderList as ce } from "vue";
2
- import { l as $e, f as Se, X as Ae } from "./index-BnnNoGGd.js";
3
- import R from "./BaseIcon-C_m_NEgt.js";
4
- import { C as Ee } from "./ColorPicker-_xpvmgl6.js";
2
+ import { l as $e, f as Se, X as Ae } from "./index-Dt40W2hN.js";
3
+ import R from "./BaseIcon-DEsg88EI.js";
4
+ import { C as Ee } from "./ColorPicker-Co40B_SG.js";
5
5
  import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const Te = {
7
7
  class: /* @__PURE__ */ D({
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as n } from "vue";
2
- const r = "3.0.0-next.4", a = { "aria-hidden": "true" }, p = {
2
+ const r = "3.0.0-next.40", a = { "aria-hidden": "true" }, p = {
3
3
  __name: "PackageVersion",
4
4
  setup(s) {
5
5
  return (c, i) => (t(), e("desc", a, "Composed with Vue Data UI " + o(n(r)), 1));
@@ -1,7 +1,7 @@
1
1
  import { ref as c, computed as ge, watch as X, nextTick as le, onMounted as pe, onBeforeUnmount as me, createElementBlock as Y, createCommentVNode as q, openBlock as z, normalizeStyle as x, createElementVNode as k, withDirectives as ae, createVNode as R, normalizeClass as G, toDisplayString as Ae, unref as he, vModelText as oe } from "vue";
2
- import T from "./BaseIcon-C_m_NEgt.js";
3
- import { C as we } from "./ColorPicker-_xpvmgl6.js";
4
- import { l as be, f as xe } from "./index-BnnNoGGd.js";
2
+ import T from "./BaseIcon-DEsg88EI.js";
3
+ import { C as we } from "./ColorPicker-Co40B_SG.js";
4
+ import { l as be, f as xe } from "./index-Dt40W2hN.js";
5
5
  const ye = {
6
6
  class: "vue-ui-pen-and-paper-action",
7
7
  style: { padding: "0 !important" }
@@ -1,6 +1,6 @@
1
- import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a } from "vue";
2
- import { _ as c, R as f } from "./index-BnnNoGGd.js";
3
- const y = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], g = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], h = {
1
+ import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a, normalizeStyle as d } from "vue";
2
+ import { _ as f, R as p } from "./index-Dt40W2hN.js";
3
+ const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], w = {
4
4
  __name: "Shape",
5
5
  props: {
6
6
  color: String,
@@ -20,12 +20,15 @@ const y = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], g = ["d", "fill",
20
20
  zoom: {
21
21
  type: Number,
22
22
  default: 1.3
23
+ },
24
+ transition: {
25
+ type: String
23
26
  }
24
27
  },
25
28
  emits: ["mouseover", "mouseout", "click"],
26
- setup(e, { emit: k }) {
27
- const o = e, i = k;
28
- function v(m) {
29
+ setup(o, { emit: v }) {
30
+ const e = o, i = v;
31
+ function y(k) {
29
32
  return {
30
33
  circle: {
31
34
  points: 1,
@@ -55,56 +58,59 @@ const y = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], g = ["d", "fill",
55
58
  points: 6,
56
59
  rotation: 0
57
60
  }
58
- }[m];
61
+ }[k];
59
62
  }
60
- const s = u(() => v(o.shape)), d = u(() => o.shape !== "star" ? null : c({
61
- plot: { x: o.plot.x, y: o.plot.y },
62
- radius: o.radius * (o.isSelected ? o.zoom : 1)
63
- })), p = u(() => f({
64
- plot: { x: o.plot.x, y: o.plot.y },
65
- radius: o.radius * (o.isSelected ? o.zoom : 1),
63
+ const s = u(() => y(e.shape)), m = u(() => e.shape !== "star" ? null : f({
64
+ plot: { x: e.plot.x, y: e.plot.y },
65
+ radius: e.radius * (e.isSelected ? e.zoom : 1)
66
+ })), c = u(() => p({
67
+ plot: { x: e.plot.x, y: e.plot.y },
68
+ radius: e.radius * (e.isSelected ? e.zoom : 1),
66
69
  sides: s.value.points,
67
70
  rotation: s.value.rotation
68
71
  }).path);
69
- return (m, t) => (l(), r("g", null, [
72
+ return (k, t) => (l(), r("g", null, [
70
73
  s.value && s.value.points === 1 ? (l(), r("circle", {
71
74
  key: 0,
72
75
  class: "vdui-shape-circle",
73
- cx: e.plot.x,
74
- cy: e.plot.y,
75
- r: o.radius * (o.isSelected ? o.zoom : 1),
76
- fill: e.color,
77
- stroke: e.stroke,
78
- "stroke-width": e.strokeWidth,
76
+ cx: o.plot.x,
77
+ cy: o.plot.y,
78
+ r: e.radius * (e.isSelected ? e.zoom : 1),
79
+ fill: o.color,
80
+ stroke: o.stroke,
81
+ "stroke-width": o.strokeWidth,
79
82
  onMouseover: t[0] || (t[0] = (n) => i("mouseover")),
80
83
  onMouseout: t[1] || (t[1] = (n) => i("mouseout")),
81
- onClick: t[2] || (t[2] = (n) => i("click"))
82
- }, null, 40, y)) : a("", !0),
83
- s.value && s.value.points >= e.limit ? (l(), r("path", {
84
+ onClick: t[2] || (t[2] = (n) => i("click")),
85
+ style: d({ transition: o.transition })
86
+ }, null, 44, g)) : a("", !0),
87
+ s.value && s.value.points >= o.limit ? (l(), r("path", {
84
88
  key: 1,
85
89
  class: "vdui-shape-polygon",
86
- d: p.value,
87
- fill: e.color,
88
- stroke: e.stroke,
89
- "stroke-width": e.strokeWidth,
90
+ d: c.value,
91
+ fill: o.color,
92
+ stroke: o.stroke,
93
+ "stroke-width": o.strokeWidth,
90
94
  onMouseover: t[3] || (t[3] = (n) => i("mouseover")),
91
95
  onMouseout: t[4] || (t[4] = (n) => i("mouseout")),
92
- onClick: t[5] || (t[5] = (n) => i("click"))
93
- }, null, 40, g)) : a("", !0),
94
- d.value ? (l(), r("polygon", {
96
+ onClick: t[5] || (t[5] = (n) => i("click")),
97
+ style: d({ transition: o.transition })
98
+ }, null, 44, S)) : a("", !0),
99
+ m.value ? (l(), r("polygon", {
95
100
  key: 2,
96
101
  class: "vdui-shape-star",
97
- points: d.value,
98
- fill: e.color,
99
- stroke: e.stroke,
100
- "stroke-width": e.strokeWidth,
102
+ points: m.value,
103
+ fill: o.color,
104
+ stroke: o.stroke,
105
+ "stroke-width": o.strokeWidth,
101
106
  onMouseover: t[6] || (t[6] = (n) => i("mouseover")),
102
107
  onMouseout: t[7] || (t[7] = (n) => i("mouseout")),
103
- onClick: t[8] || (t[8] = (n) => i("click"))
104
- }, null, 40, x)) : a("", !0)
108
+ onClick: t[8] || (t[8] = (n) => i("click")),
109
+ style: d({ transition: o.transition })
110
+ }, null, 44, x)) : a("", !0)
105
111
  ]));
106
112
  }
107
113
  };
108
114
  export {
109
- h as _
115
+ w as _
110
116
  };