@ironsource/shared-ui 2.1.6-rc.25 → 2.1.6-rc.27

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 (28) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_a9f0dfcc_lang.css +1 -0
  2. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +1 -0
  3. package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +1 -0
  4. package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +1 -0
  6. package/components/alert/Alert.vue.d.ts +7 -0
  7. package/components/alert/Alert.vue.js +3 -3
  8. package/components/alert/Alert.vue2.js +44 -40
  9. package/components/alert/index.d.ts +27 -2
  10. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +0 -11
  11. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  12. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +58 -72
  13. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  14. package/components/dropdown/v4/DropdownV4.vue2.js +42 -44
  15. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  16. package/components/dropdown/v4/OptionV4.vue2.js +12 -12
  17. package/components/dropdown/v4/index.d.ts +1 -40
  18. package/components/table/v4/HelpIcon.vue.js +5 -5
  19. package/components/table/v4/HelpIcon.vue2.js +5 -5
  20. package/composables/useFormValidation.js +13 -19
  21. package/index.d.ts +2 -80
  22. package/mocks/apps.d.ts +0 -1
  23. package/package.json +1 -1
  24. package/Alert.vue_vue_type_style_index_0_scoped_d6680a72_lang.css +0 -1
  25. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_092d0e03_lang.css +0 -1
  26. package/DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css +0 -1
  27. package/HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css +0 -1
  28. package/OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css +0 -1
@@ -1,10 +1,10 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as m, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as ye, withModifiers as $, Fragment as me, renderList as pe, toRaw as b, createBlock as H, resolveDynamicComponent as ge } from "vue";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as y, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as me, withModifiers as $, Fragment as ye, renderList as pe, toRaw as k, createBlock as H, resolveDynamicComponent as ge } from "vue";
2
2
  import L from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "./DropdownV4.vue.js";
5
- import ke from "./DefaultDropdownTrigger.vue.js";
6
- import Te from "./IconButtonDropdownTrigger.vue.js";
7
- import be from "./ChipDropdownTrigger.vue.js";
5
+ import Te from "./DefaultDropdownTrigger.vue.js";
6
+ import be from "./IconButtonDropdownTrigger.vue.js";
7
+ import ke from "./ChipDropdownTrigger.vue.js";
8
8
  import he from "./AppDropdownTrigger.vue.js";
9
9
  import "./ButtonDropdownTrigger.vue.js";
10
10
  import "./ButtonFilterDropdownTrigger.vue.js";
@@ -19,7 +19,7 @@ import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
19
19
  import { TRIGGERS as p } from "./Dropdown.types.js";
20
20
  import { useElementSize as Ae } from "@vueuse/core";
21
21
  import Le from "../../shared/FieldHelpText.vue.js";
22
- const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
22
+ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne = { key: 1 }, Ke = { key: 2 }, De = {
23
23
  key: 0,
24
24
  class: "inline-search-wrapper"
25
25
  }, Pe = {
@@ -93,7 +93,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
93
93
  DROPLIST_MIN_WIDTH: 240,
94
94
  VERSION: 4
95
95
  }, {
96
- onKeydown: k,
96
+ onKeydown: T,
97
97
  open: s,
98
98
  toggleMenu: h,
99
99
  onButtonKeydown: G,
@@ -105,10 +105,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
105
105
  allSelected: B,
106
106
  isIndeterminate: J,
107
107
  onSelectAll: Q,
108
- virtualOptions: K,
108
+ virtualOptions: N,
109
109
  isSelected: S,
110
- selectedOption: T,
111
- selectedOptionPrevious: N,
110
+ selectedOption: b,
111
+ selectedOptionPrevious: K,
112
112
  selectedValue: Z,
113
113
  onSelect: D,
114
114
  activeIndex: P,
@@ -122,7 +122,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
122
122
  el: ne,
123
123
  onClearAllSelections: F,
124
124
  clearAll: ae
125
- } = we(d, O, E), y = Se(d.testId, f), z = x(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? ke : d.predefinedTrigger === p.APP ? he : null), { width: V } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? V.value - 2 > 240 ? `${V.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
125
+ } = we(d, O, E), m = Se(d.testId, f), z = x(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? Te : d.predefinedTrigger === p.APP ? he : null), { width: V } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? V.value - 2 > 240 ? `${V.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
126
126
  h();
127
127
  };
