@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.
Files changed (57) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_4e9ce62f_lang.css +1 -0
  2. package/ChartLegend.vue_vue_type_style_index_0_scoped_fd9e4ea2_lang.css +1 -0
  3. package/ChartPlane.vue_vue_type_style_index_0_scoped_64dcfb5d_lang.css +1 -0
  4. package/ChartTooltip.vue_vue_type_style_index_0_scoped_81cdfd5e_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +1 -0
  6. package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +1 -0
  7. package/TooltipHeader.vue_vue_type_style_index_0_scoped_40d98a66_lang.css +1 -0
  8. package/components/chart/Chart.vue.d.ts +7 -2
  9. package/components/chart/Chart.vue.js +3 -3
  10. package/components/chart/Chart.vue2.js +64 -59
  11. package/components/chart/ChartLegend.vue.d.ts +7 -0
  12. package/components/chart/ChartLegend.vue.js +3 -3
  13. package/components/chart/ChartLegend.vue2.js +75 -68
  14. package/components/chart/ChartPlane.vue.d.ts +12 -2
  15. package/components/chart/ChartPlane.vue.js +5 -5
  16. package/components/chart/ChartPlane.vue2.js +182 -156
  17. package/components/chart/ChartStoryArgs.d.ts +6 -0
  18. package/components/chart/ChartTooltip.vue.d.ts +6 -1
  19. package/components/chart/ChartTooltip.vue.js +2 -2
  20. package/components/chart/ChartTooltip.vue2.js +48 -58
  21. package/components/chart/components/TooltipHeader.vue.d.ts +45 -0
  22. package/components/chart/components/TooltipHeader.vue.js +7 -0
  23. package/components/chart/components/TooltipHeader.vue2.js +59 -0
  24. package/components/chart/consts.d.ts +12 -6
  25. package/components/chart/consts.js +31 -21
  26. package/components/chart/index.d.ts +54 -35
  27. package/components/chart/mockData.d.ts +11 -0
  28. package/components/chart/types.d.ts +16 -5
  29. package/components/chart/utils/highlightUtils.d.ts +3 -0
  30. package/components/chart/utils/highlightUtils.js +18 -0
  31. package/components/chart/utils/utils.d.ts +2 -1
  32. package/components/chart/utils/utils.js +23 -8
  33. package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
  34. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  35. package/components/dropdown/v4/DropdownV4.vue2.js +102 -97
  36. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  37. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  38. package/components/dropdown/v4/OptionV4.vue2.js +83 -64
  39. package/components/dropdown/v4/index.d.ts +40 -2
  40. package/composables/useFormValidation.js +21 -19
  41. package/consts/common.d.ts +1 -0
  42. package/consts/common.js +4 -0
  43. package/consts/regex.d.ts +1 -0
  44. package/consts/regex.js +2 -1
  45. package/index.d.ts +80 -4
  46. package/index.js +1 -1
  47. package/package.json +1 -1
  48. package/utils/text.d.ts +3 -0
  49. package/utils/text.js +24 -5
  50. package/utils/utils.d.ts +1 -0
  51. package/utils/utils.js +4 -0
  52. package/Chart.vue_vue_type_style_index_0_scoped_de950ffe_lang.css +0 -1
  53. package/ChartLegend.vue_vue_type_style_index_0_scoped_da487aba_lang.css +0 -1
  54. package/ChartPlane.vue_vue_type_style_index_0_scoped_ae87f435_lang.css +0 -1
  55. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
  56. package/DropdownV4.vue_vue_type_style_index_0_scoped_4de6dfb8_lang.css +0 -1
  57. package/OptionV4.vue_vue_type_style_index_0_scoped_8ba7e191_lang.css +0 -1
