@ironsource/shared-ui 2.1.6-rc.0 → 2.1.6-rc.10

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 (64) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_8c3b0c3f_lang.css +1 -0
  3. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +1 -0
  5. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
  6. package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +1 -0
  7. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  8. package/FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css +1 -0
  9. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +1 -0
  10. package/SearchV4.vue_vue_type_style_index_0_scoped_a468fb4a_lang.css +1 -0
  11. package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +1 -0
  12. package/TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css +1 -0
  13. package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +1 -0
  14. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  15. package/components/autocomplete/Autocomplete.vue.js +2 -2
  16. package/components/autocomplete/Autocomplete.vue2.js +83 -61
  17. package/components/autocomplete/index.d.ts +20 -1
  18. package/components/button/v4/ButtonV4.vue.js +3 -3
  19. package/components/button/v4/ButtonV4.vue2.js +1 -1
  20. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  21. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
  22. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  23. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +40 -49
  24. package/components/dropdown/v4/DropdownV4.vue.d.ts +1 -1
  25. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  26. package/components/dropdown/v4/DropdownV4.vue2.js +117 -110
  27. package/components/dropdown/v4/index.d.ts +20 -20
  28. package/components/forms/FormCard.vue.js +4 -4
  29. package/components/forms/FormCard.vue2.js +1 -1
  30. package/components/input/v4/TextField.vue.d.ts +5 -0
  31. package/components/input/v4/TextField.vue.js +3 -3
  32. package/components/input/v4/TextField.vue2.js +38 -36
  33. package/components/input/v4/index.d.ts +20 -1
  34. package/components/multibar/MultiBar.vue.js +3 -3
  35. package/components/multibar/MultiBar.vue2.js +21 -21
  36. package/components/search/common/Search.common.js +10 -10
  37. package/components/search/v4/SearchV4.vue.d.ts +2 -0
  38. package/components/search/v4/SearchV4.vue.js +5 -5
  39. package/components/search/v4/SearchV4.vue2.js +9 -9
  40. package/components/search/v4/index.d.ts +2 -0
  41. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  42. package/components/table/v4/DataGrid.vue.js +3 -3
  43. package/components/table/v4/DataGrid.vue2.js +138 -137
  44. package/components/table/v4/index.d.ts +7 -1
  45. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  46. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  47. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  48. package/components/tooltip/v4/TooltipV4.vue.js +3 -3
  49. package/components/tooltip/v4/TooltipV4.vue2.js +6 -5
  50. package/components/tooltip/v4/index.d.ts +20 -1
  51. package/index.d.ts +138 -46
  52. package/package.json +1 -1
  53. package/Autocomplete.vue_vue_type_style_index_0_scoped_429e5745_lang.css +0 -1
  54. package/ButtonV4.vue_vue_type_style_index_0_scoped_e535063a_lang.css +0 -1
  55. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_c859928d_lang.css +0 -1
  56. package/DataGrid.vue_vue_type_style_index_0_scoped_bddb537c_lang.css +0 -1
  57. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +0 -1
  58. package/DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css +0 -1
  59. package/FormCard.vue_vue_type_style_index_0_scoped_d3abd36a_lang.css +0 -1
  60. package/MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css +0 -1
  61. package/SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css +0 -1
  62. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
  63. package/TextField.vue_vue_type_style_index_0_scoped_95e25718_lang.css +0 -1
  64. package/TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css +0 -1
