@ironsource/shared-ui 2.1.8-test.0 → 2.1.8

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.
Files changed (42) hide show
  1. package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +1 -0
  2. package/DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css +1 -0
  3. package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +1 -0
  4. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +1 -0
  5. package/Table.vue_vue_type_style_index_0_scoped_9375215d_lang.css +1 -0
  6. package/components/chart/consts.d.ts +0 -6
  7. package/components/chart/consts.js +15 -14
  8. package/components/chart/index.d.ts +20 -21
  9. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  10. package/components/dropdown/common/Dropdown.common.js +207 -178
  11. package/components/dropdown/common/consts.d.ts +1 -0
  12. package/components/dropdown/common/consts.js +4 -0
  13. package/components/dropdown/common/useGroupedOptions.d.ts +10 -0
  14. package/components/dropdown/common/useGroupedOptions.js +57 -0
  15. package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -0
  16. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  17. package/components/dropdown/v4/DropdownV4.vue2.js +136 -125
  18. package/components/dropdown/v4/GroupOption.vue.d.ts +9 -0
  19. package/components/dropdown/v4/GroupOption.vue.js +7 -0
  20. package/components/dropdown/v4/GroupOption.vue2.js +29 -0
  21. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  22. package/components/dropdown/v4/index.d.ts +21 -1
  23. package/components/table/common/Table.types.d.ts +6 -0
  24. package/components/table/v3/Table.vue.d.ts +3 -13
  25. package/components/table/v3/Table.vue.js +5 -5
  26. package/components/table/v3/Table.vue2.js +2 -2
  27. package/components/table/v3/index.d.ts +7 -42
  28. package/components/table/v4/DataGrid.vue.d.ts +3 -13
  29. package/components/table/v4/DataGrid.vue.js +3 -3
  30. package/components/table/v4/DataGrid.vue2.js +5 -5
  31. package/components/table/v4/MultipleDataGrid.vue.d.ts +7 -1
  32. package/components/table/v4/MultipleDataGrid.vue.js +3 -3
  33. package/components/table/v4/MultipleDataGrid.vue2.js +76 -75
  34. package/components/table/v4/index.d.ts +28 -43
  35. package/index.d.ts +112 -172
  36. package/index.js +9 -11
  37. package/mocks/apps.d.ts +7 -0
  38. package/package.json +1 -1
  39. package/DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css +0 -1
  40. package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +0 -1
  41. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +0 -1
  42. package/Table.vue_vue_type_style_index_0_scoped_76fef9bd_lang.css +0 -1
@@ -146,12 +146,7 @@ declare const DataGridTypes: () => (({
146
146
  "onUpdate:search"?: (query: string) => any;
147
147
  onOnScroll?: (event: Event) => any;
148
148
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
149
- onSaveRow?: (args_0: {
150
- value: unknown;
151
- confirm: () => void;
152
- rowIndex: number;
153
- cellIndex: number;
154
- }) => any;
149
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
155
150
  onLoadMore?: () => any;
156
151
  onOnClearSearch?: () => any;
157
152
  "onUpdate:selection"?: (selection: unknown[]) => any;
@@ -169,12 +164,7 @@ declare const DataGridTypes: () => (({
169
164
  }>;
170
165
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
171
166
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
172
- $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "update:search", query: string) => void) & ((event: "onClearSearch") => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: {
173
- value: unknown;
174
- confirm: () => void;
175
- rowIndex: number;
176
- cellIndex: number;
177
- }) => void) & ((event: "loadMore") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "clickRow", rowIndex: number) => void);
167
+ $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "update:search", query: string) => void) & ((event: "onClearSearch") => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "loadMore") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "clickRow", rowIndex: number) => void);
178
168
  $el: any;
