@ironsource/shared-ui 2.1.11-test.99 → 2.1.12-rc.0
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_026d82c5_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +1 -0
- package/ChartLoader.vue_vue_type_style_index_0_scoped_ffa4cc66_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8e026669_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
- package/IconFlag.vue_vue_type_style_index_0_scoped_6526c390_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
- package/Typography.vue_vue_type_style_index_0_scoped_07b259bf_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +116 -108
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +64 -54
- package/components/chart/ChartLoader.vue.js +5 -23
- package/components/chart/ChartLoader.vue2.js +15 -0
- package/components/chart/index.d.ts +20 -1
- package/components/chart/mockData.d.ts +8 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +86 -81
- package/components/dropdown/common/Dropdown.common.js +65 -65
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +5 -3
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +106 -100
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +45 -46
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +97 -98
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +86 -86
- package/components/dropdown/v4/index.d.ts +5 -3
- 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 +184 -164
- package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
- package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
- package/components/sortableList/SortableItem.vue.d.ts +5 -0
- package/components/sortableList/SortableItem.vue.js +3 -3
- package/components/sortableList/SortableItem.vue2.js +76 -61
- package/components/sortableList/SortableList.vue.d.ts +16 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +100 -87
- package/components/sortableList/index.d.ts +59 -1
- package/components/table/v4/DataGrid.vue.d.ts +1 -1
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
- package/components/table/v4/index.d.ts +40 -40
- package/components/table-cells/common/Editable.common.js +8 -7
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +11 -10
- package/components/table-cells/v4/index.d.ts +20 -1
- 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 +3 -3
- package/components/typography/v4/Typography.vue2.js +1 -1
- package/index.d.ts +248 -90
- package/index.js +1 -1
- package/mocks/apps.d.ts +1 -0
- package/mocks/randomValue.d.ts +1 -0
- package/package.json +3 -3
- package/testids/index.d.ts +1 -0
- package/testids/index.js +13 -13
- package/Chart.vue_vue_type_style_index_0_scoped_04b9d6b3_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +0 -1
- package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_b2684c5f_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
- package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_156c01ca_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css +0 -1
- package/consts/configs.js +0 -4
|
@@ -11,12 +11,15 @@ declare const SortableListTypes: () => ({
|
|
|
11
11
|
searchPlaceholder: string;
|
|
12
12
|
items: import("./SortableList.types").SortableListItem[];
|
|
13
13
|
selectedChildId: string | number;
|
|
14
|
+
childListMaxHeight: string;
|
|
14
15
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
15
16
|
openId: string | number;
|
|
16
17
|
selectedId: string | number;
|
|
17
18
|
showSearch: boolean;
|
|
18
19
|
loadingRowCount: number;
|
|
19
20
|
emptyStateTitle: string;
|
|
21
|
+
isSticky: boolean;
|
|
22
|
+
zIndexBase: number;
|
|
20
23
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
24
|
search: {
|
|
22
25
|
type: import("vue").PropType<string>;
|
|
@@ -48,6 +51,10 @@ declare const SortableListTypes: () => ({
|
|
|
48
51
|
type: import("vue").PropType<string | number>;
|
|
49
52
|
default: any;
|
|
50
53
|
};
|
|
54
|
+
childListMaxHeight: {
|
|
55
|
+
type: import("vue").PropType<string>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
51
58
|
searchHandler: {
|
|
52
59
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
53
60
|
default: any;
|
|
@@ -72,6 +79,14 @@ declare const SortableListTypes: () => ({
|
|
|
72
79
|
type: import("vue").PropType<string>;
|
|
73
80
|
default: string;
|
|
74
81
|
};
|
|
82
|
+
isSticky: {
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
zIndexBase: {
|
|
87
|
+
type: import("vue").PropType<number>;
|
|
88
|
+
default: number;
|
|
89
|
+
};
|
|
75
90
|
}>> & {
|
|
76
91
|
onClearSearch?: () => any;
|
|
77
92
|
onSortableItemDragged?: (event: {
|
|
@@ -83,7 +98,7 @@ declare const SortableListTypes: () => ({
|
|
|
83
98
|
"onUpdate:selectedId"?: (id: string | number) => any;
|
|
84
99
|
"onUpdate:selectedChildId"?: (id: string | number) => any;
|
|
85
100
|
"onUpdate:search"?: (query: string) => any;
|
|
86
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle">;
|
|
101
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase">;
|
|
87
102
|
$attrs: {
|
|
88
103
|
[x: string]: unknown;
|
|
89
104
|
};
|
|
@@ -131,6 +146,10 @@ declare const SortableListTypes: () => ({
|
|
|
131
146
|
type: import("vue").PropType<string | number>;
|
|
132
147
|
default: any;
|
|
133
148
|
};
|
|
149
|
+
childListMaxHeight: {
|
|
150
|
+
type: import("vue").PropType<string>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
134
153
|
searchHandler: {
|
|
135
154
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
136
155
|
default: any;
|
|
@@ -155,6 +174,14 @@ declare const SortableListTypes: () => ({
|
|
|
155
174
|
type: import("vue").PropType<string>;
|
|
156
175
|
default: string;
|
|
157
176
|
};
|
|
177
|
+
isSticky: {
|
|
178
|
+
type: import("vue").PropType<boolean>;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
zIndexBase: {
|
|
182
|
+
type: import("vue").PropType<number>;
|
|
183
|
+
default: number;
|
|
184
|
+
};
|
|
158
185
|
}>> & {
|
|
159
186
|
onClearSearch?: () => any;
|
|
160
187
|
onSortableItemDragged?: (event: {
|
|
@@ -185,12 +212,15 @@ declare const SortableListTypes: () => ({
|
|
|
185
212
|
searchPlaceholder: string;
|
|
186
213
|
items: import("./SortableList.types").SortableListItem[];
|
|
187
214
|
selectedChildId: string | number;
|
|
215
|
+
childListMaxHeight: string;
|
|
188
216
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
189
217
|
openId: string | number;
|
|
190
218
|
selectedId: string | number;
|
|
191
219
|
showSearch: boolean;
|
|
192
220
|
loadingRowCount: number;
|
|
193
221
|
emptyStateTitle: string;
|
|
222
|
+
isSticky: boolean;
|
|
223
|
+
zIndexBase: number;
|
|
194
224
|
}, {}, string> & {
|
|
195
225
|
beforeCreate?: (() => void) | (() => void)[];
|
|
196
226
|
created?: (() => void) | (() => void)[];
|
|
@@ -242,6 +272,10 @@ declare const SortableListTypes: () => ({
|
|
|
242
272
|
type: import("vue").PropType<string | number>;
|
|
243
273
|
default: any;
|
|
244
274
|
};
|
|
275
|
+
childListMaxHeight: {
|
|
276
|
+
type: import("vue").PropType<string>;
|
|
277
|
+
default: string;
|
|
278
|
+
};
|
|
245
279
|
searchHandler: {
|
|
246
280
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
247
281
|
default: any;
|
|
@@ -266,6 +300,14 @@ declare const SortableListTypes: () => ({
|
|
|
266
300
|
type: import("vue").PropType<string>;
|
|
267
301
|
default: string;
|
|
268
302
|
};
|
|
303
|
+
isSticky: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
307
|
+
zIndexBase: {
|
|
308
|
+
type: import("vue").PropType<number>;
|
|
309
|
+
default: number;
|
|
310
|
+
};
|
|
269
311
|
}>> & {
|
|
270
312
|
onClearSearch?: () => any;
|
|
271
313
|
onSortableItemDragged?: (event: {
|
|
@@ -312,6 +354,10 @@ declare const SortableListTypes: () => ({
|
|
|
312
354
|
type: import("vue").PropType<string | number>;
|
|
313
355
|
default: any;
|
|
314
356
|
};
|
|
357
|
+
childListMaxHeight: {
|
|
358
|
+
type: import("vue").PropType<string>;
|
|
359
|
+
default: string;
|
|
360
|
+
};
|
|
315
361
|
searchHandler: {
|
|
316
362
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
317
363
|
default: any;
|
|
@@ -336,6 +382,14 @@ declare const SortableListTypes: () => ({
|
|
|
336
382
|
type: import("vue").PropType<string>;
|
|
337
383
|
default: string;
|
|
338
384
|
};
|
|
385
|
+
isSticky: {
|
|
386
|
+
type: import("vue").PropType<boolean>;
|
|
387
|
+
default: boolean;
|
|
388
|
+
};
|
|
389
|
+
zIndexBase: {
|
|
390
|
+
type: import("vue").PropType<number>;
|
|
391
|
+
default: number;
|
|
392
|
+
};
|
|
339
393
|
}>> & {
|
|
340
394
|
onClearSearch?: () => any;
|
|
341
395
|
onSortableItemDragged?: (event: {
|
|
@@ -366,14 +420,18 @@ declare const SortableListTypes: () => ({
|
|
|
366
420
|
searchPlaceholder: string;
|
|
367
421
|
items: import("./SortableList.types").SortableListItem[];
|
|
368
422
|
selectedChildId: string | number;
|
|
423
|
+
childListMaxHeight: string;
|
|
369
424
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
370
425
|
openId: string | number;
|
|
371
426
|
selectedId: string | number;
|
|
372
427
|
showSearch: boolean;
|
|
373
428
|
loadingRowCount: number;
|
|
374
429
|
emptyStateTitle: string;
|
|
430
|
+
isSticky: boolean;
|
|
431
|
+
zIndexBase: number;
|
|
375
432
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
376
433
|
$slots: {
|
|
434
|
+
header?(_: {}): any;
|
|
377
435
|
menu?(_: {
|
|
378
436
|
item: import("./SortableList.types").SortableListItem;
|
|
379
437
|
}): any;
|
|
@@ -156,6 +156,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
156
156
|
loadingRowCount: number;
|
|
157
157
|
emptyStateTitle: string;
|
|
158
158
|
isSticky: boolean;
|
|
159
|
+
zIndexBase: number;
|
|
159
160
|
sections: Section[];
|
|
160
161
|
isStickyHeader: boolean;
|
|
161
162
|
emptyStateSubtitle: string;
|
|
@@ -167,7 +168,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
167
168
|
getRowKey: (row: Row, index: number) => string | number;
|
|
168
169
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
169
170
|
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;
|
|
121
122
|
emptyStateSubtitle: string;
|
|
122
123
|
getRowId: (row: Row, index: number) => unknown;
|
|
123
124
|
getRowKey: (row: Row, index: number) => string | number;
|
|
124
125
|
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;
|
|
@@ -19,6 +19,7 @@ declare const DataGridTypes: () => (({
|
|
|
19
19
|
loadingRowCount: number;
|
|
20
20
|
emptyStateTitle: string;
|
|
21
21
|
isSticky: boolean;
|
|
22
|
+
zIndexBase: number;
|
|
22
23
|
sections: import("../common/Table.types").Section[];
|
|
23
24
|
isStickyHeader: boolean;
|
|
24
25
|
emptyStateSubtitle: string;
|
|
@@ -30,7 +31,6 @@ declare const DataGridTypes: () => (({
|
|
|
30
31
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
31
32
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
32
33
|
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;
|
|
@@ -88,6 +88,10 @@ 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
|
+
};
|
|
91
95
|
rows: {
|
|
92
96
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
93
97
|
required: true;
|
|
@@ -136,10 +140,6 @@ declare const DataGridTypes: () => (({
|
|
|
136
140
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
137
141
|
default: any;
|
|
138
142
|
};
|
|
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" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "
|
|
170
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
|
|
171
171
|
$attrs: {
|
|
172
172
|
[x: string]: unknown;
|
|
173
173
|
};
|
|
@@ -234,6 +234,10 @@ 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
|
+
};
|
|
237
241
|
rows: {
|
|
238
242
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
239
243
|
required: true;
|
|
@@ -282,10 +286,6 @@ declare const DataGridTypes: () => (({
|
|
|
282
286
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
283
287
|
default: any;
|
|
284
288
|
};
|
|
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;
|
|
@@ -339,6 +339,7 @@ declare const DataGridTypes: () => (({
|
|
|
339
339
|
loadingRowCount: number;
|
|
340
340
|
emptyStateTitle: string;
|
|
341
341
|
isSticky: boolean;
|
|
342
|
+
zIndexBase: number;
|
|
342
343
|
sections: import("../common/Table.types").Section[];
|
|
343
344
|
isStickyHeader: boolean;
|
|
344
345
|
emptyStateSubtitle: string;
|
|
@@ -350,7 +351,6 @@ declare const DataGridTypes: () => (({
|
|
|
350
351
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
351
352
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
352
353
|
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;
|
|
@@ -428,6 +428,10 @@ 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
|
+
};
|
|
431
435
|
rows: {
|
|
432
436
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
433
437
|
required: true;
|
|
@@ -476,10 +480,6 @@ declare const DataGridTypes: () => (({
|
|
|
476
480
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
477
481
|
default: any;
|
|
478
482
|
};
|
|
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;
|
|
@@ -566,6 +566,10 @@ 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
|
+
};
|
|
569
573
|
rows: {
|
|
570
574
|
type: import("vue").PropType<import("../common/Table.types").Row[]>;
|
|
571
575
|
required: true;
|
|
@@ -614,10 +618,6 @@ declare const DataGridTypes: () => (({
|
|
|
614
618
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
615
619
|
default: any;
|
|
616
620
|
};
|
|
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;
|
|
@@ -671,6 +671,7 @@ declare const DataGridTypes: () => (({
|
|
|
671
671
|
loadingRowCount: number;
|
|
672
672
|
emptyStateTitle: string;
|
|
673
673
|
isSticky: boolean;
|
|
674
|
+
zIndexBase: number;
|
|
674
675
|
sections: import("../common/Table.types").Section[];
|
|
675
676
|
isStickyHeader: boolean;
|
|
676
677
|
emptyStateSubtitle: string;
|
|
@@ -682,7 +683,6 @@ declare const DataGridTypes: () => (({
|
|
|
682
683
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
683
684
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
684
685
|
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;
|
|
823
824
|
emptyStateSubtitle: string;
|
|
824
825
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
825
826
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
826
827
|
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,6 +870,10 @@ 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
|
+
};
|
|
873
877
|
emptyStateSubtitle: {
|
|
874
878
|
type: import("vue").PropType<string>;
|
|
875
879
|
default: string;
|
|
@@ -886,10 +890,6 @@ declare const DataGridTypes: () => (({
|
|
|
886
890
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
887
891
|
default: any;
|
|
888
892
|
};
|
|
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" | "zIndexBase" | "emptyStateSubtitle" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
936
936
|
$attrs: {
|
|
937
937
|
[x: string]: unknown;
|
|
938
938
|
};
|
|
@@ -985,6 +985,10 @@ 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
|
+
};
|
|
988
992
|
emptyStateSubtitle: {
|
|
989
993
|
type: import("vue").PropType<string>;
|
|
990
994
|
default: string;
|
|
@@ -1001,10 +1005,6 @@ declare const DataGridTypes: () => (({
|
|
|
1001
1005
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1002
1006
|
default: any;
|
|
1003
1007
|
};
|
|
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;
|
|
1068
1069
|
emptyStateSubtitle: string;
|
|
1069
1070
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1070
1071
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1071
1072
|
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,6 +1135,10 @@ 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
|
+
};
|
|
1138
1142
|
emptyStateSubtitle: {
|
|
1139
1143
|
type: import("vue").PropType<string>;
|
|
1140
1144
|
default: string;
|
|
@@ -1151,10 +1155,6 @@ declare const DataGridTypes: () => (({
|
|
|
1151
1155
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1152
1156
|
default: any;
|
|
1153
1157
|
};
|
|
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,6 +1238,10 @@ 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
|
+
};
|
|
1241
1245
|
emptyStateSubtitle: {
|
|
1242
1246
|
type: import("vue").PropType<string>;
|
|
1243
1247
|
default: string;
|
|
@@ -1254,10 +1258,6 @@ declare const DataGridTypes: () => (({
|
|
|
1254
1258
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1255
1259
|
default: any;
|
|
1256
1260
|
};
|
|
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;
|
|
1321
1322
|
emptyStateSubtitle: string;
|
|
1322
1323
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1323
1324
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1324
1325
|
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 g = (e) => {
|
|
6
|
+
const l = n(!1), t = n(e.cell), i = n(e.saveOnClickOutside), o = n(null), r = C("Editable"), a = n(null), c = () => {
|
|
7
7
|
if (e.cell === t.value) {
|
|
8
8
|
l.value = !1;
|
|
9
9
|
return;
|
|
@@ -19,14 +19,15 @@ const E = (e) => {
|
|
|
19
19
|
focusable: !0,
|
|
20
20
|
value: t,
|
|
21
21
|
error: a,
|
|
22
|
+
withIcons: e.withIcons,
|
|
22
23
|
confirmable: !0,
|
|
23
24
|
saveOnClickOutside: i.value,
|
|
24
25
|
onChange(u) {
|
|
25
26
|
t.value = u, a.value = e.validateFunction?.(t.value);
|
|
26
27
|
},
|
|
27
|
-
onClose:
|
|
28
|
+
onClose: c
|
|
28
29
|
});
|
|
29
|
-
const
|
|
30
|
+
const v = () => {
|
|
30
31
|
l.value || e.isLoading || (l.value = !l.value);
|
|
31
32
|
}, s = () => {
|
|
32
33
|
t.value = e.cell, a.value = null;
|
|
@@ -34,7 +35,7 @@ const E = (e) => {
|
|
|
34
35
|
return x(o, () => {
|
|
35
36
|
if (l.value) {
|
|
36
37
|
if (i.value) {
|
|
37
|
-
|
|
38
|
+
c();
|
|
38
39
|
return;
|
|
39
40
|
}
|
|
40
41
|
l.value = !1, s(), r.onClose();
|
|
@@ -45,11 +46,11 @@ const E = (e) => {
|
|
|
45
46
|
l.value || (t.value = e.cell);
|
|
46
47
|
}
|
|
47
48
|
), {
|
|
48
|
-
onEdit:
|
|
49
|
+
onEdit: v,
|
|
49
50
|
target: o,
|
|
50
51
|
isEditing: l
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
54
|
export {
|
|
54
|
-
|
|
55
|
+
g as editableCommon
|
|
55
56
|
};
|
|
@@ -4,6 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
rowIndex: number;
|
|
5
5
|
cellIndex: number;
|
|
6
6
|
type: "input" | "dropdown";
|
|
7
|
+
withIcons?: boolean;
|
|
7
8
|
saveOnClickOutside?: boolean;
|
|
8
9
|
validateFunction?: (value: unknown) => string | boolean;
|
|
9
10
|
displayValue?: (option: unknown) => unknown;
|
|
@@ -12,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
13
|
isLoading: boolean;
|
|
13
14
|
type: string;
|
|
14
15
|
saveOnClickOutside: boolean;
|
|
16
|
+
withIcons: boolean;
|
|
15
17
|
validateFunction: () => false;
|
|
16
18
|
displayValue: (cell: unknown) => unknown;
|
|
17
19
|
}>, {}, 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<{
|
|
@@ -20,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
22
|
rowIndex: number;
|
|
21
23
|
cellIndex: number;
|
|
22
24
|
type: "input" | "dropdown";
|
|
25
|
+
withIcons?: boolean;
|
|
23
26
|
saveOnClickOutside?: boolean;
|
|
24
27
|
validateFunction?: (value: unknown) => string | boolean;
|
|
25
28
|
displayValue?: (option: unknown) => unknown;
|
|
@@ -28,11 +31,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
31
|
isLoading: boolean;
|
|
29
32
|
type: string;
|
|
30
33
|
saveOnClickOutside: boolean;
|
|
34
|
+
withIcons: boolean;
|
|
31
35
|
validateFunction: () => false;
|
|
32
36
|
displayValue: (cell: unknown) => unknown;
|
|
33
37
|
}>>>, {
|
|
34
38
|
type: "input" | "dropdown";
|
|
35
39
|
cell: string;
|
|
40
|
+
withIcons: boolean;
|
|
36
41
|
saveOnClickOutside: boolean;
|
|
37
42
|
validateFunction: (value: unknown) => string | boolean;
|
|
38
43
|
isLoading: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./EditableV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../EditableV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-1bbe222a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../../EditableV4.
|
|
1
|
+
import "../../../EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css"; import { defineComponent as f, openBlock as o, createElementBlock as i, unref as t, createElementVNode as m, renderSlot as r, createVNode as d, withCtx as y, createTextVNode as k, toDisplayString as V, createBlock as b, createCommentVNode as g } from "vue";
|
|
2
2
|
import { editableCommon as v } from "../common/Editable.common.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import w from "../../typography/v4/Typography.vue.js";
|
|
4
|
+
import x from "../../input/v4/TextField.vue.js";
|
|
5
|
+
import B from "../../icon/v4/IconV4.vue.js";
|
|
6
6
|
import "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
const
|
|
7
|
+
const C = { class: "editable-wrapper" }, E = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "editable-content"
|
|
10
|
-
}, S = /* @__PURE__ */
|
|
10
|
+
}, S = /* @__PURE__ */ f({
|
|
11
11
|
__name: "EditableV4",
|
|
12
12
|
props: {
|
|
13
13
|
cell: { default: "" },
|
|
@@ -15,6 +15,7 @@ const B = { class: "editable-wrapper" }, E = {
|
|
|
15
15
|
rowIndex: null,
|
|
16
16
|
cellIndex: null,
|
|
17
17
|
type: { default: "input" },
|
|
18
|
+
withIcons: { type: Boolean, default: !0 },
|
|
18
19
|
saveOnClickOutside: { type: Boolean, default: !0 },
|
|
19
20
|
validateFunction: { type: Function, default: () => !1 },
|
|
20
21
|
displayValue: { type: Function, default: (e) => e }
|
|
@@ -28,18 +29,18 @@ const B = { class: "editable-wrapper" }, E = {
|
|
|
28
29
|
onClick: a[0] || (a[0] = //@ts-ignore
|
|
29
30
|
(...p) => t(n) && t(n)(...p))
|
|
30
31
|
}, [
|
|
31
|
-
|
|
32
|
+
m("div", C, [
|
|
32
33
|
t(u) ? r(l.$slots, "input", { key: 0 }, () => [
|
|
33
|
-
d(t(
|
|
34
|
+
d(t(x))
|
|
34
35
|
], !0) : (o(), i("div", E, [
|
|
35
36
|
r(l.$slots, "content", {}, () => [
|
|
36
|
-
d(t(
|
|
37
|
+
d(t(w), { variant: "body1" }, {
|
|
37
38
|
default: y(() => [
|
|
38
39
|
k(V(e.displayValue(e.cell)), 1)
|
|
39
40
|
]),
|
|
40
41
|
_: 1
|
|
41
42
|
}),
|
|
42
|
-
e.type === "dropdown" ? (o(), b(t(
|
|
43
|
+
e.type === "dropdown" ? (o(), b(t(B), {
|
|
43
44
|
key: 0,
|
|
44
45
|
class: "caret-icon",
|
|
45
46
|
name: "caret-down",
|