@ironsource/shared-ui 2.2.0-rc.43 → 2.2.0-rc.48

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 (156) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  3. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  4. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
  5. package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
  6. package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +1 -0
  7. package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +1 -0
  9. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +1 -0
  11. package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
  12. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
  13. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -1
  14. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -1
  15. package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
  16. package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
  17. package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +1 -0
  18. package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +1 -0
  19. package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
  20. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  21. package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
  22. package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
  23. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
  24. package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
  25. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  26. package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
  27. package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
  28. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  29. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  30. package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
  31. package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
  32. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  33. package/components/ThemeWrapper/ThemeStrore.d.ts +1 -2
  34. package/components/ThemeWrapper/ThemeStrore.js +11 -14
  35. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  36. package/components/ThemeWrapper/ThemeWrapper.vue2.js +11 -8
  37. package/components/ThemeWrapper/index.d.ts +1 -2
  38. package/components/ThemeWrapper/index.js +2 -4
  39. package/components/alert/Alert.vue.js +4 -4
  40. package/components/alert/Alert.vue2.js +1 -1
  41. package/components/autocomplete/index.d.ts +16 -16
  42. package/components/button/v3/ButtonBase.vue.d.ts +1 -1
  43. package/components/button/v4/ButtonV4.vue.js +3 -3
  44. package/components/button/v4/ButtonV4.vue2.js +1 -1
  45. package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
  46. package/components/columnPicker/index.d.ts +20 -20
  47. package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
  48. package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
  49. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  50. package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
  51. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  52. package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
  53. package/components/dropdown/common/Dropdown.common.js +351 -274
  54. package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
  55. package/components/dropdown/v3/index.d.ts +88 -88
  56. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  57. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
  58. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
  59. package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
  60. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  61. package/components/dropdown/v4/DropdownV4.vue2.js +239 -224
  62. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
  63. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
  64. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
  65. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  66. package/components/dropdown/v4/OptionV4.vue2.js +12 -12
  67. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  68. package/components/dropdown/v4/index.d.ts +2377 -2349
  69. package/components/helpText/HelpText.vue.js +3 -3
  70. package/components/helpText/HelpText.vue2.js +11 -10
  71. package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
  72. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  73. package/components/includeExclude/index.d.ts +54 -54
  74. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  75. package/components/inlineCopy/InlineCopy.vue.js +3 -3
  76. package/components/inlineCopy/InlineCopy.vue2.js +54 -53
  77. package/components/inlineCopy/index.d.ts +9 -0
  78. package/components/input/v4/TextField.vue.d.ts +5 -0
  79. package/components/input/v4/TextField.vue.js +2 -2
  80. package/components/input/v4/TextField.vue2.js +22 -19
  81. package/components/input/v4/index.d.ts +20 -1
  82. package/components/link/Link.vue.js +5 -5
  83. package/components/link/Link.vue2.js +30 -21
  84. package/components/loader/v4/Loader.vue.js +3 -3
  85. package/components/loader/v4/Loader.vue2.js +1 -1
  86. package/components/menu/Menu.vue.js +3 -3
  87. package/components/menu/Menu.vue2.js +30 -33
  88. package/components/multibar/MultiBar.vue.js +3 -3
  89. package/components/multibar/MultiBar.vue2.js +50 -51
  90. package/components/popover/v4/PopoverV4.vue.js +2 -2
  91. package/components/popover/v4/PopoverV4.vue2.js +21 -22
  92. package/components/search/v4/SearchV4.vue.d.ts +5 -0
  93. package/components/search/v4/SearchV4.vue.js +5 -5
  94. package/components/search/v4/SearchV4.vue2.js +23 -18
  95. package/components/search/v4/index.d.ts +9 -0
  96. package/components/shared/FieldLabel.vue.js +3 -3
  97. package/components/shared/FieldLabel.vue2.js +9 -8
  98. package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
  99. package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
  100. package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
  101. package/components/table/v4/DataGridMenu.vue.js +5 -5
  102. package/components/table/v4/DataGridMenu.vue2.js +28 -22
  103. package/components/table/v4/index.d.ts +9 -0
  104. package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
  105. package/components/tabs/v4/TabsV4.vue.js +3 -3
  106. package/components/tabs/v4/TabsV4.vue2.js +74 -43
  107. package/components/tabs/v4/index.d.ts +20 -1
  108. package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
  109. package/components/toggle/v4/ToggleV4.vue.js +3 -3
  110. package/components/toggle/v4/ToggleV4.vue2.js +50 -41
  111. package/components/toggle/v4/index.d.ts +20 -1
  112. package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
  113. package/components/tooltip/v3/index.d.ts +20 -20
  114. package/components/tooltip/v4/TooltipV4.vue.d.ts +15 -2
  115. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  116. package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
  117. package/components/tooltip/v4/index.d.ts +70 -23
  118. package/design-foundation.stories/colors/ColorsData.d.ts +0 -114
  119. package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +1 -28
  120. package/index.d.ts +3013 -2696
  121. package/index.js +1 -1
  122. package/package.json +5 -1
  123. package/style/v4/border-radius.scss +2 -2
  124. package/style/v4/colors.scss +0 -105
  125. package/style/v4/elevations.scss +0 -11
  126. package/style/v4/grid.css +1 -17
  127. package/style/v4/grid.css.map +1 -1
  128. package/style/v4/grid.scss +1 -1
  129. package/style/v4/spacings.scss +1 -1
  130. package/style/v4/styleguideV4.scss +0 -1
  131. package/styleguide.scss +2 -2
  132. package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +0 -1
  133. package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +0 -1
  134. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +0 -1
  135. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
  136. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
  137. package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +0 -1
  138. package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +0 -1
  139. package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +0 -1
  140. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
  141. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
  142. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
  143. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
  144. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
  145. package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +0 -1
  146. package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +0 -1
  147. package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +0 -1
  148. package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +0 -1
  149. package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +0 -1
  150. package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
  151. package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +0 -1
  152. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
  153. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
  154. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_lang.css +0 -1
  155. package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
  156. package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +0 -1
