@ironsource/shared-ui 2.1.7-test.3 → 2.1.7-test.4

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 (61) hide show
  1. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
  2. package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +1 -0
  3. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
  4. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
  5. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
  6. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css +1 -0
  7. package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +1 -0
  8. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
  9. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
  10. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
  11. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  12. package/components/appHeader/index.d.ts +9 -9
  13. package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
  14. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  15. package/components/dropdown/v4/DropdownV4.vue2.js +151 -147
  16. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  17. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  18. package/components/dropdown/v4/OptionV4.vue2.js +70 -53
  19. package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
  20. package/components/dropdown/v4/index.d.ts +78 -2
  21. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  22. package/components/icon/v4/IconV4.vue.js +4 -4
  23. package/components/icon/v4/IconV4.vue2.js +29 -26
  24. package/components/icon/v4/index.d.ts +20 -1
  25. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  26. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  27. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  28. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  29. package/components/popover/common/Popover.common.d.ts +6 -0
  30. package/components/popover/common/Popover.common.js +17 -0
  31. package/components/popover/v3/Popover.vue.js +8 -0
  32. package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
  33. package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
  34. package/components/popover/v4/PopoverV4.vue.js +7 -0
  35. package/components/popover/v4/PopoverV4.vue2.js +54 -0
  36. package/components/popover/v4/index.d.ts +209 -0
  37. package/components/popover/v4/index.js +6 -0
  38. package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
  39. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  40. package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
  41. package/components/table/v4/MultipleDataGrid.vue.js +3 -3
  42. package/components/table/v4/MultipleDataGrid.vue2.js +49 -44
  43. package/components/table/v4/index.d.ts +9 -0
  44. package/design-foundation.stories/icons/iconsData.d.ts +6 -2
  45. package/index.d.ts +646 -25
  46. package/index.js +70 -70
  47. package/package.json +7 -3
  48. package/testids/index.d.ts +5 -0
  49. package/testids/index.js +24 -23
  50. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
  51. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
  52. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
  53. package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
  54. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
  55. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
  56. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
  57. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
  58. package/components/popover/Popover.vue.js +0 -8
  59. /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
  60. /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
  61. /package/components/popover/{index.js → v3/index.js} +0 -0
@@ -1,14 +1,15 @@
1
- import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css"; import { defineComponent as T, useCssVars as V, computed as L, openBlock as l, createElementBlock as d, createElementVNode as f, normalizeClass as z, createBlock as c, unref as o, createCommentVNode as m, isRef as p, Fragment as E, renderList as g, createSlots as D, withCtx as N, renderSlot as O } from "vue";
2
- import S from "./DataGrid.vue.js";
1
+ import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css"; import { defineComponent as L, useCssVars as V, computed as E, openBlock as l, createElementBlock as d, createElementVNode as y, normalizeClass as $, unref as o, createBlock as c, createCommentVNode as m, isRef as z, Fragment as D, renderList as g, createSlots as M, withCtx as N, renderSlot as O } from "vue";
2
+ import h from "./DataGrid.vue.js";
3
3
  import "./DataGridMenu.vue.js";
4
- import G from "./DataGridRowsCounter.vue.js";
4
+ import A from "./DataGridRowsCounter.vue.js";
5
5
  import "./MultipleDataGrid.vue.js";
6
- import M from "../../search/v4/SearchV4.vue.js";
6
+ import G from "../../search/v4/SearchV4.vue.js";
7
7
  import { useVModel as P } from "@vueuse/core";
