vue-data-ui 3.17.3 → 3.17.5

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 (261) hide show
  1. package/README.md +228 -228
  2. package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
  3. package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
  4. package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
  5. package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
  6. package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
  7. package/dist/{BaseScanner-BhhkKVoj.js → BaseScanner-C2j3TsSY.js} +15 -9
  8. package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
  9. package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
  10. package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
  11. package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
  12. package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
  13. package/dist/{PackageVersion-DP_kfXUM.js → PackageVersion-BjeuEImy.js} +1 -1
  14. package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
  15. package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
  16. package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
  17. package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
  18. package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
  19. package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
  20. package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
  21. package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
  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-history-plot.js +1 -1
  49. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  50. package/dist/components/vue-ui-icon.js +1 -1
  51. package/dist/components/vue-ui-kpi.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-pattern-seed.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-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
  93. package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
  94. package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
  95. package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
  96. package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
  97. package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
  98. package/dist/{patternUtils-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
  99. package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/arrow.d.ts +1 -1
  102. package/dist/types/utils.d.ts +499 -498
  103. package/dist/types/vue-data-ui.d.ts +2115 -1787
  104. package/dist/types/vue-ui-3d-bar.d.ts +10 -7
  105. package/dist/types/vue-ui-accordion.d.ts +2 -4
  106. package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
  107. package/dist/types/vue-ui-annotator.d.ts +3 -3
  108. package/dist/types/vue-ui-bullet.d.ts +10 -7
  109. package/dist/types/vue-ui-bump.d.ts +9 -6
  110. package/dist/types/vue-ui-candlestick.d.ts +10 -7
  111. package/dist/types/vue-ui-carousel-table.d.ts +2 -2
  112. package/dist/types/vue-ui-chestnut.d.ts +9 -6
  113. package/dist/types/vue-ui-chord.d.ts +10 -7
  114. package/dist/types/vue-ui-circle-pack.d.ts +10 -7
  115. package/dist/types/vue-ui-cursor.d.ts +2 -2
  116. package/dist/types/vue-ui-dag.d.ts +10 -7
  117. package/dist/types/vue-ui-dashboard.d.ts +3 -3
  118. package/dist/types/vue-ui-digits.d.ts +2 -2
  119. package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
  120. package/dist/types/vue-ui-donut.d.ts +11 -8
  121. package/dist/types/vue-ui-dumbbell.d.ts +11 -8
  122. package/dist/types/vue-ui-flow.d.ts +11 -8
  123. package/dist/types/vue-ui-funnel.d.ts +11 -8
  124. package/dist/types/vue-ui-galaxy.d.ts +11 -8
  125. package/dist/types/vue-ui-gauge.d.ts +11 -8
  126. package/dist/types/vue-ui-geo.d.ts +13 -6
  127. package/dist/types/vue-ui-gizmo.d.ts +2 -5
  128. package/dist/types/vue-ui-heatmap.d.ts +11 -8
  129. package/dist/types/vue-ui-history-plot.d.ts +11 -8
  130. package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
  131. package/dist/types/vue-ui-icon.d.ts +2 -4
  132. package/dist/types/vue-ui-kpi.d.ts +2 -4
  133. package/dist/types/vue-ui-mini-loader.d.ts +4 -4
  134. package/dist/types/vue-ui-molecule.d.ts +11 -8
  135. package/dist/types/vue-ui-mood-radar.d.ts +11 -8
  136. package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
  137. package/dist/types/vue-ui-onion.d.ts +11 -8
  138. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
  139. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  140. package/dist/types/vue-ui-pattern.d.ts +2 -4
  141. package/dist/types/vue-ui-quadrant.d.ts +11 -8
  142. package/dist/types/vue-ui-quick-chart.d.ts +11 -8
  143. package/dist/types/vue-ui-radar.d.ts +11 -8
  144. package/dist/types/vue-ui-rating.d.ts +4 -4
  145. package/dist/types/vue-ui-relation-circle.d.ts +11 -8
  146. package/dist/types/vue-ui-ridgeline.d.ts +11 -8
  147. package/dist/types/vue-ui-rings.d.ts +11 -8
  148. package/dist/types/vue-ui-scatter.d.ts +11 -8
  149. package/dist/types/vue-ui-skeleton.d.ts +2 -4
  150. package/dist/types/vue-ui-smiley.d.ts +2 -5
  151. package/dist/types/vue-ui-spark-trend.d.ts +2 -4
  152. package/dist/types/vue-ui-sparkbar.d.ts +4 -4
  153. package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
  154. package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
  155. package/dist/types/vue-ui-sparkline.d.ts +4 -4
  156. package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
  157. package/dist/types/vue-ui-stackbar.d.ts +11 -8
  158. package/dist/types/vue-ui-stackline.d.ts +11 -8
  159. package/dist/types/vue-ui-strip-plot.d.ts +11 -8
  160. package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
  161. package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
  162. package/dist/types/vue-ui-table.d.ts +4 -4
  163. package/dist/types/vue-ui-thermometer.d.ts +11 -8
  164. package/dist/types/vue-ui-timer.d.ts +2 -4
  165. package/dist/types/vue-ui-tiremarks.d.ts +11 -8
  166. package/dist/types/vue-ui-treemap.d.ts +11 -8
  167. package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
  168. package/dist/types/vue-ui-waffle.d.ts +11 -8
  169. package/dist/types/vue-ui-wheel.d.ts +11 -8
  170. package/dist/types/vue-ui-word-cloud.d.ts +11 -8
  171. package/dist/types/vue-ui-world.d.ts +11 -8
  172. package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
  173. package/dist/types/vue-ui-xy.d.ts +9 -6
  174. package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
  175. package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
  176. package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
  177. package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
  178. package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
  179. package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
  180. package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
  181. package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
  182. package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
  183. package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
  184. package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
  185. package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
  186. package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
  187. package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
  188. package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
  189. package/dist/utils.js +4 -4
  190. package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-sUtQffE5.js} +138 -72
  191. package/dist/vue-data-ui.js +74 -74
  192. package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-D9T1Rz8K.js} +328 -101
  193. package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
  194. package/dist/{vue-ui-age-pyramid-B6S8XYmi.js → vue-ui-age-pyramid-vHYpqVeE.js} +180 -73
  195. package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
  196. package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-B-PfDV7g.js} +92 -35
  197. package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-CpQyyxzJ.js} +205 -102
  198. package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-B5wVhTFS.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BwrTmEUk.js} +66 -29
  200. package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-DpwRmult.js} +277 -88
  201. package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-Co8hJS-b.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-CF6Dgnfc.js} +196 -111
  203. package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-DH_wY_tf.js} +14 -7
  204. package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DNbCfrdq.js} +261 -99
  205. package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BCpIGFXu.js} +261 -94
  206. package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D6ndc1-Y.js} +6 -6
  207. package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-CHDVQ77G.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-BHGQCixS.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-Bmr188oI.js} +266 -93
  210. package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-Bk4XhCzv.js} +121 -48
  211. package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BrNSApwi.js} +91 -39
  212. package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-Q5iomgg7.js} +161 -69
  213. package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-BaWqd5eR.js} +95 -37
  214. package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-BvySgBl9.js} +113 -43
  215. package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-B9wHNMWI.js} +25 -12
  216. package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-CHmJrc5H.js} +316 -125
  217. package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-DlDV_-XR.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-DDj9N2Df.js} +151 -56
  219. package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CT4lahy2.js} +35 -14
  220. package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
  221. package/dist/{vue-ui-molecule-C2wW_JqJ.js → vue-ui-molecule-BiixieE_.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DPBpYEDx.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-DegYxm8S.js} +196 -89
  224. package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-D4hRf3z7.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-DZ015lrs.js} +262 -84
  226. package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
  227. package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-BG8B3jz-.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BzNfX1Ry.js} +445 -150
  229. package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-Bjl5EavN.js} +186 -68
  230. package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
  231. package/dist/{vue-ui-relation-circle-D3jsasRD.js → vue-ui-relation-circle-CK6hnanW.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ClC-DGEI.js} +349 -85
  233. package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-BtDpfeuS.js} +179 -81
  234. package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-CnUnzVb4.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-CWW9zQ2I.js} +161 -144
  236. package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
  237. package/dist/{vue-ui-spark-trend-exj63CUB.js → vue-ui-spark-trend-DMTsPJrB.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-CNRgbyb6.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-DXOELREA.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-B83Tb5ee.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-PLYMeA9O.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-C-UNOmDZ.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-CcVtuQTN.js} +482 -169
  244. package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-C6c2nPQM.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-iwjHwBgZ.js} +239 -132
  246. package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-CfhBUYL5.js} +339 -122
  247. package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
  248. package/dist/{vue-ui-table-sparkline-DHPemUVJ.js → vue-ui-table-sparkline-BZb8f2RN.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-CR4tSQWQ.js} +129 -48
  250. package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-DubcPvRK.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-CFnJT7Pn.js} +90 -35
  252. package/dist/vue-ui-treemap--bugssUn.js +1748 -0
  253. package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-K9ojC2iZ.js} +206 -87
  254. package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-TgOkrNNt.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-B77SnVWg.js} +443 -350
  256. package/dist/vue-ui-world-Y0yBodxT.js +14451 -0
  257. package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cs4_NqXo.js} +840 -252
  258. package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BeHqxTFy.js} +448 -159
  259. package/package.json +120 -119
  260. package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
  261. package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