@@ -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_28fab783_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-28fab783"]]);
3
+ // import "../../../TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f4275491"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css"; import { defineComponent as te, computed as i, ref as le, openBlock as l, createElementBlock as s, mergeProps as d, unref as e, createBlock as f, createCommentVNode as n, createVNode as x, withCtx as b, createElementVNode as V, normalizeClass as F, renderSlot as z, createTextVNode as N, toDisplayString as $, withKeys as ae, withModifiers as D, normalizeProps as H } from "vue";
1
+ import "../../../TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css"; import { defineComponent as te, computed as i, ref as le, openBlock as l, createElementBlock as s, mergeProps as d, unref as e, createBlock as f, createCommentVNode as n, createVNode as x, withCtx as v, createElementVNode as V, normalizeClass as F, renderSlot as z, createTextVNode as N, toDisplayString as $, withKeys as ae, withModifiers as D, normalizeProps as H } from "vue";
2
2
  import h from "../../icon/v4/IconV4.vue.js";
3
3
  import "../../icon/v4/IconFlag.vue.js";
4
4
  import R from "../../tooltip/v4/TooltipV4.vue.js";
@@ -16,16 +16,16 @@ const de = {
16
16
  }, ue = ["maxlength", "value", "placeholder", "disabled", "type", "step"], fe = ["onClick"], ce = {
17
17
  key: 5,
18
18
  class: "inline-error"
19
- }, me = {
19
+ }, me = ["aria-label"], ye = {
20
20
  key: 8,
21
21
  class: "loading-indicator"
22
- }, ye = {
22
+ }, xe = {
23
23
  key: 9,
24
24
  class: "icon-container icon-after"
25
- }, xe = {
25
+ }, he = {
26
26
  inheritAttrs: !1
27
- }, Pe = /* @__PURE__ */ te({
28
- ...xe,
27
+ }, Ae = /* @__PURE__ */ te({
28
+ ...he,
29
29
  __name: "TextField",
30
30
  props: {
31
31
  modelValue: { default: "" },
@@ -57,6 +57,7 @@ const de = {
57
57
  inlineErrorText: { default: "" },
58
58
  inlineErrorTextPlacement: { default: "top" },
59
59
  clearable: { type: Boolean, default: !1 },
60
+ clearLabel: { default: "Clear input" },
60
61
  loading: { type: Boolean, default: !1 }
61
62
  },
62
63
  emits: ["update:modelValue", "apply", "clear"],
@@ -93,7 +94,7 @@ const de = {
93
94
  () => a.showApply || r?.confirmable && r?.withIcons && !r?.error?.value
94
95
  ), O = i(
95
96
  () => r?.error?.value ? "error" : a.feedbackVariant
96
- ), v = le(!1), _ = i(() => v.value && a.type === "password" ? "text" : a.type), ee = () => {
97
+ ), b = le(!1), _ = i(() => b.value && a.type === "password" ? "text" : a.type), ee = () => {
97
98
  p("update:modelValue", ""), p("clear");
98
99
  };
99
100
  return K({
@@ -119,7 +120,7 @@ const de = {
119
120
  text: e(E),
120
121
  placement: t.inlineErrorTextPlacement
121
122
  }, e(m)[e(c).TOOLTIP_WITHOUT_ICON]), {
122
- default: b(() => [
123
+ default: v(() => [
123
124
  V("div", {
124
125
  class: F({
125
126
  "input-container": !0,
@@ -135,7 +136,7 @@ const de = {
135
136
  class: "prefix-text",
136
137
  variant: "body1"
137
138
  }, {
138
- default: b(() => [
139
+ default: v(() => [
139
140
  N($(t.prefix), 1)
140
141
  ]),
141
142
  _: 1
@@ -185,7 +186,7 @@ const de = {
185
186
  class: "suffix-text",
186
187
  variant: "body1"
187
188
  }, {
188
- default: b(() => [
189
+ default: v(() => [
189
190
  N($(t.suffix), 1)
190
191
  ]),
191
192
  _: 1
@@ -196,7 +197,7 @@ const de = {
196
197
  text: e(E),
197
198
  placement: t.inlineErrorTextPlacement
198
199
  }, e(m)[e(c).TOOLTIP]), {
199
- default: b(() => [
200
+ default: v(() => [
200
201
  x(e(h), {
201
202
  name: "warning-circle",
202
203
  size: "16px"
@@ -209,9 +210,9 @@ const de = {
209
210
  key: 6,
210
211
  class: "password-visibility-toggle"
211
212
  }, e(m)[e(c).TOGGLE_PASSWORD], {
212
- onClick: o[5] || (o[5] = (u) => v.value = !v.value)
213
+ onClick: o[5] || (o[5] = (u) => b.value = !b.value)
213
214
  }), [
214
- v.value ? (l(), f(e(h), {
215
+ b.value ? (l(), f(e(h), {
215
216
  key: 0,
216
217
  name: "eye",
217
218
  size: "16px"
@@ -221,23 +222,25 @@ const de = {
221
222
  size: "16px"
222
223
  }))
223
224
  ], 16)) : n("", !0),
224
- t.clearable && t.modelValue && !t.loading ? (l(), s("div", d({
225
+ t.clearable && t.modelValue && !t.loading ? (l(), s("button", d({
225
226
  key: 7,
226
- class: "clear-button"
227
+ type: "button",
228
+ class: "clear-button",
229
+ "aria-label": t.clearLabel
227
230
  }, e(m)[e(c).CLEAR_BUTTON], { onClick: ee }), [
228
231
  x(e(h), {
229
232
  name: "x-circle",
230
233
  size: "16px",
231
234
  type: "fill"
232
235
  })
233
- ], 16)) : n("", !0),
234
- t.loading ? (l(), s("div", me, [
236
+ ], 16, me)) : n("", !0),
237
+ t.loading ? (l(), s("div", ye, [
235
238
  x(e(se), d({
236
239
  "max-width": 16,
237
240
  "stroke-width": 1
238
241
  }, e(m)[e(c).LOADING]), null, 16)
239
242
  ])) : n("", !0),
240
- y.$slots.iconAfter ? (l(), s("div", ye, [
243
+ y.$slots.iconAfter ? (l(), s("div", xe, [
241
244
  z(y.$slots, "iconAfter", {}, void 0, !0)
242
245
  ])) : n("", !0)
243
246
  ], 2)
@@ -261,5 +264,5 @@ const de = {
261
264
  }
262
265
  });
263
266
  export {
264
- Pe as default
267
+ Ae as default
265
268
  };
@@ -34,6 +34,7 @@ declare const TextFieldTypes: () => ({
34
34
  showFeedbackTextIcon: boolean;
35
35
  feedbackPositionAbsolute: boolean;
36
36
  clearable: boolean;
37
+ clearLabel: string;
37
38
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
38
39
  type: {
39
40
  type: import("vue").PropType<"number" | "text" | "password">;
@@ -155,11 +156,15 @@ declare const TextFieldTypes: () => ({
155
156
  type: import("vue").PropType<boolean>;
156
157
  default: boolean;
157
158
  };
159
+ clearLabel: {
160
+ type: import("vue").PropType<string>;
161
+ default: string;
162
+ };
158
163
  }>> & {
159
164
  "onUpdate:modelValue"?: (value: string | number) => any;
160
165
  onClear?: () => any;
161
166
  onApply?: () => any;
162
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "testId" | "disabled" | "size" | "mandatory" | "loading" | "modelValue" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute" | "clearable">;
167
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "testId" | "disabled" | "size" | "mandatory" | "loading" | "modelValue" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute" | "clearable" | "clearLabel">;
163
168
  $attrs: {
164
169
  [x: string]: unknown;
165
170
  };
@@ -294,6 +299,10 @@ declare const TextFieldTypes: () => ({
294
299
  type: import("vue").PropType<boolean>;
295
300
  default: boolean;
296
301
  };
302
+ clearLabel: {
303
+ type: import("vue").PropType<string>;
304
+ default: string;
305
+ };
297
306
  }>> & {
298
307
  "onUpdate:modelValue"?: (value: string | number) => any;
299
308
  onClear?: () => any;
@@ -335,6 +344,7 @@ declare const TextFieldTypes: () => ({
335
344
  showFeedbackTextIcon: boolean;
336
345
  feedbackPositionAbsolute: boolean;
337
346
  clearable: boolean;
347
+ clearLabel: string;
338
348
  }, {}, string> & {
339
349
  beforeCreate?: (() => void) | (() => void)[];
340
350
  created?: (() => void) | (() => void)[];
@@ -476,6 +486,10 @@ declare const TextFieldTypes: () => ({
476
486
  type: import("vue").PropType<boolean>;
477
487
  default: boolean;
478
488
  };
489
+ clearLabel: {
490
+ type: import("vue").PropType<string>;
491
+ default: string;
492
+ };
479
493
  }>> & {
480
494
  "onUpdate:modelValue"?: (value: string | number) => any;
481
495
  onClear?: () => any;
@@ -607,6 +621,10 @@ declare const TextFieldTypes: () => ({
607
621
  type: import("vue").PropType<boolean>;
608
622
  default: boolean;
609
623
  };
624
+ clearLabel: {
625
+ type: import("vue").PropType<string>;
626
+ default: string;
627
+ };
610
628
  }>> & {
611
629
  "onUpdate:modelValue"?: (value: string | number) => any;
612
630
  onClear?: () => any;
@@ -648,6 +666,7 @@ declare const TextFieldTypes: () => ({
648
666
  showFeedbackTextIcon: boolean;
649
667
  feedbackPositionAbsolute: boolean;
650
668
  clearable: boolean;
669
+ clearLabel: string;
651
670
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
652
671
  $slots: {
653
672
  iconBefore?(_: {}): any;
@@ -1,7 +1,7 @@
1
- import e from "./Link.vue2.js";
2
- /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css"; //*');
4
- const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-fe0e7f6f"]]);
1
+ import o from "./Link.vue2.js";
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css"; //*');
4
+ const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c4345b08"]]);
5
5
  export {
6
- t as default
6
+ c as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import "../../Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css"; import { defineComponent as m, openBlock as n, createBlock as l, unref as t, mergeProps as c, withCtx as y, createCommentVNode as d, renderSlot as T } from "vue";
2
- import k from "../typography/v4/Typography.vue.js";
3
- import r from "../icon/v4/IconV4.vue.js";
1
+ import "../../Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css"; import { defineComponent as k, openBlock as l, createBlock as d, unref as t, mergeProps as r, withKeys as s, withModifiers as u, withCtx as b, createCommentVNode as f, renderSlot as h } from "vue";
2
+ import v from "../typography/v4/Typography.vue.js";
3
+ import m from "../icon/v4/IconV4.vue.js";
4
4
  import "../icon/v4/IconFlag.vue.js";
5
- import { useTestIdAttrs as p } from "../../utils/testIds.js";
6
- import { LinkTestIdModifiers as o } from "../../testids/index.js";
7
- const w = /* @__PURE__ */ m({
5
+ import { useTestIdAttrs as w } from "../../utils/testIds.js";
6
+ import { LinkTestIdModifiers as n } from "../../testids/index.js";
7
+ const B = /* @__PURE__ */ k({
8
8
  __name: "Link",
9
9
  props: {
10
10
  href: { default: null },
@@ -21,45 +21,54 @@ const w = /* @__PURE__ */ m({
21
21
  navigateToPage: { type: Function, default: null }
22
22
  },
23
23
  emits: ["click"],
24
- setup(e, { emit: u }) {
25
- const i = e, s = () => {
24
+ setup(e, { emit: y }) {
25
+ const i = e, a = () => {
26
26
  if (!i.disabled) {
27
27
  {
28
28
  if (i.navigateToPage)
29
29
  return i.navigateToPage();
30
30
  i.href && window.open(i.href);
31
31
  }
32
- u("click");
32
+ y("click");
33
33
  }
34
- }, a = p(i.testId, o);
35
- return (f, h) => (n(), l(t(k), c({
34
+ }, o = w(i.testId, n);
35
+ return (T, c) => (l(), d(t(v), r({
36
36
  class: ["link", [`link--${e.color}`, { "link--disabled": e.disabled }]],
37
37
  variant: e.variant,
38
38
  "is-truncated": e.isTruncated,
39
39
  "with-tooltip": e.withTooltip,
40
- "tooltip-text": e.tooltipText
41
- }, t(a)[t(o).WRAPPER], { onClick: s }), {
42
- default: y(() => [
43
- e.iconName && e.iconPosition === "start" ? (n(), l(t(r), c({
40
+ "tooltip-text": e.tooltipText,
41
+ role: e.href ? "link" : "button",
42
+ tabindex: e.disabled ? -1 : 0,
43
+ "aria-disabled": e.disabled || void 0
44
+ }, t(o)[t(n).WRAPPER], {
45
+ onClick: a,
46
+ onKeydown: [
47
+ s(u(a, ["prevent"]), ["enter"]),
48
+ c[0] || (c[0] = s(u((x) => !e.href && a(), ["prevent"]), ["space"]))
49
+ ]
50
+ }), {
51
+ default: b(() => [
52
+ e.iconName && e.iconPosition === "start" ? (l(), d(t(m), r({
44
53
  key: 0,
45
54
  name: e.iconName,
46
55
  type: e.iconType,
47
56
  size: "16px",
48
57
  class: "icon"
49
- }, t(a)[t(o).ICON]), null, 16, ["name", "type"])) : d("", !0),
50
- T(f.$slots, "default", {}, void 0, !0),
51
- e.iconName && e.iconPosition === "end" ? (n(), l(t(r), c({
58
+ }, t(o)[t(n).ICON]), null, 16, ["name", "type"])) : f("", !0),
59
+ h(T.$slots, "default", {}, void 0, !0),
60
+ e.iconName && e.iconPosition === "end" ? (l(), d(t(m), r({
52
61
  key: 1,
53
62
  name: e.iconName,
54
63
  type: e.iconType,
55
64
  size: "16px",
56
65
  class: "icon"
57
- }, t(a)[t(o).ICON]), null, 16, ["name", "type"])) : d("", !0)
66
+ }, t(o)[t(n).ICON]), null, 16, ["name", "type"])) : f("", !0)
58
67
  ]),
59
68
  _: 3
60
- }, 16, ["class", "variant", "is-truncated", "with-tooltip", "tooltip-text"]));
69
+ }, 16, ["class", "variant", "is-truncated", "with-tooltip", "tooltip-text", "role", "tabindex", "aria-disabled", "onKeydown"]));
61
70
  }
62
71
  });
63
72
  export {
64
- w as default
73
+ B as default
65
74
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Loader.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-94c3c850"]]);
3
+ // import "../../../Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css"; //*');
4
+ const d = /* @__PURE__ */ e(o, [["__scopeId", "data-v-50d9be64"]]);
5
5
  export {
6
- t as default
6
+ d as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css"; import { defineComponent as v, ref as l, onMounted as m, openBlock as u, createElementBlock as h, createElementVNode as g, renderSlot as x, normalizeStyle as p } from "vue";
1
+ import "../../../Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css"; import { defineComponent as v, ref as l, onMounted as m, openBlock as u, createElementBlock as h, createElementVNode as g, renderSlot as x, normalizeStyle as p } from "vue";
2
2
  const W = { style: { visibility: "hidden" } }, O = ["width", "height"], _ = ["r"], y = /* @__PURE__ */ v({
3
3
  __name: "Loader",
4
4
  props: {
@@ -1,8 +1,8 @@
1
1
  import e from "./Menu.vue2.js";
2
2
  /* empty css *//* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css"; //*');
3
+ // import "../../Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css"; //*');
4
4
  // import "../../Menu.vue_vue_type_style_index_1_lang.css"; //');
5
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-545aa70b"]]);
5
+ const l = /* @__PURE__ */ o(e, [["__scopeId", "data-v-eb057818"]]);
6
6
  export {
7
- a as default
7
+ l as default
8
8
  };
@@ -1,9 +1,8 @@
1
- import "../../Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css"; import "../../Menu.vue_vue_type_style_index_1_lang.css"; import { defineComponent as C, computed as r, ref as l, openBlock as T, createBlock as w, unref as e, withCtx as u, createElementVNode as f, normalizeClass as B, renderSlot as m } from "vue";
2
- import { Dropdown as O } from "floating-vue";
3
- import { onClickOutside as $ } from "@vueuse/core";
4
- import { useToggle as y } from "../../composables/useToggle.js";
5
- import { useThemeStore as R } from "../ThemeWrapper/ThemeStrore.js";
6
- const z = /* @__PURE__ */ C({
1
+ import "../../Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css"; import "../../Menu.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, ref as s, computed as u, openBlock as v, createBlock as h, unref as t, withCtx as a, createElementVNode as l, renderSlot as f } from "vue";
2
+ import { Dropdown as C } from "floating-vue";
3
+ import { onClickOutside as w } from "@vueuse/core";
4
+ import { useToggle as B } from "../../composables/useToggle.js";
5
+ const $ = /* @__PURE__ */ k({
7
6
  __name: "Menu",
8
7
  props: {
9
8
  isOnTop: { type: Boolean, default: !0 },
@@ -13,53 +12,51 @@ const z = /* @__PURE__ */ C({
13
12
  container: { default: "body" },
14
13
  testId: { default: "" }
15
14
  },
16
- setup(t) {
17
- const { theme: a } = R(), c = r(
18
- () => a.value === "dark" ? "is-menu-dark" : "is-menu"
19
- ), p = r(() => `${a.value}-theme-v4`), [g, s] = y({ initialValue: !1 }), d = l(), n = l(), h = r(() => n.value?.getBoundingClientRect()), k = r(() => {
20
- if (!d.value || !n.value)
15
+ setup(e) {
16
+ const [c, d] = B({ initialValue: !1 }), r = s(), n = s(), p = u(() => n.value?.getBoundingClientRect()), g = u(() => {
17
+ if (!r.value || !n.value)
21
18
  return;
22
19
  const { width: o } = n.value.getBoundingClientRect();
23
20
  return -o;
24
21
  });
25
- return $(d, () => {
26
- s(!1);
27
- }), (o, i) => (T(), w(e(O), {
22
+ return w(r, () => {
23
+ d(!1);
24
+ }), (o, i) => (v(), h(t(C), {
28
25
  class: "menu",
29
- theme: e(c),
26
+ theme: "is-menu",
30
27
  triggers: [],
31
- shown: e(g),
28
+ shown: t(c),
32
29
  placement: "auto-start",
33
- container: t.container,
30
+ container: e.container,
34
31
  flip: "",
35
- distance: t.isOnTop ? e(k) : t.distance,
36
- skidding: t.isOnTop ? -e(h)?.height / 2 : t.distance,
32
+ distance: e.isOnTop ? t(g) : e.distance,
33
+ skidding: e.isOnTop ? -t(p)?.height / 2 : e.distance,
37
34
  "auto-hide": !1,
38
- "test-id": t.testId
35
+ "test-id": e.testId
39
36
  }, {
40
- popper: u(() => [
41
- f("div", {
37
+ popper: a(() => [
38
+ l("div", {
42
39
  ref_key: "popup",
43
- ref: d,
44
- class: B(["menu-popup", e(p)]),
45
- onClick: i[1] || (i[1] = (v) => e(s)(!1))
40
+ ref: r,
41
+ class: "menu-popup",
42
+ onClick: i[1] || (i[1] = (m) => t(d)(!1))
46
43
  }, [
47
- m(o.$slots, "default", {}, void 0, !0)
48
- ], 2)
44
+ f(o.$slots, "default", {}, void 0, !0)
45
+ ], 512)
49
46
  ]),
50
- default: u(() => [
51
- f("div", {
47
+ default: a(() => [
48
+ l("div", {
52
49
  ref_key: "triggerRef",
53
50
  ref: n,
54
- onClick: i[0] || (i[0] = (v) => e(s)())
51
+ onClick: i[0] || (i[0] = (m) => t(d)())
55
52
  }, [
56
- m(o.$slots, "trigger", {}, void 0, !0)
53
+ f(o.$slots, "trigger", {}, void 0, !0)
57
54
  ], 512)
58
55
  ]),
59
56
  _: 3
60
- }, 8, ["theme", "shown", "container", "distance", "skidding", "test-id"]));
57
+ }, 8, ["shown", "container", "distance", "skidding", "test-id"]));
61
58
  }
62
59
  });
63
60
  export {
64
- z as default
61
+ $ as default
65
62
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./MultiBar.vue2.js";
2
2
  /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css"; //*');
4
- const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-7c2477ad"]]);
3
+ // import "../../MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css"; //*');
4
+ const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c4395fb6"]]);
5
5
  export {
6
- a as default
6
+ c as default
7
7
  };
@@ -1,21 +1,20 @@
1
- import "../../MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css"; import { defineComponent as g, computed as d, openBlock as s, createBlock as u, Teleport as V, createVNode as c, Transition as $, withCtx as r, unref as e, createElementBlock as m, mergeProps as y, createElementVNode as z, createTextVNode as B, toDisplayString as T, createCommentVNode as f, Fragment as M, renderList as N, normalizeClass as E } from "vue";
2
- import { useVModel as S } from "@vueuse/core";
3
- import { useThemeStore as P } from "../ThemeWrapper/ThemeStrore.js";
4
- import w from "../typography/v4/Typography.vue.js";
5
- import L from "../button/v4/ButtonV4.vue.js";
6
- import O from "../button/v4/IconButtonV4.vue.js";
1
+ import "../../MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_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 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";
2
+ import { useVModel as $ } from "@vueuse/core";
3
+ import E from "../typography/v4/Typography.vue.js";
4
+ import S from "../button/v4/ButtonV4.vue.js";
5
+ import P from "../button/v4/IconButtonV4.vue.js";
7
6
  import "../button/v4/ButtonGroup.vue.js";
8
7
  import "../button/v4/ToggleButtonGroupAB.vue.js";
9
- import R from "./MultiBarMenu.vue.js";
10
- import { useTestIdAttrs as D } from "../../utils/testIds.js";
11
- import { MultiBarTestIdModifiers as l } from "../../testids/index.js";
12
- const F = { class: "multi-bar-panel" }, U = {
8
+ import w from "./MultiBarMenu.vue.js";
9
+ import { useTestIdAttrs as L } from "../../utils/testIds.js";
10
+ import { MultiBarTestIdModifiers as n } from "../../testids/index.js";
11
+ const O = { class: "multi-bar-panel" }, R = {
13
12
  key: 0,
14
13
  class: "count-text"
15
- }, W = {
14
+ }, D = {
16
15
  inheritAttrs: !1
17
- }, oe = /* @__PURE__ */ g({
18
- ...W,
16
+ }, Z = /* @__PURE__ */ k({
17
+ ...D,
19
18
  __name: "MultiBar",
20
19
  props: {
21
20
  modelValue: { type: Boolean },
@@ -29,26 +28,26 @@ const F = { class: "multi-bar-panel" }, U = {
29
28
  zIndex: { default: 1e3 }
30
29
  },
31
30
  emits: ["update:modelValue", "close", "action"],
32
- setup(o, { emit: n }) {
33
- const t = o, b = S(t, "modelValue", n), A = () => {
34
- b.value = !1, n("close");
35
- }, p = (a) => {
36
- n("action", a);
37
- }, C = d(
38
- () => t.actions.length > t.visibleActionsCount ? t.actions.slice(0, t.visibleActionsCount) : t.actions
39
- ), h = d(
40
- () => t.actions.length > t.visibleActionsCount ? t.actions.slice(t.visibleActionsCount) : []
41
- ), v = D(t.testId, l), { theme: I } = P(), k = d(() => `${I.value}-theme-v4`);
42
- return (a, j) => (s(), u(V, {
31
+ setup(o, { emit: s }) {
32
+ const e = o, f = $(e, "modelValue", s), I = () => {
33
+ f.value = !1, s("close");
34
+ }, b = (a) => {
35
+ s("action", a);
36
+ }, p = v(
37
+ () => e.actions.length > e.visibleActionsCount ? e.actions.slice(0, e.visibleActionsCount) : e.actions
38
+ ), C = v(
39
+ () => e.actions.length > e.visibleActionsCount ? e.actions.slice(e.visibleActionsCount) : []
40
+ ), y = L(e.testId, n);
41
+ return (a, F) => (l(), d(x, {
43
42
  to: "body",
44
43
  disabled: !o.appendToBody
45
44
  }, [
46
- c($, { name: "multi-bar" }, {
47
- default: r(() => [
48
- e(b) ? (s(), m("div", y({
45
+ u(g, { name: "multi-bar" }, {
46
+ default: c(() => [
47
+ t(f) ? (l(), r("div", B({
49
48
  key: 0,
50
49
  class: ["multi-bar", {
51
- [e(k)]: !0,
50
+ "light-theme-v4": !0,
52
51
  "multi-bar--fixed": o.appendToBody,
53
52
  "multi-bar--absolute": !o.appendToBody,
54
53
  "multi-bar--small": o.size === "small",
@@ -56,45 +55,45 @@ const F = { class: "multi-bar-panel" }, U = {
56
55
  "multi-bar--left": o.position === "left"
57
56
  }],
58
57
  style: { zIndex: o.zIndex }
59
- }, { ...a.$attrs, ...e(v)[e(l).WRAPPER] }), [
60
- z("div", F, [
61
- c(e(O), y({
58
+ }, { ...a.$attrs, ...t(y)[t(n).WRAPPER] }), [
59
+ V("div", O, [
60
+ u(t(P), B({
62
61
  "icon-name": "x",
63
62
  class: "close-icon"
64
- }, e(v)[e(l).CLOSE_BTN], { onClick: A }), null, 16),
65
- o.selectedCount ? (s(), m("div", U, [
66
- c(e(w), { variant: "body1" }, {
67
- default: r(() => [
68
- B(T(o.selectedCount) + " selected ", 1)
63
+ }, t(y)[t(n).CLOSE_BTN], { onClick: I }), null, 16),
64
+ o.selectedCount ? (l(), r("div", R, [
65
+ u(t(E), { variant: "body1" }, {
66
+ default: c(() => [
67
+ h(A(o.selectedCount) + " selected ", 1)
69
68
  ]),
70
69
  _: 1
71
70
  })
72
- ])) : f("", !0),
73
- (s(!0), m(M, null, N(e(C), (i, x) => (s(), u(e(L), {
71
+ ])) : m("", !0),
72
+ (l(!0), r(z, null, M(t(p), (i, T) => (l(), d(t(S), {
74
73
  key: i.id,
75
- class: E(["action-button", {
76
- "action-button--last": x === e(C).length - 1
74
+ class: N(["action-button", {
75
+ "action-button--last": T === t(p).length - 1
77
76
  }]),
78
77
  variant: "text",
79
78
  color: "default",
80
79
  "start-icon-name": i.icon,
81
- "data-testid": `${t.testId}-${e(l).ACTION}-${i.id}`,
80
+ "data-testid": `${e.testId}-${t(n).ACTION}-${i.id}`,
82
81
  disabled: i.disabled,
83
- onClick: (q) => p(i)
82
+ onClick: (U) => b(i)
84
83
  }, {
85
- default: r(() => [
86
- B(T(i.title), 1)
84
+ default: c(() => [
85
+ h(A(i.title), 1)
87
86
  ]),
88
87
  _: 2
89
88
  }, 1032, ["class", "start-icon-name", "data-testid", "disabled", "onClick"]))), 128)),
90
- e(h).length ? (s(), u(R, {
89
+ t(C).length ? (l(), d(w, {
91
90
  key: 1,
92
- "menu-items": e(h),
93
- "test-id": `${t.testId}-${e(l).MENU}`,
94
- onSelected: p
95
- }, null, 8, ["menu-items", "test-id"])) : f("", !0)
91
+ "menu-items": t(C),
92
+ "test-id": `${e.testId}-${t(n).MENU}`,
93
+ onSelected: b
94
+ }, null, 8, ["menu-items", "test-id"])) : m("", !0)
96
95
  ])
97
- ], 16)) : f("", !0)
96
+ ], 16)) : m("", !0)
98
97
  ]),
99
98
  _: 1
100
99
  })
@@ -102,5 +101,5 @@ const F = { class: "multi-bar-panel" }, U = {
102
101
  }
103
102
  });
104
103
  export {
105
- oe as default
104
+ Z as default
106
105
  };
@@ -1,8 +1,8 @@
1
1
  import o from "./PopoverV4.vue2.js";
2
2
  /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css"; //*');
3
+ // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css"; //*');
4
4
  // import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ea1a3e8c"]]);
5
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9ae00876"]]);
6
6
  export {
7
7
  r as default
8
8
  };