@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.
Files changed (34) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css +1 -0
  2. package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +1 -0
  3. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +1 -0
  4. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  5. package/components/chart/Chart.vue.d.ts +26 -1
  6. package/components/chart/Chart.vue.js +4 -4
  7. package/components/chart/Chart.vue2.js +68 -56
  8. package/components/chart/ChartPlane.vue.d.ts +21 -1
  9. package/components/chart/ChartPlane.vue.js +4 -4
  10. package/components/chart/ChartPlane.vue2.js +152 -141
  11. package/components/chart/ChartStoryArgs.d.ts +20 -1
  12. package/components/chart/ChartTooltip.vue.d.ts +16 -1
  13. package/components/chart/ChartTooltip.vue.js +2 -2
  14. package/components/chart/ChartTooltip.vue2.js +33 -29
  15. package/components/chart/TooltipHeader.vue.d.ts +6 -1
  16. package/components/chart/TooltipHeader.vue.js +2 -2
  17. package/components/chart/TooltipHeader.vue2.js +37 -27
  18. package/components/chart/colorPalette.js +20 -20
  19. package/components/chart/composables/useChartHeight.d.ts +1 -1
  20. package/components/chart/composables/useChartHeight.js +16 -14
  21. package/components/chart/consts.d.ts +13 -12
  22. package/components/chart/consts.js +33 -32
  23. package/components/chart/index.d.ts +96 -1
  24. package/components/chart/mockData.d.ts +8 -0
  25. package/components/chart/types.d.ts +6 -0
  26. package/components/chart/types.js +4 -3
  27. package/components/chart/utils/utils.d.ts +1 -1
  28. package/components/chart/utils/utils.js +10 -10
  29. package/index.js +1 -1
  30. package/package.json +1 -1
  31. package/Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css +0 -1
  32. package/ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css +0 -1
  33. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9e521454_lang.css +0 -1
  34. package/TooltipHeader.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css +0 -1