@@ -1,15 +1,16 @@
1
- import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css"; import { defineComponent as F, computed as x, openBlock as l, createElementBlock as n, createVNode as u, unref as t, withCtx as o, createTextVNode as r, toDisplayString as i, createBlock as y, createCommentVNode as d, createElementVNode as f, Fragment as v, renderList as h, normalizeStyle as k } from "vue";
2
- import s from "../typography/v4/Typography.vue.js";
3
- import { formatValue as m } from "./utils/utils.js";
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
- const A = { class: "chart-tooltip" }, V = {
7
- key: 0,
8
- class: "tooltip-title-wrapper"
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
- }, I = /* @__PURE__ */ F({
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(e) {
23
- const c = e, p = x(() => c.xAxisFormat === "date" ? "dateLong" : c.xAxisFormat), b = x(() => c.xAxisFormat === "date" ? "day" : c.xAxisFormat);
24
- return (B, L) => (l(), n("div", A, [
25
- e.title ? (l(), n("div", V, [
26
- u(t(s), { variant: "subtitle2" }, {
27
- default: o(() => [
28
- r(i(t(m)(e.title, t(p))), 1)
29
- ]),
30
- _: 1
31
- }),
32
- e.xAxisFormat === "date" ? (l(), y(t(s), {
33
- key: 0,
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
- f("span", {
38
+ m("span", {
49
39
  class: "color-box",
50
- style: k({
51
- backgroundColor: String(a.dataset.pointBackgroundColor)
40
+ style: p({
41
+ backgroundColor: String(e.dataset.pointBackgroundColor)
52
42
  })
53
43
  }, null, 4),
54
- a.dataset.icon ? (l(), y(t(g), {
44
+ e.dataset.icon ? (a(), u(l(b), {
55
45
  key: 0,
56
46
  class: "platform-icon",
57
- type: a.dataset.iconType,
58
- name: a.dataset.icon,
47
+ type: e.dataset.iconType,
48
+ name: e.dataset.icon,
59
49
  size: "16px"
60
- }, null, 8, ["type", "name"])) : d("", !0),
61
- f("div", T, [
62
- u(t(s), {
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: o(() => [
68
- r(i(a.dataset.label), 1)
57
+ default: i(() => [
58
+ n(d(e.dataset.label), 1)
69
59
  ]),
70
60
  _: 2
71
61
  }, 1024)
72
62
  ]),
73
- u(t(s), { variant: "body2" }, {
74
- default: o(() => [
75
- r(i(t(m)(a.parsed.y, e.yAxisFormat)), 1)
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
- e.totalValue !== null ? (l(), n("div", w, [
82
- u(t(s), {
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: o(() => [
87
- r(i(e.totalLabel), 1)
76
+ default: i(() => [
77
+ n(d(t.totalLabel), 1)
88
78
  ]),
89
79
  _: 1
90
80
  }),
91
- u(t(s), { variant: "body2" }, {
92
- default: o(() => [
93
- r(i(t(m)(e.totalValue, e.yAxisFormat)), 1)
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
- ])) : d("", !0)
87
+ ])) : r("", !0)
98
88
  ]));
99
89
  }
100
90
  });
101
91
  export {
102
- I as default
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", O = "#646464", n = {
2
+ const I = "#fcfcfc", T = "#E4E4E4", t = "#646464", O = {
3
3
  size: 12,
4
4
  weight: 400,
5
5
  family: "Inter"
6
- }, t = 4, N = 1, c = 5, o = [
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
- ], D = 76, L = 43, R = 312, s = 187, A = "__TOTALS_HELPER_KEY__", K = "Bidding", i = "Non-bidding", C = 9899, H = 9917, P = 9939, B = 9942, e = 9953, F = 9935, W = 9938, G = 9950, a = 9952, S = 9962;
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
- L as COMPACT_HEADER_HEIGHT,
14
- R as DEFAULT_CHART_PLANE_HEIGHT,
15
- c as DEFAULT_MAX_VISIBLE,
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
- t as DEFAULT_TICK_COUNT,
24
+ n as DEFAULT_TICK_COUNT,
18
25
  o as DROPDOWN_TYPE_OPTIONS,
19
26
  T as GRID_LINE_COLOR,
20
- D as HEADER_HEIGHT,
21
- s as MIN_PLANE_HEIGHT,
22
- B as NETWORK_ID_AD_MOB,
23
- F as NETWORK_ID_APPLOVIN,
24
- G as NETWORK_ID_DT_EXCHANGE,
25
- P as NETWORK_ID_FACEBOOK_META,
26
- W as NETWORK_ID_INMOBI,
27
- C as NETWORK_ID_IRON_SOURCE,
28
- S as NETWORK_ID_LIFTOFF,
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
- H as NETWORK_ID_UNITY_ADS,
32
- i as NON_BIDDING_PREFIX,
40
+ i as NETWORK_ID_UNITY_ADS,
41
+ P as NON_BIDDING_PREFIX,
33
42
  I as POINT_BORDER_COLOR,
34
- O as TICK_LABEL_COLOR,
35
- n as TICK_LABEL_FONT,
36
- A as TOTALS_HELPER_KEY
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
- yAxisFormat: import("./types").ValueFormat;
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
- yAxisFormat: {
89
- type: import("vue").PropType<import("./types").ValueFormat>;
90
- default: string;
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" | "yAxisFormat" | "parsing" | "dataSets" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "tickCount" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "totalsChart" | "fullHeight" | "withSettingsHeader" | "extraCharts">;
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
- yAxisFormat: {
241
- type: import("vue").PropType<import("./types").ValueFormat>;
242
- default: string;
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
- yAxisFormat: import("./types").ValueFormat;
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
- yAxisFormat: {
435
- type: import("vue").PropType<import("./types").ValueFormat>;
436
- default: string;
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
- yAxisFormat: {
577
- type: import("vue").PropType<import("./types").ValueFormat>;
578
- default: string;
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
- yAxisFormat: import("./types").ValueFormat;
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;