@ironsource/shared-ui 2.1.12-rc.16 → 2.1.12-rc.17
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.
- package/Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_da34b108_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_79dc2883_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9e521454_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +16 -6
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +76 -72
- package/components/chart/ChartHeader.vue.d.ts +7 -7
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +48 -79
- package/components/chart/ChartHeaderTrend.vue.d.ts +6 -5
- package/components/chart/ChartHeaderTrend.vue.js +3 -3
- package/components/chart/ChartHeaderTrend.vue2.js +15 -14
- package/components/chart/ChartPlane.vue.d.ts +17 -7
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +270 -258
- package/components/chart/ChartStoryArgs.d.ts +21 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +2 -2
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/{components/TooltipHeader.vue2.js → TooltipHeader.vue2.js} +5 -5
- package/components/chart/colorPalette.d.ts +1 -1
- package/components/chart/colorPalette.js +23 -23
- package/components/chart/composables/useChartHeight.d.ts +1 -1
- package/components/chart/consts.d.ts +10 -11
- package/components/chart/consts.js +29 -30
- package/components/chart/index.d.ts +71 -32
- package/components/chart/types.d.ts +9 -0
- package/components/chart/types.js +4 -2
- package/components/chart/utils/highlightUtils.d.ts +1 -1
- package/index.js +12 -8
- package/package.json +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_4e9ce62f_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_1ff0e54f_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_21ce0774_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_64dcfb5d_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_81cdfd5e_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_40d98a66_lang.css +0 -1
- package/components/chart/components/TooltipHeader.vue.js +0 -7
- /package/components/chart/{components/TooltipHeader.vue.d.ts → TooltipHeader.vue.d.ts} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Chart from './Chart.vue';
|
|
2
|
+
import { ChartType, TooltipOrder, TrendDirection } from './types';
|
|
2
3
|
declare const ChartTypes: () => ({
|
|
3
4
|
new (...args: any[]): {
|
|
4
5
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -13,7 +14,7 @@ declare const ChartTypes: () => ({
|
|
|
13
14
|
sortSelected: any;
|
|
14
15
|
sortOptions: unknown[];
|
|
15
16
|
sortOptionNameKey: string;
|
|
16
|
-
chartType:
|
|
17
|
+
chartType: ChartType;
|
|
17
18
|
hideLegend: boolean;
|
|
18
19
|
xAxisFormat: import("./types").ValueFormat;
|
|
19
20
|
totalsChart: boolean;
|
|
@@ -24,15 +25,17 @@ declare const ChartTypes: () => ({
|
|
|
24
25
|
subheader: string;
|
|
25
26
|
subheaderTooltip: any;
|
|
26
27
|
trendValue: string | number;
|
|
27
|
-
trendDirection:
|
|
28
|
+
trendDirection: TrendDirection;
|
|
28
29
|
tickCount: number;
|
|
29
30
|
truncateTickLabels: boolean;
|
|
31
|
+
keepSubheaderVisible: boolean;
|
|
30
32
|
noDataIcon: string;
|
|
31
33
|
noDataTitle: string;
|
|
32
34
|
noDataSubtitle: string;
|
|
33
35
|
withAnimation: boolean;
|
|
34
36
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
35
37
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
38
|
+
tooltipOrder: TooltipOrder;
|
|
36
39
|
fullHeight: boolean;
|
|
37
40
|
withSettingsHeader: boolean;
|
|
38
41
|
extraCharts: Record<string, unknown>[];
|
|
@@ -75,8 +78,8 @@ declare const ChartTypes: () => ({
|
|
|
75
78
|
default: string;
|
|
76
79
|
};
|
|
77
80
|
chartType: {
|
|
78
|
-
type: import("vue").PropType<
|
|
79
|
-
default:
|
|
81
|
+
type: import("vue").PropType<ChartType>;
|
|
82
|
+
default: ChartType;
|
|
80
83
|
};
|
|
81
84
|
hideLegend: {
|
|
82
85
|
type: import("vue").PropType<boolean>;
|
|
@@ -127,8 +130,8 @@ declare const ChartTypes: () => ({
|
|
|
127
130
|
default: any;
|
|
128
131
|
};
|
|
129
132
|
trendDirection: {
|
|
130
|
-
type: import("vue").PropType<
|
|
131
|
-
default:
|
|
133
|
+
type: import("vue").PropType<TrendDirection>;
|
|
134
|
+
default: TrendDirection;
|
|
132
135
|
};
|
|
133
136
|
tickCount: {
|
|
134
137
|
type: import("vue").PropType<number>;
|
|
@@ -138,6 +141,10 @@ declare const ChartTypes: () => ({
|
|
|
138
141
|
type: import("vue").PropType<boolean>;
|
|
139
142
|
default: boolean;
|
|
140
143
|
};
|
|
144
|
+
keepSubheaderVisible: {
|
|
145
|
+
type: import("vue").PropType<boolean>;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
141
148
|
noDataIcon: {
|
|
142
149
|
type: import("vue").PropType<string>;
|
|
143
150
|
default: string;
|
|
@@ -162,6 +169,10 @@ declare const ChartTypes: () => ({
|
|
|
162
169
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
163
170
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
164
171
|
};
|
|
172
|
+
tooltipOrder: {
|
|
173
|
+
type: import("vue").PropType<TooltipOrder>;
|
|
174
|
+
default: TooltipOrder;
|
|
175
|
+
};
|
|
165
176
|
fullHeight: {
|
|
166
177
|
type: import("vue").PropType<boolean>;
|
|
167
178
|
default: boolean;
|
|
@@ -177,8 +188,8 @@ declare const ChartTypes: () => ({
|
|
|
177
188
|
}>> & {
|
|
178
189
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
179
190
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
180
|
-
"onUpdate:chartType"?: (chartType:
|
|
181
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "totalsChart" | "parsing" | "yAxisFormat" | "dataSets" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "tickCount" | "truncateTickLabels" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "fullHeight" | "withSettingsHeader" | "extraCharts">;
|
|
191
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
192
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "totalsChart" | "parsing" | "yAxisFormat" | "dataSets" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "withSettingsHeader" | "extraCharts">;
|
|
182
193
|
$attrs: {
|
|
183
194
|
[x: string]: unknown;
|
|
184
195
|
};
|
|
@@ -190,7 +201,7 @@ declare const ChartTypes: () => ({
|
|
|
190
201
|
}>;
|
|
191
202
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
192
203
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
193
|
-
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:sortSelected", sortOption: unknown) => void) & ((event: "update:chartType", chartType:
|
|
204
|
+
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:sortSelected", sortOption: unknown) => void) & ((event: "update:chartType", chartType: ChartType) => void);
|
|
194
205
|
$el: any;
|
|
195
206
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
196
207
|
header: {
|
|
@@ -231,8 +242,8 @@ declare const ChartTypes: () => ({
|
|
|
231
242
|
default: string;
|
|
232
243
|
};
|
|
233
244
|
chartType: {
|
|
234
|
-
type: import("vue").PropType<
|
|
235
|
-
default:
|
|
245
|
+
type: import("vue").PropType<ChartType>;
|
|
246
|
+
default: ChartType;
|
|
236
247
|
};
|
|
237
248
|
hideLegend: {
|
|
238
249
|
type: import("vue").PropType<boolean>;
|
|
@@ -283,8 +294,8 @@ declare const ChartTypes: () => ({
|
|
|
283
294
|
default: any;
|
|
284
295
|
};
|
|
285
296
|
trendDirection: {
|
|
286
|
-
type: import("vue").PropType<
|
|
287
|
-
default:
|
|
297
|
+
type: import("vue").PropType<TrendDirection>;
|
|
298
|
+
default: TrendDirection;
|
|
288
299
|
};
|
|
289
300
|
tickCount: {
|
|
290
301
|
type: import("vue").PropType<number>;
|
|
@@ -294,6 +305,10 @@ declare const ChartTypes: () => ({
|
|
|
294
305
|
type: import("vue").PropType<boolean>;
|
|
295
306
|
default: boolean;
|
|
296
307
|
};
|
|
308
|
+
keepSubheaderVisible: {
|
|
309
|
+
type: import("vue").PropType<boolean>;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
297
312
|
noDataIcon: {
|
|
298
313
|
type: import("vue").PropType<string>;
|
|
299
314
|
default: string;
|
|
@@ -318,6 +333,10 @@ declare const ChartTypes: () => ({
|
|
|
318
333
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
319
334
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
320
335
|
};
|
|
336
|
+
tooltipOrder: {
|
|
337
|
+
type: import("vue").PropType<TooltipOrder>;
|
|
338
|
+
default: TooltipOrder;
|
|
339
|
+
};
|
|
321
340
|
fullHeight: {
|
|
322
341
|
type: import("vue").PropType<boolean>;
|
|
323
342
|
default: boolean;
|
|
@@ -333,9 +352,9 @@ declare const ChartTypes: () => ({
|
|
|
333
352
|
}>> & {
|
|
334
353
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
335
354
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
336
|
-
"onUpdate:chartType"?: (chartType:
|
|
355
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
337
356
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
338
|
-
"update:chartType": (chartType:
|
|
357
|
+
"update:chartType": (chartType: ChartType) => void;
|
|
339
358
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
340
359
|
"update:sortSelected": (sortOption: unknown) => void;
|
|
341
360
|
}, string, {
|
|
@@ -348,7 +367,7 @@ declare const ChartTypes: () => ({
|
|
|
348
367
|
sortSelected: any;
|
|
349
368
|
sortOptions: unknown[];
|
|
350
369
|
sortOptionNameKey: string;
|
|
351
|
-
chartType:
|
|
370
|
+
chartType: ChartType;
|
|
352
371
|
hideLegend: boolean;
|
|
353
372
|
xAxisFormat: import("./types").ValueFormat;
|
|
354
373
|
totalsChart: boolean;
|
|
@@ -359,15 +378,17 @@ declare const ChartTypes: () => ({
|
|
|
359
378
|
subheader: string;
|
|
360
379
|
subheaderTooltip: any;
|
|
361
380
|
trendValue: string | number;
|
|
362
|
-
trendDirection:
|
|
381
|
+
trendDirection: TrendDirection;
|
|
363
382
|
tickCount: number;
|
|
364
383
|
truncateTickLabels: boolean;
|
|
384
|
+
keepSubheaderVisible: boolean;
|
|
365
385
|
noDataIcon: string;
|
|
366
386
|
noDataTitle: string;
|
|
367
387
|
noDataSubtitle: string;
|
|
368
388
|
withAnimation: boolean;
|
|
369
389
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
370
390
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
391
|
+
tooltipOrder: TooltipOrder;
|
|
371
392
|
fullHeight: boolean;
|
|
372
393
|
withSettingsHeader: boolean;
|
|
373
394
|
extraCharts: Record<string, unknown>[];
|
|
@@ -430,8 +451,8 @@ declare const ChartTypes: () => ({
|
|
|
430
451
|
default: string;
|
|
431
452
|
};
|
|
432
453
|
chartType: {
|
|
433
|
-
type: import("vue").PropType<
|
|
434
|
-
default:
|
|
454
|
+
type: import("vue").PropType<ChartType>;
|
|
455
|
+
default: ChartType;
|
|
435
456
|
};
|
|
436
457
|
hideLegend: {
|
|
437
458
|
type: import("vue").PropType<boolean>;
|
|
@@ -482,8 +503,8 @@ declare const ChartTypes: () => ({
|
|
|
482
503
|
default: any;
|
|
483
504
|
};
|
|
484
505
|
trendDirection: {
|
|
485
|
-
type: import("vue").PropType<
|
|
486
|
-
default:
|
|
506
|
+
type: import("vue").PropType<TrendDirection>;
|
|
507
|
+
default: TrendDirection;
|
|
487
508
|
};
|
|
488
509
|
tickCount: {
|
|
489
510
|
type: import("vue").PropType<number>;
|
|
@@ -493,6 +514,10 @@ declare const ChartTypes: () => ({
|
|
|
493
514
|
type: import("vue").PropType<boolean>;
|
|
494
515
|
default: boolean;
|
|
495
516
|
};
|
|
517
|
+
keepSubheaderVisible: {
|
|
518
|
+
type: import("vue").PropType<boolean>;
|
|
519
|
+
default: boolean;
|
|
520
|
+
};
|
|
496
521
|
noDataIcon: {
|
|
497
522
|
type: import("vue").PropType<string>;
|
|
498
523
|
default: string;
|
|
@@ -517,6 +542,10 @@ declare const ChartTypes: () => ({
|
|
|
517
542
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
518
543
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
519
544
|
};
|
|
545
|
+
tooltipOrder: {
|
|
546
|
+
type: import("vue").PropType<TooltipOrder>;
|
|
547
|
+
default: TooltipOrder;
|
|
548
|
+
};
|
|
520
549
|
fullHeight: {
|
|
521
550
|
type: import("vue").PropType<boolean>;
|
|
522
551
|
default: boolean;
|
|
@@ -532,7 +561,7 @@ declare const ChartTypes: () => ({
|
|
|
532
561
|
}>> & {
|
|
533
562
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
534
563
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
535
|
-
"onUpdate:chartType"?: (chartType:
|
|
564
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
536
565
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
537
566
|
__isFragment?: never;
|
|
538
567
|
__isTeleport?: never;
|
|
@@ -576,8 +605,8 @@ declare const ChartTypes: () => ({
|
|
|
576
605
|
default: string;
|
|
577
606
|
};
|
|
578
607
|
chartType: {
|
|
579
|
-
type: import("vue").PropType<
|
|
580
|
-
default:
|
|
608
|
+
type: import("vue").PropType<ChartType>;
|
|
609
|
+
default: ChartType;
|
|
581
610
|
};
|
|
582
611
|
hideLegend: {
|
|
583
612
|
type: import("vue").PropType<boolean>;
|
|
@@ -628,8 +657,8 @@ declare const ChartTypes: () => ({
|
|
|
628
657
|
default: any;
|
|
629
658
|
};
|
|
630
659
|
trendDirection: {
|
|
631
|
-
type: import("vue").PropType<
|
|
632
|
-
default:
|
|
660
|
+
type: import("vue").PropType<TrendDirection>;
|
|
661
|
+
default: TrendDirection;
|
|
633
662
|
};
|
|
634
663
|
tickCount: {
|
|
635
664
|
type: import("vue").PropType<number>;
|
|
@@ -639,6 +668,10 @@ declare const ChartTypes: () => ({
|
|
|
639
668
|
type: import("vue").PropType<boolean>;
|
|
640
669
|
default: boolean;
|
|
641
670
|
};
|
|
671
|
+
keepSubheaderVisible: {
|
|
672
|
+
type: import("vue").PropType<boolean>;
|
|
673
|
+
default: boolean;
|
|
674
|
+
};
|
|
642
675
|
noDataIcon: {
|
|
643
676
|
type: import("vue").PropType<string>;
|
|
644
677
|
default: string;
|
|
@@ -663,6 +696,10 @@ declare const ChartTypes: () => ({
|
|
|
663
696
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
664
697
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
665
698
|
};
|
|
699
|
+
tooltipOrder: {
|
|
700
|
+
type: import("vue").PropType<TooltipOrder>;
|
|
701
|
+
default: TooltipOrder;
|
|
702
|
+
};
|
|
666
703
|
fullHeight: {
|
|
667
704
|
type: import("vue").PropType<boolean>;
|
|
668
705
|
default: boolean;
|
|
@@ -678,9 +715,9 @@ declare const ChartTypes: () => ({
|
|
|
678
715
|
}>> & {
|
|
679
716
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
680
717
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
681
|
-
"onUpdate:chartType"?: (chartType:
|
|
718
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
682
719
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
683
|
-
"update:chartType": (chartType:
|
|
720
|
+
"update:chartType": (chartType: ChartType) => void;
|
|
684
721
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
685
722
|
"update:sortSelected": (sortOption: unknown) => void;
|
|
686
723
|
}, string, {
|
|
@@ -693,7 +730,7 @@ declare const ChartTypes: () => ({
|
|
|
693
730
|
sortSelected: any;
|
|
694
731
|
sortOptions: unknown[];
|
|
695
732
|
sortOptionNameKey: string;
|
|
696
|
-
chartType:
|
|
733
|
+
chartType: ChartType;
|
|
697
734
|
hideLegend: boolean;
|
|
698
735
|
xAxisFormat: import("./types").ValueFormat;
|
|
699
736
|
totalsChart: boolean;
|
|
@@ -704,15 +741,17 @@ declare const ChartTypes: () => ({
|
|
|
704
741
|
subheader: string;
|
|
705
742
|
subheaderTooltip: any;
|
|
706
743
|
trendValue: string | number;
|
|
707
|
-
trendDirection:
|
|
744
|
+
trendDirection: TrendDirection;
|
|
708
745
|
tickCount: number;
|
|
709
746
|
truncateTickLabels: boolean;
|
|
747
|
+
keepSubheaderVisible: boolean;
|
|
710
748
|
noDataIcon: string;
|
|
711
749
|
noDataTitle: string;
|
|
712
750
|
noDataSubtitle: string;
|
|
713
751
|
withAnimation: boolean;
|
|
714
752
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
715
753
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
754
|
+
tooltipOrder: TooltipOrder;
|
|
716
755
|
fullHeight: boolean;
|
|
717
756
|
withSettingsHeader: boolean;
|
|
718
757
|
extraCharts: Record<string, unknown>[];
|
|
@@ -724,5 +763,5 @@ declare const ChartTypes: () => ({
|
|
|
724
763
|
"subheader-tooltip"?(_: {}): any;
|
|
725
764
|
};
|
|
726
765
|
}))[];
|
|
727
|
-
export type {
|
|
728
|
-
export { Chart, ChartTypes };
|
|
766
|
+
export type { ChartDataRecord, ChartDataSet, ChartParsingConfig, } from './types';
|
|
767
|
+
export { Chart, ChartTypes, ChartType, TooltipOrder, TrendDirection };
|
|
@@ -71,3 +71,12 @@ export type PrepareTicksLabelArgs = {
|
|
|
71
71
|
availableSpace: number;
|
|
72
72
|
truncate?: boolean;
|
|
73
73
|
};
|
|
74
|
+
export declare enum TooltipOrder {
|
|
75
|
+
Legend = "legend",
|
|
76
|
+
YAxis = "yAxis"
|
|
77
|
+
}
|
|
78
|
+
export declare enum TrendDirection {
|
|
79
|
+
UP = "up",
|
|
80
|
+
DOWN = "down",
|
|
81
|
+
NEUTRAL = "right"
|
|
82
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
var
|
|
1
|
+
var e = /* @__PURE__ */ ((a) => (a.Line = "line", a.Bar = "bar", a.StackedLine = "stackedLine", a.StackedBar = "stackedBar", a))(e || {}), n = /* @__PURE__ */ ((a) => (a.Legend = "legend", a.YAxis = "yAxis", a))(n || {}), r = /* @__PURE__ */ ((a) => (a.UP = "up", a.DOWN = "down", a.NEUTRAL = "right", a))(r || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
e as ChartType,
|
|
4
|
+
n as TooltipOrder,
|
|
5
|
+
r as TrendDirection
|
|
4
6
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DataSetConfig } from '
|
|
1
|
+
import { DataSetConfig } from '@/components/chart/types';
|
|
2
2
|
export declare const storeOriginalDatasetColors: (dataset: DataSetConfig) => void;
|
|
3
3
|
export declare const restoreOriginalDatasetColors: (dataset: DataSetConfig) => void;
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
|
|
2
2
|
import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
|
|
3
|
-
import { AutocompleteDropdownTypes as
|
|
3
|
+
import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
|
|
4
4
|
import { MenuItemTypes as ao } from "./components/menuItem/index.js";
|
|
5
5
|
import { MenuTypes as fo } from "./components/menu/index.js";
|
|
6
6
|
import { AppIconTypes as so } from "./components/appIcon/index.js";
|
|
@@ -16,8 +16,8 @@ import { FormCardTypes as wo, FormFieldTypes as Oo } from "./components/forms/in
|
|
|
16
16
|
import * as o from "./components/button/v3/index.js";
|
|
17
17
|
import * as r from "./components/button/v4/index.js";
|
|
18
18
|
import * as e from "./components/chip/v3/index.js";
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
19
|
+
import * as t from "./components/chip/v4/index.js";
|
|
20
|
+
import * as m from "./components/switch/v3/index.js";
|
|
21
21
|
import * as p from "./components/switch/v4/index.js";
|
|
22
22
|
import * as a from "./components/dropdown/v3/index.js";
|
|
23
23
|
import * as i from "./components/dropdown/v4/index.js";
|
|
@@ -77,7 +77,7 @@ import { default as Uo } from "./components/appTrigger/AppTrigger.vue.js";
|
|
|
77
77
|
import { default as Xo } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
|
|
78
78
|
import { default as or } from "./components/menuItem/MenuItem.vue.js";
|
|
79
79
|
import { default as er } from "./components/menu/Menu.vue.js";
|
|
80
|
-
import { default as
|
|
80
|
+
import { default as mr } from "./components/appIcon/AppIcon.vue.js";
|
|
81
81
|
import { default as ar } from "./components/floatingToolbar/FloatingToolbar.vue.js";
|
|
82
82
|
import { default as fr } from "./components/includeExclude/IncludeExclude.vue.js";
|
|
83
83
|
import { default as xr } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
|
|
@@ -101,10 +101,11 @@ import { default as qr } from "./components/banner/Banner.vue.js";
|
|
|
101
101
|
import { default as Gr } from "./components/alert/Alert.vue.js";
|
|
102
102
|
import { default as Qr } from "./components/autocomplete/Autocomplete.vue.js";
|
|
103
103
|
import { default as Ur } from "./components/chart/Chart.vue.js";
|
|
104
|
+
import { ChartType as Xr, TooltipOrder as Zr, TrendDirection as oe } from "./components/chart/types.js";
|
|
104
105
|
const Z = {
|
|
105
106
|
...e,
|
|
106
|
-
...m,
|
|
107
107
|
...t,
|
|
108
|
+
...m,
|
|
108
109
|
...p,
|
|
109
110
|
...o,
|
|
110
111
|
...r,
|
|
@@ -160,18 +161,19 @@ export {
|
|
|
160
161
|
Cr as AddFilterButton,
|
|
161
162
|
Gr as Alert,
|
|
162
163
|
qo as AlertTypes,
|
|
163
|
-
|
|
164
|
+
mr as AppIcon,
|
|
164
165
|
so as AppIconTypes,
|
|
165
166
|
Uo as AppTrigger,
|
|
166
167
|
eo as AppTriggerTypes,
|
|
167
168
|
Qr as Autocomplete,
|
|
168
169
|
Xo as AutocompleteDropdown,
|
|
169
|
-
|
|
170
|
+
mo as AutocompleteDropdownTypes,
|
|
170
171
|
Go as AutocompleteTypes,
|
|
171
172
|
qr as Banner,
|
|
172
173
|
jo as BannerTypes,
|
|
173
174
|
Rr as CardPanel,
|
|
174
175
|
Ur as Chart,
|
|
176
|
+
Xr as ChartType,
|
|
175
177
|
Qo as ChartTypes,
|
|
176
178
|
Ar as FilterDropdown,
|
|
177
179
|
Fo as FilterDropdownTypes,
|
|
@@ -201,6 +203,8 @@ export {
|
|
|
201
203
|
Hr as MultiBar,
|
|
202
204
|
ho as MultiBarTypes,
|
|
203
205
|
Mr as Text,
|
|
206
|
+
Zr as TooltipOrder,
|
|
207
|
+
oe as TrendDirection,
|
|
204
208
|
wr as Typography,
|
|
205
209
|
Ao as TypographyTypes,
|
|
206
210
|
Co as TypographyTypesV4,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-container[data-v-4e9ce62f]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-4e9ce62f]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-4e9ce62f]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-4e9ce62f]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-4e9ce62f]{border-left:1px solid var(--common-divider)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-header[data-v-1ff0e54f]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header .subheader[data-v-1ff0e54f]{color:var(--text-secondary)}.chart-header--compact[data-v-1ff0e54f]{padding-top:22px}.chart-header--compact .header-texts[data-v-1ff0e54f]{flex-direction:row}.chart-header--compact .header-text[data-v-1ff0e54f]{color:var(--text-secondary)}.header-row[data-v-1ff0e54f]{display:flex;align-items:flex-end;gap:4px}.header-texts[data-v-1ff0e54f]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px;cursor:default}.type-switch[data-v-1ff0e54f]{display:flex;align-items:center;gap:4px}.subheader-tooltip[data-v-1ff0e54f]{display:flex;flex-direction:column;gap:.25rem}.subheader-tooltip__text[data-v-1ff0e54f]{color:var(--text-secondary)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-trend[data-v-21ce0774]{display:flex}.chart-trend--up[data-v-21ce0774]{color:var(--success-contrast-text)}.chart-trend--up .trend-icon[data-v-21ce0774]{color:var(--success-darker)}.chart-trend--down[data-v-21ce0774]{color:var(--error-contrast-text)}.chart-trend--down .trend-icon[data-v-21ce0774]{color:var(--error-dark)}.chart-trend .trend-icon[data-v-21ce0774]{align-self:normal}.chart-trend-tooltip[data-v-21ce0774]{align-items:normal}.trend-tooltip[data-v-21ce0774]{display:flex;flex-direction:column}.trend-tooltip__header[data-v-21ce0774]{margin-bottom:.375rem}.trend-tooltip__text[data-v-21ce0774]{color:var(--text-secondary)}.separator[data-v-21ce0774]{display:flex;align-items:center;gap:.5rem;justify-content:center;height:1.1875rem}.separator__text[data-v-21ce0774]{display:block;color:var(--text-secondary)}.separator hr[data-v-21ce0774]{width:100%;height:1px;border:0;background:var(--common-divider)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-plane[data-v-64dcfb5d]{--headerHeight: var(--2e8f327a);width:100%}.chart-plane[data-v-64dcfb5d],.chart-loading[data-v-64dcfb5d],.chart-empty[data-v-64dcfb5d]{height:var(--f7b2eb36)}.header-wrapper[data-v-64dcfb5d]{height:var(--headerHeight)}.chart[data-v-64dcfb5d]{width:100%;height:calc(100% - var(--headerHeight));position:relative}.chart__canvas[data-v-64dcfb5d]{width:100%;height:100%}.chart__tooltip[data-v-64dcfb5d]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px;z-index:1}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-tooltip[data-v-81cdfd5e]{color:var(--text-primary);background:var(--common-white);box-shadow:0 4px 8px -2px #1018281f;border:1px solid var(--common-divider-elevation-0);border-radius:var(--border-radius-md);width:280px;padding:calc(var(--spacing-100) - 1px)}.color-box[data-v-81cdfd5e]{width:12px;height:12px;border-radius:2px;display:inline-block;margin-right:var(--spacing-100)}.color-box+.platform-icon[data-v-81cdfd5e]{margin-left:calc(var(--spacing-50) - var(--spacing-100))}.list[data-v-81cdfd5e]{list-style:none;margin:0;padding:0}.list__item[data-v-81cdfd5e]{display:flex;align-items:center;margin-bottom:var(--spacing-50);color:var(--text-secondary)}.list__item[data-v-81cdfd5e]:last-child{margin-bottom:0}.platform-icon[data-v-81cdfd5e]{color:var(--action-active);margin-right:var(--spacing-50)}.popover-label-wrapper[data-v-81cdfd5e]{display:flex;width:200px;flex-grow:1}.truncated-label[data-v-81cdfd5e]{max-width:90%}.tooltip-footer[data-v-81cdfd5e]{display:flex;align-items:center;margin-top:var(--spacing-100);color:var(--text-primary)}.flex-grow[data-v-81cdfd5e]{flex-grow:1}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tooltip-title-wrapper[data-v-40d98a66]{display:flex;flex-direction:column;color:var(--text-primary);margin-bottom:var(--spacing-100)}.tooltip-title-wrapper .main-title[data-v-40d98a66]{display:flex;align-items:center;gap:.25rem}.tooltip-title-wrapper .title-text[data-v-40d98a66]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tooltip-title-wrapper .title-image[data-v-40d98a66]{width:20px;height:20px;border-radius:4px}.tooltip-title-wrapper .tooltip-sub-title[data-v-40d98a66]{color:var(--text-secondary)}.tooltip-title-wrapper .platform-icon[data-v-40d98a66]{color:var(--action-active)}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import o from "./TooltipHeader.vue2.js";
|
|
2
|
-
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
console.log('scoped// import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_40d98a66_lang.css"; //*');
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-40d98a66"]]);
|
|
5
|
-
export {
|
|
6
|
-
s as default
|
|
7
|
-
};
|
|
File without changes
|