@ironsource/shared-ui 2.1.12-test.61 → 2.1.12-test.62
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_bd4ef110_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_78a8c051_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_fd9e4ea2_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_10b18e17_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_81cdfd5e_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_74a5418e_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_40d98a66_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +23 -8
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +99 -90
- 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/ChartLegend.vue.d.ts +7 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +75 -68
- package/components/chart/ChartPlane.vue.d.ts +29 -9
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +290 -252
- package/components/chart/ChartStoryArgs.d.ts +27 -2
- package/components/chart/ChartTooltip.vue.d.ts +6 -1
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +48 -58
- package/components/chart/components/SubHeader.vue.d.ts +52 -0
- package/components/chart/components/SubHeader.vue.js +7 -0
- package/components/chart/components/SubHeader.vue2.js +61 -0
- package/components/chart/components/TooltipHeader.vue.d.ts +45 -0
- package/components/chart/components/TooltipHeader.vue.js +7 -0
- package/components/chart/components/TooltipHeader.vue2.js +59 -0
- package/components/chart/consts.d.ts +12 -6
- package/components/chart/consts.js +31 -21
- package/components/chart/index.d.ts +101 -43
- package/components/chart/mockData.d.ts +11 -0
- package/components/chart/types.d.ts +25 -5
- package/components/chart/types.js +4 -2
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +2 -1
- package/components/chart/utils/utils.js +23 -8
- package/composables/useFormValidation.d.ts +1 -1
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.js +14 -10
- package/package.json +1 -1
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/Chart.vue_vue_type_style_index_0_scoped_de950ffe_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/ChartLegend.vue_vue_type_style_index_0_scoped_da487aba_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_ae87f435_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { ChartDataSet, ChartParsingConfig, ChartType, ValueFormat } from './types';
|
|
1
|
+
import { ChartDataSet, ChartParsingConfig, ChartType, TooltipOrder, TrendDirection, ValueFormat } from './types';
|
|
2
2
|
import { TotalType } from '@/utils/totals';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
dataSets: ChartDataSet[];
|
|
5
5
|
visibleIds: unknown[];
|
|
6
|
+
highlightedId?: string | number;
|
|
6
7
|
chartType?: ChartType;
|
|
7
8
|
parsing?: ChartParsingConfig;
|
|
8
9
|
xAxisFormat?: ValueFormat;
|
|
9
10
|
yAxisFormat?: ValueFormat;
|
|
10
11
|
tickCount?: number;
|
|
12
|
+
truncateTickLabels?: boolean;
|
|
11
13
|
header?: string;
|
|
12
14
|
subheader?: string;
|
|
13
15
|
subheaderTooltip?: {
|
|
14
16
|
header?: string;
|
|
15
17
|
text?: string;
|
|
16
18
|
};
|
|
19
|
+
keepSubheaderVisible?: boolean;
|
|
17
20
|
loading?: boolean;
|
|
18
21
|
noDataIcon?: string;
|
|
19
22
|
noDataTitle?: string;
|
|
@@ -25,8 +28,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
28
|
tooltipRespectsTopEdge?: boolean;
|
|
26
29
|
tooltipTotalType?: TotalType;
|
|
27
30
|
tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
|
|
31
|
+
tooltipOrder?: TooltipOrder;
|
|
28
32
|
trendValue?: string | number;
|
|
29
|
-
trendDirection?:
|
|
33
|
+
trendDirection?: TrendDirection;
|
|
30
34
|
trendTooltip?: {
|
|
31
35
|
header?: string;
|
|
32
36
|
rangeCurrent?: string;
|
|
@@ -38,13 +42,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
42
|
chartType: ChartType;
|
|
39
43
|
dataSets: () => any[];
|
|
40
44
|
visibleIds: () => any[];
|
|
45
|
+
highlightedId: any;
|
|
41
46
|
xAxisFormat: string;
|
|
42
47
|
yAxisFormat: string;
|
|
43
48
|
parsing: any;
|
|
44
49
|
tickCount: number;
|
|
50
|
+
truncateTickLabels: boolean;
|
|
45
51
|
header: string;
|
|
46
52
|
subheader: string;
|
|
47
53
|
subheaderTooltip: any;
|
|
54
|
+
keepSubheaderVisible: boolean;
|
|
48
55
|
loading: boolean;
|
|
49
56
|
noDataIcon: string;
|
|
50
57
|
noDataTitle: string;
|
|
@@ -56,8 +63,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
56
63
|
tooltipRespectsTopEdge: boolean;
|
|
57
64
|
tooltipTotalType: TotalType;
|
|
58
65
|
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
66
|
+
tooltipOrder: TooltipOrder;
|
|
59
67
|
trendValue: any;
|
|
60
|
-
trendDirection:
|
|
68
|
+
trendDirection: TrendDirection;
|
|
61
69
|
trendTooltip: any;
|
|
62
70
|
totalsChart: boolean;
|
|
63
71
|
colorsMap: () => {};
|
|
@@ -66,17 +74,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
74
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
67
75
|
dataSets: ChartDataSet[];
|
|
68
76
|
visibleIds: unknown[];
|
|
77
|
+
highlightedId?: string | number;
|
|
69
78
|
chartType?: ChartType;
|
|
70
79
|
parsing?: ChartParsingConfig;
|
|
71
80
|
xAxisFormat?: ValueFormat;
|
|
72
81
|
yAxisFormat?: ValueFormat;
|
|
73
82
|
tickCount?: number;
|
|
83
|
+
truncateTickLabels?: boolean;
|
|
74
84
|
header?: string;
|
|
75
85
|
subheader?: string;
|
|
76
86
|
subheaderTooltip?: {
|
|
77
87
|
header?: string;
|
|
78
88
|
text?: string;
|
|
79
89
|
};
|
|
90
|
+
keepSubheaderVisible?: boolean;
|
|
80
91
|
loading?: boolean;
|
|
81
92
|
noDataIcon?: string;
|
|
82
93
|
noDataTitle?: string;
|
|
@@ -88,8 +99,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
88
99
|
tooltipRespectsTopEdge?: boolean;
|
|
89
100
|
tooltipTotalType?: TotalType;
|
|
90
101
|
tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
|
|
102
|
+
tooltipOrder?: TooltipOrder;
|
|
91
103
|
trendValue?: string | number;
|
|
92
|
-
trendDirection?:
|
|
104
|
+
trendDirection?: TrendDirection;
|
|
93
105
|
trendTooltip?: {
|
|
94
106
|
header?: string;
|
|
95
107
|
rangeCurrent?: string;
|
|
@@ -101,13 +113,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
101
113
|
chartType: ChartType;
|
|
102
114
|
dataSets: () => any[];
|
|
103
115
|
visibleIds: () => any[];
|
|
116
|
+
highlightedId: any;
|
|
104
117
|
xAxisFormat: string;
|
|
105
118
|
yAxisFormat: string;
|
|
106
119
|
parsing: any;
|
|
107
120
|
tickCount: number;
|
|
121
|
+
truncateTickLabels: boolean;
|
|
108
122
|
header: string;
|
|
109
123
|
subheader: string;
|
|
110
124
|
subheaderTooltip: any;
|
|
125
|
+
keepSubheaderVisible: boolean;
|
|
111
126
|
loading: boolean;
|
|
112
127
|
noDataIcon: string;
|
|
113
128
|
noDataTitle: string;
|
|
@@ -119,8 +134,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
119
134
|
tooltipRespectsTopEdge: boolean;
|
|
120
135
|
tooltipTotalType: TotalType;
|
|
121
136
|
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
137
|
+
tooltipOrder: TooltipOrder;
|
|
122
138
|
trendValue: any;
|
|
123
|
-
trendDirection:
|
|
139
|
+
trendDirection: TrendDirection;
|
|
124
140
|
trendTooltip: any;
|
|
125
141
|
totalsChart: boolean;
|
|
126
142
|
colorsMap: () => {};
|
|
@@ -131,18 +147,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
131
147
|
height: string;
|
|
132
148
|
loading: boolean;
|
|
133
149
|
visibleIds: unknown[];
|
|
150
|
+
highlightedId: string | number;
|
|
134
151
|
chartType: ChartType;
|
|
135
152
|
xAxisFormat: ValueFormat;
|
|
136
|
-
|
|
153
|
+
totalsChart: boolean;
|
|
137
154
|
parsing: ChartParsingConfig;
|
|
155
|
+
yAxisFormat: ValueFormat;
|
|
138
156
|
dataSets: ChartDataSet[];
|
|
139
157
|
trendTooltip: any;
|
|
140
|
-
typeSwitcher: boolean;
|
|
141
158
|
subheader: string;
|
|
142
159
|
subheaderTooltip: any;
|
|
160
|
+
typeSwitcher: boolean;
|
|
143
161
|
trendValue: string | number;
|
|
144
|
-
trendDirection:
|
|
162
|
+
trendDirection: TrendDirection;
|
|
145
163
|
tickCount: number;
|
|
164
|
+
truncateTickLabels: boolean;
|
|
165
|
+
keepSubheaderVisible: boolean;
|
|
146
166
|
noDataIcon: string;
|
|
147
167
|
noDataTitle: string;
|
|
148
168
|
noDataSubtitle: string;
|
|
@@ -151,7 +171,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
151
171
|
tooltipRespectsTopEdge: boolean;
|
|
152
172
|
tooltipTotalType: TotalType;
|
|
153
173
|
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
154
|
-
|
|
174
|
+
tooltipOrder: TooltipOrder;
|
|
155
175
|
colorsMap: Record<string, string>;
|
|
156
176
|
}>, {
|
|
157
177
|
"subheader-tooltip"?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./ChartPlane.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ChartPlane.
|
|
4
|
-
const
|
|
3
|
+
// import "../../ChartPlane.vue_vue_type_style_index_0_scoped_10b18e17_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-10b18e17"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|