@@ -1368,6 +1368,7 @@ declare const DropdownTypes: () => (({
1368
1368
  distance: number;
1369
1369
  popperClass: string;
1370
1370
  selected: any;
1371
+ onClear: () => void;
1371
1372
  modelValue: any;
1372
1373
  placeholder: string;
1373
1374
  multi: boolean;
@@ -1389,7 +1390,6 @@ declare const DropdownTypes: () => (({
1389
1390
  onSearch: (option: any, term: string) => boolean;
1390
1391
  noResultsText: string;
1391
1392
  searchAutoFocus: boolean;
1392
- onClear: () => void;
1393
1393
  optionNameKey: string;
1394
1394
  optionIconKey: string;
1395
1395
  optionImageKey: string;
@@ -1451,6 +1451,10 @@ declare const DropdownTypes: () => (({
1451
1451
  type: import("vue").PropType<unknown[]>;
1452
1452
  required: true;
1453
1453
  };
1454
+ onClear: {
1455
+ type: import("vue").PropType<() => void>;
1456
+ default: () => true;
1457
+ };
1454
1458
  modelValue: {
1455
1459
  type: import("vue").PropType<unknown>;
1456
1460
  default: any;
@@ -1538,10 +1542,6 @@ declare const DropdownTypes: () => (({
1538
1542
  type: import("vue").PropType<boolean>;
1539
1543
  default: boolean;
1540
1544
  };
1541
- onClear: {
1542
- type: import("vue").PropType<() => void>;
1543
- default: () => true;
1544
- };
1545
1545
  displayValue: {
1546
1546
  type: import("vue").PropType<(option: unknown) => string>;
1547
1547
  required: true;
@@ -1588,7 +1588,7 @@ declare const DropdownTypes: () => (({
1588
1588
  "onUpdate:isOpen"?: (value: unknown) => any;
1589
1589
  onOpened?: () => any;
1590
1590
  onClosed?: () => any;
1591
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
1591
+ } & 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" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
1592
1592
  $attrs: {
1593
1593
  [x: string]: unknown;
1594
1594
  };
@@ -1654,6 +1654,10 @@ declare const DropdownTypes: () => (({
1654
1654
  type: import("vue").PropType<unknown[]>;
1655
1655
  required: true;
1656
1656
  };
1657
+ onClear: {
1658
+ type: import("vue").PropType<() => void>;
1659
+ default: () => true;
1660
+ };
1657
1661
  modelValue: {
1658
1662
  type: import("vue").PropType<unknown>;
1659
1663
  default: any;
@@ -1741,10 +1745,6 @@ declare const DropdownTypes: () => (({
1741
1745
  type: import("vue").PropType<boolean>;
1742
1746
  default: boolean;
1743
1747
  };
1744
- onClear: {
1745
- type: import("vue").PropType<() => void>;
1746
- default: () => true;
1747
- };
1748
1748
  displayValue: {
1749
1749
  type: import("vue").PropType<(option: unknown) => string>;
1750
1750
  required: true;
@@ -1812,6 +1812,7 @@ declare const DropdownTypes: () => (({
1812
1812
  distance: number;
1813
1813
  popperClass: string;
1814
1814
  selected: any;
1815
+ onClear: () => void;
1815
1816
  modelValue: any;
1816
1817
  placeholder: string;
1817
1818
  multi: boolean;
@@ -1833,7 +1834,6 @@ declare const DropdownTypes: () => (({
1833
1834
  onSearch: (option: any, term: string) => boolean;
1834
1835
  noResultsText: string;
1835
1836
  searchAutoFocus: boolean;
1836
- onClear: () => void;
1837
1837
  optionNameKey: string;
1838
1838
  optionIconKey: string;
1839
1839
  optionImageKey: string;
@@ -1915,6 +1915,10 @@ declare const DropdownTypes: () => (({
1915
1915
  type: import("vue").PropType<unknown[]>;
1916
1916
  required: true;
1917
1917
  };
1918
+ onClear: {
1919
+ type: import("vue").PropType<() => void>;
1920
+ default: () => true;
1921
+ };
1918
1922
  modelValue: {
1919
1923
  type: import("vue").PropType<unknown>;
1920
1924
  default: any;
@@ -2002,10 +2006,6 @@ declare const DropdownTypes: () => (({
2002
2006
  type: import("vue").PropType<boolean>;
2003
2007
  default: boolean;
2004
2008
  };
2005
- onClear: {
2006
- type: import("vue").PropType<() => void>;
2007
- default: () => true;
2008
- };
2009
2009
  displayValue: {
2010
2010
  type: import("vue").PropType<(option: unknown) => string>;
2011
2011
  required: true;
@@ -2111,6 +2111,10 @@ declare const DropdownTypes: () => (({
2111
2111
  type: import("vue").PropType<unknown[]>;
2112
2112
  required: true;
2113
2113
  };
2114
+ onClear: {
2115
+ type: import("vue").PropType<() => void>;
2116
+ default: () => true;
2117
+ };
2114
2118
  modelValue: {
2115
2119
  type: import("vue").PropType<unknown>;
2116
2120
  default: any;
@@ -2198,10 +2202,6 @@ declare const DropdownTypes: () => (({
2198
2202
  type: import("vue").PropType<boolean>;
2199
2203
  default: boolean;
2200
2204
  };
2201
- onClear: {
2202
- type: import("vue").PropType<() => void>;
2203
- default: () => true;
2204
- };
2205
2205
  displayValue: {
2206
2206
  type: import("vue").PropType<(option: unknown) => string>;
2207
2207
  required: true;
@@ -2269,6 +2269,7 @@ declare const DropdownTypes: () => (({
2269
2269
  distance: number;
2270
2270
  popperClass: string;
2271
2271
  selected: any;
2272
+ onClear: () => void;
2272
2273
  modelValue: any;
2273
2274
  placeholder: string;
2274
2275
  multi: boolean;
@@ -2290,7 +2291,6 @@ declare const DropdownTypes: () => (({
2290
2291
  onSearch: (option: any, term: string) => boolean;
2291
2292
  noResultsText: string;
2292
2293
  searchAutoFocus: boolean;
2293
- onClear: () => void;
2294
2294
  optionNameKey: string;
2295
2295
  optionIconKey: string;
2296
2296
  optionImageKey: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./FormCard.vue2.js";
2
- /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FormCard.vue_vue_type_style_index_0_scoped_d3abd36a_lang.css"; //*');
4
- const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-d3abd36a"]]);
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ef8b4e81"]]);
5
5
  export {
6
- r as default
6
+ t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../FormCard.vue_vue_type_style_index_0_scoped_d3abd36a_lang.css"; import { defineComponent as T, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as l, unref as e, renderSlot as u, createVNode as a, withCtx as m, createTextVNode as g, toDisplayString as v, createBlock as B, createCommentVNode as C } from "vue";
1
+ import "../../FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css"; import { defineComponent as T, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as l, unref as e, renderSlot as u, createVNode as a, withCtx as m, createTextVNode as g, toDisplayString as v, createBlock as B, createCommentVNode as C } from "vue";
2
2
  import p from "../typography/v4/Typography.vue.js";
3
3
  import y from "../button/v4/ButtonV4.vue.js";
4
4
  import "../button/v4/IconButtonV4.vue.js";
@@ -12,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
12
  mandatory?: boolean;
13
13
  feedbackVariant?: FeedbackVariant;
14
14
  feedbackText?: string;
15
+ feedbackPositionAbsolute?: boolean;
15
16
  showFeedbackTextIcon?: boolean;
16
17
  autoFocus?: boolean;
17
18
  type?: FieldType;
@@ -53,6 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
54
  feedbackText: string;
54
55
  feedbackVariant: any;
55
56
  showFeedbackTextIcon: boolean;
57
+ feedbackPositionAbsolute: boolean;
56
58
  }>, {
57
59
  manualFocus: () => any;
58
60
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -69,6 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
71
  mandatory?: boolean;
70
72
  feedbackVariant?: FeedbackVariant;
71
73
  feedbackText?: string;
74
+ feedbackPositionAbsolute?: boolean;
72
75
  showFeedbackTextIcon?: boolean;
73
76
  autoFocus?: boolean;
74
77
  type?: FieldType;
@@ -110,6 +113,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
110
113
  feedbackText: string;
111
114
  feedbackVariant: any;
112
115
  showFeedbackTextIcon: boolean;
116
+ feedbackPositionAbsolute: boolean;
113
117
  }>>> & {
114
118
  "onUpdate:modelValue"?: (value: string | number) => any;
115
119
  onApply?: () => any;
@@ -139,6 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
139
143
  feedbackText: string;
140
144
  feedbackVariant: FeedbackVariant;
141
145
  showFeedbackTextIcon: boolean;
146
+ feedbackPositionAbsolute: boolean;
142
147
  }>, {
143
148
  iconBefore?(_: {}): any;
144
149
  iconAfter?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import e from "./TextField.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextField.vue_vue_type_style_index_0_scoped_95e25718_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-95e25718"]]);
3
+ // import "../../../TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css"; //*');
4
+ const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-22c12586"]]);
5
5
  export {
6
- p as default
6
+ c as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextField.vue_vue_type_style_index_0_scoped_95e25718_lang.css"; import { defineComponent as K, computed as h, ref as M, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as L, normalizeClass as G, renderSlot as V, withCtx as b, createTextVNode as C, toDisplayString as E, withKeys as W, withModifiers as F, createVNode as p } from "vue";
1
+ import "../../../TextField.vue_vue_type_style_index_0_scoped_22c12586_lang.css"; import { defineComponent as M, computed as b, ref as G, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as L, normalizeClass as V, renderSlot as C, withCtx as h, createTextVNode as E, toDisplayString as F, withKeys as W, withModifiers as P, createVNode as p } from "vue";
2
2
  import v from "../../icon/v4/IconV4.vue.js";
3
3
  import j from "../../tooltip/v4/TooltipV4.vue.js";
4
4
  import $ from "../../typography/v4/Typography.vue.js";
@@ -11,19 +11,16 @@ import { useTestIdAttrs as X } from "../../../utils/testIds.js";
11
11
  const Y = {
12
12
  key: 0,
13
13
  class: "icon-container icon-before"
14
- }, Z = ["value", "placeholder", "disabled", "type", "step", "maxlength"], _ = ["onClick"], ee = {
14
+ }, Z = ["maxlength", "value", "placeholder", "disabled", "type", "step"], _ = ["onClick"], ee = {
15
15
  key: 3,
16
16
  class: "inline-error"
17
17
  }, te = {
18
18
  key: 6,
19
19
  class: "icon-container icon-after"
20
20
  }, le = {
21
- key: 1,
22
- class: "footer"
23
- }, ae = {
24
21
  inheritAttrs: !1
25
- }, ye = /* @__PURE__ */ K({
26
- ...ae,
22
+ }, me = /* @__PURE__ */ M({
23
+ ...le,
27
24
  __name: "TextField",
28
25
  props: {
29
26
  modelValue: { default: "" },
@@ -36,6 +33,7 @@ const Y = {
36
33
  mandatory: { type: Boolean, default: !1 },
37
34
  feedbackVariant: { default: null },
38
35
  feedbackText: { default: "" },
36
+ feedbackPositionAbsolute: { type: Boolean, default: !1 },
39
37
  showFeedbackTextIcon: { type: Boolean, default: !1 },
40
38
  autoFocus: { type: Boolean, default: !1 },
41
39
  type: { default: "text" },
@@ -53,23 +51,23 @@ const Y = {
53
51
  inlineErrorText: { default: "" }
54
52
  },
55
53
  emits: ["update:modelValue", "apply"],
56
- setup(e, { expose: P, emit: k }) {
57
- const s = e, c = X(s.testId, f), z = () => {
58
- s.showApply ? k("apply") : o?.confirmable && D();
59
- }, O = () => T.value.focus(), {
60
- onConfirm: D,
54
+ setup(e, { expose: z, emit: k }) {
55
+ const s = e, c = X(s.testId, f), O = () => {
56
+ s.showApply ? k("apply") : o?.confirmable && N();
57
+ }, D = () => T.value.focus(), {
58
+ onConfirm: N,
61
59
  onEnter: w,
62
60
  inputRef: T,
63
61
  isFocused: x,
64
62
  showLabelInside: g,
65
63
  api: o,
66
- labelText: N,
67
- sizeClass: S,
64
+ labelText: S,
65
+ sizeClass: H,
68
66
  handleInput: I,
69
67
  handleKeypress: B
70
- } = q(s, k), A = h(() => o.value?.value ?? s.modelValue), H = h(() => (A.value || "").length), m = M(!1), R = h(() => m.value && s.type === "password" ? "text" : s.type);
71
- return P({
72
- manualFocus: O
68
+ } = q(s, k), A = b(() => o.value?.value ?? s.modelValue), R = b(() => (A.value || "").length), m = G(!1), K = b(() => m.value && s.type === "password" ? "text" : s.type);
69
+ return z({
70
+ manualFocus: D
73
71
  }), (u, a) => (l(), r("div", y({
74
72
  class: {
75
73
  "input-with-label-container": !0,
@@ -87,46 +85,47 @@ const Y = {
87
85
  "test-id": e.testId
88
86
  }, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
89
87
  L("div", {
90
- class: G({
88
+ class: V({
91
89
  "input-container": !0,
92
90
  "label-inside": t(g),
93
91
  focused: t(x)
94
92
  })
95
93
  }, [
96
94
  u.$slots.iconBefore ? (l(), r("div", Y, [
97
- V(u.$slots, "iconBefore", {}, void 0, !0)
95
+ C(u.$slots, "iconBefore", {}, void 0, !0)
98
96
  ])) : n("", !0),
99
97
  e.prefix ? (l(), d(t($), {
100
98
  key: 1,
101
99
  class: "prefix-text",
102
100
  variant: "body1"
103
101
  }, {
104
- default: b(() => [
105
- C(E(e.prefix), 1)
102
+ default: h(() => [
103
+ E(F(e.prefix), 1)
106
104
  ]),
107
105
  _: 1
108
106
  })) : n("", !0),
109
- L("input", y({ ...u.$attrs, ...t(c)[t(f).FIELD] }, {
107
+ L("input", y({
110
108
  ref_key: "inputRef",
111
109
  ref: T,
110
+ maxlength: e.maxLength
111
+ }, { ...u.$attrs, ...t(c)[t(f).FIELD] }, {
112
112
  value: t(A),
113
- placeholder: t(N),
113
+ placeholder: t(S),
114
114
  disabled: e.disabled || e.viewOnly,
115
- type: t(R),
115
+ type: t(K),
116
116
  class: ["input", {
117
- [t(S)]: !0,
117
+ [t(H)]: !0,
118
118
  "view-only": e.viewOnly,
119
119
  "label-inside": t(g),
120
120
  "hide-arrows": e.hideNumberArrows,
121
121
  "input-type": e.type
122
122
  }],
123
123
  step: e.step,
124
- maxlength: e.maxLength,
125
124
  onInput: a[0] || (a[0] = //@ts-ignore
126
125
  (...i) => t(I) && t(I)(...i)),
127
126
  onFocus: a[1] || (a[1] = (i) => x.value = !0),
128
127
  onBlur: a[2] || (a[2] = (i) => x.value = !1),
129
- onKeyup: a[3] || (a[3] = W(F(
128
+ onKeyup: a[3] || (a[3] = W(P(
130
129
  //@ts-ignore
131
130
  (...i) => t(w) && t(w)(...i),
132
131
  ["prevent"]
@@ -137,7 +136,7 @@ const Y = {
137
136
  e.showApply || t(o)?.confirmable && !t(o)?.error?.value ? (l(), r("div", {
138
137
  key: 2,
139
138
  class: "apply-button",
140
- onClick: F(z, ["stop", "prevent"])
139
+ onClick: P(O, ["stop", "prevent"])
141
140
  }, [
142
141
  p(t(v), {
143
142
  name: "check",
@@ -150,7 +149,7 @@ const Y = {
150
149
  text: e.inlineErrorText || t(o)?.error?.value,
151
150
  "test-id": e.testId
152
151
  }, t(c)[t(f).TOOLTIP]), {
153
- default: b(() => [
152
+ default: h(() => [
154
153
  p(t(v), {
155
154
  name: "warning-circle",
156
155
  size: "16px"
@@ -164,8 +163,8 @@ const Y = {
164
163
  class: "suffix-text",
165
164
  variant: "body1"
166
165
  }, {
167
- default: b(() => [
168
- C(E(e.suffix), 1)
166
+ default: h(() => [
167
+ E(F(e.suffix), 1)
169
168
  ]),
170
169
  _: 1
171
170
  })) : n("", !0),
@@ -186,10 +185,13 @@ const Y = {
186
185
  }))
187
186
  ], 16)) : n("", !0),
188
187
  u.$slots.iconAfter ? (l(), r("div", te, [
189
- V(u.$slots, "iconAfter", {}, void 0, !0)
188
+ C(u.$slots, "iconAfter", {}, void 0, !0)
190
189
  ])) : n("", !0)
191
190
  ], 2),
192
- e.feedbackText || e.maxLength ? (l(), r("div", le, [
191
+ e.feedbackText || e.maxLength ? (l(), r("div", {
192
+ key: 1,
193
+ class: V(["footer", e.feedbackPositionAbsolute && "footer-absolute"])
194
+ }, [
193
195
  e.feedbackText ? (l(), d(Q, {
194
196
  key: 0,
195
197
  text: e.feedbackText,
@@ -199,13 +201,13 @@ const Y = {
199
201
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : n("", !0),
200
202
  e.maxLength ? (l(), d(U, {
201
203
  key: 1,
202
- "current-length": t(H),
204
+ "current-length": t(R),
203
205
  "max-length": e.maxLength
204
206
  }, null, 8, ["current-length", "max-length"])) : n("", !0)
205
- ])) : n("", !0)
207
+ ], 2)) : n("", !0)
206
208
  ], 16));
207
209
  }
208
210
  });
209
211
  export {
210
- ye as default
212
+ me as default
211
213
  };
@@ -29,6 +29,7 @@ declare const TextFieldTypes: () => ({
29
29
  feedbackText: string;
30
30
  feedbackVariant: "success" | "warning" | "error";
31
31
  showFeedbackTextIcon: boolean;
32
+ feedbackPositionAbsolute: boolean;
32
33
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
33
34
  type: {
34
35
  type: import("vue").PropType<"number" | "text" | "password">;
@@ -130,10 +131,14 @@ declare const TextFieldTypes: () => ({
130
131
  type: import("vue").PropType<boolean>;
131
132
  default: boolean;
132
133
  };
134
+ feedbackPositionAbsolute: {
135
+ type: import("vue").PropType<boolean>;
136
+ default: boolean;
137
+ };
133
138
  }>> & {
134
139
  "onUpdate:modelValue"?: (value: string | number) => any;
135
140
  onApply?: () => any;
136
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon">;
141
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
137
142
  $attrs: {
138
143
  [x: string]: unknown;
139
144
  };
@@ -248,6 +253,10 @@ declare const TextFieldTypes: () => ({
248
253
  type: import("vue").PropType<boolean>;
249
254
  default: boolean;
250
255
  };
256
+ feedbackPositionAbsolute: {
257
+ type: import("vue").PropType<boolean>;
258
+ default: boolean;
259
+ };
251
260
  }>> & {
252
261
  "onUpdate:modelValue"?: (value: string | number) => any;
253
262
  onApply?: () => any;
@@ -282,6 +291,7 @@ declare const TextFieldTypes: () => ({
282
291
  feedbackText: string;
283
292
  feedbackVariant: "success" | "warning" | "error";
284
293
  showFeedbackTextIcon: boolean;
294
+ feedbackPositionAbsolute: boolean;
285
295
  }, {}, string> & {
286
296
  beforeCreate?: (() => void) | (() => void)[];
287
297
  created?: (() => void) | (() => void)[];
@@ -403,6 +413,10 @@ declare const TextFieldTypes: () => ({
403
413
  type: import("vue").PropType<boolean>;
404
414
  default: boolean;
405
415
  };
416
+ feedbackPositionAbsolute: {
417
+ type: import("vue").PropType<boolean>;
418
+ default: boolean;
419
+ };
406
420
  }>> & {
407
421
  "onUpdate:modelValue"?: (value: string | number) => any;
408
422
  onApply?: () => any;
@@ -513,6 +527,10 @@ declare const TextFieldTypes: () => ({
513
527
  type: import("vue").PropType<boolean>;
514
528
  default: boolean;
515
529
  };
530
+ feedbackPositionAbsolute: {
531
+ type: import("vue").PropType<boolean>;
532
+ default: boolean;
533
+ };
516
534
  }>> & {
517
535
  "onUpdate:modelValue"?: (value: string | number) => any;
518
536
  onApply?: () => any;
@@ -547,6 +565,7 @@ declare const TextFieldTypes: () => ({
547
565
  feedbackText: string;
548
566
  feedbackVariant: "success" | "warning" | "error";
549
567
  showFeedbackTextIcon: boolean;
568
+ feedbackPositionAbsolute: boolean;
550
569
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
551
570
  $slots: {
552
571
  iconBefore?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./MultiBar.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b473b35e"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; //*');
4
+ const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-71617643"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as c, Transition as g, withCtx as u, unref as t, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
1
+ import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as e, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
2
2
  import { useVModel as $ } from "@vueuse/core";
3
3
  import E from "../typography/v4/Typography.vue.js";
4
4
  import S from "../button/v4/ButtonV4.vue.js";
@@ -27,67 +27,67 @@ const O = { class: "multi-bar-panel" }, R = {
27
27
  },
28
28
  emits: ["update:modelValue", "close", "action"],
29
29
  setup(o, { emit: s }) {
30
- const e = o, f = $(e, "modelValue", s), I = () => {
30
+ const t = o, f = $(t, "modelValue", s), I = () => {
31
31
  f.value = !1, s("close");
32
32
  }, b = (a) => {
33
33
  s("action", a);
34
34
  }, p = v(
35
- () => e.actions.length > e.visibleActionsCount ? e.actions.slice(0, e.visibleActionsCount) : e.actions
35
+ () => t.actions.length > t.visibleActionsCount ? t.actions.slice(0, t.visibleActionsCount) : t.actions
36
36
  ), C = v(
37
- () => e.actions.length > e.visibleActionsCount ? e.actions.slice(e.visibleActionsCount) : []
38
- ), y = L(e.testId, n);
37
+ () => t.actions.length > t.visibleActionsCount ? t.actions.slice(t.visibleActionsCount) : []
38
+ ), y = L(t.testId, n);
39
39
  return (a, F) => (l(), d(x, {
40
40
  to: "body",
41
41
  disabled: !o.appendToBody
42
42
  }, [
43
- c(g, { name: "multi-bar" }, {
44
- default: u(() => [
45
- t(f) ? (l(), r("div", B({
43
+ u(g, { name: "multi-bar" }, {
44
+ default: c(() => [
45
+ e(f) ? (l(), r("div", B({
46
46
  key: 0,
47
47
  class: ["multi-bar", {
48
48
  "light-theme-v4": !0,
49
49
  "multi-bar--fixed": o.appendToBody,
50
- "multi-bar--sticky": !o.appendToBody,
50
+ "multi-bar--absolute": !o.appendToBody,
51
51
  "multi-bar--small": o.size === "small",
52
52
  "multi-bar--medium": o.size === "medium",
53
53
  "multi-bar--left": o.position === "left"
54
54
  }],
55
55
  style: { zIndex: o.zIndex }
56
- }, { ...a.$attrs, ...t(y)[t(n).WRAPPER] }), [
56
+ }, { ...a.$attrs, ...e(y)[e(n).WRAPPER] }), [
57
57
  V("div", O, [
58
- c(t(P), B({
58
+ u(e(P), B({
59
59
  "icon-name": "x",
60
60
  class: "close-icon"
61
- }, t(y)[t(n).CLOSE_BTN], { onClick: I }), null, 16),
61
+ }, e(y)[e(n).CLOSE_BTN], { onClick: I }), null, 16),
62
62
  o.selectedCount ? (l(), r("div", R, [
63
- c(t(E), { variant: "body1" }, {
64
- default: u(() => [
63
+ u(e(E), { variant: "body1" }, {
64
+ default: c(() => [
65
65
  h(A(o.selectedCount) + " selected ", 1)
66
66
  ]),
67
67
  _: 1
68
68
  })
69
69
  ])) : m("", !0),
70
- (l(!0), r(z, null, M(t(p), (i, T) => (l(), d(t(S), {
70
+ (l(!0), r(z, null, M(e(p), (i, T) => (l(), d(e(S), {
71
71
  key: i.id,
72
72
  class: N(["action-button", {
73
- "action-button--last": T === t(p).length - 1
73
+ "action-button--last": T === e(p).length - 1
74
74
  }]),
75
75
  variant: "text",
76
76
  color: "default",
77
77
  "start-icon-name": i.icon,
78
- "data-testid": `${e.testId}-${t(n).ACTION}-${i.id}`,
78
+ "data-testid": `${t.testId}-${e(n).ACTION}-${i.id}`,
79
79
  disabled: i.disabled,
80
80
  onClick: (U) => b(i)
81
81
  }, {
82
- default: u(() => [
82
+ default: c(() => [
83
83
  h(A(i.title), 1)
84
84
  ]),
85
85
  _: 2
86
86
  }, 1032, ["class", "start-icon-name", "data-testid", "disabled", "onClick"]))), 128)),
87
- t(C).length ? (l(), d(w, {
87
+ e(C).length ? (l(), d(w, {
88
88
  key: 1,
89
- "menu-items": t(C),
90
- "test-id": `${e.testId}-${t(n).MENU}`,
89
+ "menu-items": e(C),
90
+ "test-id": `${t.testId}-${e(n).MENU}`,
91
91
  onSelected: b
92
92
  }, null, 8, ["menu-items", "test-id"])) : m("", !0)
93
93
  ])
@@ -1,20 +1,20 @@
1
- import { ref as d, computed as e } from "vue";
2
- const I = (a, u) => {
3
- const t = d(), s = (m) => {
4
- u("update:modelValue", m.target.value);
1
+ import { ref as m, computed as e } from "vue";
2
+ const I = (t, u) => {
3
+ const a = m(), s = (d) => {
4
+ u("update:modelValue", d.target.value);
5
5
  }, o = () => {
6
- u("update:modelValue", ""), t.value.focus ? l() : t.value.manualFocus();
7
- }, i = () => {
6
+ u("update:modelValue", ""), u("onClear"), a.value.focus ? l() : a.value.manualFocus();
7
+ }, v = () => {
8
8
  n.value ? o() : l();
9
- }, l = () => t.value.focus(), n = e(() => a.modelValue !== ""), r = e(() => a.variant === "inline-table"), c = e(() => a.variant === "transparent"), v = e(() => ((r.value || c.value) && n.value, n.value)), f = e(() => c.value || r.value), h = e(() => n.value ? "cancel" : "search");
9
+ }, l = () => a.value.focus(), n = e(() => t.modelValue !== ""), r = e(() => t.variant === "inline-table"), c = e(() => t.variant === "transparent"), i = e(() => ((r.value || c.value) && n.value, n.value)), f = e(() => c.value || r.value), h = e(() => n.value ? "cancel" : "search");
10
10
  return {
11
11
  showLeftIcon: f,
12
12
  updateValue: s,
13
- showRightIcon: v,
13
+ showRightIcon: i,
14
14
  showClear: n,
15
15
  rightIcon: h,
16
- onRightIconClick: i,
17
- inputRef: t,
16
+ onRightIconClick: v,
17
+ inputRef: a,
18
18
  clearValue: o
19
19
  };
20
20
  };
@@ -13,6 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
13
13
  inputRef: import("vue").Ref<any>;
14
14
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: string | number) => void;
16
+ onClear: () => void;
16
17
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
18
  modelValue: string;
18
19
  placeholder: string;
@@ -26,6 +27,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
26
27
  placeholder: string;
27
28
  }>>> & {
28
29
  "onUpdate:modelValue"?: (value: string | number) => any;
30
+ onOnClear?: () => any;
29
31
  }, {
30
32
  disabled: boolean;
31
33
  testId: string;
@@ -1,7 +1,7 @@
1
- import e from "./SearchV4.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-1330ea8b"]]);
1
+ import o from "./SearchV4.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../SearchV4.vue_vue_type_style_index_0_scoped_a468fb4a_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a468fb4a"]]);
5
5
  export {
6
- a as default
6
+ t as default
7
7
  };