@ironsource/shared-ui 2.1.12-rc.29 → 2.1.12-rc.30
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_fa533a3d_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +6 -1
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +18 -16
- package/components/chart/ChartStoryArgs.d.ts +5 -0
- package/components/chart/colorPalette.d.ts +2 -1
- package/components/chart/colorPalette.js +47 -33
- package/components/chart/composables/useColorsMap.d.ts +3 -1
- package/components/chart/composables/useColorsMap.js +32 -30
- package/components/chart/index.d.ts +20 -1
- package/components/chart/types.d.ts +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chart-container[data-v-fa533a3d]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-fa533a3d]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-fa533a3d]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-fa533a3d]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-fa533a3d]{border-left:1px solid var(--common-divider)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartDataSet, ChartParsingConfig, ChartType, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
|
|
1
|
+
import { ChartDataSet, ChartParsingConfig, ChartType, ColorVariant, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
|
|
2
2
|
import { TotalType } from '@/utils/totals';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
dataSets: ChartDataSet[];
|
|
@@ -48,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
fullHeightBottomSpacing?: number;
|
|
49
49
|
withSettingsHeader?: boolean;
|
|
50
50
|
extraCharts?: Record<string, unknown>[];
|
|
51
|
+
colorVariant?: ColorVariant;
|
|
51
52
|
}>, {
|
|
52
53
|
chartType: ChartType;
|
|
53
54
|
dataSets: () => any[];
|
|
@@ -89,6 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
90
|
fullHeightBottomSpacing: number;
|
|
90
91
|
withSettingsHeader: boolean;
|
|
91
92
|
extraCharts: () => any[];
|
|
93
|
+
colorVariant: string;
|
|
92
94
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
93
95
|
"update:chartType": (chartType: ChartType) => void;
|
|
94
96
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
@@ -141,6 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
141
143
|
fullHeightBottomSpacing?: number;
|
|
142
144
|
withSettingsHeader?: boolean;
|
|
143
145
|
extraCharts?: Record<string, unknown>[];
|
|
146
|
+
colorVariant?: ColorVariant;
|
|
144
147
|
}>, {
|
|
145
148
|
chartType: ChartType;
|
|
146
149
|
dataSets: () => any[];
|
|
@@ -182,6 +185,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
182
185
|
fullHeightBottomSpacing: number;
|
|
183
186
|
withSettingsHeader: boolean;
|
|
184
187
|
extraCharts: () => any[];
|
|
188
|
+
colorVariant: string;
|
|
185
189
|
}>>> & {
|
|
186
190
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
187
191
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -227,6 +231,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
227
231
|
fullHeightBottomSpacing: number;
|
|
228
232
|
withSettingsHeader: boolean;
|
|
229
233
|
extraCharts: Record<string, unknown>[];
|
|
234
|
+
colorVariant: ColorVariant;
|
|
230
235
|
}>, {
|
|
231
236
|
"before-chart-type"?(_: {}): any;
|
|
232
237
|
metric?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Chart.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../Chart.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fa533a3d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../Chart.
|
|
2
|
-
import { useVModel as
|
|
1
|
+
import "../../Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css"; import { defineComponent as U, ref as O, computed as n, openBlock as s, createElementBlock as m, Fragment as C, createBlock as I, unref as i, isRef as b, withCtx as d, renderSlot as u, createCommentVNode as D, createElementVNode as k, mergeProps as g, normalizeClass as E, createVNode as L, createSlots as N, renderList as M } from "vue";
|
|
2
|
+
import { useVModel as V } from "@vueuse/core";
|
|
3
3
|
import $ from "./ChartLegend.vue.js";
|
|
4
4
|
import K from "./SettingsHeader.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import A from "./ChartPlane.vue.js";
|
|
6
6
|
import { useColorsMap as z } from "./composables/useColorsMap.js";
|
|
7
7
|
import { DEFAULT_TICK_COUNT as R, DEFAULT_MIN_VISIBLE as X, DEFAULT_MAX_VISIBLE as Y } from "./consts.js";
|
|
8
8
|
import { ChartType as j, DateInterval as q, TooltipOrder as G, TrendDirection as J } from "./types.js";
|
|
@@ -53,11 +53,12 @@ const _ = {
|
|
|
53
53
|
fullHeight: { type: Boolean, default: !1 },
|
|
54
54
|
fullHeightBottomSpacing: { default: 50 },
|
|
55
55
|
withSettingsHeader: { type: Boolean, default: !0 },
|
|
56
|
-
extraCharts: { default: () => [] }
|
|
56
|
+
extraCharts: { default: () => [] },
|
|
57
|
+
colorVariant: { default: "default" }
|
|
57
58
|
},
|
|
58
59
|
emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
|
|
59
60
|
setup(a, { emit: p }) {
|
|
60
|
-
const e = a, r =
|
|
61
|
+
const e = a, r = V(e, "chartType", p), c = V(e, "sortSelected", p), f = O(null), y = n(() => ({
|
|
61
62
|
dataSets: e.dataSets,
|
|
62
63
|
visibleIds: e.visibleIds,
|
|
63
64
|
parsing: e.parsing,
|
|
@@ -84,21 +85,22 @@ const _ = {
|
|
|
84
85
|
totalsChart: e.totalsChart,
|
|
85
86
|
subheaderTooltip: e.subheaderTooltip,
|
|
86
87
|
keepSubheaderVisible: e.keepSubheaderVisible,
|
|
87
|
-
colorsMap:
|
|
88
|
+
colorsMap: h.value,
|
|
88
89
|
tooltipTotalType: e.tooltipTotalType,
|
|
89
90
|
tooltipTotalCalcFn: e.tooltipTotalCalcFn,
|
|
90
91
|
tooltipOrder: e.tooltipOrder,
|
|
91
|
-
highlightedId:
|
|
92
|
+
highlightedId: f.value,
|
|
92
93
|
valueSuffix: e.valueSuffix,
|
|
93
94
|
valuePrefix: e.valuePrefix
|
|
94
|
-
})),
|
|
95
|
-
dataSets:
|
|
96
|
-
visibleIds: T
|
|
95
|
+
})), B = n(() => e.dataSets), T = n(() => e.visibleIds), v = n(() => e.extraCharts.length), x = n(() => 1 + v.value), F = (t) => t === v.value - 1, { colorsMap: h } = z({
|
|
96
|
+
dataSets: B,
|
|
97
|
+
visibleIds: T,
|
|
98
|
+
variant: e.colorVariant
|
|
97
99
|
}), w = n(() => e.dataSets.map((t) => ({
|
|
98
100
|
id: t.id,
|
|
99
101
|
label: t.label,
|
|
100
102
|
caption: t.caption || null,
|
|
101
|
-
color:
|
|
103
|
+
color: h.value[t.id] || null,
|
|
102
104
|
icon: t.icon || null,
|
|
103
105
|
iconType: t.iconType || "branded"
|
|
104
106
|
}))), { containerProps: H, eachPlaneHeight: P } = Q({
|
|
@@ -128,7 +130,7 @@ const _ = {
|
|
|
128
130
|
k("section", {
|
|
129
131
|
class: E(["chart-planes", [{ "with-legend": !a.hideLegend }]])
|
|
130
132
|
}, [
|
|
131
|
-
L(
|
|
133
|
+
L(A, g({
|
|
132
134
|
"chart-type": i(r),
|
|
133
135
|
"onUpdate:chart-type": o[1] || (o[1] = (l) => b(r) ? r.value = l : null)
|
|
134
136
|
}, i(y)), N({ _: 2 }, [
|
|
@@ -140,12 +142,12 @@ const _ = {
|
|
|
140
142
|
key: "0"
|
|
141
143
|
} : void 0
|
|
142
144
|
]), 1040, ["chart-type"]),
|
|
143
|
-
(s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(
|
|
145
|
+
(s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(A, g({
|
|
144
146
|
key: S,
|
|
145
147
|
class: "extra-chart-plane"
|
|
146
148
|
}, { ...i(y), ...l }, {
|
|
147
149
|
"chart-type": i(r),
|
|
148
|
-
"colors-map": i(
|
|
150
|
+
"colors-map": i(h),
|
|
149
151
|
"type-switcher": !1,
|
|
150
152
|
"tooltip-respects-top-edge": !F(S)
|
|
151
153
|
}), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge"]))), 128))
|
|
@@ -154,8 +156,8 @@ const _ = {
|
|
|
154
156
|
L($, {
|
|
155
157
|
"sort-selected": i(c),
|
|
156
158
|
"onUpdate:sort-selected": o[2] || (o[2] = (l) => b(c) ? c.value = l : null),
|
|
157
|
-
"highlighted-id":
|
|
158
|
-
"onUpdate:highlighted-id": o[3] || (o[3] = (l) =>
|
|
159
|
+
"highlighted-id": f.value,
|
|
160
|
+
"onUpdate:highlighted-id": o[3] || (o[3] = (l) => f.value = l),
|
|
159
161
|
items: i(w),
|
|
160
162
|
"visible-ids": i(T),
|
|
161
163
|
"max-limit-tooltip-text": a.maxLimitTooltipText,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HexColor } from '@/components/chart/types';
|
|
2
2
|
export declare const DEFAULT_CHART_COLOR: HexColor;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const DEFAULT_COLOR_PALETTE: HexColor[];
|
|
4
|
+
export declare const MEDIATION_COLOR_PALETTE: HexColor[];
|
|
4
5
|
export declare const RESERVED_COLORS_MAP: Record<string, HexColor>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NETWORK_UNITY_ADS as
|
|
2
|
-
const I = "#c9c9c9",
|
|
1
|
+
import { NETWORK_UNITY_ADS as R, BIDDING_PREFIX as F, NETWORK_AD_MOB as T, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as _, NETWORK_APPLOVIN as C, NETWORK_FACEBOOK_META as A, NETWORK_LIFTOFF as B, NETWORK_PANGLE as O, NETWORK_INMOBI as $, NETWORK_DT_EXCHANGE as D } from "./consts.js";
|
|
2
|
+
const I = "#c9c9c9", L = [
|
|
3
3
|
"#80BCFE",
|
|
4
4
|
"#9999FF",
|
|
5
5
|
"#5883E4",
|
|
@@ -10,45 +10,59 @@ const I = "#c9c9c9", K = [
|
|
|
10
10
|
"#673AFF",
|
|
11
11
|
"#CA80DC",
|
|
12
12
|
"#FEBBB2"
|
|
13
|
-
], t =
|
|
13
|
+
], t = [
|
|
14
|
+
"#487BEC",
|
|
15
|
+
"#FFC670",
|
|
16
|
+
"#80CBC4",
|
|
17
|
+
"#FF7557",
|
|
18
|
+
"#7856FF",
|
|
19
|
+
"#FEBBB2",
|
|
20
|
+
"#DA88EE",
|
|
21
|
+
"#0D7EA0",
|
|
22
|
+
"#01AB01",
|
|
23
|
+
"#B3596E"
|
|
24
|
+
], K = {
|
|
14
25
|
Total: "#646464",
|
|
15
26
|
// AB tests
|
|
16
27
|
A: "#FFC134",
|
|
17
28
|
B: "#4F4FF5",
|
|
18
29
|
// Countries
|
|
19
|
-
US: "#
|
|
20
|
-
CN: "#
|
|
21
|
-
GB: "#
|
|
22
|
-
DE: "#
|
|
23
|
-
JP: "#
|
|
24
|
-
AU: "#
|
|
25
|
-
FR: "#
|
|
30
|
+
US: "#9999FF",
|
|
31
|
+
CN: "#FF1200",
|
|
32
|
+
GB: "#89009B",
|
|
33
|
+
DE: "#FBE32D",
|
|
34
|
+
JP: "#8D001F",
|
|
35
|
+
AU: "#E57D00",
|
|
36
|
+
FR: "#ACC62C",
|
|
37
|
+
RU: "#FF70AA",
|
|
26
38
|
// Ad formats
|
|
27
|
-
Rewarded: "#
|
|
28
|
-
Interstitial: "#
|
|
29
|
-
Banner: "#
|
|
30
|
-
Native: "#
|
|
39
|
+
Rewarded: "#80BCFE",
|
|
40
|
+
Interstitial: "#8D001F",
|
|
41
|
+
Banner: "#E57D00",
|
|
42
|
+
Native: "#ACC62C",
|
|
43
|
+
Offerwall: "#9999FF",
|
|
31
44
|
// Ad sources
|
|
32
|
-
[`${
|
|
33
|
-
[`${
|
|
34
|
-
[`${E} ${F}`]: "#
|
|
35
|
-
[`${E}`]: "#
|
|
36
|
-
[`${
|
|
37
|
-
[`${
|
|
38
|
-
[`${
|
|
39
|
-
[`${
|
|
40
|
-
[`${
|
|
41
|
-
[`${
|
|
42
|
-
[`${
|
|
43
|
-
[`${
|
|
44
|
-
[`${
|
|
45
|
-
[`${
|
|
46
|
-
[`${
|
|
47
|
-
[`${
|
|
48
|
-
[`${
|
|
45
|
+
[`${R} ${F}`]: "#80BCFE",
|
|
46
|
+
[`${T} ${F}`]: "#ACC62C",
|
|
47
|
+
[`${E} ${F}`]: "#9999FF",
|
|
48
|
+
[`${E}`]: "#CCCCFF",
|
|
49
|
+
[`${_} ${F}`]: "#E57D00",
|
|
50
|
+
[`${C} ${F}`]: "#00CCD7",
|
|
51
|
+
[`${C}`]: "#80E5EB",
|
|
52
|
+
[`${A} ${F}`]: "#89009B",
|
|
53
|
+
[`${A}`]: "#B866C3",
|
|
54
|
+
[`${B} ${F}`]: "#FF70AA",
|
|
55
|
+
[`${B}`]: "#FFB1DB",
|
|
56
|
+
[`${O} ${F}`]: "#FF1200",
|
|
57
|
+
[`${O}`]: "#FF8880",
|
|
58
|
+
[`${$} ${F}`]: "#FBE32D",
|
|
59
|
+
[`${$}`]: "#FDF196",
|
|
60
|
+
[`${D} ${F}`]: "#8D001F",
|
|
61
|
+
[`${D}`]: "#C6808F"
|
|
49
62
|
};
|
|
50
63
|
export {
|
|
51
|
-
K as COLOR_PALETTE,
|
|
52
64
|
I as DEFAULT_CHART_COLOR,
|
|
53
|
-
|
|
65
|
+
L as DEFAULT_COLOR_PALETTE,
|
|
66
|
+
t as MEDIATION_COLOR_PALETTE,
|
|
67
|
+
K as RESERVED_COLORS_MAP
|
|
54
68
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { ChartDataSet } from '@/components/chart';
|
|
3
|
+
import { ColorVariant } from '@/components/chart/types';
|
|
3
4
|
type UseColorsMapArgs = {
|
|
4
5
|
dataSets: Ref<ChartDataSet[]>;
|
|
5
6
|
visibleIds: Ref<unknown[]>;
|
|
7
|
+
variant?: ColorVariant;
|
|
6
8
|
};
|
|
7
|
-
export declare const useColorsMap: ({ dataSets, visibleIds }: UseColorsMapArgs) => {
|
|
9
|
+
export declare const useColorsMap: ({ dataSets, visibleIds, variant, }: UseColorsMapArgs) => {
|
|
8
10
|
colorsMap: Ref<Record<string, `#${string}`>>;
|
|
9
11
|
};
|
|
10
12
|
export {};
|
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { RESERVED_COLORS_MAP as c,
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { computed as r, ref as n, watch as p } from "vue";
|
|
2
|
+
import { RESERVED_COLORS_MAP as c, MEDIATION_COLOR_PALETTE as R, DEFAULT_COLOR_PALETTE as T, DEFAULT_CHART_COLOR as L } from "../colorPalette.js";
|
|
3
|
+
const A = ({
|
|
4
|
+
dataSets: i,
|
|
5
|
+
visibleIds: u,
|
|
6
|
+
variant: v
|
|
7
|
+
}) => {
|
|
8
|
+
const s = r(
|
|
9
|
+
() => i.value.filter(
|
|
10
|
+
(o) => u.value.includes(o.id)
|
|
7
11
|
)
|
|
8
|
-
),
|
|
12
|
+
), t = n({
|
|
9
13
|
...c
|
|
10
14
|
// destructuring is important to avoid mutating the reserved colors object
|
|
11
|
-
}),
|
|
12
|
-
|
|
13
|
-
), d = () => {
|
|
14
|
-
a.value.forEach((o) => {
|
|
15
|
+
}), a = n([]), d = r(() => (v === "mediation" ? R : T).filter((e) => !a.value.includes(e))), f = () => {
|
|
16
|
+
s.value.forEach((o) => {
|
|
15
17
|
const e = String(o.id);
|
|
16
|
-
if (!
|
|
17
|
-
const
|
|
18
|
-
|
|
18
|
+
if (!t.value[e]) {
|
|
19
|
+
const l = o.color || d.value[0] || L;
|
|
20
|
+
E(e, l);
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
},
|
|
22
|
-
Object.keys(
|
|
23
|
-
const e =
|
|
24
|
-
!e && !
|
|
23
|
+
}, C = () => {
|
|
24
|
+
Object.keys(t.value).forEach((o) => {
|
|
25
|
+
const e = s.value.find((m) => String(m.id) === o), l = !!c[o];
|
|
26
|
+
!e && !l && O(o);
|
|
25
27
|
});
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
const e =
|
|
30
|
-
delete
|
|
31
|
-
const
|
|
32
|
-
|
|
28
|
+
}, E = (o, e) => {
|
|
29
|
+
t.value[String(o)] = e, a.value.push(e);
|
|
30
|
+
}, O = (o) => {
|
|
31
|
+
const e = t.value[o];
|
|
32
|
+
delete t.value[o];
|
|
33
|
+
const l = a.value.indexOf(e);
|
|
34
|
+
l > -1 && a.value.splice(l, 1);
|
|
33
35
|
};
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
+
return p(
|
|
37
|
+
s,
|
|
36
38
|
() => {
|
|
37
|
-
|
|
39
|
+
C(), f();
|
|
38
40
|
},
|
|
39
41
|
{ immediate: !0 }
|
|
40
42
|
), {
|
|
41
|
-
colorsMap:
|
|
43
|
+
colorsMap: t
|
|
42
44
|
};
|
|
43
45
|
};
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
A as useColorsMap
|
|
46
48
|
};
|
|
@@ -45,6 +45,7 @@ declare const ChartTypes: () => ({
|
|
|
45
45
|
fullHeightBottomSpacing: number;
|
|
46
46
|
withSettingsHeader: boolean;
|
|
47
47
|
extraCharts: Record<string, unknown>[];
|
|
48
|
+
colorVariant: import("./types").ColorVariant;
|
|
48
49
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
49
50
|
header: {
|
|
50
51
|
type: import("vue").PropType<string>;
|
|
@@ -215,11 +216,15 @@ declare const ChartTypes: () => ({
|
|
|
215
216
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
216
217
|
default: () => any[];
|
|
217
218
|
};
|
|
219
|
+
colorVariant: {
|
|
220
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
218
223
|
}>> & {
|
|
219
224
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
220
225
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
221
226
|
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
222
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts">;
|
|
227
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
|
|
223
228
|
$attrs: {
|
|
224
229
|
[x: string]: unknown;
|
|
225
230
|
};
|
|
@@ -403,6 +408,10 @@ declare const ChartTypes: () => ({
|
|
|
403
408
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
404
409
|
default: () => any[];
|
|
405
410
|
};
|
|
411
|
+
colorVariant: {
|
|
412
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
413
|
+
default: string;
|
|
414
|
+
};
|
|
406
415
|
}>> & {
|
|
407
416
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
408
417
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -452,6 +461,7 @@ declare const ChartTypes: () => ({
|
|
|
452
461
|
fullHeightBottomSpacing: number;
|
|
453
462
|
withSettingsHeader: boolean;
|
|
454
463
|
extraCharts: Record<string, unknown>[];
|
|
464
|
+
colorVariant: import("./types").ColorVariant;
|
|
455
465
|
}, {}, string> & {
|
|
456
466
|
beforeCreate?: (() => void) | (() => void)[];
|
|
457
467
|
created?: (() => void) | (() => void)[];
|
|
@@ -642,6 +652,10 @@ declare const ChartTypes: () => ({
|
|
|
642
652
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
643
653
|
default: () => any[];
|
|
644
654
|
};
|
|
655
|
+
colorVariant: {
|
|
656
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
657
|
+
default: string;
|
|
658
|
+
};
|
|
645
659
|
}>> & {
|
|
646
660
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
647
661
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -820,6 +834,10 @@ declare const ChartTypes: () => ({
|
|
|
820
834
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
821
835
|
default: () => any[];
|
|
822
836
|
};
|
|
837
|
+
colorVariant: {
|
|
838
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
839
|
+
default: string;
|
|
840
|
+
};
|
|
823
841
|
}>> & {
|
|
824
842
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
825
843
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -869,6 +887,7 @@ declare const ChartTypes: () => ({
|
|
|
869
887
|
fullHeightBottomSpacing: number;
|
|
870
888
|
withSettingsHeader: boolean;
|
|
871
889
|
extraCharts: Record<string, unknown>[];
|
|
890
|
+
colorVariant: import("./types").ColorVariant;
|
|
872
891
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
873
892
|
$slots: {
|
|
874
893
|
"before-chart-type"?(_: {}): any;
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './Typography.vue_vue_type_style_index_0_scoped_07b259bf_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-container[data-v-e8f25a03]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-e8f25a03]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-e8f25a03]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-e8f25a03]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-e8f25a03]{border-left:1px solid var(--common-divider)}
|