vue-data-ui 3.0.0-next.5 → 3.0.0-next.50

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 (115) hide show
  1. package/dist/{Arrow-6c56sGJ3.js → Arrow-Z9jhaVP0.js} +1 -1
  2. package/dist/{BaseDraggableDialog-y-BEzdTM.js → BaseDraggableDialog-CXFM6lrb.js} +2 -2
  3. package/dist/{BaseIcon-C-MP5EHV.js → BaseIcon-D3lVmh4q.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-P7R8vBej.js → ColorPicker-CZydWpxG.js} +2 -2
  6. package/dist/{DataTable-DD2pZIgh.js → DataTable-DBPMgoC3.js} +2 -2
  7. package/dist/{Legend-DZZeyx5j.js → Legend-Dj4hW4ih.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-uETwt6yC.js → NonSvgPenAndPaper-JPMlKVW3.js} +3 -3
  9. package/dist/{PackageVersion-D3jqYZS6.js → PackageVersion-_JpUHIQF.js} +1 -1
  10. package/dist/{PenAndPaper-Dy9zUXnw.js → PenAndPaper-CiXy6ifX.js} +3 -3
  11. package/dist/{Shape-CFp_TwS5.js → Shape-BLUp5WPA.js} +43 -37
  12. package/dist/Slicer-QbudvRet.js +602 -0
  13. package/dist/{SparkTooltip-BMV9aNLi.js → SparkTooltip-Nh3_vlzT.js} +7 -7
  14. package/dist/{Title-zqtIOYc5.js → Title-CxOYqn0J.js} +1 -1
  15. package/dist/{Tooltip-Bo30Qf34.js → Tooltip-CzRs24i2.js} +23 -19
  16. package/dist/{UserOptions-Cgrlu96K.js → UserOptions-RZkXTOCa.js} +2 -2
  17. package/dist/{dom-to-png-SVXVB8J4.js → dom-to-png-CV2fR0EQ.js} +1 -1
  18. package/dist/{img-DJTFe-dE.js → img-B7ogJ4e0.js} +1 -1
  19. package/dist/{index-DFSXaw69.js → index-CJ_8wwwn.js} +1594 -1216
  20. package/dist/{pdf-D-ie2h2J.js → pdf-set5F9CM.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +324 -14
  23. package/dist/types/vue-data-ui.d.ts +324 -14
  24. package/dist/useAutoSizeLabelsInsideViewbox-CyuM0n69.js +41 -0
  25. package/dist/{useNestedProp-CV3NndHa.js → useNestedProp-Co3NIfJz.js} +1 -1
  26. package/dist/{usePrinter-DXG9SdJr.js → usePrinter-Djgu-cC0.js} +2 -2
  27. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  28. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  29. package/dist/{vue-data-ui-DhThPvS0.js → vue-data-ui-HYXpyDKV.js} +64 -64
  30. package/dist/vue-data-ui.js +30 -29
  31. package/dist/{vue-ui-3d-bar-C1M9fXQl.js → vue-ui-3d-bar-CT_YtMoO.js} +6 -6
  32. package/dist/{vue-ui-accordion-B-PjY4U8.js → vue-ui-accordion-3yBUN0ar.js} +3 -3
  33. package/dist/vue-ui-age-pyramid-FUsbvtyA.js +834 -0
  34. package/dist/{vue-ui-annotator-DauoYrzs.js → vue-ui-annotator-C4Z-9ldl.js} +2 -2
  35. package/dist/vue-ui-bullet-B1ALDthr.js +571 -0
  36. package/dist/vue-ui-candlestick-BuD3f7_o.js +999 -0
  37. package/dist/{vue-ui-carousel-table-B7i9TvuL.js → vue-ui-carousel-table-Dm_FdAF0.js} +4 -4
  38. package/dist/{vue-ui-chestnut-D9HL_oAu.js → vue-ui-chestnut-WTwQvrY9.js} +5 -5
  39. package/dist/{vue-ui-chord-BaEQ4_bQ.js → vue-ui-chord-CPVmSnYG.js} +8 -8
  40. package/dist/{vue-ui-circle-pack-DumySU9s.js → vue-ui-circle-pack-Bc8bJtl0.js} +26 -26
  41. package/dist/{vue-ui-cursor-D-88A6ue.js → vue-ui-cursor-DfZVsgB6.js} +2 -2
  42. package/dist/{vue-ui-dashboard-Br7MlswR.js → vue-ui-dashboard-BP5AhItc.js} +62 -62
  43. package/dist/{vue-ui-digits-BMb2ZxN9.js → vue-ui-digits-FvXrM2xK.js} +2 -2
  44. package/dist/{vue-ui-donut-NZIGKCYr.js → vue-ui-donut-3JmvHI0A.js} +401 -375
  45. package/dist/vue-ui-donut-evolution-DiBD970y.js +1075 -0
  46. package/dist/{vue-ui-dumbbell-B7jEqxUu.js → vue-ui-dumbbell-BiD393o3.js} +7 -7
  47. package/dist/vue-ui-flow-DbdQR23z.js +841 -0
  48. package/dist/{vue-ui-funnel-BRfQjCk6.js → vue-ui-funnel-DByaDRM7.js} +6 -6
  49. package/dist/{vue-ui-galaxy-u0oNgjDP.js → vue-ui-galaxy-C4Al6xQj.js} +60 -58
  50. package/dist/vue-ui-gauge-DjUtEfNU.js +791 -0
  51. package/dist/{vue-ui-gizmo-6QSDxdTp.js → vue-ui-gizmo-CzrxRz6L.js} +3 -3
  52. package/dist/vue-ui-heatmap-HVYUxTOT.js +1078 -0
  53. package/dist/vue-ui-history-plot-DXSpSL4A.js +1073 -0
  54. package/dist/{vue-ui-kpi-DwOX2xG0.js → vue-ui-kpi-DU8bOzeM.js} +3 -3
  55. package/dist/{vue-ui-mini-loader-CrAhBt4w.js → vue-ui-mini-loader-E4KhKAQz.js} +2 -2
  56. package/dist/{vue-ui-molecule-DVPFCYdv.js → vue-ui-molecule-DrFrNbBj.js} +46 -44
  57. package/dist/{vue-ui-mood-radar-BPCedEDi.js → vue-ui-mood-radar-Cf_2QCYC.js} +7 -7
  58. package/dist/vue-ui-nested-donuts-BnA1KtIt.js +1286 -0
  59. package/dist/vue-ui-onion-B84CPvyH.js +776 -0
  60. package/dist/vue-ui-parallel-coordinate-plot-D4Ct2cvP.js +915 -0
  61. package/dist/{vue-ui-quadrant-CRR0XJzp.js → vue-ui-quadrant-8ksd3FSu.js} +59 -57
  62. package/dist/vue-ui-quick-chart-BY8Kd1LO.js +1761 -0
  63. package/dist/{vue-ui-radar-Fxk4Nq3_.js → vue-ui-radar-BUQaHh0L.js} +12 -10
  64. package/dist/{vue-ui-rating-EwwvsCi3.js → vue-ui-rating-Cn1_Hn2b.js} +2 -2
  65. package/dist/{vue-ui-relation-circle-DB7plTEJ.js → vue-ui-relation-circle-DPKDfjYx.js} +6 -6
  66. package/dist/vue-ui-ridgeline-zvRHpo_N.js +1153 -0
  67. package/dist/vue-ui-rings-Tw1dHWHH.js +728 -0
  68. package/dist/vue-ui-scatter-8LZZMVhD.js +1178 -0
  69. package/dist/{vue-ui-skeleton-1OErZL6t.js → vue-ui-skeleton-DVxUvega.js} +3 -3
  70. package/dist/{vue-ui-smiley-C_8dvJDX.js → vue-ui-smiley-DJTTUjT_.js} +2 -2
  71. package/dist/{vue-ui-spark-trend-Ds3apeYN.js → vue-ui-spark-trend-Dsku4oGR.js} +6 -6
  72. package/dist/{vue-ui-sparkbar-NpyQVY-J.js → vue-ui-sparkbar-Br_fLEOr.js} +3 -3
  73. package/dist/{vue-ui-sparkgauge-BYHhBxke.js → vue-ui-sparkgauge-DSBJsCu3.js} +3 -3
  74. package/dist/{vue-ui-sparkhistogram-DFbQ-g2X.js → vue-ui-sparkhistogram-BX6SXzWN.js} +4 -4
  75. package/dist/vue-ui-sparkline-DgVH0bCY.js +489 -0
  76. package/dist/{vue-ui-sparkstackbar-BxMFKBBt.js → vue-ui-sparkstackbar-D-KbMYmo.js} +55 -53
  77. package/dist/vue-ui-stackbar-DWOm3J6d.js +1370 -0
  78. package/dist/{vue-ui-strip-plot-Crml8nCi.js → vue-ui-strip-plot-Bi4PWqJG.js} +30 -28
  79. package/dist/{vue-ui-table-C3lxyo1m.js → vue-ui-table-Ac5mvoTX.js} +11 -11
  80. package/dist/{vue-ui-table-heatmap-DYgu1wOK.js → vue-ui-table-heatmap-DtN-NEea.js} +5 -5
  81. package/dist/{vue-ui-table-sparkline-B_eROo0E.js → vue-ui-table-sparkline-Dm9VtfGM.js} +4 -4
  82. package/dist/{vue-ui-thermometer-Dn8-68zJ.js → vue-ui-thermometer-CKzsQxea.js} +6 -6
  83. package/dist/{vue-ui-timer-CREgpYVZ.js → vue-ui-timer-CRuQHU_f.js} +5 -5
  84. package/dist/vue-ui-tiremarks-0mS5yMkd.js +406 -0
  85. package/dist/vue-ui-treemap-BkU919fN.js +1035 -0
  86. package/dist/{vue-ui-vertical-bar-BYtbI3Eq.js → vue-ui-vertical-bar-ByPC7JmK.js} +322 -306
  87. package/dist/vue-ui-waffle-GWXnMKeQ.js +910 -0
  88. package/dist/{vue-ui-wheel-CUgfhL9p.js → vue-ui-wheel-PP-IY2XR.js} +6 -6
  89. package/dist/{vue-ui-word-cloud-DBJueUIP.js → vue-ui-word-cloud-Cc5c_8Z1.js} +12 -10
  90. package/dist/{vue-ui-world-DR6IEkat.js → vue-ui-world-B1zbPwk3.js} +11 -9
  91. package/dist/vue-ui-xy-D7Sx_bPF.js +3760 -0
  92. package/dist/{vue-ui-xy-canvas-C2k2SOVa.js → vue-ui-xy-canvas-sA_OEIMw.js} +265 -264
  93. package/package.json +1 -1
  94. package/dist/Slicer-Bba4UfIm.js +0 -577
  95. package/dist/vue-ui-age-pyramid-Bt0KEjza.js +0 -746
  96. package/dist/vue-ui-bullet-CWxvbrat.js +0 -513
  97. package/dist/vue-ui-candlestick-BmYaA6wk.js +0 -873
  98. package/dist/vue-ui-donut-evolution-D38U9QxB.js +0 -903
  99. package/dist/vue-ui-flow-k4KjXCTn.js +0 -765
  100. package/dist/vue-ui-gauge-DUpSrOgm.js +0 -738
  101. package/dist/vue-ui-heatmap-CqqXcJ8F.js +0 -877
  102. package/dist/vue-ui-history-plot-BiC39PhQ.js +0 -924
  103. package/dist/vue-ui-nested-donuts-C2kl6581.js +0 -1177
  104. package/dist/vue-ui-onion-Dk3OUNGJ.js +0 -701
  105. package/dist/vue-ui-parallel-coordinate-plot-B-r0h3BM.js +0 -807
  106. package/dist/vue-ui-quick-chart-CS-Uk49C.js +0 -1612
  107. package/dist/vue-ui-ridgeline-D55xotqc.js +0 -969
  108. package/dist/vue-ui-rings-D6gr6DBO.js +0 -685
  109. package/dist/vue-ui-scatter-hFI2YfFt.js +0 -1045
  110. package/dist/vue-ui-sparkline-CiVlvGOI.js +0 -459
  111. package/dist/vue-ui-stackbar-DHsxlaNI.js +0 -1207
  112. package/dist/vue-ui-tiremarks-DrFKdGSj.js +0 -358
  113. package/dist/vue-ui-treemap-C1m-cAh0.js +0 -965
  114. package/dist/vue-ui-waffle-Cr0JqMuU.js +0 -863
  115. package/dist/vue-ui-xy-BCFKGTws.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-DFSXaw69.js";
2
+ import { c as n } from "./index-CJ_8wwwn.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-MP5EHV.js";
3
- import { X as A } from "./index-DFSXaw69.js";
2
+ import q from "./BaseIcon-D3lVmh4q.js";
3
+ import { X as A } from "./index-CJ_8wwwn.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-DFSXaw69.js";
2
+ import { X as l } from "./index-CJ_8wwwn.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-MP5EHV.js";
3
- import { F as V } from "./index-DFSXaw69.js";
2
+ import C from "./BaseIcon-D3lVmh4q.js";
3
+ import { F as V } from "./index-CJ_8wwwn.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-CFp_TwS5.js";
3
- import O from "./BaseIcon-C-MP5EHV.js";
2
+ import { _ as K } from "./Shape-BLUp5WPA.js";
3
+ import O from "./BaseIcon-D3lVmh4q.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-DFSXaw69.js";
3
- import { _ as v } from "./Shape-CFp_TwS5.js";
2
+ import { a3 as p } from "./index-CJ_8wwwn.js";
3
+ import { _ as v } from "./Shape-BLUp5WPA.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-DFSXaw69.js";
3
- import R from "./BaseIcon-C-MP5EHV.js";
4
- import { C as Ee } from "./ColorPicker-P7R8vBej.js";
2
+ import { l as $e, f as Se, X as Ae } from "./index-CJ_8wwwn.js";
3
+ import R from "./BaseIcon-D3lVmh4q.js";
4
+ import { C as Ee } from "./ColorPicker-CZydWpxG.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.5", a = { "aria-hidden": "true" }, p = {
2
+ const r = "3.0.0-next.50", 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-MP5EHV.js";
3
- import { C as we } from "./ColorPicker-P7R8vBej.js";
4
- import { l as be, f as xe } from "./index-DFSXaw69.js";
2
+ import T from "./BaseIcon-D3lVmh4q.js";
3
+ import { C as we } from "./ColorPicker-CZydWpxG.js";
4
+ import { l as be, f as xe } from "./index-CJ_8wwwn.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-DFSXaw69.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-CJ_8wwwn.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
  };