@ironsource/shared-ui 2.1.12-rc.47 → 2.1.12-rc.49

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 (97) hide show
  1. package/ChartPlane.vue_vue_type_style_index_0_scoped_908ef54f_lang.css +1 -0
  2. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css +1 -0
  4. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_lang.css +1 -0
  6. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  7. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  8. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  9. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  10. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  11. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  12. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  13. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  14. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  15. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  16. package/components/chart/ChartPlane.vue.js +2 -2
  17. package/components/chart/ChartPlane.vue2.js +4 -4
  18. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  19. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  20. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  21. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  22. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  23. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  24. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  25. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  26. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  27. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  28. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  29. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  30. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  31. package/components/columnConfigurator/consts.d.ts +1 -0
  32. package/components/columnConfigurator/consts.js +4 -0
  33. package/components/columnConfigurator/index.d.ts +72 -0
  34. package/components/columnConfigurator/index.js +6 -0
  35. package/components/columnConfigurator/mockData.d.ts +30 -0
  36. package/components/columnConfigurator/utils.d.ts +2 -0
  37. package/components/columnConfigurator/utils.js +18 -0
  38. package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
  39. package/components/columnPicker/index.d.ts +20 -20
  40. package/components/dropdown/v4/DropdownV4.vue.d.ts +1 -0
  41. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  42. package/components/dropdown/v4/DropdownV4.vue2.js +88 -82
  43. package/components/dropdown/v4/index.d.ts +1 -0
  44. package/components/link/Link.vue.d.ts +5 -0
  45. package/components/link/Link.vue.js +3 -3
  46. package/components/link/Link.vue2.js +36 -28
  47. package/components/link/index.d.ts +20 -1
  48. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  49. package/components/sortableList/LoaderBars.vue.js +7 -0
  50. package/components/sortableList/LoaderBars.vue2.js +25 -0
  51. package/components/sortableList/SortableItem.vue.js +4 -4
  52. package/components/sortableList/SortableItem.vue2.js +3 -3
  53. package/components/sortableList/SortableList.vue.d.ts +2 -2
  54. package/components/sortableList/SortableList.vue.js +5 -5
  55. package/components/sortableList/SortableList.vue2.js +96 -106
  56. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  57. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  58. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  59. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  60. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  61. package/components/sortableList/consts.d.ts +2 -0
  62. package/components/sortableList/consts.js +4 -2
  63. package/components/sortableList/index.d.ts +39 -39
  64. package/components/table/v4/DataGrid.vue.d.ts +4 -3
  65. package/components/table/v4/DataGrid.vue.js +5 -5
  66. package/components/table/v4/DataGrid.vue2.js +349 -331
  67. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  68. package/components/table/v4/DataGridContainer.vue.js +7 -0
  69. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  70. package/components/table/v4/DataGridHeader.vue.d.ts +1 -1
  71. package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
  72. package/components/table/v4/index.d.ts +104 -103
  73. package/components/tagsField/TagsField.types.d.ts +4 -0
  74. package/components/tagsField/TagsField.vue.d.ts +65 -0
  75. package/components/tagsField/TagsField.vue.js +7 -0
  76. package/components/tagsField/TagsField.vue2.js +90 -0
  77. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  78. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  79. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  80. package/components/tagsField/consts.d.ts +1 -0
  81. package/components/tagsField/consts.js +4 -0
  82. package/components/tagsField/index.d.ts +75 -0
  83. package/components/tagsField/index.js +6 -0
  84. package/index.d.ts +290 -284
  85. package/index.js +86 -78
  86. package/package.json +9 -1
  87. package/testids/index.d.ts +13 -0
  88. package/testids/index.js +33 -31
  89. package/utils/object.d.ts +2 -0
  90. package/utils/object.js +9 -5
  91. package/utils/search.js +1 -1
  92. package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
  93. package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
  94. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
  95. package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
  96. package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
  97. package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
