vue-data-ui 3.2.7 → 3.3.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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
  95. package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
  97. package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
  99. package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
  100. package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
  101. package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
  102. package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
  105. package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
  106. package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
  108. package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
  111. package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
  114. package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
  115. package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
  116. package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
  117. package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
  118. package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
  121. package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
  123. package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
  124. package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
  125. package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
  127. package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
  128. package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
  132. package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
  133. package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
  134. package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
  135. package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
  136. package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
  137. package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
  138. package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
  139. package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
  140. package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
  142. package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
  143. package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
  144. package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
  151. package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
  152. package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
  154. package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-DH8opsJv.js +0 -325
  157. package/dist/vue-ui-flow-B72CBzC3.js +0 -909
  158. package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
  159. package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
@@ -1,18 +1,18 @@
1
1
  import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as el, onMounted as ha, watch as D, nextTick as fa, shallowRef as Me, onBeforeUnmount as al, createElementBlock as de, openBlock as S, unref as p, normalizeClass as ll, normalizeStyle as ae, createCommentVNode as H, createElementVNode as Y, createBlock as F, createSlots as ya, withCtx as m, renderSlot as k, normalizeProps as V, guardReactiveProps as Z, createVNode as ga, Teleport as tl, toDisplayString as Oe, resolveDynamicComponent as ol, mergeProps as ul, createTextVNode as pa } from "vue";
2
- import { c as rl, b as sl, p as G, B as he, e as nl, C as Re, a as le, d as te, h as ma, _ as il, J as vl, a7 as cl, o as dl, f as hl, z as ba, x as fl, y as yl, A as gl, s as fe, m as pl } from "./lib-BEpWEyMm.js";
2
+ import { c as rl, b as sl, p as G, B as he, e as nl, C as Re, a as le, d as te, h as ma, _ as il, J as vl, a7 as cl, o as dl, f as hl, z as ba, x as fl, y as yl, A as gl, s as fe, m as pl } from "./lib-GIYcnm0E.js";
3
3
  import { d as ml, t as bl, u as xl, c as Ll, a as xa, l as C, r as De, b as P, p as La } from "./useResponsive-DfdjqQps.js";
4
- import { u as kl, a as Fe } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as Cl } from "./usePrinter-w23K-ezx.js";
4
+ import { u as kl, a as Fe } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as Cl } from "./usePrinter-DYRFiw7X.js";
6
6
  import { u as wl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Sl } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { t as zl } from "./themes-Dw-dDudK.js";
9
- import $l from "./Legend-BpoFJ8fc.js";
10
- import Tl from "./Title-DG2nloSB.js";
11
- import { S as Il } from "./Slicer-BA2GhOmY.js";
12
- import Ml from "./vue-ui-accordion-CeMTgpl0.js";
9
+ import $l from "./Legend-DsogCeTb.js";
10
+ import Tl from "./Title-D17CJXko.js";
11
+ import { S as Il } from "./Slicer-D6T4aUhr.js";
12
+ import Ml from "./vue-ui-accordion-Dch9YrCi.js";
13
13
  import { u as Ol } from "./useTimeLabels-BGFjWgrv.js";
14
- import Rl from "./img-DjWwQXVS.js";
15
- import Dl from "./BaseIcon-Bz-1GQhu.js";
14
+ import Rl from "./img-6wPuVVtk.js";
15
+ import Dl from "./BaseIcon-CtqN7W_g.js";
16
16
  import { _ as Fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
18
18
  key: 3,
@@ -35,7 +35,7 @@ const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
35
35
  },
36
36
  emits: ["selectLegend"],
