@ironsource/shared-ui 2.1.12-rc.15 → 2.1.12-rc.16
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_4e9ce62f_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_64dcfb5d_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_81cdfd5e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_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 +7 -2
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +64 -59
- 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 +12 -2
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +182 -156
- package/components/chart/ChartStoryArgs.d.ts +6 -0
- 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/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 +54 -35
- package/components/chart/mockData.d.ts +11 -0
- package/components/chart/types.d.ts +16 -5
- 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/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +102 -97
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -64
- package/components/dropdown/v4/index.d.ts +40 -2
- package/composables/useFormValidation.js +21 -19
- 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.d.ts +80 -4
- package/index.js +1 -1
- 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/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
- package/DropdownV4.vue_vue_type_style_index_0_scoped_4de6dfb8_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_8ba7e191_lang.css +0 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import "../../ChartTooltip.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import g from "../icon/v4/IconV4.vue.js";
|
|
1
|
+
import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_81cdfd5e_lang.css"; import { defineComponent as y, openBlock as a, createElementBlock as o, createBlock as u, createCommentVNode as r, Fragment as x, renderList as h, createElementVNode as m, normalizeStyle as p, unref as l, createVNode as s, withCtx as i, createTextVNode as n, toDisplayString as d } from "vue";
|
|
2
|
+
import c from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import b from "../icon/v4/IconV4.vue.js";
|
|
5
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}, C = { class: "list" }, T = { class: "popover-label-wrapper" }, w = {
|
|
5
|
+
import { formatValue as f } from "./utils/utils.js";
|
|
6
|
+
import k from "./components/TooltipHeader.vue.js";
|
|
7
|
+
const C = { class: "chart-tooltip" }, g = {
|
|
10
8
|
key: 1,
|
|
9
|
+
class: "list"
|
|
10
|
+
}, v = { class: "popover-label-wrapper" }, V = {
|
|
11
|
+
key: 2,
|
|
11
12
|
class: "tooltip-footer"
|
|
12
|
-
},
|
|
13
|
+
}, z = /* @__PURE__ */ y({
|
|
13
14
|
__name: "ChartTooltip",
|
|
14
15
|
props: {
|
|
15
16
|
title: { default: "" },
|
|
@@ -17,87 +18,76 @@ const A = { class: "chart-tooltip" }, V = {
|
|
|
17
18
|
xAxisFormat: { default: null },
|
|
18
19
|
yAxisFormat: { default: null },
|
|
19
20
|
totalLabel: { default: "Total" },
|
|
20
|
-
totalValue: { default: null }
|
|
21
|
+
totalValue: { default: null },
|
|
22
|
+
totalsChart: { type: Boolean, default: !1 }
|
|
21
23
|
},
|
|
22
|
-
setup(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
key:
|
|
34
|
-
class: "tooltip-sub-title",
|
|
35
|
-
variant: "caption"
|
|
36
|
-
}, {
|
|
37
|
-
default: o(() => [
|
|
38
|
-
r(i(t(m)(e.title, t(b))), 1)
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
})) : d("", !0)
|
|
42
|
-
])) : d("", !0),
|
|
43
|
-
f("ul", C, [
|
|
44
|
-
(l(!0), n(v, null, h(e.dataPoints, (a) => (l(), n("li", {
|
|
45
|
-
key: a.datasetIndex,
|
|
24
|
+
setup(t) {
|
|
25
|
+
return (F, T) => (a(), o("div", C, [
|
|
26
|
+
t.title ? (a(), u(k, {
|
|
27
|
+
key: 0,
|
|
28
|
+
title: t.title,
|
|
29
|
+
"data-points": t.dataPoints,
|
|
30
|
+
"totals-chart": t.totalsChart,
|
|
31
|
+
"x-axis-format": t.xAxisFormat
|
|
32
|
+
}, null, 8, ["title", "data-points", "totals-chart", "x-axis-format"])) : r("", !0),
|
|
33
|
+
t.totalsChart ? r("", !0) : (a(), o("ul", g, [
|
|
34
|
+
(a(!0), o(x, null, h(t.dataPoints, (e) => (a(), o("li", {
|
|
35
|
+
key: e.datasetIndex,
|
|
46
36
|
class: "list__item"
|
|
47
37
|
}, [
|
|
48
|
-
|
|
38
|
+
m("span", {
|
|
49
39
|
class: "color-box",
|
|
50
|
-
style:
|
|
51
|
-
backgroundColor: String(
|
|
40
|
+
style: p({
|
|
41
|
+
backgroundColor: String(e.dataset.pointBackgroundColor)
|
|
52
42
|
})
|
|
53
43
|
}, null, 4),
|
|
54
|
-
|
|
44
|
+
e.dataset.icon ? (a(), u(l(b), {
|
|
55
45
|
key: 0,
|
|
56
46
|
class: "platform-icon",
|
|
57
|
-
type:
|
|
58
|
-
name:
|
|
47
|
+
type: e.dataset.iconType,
|
|
48
|
+
name: e.dataset.icon,
|
|
59
49
|
size: "16px"
|
|
60
|
-
}, null, 8, ["type", "name"])) :
|
|
61
|
-
|
|
62
|
-
|
|
50
|
+
}, null, 8, ["type", "name"])) : r("", !0),
|
|
51
|
+
m("div", v, [
|
|
52
|
+
s(l(c), {
|
|
63
53
|
variant: "body2",
|
|
64
54
|
class: "flex-grow truncated-label",
|
|
65
55
|
"is-truncated": ""
|
|
66
56
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
|
|
57
|
+
default: i(() => [
|
|
58
|
+
n(d(e.dataset.label), 1)
|
|
69
59
|
]),
|
|
70
60
|
_: 2
|
|
71
61
|
}, 1024)
|
|
72
62
|
]),
|
|
73
|
-
|
|
74
|
-
default:
|
|
75
|
-
|
|
63
|
+
s(l(c), { variant: "body2" }, {
|
|
64
|
+
default: i(() => [
|
|
65
|
+
n(d(l(f)(e.parsed.y, t.yAxisFormat)), 1)
|
|
76
66
|
]),
|
|
77
67
|
_: 2
|
|
78
68
|
}, 1024)
|
|
79
69
|
]))), 128))
|
|
80
|
-
]),
|
|
81
|
-
|
|
82
|
-
|
|
70
|
+
])),
|
|
71
|
+
t.totalValue !== null ? (a(), o("div", V, [
|
|
72
|
+
s(l(c), {
|
|
83
73
|
variant: "body2",
|
|
84
74
|
class: "flex-grow"
|
|
85
75
|
}, {
|
|
86
|
-
default:
|
|
87
|
-
|
|
76
|
+
default: i(() => [
|
|
77
|
+
n(d(t.totalLabel), 1)
|
|
88
78
|
]),
|
|
89
79
|
_: 1
|
|
90
80
|
}),
|
|
91
|
-
|
|
92
|
-
default:
|
|
93
|
-
|
|
81
|
+
s(l(c), { variant: "body2" }, {
|
|
82
|
+
default: i(() => [
|
|
83
|
+
n(d(l(f)(t.totalValue, t.yAxisFormat)), 1)
|
|
94
84
|
]),
|
|
95
85
|
_: 1
|
|
96
86
|
})
|
|
97
|
-
])) :
|
|
87
|
+
])) : r("", !0)
|
|
98
88
|
]));
|
|
99
89
|
}
|
|
100
90
|
});
|
|
101
91
|
export {
|
|
102
|
-
|
|
92
|
+
z as default
|
|
103
93
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { MyTooltipItem, ValueFormat } from '@/components/chart/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
title?: string;
|
|
4
|
+
xAxisFormat?: ValueFormat;
|
|
5
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
6
|
+
totalsChart?: boolean;
|
|
7
|
+
}>, {
|
|
8
|
+
title: string;
|
|
9
|
+
xAxisFormat: any;
|
|
10
|
+
dataPoints: () => any[];
|
|
11
|
+
totalsChart: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
title?: string;
|
|
14
|
+
xAxisFormat?: ValueFormat;
|
|
15
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
16
|
+
totalsChart?: boolean;
|
|
17
|
+
}>, {
|
|
18
|
+
title: string;
|
|
19
|
+
xAxisFormat: any;
|
|
20
|
+
dataPoints: () => any[];
|
|
21
|
+
totalsChart: boolean;
|
|
22
|
+
}>>>, {
|
|
23
|
+
title: string;
|
|
24
|
+
xAxisFormat: ValueFormat;
|
|
25
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
26
|
+
totalsChart: boolean;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent as h, computed as l, openBlock as r, createElementBlock as s, createElementVNode as g, unref as t, createCommentVNode as i, createBlock as n, createVNode as F, withCtx as c, createTextVNode as u, toDisplayString as m } from "vue";
|
|
2
|
+
import { formatValue as d } from "../utils/utils.js";
|
|
3
|
+
import f from "../../typography/v4/Typography.vue.js";
|
|
4
|
+
import C from "../../icon/v4/IconV4.vue.js";
|
|
5
|
+
import k from "../../icon/v4/IconFlag.vue.js";
|
|
6
|
+
const v = { class: "tooltip-title-wrapper" }, A = { class: "main-title" }, T = ["src"], D = /* @__PURE__ */ h({
|
|
7
|
+
__name: "TooltipHeader",
|
|
8
|
+
props: {
|
|
9
|
+
title: { default: "" },
|
|
10
|
+
xAxisFormat: { default: null },
|
|
11
|
+
dataPoints: { default: () => [] },
|
|
12
|
+
totalsChart: { type: Boolean, default: !1 }
|
|
13
|
+
},
|
|
14
|
+
setup(o) {
|
|
15
|
+
const e = o, a = l(() => e.dataPoints.length ? e.dataPoints[0].dataset : null), p = l(() => e.xAxisFormat === "date" ? "dateLong" : e.xAxisFormat), x = l(() => e.xAxisFormat === "date" ? "day" : e.xAxisFormat), y = l(() => e.totalsChart ? a.value?.label || e.title : d(e.title, p.value));
|
|
16
|
+
return (V, b) => (r(), s("div", v, [
|
|
17
|
+
g("div", A, [
|
|
18
|
+
o.totalsChart && t(a)?.image ? (r(), s("img", {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "title-image",
|
|
21
|
+
src: t(a)?.image
|
|
22
|
+
}, null, 8, T)) : i("", !0),
|
|
23
|
+
o.totalsChart && t(a)?.countryFlag ? (r(), n(t(k), {
|
|
24
|
+
key: 1,
|
|
25
|
+
"country-code": t(a).countryFlag
|
|
26
|
+
}, null, 8, ["country-code"])) : i("", !0),
|
|
27
|
+
o.totalsChart && t(a)?.icon ? (r(), n(t(C), {
|
|
28
|
+
key: 2,
|
|
29
|
+
class: "platform-icon",
|
|
30
|
+
type: t(a)?.iconType,
|
|
31
|
+
name: t(a)?.icon,
|
|
32
|
+
size: "16px"
|
|
33
|
+
}, null, 8, ["type", "name"])) : i("", !0),
|
|
34
|
+
F(t(f), {
|
|
35
|
+
class: "title-text",
|
|
36
|
+
variant: "subtitle2"
|
|
37
|
+
}, {
|
|
38
|
+
default: c(() => [
|
|
39
|
+
u(m(t(y)), 1)
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
})
|
|
43
|
+
]),
|
|
44
|
+
o.xAxisFormat === "date" ? (r(), n(t(f), {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: "tooltip-sub-title",
|
|
47
|
+
variant: "caption"
|
|
48
|
+
}, {
|
|
49
|
+
default: c(() => [
|
|
50
|
+
u(m(t(d)(o.title, t(x))), 1)
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
})) : i("", !0)
|
|
54
|
+
]));
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
D as default
|
|
59
|
+
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { DropdownTypeOption } from './types';
|
|
1
|
+
import { DropdownTypeOption, Font } from './types';
|
|
2
2
|
export declare const POINT_BORDER_COLOR = "#fcfcfc";
|
|
3
3
|
export declare const GRID_LINE_COLOR = "#E4E4E4";
|
|
4
4
|
export declare const TICK_LABEL_COLOR = "#646464";
|
|
5
|
-
export declare const TICK_LABEL_FONT:
|
|
6
|
-
size: number;
|
|
7
|
-
weight: number;
|
|
8
|
-
family: string;
|
|
9
|
-
};
|
|
5
|
+
export declare const TICK_LABEL_FONT: Font;
|
|
10
6
|
export declare const DEFAULT_TICK_COUNT = 4;
|
|
11
7
|
export declare const DEFAULT_MIN_VISIBLE = 1;
|
|
12
8
|
export declare const DEFAULT_MAX_VISIBLE = 5;
|
|
@@ -16,6 +12,7 @@ export declare const COMPACT_HEADER_HEIGHT = 43;
|
|
|
16
12
|
export declare const DEFAULT_CHART_PLANE_HEIGHT = 312;
|
|
17
13
|
export declare const MIN_PLANE_HEIGHT = 187;
|
|
18
14
|
export declare const TOTALS_HELPER_KEY = "__TOTALS_HELPER_KEY__";
|
|
15
|
+
export declare const BASE_COLOR_KEY = "___BASE_COLOR__";
|
|
19
16
|
export declare const BIDDING_PREFIX = "Bidding";
|
|
20
17
|
export declare const NON_BIDDING_PREFIX = "Non-bidding";
|
|
21
18
|
export declare const NETWORK_ID_IRON_SOURCE = 9899;
|
|
@@ -28,3 +25,12 @@ export declare const NETWORK_ID_INMOBI = 9938;
|
|
|
28
25
|
export declare const NETWORK_ID_DT_EXCHANGE = 9950;
|
|
29
26
|
export declare const NETWORK_ID_PANGLE = 9952;
|
|
30
27
|
export declare const NETWORK_ID_LIFTOFF = 9962;
|
|
28
|
+
export declare const HOVER_TRANSPARENCY = 10;
|
|
29
|
+
export declare const HOVER_AREA_TRANSPARENCY = 70;
|
|
30
|
+
export declare const CHART_PADDING: {
|
|
31
|
+
left: number;
|
|
32
|
+
right: number;
|
|
33
|
+
top: number;
|
|
34
|
+
bottom: number;
|
|
35
|
+
};
|
|
36
|
+
export declare const TICKS_EXTRA_PADDING = 10;
|
|
@@ -1,37 +1,47 @@
|
|
|
1
1
|
import { ChartType as _ } from "./types.js";
|
|
2
|
-
const I = "#fcfcfc", T = "#E4E4E4",
|
|
2
|
+
const I = "#fcfcfc", T = "#E4E4E4", t = "#646464", O = {
|
|
3
3
|
size: 12,
|
|
4
4
|
weight: 400,
|
|
5
5
|
family: "Inter"
|
|
6
|
-
},
|
|
6
|
+
}, n = 4, N = 1, R = 5, o = [
|
|
7
7
|
{ id: _.Line, name: "Line" },
|
|
8
8
|
{ id: _.StackedLine, name: "Stack" },
|
|
9
9
|
{ id: _.Bar, name: "Bar" }
|
|
10
|
-
],
|
|
10
|
+
], c = 76, A = 43, s = 312, D = 187, L = "__TOTALS_HELPER_KEY__", C = "___BASE_COLOR__", K = "Bidding", P = "Non-bidding", H = 9899, i = 9917, B = 9939, S = 9942, e = 9953, G = 9935, F = 9938, W = 9950, a = 9952, d = 9962, r = 10, M = 70, m = {
|
|
11
|
+
left: 18,
|
|
12
|
+
right: 18,
|
|
13
|
+
top: 18,
|
|
14
|
+
bottom: 11
|
|
15
|
+
}, U = 10;
|
|
11
16
|
export {
|
|
17
|
+
C as BASE_COLOR_KEY,
|
|
12
18
|
K as BIDDING_PREFIX,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
m as CHART_PADDING,
|
|
20
|
+
A as COMPACT_HEADER_HEIGHT,
|
|
21
|
+
s as DEFAULT_CHART_PLANE_HEIGHT,
|
|
22
|
+
R as DEFAULT_MAX_VISIBLE,
|
|
16
23
|
N as DEFAULT_MIN_VISIBLE,
|
|
17
|
-
|
|
24
|
+
n as DEFAULT_TICK_COUNT,
|
|
18
25
|
o as DROPDOWN_TYPE_OPTIONS,
|
|
19
26
|
T as GRID_LINE_COLOR,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
W as
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
c as HEADER_HEIGHT,
|
|
28
|
+
M as HOVER_AREA_TRANSPARENCY,
|
|
29
|
+
r as HOVER_TRANSPARENCY,
|
|
30
|
+
D as MIN_PLANE_HEIGHT,
|
|
31
|
+
S as NETWORK_ID_AD_MOB,
|
|
32
|
+
G as NETWORK_ID_APPLOVIN,
|
|
33
|
+
W as NETWORK_ID_DT_EXCHANGE,
|
|
34
|
+
B as NETWORK_ID_FACEBOOK_META,
|
|
35
|
+
F as NETWORK_ID_INMOBI,
|
|
36
|
+
H as NETWORK_ID_IRON_SOURCE,
|
|
37
|
+
d as NETWORK_ID_LIFTOFF,
|
|
29
38
|
e as NETWORK_ID_MINTEGRAL,
|
|
30
39
|
a as NETWORK_ID_PANGLE,
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
i as NETWORK_ID_UNITY_ADS,
|
|
41
|
+
P as NON_BIDDING_PREFIX,
|
|
33
42
|
I as POINT_BORDER_COLOR,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
U as TICKS_EXTRA_PADDING,
|
|
44
|
+
t as TICK_LABEL_COLOR,
|
|
45
|
+
O as TICK_LABEL_FONT,
|
|
46
|
+
L as TOTALS_HELPER_KEY
|
|
37
47
|
};
|
|
@@ -16,8 +16,9 @@ declare const ChartTypes: () => ({
|
|
|
16
16
|
chartType: import("./types").ChartType;
|
|
17
17
|
hideLegend: boolean;
|
|
18
18
|
xAxisFormat: import("./types").ValueFormat;
|
|
19
|
-
|
|
19
|
+
totalsChart: boolean;
|
|
20
20
|
parsing: import("./types").ChartParsingConfig;
|
|
21
|
+
yAxisFormat: import("./types").ValueFormat;
|
|
21
22
|
dataSets: import("./types").ChartDataSet[];
|
|
22
23
|
trendTooltip: any;
|
|
23
24
|
subheader: string;
|
|
@@ -25,13 +26,13 @@ declare const ChartTypes: () => ({
|
|
|
25
26
|
trendValue: string | number;
|
|
26
27
|
trendDirection: "up" | "down";
|
|
27
28
|
tickCount: number;
|
|
29
|
+
truncateTickLabels: boolean;
|
|
28
30
|
noDataIcon: string;
|
|
29
31
|
noDataTitle: string;
|
|
30
32
|
noDataSubtitle: string;
|
|
31
33
|
withAnimation: boolean;
|
|
32
34
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
33
35
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
34
|
-
totalsChart: boolean;
|
|
35
36
|
fullHeight: boolean;
|
|
36
37
|
withSettingsHeader: boolean;
|
|
37
38
|
extraCharts: Record<string, unknown>[];
|
|
@@ -85,14 +86,18 @@ declare const ChartTypes: () => ({
|
|
|
85
86
|
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
86
87
|
default: string;
|
|
87
88
|
};
|
|
88
|
-
|
|
89
|
-
type: import("vue").PropType<
|
|
90
|
-
default:
|
|
89
|
+
totalsChart: {
|
|
90
|
+
type: import("vue").PropType<boolean>;
|
|
91
|
+
default: boolean;
|
|
91
92
|
};
|
|
92
93
|
parsing: {
|
|
93
94
|
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
94
95
|
default: any;
|
|
95
96
|
};
|
|
97
|
+
yAxisFormat: {
|
|
98
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
96
101
|
dataSets: {
|
|
97
102
|
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
98
103
|
required: true;
|
|
@@ -129,6 +134,10 @@ declare const ChartTypes: () => ({
|
|
|
129
134
|
type: import("vue").PropType<number>;
|
|
130
135
|
default: number;
|
|
131
136
|
};
|
|
137
|
+
truncateTickLabels: {
|
|
138
|
+
type: import("vue").PropType<boolean>;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
132
141
|
noDataIcon: {
|
|
133
142
|
type: import("vue").PropType<string>;
|
|
134
143
|
default: string;
|
|
@@ -153,10 +162,6 @@ declare const ChartTypes: () => ({
|
|
|
153
162
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
154
163
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
155
164
|
};
|
|
156
|
-
totalsChart: {
|
|
157
|
-
type: import("vue").PropType<boolean>;
|
|
158
|
-
default: boolean;
|
|
159
|
-
};
|
|
160
165
|
fullHeight: {
|
|
161
166
|
type: import("vue").PropType<boolean>;
|
|
162
167
|
default: boolean;
|
|
@@ -173,7 +178,7 @@ declare const ChartTypes: () => ({
|
|
|
173
178
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
174
179
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
175
180
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
176
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "
|
|
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">;
|
|
177
182
|
$attrs: {
|
|
178
183
|
[x: string]: unknown;
|
|
179
184
|
};
|
|
@@ -237,14 +242,18 @@ declare const ChartTypes: () => ({
|
|
|
237
242
|
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
238
243
|
default: string;
|
|
239
244
|
};
|
|
240
|
-
|
|
241
|
-
type: import("vue").PropType<
|
|
242
|
-
default:
|
|
245
|
+
totalsChart: {
|
|
246
|
+
type: import("vue").PropType<boolean>;
|
|
247
|
+
default: boolean;
|
|
243
248
|
};
|
|
244
249
|
parsing: {
|
|
245
250
|
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
246
251
|
default: any;
|
|
247
252
|
};
|
|
253
|
+
yAxisFormat: {
|
|
254
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
255
|
+
default: string;
|
|
256
|
+
};
|
|
248
257
|
dataSets: {
|
|
249
258
|
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
250
259
|
required: true;
|
|
@@ -281,6 +290,10 @@ declare const ChartTypes: () => ({
|
|
|
281
290
|
type: import("vue").PropType<number>;
|
|
282
291
|
default: number;
|
|
283
292
|
};
|
|
293
|
+
truncateTickLabels: {
|
|
294
|
+
type: import("vue").PropType<boolean>;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
284
297
|
noDataIcon: {
|
|
285
298
|
type: import("vue").PropType<string>;
|
|
286
299
|
default: string;
|
|
@@ -305,10 +318,6 @@ declare const ChartTypes: () => ({
|
|
|
305
318
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
306
319
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
307
320
|
};
|
|
308
|
-
totalsChart: {
|
|
309
|
-
type: import("vue").PropType<boolean>;
|
|
310
|
-
default: boolean;
|
|
311
|
-
};
|
|
312
321
|
fullHeight: {
|
|
313
322
|
type: import("vue").PropType<boolean>;
|
|
314
323
|
default: boolean;
|
|
@@ -342,8 +351,9 @@ declare const ChartTypes: () => ({
|
|
|
342
351
|
chartType: import("./types").ChartType;
|
|
343
352
|
hideLegend: boolean;
|
|
344
353
|
xAxisFormat: import("./types").ValueFormat;
|
|
345
|
-
|
|
354
|
+
totalsChart: boolean;
|
|
346
355
|
parsing: import("./types").ChartParsingConfig;
|
|
356
|
+
yAxisFormat: import("./types").ValueFormat;
|
|
347
357
|
dataSets: import("./types").ChartDataSet[];
|
|
348
358
|
trendTooltip: any;
|
|
349
359
|
subheader: string;
|
|
@@ -351,13 +361,13 @@ declare const ChartTypes: () => ({
|
|
|
351
361
|
trendValue: string | number;
|
|
352
362
|
trendDirection: "up" | "down";
|
|
353
363
|
tickCount: number;
|
|
364
|
+
truncateTickLabels: boolean;
|
|
354
365
|
noDataIcon: string;
|
|
355
366
|
noDataTitle: string;
|
|
356
367
|
noDataSubtitle: string;
|
|
357
368
|
withAnimation: boolean;
|
|
358
369
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
359
370
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
360
|
-
totalsChart: boolean;
|
|
361
371
|
fullHeight: boolean;
|
|
362
372
|
withSettingsHeader: boolean;
|
|
363
373
|
extraCharts: Record<string, unknown>[];
|
|
@@ -431,14 +441,18 @@ declare const ChartTypes: () => ({
|
|
|
431
441
|
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
432
442
|
default: string;
|
|
433
443
|
};
|
|
434
|
-
|
|
435
|
-
type: import("vue").PropType<
|
|
436
|
-
default:
|
|
444
|
+
totalsChart: {
|
|
445
|
+
type: import("vue").PropType<boolean>;
|
|
446
|
+
default: boolean;
|
|
437
447
|
};
|
|
438
448
|
parsing: {
|
|
439
449
|
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
440
450
|
default: any;
|
|
441
451
|
};
|
|
452
|
+
yAxisFormat: {
|
|
453
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
454
|
+
default: string;
|
|
455
|
+
};
|
|
442
456
|
dataSets: {
|
|
443
457
|
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
444
458
|
required: true;
|
|
@@ -475,6 +489,10 @@ declare const ChartTypes: () => ({
|
|
|
475
489
|
type: import("vue").PropType<number>;
|
|
476
490
|
default: number;
|
|
477
491
|
};
|
|
492
|
+
truncateTickLabels: {
|
|
493
|
+
type: import("vue").PropType<boolean>;
|
|
494
|
+
default: boolean;
|
|
495
|
+
};
|
|
478
496
|
noDataIcon: {
|
|
479
497
|
type: import("vue").PropType<string>;
|
|
480
498
|
default: string;
|
|
@@ -499,10 +517,6 @@ declare const ChartTypes: () => ({
|
|
|
499
517
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
500
518
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
501
519
|
};
|
|
502
|
-
totalsChart: {
|
|
503
|
-
type: import("vue").PropType<boolean>;
|
|
504
|
-
default: boolean;
|
|
505
|
-
};
|
|
506
520
|
fullHeight: {
|
|
507
521
|
type: import("vue").PropType<boolean>;
|
|
508
522
|
default: boolean;
|
|
@@ -573,14 +587,18 @@ declare const ChartTypes: () => ({
|
|
|
573
587
|
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
574
588
|
default: string;
|
|
575
589
|
};
|
|
576
|
-
|
|
577
|
-
type: import("vue").PropType<
|
|
578
|
-
default:
|
|
590
|
+
totalsChart: {
|
|
591
|
+
type: import("vue").PropType<boolean>;
|
|
592
|
+
default: boolean;
|
|
579
593
|
};
|
|
580
594
|
parsing: {
|
|
581
595
|
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
582
596
|
default: any;
|
|
583
597
|
};
|
|
598
|
+
yAxisFormat: {
|
|
599
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
600
|
+
default: string;
|
|
601
|
+
};
|
|
584
602
|
dataSets: {
|
|
585
603
|
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
586
604
|
required: true;
|
|
@@ -617,6 +635,10 @@ declare const ChartTypes: () => ({
|
|
|
617
635
|
type: import("vue").PropType<number>;
|
|
618
636
|
default: number;
|
|
619
637
|
};
|
|
638
|
+
truncateTickLabels: {
|
|
639
|
+
type: import("vue").PropType<boolean>;
|
|
640
|
+
default: boolean;
|
|
641
|
+
};
|
|
620
642
|
noDataIcon: {
|
|
621
643
|
type: import("vue").PropType<string>;
|
|
622
644
|
default: string;
|
|
@@ -641,10 +663,6 @@ declare const ChartTypes: () => ({
|
|
|
641
663
|
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
642
664
|
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
643
665
|
};
|
|
644
|
-
totalsChart: {
|
|
645
|
-
type: import("vue").PropType<boolean>;
|
|
646
|
-
default: boolean;
|
|
647
|
-
};
|
|
648
666
|
fullHeight: {
|
|
649
667
|
type: import("vue").PropType<boolean>;
|
|
650
668
|
default: boolean;
|
|
@@ -678,8 +696,9 @@ declare const ChartTypes: () => ({
|
|
|
678
696
|
chartType: import("./types").ChartType;
|
|
679
697
|
hideLegend: boolean;
|
|
680
698
|
xAxisFormat: import("./types").ValueFormat;
|
|
681
|
-
|
|
699
|
+
totalsChart: boolean;
|
|
682
700
|
parsing: import("./types").ChartParsingConfig;
|
|
701
|
+
yAxisFormat: import("./types").ValueFormat;
|
|
683
702
|
dataSets: import("./types").ChartDataSet[];
|
|
684
703
|
trendTooltip: any;
|
|
685
704
|
subheader: string;
|
|
@@ -687,13 +706,13 @@ declare const ChartTypes: () => ({
|
|
|
687
706
|
trendValue: string | number;
|
|
688
707
|
trendDirection: "up" | "down";
|
|
689
708
|
tickCount: number;
|
|
709
|
+
truncateTickLabels: boolean;
|
|
690
710
|
noDataIcon: string;
|
|
691
711
|
noDataTitle: string;
|
|
692
712
|
noDataSubtitle: string;
|
|
693
713
|
withAnimation: boolean;
|
|
694
714
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
695
715
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
696
|
-
totalsChart: boolean;
|
|
697
716
|
fullHeight: boolean;
|
|
698
717
|
withSettingsHeader: boolean;
|
|
699
718
|
extraCharts: Record<string, unknown>[];
|
|
@@ -8,6 +8,7 @@ export declare const SINGLE_DATASET_DATE: {
|
|
|
8
8
|
}[];
|
|
9
9
|
export declare const SINGLE_DATASET_COUNTRY: {
|
|
10
10
|
id: string;
|
|
11
|
+
countryFlag: string;
|
|
11
12
|
label: string;
|
|
12
13
|
data: {
|
|
13
14
|
value: number;
|
|
@@ -15,6 +16,16 @@ export declare const SINGLE_DATASET_COUNTRY: {
|
|
|
15
16
|
value3: number;
|
|
16
17
|
}[];
|
|
17
18
|
}[];
|
|
19
|
+
export declare const SINGLE_DATASET_APP: {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
icon: string;
|
|
23
|
+
image: string;
|
|
24
|
+
data: {
|
|
25
|
+
app: string;
|
|
26
|
+
value: number;
|
|
27
|
+
}[];
|
|
28
|
+
}[];
|
|
18
29
|
export declare const MULTIPLE_DATASETS_DATE: ({
|
|
19
30
|
id: number;
|
|
20
31
|
label: string;
|