@ironsource/shared-ui 2.1.7-test.1 → 2.1.7-test.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 (159) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +1 -0
  5. package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css +1 -0
  8. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
  9. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
  10. package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
  11. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
  12. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
  13. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
  14. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
  15. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
  16. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
  17. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
  18. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
  19. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
  20. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
  21. package/README.md +1 -1
  22. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +1 -0
  23. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +1 -0
  24. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
  25. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  26. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
  27. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
  28. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  29. package/TreeDropdown.vue_vue_type_style_index_0_scoped_dbd80d49_lang.css +1 -0
  30. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  31. package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
  32. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  33. package/components/appHeader/index.d.ts +9 -9
  34. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  35. package/components/autocomplete/Autocomplete.vue.js +2 -2
  36. package/components/autocomplete/Autocomplete.vue2.js +57 -45
  37. package/components/autocomplete/index.d.ts +20 -1
  38. package/components/chart/Chart.vue.js +7 -0
  39. package/components/chart/Chart.vue2.js +281 -0
  40. package/components/chart/ChartHeader.vue.js +7 -0
  41. package/components/chart/ChartHeader.vue2.js +51 -0
  42. package/components/chart/ChartLegend.vue.js +7 -0
  43. package/components/chart/ChartLegend.vue2.js +65 -0
  44. package/components/chart/ChartLoader.vue.js +25 -0
  45. package/components/chart/ChartLoader.vue2.js +0 -0
  46. package/components/chart/ChartTooltip.vue.js +7 -0
  47. package/components/chart/ChartTooltip.vue2.js +81 -0
  48. package/components/chart/composables/useChartValues.js +32 -0
  49. package/components/chart/composables/useTooltipPosition.js +22 -0
  50. package/components/chart/consts.js +21 -0
  51. package/components/chart/index.js +6 -0
  52. package/components/chart/plugins/HoverVerticalLine.js +12 -0
  53. package/components/chart/types.js +4 -0
  54. package/components/chart/utils/formatNumber.js +11 -0
  55. package/components/chart/utils/utils.js +12 -0
  56. package/components/dropdown/common/Dropdown.common.js +89 -89
  57. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
  58. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  59. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
  60. package/components/dropdown/v4/DropdownV4.vue.d.ts +39 -0
  61. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  62. package/components/dropdown/v4/DropdownV4.vue2.js +256 -224
  63. package/components/dropdown/v4/OptionV4.vue.d.ts +36 -2
  64. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  65. package/components/dropdown/v4/OptionV4.vue2.js +99 -59
  66. package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
  67. package/components/dropdown/v4/TreeDropdown.vue.js +3 -3
  68. package/components/dropdown/v4/TreeDropdown.vue2.js +170 -74
  69. package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
  70. package/components/dropdown/v4/index.d.ts +528 -83
  71. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  72. package/components/icon/v4/IconV4.vue.js +4 -4
  73. package/components/icon/v4/IconV4.vue2.js +29 -26
  74. package/components/icon/v4/index.d.ts +20 -1
  75. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  76. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  77. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  78. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  79. package/components/input/v4/TextField.vue.d.ts +6 -1
  80. package/components/input/v4/TextField.vue.js +3 -3
  81. package/components/input/v4/TextField.vue2.js +95 -90
  82. package/components/input/v4/index.d.ts +20 -1
  83. package/components/popover/common/Popover.common.d.ts +6 -0
  84. package/components/popover/common/Popover.common.js +17 -0
  85. package/components/popover/v3/Popover.vue.js +8 -0
  86. package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
  87. package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
  88. package/components/popover/v4/PopoverV4.vue.js +7 -0
  89. package/components/popover/v4/PopoverV4.vue2.js +54 -0
  90. package/components/popover/v4/index.d.ts +209 -0
  91. package/components/popover/v4/index.js +6 -0
  92. package/components/shared/FieldMaxLength.vue.js +3 -3
  93. package/components/shared/FieldMaxLength.vue2.js +2 -2
  94. package/components/shared/commonTypes.d.ts +2 -0
  95. package/components/sortableList/SortableItem.vue.js +7 -0
  96. package/components/sortableList/SortableItem.vue2.js +140 -0
  97. package/components/sortableList/SortableItemLabel.vue.js +7 -0
  98. package/components/sortableList/SortableItemLabel.vue2.js +60 -0
  99. package/components/sortableList/SortableList.vue.d.ts +25 -0
  100. package/components/sortableList/SortableList.vue.js +7 -0
  101. package/components/sortableList/SortableList.vue2.js +160 -0
  102. package/components/sortableList/composables/useHoverEffect.js +19 -0
  103. package/components/sortableList/consts.js +4 -0
  104. package/components/sortableList/index.d.ts +88 -2
  105. package/components/sortableList/index.js +6 -0
  106. package/components/table/v3/Table.vue.d.ts +2 -2
  107. package/components/table/v3/index.d.ts +39 -39
  108. package/components/table/v4/DataGrid.vue.d.ts +6 -2
  109. package/components/table/v4/DataGrid.vue.js +4 -4
  110. package/components/table/v4/DataGrid.vue2.js +131 -122
  111. package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
  112. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  113. package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
  114. package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
  115. package/components/table/v4/MultipleDataGrid.vue.js +4 -4
  116. package/components/table/v4/MultipleDataGrid.vue2.js +114 -66
  117. package/components/table/v4/index.d.ts +101 -75
  118. package/components/table-cells/common/Editable.common.js +37 -26
  119. package/components/table-cells/common/EditableContext.d.ts +1 -0
  120. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  121. package/components/table-cells/v4/EditableV4.vue.js +5 -5
  122. package/components/table-cells/v4/EditableV4.vue2.js +18 -17
  123. package/components/table-cells/v4/index.d.ts +20 -1
  124. package/components/tabs/v4/TabsV4.vue.js +4 -4
  125. package/components/tabs/v4/TabsV4.vue2.js +37 -40
  126. package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
  127. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  128. package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
  129. package/components/textArea/v4/index.d.ts +9 -0
  130. package/design-foundation.stories/icons/iconsData.d.ts +6 -2
  131. package/index.d.ts +9608 -7356
  132. package/index.js +136 -131
  133. package/mocks/options.d.ts +12 -0
  134. package/package.json +15 -3
  135. package/testids/index.d.ts +5 -0
  136. package/testids/index.js +27 -25
  137. package/utils/search.js +4 -0
  138. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
  139. package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
  140. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
  141. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
  142. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
  143. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
  144. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
  145. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
  146. package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
  147. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
  148. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
  149. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
  150. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
  151. package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
  152. package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
  153. package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
  154. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
  155. package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
  156. package/components/popover/Popover.vue.js +0 -8
  157. /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
  158. /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
  159. /package/components/popover/{index.js → v3/index.js} +0 -0
