@ironsource/shared-ui 2.1.7-test.2 → 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/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
- 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/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +1 -1
- package/components/appHeader/index.d.ts +9 -9
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +2 -2
- package/components/autocomplete/Autocomplete.vue2.js +57 -45
- package/components/autocomplete/index.d.ts +20 -1
- 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/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +70 -66
- 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/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
- 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/TextField.vue_vue_type_style_index_0_scoped_052b1a0c_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
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import Popover from './PopoverV4.vue';
|
|
2
|
+
declare const PopoverTypes: () => ({
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
testId: string;
|
|
9
|
+
placement: import("floating-vue").Placement;
|
|
10
|
+
distance: number;
|
|
11
|
+
popperClass: string;
|
|
12
|
+
autoHide: boolean;
|
|
13
|
+
skidding: number;
|
|
14
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
15
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
disabled: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
testId: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
placement: {
|
|
25
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
distance: {
|
|
29
|
+
type: import("vue").PropType<number>;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
popperClass: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
autoHide: {
|
|
37
|
+
type: import("vue").PropType<boolean>;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
skidding: {
|
|
41
|
+
type: import("vue").PropType<number>;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
trigger: {
|
|
45
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "placement" | "distance" | "popperClass" | "autoHide" | "skidding" | "trigger">;
|
|
49
|
+
$attrs: {
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
};
|
|
52
|
+
$refs: {
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
$slots: Readonly<{
|
|
56
|
+
[name: string]: import("vue").Slot;
|
|
57
|
+
}>;
|
|
58
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
59
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
60
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
61
|
+
$el: any;
|
|
62
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
disabled: {
|
|
64
|
+
type: import("vue").PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
testId: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
placement: {
|
|
72
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
distance: {
|
|
76
|
+
type: import("vue").PropType<number>;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
popperClass: {
|
|
80
|
+
type: import("vue").PropType<string>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
autoHide: {
|
|
84
|
+
type: import("vue").PropType<boolean>;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
skidding: {
|
|
88
|
+
type: import("vue").PropType<number>;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
trigger: {
|
|
92
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
testId: string;
|
|
98
|
+
placement: import("floating-vue").Placement;
|
|
99
|
+
distance: number;
|
|
100
|
+
popperClass: string;
|
|
101
|
+
autoHide: boolean;
|
|
102
|
+
skidding: number;
|
|
103
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
104
|
+
}, {}, string> & {
|
|
105
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
106
|
+
created?: (() => void) | (() => void)[];
|
|
107
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
108
|
+
mounted?: (() => void) | (() => void)[];
|
|
109
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
110
|
+
updated?: (() => void) | (() => void)[];
|
|
111
|
+
activated?: (() => void) | (() => void)[];
|
|
112
|
+
deactivated?: (() => void) | (() => void)[];
|
|
113
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
114
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
115
|
+
destroyed?: (() => void) | (() => void)[];
|
|
116
|
+
unmounted?: (() => void) | (() => void)[];
|
|
117
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
118
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
119
|
+
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)[];
|
|
120
|
+
};
|
|
121
|
+
$forceUpdate: () => void;
|
|
122
|
+
$nextTick: typeof import("vue").nextTick;
|
|
123
|
+
$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;
|
|
124
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
125
|
+
disabled: {
|
|
126
|
+
type: import("vue").PropType<boolean>;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
testId: {
|
|
130
|
+
type: import("vue").PropType<string>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
placement: {
|
|
134
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
distance: {
|
|
138
|
+
type: import("vue").PropType<number>;
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
popperClass: {
|
|
142
|
+
type: import("vue").PropType<string>;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
autoHide: {
|
|
146
|
+
type: import("vue").PropType<boolean>;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
skidding: {
|
|
150
|
+
type: import("vue").PropType<number>;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
trigger: {
|
|
154
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
158
|
+
__isFragment?: never;
|
|
159
|
+
__isTeleport?: never;
|
|
160
|
+
__isSuspense?: never;
|
|
161
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
162
|
+
disabled: {
|
|
163
|
+
type: import("vue").PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
testId: {
|
|
167
|
+
type: import("vue").PropType<string>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
placement: {
|
|
171
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
distance: {
|
|
175
|
+
type: import("vue").PropType<number>;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
popperClass: {
|
|
179
|
+
type: import("vue").PropType<string>;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
autoHide: {
|
|
183
|
+
type: import("vue").PropType<boolean>;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
skidding: {
|
|
187
|
+
type: import("vue").PropType<number>;
|
|
188
|
+
default: number;
|
|
189
|
+
};
|
|
190
|
+
trigger: {
|
|
191
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
195
|
+
disabled: boolean;
|
|
196
|
+
testId: string;
|
|
197
|
+
placement: import("floating-vue").Placement;
|
|
198
|
+
distance: number;
|
|
199
|
+
popperClass: string;
|
|
200
|
+
autoHide: boolean;
|
|
201
|
+
skidding: number;
|
|
202
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
203
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
204
|
+
$slots: {
|
|
205
|
+
trigger?(_: {}): any;
|
|
206
|
+
content?(_: {}): any;
|
|
207
|
+
};
|
|
208
|
+
}))[];
|
|
209
|
+
export { Popover, PopoverTypes };
|
|
@@ -4,25 +4,30 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
displayingText?: string;
|
|
5
5
|
outOfText?: string;
|
|
6
6
|
totalText?: string;
|
|
7
|
+
testId?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
count: number;
|
|
9
10
|
totalCount: number;
|
|
10
11
|
displayingText: string;
|
|
11
12
|
outOfText: string;
|
|
12
13
|
totalText: string;
|
|
14
|
+
testId: string;
|
|
13
15
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
16
|
count?: number;
|
|
15
17
|
totalCount?: number;
|
|
16
18
|
displayingText?: string;
|
|
17
19
|
outOfText?: string;
|
|
18
20
|
totalText?: string;
|
|
21
|
+
testId?: string;
|
|
19
22
|
}>, {
|
|
20
23
|
count: number;
|
|
21
24
|
totalCount: number;
|
|
22
25
|
displayingText: string;
|
|
23
26
|
outOfText: string;
|
|
24
27
|
totalText: string;
|
|
28
|
+
testId: string;
|
|
25
29
|
}>>>, {
|
|
30
|
+
testId: string;
|
|
26
31
|
count: number;
|
|
27
32
|
totalCount: number;
|
|
28
33
|
displayingText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGridRowsCounter.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGridRowsCounter.
|
|
4
|
-
const r = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0ce71f73"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,45 +1,52 @@
|
|
|
1
|
-
import "../../../DataGridRowsCounter.
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css"; import { defineComponent as l, openBlock as u, createElementBlock as r, unref as e, createVNode as o, withCtx as i, createTextVNode as a, toDisplayString as d } from "vue";
|
|
2
|
+
import s from "../../typography/v4/Typography.vue.js";
|
|
3
|
+
import { RowsCounterTestIdModifiers as n } from "../../../testids/index.js";
|
|
4
|
+
const f = ["data-testid"], C = /* @__PURE__ */ l({
|
|
4
5
|
__name: "DataGridRowsCounter",
|
|
5
6
|
props: {
|
|
6
7
|
count: { default: 0 },
|
|
7
8
|
totalCount: { default: 0 },
|
|
8
9
|
displayingText: { default: "Displaying" },
|
|
9
10
|
outOfText: { default: "out of" },
|
|
10
|
-
totalText: { default: "total rows" }
|
|
11
|
+
totalText: { default: "total rows" },
|
|
12
|
+
testId: { default: "" }
|
|
11
13
|
},
|
|
12
14
|
setup(t) {
|
|
13
|
-
return (c,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
return (c, T) => (u(), r("div", {
|
|
16
|
+
class: "data-grid-rows-counter",
|
|
17
|
+
"data-testid": `${t.testId}-${e(n).CONTAINER}`
|
|
18
|
+
}, [
|
|
19
|
+
o(e(s), { variant: "body1" }, {
|
|
20
|
+
default: i(() => [
|
|
21
|
+
a(d(t.displayingText) + " ", 1),
|
|
22
|
+
o(e(s), {
|
|
18
23
|
class: "text-strong",
|
|
19
|
-
variant: "subtitle1"
|
|
24
|
+
variant: "subtitle1",
|
|
25
|
+
"data-testid": `${t.testId}-${e(n).COUNT}`
|
|
20
26
|
}, {
|
|
21
|
-
default:
|
|
22
|
-
|
|
27
|
+
default: i(() => [
|
|
28
|
+
a(d(t.count), 1)
|
|
23
29
|
]),
|
|
24
30
|
_: 1
|
|
25
|
-
}),
|
|
26
|
-
|
|
27
|
-
o(
|
|
31
|
+
}, 8, ["data-testid"]),
|
|
32
|
+
a(" " + d(t.outOfText) + " ", 1),
|
|
33
|
+
o(e(s), {
|
|
28
34
|
class: "text-strong",
|
|
29
|
-
variant: "subtitle1"
|
|
35
|
+
variant: "subtitle1",
|
|
36
|
+
"data-testid": `${t.testId}-${e(n).TOTAL}`
|
|
30
37
|
}, {
|
|
31
|
-
default:
|
|
32
|
-
|
|
38
|
+
default: i(() => [
|
|
39
|
+
a(d(t.totalCount), 1)
|
|
33
40
|
]),
|
|
34
41
|
_: 1
|
|
35
|
-
}),
|
|
36
|
-
|
|
42
|
+
}, 8, ["data-testid"]),
|
|
43
|
+
a(" " + d(t.totalText), 1)
|
|
37
44
|
]),
|
|
38
45
|
_: 1
|
|
39
46
|
})
|
|
40
|
-
]));
|
|
47
|
+
], 8, f));
|
|
41
48
|
}
|
|
42
49
|
});
|
|
43
50
|
export {
|
|
44
|
-
|
|
51
|
+
C as default
|
|
45
52
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./MultipleDataGrid.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../MultipleDataGrid.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1bdca43d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -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, };
|