@@ -1,86 +1,90 @@
1
- import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_9e521454_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";
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 f } from "./utils/utils.js";
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
- }, v = { class: "popover-label-wrapper" }, V = {
10
+ }, V = { class: "popover-label-wrapper" }, A = {
11
11
  key: 2,
12
12
  class: "tooltip-footer"
13
- }, z = /* @__PURE__ */ y({
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, T) => (a(), o("div", C, [
26
- t.title ? (a(), u(k, {
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
- }, null, 8, ["title", "data-points", "totals-chart", "x-axis-format"])) : r("", !0),
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(x, null, h(t.dataPoints, (e) => (a(), o("li", {
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
- m("span", {
42
+ f("span", {
39
43
  class: "color-box",
40
- style: p({
44
+ style: h({
41
45
  backgroundColor: String(e.dataset.pointBackgroundColor)
42
46
  })
43
47
  }, null, 4),
44
- e.dataset.icon ? (a(), u(l(b), {
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
- m("div", v, [
52
- s(l(c), {
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: i(() => [
58
- n(d(e.dataset.label), 1)
61
+ default: n(() => [
62
+ s(u(e.dataset.label), 1)
59
63
  ]),
60
64
  _: 2
61
65
  }, 1024)
62
66
  ]),
63
- s(l(c), { variant: "body2" }, {
64
- default: i(() => [
65
- n(d(l(f)(e.parsed.y, t.yAxisFormat)), 1)
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", V, [
72
- s(l(c), {
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: i(() => [
77
- n(d(t.totalLabel), 1)
80
+ default: n(() => [
81
+ s(u(t.totalLabel), 1)
78
82
  ]),
79
83
  _: 1
80
84
  }),
81
- s(l(c), { variant: "body2" }, {
82
- default: i(() => [
83
- n(d(l(f)(t.totalValue, t.yAxisFormat)), 1)
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
- z as default
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.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9f6cf389"]]);
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.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css"; 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";
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
- const v = { class: "tooltip-title-wrapper" }, A = { class: "main-title" }, T = ["src"], D = /* @__PURE__ */ h({
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(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", {
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(a)?.image
22
- }, null, 8, T)) : i("", !0),
23
- o.totalsChart && t(a)?.countryFlag ? (r(), n(t(k), {
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(a).countryFlag
26
- }, null, 8, ["country-code"])) : i("", !0),
27
- o.totalsChart && t(a)?.icon ? (r(), n(t(C), {
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(a)?.iconType,
31
- name: t(a)?.icon,
40
+ type: t(o)?.iconType,
41
+ name: t(o)?.icon,
32
42
  size: "16px"
33
- }, null, 8, ["type", "name"])) : i("", !0),
34
- F(t(f), {
43
+ }, null, 8, ["type", "name"])) : s("", !0),
44
+ D(t(y), {
35
45
  class: "title-text",
36
46
  variant: "subtitle2"
37
47
  }, {
38
- default: c(() => [
39
- u(m(t(y)), 1)
48
+ default: d(() => [
49
+ x(p(t(h)), 1)
40
50
  ]),
41
51
  _: 1
42
52
  })
43
53
  ]),
44
- o.xAxisFormat === "date" ? (r(), n(t(f), {
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: c(() => [
50
- u(m(t(d)(o.title, t(x))), 1)
59
+ default: d(() => [
60
+ x(p(t(r)(a.title, "day")), 1)
51
61
  ]),
52
62
  _: 1
53
- })) : i("", !0)
63
+ })) : s("", !0)
54
64
  ]));
55
65
  }
56
66
  });
57
67
  export {
58
- D as default
68
+ P as default
59
69
  };
@@ -1,5 +1,5 @@
1
- import { NETWORK_ID_UNITY_ADS as R, BIDDING_PREFIX as F, NETWORK_ID_AD_MOB as B, NETWORK_ID_IRON_SOURCE as _, NETWORK_ID_MINTEGRAL as I, NETWORK_ID_APPLOVIN as E, NETWORK_ID_FACEBOOK_META as A, NETWORK_ID_LIFTOFF as D, NETWORK_ID_PANGLE as $, NETWORK_ID_INMOBI as O, NETWORK_ID_DT_EXCHANGE as C } from "./consts.js";
2
- const T = "#c9c9c9", K = [
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
- [`${R}_${F}`]: "#9668FF",
33
- [`${B}_${F}`]: "#34A853",
34
- [`${_}_${F}`]: "#272EC4",
35
- [`${_}`]: "#5C63E7",
36
- [`${I}_${F}`]: "#00D8B2",
37
- [`${E}_${F}`]: "#009BCB",
38
- [`${E}`]: "#80CDE5",
39
- [`${A}_${F}`]: "#0082FF",
40
- [`${A}`]: "#52AAFF",
41
- [`${D}_${F}`]: "#FF35A2",
42
- [`${D}`]: "#FF9AD1",
43
- [`${$}_${F}`]: "#F52E1E",
44
- [`${$}`]: "#FA9F97",
45
- [`${O}_${F}`]: "#FFD600",
46
- [`${O}`]: "#FFEC8A",
47
- [`${C}_${F}`]: "#BA0029",
48
- [`${C}`]: "#DD8094"
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
- T as DEFAULT_CHART_COLOR,
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 H, computed as o } from "vue";
2
- import { useElementBounding as g, useWindowScroll as m } from "@vueuse/core";
3
- import { useFullPageHeight as f } from "../../../composables/useFullPageHeight.js";
4
- import { DEFAULT_CHART_PLANE_HEIGHT as p, HEADER_HEIGHT as E, MIN_PLANE_HEIGHT as r } from "../consts.js";
5
- const P = ({
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 = H(), { height: i } = g(t), { cssHeightValue: c } = f({
10
- elem: t
11
- }), { y: l } = m(), s = o(() => n && !l.value ? c.value : p + E + "px"), u = o(() => ({
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: s.value }
14
- })), h = o(() => e.value === 1 ? "100%" : i.value / e.value < r ? `${r}px` : 100 / e.value + "%");
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: u,
17
- eachPlaneHeight: h
18
+ containerProps: h,
19
+ eachPlaneHeight: a
18
20
  };
19
21
  };
20
22
  export {
21
- P as useChartHeight
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 NETWORK_ID_IRON_SOURCE = 9899;
18
- export declare const NETWORK_ID_UNITY_ADS = 9917;
19
- export declare const NETWORK_ID_FACEBOOK_META = 9939;
20
- export declare const NETWORK_ID_AD_MOB = 9942;
21
- export declare const NETWORK_ID_MINTEGRAL = 9953;
22
- export declare const NETWORK_ID_APPLOVIN = 9935;
23
- export declare const NETWORK_ID_INMOBI = 9938;
24
- export declare const NETWORK_ID_DT_EXCHANGE = 9950;
25
- export declare const NETWORK_ID_PANGLE = 9952;
26
- export declare const NETWORK_ID_LIFTOFF = 9962;
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 = 10;
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 T = "#fcfcfc", t = "#E4E4E4", I = "#646464", O = {
2
+ const t = "#fcfcfc", n = "#E4E4E4", T = "#646464", o = {
3
3
  size: 12,
4
4
  weight: 400,
5
5
  family: "Inter"
6
- }, n = 4, R = 1, o = 5, A = [
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
- ], c = 76, N = 43, s = 312, D = 187, L = "__TOTALS_HELPER_KEY__", C = "___BASE_COLOR__", K = "Bidding", H = 9899, P = 9917, B = 9939, S = 9942, e = 9953, i = 9935, G = 9938, W = 9950, F = 9952, a = 9962, r = 10, M = 70, m = {
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
- }, U = 10;
15
+ }, d = 6, g = "dateLong";
16
16
  export {
17
- C as BASE_COLOR_KEY,
18
- K as BIDDING_PREFIX,
19
- m as CHART_PADDING,
20
- N as COMPACT_HEADER_HEIGHT,
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
- o as DEFAULT_MAX_VISIBLE,
23
- R as DEFAULT_MIN_VISIBLE,
24
- n as DEFAULT_TICK_COUNT,
25
- A as DROPDOWN_TYPE_OPTIONS,
26
- t as GRID_LINE_COLOR,
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
- i as NETWORK_ID_APPLOVIN,
33
- W as NETWORK_ID_DT_EXCHANGE,
34
- B as NETWORK_ID_FACEBOOK_META,
35
- G as NETWORK_ID_INMOBI,
36
- H as NETWORK_ID_IRON_SOURCE,
37
- a as NETWORK_ID_LIFTOFF,
38
- e as NETWORK_ID_MINTEGRAL,
39
- F as NETWORK_ID_PANGLE,
40
- P as NETWORK_ID_UNITY_ADS,
41
- T as POINT_BORDER_COLOR,
42
- U as TICKS_EXTRA_PADDING,
43
- I as TICK_LABEL_COLOR,
44
- O as TICK_LABEL_FONT,
45
- L as TOTALS_HELPER_KEY
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
  };