8
- const $ = { class: "rows-counter-container" }, A = {
8
+ import { TableTestIdModifiers as S } from "../../../testids/index.js";
9
+ const p = ["data-testid"], H = ["data-testid"], F = {
9
10
  key: 0,
10
11
  class: "tables-container"
11
- }, K = /* @__PURE__ */ T({
12
+ }, Y = /* @__PURE__ */ L({
12
13
  __name: "MultipleDataGrid",
13
14
  props: {
14
15
  tablesSettings: { default: () => [] },
@@ -32,43 +33,47 @@ const $ = { class: "rows-counter-container" }, A = {
32
33
  },
33
34
  emits: ["update:search", "onScroll", "onClearSearch", "clickRow"],
34
35
  setup(t, { emit: n }) {
35
- const u = t;
36
+ const r = t;
36
37
  V((e) => ({
37
- "6bca14de": t.zIndexBase
38
+ "4c643133": t.zIndexBase
38
39
  }));
39
- const h = L(
40
- () => u.isLoading || !u.tablesSettings.flatMap((e) => e.rows).length
41
- ), r = P(u, "search", n), y = (e) => `cell-${e.id}`, w = (e) => {
40
+ const w = E(
41
+ () => r.isLoading || !r.tablesSettings.flatMap((e) => e.rows).length
42
+ ), u = P(r, "search", n), f = (e) => `cell-${e.id}`, k = (e) => {
42
43
  n("onScroll", e.target.scrollTop);
43
- }, k = () => n("onClearSearch"), x = (e, s) => n("clickRow", e, s);
44
+ }, x = () => n("onClearSearch"), C = (e, s) => n("clickRow", e, s);
44
45
  return (e, s) => (l(), d("div", {
45
46
  class: "multi-table-container",
46
- onScrollPassive: w
47
+ onScrollPassive: k
47
48
  }, [
48
- f("div", {
49
- class: z(["table-header-container", { sticky: t.isSticky }])
49
+ y("div", {
50
+ class: $(["table-header-container", { sticky: t.isSticky }]),
51
+ "data-testid": `${t.testId}-${o(S).HEADER}`
50
52
  }, [
51
- f("div", $, [
52
- t.isLoading ? m("", !0) : (l(), c(o(G), {
53
+ y("div", {
54
+ class: "rows-counter-container",
55
+ "data-testid": `${t.testId}-${o(S).TITLE}`
56
+ }, [
57
+ t.isLoading ? m("", !0) : (l(), c(o(A), {
53
58
  key: 0,
54
59
  count: t.count,
55
60
  "total-count": t.totalCount,
56
61
  "total-text": t.totalText,
57
62
  "displaying-text": t.displayingText,
58
63
  "out-of-text": t.outOfText,
59
- "data-testid": t.testId
60
- }, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "data-testid"]))
61
- ]),
62
- t.showSearch ? (l(), c(o(M), {
64
+ "test-id": t.testId
65
+ }, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "test-id"]))
66
+ ], 8, H),
67
+ t.showSearch ? (l(), c(o(G), {
63
68
  key: 0,
64
- modelValue: o(r),
65
- "onUpdate:modelValue": s[0] || (s[0] = (a) => p(r) ? r.value = a : null),
69
+ modelValue: o(u),
70
+ "onUpdate:modelValue": s[0] || (s[0] = (a) => z(u) ? u.value = a : null),
66
71
  placeholder: t.searchPlaceholder,
67
72
  "test-id": t.testId,
68
- onOnClear: k
73
+ onOnClear: x
69
74
  }, null, 8, ["modelValue", "placeholder", "test-id"])) : m("", !0)
70
- ], 2),
71
- o(h) ? (l(), c(o(S), {
75
+ ], 10, p),
76
+ o(w) ? (l(), c(o(h), {
72
77
  key: 1,
73
78
  "is-loading": t.isLoading,
74
79
  columns: t.loadingAndEmptyStatesColumns,
@@ -78,12 +83,12 @@ const $ = { class: "rows-counter-container" }, A = {
78
83
  "empty-state-title": t.emptyStateTitle,
79
84
  "empty-state-subtitle": t.emptyStateSubtitle,
80
85
  "loading-row-count": t.loadingRowCount
81
- }, null, 8, ["is-loading", "columns", "test-id", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "loading-row-count"])) : (l(), d("div", A, [
82
- (l(!0), d(E, null, g(t.tablesSettings, (a, C) => (l(), d("div", {
86
+ }, null, 8, ["is-loading", "columns", "test-id", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "loading-row-count"])) : (l(), d("div", F, [
87
+ (l(!0), d(D, null, g(t.tablesSettings, (a, b) => (l(), d("div", {
83
88
  key: a.testId,
84
89
  class: "table-wrapper"
85
90
  }, [
86
- a.rows.length ? (l(), c(o(S), {
91
+ a.rows.length ? (l(), c(o(h), {
87
92
  key: 0,
88
93
  sections: a.sections,
89
94
  columns: a.columns,
@@ -92,23 +97,23 @@ const $ = { class: "rows-counter-container" }, A = {
92
97
  "is-sticky": t.isSticky,
93
98
  "z-index-base": t.zIndexBase,
94
99
  "test-id": a.testId,
95
- onClickRow: (i) => x(i, C)
96
- }, D({ _: 2 }, [
100
+ onClickRow: (i) => C(i, b)
101
+ }, M({ _: 2 }, [
97
102
  g(a.columns, (i) => ({
98
- name: y(i),
103
+ name: f(i),
99
104
  fn: N(({
100
- cell: b,
101
- rowIndex: v,
102
- isLoading: B,
103
- cellIndex: I,
104
- row: R
105
+ cell: I,
106
+ rowIndex: T,
107
+ isLoading: v,
108
+ cellIndex: R,
109
+ row: B
105
110
  }) => [
106
- O(e.$slots, `${y(i)}`, {
107
- cell: b,
108
- isLoading: B,
109
- cellIndex: I,
110
- row: R,
111
- rowIndex: v
111
+ O(e.$slots, `${f(i)}`, {
112
+ cell: I,
113
+ isLoading: v,
114
+ cellIndex: R,
115
+ row: B,
116
+ rowIndex: T
112
117
  }, void 0, !0)
113
118
  ])
114
119
  }))
@@ -119,5 +124,5 @@ const $ = { class: "rows-counter-container" }, A = {
119
124
  }
120
125
  });
121
126
  export {
122
- K as default
127
+ Y as default
123
128
  };
@@ -686,6 +686,10 @@ declare const DataGridTypes: () => (({
686
686
  rowIndex: number;
687
687
  menuItems: import("../common/Table.types").MenuItem[];
688
688
  }> | import("vue").DefineComponent<{
689
+ testId: {
690
+ type: import("vue").PropType<string>;
691
+ default: string;
692
+ };
689
693
  count: {
690
694
  type: import("vue").PropType<number>;
691
695
  default: number;
@@ -707,6 +711,10 @@ declare const DataGridTypes: () => (({
707
711
  default: string;
708
712
  };
709
713
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
714
+ testId: {
715
+ type: import("vue").PropType<string>;
716
+ default: string;
717
+ };
710
718
  count: {
711
719
  type: import("vue").PropType<number>;
712
720
  default: number;
@@ -728,6 +736,7 @@ declare const DataGridTypes: () => (({
728
736
  default: string;
729
737
  };
730
738
  }>>, {
739
+ testId: string;
731
740
  count: number;
732
741
  totalCount: number;
733
742
  displayingText: string;
@@ -15,8 +15,12 @@ declare const iconsAdNetworks: {
15
15
  name: string;
16
16
  path: string;
17
17
  }[];
18
- declare const iconsContentRateData: {
18
+ declare const iconsIosContentRateData: {
19
19
  name: string;
20
20
  path: string;
21
21
  }[];
22
- export { assetsPath, iconsBrandedData, iconsADUnitData, iconsABTestData, iconsAdNetworks, iconsContentRateData, };
22
+ declare const iconsAndroidContentRateData: {
23
+ name: string;
24
+ path: string;
25
+ }[];
26
+ export { assetsPath, iconsBrandedData, iconsADUnitData, iconsABTestData, iconsAdNetworks, iconsIosContentRateData, iconsAndroidContentRateData, };