128
128
  return M({
@@ -133,12 +133,12 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
133
133
  ref: ne,
134
134
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
135
135
  tabindex: t.disabled ? -1 : 0
136
- }, e(y)[e(f).WRAPPER], {
136
+ }, e(m)[e(f).WRAPPER], {
137
137
  onKeydown: o[8] || (o[8] = //@ts-ignore
138
- (...l) => e(k) && e(k)(...l))
138
+ (...l) => e(T) && e(T)(...l))
139
139
  }), [
140
140
  w(I.$slots, "label", {}, void 0, !0),
141
- m("div", Ee, [
141
+ y("div", Ee, [
142
142
  a(e(ve), u({
143
143
  theme: t.theme,
144
144
  "popper-class": [
@@ -156,7 +156,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
156
156
  "auto-hide": !1,
157
157
  container: t.container,
158
158
  "auto-size": t.autoSize
159
- }, e(y)[e(f).TRIGGER]), {
159
+ }, e(m)[e(f).TRIGGER]), {
160
160
  popper: c(() => [
161
161
  a(ue, null, {
162
162
  default: c(() => [
@@ -174,7 +174,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
174
174
  key: 0,
175
175
  class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
176
176
  onKeydown: o[7] || (o[7] = //@ts-ignore
177
- (...l) => e(k) && e(k)(...l))
177
+ (...l) => e(T) && e(T)(...l))
178
178
  }, [
179
179
  e(s) && t.inlineSearch ? (i(), n("div", De, [
180
180
  a(e(Ie), {
@@ -188,25 +188,25 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
188
188
  size: "md",
189
189
  "auto-focus": t.searchAutoFocus,
190
190
  "test-id": t.testId,
191
- onKeydown: e(k)
191
+ onKeydown: e(T)
192
192
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
193
193
  ])) : r("", !0),
194
194
  w(I.$slots, "input-list", { open: e(s) }, void 0, !0),
195
- m("div", u({
195
+ y("div", u({
196
196
  class: ["list-container", { "list-container--multi": t.multi }],
197
197
  style: { height: `${e(q)}rem` }
198
198
  }, {
199
199
  ...e(X),
200
- ...e(y)[e(f).LIST_CONTAINER]
200
+ ...e(m)[e(f).LIST_CONTAINER]
201
201
  }), [
202
- m("ul", u(e(Y), {
202
+ y("ul", u(e(Y), {
203
203
  role: "listbox",
204
204
  class: ["list", { "list--multi": t.multi }]
205
205
  }), [
206
206
  !e(j).length && !t.loading ? (i(), n("li", Pe, [
207
- a(e(W), u({ variant: "body2" }, e(y)[e(f).NO_RESULT]), {
207
+ a(e(W), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
208
208
  default: c(() => [
209
- g(ye(t.noResultsText), 1)
209
+ g(me(t.noResultsText), 1)
210
210
  ]),
211
211
  _: 1
212
212
  }, 16)
@@ -229,7 +229,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
229
229
  "is-indeterminate": e(J),
230
230
  "select-all-option": ""
231
231
  },
232
- e(y)[e(f).SELECT_ALL],
232
+ e(m)[e(f).SELECT_ALL],
233
233
  {
234
234
  onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
235
235
  }
@@ -240,22 +240,22 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
240
240
  _: 1
241
241
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
242
242
  ])) : r("", !0),
243
- e(K).length && !t.loading ? (i(!0), n(me, { key: 3 }, pe(e(K), ({ data: l, index: v }) => (i(), n("li", {
243
+ e(N).length && !t.loading ? (i(!0), n(ye, { key: 3 }, pe(e(N), ({ data: l, index: v }) => (i(), n("li", {
244
244
  key: v,
245
- "aria-selected": e(S)(b(e(T)), l),
245
+ "aria-selected": e(S)(k(e(b)), l),
246
246
  "aria-disabled": !!t.disabled,
247
247
  onClick: $(() => e(D)(l, v), ["stop"])
248
248
  }, [
249
249
  w(I.$slots, "default", {
250
250
  option: l,
251
- selected: e(S)(b(e(T)), l),
252
- active: b(e(P)) === v,
251
+ selected: e(S)(k(e(b)), l),
252
+ active: k(e(P)) === v,
253
253
  disabled: l[d.disabledOptionKey]
254
254
  }, () => [
255
255
  a(e(U), {
256
256
  option: l,
257
- selected: e(S)(b(e(T)), l),
258
- active: b(e(P)) === v,
257
+ selected: e(S)(k(e(b)), l),
258
+ active: k(e(P)) === v,
259
259
  disabled: l[d.disabledOptionKey],
260
260
  "name-key": t.optionNameKey,
261
261
  "image-key": t.optionImageKey,
@@ -269,7 +269,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
269
269
  ], 16)
270
270
  ], 16),
271
271
  t.multi ? (i(), n("div", Ve, [
272
- m("div", xe, [
272
+ y("div", xe, [
273
273
  a(e(L), u(
274
274
  {
275
275
  ref_key: "clearAll",
@@ -278,7 +278,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
278
278
  variant: "text",
279
279
  color: "primary"
280
280
  },
281
- e(y)[e(f).ACTION_CLEAR_ALL],
281
+ e(m)[e(f).ACTION_CLEAR_ALL],
282
282
  {
283
283
  onClick: o[6] || (o[6] = () => e(F)(!1))
284
284
  }
@@ -289,7 +289,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
289
289
  _: 1
290
290
  }, 16)
291
291
  ]),
292
- m("div", $e, [
292
+ y("div", $e, [
293
293
  a(e(L), u(
294
294
  {
295
295
  ref_key: "cancel",
@@ -298,7 +298,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
298
298
  variant: "outlined",
299
299
  color: "primary"
300
300
  },
301
- e(y)[e(f).ACTION_CANCEL],
301
+ e(m)[e(f).ACTION_CANCEL],
302
302
  { onClick: e(_) }
303
303
  ), {
304
304
  default: c(() => [
@@ -312,7 +312,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
312
312
  "data-testid": "mutli-apply",
313
313
  size: "small",
314
314
  class: "apply-button"
315
- }, e(y)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
315
+ }, e(m)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
316
316
  default: c(() => [
317
317
  g("Apply ")
318
318
  ]),
@@ -327,7 +327,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
327
327
  })
328
328
  ]),
329
329
  default: c(() => [
330
- m("div", {
330
+ y("div", {
331
331
  class: A(["button__container", {
332
332
  "button__container--open": !!e(s),
333
333
  [`button__container--${t.size}`]: !0,
@@ -342,7 +342,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
342
342
  onClick: () => e(h)()
343
343
  }
344
344
  }, () => [
345
- m("div", {
345
+ y("div", {
346
346
  ref_key: "buttonRef",
347
347
  ref: R
348
348
  }, [
@@ -356,15 +356,13 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
356
356
  "test-id": t.testId,
357
357
  multi: t.multi,
358
358
  disabled: t.disabled,
359
- "selected-option": t.multi ? e(N) : e(T),
359
+ "selected-option": t.multi ? e(K) : e(b),
360
360
  "display-value": t.displayValue,
361
361
  options: t.options,
362
362
  "option-name-key": t.optionNameKey,
363
363
  "option-image-key": t.optionImageKey,
364
364
  "option-icon-key": t.optionIconKey,
365
365
  "option-icon-type": t.optionIconType,
366
- "option-end-icon-key": t.optionEndIconKey,
367
- "option-end-icon-type": t.optionEndIconType,
368
366
  "feedback-variant": t.triggerFeedbackVariant,
369
367
  "value-to-copy": t.valueToCopy,
370
368
  "status-dot-type": t.statusType,
@@ -372,20 +370,20 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
372
370
  onKeydown: e(G),
373
371
  onClick: re,
374
372
  onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
375
- }, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
373
+ }, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
376
374
  ])) : r("", !0),
377
- t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ke, [
378
- a(e(Te), {
375
+ t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ne, [
376
+ a(e(be), {
379
377
  onClick: o[1] || (o[1] = (l) => e(h)())
380
378
  })
381
379
  ])) : r("", !0),
382
- t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ne, [
383
- a(e(be), {
380
+ t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ke, [
381
+ a(e(ke), {
384
382
  open: e(s),
385
383
  label: t.placeholder,
386
384
  "test-id": t.testId,
387
385
  options: t.options,
388
- "selected-option": t.multi ? e(N) : e(T),
386
+ "selected-option": t.multi ? e(K) : e(b),
389
387
  "display-value": t.displayValue,
390
388
  multi: t.multi,
391
389
  onClick: o[2] || (o[2] = (l) => e(h)()),
@@ -1,7 +1,7 @@
1
1
  import o from "./OptionV4.vue2.js";
2
- /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-89b98201"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e0c24b6a"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css"; import { defineComponent as $, openBlock as n, createBlock as r, unref as i, withCtx as y, createElementVNode as s, normalizeClass as b, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as k, toDisplayString as h, withModifiers as C } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css"; import { defineComponent as $, openBlock as n, createBlock as u, unref as i, withCtx as y, createElementVNode as s, normalizeClass as b, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as k, toDisplayString as h, withModifiers as C } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
3
  import B from "../../typography/Text.vue.js";
4
4
  import z from "../../checkbox/v4/CheckboxV4.vue.js";
@@ -35,10 +35,10 @@ const P = {
35
35
  toolTipPlacement: { default: "right" }
36
36
  },
37
37
  setup(e) {
38
- const I = e, { selected: m, isMulti: u, id: K, onClick: v, api: T } = V(I), x = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : "", p = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
39
- return (t, a) => (n(), r(i(O), {
40
- text: x(e.option),
41
- "test-id": p(e.option),
38
+ const p = e, { selected: m, isMulti: r, id: v, onClick: I, api: T } = V(p), K = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : "", x = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
39
+ return (t, a) => (n(), u(i(O), {
40
+ text: K(e.option),
41
+ "test-id": x(e.option),
42
42
  placement: e.toolTipPlacement,
43
43
  class: "tooltip-option"
44
44
  }, {
@@ -49,24 +49,24 @@ const P = {
49
49
  "item-container--disabled": e.disabled,
50
50
  "item-container--active": e.nameKey ? !1 : e.active,
51
51
  "item-container--selected": i(m),
52
- "item-container--multi": i(u)
52
+ "item-container--multi": i(r)
53
53
  }])
54
54
  }, [
55
55
  s("div", {
56
56
  class: b(["item", {
57
- "item--multi": i(u),
57
+ "item--multi": i(r),
58
58
  "item--with-icon": t.$slots["icon-start"] || t.$slots.image
59
59
  }])
60
60
  }, [
61
- i(u) ? (n(), r(i(z), {
61
+ i(r) ? (n(), u(i(z), {
62
62
  key: 0,
63
- id: i(K).toString(),
63
+ id: i(v).toString(),
64
64
  tabindex: "-1",
65
65
  class: "checkbox",
66
66
  size: "sm",
67
67
  "is-checked": i(m),
68
68
  "is-indeterminate": e.isIndeterminate && !e.option,
69
- onClick: a[0] || (a[0] = (g) => e.disabled ? i(N)() : i(v)(g))
69
+ onClick: a[0] || (a[0] = (g) => e.disabled ? i(N)() : i(I)(g))
70
70
  }, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
71
71
  t.$slots.image || e.imageKey ? (n(), l("div", P, [
72
72
  c(t.$slots, "image", {}, () => [
@@ -97,7 +97,7 @@ const P = {
97
97
  ]),
98
98
  _: 3
99
99
  }),
100
- e.subtitle ? (n(), r(i(B), {
100
+ e.subtitle ? (n(), u(i(B), {
101
101
  key: 0,
102
102
  class: "subtitle",
103
103
  size: "xs"
@@ -108,7 +108,7 @@ const P = {
108
108
  _: 1
109
109
  })) : o("", !0)
110
110
  ]),
111
- t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), l("div", M, [
111
+ t.$slots["icon-end"] || e.endIconKey ? (n(), l("div", M, [
112
112
  c(t.$slots, "icon-end", {}, () => [
113
113
  d(i(f), {
114
114
  type: e.endIconType,
@@ -553,8 +553,6 @@ declare const DropdownTypes: () => (({
553
553
  optionIconKey: string;
554
554
  optionImageKey: string;
555
555
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
556
- optionEndIconKey: string;
557
- optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
558
556
  valueToCopy: string;
559
557
  selectedOption: any;
560
558
  brandIconType: "android" | "ios";
@@ -625,14 +623,6 @@ declare const DropdownTypes: () => (({
625
623
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
626
624
  default: any;
627
625
  };
628
- optionEndIconKey: {
629
- type: import("vue").PropType<string>;
630
- default: any;
631
- };
632
- optionEndIconType: {
633
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
634
- default: any;
635
- };
636
626
  valueToCopy: {
637
627
  type: import("vue").PropType<string>;
638
628
  default: any;
@@ -648,7 +638,7 @@ declare const DropdownTypes: () => (({
648
638
  }>> & {
649
639
  onClick?: () => any;
650
640
  onCopyToClipboard?: () => any;
651
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
641
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
652
642
  $attrs: {
653
643
  [x: string]: unknown;
654
644
  };
@@ -729,14 +719,6 @@ declare const DropdownTypes: () => (({
729
719
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
730
720
  default: any;
731
721
  };
732
- optionEndIconKey: {
733
- type: import("vue").PropType<string>;
734
- default: any;
735
- };
736
- optionEndIconType: {
737
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
738
- default: any;
739
- };
740
722
  valueToCopy: {
741
723
  type: import("vue").PropType<string>;
742
724
  default: any;
@@ -771,8 +753,6 @@ declare const DropdownTypes: () => (({
771
753
  optionIconKey: string;
772
754
  optionImageKey: string;
773
755
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
774
- optionEndIconKey: string;
775
- optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
776
756
  valueToCopy: string;
777
757
  selectedOption: any;
778
758
  brandIconType: "android" | "ios";
@@ -863,14 +843,6 @@ declare const DropdownTypes: () => (({
863
843
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
864
844
  default: any;
865
845
  };
866
- optionEndIconKey: {
867
- type: import("vue").PropType<string>;
868
- default: any;
869
- };
870
- optionEndIconType: {
871
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
872
- default: any;
873
- };
874
846
  valueToCopy: {
875
847
  type: import("vue").PropType<string>;
876
848
  default: any;
@@ -957,14 +929,6 @@ declare const DropdownTypes: () => (({
957
929
  type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
958
930
  default: any;
959
931
  };
960
- optionEndIconKey: {
961
- type: import("vue").PropType<string>;
962
- default: any;
963
- };
964
- optionEndIconType: {
965
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
966
- default: any;
967
- };
968
932
  valueToCopy: {
969
933
  type: import("vue").PropType<string>;
970
934
  default: any;
@@ -999,8 +963,6 @@ declare const DropdownTypes: () => (({
999
963
  optionIconKey: string;
1000
964
  optionImageKey: string;
1001
965
  optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
1002
- optionEndIconKey: string;
1003
- optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
1004
966
  valueToCopy: string;
1005
967
  selectedOption: any;
1006
968
  brandIconType: "android" | "ios";
@@ -1008,7 +970,6 @@ declare const DropdownTypes: () => (({
1008
970
  $slots: {
1009
971
  image?(_: {}): any;
1010
972
  "icon-start"?(_: {}): any;
1011
- "icon-end"?(_: {}): any;
1012
973
  };
1013
974
  })) | ({
1014
975
  new (...args: any[]): {
@@ -1,7 +1,7 @@
1
- import e from "./HelpIcon.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-06fce2e3"]]);
1
+ import o from "./HelpIcon.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-7a611779"]]);
5
5
  export {
6
- s as default
6
+ t as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css"; import { defineComponent as o, openBlock as l, createBlock as n, unref as t, withCtx as r, createVNode as a } from "vue";
2
- import c from "../../icon/v4/IconV4.vue.js";
3
- import p from "../../tooltip/v4/TooltipV4.vue.js";
1
+ import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css"; import { defineComponent as o, openBlock as n, createBlock as l, unref as t, withCtx as r, createVNode as a } from "vue";
2
+ import c from "../../icon/v3/Icon.vue.js";
3
+ import i from "../../tooltip/v4/TooltipV4.vue.js";
4
4
  const u = /* @__PURE__ */ o({
5
5
  __name: "HelpIcon",
6
6
  props: {
@@ -9,7 +9,7 @@ const u = /* @__PURE__ */ o({
9
9
  testId: { default: "" }
10
10
  },
11
11
  setup(e) {
12
- return (i, m) => (l(), n(t(p), {
12
+ return (m, p) => (n(), l(t(i), {
13
13
  class: "table-help-icon",
14
14
  triggers: ["hover"],
15
15
  text: e.hoverHelpText,
@@ -20,7 +20,7 @@ const u = /* @__PURE__ */ o({
20
20
  a(t(c), {
21
21
  class: "info-icon",
22
22
  name: "question",
23
- size: "16px"
23
+ "font-size": "sm"
24
24
  })
25
25
  ]),
26
26
  _: 1
@@ -1,5 +1,5 @@
1
1
  import * as m from "yup";
2
- import { ref as d, reactive as f, watch as v } from "vue";
2
+ import { ref as u, reactive as f, watch as v } from "vue";
3
3
  const E = (e, r = 0) => {
4
4
  try {
5
5
  window.document.getElementsByClassName(e)[r].scrollIntoView({ behavior: "smooth" });
@@ -9,34 +9,28 @@ const E = (e, r = 0) => {
9
9
  }, h = (e) => {
10
10
  const r = Object.keys(e)?.[0];
11
11
  r && E(`form-field-${r}`);
12
- }, p = (e, r) => {
12
+ }, y = (e, r) => {
13
13
  const o = m.object().shape(e);
14
14
  try {
15
15
  return o.validateSync(r.value, { abortEarly: !1 }), { isValid: !0, errors: {} };
16
16
  } catch (i) {
17
- return { isValid: !1, errors: i.inner.reduce((s, n) => (s[n.path] = n.message, s), {}) };
17
+ return { isValid: !1, errors: i.inner.reduce((s, l) => (s[l.path] = l.message, s), {}) };
18
18
  }
19
19
  }, b = ({
20
20
  formState: e,
21
21
  formValidationSchema: r
22
22
  }) => {
23
- const o = d(!1), i = d(!0), t = f({}), s = (n) => {
24
- const { isValid: l, errors: c } = p(r, e);
25
- o.value = !0, i.value = l, Object.keys(t).forEach((a) => {
23
+ const o = u(!1), i = u(!0), t = f({}), s = (l) => {
24
+ const { isValid: n, errors: c } = y(r, e);
25
+ o.value = !0, i.value = n, Object.keys(t).forEach((a) => {
26
26
  a && !c[a] && delete t[a];
27
- }), Object.entries(c).forEach(([a, u]) => {
28
- t[a] = u;
29
- }), !l && !n && h(t);
27
+ }), Object.entries(c).forEach(([a, d]) => {
28
+ t[a] = d;
29
+ }), !n && !l && h(t);
30
30
  };
31
- return v(
32
- e,
33
- () => {
34
- o.value && s(!0);
35
- },
36
- {
37
- deep: !0
38
- }
39
- ), {
31
+ return v(e.value, () => {
32
+ o.value && s(!0);
33
+ }), {
40
34
  validationErrors: t,
41
35
  isValid: i,
42
36
  validate: s
@@ -46,5 +40,5 @@ export {
46
40
  E as scrollToElementByClass,
47
41
  h as scrollToFirstInvalidElement,
48
42
  b as useFormValidation,
49
- p as yupValidation
43
+ y as yupValidation
50
44
  };