@ironsource/shared-ui 2.1.12-test.68 → 2.1.12-test.70
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_03771fa3_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +26 -1
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +68 -56
- package/components/chart/ChartPlane.vue.d.ts +21 -1
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +152 -141
- package/components/chart/ChartStoryArgs.d.ts +20 -1
- package/components/chart/ChartTooltip.vue.d.ts +16 -1
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +33 -29
- package/components/chart/TooltipHeader.vue.d.ts +6 -1
- package/components/chart/TooltipHeader.vue.js +2 -2
- package/components/chart/TooltipHeader.vue2.js +37 -27
- package/components/chart/colorPalette.js +20 -20
- package/components/chart/composables/useChartHeight.d.ts +1 -1
- package/components/chart/composables/useChartHeight.js +16 -14
- package/components/chart/consts.d.ts +13 -12
- package/components/chart/consts.js +33 -32
- package/components/chart/index.d.ts +96 -1
- package/components/chart/mockData.d.ts +8 -0
- package/components/chart/types.d.ts +6 -0
- package/components/chart/types.js +4 -3
- package/components/chart/utils/utils.d.ts +1 -1
- package/components/chart/utils/utils.js +10 -10
- package/index.js +1 -1
- package/package.json +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9e521454_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css +0 -1
|
@@ -1,86 +1,90 @@
|
|
|
1
|
-
import "../../ChartTooltip.
|
|
2
|
-
import
|
|
1
|
+
import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css"; import { defineComponent as m, openBlock as a, createElementBlock as o, createBlock as c, createCommentVNode as r, Fragment as y, renderList as v, createElementVNode as f, normalizeStyle as h, unref as l, createVNode as i, withCtx as n, createTextVNode as s, toDisplayString as u } from "vue";
|
|
2
|
+
import d from "../typography/v4/Typography.vue.js";
|
|
3
3
|
import b from "../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
-
import { formatValue as
|
|
5
|
+
import { formatValue as x } from "./utils/utils.js";
|
|
6
6
|
import k from "./TooltipHeader.vue.js";
|
|
7
7
|
const C = { class: "chart-tooltip" }, g = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "list"
|
|
10
|
-
},
|
|
10
|
+
}, V = { class: "popover-label-wrapper" }, A = {
|
|
11
11
|
key: 2,
|
|
12
12
|
class: "tooltip-footer"
|
|
13
|
-
},
|
|
13
|
+
}, L = /* @__PURE__ */ m({
|
|
14
14
|
__name: "ChartTooltip",
|
|
15
15
|
props: {
|
|
16
16
|
title: { default: "" },
|
|
17
17
|
dataPoints: { default: () => [] },
|
|
18
18
|
xAxisFormat: { default: null },
|
|
19
19
|
yAxisFormat: { default: null },
|
|
20
|
+
xAxisDateInterval: { default: null },
|
|
20
21
|
totalLabel: { default: "Total" },
|
|
21
22
|
totalValue: { default: null },
|
|
22
|
-
totalsChart: { type: Boolean, default: !1 }
|
|
23
|
+
totalsChart: { type: Boolean, default: !1 },
|
|
24
|
+
valueSuffix: { default: "" },
|
|
25
|
+
valuePrefix: { default: "" }
|
|
23
26
|
},
|
|
24
27
|
setup(t) {
|
|
25
|
-
return (F,
|
|
26
|
-
t.title ? (a(),
|
|
28
|
+
return (F, S) => (a(), o("div", C, [
|
|
29
|
+
t.title ? (a(), c(k, {
|
|
27
30
|
key: 0,
|
|
28
31
|
title: t.title,
|
|
29
32
|
"data-points": t.dataPoints,
|
|
30
33
|
"totals-chart": t.totalsChart,
|
|
31
|
-
"x-axis-format": t.xAxisFormat
|
|
32
|
-
|
|
34
|
+
"x-axis-format": t.xAxisFormat,
|
|
35
|
+
"x-axis-date-interval": t.xAxisDateInterval
|
|
36
|
+
}, null, 8, ["title", "data-points", "totals-chart", "x-axis-format", "x-axis-date-interval"])) : r("", !0),
|
|
33
37
|
t.totalsChart ? r("", !0) : (a(), o("ul", g, [
|
|
34
|
-
(a(!0), o(
|
|
38
|
+
(a(!0), o(y, null, v(t.dataPoints, (e) => (a(), o("li", {
|
|
35
39
|
key: e.datasetIndex,
|
|
36
40
|
class: "list__item"
|
|
37
41
|
}, [
|
|
38
|
-
|
|
42
|
+
f("span", {
|
|
39
43
|
class: "color-box",
|
|
40
|
-
style:
|
|
44
|
+
style: h({
|
|
41
45
|
backgroundColor: String(e.dataset.pointBackgroundColor)
|
|
42
46
|
})
|
|
43
47
|
}, null, 4),
|
|
44
|
-
e.dataset.icon ? (a(),
|
|
48
|
+
e.dataset.icon ? (a(), c(l(b), {
|
|
45
49
|
key: 0,
|
|
46
50
|
class: "platform-icon",
|
|
47
51
|
type: e.dataset.iconType,
|
|
48
52
|
name: e.dataset.icon,
|
|
49
53
|
size: "16px"
|
|
50
54
|
}, null, 8, ["type", "name"])) : r("", !0),
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
f("div", V, [
|
|
56
|
+
i(l(d), {
|
|
53
57
|
variant: "body2",
|
|
54
58
|
class: "flex-grow truncated-label",
|
|
55
59
|
"is-truncated": ""
|
|
56
60
|
}, {
|
|
57
|
-
default:
|
|
58
|
-
|
|
61
|
+
default: n(() => [
|
|
62
|
+
s(u(e.dataset.label), 1)
|
|
59
63
|
]),
|
|
60
64
|
_: 2
|
|
61
65
|
}, 1024)
|
|
62
66
|
]),
|
|
63
|
-
|
|
64
|
-
default:
|
|
65
|
-
|
|
67
|
+
i(l(d), { variant: "body2" }, {
|
|
68
|
+
default: n(() => [
|
|
69
|
+
s(u(t.valuePrefix + l(x)(e.parsed.y, t.yAxisFormat) + t.valueSuffix), 1)
|
|
66
70
|
]),
|
|
67
71
|
_: 2
|
|
68
72
|
}, 1024)
|
|
69
73
|
]))), 128))
|
|
70
74
|
])),
|
|
71
|
-
t.totalValue !== null ? (a(), o("div",
|
|
72
|
-
|
|
75
|
+
t.totalValue !== null ? (a(), o("div", A, [
|
|
76
|
+
i(l(d), {
|
|
73
77
|
variant: "body2",
|
|
74
78
|
class: "flex-grow"
|
|
75
79
|
}, {
|
|
76
|
-
default:
|
|
77
|
-
|
|
80
|
+
default: n(() => [
|
|
81
|
+
s(u(t.totalLabel), 1)
|
|
78
82
|
]),
|
|
79
83
|
_: 1
|
|
80
84
|
}),
|
|
81
|
-
|
|
82
|
-
default:
|
|
83
|
-
|
|
85
|
+
i(l(d), { variant: "body2" }, {
|
|
86
|
+
default: n(() => [
|
|
87
|
+
s(u(t.valuePrefix + l(x)(t.totalValue, t.yAxisFormat) + t.valueSuffix), 1)
|
|
84
88
|
]),
|
|
85
89
|
_: 1
|
|
86
90
|
})
|
|
@@ -89,5 +93,5 @@ const C = { class: "chart-tooltip" }, g = {
|
|
|
89
93
|
}
|
|
90
94
|
});
|
|
91
95
|
export {
|
|
92
|
-
|
|
96
|
+
L as default
|
|
93
97
|
};
|
|
@@ -1,27 +1,32 @@
|
|
|
1
|
-
import { MyTooltipItem, ValueFormat } from '@/components/chart/types';
|
|
1
|
+
import { DateInterval, MyTooltipItem, ValueFormat } from '@/components/chart/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
title?: string;
|
|
4
4
|
xAxisFormat?: ValueFormat;
|
|
5
|
+
xAxisDateInterval?: DateInterval;
|
|
5
6
|
dataPoints: MyTooltipItem<'line'>[];
|
|
6
7
|
totalsChart?: boolean;
|
|
7
8
|
}>, {
|
|
8
9
|
title: string;
|
|
9
10
|
xAxisFormat: any;
|
|
11
|
+
xAxisDateInterval: any;
|
|
10
12
|
dataPoints: () => any[];
|
|
11
13
|
totalsChart: boolean;
|
|
12
14
|
}>, {}, 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
15
|
title?: string;
|
|
14
16
|
xAxisFormat?: ValueFormat;
|
|
17
|
+
xAxisDateInterval?: DateInterval;
|
|
15
18
|
dataPoints: MyTooltipItem<'line'>[];
|
|
16
19
|
totalsChart?: boolean;
|
|
17
20
|
}>, {
|
|
18
21
|
title: string;
|
|
19
22
|
xAxisFormat: any;
|
|
23
|
+
xAxisDateInterval: any;
|
|
20
24
|
dataPoints: () => any[];
|
|
21
25
|
totalsChart: boolean;
|
|
22
26
|
}>>>, {
|
|
23
27
|
title: string;
|
|
24
28
|
xAxisFormat: ValueFormat;
|
|
29
|
+
xAxisDateInterval: DateInterval;
|
|
25
30
|
dataPoints: MyTooltipItem<'line'>[];
|
|
26
31
|
totalsChart: boolean;
|
|
27
32
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TooltipHeader.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../TooltipHeader.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3b15c693"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,59 +1,69 @@
|
|
|
1
|
-
import "../../TooltipHeader.
|
|
2
|
-
import { formatValue as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css"; import { defineComponent as v, computed as m, openBlock as n, createElementBlock as f, createElementVNode as A, unref as t, createCommentVNode as s, createBlock as u, createVNode as D, withCtx as d, createTextVNode as x, toDisplayString as p } from "vue";
|
|
2
|
+
import { formatValue as r } from "./utils/utils.js";
|
|
3
|
+
import y from "../typography/v4/Typography.vue.js";
|
|
4
|
+
import { DateInterval as c } from "./types.js";
|
|
5
|
+
import T from "../icon/v4/IconV4.vue.js";
|
|
5
6
|
import k from "../icon/v4/IconFlag.vue.js";
|
|
6
|
-
|
|
7
|
+
import { startOfWeek as C, endOfWeek as F, startOfMonth as I, endOfMonth as O } from "date-fns";
|
|
8
|
+
import { LONG_DATE_FORMAT as i } from "./consts.js";
|
|
9
|
+
const E = { class: "tooltip-title-wrapper" }, N = { class: "main-title" }, L = ["src"], P = /* @__PURE__ */ v({
|
|
7
10
|
__name: "TooltipHeader",
|
|
8
11
|
props: {
|
|
9
12
|
title: { default: "" },
|
|
10
13
|
xAxisFormat: { default: null },
|
|
14
|
+
xAxisDateInterval: { default: null },
|
|
11
15
|
dataPoints: { default: () => [] },
|
|
12
16
|
totalsChart: { type: Boolean, default: !1 }
|
|
13
17
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const e =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
setup(a) {
|
|
19
|
+
const e = a, o = m(() => e.dataPoints.length ? e.dataPoints[0].dataset : null), h = m(() => e.totalsChart ? o.value?.label || e.title : e.xAxisFormat === "date" ? g(new Date(e.title)) : r(e.title, e.xAxisFormat)), g = (l) => e.xAxisDateInterval === c.WEEKLY ? `
|
|
20
|
+
${r(C(l), i)} -
|
|
21
|
+
${r(F(l), i)}
|
|
22
|
+
` : e.xAxisDateInterval === c.MONTHLY ? `
|
|
23
|
+
${r(I(l), i)} -
|
|
24
|
+
${r(O(l), i)}
|
|
25
|
+
` : r(l, i);
|
|
26
|
+
return (l, M) => (n(), f("div", E, [
|
|
27
|
+
A("div", N, [
|
|
28
|
+
a.totalsChart && t(o)?.image ? (n(), f("img", {
|
|
19
29
|
key: 0,
|
|
20
30
|
class: "title-image",
|
|
21
|
-
src: t(
|
|
22
|
-
}, null, 8,
|
|
23
|
-
|
|
31
|
+
src: t(o)?.image
|
|
32
|
+
}, null, 8, L)) : s("", !0),
|
|
33
|
+
a.totalsChart && t(o)?.countryFlag ? (n(), u(t(k), {
|
|
24
34
|
key: 1,
|
|
25
|
-
"country-code": t(
|
|
26
|
-
}, null, 8, ["country-code"])) :
|
|
27
|
-
|
|
35
|
+
"country-code": t(o).countryFlag
|
|
36
|
+
}, null, 8, ["country-code"])) : s("", !0),
|
|
37
|
+
a.totalsChart && t(o)?.icon ? (n(), u(t(T), {
|
|
28
38
|
key: 2,
|
|
29
39
|
class: "platform-icon",
|
|
30
|
-
type: t(
|
|
31
|
-
name: t(
|
|
40
|
+
type: t(o)?.iconType,
|
|
41
|
+
name: t(o)?.icon,
|
|
32
42
|
size: "16px"
|
|
33
|
-
}, null, 8, ["type", "name"])) :
|
|
34
|
-
|
|
43
|
+
}, null, 8, ["type", "name"])) : s("", !0),
|
|
44
|
+
D(t(y), {
|
|
35
45
|
class: "title-text",
|
|
36
46
|
variant: "subtitle2"
|
|
37
47
|
}, {
|
|
38
|
-
default:
|
|
39
|
-
|
|
48
|
+
default: d(() => [
|
|
49
|
+
x(p(t(h)), 1)
|
|
40
50
|
]),
|
|
41
51
|
_: 1
|
|
42
52
|
})
|
|
43
53
|
]),
|
|
44
|
-
|
|
54
|
+
a.xAxisFormat === "date" && a.xAxisDateInterval !== t(c).WEEKLY && a.xAxisDateInterval !== t(c).MONTHLY ? (n(), u(t(y), {
|
|
45
55
|
key: 0,
|
|
46
56
|
class: "tooltip-sub-title",
|
|
47
57
|
variant: "caption"
|
|
48
58
|
}, {
|
|
49
|
-
default:
|
|
50
|
-
|
|
59
|
+
default: d(() => [
|
|
60
|
+
x(p(t(r)(a.title, "day")), 1)
|
|
51
61
|
]),
|
|
52
62
|
_: 1
|
|
53
|
-
})) :
|
|
63
|
+
})) : s("", !0)
|
|
54
64
|
]));
|
|
55
65
|
}
|
|
56
66
|
});
|
|
57
67
|
export {
|
|
58
|
-
|
|
68
|
+
P as default
|
|
59
69
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { NETWORK_UNITY_ADS as _, BIDDING_PREFIX as F, NETWORK_AD_MOB as N, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as T, NETWORK_APPLOVIN as A, NETWORK_FACEBOOK_META as $, NETWORK_LIFTOFF as O, NETWORK_PANGLE as C, NETWORK_INMOBI as R, NETWORK_DT_EXCHANGE as B } from "./consts.js";
|
|
2
|
+
const I = "#c9c9c9", K = [
|
|
3
3
|
"#80BCFE",
|
|
4
4
|
"#9999FF",
|
|
5
5
|
"#5883E4",
|
|
@@ -29,26 +29,26 @@ const T = "#c9c9c9", K = [
|
|
|
29
29
|
Banner: "#9668FF",
|
|
30
30
|
Native: "#FF35A2",
|
|
31
31
|
// Ad sources
|
|
32
|
-
[`${
|
|
33
|
-
[`${
|
|
34
|
-
[`${
|
|
35
|
-
[`${
|
|
36
|
-
[`${
|
|
37
|
-
[`${
|
|
38
|
-
[`${
|
|
39
|
-
[`${
|
|
40
|
-
[`${
|
|
41
|
-
[`${
|
|
42
|
-
[`${
|
|
43
|
-
[`${
|
|
44
|
-
[`${
|
|
45
|
-
[`${
|
|
46
|
-
[`${
|
|
47
|
-
[`${
|
|
48
|
-
[`${
|
|
32
|
+
[`${_} ${F}`]: "#9668FF",
|
|
33
|
+
[`${N} ${F}`]: "#34A853",
|
|
34
|
+
[`${E} ${F}`]: "#272EC4",
|
|
35
|
+
[`${E}`]: "#5C63E7",
|
|
36
|
+
[`${T} ${F}`]: "#00D8B2",
|
|
37
|
+
[`${A} ${F}`]: "#009BCB",
|
|
38
|
+
[`${A}`]: "#80CDE5",
|
|
39
|
+
[`${$} ${F}`]: "#0082FF",
|
|
40
|
+
[`${$}`]: "#52AAFF",
|
|
41
|
+
[`${O} ${F}`]: "#FF35A2",
|
|
42
|
+
[`${O}`]: "#FF9AD1",
|
|
43
|
+
[`${C} ${F}`]: "#F52E1E",
|
|
44
|
+
[`${C}`]: "#FA9F97",
|
|
45
|
+
[`${R} ${F}`]: "#FFD600",
|
|
46
|
+
[`${R}`]: "#FFEC8A",
|
|
47
|
+
[`${B} ${F}`]: "#BA0029",
|
|
48
|
+
[`${B}`]: "#DD8094"
|
|
49
49
|
};
|
|
50
50
|
export {
|
|
51
51
|
K as COLOR_PALETTE,
|
|
52
|
-
|
|
52
|
+
I as DEFAULT_CHART_COLOR,
|
|
53
53
|
t as RESERVED_COLORS_MAP
|
|
54
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseChartHeightArgs } from '@/components/chart/types';
|
|
2
|
-
export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, }: UseChartHeightArgs) => {
|
|
2
|
+
export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, bottomSpacing, }: UseChartHeightArgs) => {
|
|
3
3
|
containerProps: import("vue").ComputedRef<Record<string, unknown>>;
|
|
4
4
|
eachPlaneHeight: import("vue").ComputedRef<string>;
|
|
5
5
|
};
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { useElementBounding as
|
|
3
|
-
import { useFullPageHeight as
|
|
4
|
-
import { DEFAULT_CHART_PLANE_HEIGHT as
|
|
5
|
-
const
|
|
1
|
+
import { ref as g, computed as o } from "vue";
|
|
2
|
+
import { useElementBounding as m, useWindowScroll as f } from "@vueuse/core";
|
|
3
|
+
import { useFullPageHeight as p } from "../../../composables/useFullPageHeight.js";
|
|
4
|
+
import { DEFAULT_CHART_PLANE_HEIGHT as E, HEADER_HEIGHT as v, MIN_PLANE_HEIGHT as r } from "../consts.js";
|
|
5
|
+
const T = ({
|
|
6
6
|
chartPlanesCount: e,
|
|
7
|
-
useFullHeight: n
|
|
7
|
+
useFullHeight: n,
|
|
8
|
+
bottomSpacing: i = 50
|
|
8
9
|
}) => {
|
|
9
|
-
const t =
|
|
10
|
-
elem: t
|
|
11
|
-
|
|
10
|
+
const t = g(), { height: c } = m(t), { cssHeightValue: l } = p({
|
|
11
|
+
elem: t,
|
|
12
|
+
bottomSpacing: i
|
|
13
|
+
}), { y: s } = f(), u = o(() => n && !s.value ? l.value : E + v + "px"), h = o(() => ({
|
|
12
14
|
ref: t,
|
|
13
|
-
style: { height:
|
|
14
|
-
})),
|
|
15
|
+
style: { height: u.value }
|
|
16
|
+
})), a = o(() => e.value === 1 ? "100%" : c.value / e.value < r ? `${r}px` : 100 / e.value + "%");
|
|
15
17
|
return {
|
|
16
|
-
containerProps:
|
|
17
|
-
eachPlaneHeight:
|
|
18
|
+
containerProps: h,
|
|
19
|
+
eachPlaneHeight: a
|
|
18
20
|
};
|
|
19
21
|
};
|
|
20
22
|
export {
|
|
21
|
-
|
|
23
|
+
T as useChartHeight
|
|
22
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropdownTypeOption, Font } from './types';
|
|
1
|
+
import { DropdownTypeOption, Font, ValueFormat } 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";
|
|
@@ -14,16 +14,16 @@ export declare const MIN_PLANE_HEIGHT = 187;
|
|
|
14
14
|
export declare const TOTALS_HELPER_KEY = "__TOTALS_HELPER_KEY__";
|
|
15
15
|
export declare const BASE_COLOR_KEY = "___BASE_COLOR__";
|
|
16
16
|
export declare const BIDDING_PREFIX = "Bidding";
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const
|
|
17
|
+
export declare const NETWORK_IRON_SOURCE = "ironSource";
|
|
18
|
+
export declare const NETWORK_UNITY_ADS = "UnityAds";
|
|
19
|
+
export declare const NETWORK_FACEBOOK_META = "Meta";
|
|
20
|
+
export declare const NETWORK_AD_MOB = "Google";
|
|
21
|
+
export declare const NETWORK_MINTEGRAL = "Mintegral";
|
|
22
|
+
export declare const NETWORK_APPLOVIN = "AppLovin";
|
|
23
|
+
export declare const NETWORK_INMOBI = "InMobi";
|
|
24
|
+
export declare const NETWORK_DT_EXCHANGE = "DT Exchange";
|
|
25
|
+
export declare const NETWORK_PANGLE = "Pangle";
|
|
26
|
+
export declare const NETWORK_LIFTOFF = "Liftoff Monetize";
|
|
27
27
|
export declare const HOVER_TRANSPARENCY = 10;
|
|
28
28
|
export declare const HOVER_AREA_TRANSPARENCY = 70;
|
|
29
29
|
export declare const CHART_PADDING: {
|
|
@@ -32,4 +32,5 @@ export declare const CHART_PADDING: {
|
|
|
32
32
|
top: number;
|
|
33
33
|
bottom: number;
|
|
34
34
|
};
|
|
35
|
-
export declare const TICKS_EXTRA_PADDING =
|
|
35
|
+
export declare const TICKS_EXTRA_PADDING = 6;
|
|
36
|
+
export declare const LONG_DATE_FORMAT: ValueFormat;
|
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
import { ChartType as _ } from "./types.js";
|
|
2
|
-
const
|
|
2
|
+
const t = "#fcfcfc", n = "#E4E4E4", T = "#646464", o = {
|
|
3
3
|
size: 12,
|
|
4
4
|
weight: 400,
|
|
5
5
|
family: "Inter"
|
|
6
|
-
},
|
|
6
|
+
}, O = 4, A = 1, R = 5, c = [
|
|
7
7
|
{ id: _.Line, name: "Line" },
|
|
8
8
|
{ id: _.StackedLine, name: "Stack" },
|
|
9
9
|
{ id: _.Bar, name: "Bar" }
|
|
10
|
-
],
|
|
10
|
+
], N = 76, L = 43, s = 312, I = 187, e = "__TOTALS_HELPER_KEY__", D = "___BASE_COLOR__", i = "Bidding", C = "ironSource", K = "UnityAds", P = "Meta", H = "Google", S = "Mintegral", a = "AppLovin", B = "InMobi", G = "DT Exchange", M = "Pangle", r = "Liftoff Monetize", F = 10, W = 70, f = {
|
|
11
11
|
left: 18,
|
|
12
12
|
right: 18,
|
|
13
13
|
top: 18,
|
|
14
14
|
bottom: 11
|
|
15
|
-
},
|
|
15
|
+
}, d = 6, g = "dateLong";
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
D as BASE_COLOR_KEY,
|
|
18
|
+
i as BIDDING_PREFIX,
|
|
19
|
+
f as CHART_PADDING,
|
|
20
|
+
L as COMPACT_HEADER_HEIGHT,
|
|
21
21
|
s as DEFAULT_CHART_PLANE_HEIGHT,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
22
|
+
R as DEFAULT_MAX_VISIBLE,
|
|
23
|
+
A as DEFAULT_MIN_VISIBLE,
|
|
24
|
+
O as DEFAULT_TICK_COUNT,
|
|
25
|
+
c as DROPDOWN_TYPE_OPTIONS,
|
|
26
|
+
n as GRID_LINE_COLOR,
|
|
27
|
+
N as HEADER_HEIGHT,
|
|
28
|
+
W as HOVER_AREA_TRANSPARENCY,
|
|
29
|
+
F as HOVER_TRANSPARENCY,
|
|
30
|
+
g as LONG_DATE_FORMAT,
|
|
31
|
+
I as MIN_PLANE_HEIGHT,
|
|
32
|
+
H as NETWORK_AD_MOB,
|
|
33
|
+
a as NETWORK_APPLOVIN,
|
|
34
|
+
G as NETWORK_DT_EXCHANGE,
|
|
35
|
+
P as NETWORK_FACEBOOK_META,
|
|
36
|
+
B as NETWORK_INMOBI,
|
|
37
|
+
C as NETWORK_IRON_SOURCE,
|
|
38
|
+
r as NETWORK_LIFTOFF,
|
|
39
|
+
S as NETWORK_MINTEGRAL,
|
|
40
|
+
M as NETWORK_PANGLE,
|
|
41
|
+
K as NETWORK_UNITY_ADS,
|
|
42
|
+
t as POINT_BORDER_COLOR,
|
|
43
|
+
d as TICKS_EXTRA_PADDING,
|
|
44
|
+
T as TICK_LABEL_COLOR,
|
|
45
|
+
o as TICK_LABEL_FONT,
|
|
46
|
+
e as TOTALS_HELPER_KEY
|
|
46
47
|
};
|