@ironsource/shared-ui 2.1.11-test.50 → 2.1.11-test.51
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/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8f96cf5a_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
- package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_156c01ca_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css +1 -0
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- package/components/chart/Chart.vue.d.ts +1 -1
- package/components/chart/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue.js +2 -2
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +1 -1
- package/components/dropdown/v4/index.d.ts +3 -3
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/icon/v4/IconFlag.vue.js +3 -3
- package/components/icon/v4/IconFlag.vue2.js +1 -1
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +164 -184
- package/components/sortableList/SortableItem.vue.d.ts +0 -5
- package/components/sortableList/SortableItem.vue.js +3 -3
- package/components/sortableList/SortableItem.vue2.js +65 -80
- package/components/sortableList/SortableList.vue.d.ts +0 -16
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +87 -100
- package/components/sortableList/index.d.ts +1 -59
- package/components/table/v4/DataGrid.vue.d.ts +2 -2
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
- package/components/table/v4/index.d.ts +59 -59
- package/components/table-cells/common/Editable.common.js +7 -8
- package/components/table-cells/common/EditableContext.d.ts +0 -1
- package/components/table-cells/v4/EditableV4.vue.d.ts +0 -5
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +10 -11
- package/components/table-cells/v4/index.d.ts +1 -20
- package/components/tooltip/v4/TooltipV4.vue.js +3 -3
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/typography/v4/Typography.vue.js +4 -4
- package/components/typography/v4/Typography.vue2.js +1 -1
- package/composables/useFormValidation.d.ts +1 -1
- package/index.d.ts +128 -282
- package/index.js +1 -1
- package/package.json +2 -239
- package/testids/index.d.ts +0 -1
- package/testids/index.js +13 -13
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_27802170_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +0 -1
- package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +0 -1
|
@@ -11,15 +11,12 @@ declare const SortableListTypes: () => ({
|
|
|
11
11
|
searchPlaceholder: string;
|
|
12
12
|
items: import("./SortableList.types").SortableListItem[];
|
|
13
13
|
selectedChildId: string | number;
|
|
14
|
-
childListMaxHeight: string;
|
|
15
14
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
16
15
|
openId: string | number;
|
|
17
16
|
selectedId: string | number;
|
|
18
17
|
showSearch: boolean;
|
|
19
18
|
loadingRowCount: number;
|
|
20
19
|
emptyStateTitle: string;
|
|
21
|
-
isSticky: boolean;
|
|
22
|
-
zIndexBase: number;
|
|
23
20
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
24
21
|
search: {
|
|
25
22
|
type: import("vue").PropType<string>;
|
|
@@ -51,10 +48,6 @@ declare const SortableListTypes: () => ({
|
|
|
51
48
|
type: import("vue").PropType<string | number>;
|
|
52
49
|
default: any;
|
|
53
50
|
};
|
|
54
|
-
childListMaxHeight: {
|
|
55
|
-
type: import("vue").PropType<string>;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
51
|
searchHandler: {
|
|
59
52
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
60
53
|
default: any;
|
|
@@ -79,14 +72,6 @@ declare const SortableListTypes: () => ({
|
|
|
79
72
|
type: import("vue").PropType<string>;
|
|
80
73
|
default: string;
|
|
81
74
|
};
|
|
82
|
-
isSticky: {
|
|
83
|
-
type: import("vue").PropType<boolean>;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
zIndexBase: {
|
|
87
|
-
type: import("vue").PropType<number>;
|
|
88
|
-
default: number;
|
|
89
|
-
};
|
|
90
75
|
}>> & {
|
|
91
76
|
onClearSearch?: () => any;
|
|
92
77
|
onSortableItemDragged?: (event: {
|
|
@@ -98,7 +83,7 @@ declare const SortableListTypes: () => ({
|
|
|
98
83
|
"onUpdate:selectedId"?: (id: string | number) => any;
|
|
99
84
|
"onUpdate:selectedChildId"?: (id: string | number) => any;
|
|
100
85
|
"onUpdate:search"?: (query: string) => any;
|
|
101
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "
|
|
86
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle">;
|
|
102
87
|
$attrs: {
|
|
103
88
|
[x: string]: unknown;
|
|
104
89
|
};
|
|
@@ -146,10 +131,6 @@ declare const SortableListTypes: () => ({
|
|
|
146
131
|
type: import("vue").PropType<string | number>;
|
|
147
132
|
default: any;
|
|
148
133
|
};
|
|
149
|
-
childListMaxHeight: {
|
|
150
|
-
type: import("vue").PropType<string>;
|
|
151
|
-
default: string;
|
|
152
|
-
};
|
|
153
134
|
searchHandler: {
|
|
154
135
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
155
136
|
default: any;
|
|
@@ -174,14 +155,6 @@ declare const SortableListTypes: () => ({
|
|
|
174
155
|
type: import("vue").PropType<string>;
|
|
175
156
|
default: string;
|
|
176
157
|
};
|
|
177
|
-
isSticky: {
|
|
178
|
-
type: import("vue").PropType<boolean>;
|
|
179
|
-
default: boolean;
|
|
180
|
-
};
|
|
181
|
-
zIndexBase: {
|
|
182
|
-
type: import("vue").PropType<number>;
|
|
183
|
-
default: number;
|
|
184
|
-
};
|
|
185
158
|
}>> & {
|
|
186
159
|
onClearSearch?: () => any;
|
|
187
160
|
onSortableItemDragged?: (event: {
|
|
@@ -212,15 +185,12 @@ declare const SortableListTypes: () => ({
|
|
|
212
185
|
searchPlaceholder: string;
|
|
213
186
|
items: import("./SortableList.types").SortableListItem[];
|
|
214
187
|
selectedChildId: string | number;
|
|
215
|
-
childListMaxHeight: string;
|
|
216
188
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
217
189
|
openId: string | number;
|
|
218
190
|
selectedId: string | number;
|
|
219
191
|
showSearch: boolean;
|
|
220
192
|
loadingRowCount: number;
|
|
221
193
|
emptyStateTitle: string;
|
|
222
|
-
isSticky: boolean;
|
|
223
|
-
zIndexBase: number;
|
|
224
194
|
}, {}, string> & {
|
|
225
195
|
beforeCreate?: (() => void) | (() => void)[];
|
|
226
196
|
created?: (() => void) | (() => void)[];
|
|
@@ -272,10 +242,6 @@ declare const SortableListTypes: () => ({
|
|
|
272
242
|
type: import("vue").PropType<string | number>;
|
|
273
243
|
default: any;
|
|
274
244
|
};
|
|
275
|
-
childListMaxHeight: {
|
|
276
|
-
type: import("vue").PropType<string>;
|
|
277
|
-
default: string;
|
|
278
|
-
};
|
|
279
245
|
searchHandler: {
|
|
280
246
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
281
247
|
default: any;
|
|
@@ -300,14 +266,6 @@ declare const SortableListTypes: () => ({
|
|
|
300
266
|
type: import("vue").PropType<string>;
|
|
301
267
|
default: string;
|
|
302
268
|
};
|
|
303
|
-
isSticky: {
|
|
304
|
-
type: import("vue").PropType<boolean>;
|
|
305
|
-
default: boolean;
|
|
306
|
-
};
|
|
307
|
-
zIndexBase: {
|
|
308
|
-
type: import("vue").PropType<number>;
|
|
309
|
-
default: number;
|
|
310
|
-
};
|
|
311
269
|
}>> & {
|
|
312
270
|
onClearSearch?: () => any;
|
|
313
271
|
onSortableItemDragged?: (event: {
|
|
@@ -354,10 +312,6 @@ declare const SortableListTypes: () => ({
|
|
|
354
312
|
type: import("vue").PropType<string | number>;
|
|
355
313
|
default: any;
|
|
356
314
|
};
|
|
357
|
-
childListMaxHeight: {
|
|
358
|
-
type: import("vue").PropType<string>;
|
|
359
|
-
default: string;
|
|
360
|
-
};
|
|
361
315
|
searchHandler: {
|
|
362
316
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
363
317
|
default: any;
|
|
@@ -382,14 +336,6 @@ declare const SortableListTypes: () => ({
|
|
|
382
336
|
type: import("vue").PropType<string>;
|
|
383
337
|
default: string;
|
|
384
338
|
};
|
|
385
|
-
isSticky: {
|
|
386
|
-
type: import("vue").PropType<boolean>;
|
|
387
|
-
default: boolean;
|
|
388
|
-
};
|
|
389
|
-
zIndexBase: {
|
|
390
|
-
type: import("vue").PropType<number>;
|
|
391
|
-
default: number;
|
|
392
|
-
};
|
|
393
339
|
}>> & {
|
|
394
340
|
onClearSearch?: () => any;
|
|
395
341
|
onSortableItemDragged?: (event: {
|
|
@@ -420,18 +366,14 @@ declare const SortableListTypes: () => ({
|
|
|
420
366
|
searchPlaceholder: string;
|
|
421
367
|
items: import("./SortableList.types").SortableListItem[];
|
|
422
368
|
selectedChildId: string | number;
|
|
423
|
-
childListMaxHeight: string;
|
|
424
369
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
425
370
|
openId: string | number;
|
|
426
371
|
selectedId: string | number;
|
|
427
372
|
showSearch: boolean;
|
|
428
373
|
loadingRowCount: number;
|
|
429
374
|
emptyStateTitle: string;
|
|
430
|
-
isSticky: boolean;
|
|
431
|
-
zIndexBase: number;
|
|
432
375
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
433
376
|
$slots: {
|
|
434
|
-
header?(_: {}): any;
|
|
435
377
|
menu?(_: {
|
|
436
378
|
item: import("./SortableList.types").SortableListItem;
|
|
437
379
|
}): any;
|
|
@@ -145,8 +145,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
145
145
|
onClickRow?: (rowIndex: number) => any;
|
|
146
146
|
}, {
|
|
147
147
|
sort: Sort;
|
|
148
|
-
title: string;
|
|
149
148
|
search: string;
|
|
149
|
+
title: string;
|
|
150
150
|
testId: string;
|
|
151
151
|
isLoading: boolean;
|
|
152
152
|
searchAutoFocus: boolean;
|
|
@@ -156,7 +156,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
156
156
|
loadingRowCount: number;
|
|
157
157
|
emptyStateTitle: string;
|
|
158
158
|
isSticky: boolean;
|
|
159
|
-
zIndexBase: number;
|
|
160
159
|
sections: Section[];
|
|
161
160
|
isStickyHeader: boolean;
|
|
162
161
|
emptyStateSubtitle: string;
|
|
@@ -168,6 +167,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
168
167
|
getRowKey: (row: Row, index: number) => string | number;
|
|
169
168
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
170
169
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
170
|
+
zIndexBase: number;
|
|
171
171
|
rowCustomClassKey: string;
|
|
172
172
|
rowDataKey: string;
|
|
173
173
|
isSelectionSticky: boolean;
|
|
@@ -118,11 +118,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
118
|
loadingRowCount: number;
|
|
119
119
|
emptyStateTitle: string;
|
|
120
120
|
isSticky: boolean;
|
|
121
|
-
zIndexBase: number;
|
|
122
121
|
emptyStateSubtitle: string;
|
|
123
122
|
getRowId: (row: Row, index: number) => unknown;
|
|
124
123
|
getRowKey: (row: Row, index: number) => string | number;
|
|
125
124
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
125
|
+
zIndexBase: number;
|
|
126
126
|
rowCustomClassKey: string;
|
|
127
127
|
rowDataKey: string;
|
|
128
128
|
totalCount: number;
|
|
@@ -8,8 +8,8 @@ declare const DataGridTypes: () => (({
|
|
|
8
8
|
$data: {};
|
|
9
9
|
$props: Partial<{
|
|
10
10
|
sort: import("../common/Table.types").Sort;
|
|
11
|
-
title: string;
|
|
12
11
|
search: string;
|
|
12
|
+
title: string;
|
|
13
13
|
testId: string;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
searchAutoFocus: boolean;
|
|
@@ -19,7 +19,6 @@ declare const DataGridTypes: () => (({
|
|
|
19
19
|
loadingRowCount: number;
|
|
20
20
|
emptyStateTitle: string;
|
|
21
21
|
isSticky: boolean;
|
|
22
|
-
zIndexBase: number;
|
|
23
22
|
sections: import("../common/Table.types").Section[];
|
|
24
23
|
isStickyHeader: boolean;
|
|
25
24
|
emptyStateSubtitle: string;
|
|
@@ -31,6 +30,7 @@ declare const DataGridTypes: () => (({
|
|
|
31
30
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
32
31
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
33
32
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
33
|
+
zIndexBase: number;
|
|
34
34
|
rowCustomClassKey: string;
|
|
35
35
|
rowDataKey: string;
|
|
36
36
|
isSelectionSticky: boolean;
|
|
@@ -40,14 +40,14 @@ declare const DataGridTypes: () => (({
|
|
|
40
40
|
type: import("vue").PropType<import("../common/Table.types").Sort>;
|
|
41
41
|
default: any;
|
|
42
42
|
};
|
|
43
|
-
title: {
|
|
44
|
-
type: import("vue").PropType<string>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
43
|
search: {
|
|
48
44
|
type: import("vue").PropType<string>;
|
|
49
45
|
default: any;
|
|
50
46
|
};
|
|
47
|
+
title: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
51
|
testId: {
|
|
52
52
|
type: import("vue").PropType<string>;
|
|
53
53
|
default: string;
|
|
@@ -88,10 +88,6 @@ declare const DataGridTypes: () => (({
|
|
|
88
88
|
type: import("vue").PropType<boolean>;
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
|
-
zIndexBase: {
|
|
92
|
-
type: import("vue").PropType<number>;
|
|
93
|
-
default: number;
|
|
94
|
-
};
|
|
95
91
|
rows: {
|
|
96
92
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
97
93
|
required: true;
|
|
@@ -140,6 +136,10 @@ declare const DataGridTypes: () => (({
|
|
|
140
136
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
141
137
|
default: any;
|
|
142
138
|
};
|
|
139
|
+
zIndexBase: {
|
|
140
|
+
type: import("vue").PropType<number>;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
143
|
rowCustomClassKey: {
|
|
144
144
|
type: import("vue").PropType<string>;
|
|
145
145
|
default: string;
|
|
@@ -167,7 +167,7 @@ declare const DataGridTypes: () => (({
|
|
|
167
167
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
168
168
|
onSelectRow?: (value: boolean) => any;
|
|
169
169
|
onClickRow?: (rowIndex: number) => any;
|
|
170
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "
|
|
170
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "search" | "title" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
|
|
171
171
|
$attrs: {
|
|
172
172
|
[x: string]: unknown;
|
|
173
173
|
};
|
|
@@ -186,14 +186,14 @@ declare const DataGridTypes: () => (({
|
|
|
186
186
|
type: import("vue").PropType<import("../common/Table.types").Sort>;
|
|
187
187
|
default: any;
|
|
188
188
|
};
|
|
189
|
-
title: {
|
|
190
|
-
type: import("vue").PropType<string>;
|
|
191
|
-
default: string;
|
|
192
|
-
};
|
|
193
189
|
search: {
|
|
194
190
|
type: import("vue").PropType<string>;
|
|
195
191
|
default: any;
|
|
196
192
|
};
|
|
193
|
+
title: {
|
|
194
|
+
type: import("vue").PropType<string>;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
197
|
testId: {
|
|
198
198
|
type: import("vue").PropType<string>;
|
|
199
199
|
default: string;
|
|
@@ -234,10 +234,6 @@ declare const DataGridTypes: () => (({
|
|
|
234
234
|
type: import("vue").PropType<boolean>;
|
|
235
235
|
default: boolean;
|
|
236
236
|
};
|
|
237
|
-
zIndexBase: {
|
|
238
|
-
type: import("vue").PropType<number>;
|
|
239
|
-
default: number;
|
|
240
|
-
};
|
|
241
237
|
rows: {
|
|
242
238
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
243
239
|
required: true;
|
|
@@ -286,6 +282,10 @@ declare const DataGridTypes: () => (({
|
|
|
286
282
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
287
283
|
default: any;
|
|
288
284
|
};
|
|
285
|
+
zIndexBase: {
|
|
286
|
+
type: import("vue").PropType<number>;
|
|
287
|
+
default: number;
|
|
288
|
+
};
|
|
289
289
|
rowCustomClassKey: {
|
|
290
290
|
type: import("vue").PropType<string>;
|
|
291
291
|
default: string;
|
|
@@ -328,8 +328,8 @@ declare const DataGridTypes: () => (({
|
|
|
328
328
|
clickRow: (rowIndex: number) => void;
|
|
329
329
|
}, string, {
|
|
330
330
|
sort: import("../common/Table.types").Sort;
|
|
331
|
-
title: string;
|
|
332
331
|
search: string;
|
|
332
|
+
title: string;
|
|
333
333
|
testId: string;
|
|
334
334
|
isLoading: boolean;
|
|
335
335
|
searchAutoFocus: boolean;
|
|
@@ -339,7 +339,6 @@ declare const DataGridTypes: () => (({
|
|
|
339
339
|
loadingRowCount: number;
|
|
340
340
|
emptyStateTitle: string;
|
|
341
341
|
isSticky: boolean;
|
|
342
|
-
zIndexBase: number;
|
|
343
342
|
sections: import("../common/Table.types").Section[];
|
|
344
343
|
isStickyHeader: boolean;
|
|
345
344
|
emptyStateSubtitle: string;
|
|
@@ -351,6 +350,7 @@ declare const DataGridTypes: () => (({
|
|
|
351
350
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
352
351
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
353
352
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
353
|
+
zIndexBase: number;
|
|
354
354
|
rowCustomClassKey: string;
|
|
355
355
|
rowDataKey: string;
|
|
356
356
|
isSelectionSticky: boolean;
|
|
@@ -380,14 +380,14 @@ declare const DataGridTypes: () => (({
|
|
|
380
380
|
type: import("vue").PropType<import("../common/Table.types").Sort>;
|
|
381
381
|
default: any;
|
|
382
382
|
};
|
|
383
|
-
title: {
|
|
384
|
-
type: import("vue").PropType<string>;
|
|
385
|
-
default: string;
|
|
386
|
-
};
|
|
387
383
|
search: {
|
|
388
384
|
type: import("vue").PropType<string>;
|
|
389
385
|
default: any;
|
|
390
386
|
};
|
|
387
|
+
title: {
|
|
388
|
+
type: import("vue").PropType<string>;
|
|
389
|
+
default: string;
|
|
390
|
+
};
|
|
391
391
|
testId: {
|
|
392
392
|
type: import("vue").PropType<string>;
|
|
393
393
|
default: string;
|
|
@@ -428,10 +428,6 @@ declare const DataGridTypes: () => (({
|
|
|
428
428
|
type: import("vue").PropType<boolean>;
|
|
429
429
|
default: boolean;
|
|
430
430
|
};
|
|
431
|
-
zIndexBase: {
|
|
432
|
-
type: import("vue").PropType<number>;
|
|
433
|
-
default: number;
|
|
434
|
-
};
|
|
435
431
|
rows: {
|
|
436
432
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
437
433
|
required: true;
|
|
@@ -480,6 +476,10 @@ declare const DataGridTypes: () => (({
|
|
|
480
476
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
481
477
|
default: any;
|
|
482
478
|
};
|
|
479
|
+
zIndexBase: {
|
|
480
|
+
type: import("vue").PropType<number>;
|
|
481
|
+
default: number;
|
|
482
|
+
};
|
|
483
483
|
rowCustomClassKey: {
|
|
484
484
|
type: import("vue").PropType<string>;
|
|
485
485
|
default: string;
|
|
@@ -518,14 +518,14 @@ declare const DataGridTypes: () => (({
|
|
|
518
518
|
type: import("vue").PropType<import("../common/Table.types").Sort>;
|
|
519
519
|
default: any;
|
|
520
520
|
};
|
|
521
|
-
title: {
|
|
522
|
-
type: import("vue").PropType<string>;
|
|
523
|
-
default: string;
|
|
524
|
-
};
|
|
525
521
|
search: {
|
|
526
522
|
type: import("vue").PropType<string>;
|
|
527
523
|
default: any;
|
|
528
524
|
};
|
|
525
|
+
title: {
|
|
526
|
+
type: import("vue").PropType<string>;
|
|
527
|
+
default: string;
|
|
528
|
+
};
|
|
529
529
|
testId: {
|
|
530
530
|
type: import("vue").PropType<string>;
|
|
531
531
|
default: string;
|
|
@@ -566,10 +566,6 @@ declare const DataGridTypes: () => (({
|
|
|
566
566
|
type: import("vue").PropType<boolean>;
|
|
567
567
|
default: boolean;
|
|
568
568
|
};
|
|
569
|
-
zIndexBase: {
|
|
570
|
-
type: import("vue").PropType<number>;
|
|
571
|
-
default: number;
|
|
572
|
-
};
|
|
573
569
|
rows: {
|
|
574
570
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
575
571
|
required: true;
|
|
@@ -618,6 +614,10 @@ declare const DataGridTypes: () => (({
|
|
|
618
614
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
619
615
|
default: any;
|
|
620
616
|
};
|
|
617
|
+
zIndexBase: {
|
|
618
|
+
type: import("vue").PropType<number>;
|
|
619
|
+
default: number;
|
|
620
|
+
};
|
|
621
621
|
rowCustomClassKey: {
|
|
622
622
|
type: import("vue").PropType<string>;
|
|
623
623
|
default: string;
|
|
@@ -660,8 +660,8 @@ declare const DataGridTypes: () => (({
|
|
|
660
660
|
clickRow: (rowIndex: number) => void;
|
|
661
661
|
}, string, {
|
|
662
662
|
sort: import("../common/Table.types").Sort;
|
|
663
|
-
title: string;
|
|
664
663
|
search: string;
|
|
664
|
+
title: string;
|
|
665
665
|
testId: string;
|
|
666
666
|
isLoading: boolean;
|
|
667
667
|
searchAutoFocus: boolean;
|
|
@@ -671,7 +671,6 @@ declare const DataGridTypes: () => (({
|
|
|
671
671
|
loadingRowCount: number;
|
|
672
672
|
emptyStateTitle: string;
|
|
673
673
|
isSticky: boolean;
|
|
674
|
-
zIndexBase: number;
|
|
675
674
|
sections: import("../common/Table.types").Section[];
|
|
676
675
|
isStickyHeader: boolean;
|
|
677
676
|
emptyStateSubtitle: string;
|
|
@@ -683,6 +682,7 @@ declare const DataGridTypes: () => (({
|
|
|
683
682
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
684
683
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
685
684
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
685
|
+
zIndexBase: number;
|
|
686
686
|
rowCustomClassKey: string;
|
|
687
687
|
rowDataKey: string;
|
|
688
688
|
isSelectionSticky: boolean;
|
|
@@ -820,11 +820,11 @@ declare const DataGridTypes: () => (({
|
|
|
820
820
|
loadingRowCount: number;
|
|
821
821
|
emptyStateTitle: string;
|
|
822
822
|
isSticky: boolean;
|
|
823
|
-
zIndexBase: number;
|
|
824
823
|
emptyStateSubtitle: string;
|
|
825
824
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
826
825
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
827
826
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
827
|
+
zIndexBase: number;
|
|
828
828
|
rowCustomClassKey: string;
|
|
829
829
|
rowDataKey: string;
|
|
830
830
|
totalCount: number;
|
|
@@ -870,10 +870,6 @@ declare const DataGridTypes: () => (({
|
|
|
870
870
|
type: import("vue").PropType<boolean>;
|
|
871
871
|
default: boolean;
|
|
872
872
|
};
|
|
873
|
-
zIndexBase: {
|
|
874
|
-
type: import("vue").PropType<number>;
|
|
875
|
-
default: number;
|
|
876
|
-
};
|
|
877
873
|
emptyStateSubtitle: {
|
|
878
874
|
type: import("vue").PropType<string>;
|
|
879
875
|
default: string;
|
|
@@ -890,6 +886,10 @@ declare const DataGridTypes: () => (({
|
|
|
890
886
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
891
887
|
default: any;
|
|
892
888
|
};
|
|
889
|
+
zIndexBase: {
|
|
890
|
+
type: import("vue").PropType<number>;
|
|
891
|
+
default: number;
|
|
892
|
+
};
|
|
893
893
|
rowCustomClassKey: {
|
|
894
894
|
type: import("vue").PropType<string>;
|
|
895
895
|
default: string;
|
|
@@ -932,7 +932,7 @@ declare const DataGridTypes: () => (({
|
|
|
932
932
|
}) => any;
|
|
933
933
|
onOnClearSearch?: () => any;
|
|
934
934
|
onClickRow?: (rowIndex: number, tableIndex: number) => any;
|
|
935
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "
|
|
935
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "getRowId" | "getRowKey" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
936
936
|
$attrs: {
|
|
937
937
|
[x: string]: unknown;
|
|
938
938
|
};
|
|
@@ -985,10 +985,6 @@ declare const DataGridTypes: () => (({
|
|
|
985
985
|
type: import("vue").PropType<boolean>;
|
|
986
986
|
default: boolean;
|
|
987
987
|
};
|
|
988
|
-
zIndexBase: {
|
|
989
|
-
type: import("vue").PropType<number>;
|
|
990
|
-
default: number;
|
|
991
|
-
};
|
|
992
988
|
emptyStateSubtitle: {
|
|
993
989
|
type: import("vue").PropType<string>;
|
|
994
990
|
default: string;
|
|
@@ -1005,6 +1001,10 @@ declare const DataGridTypes: () => (({
|
|
|
1005
1001
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1006
1002
|
default: any;
|
|
1007
1003
|
};
|
|
1004
|
+
zIndexBase: {
|
|
1005
|
+
type: import("vue").PropType<number>;
|
|
1006
|
+
default: number;
|
|
1007
|
+
};
|
|
1008
1008
|
rowCustomClassKey: {
|
|
1009
1009
|
type: import("vue").PropType<string>;
|
|
1010
1010
|
default: string;
|
|
@@ -1065,11 +1065,11 @@ declare const DataGridTypes: () => (({
|
|
|
1065
1065
|
loadingRowCount: number;
|
|
1066
1066
|
emptyStateTitle: string;
|
|
1067
1067
|
isSticky: boolean;
|
|
1068
|
-
zIndexBase: number;
|
|
1069
1068
|
emptyStateSubtitle: string;
|
|
1070
1069
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1071
1070
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1072
1071
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
1072
|
+
zIndexBase: number;
|
|
1073
1073
|
rowCustomClassKey: string;
|
|
1074
1074
|
rowDataKey: string;
|
|
1075
1075
|
totalCount: number;
|
|
@@ -1135,10 +1135,6 @@ declare const DataGridTypes: () => (({
|
|
|
1135
1135
|
type: import("vue").PropType<boolean>;
|
|
1136
1136
|
default: boolean;
|
|
1137
1137
|
};
|
|
1138
|
-
zIndexBase: {
|
|
1139
|
-
type: import("vue").PropType<number>;
|
|
1140
|
-
default: number;
|
|
1141
|
-
};
|
|
1142
1138
|
emptyStateSubtitle: {
|
|
1143
1139
|
type: import("vue").PropType<string>;
|
|
1144
1140
|
default: string;
|
|
@@ -1155,6 +1151,10 @@ declare const DataGridTypes: () => (({
|
|
|
1155
1151
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1156
1152
|
default: any;
|
|
1157
1153
|
};
|
|
1154
|
+
zIndexBase: {
|
|
1155
|
+
type: import("vue").PropType<number>;
|
|
1156
|
+
default: number;
|
|
1157
|
+
};
|
|
1158
1158
|
rowCustomClassKey: {
|
|
1159
1159
|
type: import("vue").PropType<string>;
|
|
1160
1160
|
default: string;
|
|
@@ -1238,10 +1238,6 @@ declare const DataGridTypes: () => (({
|
|
|
1238
1238
|
type: import("vue").PropType<boolean>;
|
|
1239
1239
|
default: boolean;
|
|
1240
1240
|
};
|
|
1241
|
-
zIndexBase: {
|
|
1242
|
-
type: import("vue").PropType<number>;
|
|
1243
|
-
default: number;
|
|
1244
|
-
};
|
|
1245
1241
|
emptyStateSubtitle: {
|
|
1246
1242
|
type: import("vue").PropType<string>;
|
|
1247
1243
|
default: string;
|
|
@@ -1258,6 +1254,10 @@ declare const DataGridTypes: () => (({
|
|
|
1258
1254
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1259
1255
|
default: any;
|
|
1260
1256
|
};
|
|
1257
|
+
zIndexBase: {
|
|
1258
|
+
type: import("vue").PropType<number>;
|
|
1259
|
+
default: number;
|
|
1260
|
+
};
|
|
1261
1261
|
rowCustomClassKey: {
|
|
1262
1262
|
type: import("vue").PropType<string>;
|
|
1263
1263
|
default: string;
|
|
@@ -1318,11 +1318,11 @@ declare const DataGridTypes: () => (({
|
|
|
1318
1318
|
loadingRowCount: number;
|
|
1319
1319
|
emptyStateTitle: string;
|
|
1320
1320
|
isSticky: boolean;
|
|
1321
|
-
zIndexBase: number;
|
|
1322
1321
|
emptyStateSubtitle: string;
|
|
1323
1322
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1324
1323
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1325
1324
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
1325
|
+
zIndexBase: number;
|
|
1326
1326
|
rowCustomClassKey: string;
|
|
1327
1327
|
rowDataKey: string;
|
|
1328
1328
|
totalCount: number;
|
|
@@ -2,8 +2,8 @@ import { ref as n, provide as f, watch as d } from "vue";
|
|
|
2
2
|
import { useTableContext as C } from "../../table/common/TableContext.js";
|
|
3
3
|
import { EditableContext as m } from "./EditableContext.js";
|
|
4
4
|
import { onClickOutside as x } from "@vueuse/core";
|
|
5
|
-
const
|
|
6
|
-
const l = n(!1), t = n(e.cell), i = n(e.saveOnClickOutside), o = n(null), r = C("Editable"), a = n(null),
|
|
5
|
+
const E = (e) => {
|
|
6
|
+
const l = n(!1), t = n(e.cell), i = n(e.saveOnClickOutside), o = n(null), r = C("Editable"), a = n(null), v = () => {
|
|
7
7
|
if (e.cell === t.value) {
|
|
8
8
|
l.value = !1;
|
|
9
9
|
return;
|
|
@@ -19,15 +19,14 @@ const g = (e) => {
|
|
|
19
19
|
focusable: !0,
|
|
20
20
|
value: t,
|
|
21
21
|
error: a,
|
|
22
|
-
withIcons: e.withIcons,
|
|
23
22
|
confirmable: !0,
|
|
24
23
|
saveOnClickOutside: i.value,
|
|
25
24
|
onChange(u) {
|
|
26
25
|
t.value = u, a.value = e.validateFunction?.(t.value);
|
|
27
26
|
},
|
|
28
|
-
onClose:
|
|
27
|
+
onClose: v
|
|
29
28
|
});
|
|
30
|
-
const
|
|
29
|
+
const c = () => {
|
|
31
30
|
l.value || e.isLoading || (l.value = !l.value);
|
|
32
31
|
}, s = () => {
|
|
33
32
|
t.value = e.cell, a.value = null;
|
|
@@ -35,7 +34,7 @@ const g = (e) => {
|
|
|
35
34
|
return x(o, () => {
|
|
36
35
|
if (l.value) {
|
|
37
36
|
if (i.value) {
|
|
38
|
-
|
|
37
|
+
v();
|
|
39
38
|
return;
|
|
40
39
|
}
|
|
41
40
|
l.value = !1, s(), r.onClose();
|
|
@@ -46,11 +45,11 @@ const g = (e) => {
|
|
|
46
45
|
l.value || (t.value = e.cell);
|
|
47
46
|
}
|
|
48
47
|
), {
|
|
49
|
-
onEdit:
|
|
48
|
+
onEdit: c,
|
|
50
49
|
target: o,
|
|
51
50
|
isEditing: l
|
|
52
51
|
};
|
|
53
52
|
};
|
|
54
53
|
export {
|
|
55
|
-
|
|
54
|
+
E as editableCommon
|
|
56
55
|
};
|
|
@@ -4,7 +4,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
rowIndex: number;
|
|
5
5
|
cellIndex: number;
|
|
6
6
|
type: "input" | "dropdown";
|
|
7
|
-
withIcons?: boolean;
|
|
8
7
|
saveOnClickOutside?: boolean;
|
|
9
8
|
validateFunction?: (value: unknown) => string | boolean;
|
|
10
9
|
displayValue?: (option: unknown) => unknown;
|
|
@@ -13,7 +12,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
12
|
isLoading: boolean;
|
|
14
13
|
type: string;
|
|
15
14
|
saveOnClickOutside: boolean;
|
|
16
|
-
withIcons: boolean;
|
|
17
15
|
validateFunction: () => false;
|
|
18
16
|
displayValue: (cell: unknown) => unknown;
|
|
19
17
|
}>, {}, 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<{
|
|
@@ -22,7 +20,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
20
|
rowIndex: number;
|
|
23
21
|
cellIndex: number;
|
|
24
22
|
type: "input" | "dropdown";
|
|
25
|
-
withIcons?: boolean;
|
|
26
23
|
saveOnClickOutside?: boolean;
|
|
27
24
|
validateFunction?: (value: unknown) => string | boolean;
|
|
28
25
|
displayValue?: (option: unknown) => unknown;
|
|
@@ -31,13 +28,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
28
|
isLoading: boolean;
|
|
32
29
|
type: string;
|
|
33
30
|
saveOnClickOutside: boolean;
|
|
34
|
-
withIcons: boolean;
|
|
35
31
|
validateFunction: () => false;
|
|
36
32
|
displayValue: (cell: unknown) => unknown;
|
|
37
33
|
}>>>, {
|
|
38
34
|
type: "input" | "dropdown";
|
|
39
35
|
cell: string;
|
|
40
|
-
withIcons: boolean;
|
|
41
36
|
saveOnClickOutside: boolean;
|
|
42
37
|
validateFunction: (value: unknown) => string | boolean;
|
|
43
38
|
isLoading: boolean;
|