@@ -1,7 +1,7 @@
1
1
  import { ref as u, computed as ge, onMounted as ze, nextTick as Xe, onBeforeUnmount as Ye, watch as ee, openBlock as g, createElementBlock as y, Fragment as J, normalizeStyle as C, normalizeClass as M, createElementVNode as $, createVNode as P, toDisplayString as ye, unref as xe, withDirectives as we, vModelText as ke, createCommentVNode as R, withModifiers as be, renderList as me } from "vue";
2
- import { j as Ce, x as We, l as Re, X as U } from "./lib-DBptbyyI.js";
3
- import q from "./BaseIcon-Cb3zzG6s.js";
4
- import { C as Ue } from "./ColorPicker-B0mV4xzu.js";
2
+ import { j as Ce, x as We, l as Re, X as U } from "./lib-DMzrGQHK.js";
3
+ import q from "./BaseIcon-DX0hTWa-.js";
4
+ import { C as Ue } from "./ColorPicker-bAxGcXK0.js";
5
5
  import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy", "r", "fill"], Ge = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], He = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "marker-end"], Oe = ["d", "stroke", "stroke-width"], Qe = ["x", "y", "fill", "font-size"], je = ["x", "dy"], Je = ["d", "stroke", "stroke-width"], Ze = {
7
7
  __name: "NonSvgPenAndPaper",
@@ -56,9 +56,15 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
56
56
  if (!v.value || a.value !== "text" || V.value) return;
57
57
  const { x: t, y: e } = De(n);
58
58
  F.value = { x: t, y: e }, D.value = [""], z.value = { row: 0, col: 0 };
59
- const l = document.createElementNS("http://www.w3.org/2000/svg", "text");
59
+ const l = document.createElementNS(
60
+ "http://www.w3.org/2000/svg",
61
+ "text"
62
+ );
60
63
  l.setAttribute("x", t), l.setAttribute("y", e), l.setAttribute("fill", A.value), l.setAttribute("font-size", L.value), l.setAttribute("font-family", "sans-serif"), l.setAttribute("class", "vue-data-ui-doodle"), l.setAttribute("dominant-baseline", "hanging"), l.setAttribute("pointer-events", "all");
61
- const r = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
64
+ const r = document.createElementNS(
65
+ "http://www.w3.org/2000/svg",
66
+ "tspan"
67
+ );
62
68
  r.setAttribute("x", t), r.setAttribute("dy", "0"), r.textContent = "", l.appendChild(r), l.style.pointerEvents = "none", l.style.userSelect = "none", v.value.appendChild(l), x.value = l, V.value = !0, window.addEventListener("keydown", re), window.addEventListener("mousedown", ue, !0), ae(), oe();
63
69
  }
64
70
  function re(n) {
@@ -97,7 +103,10 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
97
103
  const n = x.value, { x: t, y: e } = F.value;
98
104
  for (; n.firstChild; ) n.removeChild(n.firstChild);
99
105
  D.value.forEach((l, r) => {
100
- const o = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
106
+ const o = document.createElementNS(
107
+ "http://www.w3.org/2000/svg",
108
+ "tspan"
109
+ );
101
110
  o.setAttribute("x", t), o.setAttribute("dy", r === 0 ? "0" : `${L.value * 1.2}`), o.textContent = l.length ? l : "​", n.appendChild(o);
102
111
  });
103
112
  }
@@ -110,12 +119,18 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
110
119
  if (!d) return;
111
120
  let h = d.textContent.slice(0, o);
112
121
  h.endsWith(" ") && (h += " ");
