vue-data-ui 3.22.13 → 3.23.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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,512 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { K as t } from "./lib-CFm_J26b.js";
3
- import { t as n } from "./useConfig-C0V0eG7L.js";
4
- import { t as r } from "./usePrinter-BH-xle1O.js";
5
- import { t as i } from "./useNestedProp-BY6DNN3i.js";
6
- import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
- import { t as ee } from "./useUserOptionState-DK-_1ddE.js";
8
- import { t as te } from "./UserOptions-DzAFK9cY.js";
9
- import { n as ne } from "./PenAndPaper-CSMVXpg2.js";
10
- import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as re, defineAsyncComponent as f, guardReactiveProps as p, mergeProps as ie, normalizeClass as ae, normalizeProps as m, normalizeStyle as h, openBlock as g, ref as _, renderList as oe, renderSlot as v, resolveDynamicComponent as se, unref as y, useCssVars as ce, watch as b, withCtx as x } from "vue";
11
- //#region src/components/vue-ui-dashboard.vue
12
- var le = /* @__PURE__ */ e({ default: () => C }), ue = ["id"], de = ["onMousedown", "onTouchstart"], fe = ["onMousedown", "onTouchstart"], pe = ["onMousedown", "onTouchstart"], me = ["onMousedown", "onTouchstart"], he = ["onMousedown", "onTouchstart"], S = 1, C = /*#__PURE__*/ a({
13
- __name: "vue-ui-dashboard",
14
- props: {
15
- dataset: Array,
16
- config: Object
17
- },
18
- emits: ["change", "copyAlt"],
19
- setup(e, { expose: a, emit: le }) {
20
- ce((e) => ({
21
- v175acab0: Oe.value,
22
- v094a01b2: ke.value
23
- }));
24
- let C = {
25
- VueDataUi: f(() => import("./vue-data-ui-rkzh6EkO.js").then((e) => e.n)),
26
- VueUi3dBar: f(() => import("./vue-ui-3d-bar-D5xHEWr1.js").then((e) => e.n)),
27
- VueUiAccordion: f(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)),
28
- VueUiAgePyramid: f(() => import("./vue-ui-age-pyramid-CAJg01c7.js").then((e) => e.n)),
29
- VueUiAnnotator: f(() => import("./vue-ui-annotator-q3ZKx6ua.js").then((e) => e.n)),
30
- VueUiCandlestick: f(() => import("./vue-ui-candlestick-BZSGDKrM.js").then((e) => e.n)),
31
- VueUiChestnut: f(() => import("./vue-ui-chestnut-BfeSPeEh.js").then((e) => e.n)),
32
- VueUiDigits: f(() => import("./vue-ui-digits-OMPrn8fb.js").then((e) => e.n)),
33
- VueUiDonut: f(() => import("./vue-ui-donut-ZIRebAWc.js").then((e) => e.n)),
34
- VueUiDonutEvolution: f(() => import("./vue-ui-donut-evolution-DHVi5rOn.js").then((e) => e.n)),
35
- VueUiDumbbell: f(() => import("./vue-ui-dumbbell-gDYjU2oF.js").then((e) => e.n)),
36
- VueUiFlow: f(() => import("./vue-ui-flow-BusUK3H0.js").then((e) => e.n)),
37
- VueUiGalaxy: f(() => import("./vue-ui-galaxy-BMp-HzDh.js").then((e) => e.n)),
38
- VueUiGauge: f(() => import("./vue-ui-gauge-CBou0cFE.js").then((e) => e.n)),
39
- VueUiHeatmap: f(() => import("./vue-ui-heatmap-D8-qJ7fg.js").then((e) => e.n)),
40
- VueUiKpi: f(() => import("./vue-ui-kpi-ByxoO01r.js").then((e) => e.n)),
41
- VueUiMiniLoader: f(() => import("./vue-ui-mini-loader-D9pprk2c.js").then((e) => e.n)),
42
- VueUiMolecule: f(() => import("./vue-ui-molecule-BqJJq49_.js").then((e) => e.n)),
43
- VueUiMoodRadar: f(() => import("./vue-ui-mood-radar-BiOjxFEN.js").then((e) => e.n)),
44
- VueUiNestedDonuts: f(() => import("./vue-ui-nested-donuts-Cl1HVvDp.js").then((e) => e.n)),
45
- VueUiOnion: f(() => import("./vue-ui-onion-CRQOxurS.js").then((e) => e.n)),
46
- VueUiParallelCoordinatePlot: f(() => import("./vue-ui-parallel-coordinate-plot-Dhn18RtR.js").then((e) => e.n)),
47
- VueUiQuadrant: f(() => import("./vue-ui-quadrant-B21LkUc8.js").then((e) => e.n)),
48
- VueUiQuickChart: f(() => import("./vue-ui-quick-chart-DAhSXYnp.js").then((e) => e.n)),
49
- VueUiRadar: f(() => import("./vue-ui-radar-CyzAyVos.js").then((e) => e.n)),
50
- VueUiRating: f(() => import("./vue-ui-rating-DbxK-ftN.js").then((e) => e.n)),
51
- VueUiRelationCircle: f(() => import("./vue-ui-relation-circle-Cb33DMZo.js").then((e) => e.n)),
52
- VueUiRings: f(() => import("./vue-ui-rings-FtcdX8xl.js").then((e) => e.n)),
53
- VueUiScatter: f(() => import("./vue-ui-scatter-Cp_-2ahf.js").then((e) => e.n)),
54
- VueUiSkeleton: f(() => import("./vue-ui-skeleton-COytVrfN.js").then((e) => e.n)),
55
- VueUiSmiley: f(() => import("./vue-ui-smiley-Da2jgkb7.js").then((e) => e.n)),
56
- VueUiSparkHistogram: f(() => import("./vue-ui-sparkhistogram-D1oFTrvt.js").then((e) => e.n)),
57
- VueUiSparkStackbar: f(() => import("./vue-ui-sparkstackbar-BlFio0lP.js").then((e) => e.n)),
58
- VueUiSparkTrend: f(() => import("./vue-ui-spark-trend-DC2KUlEY.js").then((e) => e.n)),
59
- VueUiSparkbar: f(() => import("./vue-ui-sparkbar-DdxQOFIF.js").then((e) => e.n)),
60
- VueUiSparkgauge: f(() => import("./vue-ui-sparkgauge-DTA-fORH.js").then((e) => e.n)),
61
- VueUiSparkline: f(() => import("./vue-ui-sparkline-DcR_N-zT.js").then((e) => e.n)),
62
- VueUiStripPlot: f(() => import("./vue-ui-strip-plot-NLCwYvyw.js").then((e) => e.n)),
63
- VueUiTable: f(() => import("./vue-ui-table-AM9brdwU.js").then((e) => e.n)),
64
- VueUiTableHeatmap: f(() => import("./vue-ui-table-heatmap-CSI482KG.js").then((e) => e.n)),
65
- VueUiTableSparkline: f(() => import("./vue-ui-table-sparkline-BE6DAvur.js").then((e) => e.n)),
66
- VueUiThermometer: f(() => import("./vue-ui-thermometer-D6Czx7Fb.js").then((e) => e.n)),
67
- VueUiTimer: f(() => import("./vue-ui-timer-BZM5ITG9.js").then((e) => e.n)),
68
- VueUiTiremarks: f(() => import("./vue-ui-tiremarks-BCncDpHX.js").then((e) => e.n)),
69
- VueUiTreemap: f(() => import("./vue-ui-treemap-BOEYCOdk.js").then((e) => e.n)),
70
- VueUiVerticalBar: f(() => import("./vue-ui-horizontal-bar-BuwxI7d1.js").then((e) => e.n)),
71
- VueUiHorizontalBar: f(() => import("./vue-ui-horizontal-bar-BuwxI7d1.js").then((e) => e.n)),
72
- VueUiWaffle: f(() => import("./vue-ui-waffle-BrM8IHdG.js").then((e) => e.n)),
73
- VueUiWheel: f(() => import("./vue-ui-wheel-BNsajigQ.js").then((e) => e.n)),
74
- VueUiWordCloud: f(() => import("./vue-ui-word-cloud-D7R7nhk1.js").then((e) => e.n)),
75
- VueUiXy: f(() => import("./vue-ui-xy-CluEZ7lS.js").then((e) => e.n)),
76
- VueUiXyCanvas: f(() => import("./vue-ui-xy-canvas-7YSYRdwr.js").then((e) => e.n)),
77
- VueUiCarouselTable: f(() => import("./vue-ui-carousel-table-DO5NRXvX.js").then((e) => e.n)),
78
- VueUiGizmo: f(() => import("./vue-ui-gizmo-DdeXwCQp.js").then((e) => e.n)),
79
- VueUiStackbar: f(() => import("./vue-ui-stackbar-Cu13EdVa.js").then((e) => e.n)),
80
- VueUiStackline: f(() => import("./vue-ui-stackline-DKL0o_-3.js").then((e) => e.n)),
81
- VueUiBullet: f(() => import("./vue-ui-bullet-ByeaWGfI.js").then((e) => e.n)),
82
- VueUiFunnel: f(() => import("./vue-ui-funnel-BtaYaU0r.js").then((e) => e.n)),
83
- VueUiHistoryPlot: f(() => import("./vue-ui-history-plot-C2Aqk2ON.js").then((e) => e.n)),
84
- VueUiCirclePack: f(() => import("./vue-ui-circle-pack-Cqmlw7AV.js").then((e) => e.n)),
85
- VueUiWorld: f(() => import("./vue-ui-world-DZBt-07p.js").then((e) => e.n)),
86
- VueUiChord: f(() => import("./vue-ui-chord-D6G7ceE-.js").then((e) => e.n)),
87
- VueUiRidgeline: f(() => import("./vue-ui-ridgeline-D7aArzQk.js").then((e) => e.n)),
88
- VueUiDag: f(() => import("./vue-ui-dag-BzgOgXzU.js").then((e) => e.n))
89
- }, { vue_ui_dashboard: ge } = n(), _e = _(null), ve = _(null), w = _(null), T = e, E = s(() => i({
90
- userConfig: T.config,
91
- defaultConfig: ge
92
- })), D = s(() => E.value.userOptions.useCursorPointer), O = _(t()), k = _(E.value.locked);
93
- function ye() {
94
- k.value = !k.value;
95
- }
96
- b(() => T.config, () => {
97
- k.value = E.value.locked, X.value = !E.value.userOptions.showOnChartHover;
98
- });
99
- function A() {
100
- return T.dataset.map((e, t) => ({
101
- ...e,
102
- index: t
103
- }));
104
- }
105
- let j = _(A());
106
- b(() => T.dataset, () => {
107
- j.value = A();
108
- });
109
- let M = s(() => j.value.map((e) => ({
110
- ...e,
111
- resolvedComponent: typeof e.component == "string" ? C[e.component] : e.component
112
- }))), N = _(null), P = _(null), F = _({
113
- x: 0,
114
- y: 0
115
- }), I = _({
116
- x: 0,
117
- y: 0
118
- }), L = _(null), R = _(!1), z = _(null), B = _(!1);
119
- function V(e) {
120
- let t = e.target;
121
- (t.tagName === "INPUT" && t.type === "range" || t.classList.contains("range-handle")) && (B.value = !0);
122
- }
123
- function H(e) {
124
- let t = e.target;
125
- t.tagName === "INPUT" && t.type === "range" && (B.value = !1);
126
- }
127
- let { isPrinting: be, isImaging: xe, generatePdf: U, generateImage: Se } = r({
128
- elementId: `vue-ui-dashboard_${O.value}`,
129
- fileName: E.value.userOptions.print.filename || "dashboard",
130
- options: {
131
- ...E.value.userOptions.print,
132
- aspectRatio: E.value.style.board.aspectRatio
133
- }
134
- });
135
- function Ce(e) {
136
- if (!k.value && (R.value = !0, z.value = e, P.value === null)) {
137
- N.value = e, F.value = {
138
- x: event.clientX,
139
- y: event.clientY
140
- };
141
- let t = j.value[e], n = 100 - t.width, r = 100 - t.height;
142
- t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left > n && (t.left = n), t.top > r && (t.top = r), t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left + t.width > 100 && (t.left = 100 - t.width), t.top + t.height > 100 && (t.top = 100 - t.height);
143
- }
144
- }
145
- function W(e, t) {
146
- R.value = !0, z.value = e, P.value = {
147
- index: e,
148
- direction: t
149
- };
150
- let n = j.value[e];
151
- I.value = {
152
- x: event.clientX,
153
- y: event.clientY,
154
- initialWidth: n.width,
155
- initialHeight: n.height
156
- };
157
- }
158
- function G(e, t, n) {
159
- if (P.value.direction.includes("top")) {
160
- let t = e.height - n / L.value.offsetHeight * 100;
161
- t >= S && (e.top += n / L.value.offsetHeight * 100, e.height = t);
162
- }
163
- if (P.value.direction.includes("bottom")) {
164
- let t = e.height + n / L.value.offsetHeight * 100;
165
- t >= S && (e.height = t);
166
- }
167
- if (P.value.direction.includes("left")) {
168
- let n = e.width - t / L.value.offsetWidth * 100;
169
- n >= S && (e.left += t / L.value.offsetWidth * 100, e.width = n);
170
- }
171
- if (P.value.direction.includes("right")) {
172
- let n = e.width + t / L.value.offsetWidth * 100;
173
- n >= S && (e.width = n);
174
- }
175
- }
176
- function we(e) {
177
- if (!(k.value || B.value)) {
178
- if (R.value = !0, N.value !== null) {
179
- let t = j.value[N.value], n = e.clientX - F.value.x, r = e.clientY - F.value.y, i = t.left + n / L.value.offsetWidth * 100, a = t.top + r / L.value.offsetHeight * 100;
180
- i >= 0 && a >= 0 && i + t.width <= 100 && a + t.height <= 100 && (t.left = i, t.top = a), F.value = {
181
- x: e.clientX,
182
- y: e.clientY
183
- };
184
- }
185
- if (P.value !== null) {
186
- let t = j.value[P.value.index];
187
- G(t, e.clientX - I.value.x, e.clientY - I.value.y), I.value = {
188
- x: e.clientX,
189
- y: e.clientY
190
- };
191
- }
192
- }
193
- }
194
- let K = le;
195
- b(j, (e) => {
196
- e && !R.value && K("change", j.value);
197
- }, { deep: !0 });
198
- function Te() {
199
- N.value = null, P.value = null, R.value = !1, z.value = null, j.value.forEach((e) => {
200
- e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
201
- });
202
- }
203
- function Ee(e) {
204
- k.value || B.value || (R.value = !0, z.value = e, P.value === null && (N.value = e, F.value = {
205
- x: event.touches[0].clientX,
206
- y: event.touches[0].clientY
207
- }));
208
- }
209
- function q(e, t, n) {
210
- if (R.value = !0, z.value = e, P.value === null) {
211
- P.value = {
212
- index: e,
213
- direction: t
214
- };
215
- let r = j.value[e];
216
- I.value = {
217
- x: n.touches[0].clientX,
218
- y: n.touches[0].clientY,
219
- initialWidth: r.width,
220
- initialHeight: r.height
221
- };
222
- }
223
- }
224
- function J(e) {
225
- if (R.value = !0, e.preventDefault(), P.value !== null) {
226
- let t = j.value[P.value.index];
227
- G(t, e.touches[0].clientX - I.value.x, e.touches[0].clientY - I.value.y), I.value = {
228
- x: e.touches[0].clientX,
229
- y: e.touches[0].clientY
230
- };
231
- }
232
- }
233
- function De(e) {
234
- if (!(k.value || B.value) && (R.value = !0, e.preventDefault(), N.value !== null)) {
235
- let t = j.value[N.value], n = e.touches[0].clientX - F.value.x, r = e.touches[0].clientY - F.value.y, i = t.left + n / L.value.offsetWidth * 100, a = t.top + r / L.value.offsetHeight * 100;
236
- i >= 0 && a >= 0 && i + t.width <= 100 && a + t.height <= 100 && (t.left = i, t.top = a), F.value = {
237
- x: e.touches[0].clientX,
238
- y: e.touches[0].clientY
239
- };
240
- }
241
- }
242
- function Y() {
243
- R.value = !1, z.value = null, N.value = null, P.value = null, j.value.forEach((e) => {
244
- e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
245
- });
246
- }
247
- let Oe = s(() => E.value.style.item.borderColor), ke = s(() => E.value.style.resizeHandles.backgroundColor), Ae = s(() => E.value.style.board.aspectRatio), je = s(() => E.value.style.board.backgroundColor), Me = s(() => E.value.style.board.border);
248
- function Ne() {
249
- return j.value;
250
- }
251
- let { userOptionsVisible: X, setUserOptionsVisibility: Z, keepUserOptionState: Pe } = ee({ config: E.value }), Q = _(!1);
252
- function Fe() {
253
- Q.value = !Q.value;
254
- }
255
- function Ie() {
256
- Z(!0);
257
- }
258
- function Le() {
259
- Z(!1);
260
- }
261
- async function $() {
262
- if (K("copyAlt", {
263
- config: E.value,
264
- dataset: M.value
265
- }), !E.value.userOptions.callbacks.altCopy) {
266
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
267
- return;
268
- }
269
- await Promise.resolve(E.value.userOptions.callbacks.altCopy({
270
- config: E.value,
271
- dataset: M.value
272
- }));
273
- }
274
- return a({
275
- generatePdf: U,
276
- getItemsPositions: Ne,
277
- toggleLock: ye,
278
- copyAlt: $
279
- }), (e, t) => (g(), u("div", {
280
- id: `vue-ui-dashboard_${O.value}`,
281
- onMousedown: V,
282
- onMouseup: H,
283
- onTouchstart: V,
284
- onTouchend: H,
285
- onMouseenter: Ie,
286
- onMouseleave: Le,
287
- ref_key: "dashboardRef",
288
- ref: _e,
289
- style: { position: "relative" },
290
- class: "vue-data-ui-component"
291
- }, [
292
- d("div", {
293
- class: "vue-ui-dashboard-container",
294
- ref_key: "dashboardContainer",
295
- ref: L,
296
- style: h(`outline:${Me.value}; background:${je.value}; aspect-ratio:${Ae.value};${Q.value ? "pointer-events:none" : ""}`)
297
- }, [d("div", {
298
- class: "vue-ui-dashboard-grid-container",
299
- ref: "container",
300
- onMousemove: we,
301
- onMouseup: Te,
302
- onTouchmove: De,
303
- onTouchend: Y,
304
- style: h(`background:${E.value.style.board.backgroundColor}`)
305
- }, [t[4] ||= d("div", { class: "vue-ui-dashboard-grid" }, null, -1), (g(!0), u(o, null, oe(M.value, (n, r) => (g(), u("div", {
306
- key: n.id,
307
- class: ae({
308
- "vue-ui-dashboard-grid-item": !0,
309
- "vue-ui-dashboard-grid-item--locked": k.value
310
- }),
311
- style: h({
312
- width: `${n.width}%`,
313
- height: `${n.height}%`,
314
- left: `${n.left}%`,
315
- top: `${n.top}%`,
316
- cursor: "move",
317
- boxShadow: z.value === r ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
318
- zIndex: z.value === r ? M.value.length + 1 : n.index,
319
- backgroundColor: E.value.style.item.backgroundColor
320
- }),
321
- onMousedown: (e) => Ce(r),
322
- onTouchstart: (e) => Ee(r, n)
323
- }, [
324
- k.value ? l("", !0) : (g(), u(o, { key: 0 }, [
325
- d("div", {
326
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
327
- onMousedown: (e) => W(r, "top-left"),
328
- onTouchstart: (e) => q(r, "top-left", e),
329
- onTouchmove: t[0] ||= (e) => J(e),
330
- onTouchend: Y
331
- }, null, 40, fe),
332
- d("div", {
333
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
334
- onMousedown: (e) => W(r, "top-right"),
335
- onTouchstart: (e) => q(r, "top-right", e),
336
- onTouchmove: t[1] ||= (e) => J(e),
337
- onTouchend: Y
338
- }, null, 40, pe),
339
- d("div", {
340
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
341
- onMousedown: (e) => W(r, "bottom-left"),
342
- onTouchstart: (e) => q(r, "bottom-left", e),
343
- onTouchmove: t[2] ||= (e) => J(e),
344
- onTouchend: Y
345
- }, null, 40, me),
346
- d("div", {
347
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
348
- onMousedown: (e) => W(r, "bottom-right"),
349
- onTouchstart: (e) => q(r, "bottom-right", e),
350
- onTouchmove: t[3] ||= (e) => J(e),
351
- onTouchend: Y
352
- }, null, 40, he)
353
- ], 64)),
354
- v(e.$slots, "top", {
355
- item: n,
356
- index: r
357
- }, void 0, !0),
358
- n.resolvedComponent ? (g(), c(se(n.resolvedComponent), ie({
359
- key: 1,
360
- ref_for: !0
361
- }, n.props), null, 16)) : v(e.$slots, "content", {
362
- item: n,
363
- index: r,
364
- left: n.left,
365
- top: n.top,
366
- height: n.height,
367
- width: n.width
368
- }, void 0, !0, 2),
369
- v(e.$slots, "bottom", {
370
- item: n,
371
- index: r
372
- }, void 0, !0)
373
- ], 46, de))), 128))], 36)], 4),
374
- (g(), u("svg", {
375
- style: h({
376
- width: "100%",
377
- height: "100%",
378
- pointerEvents: "none",
379
- position: "absolute",
380
- top: 0,
381
- left: 0,
382
- zIndex: M.value.length + 1
383
- }),
384
- ref_key: "svgRef",
385
- ref: w
386
- }, null, 4)),
387
- E.value.userOptions.buttons.annotator && L.value && w.value ? (g(), c(ne, {
388
- key: 0,
389
- color: E.value.style.board.color,
390
- backgroundColor: E.value.style.board.backgroundColor,
391
- active: Q.value,
392
- svgRef: w.value,
393
- isCursorPointer: D.value,
394
- onClose: Fe,
395
- style: h({ zIndex: M.value.length + 1 })
396
- }, {
397
- "annotator-action-close": x(() => [v(e.$slots, "annotator-action-close", {}, void 0, !0)]),
398
- "annotator-action-color": x(({ color: t }) => [v(e.$slots, "annotator-action-color", m(p({ color: t })), void 0, !0)]),
399
- "annotator-action-draw": x(({ mode: t }) => [v(e.$slots, "annotator-action-draw", m(p({ mode: t })), void 0, !0)]),
400
- "annotator-action-undo": x(({ disabled: t }) => [v(e.$slots, "annotator-action-undo", m(p({ disabled: t })), void 0, !0)]),
401
- "annotator-action-redo": x(({ disabled: t }) => [v(e.$slots, "annotator-action-redo", m(p({ disabled: t })), void 0, !0)]),
402
- "annotator-action-delete": x(({ disabled: t }) => [v(e.$slots, "annotator-action-delete", m(p({ disabled: t })), void 0, !0)]),
403
- _: 3
404
- }, 8, [
405
- "color",
406
- "backgroundColor",
407
- "active",
408
- "svgRef",
409
- "isCursorPointer",
410
- "style"
411
- ])) : l("", !0),
412
- (E.value.allowPrint || E.value.userOptions.show) && (E.value.userOptions.buttons.pdf || E.value.userOptions.buttons.img) ? (g(), c(te, {
413
- key: 1,
414
- ref_key: "userOptionsRef",
415
- ref: ve,
416
- backgroundColor: E.value.style.board.backgroundColor,
417
- color: E.value.style.board.color,
418
- isPrinting: y(be),
419
- isImaging: y(xe),
420
- uid: O.value,
421
- position: E.value.userOptions.position,
422
- hasTooltip: !1,
423
- hasPdf: E.value.userOptions.buttons.pdf,
424
- hasImg: E.value.userOptions.buttons.img,
425
- hasXls: !1,
426
- hasTable: !1,
427
- hasLabel: !1,
428
- hasFullscreen: !1,
429
- hasAltCopy: E.value.userOptions.buttons.altCopy,
430
- chartElement: L.value,
431
- callbacks: E.value.userOptions.callbacks,
432
- hasAnnotator: E.value.userOptions.buttons.annotator,
433
- isAnnotation: Q.value,
434
- printScale: E.value.userOptions.print.scale,
435
- titles: { ...E.value.userOptions.buttonTitles },
436
- isCursorPointer: D.value,
437
- onGeneratePdf: y(U),
438
- onGenerateImage: y(Se),
439
- onToggleAnnotator: Fe,
440
- onCopyAlt: $,
441
- style: h({
442
- visibility: y(Pe) ? y(X) ? "visible" : "hidden" : "visible",
443
- zIndex: M.value.length + 1
444
- })
445
- }, re({ _: 2 }, [
446
- e.$slots.menuIcon ? {
447
- name: "menuIcon",
448
- fn: x(({ isOpen: t, color: n }) => [v(e.$slots, "menuIcon", m(p({
449
- isOpen: t,
450
- color: n
451
- })), void 0, !0)]),
452
- key: "0"
453
- } : void 0,
454
- e.$slots.optionPdf ? {
455
- name: "optionPdf",
456
- fn: x(() => [v(e.$slots, "optionPdf", {}, void 0, !0)]),
457
- key: "1"
458
- } : void 0,
459
- e.$slots.optionImg ? {
460
- name: "optionImg",
461
- fn: x(() => [v(e.$slots, "optionImg", {}, void 0, !0)]),
462
- key: "2"
463
- } : void 0,
464
- e.$slots.optionAnnotator ? {
465
- name: "optionAnnotator",
466
- fn: x(({ toggleAnnotator: t, isAnnotator: n }) => [v(e.$slots, "optionAnnotator", m(p({
467
- toggleAnnotator: t,
468
- isAnnotator: n
469
- })), void 0, !0)]),
470
- key: "3"
471
- } : void 0,
472
- e.$slots.optionAltCopy ? {
473
- name: "optionAltCopy",
474
- fn: x(({ altCopy: t }) => [v(e.$slots, "optionAltCopy", m(p({ altCopy: t })), void 0, !0)]),
475
- key: "4"
476
- } : void 0,
477
- e.$slots["custom-menu-before"] ? {
478
- name: "custom-menu-before",
479
- fn: x(() => [v(e.$slots, "custom-menu-before", {}, void 0, !0)]),
480
- key: "5"
481
- } : void 0,
482
- e.$slots["custom-menu-after"] ? {
483
- name: "custom-menu-after",
484
- fn: x(() => [v(e.$slots, "custom-menu-after", {}, void 0, !0)]),
485
- key: "6"
486
- } : void 0
487
- ]), 1032, [
488
- "backgroundColor",
489
- "color",
490
- "isPrinting",
491
- "isImaging",
492
- "uid",
493
- "position",
494
- "hasPdf",
495
- "hasImg",
496
- "hasAltCopy",
497
- "chartElement",
498
- "callbacks",
499
- "hasAnnotator",
500
- "isAnnotation",
501
- "printScale",
502
- "titles",
503
- "isCursorPointer",
504
- "onGeneratePdf",
505
- "onGenerateImage",
506
- "style"
507
- ])) : l("", !0)
508
- ], 40, ue));
509
- }
510
- }, [["__scopeId", "data-v-fc2ca20d"]]);
511
- //#endregion
512
- export { le as n, C as t };