@ironsource/shared-ui 2.1.8-rc.7 → 2.1.8-rc.8
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_df85e0af_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_2e3de9c5_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +15 -2
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +160 -141
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +31 -29
- package/components/chart/SettingsHeader.vue.d.ts +30 -0
- package/components/chart/SettingsHeader.vue.js +7 -0
- package/components/chart/SettingsHeader.vue2.js +57 -0
- package/components/chart/consts.d.ts +2 -0
- package/components/chart/consts.js +17 -11
- package/components/chart/index.d.ts +320 -74
- package/components/chart/types.d.ts +4 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +33 -31
- package/components/dropdown/v4/index.d.ts +1 -0
- package/components/loader/v4/index.js +6 -0
- package/index.d.ts +262 -0
- package/index.js +128 -126
- package/package.json +4 -1
- package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_1726ad49_lang.css +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChartType } from './types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
chartType: ChartType;
|
|
4
|
+
hideLegend: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:chartType": (type: ChartType) => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
chartType: ChartType;
|
|
9
|
+
hideLegend: boolean;
|
|
10
|
+
}>>> & {
|
|
11
|
+
"onUpdate:chartType"?: (type: ChartType) => any;
|
|
12
|
+
}, {}>, {
|
|
13
|
+
metric?(_: {}): any;
|
|
14
|
+
breakdowns?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./SettingsHeader.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-1791e4fe"]]);
|
|
5
|
+
export {
|
|
6
|
+
p as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css"; import { defineComponent as u, computed as h, openBlock as y, createElementBlock as f, createElementVNode as t, normalizeClass as i, createVNode as v, unref as r, isRef as g, renderSlot as a } from "vue";
|
|
2
|
+
import T from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
|
+
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
|
+
import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
|
+
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
6
|
+
import "../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
7
|
+
import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
8
|
+
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
|
+
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
10
|
+
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
|
+
import { DROPDOWN_TYPE_OPTIONS as d } from "./consts.js";
|
|
12
|
+
const k = { class: "settings-header-container" }, b = { class: "chart-type-selection" }, V = /* @__PURE__ */ u({
|
|
13
|
+
__name: "SettingsHeader",
|
|
14
|
+
props: {
|
|
15
|
+
chartType: null,
|
|
16
|
+
hideLegend: { type: Boolean }
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:chartType"],
|
|
19
|
+
setup(o, { emit: l }) {
|
|
20
|
+
const p = o, s = h({
|
|
21
|
+
get() {
|
|
22
|
+
return d.find(({ id: e }) => e === p.chartType);
|
|
23
|
+
},
|
|
24
|
+
set(e) {
|
|
25
|
+
l("update:chartType", e.id);
|
|
26
|
+
}
|
|
27
|
+
}), c = (e) => `Chart: ${e.name}`;
|
|
28
|
+
return (e, n) => (y(), f("div", k, [
|
|
29
|
+
t("div", {
|
|
30
|
+
class: i(["settings", { "settings-spacer": !o.hideLegend }])
|
|
31
|
+
}, [
|
|
32
|
+
t("div", b, [
|
|
33
|
+
v(r(T), {
|
|
34
|
+
selected: r(s),
|
|
35
|
+
"onUpdate:selected": n[0] || (n[0] = (m) => g(s) ? s.value = m : null),
|
|
36
|
+
options: r(d),
|
|
37
|
+
"option-name-key": "name",
|
|
38
|
+
"display-value": c,
|
|
39
|
+
placeholder: "Select chart type",
|
|
40
|
+
size: "small"
|
|
41
|
+
}, null, 8, ["selected", "options"])
|
|
42
|
+
]),
|
|
43
|
+
t("div", null, [
|
|
44
|
+
a(e.$slots, "metric", {}, void 0, !0)
|
|
45
|
+
])
|
|
46
|
+
], 2),
|
|
47
|
+
t("div", {
|
|
48
|
+
class: i(["breakdowns", { "breakdowns-border": !o.hideLegend }])
|
|
49
|
+
}, [
|
|
50
|
+
a(e.$slots, "breakdowns", {}, void 0, !0)
|
|
51
|
+
], 2)
|
|
52
|
+
]));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
V as default
|
|
57
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DropdownTypeOption } from './types';
|
|
1
2
|
export declare const POINT_BORDER_COLOR = "#fcfcfc";
|
|
2
3
|
export declare const GRID_LINE_COLOR = "#E4E4E4";
|
|
3
4
|
export declare const TICK_LABEL_COLOR = "#646464";
|
|
@@ -10,3 +11,4 @@ export declare const COLOR_PALETTE: string[];
|
|
|
10
11
|
export declare const DEFAULT_TICK_COUNT = 4;
|
|
11
12
|
export declare const DEFAULT_MIN_VISIBLE = 1;
|
|
12
13
|
export declare const DEFAULT_MAX_VISIBLE = 5;
|
|
14
|
+
export declare const DROPDOWN_TYPE_OPTIONS: DropdownTypeOption[];
|
|
@@ -1,21 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { ChartType as L } from "./types.js";
|
|
2
|
+
const _ = "#fcfcfc", n = "#E4E4E4", t = "#646464", O = {
|
|
2
3
|
size: 12,
|
|
3
4
|
weight: 400,
|
|
4
5
|
family: "Inter"
|
|
5
|
-
},
|
|
6
|
+
}, c = [
|
|
6
7
|
"#80BCFE",
|
|
7
8
|
"#9999FF",
|
|
8
9
|
"#5883E4",
|
|
9
10
|
"#80CBC4",
|
|
10
11
|
"#FFC670"
|
|
11
|
-
],
|
|
12
|
+
], T = 4, C = 1, I = 5, e = [
|
|
13
|
+
{ id: L.Line, name: "Line" },
|
|
14
|
+
{ id: L.StackedLine, name: "Stack" },
|
|
15
|
+
{ id: L.Bar, name: "Bar" }
|
|
16
|
+
];
|
|
12
17
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
_ as
|
|
20
|
-
|
|
18
|
+
c as COLOR_PALETTE,
|
|
19
|
+
I as DEFAULT_MAX_VISIBLE,
|
|
20
|
+
C as DEFAULT_MIN_VISIBLE,
|
|
21
|
+
T as DEFAULT_TICK_COUNT,
|
|
22
|
+
e as DROPDOWN_TYPE_OPTIONS,
|
|
23
|
+
n as GRID_LINE_COLOR,
|
|
24
|
+
_ as POINT_BORDER_COLOR,
|
|
25
|
+
t as TICK_LABEL_COLOR,
|
|
26
|
+
O as TICK_LABEL_FONT
|
|
21
27
|
};
|
|
@@ -1,5 +1,308 @@
|
|
|
1
1
|
import Chart from './Chart.vue';
|
|
2
|
-
declare const ChartTypes: () =>
|
|
2
|
+
declare const ChartTypes: () => ({
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
header: string;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
xAxisFormat: import("./types").ValueFormat;
|
|
10
|
+
yAxisFormat: import("./types").ValueFormat;
|
|
11
|
+
parsing: import("./types").ChartParsingConfig;
|
|
12
|
+
visibleIds: unknown[];
|
|
13
|
+
minVisible: number;
|
|
14
|
+
maxVisible: number;
|
|
15
|
+
chartType: import("./types").ChartType;
|
|
16
|
+
withSettingsHeader: boolean;
|
|
17
|
+
subheader: string;
|
|
18
|
+
dataSets: import("./types").ChartDataSet[];
|
|
19
|
+
hideLegend: boolean;
|
|
20
|
+
tickCount: number;
|
|
21
|
+
noDataIcon: string;
|
|
22
|
+
noDataTitle: string;
|
|
23
|
+
noDataSubtitle: string;
|
|
24
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
header: {
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
loading: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
xAxisFormat: {
|
|
34
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
yAxisFormat: {
|
|
38
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
parsing: {
|
|
42
|
+
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
45
|
+
visibleIds: {
|
|
46
|
+
type: import("vue").PropType<unknown[]>;
|
|
47
|
+
required: true;
|
|
48
|
+
default: () => any[];
|
|
49
|
+
};
|
|
50
|
+
minVisible: {
|
|
51
|
+
type: import("vue").PropType<number>;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
maxVisible: {
|
|
55
|
+
type: import("vue").PropType<number>;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
chartType: {
|
|
59
|
+
type: import("vue").PropType<import("./types").ChartType>;
|
|
60
|
+
default: import("./types").ChartType;
|
|
61
|
+
};
|
|
62
|
+
withSettingsHeader: {
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
subheader: {
|
|
67
|
+
type: import("vue").PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
dataSets: {
|
|
71
|
+
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
72
|
+
required: true;
|
|
73
|
+
default: () => any[];
|
|
74
|
+
};
|
|
75
|
+
hideLegend: {
|
|
76
|
+
type: import("vue").PropType<boolean>;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
tickCount: {
|
|
80
|
+
type: import("vue").PropType<number>;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
noDataIcon: {
|
|
84
|
+
type: import("vue").PropType<string>;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
noDataTitle: {
|
|
88
|
+
type: import("vue").PropType<string>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
noDataSubtitle: {
|
|
92
|
+
type: import("vue").PropType<string>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
}>> & {
|
|
96
|
+
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
97
|
+
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
98
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "xAxisFormat" | "yAxisFormat" | "parsing" | "visibleIds" | "minVisible" | "maxVisible" | "chartType" | "withSettingsHeader" | "subheader" | "dataSets" | "hideLegend" | "tickCount" | "noDataIcon" | "noDataTitle" | "noDataSubtitle">;
|
|
99
|
+
$attrs: {
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
};
|
|
102
|
+
$refs: {
|
|
103
|
+
[x: string]: unknown;
|
|
104
|
+
};
|
|
105
|
+
$slots: Readonly<{
|
|
106
|
+
[name: string]: import("vue").Slot;
|
|
107
|
+
}>;
|
|
108
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
109
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
110
|
+
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:chartType", chartType: import("./types").ChartType) => void);
|
|
111
|
+
$el: any;
|
|
112
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
header: {
|
|
114
|
+
type: import("vue").PropType<string>;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
loading: {
|
|
118
|
+
type: import("vue").PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
xAxisFormat: {
|
|
122
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
yAxisFormat: {
|
|
126
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
parsing: {
|
|
130
|
+
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
131
|
+
default: any;
|
|
132
|
+
};
|
|
133
|
+
visibleIds: {
|
|
134
|
+
type: import("vue").PropType<unknown[]>;
|
|
135
|
+
required: true;
|
|
136
|
+
default: () => any[];
|
|
137
|
+
};
|
|
138
|
+
minVisible: {
|
|
139
|
+
type: import("vue").PropType<number>;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
maxVisible: {
|
|
143
|
+
type: import("vue").PropType<number>;
|
|
144
|
+
default: number;
|
|
145
|
+
};
|
|
146
|
+
chartType: {
|
|
147
|
+
type: import("vue").PropType<import("./types").ChartType>;
|
|
148
|
+
default: import("./types").ChartType;
|
|
149
|
+
};
|
|
150
|
+
withSettingsHeader: {
|
|
151
|
+
type: import("vue").PropType<boolean>;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
subheader: {
|
|
155
|
+
type: import("vue").PropType<string>;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
dataSets: {
|
|
159
|
+
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
160
|
+
required: true;
|
|
161
|
+
default: () => any[];
|
|
162
|
+
};
|
|
163
|
+
hideLegend: {
|
|
164
|
+
type: import("vue").PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
tickCount: {
|
|
168
|
+
type: import("vue").PropType<number>;
|
|
169
|
+
default: number;
|
|
170
|
+
};
|
|
171
|
+
noDataIcon: {
|
|
172
|
+
type: import("vue").PropType<string>;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
noDataTitle: {
|
|
176
|
+
type: import("vue").PropType<string>;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
noDataSubtitle: {
|
|
180
|
+
type: import("vue").PropType<string>;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
}>> & {
|
|
184
|
+
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
185
|
+
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
186
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
187
|
+
"update:chartType": (chartType: import("./types").ChartType) => void;
|
|
188
|
+
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
189
|
+
}, string, {
|
|
190
|
+
header: string;
|
|
191
|
+
loading: boolean;
|
|
192
|
+
xAxisFormat: import("./types").ValueFormat;
|
|
193
|
+
yAxisFormat: import("./types").ValueFormat;
|
|
194
|
+
parsing: import("./types").ChartParsingConfig;
|
|
195
|
+
visibleIds: unknown[];
|
|
196
|
+
minVisible: number;
|
|
197
|
+
maxVisible: number;
|
|
198
|
+
chartType: import("./types").ChartType;
|
|
199
|
+
withSettingsHeader: boolean;
|
|
200
|
+
subheader: string;
|
|
201
|
+
dataSets: import("./types").ChartDataSet[];
|
|
202
|
+
hideLegend: boolean;
|
|
203
|
+
tickCount: number;
|
|
204
|
+
noDataIcon: string;
|
|
205
|
+
noDataTitle: string;
|
|
206
|
+
noDataSubtitle: string;
|
|
207
|
+
}, {}, string> & {
|
|
208
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
209
|
+
created?: (() => void) | (() => void)[];
|
|
210
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
211
|
+
mounted?: (() => void) | (() => void)[];
|
|
212
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
213
|
+
updated?: (() => void) | (() => void)[];
|
|
214
|
+
activated?: (() => void) | (() => void)[];
|
|
215
|
+
deactivated?: (() => void) | (() => void)[];
|
|
216
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
217
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
218
|
+
destroyed?: (() => void) | (() => void)[];
|
|
219
|
+
unmounted?: (() => void) | (() => void)[];
|
|
220
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
221
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
222
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
223
|
+
};
|
|
224
|
+
$forceUpdate: () => void;
|
|
225
|
+
$nextTick: typeof import("vue").nextTick;
|
|
226
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
227
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
228
|
+
header: {
|
|
229
|
+
type: import("vue").PropType<string>;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
loading: {
|
|
233
|
+
type: import("vue").PropType<boolean>;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
236
|
+
xAxisFormat: {
|
|
237
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
238
|
+
default: string;
|
|
239
|
+
};
|
|
240
|
+
yAxisFormat: {
|
|
241
|
+
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
244
|
+
parsing: {
|
|
245
|
+
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
246
|
+
default: any;
|
|
247
|
+
};
|
|
248
|
+
visibleIds: {
|
|
249
|
+
type: import("vue").PropType<unknown[]>;
|
|
250
|
+
required: true;
|
|
251
|
+
default: () => any[];
|
|
252
|
+
};
|
|
253
|
+
minVisible: {
|
|
254
|
+
type: import("vue").PropType<number>;
|
|
255
|
+
default: number;
|
|
256
|
+
};
|
|
257
|
+
maxVisible: {
|
|
258
|
+
type: import("vue").PropType<number>;
|
|
259
|
+
default: number;
|
|
260
|
+
};
|
|
261
|
+
chartType: {
|
|
262
|
+
type: import("vue").PropType<import("./types").ChartType>;
|
|
263
|
+
default: import("./types").ChartType;
|
|
264
|
+
};
|
|
265
|
+
withSettingsHeader: {
|
|
266
|
+
type: import("vue").PropType<boolean>;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
subheader: {
|
|
270
|
+
type: import("vue").PropType<string>;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
dataSets: {
|
|
274
|
+
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
275
|
+
required: true;
|
|
276
|
+
default: () => any[];
|
|
277
|
+
};
|
|
278
|
+
hideLegend: {
|
|
279
|
+
type: import("vue").PropType<boolean>;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
tickCount: {
|
|
283
|
+
type: import("vue").PropType<number>;
|
|
284
|
+
default: number;
|
|
285
|
+
};
|
|
286
|
+
noDataIcon: {
|
|
287
|
+
type: import("vue").PropType<string>;
|
|
288
|
+
default: string;
|
|
289
|
+
};
|
|
290
|
+
noDataTitle: {
|
|
291
|
+
type: import("vue").PropType<string>;
|
|
292
|
+
default: string;
|
|
293
|
+
};
|
|
294
|
+
noDataSubtitle: {
|
|
295
|
+
type: import("vue").PropType<string>;
|
|
296
|
+
default: string;
|
|
297
|
+
};
|
|
298
|
+
}>> & {
|
|
299
|
+
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
300
|
+
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
301
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
302
|
+
__isFragment?: never;
|
|
303
|
+
__isTeleport?: never;
|
|
304
|
+
__isSuspense?: never;
|
|
305
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3
306
|
header: {
|
|
4
307
|
type: import("vue").PropType<string>;
|
|
5
308
|
default: string;
|
|
@@ -37,6 +340,10 @@ declare const ChartTypes: () => import("vue").DefineComponent<{
|
|
|
37
340
|
type: import("vue").PropType<import("./types").ChartType>;
|
|
38
341
|
default: import("./types").ChartType;
|
|
39
342
|
};
|
|
343
|
+
withSettingsHeader: {
|
|
344
|
+
type: import("vue").PropType<boolean>;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
40
347
|
subheader: {
|
|
41
348
|
type: import("vue").PropType<string>;
|
|
42
349
|
default: string;
|
|
@@ -46,84 +353,14 @@ declare const ChartTypes: () => import("vue").DefineComponent<{
|
|
|
46
353
|
required: true;
|
|
47
354
|
default: () => any[];
|
|
48
355
|
};
|
|
49
|
-
tickCount: {
|
|
50
|
-
type: import("vue").PropType<number>;
|
|
51
|
-
default: number;
|
|
52
|
-
};
|
|
53
356
|
hideLegend: {
|
|
54
357
|
type: import("vue").PropType<boolean>;
|
|
55
358
|
default: boolean;
|
|
56
359
|
};
|
|
57
|
-
noDataIcon: {
|
|
58
|
-
type: import("vue").PropType<string>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
noDataTitle: {
|
|
62
|
-
type: import("vue").PropType<string>;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
noDataSubtitle: {
|
|
66
|
-
type: import("vue").PropType<string>;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
|
-
"update:chartType": (chartType: import("./types").ChartType) => void;
|
|
71
|
-
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
72
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
-
header: {
|
|
74
|
-
type: import("vue").PropType<string>;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
loading: {
|
|
78
|
-
type: import("vue").PropType<boolean>;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
xAxisFormat: {
|
|
82
|
-
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
yAxisFormat: {
|
|
86
|
-
type: import("vue").PropType<import("./types").ValueFormat>;
|
|
87
|
-
default: string;
|
|
88
|
-
};
|
|
89
|
-
parsing: {
|
|
90
|
-
type: import("vue").PropType<import("./types").ChartParsingConfig>;
|
|
91
|
-
default: any;
|
|
92
|
-
};
|
|
93
|
-
visibleIds: {
|
|
94
|
-
type: import("vue").PropType<unknown[]>;
|
|
95
|
-
required: true;
|
|
96
|
-
default: () => any[];
|
|
97
|
-
};
|
|
98
|
-
minVisible: {
|
|
99
|
-
type: import("vue").PropType<number>;
|
|
100
|
-
default: number;
|
|
101
|
-
};
|
|
102
|
-
maxVisible: {
|
|
103
|
-
type: import("vue").PropType<number>;
|
|
104
|
-
default: number;
|
|
105
|
-
};
|
|
106
|
-
chartType: {
|
|
107
|
-
type: import("vue").PropType<import("./types").ChartType>;
|
|
108
|
-
default: import("./types").ChartType;
|
|
109
|
-
};
|
|
110
|
-
subheader: {
|
|
111
|
-
type: import("vue").PropType<string>;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
dataSets: {
|
|
115
|
-
type: import("vue").PropType<import("./types").ChartDataSet[]>;
|
|
116
|
-
required: true;
|
|
117
|
-
default: () => any[];
|
|
118
|
-
};
|
|
119
360
|
tickCount: {
|
|
120
361
|
type: import("vue").PropType<number>;
|
|
121
362
|
default: number;
|
|
122
363
|
};
|
|
123
|
-
hideLegend: {
|
|
124
|
-
type: import("vue").PropType<boolean>;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
364
|
noDataIcon: {
|
|
128
365
|
type: import("vue").PropType<string>;
|
|
129
366
|
default: string;
|
|
@@ -139,7 +376,10 @@ declare const ChartTypes: () => import("vue").DefineComponent<{
|
|
|
139
376
|
}>> & {
|
|
140
377
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
141
378
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
142
|
-
}, {
|
|
379
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
380
|
+
"update:chartType": (chartType: import("./types").ChartType) => void;
|
|
381
|
+
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
382
|
+
}, string, {
|
|
143
383
|
header: string;
|
|
144
384
|
loading: boolean;
|
|
145
385
|
xAxisFormat: import("./types").ValueFormat;
|
|
@@ -149,13 +389,19 @@ declare const ChartTypes: () => import("vue").DefineComponent<{
|
|
|
149
389
|
minVisible: number;
|
|
150
390
|
maxVisible: number;
|
|
151
391
|
chartType: import("./types").ChartType;
|
|
392
|
+
withSettingsHeader: boolean;
|
|
152
393
|
subheader: string;
|
|
153
394
|
dataSets: import("./types").ChartDataSet[];
|
|
154
|
-
tickCount: number;
|
|
155
395
|
hideLegend: boolean;
|
|
396
|
+
tickCount: number;
|
|
156
397
|
noDataIcon: string;
|
|
157
398
|
noDataTitle: string;
|
|
158
399
|
noDataSubtitle: string;
|
|
159
|
-
}>
|
|
400
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
401
|
+
$slots: {
|
|
402
|
+
metric?(_: {}): any;
|
|
403
|
+
breakdowns?(_: {}): any;
|
|
404
|
+
};
|
|
405
|
+
}))[];
|
|
160
406
|
export type { ChartType, ChartDataRecord, ChartDataSet, ChartParsingConfig, } from './types';
|
|
161
407
|
export { Chart, ChartTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DefaultDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DefaultDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-fd7a490e"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|