37
37
  setup(Pe, { expose: ka, emit: Ca }) {
38
- const wa = ee(() => import("./DataTable-BvjacRbw.js")), Sa = ee(() => import("./NonSvgPenAndPaper-l9giyY1Z.js")), za = ee(() => import("./vue-ui-skeleton-C3tGR_lR.js")), $a = ee(() => import("./Tooltip-BOXz8skU.js")), Ta = ee(() => import("./UserOptions-DsTgvAok.js")), Ia = ee(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_xy_canvas: Ma } = kl(), g = Pe, _ = c(rl()), I = c(null), oe = c(null), n = c(null), f = c(1), E = c(1), ye = c(!1), d = c(null), ge = c(""), Ee = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ae = c(0), Ne = c(0), ue = c(!1), He = c(null), Ye = c(null), _e = c(null), Be = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Ue = c(!1), re = c(null), Se = c(null), pe = L(() => !!g.dataset && g.dataset.length), Oa = Ca, Ra = el();
38
+ const wa = ee(() => import("./DataTable-BeI6gYJX.js")), Sa = ee(() => import("./NonSvgPenAndPaper-BDK_ucTG.js")), za = ee(() => import("./vue-ui-skeleton-CKfOnyd_.js")), $a = ee(() => import("./Tooltip-CtVdvbZi.js")), Ta = ee(() => import("./UserOptions-B3vCIe-u.js")), Ia = ee(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_xy_canvas: Ma } = kl(), g = Pe, _ = c(rl()), I = c(null), oe = c(null), n = c(null), f = c(1), E = c(1), ye = c(!1), d = c(null), ge = c(""), Ee = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ae = c(0), Ne = c(0), ue = c(!1), He = c(null), Ye = c(null), _e = c(null), Be = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Ue = c(!1), re = c(null), Se = c(null), pe = L(() => !!g.dataset && g.dataset.length), Oa = Ca, Ra = el();
39
39
  ha(() => {
40
40
  Ra["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
41
41
  });
@@ -957,7 +957,7 @@ const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
957
957
  ref_key: "xy",
958
958
  ref: I,
959
959
  id: `xy_canvas_${_.value}`,
960
- class: ll(`vue-ui-donut ${ue.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
960
+ class: ll(`vue-data-ui-component vue-ui-xy-canvas ${ue.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
961
961
  onMouseenter: l[5] || (l[5] = () => p(We)(!0)),
962
962
  onMouseleave: l[6] || (l[6] = () => p(We)(!1))
963
963
  }, [
@@ -1299,7 +1299,7 @@ const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
1299
1299
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : H("", !0)
1300
1300
  ], 46, Pl));
1301
1301
  }
