vue-data-ui 3.5.2 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +36 -27
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-CofSxalQ.js} +6 -5
  5. package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-BT7VF2ua.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-G6GMcdAc.js → Legend-Web3GjlR.js} +10 -10
  8. package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-D2wm0coO.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-BzH_LEA3.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-CGnQt6Fd.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 +5 -0
  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 +303 -9
  90. package/dist/types/vue-ui-stackline.d.ts +18 -0
  91. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  92. package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CWo6bftQ.js} +535 -329
  93. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  94. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  95. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  96. package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-ByLTJx5V.js} +79 -77
  97. package/dist/vue-data-ui.js +226 -204
  98. package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  99. package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  100. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  101. package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  102. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  103. package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  104. package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  105. package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  106. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  107. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  108. package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  109. package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  110. package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-D382I0-w.js} +2 -2
  111. package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  112. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  113. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  114. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  115. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  116. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  117. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  118. package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  119. package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  120. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  121. package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  122. package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  123. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  124. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  125. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  126. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  127. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  128. package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  129. package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  130. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  131. package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  132. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  133. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  134. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  135. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  136. package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  137. package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  138. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  139. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  140. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  141. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  142. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  143. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  144. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  145. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  146. package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  147. package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-DMM090pe.js} +5 -5
  148. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  149. package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  150. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  151. package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  152. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  153. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  154. package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  155. package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  156. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  157. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  158. package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-CVLlgp2f.js} +57 -57
  159. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  160. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  161. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  162. package/package.json +5 -5
  163. package/dist/themes-AUNCOb2G.js +0 -53
  164. package/dist/vue-ui-age-pyramid-8bUepd28.js +0 -933
  165. package/dist/vue-ui-bullet-BvT4scFv.js +0 -630
  166. package/dist/vue-ui-chord-Dl9Y4mcz.js +0 -1153
  167. package/dist/vue-ui-circle-pack-CU09BzOV.js +0 -803
  168. package/dist/vue-ui-donut-evolution-DiGhMwMO.js +0 -1208
  169. package/dist/vue-ui-dumbbell-BlF3CLbN.js +0 -1231
  170. package/dist/vue-ui-flow-BQi5L8mJ.js +0 -991
  171. package/dist/vue-ui-funnel-CM_6Sare.js +0 -716
  172. package/dist/vue-ui-galaxy-BnZA62Li.js +0 -808
  173. package/dist/vue-ui-gauge-DAk72bez.js +0 -835
  174. package/dist/vue-ui-history-plot-BYQh3E8U.js +0 -1204
  175. package/dist/vue-ui-molecule-Bd1OXvl3.js +0 -753
  176. package/dist/vue-ui-mood-radar-DuoiTsYn.js +0 -903
  177. package/dist/vue-ui-nested-donuts-BTswQFjz.js +0 -1419
  178. package/dist/vue-ui-onion-D-1U2Qgl.js +0 -915
  179. package/dist/vue-ui-parallel-coordinate-plot-D-7VFHas.js +0 -1051
  180. package/dist/vue-ui-radar-BSfxyur3.js +0 -984
  181. package/dist/vue-ui-relation-circle-C7uV2mIj.js +0 -641
  182. package/dist/vue-ui-ridgeline-CYMfTlwI.js +0 -1273
  183. package/dist/vue-ui-rings-C96aj57d.js +0 -855
  184. package/dist/vue-ui-scatter-CtvOXUnx.js +0 -1590
  185. package/dist/vue-ui-spark-trend-6_Ibziyv.js +0 -337
  186. package/dist/vue-ui-sparkbar-BDCocMLI.js +0 -352
  187. package/dist/vue-ui-sparkgauge-CQ4Zk9-f.js +0 -233
  188. package/dist/vue-ui-sparkhistogram-BlTV9wfn.js +0 -384
  189. package/dist/vue-ui-sparkline-DWESyiqL.js +0 -514
  190. package/dist/vue-ui-sparkstackbar-DK_7X8mL.js +0 -441
  191. package/dist/vue-ui-stackbar-BWuw8ff4.js +0 -1827
  192. package/dist/vue-ui-table-heatmap-C9EMEM3Z.js +0 -282
  193. package/dist/vue-ui-thermometer-CDrM-WFq.js +0 -584
  194. package/dist/vue-ui-tiremarks-BQH2pNkG.js +0 -450
  195. package/dist/vue-ui-treemap-6WLoCHsH.js +0 -1330
  196. package/dist/vue-ui-wheel-CqHw1WuW.js +0 -663
  197. package/dist/vue-ui-word-cloud-CKuWZGLv.js +0 -875
  198. package/dist/vue-ui-xy-Cz2qIEfi.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-y4h7gEFp.js +0 -1564
