@ironsource/shared-ui 2.1.12-test.59 → 2.1.12-test.60

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 (87) hide show
  1. package/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_de950ffe_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_1ff0e54f_lang.css +1 -0
  4. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_21ce0774_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_ae87f435_lang.css +1 -0
  6. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
  7. package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +1 -0
  8. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  9. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  10. package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +1 -0
  11. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  12. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
  13. package/components/appIcon/index.d.ts +3 -3
  14. package/components/banner/Banner.vue.d.ts +3 -3
  15. package/components/banner/index.d.ts +7 -7
  16. package/components/button/common/consts.d.ts +1 -0
  17. package/components/button/v3/Button.vue.d.ts +3 -3
  18. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  19. package/components/button/v3/IconButton.vue.d.ts +3 -3
  20. package/components/button/v3/index.d.ts +14 -14
  21. package/components/button/v4/ButtonV4.vue.d.ts +4 -3
  22. package/components/button/v4/ButtonV4.vue.js +3 -3
  23. package/components/button/v4/ButtonV4.vue2.js +1 -1
  24. package/components/chart/Chart.vue.d.ts +24 -25
  25. package/components/chart/Chart.vue.js +4 -4
  26. package/components/chart/Chart.vue2.js +82 -88
  27. package/components/chart/ChartHeader.vue.d.ts +24 -25
  28. package/components/chart/ChartHeader.vue.js +3 -3
  29. package/components/chart/ChartHeader.vue2.js +30 -35
  30. package/components/chart/ChartHeaderTrend.vue.d.ts +13 -15
  31. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  32. package/components/chart/ChartHeaderTrend.vue2.js +32 -34
  33. package/components/chart/ChartPlane.vue.d.ts +24 -25
  34. package/components/chart/ChartPlane.vue.js +5 -5
  35. package/components/chart/ChartPlane.vue2.js +122 -128
  36. package/components/chart/index.d.ts +59 -88
  37. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  38. package/components/checkbox/v3/index.d.ts +7 -7
  39. package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
  40. package/components/dialog/v4/DialogV4.vue.js +4 -4
  41. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  42. package/components/dialog/v4/index.d.ts +7 -7
  43. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -0
  44. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  45. package/components/dropdown/v4/DropdownV4.vue2.js +105 -95
  46. package/components/dropdown/v4/OptionV4.vue.d.ts +8 -0
  47. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  48. package/components/dropdown/v4/OptionV4.vue2.js +91 -69
  49. package/components/dropdown/v4/index.d.ts +46 -2
  50. package/components/forms/FormRow.vue.d.ts +9 -2
  51. package/components/forms/FormRow.vue.js +3 -3
  52. package/components/forms/FormRow.vue2.js +25 -14
  53. package/components/forms/index.d.ts +25 -5
  54. package/components/search/v3/index.d.ts +3 -3
  55. package/components/shared/FieldLabel.vue.d.ts +19 -7
  56. package/components/shared/FieldLabel.vue.js +3 -3
  57. package/components/shared/FieldLabel.vue2.js +50 -37
  58. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  59. package/components/tabs/v3/index.d.ts +7 -7
  60. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  61. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  62. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  63. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  64. package/components/tooltip/v3/index.d.ts +7 -7
  65. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  66. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  67. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  68. package/components/tooltip/v4/index.d.ts +7 -7
  69. package/components/typography/Text.vue.d.ts +3 -3
  70. package/components/typography/index.d.ts +7 -7
  71. package/composables/useFormValidation.d.ts +1 -0
  72. package/composables/useFormValidation.js +32 -27
  73. package/index.d.ts +127 -39
  74. package/index.js +1 -1
  75. package/package.json +1 -1
  76. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  77. package/Chart.vue_vue_type_style_index_0_scoped_757e7752_lang.css +0 -1
  78. package/ChartHeader.vue_vue_type_style_index_0_scoped_92052479_lang.css +0 -1
  79. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_d61ed404_lang.css +0 -1
  80. package/ChartPlane.vue_vue_type_style_index_0_scoped_bb382dc4_lang.css +0 -1
  81. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  82. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  83. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  84. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  85. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  86. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  87. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