179
169
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
180
170
  sort: {
@@ -290,12 +280,7 @@ declare const DataGridTypes: () => (({
290
280
  "onUpdate:search"?: (query: string) => any;
291
281
  onOnScroll?: (event: Event) => any;
292
282
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
293
- onSaveRow?: (args_0: {
294
- value: unknown;
295
- confirm: () => void;
296
- rowIndex: number;
297
- cellIndex: number;
298
- }) => any;
283
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
299
284
  onLoadMore?: () => any;
300
285
  onOnClearSearch?: () => any;
301
286
  "onUpdate:selection"?: (selection: unknown[]) => any;
@@ -309,12 +294,7 @@ declare const DataGridTypes: () => (({
309
294
  "update:selection": (selection: unknown[]) => void;
310
295
  onScroll: (event: Event) => void;
311
296
  onClearSearch: () => void;
312
- saveRow: (args_0: {
313
- value: unknown;
314
- confirm: () => void;
315
- rowIndex: number;
316
- cellIndex: number;
317
- }) => void;
297
+ saveRow: (args_0: import("../common/Table.types").SaveRowEvent) => void;
318
298
  loadMore: () => void;
319
299
  selectAll: (value: boolean) => void;
320
300
  selectRow: (value: boolean) => void;
@@ -479,12 +459,7 @@ declare const DataGridTypes: () => (({
479
459
  "onUpdate:search"?: (query: string) => any;
480
460
  onOnScroll?: (event: Event) => any;
481
461
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
482
- onSaveRow?: (args_0: {
483
- value: unknown;
484
- confirm: () => void;
485
- rowIndex: number;
486
- cellIndex: number;
487
- }) => any;
462
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
488
463
  onLoadMore?: () => any;
489
464
  onOnClearSearch?: () => any;
490
465
  "onUpdate:selection"?: (selection: unknown[]) => any;
@@ -610,12 +585,7 @@ declare const DataGridTypes: () => (({
610
585
  "onUpdate:search"?: (query: string) => any;
611
586
  onOnScroll?: (event: Event) => any;
612
587
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
613
- onSaveRow?: (args_0: {
614
- value: unknown;
615
- confirm: () => void;
616
- rowIndex: number;
617
- cellIndex: number;
618
- }) => any;
588
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
619
589
  onLoadMore?: () => any;
620
590
  onOnClearSearch?: () => any;
621
591
  "onUpdate:selection"?: (selection: unknown[]) => any;
@@ -629,12 +599,7 @@ declare const DataGridTypes: () => (({
629
599
  "update:selection": (selection: unknown[]) => void;
630
600
  onScroll: (event: Event) => void;
631
601
  onClearSearch: () => void;
632
- saveRow: (args_0: {
633
- value: unknown;
634
- confirm: () => void;
635
- rowIndex: number;
636
- cellIndex: number;
637
- }) => void;
602
+ saveRow: (args_0: import("../common/Table.types").SaveRowEvent) => void;
638
603
  loadMore: () => void;
639
604
  selectAll: (value: boolean) => void;
640
605
  selectRow: (value: boolean) => void;
@@ -885,6 +850,9 @@ declare const DataGridTypes: () => (({
885
850
  }>> & {
886
851
  "onUpdate:search"?: (query: string) => any;
887
852
  onOnScroll?: (scrollTop: number) => any;
853
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent & {
854
+ tableIndex: number;
855
+ }) => any;
888
856
  onOnClearSearch?: () => any;
889
857
  onClickRow?: (rowIndex: number, tableIndex: number) => any;
890
858
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
@@ -899,7 +867,9 @@ declare const DataGridTypes: () => (({
899
867
  }>;
900
868
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
901
869
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
902
- $emit: ((event: "onScroll", scrollTop: number) => void) & ((event: "update:search", query: string) => void) & ((event: "onClearSearch") => void) & ((event: "clickRow", rowIndex: number, tableIndex: number) => void);
870
+ $emit: ((event: "onScroll", scrollTop: number) => void) & ((event: "update:search", query: string) => void) & ((event: "onClearSearch") => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent & {
871
+ tableIndex: number;
872
+ }) => void) & ((event: "clickRow", rowIndex: number, tableIndex: number) => void);
903
873
  $el: any;
904
874
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
905
875
  search: {
@@ -979,6 +949,9 @@ declare const DataGridTypes: () => (({
979
949
  }>> & {
980
950
  "onUpdate:search"?: (query: string) => any;
981
951
  onOnScroll?: (scrollTop: number) => any;
952
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent & {
953
+ tableIndex: number;
954
+ }) => any;
982
955
  onOnClearSearch?: () => any;
983
956
  onClickRow?: (rowIndex: number, tableIndex: number) => any;
984
957
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -986,6 +959,9 @@ declare const DataGridTypes: () => (({
986
959
  onScroll: (scrollTop: number) => void;
987
960
  onClearSearch: () => void;
988
961
  clickRow: (rowIndex: number, tableIndex: number) => void;
962
+ saveRow: (args_0: import("../common/Table.types").SaveRowEvent & {
963
+ tableIndex: number;
964
+ }) => void;
989
965
  }, string, {
990
966
  search: string;
991
967
  testId: string;
@@ -1103,6 +1079,9 @@ declare const DataGridTypes: () => (({
1103
1079
  }>> & {
1104
1080
  "onUpdate:search"?: (query: string) => any;
1105
1081
  onOnScroll?: (scrollTop: number) => any;
1082
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent & {
1083
+ tableIndex: number;
1084
+ }) => any;
1106
1085
  onOnClearSearch?: () => any;
1107
1086
  onClickRow?: (rowIndex: number, tableIndex: number) => any;
1108
1087
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -1187,6 +1166,9 @@ declare const DataGridTypes: () => (({
1187
1166
  }>> & {
1188
1167
  "onUpdate:search"?: (query: string) => any;
1189
1168
  onOnScroll?: (scrollTop: number) => any;
1169
+ onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent & {
1170
+ tableIndex: number;
1171
+ }) => any;
1190
1172
  onOnClearSearch?: () => any;
1191
1173
  onClickRow?: (rowIndex: number, tableIndex: number) => any;
1192
1174
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1194,6 +1176,9 @@ declare const DataGridTypes: () => (({
1194
1176
  onScroll: (scrollTop: number) => void;
1195
1177
  onClearSearch: () => void;
1196
1178
  clickRow: (rowIndex: number, tableIndex: number) => void;
1179
+ saveRow: (args_0: import("../common/Table.types").SaveRowEvent & {
1180
+ tableIndex: number;
1181
+ }) => void;
1197
1182
  }, string, {
1198
1183
  search: string;
1199
1184
  testId: string;