@@ -1,35 +1,35 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_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 v, createElementVNode as p, 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 pe, renderList as me, toRaw as h, createBlock as H, resolveDynamicComponent as ge } from "vue";
2
- import O from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as H, openBlock as i, createElementBlock as n, mergeProps as u, unref as t, renderSlot as I, createElementVNode as m, createVNode as a, withCtx as c, Transition as ue, normalizeClass as K, normalizeStyle as ce, isRef as ye, createCommentVNode as r, createTextVNode as T, toDisplayString as fe, withModifiers as U, Fragment as me, renderList as pe, toRaw as w, createBlock as W, resolveDynamicComponent as ge } from "vue";
2
+ import L from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "./DropdownV4.vue.js";
5
5
  import Te from "./DefaultDropdownTrigger.vue.js";
6
- import ke from "./IconButtonDropdownTrigger.vue.js";
7
- import be from "./ChipDropdownTrigger.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";
11
11
  import "./TreeDropdown.vue.js";
12
- import U from "./OptionV4.vue.js";
13
- import we from "../../search/v4/SearchV4.vue.js";
14
- import W from "../../typography/v4/Typography.vue.js";
15
- import { Dropdown as Ie } from "floating-vue";
16
- import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
12
+ import M from "./OptionV4.vue.js";
13
+ import Ie from "../../search/v4/SearchV4.vue.js";
14
+ import G from "../../typography/v4/Typography.vue.js";
15
+ import { Dropdown as we } from "floating-vue";
16
+ import { DropdownTestIdModifiers as y } from "../../../testids/index.js";
17
17
  import { dropdownCommon as ve } from "../common/Dropdown.common.js";
18
18
  import Ce from "../../loader/v4/Loader.vue.js";
19
19
  import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
