vue-data-ui 3.6.0 → 3.7.1

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 (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +2 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
  105. package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
  106. package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
  113. package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
  114. package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
  115. package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
  116. package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
  119. package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
  123. package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
  124. package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
  125. package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
  129. package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
  132. package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
  133. package/dist/vue-ui-rings-BowsO9I8.js +884 -0
  134. package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
  138. package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
  139. package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
  141. package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
  143. package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
  144. package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
  149. package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
  151. package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
  152. package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
  155. package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
  156. package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
  158. package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
package/README.md CHANGED
@@ -128,7 +128,7 @@ app.component("VueUiRadar", VueUiRadar);
128
128
  app.mount("#app");
129
129
  ```
130
130
 
131
- Or you can import just what you need in your files:
131
+ Or you can import just what you need into your files:
132
132
 
133
133
  ```js
134
134
  <script setup>import {(VueUiRadar, VueUiXy)} from "vue-data-ui";</script>
@@ -208,7 +208,7 @@ customFormat: ({ seriesIndex, datapoint, series, config }) => {
208
208
  Data labels can be customized using the `formatter` config attribute (since v2.3.29 on all chart components):
209
209
 
210
210
  ```
211
- // the formatter attribute is generally placed under label or dataLabel config attribute objects
211
+ // the formatter attribute is generally placed under the label or dataLabel config attribute objects
212
212
 
213
213
  const config = ref({
214
214
  formatter: ({ value, config }) => {
@@ -269,8 +269,8 @@ It is recommended to set the show legend config attribute to false, to hide the
269
269
 
270
270
  ## Tooltip #tooltip-before & #tooltip-after slots
271
271
 
272
- Customize tooltip contents with #tooltip-before and #tooltip-after slots.
273
- It is that easy to include an image, another chart or any other content into your tooltips. It's an alternative to the config option tooltip.customFormat, in case richer tooltip content is needed.
272
+ Customize tooltip contents with #tooltip-before and #tooltip-after slots, to include an image, another chart or any other rich content into your tooltips.
273
+ It's an alternative to the config option `tooltip.customFormat`, in case richer tooltip content is needed.
274
274
 
275
275
  Both slots expose the following object:
276
276
 
@@ -333,13 +333,13 @@ The following charts bear these slots:
333
333
  </template>
334
334
  <template #tooltip-after={ datapoint, seriesIndex, dataset, config }">
335
335
  <div>
336
- This content shows last
336
+ This content shows the last
337
337
  </div>
338
338
  </template>
339
339
  </VueUiDonut>
340
340
  ```
341
341
 
342
- The #tooltip-before & #tooltip-after slots also works when using the VueDataUi universal component, if the component it wraps supports them.
342
+ The #tooltip-before & #tooltip-after slots also work when using the VueDataUi universal component, if the component it wraps supports them.
343
343
 
344
344
  ## Add a watermark using the #watermark slot
345
345
 
@@ -539,8 +539,8 @@ All names of available icons are available in the vue-data-ui.d.ts file under th
539
539
 
540
540
  # User options
541
541
 
542
- User options menu is accessible in the burger menu located on the top right of charts, and visible by default.
543
- To hide user options menu, set config.userOptions.show to false:
542
+ User options menu is accessible in the burger menu located on the top right of the charts, and visible by default.
543
+ To hide the user options menu, set config.userOptions.show to false:
544
544
 
545
545
  ```js
546
546
  const config = ref({
@@ -551,7 +551,7 @@ const config = ref({
551
551
  })
552
552
  ```
553
553
 
554
- User options menu can be set to appear only when hovering the component:
554
+ The user options menu can be set to appear only when hovering over the component:
555
555
 
556
556
  ```js
557
557
  const config = ref({
@@ -563,7 +563,7 @@ const config = ref({
563
563
  });
564
564
  ```
565
565
 
566
- Predefined actions in user options menu depend on the type of chart. Some charts have more or less actions available. Action buttons contain an predefined icons by default.
566
+ Predefined actions in the user options menu depend on the type of chart. Some charts have more or fewer actions available. Action buttons contain predefined icons by default.
567
567
 
568
568
  To hide a given action, set the userOption.buttons, for example:
569
569
 
@@ -596,7 +596,7 @@ What happens when the button is clicked is taken care of by the component, excep
596
596
  </VueUiDonut>
597
597
  ```
598
598
 
599
- You can pass a callback trhough the config, for each button, to override the default behavior:
599
+ You can pass a callback through the config, for each button, to override the default behavior:
600
600
 
601
601
  ```ts
602
602
  const config = {
@@ -611,7 +611,7 @@ const config = {
611
611
  csv: (csvStr: string) => {
612
612
  console.log(csvStr);
613
613
  },
614
- // the other atributes also have the same names as the buttons
614
+ // the other attributes also have the same names as the buttons
615
615
  },
616
616
  },
617
617
  };
@@ -752,7 +752,7 @@ Accepted color formats: HEX, RGB, HSL, named colors.
752
752
  # Responsive charts
753
753
 
754
754
  By default, all charts will scale to the width of their container.
755
- However the folowing charts can be made fully responsive, making them better to use in resizable containers:
755
+ However the following charts can be made fully responsive, making them better to use in resizable containers:
756
756
 
757
757
  | Component | Responsive feature implemented |
758
758
  | --------------------------- | ------------------------------ |
@@ -824,14 +824,14 @@ const config = ref({
824
824
  Very large datasets (> 5k or > 10k datapoints) will cause the browsers rendering engines to slow down, caused by too many SVG DOM elements to render.
825
825
  The following charts use the LTTB algorithm (Largest-Triangle-Three-Bucket) beyond a certain threshold to downsample the rendered dataset while preserving its shape. These components are the most susceptible to be used with very large datasets:
826
826
 
827
- | Component | Default Threshold | Remark |
828
- | --------------- | ----------------- | --------------------------------------------------------- |
829
- | VueUiXy | 1095 | |
830
- | VueUiXyCanvas | 10000 | Since this chart uses canvas, threhsold can be set higher |
831
- | VueUiQuadrant | 1095 | |
832
- | VueUiScatter | 1095 | |
833
- | VueUiSparkline | 1095 | |
834
- | VueUiSparkTrend | 1095 | |
827
+ | Component | Default Threshold | Remark |
828
+ | --------------- | ----------------- | ------------------------------------------------------------- |
829
+ | VueUiXy | 1095 | |
830
+ | VueUiXyCanvas | 10000 | Since this chart uses canvas, the threshold can be set higher |
831
+ | VueUiQuadrant | 1095 | |
832
+ | VueUiScatter | 1095 | |
833
+ | VueUiSparkline | 1095 | |
834
+ | VueUiSparkTrend | 1095 | |
835
835
 
836
836
  The downsample threshold for each component can be set in the config prop passed to components:
837
837
 
@@ -884,7 +884,7 @@ A pattern element must be used inside this slot. It will be injected inside a de
884
884
  ```html
885
885
  <VueUiDonut :config="config" :dataset="dataset">
886
886
  <template #pattern="{ seriesIndex, patternId }">
887
- <!-- Apply a patattern on the first datapoint only -->
887
+ <!-- Apply a pattern on the first datapoint only -->
888
888
  <pattern
889
889
  v-if="seriesIndex === 0"
890
890
  :id="patternId"
@@ -913,7 +913,7 @@ The #pattern slot is available on the following components:
913
913
  - VueUiWorld
914
914
  - VueUiXy
915
915
 
916
- A set of 12 readymade patterns are available through the VueUiPattern component:
916
+ A set of 12 readymade patterns is available through the VueUiPattern component:
917
917
 
918
918
  ```js
919
919
  import { VueUiPattern } from "vue-data-ui";
@@ -956,7 +956,7 @@ List of available patterns:
956
956
 
957
957
  # Utility functions
958
958
 
959
- A set of uility functions is available:
959
+ A set of utility functions is available:
960
960
 
961
961
  ```js
962
962
  import {
@@ -1111,7 +1111,7 @@ const merged = mergeConfigs({
1111
1111
 
1112
1112
  ## Multiline data labels
1113
1113
 
1114
- Some components will display labels on mutliple lines when the provided text contains a line break. (example: "I contain\na line break").
1114
+ Some components will display labels on multiple lines when the provided text contains a line break. (example: "I contain\na line break").
1115
1115
  Below is a table of the places where such line breaks can be used:
1116
1116
 
1117
1117
  | Component | Label displayed | Where to use line breaks |
@@ -1129,7 +1129,7 @@ Below is a table of the places where such line breaks can be used:
1129
1129
 
1130
1130
  ## PDF generation
1131
1131
 
1132
- This package requires jspdf as a peer dependency. Please install it in your project if you intend on using the PDF printing feature.
1132
+ This package requires jspdf as a peer dependency. Please install it in your project if you intend to use the PDF printing feature.
1133
1133
 
1134
1134
  ## `useObjectBindings`
1135
1135
 
@@ -1,5 +1,5 @@
1
1
  import { computed as u, createElementBlock as d, openBlock as m, createElementVNode as t, unref as o } from "vue";
2
- import { c as n } from "./lib-C_mNZmhD.js";
2
+ import { c as n } from "./lib-C5BH09_g.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 { ref as L, reactive as P, computed as N, onMounted as R, onUnmounted as F, createBlock as I, openBlock as z, Teleport as V, createElementBlock as B, createCommentVNode as j, withModifiers as s, normalizeStyle as D, createElementVNode as o, unref as K, renderSlot as S, createVNode as U, normalizeClass as q, nextTick as A } from "vue";
2
- import G from "./BaseIcon-DLFL0M4-.js";
3
- import { X as J } from "./lib-C_mNZmhD.js";
2
+ import G from "./BaseIcon-CofSxalQ.js";
3
+ import { X as J } from "./lib-C5BH09_g.js";
4
4
  import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Z = ["xmlns"], _ = { class: "modal-title" }, ee = { class: "draggable-dialog-actions" }, te = {
6
6
  __name: "BaseDraggableDialog",
@@ -1,5 +1,5 @@
1
1
  import { computed as e, createElementBlock as s, openBlock as i, normalizeClass as k, unref as L } from "vue";
2
- import { X as l } from "./lib-C_mNZmhD.js";
2
+ import { X as l } from "./lib-C5BH09_g.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,6 +1,6 @@
1
- import { ref as u, computed as T, watchEffect as U, onMounted as J, onBeforeUnmount as W, watch as Y, withDirectives as j, createElementBlock as d, openBlock as s, withKeys as q, createElementVNode as i, createCommentVNode as R, createBlock as A, normalizeStyle as a, renderSlot as G, normalizeProps as H, guardReactiveProps as Q, createVNode as C, withModifiers as n, Fragment as M, renderList as N, Teleport as X, unref as Z, nextTick as _ } from "vue";
2
- import g from "./BaseIcon-DLFL0M4-.js";
3
- import { J as ee } from "./lib-C_mNZmhD.js";
1
+ import { ref as u, computed as T, watchEffect as U, onMounted as W, onBeforeUnmount as Y, watch as j, withDirectives as q, createElementBlock as d, openBlock as s, withKeys as A, createElementVNode as i, createCommentVNode as R, createBlock as G, normalizeStyle as a, renderSlot as H, normalizeProps as J, guardReactiveProps as Q, createVNode as C, withModifiers as n, Fragment as M, renderList as N, Teleport as X, unref as Z, nextTick as _ } from "vue";
2
+ import g from "./BaseIcon-CofSxalQ.js";
3
+ import { w as ee } from "./lib-C5BH09_g.js";
4
4
  import { v as oe } from "./vClickOutside-C6WiFswA.js";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, re = ["value"], ie = ["onClick"], ue = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-46%)" } }, se = ["value"], ae = {
@@ -79,11 +79,11 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
79
79
  function P() {
80
80
  document.visibilityState === "visible" && k();
81
81
  }
82
- J(() => {
82
+ W(() => {
83
83
  window.addEventListener("scroll", f, { passive: !0 }), window.addEventListener("resize", f, { passive: !0 }), window.addEventListener("focus", h), document.addEventListener("visibilitychange", P);
84
- }), W(() => {
84
+ }), Y(() => {
85
85
  window.removeEventListener("scroll", f), window.removeEventListener("resize", f), window.removeEventListener("focus", h), document.removeEventListener("visibilitychange", P);
86
- }), Y(
86
+ }), j(
87
87
  () => v.value,
88
88
  (o) => {
89
89
  c.value && (c.value.value = o);
@@ -100,10 +100,10 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
100
100
  "#FF1493",
101
101
  "#00CED1"
102
102
  ]);
103
- return (o, e) => j((s(), d("div", {
103
+ return (o, e) => q((s(), d("div", {
104
104
  ref_key: "wrapperRef",
105
105
  ref: O,
106
- onKeydown: q(x, ["esc"]),
106
+ onKeydown: A(x, ["esc"]),
107
107
  style: { height: "100%", width: "100%", position: "relative" }
108
108
  }, [
109
109
  i("button", {
@@ -114,7 +114,7 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
114
114
  style: a(V.value),
115
115
  type: "button"
116
116
  }, [
117
- G(o.$slots, "annotator-action-color", H(Q({ color: p.value })), () => [
117
+ H(o.$slots, "annotator-action-color", J(Q({ color: p.value })), () => [
118
118
  C(g, {
119
119
  name: "palette",
120
120
  stroke: p.value,
@@ -174,7 +174,7 @@ const ne = ["onClick"], le = { style: { position: "absolute", top: "50%", left:
174
174
  }, null, 40, re)
175
175
  ], 36)
176
176
  ], 36)) : R("", !0),
177
- r.value && t.teleported ? (s(), A(X, {
177
+ r.value && t.teleported ? (s(), G(X, {
178
178
  key: 1,
179
179
  to: "body"
180
180
  }, [
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as A, unref as e, computed as D, ref as k, onMounted as E, createElementBlock as o, openBlock as l, normalizeClass as C, normalizeStyle as r, createCommentVNode as m, createElementVNode as a, withKeys as R, createVNode as B, toDisplayString as I, Fragment as g, renderList as v, renderSlot as N } from "vue";
2
- import { _ as K } from "./Shape-CNXKB8O0.js";
3
- import O from "./BaseIcon-DLFL0M4-.js";
2
+ import { _ as K } from "./Shape-DE6X_t31.js";
3
+ import O from "./BaseIcon-CofSxalQ.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 n, openBlock as a, normalizeStyle as d, renderSlot as r, Fragment as u, renderList as m, normalizeClass as g, createCommentVNode as p, createVNode as h, mergeProps as k, unref as v } from "vue";
2
- import { an as y } from "./lib-C_mNZmhD.js";
3
- import { _ as x } from "./Shape-CNXKB8O0.js";
2
+ import { D as y } from "./lib-C5BH09_g.js";
3
+ import { _ as x } from "./Shape-DE6X_t31.js";
4
4
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const S = ["id"], $ = ["onClick", "viewBox"], B = {
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 { S as $e, d as Se, X as Ae } from "./lib-C_mNZmhD.js";
3
- import R from "./BaseIcon-DLFL0M4-.js";
4
- import { C as Ee } from "./ColorPicker-CjIJvLdc.js";
2
+ import { n as $e, d as Se, X as Ae } from "./lib-C5BH09_g.js";
3
+ import R from "./BaseIcon-CofSxalQ.js";
4
+ import { C as Ee } from "./ColorPicker-e1-OSGlQ.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 r } from "vue";
2
- const n = "3.6.0", a = { "aria-hidden": "true" }, p = {
2
+ const n = "3.7.1", 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(r(n)), 1));
@@ -1,8 +1,8 @@
1
- import { ref as c, computed as he, watch as z, nextTick as se, onMounted as Ae, onBeforeUnmount as we, createElementBlock as W, createCommentVNode as O, openBlock as j, normalizeStyle as x, createElementVNode as S, withDirectives as re, renderSlot as B, createVNode as R, withCtx as be, normalizeProps as T, guardReactiveProps as M, normalizeClass as Y, toDisplayString as xe, unref as ye, vModelText as ue } from "vue";
2
- import F from "./BaseIcon-DLFL0M4-.js";
3
- import { C as Ce } from "./ColorPicker-CjIJvLdc.js";
4
- import { S as ke, d as Se } from "./lib-C_mNZmhD.js";
5
- const Ee = {
1
+ import { ref as c, computed as he, watch as z, nextTick as se, onMounted as Ae, onBeforeUnmount as we, createElementBlock as W, createCommentVNode as O, openBlock as j, normalizeStyle as x, createElementVNode as E, withDirectives as re, renderSlot as B, createVNode as R, withCtx as be, normalizeProps as T, guardReactiveProps as M, normalizeClass as Y, toDisplayString as xe, unref as ye, vModelText as ue } from "vue";
2
+ import F from "./BaseIcon-CofSxalQ.js";
3
+ import { C as Ce } from "./ColorPicker-e1-OSGlQ.js";
4
+ import { n as ke, d as Ee } from "./lib-C5BH09_g.js";
5
+ const Se = {
6
6
  class: "vue-ui-pen-and-paper-action",
7
7
  style: { padding: "0 !important" }
8
8
  }, $e = ["disabled"], De = {
@@ -31,13 +31,13 @@ const Ee = {
31
31
  },
32
32
  emits: ["close"],
33
33
  setup(d, { emit: ie }) {
34
- const s = d, ve = ie, b = c([]), y = c([]), E = c(s.color), N = c(2), Q = c(!1), V = c(""), o = c(null), A = c(null), I = c(null), p = c("draw"), K = c(!1), f = c(null), q = c({ x: 0, y: 0 }), D = c([""]), P = c({ row: 0, col: 0 }), $ = c(16), J = c("url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSIVh2YQcchQnSyIijhKFYtgobQVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi6OSk6CIl/i8ptIjx4Lgf7+497t4BQrPKNKtnAtB020wn4lIuvyqFXhGGiAhCiMnMMpKZxSx8x9c9Any9i/Es/3N/jgG1YDEgIBHPMcO0iTeIZzZtg/M+scjKskp8Tjxu0gWJH7muePzGueSywDNFM5ueJxaJpVIXK13MyqZGPE0cVTWd8oWcxyrnLc5atc7a9+QvDBf0lQzXaY4ggSUkkYIEBXVUUIWNGK06KRbStB/38Q+7/hS5FHJVwMixgBo0yK4f/A9+d2sVpya9pHAc6H1xnI9RILQLtBqO833sOK0TIPgMXOkdf60JzH6S3uho0SNgcBu4uO5oyh5wuQMMPRmyKbtSkKZQLALvZ/RNeSByC/Sveb2193H6AGSpq+Ub4OAQGCtR9rrPu/u6e/v3TLu/H5C7crM1WjgWAAAABmJLR0QAqwB5AHWF+8OUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5gwUExIUagzGcQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABfSURBVBjTldAxDoNQDIPhL0+q1L33P1AvAhN7xfK6WAgoLfSfrNiykpQtE+7RLzx2vgF9D3o8lWDmn1QVVMP0LZQGmNtqp1/cmou0XHdG/+sYeGZwFBqPCub8rkcvvAGvsi1VYarR8wAAAABJRU5ErkJggg==') 5 5, auto");
34
+ const s = d, ve = ie, b = c([]), y = c([]), S = c(s.color), N = c(2), Q = c(!1), V = c(""), o = c(null), A = c(null), I = c(null), p = c("draw"), K = c(!1), f = c(null), q = c({ x: 0, y: 0 }), D = c([""]), P = c({ row: 0, col: 0 }), $ = c(16), J = c("url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSIVh2YQcchQnSyIijhKFYtgobQVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi6OSk6CIl/i8ptIjx4Lgf7+497t4BQrPKNKtnAtB020wn4lIuvyqFXhGGiAhCiMnMMpKZxSx8x9c9Any9i/Es/3N/jgG1YDEgIBHPMcO0iTeIZzZtg/M+scjKskp8Tjxu0gWJH7muePzGueSywDNFM5ueJxaJpVIXK13MyqZGPE0cVTWd8oWcxyrnLc5atc7a9+QvDBf0lQzXaY4ggSUkkYIEBXVUUIWNGK06KRbStB/38Q+7/hS5FHJVwMixgBo0yK4f/A9+d2sVpya9pHAc6H1xnI9RILQLtBqO833sOK0TIPgMXOkdf60JzH6S3uho0SNgcBu4uO5oyh5wuQMMPRmyKbtSkKZQLALvZ/RNeSByC/Sveb2193H6AGSpq+Ub4OAQGCtR9rrPu/u6e/v3TLu/H5C7crM1WjgWAAAABmJLR0QAqwB5AHWF+8OUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5gwUExIUagzGcQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABfSURBVBjTldAxDoNQDIPhL0+q1L33P1AvAhN7xfK6WAgoLfSfrNiykpQtE+7RLzx2vgF9D3o8lWDmn1QVVMP0LZQGmNtqp1/cmou0XHdG/+sYeGZwFBqPCub8rkcvvAGvsi1VYarR8wAAAABJRU5ErkJggg==') 5 5, auto");
35
35
  function Z(n) {
36
36
  if (!o.value || p.value !== "text" || K.value) return;
37
37
  const { x: e, y: l } = U(n);
38
38
  q.value = { x: e, y: l }, D.value = [""], P.value = { row: 0, col: 0 };
39
39
  const t = document.createElementNS("http://www.w3.org/2000/svg", "text");
40
- t.setAttribute("x", e), t.setAttribute("y", l), t.setAttribute("fill", E.value), t.setAttribute("font-size", $.value * s.scale), t.setAttribute("font-family", "sans-serif"), t.setAttribute("class", "vue-data-ui-doodle"), t.setAttribute("dominant-baseline", "hanging"), t.setAttribute("pointer-events", "all");
40
+ t.setAttribute("x", e), t.setAttribute("y", l), t.setAttribute("fill", S.value), t.setAttribute("font-size", $.value * s.scale), t.setAttribute("font-family", "sans-serif"), t.setAttribute("class", "vue-data-ui-doodle"), t.setAttribute("dominant-baseline", "hanging"), t.setAttribute("pointer-events", "all");
41
41
  const a = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
42
42
  a.setAttribute("x", e), a.setAttribute("dy", "0"), a.textContent = "", t.appendChild(a), t.style.pointerEvents = "none", t.style.userSelect = "none", o.value.appendChild(t), f.value = t, K.value = !0, window.addEventListener("keydown", _), window.addEventListener("mousedown", ne, !0), ee(), te();
43
43
  }
@@ -96,7 +96,7 @@ const Ee = {
96
96
  o.value.removeChild(i);
97
97
  let h = t + a * u * 1.2, k = l + m.width;
98
98
  const w = document.createElementNS("http://www.w3.org/2000/svg", "rect");
99
- w.setAttribute("x", k), w.setAttribute("y", h), w.setAttribute("width", 2), w.setAttribute("height", u), w.setAttribute("fill", E.value), w.setAttribute("class", "vue-data-ui-svg-caret"), o.value.appendChild(w);
99
+ w.setAttribute("x", k), w.setAttribute("y", h), w.setAttribute("width", 2), w.setAttribute("height", u), w.setAttribute("fill", S.value), w.setAttribute("class", "vue-data-ui-svg-caret"), o.value.appendChild(w);
100
100
  }
101
101
  function ne(n) {
102
102
  if (f.value && !f.value.contains(n.target)) {
@@ -185,7 +185,7 @@ const Ee = {
185
185
  if (p.value !== "draw" || !s.active || !o.value) return;
186
186
  Q.value = !0;
187
187
  const { x: e, y: l } = U(n);
188
- I.value = { x: e, y: l }, V.value = `M ${e} ${l}`, A.value = document.createElementNS("http://www.w3.org/2000/svg", "path"), A.value.setAttribute("stroke", E.value), A.value.setAttribute("stroke-width", N.value * s.scale), A.value.setAttribute("fill", "none"), A.value.setAttribute("stroke-linecap", "round"), A.value.setAttribute("stroke-linejoin", "round"), A.value.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(A.value);
188
+ I.value = { x: e, y: l }, V.value = `M ${e} ${l}`, A.value = document.createElementNS("http://www.w3.org/2000/svg", "path"), A.value.setAttribute("stroke", S.value), A.value.setAttribute("stroke-width", N.value * s.scale), A.value.setAttribute("fill", "none"), A.value.setAttribute("stroke-linecap", "round"), A.value.setAttribute("stroke-linejoin", "round"), A.value.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(A.value);
189
189
  }
190
190
  function H(n) {
191
191
  if (!Q.value || !o.value || !A.value) return;
@@ -197,7 +197,7 @@ const Ee = {
197
197
  const { x: e, y: l } = U(n);
198
198
  if (I.value && I.value.x === e && I.value.y === l) {
199
199
  const t = document.createElementNS("http://www.w3.org/2000/svg", "circle");
200
- t.setAttribute("cx", e), t.setAttribute("cy", l), t.setAttribute("r", N.value * s.scale / 2), t.setAttribute("fill", E.value), t.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(t), b.value.push(t);
200
+ t.setAttribute("cx", e), t.setAttribute("cy", l), t.setAttribute("r", N.value * s.scale / 2), t.setAttribute("fill", S.value), t.setAttribute("class", "vue-data-ui-doodle"), o.value.appendChild(t), b.value.push(t);
201
201
  } else {
202
202
  const t = A.value;
203
203
  t.setAttribute("d", fe(ce(V.value))), b.value.push(t);
@@ -248,7 +248,7 @@ const Ee = {
248
248
  class: "vue-ui-pen-and-paper-actions",
249
249
  style: x({ backgroundColor: d.backgroundColor })
250
250
  }, [
251
- S("button", {
251
+ E("button", {
252
252
  class: "vue-ui-pen-and-paper-action",
253
253
  onClick: e[0] || (e[0] = (l) => ve("close")),
254
254
  style: x({
@@ -263,10 +263,10 @@ const Ee = {
263
263
  }, null, 8, ["stroke"])
264
264
  ])
265
265
  ], 4),
266
- S("button", Ee, [
266
+ E("button", Se, [
267
267
  R(Ce, {
268
- value: E.value,
269
- "onUpdate:value": e[1] || (e[1] = (l) => E.value = l),
268
+ value: S.value,
269
+ "onUpdate:value": e[1] || (e[1] = (l) => S.value = l),
270
270
  backgroundColor: d.backgroundColor,
271
271
  buttonBorderColor: C.value
272
272
  }, {
@@ -276,7 +276,7 @@ const Ee = {
276
276
  _: 3
277
277
  }, 8, ["value", "backgroundColor", "buttonBorderColor"])
278
278
  ]),
279
- S("button", {
279
+ E("button", {
280
280
  class: Y(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-active": p.value === "text" }]),
281
281
  onClick: e[2] || (e[2] = (l) => p.value = p.value === "text" ? "draw" : "text"),
282
282
  style: x({
@@ -290,7 +290,7 @@ const Ee = {
290
290
  stroke: d.color
291
291
  }, null, 8, ["name", "stroke"])
292
292
  ]),
293
- S("div", {
293
+ E("div", {
294
294
  style: x({
295
295
  position: "absolute",
296
296
  bottom: "-20px",
@@ -300,13 +300,13 @@ const Ee = {
300
300
  fontSize: "12px",
301
301
  fontVariantNumeric: "tabular-nums"
302
302
  })
303
- }, xe(ye(Se)({
303
+ }, xe(ye(Ee)({
304
304
  v: p.value === "draw" ? N.value : $.value,
305
305
  s: "px",
306
306
  r: 1
307
307
  })), 5)
308
308
  ], 6),
309
- S("button", {
309
+ E("button", {
310
310
  class: Y(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !b.value.length }]),
311
311
  disabled: !b.value.length,
312
312
  onClick: ge,
@@ -323,7 +323,7 @@ const Ee = {
323
323
  }, null, 8, ["stroke"])
324
324
  ])
325
325
  ], 14, $e),
326
- S("button", {
326
+ E("button", {
327
327
  class: Y(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !y.value.length }]),
328
328
  onClick: pe,
329
329
  style: x({
@@ -339,7 +339,7 @@ const Ee = {
339
339
  }, null, 8, ["stroke"])
340
340
  ])
341
341
  ], 6),
342
- S("button", {
342
+ E("button", {
343
343
  class: Y(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !b.value.length }]),
344
344
  onClick: me,
345
345
  style: x({
@@ -1,6 +1,6 @@
1
1
  import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a, normalizeStyle as d } from "vue";
2
- import { j as f, k as p } from "./lib-C_mNZmhD.js";
3
- const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], w = {
2
+ import { b as f, e as p } from "./lib-C5BH09_g.js";
3
+ const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], b = {
4
4
  __name: "Shape",
5
5
  props: {
6
6
  color: String,
@@ -112,5 +112,5 @@ const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill",
112
112
  }
113
113
  };
114
114
  export {
115
- w as _
115
+ b as _
116
116
  };
@@ -1,7 +1,7 @@
1
- import { useCssVars as Ot, computed as s, ref as d, onMounted as lt, onBeforeUnmount as Le, watch as Z, nextTick as ve, onUpdated as Ut, createElementBlock as i, openBlock as u, createElementVNode as P, createCommentVNode as m, renderSlot as Zt, normalizeStyle as L, createVNode as Jt, withDirectives as at, unref as me, Fragment as M, renderList as R, normalizeProps as Yt, mergeProps as qt, normalizeClass as J, vModelText as nt, toDisplayString as $e } from "vue";
2
- import { c as Kt, X as Qt, J as Ee, y as it, z as ut, A as ot, B as rt, am as st } from "./lib-C_mNZmhD.js";
1
+ import { useCssVars as Ot, computed as s, ref as d, onMounted as lt, onBeforeUnmount as Le, watch as Z, nextTick as ve, onUpdated as Ut, createElementBlock as i, openBlock as u, createElementVNode as P, createCommentVNode as m, renderSlot as Zt, normalizeStyle as L, createVNode as Yt, withDirectives as at, unref as me, Fragment as M, renderList as R, normalizeProps as Jt, mergeProps as qt, normalizeClass as Y, vModelText as nt, toDisplayString as $e } from "vue";
2
+ import { c as Kt, X as Qt, w as Ee, y as it, z as ut, A as ot, B as rt, C as st } from "./lib-C5BH09_g.js";
3
3
  import { t as ct, d as jt, u as _t } from "./useResponsive-DfdjqQps.js";
4
- import el from "./BaseIcon-DLFL0M4-.js";
4
+ import el from "./BaseIcon-CofSxalQ.js";
5
5
  import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const ll = {
7
7
  class: "vue-data-ui-slicer-labels",
@@ -171,7 +171,7 @@ const ll = {
171
171
  window.removeEventListener("resize", l);
172
172
  });
173
173
  });
174
- const ht = s(() => a.refreshEndPoint === null ? a.max : a.refreshEndPoint), Y = mt, q = s(() => {
174
+ const ht = s(() => a.refreshEndPoint === null ? a.max : a.refreshEndPoint), J = mt, q = s(() => {
175
175
  if ($.value) {
176
176
  const l = Math.max(1, ue.value - 1);
177
177
  return xe.value / l * 100;
@@ -247,7 +247,7 @@ const ll = {
247
247
  return e;
248
248
  });
249
249
  function Fe() {
250
- Y("reset");
250
+ J("reset");
251
251
  }
252
252
  Z(
253
253
  () => a.min,
@@ -393,14 +393,14 @@ const ll = {
393
393
  function Pt(e) {
394
394
  E.value = e;
395
395
  const l = I.value, t = X.value;
396
- e >= l && e < t && !F.value && Y("trapMouse", e - l);
396
+ e >= l && e < t && !F.value && J("trapMouse", e - l);
397
397
  }
398
398
  const ke = d(null), we = d(null);
399
399
  function _(e) {
400
- w.value = e, ke.value && (ke.value.value = e), Y("update:start", Number(w.value));
400
+ w.value = e, ke.value && (ke.value.value = e), J("update:start", Number(w.value));
401
401
  }
402
402
  function ee(e) {
403
- S.value = e, we.value && (we.value.value = e), Y("update:end", Number(S.value));
403
+ S.value = e, we.value && (we.value.value = e), J("update:end", Number(S.value));
404
404
  }
405
405
  const Se = s(() => a.valueEnd - a.valueStart), Nt = s(() => Se.value < a.max - a.min), te = d(!1);
406
406
  let Rt = d(null);
@@ -431,7 +431,7 @@ const ll = {
431
431
  Ce.value = Number(w.value), Oe.value = Number(S.value), At.value = Tt.value, T = l ? "touchmove" : "mousemove", A = l ? "touchend" : "mouseup", B = l ? Vt : Bt, V = l ? It : Ft, window.addEventListener(T, B, { passive: !1 }), window.addEventListener(A, V);
432
432
  };
433
433
  function Bt(e) {
434
- te.value && Je(e.clientX);
434
+ te.value && Ye(e.clientX);
435
435
  }
436
436
  function Vt(e) {
437
437
  if (!te.value || !k.value) return;
@@ -439,9 +439,9 @@ const ll = {
439
439
  if (!(l instanceof Element) || !k.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
440
440
  e.preventDefault();
441
441
  const t = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
442
- t && Je(t.clientX);
442
+ t && Ye(t.clientX);
443
443
  }
444
- function Je(e) {
444
+ function Ye(e) {
445
445
  if (!te.value) return;
446
446
  const l = Pe(Ge.value), o = Pe(e) - l, r = Math.max(1, Oe.value - Ce.value);
447
447
  let h = Math.round(Ce.value + o);
@@ -451,12 +451,12 @@ const ll = {
451
451
  _(h), ee(z);
452
452
  }
453
453
  function Ft() {
454
- Ye();
454
+ Je();
455
455
  }
456
456
  function It() {
457
- Ye();
457
+ Je();
458
458
  }
459
- function Ye() {
459
+ function Je() {
460
460
  te.value = !1, T && B && window.removeEventListener(T, B), A && V && window.removeEventListener(A, V), T = A = null, B = V = null;
461
461
  }
462
462
  const F = d(!1), le = d(null), ae = d(null), Ne = d(1), ce = d(1), W = d(!1);
@@ -558,7 +558,7 @@ const ll = {
558
558
  }),
559
559
  onClick: Fe
560
560
  }, [
561
- Jt(el, {
561
+ Yt(el, {
562
562
  name: "refresh",
563
563
  stroke: n.textColor
564
564
  }, null, 8, ["stroke"])
@@ -681,7 +681,7 @@ const ll = {
681
681
  opacity: n.minimapSelectedColorOpacity
682
682
  })
683
683
  }, null, 12, fl),
684
- E.value !== null && !F.value ? (u(), i("line", Yt(qt({ key: 3 }, Dt.value)), null, 16)) : m("", !0),
684
+ E.value !== null && !F.value ? (u(), i("line", Jt(qt({ key: 3 }, Dt.value)), null, 16)) : m("", !0),
685
685
  !n.minimapMerged && Mt.value < 0 ? (u(), i("line", {
686
686
  key: 4,
687
687
  class: "slicer-minimap-zero-line",
@@ -856,7 +856,7 @@ const ll = {
856
856
  onMouseup: l[1] || (l[1] = (r) => F.value = !1),
857
857
  onMouseenter: (r) => Pt(t),
858
858
  onMouseleave: l[2] || (l[2] = (r) => {
859
- E.value = null, Y("trapMouse", null);
859
+ E.value = null, J("trapMouse", null);
860
860
  })
861
861
  }, null, 44, Bl))), 256))
862
862
  ], 8, il))
@@ -866,7 +866,7 @@ const ll = {
866
866
  style: L({ visibility: b.value && n.minimapCompact ? "hidden" : "visible" })
867
867
  }, null, 4),
868
868
  P("div", {
869
- class: J({
869
+ class: Y({
870
870
  "range-highlight": !0,
871
871
  move: n.enableSelectionDrag
872
872
  }),
@@ -883,7 +883,7 @@ const ll = {
883
883
  ref_key: "rangeStart",
884
884
  ref: ke,
885
885
  type: "range",
886
- class: J({
886
+ class: Y({
887
887
  "range-left": !0,
888
888
  "range-handle": !0,
889
889
  "range-minimap": b.value && n.verticalHandles,
@@ -907,7 +907,7 @@ const ll = {
907
907
  ref_key: "rangeEnd",
908
908
  ref: we,
909
909
  type: "range",
910
- class: J({
910
+ class: Y({
911
911
  "range-right": !0,
912
912
  "range-handle": !0,
913
913
  "range-minimap": b.value && n.verticalHandles,
@@ -930,7 +930,7 @@ const ll = {
930
930
  key: 3,
931
931
  ref_key: "tooltipLeft",
932
932
  ref: le,
933
- class: J({
933
+ class: Y({
934
934
  "range-tooltip": !0,
935
935
  "range-tooltip-visible": W.value,
936
936
  "range-tooltip-arrow": N.value.arrowLeft && !n.verticalHandles,
@@ -949,7 +949,7 @@ const ll = {
949
949
  (ne.value || n.labelLeft === n.labelRight) && (n.labelLeft || n.labelRight) ? (u(), i("div", {
950
950
  key: 4,
951
951
  ref: "tooltipMerge",
952
- class: J({
952
+ class: Y({
953
953
  "range-tooltip": !0,
954
954
  "range-tooltip-visible": W.value,
955
955
  "range-tooltip-arrow": !0,
@@ -970,7 +970,7 @@ const ll = {
970
970
  key: 5,
971
971
  ref_key: "tooltipRight",
972
972
  ref: ae,
973
- class: J({
973
+ class: Y({
974
974
  "range-tooltip": !0,
975
975
  "range-tooltip-visible": W.value,
976
976
  "range-tooltip-arrow": N.value.arrowRight && !n.verticalHandles,
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as el, computed as s, ref as h, watch as Q, onMounted as tl, onBeforeUnmount as Ve, onUpdated as ct, nextTick as xe, createElementBlock as n, openBlock as i, createElementVNode as $, createCommentVNode as c, renderSlot as vt, normalizeStyle as F, createVNode as ll, withDirectives as mt, unref as pe, Fragment as g, renderList as S, normalizeProps as ht, mergeProps as dt, normalizeClass as _, withKeys as ft, vModelText as gt, toDisplayString as De } from "vue";
2
- import { c as al, G as nl, X as il, J as ze, y as yt, z as xt, A as pt, B as bt, am as Mt } from "./lib-C_mNZmhD.js";
2
+ import { c as al, x as nl, X as il, w as ze, y as yt, z as xt, A as pt, B as bt, C as Mt } from "./lib-C5BH09_g.js";
3
3
  import { t as We, d as ul, u as ol } from "./useResponsive-DfdjqQps.js";
4
- import rl from "./BaseIcon-DLFL0M4-.js";
4
+ import rl from "./BaseIcon-CofSxalQ.js";
5
5
  import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const cl = {
7
7
  class: "vue-data-ui-slicer-labels",