@@ -65,7 +65,8 @@ declare module "vue-data-ui" {
65
65
  | VueUiCirclePackDatasetItem[]
66
66
  | VueUiWorldDataset
67
67
  | VueUiRidgelineDatasetItem[]
68
- | VueUiChordDataset;
68
+ | VueUiChordDataset
69
+ | VueUiStacklineDatasetItem[];
69
70
 
70
71
  export type VueDataUiAnyConfig =
71
72
  | VueUi3dBarConfig
@@ -127,7 +128,8 @@ declare module "vue-data-ui" {
127
128
  | VueUiCirclePackConfig
128
129
  | VueUiWorldConfig
129
130
  | VueUiRidgelineConfig
130
- | VueUiChordConfig;
131
+ | VueUiChordConfig
132
+ | VueUiStacklineConfig;
131
133
 
132
134
  export type VueDataUiProps = {
133
135
  loader?: VueDataUiLoader | null;
@@ -391,6 +393,7 @@ declare module "vue-data-ui" {
391
393
  export type Theme =
392
394
  | ""
393
395
  | "zen"
396
+ | "dark"
394
397
  | "hack"
395
398
  | "concrete"
396
399
  | "celebration"
@@ -605,6 +608,8 @@ declare module "vue-data-ui" {
605
608
  toggleTooltip(): void
606
609
  toggleAnnotator(): void
607
610
  toggleFullscreen(): void
611
+ showSeries(name: string): void
612
+ hideSeries(name: string): void
608
613
  }
609
614
 
610
615
  export const VueUiTreemap: DefineComponent<
@@ -772,6 +777,8 @@ declare module "vue-data-ui" {
772
777
  toggleTooltip(): void
773
778
  toggleAnnotator(): void
774
779
  toggleFullscreen(): void
780
+ showSeries(name: string): void
781
+ hideSeries(name: string): void
775
782
  }
776
783
 
777
784
  export const VueUiGalaxy: DefineComponent<
@@ -1500,7 +1507,8 @@ declare module "vue-data-ui" {
1500
1507
  | "bringToBack"
1501
1508
  | "printer"
1502
1509
  | "save"
1503
- | "svg";
1510
+ | "svg"
1511
+ | "chartStackline";
1504
1512
 
1505
1513
  export const VueUiIcon: DefineComponent<{
1506
1514
  name: VueUiIconName;
@@ -1677,6 +1685,8 @@ declare module "vue-data-ui" {
1677
1685
  toggleAnnotator(): void
1678
1686
  toggleTable(): void
1679
1687
  toggleFullscreen(): void
1688
+ showSeries(name: string): void
1689
+ hideSeries(name: string): void
1680
1690
  }
1681
1691
 
1682
1692
  export const VueUiDonutEvolution: DefineComponent<
@@ -1952,6 +1962,8 @@ declare module "vue-data-ui" {
1952
1962
  toggleTooltip(): void
1953
1963
  toggleAnnotator(): void
1954
1964
  toggleFullscreen(): void
1965
+ showSeries(name: string): void
1966
+ hideSeries(name: string): void
1955
1967
  }
1956
1968
 
1957
1969
  export const VueUiRings: DefineComponent<
@@ -2180,10 +2192,18 @@ declare module "vue-data-ui" {
2180
2192
  width?: number;
2181
2193
  };
2182
2194
 
2183
- export const VueUiSparkStackbar: DefineComponent<{
2184
- config?: VueUiSparkStackbarConfig;
2185
- dataset: VueUiSparkStackbarDatasetItem[];
2186
- }>;
2195
+ export type VueUiSparkStackbarExpose = {
2196
+ showSeries(name: string): void
2197
+ hideSeries(name: string): void
2198
+ }
2199
+
2200
+ export const VueUiSparkStackbar: DefineComponent<
2201
+ {
2202
+ config?: VueUiSparkStackbarConfig;
2203
+ dataset: VueUiSparkStackbarDatasetItem[];
2204
+ },
2205
+ VueUiSparkStackbarExpose
2206
+ >;
2187
2207
 
2188
2208
  export type VueUiThermometerConfig = {
2189
2209
  debug?: boolean; // v3
@@ -3185,6 +3205,8 @@ declare module "vue-data-ui" {
3185
3205
  toggleTooltip(): void
3186
3206
  toggleAnnotator(): void
3187
3207
  toggleFullscreen(): void
3208
+ showSeries(name: string): void
3209
+ hideSeries(name: string): void
3188
3210
  }
3189
3211
 
3190
3212
  export const VueUiScatter: DefineComponent<
@@ -3794,6 +3816,8 @@ declare module "vue-data-ui" {
3794
3816
  toggleStack(): void
3795
3817
  toggleTable(): void
3796
3818
  toggleTooltip(): void
3819
+ showSeries(name: string): void
3820
+ hideSeries(name: string): void
3797
3821
  }
3798
3822
 
3799
3823
  export const VueUiXy: DefineComponent<
@@ -4016,6 +4040,8 @@ declare module "vue-data-ui" {
4016
4040
  toggleTable(): void
4017
4041
  toggleTooltip(): void
4018
4042
  autoSize(): void
4043
+ showSeries(name: string): void
4044
+ hideSeries(name: string): void
4019
4045
  }
4020
4046
 
4021
4047
  export const VueUiDonut: DefineComponent<
@@ -4225,6 +4251,8 @@ declare module "vue-data-ui" {
4225
4251
  toggleTable(): void
4226
4252
  toggleTooltip(): void
4227
4253
  autoSize(): void
4254
+ showSeries(name: string): void
4255
+ hideSeries(name: string): void
4228
4256
  }
4229
4257
 
4230
4258
  export const VueUiNestedDonuts: DefineComponent<
@@ -4376,6 +4404,8 @@ declare module "vue-data-ui" {
4376
4404
  toggleFullscreen(): void
4377
4405
  toggleTable(): void
4378
4406
  toggleTooltip(): void
4407
+ showSeries(name: string): void
4408
+ hideSeries(name: string): void
4379
4409
  }
4380
4410
 
4381
4411
  export const VueUiWaffle: DefineComponent<
@@ -4545,6 +4575,8 @@ declare module "vue-data-ui" {
4545
4575
  toggleAnnotator(): void
4546
4576
  toggleTooltip(): void
4547
4577
  toggleFullscreen(): void
4578
+ showSeries(name: string): void
4579
+ hideSeries(name: string): void
4548
4580
  }
4549
4581
 
4550
4582
  export const VueUiRadar: DefineComponent<
@@ -4748,6 +4780,8 @@ declare module "vue-data-ui" {
4748
4780
  toggleTooltip(): void
4749
4781
  toggleAnnotator(): void
4750
4782
  toggleFullscreen(): void
4783
+ showSeries(name: string): void
4784
+ hideSeries(name: string): void
4751
4785
  }
4752
4786
 
4753
4787
  export const VueUiQuadrant: DefineComponent<
@@ -5256,6 +5290,8 @@ declare module "vue-data-ui" {
5256
5290
  toggleTooltip(): void
5257
5291
  toggleTable(): void
5258
5292
  toggleFullscreen(): void
5293
+ showSeries(name: string): void
5294
+ hideSeries(name: string): void
5259
5295
  }
5260
5296
 
5261
5297
  export const VueUiOnion: DefineComponent<
@@ -5457,6 +5493,8 @@ declare module "vue-data-ui" {
5457
5493
  toggleAnnotator(): void
5458
5494
  toggleTooltip(): void
5459
5495
  toggleFullscreen(): void
5496
+ showSeries(name: string): void
5497
+ hideSeries(name: string): void
5460
5498
  }
5461
5499
 
5462
5500
  export type VueUiHorizontalBarExpose = VueUiVerticalBarExpose; // v3 renaming
@@ -7241,6 +7279,8 @@ declare module "vue-data-ui" {
7241
7279
  toggleStack(): void
7242
7280
  toggleTooltip(): void
7243
7281
  toggleFullscreen(): void
7282
+ showSeries(name: string): void
7283
+ hideSeries(name: string): void
7244
7284
  }
7245
7285
 
7246
7286
  export const VueUiXyCanvas: DefineComponent<
@@ -7607,6 +7647,8 @@ declare module "vue-data-ui" {
7607
7647
  toggleTooltip(): void
7608
7648
  toggleAnnotator(): void
7609
7649
  toggleFullscreen(): void
7650
+ showSeries(name: string): void
7651
+ hideSeries(name: string): void
7610
7652
  }
7611
7653
 
7612
7654
  export const VueUiParallelCoordinatePlot: DefineComponent<
@@ -8039,6 +8081,8 @@ declare module "vue-data-ui" {
8039
8081
  toggleLabels(): void
8040
8082
  toggleTooltip(): void
8041
8083
  toggleFullscreen(): void
8084
+ showSeries(name: string): void
8085
+ hideSeries(name: string): void
8042
8086
  }
8043
8087
 
8044
8088
  export const VueUiStackbar: DefineComponent<
@@ -8050,6 +8094,250 @@ declare module "vue-data-ui" {
8050
8094
  VueUiStackbarExpose
8051
8095
  >;
8052
8096
 
8097
+ export type VueUiStacklineDatapointItem = VueUiStackbarDatapointItem & {
8098
+ shape: Shape;
8099
+ standalone: boolean;
8100
+ };
8101
+
8102
+ export type VueUiStacklineSeriesItem = VueUiStackbarSeriesItem & {
8103
+ shape: Shape;
8104
+ standalone: boolean;
8105
+ };
8106
+
8107
+ export type VueUiStacklineDatasetItem = VueUiStackbarDatasetItem & {
8108
+ shape?: Shape;
8109
+ standalone?: boolean; // If true, series will not be part of stacked series
8110
+ }
8111
+
8112
+ export type VueUiStacklineConfig = {
8113
+ loading?: boolean;
8114
+ debug?: boolean;
8115
+ theme?: Theme;
8116
+ responsive?: boolean;
8117
+ events?: {
8118
+ datapointEnter?: VueUiStacklineEvent;
8119
+ datapointLeave?: VueUiStacklineEvent;
8120
+ datapointClick?: VueUiStacklineEvent;
8121
+ };
8122
+ customPalette?: string[];
8123
+ useCssAnimation?: boolean;
8124
+ table?: {
8125
+ show?: boolean;
8126
+ useDialog?: boolean;
8127
+ responsiveBreakpoint?: number;
8128
+ columnNames?: {
8129
+ period?: string;
8130
+ total?: string;
8131
+ };
8132
+ th: ChartTableCell;
8133
+ td: ChartTableCell & {
8134
+ roundingValue?: number;
8135
+ };
8136
+ };
8137
+ userOptions?: ChartUserOptions;
8138
+ style?: {
8139
+ fontFamily?: string;
8140
+ chart?: {
8141
+ backgroundColor?: string;
8142
+ color?: string;
8143
+ height?: number;
8144
+ width?: number;
8145
+ padding?: ChartPadding;
8146
+ title?: ChartTitle;
8147
+ legend?: ChartBaseLegend & {
8148
+ backgroundColor?: string;
8149
+ position?: 'top' | 'bottom';
8150
+ };
8151
+ zoom?: ChartZoom & {
8152
+ preview?: {
8153
+ enable?: boolean;
8154
+ fill?: string;
8155
+ stroke?: string;
8156
+ strokeWidth?: number;
8157
+ strokeDasharray?: number;
8158
+ };
8159
+ useDefaultFormat?: boolean;
8160
+ timeFormat?: string;
8161
+ customFormat?:
8162
+ | null
8163
+ | ((params: MinimalCustomFormatParams<Array<VueUiStacklineDatapointItem & { absoluteIndex: number }>>) => string);
8164
+ };
8165
+ highlighter?: {
8166
+ color?: string;
8167
+ opacity?: number;
8168
+ useLine?: boolean;
8169
+ lineDasharray?: number;
8170
+ lineWidth?: number;
8171
+ };
8172
+ tooltip?: ChartTooltip & {
8173
+ showValue?: boolean;
8174
+ showPercentage?: boolean;
8175
+ roundingValue?: number;
8176
+ roundingPercentage?: number;
8177
+ customFormat?:
8178
+ | null
8179
+ | ((
8180
+ params: VueUiTooltipParams<
8181
+ VueUiStacklineDatapointItem[],
8182
+ VueUiStacklineSeriesItem[],
8183
+ VueUiStacklineConfig
8184
+ >
8185
+ ) => string);
8186
+ showTimeLabel?: boolean;
8187
+ useDefaultTimeFormat?: boolean;
8188
+ timeFormat?: string;
8189
+ showTotal?: boolean;
8190
+ totalTranslation?: string;
8191
+ };
8192
+ lines?: {
8193
+ useArea?: boolean; // Only applied on stacked series (!standalone)
8194
+ smooth?: boolean;
8195
+ areaOpacity?: number;
8196
+ distributed?: boolean;
8197
+ showDistributedPercentage?: boolean;
8198
+ strokeWidth?: number;
8199
+ gradient?: {
8200
+ show?: boolean;
8201
+ intensity?: number;
8202
+ };
8203
+ dot?: {
8204
+ hideAboveMaxSerieLength?: number;
8205
+ useSerieColor?: boolean;
8206
+ fill?: string;
8207
+ strokeWidth?: number;
8208
+ radius?: number;
8209
+ };
8210
+ totalValues?: {
8211
+ show?: boolean;
8212
+ offsetY?: number;
8213
+ fontSize?: number;
8214
+ bold?: boolean;
8215
+ color?: string;
8216
+ };
8217
+ dataLabels?: {
8218
+ hideAboveMaxSerieLength?: number;
8219
+ offsetY?: number;
8220
+ show?: boolean;
8221
+ hideEmptyValues?: boolean;
8222
+ hideUnderValue?: number | null;
8223
+ hideEmptyPercentages?: boolean;
8224
+ hideUnderPercentage?: number | null;
8225
+ color?: string;
8226
+ fontSize?: number;
8227
+ bold?: boolean;
8228
+ rounding?: number;
8229
+ prefix?: string;
8230
+ formatter?: Formatter;
8231
+ }
8232
+ };
8233
+ grid?: {
8234
+ frame?: ChartFrame;
8235
+ scale?: {
8236
+ ticks?: number;
8237
+ scaleMin?: number | null;
8238
+ scaleMax?: number | null;
8239
+ };
8240
+ x?: {
8241
+ showAxis?: boolean;
8242
+ showHorizontalLines?: boolean;
8243
+ linesColor?: string;
8244
+ linesThickness?: number;
8245
+ linesStrokeDasharray?: number;
8246
+ axisColor?: string;
8247
+ axisThickness?: number;
8248
+ axisName?: {
8249
+ show?: boolean;
8250
+ text?: string;
8251
+ fontSize?: number;
8252
+ color?: string;
8253
+ bold?: boolean;
8254
+ offsetY?: number;
8255
+ };
8256
+ timeLabels?: {
8257
+ show?: boolean;
8258
+ values?: Array<number | string>;
8259
+ datetimeFormatter?: AxisDateFormatter;
8260
+ offsetY?: number;
8261
+ rotation?: number;
8262
+ autoRotate?: {
8263
+ enable?: boolean;
8264
+ angle?: number;
8265
+ };
8266
+ fontSize?: number;
8267
+ color?: string;
8268
+ bold?: boolean;
8269
+ showOnlyFirstAndLast?: boolean;
8270
+ showOnlyAtModulo?: boolean;
8271
+ modulo?: number;
8272
+ };
8273
+ };
8274
+ y?: {
8275
+ showAxis?: boolean;
8276
+ showVerticalLines?: boolean;
8277
+ linesColor?: string;
8278
+ linesThickness?: number;
8279
+ linesStrokeDasharray?: number;
8280
+ axisColor?: string;
8281
+ axisThickness?: number;
8282
+ axisName?: {
8283
+ show?: boolean;
8284
+ text?: string;
8285
+ fontSize?: number;
8286
+ color?: string;
8287
+ bold?: boolean;
8288
+ offsetX?: number;
8289
+ };
8290
+ axisLabels?: {
8291
+ formatter?: Formatter;
8292
+ show?: boolean;
8293
+ color?: string;
8294
+ fontSize?: number;
8295
+ bold?: boolean;
8296
+ rounding?: number;
8297
+ };
8298
+ };
8299
+ };
8300
+ }
8301
+ }
8302
+ }
8303
+
8304
+ export type VueUiStacklineExpose = {
8305
+ getData(): Promise<Array<{
8306
+ absoluteIndex: number
8307
+ color: string
8308
+ height: number[],
8309
+ horizontal_width: number[],
8310
+ horizontal_x: number[],
8311
+ horizontal_y: number[],
8312
+ id: string
8313
+ name: string
8314
+ proportions: number[],
8315
+ series: number[],
8316
+ signedSeries: number[],
8317
+ x: number[],
8318
+ y: number[],
8319
+ standalone?: boolean
8320
+ }>>
8321
+ getImage(options?: { scale?: number }): GetImagePromise
8322
+ generateCsv(): void
8323
+ generateImage(): void
8324
+ generatePdf(): void
8325
+ toggleAnnotator(): void
8326
+ toggleTable(): void
8327
+ toggleLabels(): void
8328
+ toggleTooltip(): void
8329
+ toggleFullscreen(): void
8330
+ }
8331
+
8332
+ export const VueUiStackline: DefineComponent<
8333
+ {
8334
+ config?: VueUiStacklineConfig;
8335
+ dataset: VueUiStacklineDatasetItem[];
8336
+ selectedXIndex?: number | null;
8337
+ },
8338
+ VueUiStacklineExpose
8339
+ >;
8340
+
8053
8341
  export type VueUiBulletSegment = {
8054
8342
  name: string;
8055
8343
  from: number;
@@ -8498,6 +8786,8 @@ declare module "vue-data-ui" {
8498
8786
  toggleTooltip(): void
8499
8787
  toggleTable(): void
8500
8788
  toggleFullscreen(): void
8789
+ showSeries(name: string): void
8790
+ hideSeries(name: string): void
8501
8791
  }
8502
8792
 
8503
8793
  export const VueUiHistoryPlot: DefineComponent<
@@ -8944,6 +9234,8 @@ declare module "vue-data-ui" {
8944
9234
  toggleAnnotator(): void
8945
9235
  toggleTable(): void
8946
9236
  toggleFullscreen(): void
9237
+ showSeries(name: string): void
9238
+ hideSeries(name: string): void
8947
9239
  }
8948
9240
 
8949
9241
  export const VueUiRidgeline: DefineComponent<
@@ -9168,7 +9460,8 @@ declare module "vue-data-ui" {
9168
9460
  | VueUiCirclePackConfig
9169
9461
  | VueUiWorldConfig
9170
9462
  | VueUiRidgelineConfig
9171
- | VueUiChordConfig;
9463
+ | VueUiChordConfig
9464
+ | VueUiStacklineConfig;
9172
9465
 
9173
9466
  export type VueDataUiConfigKey =
9174
9467
  | "vue_ui_3d_bar"
@@ -9232,7 +9525,8 @@ declare module "vue-data-ui" {
9232
9525
  | "vue_ui_circle_pack"
9233
9526
  | "vue_ui_world"
9234
9527
  | "vue_ui_ridgeline"
9235
- | "vue_ui_chord";
9528
+ | "vue_ui_chord"
9529
+ | "vue_ui_stackline";
9236
9530
 
9237
9531
  export type VueDataUiWordCloudTransformCallback =
9238
9532
  | ((word: string) => string)
@@ -0,0 +1,18 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ export type {
4
+ VueUiStacklineDatasetItem,
5
+ VueUiStacklineDatapointItem,
6
+ VueUiStacklineSeriesItem,
7
+ VueUiStacklineConfig,
8
+ VueUiStacklineExpose,
9
+ VueUiStacklineEvent
10
+ } from "./vue-data-ui";
11
+
12
+ declare const VueUiStackline: DefineComponent<{
13
+ config?: VueUiStacklineConfig;
14
+ dataset: VueUiStacklineDatasetItem[];
15
+ }, VueUiStacklineExpose>;
16
+
17
+ export default VueUiStackline;
18
+ export { VueUiStackline }
@@ -1,4 +1,4 @@
1
- import { l as k } from "./lib-C_mNZmhD.js";
1
+ import { f as k } from "./lib-C5BH09_g.js";
2
2
  function v({
3
3
  svgRef: x,
4
4
  fontSize: A,
@@ -9,8 +9,8 @@ function v({
9
9
  }) {
10
10
  let l = null;
11
11
  function F(i, t, o = 1) {
12
- const { x: n, y: c, width: u, height: r } = i.getBBox(), e = n >= t.x + o, s = n + u <= t.x + t.width - o, h = c >= t.y + o, f = c + r <= t.y + t.height - o;
13
- return e && s && h && f;
12
+ const { x: n, y: c, width: u, height: r } = i.getBBox(), e = n >= t.x + o, s = n + u <= t.x + t.width - o, f = c >= t.y + o, h = c + r <= t.y + t.height - o;
13
+ return e && s && f && h;
14
14
  }
15
15
  function b(i, t, o, n, c = 120, u = 1) {
16
16
  let r = o, e = 0;
@@ -29,17 +29,17 @@ function v({
29
29
  minSize: S,
30
30
  sizeRef: z
31
31
  }
32
- ]), a.map((e) => i.querySelectorAll(e.selector).length).reduce((e, s) => e + s, 0) !== 0 && a.forEach(({ selector: e, baseSize: s, minSize: h, sizeRef: f }) => {
32
+ ]), a.map((e) => i.querySelectorAll(e.selector).length).reduce((e, s) => e + s, 0) !== 0 && a.forEach(({ selector: e, baseSize: s, minSize: f, sizeRef: h }) => {
33
33
  i.querySelectorAll(e).forEach((m) => {
34
34
  const O = k({
35
35
  el: m,
36
36
  bounds: u,
37
37
  currentFontSize: s,
38
- minFontSize: h,
38
+ minFontSize: f,
39
39
  attempts: 200,
40
40
  padding: 1
41
- }), w = b(m, u, O, h, 120, 1);
42
- m.setAttribute("font-size", w), f.value = w;
41
+ }), w = b(m, u, O, f, 120, 1);
42
+ m.setAttribute("font-size", w), h.value = w;
43
43
  });
44
44
  });
45
45
  }