113
- const f = document.createElementNS("http://www.w3.org/2000/svg", "text");
122
+ const f = document.createElementNS(
123
+ "http://www.w3.org/2000/svg",
124
+ "text"
125
+ );
114
126
  f.setAttribute("x", e), f.setAttribute("y", l), f.setAttribute("font-size", i), f.setAttribute("font-family", "sans-serif"), f.textContent = h || "", v.value.appendChild(f);
115
127
  const w = f.getBBox();
116
128
  v.value.removeChild(f);
117
129
  let k = l + r * i * 1.2, N = e + w.width;
118
- const b = document.createElementNS("http://www.w3.org/2000/svg", "rect");
130
+ const b = document.createElementNS(
131
+ "http://www.w3.org/2000/svg",
132
+ "rect"
133
+ );
119
134
  b.setAttribute("x", N), b.setAttribute("y", k), b.setAttribute("width", 1), b.setAttribute("height", i), b.setAttribute("fill", A.value), b.setAttribute("class", "vue-data-ui-svg-caret"), v.value.appendChild(b);
120
135
  }
121
136
  function ue(n) {
@@ -170,7 +185,9 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
170
185
  },
171
186
  { immediate: !0 }
172
187
  ), ee(a, (n) => {
173
- p.value && (p.value.removeEventListener("mousedown", G), p.value.removeEventListener("touchstart", G), n === "text" && (p.value.addEventListener("mousedown", G), p.value.addEventListener("touchstart", G, { passive: !1 })));
188
+ p.value && (p.value.removeEventListener("mousedown", G), p.value.removeEventListener("touchstart", G), n === "text" && (p.value.addEventListener("mousedown", G), p.value.addEventListener("touchstart", G, {
189
+ passive: !1
190
+ })));
174
191
  });
175
192
  const X = u(!1), Y = u(""), p = u(null), O = u(!1), ie = u(null);
176
193
  ee(
@@ -205,7 +222,10 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
205
222
  if (n.cancelable && n.preventDefault(), !["line", "arrow"].includes(a.value) || !p.value || !v.value) return;
206
223
  a.value === "arrow" && Le(), O.value = !0;
207
224
  const { x: t, y: e } = W(n);
208
- ie.value = { x: t, y: e }, c.value = document.createElementNS(U, "line"), c.value.setAttribute("x1", t), c.value.setAttribute("y1", e), c.value.setAttribute("x2", t), c.value.setAttribute("y2", e), c.value.setAttribute("stroke", A.value), c.value.setAttribute("stroke-width", T.value), c.value.setAttribute("stroke-linecap", "round"), c.value.setAttribute("class", "vue-data-ui-doodle"), a.value === "arrow" && c.value.setAttribute("marker-end", `url(#${K.value})`), v.value.appendChild(c.value);
225
+ ie.value = { x: t, y: e }, c.value = document.createElementNS(U, "line"), c.value.setAttribute("x1", t), c.value.setAttribute("y1", e), c.value.setAttribute("x2", t), c.value.setAttribute("y2", e), c.value.setAttribute("stroke", A.value), c.value.setAttribute("stroke-width", T.value), c.value.setAttribute("stroke-linecap", "round"), c.value.setAttribute("class", "vue-data-ui-doodle"), a.value === "arrow" && c.value.setAttribute(
226
+ "marker-end",
227
+ `url(#${K.value})`
228
+ ), v.value.appendChild(c.value);
209
229
  }
210
230
  function fe(n) {
211
231
  if (n.cancelable && n.preventDefault(), !["line", "arrow"].includes(a.value) || !O.value || !c.value) return;
@@ -234,7 +254,9 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
234
254
  const e = t.slice(1).map(Number);
235
255
  if (e.length % 2 !== 0)
236
256
  return n;
237
- const l = Be(e), r = [`M ${l[0]} ${l[1]}`];
257
+ const l = Be(e), r = [
258
+ `M ${l[0]} ${l[1]}`
259
+ ];
238
260
  for (let d = 2; d < l.length - 2; d += 2) {
239
261
  const h = l[d - 2], f = l[d - 1], w = l[d], k = l[d + 1], N = (h + w) / 2, b = (f + k) / 2;
240
262
  r.push(`Q ${h} ${f} ${N} ${b}`);
@@ -545,7 +567,7 @@ const Ve = ["disabled"], Ie = ["data-mode", "xmlns", "viewBox"], Ke = ["cx", "cy
545
567
  ], 42, Ie))
546
568
  ], 64));
547
569
  }
