vue-data-ui 3.0.0-next.4 → 3.0.0-next.40

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 (106) hide show
  1. package/dist/{Arrow-COeGcYaf.js → Arrow-CJMQcuGh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B6a_nUd1.js → BaseDraggableDialog-BorVmOH6.js} +2 -2
  3. package/dist/{BaseIcon-C_m_NEgt.js → BaseIcon-DEsg88EI.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-_xpvmgl6.js → ColorPicker-Co40B_SG.js} +2 -2
  6. package/dist/{DataTable-kd4xY9pT.js → DataTable-DY-e2LXS.js} +2 -2
  7. package/dist/{Legend-Bow74t3d.js → Legend-C7zp8-t4.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-cUcAGGV2.js → NonSvgPenAndPaper-C2R7jHOH.js} +3 -3
  9. package/dist/{PackageVersion-3ZfzB951.js → PackageVersion-B6kajKgU.js} +1 -1
  10. package/dist/{PenAndPaper-BZddJqUG.js → PenAndPaper-en69u8G0.js} +3 -3
  11. package/dist/{Shape-BsptIVCm.js → Shape-D2suYivy.js} +43 -37
  12. package/dist/Slicer-DlcITWn0.js +588 -0
  13. package/dist/{SparkTooltip-BdD0e0jv.js → SparkTooltip-BwDKg_cF.js} +7 -7
  14. package/dist/{Title-FiH2Kirc.js → Title-CBSyhlmd.js} +1 -1
  15. package/dist/{Tooltip-BLtR7DBZ.js → Tooltip-Dis_Iqvl.js} +23 -19
  16. package/dist/{UserOptions-DOwmMJId.js → UserOptions-BAGpDPid.js} +2 -2
  17. package/dist/{dom-to-png-DnsK-Zal.js → dom-to-png-Ov4kozad.js} +1 -1
  18. package/dist/{img-CP2uNkKq.js → img-lSctQ4V6.js} +1 -1
  19. package/dist/{index-BnnNoGGd.js → index-Dt40W2hN.js} +1533 -1265
  20. package/dist/{pdf-urw1sGoX.js → pdf-DtFuExHv.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +231 -10
  23. package/dist/types/vue-data-ui.d.ts +231 -10
  24. package/dist/{useNestedProp-B6Dz15k2.js → useNestedProp-CiNTcBth.js} +1 -1
  25. package/dist/{usePrinter-Dd-RkmL8.js → usePrinter-C4Hc_Nbf.js} +2 -2
  26. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  27. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  28. package/dist/{vue-data-ui-Dql75T3d.js → vue-data-ui-Bgp_em-v.js} +64 -64
  29. package/dist/vue-data-ui.js +26 -25
  30. package/dist/{vue-ui-3d-bar-CUDEgTKp.js → vue-ui-3d-bar-osKQ4IOP.js} +6 -6
  31. package/dist/{vue-ui-accordion-qNR0BQCP.js → vue-ui-accordion-BrdvtjzQ.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-BFWU1VGZ.js → vue-ui-age-pyramid-CioF-ZZz.js} +11 -9
  33. package/dist/{vue-ui-annotator-CeMOjHpf.js → vue-ui-annotator-CSqAhQiG.js} +2 -2
  34. package/dist/vue-ui-bullet-CVDhxrNn.js +571 -0
  35. package/dist/vue-ui-candlestick--MPqDI4C.js +999 -0
  36. package/dist/{vue-ui-carousel-table-CAr64-2F.js → vue-ui-carousel-table-BVk7PLwZ.js} +4 -4
  37. package/dist/{vue-ui-chestnut-B0zNp1jY.js → vue-ui-chestnut-DEx9TbrF.js} +5 -5
  38. package/dist/{vue-ui-chord-C-_tz6Tb.js → vue-ui-chord-CA-KhxYT.js} +8 -8
  39. package/dist/{vue-ui-circle-pack-BSTkkKx-.js → vue-ui-circle-pack-DBathPgi.js} +26 -26
  40. package/dist/{vue-ui-cursor-Dqd6RkcK.js → vue-ui-cursor-DMgru1Ut.js} +2 -2
  41. package/dist/{vue-ui-dashboard-CspqjC6x.js → vue-ui-dashboard-DjR4GMXi.js} +62 -62
  42. package/dist/{vue-ui-digits-CazGAGyM.js → vue-ui-digits-Zyo5YPt9.js} +2 -2
  43. package/dist/{vue-ui-donut-BK35Gt-7.js → vue-ui-donut-CTkQZ2S_.js} +408 -381
  44. package/dist/vue-ui-donut-evolution-CqWJyBuS.js +1075 -0
  45. package/dist/{vue-ui-dumbbell-CJal89Ud.js → vue-ui-dumbbell-CqW_fq8N.js} +7 -7
  46. package/dist/vue-ui-flow-CrAhSPCS.js +841 -0
  47. package/dist/{vue-ui-funnel-Dm0LCakq.js → vue-ui-funnel-DhfW5rrz.js} +6 -6
  48. package/dist/{vue-ui-galaxy-C9poCSSD.js → vue-ui-galaxy-PAdaOeqx.js} +51 -49
  49. package/dist/{vue-ui-gauge-CYXXfMRC.js → vue-ui-gauge-O3pWOp6L.js} +6 -6
  50. package/dist/{vue-ui-gizmo-B-8rhor5.js → vue-ui-gizmo-euqtfneE.js} +3 -3
  51. package/dist/vue-ui-heatmap-DpJtmmha.js +1078 -0
  52. package/dist/{vue-ui-history-plot-C_Si7S5S.js → vue-ui-history-plot-D-ERYWqA.js} +12 -10
  53. package/dist/{vue-ui-kpi-BYYBkt55.js → vue-ui-kpi-BVPy5lir.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-DmHE-wrb.js → vue-ui-mini-loader-C1jyLTN0.js} +2 -2
  55. package/dist/{vue-ui-molecule-I2ZUVtal.js → vue-ui-molecule-D5a1xiZe.js} +35 -33
  56. package/dist/{vue-ui-mood-radar-BYUr9rcv.js → vue-ui-mood-radar-BFoBLBHr.js} +7 -7
  57. package/dist/vue-ui-nested-donuts-C5EdQl9m.js +1286 -0
  58. package/dist/{vue-ui-onion-BpGz1RFC.js → vue-ui-onion-R8aDUWKW.js} +46 -44
  59. package/dist/vue-ui-parallel-coordinate-plot-BlyVabIZ.js +915 -0
  60. package/dist/{vue-ui-quadrant-CByC4r8k.js → vue-ui-quadrant-IUglavFx.js} +59 -57
  61. package/dist/vue-ui-quick-chart-BpNPyMU7.js +1761 -0
  62. package/dist/{vue-ui-radar-CBVb6GyN.js → vue-ui-radar-gw_Juu9G.js} +12 -10
  63. package/dist/{vue-ui-rating-Thf6P6AF.js → vue-ui-rating-1unEFc2G.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-Blg3GkeU.js → vue-ui-relation-circle-BcfPtGPT.js} +6 -6
  65. package/dist/{vue-ui-ridgeline-D6kxALQN.js → vue-ui-ridgeline-MPTZgHBN.js} +12 -10
  66. package/dist/{vue-ui-rings-bBHc4cwe.js → vue-ui-rings-BathT6rc.js} +13 -11
  67. package/dist/{vue-ui-scatter-DS6-kGZL.js → vue-ui-scatter-c18cEUOV.js} +72 -70
  68. package/dist/{vue-ui-skeleton-gHkpLBcj.js → vue-ui-skeleton-B7-_d7dq.js} +3 -3
  69. package/dist/{vue-ui-smiley-S7qJ-dRf.js → vue-ui-smiley-BDXogV8H.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-Co-sKoQX.js → vue-ui-spark-trend-DDTjw45H.js} +3 -3
  71. package/dist/{vue-ui-sparkbar-G1Jhr305.js → vue-ui-sparkbar-C_5eGtLa.js} +3 -3
  72. package/dist/{vue-ui-sparkgauge-Bzm5X8us.js → vue-ui-sparkgauge-DHY87x_9.js} +3 -3
  73. package/dist/{vue-ui-sparkhistogram-IGnxrQK9.js → vue-ui-sparkhistogram-DS5XBE2H.js} +4 -4
  74. package/dist/vue-ui-sparkline-CSDFmjTw.js +489 -0
  75. package/dist/{vue-ui-sparkstackbar-C_cbbRT_.js → vue-ui-sparkstackbar-BlbqR90E.js} +55 -53
  76. package/dist/vue-ui-stackbar-BQhWHZhn.js +1370 -0
  77. package/dist/{vue-ui-strip-plot-Cw1CDIL0.js → vue-ui-strip-plot-DqW7c8P5.js} +30 -28
  78. package/dist/{vue-ui-table-C4A73F9D.js → vue-ui-table-CgQG6lgC.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-DDlDAXMI.js → vue-ui-table-heatmap-BSvr6nNW.js} +5 -5
  80. package/dist/{vue-ui-table-sparkline-CQDLqNvX.js → vue-ui-table-sparkline-w7bQM7Hk.js} +4 -4
  81. package/dist/{vue-ui-thermometer-DgBtT1Ts.js → vue-ui-thermometer-DXtr4W_t.js} +6 -6
  82. package/dist/{vue-ui-timer-DwL2EUHc.js → vue-ui-timer-DFF2z6Uo.js} +5 -5
  83. package/dist/{vue-ui-tiremarks-J9v9JAmf.js → vue-ui-tiremarks-a_a4b9HI.js} +6 -6
  84. package/dist/{vue-ui-treemap-BSPd3wFo.js → vue-ui-treemap-DLbstU3H.js} +13 -11
  85. package/dist/vue-ui-vertical-bar-B7NnA0GU.js +1108 -0
  86. package/dist/vue-ui-waffle-B9VX_YKC.js +910 -0
  87. package/dist/{vue-ui-wheel-B_r_vUFd.js → vue-ui-wheel-BuMOe8AU.js} +6 -6
  88. package/dist/{vue-ui-word-cloud-DqvRfwF3.js → vue-ui-word-cloud-CEZ2XSvH.js} +12 -10
  89. package/dist/{vue-ui-world-DguPtgux.js → vue-ui-world-BTXi0bm-.js} +11 -9
  90. package/dist/vue-ui-xy-DIstI78B.js +3755 -0
  91. package/dist/{vue-ui-xy-canvas-Cv4Fs6Jw.js → vue-ui-xy-canvas-u2RoNNiK.js} +265 -264
  92. package/package.json +1 -1
  93. package/dist/Slicer-i0BAmgHn.js +0 -577
  94. package/dist/vue-ui-bullet-CmNollxj.js +0 -513
  95. package/dist/vue-ui-candlestick-CkoAVYNh.js +0 -873
  96. package/dist/vue-ui-donut-evolution-SomhFGJh.js +0 -903
  97. package/dist/vue-ui-flow-BFsmk2iL.js +0 -765
  98. package/dist/vue-ui-heatmap-BQzObiF9.js +0 -877
  99. package/dist/vue-ui-nested-donuts-DEm7s2uC.js +0 -1177
  100. package/dist/vue-ui-parallel-coordinate-plot-SkVvzSSQ.js +0 -807
  101. package/dist/vue-ui-quick-chart-GEYFXShR.js +0 -1612
  102. package/dist/vue-ui-sparkline-ezu4qjgC.js +0 -459
  103. package/dist/vue-ui-stackbar-BD9gyxAb.js +0 -1207
  104. package/dist/vue-ui-vertical-bar-B5b5tXjT.js +0 -1029
  105. package/dist/vue-ui-waffle-Bh_gS8y2.js +0 -863
  106. package/dist/vue-ui-xy-MFNbJqgb.js +0 -2980
@@ -259,6 +259,8 @@ declare module "vue-data-ui" {
259
259
  backgroundOpacity?: number;
260
260
  position?: TooltipPosition;
261
261
  offsetY?: number;
262
+ smooth?: boolean;
263
+ backdropFilter?: boolean;
262
264
  };
263
265
 
264
266
  export type ZoomMinimap = {
@@ -1308,7 +1310,30 @@ declare module "vue-data-ui" {
1308
1310
  isSpin?: boolean;
1309
1311
  }>;
1310
1312
 
1313
+ export type VueUiDonutEvolutionDatapoint = {
1314
+ activeRadius: number;
1315
+ donut: VueUiDonutDatapoint[];
1316
+ donutFocus: VueUiDonutDatapoint[];
1317
+ donutHover: VueUiDonutDatapoint[];
1318
+ hoverRadius: number;
1319
+ index: number;
1320
+ percentages: number[0];
1321
+ radius: number;
1322
+ subtotal: number;
1323
+ values: Array<number | null>;
1324
+ x: number;
1325
+ y: number;
1326
+ }
1327
+
1311
1328
  export type VueUiDonutEvolutionConfig = {
1329
+ debug?: boolean; // v3
1330
+ loading?: boolean; // v3
1331
+ responsive?: boolean; // v3
1332
+ events?: { // v3
1333
+ datapointEnter?: VueUiDonutEvolutionEvent; // v3
1334
+ datapointLeave?: VueUiDonutEvolutionEvent; // v3
1335
+ datapointClick?: VueUiDonutEvolutionEvent; // v3
1336
+ };
1312
1337
  theme?: Theme;
1313
1338
  customPalette?: string[];
1314
1339
  style?: {
@@ -1346,6 +1371,14 @@ declare module "vue-data-ui" {
1346
1371
  stroke?: string;
1347
1372
  strokeWidth?: number;
1348
1373
  showVerticalLines?: boolean;
1374
+ axis?: { // v3
1375
+ yLabel?: string; // v3
1376
+ yLabelOffsetX?: number; // v3
1377
+ xLabel?: string; // v3
1378
+ xLabelOffsetY?: number; // v3
1379
+ fontSize?: number; // v3
1380
+ color?: string; // v3
1381
+ };
1349
1382
  yAxis?: {
1350
1383
  dataLabels?: {
1351
1384
  show?: boolean;
@@ -1366,6 +1399,7 @@ declare module "vue-data-ui" {
1366
1399
  showOnlyFirstAndLast?: boolean;
1367
1400
  color?: string;
1368
1401
  rotation?: number;
1402
+ autoRotate?: boolean;
1369
1403
  offsetY?: number;
1370
1404
  };
1371
1405
  };
@@ -2372,7 +2406,14 @@ declare module "vue-data-ui" {
2372
2406
  >;
2373
2407
 
2374
2408
  export type VueUiCandlestickConfig = {
2409
+ debug?: boolean;
2410
+ loading?: boolean;
2375
2411
  responsive?: boolean;
2412
+ events?: { // v3
2413
+ datapointEnter?: VueUiCandlestickEvent; // v3
2414
+ datapointLeave?: VueUiCandlestickEvent; // v3
2415
+ datapointClick?: VueUiCandlestickEvent; // v3
2416
+ };
2376
2417
  responsiveProportionalSizing?: boolean;
2377
2418
  theme?: Theme;
2378
2419
  useCssAnimation?: boolean;
@@ -2400,6 +2441,7 @@ declare module "vue-data-ui" {
2400
2441
  offsetY?: number;
2401
2442
  bold?: boolean;
2402
2443
  rotation?: number;
2444
+ autoRotate?: boolean;
2403
2445
  };
2404
2446
  timeLabels?: {
2405
2447
  datetimeFormatter?: AxisDateFormatter
@@ -2742,19 +2784,25 @@ declare module "vue-data-ui" {
2742
2784
  >;
2743
2785
 
2744
2786
  export type VueUiHeatmapConfig = {
2787
+ debug?: boolean; // v3
2788
+ loading?: boolean; // v3
2789
+ responsive?: boolean; // v3
2745
2790
  theme?: Theme;
2746
2791
  style?: {
2747
2792
  backgroundColor?: string;
2748
2793
  color?: string;
2749
2794
  fontFamily?: string;
2750
2795
  layout?: {
2796
+ height?: number;
2797
+ width?: number;
2751
2798
  padding?: ChartPadding;
2752
2799
  cells?: {
2753
- height?: number;
2800
+ // height?: number; // v3 deprecated
2754
2801
  columnTotal?: {
2755
2802
  value?: {
2756
2803
  show?: boolean;
2757
2804
  rotation?: number;
2805
+ autoRotate?: boolean; // v3
2758
2806
  offsetX?: number;
2759
2807
  offsetY?: number;
2760
2808
  };
@@ -2795,8 +2843,10 @@ declare module "vue-data-ui" {
2795
2843
  xAxis?: {
2796
2844
  show?: boolean;
2797
2845
  values?: Array<string | number>;
2846
+ datetimeFormatter?: AxisDateFormatter; // v3
2798
2847
  showOnlyAtModulo?: number | null;
2799
2848
  rotation?: number;
2849
+ autoRotate?: boolean; // v3
2800
2850
  fontSize?: number;
2801
2851
  color?: string;
2802
2852
  bold?: boolean;
@@ -2806,6 +2856,7 @@ declare module "vue-data-ui" {
2806
2856
  yAxis?: {
2807
2857
  show?: boolean;
2808
2858
  values?: Array<string | number>;
2859
+ datetimeFormatter?: AxisDateFormatter; // v3
2809
2860
  fontSize?: number;
2810
2861
  color?: string;
2811
2862
  bold?: boolean;
@@ -2818,8 +2869,9 @@ declare module "vue-data-ui" {
2818
2869
  legend?: ChartBaseLegend & {
2819
2870
  backgroundColor?: string;
2820
2871
  roundingValue?: number;
2821
- position?: "right" | "bottom";
2822
- scaleBorderRadius?: number;
2872
+ width?: number;
2873
+ // position?: "right" | "bottom"; // v3 deprecated
2874
+ // scaleBorderRadius?: number; // v3 deprecated
2823
2875
  };
2824
2876
  tooltip?: ChartTooltip & {
2825
2877
  roundingValue?: number;
@@ -2865,7 +2917,7 @@ declare module "vue-data-ui" {
2865
2917
  };
2866
2918
 
2867
2919
  export type VueUiHeatmapDatasetItem = {
2868
- name: string;
2920
+ name: string | number;
2869
2921
  values: number[];
2870
2922
  };
2871
2923
 
@@ -2954,10 +3006,14 @@ declare module "vue-data-ui" {
2954
3006
  }
2955
3007
 
2956
3008
  export type VueUiXyConfig = {
2957
- debug?: boolean;
2958
- responsive?: boolean;
2959
- autoSize?: boolean; // v3 opt-in
3009
+ debug?: boolean; // v3
3010
+ responsive?: boolean; // v3
2960
3011
  loading?: boolean; // v3
3012
+ events?: { // v3
3013
+ datapointEnter?: VueUiXyEvent; // v3
3014
+ datapointLeave?: VueUiXyEvent; // v3
3015
+ datapointClick?: VueUiXyEvent; // v3
3016
+ };
2961
3017
  responsiveProportionalSizing?: boolean;
2962
3018
  theme?: Theme;
2963
3019
  customPalette?: string[];
@@ -2971,7 +3027,15 @@ declare module "vue-data-ui" {
2971
3027
  color?: string;
2972
3028
  height?: number;
2973
3029
  width?: number;
2974
- zoom?: ChartZoom;
3030
+ zoom?: ChartZoom & {
3031
+ preview?: {
3032
+ enable?: boolean;
3033
+ fill?: string;
3034
+ stroke?: string;
3035
+ strokeWidth?: number;
3036
+ strokeDasharray?: number;
3037
+ };
3038
+ };
2975
3039
  padding?: ChartPadding;
2976
3040
  annotations?: VueUiXyAnnotation[];
2977
3041
  highlighter?: {
@@ -3035,6 +3099,8 @@ declare module "vue-data-ui" {
3035
3099
  groupColor?: string | null;
3036
3100
  scaleLabelOffsetX?: number;
3037
3101
  scaleValueOffsetX?: number;
3102
+ rounding?: number;
3103
+ serieNameFormatter?: Formatter;
3038
3104
  };
3039
3105
  xAxis?: {
3040
3106
  showBaseline?: boolean;
@@ -3053,6 +3119,7 @@ declare module "vue-data-ui" {
3053
3119
  showOnlyAtModulo?: boolean;
3054
3120
  modulo?: number;
3055
3121
  datetimeFormatter?: AxisDateFormatter;
3122
+ autoRotate?: boolean;
3056
3123
  };
3057
3124
  };
3058
3125
  };
@@ -3105,6 +3172,8 @@ declare module "vue-data-ui" {
3105
3172
  userOptions?: ChartUserOptions;
3106
3173
  };
3107
3174
  bar?: {
3175
+ showTransition?: boolean;
3176
+ transitionDurationMs?: number;
3108
3177
  borderRadius?: number;
3109
3178
  useGradient?: boolean;
3110
3179
  periodGap?: number;
@@ -3131,6 +3200,8 @@ declare module "vue-data-ui" {
3131
3200
  };
3132
3201
  };
3133
3202
  line?: {
3203
+ showTransition?: boolean;
3204
+ transitionDurationMs?: number;
3134
3205
  radius?: number;
3135
3206
  useGradient?: boolean;
3136
3207
  strokeWidth?: number;
@@ -3159,6 +3230,8 @@ declare module "vue-data-ui" {
3159
3230
  };
3160
3231
  };
3161
3232
  plot?: {
3233
+ showTransition?: boolean;
3234
+ transitionDurationMs?: number;
3162
3235
  radius?: number;
3163
3236
  useGradient?: boolean;
3164
3237
  dot?: {
@@ -3289,11 +3362,22 @@ declare module "vue-data-ui" {
3289
3362
  {
3290
3363
  config?: VueUiXyConfig;
3291
3364
  dataset: VueUiXyDatasetItem[];
3365
+ selectedXIndex?: number | null; // v3
3292
3366
  },
3293
3367
  VueUiXyExpose
3294
3368
  >;
3295
3369
 
3296
- export type VueUiDonutEvent = null | (({datapoint, seriesIndex }: { datapoint: VueUiDonutDatapoint; seriesIndex: number }) => void);
3370
+ export type ChartEvent<T> = null | (({ datapoint, seriesIndex} : { datapoint: T, seriesIndex: number}) => void);
3371
+
3372
+ export type VueUiDonutEvent = ChartEvent<VueUiDonutDatapoint>;
3373
+ export type VueUiSparklineEvent = ChartEvent<VueUiSparklineDatasetItem>;
3374
+ export type VueUiXyEvent = ChartEvent<VueUiXyDatapointItem[]>;
3375
+ export type VueUiStackbarEvent = ChartEvent<VueUiStackbarDatapointItem[]>;
3376
+ export type VueUiCandlestickEvent = ChartEvent<VueUiCandlestickDatapoint>;
3377
+ export type VueUiDonutEvolutionEvent = ChartEvent<VueUiDonutEvolutionDatapoint>;
3378
+ export type VueUiWaffleEvent = ChartEvent<VueUiWaffleDatapoint>;
3379
+ export type VueUiParallelCoordinatePlotEvent = ChartEvent<VueUiParallelCoordinatePlotEventDatapoint>
3380
+ export type VueUiFlowEvent = ChartEvent<VueUiFlowNode>
3297
3381
 
3298
3382
  export type VueUiDonutConfig = {
3299
3383
  debug?: boolean;
@@ -3527,6 +3611,11 @@ declare module "vue-data-ui" {
3527
3611
  theme?: Theme;
3528
3612
  customPalette?: string[];
3529
3613
  useCssAnimation?: boolean;
3614
+ events?: {
3615
+ datapointEnter?: VueUiDonutEvent;
3616
+ datapointLeave?: VueUiDonutEvent;
3617
+ datapointClick?: VueUiDonutEvent;
3618
+ };
3530
3619
  serieToggleAnimation?: {
3531
3620
  show?: boolean;
3532
3621
  durationMs?: number;
@@ -3568,6 +3657,7 @@ declare module "vue-data-ui" {
3568
3657
  useSerieColor?: boolean;
3569
3658
  showDonutName?: boolean;
3570
3659
  boldDonutName?: boolean;
3660
+ curvedDonutName?: boolean;
3571
3661
  donutNameAbbreviation?: boolean;
3572
3662
  donutNameOffsetY?: number;
3573
3663
  donutNameMaxAbbreviationSize?: number;
@@ -3575,6 +3665,7 @@ declare module "vue-data-ui" {
3575
3665
  };
3576
3666
  };
3577
3667
  donut?: {
3668
+ radiusRatio?: number;
3578
3669
  strokeWidth?: number;
3579
3670
  borderWidth?: number;
3580
3671
  spacingRatio?: number;
@@ -3716,7 +3807,14 @@ declare module "vue-data-ui" {
3716
3807
  >;
3717
3808
 
3718
3809
  export type VueUiWaffleConfig = {
3810
+ debug?: boolean;
3811
+ loading?: boolean;
3719
3812
  responsive?: boolean;
3813
+ events?: { // v3
3814
+ datapointEnter?: VueUiWaffleEvent; // v3
3815
+ datapointLeave?: VueUiWaffleEvent; // v3
3816
+ datapointClick?: VueUiWaffleEvent; // v3
3817
+ };
3720
3818
  theme?: Theme;
3721
3819
  customPalette?: string[];
3722
3820
  useBlurOnHover?: boolean;
@@ -4723,6 +4821,9 @@ declare module "vue-data-ui" {
4723
4821
  export type VueUiHorizontalBarEvent = VueUiVerticalBarEvent; // v3 renaming
4724
4822
 
4725
4823
  export type VueUiVerticalBarConfig = {
4824
+ debug?: boolean;
4825
+ loading?: boolean;
4826
+ autoSize?: boolean;
4726
4827
  responsive?: boolean;
4727
4828
  theme?: Theme;
4728
4829
  customPalette?: string[];
@@ -4791,6 +4892,7 @@ declare module "vue-data-ui" {
4791
4892
  show?: boolean;
4792
4893
  color?: string;
4793
4894
  strokeWidth?: number;
4895
+ fullWidth?: boolean;
4794
4896
  };
4795
4897
  };
4796
4898
  title?: ChartTitle;
@@ -4912,7 +5014,7 @@ declare module "vue-data-ui" {
4912
5014
  >;
4913
5015
 
4914
5016
  export type VueUiSparklineDatasetItem = {
4915
- period: string;
5017
+ period: string | number;
4916
5018
  value: number;
4917
5019
  absoluteValue?: number;
4918
5020
  id?: string;
@@ -4924,9 +5026,16 @@ declare module "vue-data-ui" {
4924
5026
  };
4925
5027
 
4926
5028
  export type VueUiSparklineConfig = {
5029
+ loading?: boolean; // v3
5030
+ debug?: boolean; // v3
4927
5031
  theme?: Theme;
4928
5032
  type?: "line" | "bar";
4929
5033
  responsive?: boolean;
5034
+ events?: { // v3
5035
+ datapointEnter?: VueUiSparklineEvent; // v3
5036
+ datapointLeave?: VueUiSparklineEvent; // v3
5037
+ datapointClick?: VueUiSparklineEvent; // v3
5038
+ };
4930
5039
  downsample?: {
4931
5040
  threshold?: number;
4932
5041
  };
@@ -4994,6 +5103,7 @@ declare module "vue-data-ui" {
4994
5103
  prefix?: string;
4995
5104
  suffix?: string;
4996
5105
  formatter?: Formatter;
5106
+ datetimeFormatter?: AxisDateFormatter; // v3
4997
5107
  };
4998
5108
  title?: {
4999
5109
  show?: boolean;
@@ -5633,6 +5743,13 @@ declare module "vue-data-ui" {
5633
5743
  }>;
5634
5744
 
5635
5745
  export type VueUiQuickChartConfig = {
5746
+ debug?: boolean; // v3
5747
+ loading?: boolean; // v3
5748
+ events?: {
5749
+ datapointEnter?: ChartEvent<object| object[]>;
5750
+ datapointLeave?: ChartEvent<object| object[]>;
5751
+ datapointClick?: ChartEvent<object| object[]>;
5752
+ };
5636
5753
  responsive?: boolean;
5637
5754
  theme?: Theme;
5638
5755
  axisLabelsFontSize?: number;
@@ -5647,11 +5764,13 @@ declare module "vue-data-ui" {
5647
5764
  dataLabelFontSize?: number;
5648
5765
  dataLabelRoundingPercentage?: number;
5649
5766
  dataLabelRoundingValue?: number;
5767
+ donutCurvedMarkers?: boolean; // v3
5650
5768
  donutHideLabelUnderPercentage?: number;
5651
5769
  donutLabelMarkerStrokeWidth?: number;
5652
5770
  donutRadiusRatio?: number;
5653
5771
  donutShowTotal?: boolean;
5654
5772
  donutStrokeWidth?: number;
5773
+ donutStroke?: string; // v3
5655
5774
  donutThicknessRatio?: number;
5656
5775
  donutTotalLabelFontSize?: number;
5657
5776
  donutTotalLabelOffsetY?: number;
@@ -5684,6 +5803,8 @@ declare module "vue-data-ui" {
5684
5803
  tooltipFontSize?: number;
5685
5804
  tooltipPosition?: TooltipPosition;
5686
5805
  tooltipOffsetY?: number;
5806
+ tooltipSmooth?: boolean;
5807
+ tooltipBackdropFilter?: boolean;
5687
5808
  useCustomLegend?: boolean;
5688
5809
  valuePrefix?: string;
5689
5810
  valueSuffix?: string;
@@ -5704,6 +5825,7 @@ declare module "vue-data-ui" {
5704
5825
  xyPeriods?: Array<number | string>;
5705
5826
  datetimeFormatter?: AxisDateFormatter;
5706
5827
  xyPeriodLabelsRotation?: number;
5828
+ xyPeriodLabelsAutoRotate?: boolean; // v3
5707
5829
  xyPeriodsShowOnlyAtModulo?: boolean;
5708
5830
  xyPeriodsModulo?: number;
5709
5831
  xyScaleSegments?: number;
@@ -6481,6 +6603,7 @@ declare module "vue-data-ui" {
6481
6603
  inflow?: number;
6482
6604
  outflow?: number;
6483
6605
  percentOfTotal: number;
6606
+ name?: string;
6484
6607
  }
6485
6608
 
6486
6609
  export type VueUiFlowFormattedDataset = {
@@ -6506,6 +6629,14 @@ declare module "vue-data-ui" {
6506
6629
  }
6507
6630
 
6508
6631
  export type VueUiFlowConfig = {
6632
+ debug?: boolean;
6633
+ loading?: boolean;
6634
+ responsive?: boolean;
6635
+ events?: {
6636
+ datapointEnter?: VueUiFlowEvent;
6637
+ datapointLeave?: VueUiFlowEvent;
6638
+ datapointClick?: VueUiFlowEvent;
6639
+ };
6509
6640
  theme?: Theme;
6510
6641
  customPalette?: string[];
6511
6642
  userOptions?: ChartUserOptions;
@@ -6646,7 +6777,14 @@ declare module "vue-data-ui" {
6646
6777
  };
6647
6778
 
6648
6779
  export type VueUiParallelCoordinatePlotConfig = {
6780
+ debug?: boolean; // v3
6781
+ loading?: boolean; // v3
6649
6782
  responsive?: boolean;
6783
+ events?: { // v3
6784
+ datapointEnter?: VueUiParallelCoordinatePlotEvent; // v3
6785
+ datapointLeave?: VueUiParallelCoordinatePlotEvent; // v3
6786
+ datapointClick?: VueUiParallelCoordinatePlotEvent; // v3
6787
+ },
6650
6788
  responsiveProportionalSizing?: boolean;
6651
6789
  theme?: Theme;
6652
6790
  useCssAnimation?: boolean;
@@ -6685,6 +6823,8 @@ declare module "vue-data-ui" {
6685
6823
  axisNames?: string[];
6686
6824
  axisNamesColor?: string;
6687
6825
  axisNamesFontSize?: number;
6826
+ axisNamesRotation?: number; // v3
6827
+ axisNamesAutoRotate?: boolean; // v3
6688
6828
  axisNamesBold?: boolean;
6689
6829
  roundings?: number[];
6690
6830
  prefixes?: string[];
@@ -6739,6 +6879,28 @@ declare module "vue-data-ui" {
6739
6879
  };
6740
6880
  };
6741
6881
 
6882
+ export type VueUiParallelCoordinatePlotEventDatapoint = {
6883
+ color: string;
6884
+ datapoints: Array<{
6885
+ axisIndex: number;
6886
+ comment: string;
6887
+ datapointIndex: number;
6888
+ name: string;
6889
+ seriesIndex: number;
6890
+ seriesName: string;
6891
+ value: number;
6892
+ x: number;
6893
+ y: number;
6894
+ }>;
6895
+ id: string;
6896
+ name: string;
6897
+ pathLength: number;
6898
+ shape: Shape;
6899
+ smoothPath: string;
6900
+ straightPath: string;
6901
+ values: number[];
6902
+ }
6903
+
6742
6904
  export type VueUiParallelCoordinatePlotDatapointSelection = {
6743
6905
  id: string;
6744
6906
  name: string;
@@ -7006,6 +7168,11 @@ declare module "vue-data-ui" {
7006
7168
  responsive?: boolean;
7007
7169
  customPalette?: string[];
7008
7170
  useCssAnimation?: boolean;
7171
+ events?: { // v3
7172
+ datapointEnter?: VueUiStackbarEvent; // v3
7173
+ datapointLeave?: VueUiStackbarEvent; // v3
7174
+ datapointClick?: VueUiStackbarEvent; // v3
7175
+ };
7009
7176
  orientation?: "vertical" | "horizontal";
7010
7177
  table?: {
7011
7178
  show?: boolean;
@@ -7114,6 +7281,7 @@ declare module "vue-data-ui" {
7114
7281
  datetimeFormatter?: AxisDateFormatter;
7115
7282
  offsetY?: number;
7116
7283
  rotation?: number;
7284
+ autoRotate?: boolean;
7117
7285
  fontSize?: number;
7118
7286
  color?: string;
7119
7287
  bold?: boolean;
@@ -7198,6 +7366,9 @@ declare module "vue-data-ui" {
7198
7366
  };
7199
7367
 
7200
7368
  export type VueUiBulletConfig = {
7369
+ debug?: boolean; // v3
7370
+ loading?: boolean; // v3
7371
+ responsive?: boolean; // v3
7201
7372
  theme?: Theme;
7202
7373
  userOptions?: ChartUserOptions;
7203
7374
  style?: {
@@ -7232,6 +7403,7 @@ declare module "vue-data-ui" {
7232
7403
  };
7233
7404
  };
7234
7405
  target?: {
7406
+ show?: boolean;
7235
7407
  onTop?: boolean;
7236
7408
  color?: string;
7237
7409
  rounded?: boolean;
@@ -8515,6 +8687,55 @@ declare module "vue-data-ui" {
8515
8687
  * @returns The shifted color in hexadecimal format.
8516
8688
  */
8517
8689
  export const shiftColorHue: (color: string, strength: number) => string;
8690
+
8691
+ export type FormatSmallValueArgs = {
8692
+ value: number;
8693
+ maxDecimals?: number;
8694
+ fallbackFormatter?: (value: number) => string;
8695
+ removeTrailingZero?: boolean
8696
+ }
8697
+
8698
+ /**
8699
+ * Vue Data UI utility
8700
+ * ---
8701
+ * Formats numeric values with a controlled number of decimal places,
8702
+ * applying maxDecimals for all values when no fallbackFormatter is given,
8703
+ * or calling the fallbackFormatter for values ≥ 1 if provided.
8704
+ * ___
8705
+ * @example
8706
+ * // Zero value
8707
+ * formatSmallValue({ value: 0 }); // "0"
8708
+ *
8709
+ * // Values < 1 use minimal decimals
8710
+ * formatSmallValue({ value: 0.9 }); // "0.9"
8711
+ * formatSmallValue({ value: 0.0042 }); // "0.0042"
8712
+ * formatSmallValue({ value: 0.00420001 }); // "0.0042"
8713
+ *
8714
+ * // Retain trailing zeros
8715
+ * formatSmallValue({ value: 0.9, removeTrailingZero: false }); // "0.90"
8716
+ *
8717
+ * // Values ≥ 1 without fallback apply maxDecimals
8718
+ * formatSmallValue({ value: 1.61803, maxDecimals: 3 }); // "1.618"
8719
+ *
8720
+ * // Values ≥ 1 with fallbackFormatter
8721
+ * formatSmallValue({ value: 2.5, fallbackFormatter: v => v.toFixed(1) }); // "2.5"
8722
+ *
8723
+ * // Negative values
8724
+ * formatSmallValue({ value: -0.056 }); // "-0.056"
8725
+ *
8726
+ * @param {FormatSmallValueArgs} options - Configuration object for formatting.
8727
+ * @param {number} options.value - The numeric value to format.
8728
+ * @param {number} [options.maxDecimals=4] - Maximum decimal places to use.
8729
+ * @param {(value: number) => string} [options.fallbackFormatter] - Formatter for values ≥ 1.
8730
+ * @param {boolean} [options.removeTrailingZero=true] - Whether to strip unnecessary trailing zeros.
8731
+ * @returns {string} The formatted number as a string.
8732
+ */
8733
+ export const formatSmallValue: ({
8734
+ value,
8735
+ maxDecimals,
8736
+ fallbackFormatter,
8737
+ removeTrailingZero
8738
+ }: FormatSmallValueArgs) => string
8518
8739
 
8519
8740
  export type CreateTSpansArgs = {
8520
8741
  content: string;
@@ -1,4 +1,4 @@
1
- import { A as o, z as n } from "./index-BnnNoGGd.js";
1
+ import { A as o, z as n } from "./index-Dt40W2hN.js";
2
2
  function c({ defaultConfig: e, userConfig: r }) {
3
3
  if (!Object.keys(r || {}).length)
4
4
  return e;
@@ -10,7 +10,7 @@ function m({
10
10
  !t || r.value || (r.value = !0, clearTimeout(n.value), n.value = setTimeout(async () => {
11
11
  if (t)
12
12
  try {
13
- const { default: e } = await import("./pdf-urw1sGoX.js");
13
+ const { default: e } = await import("./pdf-DtFuExHv.js");
14
14
  await e({
15
15
  domElement: document.getElementById(u),
16
16
  fileName: l,
@@ -27,7 +27,7 @@ function m({
27
27
  !t || a.value || (a.value = !0, clearTimeout(n.value), n.value = setTimeout(async () => {
28
28
  if (t)
29
29
  try {
30
- const { default: e } = await import("./img-CP2uNkKq.js");
30
+ const { default: e } = await import("./img-lSctQ4V6.js");
31
31
  await e({
32
32
  domElement: document.getElementById(u),
33
33
  fileName: l,
@@ -0,0 +1,78 @@
1
+ import { watch as A, nextTick as D } from "vue";
2
+ function S({
3
+ timeLabelsEls: F,
4
+ timeLabels: L,
5
+ slicer: x,
6
+ configRef: s,
7
+ rotationPath: r,
8
+ autoRotatePath: p,
9
+ isAutoSize: N,
10
+ setViewBox: y,
11
+ forceResizeObserver: C,
12
+ callback: o,
13
+ targetClass: j = ".vue-data-ui-time-label",
14
+ rotation: w = -30.0001,
15
+ height: T = null,
16
+ width: b = null
17
+ }) {
18
+ function i(a, n) {
19
+ return n.reduce((e, t) => e && e[t], a);
20
+ }
21
+ function g(a, n, e) {
22
+ n.slice(0, -1).reduce((t, l) => t[l], a)[n.slice(-1)] = e;
23
+ }
24
+ function q(a) {
25
+ const n = /translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(a);
26
+ return n ? {
27
+ x: parseFloat(n[1]),
28
+ y: parseFloat(n[2])
29
+ } : { x: 0, y: 0 };
30
+ }
31
+ async function c() {
32
+ await D();
33
+ const a = F.value;
34
+ if (!a) return;
35
+ const e = Array.from(a.querySelectorAll(j)).map((u) => ({
36
+ ...q(u.getAttribute("transform")),
37
+ width: u.getBBox().width
38
+ }));
39
+ let t = !1;
40
+ const l = 4;
41
+ for (let u = 0; u < e.length && !t; u += 1)
42
+ for (let m = u + 1; m < e.length; m += 1) {
43
+ const v = e[u], f = e[m];
44
+ if (!(v.x + v.width + l < f.x || f.x + f.width + l < v.x)) {
45
+ t = !0;
46
+ break;
47
+ }
48
+ }
49
+ const d = i(s.value, r);
50
+ t && !d ? (g(s.value, r, w), o && o({ collision: t }), N.value && y && C && (y(), C())) : !t && d === w && (g(s.value, r, 0), o && o({ collision: t }));
51
+ }
52
+ function B(a, n) {
53
+ let e;
54
+ return (...t) => {
55
+ clearTimeout(e), e = setTimeout(() => a(...t), n);
56
+ };
57
+ }
58
+ const h = B(c, 200);
59
+ return T && b && A([() => b.value, () => T.value], async ([a, n], [e, t]) => {
60
+ if (!i(s.value, p)) return;
61
+ a !== e || n !== t ? h() : await c();
62
+ }), A(
63
+ [
64
+ () => L.value,
65
+ () => i(s.value, r),
66
+ () => x.value.start,
67
+ () => x.value.end
68
+ ],
69
+ async ([, , a, n], [, , e, t]) => {
70
+ if (!i(s.value, p)) return;
71
+ a !== e || n !== t ? h() : await c();
72
+ },
73
+ { immediate: !0 }
74
+ ), { detectTimeLabelCollision: c };
75
+ }
76
+ export {
77
+ S as u
78
+ };