@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,24 +1,27 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css"; import { defineComponent as B, ref as z, computed as N, openBlock as n, createBlock as f, unref as i, withCtx as y, createElementVNode as s, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as K, toDisplayString as h, withModifiers as V } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css"; import { defineComponent as B, ref as z, computed as V, openBlock as n, createBlock as y, unref as i, withCtx as d, createElementVNode as l, normalizeClass as T, createCommentVNode as o, createElementBlock as a, renderSlot as r, createVNode as s, toDisplayString as v, createTextVNode as h, withModifiers as L } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
- import w from "../../typography/Text.vue.js";
3
+ import N from "../../typography/Text.vue.js";
4
4
  import O from "../../checkbox/v4/CheckboxV4.vue.js";
5
- import T from "../../icon/v4/IconV4.vue.js";
5
+ import g from "../../icon/v4/IconV4.vue.js";
6
6
  import "../../icon/v4/IconFlag.vue.js";
7
7
  import { NOOP as P } from "@vue/shared";
8
8
  import { optionCommon as S } from "../common/Option.common.js";
9
- import E from "../../typography/v4/Typography.vue.js";
10
- import j from "../../tooltip/v4/TooltipV4.vue.js";
11
- import { isElementTruncated as M } from "../../../utils/text.js";
12
- const R = {
9
+ import x from "../../typography/v4/Typography.vue.js";
10
+ import E from "../../tooltip/v4/TooltipV4.vue.js";
11
+ import { isElementTruncated as j } from "../../../utils/text.js";
12
+ const M = {
13
13
  key: 1,
14
14
  class: "image"
15
- }, A = ["src"], D = {
15
+ }, R = ["src"], A = {
16
16
  key: 2,
17
17
  class: "start-icon"
18
- }, q = {
18
+ }, D = { class: "main-text" }, q = {
19
+ key: 0,
20
+ class: "caption-text"
21
+ }, F = {
19
22
  key: 3,
20
23
  class: "end-icon"
21
- }, F = { key: 0 }, ee = /* @__PURE__ */ B({
24
+ }, G = { key: 0 }, ie = /* @__PURE__ */ B({
22
25
  __name: "OptionV4",
23
26
  props: {
24
27
  option: { default: null },
@@ -34,90 +37,104 @@ const R = {
34
37
  iconType: { default: "regular" },
35
38
  endIconKey: { default: null },
36
39
  endIconType: { default: "regular" },
37
- toolTipPlacement: { default: "right" }
40
+ toolTipPlacement: { default: "right" },
41
+ optionTwoLinesVariant: { default: void 0 },
42
+ optionTwoLinesKey: { default: void 0 }
38
43
  },
39
44
  setup(e) {
40
- const g = e, { selected: r, isMulti: u, id: I, onClick: p, api: b } = S(g), m = z(null), x = N(
41
- () => m.value && M(m.value)
42
- ), C = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : x.value ? t[g.nameKey] : "", $ = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
43
- return (t, a) => (n(), f(i(j), {
44
- text: C(e.option),
45
- "test-id": $(e.option),
45
+ const k = e, { selected: u, isMulti: m, id: p, onClick: I, api: b } = S(k), f = z(null), C = V(
46
+ () => f.value && j(f.value)
47
+ ), $ = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : C.value ? t[k.nameKey] : "", w = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
48
+ return (t, c) => (n(), y(i(E), {
49
+ text: $(e.option),
50
+ "test-id": w(e.option),
46
51
  placement: e.toolTipPlacement,
47
52
  class: "tooltip-option"
48
53
  }, {
49
- default: y(() => [
50
- s("div", {
54
+ default: d(() => [
55
+ l("div", {
51
56
  ref: "el",
52
- class: v(["item-container", {
57
+ class: T(["item-container", {
53
58
  "item-container--disabled": e.disabled,
54
59
  "item-container--active": e.nameKey ? !1 : e.active,
55
- "item-container--selected": i(r),
56
- "item-container--multi": i(u)
60
+ "item-container--selected": i(u),
61
+ "item-container--multi": i(m)
57
62
  }])
58
63
  }, [
59
- s("div", {
60
- class: v(["item", {
61
- "item--multi": i(u),
64
+ l("div", {
65
+ class: T(["item", {
66
+ "item--multi": i(m),
62
67
  "item--with-icon": t.$slots["icon-start"] || t.$slots.image
63
68
  }])
64
69
  }, [
65
- i(u) ? (n(), f(i(O), {
70
+ i(m) ? (n(), y(i(O), {
66
71
  key: 0,
67
- id: i(I).toString(),
72
+ id: i(p).toString(),
68
73
  tabindex: "-1",
69
74
  class: "checkbox",
70
- "is-checked": i(r),
75
+ "is-checked": i(u),
71
76
  "is-indeterminate": e.isIndeterminate,
72
- onClick: a[0] || (a[0] = (k) => e.disabled ? i(P)() : i(p)(k))
77
+ onClick: c[0] || (c[0] = (K) => e.disabled ? i(P)() : i(I)(K))
73
78
  }, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
74
- t.$slots.image || e.imageKey ? (n(), l("div", R, [
75
- c(t.$slots, "image", {}, () => [
76
- e.imageKey ? (n(), l("img", {
79
+ t.$slots.image || e.imageKey ? (n(), a("div", M, [
80
+ r(t.$slots, "image", {}, () => [
81
+ e.imageKey ? (n(), a("img", {
77
82
  key: 0,
78
83
  src: e.option[e.imageKey]
79
- }, null, 8, A)) : o("", !0)
84
+ }, null, 8, R)) : o("", !0)
80
85
  ], !0)
81
86
  ])) : o("", !0),
82
- t.$slots["icon-start"] || e.iconKey ? (n(), l("div", D, [
83
- c(t.$slots, "icon-start", {}, () => [
84
- d(i(T), {
87
+ t.$slots["icon-start"] || e.iconKey ? (n(), a("div", A, [
88
+ r(t.$slots, "icon-start", {}, () => [
89
+ s(i(g), {
85
90
  type: e.iconType,
86
91
  name: e.option[e.iconKey],
87
92
  size: e.iconType === "regular" ? "20px" : "16px"
88
93
  }, null, 8, ["type", "name", "size"])
89
94
  ], !0)
90
95
  ])) : o("", !0),
91
- s("div", {
96
+ l("div", {
92
97
  ref_key: "textContainerRef",
93
- ref: m,
98
+ ref: f,
94
99
  class: "text-container"
95
100
  }, [
96
- d(i(E), {
101
+ s(i(x), {
97
102
  class: "option-text",
98
103
  variant: "body2"
99
104
  }, {
100
- default: y(() => [
101
- c(t.$slots, "default", {}, () => [
102
- K(h(e.option[e.nameKey]), 1)
105
+ default: d(() => [
106
+ r(t.$slots, "default", {}, () => [
107
+ l("div", {
108
+ class: T(`option-content-${e.optionTwoLinesVariant || "horizontal"}`)
109
+ }, [
110
+ l("div", D, v(e.option[e.nameKey]), 1),
111
+ e.optionTwoLinesKey ? (n(), a("div", q, [
112
+ s(i(x), { variant: "caption" }, {
113
+ default: d(() => [
114
+ h(v(e.option[e.optionTwoLinesKey]), 1)
115
+ ]),
116
+ _: 1
117
+ })
118
+ ])) : o("", !0)
119
+ ], 2)
103
120
  ], !0)
104
121
  ]),
105
122
  _: 3
106
123
  }),
107
- e.subtitle ? (n(), f(i(w), {
124
+ e.subtitle ? (n(), y(i(N), {
108
125
  key: 0,
109
126
  class: "subtitle",
110
127
  size: "xs"
111
128
  }, {
112
- default: y(() => [
113
- K(h(e.subtitle), 1)
129
+ default: d(() => [
130
+ h(v(e.subtitle), 1)
114
131
  ]),
115
132
  _: 1
116
133
  })) : o("", !0)
117
134
  ], 512),
118
- t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), l("div", q, [
119
- c(t.$slots, "icon-end", {}, () => [
120
- d(i(T), {
135
+ t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), a("div", F, [
136
+ r(t.$slots, "icon-end", {}, () => [
137
+ s(i(g), {
121
138
  type: e.endIconType,
122
139
  name: e.option[e.endIconKey],
123
140
  size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
@@ -125,12 +142,12 @@ const R = {
125
142
  ], !0)
126
143
  ])) : o("", !0)
127
144
  ], 2),
128
- i(b).clearable && i(r) ? (n(), l("div", F, [
129
- s("button", {
145
+ i(b).clearable && i(u) ? (n(), a("div", G, [
146
+ l("button", {
130
147
  class: "clear-button",
131
- onClick: a[1] || (a[1] = V((k) => i(b).clearSelection(), ["prevent", "stop"]))
148
+ onClick: c[1] || (c[1] = L((K) => i(b).clearSelection(), ["prevent", "stop"]))
132
149
  }, [
133
- d(i(T), {
150
+ s(i(g), {
134
151
  name: "close",
135
152
  width: "8",
136
153
  height: "8"
@@ -144,5 +161,5 @@ const R = {
144
161
  }
145
162
  });
146
163
  export {
147
- ee as default
164
+ ie as default
148
165
  };
@@ -225,6 +225,20 @@ export declare const dropDownStoryArgs: {
225
225
  category: string;
226
226
  };
227
227
  };
228
+ optionTwoLinesVariant: {
229
+ options: string[];
230
+ table: {
231
+ category: string;
232
+ };
233
+ };
234
+ optionTwoLinesKey: {
235
+ control: {
236
+ type: string;
237
+ };
238
+ table: {
239
+ category: string;
240
+ };
241
+ };
228
242
  valueToCopy: {
229
243
  control: {
230
244
  type: string;
@@ -1039,6 +1039,8 @@ declare const DropdownTypes: () => (({
1039
1039
  disabled: boolean;
1040
1040
  active: boolean;
1041
1041
  endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1042
+ optionTwoLinesVariant: "horizontal" | "vertical";
1043
+ optionTwoLinesKey: string;
1042
1044
  isIndeterminate: boolean;
1043
1045
  subtitle: string;
1044
1046
  selectAllOption: boolean;
@@ -1065,6 +1067,14 @@ declare const DropdownTypes: () => (({
1065
1067
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1066
1068
  default: string;
1067
1069
  };
1070
+ optionTwoLinesVariant: {
1071
+ type: import("vue").PropType<"horizontal" | "vertical">;
1072
+ default: any;
1073
+ };
1074
+ optionTwoLinesKey: {
1075
+ type: import("vue").PropType<string>;
1076
+ default: any;
1077
+ };
1068
1078
  isIndeterminate: {
1069
1079
  type: import("vue").PropType<boolean>;
1070
1080
  default: boolean;
@@ -1104,7 +1114,7 @@ declare const DropdownTypes: () => (({
1104
1114
  selectedProp: {
1105
1115
  type: import("vue").PropType<boolean>;
1106
1116
  };
1107
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement">;
1117
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement">;
1108
1118
  $attrs: {
1109
1119
  [x: string]: unknown;
1110
1120
  };
@@ -1135,6 +1145,14 @@ declare const DropdownTypes: () => (({
1135
1145
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1136
1146
  default: string;
1137
1147
  };
1148
+ optionTwoLinesVariant: {
1149
+ type: import("vue").PropType<"horizontal" | "vertical">;
1150
+ default: any;
1151
+ };
1152
+ optionTwoLinesKey: {
1153
+ type: import("vue").PropType<string>;
1154
+ default: any;
1155
+ };
1138
1156
  isIndeterminate: {
1139
1157
  type: import("vue").PropType<boolean>;
1140
1158
  default: boolean;
@@ -1179,6 +1197,8 @@ declare const DropdownTypes: () => (({
1179
1197
  disabled: boolean;
1180
1198
  active: boolean;
1181
1199
  endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1200
+ optionTwoLinesVariant: "horizontal" | "vertical";
1201
+ optionTwoLinesKey: string;
1182
1202
  isIndeterminate: boolean;
1183
1203
  subtitle: string;
1184
1204
  selectAllOption: boolean;
@@ -1225,6 +1245,14 @@ declare const DropdownTypes: () => (({
1225
1245
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1226
1246
  default: string;
1227
1247
  };
1248
+ optionTwoLinesVariant: {
1249
+ type: import("vue").PropType<"horizontal" | "vertical">;
1250
+ default: any;
1251
+ };
1252
+ optionTwoLinesKey: {
1253
+ type: import("vue").PropType<string>;
1254
+ default: any;
1255
+ };
1228
1256
  isIndeterminate: {
1229
1257
  type: import("vue").PropType<boolean>;
1230
1258
  default: boolean;
@@ -1285,6 +1313,14 @@ declare const DropdownTypes: () => (({
1285
1313
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1286
1314
  default: string;
1287
1315
  };
1316
+ optionTwoLinesVariant: {
1317
+ type: import("vue").PropType<"horizontal" | "vertical">;
1318
+ default: any;
1319
+ };
1320
+ optionTwoLinesKey: {
1321
+ type: import("vue").PropType<string>;
1322
+ default: any;
1323
+ };
1288
1324
  isIndeterminate: {
1289
1325
  type: import("vue").PropType<boolean>;
1290
1326
  default: boolean;
@@ -1329,6 +1365,8 @@ declare const DropdownTypes: () => (({
1329
1365
  disabled: boolean;
1330
1366
  active: boolean;
1331
1367
  endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1368
+ optionTwoLinesVariant: "horizontal" | "vertical";
1369
+ optionTwoLinesKey: string;
1332
1370
  isIndeterminate: boolean;
1333
1371
  subtitle: string;
1334
1372
  selectAllOption: boolean;
@@ -1503,6 +1541,8 @@ declare const DropdownTypes: () => (({
1503
1541
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1504
1542
  valueToCopy: string;
1505
1543
  disabledOptionKey: string;
1544
+ optionTwoLinesVariant: "horizontal" | "vertical";
1545
+ optionTwoLinesKey: string;
1506
1546
  fullWidth: boolean;
1507
1547
  optionsListWidth: string;
1508
1548
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -1691,6 +1731,14 @@ declare const DropdownTypes: () => (({
1691
1731
  type: import("vue").PropType<string>;
1692
1732
  default: string;
1693
1733
  };
1734
+ optionTwoLinesVariant: {
1735
+ type: import("vue").PropType<"horizontal" | "vertical">;
1736
+ default: any;
1737
+ };
1738
+ optionTwoLinesKey: {
1739
+ type: import("vue").PropType<string>;
1740
+ default: any;
1741
+ };
1694
1742
  fullWidth: {
1695
1743
  type: import("vue").PropType<boolean>;
1696
1744
  default: boolean;
@@ -1720,7 +1768,7 @@ declare const DropdownTypes: () => (({
1720
1768
  "onUpdate:isOpen"?: (value: unknown) => any;
1721
1769
  onOpened?: () => any;
1722
1770
  onClosed?: () => any;
1723
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1771
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1724
1772
  $attrs: {
1725
1773
  [x: string]: unknown;
1726
1774
  };
@@ -1917,6 +1965,14 @@ declare const DropdownTypes: () => (({
1917
1965
  type: import("vue").PropType<string>;
1918
1966
  default: string;
1919
1967
  };
1968
+ optionTwoLinesVariant: {
1969
+ type: import("vue").PropType<"horizontal" | "vertical">;
1970
+ default: any;
1971
+ };
1972
+ optionTwoLinesKey: {
1973
+ type: import("vue").PropType<string>;
1974
+ default: any;
1975
+ };
1920
1976
  fullWidth: {
1921
1977
  type: import("vue").PropType<boolean>;
1922
1978
  default: boolean;
@@ -2001,6 +2057,8 @@ declare const DropdownTypes: () => (({
2001
2057
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
2002
2058
  valueToCopy: string;
2003
2059
  disabledOptionKey: string;
2060
+ optionTwoLinesVariant: "horizontal" | "vertical";
2061
+ optionTwoLinesKey: string;
2004
2062
  fullWidth: boolean;
2005
2063
  optionsListWidth: string;
2006
2064
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -2209,6 +2267,14 @@ declare const DropdownTypes: () => (({
2209
2267
  type: import("vue").PropType<string>;
2210
2268
  default: string;
2211
2269
  };
2270
+ optionTwoLinesVariant: {
2271
+ type: import("vue").PropType<"horizontal" | "vertical">;
2272
+ default: any;
2273
+ };
2274
+ optionTwoLinesKey: {
2275
+ type: import("vue").PropType<string>;
2276
+ default: any;
2277
+ };
2212
2278
  fullWidth: {
2213
2279
  type: import("vue").PropType<boolean>;
2214
2280
  default: boolean;
@@ -2428,6 +2494,14 @@ declare const DropdownTypes: () => (({
2428
2494
  type: import("vue").PropType<string>;
2429
2495
  default: string;
2430
2496
  };
2497
+ optionTwoLinesVariant: {
2498
+ type: import("vue").PropType<"horizontal" | "vertical">;
2499
+ default: any;
2500
+ };
2501
+ optionTwoLinesKey: {
2502
+ type: import("vue").PropType<string>;
2503
+ default: any;
2504
+ };
2431
2505
  fullWidth: {
2432
2506
  type: import("vue").PropType<boolean>;
2433
2507
  default: boolean;
@@ -2512,6 +2586,8 @@ declare const DropdownTypes: () => (({
2512
2586
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
2513
2587
  valueToCopy: string;
2514
2588
  disabledOptionKey: string;
2589
+ optionTwoLinesVariant: "horizontal" | "vertical";
2590
+ optionTwoLinesKey: string;
2515
2591
  fullWidth: boolean;
2516
2592
  optionsListWidth: string;
2517
2593
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -5,6 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
5
5
  size?: string;
6
6
  height?: string;
7
7
  width?: string;
8
+ platform?: string;
8
9
  }>, {
9
10
  name: any;
10
11
  size: any;
@@ -12,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
13
  type: string;
13
14
  height: any;
14
15
  width: any;
16
+ platform: any;
15
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
18
  type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
17
19
  name?: string;
@@ -19,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
21
  size?: string;
20
22
  height?: string;
21
23
  width?: string;
24
+ platform?: string;
22
25
  }>, {
23
26
  name: any;
24
27
  size: any;
@@ -26,6 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
29
  type: string;
27
30
  height: any;
28
31
  width: any;
32
+ platform: any;
29
33
  }>>>, {
30
34
  name: string;
31
35
  type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -33,6 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
37
  size: string;
34
38
  height: string;
35
39
  width: string;
40
+ platform: string;
36
41
  }>, {
37
42
  default?(_: {}): any;
38
43
  }>;
@@ -1,7 +1,7 @@
1
1
  import o from "./IconV4.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-1eea7671"]]);
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css"; //*');
4
+ const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-dc433d48"]]);
5
5
  export {
6
- c as default
6
+ t as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import "../../../IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css"; import { defineComponent as $, useCssVars as S, unref as a, useSlots as w, computed as o, watch as C, openBlock as u, createElementBlock as f, normalizeClass as _, createCommentVNode as b, renderSlot as z } from "vue";
2
- import { useStorage as I } from "../../../composables/useStorage.js";
1
+ import "../../../IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css"; import { defineComponent as S, useCssVars as w, unref as s, useSlots as C, computed as o, watch as _, openBlock as u, createElementBlock as f, normalizeClass as b, createCommentVNode as z, renderSlot as I } from "vue";
2
+ import { useStorage as T } from "../../../composables/useStorage.js";
3
3
  import { ASSETS_BASE_URL as U } from "./consts.js";
4
- const V = ["innerHTML"], B = /* @__PURE__ */ $({
4
+ const V = ["innerHTML"], B = /* @__PURE__ */ S({
5
5
  __name: "IconV4",
6
6
  props: {
7
7
  type: { default: "regular" },
@@ -9,34 +9,37 @@ const V = ["innerHTML"], B = /* @__PURE__ */ $({
9
9
  color: { default: null },
10
10
  size: { default: null },
11
11
  height: { default: null },
12
- width: { default: null }
12
+ width: { default: null },
13
+ platform: { default: null }
13
14
  },
14
- setup(c) {
15
- const e = c;
16
- S((t) => ({
17
- "2034b1ce": a(d),
18
- "66dae3c2": a(m),
19
- "5a4ab638": c.color
15
+ setup(r) {
16
+ const e = r;
17
+ w((t) => ({
18
+ "3d423be4": s(d),
19
+ "513646c9": s(m),
20
+ ad86ac0c: r.color
20
21
  }));
21
- const s = window.sharedUIRequestCache = window.sharedUIRequestCache || {}, p = w(), d = o(() => e.size || e.width), m = o(() => e.size || e.height), h = o(() => {
22
+ const a = window.sharedUIRequestCache = window.sharedUIRequestCache || {}, p = C(), d = o(() => e.size || e.width), m = o(() => e.size || e.height), h = o(
23
+ () => e.platform ? `${e.type}/${e.platform}` : e.type
24
+ ), y = o(() => {
22
25
  if (!e.name)
23
26
  return "";
24
27
  const t = e.name.split("/");
25
28
  return [e.name ? `icon-name--${t.at(-1)}` : ""];
26
- }), l = o(() => {
29
+ }), c = o(() => {
27
30
  if (p.default)
28
31
  return "";
29
32
  if (!e.name)
30
33
  return console.error("Please provided icon name"), "";
31
34
  const t = e.type === "regular" || e.type === "bold" || e.type === "fill" ? "ph/" : "v4/", n = e.type === "bold" || e.type === "fill" ? `-${e.type}` : "";
32
- return `${U}/icons/${t}${e.type}/${e.name}${n}.svg`;
33
- }), r = I(`icon-${e.type}--${e.name}`);
35
+ return `${U}/icons/${t}${h.value}/${e.name}${n}.svg`;
36
+ }), l = T(`icon-${e.type}--${e.name}`);
34
37
  function g(t) {
35
- return s[t] || (s[t] = fetch(t).then((n) => n.text()).finally(() => {
36
- delete s[t];
38
+ return a[t] || (a[t] = fetch(t).then((n) => n.text()).finally(() => {
39
+ delete a[t];
37
40
  }).catch((n) => {
38
41
  console.error(n);
39
- })), s[t];
42
+ })), a[t];
40
43
  }
41
44
  function v(t) {
42
45
  return t.replace(
@@ -45,21 +48,21 @@ const V = ["innerHTML"], B = /* @__PURE__ */ $({
45
48
  );
46
49
  }
47
50
  function i() {
48
- g(l.value).then((t) => {
49
- typeof t == "string" && t.startsWith("<svg") && (r.value = t);
51
+ g(c.value).then((t) => {
52
+ typeof t == "string" && t.startsWith("<svg") && (l.value = t);
50
53
  });
51
54
  }
52
- !r.value && l.value && i();
53
- const y = o(() => v(r.value ?? ""));
54
- return C(() => e.name, i), (t, n) => (u(), f("span", {
55
- class: _(["icon", a(h)])
55
+ !l.value && c.value && i();
56
+ const $ = o(() => v(l.value ?? ""));
57
+ return _(() => e.name, i), (t, n) => (u(), f("span", {
58
+ class: b(["icon", s(y)])
56
59
  }, [
57
- t.$slots.default ? b("", !0) : (u(), f("span", {
60
+ t.$slots.default ? z("", !0) : (u(), f("span", {
58
61
  key: 0,
59
62
  class: "icon-wrapper",
60
- innerHTML: a(y)
63
+ innerHTML: s($)
61
64
  }, null, 8, V)),
62
- z(t.$slots, "default", {}, void 0, !0)
65
+ I(t.$slots, "default", {}, void 0, !0)
63
66
  ], 2));
64
67
  }
65
68
  });
@@ -10,6 +10,7 @@ declare const IconTypes: () => ({
10
10
  size: string;
11
11
  height: string;
12
12
  width: string;
13
+ platform: string;
13
14
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
15
  name: {
15
16
  type: import("vue").PropType<string>;
@@ -35,7 +36,11 @@ declare const IconTypes: () => ({
35
36
  type: import("vue").PropType<string>;
36
37
  default: any;
37
38
  };
38
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "type" | "color" | "size" | "height" | "width">;
39
+ platform: {
40
+ type: import("vue").PropType<string>;
41
+ default: any;
42
+ };
43
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "type" | "color" | "size" | "height" | "width" | "platform">;
39
44
  $attrs: {
40
45
  [x: string]: unknown;
41
46
  };
@@ -74,6 +79,10 @@ declare const IconTypes: () => ({
74
79
  type: import("vue").PropType<string>;
75
80
  default: any;
76
81
  };
82
+ platform: {
83
+ type: import("vue").PropType<string>;
84
+ default: any;
85
+ };
77
86
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
78
87
  name: string;
79
88
  type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -81,6 +90,7 @@ declare const IconTypes: () => ({
81
90
  size: string;
82
91
  height: string;
83
92
  width: string;
93
+ platform: string;
84
94
  }, {}, string> & {
85
95
  beforeCreate?: (() => void) | (() => void)[];
86
96
  created?: (() => void) | (() => void)[];
@@ -126,6 +136,10 @@ declare const IconTypes: () => ({
126
136
  type: import("vue").PropType<string>;
127
137
  default: any;
128
138
  };
139
+ platform: {
140
+ type: import("vue").PropType<string>;
141
+ default: any;
142
+ };
129
143
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
130
144
  __isFragment?: never;
131
145
  __isTeleport?: never;
@@ -155,6 +169,10 @@ declare const IconTypes: () => ({
155
169
  type: import("vue").PropType<string>;
156
170
  default: any;
157
171
  };
172
+ platform: {
173
+ type: import("vue").PropType<string>;
174
+ default: any;
175
+ };
158
176
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
159
177
  name: string;
160
178
  type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -162,6 +180,7 @@ declare const IconTypes: () => ({
162
180
  size: string;
163
181
  height: string;
164
182
  width: string;
183
+ platform: string;
165
184
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
166
185
  $slots: {
167
186
  default?(_: {}): any;
@@ -1,7 +1,7 @@
1
- import e from "./IncludeExclude.vue2.js";
2
- /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-fb054d88"]]);
1
+ import c from "./IncludeExclude.vue2.js";
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(c, [["__scopeId", "data-v-cc2adbf5"]]);
5
5
  export {
6
6
  s as default
7
7
  };