vue-data-ui 0.5.7 → 0.5.8

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.
@@ -0,0 +1,1691 @@
1
+ declare module 'vue-data-ui' {
2
+ import { DefineComponent } from "vue";
3
+
4
+ export type VueUiXyConfig = {
5
+ chart: {
6
+ fontFamily: string;
7
+ backgroundColor: string;
8
+ color: string;
9
+ height: number;
10
+ width: number;
11
+ zoom: {
12
+ show: boolean;
13
+ color: string;
14
+ };
15
+ padding: {
16
+ top: number;
17
+ right: number;
18
+ bottom: number;
19
+ left: number;
20
+ };
21
+ highlighter: {
22
+ color: string;
23
+ opacity: number;
24
+ };
25
+ grid: {
26
+ stroke: string;
27
+ showVerticalLines: boolean;
28
+ labels: {
29
+ color: string;
30
+ show: boolean;
31
+ fontSize: number;
32
+ axis: {
33
+ yLabel: string;
34
+ xLabel: string;
35
+ fontSize: number;
36
+ };
37
+ xAxisLabels: {
38
+ color: string;
39
+ show: boolean;
40
+ values: string[];
41
+ fontSize: number;
42
+ showOnlyFirstAndLast: boolean;
43
+ };
44
+ };
45
+ };
46
+ labels: {
47
+ fontSize: number;
48
+ };
49
+ legend: {
50
+ color: string;
51
+ show: boolean;
52
+ useDiv: boolean;
53
+ fontSize: number;
54
+ };
55
+ title: {
56
+ show: boolean;
57
+ useDiv: boolean;
58
+ color: string;
59
+ text: string;
60
+ fontSize: number;
61
+ bold: boolean;
62
+ offsetX: number;
63
+ offsetY: number;
64
+ subtitle: {
65
+ fontSize: number;
66
+ color: string;
67
+ text: string;
68
+ };
69
+ };
70
+ tooltip: {
71
+ color: string;
72
+ backgroundColor: string;
73
+ show: boolean;
74
+ showValue: boolean;
75
+ showPercentage: boolean;
76
+ roundingValue: number;
77
+ roundingPercentage: number;
78
+ };
79
+ userOptions: {
80
+ show: boolean;
81
+ title: string;
82
+ labels: {
83
+ dataLabels: string;
84
+ titleInside: string;
85
+ legendInside: string;
86
+ showTable: string;
87
+ };
88
+ };
89
+ };
90
+ bar: {
91
+ useGradient: boolean;
92
+ labels: {
93
+ show: boolean;
94
+ offsetY: number;
95
+ rounding: number;
96
+ color: string;
97
+ };
98
+ };
99
+ line: {
100
+ radius: number;
101
+ useGradient: boolean;
102
+ strokeWidth: number;
103
+ labels: {
104
+ show: boolean;
105
+ offsetY: number;
106
+ rounding: number;
107
+ color: string;
108
+ };
109
+ };
110
+ plot: {
111
+ radius: number;
112
+ useGradient: boolean;
113
+ labels: {
114
+ show: boolean;
115
+ offsetY: number;
116
+ rounding: number;
117
+ color: string;
118
+ };
119
+ };
120
+ table: {
121
+ rounding: number;
122
+ th: {
123
+ backgroundColor: string;
124
+ color: string;
125
+ outline: string;
126
+ };
127
+ td: {
128
+ backgroundColor: string;
129
+ color: string;
130
+ outline: string;
131
+ };
132
+ };
133
+ showTable: boolea;
134
+ };
135
+
136
+ export type VueUiXyDatasetItem = {
137
+ name: string;
138
+ series: number[];
139
+ type: "bar" | "line" | "plot";
140
+ color?: string;
141
+ dashed?: boolean;
142
+ useTag?: boolean;
143
+ dataLabels?: boolean;
144
+ useProgression?: boolean;
145
+ };
146
+
147
+ export const VueUiXy: DefineComponent<{
148
+ config: VueUiXyConfig;
149
+ dataset: VueUiXyDatasetItem[];
150
+ }>
151
+
152
+ export type VueUiDonutConfig = {
153
+ style: {
154
+ fontFamily: string;
155
+ chart: {
156
+ useGradient: boolean;
157
+ gradientIntensity: number;
158
+ backgroundColor: string;
159
+ color: string;
160
+ layout: {
161
+ useDiv: boolean;
162
+ labels: {
163
+ dataLabels: {
164
+ show: boolean;
165
+ hideUnderValue: number;
166
+ };
167
+ percentage: {
168
+ color: string;
169
+ bold: boolean;
170
+ fontSize: number;
171
+ };
172
+ name: {
173
+ color: string;
174
+ bold: boolean;
175
+ fontSize: number;
176
+ };
177
+ hollow: {
178
+ total: {
179
+ show: boolean;
180
+ bold: boolean;
181
+ fontSize: number;
182
+ color: string;
183
+ text: string;
184
+ offsetY: number;
185
+ value: {
186
+ color: string;
187
+ fontSize: number;
188
+ bold: boolean;
189
+ suffix: string;
190
+ prefix: string;
191
+ offsetY: number;
192
+ rounding: number;
193
+ };
194
+ };
195
+ average: {
196
+ show: boolean;
197
+ bold: boolean;
198
+ fontSize: number;
199
+ color: string;
200
+ text: string;
201
+ offsetY: number;
202
+ value: {
203
+ color: string;
204
+ fontSize: number;
205
+ bold: boolean;
206
+ suffix: string;
207
+ prefix: string;
208
+ offsetY: number;
209
+ rounding: number;
210
+ };
211
+ };
212
+ };
213
+ };
214
+ donut: {
215
+ strokeWidth: number;
216
+ };
217
+ };
218
+ legend: {
219
+ backgroundColor: string;
220
+ color: string;
221
+ show: boolean;
222
+ fontSize: number;
223
+ bold: boolean;
224
+ roundingValue: number;
225
+ roundingPercentage: number;
226
+ };
227
+ title: {
228
+ text: string;
229
+ color: string;
230
+ fontSize: number;
231
+ bold: boolean;
232
+ subtitle: {
233
+ color: string;
234
+ text: string;
235
+ fontSize: number;
236
+ bold: boolean;
237
+ };
238
+ };
239
+ tooltip: {
240
+ show: boolean;
241
+ color: string;
242
+ backgroundColor: string;
243
+ fontSize: number;
244
+ showValue: boolean;
245
+ showPercentage: boolean;
246
+ roundingValue: number;
247
+ roundingPercentage: number;
248
+ };
249
+ };
250
+ };
251
+ userOptions: {
252
+ show: boolean;
253
+ title: string;
254
+ labels: {
255
+ dataLabels: string;
256
+ useDiv: string;
257
+ showTable: string;
258
+ };
259
+ };
260
+ translations: {
261
+ total: string;
262
+ average: string;
263
+ };
264
+ table: {
265
+ show: boolean;
266
+ th: {
267
+ backgroundColor: string;
268
+ color: string;
269
+ outline: string;
270
+ };
271
+ td: {
272
+ backgroundColor: string;
273
+ color: string;
274
+ outline: string;
275
+ roundingValue: number;
276
+ roundingPercentage: number;
277
+ };
278
+ };
279
+ };
280
+
281
+ export type VueUiDonutDatasetItem = {
282
+ name: string;
283
+ color?: string;
284
+ values: number[];
285
+ };
286
+
287
+ export const VueUiDonut: DefineComponent<{
288
+ config: VueUiDonutConfig,
289
+ dataset: VueUiDonutDatasetItem[]
290
+ }>;
291
+
292
+ export type VueUiWaffleConfig = {
293
+ style: {
294
+ fontFamily: string;
295
+ chart: {
296
+ backgroundColor: string;
297
+ color: string;
298
+ layout: {
299
+ grid: {
300
+ size: number;
301
+ spaceBetween: number;
302
+ vertical: boolean;
303
+ };
304
+ rect: {
305
+ rounded: boolean;
306
+ rounding: number;
307
+ stroke: string;
308
+ strokeWidth: number;
309
+ useGradient: boolean;
310
+ gradientIntensity: 40;
311
+ };
312
+ useDiv: boolean;
313
+ };
314
+ title: {
315
+ text: string;
316
+ color: string;
317
+ fontSize: number;
318
+ bold: boolean;
319
+ subtitle: {
320
+ color: string;
321
+ text: string;
322
+ fontSize: number;
323
+ bold: boolean;
324
+ };
325
+ };
326
+ tooltip: {
327
+ show: boolean;
328
+ backgroundColor: string;
329
+ color: string;
330
+ fontSize: number;
331
+ showValue: boolean;
332
+ showPercentage: boolean;
333
+ roundingValue: number;
334
+ roundingPercentage: number;
335
+ };
336
+ legend: {
337
+ show: boolean;
338
+ bold: boolean;
339
+ backgroundColor: string;
340
+ color: string;
341
+ fontSize: number;
342
+ roundingValue: number;
343
+ roundingPercentage: number;
344
+ };
345
+ };
346
+ };
347
+ userOptions: {
348
+ show: boolean;
349
+ title: string;
350
+ labels: {
351
+ useDiv: string;
352
+ showTable: string;
353
+ };
354
+ };
355
+ table: {
356
+ show: boolean;
357
+ th: {
358
+ backgroundColor: string;
359
+ color: string;
360
+ outline: string;
361
+ };
362
+ td: {
363
+ backgroundColor: string;
364
+ color: string;
365
+ outline: string;
366
+ roundingValue: number;
367
+ roundingPercentage: number;
368
+ };
369
+ };
370
+ };
371
+
372
+ export type VueUiWaffleDatasetItem = {
373
+ name: string;
374
+ color?: string;
375
+ values: number[];
376
+ }
377
+
378
+ export const VueUiWaffle: DefineComponent<{
379
+ config: VueUiWaffleConfig,
380
+ dataset: VueUiWaffleDatasetItem[]
381
+ }>;
382
+
383
+ export type VueUiRadarConfig = {
384
+ style: {
385
+ fontFamily: string;
386
+ chart: {
387
+ backgroundColor: string;
388
+ color: string;
389
+ layout: {
390
+ useDiv: boolean;
391
+ plots: {
392
+ show: boolean;
393
+ radius: number;
394
+ };
395
+ outerPolygon: {
396
+ stroke: string;
397
+ strokeWidth: number;
398
+ };
399
+ dataPolygon: {
400
+ strokeWidth: number;
401
+ transparent: boolean;
402
+ opacity: number;
403
+ useGradient: boolean;
404
+ };
405
+ grid: {
406
+ show: boolean;
407
+ stroke: string;
408
+ strokeWidth: number;
409
+ graduations: number;
410
+ };
411
+ labels: {
412
+ dataLabels: {
413
+ show: boolean;
414
+ fontSize: number;
415
+ color: string;
416
+ };
417
+ };
418
+ };
419
+ title: {
420
+ text: string;
421
+ color: string;
422
+ fontSize: number;
423
+ bold: boolean;
424
+ subtitle: {
425
+ color: string;
426
+ text: string;
427
+ fontSize: number;
428
+ bold: boolean;
429
+ };
430
+ };
431
+ tooltip: {
432
+ show: boolean;
433
+ backgroundColor: string;
434
+ color: string;
435
+ fontSize: number;
436
+ showValue: boolean;
437
+ showPercentage: boolean;
438
+ roundingValue: number;
439
+ roundingPercentage: number;
440
+ };
441
+ legend: {
442
+ show: boolean;
443
+ bold: boolean;
444
+ backgroundColor: string;
445
+ color: string;
446
+ fontSize: number;
447
+ roundingPercentage: number;
448
+ };
449
+ };
450
+ };
451
+ table: {
452
+ show: boolean;
453
+ th: {
454
+ backgroundColor: string;
455
+ color: string;
456
+ outline: string;
457
+ };
458
+ td: {
459
+ backgroundColor: string;
460
+ color: string;
461
+ outline: string;
462
+ roundingValue: number;
463
+ roundingPercentage: number;
464
+ };
465
+ };
466
+ userOptions: {
467
+ show: boolean;
468
+ title: string;
469
+ labels: {
470
+ useDiv: string;
471
+ showTable: string;
472
+ };
473
+ };
474
+ translations: {
475
+ target: string;
476
+ };
477
+ };
478
+
479
+ export type VueUiRadarDatasetCategoryItem = {
480
+ name: string;
481
+ color?: string;
482
+ };
483
+
484
+ export type VueUiRadarDatasetSerieItem = {
485
+ name: string;
486
+ values: number[];
487
+ color?: string;
488
+ target?: number;
489
+ };
490
+
491
+ export type VueUiRadarDataset = {
492
+ categories: VueUiRadarDatasetCategoryItem[];
493
+ series: VueUiRadarDatasetSerieItem[];
494
+ };
495
+
496
+ export const VueUiRadar: DefineComponent<{
497
+ config: VueUiRadarConfig,
498
+ dataset: VueUiRadarDataset
499
+ }>;
500
+
501
+ export type VueUiQuadrantDatasetSerieItem = {
502
+ name: string;
503
+ x: number;
504
+ y: number;
505
+ };
506
+
507
+ export type VueUiQuadrantDatasetItem = {
508
+ name: string;
509
+ shape: "circle" | "triangle" | "square" | "diamond" | "pentagon" | "hexagon" | "star";
510
+ color?: string;
511
+ series: VueUiQuadrantDatasetSerieItem[];
512
+ };
513
+
514
+ export type VueUiQuadrantConfig = {
515
+ style: {
516
+ fontFamily: string;
517
+ chart: {
518
+ height: number;
519
+ width: number;
520
+ backgroundColor: string;
521
+ color: string;
522
+ layout: {
523
+ useDiv: boolean;
524
+ labels: {
525
+ quadrantLabels: {
526
+ show: boolean;
527
+ tl: {
528
+ text: string;
529
+ color: string;
530
+ fontSize: number;
531
+ bold: boolean;
532
+ };
533
+ tr: {
534
+ text: string;
535
+ color: string;
536
+ fontSize: number;
537
+ bold: boolean;
538
+ };
539
+ br: {
540
+ text: string;
541
+ color: string;
542
+ fontSize: number;
543
+ bold: boolean;
544
+ };
545
+ bl: {
546
+ text: string;
547
+ color: string;
548
+ fontSize: number;
549
+ bold: boolean;
550
+ };
551
+ };
552
+ plotLabels: {
553
+ show: boolean;
554
+ fontSize: number;
555
+ color: string;
556
+ offsetY: number;
557
+ };
558
+ axisLabels: {
559
+ show: boolean;
560
+ fontSize: number;
561
+ color: {
562
+ positive: string;
563
+ negative: string;
564
+ };
565
+ };
566
+ };
567
+ grid: {
568
+ stroke: string;
569
+ strokeWidth: number;
570
+ showArrows: boolean;
571
+ graduations: {
572
+ stroke: string;
573
+ strokeWidth: number;
574
+ show: boolean;
575
+ steps: number;
576
+ fill: boolean;
577
+ color: string;
578
+ roundingForce: number;
579
+ };
580
+ xAxis: {
581
+ min: number;
582
+ max: number;
583
+ auto: boolean;
584
+ name: string;
585
+ };
586
+ yAxis: {
587
+ min: number;
588
+ max: number;
589
+ auto: boolean;
590
+ name: string;
591
+ };
592
+ };
593
+ plots: {
594
+ radius: number;
595
+ outline: boolean;
596
+ outlineColor: string;
597
+ outlineWidth: number;
598
+ };
599
+ areas: {
600
+ show: boolean;
601
+ opacity: number;
602
+ useGradient: boolean;
603
+ };
604
+ };
605
+ title: {
606
+ text: string;
607
+ color: string;
608
+ fontSize: number;
609
+ bold: boolean;
610
+ subtitle: {
611
+ color: string;
612
+ text: string;
613
+ fontSize: number;
614
+ bold: boolean;
615
+ };
616
+ };
617
+ tooltip: {
618
+ show: boolean;
619
+ backgroundColor: string;
620
+ color: string;
621
+ fontSize: number;
622
+ roundingValue: number;
623
+ };
624
+ legend: {
625
+ show: boolean;
626
+ bold: boolean;
627
+ backgroundColor: string;
628
+ color: string;
629
+ fontSize: number;
630
+ };
631
+ };
632
+ };
633
+ table: {
634
+ show: boolean;
635
+ th: {
636
+ backgroundColor: string;
637
+ color: string;
638
+ outline: string;
639
+ };
640
+ td: {
641
+ backgroundColor: string;
642
+ color: string;
643
+ outline: string;
644
+ roundingValue: number;
645
+ };
646
+ };
647
+ userOptions: {
648
+ show: boolean;
649
+ title: string;
650
+ labels: {
651
+ useDiv: string;
652
+ showTable: string;
653
+ showPlotLabels: string;
654
+ };
655
+ };
656
+ translations: {
657
+ category: string;
658
+ item: string;
659
+ side: string;
660
+ };
661
+ };
662
+
663
+ export const VueUiQuadrant: DefineComponent<{
664
+ dataset: VueUiQuadrantDatasetItem[],
665
+ config: VueUiQuadrantConfig
666
+ }>;
667
+
668
+ export type VueUiGaugeDatasetSerieItem = {
669
+ from: number;
670
+ to: number;
671
+ color?: string;
672
+ };
673
+
674
+ export type VueUiGaugeDataset = {
675
+ base?: number;
676
+ value: number;
677
+ series: VueUiGaugeDatasetSerieItem[];
678
+ }
679
+
680
+ export type VueUiGaugeConfig = {
681
+ style: {
682
+ fontFamily: string;
683
+ chart: {
684
+ backgroundColor: string;
685
+ color: string;
686
+ animation: {
687
+ use: boolean;
688
+ speed: number;
689
+ acceleration: number;
690
+ };
691
+ layout: {
692
+ useDiv: boolean;
693
+ track: {
694
+ size: number;
695
+ useGradient: boolean;
696
+ gradientIntensity: number;
697
+ };
698
+ markers: {
699
+ size: number;
700
+ color: string;
701
+ strokeWidth: number;
702
+ stroke: string;
703
+ backgroundColor: string;
704
+ bold: boolean;
705
+ fontSizeRatio: number;
706
+ offsetY: number;
707
+ roundingValue: number;
708
+ };
709
+ pointer: {
710
+ size: number;
711
+ stroke: string;
712
+ strokeWidth: number;
713
+ useRatingColor: boolean;
714
+ color: string;
715
+ circle: {
716
+ radius: number;
717
+ stroke: string;
718
+ strokeWidth: number;
719
+ color: string;
720
+ };
721
+ };
722
+ };
723
+ legend: {
724
+ fontSize: number;
725
+ prefix: string;
726
+ suffix: string;
727
+ roundingValue: number;
728
+ showPlusSymbol: boolean;
729
+ useRatingColor: boolean;
730
+ color: string;
731
+ };
732
+ title: {
733
+ text: string;
734
+ color: string;
735
+ fontSize: number;
736
+ bold: boolean;
737
+ subtitle: {
738
+ color: string;
739
+ text: string;
740
+ fontSize: number;
741
+ bold: boolean;
742
+ };
743
+ };
744
+ };
745
+ };
746
+ userOptions: {
747
+ show: boolean;
748
+ title: string;
749
+ labels: {
750
+ useDiv: string;
751
+ showTable: string;
752
+ };
753
+ };
754
+ translations: {
755
+ base: string;
756
+ };
757
+ };
758
+
759
+ export const VueUiGauge: DefineComponent<{
760
+ config: VueUiGaugeConfig,
761
+ dataset: VueUiGaugeDataset
762
+ }>;
763
+
764
+ export type VueUiChestnutDatasetBranchBreakdown = {
765
+ name: string;
766
+ value: number;
767
+ color?: string;
768
+ };
769
+
770
+ export type VueUiChestnutDatasetBranch = {
771
+ name: string;
772
+ value: number;
773
+ breakdown: VueUiChestnutDatasetBranchBreakdown[];
774
+ };
775
+
776
+ export type VueUiChestnutDatasetRoot = {
777
+ name: string;
778
+ color?: string;
779
+ branches: VueUiChestnutDatasetBranch[];
780
+ };
781
+
782
+ export type VueUiChestnutConfig = {
783
+ style: {
784
+ fontFamily: string;
785
+ chart: {
786
+ backgroundColor: string;
787
+ color: string;
788
+ layout: {
789
+ grandTotal: {
790
+ show: boolean;
791
+ fontSize: number;
792
+ bold: boolean;
793
+ suffix: string;
794
+ prefix: string;
795
+ roundingValue: number;
796
+ color: string;
797
+ text: string;
798
+ offsetY: number;
799
+ };
800
+ roots: {
801
+ stroke: string;
802
+ strokeWidth: number;
803
+ useGradient: boolean;
804
+ gradientIntensity: number;
805
+ underlayerColor: string;
806
+ labels: {
807
+ show: boolean;
808
+ fontSize: number;
809
+ adaptColorToBackground: boolean;
810
+ color: string;
811
+ bold: boolean;
812
+ roundingValue: number;
813
+ prefix: string;
814
+ suffix: string;
815
+ name: {
816
+ color: string;
817
+ fontSize: number;
818
+ bold: boolean;
819
+ };
820
+ };
821
+ };
822
+ verticalSeparator: {
823
+ stroke: string;
824
+ strokeWidth: number;
825
+ };
826
+ links: {
827
+ opacity: number;
828
+ };
829
+ branches: {
830
+ stroke: string;
831
+ strokeWidth: number;
832
+ borderRadius: number;
833
+ useGradient: boolean;
834
+ gradientIntensity: number;
835
+ underlayerColor: string;
836
+ widthRatio: number;
837
+ labels: {
838
+ show: boolean;
839
+ fontSize: number;
840
+ color: string;
841
+ bold: boolean;
842
+ dataLabels: {
843
+ show: boolean;
844
+ hideUnderValue: number;
845
+ fontSize: number;
846
+ roundingValue: number;
847
+ roundingPercentage: number;
848
+ prefix: string;
849
+ suffix: string;
850
+ };
851
+ };
852
+ };
853
+ nuts: {
854
+ offsetX: number;
855
+ useGradient: boolean;
856
+ gradientIntensity: number;
857
+ selected: {
858
+ useMotion: boolean;
859
+ useGradient: boolean;
860
+ gradientIntensity: number;
861
+ roundingValue: number;
862
+ roundingPercentage: number;
863
+ labels: {
864
+ dataLabels: {
865
+ hideUnderValue: number;
866
+ color: string;
867
+ fontSize: number;
868
+ bold: boolean;
869
+ prefix: string;
870
+ suffix: string;
871
+ };
872
+ core: {
873
+ total: {
874
+ color: string;
875
+ fontSize: number;
876
+ bold: boolean;
877
+ };
878
+ value: {
879
+ color: string;
880
+ fontSize: number;
881
+ bold: boolean;
882
+ prefix: string;
883
+ suffix: string;
884
+ };
885
+ };
886
+ };
887
+ };
888
+ };
889
+ legend: {
890
+ fontSize: number;
891
+ color: string;
892
+ roundingValue: number;
893
+ roundingPercentage: number;
894
+ prefix: string;
895
+ suffix: string;
896
+ };
897
+ title: {
898
+ color: string;
899
+ fontSize: number;
900
+ text: string;
901
+ bold: boolean;
902
+ offsetY: number;
903
+ subtitle: {
904
+ text: string;
905
+ color: string;
906
+ bold: boolean;
907
+ fontSize: number;
908
+ offsetY: number;
909
+ };
910
+ };
911
+ };
912
+ };
913
+ };
914
+ table: {
915
+ show: boolean;
916
+ th: {
917
+ backgroundColor: string;
918
+ color: string;
919
+ outline: string;
920
+ translations: {
921
+ rootName: string;
922
+ rootValue: string;
923
+ rootToTotal: string;
924
+ branchName: string;
925
+ branchValue: string;
926
+ branchToRoot: string;
927
+ branchToTotal: string;
928
+ nutName: string;
929
+ nutValue: string;
930
+ nutToBranch: string;
931
+ nutToRoot: string;
932
+ nutToTotal: string;
933
+ };
934
+ };
935
+ td: {
936
+ backgroundColor: string;
937
+ color: string;
938
+ outline: string;
939
+ roundingValue: number;
940
+ roundingPercentage: number;
941
+ };
942
+ };
943
+ userOptions: {
944
+ show: boolean;
945
+ title: string;
946
+ labels: {
947
+ showTable: string;
948
+ };
949
+ };
950
+ translations: {
951
+ total: string;
952
+ proportionToTree: string;
953
+ of: string;
954
+ }
955
+ };
956
+
957
+ export const VueUiChestnut: DefineComponent<{
958
+ config: VueUiChestnutConfig,
959
+ dataset: VueUiChestnutDatasetRoot[]
960
+ }>;
961
+
962
+ export type VueUiOnionDatasetItem = {
963
+ name: string;
964
+ percentage: number;
965
+ value?: number;
966
+ color?: string;
967
+ prefix?: string;
968
+ suffix?: string;
969
+ };
970
+
971
+ export type VueUiOnionConfig = {
972
+ style: {
973
+ fontFamily: string;
974
+ chart: {
975
+ backgroundColor: string;
976
+ color: string;
977
+ useGradient: boolean;
978
+ gradientIntensity: number;
979
+ layout: {
980
+ useDiv: boolean;
981
+ gutter: {
982
+ color: string;
983
+ width: number;
984
+ };
985
+ track: {
986
+ width: number;
987
+ };
988
+ labels: {
989
+ show: boolean;
990
+ fontSize: number;
991
+ color: string;
992
+ roundingValue: number;
993
+ roundingPercentage: number;
994
+ bold: boolean;
995
+ offsetY: number;
996
+ offsetX: number;
997
+ value: {
998
+ show: boolean;
999
+ };
1000
+ percentage: {
1001
+ show: boolean;
1002
+ };
1003
+ };
1004
+ };
1005
+ title: {
1006
+ text: string;
1007
+ color: string;
1008
+ fontSize: number;
1009
+ bold: boolean;
1010
+ subtitle: {
1011
+ color: string;
1012
+ text: string;
1013
+ fontSize: number;
1014
+ bold: boolean;
1015
+ };
1016
+ };
1017
+ legend: {
1018
+ show: boolean;
1019
+ bold: boolean;
1020
+ backgroundColor: string;
1021
+ color: string;
1022
+ fontSize: number;
1023
+ roundingValue: number;
1024
+ roundingPercentage: number;
1025
+ };
1026
+ };
1027
+ };
1028
+ userOptions: {
1029
+ show: boolean;
1030
+ title: string;
1031
+ labels: {
1032
+ useDiv: string;
1033
+ showTable: string;
1034
+ };
1035
+ };
1036
+ table: {
1037
+ show: boolean;
1038
+ th: {
1039
+ backgroundColor: string;
1040
+ color: string;
1041
+ outline: string;
1042
+ };
1043
+ td: {
1044
+ backgroundColor: string;
1045
+ color: string;
1046
+ outline: string;
1047
+ roundingValue: number;
1048
+ roundingPercentage: number;
1049
+ },
1050
+ translations: {
1051
+ value: string;
1052
+ percentage: string;
1053
+ serie: string;
1054
+ };
1055
+ };
1056
+ };
1057
+
1058
+ export const VueUiOnion: DefineComponent<{
1059
+ config: VueUiOnionConfig,
1060
+ dataset: VueUiOnionDatasetItem[]
1061
+ }>;
1062
+
1063
+ export type VueUiVerticalBarDatasetChild = {
1064
+ name: string;
1065
+ value: string;
1066
+ };
1067
+
1068
+ export type VueUiVerticalBarDatasetItem = {
1069
+ name: string;
1070
+ value: number;
1071
+ color?: string;
1072
+ children?: VueUiVerticalBarDatasetChild[];
1073
+ };
1074
+
1075
+ export type VueUiVerticalBarConfig = {
1076
+ style: {
1077
+ fontFamily: string;
1078
+ chart: {
1079
+ backgroundColor: string;
1080
+ color: string;
1081
+ layout: {
1082
+ useDiv: boolean;
1083
+ bars: {
1084
+ sort: "desc" | "asc";
1085
+ useStroke: boolean;
1086
+ strokeWidth: number;
1087
+ height: number;
1088
+ gap: number;
1089
+ borderRadius: number;
1090
+ offsetX: number;
1091
+ paddingRight: number;
1092
+ useGradient: boolean;
1093
+ gradientIntensity: number;
1094
+ fillOpacity: number;
1095
+ underlayerColor: string;
1096
+ dataLabels: {
1097
+ color: string;
1098
+ bold: boolean;
1099
+ fontSize: number;
1100
+ value: {
1101
+ show: boolean;
1102
+ roundingValue: number;
1103
+ prefix: string;
1104
+ suffix: string;
1105
+ };
1106
+ percentage: {
1107
+ show: boolean;
1108
+ roundingPercentage: number;
1109
+ };
1110
+ offsetX: 0;
1111
+ };
1112
+ nameLabels: {
1113
+ show: boolean;
1114
+ color: string;
1115
+ bold: boolean;
1116
+ fontSize: number;
1117
+ offsetX: number;
1118
+ };
1119
+ parentLabels: {
1120
+ show: boolean;
1121
+ color: string;
1122
+ bold: boolean;
1123
+ fontSize: number;
1124
+ offsetX: number;
1125
+ };
1126
+ };
1127
+ highlighter: {
1128
+ color: string;
1129
+ opacity: number;
1130
+ };
1131
+ separators: {
1132
+ show: boolean;
1133
+ color: string;
1134
+ strokeWidth: number;
1135
+ };
1136
+ };
1137
+ title: {
1138
+ text: string;
1139
+ color: string;
1140
+ fontSize: number;
1141
+ bold: boolean;
1142
+ subtitle: {
1143
+ color: string;
1144
+ text: string;
1145
+ fontSize: number;
1146
+ bold: boolean;
1147
+ };
1148
+ };
1149
+ legend: {
1150
+ show: boolean;
1151
+ fontSize: number;
1152
+ color: string;
1153
+ backgroundColor: string;
1154
+ bold: boolean;
1155
+ roundingValue: number;
1156
+ roundingPercentage: number;
1157
+ prefix: string;
1158
+ suffix: string;
1159
+ };
1160
+ tooltip: {
1161
+ show: boolean;
1162
+ backgroundColor: string;
1163
+ color: string;
1164
+ fontSize: number;
1165
+ showValue: boolean;
1166
+ showPercentage: boolean;
1167
+ roundingValue: number;
1168
+ roundingPercentage: number;
1169
+ prefix: string;
1170
+ suffix: string;
1171
+ };
1172
+ };
1173
+ };
1174
+ userOptions: {
1175
+ show: boolean;
1176
+ title: string;
1177
+ labels: {
1178
+ useDiv: string;
1179
+ showTable: string;
1180
+ sort: string;
1181
+ };
1182
+ };
1183
+ table: {
1184
+ show: boolean;
1185
+ th: {
1186
+ backgroundColor: string;
1187
+ color: string;
1188
+ outline: string;
1189
+ };
1190
+ td: {
1191
+ backgroundColor: string;
1192
+ color: string;
1193
+ outline: string;
1194
+ roundingValue: number;
1195
+ roundingPercentage: number;
1196
+ prefix: string;
1197
+ suffix: string;
1198
+ };
1199
+ };
1200
+ translations: {
1201
+ parentName: string;
1202
+ childName: string;
1203
+ value: string;
1204
+ percentageToTotal: string;
1205
+ percentageToSerie: string;
1206
+ };
1207
+ };
1208
+
1209
+ export const VueUiVerticalBar: DefineComponent<{
1210
+ config: VueUiVerticalBarConfig,
1211
+ dataset: VueUiVerticalBarDatasetItem[]
1212
+ }>;
1213
+
1214
+ export type VueUiSparklineDatasetItem = {
1215
+ period: string;
1216
+ value: number;
1217
+ };
1218
+
1219
+ export type VueUiSparklineConfig = {
1220
+ style: {
1221
+ backgroundColor: string;
1222
+ fontFamily: string;
1223
+ line: {
1224
+ color: string;
1225
+ strokeWidth: number;
1226
+ };
1227
+ zeroLine: {
1228
+ color: string;
1229
+ strokeWidth: number;
1230
+ };
1231
+ plot: {
1232
+ show: boolean;
1233
+ radius: number;
1234
+ stroke: string;
1235
+ strokeWidth: number;
1236
+ };
1237
+ verticalIndicator: {
1238
+ show: boolean;
1239
+ strokeWidth: number;
1240
+ };
1241
+ dataLabel: {
1242
+ position: "left" | "right";
1243
+ fontSize: number;
1244
+ bold: boolean;
1245
+ color: string;
1246
+ roundingValue: number;
1247
+ valueType: "latest" | "sum" | "average";
1248
+ };
1249
+ title: {
1250
+ show: boolean;
1251
+ textAlign: "left" | "center" | "right";
1252
+ color: string;
1253
+ fontSize: number;
1254
+ bold: boolean;
1255
+ text: string;
1256
+ };
1257
+ area: {
1258
+ show: boolean;
1259
+ useGradient: boolean;
1260
+ opacity: number;
1261
+ color: string;
1262
+ };
1263
+ };
1264
+ };
1265
+
1266
+ export const VueUiSparkline: DefineComponent<{
1267
+ config: VueUiSparklineConfig,
1268
+ dataset: VueUiSparklineDatasetItem[]
1269
+ }>;
1270
+
1271
+ export type VueUiTableDatasetHeaderItem = {
1272
+ name: string;
1273
+ type: "text" | "date" | "numeric";
1274
+ average?: boolean;
1275
+ decimals?: number;
1276
+ sum?: boolean;
1277
+ isSort?: boolean;
1278
+ isSearch?: boolean;
1279
+ isMultiselect?: boolean;
1280
+ isPercentage?: boolean;
1281
+ percentageTo?: string;
1282
+ prefix?: string;
1283
+ suffix?: string;
1284
+ rangeFilter?: boolean;
1285
+ };
1286
+
1287
+ export type VueUiTableDatasetBodyItem = {
1288
+ td: (number | string)[];
1289
+ }
1290
+
1291
+ export type VueUiTableDataset = {
1292
+ header: VueUiTableDatasetHeaderItem[];
1293
+ body: VueUiTableDatasetBodyItem[];
1294
+ };
1295
+
1296
+ export type VueUiTableConfig = {
1297
+ fontFamily: string;
1298
+ maxHeight: number;
1299
+ rowsPerPage: number;
1300
+ style: {
1301
+ th: {
1302
+ backgroundColor: string;
1303
+ color: string;
1304
+ outline: string;
1305
+ selected: {
1306
+ backgroundColor: string;
1307
+ color: string;
1308
+ };
1309
+ };
1310
+ rows: {
1311
+ even: {
1312
+ backgroundColor: string;
1313
+ color: string;
1314
+ selectedCell: {
1315
+ backgroundColor: string;
1316
+ color: string;
1317
+ };
1318
+ selectedNeighbors: {
1319
+ backgroundColor: string;
1320
+ color: string;
1321
+ };
1322
+ };
1323
+ odd: {
1324
+ backgroundColor: string;
1325
+ color: string;
1326
+ selectedCell: {
1327
+ backgroundColor: string;
1328
+ color: string;
1329
+ };
1330
+ selectedNeighbors: {
1331
+ backgroundColor: string;
1332
+ color: string;
1333
+ };
1334
+ };
1335
+ };
1336
+ inputs: {
1337
+ backgroundColor: string;
1338
+ color: string;
1339
+ border: string;
1340
+ accentColor: string;
1341
+ },
1342
+ dropdowns: {
1343
+ backgroundColor: string;
1344
+ color: string;
1345
+ icons: {
1346
+ selected: {
1347
+ color: string;
1348
+ unicode: string;
1349
+ };
1350
+ unselected: {
1351
+ color: string;
1352
+ unicode: string;
1353
+ };
1354
+ };
1355
+ };
1356
+ infoBar: {
1357
+ backgroundColor: string;
1358
+ color: string;
1359
+ };
1360
+ pagination: {
1361
+ buttons: {
1362
+ backgroundColor: string;
1363
+ color: string;
1364
+ opacityDisabled: string;
1365
+ };
1366
+ navigationIndicator: {
1367
+ backgroundColor: string;
1368
+ };
1369
+ };
1370
+ exportMenu: {
1371
+ backgroundColor: string;
1372
+ color: string;
1373
+ buttons: {
1374
+ backgroundColor: string;
1375
+ color: string;
1376
+ };
1377
+ };
1378
+ closeButtons: {
1379
+ backgroundColor: string;
1380
+ color: string;
1381
+ borderRadius: string;
1382
+ };
1383
+ chart: {
1384
+ modal: {
1385
+ backgroundColor: string;
1386
+ color: string;
1387
+ buttons: {
1388
+ selected: {
1389
+ backgroundColor: string;
1390
+ color: string;
1391
+ };
1392
+ unselected: {
1393
+ backgroundColor: string;
1394
+ color: string;
1395
+ };
1396
+ };
1397
+ };
1398
+ layout: {
1399
+ backgroundColor: string;
1400
+ axis: {
1401
+ stroke: string;
1402
+ strokeWidth: number;
1403
+ };
1404
+ bar: {
1405
+ fill: string;
1406
+ stroke: string;
1407
+ },
1408
+ line: {
1409
+ stroke: string;
1410
+ strokeWidth: number;
1411
+ plot: {
1412
+ fill: string;
1413
+ stroke: string;
1414
+ strokeWidth: number;
1415
+ radius: {
1416
+ selected: number;
1417
+ unselected: number;
1418
+ };
1419
+ };
1420
+ selector: {
1421
+ stroke: string;
1422
+ strokeWidth: number;
1423
+ strokeDasharray: number;
1424
+ };
1425
+ };
1426
+ labels: {
1427
+ color: string;
1428
+ };
1429
+ progression: {
1430
+ stroke: string;
1431
+ strokeWidth: number;
1432
+ strokeDasharray: number;
1433
+ arrowSize: number;
1434
+ };
1435
+ };
1436
+ };
1437
+ };
1438
+ translations: {
1439
+ average: string;
1440
+ by: string;
1441
+ chooseCategoryColumn: string;
1442
+ exportAllButton: string;
1443
+ exportAllLabel: string;
1444
+ exportPageButton: string;
1445
+ exportPageLabel: string;
1446
+ from: string;
1447
+ inputPlaceholder: string;
1448
+ makeDonut: string;
1449
+ nb: string;
1450
+ page: string;
1451
+ paginatorLabel: string;
1452
+ sizeWarning: string;
1453
+ sum: string;
1454
+ to: string;
1455
+ total: string;
1456
+ totalRows: string;
1457
+ };
1458
+ useChart: boolean;
1459
+ };
1460
+
1461
+ export const VueUiTable: DefineComponent<{
1462
+ config: VueUiTableConfig,
1463
+ dataset: VueUiTableDataset
1464
+ }>;
1465
+
1466
+ export type VueUiRatingDatasetDetailed = {
1467
+ [key: string]: number;
1468
+ };
1469
+
1470
+ export type VueUiRatingDataset = {
1471
+ rating: number | VueUiRatingDatasetDetailed;
1472
+ };
1473
+
1474
+ export type VueUiRatingConfig = {
1475
+ type: "star" | "image";
1476
+ readonly: boolean;
1477
+ from: number;
1478
+ to: number;
1479
+ style: {
1480
+ fontFamily: string;
1481
+ animated: boolean;
1482
+ itemSize: number;
1483
+ backgroundColor: string;
1484
+ star: {
1485
+ activeColor: string;
1486
+ borderColor: string;
1487
+ borderWidth: number;
1488
+ apexes: number;
1489
+ inactiveColor: string;
1490
+ useGradient: boolean;
1491
+ };
1492
+ image: {
1493
+ src: string;
1494
+ inactiveOpacity: string;
1495
+ alt: string;
1496
+ };
1497
+ title: {
1498
+ textAlign: string;
1499
+ fontSize: number;
1500
+ color: string;
1501
+ bold: boolean;
1502
+ text: string;
1503
+ offsetY: number;
1504
+ subtitle: {
1505
+ fontSize: number;
1506
+ color: string;
1507
+ bold: boolean;
1508
+ text: string;
1509
+ offsetY: number;
1510
+ };
1511
+ };
1512
+ rating: {
1513
+ show: boolean;
1514
+ fontSize: number;
1515
+ bold: boolean;
1516
+ roundingValue: number;
1517
+ position: "bottom" | "top" | "left" | "right",
1518
+ offsetY: number;
1519
+ offsetX: number;
1520
+ };
1521
+ tooltip: {
1522
+ show: boolean;
1523
+ fontSize: number;
1524
+ offsetY: number;
1525
+ color: string;
1526
+ bold: boolean;
1527
+ backgroundColor: string;
1528
+ borderColor: string;
1529
+ borderRadius: number;
1530
+ boxShadow: string;
1531
+ };
1532
+ };
1533
+ };
1534
+
1535
+ export const VueUiRating: DefineComponent<{
1536
+ config: VueUiRatingConfig,
1537
+ dataset: VueUiRatingDataset
1538
+ }>;
1539
+
1540
+ export type VueUiScreenshotConfig = {
1541
+ mode: "download" | "post";
1542
+ quality: number;
1543
+ style: {
1544
+ info: {
1545
+ background: string;
1546
+ bold: boolean;
1547
+ border: string;
1548
+ borderRadius: number;
1549
+ boxShadow: string;
1550
+ color: string;
1551
+ fontFamily: string;
1552
+ fontSize: number;
1553
+ minWidth: number;
1554
+ padding: number;
1555
+ top: number;
1556
+ };
1557
+ captureButton: {
1558
+ background: string;
1559
+ bold: boolean;
1560
+ border: string;
1561
+ borderRadius: number;
1562
+ boxShadow: string;
1563
+ color: string;
1564
+ fontFamily: string;
1565
+ fontSize: number;
1566
+ minHeight: number;
1567
+ padding: string;
1568
+ };
1569
+ cancelButton: {
1570
+ background: string;
1571
+ border: string;
1572
+ borderRadius: number;
1573
+ color: string;
1574
+ right: number;
1575
+ size: number;
1576
+ top: number;
1577
+ };
1578
+ captureArea: {
1579
+ background: string;
1580
+ border: string;
1581
+ initialHeight: number;
1582
+ initialWidth: number;
1583
+ };
1584
+ handles: {
1585
+ background: string;
1586
+ border: string;
1587
+ borderRadius: number;
1588
+ size: number;
1589
+ };
1590
+ };
1591
+ translations: {
1592
+ captureButton: string;
1593
+ info: string;
1594
+ };
1595
+ };
1596
+
1597
+ export const VueUiScreenshot: DefineComponent<{
1598
+ config: VueUiScreenshotConfig
1599
+ }>;
1600
+
1601
+ export type VueUiSkeletonConfig = {
1602
+ type: "bar" | "donut" | "gauge" | "line" | "onion" | "quadrant" | "radar" | "rating" | "table" | "verticalBar" | "waffle";
1603
+ style: {
1604
+ backgroundColor: string;
1605
+ color: string;
1606
+ animated: boolean;
1607
+ line: {
1608
+ axis: {
1609
+ show: boolean;
1610
+ color: string;
1611
+ strokeWidth: number;
1612
+ };
1613
+ path: {
1614
+ color: string;
1615
+ strokeWidth: number;
1616
+ showPlots: boolean;
1617
+ };
1618
+ };
1619
+ bar: {
1620
+ axis: {
1621
+ show: boolean;
1622
+ color: string;
1623
+ strokeWidth: number;
1624
+ };
1625
+ borderRadius: number;
1626
+ color: string;
1627
+ barWidth: number;
1628
+ };
1629
+ donut: {
1630
+ color: string;
1631
+ strokeWidth: number;
1632
+ };
1633
+ onion: {
1634
+ color: string;
1635
+ };
1636
+ gauge: {
1637
+ color: string;
1638
+ };
1639
+ quadrant: {
1640
+ grid: {
1641
+ color: string;
1642
+ strokeWidth: number;
1643
+ };
1644
+ plots: {
1645
+ radius: number;
1646
+ color: string;
1647
+ };
1648
+ };
1649
+ radar: {
1650
+ grid: {
1651
+ color: string;
1652
+ strokeWidth: number;
1653
+ };
1654
+ shapes: {
1655
+ color: string;
1656
+ };
1657
+ };
1658
+ waffle: {
1659
+ color: string;
1660
+ };
1661
+ table: {
1662
+ th: {
1663
+ color: string;
1664
+ };
1665
+ td: {
1666
+ color: string;
1667
+ strokeWidth: number;
1668
+ };
1669
+ };
1670
+ rating: {
1671
+ color: string;
1672
+ filled: boolean;
1673
+ strokeWidth: number;
1674
+ maxWidth: number;
1675
+ };
1676
+ verticalBar: {
1677
+ axis: {
1678
+ show: boolean;
1679
+ color: string;
1680
+ strokeWidth: number;
1681
+ },
1682
+ borderRadius: number;
1683
+ color: string;
1684
+ };
1685
+ };
1686
+ };
1687
+
1688
+ export const VueUiSkeleton: DefineComponent<{
1689
+ config: VueUiSkeletonConfig
1690
+ }>;
1691
+ };