@@ -1,13 +1,13 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css"; import { defineComponent as P, ref as C, watch as S, computed as V, openBlock as o, createBlock as m, unref as n, createSlots as A, withCtx as s, createElementVNode as c, normalizeClass as v, createCommentVNode as i, createElementBlock as l, renderSlot as y, createVNode as a, toDisplayString as u, createTextVNode as f, withModifiers as I, Fragment as F, renderList as L } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css"; import { defineComponent as S, ref as w, watch as V, computed as A, openBlock as o, createBlock as f, unref as n, createSlots as F, withCtx as d, createElementVNode as c, normalizeClass as p, createCommentVNode as i, createElementBlock as l, renderSlot as u, createVNode as a, toDisplayString as r, createTextVNode as g, withModifiers as C, Fragment as L, renderList as N } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
- import N from "../../typography/Text.vue.js";
4
- import j from "../../checkbox/v4/CheckboxV4.vue.js";
5
- import T from "../../icon/v4/IconV4.vue.js";
6
- import R from "../../icon/v4/IconFlag.vue.js";
7
- import { NOOP as D } from "@vue/shared";
8
- import { optionCommon as q } from "../common/Option.common.js";
9
- import g from "../../typography/v4/Typography.vue.js";
10
- import G from "../../tooltip/v4/TooltipV4.vue.js";
3
+ import j from "../../typography/Text.vue.js";
4
+ import R from "../../checkbox/v4/CheckboxV4.vue.js";
5
+ import m from "../../icon/v4/IconV4.vue.js";
6
+ import D from "../../icon/v4/IconFlag.vue.js";
7
+ import { NOOP as q } from "@vue/shared";
8
+ import { optionCommon as G } from "../common/Option.common.js";
9
+ import T from "../../typography/v4/Typography.vue.js";
10
+ import I from "../../tooltip/v4/TooltipV4.vue.js";
11
11
  import { isElementTruncated as H } from "../../../utils/text.js";
12
12
  import { promiseTimeout as J } from "@vueuse/core";
