@ironsource/shared-ui 2.1.7-test.8 → 2.1.7-test.9
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/DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
- package/README.md +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_5efe563d_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.js +89 -89
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
- package/components/dropdown/v4/DropdownV4.vue.d.ts +29 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +186 -158
- package/components/dropdown/v4/OptionV4.vue.d.ts +26 -2
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +94 -71
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
- package/components/dropdown/v4/TreeDropdown.vue.js +4 -4
- package/components/dropdown/v4/TreeDropdown.vue2.js +162 -74
- package/components/dropdown/v4/index.d.ts +451 -82
- package/components/table/common/Table.common.js +68 -71
- package/components/table/v4/DataGrid.vue.d.ts +4 -10
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +146 -140
- package/components/table/v4/DataGridRowsCounter.vue.js +2 -2
- package/components/table/v4/DataGridRowsCounter.vue2.js +13 -14
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +7 -41
- package/components/table/v4/storyUtils.d.ts +0 -8
- package/index.d.ts +1203 -533
- package/mocks/options.d.ts +12 -0
- package/package.json +1 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_467ea11a_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
- package/utils/formatNumbers.d.ts +0 -4
- package/utils/formatNumbers.js +0 -11
|
@@ -30,8 +30,6 @@ declare const DataGridTypes: () => (({
|
|
|
30
30
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
31
31
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
32
32
|
zIndexBase: number;
|
|
33
|
-
rowCustomClassKey: string;
|
|
34
|
-
rowDataKey: string;
|
|
35
33
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
36
34
|
sort: {
|
|
37
35
|
type: import("vue").PropType<import("../common/Table.types").Sort>;
|
|
@@ -133,14 +131,6 @@ declare const DataGridTypes: () => (({
|
|
|
133
131
|
type: import("vue").PropType<number>;
|
|
134
132
|
default: number;
|
|
135
133
|
};
|
|
136
|
-
rowCustomClassKey: {
|
|
137
|
-
type: import("vue").PropType<string>;
|
|
138
|
-
default: string;
|
|
139
|
-
};
|
|
140
|
-
rowDataKey: {
|
|
141
|
-
type: import("vue").PropType<string>;
|
|
142
|
-
default: string;
|
|
143
|
-
};
|
|
144
134
|
}>> & {
|
|
145
135
|
onSelectAll?: (value: boolean) => any;
|
|
146
136
|
"onUpdate:search"?: (query: string) => any;
|
|
@@ -157,7 +147,7 @@ declare const DataGridTypes: () => (({
|
|
|
157
147
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
158
148
|
onSelectRow?: (value: boolean) => any;
|
|
159
149
|
onClickRow?: (rowIndex: number) => any;
|
|
160
|
-
} & 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" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase"
|
|
150
|
+
} & 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" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase">;
|
|
161
151
|
$attrs: {
|
|
162
152
|
[x: string]: unknown;
|
|
163
153
|
};
|
|
@@ -277,14 +267,6 @@ declare const DataGridTypes: () => (({
|
|
|
277
267
|
type: import("vue").PropType<number>;
|
|
278
268
|
default: number;
|
|
279
269
|
};
|
|
280
|
-
rowCustomClassKey: {
|
|
281
|
-
type: import("vue").PropType<string>;
|
|
282
|
-
default: string;
|
|
283
|
-
};
|
|
284
|
-
rowDataKey: {
|
|
285
|
-
type: import("vue").PropType<string>;
|
|
286
|
-
default: string;
|
|
287
|
-
};
|
|
288
270
|
}>> & {
|
|
289
271
|
onSelectAll?: (value: boolean) => any;
|
|
290
272
|
"onUpdate:search"?: (query: string) => any;
|
|
@@ -343,8 +325,6 @@ declare const DataGridTypes: () => (({
|
|
|
343
325
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
344
326
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
345
327
|
zIndexBase: number;
|
|
346
|
-
rowCustomClassKey: string;
|
|
347
|
-
rowDataKey: string;
|
|
348
328
|
}, {}, string> & {
|
|
349
329
|
beforeCreate?: (() => void) | (() => void)[];
|
|
350
330
|
created?: (() => void) | (() => void)[];
|
|
@@ -466,14 +446,6 @@ declare const DataGridTypes: () => (({
|
|
|
466
446
|
type: import("vue").PropType<number>;
|
|
467
447
|
default: number;
|
|
468
448
|
};
|
|
469
|
-
rowCustomClassKey: {
|
|
470
|
-
type: import("vue").PropType<string>;
|
|
471
|
-
default: string;
|
|
472
|
-
};
|
|
473
|
-
rowDataKey: {
|
|
474
|
-
type: import("vue").PropType<string>;
|
|
475
|
-
default: string;
|
|
476
|
-
};
|
|
477
449
|
}>> & {
|
|
478
450
|
onSelectAll?: (value: boolean) => any;
|
|
479
451
|
"onUpdate:search"?: (query: string) => any;
|
|
@@ -597,14 +569,6 @@ declare const DataGridTypes: () => (({
|
|
|
597
569
|
type: import("vue").PropType<number>;
|
|
598
570
|
default: number;
|
|
599
571
|
};
|
|
600
|
-
rowCustomClassKey: {
|
|
601
|
-
type: import("vue").PropType<string>;
|
|
602
|
-
default: string;
|
|
603
|
-
};
|
|
604
|
-
rowDataKey: {
|
|
605
|
-
type: import("vue").PropType<string>;
|
|
606
|
-
default: string;
|
|
607
|
-
};
|
|
608
572
|
}>> & {
|
|
609
573
|
onSelectAll?: (value: boolean) => any;
|
|
610
574
|
"onUpdate:search"?: (query: string) => any;
|
|
@@ -663,8 +627,6 @@ declare const DataGridTypes: () => (({
|
|
|
663
627
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
664
628
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
665
629
|
zIndexBase: number;
|
|
666
|
-
rowCustomClassKey: string;
|
|
667
|
-
rowDataKey: string;
|
|
668
630
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
669
631
|
$slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
|
|
670
632
|
column: import("../common/Table.types").Column;
|
|
@@ -684,6 +646,10 @@ declare const DataGridTypes: () => (({
|
|
|
684
646
|
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
685
647
|
gridColumnTemplate: any;
|
|
686
648
|
}): any;
|
|
649
|
+
"floating-row"?(_: {
|
|
650
|
+
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
651
|
+
rowIndex: number;
|
|
652
|
+
}): any;
|
|
687
653
|
"empty-state"?(_: {}): any;
|
|
688
654
|
footer?(_: {}): any;
|
|
689
655
|
};
|
|
@@ -1225,8 +1191,8 @@ declare const DataGridTypes: () => (({
|
|
|
1225
1191
|
search?(_: {}): any;
|
|
1226
1192
|
"table-header-actions"?(_: {}): any;
|
|
1227
1193
|
"floating-row"?(_: {
|
|
1228
|
-
row:
|
|
1229
|
-
rowIndex:
|
|
1194
|
+
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
1195
|
+
rowIndex: number;
|
|
1230
1196
|
}): any;
|
|
1231
1197
|
"empty-state"?(_: {}): any;
|
|
1232
1198
|
};
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
export declare const getRandomRows: (count: number, template?: string[]) => any[][];
|
|
2
|
-
export declare const getRandomObjectRows: (count: number, template?: string[]) => {
|
|
3
|
-
rowData: any[];
|
|
4
|
-
customClass: string;
|
|
5
|
-
}[];
|
|
6
2
|
export declare const searchRows: (array: string[][], query: string) => string[][];
|
|
7
3
|
export declare const exampleRows: string[][];
|
|
8
4
|
export declare const moreExampleRows: string[][];
|
|
9
5
|
export declare const exampleRowsWithExtraColumns: string[][];
|
|
10
|
-
export declare const exampleObjectRows: {
|
|
11
|
-
rowData: string[];
|
|
12
|
-
customClass: string;
|
|
13
|
-
}[];
|