548
- }, rt = /* @__PURE__ */ qe(Ze, [["__scopeId", "data-v-ea4aacae"]]);
570
+ }, rt = /* @__PURE__ */ qe(Ze, [["__scopeId", "data-v-3cfee988"]]);
549
571
  export {
550
572
  rt as default
551
573
  };
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, toDisplayString as o, unref as r } from "vue";
2
- const n = "3.17.3", a = { "aria-hidden": "true" }, p = {
2
+ const n = "3.17.5", a = { "aria-hidden": "true" }, p = {
3
3
  __name: "PackageVersion",
4
4
  setup(s) {
5
5
  return (c, i) => (e(), t("desc", a, "Composed with Vue Data UI " + o(r(n)), 1));
@@ -1,7 +1,7 @@
1
1
  import { ref as v, computed as be, watch as U, nextTick as re, onMounted as Fe, onBeforeUnmount as Ie, openBlock as se, createElementBlock as ue, normalizeStyle as x, createElementVNode as B, renderSlot as M, createVNode as T, withCtx as Qe, normalizeProps as K, guardReactiveProps as X, normalizeClass as ne, toDisplayString as Ve, unref as Ue, withDirectives as we, vModelText as ye, createCommentVNode as Ke } from "vue";
2
- import Y from "./BaseIcon-Cb3zzG6s.js";
3
- import { C as Xe } from "./ColorPicker-B0mV4xzu.js";
4
- import { j as xe, x as Ye, l as Ge, X as G } from "./lib-DBptbyyI.js";
2
+ import Y from "./BaseIcon-DX0hTWa-.js";
3
+ import { C as Xe } from "./ColorPicker-bAxGcXK0.js";
4
+ import { j as xe, x as Ye, l as Ge, X as G } from "./lib-DMzrGQHK.js";
5
5
  const qe = ["disabled"], je = {
6
6
  __name: "PenAndPaper",
7
7
  props: {
@@ -37,7 +37,9 @@ const qe = ["disabled"], je = {
37
37
  text: "text",
38
38
  line: "plotLine",
39
39
  draw: "annotator"
40
- }, Ee = v("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");
40
+ }, Ee = v(
41
+ "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"
42
+ );
41
43
  function Re() {
42
44
  H.value + 1 >= ve.length ? H.value = 0 : H.value += 1;
43
45
  }
@@ -45,9 +47,15 @@ const qe = ["disabled"], je = {
45
47
  if (!r.value || g.value !== "text" || z.value) return;
46
48
  const { x: e, y: a } = S(t);
47
49
  le.value = { x: e, y: a }, I.value = [""], Q.value = { row: 0, col: 0 }, V.value = !1;
48
- const n = document.createElementNS("http://www.w3.org/2000/svg", "text");
50
+ const n = document.createElementNS(
51
+ "http://www.w3.org/2000/svg",
52
+ "text"
53
+ );
49
54
  n.setAttribute("x", e), n.setAttribute("y", a), n.setAttribute("fill", E.value), n.setAttribute("font-size", D.value * l.scale), n.setAttribute("font-family", "sans-serif"), n.setAttribute("class", "vue-data-ui-doodle"), n.setAttribute("dominant-baseline", "hanging"), n.setAttribute("pointer-events", "all");
50
- const o = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
55
+ const o = document.createElementNS(
56
+ "http://www.w3.org/2000/svg",
57
+ "tspan"
58
+ );
51
59
  o.setAttribute("x", e), o.setAttribute("dy", "0"), o.textContent = "", n.appendChild(o), n.style.pointerEvents = "none", n.style.userSelect = "none", r.value.appendChild(n), m.value = n, z.value = !0, window.addEventListener("keydown", ce), window.addEventListener("mousedown", ge, !0), de(), fe();
52
60
  }
53
61
  function ce(t) {
@@ -86,8 +94,14 @@ const qe = ["disabled"], je = {
86
94
  const t = m.value, { x: e } = le.value;
87
95
  for (; t.firstChild; ) t.removeChild(t.firstChild);
88
96
  I.value.forEach((a, n) => {
89
- const o = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
90
- o.setAttribute("x", e), o.setAttribute("dy", n === 0 ? "0" : `${D.value * 1.2 * l.scale}`), o.textContent = a.length ? a : "​", t.appendChild(o);
97
+ const o = document.createElementNS(
98
+ "http://www.w3.org/2000/svg",
99
+ "tspan"
100
+ );
101
+ o.setAttribute("x", e), o.setAttribute(
102
+ "dy",
103
+ n === 0 ? "0" : `${D.value * 1.2 * l.scale}`
104
+ ), o.textContent = a.length ? a : "​", t.appendChild(o);
91
105
  });
92
106
  }
93
107
  const O = v(null);
@@ -114,11 +128,17 @@ const qe = ["disabled"], je = {
114
128
  if (!c) return;
115
129
  let p = c.textContent.slice(0, s);
116
130
  p.endsWith(" ") && (p += " ");
117
- const d = document.createElementNS("http://www.w3.org/2000/svg", "text");
131
+ const d = document.createElementNS(
132
+ "http://www.w3.org/2000/svg",
133
+ "text"
134
+ );
118
135
  d.setAttribute("x", a), d.setAttribute("y", n), d.setAttribute("font-size", u), d.setAttribute("font-family", "sans-serif"), d.textContent = p || "", r.value.appendChild(d);
119
136
  const A = d.getBBox();
120
137
  r.value.removeChild(d);
121
- const b = n + o * u * 1.2, $ = a + A.width, h = document.createElementNS("http://www.w3.org/2000/svg", "rect");
138
+ const b = n + o * u * 1.2, $ = a + A.width, h = document.createElementNS(
139
+ "http://www.w3.org/2000/svg",
140
+ "rect"
141
+ );
122
142
  h.setAttribute("x", $), h.setAttribute("y", b), h.setAttribute("rx", 1), h.setAttribute("width", 2), h.setAttribute("height", u), h.setAttribute("fill", E.value), h.setAttribute("class", "vue-data-ui-svg-caret"), r.value.appendChild(h), Se(h);
123
143
  }
124
144
  function ge(t) {
@@ -144,7 +164,10 @@ const qe = ["disabled"], je = {
144
164
  if (!r.value) return;
145
165
  const t = r.value.querySelector(".vue-data-ui-mask");
146
166
  if (t && r.value.removeChild(t), l.active) {
147
- const e = document.createElementNS("http://www.w3.org/2000/svg", "rect");
167
+ const e = document.createElementNS(
168
+ "http://www.w3.org/2000/svg",
169
+ "rect"
170
+ );
148
171
  e.setAttribute("class", "vue-data-ui-mask"), e.setAttribute("width", "100%"), e.setAttribute("height", "100%"), e.setAttribute("fill", "transparent"), e.setAttribute("pointer-events", "all"), r.value.insertBefore(e, r.value.firstChild);
149
172
  }
150
173
  }
@@ -163,7 +186,9 @@ const qe = ["disabled"], je = {
163
186
  const a = e.slice(1).map(Number);
164
187
  if (a.length % 2 !== 0)
165
188
  return t;
166
- const n = Be(a), o = [`M ${n[0]} ${n[1]}`];
189
+ const n = Be(a), o = [
190
+ `M ${n[0]} ${n[1]}`
191
+ ];
167
192
  for (let c = 2; c < n.length - 2; c += 2) {
168
193
  const p = n[c - 2], d = n[c - 1], A = n[c], b = n[c + 1], $ = (p + A) / 2, h = (d + b) / 2;
169
194
  o.push(`Q ${p} ${d} ${$} ${h}`);
@@ -208,7 +233,10 @@ const qe = ["disabled"], je = {
208
233
  if (t.cancelable && t.preventDefault(), g.value !== "draw" || !l.active || !r.value) return;
209
234
  k.value = !0;
210
235
  const { x: e, y: a } = S(t);
211
- F.value = { x: e, y: a }, q.value = `M ${e} ${a}`, y.value = document.createElementNS(G, "path"), y.value.setAttribute("stroke", E.value), y.value.setAttribute("stroke-width", N.value * l.scale), y.value.setAttribute("fill", "none"), y.value.setAttribute("stroke-linecap", "round"), y.value.setAttribute("stroke-linejoin", "round"), y.value.setAttribute("class", "vue-data-ui-doodle"), r.value.appendChild(y.value);
236
+ F.value = { x: e, y: a }, q.value = `M ${e} ${a}`, y.value = document.createElementNS(G, "path"), y.value.setAttribute("stroke", E.value), y.value.setAttribute(
237
+ "stroke-width",
238
+ N.value * l.scale
239
+ ), y.value.setAttribute("fill", "none"), y.value.setAttribute("stroke-linecap", "round"), y.value.setAttribute("stroke-linejoin", "round"), y.value.setAttribute("class", "vue-data-ui-doodle"), r.value.appendChild(y.value);
212
240
  }
213
241
  function Z(t) {
214
242
  if (t.cancelable && t.preventDefault(), !k.value || !r.value || !y.value) return;
@@ -229,10 +257,17 @@ const qe = ["disabled"], je = {
229
257
  if (t.cancelable && t.preventDefault(), !["line", "arrow"].includes(g.value) || !l.active || !r.value) return;
230
258
  g.value === "arrow" && De(), k.value = !0;
231
259
  const { x: e, y: a } = S(t);
232
- F.value = { x: e, y: a }, f.value = document.createElementNS(G, "line"), f.value.setAttribute("stroke", E.value), f.value.setAttribute("stroke-width", N.value * l.scale), f.value.setAttribute("stroke-linecap", "round"), f.value.setAttribute("class", "vue-data-ui-doodle"), f.value.setAttribute("x1", e), f.value.setAttribute("y1", a), f.value.setAttribute("x2", e), f.value.setAttribute("y2", a), g.value === "arrow" && f.value.setAttribute("marker-end", `url(#${ae.value})`), r.value.appendChild(f.value);
260
+ F.value = { x: e, y: a }, f.value = document.createElementNS(G, "line"), f.value.setAttribute("stroke", E.value), f.value.setAttribute(
261
+ "stroke-width",
262
+ N.value * l.scale
263
+ ), f.value.setAttribute("stroke-linecap", "round"), f.value.setAttribute("class", "vue-data-ui-doodle"), f.value.setAttribute("x1", e), f.value.setAttribute("y1", a), f.value.setAttribute("x2", e), f.value.setAttribute("y2", a), g.value === "arrow" && f.value.setAttribute(
264
+ "marker-end",
265
+ `url(#${ae.value})`
266
+ ), r.value.appendChild(f.value);
233
267
  }
234
268
  function ee(t) {
235
- if (t.cancelable && t.preventDefault(), !["line", "arrow"].includes(g.value) || !k.value || !r.value || !f.value) return;
269
+ if (t.cancelable && t.preventDefault(), !["line", "arrow"].includes(g.value) || !k.value || !r.value || !f.value)
270
+ return;
236
271
  const { x: e, y: a } = S(t);
237
272
  f.value.setAttribute("x2", e), f.value.setAttribute("y2", a);
238
273
  }
@@ -247,11 +282,17 @@ const qe = ["disabled"], je = {
247
282
  if (k.value && r.value && y.value) {
248
283
  const { x: e, y: a } = S(t);
249
284
  if (F.value && F.value.x === e && F.value.y === a) {
250
- const n = document.createElementNS("http://www.w3.org/2000/svg", "circle");
285
+ const n = document.createElementNS(
286
+ "http://www.w3.org/2000/svg",
287
+ "circle"
288
+ );
251
289
  n.setAttribute("cx", e), n.setAttribute("cy", a), n.setAttribute("r", N.value * l.scale / 2), n.setAttribute("fill", E.value), n.setAttribute("class", "vue-data-ui-doodle"), r.value.appendChild(n), w.value.push(n);
252
290
  } else {
253
291
  const n = y.value;
254
- n.setAttribute("d", Ne($e(q.value))), w.value.push(n);
292
+ n.setAttribute(
293
+ "d",
294
+ Ne($e(q.value))
295
+ ), w.value.push(n);
255
296
  }
256
297
  C.value = [], y.value = "";
257
298
  }
@@ -276,18 +317,32 @@ const qe = ["disabled"], je = {
276
317
  l.active && (te(), pe(), he());
277
318
  });
278
319
  function pe() {
279
- !l.svgRef || !l.active || (g.value === "draw" ? (l.svgRef.addEventListener("mousedown", J), l.svgRef.addEventListener("mousemove", Z), l.svgRef.addEventListener("mouseup", L), l.svgRef.addEventListener("mouseleave", L), l.svgRef.addEventListener("touchstart", J, { passive: !1 }), l.svgRef.addEventListener("touchmove", Z, { passive: !1 }), l.svgRef.addEventListener("touchend", L), l.svgRef.addEventListener("touchcancel", L)) : ["line", "arrow"].includes(g.value) ? (l.svgRef.addEventListener("mousedown", _), l.svgRef.addEventListener("mousemove", ee), l.svgRef.addEventListener("mouseup", P), l.svgRef.addEventListener("touchstart", _, { passive: !1 }), l.svgRef.addEventListener("touchmove", ee, { passive: !1 }), l.svgRef.addEventListener("touchend", P), l.svgRef.addEventListener("touchcancel", P)) : g.value === "text" && (l.svgRef.addEventListener("mousedown", W), l.svgRef.addEventListener("touchstart", W, { passive: !1 })), r.value && (r.value.style.pointerEvents = "auto"));
320
+ !l.svgRef || !l.active || (g.value === "draw" ? (l.svgRef.addEventListener("mousedown", J), l.svgRef.addEventListener("mousemove", Z), l.svgRef.addEventListener("mouseup", L), l.svgRef.addEventListener("mouseleave", L), l.svgRef.addEventListener("touchstart", J, {
321
+ passive: !1
322
+ }), l.svgRef.addEventListener("touchmove", Z, { passive: !1 }), l.svgRef.addEventListener("touchend", L), l.svgRef.addEventListener("touchcancel", L)) : ["line", "arrow"].includes(g.value) ? (l.svgRef.addEventListener("mousedown", _), l.svgRef.addEventListener("mousemove", ee), l.svgRef.addEventListener("mouseup", P), l.svgRef.addEventListener("touchstart", _, {
323
+ passive: !1
324
+ }), l.svgRef.addEventListener("touchmove", ee, {
325
+ passive: !1
326
+ }), l.svgRef.addEventListener("touchend", P), l.svgRef.addEventListener("touchcancel", P)) : g.value === "text" && (l.svgRef.addEventListener("mousedown", W), l.svgRef.addEventListener("touchstart", W, {
327
+ passive: !1
328
+ })), r.value && (r.value.style.pointerEvents = "auto"));
280
329
  }
281
330
  function te() {
282
331
  l.svgRef && (l.svgRef.removeEventListener("mousedown", J), l.svgRef.removeEventListener("mousemove", Z), l.svgRef.removeEventListener("mouseup", L), l.svgRef.removeEventListener("mouseleave", L), l.svgRef.removeEventListener("touchstart", J), l.svgRef.removeEventListener("touchmove", Z), l.svgRef.removeEventListener("touchend", L), l.svgRef.removeEventListener("touchcancel", L), l.svgRef.removeEventListener("mousedown", _), l.svgRef.removeEventListener("mousemove", ee), l.svgRef.removeEventListener("mouseup", P), l.svgRef.removeEventListener("touchstart", _), l.svgRef.removeEventListener("touchmove", ee), l.svgRef.removeEventListener("touchend", P), l.svgRef.removeEventListener("touchcancel", P), l.svgRef.removeEventListener("mousedown", W), l.svgRef.removeEventListener("touchstart", W), r.value && (r.value.style.pointerEvents = "none"));
283
332
  }
284
- U(() => l.active, (t) => {
285
- t ? pe() : te();
286
- }), U(() => l.active, () => {
287
- re(() => {
288
- me();
289
- });
290
- }), U(
333
+ U(
334
+ () => l.active,
335
+ (t) => {
336
+ t ? pe() : te();
337
+ }
338
+ ), U(
339
+ () => l.active,
340
+ () => {
341
+ re(() => {
342
+ me();
343
+ });
344
+ }
345
+ ), U(
291
346
  () => l.active,
292
347
  (t) => {
293
348
  l.svgRef && (t ? l.svgRef.style.touchAction = "none" : l.svgRef.style.touchAction = "");
@@ -300,7 +355,10 @@ const qe = ["disabled"], je = {
300
355
  const Ae = v(null);
301
356
  return Fe(() => {
302
357
  re(() => {
303
- l.svgRef && (r.value = document.createElementNS("http://www.w3.org/2000/svg", "g"), r.value.setAttribute("class", "vue-data-ui-doodles"), l.svgRef.appendChild(r.value), he(), te());
358
+ l.svgRef && (r.value = document.createElementNS(
359
+ "http://www.w3.org/2000/svg",
360
+ "g"
361
+ ), r.value.setAttribute("class", "vue-data-ui-doodles"), l.svgRef.appendChild(r.value), he(), te());
304
362
  });
305
363
  }), U(
306
364
  () => l.active,
@@ -402,7 +460,9 @@ const qe = ["disabled"], je = {
402
460
  ])
403
461
  ], 14, qe),
404
462
  B("button", {
405
- class: ne(["vue-ui-pen-and-paper-action", { "vue-ui-pen-and-paper-action-disabled": !C.value.length }]),
463
+ class: ne(["vue-ui-pen-and-paper-action", {
464
+ "vue-ui-pen-and-paper-action-disabled": !C.value.length
465
+ }]),
406
466
  onClick: Me,
407
467
  style: x({
408
468
  backgroundColor: i.backgroundColor,
@@ -1,5 +1,5 @@
1
1
  import { computed as u, openBlock as r, createElementBlock as l, normalizeStyle as a, createCommentVNode as d } from "vue";
2
- import { z as f, A as p } from "./lib-DBptbyyI.js";
2
+ import { z as f, A as p } from "./lib-DMzrGQHK.js";
3
3
  const g = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], S = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], w = {
4
4
  __name: "Shape",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as Ot, ref as m, computed as s, onMounted as lt, onBeforeUnmount as $e, watch as U, nextTick as ve, onUpdated as jt, openBlock as i, createElementBlock as o, normalizeStyle as P, createElementVNode as L, renderSlot as Ut, createVNode as Zt, createCommentVNode as c, unref as de, Fragment as b, renderList as $, normalizeProps as Yt, mergeProps as Jt, normalizeClass as Z, withDirectives as at, vModelText as nt, toDisplayString as Ae } from "vue";
2
- import { j as qt, X as Kt, W as Re, L as it, c as ot, M as ut, b as rt, av as st } from "./lib-DBptbyyI.js";
2
+ import { j as qt, X as Kt, W as Re, L as it, c as ot, M as ut, b as rt, av as st } from "./lib-DMzrGQHK.js";
3
3
  import { t as ct, u as Qt, d as _t } from "./useResponsive-DfdjqQps.js";
4
- import el from "./BaseIcon-Cb3zzG6s.js";
4
+ import el from "./BaseIcon-DX0hTWa-.js";
5
5
  import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const ll = ["data-minimap"], al = {
7
7
  class: "vue-data-ui-slicer-labels",
@@ -190,11 +190,11 @@ const ll = ["data-minimap"], al = {
190
190
  emits: ["update:start", "update:end", "reset", "trapMouse"],
191
191
  setup(l, { expose: vt, emit: dt }) {
192
192
  Ot((e) => ({
193
- v10cfc024: gt.value,
194
- ae756ed0: g.value,
195
- v7c350409: xt.value,
196
- ee0aec70: l.selectColor,
197
- v08c4d056: yt.value
193
+ b23d0982: gt.value,
194
+ v3ed703b3: g.value,
195
+ v4316bee4: xt.value,
196
+ v1f0c44e3: l.selectColor,
197
+ v7afd85f1: yt.value
198
198
  }));
199
199
  const n = l, C = m(null), p = m(n.min), S = m(n.max), M = s(() => !!n.allMinimaps.length), Ee = m(qt()), A = s(() => M.value && n.minimapCompact), he = m(0);
200
200
  lt(() => {
@@ -221,7 +221,9 @@ const ll = ["data-minimap"], al = {
221
221
  }
222
222
  const e = Math.max(1, n.max - n.min);
223
223
  return (S.value - n.min) / e * 100;
224
- }), me = s(() => (J.value + re.value) / 2), fe = s(() => {
224
+ }), me = s(
225
+ () => (J.value + re.value) / 2
226
+ ), fe = s(() => {
225
227
  if (!C.value) return !1;
226
228
  const e = C.value.getBoundingClientRect().width;
227
229
  return J.value / 100 * e - Pe.value / 2 < 0;
@@ -254,7 +256,13 @@ const ll = ["data-minimap"], al = {
254
256
  },
255
257
  set(e) {
256
258
  if (A.value) {
257
- const a = Math.round(+e || 0), t = Math.max(0, se(Math.max(0, H.value - 1))), u = Math.min(Math.max(0, a), t), r = Be(u);
259
+ const a = Math.round(+e || 0), t = Math.max(
260
+ 0,
261
+ se(Math.max(0, H.value - 1))
262
+ ), u = Math.min(
263
+ Math.max(0, a),
264
+ t
265
+ ), r = Be(u);
258
266
  _(mt(r));
259
267
  } else {
260
268
  let a = Math.round(+e || 0);
@@ -313,7 +321,10 @@ const ll = ["data-minimap"], al = {
313
321
  }), $e(() => {
314
322
  O.value && O.value.disconnect();
315
323
  });
316
- const K = s(() => Math.max(...n.allMinimaps.map((e) => e.series.length), n.minimap.length || 0)), k = s(() => {
324
+ const K = s(() => Math.max(
325
+ ...n.allMinimaps.map((e) => e.series.length),
326
+ n.minimap.length || 0
327
+ )), k = s(() => {
317
328
  if (!K.value) return 0;
318
329
  const e = Math.max(1, K.value - (n.minimapCompact ? 1 : 0));
319
330
  return f.value.width / e;
@@ -323,7 +334,9 @@ const ll = ["data-minimap"], al = {
323
334
  for (const a of n.allMinimaps)
324
335
  a?.isVisible && Array.isArray(a?.series) && e.push(...a.series.filter(Number.isFinite));
325
336
  return e.length ? { min: Math.min(...e), max: Math.max(...e) } : { min: 0, max: 1 };
326
- }), D = s(() => Fe.value.min), j = s(() => Fe.value.max), Mt = s(() => D.value < 0 && j.value > 0 || j.value <= 0 ? D.value : 0), kt = s(() => Math.max(1e-9, Math.max(Math.abs(D.value), Math.abs(j.value)))), bt = s(() => D.value < 0 && j.value > 0), wt = (e) => {
337
+ }), D = s(() => Fe.value.min), j = s(() => Fe.value.max), Mt = s(() => D.value < 0 && j.value > 0 || j.value <= 0 ? D.value : 0), kt = s(
338
+ () => Math.max(1e-9, Math.max(Math.abs(D.value), Math.abs(j.value)))
339
+ ), bt = s(() => D.value < 0 && j.value > 0), wt = (e) => {
327
340
  const a = Math.max(1, f.value.height);
328
341
  if (bt.value) {
329
342
  const t = kt.value;
@@ -377,7 +390,9 @@ const ll = ["data-minimap"], al = {
377
390
  y0: Gt,
378
391
  i: et
379
392
  };
380
- }), V = (y) => y >= 0 && y < d.length && Number.isFinite(d[y]?.value), X = d.filter((y) => Number.isFinite(y.value) && !V(y.i - 1) && !V(y.i + 1)), Ne = X.filter((y) => y.i >= h && y.i < x), G = d.slice(h, x), zt = d.length >= 2 ? n.smoothMinimap || a ? n.cutNullValues ? it(d) : ot(d.filter((y) => y.value != null)) : n.cutNullValues ? ut(d) : rt(d.filter((y) => y.value != null)) : "", Ht = G.length >= 2 ? n.smoothMinimap || a ? n.cutNullValues ? it(G) : ot(G.filter((y) => y.value != null)) : n.cutNullValues ? ut(G) : rt(G.filter((y) => y.value != null)) : "";
393
+ }), V = (y) => y >= 0 && y < d.length && Number.isFinite(d[y]?.value), X = d.filter(
394
+ (y) => Number.isFinite(y.value) && !V(y.i - 1) && !V(y.i + 1)
395
+ ), Ne = X.filter((y) => y.i >= h && y.i < x), G = d.slice(h, x), zt = d.length >= 2 ? n.smoothMinimap || a ? n.cutNullValues ? it(d) : ot(d.filter((y) => y.value != null)) : n.cutNullValues ? ut(d) : rt(d.filter((y) => y.value != null)) : "", Ht = G.length >= 2 ? n.smoothMinimap || a ? n.cutNullValues ? it(G) : ot(G.filter((y) => y.value != null)) : n.cutNullValues ? ut(G) : rt(G.filter((y) => y.value != null)) : "";
381
396
  return {
382
397
  fullSet: zt,
383
398
  points: d,
@@ -419,13 +434,17 @@ const ll = ["data-minimap"], al = {
419
434
  R.value = _e(n.valueStart) + e;
420
435
  }
421
436
  const St = _t(pt, 60);
422
- U(() => n.minimapSelectedIndex, (e, a) => {
423
- if ([null, void 0].includes(e)) {
424
- R.value = null;
425
- return;
426
- }
427
- e !== a && St(e);
428
- }, { immediate: !0 });
437
+ U(
438
+ () => n.minimapSelectedIndex,
439
+ (e, a) => {
440
+ if ([null, void 0].includes(e)) {
441
+ R.value = null;
442
+ return;
443
+ }
444
+ e !== a && St(e);
445
+ },
446
+ { immediate: !0 }
447
+ );
429
448
  function Lt(e) {
430
449
  R.value = e;
431
450
  const a = F.value, t = H.value;
@@ -440,7 +459,10 @@ const ll = ["data-minimap"], al = {
440
459
  }
441
460
  const pe = s(() => n.valueEnd - n.valueStart), Pt = s(() => pe.value < n.max - n.min), te = m(!1);
442
461
  let Nt = m(null);
443
- const $t = s(() => (he.value - 48) / (n.max - n.min) * pe.value), At = s(() => Math.max(1, he.value - Te - $t.value)), Rt = s(() => Math.max(1, n.max - n.min - pe.value)), Tt = s(() => Rt.value / At.value), Ge = m(0), Se = m(0), Oe = m(0), Et = m(0);
462
+ const $t = s(() => (he.value - 48) / (n.max - n.min) * pe.value), At = s(() => Math.max(
463
+ 1,
464
+ he.value - Te - $t.value
465
+ )), Rt = s(() => Math.max(1, n.max - n.min - pe.value)), Tt = s(() => Rt.value / At.value), Ge = m(0), Se = m(0), Oe = m(0), Et = m(0);
444
466
  let T = null, E = null, B = null, W = null;
445
467
  const je = m(n.min);
446
468
  function Le(e) {
@@ -460,11 +482,16 @@ const ll = ["data-minimap"], al = {
460
482
  je.value = Le(r);
461
483
  const h = Math.min(0.95, Math.max(0.05, n.focusRangeRatio)), x = n.max - n.min, d = Math.max(1, Math.round(x * h)), V = Math.floor(d / 2);
462
484
  let X = je.value - V;
463
- X = Math.max(n.min, Math.min(X, n.max - d));
485
+ X = Math.max(
486
+ n.min,
487
+ Math.min(X, n.max - d)
488
+ );
464
489
  const Ne = Math.min(n.max, X + d);
465
490
  _(X), ee(Ne), st(C.value, "mouseup"), await ve(), st(C.value, "mousedown", { clientX: r });
466
491
  }
467
- Se.value = Number(p.value), Oe.value = Number(S.value), Et.value = Tt.value, T = a ? "touchmove" : "mousemove", E = a ? "touchend" : "mouseup", B = a ? Wt : Bt, W = a ? Ft : It, window.addEventListener(T, B, { passive: !1 }), window.addEventListener(E, W);
492
+ Se.value = Number(p.value), Oe.value = Number(S.value), Et.value = Tt.value, T = a ? "touchmove" : "mousemove", E = a ? "touchend" : "mouseup", B = a ? Wt : Bt, W = a ? Ft : It, window.addEventListener(T, B, {
493
+ passive: !1
494
+ }), window.addEventListener(E, W);
468
495
  };
469
496
  function Bt(e) {
470
497
  te.value && Ze(e.clientX);
@@ -607,10 +634,13 @@ const ll = ["data-minimap"], al = {
607
634
  class: "double-range-slider",
608
635
  ref_key: "minimapWrapper",
609
636
  ref: ke,
610
- style: P([{ "z-index": "0" }, M.value ? {
611
- "--minimap-unit-px": k.value + "px",
612
- "--minimap-offset-px": (l.minimapCompact ? 0 : k.value / 2) + "px"
613
- } : void 0]),
637
+ style: P([
638
+ { "z-index": "0" },
639
+ M.value ? {
640
+ "--minimap-unit-px": k.value + "px",
641
+ "--minimap-offset-px": (l.minimapCompact ? 0 : k.value / 2) + "px"
642
+ } : void 0
643
+ ]),
614
644
  onMouseenter: a[9] || (a[9] = (t) => z.value = !0),
615
645
  onMouseleave: a[10] || (a[10] = (t) => z.value = !1)
616
646
  }, [
@@ -659,7 +689,9 @@ const ll = ["data-minimap"], al = {
659
689
  "stroke-linejoin": "round",
660
690
  style: { opacity: "0.6" }
661
691
  }, null, 8, cl)) : (i(), o(b, { key: 2 }, [
662
- (i(!0), o(b, null, $(Q.value.filter((t) => t.type === "bar"), (t, u) => (i(), o("g", null, [
692
+ (i(!0), o(b, null, $(Q.value.filter(
693
+ (t) => t.type === "bar"
694
+ ), (t, u) => (i(), o("g", null, [
663
695
  (i(!0), o(b, null, $(t.points, (r, h) => (i(), o(b, null, [
664
696
  t.isVisible && !isNaN(r.y) ? (i(), o("rect", {
665
697
  key: 0,
@@ -672,7 +704,9 @@ const ll = ["data-minimap"], al = {
672
704
  }, null, 8, vl)) : c("", !0)
673
705
  ], 64))), 256))
674
706
  ]))), 256)),
675
- (i(!0), o(b, null, $(Q.value.filter((t) => t.type === "line"), (t) => (i(), o("g", {
707
+ (i(!0), o(b, null, $(Q.value.filter(
708
+ (t) => t.type === "line"
709
+ ), (t) => (i(), o("g", {
676
710
  key: String(t.key)
677
711
  }, [
678
712
  t.isVisible ? (i(), o("path", {
@@ -753,7 +787,9 @@ const ll = ["data-minimap"], al = {
753
787
  }, null, 8, Ml)) : c("", !0)
754
788
  ], 64)) : c("", !0)
755
789
  ], 64)) : (i(), o("g", kl, [
756
- (i(!0), o(b, null, $(Q.value.filter((t) => t.type === "bar"), (t, u) => (i(), o("g", null, [
790
+ (i(!0), o(b, null, $(Q.value.filter(
791
+ (t) => t.type === "bar"
792
+ ), (t, u) => (i(), o("g", null, [
757
793
  (i(!0), o(b, null, $(t.points, (r, h) => (i(), o(b, null, [
758
794
  t.isVisible && !isNaN(r.y) ? (i(), o("rect", {
759
795
  key: 0,
@@ -768,7 +804,9 @@ const ll = ["data-minimap"], al = {
768
804
  }, null, 12, bl)) : c("", !0)
769
805
  ], 64))), 256))
770
806
  ]))), 256)),
771
- (i(!0), o(b, null, $(Q.value.filter((t) => t.type === "line"), (t) => (i(), o("g", {
807
+ (i(!0), o(b, null, $(Q.value.filter(
808
+ (t) => t.type === "line"
809
+ ), (t) => (i(), o("g", {
772
810
  key: String(t.key)
773
811
  }, [
774
812
  t && t.hasSelection && t.selectionSet && t.isVisible ? (i(), o("path", {
@@ -904,7 +942,9 @@ const ll = ["data-minimap"], al = {
904
942
  fill: g.value
905
943
  }, null, 8, Il)) : c("", !0)
906
944
  ], 64)) : (i(), o("g", Fl, [
907
- (i(!0), o(b, null, $(Q.value.filter((t) => t.type === "line"), (t) => (i(), o("g", {
945
+ (i(!0), o(b, null, $(Q.value.filter(
946
+ (t) => t.type === "line"
947
+ ), (t) => (i(), o("g", {
908
948
  key: String(t.key)
909
949
  }, [
910
950
  t.isVisible ? (i(!0), o(b, { key: 0 }, $(t.selectionMarkers, (u) => (i(), o("circle", {
@@ -971,7 +1011,9 @@ const ll = ["data-minimap"], al = {
971
1011
  ])) : c("", !0),
972
1012
  L("div", {
973
1013
  class: "slider-track",
974
- style: P({ visibility: M.value && l.minimapCompact ? "hidden" : "visible" })
1014
+ style: P({
1015
+ visibility: M.value && l.minimapCompact ? "hidden" : "visible"
1016
+ })
975
1017
  }, null, 4),
976
1018
  L("div", {
977
1019
  class: Z({
@@ -1097,7 +1139,7 @@ const ll = ["data-minimap"], al = {
1097
1139
  ], 36)
1098
1140
  ], 44, ll));
1099
1141
  }
1100
- }, Ql = /* @__PURE__ */ tl(Ul, [["__scopeId", "data-v-9ff2710f"]]);
1142
+ }, Ql = /* @__PURE__ */ tl(Ul, [["__scopeId", "data-v-f688cd63"]]);
1101
1143
  export {
1102
1144
  Ql as S
1103
1145
  };