13
13
  const Q = { class: "multiline-tooltip" }, U = {
@@ -34,7 +34,10 @@ const Q = { class: "multiline-tooltip" }, U = {
34
34
  }, ne = {
35
35
  key: 4,
36
36
  class: "end-icon"
37
- }, oe = ["onClick"], ie = { key: 0 }, pe = /* @__PURE__ */ P({
37
+ }, oe = {
38
+ key: 5,
39
+ class: "option-warning"
40
+ }, ie = { key: 6 }, le = ["onClick"], ae = { key: 0 }, pe = /* @__PURE__ */ S({
38
41
  __name: "OptionV4",
39
42
  props: {
40
43
  option: { default: null },
@@ -47,6 +50,7 @@ const Q = { class: "multiline-tooltip" }, U = {
47
50
  nameKey: { default: null },
48
51
  imageKey: { default: null },
49
52
  iconKey: { default: null },
53
+ warningKey: { default: null },
50
54
  iconType: { default: "regular" },
51
55
  endIconKey: { default: null },
52
56
  endIconType: { default: "regular" },
@@ -63,48 +67,48 @@ const Q = { class: "multiline-tooltip" }, U = {
63
67
  },
64
68
  emits: ["toggleTreeCollapse"],
65
69
  setup(e, { emit: O }) {
66
- const d = e, { selected: h, id: w, onClick: $, api: K } = q(d), B = (t) => {
67
- d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? D() : $(t);
68
- }, p = C(null), b = C(!1);
69
- S([() => d.treeChildShown, p], async () => {
70
- await J(100), b.value = p.value && H(p.value);
70
+ const s = e, { selected: K, id: $, onClick: B, api: x } = G(s), z = (t) => {
71
+ s.stopOptionClickEventPropagation && t.stopPropagation(), s.disabled ? q() : B(t);
72
+ }, v = w(null), b = w(!1);
73
+ V([() => s.treeChildShown, v], async () => {
74
+ await J(100), b.value = v.value && H(v.value);
71
75
  });
72
- const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[d.nameKey] : "", x = V(() => M(d.option)), z = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
73
- O("toggleTreeCollapse", d.option);
76
+ const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[s.nameKey] : "", h = A(() => M(s.option)), E = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, P = () => {
77
+ O("toggleTreeCollapse", s.option);
74
78
  };
75
- return (t, k) => (o(), m(n(G), {
76
- text: n(x),
77
- "test-id": z(e.option),
79
+ return (t, k) => (o(), f(n(I), {
80
+ text: n(h),
81
+ "test-id": E(e.option),
78
82
  placement: e.toolTipPlacement,
79
83
  class: "tooltip-option"
80
- }, A({
81
- default: s(() => [
84
+ }, F({
85
+ default: d(() => [
82
86
  c("div", {
83
87
  ref: "el",
84
- class: v(["item-container", {
88
+ class: p(["item-container", {
85
89
  "item-container--disabled": e.disabled,
86
90
  "item-container--active": e.nameKey ? !1 : e.active,
87
- "item-container--selected": n(h),
91
+ "item-container--selected": n(K),
88
92
  "item-container--multi": e.isMulti
89
93
  }])
90
94
  }, [
91
95
  c("div", {
92
- class: v(["item", {
96
+ class: p(["item", {
93
97
  "item--multi": e.isMulti,
94
98
  "item--with-icon": t.$slots["icon-start"] || t.$slots.image
95
99
  }])
96
100
  }, [
97
- e.isMulti || e.selectAllOption ? (o(), m(n(j), {
101
+ e.isMulti || e.selectAllOption ? (o(), f(n(R), {
98
102
  key: 0,
99
- id: n(w).toString(),
103
+ id: n($).toString(),
100
104
  tabindex: "-1",
101
105
  class: "checkbox",
102
- "is-checked": n(h),
106
+ "is-checked": n(K),
103
107
  "is-indeterminate": e.isIndeterminate,
104
- onClick: k[0] || (k[0] = (r) => B(r))
108
+ onClick: k[0] || (k[0] = (y) => z(y))
105
109
  }, null, 8, ["id", "is-checked", "is-indeterminate"])) : i("", !0),
106
110
  !e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (o(), l("div", U, [
107
- y(t.$slots, "image", {}, () => [
111
+ u(t.$slots, "image", {}, () => [
108
112
  e.imageKey ? (o(), l("img", {
109
113
  key: 0,
110
114
  src: e.option[e.imageKey]
@@ -112,16 +116,16 @@ const Q = { class: "multiline-tooltip" }, U = {
112
116
  ], !0)
113
117
  ])) : i("", !0),
114
118
  !e.option?.conditionalOptions && (t.$slots.flag || e.optionFlagKey) ? (o(), l("div", X, [
115
- y(t.$slots, "flag", {}, () => [
116
- e.optionFlagKey ? (o(), m(n(R), {
119
+ u(t.$slots, "flag", {}, () => [
120
+ e.optionFlagKey ? (o(), f(n(D), {
117
121
  key: 0,
118
122
  "country-code": e.option[e.optionFlagKey]
119
123
  }, null, 8, ["country-code"])) : i("", !0)
120
124
  ], !0)
121
125
  ])) : i("", !0),
122
126
  !e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (o(), l("div", Y, [
123
- y(t.$slots, "icon-start", {}, () => [
124
- a(n(T), {
127
+ u(t.$slots, "icon-start", {}, () => [
128
+ a(n(m), {
125
129
  type: e.iconType,
126
130
  name: e.option[e.iconKey],
127
131
  size: e.iconType === "regular" ? "20px" : "16px"
@@ -130,49 +134,49 @@ const Q = { class: "multiline-tooltip" }, U = {
130
134
  ])) : i("", !0),
131
135
  c("div", {
132
136
  ref_key: "textContainerRef",
133
- ref: p,
137
+ ref: v,
134
138
  class: "text-container"
135
139
  }, [
136
- a(n(g), {
140
+ a(n(T), {
137
141
  class: "option-text",
138
142
  variant: "body2"
139
143
  }, {
140
- default: s(() => [
141
- y(t.$slots, "default", {}, () => [
144
+ default: d(() => [
145
+ u(t.$slots, "default", {}, () => [
142
146
  c("div", {
143
- class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
147
+ class: p(`option-content-${e.optionTwoLinesVariant} option-content`)
144
148
  }, [
145
149
  e.option?.conditionalOptions ? (o(), l("div", _, [
146
- a(n(g), {
150
+ a(n(T), {
147
151
  variant: "body2",
148
152
  class: "conditional-option-label"
149
153
  }, {
150
- default: s(() => [
151
- f(u(e.option.conditionalName) + ": ", 1)
154
+ default: d(() => [
155
+ g(r(e.option.conditionalName) + ": ", 1)
152
156
  ]),
153
157
  _: 1
154
158
  }),
155
- a(n(g), {
159
+ a(n(T), {
156
160
  variant: "h5",
157
161
  class: "conditional-option-value"
158
162
  }, {
159
- default: s(() => [
160
- f('"' + u(e.option[e.nameKey]) + '"', 1)
163
+ default: d(() => [
164
+ g('"' + r(e.option[e.nameKey]) + '"', 1)
161
165
  ]),
162
166
  _: 1
163
167
  })
164
- ])) : (o(), l("div", Z, u(e.option[e.nameKey]), 1)),
168
+ ])) : (o(), l("div", Z, r(e.option[e.nameKey]), 1)),
165
169
  e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), l("span", ee, [
166
- a(n(T), {
170
+ a(n(m), {
167
171
  type: "regular",
168
172
  name: e.option[e.endTextIconKey],
169
173
  size: "16px"
170
174
  }, null, 8, ["name"])
171
175
  ])) : i("", !0),
172
176
  e.optionTwoLinesKey ? (o(), l("div", te, [
173
- a(n(g), { variant: "caption" }, {
174
- default: s(() => [
175
- f(u(e.option[e.optionTwoLinesKey]), 1)
177
+ a(n(T), { variant: "caption" }, {
178
+ default: d(() => [
179
+ g(r(e.option[e.optionTwoLinesKey]), 1)
176
180
  ]),
177
181
  _: 1
178
182
  })
@@ -182,44 +186,62 @@ const Q = { class: "multiline-tooltip" }, U = {
182
186
  ]),
183
187
  _: 3
184
188
  }),
185
- e.subtitle ? (o(), m(n(N), {
189
+ e.subtitle ? (o(), f(n(j), {
186
190
  key: 0,
187
191
  class: "subtitle",
188
192
  size: "xs"
189
193
  }, {
190
- default: s(() => [
191
- f(u(e.subtitle), 1)
194
+ default: d(() => [
195
+ g(r(e.subtitle), 1)
192
196
  ]),
193
197
  _: 1
194
198
  })) : i("", !0)
195
199
  ], 512),
196
200
  t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), l("div", ne, [
197
- y(t.$slots, "icon-end", {}, () => [
198
- a(n(T), {
201
+ u(t.$slots, "icon-end", {}, () => [
202
+ a(n(m), {
199
203
  type: e.endIconType || "regular",
200
204
  name: e.option[e.endIconKey],
201
205
  size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
202
206
  }, null, 8, ["type", "name", "size"])
203
207
  ], !0)
204
208
  ])) : i("", !0),
209
+ e.warningKey && e.option?.[e.warningKey] ? (o(), l("div", oe, [
210
+ a(n(I), {
211
+ text: e.option[e.warningKey],
212
+ placement: "top"
213
+ }, {
214
+ default: d(() => [
215
+ a(n(m), {
216
+ class: "option-warning__icon",
217
+ name: "warning-circle",
218
+ size: "16px"
219
+ })
220
+ ]),
221
+ _: 1
222
+ }, 8, ["text"])
223
+ ])) : i("", !0),
224
+ t.$slots["option-end"] ? (o(), l("div", ie, [
225
+ u(t.$slots, "option-end", { option: e.option }, void 0, !0)
226
+ ])) : i("", !0),
205
227
  e.treeMainOption ? (o(), l("div", {
206
- key: 5,
228
+ key: 7,
207
229
  class: "tree-main-arrow-wrapper",
208
- onClick: I(E, ["stop"])
230
+ onClick: C(P, ["stop"])
209
231
  }, [
210
- a(n(T), {
232
+ a(n(m), {
211
233
  name: "caret-down",
212
234
  size: "16px",
213
- class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
235
+ class: p(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
214
236
  }, null, 8, ["class"])
215
- ], 8, oe)) : i("", !0)
237
+ ], 8, le)) : i("", !0)
216
238
  ], 2),
217
- n(K).clearable && n(h) ? (o(), l("div", ie, [
239
+ n(x).clearable && n(K) ? (o(), l("div", ae, [
218
240
  c("button", {
219
241
  class: "clear-button",
220
- onClick: k[1] || (k[1] = I((r) => n(K).clearSelection(), ["prevent", "stop"]))
242
+ onClick: k[1] || (k[1] = C((y) => n(x).clearSelection(), ["prevent", "stop"]))
221
243
  }, [
222
- a(n(T), {
244
+ a(n(m), {
223
245
  name: "close",
224
246
  width: "8",
225
247
  height: "8"
@@ -230,16 +252,16 @@ const Q = { class: "multiline-tooltip" }, U = {
230
252
  ]),
231
253
  _: 2
232
254
  }, [
233
- Array.isArray(n(x)) ? {
255
+ Array.isArray(n(h)) ? {
234
256
  name: "tooltip",
235
- fn: s(() => [
257
+ fn: d(() => [
236
258
  c("div", Q, [
237
- (o(!0), l(F, null, L(n(x), (r) => (o(), m(n(g), {
238
- key: r,
259
+ (o(!0), l(L, null, N(n(h), (y) => (o(), f(n(T), {
260
+ key: y,
239
261
  variant: "body2"
240
262
  }, {
241
- default: s(() => [
242
- f(u(r), 1)
263
+ default: d(() => [
264
+ g(r(y), 1)
243
265
  ]),
244
266
  _: 2
245
267
  }, 1024))), 128))
@@ -1090,6 +1090,7 @@ declare const DropdownTypes: () => (({
1090
1090
  nameKey: string;
1091
1091
  imageKey: string;
1092
1092
  iconKey: string;
1093
+ warningKey: string;
1093
1094
  iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1094
1095
  endIconKey: string;
1095
1096
  endTextIconKey: string;
@@ -1152,6 +1153,10 @@ declare const DropdownTypes: () => (({
1152
1153
  type: import("vue").PropType<string>;
1153
1154
  default: any;
1154
1155
  };
1156
+ warningKey: {
1157
+ type: import("vue").PropType<string>;
1158
+ default: any;
1159
+ };
1155
1160
  iconType: {
1156
1161
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1157
1162
  default: string;
@@ -1193,7 +1198,7 @@ declare const DropdownTypes: () => (({
1193
1198
  };
1194
1199
  }>> & {
1195
1200
  onToggleTreeCollapse?: (option: unknown) => any;
1196
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti">;
1201
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti">;
1197
1202
  $attrs: {
1198
1203
  [x: string]: unknown;
1199
1204
  };
@@ -1260,6 +1265,10 @@ declare const DropdownTypes: () => (({
1260
1265
  type: import("vue").PropType<string>;
1261
1266
  default: any;
1262
1267
  };
1268
+ warningKey: {
1269
+ type: import("vue").PropType<string>;
1270
+ default: any;
1271
+ };
1263
1272
  iconType: {
1264
1273
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1265
1274
  default: string;
@@ -1317,6 +1326,7 @@ declare const DropdownTypes: () => (({
1317
1326
  nameKey: string;
1318
1327
  imageKey: string;
1319
1328
  iconKey: string;
1329
+ warningKey: string;
1320
1330
  iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1321
1331
  endIconKey: string;
1322
1332
  endTextIconKey: string;
@@ -1399,6 +1409,10 @@ declare const DropdownTypes: () => (({
1399
1409
  type: import("vue").PropType<string>;
1400
1410
  default: any;
1401
1411
  };
1412
+ warningKey: {
1413
+ type: import("vue").PropType<string>;
1414
+ default: any;
1415
+ };
1402
1416
  iconType: {
1403
1417
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1404
1418
  default: string;
@@ -1497,6 +1511,10 @@ declare const DropdownTypes: () => (({
1497
1511
  type: import("vue").PropType<string>;
1498
1512
  default: any;
1499
1513
  };
1514
+ warningKey: {
1515
+ type: import("vue").PropType<string>;
1516
+ default: any;
1517
+ };
1500
1518
  iconType: {
1501
1519
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
1502
1520
  default: string;
@@ -1554,6 +1572,7 @@ declare const DropdownTypes: () => (({
1554
1572
  nameKey: string;
1555
1573
  imageKey: string;
1556
1574
  iconKey: string;
1575
+ warningKey: string;
1557
1576
  iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1558
1577
  endIconKey: string;
1559
1578
  endTextIconKey: string;
@@ -1570,6 +1589,9 @@ declare const DropdownTypes: () => (({
1570
1589
  "icon-start"?(_: {}): any;
1571
1590
  default?(_: {}): any;
1572
1591
  "icon-end"?(_: {}): any;
1592
+ "option-end"?(_: {
1593
+ option: any;
1594
+ }): any;
1573
1595
  };
1574
1596
  })) | import("vue").DefineComponent<{
1575
1597
  testId: {
@@ -1777,6 +1799,7 @@ declare const DropdownTypes: () => (({
1777
1799
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
1778
1800
  optionsEndTextIconKey: string;
1779
1801
  optionFlagKey: string;
1802
+ optionWarningKey: string;
1780
1803
  disabledOptionKey: string;
1781
1804
  optionTwoLinesVariant: "horizontal" | "vertical";
1782
1805
  optionTwoLinesKey: string;
@@ -1987,6 +2010,10 @@ declare const DropdownTypes: () => (({
1987
2010
  type: import("vue").PropType<string>;
1988
2011
  default: any;
1989
2012
  };
2013
+ optionWarningKey: {
2014
+ type: import("vue").PropType<string>;
2015
+ default: any;
2016
+ };
1990
2017
  disabledOptionKey: {
1991
2018
  type: import("vue").PropType<string>;
1992
2019
  default: string;
@@ -2048,7 +2075,7 @@ declare const DropdownTypes: () => (({
2048
2075
  onUnsavedSelectionUpdate?: (value: unknown[]) => any;
2049
2076
  onOpened?: () => any;
2050
2077
  onClosed?: () => any;
2051
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "dynamicFilterMode" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
2078
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "dynamicFilterMode" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "optionWarningKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
2052
2079
  $attrs: {
2053
2080
  [x: string]: unknown;
2054
2081
  };
@@ -2260,6 +2287,10 @@ declare const DropdownTypes: () => (({
2260
2287
  type: import("vue").PropType<string>;
2261
2288
  default: any;
2262
2289
  };
2290
+ optionWarningKey: {
2291
+ type: import("vue").PropType<string>;
2292
+ default: any;
2293
+ };
2263
2294
  disabledOptionKey: {
2264
2295
  type: import("vue").PropType<string>;
2265
2296
  default: string;
@@ -2383,6 +2414,7 @@ declare const DropdownTypes: () => (({
2383
2414
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
2384
2415
  optionsEndTextIconKey: string;
2385
2416
  optionFlagKey: string;
2417
+ optionWarningKey: string;
2386
2418
  disabledOptionKey: string;
2387
2419
  optionTwoLinesVariant: "horizontal" | "vertical";
2388
2420
  optionTwoLinesKey: string;
@@ -2613,6 +2645,10 @@ declare const DropdownTypes: () => (({
2613
2645
  type: import("vue").PropType<string>;
2614
2646
  default: any;
2615
2647
  };
2648
+ optionWarningKey: {
2649
+ type: import("vue").PropType<string>;
2650
+ default: any;
2651
+ };
2616
2652
  disabledOptionKey: {
2617
2653
  type: import("vue").PropType<string>;
2618
2654
  default: string;
@@ -2879,6 +2915,10 @@ declare const DropdownTypes: () => (({
2879
2915
  type: import("vue").PropType<string>;
2880
2916
  default: any;
2881
2917
  };
2918
+ optionWarningKey: {
2919
+ type: import("vue").PropType<string>;
2920
+ default: any;
2921
+ };
2882
2922
  disabledOptionKey: {
2883
2923
  type: import("vue").PropType<string>;
2884
2924
  default: string;
@@ -3002,6 +3042,7 @@ declare const DropdownTypes: () => (({
3002
3042
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3003
3043
  optionsEndTextIconKey: string;
3004
3044
  optionFlagKey: string;
3045
+ optionWarningKey: string;
3005
3046
  disabledOptionKey: string;
3006
3047
  optionTwoLinesVariant: "horizontal" | "vertical";
3007
3048
  optionTwoLinesKey: string;
@@ -3069,6 +3110,9 @@ declare const DropdownTypes: () => (({
3069
3110
  active: boolean;
3070
3111
  disabled: any;
3071
3112
  }): any;
3113
+ "option-end"?(_: {
3114
+ option: any;
3115
+ }): any;
3072
3116
  };
3073
3117
  })) | import("vue").DefineComponent<{
3074
3118
  label: {
@@ -1,34 +1,41 @@
1
+ import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
1
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  label: string;
3
4
  mandatory?: boolean;
4
5
  testId?: string;
5
6
  hoverHelpText?: string;
6
7
  hoverHelpTextPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
8
+ helpTextIconTooltipTrigger?: TooltipTriggers[];
7
9
  }>, {
8
10
  label: string;
9
11
  mandatory: boolean;
10
12
  testId: string;
11
- hoverHelpText: string;
13
+ hoverHelpText: any;
12
14
  hoverHelpTextPlacement: string;
15
+ helpTextIconTooltipTrigger: () => string[];
13
16
  }>, {}, 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<{
14
17
  label: string;
15
18
  mandatory?: boolean;
16
19
  testId?: string;
17
20
  hoverHelpText?: string;
18
21
  hoverHelpTextPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
22
+ helpTextIconTooltipTrigger?: TooltipTriggers[];
19
23
  }>, {
20
24
  label: string;
21
25
  mandatory: boolean;
22
26
  testId: string;
23
- hoverHelpText: string;
27
+ hoverHelpText: any;
24
28
  hoverHelpTextPlacement: string;
29
+ helpTextIconTooltipTrigger: () => string[];
25
30
  }>>>, {
26
31
  label: string;
27
32
  testId: string;
28
33
  mandatory: boolean;
29
34
  hoverHelpText: string;
30
35
  hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
36
+ helpTextIconTooltipTrigger: TooltipTriggers[];
31
37
  }>, {
38
+ "icon-tooltip-content"?(_: {}): any;
32
39
  default?(_: {}): any;
33
40
  }>;
34
41
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./FormRow.vue2.js";
2
2
  /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css"; //*');
4
- const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fc3897fd"]]);
3
+ // import "../../FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css"; //*');
4
+ const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2d5a3057"]]);
5
5
  export {
6
- c as default
6
+ p as default
7
7
  };
@@ -1,34 +1,45 @@
1
- import "../../FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css"; import { defineComponent as a, openBlock as t, createElementBlock as l, createVNode as n, createCommentVNode as r, createElementVNode as d, renderSlot as c } from "vue";
2
- import m from "../shared/FieldLabel.vue.js";
3
- const s = { class: "form-row" }, h = {
1
+ import "../../FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css"; import { defineComponent as r, useSlots as i, openBlock as o, createElementBlock as l, createVNode as c, createSlots as d, unref as s, withCtx as h, renderSlot as n, createCommentVNode as m, createElementVNode as p } from "vue";
2
+ import u from "../shared/FieldLabel.vue.js";
3
+ const f = { class: "form-row" }, v = {
4
4
  key: 0,
5
5
  class: "label-container"
6
- }, i = { class: "content" }, p = /* @__PURE__ */ a({
6
+ }, x = { class: "content" }, y = /* @__PURE__ */ r({
7
7
  __name: "FormRow",
8
8
  props: {
9
9
  label: { default: "" },
10
10
  mandatory: { type: Boolean, default: !1 },
11
11
  testId: { default: "" },
12
- hoverHelpText: { default: "" },
13
- hoverHelpTextPlacement: { default: "top" }
12
+ hoverHelpText: { default: null },
13
+ hoverHelpTextPlacement: { default: "top" },
14
+ helpTextIconTooltipTrigger: { default: () => ["hover"] }
14
15
  },
15
16
  setup(e) {
16
- return (o, f) => (t(), l("div", s, [
17
- e.label ? (t(), l("div", h, [
18
- n(m, {
17
+ const a = i();
18
+ return (t, T) => (o(), l("div", f, [
19
+ e.label ? (o(), l("div", v, [
20
+ c(u, {
19
21
  label: e.label,
20
22
  mandatory: e.mandatory,
21
23
  "hover-help-text": e.hoverHelpText,
22
24
  "hover-help-text-placement": e.hoverHelpTextPlacement,
25
+ "help-text-icon-tooltip-trigger": e.helpTextIconTooltipTrigger,
23
26
  "test-id": e.testId
24
- }, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "test-id"])
25
- ])) : r("", !0),
26
- d("div", i, [
27
- c(o.$slots, "default", {}, void 0, !0)
27
+ }, d({ _: 2 }, [
28
+ s(a)["icon-tooltip-content"] ? {
29
+ name: "icon-tooltip-content",
30
+ fn: h(() => [
31
+ n(t.$slots, "icon-tooltip-content", {}, void 0, !0)
32
+ ]),
33
+ key: "0"
34
+ } : void 0
35
+ ]), 1032, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "help-text-icon-tooltip-trigger", "test-id"])
36
+ ])) : m("", !0),
37
+ p("div", x, [
38
+ n(t.$slots, "default", {}, void 0, !0)
28
39
  ])
29
40
  ]));
30
41
  }
31
42
  });
32
43
  export {
33
- p as default
44
+ y as default
34
45
  };