20
- import { TRIGGERS as m } from "./Dropdown.types.js";
20
+ import { TRIGGERS as p } from "./Dropdown.types.js";
21
21
  import { useElementSize as Ae } from "@vueuse/core";
22
- import Oe from "../../shared/FieldHelpText.vue.js";
23
- const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
22
+ import Ke from "../../shared/FieldHelpText.vue.js";
23
+ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Oe = { key: 0 }, Be = { key: 1 }, Ne = { key: 2 }, Ve = {
24
24
  key: 0,
25
25
  class: "inline-search-wrapper"
26
- }, Pe = {
26
+ }, Fe = {
27
27
  key: 0,
28
28
  class: "no-result-container"
29
- }, Re = {
29
+ }, De = {
30
30
  key: 1,
31
31
  class: "loader"
32
- }, Fe = { key: 2 }, Ve = ["aria-selected", "aria-disabled", "onClick"], ze = {
32
+ }, Pe = { key: 2 }, Re = ["aria-selected", "aria-disabled", "onClick"], ze = {
33
33
  key: 1,
34
34
  class: "actions-wrapper"
35
35
  }, xe = { class: "actions-clear-all" }, $e = { class: "actions-apply-cancel" }, ut = /* @__PURE__ */ se({
@@ -64,7 +64,7 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
64
64
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
65
65
  size: { default: "medium" },
66
66
  mandatory: { type: Boolean, default: !1 },
67
- predefinedTrigger: { default: m.DEFAULT },
67
+ predefinedTrigger: { default: p.DEFAULT },
68
68
  inlineSearch: { type: Boolean, default: !1 },
69
69
  inlineSearchPlaceholder: { default: "Search" },
70
70
  onSearch: { type: Function, default: null },
@@ -80,6 +80,8 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
80
80
  optionEndIconType: { default: null },
81
81
  valueToCopy: { default: null },
82
82
  disabledOptionKey: { default: "disabled" },
83
+ optionTwoLinesVariant: { default: void 0 },
84
+ optionTwoLinesKey: { default: void 0 },
83
85
  theme: { default: "light-theme-v4" },
84
86
  fullWidth: { type: Boolean, default: !0 },
85
87
  optionsListWidth: { default: null },
@@ -87,9 +89,9 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
87
89
  disableVirtualScroll: { type: Boolean, default: !1 },
88
90
  overrideOptionCountCalculation: { type: Function, default: null }
89
91
  },
90
- emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard"],
91
- setup(t, { expose: M, emit: L }) {
92
- const d = t, E = {
92
+ emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
93
+ setup(e, { expose: X, emit: E }) {
94
+ const d = e, O = {
93
95
  MULTILINE_LIST_HEIGHT: 48,
94
96
  LIST_HEIGHT: 32 + 4,
95
97
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -97,229 +99,233 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
97
99
  DROPLIST_MIN_WIDTH: 240,
98
100
  VERSION: 4
99
101
  }, {
100
- onKeydown: T,
102
+ onKeydown: b,
101
103
  open: s,
102
- toggleMenu: w,
103
- onButtonKeydown: G,
104
+ toggleMenu: v,
105
+ onButtonKeydown: B,
104
106
  query: C,
105
- containerProps: X,
106
- calculateTableHeight: q,
107
- wrapperProps: Y,
108
- filteredOptions: j,
109
- allSelected: B,
110
- isIndeterminate: J,
111
- onSelectAll: Q,
112
- virtualOptions: K,
107
+ containerProps: q,
108
+ calculateTableHeight: Y,
109
+ wrapperProps: j,
110
+ filteredOptions: J,
111
+ allSelected: N,
112
+ isIndeterminate: Q,
113
+ onSelectAll: Z,
114
+ virtualOptions: V,
113
115
  isSelected: S,
114
- selectedOption: k,
115
- selectedOptionPrevious: N,
116
- selectedValue: Z,
117
- onSelect: D,
118
- activeIndex: P,
119
- onCancel: _,
120
- onApply: ee,
121
- scrollTo: te,
116
+ selectedOption: g,
117
+ selectedOptionPrevious: A,
118
+ selectedValue: _,
119
+ onSelect: F,
120
+ activeIndex: D,
121
+ onCancel: ee,
122
+ onApply: te,
123
+ scrollTo: oe,
122
124
  listRef: le,
123
- buttonRef: R,
124
- apply: oe,
125
- cancel: ie,
126
- el: ne,
127
- onClearAllSelections: F,
128
- clearAll: ae
129
- } = ve(d, L, E), y = Se(d.testId, f), V = x(() => !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT ? Te : d.predefinedTrigger === m.APP ? he : null), { width: z } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === m.DEFAULT || d.predefinedTrigger === m.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
130
- w();
125
+ buttonRef: P,
126
+ apply: ie,
127
+ cancel: ne,
128
+ el: ae,
129
+ onClearAllSelections: R,
130
+ clearAll: de
131
+ } = ve(d, E, O), f = Se(d.testId, y), z = H(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? Te : d.predefinedTrigger === p.APP ? he : null), { width: x } = Ae(P), re = H(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? x.value - 2 > 240 ? `${x.value - 2}px` : `${O.DROPLIST_MIN_WIDTH}px` : "auto"), $ = () => {
132
+ v();
131
133
  };
132
- return M({
133
- selectItem: D,
134
- scrollTo: te
135
- }), (I, o) => (i(), n("div", u({
134
+ return X({
135
+ selectItem: F,
136
+ scrollTo: oe
137
+ }), (k, l) => (i(), n("div", u({
136
138
  ref_key: "el",
137
- ref: ne,
138
- class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
139
- tabindex: t.disabled ? -1 : 0
140
- }, e(y)[e(f).WRAPPER], {
141
- onKeydown: o[8] || (o[8] = //@ts-ignore
142
- (...l) => e(T) && e(T)(...l))
139
+ ref: ae,
140
+ class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
141
+ tabindex: e.disabled ? -1 : 0
142
+ }, t(f)[t(y).WRAPPER], {
143
+ onKeydown: l[8] || (l[8] = //@ts-ignore
144
+ (...o) => t(b) && t(b)(...o))
143
145
  }), [
144
- v(I.$slots, "label", {}, void 0, !0),
145
- p("div", Ee, [
146
- a(e(Ie), u({
147
- theme: t.theme,
146
+ I(k.$slots, "label", {}, void 0, !0),
147
+ m("div", Ee, [
148
+ a(t(we), u({
149
+ theme: e.theme,
148
150
  "popper-class": [
149
- t.popperClass,
150
- t.theme,
151
- t.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null,
151
+ e.popperClass,
152
+ e.theme,
153
+ e.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null,
152
154
  "v4-dropdown"
153
155
  ],
154
- placement: t.placement,
155
- skidding: t.isOnTop ? 0 : t.skidding,
156
- distance: t.distance,
157
- flip: t.flip,
156
+ placement: e.placement,
157
+ skidding: e.isOnTop ? 0 : e.skidding,
158
+ distance: e.distance,
159
+ flip: e.flip,
158
160
  triggers: [],
159
- shown: !!e(s),
161
+ shown: !!t(s),
160
162
  "auto-hide": !1,
161
- container: t.container,
162
- "auto-size": t.autoSize
163
- }, e(y)[e(f).TRIGGER]), {
163
+ container: e.container,
164
+ "auto-size": e.autoSize
165
+ }, t(f)[t(y).TRIGGER]), {
164
166
  popper: c(() => [
165
167
  a(ue, null, {
166
168
  default: c(() => [
167
- e(s) ? (i(), n("div", {
169
+ t(s) ? (i(), n("div", {
168
170
  key: 0,
169
171
  ref_key: "listRef",
170
172
  ref: le,
171
- class: A(["light-theme-v4", {
172
- "dropdown--disabled": t.disabled,
173
- "inline-search": t.inlineSearch
173
+ class: K(["light-theme-v4", {
174
+ "dropdown--disabled": e.disabled,
175
+ "inline-search": e.inlineSearch
174
176
  }]),
175
- style: ce({ width: e(de) })
177
+ style: ce({ width: t(re) })
176
178
  }, [
177
- e(s) ? (i(), n("div", {
179
+ t(s) ? (i(), n("div", {
178
180
  key: 0,
179
- class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
180
- onKeydown: o[7] || (o[7] = //@ts-ignore
181
- (...l) => e(T) && e(T)(...l))
181
+ class: K(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
182
+ onKeydown: l[7] || (l[7] = //@ts-ignore
183
+ (...o) => t(b) && t(b)(...o))
182
184
  }, [
183
- e(s) && t.inlineSearch ? (i(), n("div", De, [
184
- a(e(we), {
185
- modelValue: e(C),
186
- "onUpdate:modelValue": [
187
- o[4] || (o[4] = (l) => fe(C) ? C.value = l : null),
188
- t.onClear
189
- ],
190
- placeholder: t.inlineSearchPlaceholder,
191
- variant: "transparent",
192
- size: "md",
193
- "auto-focus": t.searchAutoFocus,
194
- "test-id": t.testId,
195
- onKeydown: e(T)
196
- }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
185
+ t(s) && e.inlineSearch ? (i(), n("div", Ve, [
186
+ I(k.$slots, "inline-search", {}, () => [
187
+ a(t(Ie), {
188
+ modelValue: t(C),
189
+ "onUpdate:modelValue": [
190
+ l[4] || (l[4] = (o) => ye(C) ? C.value = o : null),
191
+ e.onClear
192
+ ],
193
+ placeholder: e.inlineSearchPlaceholder,
194
+ variant: "transparent",
195
+ size: "md",
196
+ "auto-focus": e.searchAutoFocus,
197
+ "test-id": e.testId,
198
+ onKeydown: t(b)
199
+ }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
200
+ ], !0)
197
201
  ])) : r("", !0),
198
- v(I.$slots, "input-list", { open: e(s) }, void 0, !0),
199
- p("div", u({
200
- class: ["list-container", { "list-container--multi": t.multi }],
201
- style: { height: `${e(q)}rem` }
202
+ I(k.$slots, "input-list", { open: t(s) }, void 0, !0),
203
+ m("div", u({
204
+ class: ["list-container", { "list-container--multi": e.multi }],
205
+ style: { height: `${t(Y)}rem` }
202
206
  }, {
203
- ...e(X),
204
- ...e(y)[e(f).LIST_CONTAINER]
207
+ ...t(q),
208
+ ...t(f)[t(y).LIST_CONTAINER]
205
209
  }), [
206
- p("ul", u(e(Y), {
210
+ m("ul", u(t(j), {
207
211
  role: "listbox",
208
- class: ["list", { "list--multi": t.multi }]
212
+ class: ["list", { "list--multi": e.multi }]
209
213
  }), [
210
- !e(j).length && !t.loading ? (i(), n("li", Pe, [
211
- a(e(W), u({ variant: "body2" }, e(y)[e(f).NO_RESULT]), {
214
+ !t(J).length && !e.loading ? (i(), n("li", Fe, [
215
+ a(t(G), u({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
212
216
  default: c(() => [
213
- g(ye(t.noResultsText), 1)
217
+ T(fe(e.noResultsText), 1)
214
218
  ]),
215
219
  _: 1
216
220
  }, 16)
217
221
  ])) : r("", !0),
218
- t.loading ? (i(), n("li", Re, [
219
- a(e(Ce)),
220
- a(e(W), null, {
222
+ e.loading ? (i(), n("li", De, [
223
+ a(t(Ce)),
224
+ a(t(G), null, {
221
225
  default: c(() => [
222
- g("Loading...")
226
+ T("Loading...")
223
227
  ]),
224
228
  _: 1
225
229
  })
226
230
  ])) : r("", !0),
227
- t.showSelectAll !== !1 && t.multi ? (i(), n("li", Fe, [
228
- a(e(U), u(
231
+ e.showSelectAll !== !1 && e.multi ? (i(), n("li", Pe, [
232
+ a(t(M), u(
229
233
  {
230
- "aria-selected": e(B),
231
- "aria-disabled": !!t.disabled,
232
- "selected-prop": e(B),
233
- "is-indeterminate": e(J),
234
+ "aria-selected": t(N),
235
+ "aria-disabled": !!e.disabled,
236
+ "selected-prop": t(N),
237
+ "is-indeterminate": t(Q),
234
238
  "select-all-option": ""
235
239
  },
236
- e(y)[e(f).SELECT_ALL],
240
+ t(f)[t(y).SELECT_ALL],
237
241
  {
238
- onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
242
+ onClick: l[5] || (l[5] = U((o) => t(Z)(), ["stop"]))
239
243
  }
240
244
  ), {
241
245
  default: c(() => [
242
- g("Select all ")
246
+ T("Select all ")
243
247
  ]),
244
248
  _: 1
245
249
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
246
250
  ])) : r("", !0),
247
- e(K).length && !t.loading ? (i(!0), n(pe, { key: 3 }, me(e(K), ({ data: l, index: b }) => (i(), n("li", {
248
- key: b,
249
- "aria-selected": e(S)(h(e(k)), l),
250
- "aria-disabled": !!t.disabled,
251
- onClick: $(() => e(D)(l, b), ["stop"])
251
+ t(V).length && !e.loading ? (i(!0), n(me, { key: 3 }, pe(t(V), ({ data: o, index: h }) => (i(), n("li", {
252
+ key: h,
253
+ "aria-selected": t(S)(w(t(g)), o),
254
+ "aria-disabled": !!e.disabled,
255
+ onClick: U(() => t(F)(o, h), ["stop"])
252
256
  }, [
253
- v(I.$slots, "default", {
254
- option: l,
255
- index: b,
256
- selected: e(S)(h(e(k)), l),
257
- active: h(e(P)) === b,
258
- disabled: l[d.disabledOptionKey]
257
+ I(k.$slots, "default", {
258
+ option: o,
259
+ index: h,
260
+ selected: t(S)(w(t(g)), o),
261
+ active: w(t(D)) === h,
262
+ disabled: o[d.disabledOptionKey]
259
263
  }, () => [
260
- a(e(U), {
261
- option: l,
262
- "selected-prop": e(S)(h(e(k)), l),
263
- active: h(e(P)) === b,
264
- disabled: l[d.disabledOptionKey],
265
- "name-key": t.optionNameKey,
266
- "image-key": t.optionImageKey,
267
- "icon-key": t.optionIconKey,
268
- "icon-type": t.optionIconType,
269
- "end-icon-key": t.optionEndIconKey,
270
- "end-icon-type": t.optionEndIconType
271
- }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type"])
264
+ a(t(M), {
265
+ option: o,
266
+ "selected-prop": t(S)(w(t(g)), o),
267
+ active: w(t(D)) === h,
268
+ disabled: o[d.disabledOptionKey],
269
+ "name-key": e.optionNameKey,
270
+ "image-key": e.optionImageKey,
271
+ "icon-key": e.optionIconKey,
272
+ "icon-type": e.optionIconType,
273
+ "end-icon-key": e.optionEndIconKey,
274
+ "end-icon-type": e.optionEndIconType,
275
+ "option-two-lines-variant": e.optionTwoLinesVariant,
276
+ "option-two-lines-key": e.optionTwoLinesKey
277
+ }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "option-two-lines-variant", "option-two-lines-key"])
272
278
  ], !0)
273
- ], 8, Ve))), 128)) : r("", !0)
279
+ ], 8, Re))), 128)) : r("", !0)
274
280
  ], 16)
275
281
  ], 16),
276
- t.multi ? (i(), n("div", ze, [
277
- p("div", xe, [
278
- a(e(O), u(
282
+ e.multi ? (i(), n("div", ze, [
283
+ m("div", xe, [
284
+ a(t(L), u(
279
285
  {
280
286
  ref_key: "clearAll",
281
- ref: ae,
287
+ ref: de,
282
288
  size: "small",
283
289
  variant: "text",
284
290
  color: "primary"
285
291
  },
286
- e(y)[e(f).ACTION_CLEAR_ALL],
292
+ t(f)[t(y).ACTION_CLEAR_ALL],
287
293
  {
288
- onClick: o[6] || (o[6] = () => e(F)(!1))
294
+ onClick: l[6] || (l[6] = () => t(R)(!1))
289
295
  }
290
296
  ), {
291
297
  default: c(() => [
292
- g(" Clear all ")
298
+ T(" Clear all ")
293
299
  ]),
294
300
  _: 1
295
301
  }, 16)
296
302
  ]),
297
- p("div", $e, [
298
- a(e(O), u(
303
+ m("div", $e, [
304
+ a(t(L), u(
299
305
  {
300
306
  ref_key: "cancel",
301
- ref: ie,
307
+ ref: ne,
302
308
  size: "small",
303
309
  variant: "outlined",
304
310
  color: "primary"
305
311
  },
306
- e(y)[e(f).ACTION_CANCEL],
307
- { onClick: e(_) }
312
+ t(f)[t(y).ACTION_CANCEL],
313
+ { onClick: t(ee) }
308
314
  ), {
309
315
  default: c(() => [
310
- g(" Cancel ")
316
+ T(" Cancel ")
311
317
  ]),
312
318
  _: 1
313
319
  }, 16, ["onClick"]),
314
- a(e(O), u({
320
+ a(t(L), u({
315
321
  ref_key: "apply",
316
- ref: oe,
322
+ ref: ie,
317
323
  "data-testid": "mutli-apply",
318
324
  size: "small",
319
325
  class: "apply-button"
320
- }, e(y)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
326
+ }, t(f)[t(y).ACTION_APPLY], { onClick: t(te) }), {
321
327
  default: c(() => [
322
- g("Apply ")
328
+ T("Apply ")
323
329
  ]),
324
330
  _: 1
325
331
  }, 16, ["onClick"])
@@ -332,84 +338,110 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
332
338
  })
333
339
  ]),
334
340
  default: c(() => [
335
- p("div", {
336
- class: A(["button__container", {
337
- "button__container--open": !!e(s),
338
- [`button__container--${t.size}`]: !0,
339
- "button__container--disabled": t.disabled
341
+ m("div", {
342
+ class: K(["button__container", {
343
+ "button__container--open": !!t(s),
344
+ [`button__container--${e.size}`]: !0,
345
+ "button__container--disabled": e.disabled
340
346
  }])
341
347
  }, [
342
- v(I.$slots, "dropdown-trigger", {
343
- buttonTriggerProps: {
344
- open: e(s),
345
- disabled: t.disabled,
346
- label: e(Z) || t.placeholder,
347
- onClick: () => e(w)()
348
- }
349
- }, () => [
350
- p("div", {
351
- ref_key: "buttonRef",
352
- ref: R
353
- }, [
354
- e(V) ? (i(), n("div", Be, [
355
- (i(), H(ge(e(V)), {
356
- placeholder: t.placeholder,
357
- open: e(s),
358
- label: t.triggerLabel,
359
- "show-feedback-icon": t.triggerFeedbackShowIcon,
360
- mandatory: t.mandatory,
361
- "test-id": t.testId,
362
- multi: t.multi,
363
- disabled: t.disabled,
364
- "selected-option": t.multi ? e(N) : e(k),
365
- "display-value": t.displayValue,
366
- options: t.options,
367
- "option-name-key": t.optionNameKey,
368
- "option-image-key": t.optionImageKey,
369
- "option-icon-key": t.optionIconKey,
370
- "option-icon-type": t.optionIconType,
371
- "option-end-icon-key": t.optionEndIconKey,
372
- "option-end-icon-type": t.optionEndIconType,
373
- "feedback-variant": t.triggerFeedbackVariant,
374
- "value-to-copy": t.valueToCopy,
375
- "status-dot-type": t.statusType,
376
- size: t.size,
377
- "show-all-selected-text": t.triggerShowAllSelectedText,
378
- onKeydown: e(G),
379
- onClick: re,
380
- onCopyToClipboard: o[0] || (o[0] = (l) => L("copyToClipboard"))
348
+ m("div", {
349
+ ref_key: "buttonRef",
350
+ ref: P
351
+ }, [
352
+ I(k.$slots, "dropdown-trigger", {
353
+ buttonTriggerProps: {
354
+ open: t(s),
355
+ disabled: e.disabled,
356
+ label: t(_) || e.placeholder,
357
+ onClick: () => t(v)()
358
+ },
359
+ defaultTriggerProps: {
360
+ placeholder: e.placeholder,
361
+ open: t(s),
362
+ label: e.triggerLabel,
363
+ showFeedbackIcon: e.triggerFeedbackShowIcon,
364
+ mandatory: e.mandatory,
365
+ testId: e.testId,
366
+ multi: e.multi,
367
+ disabled: e.disabled,
368
+ selectedOption: e.multi ? t(A) : t(g),
369
+ displayValue: e.displayValue,
370
+ options: e.options,
371
+ optionNameKey: e.optionNameKey,
372
+ optionImageKey: e.optionImageKey,
373
+ optionIconKey: e.optionIconKey,
374
+ optionIconType: e.optionIconType,
375
+ optionAndIconKey: e.optionEndIconKey,
376
+ optionEndIconType: e.optionEndIconType,
377
+ feedbackVariant: e.triggerFeedbackVariant,
378
+ valueToCopy: e.valueToCopy,
379
+ statusDotType: e.statusType,
380
+ size: e.size,
381
+ showAllSelectedText: e.triggerShowAllSelectedText,
382
+ onKeydown: t(B),
383
+ onClick: $
384
+ }
385
+ }, () => [
386
+ t(z) ? (i(), n("div", Oe, [
387
+ (i(), W(ge(t(z)), {
388
+ placeholder: e.placeholder,
389
+ open: t(s),
390
+ label: e.triggerLabel,
391
+ "show-feedback-icon": e.triggerFeedbackShowIcon,
392
+ mandatory: e.mandatory,
393
+ "test-id": e.testId,
394
+ multi: e.multi,
395
+ disabled: e.disabled,
396
+ "selected-option": e.multi ? t(A) : t(g),
397
+ "display-value": e.displayValue,
398
+ options: e.options,
399
+ "option-name-key": e.optionNameKey,
400
+ "option-image-key": e.optionImageKey,
401
+ "option-icon-key": e.optionIconKey,
402
+ "option-icon-type": e.optionIconType,
403
+ "option-end-icon-key": e.optionEndIconKey,
404
+ "option-end-icon-type": e.optionEndIconType,
405
+ "feedback-variant": e.triggerFeedbackVariant,
406
+ "value-to-copy": e.valueToCopy,
407
+ "status-dot-type": e.statusType,
408
+ size: e.size,
409
+ "show-all-selected-text": e.triggerShowAllSelectedText,
410
+ onKeydown: t(B),
411
+ onClick: $,
412
+ onCopyToClipboard: l[0] || (l[0] = (o) => E("copyToClipboard"))
381
413
  }, 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", "show-all-selected-text", "onKeydown"]))
382
414
  ])) : r("", !0),
383
- t.predefinedTrigger === e(m).ICON_BUTTON ? (i(), n("div", Ke, [
384
- a(e(ke), {
385
- onClick: o[1] || (o[1] = (l) => e(w)())
415
+ e.predefinedTrigger === t(p).ICON_BUTTON ? (i(), n("div", Be, [
416
+ a(t(be), {
417
+ onClick: l[1] || (l[1] = (o) => t(v)())
386
418
  })
387
419
  ])) : r("", !0),
388
- t.predefinedTrigger === e(m).CHIP ? (i(), n("div", Ne, [
389
- a(e(be), {
390
- open: e(s),
391
- label: t.placeholder,
392
- "test-id": t.testId,
393
- options: t.options,
394
- "selected-option": t.multi ? e(N) : e(k),
395
- "display-value": t.displayValue,
396
- multi: t.multi,
397
- onClick: o[2] || (o[2] = (l) => e(w)()),
398
- onClear: o[3] || (o[3] = (l) => e(F)())
420
+ e.predefinedTrigger === t(p).CHIP ? (i(), n("div", Ne, [
421
+ a(t(ke), {
422
+ open: t(s),
423
+ label: e.placeholder,
424
+ "test-id": e.testId,
425
+ options: e.options,
426
+ "selected-option": e.multi ? t(A) : t(g),
427
+ "display-value": e.displayValue,
428
+ multi: e.multi,
429
+ onClick: l[2] || (l[2] = (o) => t(v)()),
430
+ onClear: l[3] || (l[3] = (o) => t(R)())
399
431
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
400
432
  ])) : r("", !0)
401
- ], 512)
402
- ], !0)
433
+ ], !0)
434
+ ], 512)
403
435
  ], 2)
404
436
  ]),
405
437
  _: 3
406
438
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
407
- t.triggerFeedbackText ? (i(), H(Oe, {
439
+ e.triggerFeedbackText ? (i(), W(Ke, {
408
440
  key: 0,
409
- text: t.triggerFeedbackText,
410
- variant: t.triggerFeedbackVariant,
411
- "show-icon": t.triggerFeedbackShowIcon,
412
- "test-id": t.testId,
441
+ text: e.triggerFeedbackText,
442
+ variant: e.triggerFeedbackVariant,
443
+ "show-icon": e.triggerFeedbackShowIcon,
444
+ "test-id": e.testId,
413
445
  class: "dropdown-field-help-text"
414
446
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
415
447
  ])