@ironsource/shared-ui 2.1.12-rc.12 → 2.1.12-rc.14
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/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_de950ffe_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_1ff0e54f_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_21ce0774_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_da487aba_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_ae87f435_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +4 -3
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +55 -2
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +109 -82
- package/components/chart/ChartHeader.vue.d.ts +24 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +70 -50
- package/components/chart/ChartHeaderTrend.vue.d.ts +13 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +80 -18
- package/components/chart/ChartLegend.vue.d.ts +17 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +78 -67
- package/components/chart/ChartPlane.vue.d.ts +42 -4
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +159 -146
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/colorPalette.d.ts +4 -0
- package/components/chart/colorPalette.js +54 -0
- package/components/chart/composables/useColorsMap.d.ts +2 -2
- package/components/chart/composables/useColorsMap.js +41 -12
- package/components/chart/consts.d.ts +12 -1
- package/components/chart/consts.js +31 -26
- package/components/chart/index.d.ts +208 -40
- package/components/chart/mockData.d.ts +8 -14
- package/components/chart/types.d.ts +2 -1
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dialog/v4/index.d.ts +7 -7
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/index.d.ts +18 -0
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/tooltip/v4/index.d.ts +7 -7
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +29 -26
- package/index.d.ts +71 -35
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
|
@@ -10,21 +10,28 @@ declare const ChartTypes: () => ({
|
|
|
10
10
|
minVisible: number;
|
|
11
11
|
maxVisible: number;
|
|
12
12
|
maxLimitTooltipText: string;
|
|
13
|
+
sortSelected: any;
|
|
14
|
+
sortOptions: unknown[];
|
|
15
|
+
sortOptionNameKey: string;
|
|
13
16
|
chartType: import("./types").ChartType;
|
|
14
17
|
hideLegend: boolean;
|
|
15
18
|
xAxisFormat: import("./types").ValueFormat;
|
|
16
19
|
yAxisFormat: import("./types").ValueFormat;
|
|
17
20
|
parsing: import("./types").ChartParsingConfig;
|
|
18
21
|
dataSets: import("./types").ChartDataSet[];
|
|
22
|
+
trendTooltip: any;
|
|
19
23
|
subheader: string;
|
|
24
|
+
subheaderTooltip: any;
|
|
20
25
|
trendValue: string | number;
|
|
21
26
|
trendDirection: "up" | "down";
|
|
22
27
|
tickCount: number;
|
|
23
|
-
withAnimation: boolean;
|
|
24
|
-
totalsChart: boolean;
|
|
25
28
|
noDataIcon: string;
|
|
26
29
|
noDataTitle: string;
|
|
27
30
|
noDataSubtitle: string;
|
|
31
|
+
withAnimation: boolean;
|
|
32
|
+
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
33
|
+
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
34
|
+
totalsChart: boolean;
|
|
28
35
|
fullHeight: boolean;
|
|
29
36
|
withSettingsHeader: boolean;
|
|
30
37
|
extraCharts: Record<string, unknown>[];
|
|
@@ -54,6 +61,18 @@ declare const ChartTypes: () => ({
|
|
|
54
61
|
type: import("vue").PropType<string>;
|
|
55
62
|
default: string;
|
|
56
63
|
};
|
|
64
|
+
sortSelected: {
|
|
65
|
+
type: import("vue").PropType<unknown>;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
sortOptions: {
|
|
69
|
+
type: import("vue").PropType<unknown[]>;
|
|
70
|
+
default: () => any[];
|
|
71
|
+
};
|
|
72
|
+
sortOptionNameKey: {
|
|
73
|
+
type: import("vue").PropType<string>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
57
76
|
chartType: {
|
|
58
77
|
type: import("vue").PropType<import("./types").ChartType>;
|
|
59
78
|
default: import("./types").ChartType;
|
|
@@ -79,10 +98,25 @@ declare const ChartTypes: () => ({
|
|
|
79
98
|
required: true;
|
|
80
99
|
default: () => any[];
|
|
81
100
|
};
|
|
101
|
+
trendTooltip: {
|
|
102
|
+
type: import("vue").PropType<{
|
|
103
|
+
header?: string;
|
|
104
|
+
rangeCurrent?: string;
|
|
105
|
+
rangePrevious?: string;
|
|
106
|
+
}>;
|
|
107
|
+
default: any;
|
|
108
|
+
};
|
|
82
109
|
subheader: {
|
|
83
110
|
type: import("vue").PropType<string>;
|
|
84
111
|
default: string;
|
|
85
112
|
};
|
|
113
|
+
subheaderTooltip: {
|
|
114
|
+
type: import("vue").PropType<{
|
|
115
|
+
header?: string;
|
|
116
|
+
text?: string;
|
|
117
|
+
}>;
|
|
118
|
+
default: any;
|
|
119
|
+
};
|
|
86
120
|
trendValue: {
|
|
87
121
|
type: import("vue").PropType<string | number>;
|
|
88
122
|
default: any;
|
|
@@ -95,14 +129,6 @@ declare const ChartTypes: () => ({
|
|
|
95
129
|
type: import("vue").PropType<number>;
|
|
96
130
|
default: number;
|
|
97
131
|
};
|
|
98
|
-
withAnimation: {
|
|
99
|
-
type: import("vue").PropType<boolean>;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
totalsChart: {
|
|
103
|
-
type: import("vue").PropType<boolean>;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
132
|
noDataIcon: {
|
|
107
133
|
type: import("vue").PropType<string>;
|
|
108
134
|
default: string;
|
|
@@ -115,6 +141,22 @@ declare const ChartTypes: () => ({
|
|
|
115
141
|
type: import("vue").PropType<string>;
|
|
116
142
|
default: string;
|
|
117
143
|
};
|
|
144
|
+
withAnimation: {
|
|
145
|
+
type: import("vue").PropType<boolean>;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
tooltipTotalType: {
|
|
149
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
150
|
+
default: import("../../utils/totals").TotalType;
|
|
151
|
+
};
|
|
152
|
+
tooltipTotalCalcFn: {
|
|
153
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
154
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
155
|
+
};
|
|
156
|
+
totalsChart: {
|
|
157
|
+
type: import("vue").PropType<boolean>;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
118
160
|
fullHeight: {
|
|
119
161
|
type: import("vue").PropType<boolean>;
|
|
120
162
|
default: boolean;
|
|
@@ -129,8 +171,9 @@ declare const ChartTypes: () => ({
|
|
|
129
171
|
};
|
|
130
172
|
}>> & {
|
|
131
173
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
174
|
+
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
132
175
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
133
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "chartType" | "hideLegend" | "xAxisFormat" | "yAxisFormat" | "parsing" | "dataSets" | "subheader" | "trendValue" | "trendDirection" | "tickCount" | "
|
|
176
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "yAxisFormat" | "parsing" | "dataSets" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "tickCount" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "totalsChart" | "fullHeight" | "withSettingsHeader" | "extraCharts">;
|
|
134
177
|
$attrs: {
|
|
135
178
|
[x: string]: unknown;
|
|
136
179
|
};
|
|
@@ -142,7 +185,7 @@ declare const ChartTypes: () => ({
|
|
|
142
185
|
}>;
|
|
143
186
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
144
187
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
145
|
-
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:chartType", chartType: import("./types").ChartType) => void);
|
|
188
|
+
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:sortSelected", sortOption: unknown) => void) & ((event: "update:chartType", chartType: import("./types").ChartType) => void);
|
|
146
189
|
$el: any;
|
|
147
190
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
148
191
|
header: {
|
|
@@ -170,6 +213,18 @@ declare const ChartTypes: () => ({
|
|
|
170
213
|
type: import("vue").PropType<string>;
|
|
171
214
|
default: string;
|
|
172
215
|
};
|
|
216
|
+
sortSelected: {
|
|
217
|
+
type: import("vue").PropType<unknown>;
|
|
218
|
+
default: any;
|
|
219
|
+
};
|
|
220
|
+
sortOptions: {
|
|
221
|
+
type: import("vue").PropType<unknown[]>;
|
|
222
|
+
default: () => any[];
|
|
223
|
+
};
|
|
224
|
+
sortOptionNameKey: {
|
|
225
|
+
type: import("vue").PropType<string>;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
173
228
|
chartType: {
|
|
174
229
|
type: import("vue").PropType<import("./types").ChartType>;
|
|
175
230
|
default: import("./types").ChartType;
|
|
@@ -195,10 +250,25 @@ declare const ChartTypes: () => ({
|
|
|
195
250
|
required: true;
|
|
196
251
|
default: () => any[];
|
|
197
252
|
};
|
|
253
|
+
trendTooltip: {
|
|
254
|
+
type: import("vue").PropType<{
|
|
255
|
+
header?: string;
|
|
256
|
+
rangeCurrent?: string;
|
|
257
|
+
rangePrevious?: string;
|
|
258
|
+
}>;
|
|
259
|
+
default: any;
|
|
260
|
+
};
|
|
198
261
|
subheader: {
|
|
199
262
|
type: import("vue").PropType<string>;
|
|
200
263
|
default: string;
|
|
201
264
|
};
|
|
265
|
+
subheaderTooltip: {
|
|
266
|
+
type: import("vue").PropType<{
|
|
267
|
+
header?: string;
|
|
268
|
+
text?: string;
|
|
269
|
+
}>;
|
|
270
|
+
default: any;
|
|
271
|
+
};
|
|
202
272
|
trendValue: {
|
|
203
273
|
type: import("vue").PropType<string | number>;
|
|
204
274
|
default: any;
|
|
@@ -211,14 +281,6 @@ declare const ChartTypes: () => ({
|
|
|
211
281
|
type: import("vue").PropType<number>;
|
|
212
282
|
default: number;
|
|
213
283
|
};
|
|
214
|
-
withAnimation: {
|
|
215
|
-
type: import("vue").PropType<boolean>;
|
|
216
|
-
default: boolean;
|
|
217
|
-
};
|
|
218
|
-
totalsChart: {
|
|
219
|
-
type: import("vue").PropType<boolean>;
|
|
220
|
-
default: boolean;
|
|
221
|
-
};
|
|
222
284
|
noDataIcon: {
|
|
223
285
|
type: import("vue").PropType<string>;
|
|
224
286
|
default: string;
|
|
@@ -231,6 +293,22 @@ declare const ChartTypes: () => ({
|
|
|
231
293
|
type: import("vue").PropType<string>;
|
|
232
294
|
default: string;
|
|
233
295
|
};
|
|
296
|
+
withAnimation: {
|
|
297
|
+
type: import("vue").PropType<boolean>;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
tooltipTotalType: {
|
|
301
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
302
|
+
default: import("../../utils/totals").TotalType;
|
|
303
|
+
};
|
|
304
|
+
tooltipTotalCalcFn: {
|
|
305
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
306
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
307
|
+
};
|
|
308
|
+
totalsChart: {
|
|
309
|
+
type: import("vue").PropType<boolean>;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
234
312
|
fullHeight: {
|
|
235
313
|
type: import("vue").PropType<boolean>;
|
|
236
314
|
default: boolean;
|
|
@@ -245,10 +323,12 @@ declare const ChartTypes: () => ({
|
|
|
245
323
|
};
|
|
246
324
|
}>> & {
|
|
247
325
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
326
|
+
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
248
327
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
249
328
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
250
329
|
"update:chartType": (chartType: import("./types").ChartType) => void;
|
|
251
330
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
331
|
+
"update:sortSelected": (sortOption: unknown) => void;
|
|
252
332
|
}, string, {
|
|
253
333
|
header: string;
|
|
254
334
|
loading: boolean;
|
|
@@ -256,21 +336,28 @@ declare const ChartTypes: () => ({
|
|
|
256
336
|
minVisible: number;
|
|
257
337
|
maxVisible: number;
|
|
258
338
|
maxLimitTooltipText: string;
|
|
339
|
+
sortSelected: any;
|
|
340
|
+
sortOptions: unknown[];
|
|
341
|
+
sortOptionNameKey: string;
|
|
259
342
|
chartType: import("./types").ChartType;
|
|
260
343
|
hideLegend: boolean;
|
|
261
344
|
xAxisFormat: import("./types").ValueFormat;
|
|
262
345
|
yAxisFormat: import("./types").ValueFormat;
|
|
263
346
|
parsing: import("./types").ChartParsingConfig;
|
|
264
347
|
dataSets: import("./types").ChartDataSet[];
|
|
348
|
+
trendTooltip: any;
|
|
265
349
|
subheader: string;
|
|
350
|
+
subheaderTooltip: any;
|
|
266
351
|
trendValue: string | number;
|
|
267
352
|
trendDirection: "up" | "down";
|
|
268
353
|
tickCount: number;
|
|
269
|
-
withAnimation: boolean;
|
|
270
|
-
totalsChart: boolean;
|
|
271
354
|
noDataIcon: string;
|
|
272
355
|
noDataTitle: string;
|
|
273
356
|
noDataSubtitle: string;
|
|
357
|
+
withAnimation: boolean;
|
|
358
|
+
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
359
|
+
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
360
|
+
totalsChart: boolean;
|
|
274
361
|
fullHeight: boolean;
|
|
275
362
|
withSettingsHeader: boolean;
|
|
276
363
|
extraCharts: Record<string, unknown>[];
|
|
@@ -320,6 +407,18 @@ declare const ChartTypes: () => ({
|
|
|
320
407
|
type: import("vue").PropType<string>;
|
|
321
408
|
default: string;
|
|
322
409
|
};
|
|
410
|
+
sortSelected: {
|
|
411
|
+
type: import("vue").PropType<unknown>;
|
|
412
|
+
default: any;
|
|
413
|
+
};
|
|
414
|
+
sortOptions: {
|
|
415
|
+
type: import("vue").PropType<unknown[]>;
|
|
416
|
+
default: () => any[];
|
|
417
|
+
};
|
|
418
|
+
sortOptionNameKey: {
|
|
419
|
+
type: import("vue").PropType<string>;
|
|
420
|
+
default: string;
|
|
421
|
+
};
|
|
323
422
|
chartType: {
|
|
324
423
|
type: import("vue").PropType<import("./types").ChartType>;
|
|
325
424
|
default: import("./types").ChartType;
|
|
@@ -345,10 +444,25 @@ declare const ChartTypes: () => ({
|
|
|
345
444
|
required: true;
|
|
346
445
|
default: () => any[];
|
|
347
446
|
};
|
|
447
|
+
trendTooltip: {
|
|
448
|
+
type: import("vue").PropType<{
|
|
449
|
+
header?: string;
|
|
450
|
+
rangeCurrent?: string;
|
|
451
|
+
rangePrevious?: string;
|
|
452
|
+
}>;
|
|
453
|
+
default: any;
|
|
454
|
+
};
|
|
348
455
|
subheader: {
|
|
349
456
|
type: import("vue").PropType<string>;
|
|
350
457
|
default: string;
|
|
351
458
|
};
|
|
459
|
+
subheaderTooltip: {
|
|
460
|
+
type: import("vue").PropType<{
|
|
461
|
+
header?: string;
|
|
462
|
+
text?: string;
|
|
463
|
+
}>;
|
|
464
|
+
default: any;
|
|
465
|
+
};
|
|
352
466
|
trendValue: {
|
|
353
467
|
type: import("vue").PropType<string | number>;
|
|
354
468
|
default: any;
|
|
@@ -361,14 +475,6 @@ declare const ChartTypes: () => ({
|
|
|
361
475
|
type: import("vue").PropType<number>;
|
|
362
476
|
default: number;
|
|
363
477
|
};
|
|
364
|
-
withAnimation: {
|
|
365
|
-
type: import("vue").PropType<boolean>;
|
|
366
|
-
default: boolean;
|
|
367
|
-
};
|
|
368
|
-
totalsChart: {
|
|
369
|
-
type: import("vue").PropType<boolean>;
|
|
370
|
-
default: boolean;
|
|
371
|
-
};
|
|
372
478
|
noDataIcon: {
|
|
373
479
|
type: import("vue").PropType<string>;
|
|
374
480
|
default: string;
|
|
@@ -381,6 +487,22 @@ declare const ChartTypes: () => ({
|
|
|
381
487
|
type: import("vue").PropType<string>;
|
|
382
488
|
default: string;
|
|
383
489
|
};
|
|
490
|
+
withAnimation: {
|
|
491
|
+
type: import("vue").PropType<boolean>;
|
|
492
|
+
default: boolean;
|
|
493
|
+
};
|
|
494
|
+
tooltipTotalType: {
|
|
495
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
496
|
+
default: import("../../utils/totals").TotalType;
|
|
497
|
+
};
|
|
498
|
+
tooltipTotalCalcFn: {
|
|
499
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
500
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
501
|
+
};
|
|
502
|
+
totalsChart: {
|
|
503
|
+
type: import("vue").PropType<boolean>;
|
|
504
|
+
default: boolean;
|
|
505
|
+
};
|
|
384
506
|
fullHeight: {
|
|
385
507
|
type: import("vue").PropType<boolean>;
|
|
386
508
|
default: boolean;
|
|
@@ -395,6 +517,7 @@ declare const ChartTypes: () => ({
|
|
|
395
517
|
};
|
|
396
518
|
}>> & {
|
|
397
519
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
520
|
+
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
398
521
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
399
522
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
400
523
|
__isFragment?: never;
|
|
@@ -426,6 +549,18 @@ declare const ChartTypes: () => ({
|
|
|
426
549
|
type: import("vue").PropType<string>;
|
|
427
550
|
default: string;
|
|
428
551
|
};
|
|
552
|
+
sortSelected: {
|
|
553
|
+
type: import("vue").PropType<unknown>;
|
|
554
|
+
default: any;
|
|
555
|
+
};
|
|
556
|
+
sortOptions: {
|
|
557
|
+
type: import("vue").PropType<unknown[]>;
|
|
558
|
+
default: () => any[];
|
|
559
|
+
};
|
|
560
|
+
sortOptionNameKey: {
|
|
561
|
+
type: import("vue").PropType<string>;
|
|
562
|
+
default: string;
|
|
563
|
+
};
|
|
429
564
|
chartType: {
|
|
430
565
|
type: import("vue").PropType<import("./types").ChartType>;
|
|
431
566
|
default: import("./types").ChartType;
|
|
@@ -451,10 +586,25 @@ declare const ChartTypes: () => ({
|
|
|
451
586
|
required: true;
|
|
452
587
|
default: () => any[];
|
|
453
588
|
};
|
|
589
|
+
trendTooltip: {
|
|
590
|
+
type: import("vue").PropType<{
|
|
591
|
+
header?: string;
|
|
592
|
+
rangeCurrent?: string;
|
|
593
|
+
rangePrevious?: string;
|
|
594
|
+
}>;
|
|
595
|
+
default: any;
|
|
596
|
+
};
|
|
454
597
|
subheader: {
|
|
455
598
|
type: import("vue").PropType<string>;
|
|
456
599
|
default: string;
|
|
457
600
|
};
|
|
601
|
+
subheaderTooltip: {
|
|
602
|
+
type: import("vue").PropType<{
|
|
603
|
+
header?: string;
|
|
604
|
+
text?: string;
|
|
605
|
+
}>;
|
|
606
|
+
default: any;
|
|
607
|
+
};
|
|
458
608
|
trendValue: {
|
|
459
609
|
type: import("vue").PropType<string | number>;
|
|
460
610
|
default: any;
|
|
@@ -467,14 +617,6 @@ declare const ChartTypes: () => ({
|
|
|
467
617
|
type: import("vue").PropType<number>;
|
|
468
618
|
default: number;
|
|
469
619
|
};
|
|
470
|
-
withAnimation: {
|
|
471
|
-
type: import("vue").PropType<boolean>;
|
|
472
|
-
default: boolean;
|
|
473
|
-
};
|
|
474
|
-
totalsChart: {
|
|
475
|
-
type: import("vue").PropType<boolean>;
|
|
476
|
-
default: boolean;
|
|
477
|
-
};
|
|
478
620
|
noDataIcon: {
|
|
479
621
|
type: import("vue").PropType<string>;
|
|
480
622
|
default: string;
|
|
@@ -487,6 +629,22 @@ declare const ChartTypes: () => ({
|
|
|
487
629
|
type: import("vue").PropType<string>;
|
|
488
630
|
default: string;
|
|
489
631
|
};
|
|
632
|
+
withAnimation: {
|
|
633
|
+
type: import("vue").PropType<boolean>;
|
|
634
|
+
default: boolean;
|
|
635
|
+
};
|
|
636
|
+
tooltipTotalType: {
|
|
637
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
638
|
+
default: import("../../utils/totals").TotalType;
|
|
639
|
+
};
|
|
640
|
+
tooltipTotalCalcFn: {
|
|
641
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
642
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
643
|
+
};
|
|
644
|
+
totalsChart: {
|
|
645
|
+
type: import("vue").PropType<boolean>;
|
|
646
|
+
default: boolean;
|
|
647
|
+
};
|
|
490
648
|
fullHeight: {
|
|
491
649
|
type: import("vue").PropType<boolean>;
|
|
492
650
|
default: boolean;
|
|
@@ -501,10 +659,12 @@ declare const ChartTypes: () => ({
|
|
|
501
659
|
};
|
|
502
660
|
}>> & {
|
|
503
661
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
662
|
+
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
504
663
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
505
664
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
506
665
|
"update:chartType": (chartType: import("./types").ChartType) => void;
|
|
507
666
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
667
|
+
"update:sortSelected": (sortOption: unknown) => void;
|
|
508
668
|
}, string, {
|
|
509
669
|
header: string;
|
|
510
670
|
loading: boolean;
|
|
@@ -512,26 +672,34 @@ declare const ChartTypes: () => ({
|
|
|
512
672
|
minVisible: number;
|
|
513
673
|
maxVisible: number;
|
|
514
674
|
maxLimitTooltipText: string;
|
|
675
|
+
sortSelected: any;
|
|
676
|
+
sortOptions: unknown[];
|
|
677
|
+
sortOptionNameKey: string;
|
|
515
678
|
chartType: import("./types").ChartType;
|
|
516
679
|
hideLegend: boolean;
|
|
517
680
|
xAxisFormat: import("./types").ValueFormat;
|
|
518
681
|
yAxisFormat: import("./types").ValueFormat;
|
|
519
682
|
parsing: import("./types").ChartParsingConfig;
|
|
520
683
|
dataSets: import("./types").ChartDataSet[];
|
|
684
|
+
trendTooltip: any;
|
|
521
685
|
subheader: string;
|
|
686
|
+
subheaderTooltip: any;
|
|
522
687
|
trendValue: string | number;
|
|
523
688
|
trendDirection: "up" | "down";
|
|
524
689
|
tickCount: number;
|
|
525
|
-
withAnimation: boolean;
|
|
526
|
-
totalsChart: boolean;
|
|
527
690
|
noDataIcon: string;
|
|
528
691
|
noDataTitle: string;
|
|
529
692
|
noDataSubtitle: string;
|
|
693
|
+
withAnimation: boolean;
|
|
694
|
+
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
695
|
+
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
696
|
+
totalsChart: boolean;
|
|
530
697
|
fullHeight: boolean;
|
|
531
698
|
withSettingsHeader: boolean;
|
|
532
699
|
extraCharts: Record<string, unknown>[];
|
|
533
700
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
534
701
|
$slots: {
|
|
702
|
+
"before-chart-type"?(_: {}): any;
|
|
535
703
|
metric?(_: {}): any;
|
|
536
704
|
breakdowns?(_: {}): any;
|
|
537
705
|
"subheader-tooltip"?(_: {}): any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const SINGLE_DATASET_DATE: {
|
|
2
|
+
id: string;
|
|
2
3
|
label: string;
|
|
3
4
|
data: {
|
|
4
5
|
date: string;
|
|
5
6
|
value: number;
|
|
6
7
|
}[];
|
|
7
|
-
color: string;
|
|
8
8
|
}[];
|
|
9
9
|
export declare const SINGLE_DATASET_COUNTRY: {
|
|
10
10
|
id: string;
|
|
@@ -16,7 +16,7 @@ export declare const SINGLE_DATASET_COUNTRY: {
|
|
|
16
16
|
}[];
|
|
17
17
|
}[];
|
|
18
18
|
export declare const MULTIPLE_DATASETS_DATE: ({
|
|
19
|
-
id:
|
|
19
|
+
id: number;
|
|
20
20
|
label: string;
|
|
21
21
|
caption: string;
|
|
22
22
|
icon: string;
|
|
@@ -28,7 +28,7 @@ export declare const MULTIPLE_DATASETS_DATE: ({
|
|
|
28
28
|
}[];
|
|
29
29
|
iconType?: undefined;
|
|
30
30
|
} | {
|
|
31
|
-
id:
|
|
31
|
+
id: number;
|
|
32
32
|
label: string;
|
|
33
33
|
caption: string;
|
|
34
34
|
icon: string;
|
|
@@ -39,19 +39,9 @@ export declare const MULTIPLE_DATASETS_DATE: ({
|
|
|
39
39
|
value2: number;
|
|
40
40
|
value3: number;
|
|
41
41
|
}[];
|
|
42
|
-
} | {
|
|
43
|
-
id: string;
|
|
44
|
-
label: string;
|
|
45
|
-
caption: string;
|
|
46
|
-
icon: string;
|
|
47
|
-
data: {
|
|
48
|
-
date: string;
|
|
49
|
-
value: number;
|
|
50
|
-
}[];
|
|
51
|
-
iconType?: undefined;
|
|
52
42
|
})[];
|
|
53
43
|
export declare const MULTIPLE_DATASETS_SINGLE_DATE: {
|
|
54
|
-
id:
|
|
44
|
+
id: number;
|
|
55
45
|
label: string;
|
|
56
46
|
data: {
|
|
57
47
|
date: string;
|
|
@@ -69,3 +59,7 @@ export declare const breakdownsOptions: {
|
|
|
69
59
|
id: string;
|
|
70
60
|
label: string;
|
|
71
61
|
}[];
|
|
62
|
+
export declare const LEGEND_SORTING_OPTIONS: {
|
|
63
|
+
id: string;
|
|
64
|
+
label: string;
|
|
65
|
+
}[];
|
|
@@ -14,7 +14,7 @@ export type ChartDataSet = {
|
|
|
14
14
|
label: string;
|
|
15
15
|
data: ChartDataRecord[];
|
|
16
16
|
caption?: string;
|
|
17
|
-
color?:
|
|
17
|
+
color?: HexColor;
|
|
18
18
|
icon?: string;
|
|
19
19
|
iconType?: IconTypes;
|
|
20
20
|
};
|
|
@@ -59,3 +59,4 @@ export type UseChartHeightArgs = {
|
|
|
59
59
|
chartPlanesCount: Ref<number>;
|
|
60
60
|
useFullHeight: boolean;
|
|
61
61
|
};
|
|
62
|
+
export type HexColor = `#${string}`;
|
|
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
2
2
|
isChecked: boolean;
|
|
3
3
|
isIndeterminate?: boolean;
|
|
4
4
|
disabled?: boolean;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "md" | "sm" | "lg";
|
|
6
6
|
label?: string;
|
|
7
7
|
testId?: string;
|
|
8
8
|
}>, {
|
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
isChecked: boolean;
|
|
17
17
|
isIndeterminate?: boolean;
|
|
18
18
|
disabled?: boolean;
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "md" | "sm" | "lg";
|
|
20
20
|
label?: string;
|
|
21
21
|
testId?: string;
|
|
22
22
|
}>, {
|
|
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
}, {
|
|
30
30
|
label: string;
|
|
31
31
|
testId: string;
|
|
32
|
-
size: "
|
|
32
|
+
size: "md" | "sm" | "lg";
|
|
33
33
|
}>, {
|
|
34
34
|
default?(_: {}): any;
|
|
35
35
|
}>;
|
|
@@ -5,7 +5,7 @@ declare const CheckboxTypes: () => ({
|
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
label: string;
|
|
7
7
|
testId: string;
|
|
8
|
-
size: "
|
|
8
|
+
size: "md" | "sm" | "lg";
|
|
9
9
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
10
10
|
label: {
|
|
11
11
|
type: import("vue").PropType<string>;
|
|
@@ -19,7 +19,7 @@ declare const CheckboxTypes: () => ({
|
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
};
|
|
21
21
|
size: {
|
|
22
|
-
type: import("vue").PropType<"
|
|
22
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
isIndeterminate: {
|
|
@@ -59,7 +59,7 @@ declare const CheckboxTypes: () => ({
|
|
|
59
59
|
type: import("vue").PropType<boolean>;
|
|
60
60
|
};
|
|
61
61
|
size: {
|
|
62
|
-
type: import("vue").PropType<"
|
|
62
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
63
63
|
default: string;
|
|
64
64
|
};
|
|
65
65
|
isIndeterminate: {
|
|
@@ -78,7 +78,7 @@ declare const CheckboxTypes: () => ({
|
|
|
78
78
|
}, string, {
|
|
79
79
|
label: string;
|
|
80
80
|
testId: string;
|
|
81
|
-
size: "
|
|
81
|
+
size: "md" | "sm" | "lg";
|
|
82
82
|
}, {}, string> & {
|
|
83
83
|
beforeCreate?: (() => void) | (() => void)[];
|
|
84
84
|
created?: (() => void) | (() => void)[];
|
|
@@ -112,7 +112,7 @@ declare const CheckboxTypes: () => ({
|
|
|
112
112
|
type: import("vue").PropType<boolean>;
|
|
113
113
|
};
|
|
114
114
|
size: {
|
|
115
|
-
type: import("vue").PropType<"
|
|
115
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
116
116
|
default: string;
|
|
117
117
|
};
|
|
118
118
|
isIndeterminate: {
|
|
@@ -142,7 +142,7 @@ declare const CheckboxTypes: () => ({
|
|
|
142
142
|
type: import("vue").PropType<boolean>;
|
|
143
143
|
};
|
|
144
144
|
size: {
|
|
145
|
-
type: import("vue").PropType<"
|
|
145
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
146
146
|
default: string;
|
|
147
147
|
};
|
|
148
148
|
isIndeterminate: {
|
|
@@ -161,7 +161,7 @@ declare const CheckboxTypes: () => ({
|
|
|
161
161
|
}, string, {
|
|
162
162
|
label: string;
|
|
163
163
|
testId: string;
|
|
164
|
-
size: "
|
|
164
|
+
size: "md" | "sm" | "lg";
|
|
165
165
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
166
166
|
$slots: {
|
|
167
167
|
default?(_: {}): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Reason } from '@/components/dialog/common/Reason';
|
|
2
|
+
import { ButtonColor } from '@/components/button/common/consts';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
modelValue: boolean;
|
|
4
5
|
content?: string;
|
|
@@ -18,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
19
|
showFooter?: boolean;
|
|
19
20
|
saveButtonLabel?: string;
|
|
20
21
|
saveButtonLoading?: boolean;
|
|
21
|
-
saveButtonColor?:
|
|
22
|
+
saveButtonColor?: ButtonColor;
|
|
22
23
|
cancelButtonLabel?: string;
|
|
23
24
|
cancelButtonColor?: string;
|
|
24
25
|
testId?: string;
|
|
@@ -71,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
71
72
|
showFooter?: boolean;
|
|
72
73
|
saveButtonLabel?: string;
|
|
73
74
|
saveButtonLoading?: boolean;
|
|
74
|
-
saveButtonColor?:
|
|
75
|
+
saveButtonColor?: ButtonColor;
|
|
75
76
|
cancelButtonLabel?: string;
|
|
76
77
|
cancelButtonColor?: string;
|
|
77
78
|
testId?: string;
|
|
@@ -124,7 +125,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
124
125
|
showFooter: boolean;
|
|
125
126
|
saveButtonLabel: string;
|
|
126
127
|
saveButtonLoading: boolean;
|
|
127
|
-
saveButtonColor:
|
|
128
|
+
saveButtonColor: ButtonColor;
|
|
128
129
|
cancelButtonLabel: string;
|
|
129
130
|
cancelButtonColor: string;
|
|
130
131
|
noPadding: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DialogV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DialogV4.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-eb226e31"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|