@ironsource/shared-ui 2.2.0-test.16 → 2.2.0-test.17
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_9def0684_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +9 -8
- package/components/chart/index.d.ts +20 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_fc33022b_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chart-container[data-v-9def0684]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%;overflow:hidden}.chart-planes[data-v-9def0684]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-9def0684]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-9def0684]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-9def0684]{border-left:1px solid var(--common-divider)}
|
|
@@ -50,6 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
50
|
sortOptionNameKey?: string;
|
|
51
51
|
fullHeight?: boolean;
|
|
52
52
|
fullHeightBottomSpacing?: number;
|
|
53
|
+
height?: string;
|
|
53
54
|
withSettingsHeader?: boolean;
|
|
54
55
|
extraCharts?: Record<string, unknown>[];
|
|
55
56
|
colorVariant?: ColorVariant;
|
|
@@ -96,6 +97,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
96
97
|
sortOptionNameKey: string;
|
|
97
98
|
fullHeight: boolean;
|
|
98
99
|
fullHeightBottomSpacing: number;
|
|
100
|
+
height: any;
|
|
99
101
|
withSettingsHeader: boolean;
|
|
100
102
|
extraCharts: () => any[];
|
|
101
103
|
colorVariant: string;
|
|
@@ -153,6 +155,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
153
155
|
sortOptionNameKey?: string;
|
|
154
156
|
fullHeight?: boolean;
|
|
155
157
|
fullHeightBottomSpacing?: number;
|
|
158
|
+
height?: string;
|
|
156
159
|
withSettingsHeader?: boolean;
|
|
157
160
|
extraCharts?: Record<string, unknown>[];
|
|
158
161
|
colorVariant?: ColorVariant;
|
|
@@ -199,6 +202,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
199
202
|
sortOptionNameKey: string;
|
|
200
203
|
fullHeight: boolean;
|
|
201
204
|
fullHeightBottomSpacing: number;
|
|
205
|
+
height: any;
|
|
202
206
|
withSettingsHeader: boolean;
|
|
203
207
|
extraCharts: () => any[];
|
|
204
208
|
colorVariant: string;
|
|
@@ -209,6 +213,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
209
213
|
}, {
|
|
210
214
|
header: string;
|
|
211
215
|
testId: string;
|
|
216
|
+
height: string;
|
|
212
217
|
loading: boolean;
|
|
213
218
|
visibleIds: unknown[];
|
|
214
219
|
minVisible: number;
|
|
@@ -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 e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Chart.vue_vue_type_style_index_0_scoped_9def0684_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9def0684"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../Chart.
|
|
1
|
+
import "../../Chart.vue_vue_type_style_index_0_scoped_9def0684_lang.css"; import { defineComponent as P, ref as U, computed as d, openBlock as n, createElementBlock as y, Fragment as S, createBlock as D, unref as l, isRef as b, withCtx as s, renderSlot as u, createCommentVNode as A, createElementVNode as L, mergeProps as g, normalizeClass as $, createVNode as k, createSlots as M, renderList as R } from "vue";
|
|
2
2
|
import { useVModel as B } from "@vueuse/core";
|
|
3
3
|
import K from "./ChartLegend.vue.js";
|
|
4
4
|
import X from "./SettingsHeader.vue.js";
|
|
@@ -58,6 +58,7 @@ const at = {
|
|
|
58
58
|
sortOptionNameKey: { default: "" },
|
|
59
59
|
fullHeight: { type: Boolean, default: !1 },
|
|
60
60
|
fullHeightBottomSpacing: { default: 50 },
|
|
61
|
+
height: { default: void 0 },
|
|
61
62
|
withSettingsHeader: { type: Boolean, default: !0 },
|
|
62
63
|
extraCharts: { default: () => [] },
|
|
63
64
|
colorVariant: { default: "default" }
|
|
@@ -118,11 +119,11 @@ const at = {
|
|
|
118
119
|
useFullHeight: t.fullHeight,
|
|
119
120
|
bottomSpacing: t.fullHeightBottomSpacing
|
|
120
121
|
}), O = et(t.testId, p);
|
|
121
|
-
return (a, i) => (n(),
|
|
122
|
+
return (a, i) => (n(), y(S, null, [
|
|
122
123
|
e.withSettingsHeader ? (n(), D(X, {
|
|
123
124
|
key: 0,
|
|
124
125
|
"chart-type": l(r),
|
|
125
|
-
"onUpdate:chart-type": i[0] || (i[0] = (o) =>
|
|
126
|
+
"onUpdate:chart-type": i[0] || (i[0] = (o) => b(r) ? r.value = o : null),
|
|
126
127
|
"hide-legend": e.hideLegend,
|
|
127
128
|
"test-id": e.testId
|
|
128
129
|
}, {
|
|
@@ -140,13 +141,13 @@ const at = {
|
|
|
140
141
|
L("div", g({ class: "chart-container" }, {
|
|
141
142
|
...l(H),
|
|
142
143
|
...l(O)[l(p).CONTAINER]
|
|
143
|
-
}), [
|
|
144
|
+
}, { style: { height: "auto" } }), [
|
|
144
145
|
L("section", {
|
|
145
146
|
class: $(["chart-planes", [{ "with-legend": !e.hideLegend }]])
|
|
146
147
|
}, [
|
|
147
148
|
k(V, g({
|
|
148
149
|
"chart-type": l(r),
|
|
149
|
-
"onUpdate:chart-type": i[1] || (i[1] = (o) =>
|
|
150
|
+
"onUpdate:chart-type": i[1] || (i[1] = (o) => b(r) ? r.value = o : null)
|
|
150
151
|
}, l(v)), M({ _: 2 }, [
|
|
151
152
|
a.$slots["subheader-tooltip"] ? {
|
|
152
153
|
name: "subheader-tooltip",
|
|
@@ -156,7 +157,7 @@ const at = {
|
|
|
156
157
|
key: "0"
|
|
157
158
|
} : void 0
|
|
158
159
|
]), 1040, ["chart-type"]),
|
|
159
|
-
(n(!0),
|
|
160
|
+
(n(!0), y(S, null, R(e.extraCharts, (o, T) => (n(), D(V, g({
|
|
160
161
|
key: T,
|
|
161
162
|
class: "extra-chart-plane"
|
|
162
163
|
}, { ...l(v), ...o }, {
|
|
@@ -167,10 +168,10 @@ const at = {
|
|
|
167
168
|
"test-id": `${e.testId}-${l(p).EXTRA_CHART}-${T}`
|
|
168
169
|
}), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge", "test-id"]))), 128))
|
|
169
170
|
], 2),
|
|
170
|
-
e.hideLegend ? A("", !0) : (n(),
|
|
171
|
+
e.hideLegend ? A("", !0) : (n(), y("section", at, [
|
|
171
172
|
k(K, {
|
|
172
173
|
"sort-selected": l(f),
|
|
173
|
-
"onUpdate:sort-selected": i[2] || (i[2] = (o) =>
|
|
174
|
+
"onUpdate:sort-selected": i[2] || (i[2] = (o) => b(f) ? f.value = o : null),
|
|
174
175
|
"highlighted-id": h.value,
|
|
175
176
|
"onUpdate:highlighted-id": i[3] || (i[3] = (o) => h.value = o),
|
|
176
177
|
items: l(w),
|
|
@@ -7,6 +7,7 @@ declare const ChartTypes: () => ({
|
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
header: string;
|
|
9
9
|
testId: string;
|
|
10
|
+
height: string;
|
|
10
11
|
loading: boolean;
|
|
11
12
|
visibleIds: unknown[];
|
|
12
13
|
minVisible: number;
|
|
@@ -59,6 +60,10 @@ declare const ChartTypes: () => ({
|
|
|
59
60
|
type: import("vue").PropType<string>;
|
|
60
61
|
default: string;
|
|
61
62
|
};
|
|
63
|
+
height: {
|
|
64
|
+
type: import("vue").PropType<string>;
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
62
67
|
loading: {
|
|
63
68
|
type: import("vue").PropType<boolean>;
|
|
64
69
|
default: boolean;
|
|
@@ -244,7 +249,7 @@ declare const ChartTypes: () => ({
|
|
|
244
249
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
245
250
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
246
251
|
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
247
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "testId" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "headerTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
|
|
252
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "testId" | "height" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "headerTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
|
|
248
253
|
$attrs: {
|
|
249
254
|
[x: string]: unknown;
|
|
250
255
|
};
|
|
@@ -267,6 +272,10 @@ declare const ChartTypes: () => ({
|
|
|
267
272
|
type: import("vue").PropType<string>;
|
|
268
273
|
default: string;
|
|
269
274
|
};
|
|
275
|
+
height: {
|
|
276
|
+
type: import("vue").PropType<string>;
|
|
277
|
+
default: any;
|
|
278
|
+
};
|
|
270
279
|
loading: {
|
|
271
280
|
type: import("vue").PropType<boolean>;
|
|
272
281
|
default: boolean;
|
|
@@ -459,6 +468,7 @@ declare const ChartTypes: () => ({
|
|
|
459
468
|
}, string, {
|
|
460
469
|
header: string;
|
|
461
470
|
testId: string;
|
|
471
|
+
height: string;
|
|
462
472
|
loading: boolean;
|
|
463
473
|
visibleIds: unknown[];
|
|
464
474
|
minVisible: number;
|
|
@@ -531,6 +541,10 @@ declare const ChartTypes: () => ({
|
|
|
531
541
|
type: import("vue").PropType<string>;
|
|
532
542
|
default: string;
|
|
533
543
|
};
|
|
544
|
+
height: {
|
|
545
|
+
type: import("vue").PropType<string>;
|
|
546
|
+
default: any;
|
|
547
|
+
};
|
|
534
548
|
loading: {
|
|
535
549
|
type: import("vue").PropType<boolean>;
|
|
536
550
|
default: boolean;
|
|
@@ -729,6 +743,10 @@ declare const ChartTypes: () => ({
|
|
|
729
743
|
type: import("vue").PropType<string>;
|
|
730
744
|
default: string;
|
|
731
745
|
};
|
|
746
|
+
height: {
|
|
747
|
+
type: import("vue").PropType<string>;
|
|
748
|
+
default: any;
|
|
749
|
+
};
|
|
732
750
|
loading: {
|
|
733
751
|
type: import("vue").PropType<boolean>;
|
|
734
752
|
default: boolean;
|
|
@@ -921,6 +939,7 @@ declare const ChartTypes: () => ({
|
|
|
921
939
|
}, string, {
|
|
922
940
|
header: string;
|
|
923
941
|
testId: string;
|
|
942
|
+
height: string;
|
|
924
943
|
loading: boolean;
|
|
925
944
|
visibleIds: unknown[];
|
|
926
945
|
minVisible: number;
|
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-container[data-v-fc33022b]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%;overflow:hidden;height:100%}.chart-planes[data-v-fc33022b]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-fc33022b]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-fc33022b]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-fc33022b]{border-left:1px solid var(--common-divider)}
|