1302
- }, ot = /* @__PURE__ */ Fl(_l, [["__scopeId", "data-v-51365208"]]);
1302
+ }, ot = /* @__PURE__ */ Fl(_l, [["__scopeId", "data-v-a22cfedc"]]);
1303
1303
  export {
1304
1304
  ot as default
1305
1305
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.2.7",
4
+ "version": "3.3.0",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1,325 +0,0 @@
1
- import { toRefs as re, defineAsyncComponent as t, computed as c, ref as o, onMounted as le, watch as Z, shallowReactive as ue, createElementBlock as se, createBlock as d, openBlock as g, normalizeStyle as ce, createElementVNode as ge, createTextVNode as pe, createCommentVNode as q, toDisplayString as me, resolveDynamicComponent as de, mergeProps as Ve, toHandlers as Ue, createSlots as fe, renderList as ve, withCtx as ke, renderSlot as Se, normalizeProps as he, guardReactiveProps as be } from "vue";
2
- import K from "./BaseIcon-Bz-1GQhu.js";
3
- const ye = { style: { width: "36px" } }, Ae = {
4
- __name: "vue-data-ui",
5
- props: {
6
- component: { type: String },
7
- dataset: { type: [Object, Array, Number, String] },
8
- config: { type: Object }
9
- },
10
- emits: [
11
- "selectLegend",
12
- "selectDatapoint",
13
- "toggleOpenState",
14
- "saveAnnotations",
15
- "selectRoot",
16
- "selectBranch",
17
- "selectNut",
18
- "change",
19
- "selectPlot",
20
- "selectSide",
21
- "rate",
22
- "postImage",
23
- "hoverIndex",
24
- "selectX",
25
- "toggleLock",
26
- "toggleTooltip",
27
- "start",
28
- "play",
29
- "pause",
30
- "reset",
31
- "restart",
32
- "lap",
33
- "toggleAnnotator",
34
- "selectGroup",
35
- "selectRibbon",
36
- "toggleTable",
37
- "resetZoom"
38
- ],
39
- setup(Y, { expose: J, emit: R }) {
40
- const a = Y, { component: Ce, dataset: w, config: ee } = re(a), p = {
41
- VueUi3dBar: t(() => import("./vue-ui-3d-bar-CRXnB8wH.js")),
42
- VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-BEGsngR6.js")),
43
- VueUiAnnotator: t(() => import("./vue-ui-annotator-BhZr9pFJ.js")),
44
- VueUiCandlestick: t(() => import("./vue-ui-candlestick-CnWY88nd.js")),
45
- VueUiChestnut: t(() => import("./vue-ui-chestnut-NpO91zJV.js")),
46
- VueUiDashboard: t(() => import("./vue-ui-dashboard-BEJ5uSZV.js")),
47
- VueUiDigits: t(() => import("./vue-ui-digits-CDtdGqLS.js")),
48
- VueUiDonut: t(() => import("./vue-ui-donut-a82yzfvT.js")),
49
- VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-DP_dXmIC.js")),
50
- VueUiGalaxy: t(() => import("./vue-ui-galaxy-CbGRAAFI.js")),
51
- VueUiGauge: t(() => import("./vue-ui-gauge-But_1QwV.js")),
52
- VueUiHeatmap: t(() => import("./vue-ui-heatmap-BAVkwnbX.js")),
53
- VueUiKpi: t(() => import("./vue-ui-kpi-DuFgWXJM.js")),
54
- VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-D4W9oE3V.js")),
55
- VueUiMolecule: t(() => import("./vue-ui-molecule-CEb6_0wR.js")),
56
- VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-CqJPicZv.js")),
57
- VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-B6rmNl9X.js")),
58
- VueUiOnion: t(() => import("./vue-ui-onion-BWAdTZ6V.js")),
59
- VueUiQuadrant: t(() => import("./vue-ui-quadrant-BwGMZ_d_.js")),
60
- VueUiRadar: t(() => import("./vue-ui-radar-DPXvVIbh.js")),
61
- VueUiRating: t(() => import("./vue-ui-rating-CxIBq7Xr.js")),
62
- VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-BVGAfqBj.js")),
63
- VueUiRings: t(() => import("./vue-ui-rings-B_7zAshC.js")),
64
- VueUiScatter: t(() => import("./vue-ui-scatter-BRr9oPfo.js")),
65
- VueUiSkeleton: t(() => import("./vue-ui-skeleton-C3tGR_lR.js")),
66
- VueUiSmiley: t(() => import("./vue-ui-smiley-B70Ck-49.js")),
67
- VueUiSparkbar: t(() => import("./vue-ui-sparkbar-BUPDw_qR.js")),
68
- VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DufAZyFK.js")),
69
- VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DDunWMKu.js")),
70
- VueUiSparkline: t(() => import("./vue-ui-sparkline-lRx2nNde.js")),
71
- VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-CB6WHJHd.js")),
72
- VueUiTable: t(() => import("./vue-ui-table-CEt97z7F.js")),
73
- VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-RB40-Z1R.js")),
74
- VueUiThermometer: t(() => import("./vue-ui-thermometer-fmPzO-eT.js")),
75
- VueUiTiremarks: t(() => import("./vue-ui-tiremarks-Cxx97FLg.js")),
76
- VueUiTreemap: t(() => import("./vue-ui-treemap-B4-IPDxV.js")),
77
- VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-Y5LefeNg.js")),
78
- // delete in v4
79
- VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-Y5LefeNg.js")),
80
- // v3 renaming
81
- VueUiWaffle: t(() => import("./vue-ui-waffle-gvnJOZlg.js")),
82
- VueUiWheel: t(() => import("./vue-ui-wheel-BzS_N3GP.js")),
83
- VueUiXy: t(() => import("./vue-ui-xy-BxpuE9Ng.js")),
84
- VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-DFZCaMxK.js")),
85
- VueUiAccordion: t(() => import("./vue-ui-accordion-CeMTgpl0.js")),
86
- VueUiQuickChart: t(() => import("./vue-ui-quick-chart-2bQ0DX_A.js")),
87
- VueUiCursor: t(() => import("./vue-ui-cursor-Detis-4Y.js")),
88
- VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-C2tSZULg.js")),
89
- VueUiStripPlot: t(() => import("./vue-ui-strip-plot-DW3c82dV.js")),
90
- VueUiDumbbell: t(() => import("./vue-ui-dumbbell-BDIzPnlX.js")),
91
- VueUiWordCloud: t(() => import("./vue-ui-word-cloud-vWhTarrE.js")),
92
- VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-C9YQjaUA.js")),
93
- VueUiFlow: t(() => import("./vue-ui-flow-B72CBzC3.js")),
94
- VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-DXbgnatq.js")),
95
- VueUiTimer: t(() => import("./vue-ui-timer-qxLpO3HX.js")),
96
- VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-CsVWXrdA.js")),
97
- VueUiGizmo: t(() => import("./vue-ui-gizmo-DcBQp-C8.js")),
98
- VueUiStackbar: t(() => import("./vue-ui-stackbar-CQ9Zvuxh.js")),
99
- VueUiBullet: t(() => import("./vue-ui-bullet-CrCHb15S.js")),
100
- VueUiFunnel: t(() => import("./vue-ui-funnel-CaxHiJIB.js")),
101
- VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-BlVib573.js")),
102
- VueUiCirclePack: t(() => import("./vue-ui-circle-pack-Z5VTiXZU.js")),
103
- VueUiWorld: t(() => import("./vue-ui-world-CqWuE8ZR.js")),
104
- VueUiRidgeline: t(() => import("./vue-ui-ridgeline-C6UdClMT.js")),
105
- VueUiChord: t(() => import("./vue-ui-chord-bIihB6Qf.js"))
106
- }, te = {
107
- VueUi3dBar: ["config", "dataset"],
108
- VueUiAgePyramid: ["config", "dataset"],
109
- VueUiAnnotator: ["config", "dataset"],
110
- VueUiCandlestick: ["config", "dataset"],
111
- VueUiChestnut: ["config", "dataset"],
112
- VueUiDashboard: ["config", "dataset"],
113
- VueUiDigits: ["config", "dataset"],
114
- VueUiDonut: ["config", "dataset"],
115
- VueUiDonutEvolution: ["config", "dataset"],
116
- VueUiGalaxy: ["config", "dataset"],
117
- VueUiGauge: ["config", "dataset"],
118
- VueUiHeatmap: ["config", "dataset"],
119
- VueUiKpi: ["config", "dataset"],
120
- VueUiMiniLoader: ["config"],
121
- VueUiMolecule: ["config", "dataset"],
122
- VueUiMoodRadar: ["config", "dataset"],
123
- VueUiNestedDonuts: ["config", "dataset"],
124
- VueUiOnion: ["config", "dataset"],
125
- VueUiQuadrant: ["config", "dataset"],
126
- VueUiRadar: ["config", "dataset"],
127
- VueUiRating: ["config", "dataset"],
128
- VueUiRelationCircle: ["config", "dataset"],
129
- VueUiRings: ["config", "dataset"],
130
- VueUiScatter: ["config", "dataset"],
131
- VueUiSkeleton: ["config"],
132
- VueUiSmiley: ["config", "dataset"],
133
- VueUiSparkbar: ["config", "dataset"],
134
- VueUiSparkgauge: ["config", "dataset"],
135
- VueUiSparkHistogram: ["config", "dataset"],
136
- VueUiSparkline: ["config", "dataset"],
137
- VueUiSparkStackbar: ["config", "dataset"],
138
- VueUiTable: ["config", "dataset"],
139
- VueUiTableSparkline: ["config", "dataset"],
140
- VueUiThermometer: ["config", "dataset"],
141
- VueUiTiremarks: ["config", "dataset"],
142
- VueUiTreemap: ["config", "dataset"],
143
- VueUiVerticalBar: ["config", "dataset"],
144
- // delete in v4
145
- VueUiHorizontalBar: ["config", "dataset"],
146
- // v3 renaming
147
- VueUiWaffle: ["config", "dataset"],
148
- VueUiWheel: ["config", "dataset"],
149
- VueUiXy: ["config", "dataset"],
150
- VueUiTableHeatmap: ["config", "dataset"],
151
- VueUiAccordion: ["config"],
152
- VueUiQuickChart: ["config", "dataset"],
153
- VueUiCursor: ["config"],
154
- VueUiSparkTrend: ["config", "dataset"],
155
- VueUiStripPlot: ["config", "dataset"],
156
- VueUiDumbbell: ["config", "dataset"],
157
- VueUiWordCloud: ["config", "dataset"],
158
- VueUiXyCanvas: ["config", "dataset"],
159
- VueUiFlow: ["config", "dataset"],
160
- VueUiParallelCoordinatePlot: ["config", "dataset"],
161
- VueUiTimer: ["config"],
162
- VueUiCarouselTable: ["config", "dataset"],
163
- VueUiGizmo: ["config", "dataset"],
164
- VueUiStackbar: ["config", "dataset"],
165
- VueUiBullet: ["config", "dataset"],
166
- VueUiFunnel: ["config", "dataset"],
167
- VueUiHistoryPlot: ["config", "dataset"],
168
- VueUiCirclePack: ["config", "dataset"],
169
- VueUiWorld: ["config", "dataset"],
170
- VueUiRidgeline: ["config", "dataset"],
171
- VueUiChord: ["config", "dataset"]
172
- }, oe = R, V = c(() => !p[a.component]), ie = c(() => p[a.component] || null), r = o(null), ae = c(() => {
173
- const e = te[a.component] || [], i = {};
174
- return e.includes("config") && (i.config = ee.value), e.includes("dataset") && (i.dataset = w.value), i;
175
- }), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), b = o(() => null), y = o(() => null), C = o(() => null), T = o(() => null), P = o(() => null), A = o(() => null), D = o(() => null), I = o(() => null), H = o(() => null), x = o(() => null), B = o(() => null), F = o(() => null), L = o(() => null), N = o(() => null), E = o(() => null), G = o(() => null), z = o(() => null), O = o(() => null), _ = o(() => null), $ = o(() => null), M = o(() => null), W = o(() => null), X = o(() => null);
176
- le(() => {
177
- V.value && console.error(`
178
-
179
- Vue Data UI exception:
180
- The provided component "${a.component}" does not exist. Check the spelling.
181
-
182
- Available components:
183
-
184
- ${Object.keys(p).map((e) => `. ${e}
185
- `).join("")}`);
186
- }), Z(r, async (e) => {
187
- e && (e.generatePdf && (U.value = e.generatePdf), e.generateImage && (v.value = e.generateImage), e.generateCsv && (f.value = e.generateCsv), e.getItemsPositions && (k.value = e.getItemsPositions), e.toggleReadonly && (S.value = e.toggleReadonly), e.shoot && (h.value = e.shoot), e.close && (b.value = e.close), e.restoreOrder && (y.value = e.restoreOrder), e.recalculateHeight && (C.value = e.recalculateHeight), e.toggleLock && (T.value = e.toggleLock), e.toggleTable && (P.value = e.toggleTable), e.toggleLabels && (A.value = e.toggleLabels), e.toggleSort && (D.value = e.toggleSort), e.toggleStack && (I.value = e.toggleStack), e.toggleTooltip && (H.value = e.toggleTooltip), e.start && (x.value = e.start), e.pause && (B.value = e.pause), e.reset && (F.value = e.reset), e.restart && (L.value = e.restart), e.lap && (N.value = e.lap), e.toggleAnimation && (E.value = e.toggleAnimation), e.pauseAnimation && (G.value = e.pauseAnimation), e.resumeAnimation && (z.value = e.resumeAnimation), e.toggleAnnotator && (O.value = e.toggleAnnotator), e.selectNode && (_.value = e.selectNode), e.selectGroup && ($.value = e.selectGroup), e.selectRibbon && (M.value = e.selectRibbon), e.autoSize && (W.value = e.autoSize), e.resetZoom && (X.value = e.resetZoom));
188
- });
189
- const ne = () => {
190
- const e = [
191
- "selectLegend",
192
- "selectDatapoint",
193
- "toggleOpenState",
194
- "saveAnnotations",
195
- "selectRoot",
196
- "selectBranch",
197
- "selectNut",
198
- "change",
199
- "selectPlot",
200
- "selectSide",
201
- "rate",
202
- "postImage",
203
- "hoverIndex",
204
- "selectX",
205
- "toggleLock",
206
- "toggleTooltip",
207
- "start",
208
- "pause",
209
- "reset",
210
- "restart",
211
- "lap",
212
- "toggleAnimation",
213
- "pauseAnimation",
214
- "resumeAnimation",
215
- "toggleAnnotator",
216
- "selectNode",
217
- "selectGroup",
218
- "selectRibbon",
219
- "autoSize",
220
- "toggleTable",
221
- "resetZoom"
222
- ], i = {};
223
- return e.forEach((l) => {
224
- i[l] = (...n) => oe(l, ...n);
225
- }), i;
226
- }, m = ue([]);
227
- function j(e, i) {
228
- return new Promise((l, n) => {
229
- m.push({ method: e, args: i, resolve: l, reject: n });
230
- });
231
- }
232
- Z(r, (e) => {
233
- if (e)
234
- for (; m.length; ) {
235
- const { method: i, args: l, resolve: n, reject: s } = m.shift(), Q = e[i];
236
- typeof Q == "function" ? Promise.resolve().then(() => Q(...l)).then(n).catch(s) : s(new Error(`Method ${i} not found on ${a.component}`));
237
- }
238
- }), J({
239
- getData(...e) {
240
- return r.value?.getData ? r.value.getData(...e) : j("getData", e);
241
- },
242
- getImage(e = {}) {
243
- const { scale: i = 2 } = e;
244
- return r.value?.getImage ? r.value.getImage({ scale: i }) : j("getImage", [{ scale: i }]);
245
- },
246
- autoSize: W,
247
- generatePdf: U,
248
- generateCsv: f,
249
- generateImage: v,
250
- getItemsPositions: k,
251
- toggleReadonly: S,
252
- shoot: h,
253
- close: b,
254
- restoreOrder: y,
255
- recalculateHeight: C,
256
- toggleLock: T,
257
- toggleTable: P,
258
- toggleLabels: A,
259
- toggleSort: D,
260
- toggleStack: I,
261
- toggleTooltip: H,
262
- start: x,
263
- pause: B,
264
- reset: F,
265
- restart: L,
266
- lap: N,
267
- pauseAnimation: G,
268
- resumeAnimation: z,
269
- toggleAnimation: E,
270
- toggleAnnotator: O,
271
- selectNode: _,
272
- selectGroup: $,
273
- selectRibbon: M,
274
- resetZoom: X
275
- });
276
- const u = c(() => {
277
- let e = `The provided component ${a.component} does not exist.`;
278
- return ["VueUiIcon", "VueUiPattern", "Arrow"].includes(a.component) ? (e = `${a.component} is not supported by the VueDataUi universal component. You must import it individually.`, console.warn(e), {
279
- status: "notSupported",
280
- message: e
281
- }) : (console.warn(e), {
282
- status: "unknown",
283
- message: e
284
- });
285
- });
286
- return (e, i) => V.value ? (g(), se("div", {
287
- key: 0,
288
- style: ce({
289
- width: "100%",
290
- display: "flex",
291
- gap: "6px",
292
- alignItems: "center",
293
- color: u.value.status === "notSupported" ? "#FF9000" : "#FF0000"
294
- })
295
- }, [
296
- ge("div", ye, [
297
- u.value.status === "unknown" ? (g(), d(K, {
298
- key: 0,
299
- name: "moodFlat",
300
- stroke: "#FF0000"
301
- })) : q("", !0),
302
- u.value.status === "notSupported" ? (g(), d(K, {
303
- key: 1,
304
- name: "circleExclamation",
305
- stroke: "#FF9000"
306
- })) : q("", !0)
307
- ]),
308
- pe(" " + me(u.value.message), 1)
309
- ], 4)) : (g(), d(de(ie.value), Ve({
310
- key: 1,
311
- ref_key: "currentComponentRef",
312
- ref: r
313
- }, ae.value, Ue(ne())), fe({ _: 2 }, [
314
- ve(e.$slots, (l, n) => ({
315
- name: n,
316
- fn: ke((s) => [
317
- Se(e.$slots, n, he(be(s)))
318
- ])
319
- }))
320
- ]), 1040));
321
- }
322
- };
323
- export {
324
- Ae as default
325
- };