@ironsource/shared-ui 2.1.12-rc.20 → 2.1.12-rc.22

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 (52) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css +1 -0
  2. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_86b82f0c_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +1 -0
  6. package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +1 -0
  7. package/components/chart/Chart.vue.js +3 -3
  8. package/components/chart/Chart.vue2.js +17 -16
  9. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  10. package/components/chart/ChartHeaderTrend.vue2.js +34 -33
  11. package/components/chart/ChartStoryArgs.d.ts +1 -1
  12. package/components/dateRange/common/DateServices.common.d.ts +6 -0
  13. package/components/dateRange/common/DateServices.common.js +87 -92
  14. package/components/dateRange/common/consts.common.d.ts +5 -0
  15. package/components/dateRange/common/consts.common.js +9 -3
  16. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  17. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  18. package/components/dateRange/v3/index.d.ts +7 -7
  19. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  20. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  21. package/components/dateRange/v4/index.d.ts +7 -7
  22. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  23. package/components/dropdown/common/Dropdown.common.js +44 -43
  24. package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
  25. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  26. package/components/dropdown/v4/DropdownV4.vue2.js +218 -189
  27. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  28. package/components/dropdown/v4/OptionV4.vue2.js +71 -68
  29. package/components/dropdown/v4/index.d.ts +39 -1
  30. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  31. package/components/switch/v4/SwitchV4.vue.js +3 -3
  32. package/components/switch/v4/SwitchV4.vue2.js +25 -23
  33. package/components/switch/v4/index.d.ts +11 -0
  34. package/components/table/common/Table.common.d.ts +0 -1
  35. package/components/table/common/Table.common.js +38 -39
  36. package/components/table/common/Table.types.d.ts +2 -0
  37. package/components/table/common/consts.d.ts +1 -0
  38. package/components/table/common/consts.js +2 -1
  39. package/components/table/v4/DataGrid.vue.d.ts +10 -1
  40. package/components/table/v4/DataGrid.vue.js +4 -4
  41. package/components/table/v4/DataGrid.vue2.js +294 -237
  42. package/components/table/v4/index.d.ts +34 -1
  43. package/components/table/v4/storyUtils.d.ts +2 -0
  44. package/index.d.ts +182 -18
  45. package/index.js +1 -1
  46. package/package.json +1 -1
  47. package/Chart.vue_vue_type_style_index_0_scoped_64205c96_lang.css +0 -1
  48. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_79dc2883_lang.css +0 -1
  49. package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +0 -1
  50. package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +0 -1
  51. package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +0 -1
  52. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
@@ -31,6 +31,7 @@ declare const DataGridTypes: () => (({
31
31
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
32
32
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
33
33
  emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
34
+ helpTooltipVariant: "icon" | "underline";
34
35
  rowCustomClassKey: string;
35
36
  rowDataKey: string;
36
37
  isSelectionSticky: boolean;
@@ -140,6 +141,13 @@ declare const DataGridTypes: () => (({
140
141
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
141
142
  default: any;
142
143
  };
144
+ showTotalsRow: {
145
+ type: import("vue").PropType<boolean>;
146
+ };
147
+ helpTooltipVariant: {
148
+ type: import("vue").PropType<"icon" | "underline">;
149
+ default: string;
150
+ };
143
151
  rowCustomClassKey: {
144
152
  type: import("vue").PropType<string>;
145
153
  default: string;
@@ -167,7 +175,7 @@ declare const DataGridTypes: () => (({
167
175
  "onUpdate:selection"?: (selection: unknown[]) => any;
168
176
  onSelectRow?: (value: boolean) => any;
169
177
  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" | "zIndexBase" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
178
+ } & 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" | "helpTooltipVariant" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
171
179
  $attrs: {
172
180
  [x: string]: unknown;
173
181
  };
@@ -286,6 +294,13 @@ declare const DataGridTypes: () => (({
286
294
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
287
295
  default: any;
288
296
  };
297
+ showTotalsRow: {
298
+ type: import("vue").PropType<boolean>;
299
+ };
300
+ helpTooltipVariant: {
301
+ type: import("vue").PropType<"icon" | "underline">;
302
+ default: string;
303
+ };
289
304
  rowCustomClassKey: {
290
305
  type: import("vue").PropType<string>;
291
306
  default: string;
@@ -351,6 +366,7 @@ declare const DataGridTypes: () => (({
351
366
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
352
367
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
353
368
  emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
369
+ helpTooltipVariant: "icon" | "underline";
354
370
  rowCustomClassKey: string;
355
371
  rowDataKey: string;
356
372
  isSelectionSticky: boolean;
@@ -480,6 +496,13 @@ declare const DataGridTypes: () => (({
480
496
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
481
497
  default: any;
482
498
  };
499
+ showTotalsRow: {
500
+ type: import("vue").PropType<boolean>;
501
+ };
502
+ helpTooltipVariant: {
503
+ type: import("vue").PropType<"icon" | "underline">;
504
+ default: string;
505
+ };
483
506
  rowCustomClassKey: {
484
507
  type: import("vue").PropType<string>;
485
508
  default: string;
@@ -618,6 +641,13 @@ declare const DataGridTypes: () => (({
618
641
  type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
619
642
  default: any;
620
643
  };
644
+ showTotalsRow: {
645
+ type: import("vue").PropType<boolean>;
646
+ };
647
+ helpTooltipVariant: {
648
+ type: import("vue").PropType<"icon" | "underline">;
649
+ default: string;
650
+ };
621
651
  rowCustomClassKey: {
622
652
  type: import("vue").PropType<string>;
623
653
  default: string;
@@ -683,6 +713,7 @@ declare const DataGridTypes: () => (({
683
713
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
684
714
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
685
715
  emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
716
+ helpTooltipVariant: "icon" | "underline";
686
717
  rowCustomClassKey: string;
687
718
  rowDataKey: string;
688
719
  isSelectionSticky: boolean;
@@ -690,6 +721,8 @@ declare const DataGridTypes: () => (({
690
721
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
691
722
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
692
723
  column: import("../common/Table.types").Column;
724
+ }) => any>> & Partial<Record<`total-${string}`, (_: {
725
+ column: import("../common/Table.types").Column;
693
726
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
694
727
  cell: unknown;
695
728
  isLoading: boolean;
@@ -11,3 +11,5 @@ export declare const exampleObjectRows: {
11
11
  rowData: string[];
12
12
  customClass: string;
13
13
  }[];
14
+ export declare const exampleNumbersRows: string[][];
15
+ export declare const exampleNumbersRowsExtra: string[][];