@ironsource/shared-ui 2.1.12-test.66 → 2.1.12-test.68
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/ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css +1 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +5 -5
- package/components/chart/colorPalette.js +23 -23
- package/components/chart/consts.d.ts +0 -1
- package/components/chart/consts.js +15 -16
- package/index.js +1 -1
- package/package.json +1 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4bd7bf53_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chart-plane-container[data-v-5c80d8cd]{--headerHeight: var(--1ae03326);width:100%;height:var(--42303d50);position:relative}.header-wrapper[data-v-5c80d8cd]{position:absolute;width:100%;height:var(--headerHeight);top:0;z-index:1}.chart-plane[data-v-5c80d8cd]{padding-top:var(--headerHeight);height:100%}.chart[data-v-5c80d8cd]{width:100%;height:100%;position:relative}.chart__canvas[data-v-5c80d8cd]{width:100%;height:100%}.chart__tooltip[data-v-5c80d8cd]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px;z-index:1}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChartPlane.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ChartPlane.
|
|
4
|
-
const
|
|
3
|
+
// import "../../ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-5c80d8cd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../ChartPlane.
|
|
1
|
+
import "../../ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css"; import { defineComponent as re, useCssVars as ie, unref as s, computed as l, ref as k, onMounted as ne, watch as T, nextTick as se, openBlock as p, createElementBlock as S, createVNode as ce, isRef as de, createSlots as ue, withCtx as pe, renderSlot as fe, createCommentVNode as A, createElementVNode as x, normalizeStyle as he, createBlock as L } from "vue";
|
|
2
2
|
import { Chart as F, ArcElement as me, LineElement as ve, BarElement as ye, PointElement as Te, LineController as Ce, BarController as ge, PieController as be, ScatterController as ke, CategoryScale as Se, LinearScale as Ae, Filler as xe, Tooltip as Le } from "chart.js";
|
|
3
3
|
import { HoverVerticalLine as Ee } from "./plugins/HoverVerticalLine.js";
|
|
4
4
|
import { prepareTickLabel as Re, formatValue as Be, calcStepSize as Oe } from "./utils/utils.js";
|
|
@@ -60,8 +60,8 @@ const qe = { class: "chart-plane-container" }, Je = {
|
|
|
60
60
|
setup(o, { emit: $ }) {
|
|
61
61
|
const t = o;
|
|
62
62
|
ie((e) => ({
|
|
63
|
-
"
|
|
64
|
-
|
|
63
|
+
"1ae03326": s(te),
|
|
64
|
+
"42303d50": o.height
|
|
65
65
|
}));
|
|
66
66
|
const W = Ue(Re);
|
|
67
67
|
F.register(
|
|
@@ -334,8 +334,8 @@ const qe = { class: "chart-plane-container" }, Je = {
|
|
|
334
334
|
"data-points": d.value.dataPoints,
|
|
335
335
|
"x-axis-format": o.xAxisFormat,
|
|
336
336
|
"y-axis-format": o.yAxisFormat,
|
|
337
|
-
"total-label": d.value.footer[0],
|
|
338
|
-
"total-value": Number(d.value.footer[1])
|
|
337
|
+
"total-label": d.value.footer?.[0],
|
|
338
|
+
"total-value": Number(d.value.footer?.[1])
|
|
339
339
|
}, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "total-label", "total-value"])) : A("", !0)
|
|
340
340
|
], 4)
|
|
341
341
|
])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
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 = [
|
|
3
3
|
"#80BCFE",
|
|
4
4
|
"#9999FF",
|
|
5
5
|
"#5883E4",
|
|
@@ -10,7 +10,7 @@ const K = "#c9c9c9", t = [
|
|
|
10
10
|
"#673AFF",
|
|
11
11
|
"#CA80DC",
|
|
12
12
|
"#FEBBB2"
|
|
13
|
-
],
|
|
13
|
+
], t = {
|
|
14
14
|
Total: "#646464",
|
|
15
15
|
// AB tests
|
|
16
16
|
A: "#FFC134",
|
|
@@ -29,26 +29,26 @@ const K = "#c9c9c9", t = [
|
|
|
29
29
|
Banner: "#9668FF",
|
|
30
30
|
Native: "#FF35A2",
|
|
31
31
|
// Ad sources
|
|
32
|
-
[`${
|
|
33
|
-
[`${
|
|
34
|
-
[`${
|
|
35
|
-
[`${
|
|
36
|
-
[`${
|
|
37
|
-
[`${
|
|
38
|
-
[`${E}
|
|
39
|
-
[`${
|
|
40
|
-
[`${
|
|
41
|
-
[`${
|
|
42
|
-
[`${
|
|
43
|
-
[`${
|
|
44
|
-
[`${
|
|
45
|
-
[`${
|
|
46
|
-
[`${
|
|
47
|
-
[`${
|
|
48
|
-
[`${
|
|
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"
|
|
49
49
|
};
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
K as COLOR_PALETTE,
|
|
52
|
+
T as DEFAULT_CHART_COLOR,
|
|
53
|
+
t as RESERVED_COLORS_MAP
|
|
54
54
|
};
|
|
@@ -14,7 +14,6 @@ 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 NON_BIDDING_PREFIX = "Non-bidding";
|
|
18
17
|
export declare const NETWORK_ID_IRON_SOURCE = 9899;
|
|
19
18
|
export declare const NETWORK_ID_UNITY_ADS = 9917;
|
|
20
19
|
export declare const NETWORK_ID_FACEBOOK_META = 9939;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ChartType as _ } from "./types.js";
|
|
2
|
-
const
|
|
2
|
+
const T = "#fcfcfc", t = "#E4E4E4", I = "#646464", O = {
|
|
3
3
|
size: 12,
|
|
4
4
|
weight: 400,
|
|
5
5
|
family: "Inter"
|
|
6
|
-
}, n = 4,
|
|
6
|
+
}, n = 4, R = 1, o = 5, A = [
|
|
7
7
|
{ id: _.Line, name: "Line" },
|
|
8
8
|
{ id: _.StackedLine, name: "Stack" },
|
|
9
9
|
{ id: _.Bar, name: "Bar" }
|
|
10
|
-
], c = 76,
|
|
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 = {
|
|
11
11
|
left: 18,
|
|
12
12
|
right: 18,
|
|
13
13
|
top: 18,
|
|
@@ -17,31 +17,30 @@ export {
|
|
|
17
17
|
C as BASE_COLOR_KEY,
|
|
18
18
|
K as BIDDING_PREFIX,
|
|
19
19
|
m as CHART_PADDING,
|
|
20
|
-
|
|
20
|
+
N as COMPACT_HEADER_HEIGHT,
|
|
21
21
|
s as DEFAULT_CHART_PLANE_HEIGHT,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
o as DEFAULT_MAX_VISIBLE,
|
|
23
|
+
R as DEFAULT_MIN_VISIBLE,
|
|
24
24
|
n as DEFAULT_TICK_COUNT,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
A as DROPDOWN_TYPE_OPTIONS,
|
|
26
|
+
t as GRID_LINE_COLOR,
|
|
27
27
|
c as HEADER_HEIGHT,
|
|
28
28
|
M as HOVER_AREA_TRANSPARENCY,
|
|
29
29
|
r as HOVER_TRANSPARENCY,
|
|
30
30
|
D as MIN_PLANE_HEIGHT,
|
|
31
31
|
S as NETWORK_ID_AD_MOB,
|
|
32
|
-
|
|
32
|
+
i as NETWORK_ID_APPLOVIN,
|
|
33
33
|
W as NETWORK_ID_DT_EXCHANGE,
|
|
34
34
|
B as NETWORK_ID_FACEBOOK_META,
|
|
35
|
-
|
|
35
|
+
G as NETWORK_ID_INMOBI,
|
|
36
36
|
H as NETWORK_ID_IRON_SOURCE,
|
|
37
|
-
|
|
37
|
+
a as NETWORK_ID_LIFTOFF,
|
|
38
38
|
e as NETWORK_ID_MINTEGRAL,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
I as POINT_BORDER_COLOR,
|
|
39
|
+
F as NETWORK_ID_PANGLE,
|
|
40
|
+
P as NETWORK_ID_UNITY_ADS,
|
|
41
|
+
T as POINT_BORDER_COLOR,
|
|
43
42
|
U as TICKS_EXTRA_PADDING,
|
|
44
|
-
|
|
43
|
+
I as TICK_LABEL_COLOR,
|
|
45
44
|
O as TICK_LABEL_FONT,
|
|
46
45
|
L as TOTALS_HELPER_KEY
|
|
47
46
|
};
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
|
|
2
2
|
import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
|
|
3
3
|
import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
|
|
4
4
|
import { MenuItemTypes as ao } from "./components/menuItem/index.js";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-plane-container[data-v-4bd7bf53]{--headerHeight: var(--0917a655);width:100%;height:var(--64820940);position:relative}.header-wrapper[data-v-4bd7bf53]{position:absolute;width:100%;height:var(--headerHeight);top:0;z-index:1}.chart-plane[data-v-4bd7bf53]{padding-top:var(--headerHeight);height:100%}.chart[data-v-4bd7bf53]{width:100%;height:100%;position:relative}.chart__canvas[data-v-4bd7bf53]{width:100%;height:100%}.chart__tooltip[data-v-4bd7bf53]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px;z-index:1}
|