@ironsource/shared-ui 2.1.12-test.53 → 2.1.12-test.55
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_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_e6cece52_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_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 +122 -112
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +49 -44
- package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +42 -39
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +76 -71
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +125 -119
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +38 -34
- package/components/chart/LegendSorting.vue.d.ts +5 -0
- package/components/chart/LegendSorting.vue.js +16 -14
- package/components/chart/SettingsHeader.vue.d.ts +19 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +36 -29
- package/components/chart/index.d.ts +20 -1
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +99 -97
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +61 -2
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/link/Link.vue.d.ts +5 -0
- package/components/link/Link.vue.js +3 -3
- package/components/link/Link.vue2.js +36 -28
- package/components/link/index.d.ts +20 -1
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.js +4 -4
- package/components/sortableList/SortableItem.vue2.js +3 -3
- package/components/sortableList/SortableList.vue.d.ts +2 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +96 -106
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +39 -39
- package/components/table/common/consts.d.ts +2 -0
- package/components/table/common/consts.js +6 -4
- package/components/table/v4/DataGrid.vue.d.ts +4 -3
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +362 -335
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +1 -1
- package/components/table/v4/DataGridHeader.vue.js +2 -2
- package/components/table/v4/DataGridHeader.vue2.js +30 -28
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +104 -103
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/index.d.ts +450 -290
- package/index.js +87 -79
- package/package.json +10 -1
- package/testids/index.d.ts +36 -0
- package/testids/index.js +37 -31
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
"side-panel"?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./DataGridContainer.vue2.js";
|
|
2
|
+
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9a30b10c"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "../../../DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css"; import { defineComponent as n, useSlots as a, computed as d, unref as r, openBlock as i, createElementBlock as l, renderSlot as t, createElementVNode as c } from "vue";
|
|
2
|
+
const u = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "data-grid-container"
|
|
5
|
+
}, p = { class: "side-panel-container" }, v = /* @__PURE__ */ n({
|
|
6
|
+
__name: "DataGridContainer",
|
|
7
|
+
setup(_) {
|
|
8
|
+
const o = a(), s = d(() => !!o["side-panel"]);
|
|
9
|
+
return (e, m) => r(s) ? (i(), l("div", u, [
|
|
10
|
+
t(e.$slots, "default", {}, void 0, !0),
|
|
11
|
+
c("div", p, [
|
|
12
|
+
t(e.$slots, "side-panel", {}, void 0, !0)
|
|
13
|
+
])
|
|
14
|
+
])) : t(e.$slots, "default", { key: 1 }, void 0, !0);
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
v as default
|
|
19
|
+
};
|
|
@@ -50,9 +50,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
50
|
testId: string;
|
|
51
51
|
searchAutoFocus: boolean;
|
|
52
52
|
searchPlaceholder: string;
|
|
53
|
+
zIndexBase: number;
|
|
53
54
|
showSearch: boolean;
|
|
54
55
|
isSticky: boolean;
|
|
55
|
-
zIndexBase: number;
|
|
56
56
|
standalone: boolean;
|
|
57
57
|
}>, {
|
|
58
58
|
title?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./DataGridHeader.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGridHeader.
|
|
4
|
-
const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0e826456"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "../../../DataGridHeader.
|
|
1
|
+
import "../../../DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css"; import { defineComponent as $, useCssVars as I, useSlots as S, openBlock as r, createElementBlock as i, normalizeClass as E, normalizeStyle as b, unref as t, createElementVNode as n, renderSlot as l, createVNode as m, withCtx as v, createTextVNode as A, toDisplayString as C, createCommentVNode as c, isRef as H } from "vue";
|
|
2
2
|
import { TableTestIdModifiers as s } from "../../../testids/index.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { useVModel as
|
|
6
|
-
|
|
3
|
+
import T from "../../typography/v4/Typography.vue.js";
|
|
4
|
+
import R from "../../search/v4/SearchV4.vue.js";
|
|
5
|
+
import { useVModel as V } from "@vueuse/core";
|
|
6
|
+
import { DATA_GRID_HEADER_HEIGHT as k } from "../common/consts.js";
|
|
7
|
+
const B = ["data-testid"], D = ["data-testid"], p = ["data-testid"], N = ["data-testid"], g = { class: "search-wrapper" }, w = ["data-testid"], O = /* @__PURE__ */ $({
|
|
7
8
|
__name: "DataGridHeader",
|
|
8
9
|
props: {
|
|
9
10
|
title: { default: "" },
|
|
@@ -17,66 +18,67 @@ const A = ["data-testid"], H = ["data-testid"], R = ["data-testid"], D = ["data-
|
|
|
17
18
|
testId: { default: "" }
|
|
18
19
|
},
|
|
19
20
|
emits: ["update:search", "onClearSearch"],
|
|
20
|
-
setup(e, { emit:
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
setup(e, { emit: h }) {
|
|
22
|
+
const y = e;
|
|
23
|
+
I((a) => ({
|
|
24
|
+
"406e82a6": e.zIndexBase
|
|
24
25
|
}));
|
|
25
|
-
const
|
|
26
|
+
const u = S(), o = V(y, "search", h);
|
|
26
27
|
return (a, d) => (r(), i("div", {
|
|
27
|
-
class:
|
|
28
|
+
class: E(["table-header", {
|
|
28
29
|
isStickyHeader: e.isSticky,
|
|
29
30
|
"table-header--standalone": e.standalone
|
|
30
31
|
}]),
|
|
32
|
+
style: b({ height: `${t(k)}px` }),
|
|
31
33
|
"data-testid": `${e.testId}-${t(s).HEADER}`
|
|
32
34
|
}, [
|
|
33
|
-
|
|
35
|
+
n("div", {
|
|
34
36
|
class: "table-title",
|
|
35
37
|
"data-testid": `${e.testId}-${t(s).TITLE}`
|
|
36
38
|
}, [
|
|
37
39
|
l(a.$slots, "title", {}, () => [
|
|
38
|
-
m(t(
|
|
40
|
+
m(t(T), { variant: "h3" }, {
|
|
39
41
|
default: v(() => [
|
|
40
|
-
|
|
42
|
+
A(C(e.title), 1)
|
|
41
43
|
]),
|
|
42
44
|
_: 1
|
|
43
45
|
})
|
|
44
46
|
], !0)
|
|
45
|
-
], 8,
|
|
46
|
-
t(
|
|
47
|
+
], 8, D),
|
|
48
|
+
t(u)["table-header-pre-search"] ? (r(), i("div", {
|
|
47
49
|
key: 0,
|
|
48
50
|
class: "table-header-pre-search-content",
|
|
49
51
|
"data-testid": `${e.testId}-${t(s).PRE_SEARCH_HEADER}`
|
|
50
52
|
}, [
|
|
51
53
|
l(a.$slots, "table-header-pre-search", {}, void 0, !0)
|
|
52
|
-
], 8,
|
|
53
|
-
|
|
54
|
+
], 8, p)) : c("", !0),
|
|
55
|
+
n("div", {
|
|
54
56
|
class: "table-header-right",
|
|
55
57
|
"data-testid": `${e.testId}-${t(s).HEADER_RIGHT}`
|
|
56
58
|
}, [
|
|
57
59
|
e.showSearch ? l(a.$slots, "search", { key: 0 }, () => [
|
|
58
|
-
|
|
59
|
-
m(t(
|
|
60
|
+
n("div", g, [
|
|
61
|
+
m(t(R), {
|
|
60
62
|
modelValue: t(o),
|
|
61
|
-
"onUpdate:modelValue": d[0] || (d[0] = (f) =>
|
|
63
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => H(o) ? o.value = f : null),
|
|
62
64
|
placeholder: e.searchPlaceholder,
|
|
63
65
|
"auto-focus": e.searchAutoFocus,
|
|
64
66
|
"test-id": e.testId,
|
|
65
|
-
onOnClear: d[1] || (d[1] = (f) =>
|
|
67
|
+
onOnClear: d[1] || (d[1] = (f) => h("onClearSearch"))
|
|
66
68
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
|
|
67
69
|
])
|
|
68
|
-
], !0) :
|
|
69
|
-
], 8,
|
|
70
|
-
t(
|
|
70
|
+
], !0) : c("", !0)
|
|
71
|
+
], 8, N),
|
|
72
|
+
t(u)["table-header-actions"] ? (r(), i("div", {
|
|
71
73
|
key: 1,
|
|
72
74
|
class: "table-header-actions",
|
|
73
75
|
"data-testid": `${e.testId}-${t(s).ACTIONS}`
|
|
74
76
|
}, [
|
|
75
77
|
l(a.$slots, "table-header-actions", {}, void 0, !0)
|
|
76
|
-
], 8, w)) :
|
|
77
|
-
],
|
|
78
|
+
], 8, w)) : c("", !0)
|
|
79
|
+
], 14, B));
|
|
78
80
|
}
|
|
79
81
|
});
|
|
80
82
|
export {
|
|
81
|
-
|
|
83
|
+
O as default
|
|
82
84
|
};
|
|
@@ -114,11 +114,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
114
114
|
isLoading: boolean;
|
|
115
115
|
searchPlaceholder: string;
|
|
116
116
|
count: number;
|
|
117
|
-
showSearch: boolean;
|
|
118
117
|
loadingRowCount: number;
|
|
118
|
+
zIndexBase: number;
|
|
119
|
+
showSearch: boolean;
|
|
119
120
|
emptyStateTitle: string;
|
|
120
121
|
isSticky: boolean;
|
|
121
|
-
zIndexBase: number;
|
|
122
122
|
emptyStateSubtitle: string;
|
|
123
123
|
totalCount: number;
|
|
124
124
|
displayingText: string;
|