@@ -0,0 +1,72 @@
1
+ import ColumnConfigurator from './ColumnConfigurator.vue';
2
+ declare const ColumnConfiguratorTypes: () => import("vue").DefineComponent<{
3
+ testId: {
4
+ type: import("vue").PropType<string>;
5
+ default: string;
6
+ };
7
+ loading: {
8
+ type: import("vue").PropType<boolean>;
9
+ default: boolean;
10
+ };
11
+ selection: {
12
+ type: import("vue").PropType<(string | number)[]>;
13
+ required: true;
14
+ default: () => any[];
15
+ };
16
+ alwaysVisibleCount: {
17
+ type: import("vue").PropType<number>;
18
+ default: number;
19
+ };
20
+ columnsConfig: {
21
+ type: import("vue").PropType<import("./ColumnConfigurator.types").ColumnConfigSection[]>;
22
+ required: true;
23
+ default: () => any[];
24
+ };
25
+ childSelection: {
26
+ type: import("vue").PropType<Record<string, string | number>>;
27
+ required: true;
28
+ default: () => {};
29
+ };
30
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ "update:selection": (value: unknown[]) => void;
32
+ "update:childSelection": (value: Record<string, string | number>) => void;
33
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ testId: {
35
+ type: import("vue").PropType<string>;
36
+ default: string;
37
+ };
38
+ loading: {
39
+ type: import("vue").PropType<boolean>;
40
+ default: boolean;
41
+ };
42
+ selection: {
43
+ type: import("vue").PropType<(string | number)[]>;
44
+ required: true;
45
+ default: () => any[];
46
+ };
47
+ alwaysVisibleCount: {
48
+ type: import("vue").PropType<number>;
49
+ default: number;
50
+ };
51
+ columnsConfig: {
52
+ type: import("vue").PropType<import("./ColumnConfigurator.types").ColumnConfigSection[]>;
53
+ required: true;
54
+ default: () => any[];
55
+ };
56
+ childSelection: {
57
+ type: import("vue").PropType<Record<string, string | number>>;
58
+ required: true;
59
+ default: () => {};
60
+ };
61
+ }>> & {
62
+ "onUpdate:selection"?: (value: unknown[]) => any;
63
+ "onUpdate:childSelection"?: (value: Record<string, string | number>) => any;
64
+ }, {
65
+ testId: string;
66
+ loading: boolean;
67
+ selection: (string | number)[];
68
+ alwaysVisibleCount: number;
69
+ columnsConfig: import("./ColumnConfigurator.types").ColumnConfigSection[];
70
+ childSelection: Record<string, string | number>;
71
+ }>[];
72
+ export { ColumnConfigurator, ColumnConfiguratorTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./ColumnConfigurator.vue.js";
2
+ const n = () => [o];
3
+ export {
4
+ o as ColumnConfigurator,
5
+ n as ColumnConfiguratorTypes
6
+ };
@@ -0,0 +1,30 @@
1
+ import { ColumnConfigSection } from '@/components/columnConfigurator/ColumnConfigurator.types';
2
+ export declare enum ColumnId {
3
+ DATE = "date",
4
+ AD_FORMAT = "adFormat",
5
+ APP = "app",
6
+ PLATFORM = "platform",
7
+ COUNTRY = "country",
8
+ SEGMENT = "segment",
9
+ REVENUE = "revenue",
10
+ DAU = "dau",
11
+ IMPRESSIONS = "impressions",
12
+ CLICKS = "clicks",
13
+ CTR = "ctr",
14
+ ENGAGED_SESSIONS = "engagedSessions",
15
+ ENGAGEMENT_RATE = "engagementRate",
16
+ QCTR = "qctr",
17
+ REACH = "reach",
18
+ UNIQUE_CLICKS = "uniqueClicks",
19
+ VIDEO_VIEWS = "videoViews"
20
+ }
21
+ export declare const TABLE_COLUMNS: ({
22
+ id: ColumnId;
23
+ title: string;
24
+ width?: undefined;
25
+ } | {
26
+ id: ColumnId;
27
+ title: string;
28
+ width: number;
29
+ })[];
30
+ export declare const COLUMNS_CONFIG: ColumnConfigSection[];
@@ -0,0 +1,2 @@
1
+ import { ColumnConfigSection } from '@/components/columnConfigurator/ColumnConfigurator.types';
2
+ export declare const findOptionInSection: (section: ColumnConfigSection, optionId: number | string) => any;
@@ -0,0 +1,18 @@
1
+ const s = (n, i) => {
2
+ const t = n.sectionOptions;
3
+ if (!n.isGrouped) {
4
+ t.forEach((o) => i(o));
5
+ return;
6
+ }
7
+ t.forEach((o) => {
8
+ o.options.forEach((r) => i(r));
9
+ });
10
+ }, c = (n, i) => {
11
+ let t = null;
12
+ return s(n, (o) => {
13
+ o.id === i && (t = o);
14
+ }), t;
15
+ };
16
+ export {
17
+ c as findOptionInSection
18
+ };
@@ -78,10 +78,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
78
  noResultsText: string;
79
79
  searchAutoFocus: boolean;
80
80
  searchPlaceholder: string;
81
+ headerText: string;
81
82
  appendToBody: boolean;
82
83
  defaultSelection: unknown[];
83
84
  inlineGroupIds: unknown[];
84
- headerText: string;
85
85
  idKey: string;
86
86
  displayKey: string;
87
87
  childrenKey: string;
@@ -11,10 +11,10 @@ declare const ColumnPickerTypes: () => ({
11
11
  noResultsText: string;
12
12
  searchAutoFocus: boolean;
13
13
  searchPlaceholder: string;
14
+ headerText: string;
14
15
  appendToBody: boolean;
15
16
  defaultSelection: unknown[];
16
17
  inlineGroupIds: unknown[];
17
- headerText: string;
18
18
  idKey: string;
19
19
  displayKey: string;
20
20
  childrenKey: string;
@@ -52,6 +52,10 @@ declare const ColumnPickerTypes: () => ({
52
52
  type: import("vue").PropType<string>;
53
53
  default: string;
54
54
  };
55
+ headerText: {
56
+ type: import("vue").PropType<string>;
57
+ default: string;
58
+ };
55
59
  appendToBody: {
56
60
  type: import("vue").PropType<boolean>;
57
61
  default: boolean;
@@ -64,10 +68,6 @@ declare const ColumnPickerTypes: () => ({
64
68
  type: import("vue").PropType<unknown[]>;
65
69
  default: () => any[];
66
70
  };
67
- headerText: {
68
- type: import("vue").PropType<string>;
69
- default: string;
70
- };
71
71
  idKey: {
72
72
  type: import("vue").PropType<string>;
73
73
  default: string;
@@ -90,7 +90,7 @@ declare const ColumnPickerTypes: () => ({
90
90
  };
91
91
  }>> & {
92
92
  "onUpdate:selected"?: (value: unknown[]) => any;
93
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "minSelections" | "noResultsText" | "searchAutoFocus" | "searchPlaceholder" | "appendToBody" | "defaultSelection" | "inlineGroupIds" | "headerText" | "idKey" | "displayKey" | "childrenKey" | "disabledKey" | "minSelectionsTooltipMessage">;
93
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "minSelections" | "noResultsText" | "searchAutoFocus" | "searchPlaceholder" | "headerText" | "appendToBody" | "defaultSelection" | "inlineGroupIds" | "idKey" | "displayKey" | "childrenKey" | "disabledKey" | "minSelectionsTooltipMessage">;
94
94
  $attrs: {
95
95
  [x: string]: unknown;
96
96
  };
@@ -136,6 +136,10 @@ declare const ColumnPickerTypes: () => ({
136
136
  type: import("vue").PropType<string>;
137
137
  default: string;
138
138
  };
139
+ headerText: {
140
+ type: import("vue").PropType<string>;
141
+ default: string;
142
+ };
139
143
  appendToBody: {
140
144
  type: import("vue").PropType<boolean>;
141
145
  default: boolean;
@@ -148,10 +152,6 @@ declare const ColumnPickerTypes: () => ({
148
152
  type: import("vue").PropType<unknown[]>;
149
153
  default: () => any[];
150
154
  };
151
- headerText: {
152
- type: import("vue").PropType<string>;
153
- default: string;
154
- };
155
155
  idKey: {
156
156
  type: import("vue").PropType<string>;
157
157
  default: string;
@@ -184,10 +184,10 @@ declare const ColumnPickerTypes: () => ({
184
184
  noResultsText: string;
185
185
  searchAutoFocus: boolean;
186
186
  searchPlaceholder: string;
187
+ headerText: string;
187
188
  appendToBody: boolean;
188
189
  defaultSelection: unknown[];
189
190
  inlineGroupIds: unknown[];
190
- headerText: string;
191
191
  idKey: string;
192
192
  displayKey: string;
193
193
  childrenKey: string;
@@ -245,6 +245,10 @@ declare const ColumnPickerTypes: () => ({
245
245
  type: import("vue").PropType<string>;
246
246
  default: string;
247
247
  };
248
+ headerText: {
249
+ type: import("vue").PropType<string>;
250
+ default: string;
251
+ };
248
252
  appendToBody: {
249
253
  type: import("vue").PropType<boolean>;
250
254
  default: boolean;
@@ -257,10 +261,6 @@ declare const ColumnPickerTypes: () => ({
257
261
  type: import("vue").PropType<unknown[]>;
258
262
  default: () => any[];
259
263
  };
260
- headerText: {
261
- type: import("vue").PropType<string>;
262
- default: string;
263
- };
264
264
  idKey: {
265
265
  type: import("vue").PropType<string>;
266
266
  default: string;
@@ -319,6 +319,10 @@ declare const ColumnPickerTypes: () => ({
319
319
  type: import("vue").PropType<string>;
320
320
  default: string;
321
321
  };
322
+ headerText: {
323
+ type: import("vue").PropType<string>;
324
+ default: string;
325
+ };
322
326
  appendToBody: {
323
327
  type: import("vue").PropType<boolean>;
324
328
  default: boolean;
@@ -331,10 +335,6 @@ declare const ColumnPickerTypes: () => ({
331
335
  type: import("vue").PropType<unknown[]>;
332
336
  default: () => any[];
333
337
  };
334
- headerText: {
335
- type: import("vue").PropType<string>;
336
- default: string;
337
- };
338
338
  idKey: {
339
339
  type: import("vue").PropType<string>;
340
340
  default: string;
@@ -367,10 +367,10 @@ declare const ColumnPickerTypes: () => ({
367
367
  noResultsText: string;
368
368
  searchAutoFocus: boolean;
369
369
  searchPlaceholder: string;
370
+ headerText: string;
370
371
  appendToBody: boolean;
371
372
  defaultSelection: unknown[];
372
373
  inlineGroupIds: unknown[];
373
- headerText: string;
374
374
  idKey: string;
375
375
  displayKey: string;
376
376
  childrenKey: string;
@@ -417,6 +417,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
417
417
  "option-end"?(_: {
418
418
  option: any;
419
419
  }): any;
420
+ footer?(_: {}): any;
420
421
  }>;
421
422
  export default _default;
422
423
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,8 +1,8 @@
1
1
  import o from "./DropdownV4.vue2.js";
2
- /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css"; //*');
2
+ /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_lang.css"; //*');
4
4
  // import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const d = /* @__PURE__ */ _(o, [["__scopeId", "data-v-55dd36a7"]]);
5
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f9907ea0"]]);
6
6
  export {
7
- d as default
7
+ r as default
8
8
  };