@ironsource/shared-ui 2.1.7-test.3 → 2.1.7-test.4
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/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +1 -1
- package/components/appHeader/index.d.ts +9 -9
- package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +151 -147
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +70 -53
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
- package/components/dropdown/v4/index.d.ts +78 -2
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +4 -4
- package/components/icon/v4/IconV4.vue2.js +29 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/popover/common/Popover.common.d.ts +6 -0
- package/components/popover/common/Popover.common.js +17 -0
- package/components/popover/v3/Popover.vue.js +8 -0
- package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
- package/components/popover/v4/PopoverV4.vue.js +7 -0
- package/components/popover/v4/PopoverV4.vue2.js +54 -0
- package/components/popover/v4/index.d.ts +209 -0
- package/components/popover/v4/index.js +6 -0
- package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
- package/components/table/v4/MultipleDataGrid.vue.js +3 -3
- package/components/table/v4/MultipleDataGrid.vue2.js +49 -44
- package/components/table/v4/index.d.ts +9 -0
- package/design-foundation.stories/icons/iconsData.d.ts +6 -2
- package/index.d.ts +646 -25
- package/index.js +70 -70
- package/package.json +7 -3
- package/testids/index.d.ts +5 -0
- package/testids/index.js +24 -23
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
- package/components/popover/Popover.vue.js +0 -8
- /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
- /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/popover/{index.js → v3/index.js} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import "../../../MultipleDataGrid.
|
|
2
|
-
import
|
|
1
|
+
import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css"; import { defineComponent as L, useCssVars as V, computed as E, openBlock as l, createElementBlock as d, createElementVNode as y, normalizeClass as $, unref as o, createBlock as c, createCommentVNode as m, isRef as z, Fragment as D, renderList as g, createSlots as M, withCtx as N, renderSlot as O } from "vue";
|
|
2
|
+
import h from "./DataGrid.vue.js";
|
|
3
3
|
import "./DataGridMenu.vue.js";
|
|
4
|
-
import
|
|
4
|
+
import A from "./DataGridRowsCounter.vue.js";
|
|
5
5
|
import "./MultipleDataGrid.vue.js";
|
|
6
|
-
import
|
|
6
|
+
import G from "../../search/v4/SearchV4.vue.js";
|
|
7
7
|
import { useVModel as P } from "@vueuse/core";
|
|
8
|
-
|
|
8
|
+
import { TableTestIdModifiers as S } from "../../../testids/index.js";
|
|
9
|
+
const p = ["data-testid"], H = ["data-testid"], F = {
|
|
9
10
|
key: 0,
|
|
10
11
|
class: "tables-container"
|
|
11
|
-
},
|
|
12
|
+
}, Y = /* @__PURE__ */ L({
|
|
12
13
|
__name: "MultipleDataGrid",
|
|
13
14
|
props: {
|
|
14
15
|
tablesSettings: { default: () => [] },
|
|
@@ -32,43 +33,47 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
32
33
|
},
|
|
33
34
|
emits: ["update:search", "onScroll", "onClearSearch", "clickRow"],
|
|
34
35
|
setup(t, { emit: n }) {
|
|
35
|
-
const
|
|
36
|
+
const r = t;
|
|
36
37
|
V((e) => ({
|
|
37
|
-
"
|
|
38
|
+
"4c643133": t.zIndexBase
|
|
38
39
|
}));
|
|
39
|
-
const
|
|
40
|
-
() =>
|
|
41
|
-
),
|
|
40
|
+
const w = E(
|
|
41
|
+
() => r.isLoading || !r.tablesSettings.flatMap((e) => e.rows).length
|
|
42
|
+
), u = P(r, "search", n), f = (e) => `cell-${e.id}`, k = (e) => {
|
|
42
43
|
n("onScroll", e.target.scrollTop);
|
|
43
|
-
},
|
|
44
|
+
}, x = () => n("onClearSearch"), C = (e, s) => n("clickRow", e, s);
|
|
44
45
|
return (e, s) => (l(), d("div", {
|
|
45
46
|
class: "multi-table-container",
|
|
46
|
-
onScrollPassive:
|
|
47
|
+
onScrollPassive: k
|
|
47
48
|
}, [
|
|
48
|
-
|
|
49
|
-
class:
|
|
49
|
+
y("div", {
|
|
50
|
+
class: $(["table-header-container", { sticky: t.isSticky }]),
|
|
51
|
+
"data-testid": `${t.testId}-${o(S).HEADER}`
|
|
50
52
|
}, [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
y("div", {
|
|
54
|
+
class: "rows-counter-container",
|
|
55
|
+
"data-testid": `${t.testId}-${o(S).TITLE}`
|
|
56
|
+
}, [
|
|
57
|
+
t.isLoading ? m("", !0) : (l(), c(o(A), {
|
|
53
58
|
key: 0,
|
|
54
59
|
count: t.count,
|
|
55
60
|
"total-count": t.totalCount,
|
|
56
61
|
"total-text": t.totalText,
|
|
57
62
|
"displaying-text": t.displayingText,
|
|
58
63
|
"out-of-text": t.outOfText,
|
|
59
|
-
"
|
|
60
|
-
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "
|
|
61
|
-
]),
|
|
62
|
-
t.showSearch ? (l(), c(o(
|
|
64
|
+
"test-id": t.testId
|
|
65
|
+
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "test-id"]))
|
|
66
|
+
], 8, H),
|
|
67
|
+
t.showSearch ? (l(), c(o(G), {
|
|
63
68
|
key: 0,
|
|
64
|
-
modelValue: o(
|
|
65
|
-
"onUpdate:modelValue": s[0] || (s[0] = (a) =>
|
|
69
|
+
modelValue: o(u),
|
|
70
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => z(u) ? u.value = a : null),
|
|
66
71
|
placeholder: t.searchPlaceholder,
|
|
67
72
|
"test-id": t.testId,
|
|
68
|
-
onOnClear:
|
|
73
|
+
onOnClear: x
|
|
69
74
|
}, null, 8, ["modelValue", "placeholder", "test-id"])) : m("", !0)
|
|
70
|
-
],
|
|
71
|
-
o(
|
|
75
|
+
], 10, p),
|
|
76
|
+
o(w) ? (l(), c(o(h), {
|
|
72
77
|
key: 1,
|
|
73
78
|
"is-loading": t.isLoading,
|
|
74
79
|
columns: t.loadingAndEmptyStatesColumns,
|
|
@@ -78,12 +83,12 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
78
83
|
"empty-state-title": t.emptyStateTitle,
|
|
79
84
|
"empty-state-subtitle": t.emptyStateSubtitle,
|
|
80
85
|
"loading-row-count": t.loadingRowCount
|
|
81
|
-
}, null, 8, ["is-loading", "columns", "test-id", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "loading-row-count"])) : (l(), d("div",
|
|
82
|
-
(l(!0), d(
|
|
86
|
+
}, null, 8, ["is-loading", "columns", "test-id", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "loading-row-count"])) : (l(), d("div", F, [
|
|
87
|
+
(l(!0), d(D, null, g(t.tablesSettings, (a, b) => (l(), d("div", {
|
|
83
88
|
key: a.testId,
|
|
84
89
|
class: "table-wrapper"
|
|
85
90
|
}, [
|
|
86
|
-
a.rows.length ? (l(), c(o(
|
|
91
|
+
a.rows.length ? (l(), c(o(h), {
|
|
87
92
|
key: 0,
|
|
88
93
|
sections: a.sections,
|
|
89
94
|
columns: a.columns,
|
|
@@ -92,23 +97,23 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
92
97
|
"is-sticky": t.isSticky,
|
|
93
98
|
"z-index-base": t.zIndexBase,
|
|
94
99
|
"test-id": a.testId,
|
|
95
|
-
onClickRow: (i) =>
|
|
96
|
-
},
|
|
100
|
+
onClickRow: (i) => C(i, b)
|
|
101
|
+
}, M({ _: 2 }, [
|
|
97
102
|
g(a.columns, (i) => ({
|
|
98
|
-
name:
|
|
103
|
+
name: f(i),
|
|
99
104
|
fn: N(({
|
|
100
|
-
cell:
|
|
101
|
-
rowIndex:
|
|
102
|
-
isLoading:
|
|
103
|
-
cellIndex:
|
|
104
|
-
row:
|
|
105
|
+
cell: I,
|
|
106
|
+
rowIndex: T,
|
|
107
|
+
isLoading: v,
|
|
108
|
+
cellIndex: R,
|
|
109
|
+
row: B
|
|
105
110
|
}) => [
|
|
106
|
-
O(e.$slots, `${
|
|
107
|
-
cell:
|
|
108
|
-
isLoading:
|
|
109
|
-
cellIndex:
|
|
110
|
-
row:
|
|
111
|
-
rowIndex:
|
|
111
|
+
O(e.$slots, `${f(i)}`, {
|
|
112
|
+
cell: I,
|
|
113
|
+
isLoading: v,
|
|
114
|
+
cellIndex: R,
|
|
115
|
+
row: B,
|
|
116
|
+
rowIndex: T
|
|
112
117
|
}, void 0, !0)
|
|
113
118
|
])
|
|
114
119
|
}))
|
|
@@ -119,5 +124,5 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
119
124
|
}
|
|
120
125
|
});
|
|
121
126
|
export {
|
|
122
|
-
|
|
127
|
+
Y as default
|
|
123
128
|
};
|
|
@@ -686,6 +686,10 @@ declare const DataGridTypes: () => (({
|
|
|
686
686
|
rowIndex: number;
|
|
687
687
|
menuItems: import("../common/Table.types").MenuItem[];
|
|
688
688
|
}> | import("vue").DefineComponent<{
|
|
689
|
+
testId: {
|
|
690
|
+
type: import("vue").PropType<string>;
|
|
691
|
+
default: string;
|
|
692
|
+
};
|
|
689
693
|
count: {
|
|
690
694
|
type: import("vue").PropType<number>;
|
|
691
695
|
default: number;
|
|
@@ -707,6 +711,10 @@ declare const DataGridTypes: () => (({
|
|
|
707
711
|
default: string;
|
|
708
712
|
};
|
|
709
713
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
714
|
+
testId: {
|
|
715
|
+
type: import("vue").PropType<string>;
|
|
716
|
+
default: string;
|
|
717
|
+
};
|
|
710
718
|
count: {
|
|
711
719
|
type: import("vue").PropType<number>;
|
|
712
720
|
default: number;
|
|
@@ -728,6 +736,7 @@ declare const DataGridTypes: () => (({
|
|
|
728
736
|
default: string;
|
|
729
737
|
};
|
|
730
738
|
}>>, {
|
|
739
|
+
testId: string;
|
|
731
740
|
count: number;
|
|
732
741
|
totalCount: number;
|
|
733
742
|
displayingText: string;
|
|
@@ -15,8 +15,12 @@ declare const iconsAdNetworks: {
|
|
|
15
15
|
name: string;
|
|
16
16
|
path: string;
|
|
17
17
|
}[];
|
|
18
|
-
declare const
|
|
18
|
+
declare const iconsIosContentRateData: {
|
|
19
19
|
name: string;
|
|
20
20
|
path: string;
|
|
21
21
|
}[];
|
|
22
|
-
|
|
22
|
+
declare const iconsAndroidContentRateData: {
|
|
23
|
+
name: string;
|
|
24
|
+
path: string;
|
|
25
|
+
}[];
|
|
26
|
+
export { assetsPath, iconsBrandedData, iconsADUnitData, iconsABTestData, iconsAdNetworks, iconsIosContentRateData, iconsAndroidContentRateData, };
|